@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251216.0 → 0.0.0-nightly-20251217.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 _0x5f50d0,Command as _0x372ec6}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x248ec1,isWidget as _0x707746,toWidgetEditable as _0x4a0271,WidgetToolbarRepository as _0x35ffbd}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xa355a6,logWarning as _0x3a4308,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1ed646,ClickObserver as _0x4c48c0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x35ca89}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4ade2d,ButtonView as _0x43cdb0,View as _0x2b1a1c,ViewCollection as _0x5d9d51,FocusCycler as _0xff7b38,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4257e1,BalloonPanelView as _0x3042ff,createDropdown as _0x1dde47}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x41f08a,IconListStyleDecimal as _0x8acc55,IconListStyleDecimalLeadingZero as _0x3300f2,IconListStyleLowerRoman as _0x2706db,IconListStyleUpperRoman as _0x485fb4,IconListStyleLowerLatin as _0x562257,IconListStyleUpperLatin as _0x9252bc}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x48f448,_0xa6be8d){this['_model']=_0x48f448,this['_elementName']=_0xa6be8d['elementName'],this['_getElementKey']=_0xa6be8d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4912e8){const _0x210253=new Set(),_0x420c57=new Map();for(const _0x5978e0 of _0x4912e8){if('insert'===_0x5978e0['type']&&'$text'!==_0x5978e0['name']&&_0x5978e0['position']['nodeAfter']){const _0x180fd1=this['_model']['createRangeOn'](_0x5978e0['position']['nodeAfter']);for(const _0x33538a of _0x180fd1['getItems']()){if(!_0x33538a['is']('element',this['_elementName']))continue;const _0x20e5f5=this['_getElementKey'](_0x33538a);_0x420c57['has'](_0x20e5f5)||_0x420c57['set'](_0x20e5f5,[]),_0x420c57['get'](_0x20e5f5)['push'](_0x33538a);}}if('remove'===_0x5978e0['type']&&_0x5978e0['name']===this['_elementName']){const _0x3036d4=this['_getElementKey']({'getAttribute':_0xcd5548=>_0x5978e0['attributes']['get'](_0xcd5548)});_0x210253['add'](_0x3036d4);}}for(const [_0x82586d,_0x14090c]of this['_trackedElements'])'$graveyard'===_0x14090c['root']['rootName']&&_0x210253['add'](_0x82586d);for(const _0x3f7037 of _0x210253)this['_trackedElements']['delete'](_0x3f7037);for(const [_0x186983,_0x51592e]of _0x420c57)this['_trackedElements']['set'](_0x186983,_0x51592e[_0x51592e['length']-0x1]);const _0x11da43=new Set();for(const [_0xa5acf,_0xe04f31]of _0x420c57)_0x210253['has'](_0xa5acf)&&(_0x11da43['add'](_0xe04f31[0x0]),_0xe04f31['length']>0x1?_0x420c57['set'](_0xa5acf,_0xe04f31['slice'](0x1)):_0x420c57['delete'](_0xa5acf),_0x210253['delete'](_0xa5acf));return{'removed':Array['from'](_0x210253),'inserted':Array['from'](_0x420c57['values']())['flat'](),'moved':Array['from'](_0x11da43)};}}class f extends _0x5f50d0{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x308e10){super(_0x308e10),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x388630=>_0x388630['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x50a67f=>_0x50a67f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x48faf7}=this,{model:_0x3f2b06,data:_0x3cfa37}=_0x48faf7;_0x3f2b06['document']['registerPostFixer'](_0x55ebb6=>{const _0x484689=_0x3f2b06['document']['differ']['getChanges']();let _0x2f8baf=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x55ebb6,_0x484689)&&(_0x2f8baf=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x55ebb6,_0x484689)&&(_0x2f8baf=!0x0),this['_handleFootnoteReferencesChanges'](_0x55ebb6,_0x484689)&&(_0x2f8baf=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x55ebb6)&&(_0x2f8baf=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x55ebb6)&&(_0x2f8baf=!0x0),this['_sortFootnoteDefinitions'](_0x55ebb6)&&(_0x2f8baf=!0x0),_0x2f8baf;}),this['listenTo'](_0x3f2b06['document'],'change:data',()=>{_0x3f2b06['enqueueChange']({'isUndoable':!0x1},_0x52c3d3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x52c3d3);});},{'priority':'low'}),this['listenTo'](_0x3cfa37,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x54834b){return this['_footnotes']['find'](_0x2e8a10=>_0x2e8a10['id']===_0x54834b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2cccdb){this['_footnoteFormatter']=_0x2cccdb;}['_updateFootnotesCounters'](_0x46b826,_0x2ff28e=0x0){let _0x30b9dc=!0x1;for(let _0x39eb45=_0x2ff28e;_0x39eb45<this['_footnotes']['length'];_0x39eb45++)this['_updateFootnoteRefCounter'](_0x46b826,_0x39eb45)&&(_0x30b9dc=!0x0);return _0x30b9dc;}['_insertEmptyFootnotesDefinitionsContainer'](_0x106d8c,_0x52855e){const _0x54aef0=_0x106d8c['createElement']('footnotesDefinitions',{});return _0x106d8c['append'](_0x54aef0,_0x52855e),this['_footnotesDefinitions']=_0x54aef0,_0x54aef0;}['_ensureFootnotesDefinitionsContainerExists'](_0x39d809){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x264442=this['_footnotes'][0x0]['reference']['root'],_0x3440d4=this['_insertEmptyFootnotesDefinitionsContainer'](_0x39d809,_0x264442);for(const _0x2555bd of this['_footnotes'])_0x2555bd['definition']['parent']||_0x39d809['insert'](_0x2555bd['definition'],_0x3440d4,'end');this['_updateFootnotesCounters'](_0x39d809);}['_handleFootnotesDefinitionsObjectChanges'](_0x5e73aa,_0x4876b0){let _0x2b9b8a=!0x1;const {inserted:_0x29316e,removed:_0x5f47b2,moved:_0x4585e1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4876b0);if(_0x4585e1['length']&&(this['_footnotesDefinitions']=_0x4585e1[0x0]),_0x29316e['length']){if(_0x29316e['length']>0x1||this['_footnotesDefinitions']&&_0x29316e['some'](_0x16f9ba=>_0x16f9ba!==this['_footnotesDefinitions'])){const _0x5623db=_0x5e73aa['createElement']('footnotesDefinitions',{}),_0x2d6754=[];this['_footnotesDefinitions']&&_0x2d6754['push'](this['_footnotesDefinitions']),_0x2d6754['push'](..._0x29316e),_0x5e73aa['insert'](_0x5623db,_0x2d6754[0x0],'before');for(const _0x519eb7 of _0x2d6754)_0x5e73aa['move'](_0x5e73aa['createRangeIn'](_0x519eb7),_0x5e73aa['createPositionAt'](_0x5623db,'end')),_0x5e73aa['remove'](_0x519eb7);this['_footnotesDefinitions']=_0x5623db,this['_updateFootnotesCounters'](_0x5e73aa),_0x2b9b8a=!0x0;}else this['_footnotesDefinitions']=_0x29316e[0x0];}if(_0x5f47b2['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x377a8d of this['_footnotes'])_0x5e73aa['remove'](_0x377a8d['reference']),_0x2b9b8a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2b9b8a;}['_handleFootnoteDefinitionsChanges'](_0x56c079,_0x36f7cc){let _0x54c822=!0x1;const _0x1fbdef=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x303f4c,moved:_0x5a1ad7}=this['_footnoteDefsTracker']['getChanges'](_0x36f7cc);for(const _0x2aa2a4 of[..._0x5a1ad7,..._0x303f4c]){const _0x185c43=_0x2aa2a4['getAttribute']('footnoteId'),_0x3185b6=this['getFootnote'](_0x185c43);_0x3185b6&&(_0x3185b6['definition']=_0x2aa2a4),_(_0x56c079,_0x1fbdef,_0x2aa2a4)&&(_0x54c822=!0x0);}return _0x54c822;}['_handleFootnoteReferencesChanges'](_0x3bf5ce,_0x2640ab){let _0x310ecc=!0x1;const {removed:_0x1500cb,inserted:_0xecf4b5,moved:_0x11504a}=this['_footnoteRefsTracker']['getChanges'](_0x2640ab);for(const _0x2013dd of _0x1500cb)this['_handleRemoveFootnoteReferenceById'](_0x3bf5ce,_0x2013dd)&&(_0x310ecc=!0x0);for(const _0x1588aa of _0xecf4b5)this['_handleInsertedFootnoteReference'](_0x3bf5ce,_0x1588aa)&&(_0x310ecc=!0x0);for(const _0x2f333d of _0x11504a)this['_handleMovedFootnoteReference'](_0x3bf5ce,_0x2f333d)&&(_0x310ecc=!0x0);return _0x310ecc;}['_handleFootnotesDefinitionsObjectSync'](_0x23569c){if(!this['_footnotesDefinitions'])return!0x1;let _0x4978ff=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5362c8=[];for(const _0x6c5a75 of this['_footnotesDefinitions']['getChildren']()){const _0x10bb89=_0x6c5a75['getAttribute']('footnoteId');this['getFootnote'](_0x10bb89)||(_0x5362c8['unshift'](_0x6c5a75),_0x4978ff=!0x0);}for(const _0x213cd8 of _0x5362c8)_0x23569c['remove'](_0x213cd8);}const _0x338b5f=new Set(),_0x26eb29=[];for(const _0x1b55a6 of this['_footnotesDefinitions']['getChildren']()){const _0x4fcf6c=_0x1b55a6['getAttribute']('footnoteId');_0x338b5f['has'](_0x4fcf6c)?(_0x26eb29['unshift'](_0x1b55a6),_0x4978ff=!0x0):_0x338b5f['add'](_0x4fcf6c);}for(const _0x5f09f0 of _0x26eb29)_0x23569c['remove'](_0x5f09f0);return this['_footnotesDefinitions']['childCount']||(_0x23569c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4978ff=!0x0),_0x4978ff;}['_handleInsertedFootnoteReference'](_0x433c97,_0x219393){if(this['_footnotes']['find'](_0x5c7fb6=>_0x5c7fb6['reference']===_0x219393))return!0x1;let _0x4726b7=!0x1;const _0x398c9c=_0x219393['getAttribute']('footnoteId'),_0xfa4c11=this['_footnotes']['findIndex'](_0x4cbb92=>_0x4cbb92['id']===_0x398c9c);-0x1!==_0xfa4c11&&(_0x433c97['remove'](this['_footnotes'][_0xfa4c11]['reference']),this['_footnotes']['splice'](_0xfa4c11,0x1),_0x4726b7=!0x0);let _0x366171=this['_footnotesDefinitions']?function(_0x973bd2,_0x240d1d){for(const _0x5d5308 of _0x973bd2['getChildren']())if(_0x5d5308['getAttribute']('footnoteId')===_0x240d1d)return _0x5d5308;return null;}(this['_footnotesDefinitions'],_0x398c9c):null;_0x366171||(_0x366171=_0x433c97['createElement']('footnoteDefinition',{'footnoteId':_0x398c9c}),this['_footnotesDefinitions']&&(_0x433c97['insert'](_0x366171,this['_footnotesDefinitions'],'end'),_0x4726b7=!0x0));const _0x5de85b={'id':_0x398c9c,'reference':_0x219393,'definition':_0x366171},_0x322272=I(this['editor']['model'],this['_footnotes'],_0x219393);this['_footnotes']['splice'](_0x322272,0x0,_0x5de85b);let _0xa8008a=_0x322272;return-0x1!==_0xfa4c11&&(_0xa8008a=Math['min'](_0x322272,_0xfa4c11)),this['_updateFootnotesCounters'](_0x433c97,_0xa8008a)&&(_0x4726b7=!0x0),_0x4726b7;}['_handleRemoveFootnoteReferenceById'](_0x483a92,_0xd924f8){const _0x56d479=this['_footnotes']['findIndex'](_0x24dbbd=>_0x24dbbd['id']===_0xd924f8);if(-0x1===_0x56d479)return!0x1;let _0x9b33dc=!0x1;const _0x3bf1d5=this['_footnotes'][_0x56d479];return'$graveyard'!==_0x3bf1d5['definition']['root']['rootName']&&(_0x483a92['remove'](_0x3bf1d5['definition']),_0x9b33dc=!0x0),this['_footnotes']['splice'](_0x56d479,0x1),this['_updateFootnotesCounters'](_0x483a92,_0x56d479)&&(_0x9b33dc=!0x0),_0x9b33dc;}['_handleMovedFootnoteReference'](_0x4b46a7,_0x472c83){const _0x525d57=_0x472c83['getAttribute']('footnoteId'),_0x242bb3=this['_footnotes']['findIndex'](_0x2e6ecf=>_0x2e6ecf['id']===_0x525d57),_0x3d15a8=this['_footnotes'][_0x242bb3];let _0x1ef2c6=!0x1;_0x3d15a8['reference']=_0x472c83,this['_footnotes']['splice'](_0x242bb3,0x1);const _0x8fb42b=I(this['editor']['model'],this['_footnotes'],_0x472c83);return this['_footnotes']['splice'](_0x8fb42b,0x0,_0x3d15a8),this['_updateFootnotesCounters'](_0x4b46a7,Math['min'](_0x242bb3,_0x8fb42b))&&(_0x1ef2c6=!0x0),_0x1ef2c6;}['_updateFootnoteRefCounter'](_0x35fd01,_0x14c549){if(!this['_footnotesDefinitions'])return!0x1;const _0x5b99c2=this['_footnotes'][_0x14c549];let _0x1262b8;return _0x1262b8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5b99c2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x14c549+0x1}):String(_0x14c549+0x1),_0x5b99c2['reference']['getAttribute']('footnoteCounter')!=_0x1262b8&&(_0x35fd01['setAttribute']('footnoteCounter',_0x1262b8,_0x5b99c2['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x13f3a7){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3193d5,_0x1da32e){if(_0x3193d5['length']!==_0x1da32e['length'])return!0x1;for(let _0x2941e9=0x0;_0x2941e9<_0x3193d5['length'];_0x2941e9++)if(_0x3193d5[_0x2941e9]!==_0x1da32e[_0x2941e9])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1965ac=>_0x1965ac['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1291e2=>_0x1291e2['getAttribute']('footnoteId'))))return!0x1;let _0x1dc070=!0x1;for(let _0xab8349=0x0;_0xab8349<this['_footnotes']['length'];_0xab8349++){const _0x4fcff1=this['_footnotes'][_0xab8349],_0x52e364=_0x13f3a7['createPositionBefore'](_0x4fcff1['definition']),_0x467a1a=_0x13f3a7['createPositionAt'](this['_footnotesDefinitions'],_0xab8349);_0x52e364['isEqual'](_0x467a1a)||(_0x13f3a7['move'](_0x13f3a7['createRangeOn'](_0x4fcff1['definition']),_0x467a1a),_0x1dc070=!0x0);}return _0x1dc070;}['_ensureFootnotesReferencesHaveProperOrder'](_0x17021f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x183893}=this['editor'];let _0x381f74=!0x1;for(let _0x29b955=0x0;_0x29b955<this['_footnotes']['length']-0x1;_0x29b955++){const _0x140b32=this['_footnotes'][_0x29b955],_0x21621a=this['_footnotes'][_0x29b955+0x1],_0x55e0d6=_0x183893['createPositionBefore'](_0x140b32['reference']),_0x2bb6b5=_0x183893['createPositionBefore'](_0x21621a['reference']);'after'===_0x55e0d6['compareWith'](_0x2bb6b5)&&(this['_handleMovedFootnoteReference'](_0x17021f,_0x140b32['reference']),_0x29b955=-0x1,_0x381f74=!0x0);}return _0x381f74;}}function _(_0x587cc0,_0x278601,_0x4e221f){if(_0x4e221f['childCount'])return!0x1;const _0x44f8f3=_0x278601?'paragraph':'footnoteInlineContent';return _0x587cc0['insert'](_0x587cc0['createElement'](_0x44f8f3),_0x4e221f),!0x0;}function I(_0x13b4ce,_0x375f30,_0x2fabde){if(0x0===_0x375f30['length'])return 0x0;const _0x1a4c97=_0x13b4ce['createPositionBefore'](_0x2fabde);for(let _0xc41515=0x0;_0xc41515<_0x375f30['length'];_0xc41515++){const _0x569e84=_0x375f30[_0xc41515],_0x4903f3=_0x13b4ce['createPositionBefore'](_0x569e84['reference']);if('before'===_0x1a4c97['compareWith'](_0x4903f3))return _0xc41515;}const _0x257380=_0x2fabde['root'];let _0x5cb864=-0x1;for(let _0x15874b=_0x375f30['length']-0x1;_0x15874b>=0x0;_0x15874b--)if(_0x375f30[_0x15874b]['reference']['root']===_0x257380){_0x5cb864=_0x15874b;break;}if(-0x1!==_0x5cb864)return _0x5cb864+0x1;const _0xd26bb9=_0x13b4ce['document']['getRootNames'](),_0x1849b4=_0xd26bb9['indexOf'](_0x257380['rootName']),_0x5e83a8=_0xd26bb9[_0x1849b4+0x1];if(_0x5e83a8){for(let _0x250d98=0x0;_0x250d98<_0x375f30['length'];_0x250d98++)if(_0x375f30[_0x250d98]['reference']['root']['rootName']===_0x5e83a8)return _0x250d98;}return _0x375f30['length'];}class m extends _0x372ec6{['refresh'](){const _0x42016d=this['editor']['model']['document']['selection'],_0x516653=this['_getPositionToInsertFootnote'](_0x42016d);this['isEnabled']=!!_0x516653;}['execute'](_0xf670fe){const {editor:_0x5151de}=this,{model:_0x37682b}=_0x5151de,{selection:_0x46fddd}=_0x37682b['document'],_0x20bad2=this['_getPositionToInsertFootnote'](_0x46fddd);if(!_0x20bad2)return;const _0x35f96a=_0x5151de['plugins']['get']('FootnotesEditing'),_0x4a20e4=_0xf670fe?.['footnoteId']??_0xa355a6();!function(_0x4eaa33){return'string'==typeof _0x4eaa33&&_0x4eaa33['length']>0x0&&!/\s/['test'](_0x4eaa33)&&!/^\d/['test'](_0x4eaa33);}(_0x4a20e4)?_0x3a4308('insert-footnote-command-executed-with-invalid-id'):(_0x37682b['change'](_0x111426=>{const _0x510554=_0x111426['createElement']('footnoteRef',{'footnoteId':_0x4a20e4});_0x37682b['insertObject'](_0x510554,_0x20bad2,null);}),_0x35f96a['_moveSelectionToFootnoteDefinition'](_0x4a20e4));}['_getPositionToInsertFootnote'](_0x155d8a){const {model:_0x1f67da}=this['editor'],{schema:_0x110f97}=_0x1f67da,_0x1998c4=_0x155d8a['getFirstRange']();for(const _0x4af1f5 of _0x1998c4['getItems']())if(_0x110f97['isBlock'](_0x4af1f5)||_0x110f97['isObject'](_0x4af1f5))return null;const _0x1e79be=_0x1998c4['end'];return _0x110f97['checkChild'](_0x1e79be,'footnoteRef')?_0x1e79be:null;}}class r extends _0x5f50d0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32cc7e}=this;_0x32cc7e['config']['define']('footnotes.multiBlock',!0x0),_0x32cc7e['commands']['add']('insertFootnote',new m(_0x32cc7e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3fb8f9){const _0x1a0d16=_0x3a275a([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]),_0x262176=0x47a28506,_0x3e0eec=0x47a5f916^_0x262176,_0x42aef6=window[_0x3a275a([0x44,0x61,0x74,0x65])][_0x3a275a([0x6e,0x6f,0x77])](),_0x4217dc=_0x3fb8f9[_0x3a275a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47c76e=new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5fccb7=>{_0x4217dc[_0x3a275a([0x6f,0x6e,0x63,0x65])](_0x3a275a([0x72,0x65,0x61,0x64,0x79]),_0x5fccb7);}),_0x293c82={[_0x3a275a([0x6b,0x74,0x79])]:_0x3a275a([0x45,0x43]),[_0x3a275a([0x75,0x73,0x65])]:_0x3a275a([0x73,0x69,0x67]),[_0x3a275a([0x63,0x72,0x76])]:_0x3a275a([0x50,0x2d,0x32,0x35,0x36]),[_0x3a275a([0x78])]:_0x3a275a([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]),[_0x3a275a([0x79])]:_0x3a275a([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]),[_0x3a275a([0x61,0x6c,0x67])]:_0x3a275a([0x45,0x53,0x32,0x35,0x36])},_0x47161c=_0x4217dc[_0x3a275a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a275a([0x67,0x65,0x74])](_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14042f(){let _0x3d20a9,_0x209d7f=null,_0x44ee68=null;try{if(_0x47161c==_0x3a275a([0x47,0x50,0x4c]))return _0x3a275a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d20a9=_0x353d9f(),!_0x3d20a9)return _0x3a275a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d20a9[_0x3a275a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44ee68=_0x4c0986(_0x3d20a9[_0x3a275a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d20a9[_0x3a275a([0x6a,0x74,0x69])])),await _0x22d62f()?_0x567afd()?_0x11bd14()?_0x3a275a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d1932()?(_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a275a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x209d7f=_0x375008(_0x3a275a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a275a([0x74,0x72,0x69,0x61,0x6c])&&(_0x209d7f=_0x375008(_0x3a275a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39db12()):_0x3a275a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a275a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a275a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a275a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11bd14(){const _0xc9f6fa=[_0x3a275a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a275a([0x74,0x72,0x69,0x61,0x6c])][_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42aef6/0x3e8:0xe10*_0x3e0eec;return _0x3d20a9[_0x3a275a([0x65,0x78,0x70])]<_0xc9f6fa;}function _0x567afd(){const _0x490c35=_0x3d20a9[_0x3a275a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x490c35&&(!!_0x490c35[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a275a([0x2a]))||!!_0x490c35[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a275a([0x46,0x4f,0x4f])));}function _0x4d1932(){const _0x3711c0=_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3711c0||0x0==_0x3711c0[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2293a4}=new URL(window[_0x3a275a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3711c0[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2293a4))return!0x0;const _0x590bd7=_0x2293a4[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e]));return _0x3711c0[_0x3a275a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bfdf2=>_0x5bfdf2[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a275a([0x2a])))[_0x3a275a([0x6d,0x61,0x70])](_0x118af7=>_0x118af7[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e])))[_0x3a275a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdf35d7=>_0xdf35d7[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x590bd7[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a275a([0x6d,0x61,0x70])](_0x17590d=>Array(_0x590bd7[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17590d[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a275a([0x66,0x69,0x6c,0x6c])](_0x17590d[0x0]===_0x3a275a([0x2a])?_0x3a275a([0x2a]):'')[_0x3a275a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17590d))[_0x3a275a([0x73,0x6f,0x6d,0x65])](_0x3e40bc=>_0x590bd7[_0x3a275a([0x65,0x76,0x65,0x72,0x79])]((_0x1de54b,_0x405c6c)=>_0x3e40bc[_0x405c6c]===_0x1de54b||_0x3e40bc[_0x405c6c]===_0x3a275a([0x2a])));}function _0x39db12(){return _0x209d7f&&_0x44ee68?new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4be2b5,_0x380187)=>{_0x209d7f[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x4be2b5,_0x380187),_0x44ee68[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x4bb991=>{_0x4bb991!=_0x3a275a([0x56,0x61,0x6c,0x69,0x64])&&_0x4be2b5(_0x4bb991);},_0x380187);}):_0x209d7f||_0x44ee68||_0x3a275a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c0986(_0x453653,_0x2859bf){return new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ee8c7=>{if(_0x4c7a50())return _0x4ee8c7(_0x3a275a([0x56,0x61,0x6c,0x69,0x64]));_0x1c28b8(),_0x4217dc[_0x3a275a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a275a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b2553=!0x1;const _0x42cd55=_0xa355a6();function _0x59ce19(_0x18c7cc){return!!_0x18c7cc&&(typeof _0x18c7cc===_0x3a275a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18c7cc===_0x3a275a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18c7cc[_0x3a275a([0x74,0x68,0x65,0x6e])]===_0x3a275a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18c7cc[_0x3a275a([0x63,0x61,0x74,0x63,0x68])]===_0x3a275a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12b972(_0x2ce0ee){_0xff0bf9(_0x2ce0ee)[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x14e7eb=>{if(!_0x14e7eb||_0x14e7eb[_0x3a275a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a275a([0x6f,0x6b]))return _0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x935180(_0x402678(_0x42cd55+_0x2859bf))!=_0x14e7eb[_0x3a275a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a275a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x3c4115=>(_0x3ee4da(),_0x3c4115),()=>{const _0x1d8311=_0x2a8345();return null==_0x1d8311?(_0x3ee4da(),_0x3a275a([0x56,0x61,0x6c,0x69,0x64])):_0x3a275a(_0x42aef6-_0x1d8311>(0x63ae0106^_0x262176)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x4ee8c7)[_0x3a275a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ee8c7(_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6f3780=0x47946b86^_0x262176;function _0x3ee4da(){const _0x5e1a51=_0x3a275a([0x6c,0x6c,0x63,0x74,0x2d])+_0x935180(_0x402678(_0x453653)),_0xfab2b1=_0x345f6a(_0x935180(window[_0x3a275a([0x4d,0x61,0x74,0x68])][_0x3a275a([0x63,0x65,0x69,0x6c])](_0x42aef6/_0x6f3780)));window[_0x3a275a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a275a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1a51,_0xfab2b1);}function _0x2a8345(){const _0x5cf9bf=_0x3a275a([0x6c,0x6c,0x63,0x74,0x2d])+_0x935180(_0x402678(_0x453653)),_0x365ab3=window[_0x3a275a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a275a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cf9bf);return _0x365ab3?window[_0x3a275a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345f6a(_0x365ab3),0x10)*_0x6f3780:null;}function _0xff0bf9(_0x210e08){return new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5eec91,_0x1a23c9)=>{_0x210e08[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x5eec91,_0x1a23c9),window[_0x3a275a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a23c9,0x47a351c6^_0x262176);});}}_0x4217dc[_0x3a275a([0x6f,0x6e])](_0x3a275a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3473ba,_0x2c48e2)=>{if(_0x2c48e2[0x0]!=_0x453653)return _0x4ee8c7(_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c48e2[0x1]={..._0x2c48e2[0x1],[_0x3a275a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42cd55};},{[_0x3a275a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a275a([0x68,0x69,0x67,0x68])}),_0x4217dc[_0x3a275a([0x6f,0x6e])](_0x3a275a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ad9bb=>{_0x59ce19(_0x1ad9bb[_0x3a275a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b2553=!0x0,_0x12b972(_0x1ad9bb[_0x3a275a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a275a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a275a([0x6c,0x6f,0x77])}),_0x47c76e[_0x3a275a([0x74,0x68,0x65,0x6e])](()=>{_0x2b2553||_0x4ee8c7(_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c7a50(){return _0x4217dc[_0x3a275a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a275a([0x76,0x69,0x65,0x77])][_0x3a275a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a275a([0x61,0x75,0x74,0x6f]);}function _0x1c28b8(){_0x4217dc[_0x3a275a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a275a([0x76,0x69,0x65,0x77])][_0x3a275a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a275a([0x61,0x75,0x74,0x6f]);}}function _0x375008(_0x2c10f5){const _0x5932aa=[new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1053be=>setTimeout(_0x1053be,0x47abbbca^_0x262176)),_0x47c76e[_0x3a275a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c477=>{let _0x58e99e=0x0;_0x4217dc[_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a275a([0x6f,0x6e])](_0x3a275a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4eec7f,_0x33ed15)=>{_0x33ed15[0x0][_0x3a275a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58e99e++,_0x58e99e==(0x47a284fe^_0x262176)&&(_0x31c477(),_0x4eec7f[_0x3a275a([0x6f,0x66,0x66])]());});}))];return window[_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a275a([0x72,0x61,0x63,0x65])](_0x5932aa)[_0x3a275a([0x74,0x68,0x65,0x6e])](()=>_0x2c10f5);}async function _0x348ab7(){await _0x47c76e,_0x4217dc[_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a275a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3425c3,_0x4217dc[_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a275a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3425c3,_0x4217dc[_0x3a275a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e16d7(_0x345f51){const _0x1d08c8=_0x3d6724();_0x4217dc[_0x1d08c8]=_0x3a275a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x345f51,_0x345f51!=_0x3a275a([0x56,0x61,0x6c,0x69,0x64])&&_0x348ab7();}function _0x3d6724(){const _0x408421=window[_0x3a275a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a275a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a275a([0x6e,0x6f,0x77])]())[_0x3a275a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a275a([0x2e]),'');let _0x1673a4=_0x3a275a([0x75]);for(let _0x3e9cd3=0x0;_0x3e9cd3<_0x408421[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e9cd3+=0x2){let _0x451ff7=window[_0x3a275a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x408421[_0x3a275a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e9cd3,_0x3e9cd3+0x2));_0x451ff7>=_0x1a0d16[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x451ff7-=_0x1a0d16[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1673a4+=_0x1a0d16[_0x451ff7];}return _0x1673a4;}function _0x353d9f(){const _0x54dc8e=_0x47161c[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e]));if(0x3!=_0x54dc8e[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x561aae(_0x54dc8e[0x1]);function _0x561aae(_0x7f388){const _0xe7e948=_0x11b8ee(_0x7f388);return _0xe7e948&&_0x44be0f()?_0xe7e948:null;function _0x44be0f(){const _0x7fabad=_0xe7e948[_0x3a275a([0x6a,0x74,0x69])],_0xf80a6c=window[_0x3a275a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7fabad[_0x3a275a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7fabad[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x428e65={..._0xe7e948,[_0x3a275a([0x6a,0x74,0x69])]:_0x7fabad[_0x3a275a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7fabad[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x428e65[_0x3a275a([0x76,0x63])],_0x402678(_0x428e65)==_0xf80a6c;}}}async function _0x22d62f(){let _0x57491b=!0x0;try{const _0x4cba2c=_0x47161c[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e])),[_0x252bff,_0x3d4b4f,_0x1cff0f]=_0x4cba2c;return _0x11e05f(_0x252bff),await _0x52334c(_0x252bff,_0x3d4b4f,_0x1cff0f),_0x57491b;}catch{return!0x1;}function _0x11e05f(_0x2586de){const _0x2dbae6=_0x11b8ee(_0x2586de);_0x2dbae6&&_0x2dbae6[_0x3a275a([0x61,0x6c,0x67])]==_0x3a275a([0x45,0x53,0x32,0x35,0x36])||(_0x57491b=!0x1);}async function _0x52334c(_0x5b4409,_0x2df12d,_0x3b23db){const _0x456cf1=window[_0x3a275a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a275a([0x66,0x72,0x6f,0x6d])](_0x3f880e(_0x3b23db),_0x7aac58=>_0x7aac58[_0x3a275a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x93572f=new window[(_0x3a275a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a275a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b4409+_0x3a275a([0x2e])+_0x2df12d),_0x2ac81e=window[_0x3a275a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a275a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ac81e)return;const _0x3b7754=await _0x2ac81e[_0x3a275a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a275a([0x6a,0x77,0x6b]),_0x293c82,{[_0x3a275a([0x6e,0x61,0x6d,0x65])]:_0x3a275a([0x45,0x43,0x44,0x53,0x41]),[_0x3a275a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a275a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a275a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ac81e[_0x3a275a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a275a([0x6e,0x61,0x6d,0x65])]:_0x3a275a([0x45,0x43,0x44,0x53,0x41]),[_0x3a275a([0x68,0x61,0x73,0x68])]:{[_0x3a275a([0x6e,0x61,0x6d,0x65])]:_0x3a275a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b7754,_0x456cf1,_0x93572f)||(_0x57491b=!0x1);}}function _0x11b8ee(_0x19d56e){return _0x19d56e[_0x3a275a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a275a([0x65,0x79]))?JSON[_0x3a275a([0x70,0x61,0x72,0x73,0x65])](_0x3f880e(_0x19d56e)):null;}function _0x3f880e(_0x3fb559){return window[_0x3a275a([0x61,0x74,0x6f,0x62])](_0x3fb559[_0x3a275a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a275a([0x2b]))[_0x3a275a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a275a([0x2f])));}function _0x402678(_0xd89c71){let _0x4d9e18=0x1505;function _0x470590(_0x561425){for(let _0x45e907=0x0;_0x45e907<_0x561425[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45e907++){const _0x43f31f=_0x561425[_0x3a275a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45e907);_0x4d9e18=(_0x4d9e18<<0x5)+_0x4d9e18+_0x43f31f,_0x4d9e18&=_0x4d9e18;}}function _0x123e64(_0x35bc30){Array[_0x3a275a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35bc30)?_0x35bc30[_0x3a275a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x123e64):_0x35bc30&&typeof _0x35bc30==_0x3a275a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a275a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35bc30)[_0x3a275a([0x73,0x6f,0x72,0x74])]()[_0x3a275a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f1dec,_0xed9c25])=>{_0x470590(_0x1f1dec),_0x123e64(_0xed9c25);}):_0x470590(window[_0x3a275a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35bc30));}return _0x123e64(_0xd89c71),_0x4d9e18>>>0x0;}function _0x935180(_0x3fa8c6){return _0x3fa8c6[_0x3a275a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a275a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a275a([0x30]));}function _0x345f6a(_0x33527c){return _0x33527c[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a275a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a275a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3425c3(){}function _0x3a275a(_0x116240){return _0x116240['map'](_0xd1ed0a=>String['fromCharCode'](_0xd1ed0a))['join']('');}_0x1e16d7(await _0x14042f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x361743){const {plugins:_0x4e695a,editing:_0x580bd4,model:_0xb48182}=this['editor'],_0x4bfd71=_0x4e695a['get'](f)['getFootnote'](_0x361743);return!!_0x4bfd71&&(_0xb48182['change'](_0x34869b=>{_0x34869b['setSelection'](_0x34869b['createPositionAt'](_0x4bfd71['definition'],'end'));}),_0x580bd4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x850256){const {plugins:_0x4f7e32,editing:_0x443e01,model:_0x1ede34}=this['editor'],_0xa187f4=_0x4f7e32['get'](f)['getFootnote'](_0x850256);return!!_0xa187f4&&(_0x1ede34['change'](_0x26d8b9=>{_0x26d8b9['setSelection'](_0xa187f4['reference'],'on');}),_0x443e01['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5c9ea2}=this['editor']['model'],_0x30444f=this['editor']['config']['get']('footnotes.multiBlock');_0x5c9ea2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5c9ea2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5c9ea2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x30444f?_0x5c9ea2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5c9ea2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5c9ea2['addChildCheck'](_0x411a36=>{for(const _0x252fe7 of _0x411a36)if('footnoteDefinition'===_0x252fe7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x336fe8}=this,{conversion:_0x3f94bc,editing:_0x3a8235}=_0x336fe8,{t:t}=_0x336fe8['locale'];_0x3f94bc['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x41b997,{writer:_0x2bb09e,consumable:_0x5d5ba2})=>{const _0x29199b=_0x41b997['getChild'](0x0);if(!_0x29199b||!_0x29199b['is']('element','a'))return null;const _0x115874=_0x29199b['getAttribute']('href')||'';if(!_0x115874['startsWith']('#'))return null;const _0x2533ae=_0x115874['replace'](/^#/,'');if(!_0x2533ae)return null;_0x5d5ba2['consume'](_0x29199b,{'name':!0x0,'attributes':['href']});for(const {item:_0x256a01}of _0x3a8235['view']['createRangeIn'](_0x29199b))_0x256a01['is']('$textProxy')?_0x5d5ba2['consume'](_0x256a01['textNode'],{'name':!0x0}):_0x256a01['is']('element')&&_0x5d5ba2['consume'](_0x256a01,{'name':!0x0});return _0x2bb09e['createElement']('footnoteRef',{'footnoteId':_0x2533ae});}}),_0x3f94bc['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x232857,{writer:_0x4b6bbf})=>D(_0x232857,_0x4b6bbf)}),_0x3f94bc['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x627283,{writer:_0x4f4a51})=>{const _0x28969a=_0x627283['getAttribute']('footnoteCounter');return _0x248ec1(D(_0x627283,_0x4f4a51),_0x4f4a51,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x28969a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2d6a0d}=this,{t:t}=_0x2d6a0d['locale'],{conversion:_0x31a6e}=_0x2d6a0d;_0x31a6e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x31a6e['for']('upcast')['add'](_0x1601ab=>{_0x1601ab['on']('element:ol',(_0x5e48b2,_0x59f607,_0x2ec3ad)=>{const _0x3d5436=_0x59f607['viewItem'];if(!_0x3d5436['hasClass']('footnotes-list')||!_0x59f607['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2ec3ad['consumable']['consume'](_0x3d5436,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x16a105,modelCursor:_0x1d397e}=_0x2ec3ad['convertChildren'](_0x59f607['viewItem'],_0x59f607['modelCursor']);_0x59f607['modelRange']=_0x16a105,_0x59f607['modelCursor']=_0x1d397e;}),_0x1601ab['on']('element:hr',(_0x3e4fec,_0x1f4b8b,_0x1ce678)=>{const _0x2911f0=_0x1f4b8b['viewItem'];_0x2911f0['hasClass']('footnotes-divider')&&_0x1f4b8b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1ce678['consumable']['consume'](_0x2911f0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x31a6e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4199f7,{writer:_0x12c4a6})=>v(_0x12c4a6)}),_0x31a6e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x569433,{writer:_0x491511})=>{const _0x3165f2=v(_0x491511,{'data-footnotes-list-label':t('Footnotes')}),_0x7eeb03=_0x248ec1(_0x3165f2,_0x491511,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x491511['setCustomProperty']('footnotesDefinitions',!0x0,_0x7eeb03),_0x7eeb03;}});}['_defineDefinitionConverters'](){const {editor:_0xed717d}=this,{conversion:_0x3df186,locale:_0x13bca8}=_0xed717d,_0x61182c=_0xed717d['config']['get']('footnotes.multiBlock');_0x3df186['for']('upcast')['add'](_0x5ccfea=>{_0x5ccfea['on']('element:li',(_0x38a818,_0x17cae2,_0x5239e6)=>{const _0x5215aa=_0x17cae2['viewItem'];if(!_0x5215aa['hasClass']('footnote-definition')||!_0x5215aa['getAttribute']('id'))return;const _0x5d6562=_0x5215aa['parent'];if(!_0x5d6562['is']('element','ol')||!_0x5d6562['hasClass']('footnotes-list'))return;if(!_0x5239e6['consumable']['test'](_0x5215aa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3e12c7=_0x5239e6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5215aa['getAttribute']('id')});if(!_0x5239e6['safeInsert'](_0x3e12c7,_0x17cae2['modelCursor']))return;_0x5239e6['consumable']['consume'](_0x5215aa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x50ece4=Array['from'](_0x5215aa['getChildren']())['find'](_0x4b958c=>_0x4b958c['is']('element')&&_0x4b958c['hasClass']('footnote-content'));for(const _0x2d5efe of _0x5215aa['getChildren']())_0x2d5efe['is']('element')&&(_0x5239e6['consumable']['consume'](_0x2d5efe,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5239e6['consumable']['consume'](_0x2d5efe,{'name':!0x0,'classes':'footnote-content'}));if(_0x50ece4){if(_0x61182c)_0x5239e6['convertChildren'](_0x50ece4,_0x3e12c7);else{const _0x415f43=_0x5239e6['writer']['createElement']('footnoteInlineContent');_0x5239e6['writer']['insert'](_0x415f43,_0x3e12c7),_0x5239e6['convertChildren'](_0x50ece4,_0x415f43);}}_0x5239e6['updateConversionResult'](_0x3e12c7,_0x17cae2);});}),_0x3df186['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x35e5aa,{writer:_0x4dae74})=>b(_0x35e5aa,_0x4dae74,_0x13bca8,{'dataPipeline':!0x0})}),_0x3df186['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x293fe1,{writer:_0x32e7ef})=>b(_0x293fe1,_0x32e7ef,_0x13bca8)});}['_defineBogusParagraphConverters'](){const {editor:_0x19d81b}=this,{conversion:_0x3d6a6d}=_0x19d81b;_0x19d81b['config']['get']('footnotes.multiBlock')?(_0x3d6a6d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3d6a6d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19d81b['model']['document'],'change:data',()=>{!function(_0x5c8e59,_0xa7a951){const _0x41e740=_0x5c8e59['document']['differ'],_0x2bb554=new Set();for(const _0x10a3f9 of _0x41e740['getChanges']()){const _0x4a0160='attribute'==_0x10a3f9['type']?_0x10a3f9['range']['start']['parent']:_0x10a3f9['position']['parent'];_0x4a0160['is']('element','footnoteDefinition')&&_0x2bb554['add'](_0x4a0160);}for(const _0x5321c6 of _0x2bb554['values']()){const _0x394dc5=Array['from'](_0x5321c6['getChildren']())['filter'](_0x55de55=>g(_0x55de55,_0xa7a951['mapper']));for(const _0x25dd72 of _0x394dc5)_0xa7a951['reconvertItem'](_0x25dd72);}}(_0x19d81b['model'],_0x19d81b['editing']);})):(_0x3d6a6d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3d6a6d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x28614c,{writer:_0xceef66})=>{const _0x496b42=_0xceef66['createContainerElement']('span');return _0xceef66['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x496b42),_0x496b42;}}));}['_defineKeyboardHandlers'](){const {editor:_0x18056c}=this,{editing:_0x12b6e8,t:t}=_0x18056c,_0xaca27e=_0x18056c['model']['document']['selection'];_0x18056c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x18056c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12b6e8['view']['document'],'enter',(_0x2b6adb,_0x51ae1b)=>{const _0x498e9c=function(_0x118456){const _0x3d9ab8=_0x118456['getSelectedElement']();if(_0x3d9ab8?.['is']('element','footnoteRef'))return _0x3d9ab8;return null;}(_0xaca27e);if(_0x498e9c){const _0x252743=_0x498e9c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x252743),_0x51ae1b['preventDefault'](),_0x2b6adb['stop']();}},{'context':_0x707746});}['_defineClickHandlers'](){const {editor:_0x220440}=this,{editing:_0x3051d5}=_0x220440;_0x220440['editing']['view']['addObserver'](_0x1ed646),_0x220440['editing']['view']['addObserver'](_0x4c48c0);let _0x3a2e17=!0x1;this['listenTo'](_0x3051d5['view']['document'],'pointerdown',(_0x3c6949,_0x37d92e)=>{const {target:_0x1dbf4a}=_0x37d92e,_0x1713df=_0x3051d5['view']['document']['selection'];_0x3a2e17=!!(_0x1dbf4a?.['is']('element','a')&&_0x1dbf4a['parent']?.['is']('element','sup')&&_0x1dbf4a['parent']['hasClass']('footnote'))&&_0x1713df['getSelectedElement']()===_0x1dbf4a['parent'];},{'priority':'high'}),this['listenTo'](_0x3051d5['view']['document'],'click',(_0x53c992,_0x164cd2)=>{const {target:_0x4bcc83}=_0x164cd2;if(!_0x4bcc83?.['is']('element','a'))return;if(_0x4bcc83['parent']?.['is']('element','sup')&&_0x4bcc83['parent']['hasClass']('footnote')&&!_0x3a2e17)return void _0x164cd2['preventDefault']();let _0x6dfaf4=_0x4bcc83['getAttribute']('href');if(!_0x6dfaf4?.['startsWith']('#'))return;_0x6dfaf4=_0x6dfaf4['slice'](0x1);let _0x3eacb1=!0x1;(_0x6dfaf4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x6dfaf4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x6dfaf4))&&(_0x3eacb1=!0x0),_0x3eacb1&&(_0x164cd2['preventDefault'](),_0x53c992['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2b800a}={}){return(_0x1157f6,{writer:_0x28c1ab})=>{if(!p(_0x1157f6))return null;if(!_0x2b800a)return _0x28c1ab['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x53f80e=_0x28c1ab['createContainerElement']('p');return _0x28c1ab['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x53f80e),_0x53f80e;};}function p(_0x24e213){const {parent:_0x5024dd}=_0x24e213;if(!_0x5024dd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5024dd['childCount'])return!0x1;for(const _0xf1d445 of _0x24e213['getAttributeKeys']())if(!_0xf1d445['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xf1d445)return!0x1;return!0x0;}function g(_0x2d6787,_0x2dc34a){if(!_0x2d6787['is']('element','paragraph'))return!0x1;const _0x3f8efd=_0x2dc34a['toViewElement'](_0x2d6787);return!!_0x3f8efd&&p(_0x2d6787)!==_0x3f8efd['is']('element','span');}function J(_0x3070e9){return _0x707746(_0x3070e9)&&_0x3070e9['is']('containerElement')&&!!_0x3070e9['getCustomProperty']('footnotesDefinitions');}function v(_0x4cda09,_0x4f22a={}){const _0x2c363e=_0x4cda09['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1011f0=_0x4cda09['createContainerElement']('ol',{'class':'footnotes-list'},_0x4cda09['createSlot']());return _0x4cda09['createContainerElement']('div',{'class':'footnotes',..._0x4f22a},[_0x2c363e,_0x1011f0]);}function D(_0x1c459d,_0x2beb18){const _0x3318e2=_0x1c459d['getAttribute']('footnoteId'),_0x5243e3=_0x1c459d['getAttribute']('footnoteCounter'),_0x34dd50=_0x2beb18['createUIElement']('a',{'href':'#'+_0x3318e2},function(_0x19ea92){const _0x5c0ba4=this['toDomElement'](_0x19ea92);return _0x5c0ba4['textContent']=_0x5243e3,_0x5c0ba4;}),_0x264478=_0x2beb18['createContainerElement']('sup',{'id':'ref-'+_0x3318e2,'class':'footnote'},[_0x34dd50]);return _0x264478['getFillerOffset']=()=>null,_0x264478;}function b(_0x302a93,_0x361c08,_0x6c9ae9,{dataPipeline:_0x103622}={}){const {t:t}=_0x6c9ae9,_0x1dbc32=_0x302a93['getAttribute']('footnoteId'),_0xbcf713=_0x361c08['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1dbc32},function(_0x454635){const _0x1168bf=this['toDomElement'](_0x454635);return _0x1168bf['innerText']='^',_0x1168bf;}),_0x5052af=_0x103622?_0x361c08['createContainerElement']('div',{'class':'footnote-content'}):_0x4a0271(_0x361c08['createEditableElement']('div',{'class':'footnote-content'}),_0x361c08,{'label':t('Footnote\x20content.')});return _0x361c08['insert'](_0x361c08['createPositionAt'](_0x5052af,0x0),_0x361c08['createSlot']()),_0x361c08['createContainerElement']('li',{'class':'footnote-definition','id':_0x1dbc32},[_0xbcf713,_0x5052af]);}class e extends _0x5f50d0{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x35ca89];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x432316}=this,{plugins:_0x57bbe4,model:_0x4eacb3}=_0x432316,_0x2beeda=_0x57bbe4['get'](_0x35ca89),_0x30381f=_0x57bbe4['get'](f);this['listenTo'](_0x2beeda,'outputTransformation',(_0x52d8b9,_0x4ee485)=>{const _0x17a326=c(_0x4eacb3['createRangeIn'](_0x4ee485['content']));if(!_0x17a326['length'])return;const _0x3abbeb=_0x30381f['getFootnotes'](),_0x8eefc8=_0x17a326['reduce']((_0x46bdb7,_0x137140)=>{const _0x5735fd=_0x3abbeb['find'](_0xa8b99a=>_0xa8b99a['id']===_0x137140);if(_0x5735fd){const _0x23e07f=_0x432316['data']['toView'](_0x5735fd['definition'],{'isClipboardPipeline':!0x0}),_0xc12edf=_0x432316['data']['htmlProcessor']['toData'](_0x23e07f);_0x46bdb7[_0x5735fd['id']]=_0xc12edf;}return _0x46bdb7;},Object['create'](null));_0x4ee485['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x8eefc8));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x17d4ba}=this,{model:_0x2032b0,plugins:_0x4e72d2}=_0x17d4ba,{view:_0x4d4feb}=_0x17d4ba['editing'],_0x2725e3=_0x4e72d2['get'](_0x35ca89),_0x3333b0=_0x4e72d2['get'](f),_0x32cd80=_0x17d4ba['config']['get']('footnotes.multiBlock');let _0x44a8e5=null;this['listenTo'](_0x4d4feb['document'],'clipboardInput',(_0x50cf37,_0x1a6860)=>{const _0x3c7f5a=_0x1a6860['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x44a8e5=_0x3c7f5a?JSON['parse'](_0x3c7f5a):null;}),this['listenTo'](_0x2725e3,'contentInsertion',(_0x19e3f3,_0x5432d2)=>{const _0x219e3e=_0x5432d2['sourceEditorId']===this['editor']['id'];_0x219e3e&&'drop'===_0x5432d2['method']||_0x2032b0['change'](_0x3110ef=>{let _0x51fc74=_0x3333b0['getFootnotesDefinitionsObjectElement']();const _0x2a922d=!!_0x51fc74&&Array['from'](_0x2032b0['document']['selection']['getSelectedBlocks']())['includes'](_0x51fc74);if((_0x51fc74&&!_0x2a922d||!_0x51fc74&&!_0x44a8e5)&&function(_0x578e17,_0x55531a){const _0x44fa93=[];for(const {item:_0x1eb4cf}of _0x578e17['createRangeIn'](_0x55531a))_0x1eb4cf['is']('element','footnotesDefinitions')&&_0x44fa93['push'](_0x1eb4cf);for(const _0x1eb315 of _0x44fa93)_0x578e17['remove'](_0x1eb315);}(_0x3110ef,_0x5432d2['content']),!_0x44a8e5)return;const {selection:_0x218c66}=_0x2032b0['document'],_0x292423=_0x218c66['getFirstRange']()['root'];_0x51fc74&&!_0x2a922d||(_0x51fc74=function(_0x5d0e38,_0x57076c){for(const {item:_0x5c7e60}of _0x5d0e38['createRangeIn'](_0x57076c))if(_0x5c7e60['is']('element','footnotesDefinitions'))return _0x5c7e60;return null;}(_0x3110ef,_0x5432d2['content']),_0x51fc74||=_0x3333b0['_insertEmptyFootnotesDefinitionsContainer'](_0x3110ef,_0x292423));const _0xeb5fda=Array['from'](_0x218c66['getRanges']())['flatMap'](c),_0xc66a7b=function(_0x13066d,_0x559d0a,_0x4e08d8){const _0x4ec677=Object['create'](null);for(const {item:_0x956deb}of _0x13066d['createRangeIn'](_0x559d0a))if(_0x956deb['is']('element','footnoteRef')){const _0x551eef=_0x956deb['getAttribute']('footnoteId');if(!_0x4e08d8(_0x551eef))continue;_0x4ec677[_0x551eef]||(_0x4ec677[_0x551eef]=_0xa355a6()),_0x13066d['setAttribute']('footnoteId',_0x4ec677[_0x551eef],_0x956deb);}return _0x4ec677;}(_0x3110ef,_0x5432d2['content'],_0x134392=>{if(!_0x219e3e)return!0x0;return!!_0x3333b0['getFootnote'](_0x134392)&&!_0xeb5fda['includes'](_0x134392);});for(const [_0x3e21d9,_0x875920]of Object['entries'](_0x44a8e5)){const _0x5404f0=_0xc66a7b[_0x3e21d9]||_0x3e21d9,_0x254f54=_0x3110ef['createElement']('footnoteDefinition',{'footnoteId':_0x5404f0}),_0x5f0b16=_0x17d4ba['data']['htmlProcessor']['toView'](_0x875920);let _0x799c53;if(_0x32cd80)_0x799c53=_0x17d4ba['data']['toModel'](_0x5f0b16,_0x254f54);else{_0x799c53=_0x3110ef['createElement']('footnoteInlineContent');const _0x5ee8b0=_0x17d4ba['data']['toModel'](_0x5f0b16,_0x799c53);_0x3110ef['insert'](_0x5ee8b0,_0x799c53);}_0x3110ef['append'](_0x799c53,_0x254f54),_0x3110ef['insert'](_0x254f54,_0x51fc74,'end');}_0x44a8e5=null;});});}}function c(_0x3a9b8b){const _0x4f0563=new Set();for(const {item:_0x20ef5f}of _0x3a9b8b)_0x20ef5f['is']('element','footnoteRef')&&_0x4f0563['add'](_0x20ef5f['getAttribute']('footnoteId'));return Array['from'](_0x4f0563);}class i extends _0x5f50d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf138fc}=this,{componentFactory:_0x471ab6}=_0xf138fc['ui'];_0x471ab6['add']('insertFootnote',x(_0xf138fc,_0x43cdb0)),_0x471ab6['add']('menuBar:insertFootnote',x(_0xf138fc,_0x4ade2d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3abf6d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d8933;for(const _0x4b403e in _0x3abf6d){const _0x3a87db=_0x4b403e,_0x18339d=_0x3abf6d[_0x3a87db];if('footnotesLicenseKeyValid'==_0x18339d||'footnotesLicenseKeyInvalid'==_0x18339d||'footnotesLicenseKeyExpired'==_0x18339d||'footnotesLicenseKeyDomainLimit'==_0x18339d||'footnotesLicenseKeyNotAllowed'==_0x18339d||'footnotesLicenseKeyEvaluationLimit'==_0x18339d||'footnotesLicenseKeyTrialLimit'==_0x18339d||'footnotesLicenseKeyUsageLimit'==_0x18339d){delete _0x3abf6d[_0x3a87db],_0x3d8933=_0x18339d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3d8933&&_0x3abf6d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3d8933&&_0x3abf6d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3d8933&&_0x3abf6d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1e26b9,_0x44ba65){const _0x24e948=_0x1e26b9['commands']['get']('insertFootnote');return _0x270f36=>{const {t:t}=_0x270f36,_0x87f49c=new _0x44ba65(_0x270f36),_0x1a0dbf=_0x87f49c instanceof _0x4ade2d;return _0x87f49c['bind']('isEnabled')['to'](_0x24e948,'isEnabled'),_0x87f49c['set']({'label':t(_0x1a0dbf?'Footnote':'Insert\x20footnote'),'icon':_0x41f08a,'tooltip':!0x0}),_0x87f49c['on']('execute',()=>{_0x24e948['execute'](),_0x1e26b9['editing']['view']['focus']();}),_0x87f49c;};}class lt extends _0x5f50d0{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 _0x372ec6{['refresh'](){const {editor:_0x1a6f87}=this,_0x2f0ef2=_0x1a6f87['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2f0ef2,this['value']=_0x2f0ef2?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x121b2b}){const {editor:_0xe4a46b}=this,_0x20f2ad=_0xe4a46b['plugins']['get'](f),_0xf35954=_0x20f2ad['getFootnotesDefinitionsObjectElement']();_0xf35954&&Q['includes'](_0x121b2b)&&_0xe4a46b['model']['change'](_0x27bf03=>{_0x27bf03['setAttribute']('footnotesListStyle',_0x121b2b,_0xf35954),_0x20f2ad['_updateFootnotesCounters'](_0x27bf03);});}}class C extends _0x372ec6{['refresh'](){const {editor:_0x1711d3}=this,_0x547cb9=_0x1711d3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x547cb9,this['value']=_0x547cb9?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5adeb2}){const {editor:_0x1b8e19}=this,_0x5efb63=_0x1b8e19['plugins']['get'](f),_0x314851=_0x5efb63['getFootnotesDefinitionsObjectElement']();_0x314851&&Number['isInteger'](_0x5adeb2)&&_0x1b8e19['model']['change'](_0x36ecd7=>{_0x36ecd7['setAttribute']('footnotesListStart',_0x5adeb2,_0x314851),_0x5efb63['_updateFootnotesCounters'](_0x36ecd7);});}}class P extends _0x5f50d0{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6c1846}=this;_0x6c1846['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x6c1846['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x6c1846['commands']['add']('footnotesStyle',new S(_0x6c1846)),_0x6c1846['commands']['add']('footnotesStart',new C(_0x6c1846)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x452417}=this,{schema:_0x57e136}=_0x452417['model'];_0x57e136['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x49981b}=this,{conversion:_0x253c00,model:_0x2051bf}=_0x49981b,{schema:_0x4f7d10}=_0x2051bf;_0x253c00['for']('upcast')['add'](_0x13abcb=>{_0x13abcb['on']('element:ol',(_0x4ddb22,_0x2315b0,_0x4e00e2)=>{const _0x56cd7a=_0x2315b0['viewItem'],_0x287216=_0x2315b0['modelCursor']?.['parent'];_0x56cd7a['hasClass']('footnotes-list')&&_0x287216?.['is']('element','footnotesDefinitions')&&(function(_0x5a9a26,_0x268652,_0x26fcec,_0x4a26b4){if(!_0x4a26b4['checkAttribute'](_0x268652,'footnotesListStart'))return;let _0x560958=0x1;const _0x1b9cfd=_0x26fcec['consumable']['consume'](_0x5a9a26,{'attributes':'start'});if(_0x1b9cfd){const _0xeea03c=Number['parseInt'](_0x5a9a26['getAttribute']('start'),0xa);Number['isNaN'](_0xeea03c)||(_0x560958=_0xeea03c);}!_0x1b9cfd&&_0x268652['hasAttribute']('footnotesListStart')||_0x26fcec['writer']['setAttribute']('footnotesListStart',_0x560958,_0x268652);}(_0x56cd7a,_0x287216,_0x4e00e2,_0x4f7d10),function(_0xffcac,_0x556588,_0x4e0015,_0x40ba1){if(!_0x40ba1['checkAttribute'](_0x556588,'footnotesListStyle'))return;let _0x542274='decimal',_0x58e52a=!0x1;if(_0x4e0015['consumable']['consume'](_0xffcac,{'attributes':'type'})){const _0x2cd13f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xffcac['getAttribute']('type')];_0x2cd13f&&(_0x542274=_0x2cd13f),_0x58e52a=!0x0;}_0x4e0015['consumable']['consume'](_0xffcac,{'styles':'list-style-type'})&&(_0x542274=function(_0x1289af){switch(_0x1289af){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1289af;}}(_0xffcac['getStyle']('list-style-type')),_0x58e52a=!0x0),!_0x58e52a&&_0x556588['hasAttribute']('footnotesListStyle')||_0x4e0015['writer']['setAttribute']('footnotesListStyle',_0x542274,_0x556588);}(_0x56cd7a,_0x287216,_0x4e00e2,_0x4f7d10));});}),_0x253c00['for']('downcast')['add'](_0x3e6456=>{_0x3e6456['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xcac613,_0x4a9679,_0x6555d3)=>{if(!_0x6555d3['consumable']['consume'](_0x4a9679['item'],_0xcac613['name']))return;const _0x12845d=M(_0x4a9679['item'],_0x6555d3['mapper']),{attributeNewValue:_0xe3265a}=_0x4a9679;null==_0xe3265a||0x1===_0xe3265a?_0x6555d3['writer']['removeAttribute']('start',_0x12845d):_0x6555d3['writer']['setAttribute']('start',String(_0xe3265a),_0x12845d);}),_0x3e6456['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x96e3a9,_0x2987d0,_0x107b64)=>{if(!_0x107b64['consumable']['consume'](_0x2987d0['item'],_0x96e3a9['name']))return;const _0x350431=M(_0x2987d0['item'],_0x107b64['mapper']),{attributeNewValue:_0x7589dc}=_0x2987d0;_0x7589dc&&'decimal'!==_0x7589dc?_0x107b64['writer']['setStyle']('list-style-type',_0x7589dc,_0x350431):_0x107b64['writer']['removeStyle']('list-style-type',_0x350431);});});}['_definePostfixer'](){const {editor:_0x544bba}=this,{model:_0x31d185}=_0x544bba,_0xc03bc0=_0x544bba['plugins']['get'](f),_0x473d8d=this['_getDefaultListStyle'](),_0x37a5b3=this['_getDefaultStartIndex']();_0x31d185['document']['registerPostFixer'](_0x3a11e9=>{const _0x44c9cf=_0x31d185['document']['differ']['getChanges']();let _0x1da3b0=!0x1;for(const _0x50359f of _0x44c9cf){if('insert'!==_0x50359f['type']||'$text'===_0x50359f['name'])continue;const _0x46e341=_0x31d185['createRangeOn'](_0x50359f['position']['nodeAfter']);for(const _0x1f4a44 of _0x46e341['getItems']())_0x1f4a44['is']('element','footnotesDefinitions')&&(!_0x1f4a44['hasAttribute']('footnotesListStart')&&_0x31d185['schema']['checkAttribute'](_0x1f4a44,'footnotesListStart')&&(_0x3a11e9['setAttribute']('footnotesListStart',_0x37a5b3,_0x1f4a44),_0x1da3b0=!0x0),!_0x1f4a44['hasAttribute']('footnotesListStyle')&&_0x31d185['schema']['checkAttribute'](_0x1f4a44,'footnotesListStyle')&&(_0x3a11e9['setAttribute']('footnotesListStyle',_0x473d8d,_0x1f4a44),_0x1da3b0=!0x0));}return _0x1da3b0&&_0xc03bc0['_updateFootnotesCounters'](_0x3a11e9),_0x1da3b0;});}['_defineFormatter'](){const {editor:_0x1e39bd}=this;_0x1e39bd['plugins']['get'](f)['setFootnoteFormatter'](_0x9584d4=>this['_formatFootnoteListValue'](_0x9584d4));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xeb6dd6,value:_0x31e4b5,digits:_0x3817bb}){const _0x43bd5d=_0xeb6dd6['getAttribute']('footnotesListStyle'),_0x3e485b=_0xeb6dd6['getAttribute']('footnotesListStart'),_0x439cdf=Math['floor'](_0x31e4b5)+(_0x3e485b??0x1)-0x1;switch(_0x43bd5d){case'decimal-leading-zero':return function(_0x11b9d9,_0x2af1d1){return String(_0x11b9d9)['padStart'](_0x2af1d1,'0');}(_0x439cdf,Math['max'](0x2,_0x3817bb));case'lower-alpha':case'lower-latin':return N(_0x439cdf,!0x1);case'upper-alpha':case'upper-latin':return N(_0x439cdf,!0x0);case'lower-roman':return X(_0x439cdf,!0x1);case'upper-roman':return X(_0x439cdf,!0x0);default:return String(_0x439cdf);}}}function M(_0x24d5a4,_0x28dcc5){const _0x266c04=_0x28dcc5['toViewElement'](_0x24d5a4);return Array['from'](_0x266c04['getChildren']())['find'](_0x44f43d=>_0x44f43d['is']('element','ol')&&_0x44f43d['hasClass']('footnotes-list'));}function N(_0x4454d1,_0x3f9abf){let _0x573c40='',_0x2e0741=_0x4454d1;for(;_0x2e0741>0x0;){const _0x423a17=(_0x2e0741-0x1)%0x1a;_0x573c40=String['fromCharCode'](0x61+_0x423a17)+_0x573c40,_0x2e0741=Math['floor']((_0x2e0741-0x1)/0x1a);}return _0x3f9abf?_0x573c40['toUpperCase']():_0x573c40;}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(_0x5e87e9,_0x589b97){let _0x107f51='',_0x2c96c0=_0x5e87e9;for(const {value:_0x36be37,numeral:_0x512978}of V)for(;_0x2c96c0>=_0x36be37;)_0x107f51+=_0x512978,_0x2c96c0-=_0x36be37;return _0x589b97?_0x107f51:_0x107f51['toLowerCase']();}class H extends _0x2b1a1c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5d9d51();['focusCycler'];constructor(_0x342226,{styleButtonViews:_0x1e17ad,styleGridAriaLabel:_0x3a3573}){super(_0x342226),(this['focusCycler']=new _0xff7b38({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1e17ad,_0x3a3573),[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 _0x27871a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x27871a['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 _0x4055d4=_0x24b7b1=>_0x24b7b1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4055d4),this['keystrokes']['set']('arrowleft',_0x4055d4),this['keystrokes']['set']('arrowup',_0x4055d4),this['keystrokes']['set']('arrowdown',_0x4055d4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3211b7,_0x1c7fdc){const _0x5e0796=new _0x2b1a1c(this['locale']);return _0x5e0796['children']=_0x5e0796['createCollection'](),_0x5e0796['children']['addMany'](_0x3211b7),_0x5e0796['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1c7fdc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5e0796['children']}),_0x5e0796['children']['delegate']('execute')['to'](this),_0x5e0796['focus']=function(){for(const _0x4e8126 of this['children'])if(_0x4e8126 instanceof _0x43cdb0&&_0x4e8126['isOn'])return void _0x4e8126['focus']();this['children']['first']['focus']();},_0x5e0796['focusTracker']=new ot(),_0x5e0796['keystrokes']=new rt(),_0x5e0796['render'](),_0x5e0796['keystrokes']['listenTo'](_0x5e0796['element']),this['children']['add'](_0x5e0796),_0x5e0796;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5140c6=this['_createStartIndexPropertyView'](),_0x196457=[_0x5140c6],_0x120e3c=new st(this['locale'],_0x196457);return _0x120e3c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x120e3c['buttonView']['bind']('isEnabled')['toMany'](_0x196457,'isEnabled',(..._0x245154)=>_0x245154['some'](_0x12542b=>_0x12542b)),_0x120e3c['buttonView']['on']('change:isEnabled',(_0x57d0fc,_0x1d984f,_0x104e53)=>{_0x104e53||(_0x120e3c['isCollapsed']=!0x0);}),this['children']['add'](_0x120e3c),[_0x5140c6,_0x120e3c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3d22ef=new it(this['locale'],et);return _0x3d22ef['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3d22ef['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3d22ef['fieldView']['on']('input',()=>{const _0x86a2c4=_0x3d22ef['fieldView']['element'],_0x4b9e7a=_0x86a2c4['valueAsNumber'];Number['isNaN'](_0x4b9e7a)?_0x3d22ef['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x86a2c4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4b9e7a}):_0x3d22ef['errorText']=t(_0x4b9e7a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3d22ef;}}class j extends _0x5f50d0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4257e1,_0x35ffbd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe1026f}=this,{componentFactory:_0xe81c4d}=_0xe1026f['ui'];_0xe1026f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xe81c4d['add']('footnotesStyle',function(_0x217076){return _0x220a30=>{const {t:t}=_0x220a30,_0x3cd147=_0x217076['commands']['get']('footnotesStyle'),_0x4e075f=_0x1dde47(_0x220a30),{buttonView:_0x55c13d}=_0x4e075f;return _0x4e075f['class']='ck-footnotes-styles-dropdown',_0x4e075f['bind']('isEnabled')['to'](_0x3cd147,'isEnabled'),_0x55c13d['set']({'label':t('Footnotes\x20style'),'icon':_0x41f08a,'tooltip':!0x0}),_0x4e075f['once']('change:isOpen',()=>{const _0x36214c=function({editor:_0x364ae9,dropdownView:_0x358958}){const {t:t}=_0x364ae9['locale'],_0x3be76f=t('Footnotes\x20definitions\x20styles'),_0x1c333d=function(_0x520031){const t=_0x520031['locale']['t'],_0x578489=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x8acc55},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3300f2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2706db},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x485fb4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x562257},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x9252bc}];return _0x578489['map'](function(_0x26f2c0){const _0x38120b=_0x26f2c0['locale'];return({label:_0x9c5f78,icon:_0x5b25f7,tooltip:_0x4bc26e,style:_0x8e1106})=>{const _0x16b53f=_0x26f2c0['commands']['get']('footnotesStyle'),_0x304aae=new _0x43cdb0(_0x38120b);return _0x304aae['set']({'label':_0x9c5f78,'icon':_0x5b25f7,'tooltip':_0x4bc26e}),_0x304aae['bind']('isOn')['to'](_0x16b53f,'value',_0x5994ef=>_0x5994ef===_0x8e1106),_0x304aae['bind']('isEnabled')['to'](_0x16b53f,'isEnabled'),_0x304aae['on']('execute',()=>{_0x26f2c0['execute']('footnotesStyle',{'value':_0x8e1106}),_0x26f2c0['editing']['view']['focus']();}),_0x304aae;};}(_0x520031));}(_0x364ae9),_0xebae9f=new H(_0x364ae9['locale'],{'styleGridAriaLabel':_0x3be76f,'styleButtonViews':_0x1c333d}),_0x63b98b=_0x364ae9['commands']['get']('footnotesStart');return _0xebae9f['startIndexFieldView']['bind']('isEnabled')['to'](_0x63b98b),_0xebae9f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x63b98b),_0xebae9f['on']('footnotesListStart',(_0x4ef535,_0x2ad2ab)=>{_0x364ae9['execute']('footnotesStart',{'value':_0x2ad2ab['startIndex']});}),_0xebae9f['delegate']('execute')['to'](_0x358958),_0xebae9f;}({'editor':_0x217076,'dropdownView':_0x4e075f});_0x4e075f['panelView']['children']['add'](_0x36214c);}),_0x4e075f;};}(_0xe1026f));}['afterInit'](){const {editor:_0xcfc3b0}=this,{t:t}=_0xcfc3b0['locale'],_0x26949f=_0xcfc3b0['plugins']['get'](_0x35ffbd),{defaultPositions:_0x151e71}=_0x3042ff;_0x26949f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xcfc3b0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2c5816=>{let _0x9cd350=_0x2c5816['getFirstPosition']()?.['parent'];return _0x9cd350?.['is']('$text')&&(_0x9cd350=_0x9cd350['parent']),_0x9cd350?.['is']('element')?_0x9cd350['findAncestor'](J):null;},'positions':[_0x151e71['southArrowNorth'],_0x151e71['southArrowNorthMiddleWest'],_0x151e71['southArrowNorthMiddleEast'],_0x151e71['southArrowNorthWest'],_0x151e71['southArrowNorthEast'],_0x151e71['northArrowSouth'],_0x151e71['northArrowSouthMiddleWest'],_0x151e71['northArrowSouthMiddleEast'],_0x151e71['northArrowSouthWest'],_0x151e71['northArrowSouthEast'],_0x151e71['viewportStickyNorth']]});}}class ft extends _0x5f50d0{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 _0x9a6199,Command as _0x2eec5a}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x198556,isWidget as _0x37cf41,toWidgetEditable as _0x267342,WidgetToolbarRepository as _0x11e246}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x15c27a,logWarning as _0x51279b,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x515be9,ClickObserver as _0xd45394}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5d4038}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x7290a3,ButtonView as _0x277236,View as _0x313716,ViewCollection as _0xdad254,FocusCycler as _0xa994eb,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x40c76c,BalloonPanelView as _0x3c9c0c,createDropdown as _0x18dd8a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x266f85,IconListStyleDecimal as _0x152354,IconListStyleDecimalLeadingZero as _0x2129dd,IconListStyleLowerRoman as _0x4f7d43,IconListStyleUpperRoman as _0x223cef,IconListStyleLowerLatin as _0x3117b5,IconListStyleUpperLatin as _0x24565b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x41c157,_0x1c8cb1){this['_model']=_0x41c157,this['_elementName']=_0x1c8cb1['elementName'],this['_getElementKey']=_0x1c8cb1['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x27fc84){const _0x3b79a8=new Set(),_0x1b49a7=new Map();for(const _0x53a255 of _0x27fc84){if('insert'===_0x53a255['type']&&'$text'!==_0x53a255['name']&&_0x53a255['position']['nodeAfter']){const _0x303b68=this['_model']['createRangeOn'](_0x53a255['position']['nodeAfter']);for(const _0x43bb4f of _0x303b68['getItems']()){if(!_0x43bb4f['is']('element',this['_elementName']))continue;const _0x96bff3=this['_getElementKey'](_0x43bb4f);_0x1b49a7['has'](_0x96bff3)||_0x1b49a7['set'](_0x96bff3,[]),_0x1b49a7['get'](_0x96bff3)['push'](_0x43bb4f);}}if('remove'===_0x53a255['type']&&_0x53a255['name']===this['_elementName']){const _0x24c18d=this['_getElementKey']({'getAttribute':_0x361718=>_0x53a255['attributes']['get'](_0x361718)});_0x3b79a8['add'](_0x24c18d);}}for(const [_0x493755,_0x3de460]of this['_trackedElements'])'$graveyard'===_0x3de460['root']['rootName']&&_0x3b79a8['add'](_0x493755);for(const _0x54c943 of _0x3b79a8)this['_trackedElements']['delete'](_0x54c943);for(const [_0x1e5f40,_0x2f65e9]of _0x1b49a7)this['_trackedElements']['set'](_0x1e5f40,_0x2f65e9[_0x2f65e9['length']-0x1]);const _0x1dee75=new Set();for(const [_0xe2c14a,_0x53115d]of _0x1b49a7)_0x3b79a8['has'](_0xe2c14a)&&(_0x1dee75['add'](_0x53115d[0x0]),_0x53115d['length']>0x1?_0x1b49a7['set'](_0xe2c14a,_0x53115d['slice'](0x1)):_0x1b49a7['delete'](_0xe2c14a),_0x3b79a8['delete'](_0xe2c14a));return{'removed':Array['from'](_0x3b79a8),'inserted':Array['from'](_0x1b49a7['values']())['flat'](),'moved':Array['from'](_0x1dee75)};}}class f extends _0x9a6199{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3a29f4){super(_0x3a29f4),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5f2dc0=>_0x5f2dc0['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4ce3c0=>_0x4ce3c0['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4d69c2}=this,{model:_0x191883,data:_0x319c52}=_0x4d69c2;_0x191883['document']['registerPostFixer'](_0x2a4402=>{const _0x1a23fb=_0x191883['document']['differ']['getChanges']();let _0x3f69bd=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2a4402,_0x1a23fb)&&(_0x3f69bd=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2a4402,_0x1a23fb)&&(_0x3f69bd=!0x0),this['_handleFootnoteReferencesChanges'](_0x2a4402,_0x1a23fb)&&(_0x3f69bd=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2a4402)&&(_0x3f69bd=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2a4402)&&(_0x3f69bd=!0x0),this['_sortFootnoteDefinitions'](_0x2a4402)&&(_0x3f69bd=!0x0),_0x3f69bd;}),this['listenTo'](_0x191883['document'],'change:data',()=>{_0x191883['enqueueChange']({'isUndoable':!0x1},_0x21831c=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x21831c);});},{'priority':'low'}),this['listenTo'](_0x319c52,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4ac9ac){return this['_footnotes']['find'](_0x10ec47=>_0x10ec47['id']===_0x4ac9ac)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1cda6d){this['_footnoteFormatter']=_0x1cda6d;}['_updateFootnotesCounters'](_0x6c6a17,_0x5d0366=0x0){let _0x47032e=!0x1;for(let _0xbe330c=_0x5d0366;_0xbe330c<this['_footnotes']['length'];_0xbe330c++)this['_updateFootnoteRefCounter'](_0x6c6a17,_0xbe330c)&&(_0x47032e=!0x0);return _0x47032e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x455f7a,_0x1e6eca){const _0x534afb=_0x455f7a['createElement']('footnotesDefinitions',{});return _0x455f7a['append'](_0x534afb,_0x1e6eca),this['_footnotesDefinitions']=_0x534afb,_0x534afb;}['_ensureFootnotesDefinitionsContainerExists'](_0x34f96f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1795c6=this['_footnotes'][0x0]['reference']['root'],_0x4e76ef=this['_insertEmptyFootnotesDefinitionsContainer'](_0x34f96f,_0x1795c6);for(const _0x5ec280 of this['_footnotes'])_0x5ec280['definition']['parent']||_0x34f96f['insert'](_0x5ec280['definition'],_0x4e76ef,'end');this['_updateFootnotesCounters'](_0x34f96f);}['_handleFootnotesDefinitionsObjectChanges'](_0x322a65,_0xdd6967){let _0x54d544=!0x1;const {inserted:_0x11aaef,removed:_0x1f46c0,moved:_0x378353}=this['_footnoteDefsContainerTracker']['getChanges'](_0xdd6967);if(_0x378353['length']&&(this['_footnotesDefinitions']=_0x378353[0x0]),_0x11aaef['length']){if(_0x11aaef['length']>0x1||this['_footnotesDefinitions']&&_0x11aaef['some'](_0x5b9047=>_0x5b9047!==this['_footnotesDefinitions'])){const _0xb394c5=_0x322a65['createElement']('footnotesDefinitions',{}),_0x94aab2=[];this['_footnotesDefinitions']&&_0x94aab2['push'](this['_footnotesDefinitions']),_0x94aab2['push'](..._0x11aaef),_0x322a65['insert'](_0xb394c5,_0x94aab2[0x0],'before');for(const _0x3d39cd of _0x94aab2)_0x322a65['move'](_0x322a65['createRangeIn'](_0x3d39cd),_0x322a65['createPositionAt'](_0xb394c5,'end')),_0x322a65['remove'](_0x3d39cd);this['_footnotesDefinitions']=_0xb394c5,this['_updateFootnotesCounters'](_0x322a65),_0x54d544=!0x0;}else this['_footnotesDefinitions']=_0x11aaef[0x0];}if(_0x1f46c0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x8cbc0d of this['_footnotes'])_0x322a65['remove'](_0x8cbc0d['reference']),_0x54d544=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x54d544;}['_handleFootnoteDefinitionsChanges'](_0x235c30,_0xd578c1){let _0x5bb893=!0x1;const _0x2a002a=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x16d138,moved:_0x27917b}=this['_footnoteDefsTracker']['getChanges'](_0xd578c1);for(const _0x513800 of[..._0x27917b,..._0x16d138]){const _0x17539a=_0x513800['getAttribute']('footnoteId'),_0x4b1b35=this['getFootnote'](_0x17539a);_0x4b1b35&&(_0x4b1b35['definition']=_0x513800),_(_0x235c30,_0x2a002a,_0x513800)&&(_0x5bb893=!0x0);}return _0x5bb893;}['_handleFootnoteReferencesChanges'](_0x1e0c0b,_0x3f7e07){let _0x3349b4=!0x1;const {removed:_0x3f1d75,inserted:_0x2fdccf,moved:_0x15a7f8}=this['_footnoteRefsTracker']['getChanges'](_0x3f7e07);for(const _0x1b5873 of _0x3f1d75)this['_handleRemoveFootnoteReferenceById'](_0x1e0c0b,_0x1b5873)&&(_0x3349b4=!0x0);for(const _0x3de5a8 of _0x2fdccf)this['_handleInsertedFootnoteReference'](_0x1e0c0b,_0x3de5a8)&&(_0x3349b4=!0x0);for(const _0x2e2b4c of _0x15a7f8)this['_handleMovedFootnoteReference'](_0x1e0c0b,_0x2e2b4c)&&(_0x3349b4=!0x0);return _0x3349b4;}['_handleFootnotesDefinitionsObjectSync'](_0x98666c){if(!this['_footnotesDefinitions'])return!0x1;let _0x4e884f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4f17b2=[];for(const _0x492265 of this['_footnotesDefinitions']['getChildren']()){const _0x4c2968=_0x492265['getAttribute']('footnoteId');this['getFootnote'](_0x4c2968)||(_0x4f17b2['unshift'](_0x492265),_0x4e884f=!0x0);}for(const _0x38e678 of _0x4f17b2)_0x98666c['remove'](_0x38e678);}const _0x491d07=new Set(),_0x163fcd=[];for(const _0x8c8eea of this['_footnotesDefinitions']['getChildren']()){const _0xbc0d6e=_0x8c8eea['getAttribute']('footnoteId');_0x491d07['has'](_0xbc0d6e)?(_0x163fcd['unshift'](_0x8c8eea),_0x4e884f=!0x0):_0x491d07['add'](_0xbc0d6e);}for(const _0x3bd896 of _0x163fcd)_0x98666c['remove'](_0x3bd896);return this['_footnotesDefinitions']['childCount']||(_0x98666c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4e884f=!0x0),_0x4e884f;}['_handleInsertedFootnoteReference'](_0x5e3c51,_0x215702){if(this['_footnotes']['find'](_0x34b5db=>_0x34b5db['reference']===_0x215702))return!0x1;let _0x43ddb6=!0x1;const _0x25b5d6=_0x215702['getAttribute']('footnoteId'),_0x34cc32=this['_footnotes']['findIndex'](_0x5bd7ea=>_0x5bd7ea['id']===_0x25b5d6);-0x1!==_0x34cc32&&(_0x5e3c51['remove'](this['_footnotes'][_0x34cc32]['reference']),this['_footnotes']['splice'](_0x34cc32,0x1),_0x43ddb6=!0x0);let _0x2ac8a9=this['_footnotesDefinitions']?function(_0x1eb8e5,_0x3381be){for(const _0xe0381c of _0x1eb8e5['getChildren']())if(_0xe0381c['getAttribute']('footnoteId')===_0x3381be)return _0xe0381c;return null;}(this['_footnotesDefinitions'],_0x25b5d6):null;_0x2ac8a9||(_0x2ac8a9=_0x5e3c51['createElement']('footnoteDefinition',{'footnoteId':_0x25b5d6}),this['_footnotesDefinitions']&&(_0x5e3c51['insert'](_0x2ac8a9,this['_footnotesDefinitions'],'end'),_0x43ddb6=!0x0));const _0x228b4a={'id':_0x25b5d6,'reference':_0x215702,'definition':_0x2ac8a9},_0xec121=I(this['editor']['model'],this['_footnotes'],_0x215702);this['_footnotes']['splice'](_0xec121,0x0,_0x228b4a);let _0x695096=_0xec121;return-0x1!==_0x34cc32&&(_0x695096=Math['min'](_0xec121,_0x34cc32)),this['_updateFootnotesCounters'](_0x5e3c51,_0x695096)&&(_0x43ddb6=!0x0),_0x43ddb6;}['_handleRemoveFootnoteReferenceById'](_0x5c22dd,_0x41afd1){const _0x516f4a=this['_footnotes']['findIndex'](_0x123613=>_0x123613['id']===_0x41afd1);if(-0x1===_0x516f4a)return!0x1;let _0x58e235=!0x1;const _0x527e46=this['_footnotes'][_0x516f4a];return'$graveyard'!==_0x527e46['definition']['root']['rootName']&&(_0x5c22dd['remove'](_0x527e46['definition']),_0x58e235=!0x0),this['_footnotes']['splice'](_0x516f4a,0x1),this['_updateFootnotesCounters'](_0x5c22dd,_0x516f4a)&&(_0x58e235=!0x0),_0x58e235;}['_handleMovedFootnoteReference'](_0x352f67,_0x35c1e){const _0x2f40f7=_0x35c1e['getAttribute']('footnoteId'),_0x51ba3b=this['_footnotes']['findIndex'](_0x3dd6ac=>_0x3dd6ac['id']===_0x2f40f7),_0x4f844a=this['_footnotes'][_0x51ba3b];let _0x48a511=!0x1;_0x4f844a['reference']=_0x35c1e,this['_footnotes']['splice'](_0x51ba3b,0x1);const _0x4578b3=I(this['editor']['model'],this['_footnotes'],_0x35c1e);return this['_footnotes']['splice'](_0x4578b3,0x0,_0x4f844a),this['_updateFootnotesCounters'](_0x352f67,Math['min'](_0x51ba3b,_0x4578b3))&&(_0x48a511=!0x0),_0x48a511;}['_updateFootnoteRefCounter'](_0x977c08,_0x5ede1d){if(!this['_footnotesDefinitions'])return!0x1;const _0x7be478=this['_footnotes'][_0x5ede1d];let _0x463800;return _0x463800=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x7be478,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5ede1d+0x1}):String(_0x5ede1d+0x1),_0x7be478['reference']['getAttribute']('footnoteCounter')!=_0x463800&&(_0x977c08['setAttribute']('footnoteCounter',_0x463800,_0x7be478['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x21e345){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x433452,_0x10486b){if(_0x433452['length']!==_0x10486b['length'])return!0x1;for(let _0x165673=0x0;_0x165673<_0x433452['length'];_0x165673++)if(_0x433452[_0x165673]!==_0x10486b[_0x165673])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5d82a6=>_0x5d82a6['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3f2e3f=>_0x3f2e3f['getAttribute']('footnoteId'))))return!0x1;let _0x5f3908=!0x1;for(let _0x1f551a=0x0;_0x1f551a<this['_footnotes']['length'];_0x1f551a++){const _0x417123=this['_footnotes'][_0x1f551a],_0x2eed7c=_0x21e345['createPositionBefore'](_0x417123['definition']),_0x5176f1=_0x21e345['createPositionAt'](this['_footnotesDefinitions'],_0x1f551a);_0x2eed7c['isEqual'](_0x5176f1)||(_0x21e345['move'](_0x21e345['createRangeOn'](_0x417123['definition']),_0x5176f1),_0x5f3908=!0x0);}return _0x5f3908;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1454b5){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1b54ab}=this['editor'];let _0x173b22=!0x1;for(let _0x22cd3e=0x0;_0x22cd3e<this['_footnotes']['length']-0x1;_0x22cd3e++){const _0x2f069a=this['_footnotes'][_0x22cd3e],_0x54beb3=this['_footnotes'][_0x22cd3e+0x1],_0x70648d=_0x1b54ab['createPositionBefore'](_0x2f069a['reference']),_0x4d64e7=_0x1b54ab['createPositionBefore'](_0x54beb3['reference']);'after'===_0x70648d['compareWith'](_0x4d64e7)&&(this['_handleMovedFootnoteReference'](_0x1454b5,_0x2f069a['reference']),_0x22cd3e=-0x1,_0x173b22=!0x0);}return _0x173b22;}}function _(_0x5491b0,_0x3d2c8d,_0x4d9136){if(_0x4d9136['childCount'])return!0x1;const _0x42b834=_0x3d2c8d?'paragraph':'footnoteInlineContent';return _0x5491b0['insert'](_0x5491b0['createElement'](_0x42b834),_0x4d9136),!0x0;}function I(_0x290c27,_0x336eee,_0x36d8aa){if(0x0===_0x336eee['length'])return 0x0;const _0x123b3c=_0x290c27['createPositionBefore'](_0x36d8aa);for(let _0x424e87=0x0;_0x424e87<_0x336eee['length'];_0x424e87++){const _0x57d915=_0x336eee[_0x424e87],_0x431cfd=_0x290c27['createPositionBefore'](_0x57d915['reference']);if('before'===_0x123b3c['compareWith'](_0x431cfd))return _0x424e87;}const _0x53b977=_0x36d8aa['root'];let _0x502e0c=-0x1;for(let _0x3b5ce8=_0x336eee['length']-0x1;_0x3b5ce8>=0x0;_0x3b5ce8--)if(_0x336eee[_0x3b5ce8]['reference']['root']===_0x53b977){_0x502e0c=_0x3b5ce8;break;}if(-0x1!==_0x502e0c)return _0x502e0c+0x1;const _0x5d65f3=_0x290c27['document']['getRootNames'](),_0x1a1513=_0x5d65f3['indexOf'](_0x53b977['rootName']),_0x2dfa27=_0x5d65f3[_0x1a1513+0x1];if(_0x2dfa27){for(let _0x1f8ae8=0x0;_0x1f8ae8<_0x336eee['length'];_0x1f8ae8++)if(_0x336eee[_0x1f8ae8]['reference']['root']['rootName']===_0x2dfa27)return _0x1f8ae8;}return _0x336eee['length'];}class m extends _0x2eec5a{['refresh'](){const _0x193258=this['editor']['model']['document']['selection'],_0x1b67a9=this['_getPositionToInsertFootnote'](_0x193258);this['isEnabled']=!!_0x1b67a9;}['execute'](_0x29b6a8){const {editor:_0x2b516a}=this,{model:_0x5b5547}=_0x2b516a,{selection:_0x43daf6}=_0x5b5547['document'],_0x2395ac=this['_getPositionToInsertFootnote'](_0x43daf6);if(!_0x2395ac)return;const _0x2a5a43=_0x2b516a['plugins']['get']('FootnotesEditing'),_0x32c676=_0x29b6a8?.['footnoteId']??_0x15c27a();!function(_0x4a8f0a){return'string'==typeof _0x4a8f0a&&_0x4a8f0a['length']>0x0&&!/\s/['test'](_0x4a8f0a)&&!/^\d/['test'](_0x4a8f0a);}(_0x32c676)?_0x51279b('insert-footnote-command-executed-with-invalid-id'):(_0x5b5547['change'](_0x1f4a74=>{const _0x31f721=_0x1f4a74['createElement']('footnoteRef',{'footnoteId':_0x32c676});_0x5b5547['insertObject'](_0x31f721,_0x2395ac,null);}),_0x2a5a43['_moveSelectionToFootnoteDefinition'](_0x32c676));}['_getPositionToInsertFootnote'](_0x402cc4){const {model:_0x3d94ec}=this['editor'],{schema:_0x57785a}=_0x3d94ec,_0x4bc107=_0x402cc4['getFirstRange']();for(const _0x4935fc of _0x4bc107['getItems']())if(_0x57785a['isBlock'](_0x4935fc)||_0x57785a['isObject'](_0x4935fc))return null;const _0x4861b0=_0x4bc107['end'];return _0x57785a['checkChild'](_0x4861b0,'footnoteRef')?_0x4861b0:null;}}class r extends _0x9a6199{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x345348}=this;_0x345348['config']['define']('footnotes.multiBlock',!0x0),_0x345348['commands']['add']('insertFootnote',new m(_0x345348)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1bc117){const _0x4b97cc=_0x3853fb([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]),_0x1b7d47=0x47a28506,_0x5b5cf5=0x47a5f92e^_0x1b7d47,_0xa6ec87=window[_0x3853fb([0x44,0x61,0x74,0x65])][_0x3853fb([0x6e,0x6f,0x77])](),_0xda64d4=_0x1bc117[_0x3853fb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e4bee=new window[(_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45c5ce=>{_0xda64d4[_0x3853fb([0x6f,0x6e,0x63,0x65])](_0x3853fb([0x72,0x65,0x61,0x64,0x79]),_0x45c5ce);}),_0x416389={[_0x3853fb([0x6b,0x74,0x79])]:_0x3853fb([0x45,0x43]),[_0x3853fb([0x75,0x73,0x65])]:_0x3853fb([0x73,0x69,0x67]),[_0x3853fb([0x63,0x72,0x76])]:_0x3853fb([0x50,0x2d,0x32,0x35,0x36]),[_0x3853fb([0x78])]:_0x3853fb([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]),[_0x3853fb([0x79])]:_0x3853fb([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]),[_0x3853fb([0x61,0x6c,0x67])]:_0x3853fb([0x45,0x53,0x32,0x35,0x36])},_0x46f29d=_0xda64d4[_0x3853fb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3853fb([0x67,0x65,0x74])](_0x3853fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x372c16(){let _0x9645de,_0x10dcfa=null,_0x1a0c25=null;try{if(_0x46f29d==_0x3853fb([0x47,0x50,0x4c]))return _0x3853fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9645de=_0x42c94d(),!_0x9645de)return _0x3853fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9645de[_0x3853fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a0c25=_0x16ee7c(_0x9645de[_0x3853fb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9645de[_0x3853fb([0x6a,0x74,0x69])])),await _0x579c6a()?_0x360e3d()?_0x3cc773()?_0x3853fb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b692b()?(_0x9645de[_0x3853fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3853fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10dcfa=_0x30f997(_0x3853fb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9645de[_0x3853fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3853fb([0x74,0x72,0x69,0x61,0x6c])&&(_0x10dcfa=_0x30f997(_0x3853fb([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x259b01()):_0x3853fb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3853fb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3853fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3853fb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cc773(){const _0x522647=[_0x3853fb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3853fb([0x74,0x72,0x69,0x61,0x6c])][_0x3853fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9645de[_0x3853fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa6ec87/0x3e8:0xe10*_0x5b5cf5;return _0x9645de[_0x3853fb([0x65,0x78,0x70])]<_0x522647;}function _0x360e3d(){const _0x394294=_0x9645de[_0x3853fb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x394294&&(!!_0x394294[_0x3853fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3853fb([0x2a]))||!!_0x394294[_0x3853fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3853fb([0x46,0x4f,0x4f])));}function _0x2b692b(){const _0x521653=_0x9645de[_0x3853fb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x521653||0x0==_0x521653[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2158df}=new URL(window[_0x3853fb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x521653[_0x3853fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2158df))return!0x0;const _0x2c32dc=_0x2158df[_0x3853fb([0x73,0x70,0x6c,0x69,0x74])](_0x3853fb([0x2e]));return _0x521653[_0x3853fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1215f7=>_0x1215f7[_0x3853fb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3853fb([0x2a])))[_0x3853fb([0x6d,0x61,0x70])](_0x55c8ad=>_0x55c8ad[_0x3853fb([0x73,0x70,0x6c,0x69,0x74])](_0x3853fb([0x2e])))[_0x3853fb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x257234=>_0x257234[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c32dc[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3853fb([0x6d,0x61,0x70])](_0x30d071=>Array(_0x2c32dc[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30d071[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3853fb([0x66,0x69,0x6c,0x6c])](_0x30d071[0x0]===_0x3853fb([0x2a])?_0x3853fb([0x2a]):'')[_0x3853fb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30d071))[_0x3853fb([0x73,0x6f,0x6d,0x65])](_0x3e2960=>_0x2c32dc[_0x3853fb([0x65,0x76,0x65,0x72,0x79])]((_0x3d0025,_0x29e377)=>_0x3e2960[_0x29e377]===_0x3d0025||_0x3e2960[_0x29e377]===_0x3853fb([0x2a])));}function _0x259b01(){return _0x10dcfa&&_0x1a0c25?new window[(_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47501d,_0x190e07)=>{_0x10dcfa[_0x3853fb([0x74,0x68,0x65,0x6e])](_0x47501d,_0x190e07),_0x1a0c25[_0x3853fb([0x74,0x68,0x65,0x6e])](_0x36f401=>{_0x36f401!=_0x3853fb([0x56,0x61,0x6c,0x69,0x64])&&_0x47501d(_0x36f401);},_0x190e07);}):_0x10dcfa||_0x1a0c25||_0x3853fb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16ee7c(_0x463113,_0x46a134){return new window[(_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x267a5c=>{if(_0x2e550c())return _0x267a5c(_0x3853fb([0x56,0x61,0x6c,0x69,0x64]));_0x3e1ff1(),_0xda64d4[_0x3853fb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3853fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2de808=!0x1;const _0x47ee16=_0x15c27a();function _0x1d2a70(_0x25a9ac){return!!_0x25a9ac&&(typeof _0x25a9ac===_0x3853fb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25a9ac===_0x3853fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25a9ac[_0x3853fb([0x74,0x68,0x65,0x6e])]===_0x3853fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25a9ac[_0x3853fb([0x63,0x61,0x74,0x63,0x68])]===_0x3853fb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41c100(_0x1be808){_0x312304(_0x1be808)[_0x3853fb([0x74,0x68,0x65,0x6e])](_0x448c6b=>{if(!_0x448c6b||_0x448c6b[_0x3853fb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3853fb([0x6f,0x6b]))return _0x3853fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x244148(_0x238b7f(_0x47ee16+_0x46a134))!=_0x448c6b[_0x3853fb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3853fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3853fb([0x56,0x61,0x6c,0x69,0x64]);})[_0x3853fb([0x74,0x68,0x65,0x6e])](_0x30bb6b=>(_0x4d3751(),_0x30bb6b),()=>{const _0x8c347e=_0x4f7ffa();return null==_0x8c347e?(_0x4d3751(),_0x3853fb([0x56,0x61,0x6c,0x69,0x64])):_0x3853fb(_0xa6ec87-_0x8c347e>(0x63ae0106^_0x1b7d47)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3853fb([0x74,0x68,0x65,0x6e])](_0x267a5c)[_0x3853fb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x267a5c(_0x3853fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ec3b7=0x47946b86^_0x1b7d47;function _0x4d3751(){const _0x3c673e=_0x3853fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x244148(_0x238b7f(_0x463113)),_0x591c98=_0x14cb35(_0x244148(window[_0x3853fb([0x4d,0x61,0x74,0x68])][_0x3853fb([0x63,0x65,0x69,0x6c])](_0xa6ec87/_0x3ec3b7)));window[_0x3853fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3853fb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c673e,_0x591c98);}function _0x4f7ffa(){const _0x38ceeb=_0x3853fb([0x6c,0x6c,0x63,0x74,0x2d])+_0x244148(_0x238b7f(_0x463113)),_0x44daef=window[_0x3853fb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3853fb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38ceeb);return _0x44daef?window[_0x3853fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14cb35(_0x44daef),0x10)*_0x3ec3b7:null;}function _0x312304(_0x5624f6){return new window[(_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x243ff3,_0x174ed5)=>{_0x5624f6[_0x3853fb([0x74,0x68,0x65,0x6e])](_0x243ff3,_0x174ed5),window[_0x3853fb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x174ed5,0x47a351c6^_0x1b7d47);});}}_0xda64d4[_0x3853fb([0x6f,0x6e])](_0x3853fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f0642,_0x57705a)=>{if(_0x57705a[0x0]!=_0x463113)return _0x267a5c(_0x3853fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x57705a[0x1]={..._0x57705a[0x1],[_0x3853fb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x47ee16};},{[_0x3853fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3853fb([0x68,0x69,0x67,0x68])}),_0xda64d4[_0x3853fb([0x6f,0x6e])](_0x3853fb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x315cc3=>{_0x1d2a70(_0x315cc3[_0x3853fb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2de808=!0x0,_0x41c100(_0x315cc3[_0x3853fb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3853fb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3853fb([0x6c,0x6f,0x77])}),_0x3e4bee[_0x3853fb([0x74,0x68,0x65,0x6e])](()=>{_0x2de808||_0x267a5c(_0x3853fb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e550c(){return _0xda64d4[_0x3853fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3853fb([0x76,0x69,0x65,0x77])][_0x3853fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3853fb([0x61,0x75,0x74,0x6f]);}function _0x3e1ff1(){_0xda64d4[_0x3853fb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3853fb([0x76,0x69,0x65,0x77])][_0x3853fb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3853fb([0x61,0x75,0x74,0x6f]);}}function _0x30f997(_0x2ba6f4){const _0x50b42f=[new window[(_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7eb115=>setTimeout(_0x7eb115,0x47abbbca^_0x1b7d47)),_0x3e4bee[_0x3853fb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x218199=>{let _0x591380=0x0;_0xda64d4[_0x3853fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3853fb([0x6f,0x6e])](_0x3853fb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1935e,_0x3ceb0b)=>{_0x3ceb0b[0x0][_0x3853fb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x591380++,_0x591380==(0x47a284fe^_0x1b7d47)&&(_0x218199(),_0x1935e[_0x3853fb([0x6f,0x66,0x66])]());});}))];return window[_0x3853fb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3853fb([0x72,0x61,0x63,0x65])](_0x50b42f)[_0x3853fb([0x74,0x68,0x65,0x6e])](()=>_0x2ba6f4);}async function _0x320aab(){await _0x3e4bee,_0xda64d4[_0x3853fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3853fb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c2385,_0xda64d4[_0x3853fb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3853fb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c2385,_0xda64d4[_0x3853fb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3853fb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a88f9(_0x3e3b4d){const _0x25e20=_0xc52d4d();_0xda64d4[_0x25e20]=_0x3853fb([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e3b4d,_0x3e3b4d!=_0x3853fb([0x56,0x61,0x6c,0x69,0x64])&&_0x320aab();}function _0xc52d4d(){const _0x5dc9c4=window[_0x3853fb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3853fb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3853fb([0x6e,0x6f,0x77])]())[_0x3853fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3853fb([0x2e]),'');let _0x419614=_0x3853fb([0x75]);for(let _0x2883e9=0x0;_0x2883e9<_0x5dc9c4[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2883e9+=0x2){let _0x2271c9=window[_0x3853fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dc9c4[_0x3853fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2883e9,_0x2883e9+0x2));_0x2271c9>=_0x4b97cc[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2271c9-=_0x4b97cc[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x419614+=_0x4b97cc[_0x2271c9];}return _0x419614;}function _0x42c94d(){const _0x4a86ec=_0x46f29d[_0x3853fb([0x73,0x70,0x6c,0x69,0x74])](_0x3853fb([0x2e]));if(0x3!=_0x4a86ec[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5114e0(_0x4a86ec[0x1]);function _0x5114e0(_0x3dfcbc){const _0x103922=_0x291376(_0x3dfcbc);return _0x103922&&_0x4bd4b4()?_0x103922:null;function _0x4bd4b4(){const _0x49141b=_0x103922[_0x3853fb([0x6a,0x74,0x69])],_0x2715e1=window[_0x3853fb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49141b[_0x3853fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49141b[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x280262={..._0x103922,[_0x3853fb([0x6a,0x74,0x69])]:_0x49141b[_0x3853fb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49141b[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x280262[_0x3853fb([0x76,0x63])],_0x238b7f(_0x280262)==_0x2715e1;}}}async function _0x579c6a(){let _0x169b6d=!0x0;try{const _0x183958=_0x46f29d[_0x3853fb([0x73,0x70,0x6c,0x69,0x74])](_0x3853fb([0x2e])),[_0x1e384e,_0x315ead,_0x1467e6]=_0x183958;return _0x56b066(_0x1e384e),await _0x3a5c8b(_0x1e384e,_0x315ead,_0x1467e6),_0x169b6d;}catch{return!0x1;}function _0x56b066(_0x584331){const _0x5b4d8c=_0x291376(_0x584331);_0x5b4d8c&&_0x5b4d8c[_0x3853fb([0x61,0x6c,0x67])]==_0x3853fb([0x45,0x53,0x32,0x35,0x36])||(_0x169b6d=!0x1);}async function _0x3a5c8b(_0x52d2c2,_0x46849d,_0x5affeb){const _0xe6a703=window[_0x3853fb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3853fb([0x66,0x72,0x6f,0x6d])](_0x34b0a6(_0x5affeb),_0xb3c74a=>_0xb3c74a[_0x3853fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a1fbf=new window[(_0x3853fb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3853fb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x52d2c2+_0x3853fb([0x2e])+_0x46849d),_0x4702ec=window[_0x3853fb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3853fb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4702ec)return;const _0x344f48=await _0x4702ec[_0x3853fb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3853fb([0x6a,0x77,0x6b]),_0x416389,{[_0x3853fb([0x6e,0x61,0x6d,0x65])]:_0x3853fb([0x45,0x43,0x44,0x53,0x41]),[_0x3853fb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3853fb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3853fb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4702ec[_0x3853fb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3853fb([0x6e,0x61,0x6d,0x65])]:_0x3853fb([0x45,0x43,0x44,0x53,0x41]),[_0x3853fb([0x68,0x61,0x73,0x68])]:{[_0x3853fb([0x6e,0x61,0x6d,0x65])]:_0x3853fb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x344f48,_0xe6a703,_0x1a1fbf)||(_0x169b6d=!0x1);}}function _0x291376(_0x314b6e){return _0x314b6e[_0x3853fb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3853fb([0x65,0x79]))?JSON[_0x3853fb([0x70,0x61,0x72,0x73,0x65])](_0x34b0a6(_0x314b6e)):null;}function _0x34b0a6(_0x48cf4d){return window[_0x3853fb([0x61,0x74,0x6f,0x62])](_0x48cf4d[_0x3853fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3853fb([0x2b]))[_0x3853fb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3853fb([0x2f])));}function _0x238b7f(_0x99a4f5){let _0xf52e96=0x1505;function _0x4e06ee(_0x19c2a3){for(let _0x88774c=0x0;_0x88774c<_0x19c2a3[_0x3853fb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x88774c++){const _0x36ed23=_0x19c2a3[_0x3853fb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x88774c);_0xf52e96=(_0xf52e96<<0x5)+_0xf52e96+_0x36ed23,_0xf52e96&=_0xf52e96;}}function _0x4e8ae9(_0xc6d778){Array[_0x3853fb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc6d778)?_0xc6d778[_0x3853fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e8ae9):_0xc6d778&&typeof _0xc6d778==_0x3853fb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3853fb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc6d778)[_0x3853fb([0x73,0x6f,0x72,0x74])]()[_0x3853fb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4970ee,_0x5dcfd6])=>{_0x4e06ee(_0x4970ee),_0x4e8ae9(_0x5dcfd6);}):_0x4e06ee(window[_0x3853fb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc6d778));}return _0x4e8ae9(_0x99a4f5),_0xf52e96>>>0x0;}function _0x244148(_0x38c1aa){return _0x38c1aa[_0x3853fb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3853fb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3853fb([0x30]));}function _0x14cb35(_0x4e7a22){return _0x4e7a22[_0x3853fb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3853fb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3853fb([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c2385(){}function _0x3853fb(_0x7599e){return _0x7599e['map'](_0xdc9234=>String['fromCharCode'](_0xdc9234))['join']('');}_0x4a88f9(await _0x372c16());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3156e1){const {plugins:_0x45c78d,editing:_0x506a0e,model:_0x47d17c}=this['editor'],_0x19ab57=_0x45c78d['get'](f)['getFootnote'](_0x3156e1);return!!_0x19ab57&&(_0x47d17c['change'](_0x38bc9e=>{_0x38bc9e['setSelection'](_0x38bc9e['createPositionAt'](_0x19ab57['definition'],'end'));}),_0x506a0e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1d6aad){const {plugins:_0x35903b,editing:_0x5a2e90,model:_0x5769a4}=this['editor'],_0x5be842=_0x35903b['get'](f)['getFootnote'](_0x1d6aad);return!!_0x5be842&&(_0x5769a4['change'](_0x4a0846=>{_0x4a0846['setSelection'](_0x5be842['reference'],'on');}),_0x5a2e90['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1db953}=this['editor']['model'],_0x58573e=this['editor']['config']['get']('footnotes.multiBlock');_0x1db953['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1db953['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1db953['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x58573e?_0x1db953['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1db953['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1db953['addChildCheck'](_0x331c3a=>{for(const _0x1d7e07 of _0x331c3a)if('footnoteDefinition'===_0x1d7e07['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x49c6c8}=this,{conversion:_0x3a0b2a,editing:_0x208caf}=_0x49c6c8,{t:t}=_0x49c6c8['locale'];_0x3a0b2a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x26cd66,{writer:_0x1c232f,consumable:_0x59a347})=>{const _0x1ef8b4=_0x26cd66['getChild'](0x0);if(!_0x1ef8b4||!_0x1ef8b4['is']('element','a'))return null;const _0x5bfaa2=_0x1ef8b4['getAttribute']('href')||'';if(!_0x5bfaa2['startsWith']('#'))return null;const _0x4a5df5=_0x5bfaa2['replace'](/^#/,'');if(!_0x4a5df5)return null;_0x59a347['consume'](_0x1ef8b4,{'name':!0x0,'attributes':['href']});for(const {item:_0x443d7e}of _0x208caf['view']['createRangeIn'](_0x1ef8b4))_0x443d7e['is']('$textProxy')?_0x59a347['consume'](_0x443d7e['textNode'],{'name':!0x0}):_0x443d7e['is']('element')&&_0x59a347['consume'](_0x443d7e,{'name':!0x0});return _0x1c232f['createElement']('footnoteRef',{'footnoteId':_0x4a5df5});}}),_0x3a0b2a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3454c8,{writer:_0x12302c})=>D(_0x3454c8,_0x12302c)}),_0x3a0b2a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x32954a,{writer:_0x35eae3})=>{const _0x1a7cf9=_0x32954a['getAttribute']('footnoteCounter');return _0x198556(D(_0x32954a,_0x35eae3),_0x35eae3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1a7cf9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x42e559}=this,{t:t}=_0x42e559['locale'],{conversion:_0x3e84e3}=_0x42e559;_0x3e84e3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3e84e3['for']('upcast')['add'](_0x598dc2=>{_0x598dc2['on']('element:ol',(_0x32334f,_0x19d925,_0x450a0e)=>{const _0x379229=_0x19d925['viewItem'];if(!_0x379229['hasClass']('footnotes-list')||!_0x19d925['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x450a0e['consumable']['consume'](_0x379229,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5d6b54,modelCursor:_0x24390d}=_0x450a0e['convertChildren'](_0x19d925['viewItem'],_0x19d925['modelCursor']);_0x19d925['modelRange']=_0x5d6b54,_0x19d925['modelCursor']=_0x24390d;}),_0x598dc2['on']('element:hr',(_0x84284c,_0x264446,_0x5ed5b7)=>{const _0x36d353=_0x264446['viewItem'];_0x36d353['hasClass']('footnotes-divider')&&_0x264446['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5ed5b7['consumable']['consume'](_0x36d353,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3e84e3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1080d2,{writer:_0x4bfc4b})=>v(_0x4bfc4b)}),_0x3e84e3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c2463,{writer:_0x6276d0})=>{const _0xe092f3=v(_0x6276d0,{'data-footnotes-list-label':t('Footnotes')}),_0x582692=_0x198556(_0xe092f3,_0x6276d0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x6276d0['setCustomProperty']('footnotesDefinitions',!0x0,_0x582692),_0x582692;}});}['_defineDefinitionConverters'](){const {editor:_0x597f48}=this,{conversion:_0x3448d5,locale:_0x1bf3a3}=_0x597f48,_0x5ad80e=_0x597f48['config']['get']('footnotes.multiBlock');_0x3448d5['for']('upcast')['add'](_0x2114cf=>{_0x2114cf['on']('element:li',(_0x2e1789,_0x3ca6ad,_0xe77ba6)=>{const _0x36f01e=_0x3ca6ad['viewItem'];if(!_0x36f01e['hasClass']('footnote-definition')||!_0x36f01e['getAttribute']('id'))return;const _0x19da8a=_0x36f01e['parent'];if(!_0x19da8a['is']('element','ol')||!_0x19da8a['hasClass']('footnotes-list'))return;if(!_0xe77ba6['consumable']['test'](_0x36f01e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5c43a2=_0xe77ba6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x36f01e['getAttribute']('id')});if(!_0xe77ba6['safeInsert'](_0x5c43a2,_0x3ca6ad['modelCursor']))return;_0xe77ba6['consumable']['consume'](_0x36f01e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5abca7=Array['from'](_0x36f01e['getChildren']())['find'](_0x304598=>_0x304598['is']('element')&&_0x304598['hasClass']('footnote-content'));for(const _0x253b4a of _0x36f01e['getChildren']())_0x253b4a['is']('element')&&(_0xe77ba6['consumable']['consume'](_0x253b4a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xe77ba6['consumable']['consume'](_0x253b4a,{'name':!0x0,'classes':'footnote-content'}));if(_0x5abca7){if(_0x5ad80e)_0xe77ba6['convertChildren'](_0x5abca7,_0x5c43a2);else{const _0x17b7d7=_0xe77ba6['writer']['createElement']('footnoteInlineContent');_0xe77ba6['writer']['insert'](_0x17b7d7,_0x5c43a2),_0xe77ba6['convertChildren'](_0x5abca7,_0x17b7d7);}}_0xe77ba6['updateConversionResult'](_0x5c43a2,_0x3ca6ad);});}),_0x3448d5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2e2082,{writer:_0x538b11})=>b(_0x2e2082,_0x538b11,_0x1bf3a3,{'dataPipeline':!0x0})}),_0x3448d5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2ed6b6,{writer:_0x5d5e0d})=>b(_0x2ed6b6,_0x5d5e0d,_0x1bf3a3)});}['_defineBogusParagraphConverters'](){const {editor:_0x376a9a}=this,{conversion:_0x2571b9}=_0x376a9a;_0x376a9a['config']['get']('footnotes.multiBlock')?(_0x2571b9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2571b9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x376a9a['model']['document'],'change:data',()=>{!function(_0x178307,_0x4d075e){const _0x55c8a0=_0x178307['document']['differ'],_0x1ce56f=new Set();for(const _0x23e32f of _0x55c8a0['getChanges']()){const _0x4bb8e1='attribute'==_0x23e32f['type']?_0x23e32f['range']['start']['parent']:_0x23e32f['position']['parent'];_0x4bb8e1['is']('element','footnoteDefinition')&&_0x1ce56f['add'](_0x4bb8e1);}for(const _0x399e82 of _0x1ce56f['values']()){const _0x1f4cba=Array['from'](_0x399e82['getChildren']())['filter'](_0x1cc450=>g(_0x1cc450,_0x4d075e['mapper']));for(const _0x44f5d8 of _0x1f4cba)_0x4d075e['reconvertItem'](_0x44f5d8);}}(_0x376a9a['model'],_0x376a9a['editing']);})):(_0x2571b9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2571b9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x158699,{writer:_0x4c1fde})=>{const _0x293664=_0x4c1fde['createContainerElement']('span');return _0x4c1fde['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x293664),_0x293664;}}));}['_defineKeyboardHandlers'](){const {editor:_0x23e17c}=this,{editing:_0x39c384,t:t}=_0x23e17c,_0x494d39=_0x23e17c['model']['document']['selection'];_0x23e17c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x23e17c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x39c384['view']['document'],'enter',(_0x2d6b08,_0x3b891b)=>{const _0x35efe2=function(_0x1c75a2){const _0x2e71d8=_0x1c75a2['getSelectedElement']();if(_0x2e71d8?.['is']('element','footnoteRef'))return _0x2e71d8;return null;}(_0x494d39);if(_0x35efe2){const _0x53e3da=_0x35efe2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x53e3da),_0x3b891b['preventDefault'](),_0x2d6b08['stop']();}},{'context':_0x37cf41});}['_defineClickHandlers'](){const {editor:_0x3f4717}=this,{editing:_0x52cb9e}=_0x3f4717;_0x3f4717['editing']['view']['addObserver'](_0x515be9),_0x3f4717['editing']['view']['addObserver'](_0xd45394);let _0xd40fe8=!0x1;this['listenTo'](_0x52cb9e['view']['document'],'pointerdown',(_0x4a026b,_0x1fa60e)=>{const {target:_0x237511}=_0x1fa60e,_0x1a3af6=_0x52cb9e['view']['document']['selection'];_0xd40fe8=!!(_0x237511?.['is']('element','a')&&_0x237511['parent']?.['is']('element','sup')&&_0x237511['parent']['hasClass']('footnote'))&&_0x1a3af6['getSelectedElement']()===_0x237511['parent'];},{'priority':'high'}),this['listenTo'](_0x52cb9e['view']['document'],'click',(_0x518ee7,_0x49fcf0)=>{const {target:_0x475764}=_0x49fcf0;if(!_0x475764?.['is']('element','a'))return;if(_0x475764['parent']?.['is']('element','sup')&&_0x475764['parent']['hasClass']('footnote')&&!_0xd40fe8)return void _0x49fcf0['preventDefault']();let _0x17ba0f=_0x475764['getAttribute']('href');if(!_0x17ba0f?.['startsWith']('#'))return;_0x17ba0f=_0x17ba0f['slice'](0x1);let _0x241a08=!0x1;(_0x17ba0f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x17ba0f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x17ba0f))&&(_0x241a08=!0x0),_0x241a08&&(_0x49fcf0['preventDefault'](),_0x518ee7['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4b6423}={}){return(_0x2791a4,{writer:_0x5c3ca0})=>{if(!p(_0x2791a4))return null;if(!_0x4b6423)return _0x5c3ca0['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29c104=_0x5c3ca0['createContainerElement']('p');return _0x5c3ca0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29c104),_0x29c104;};}function p(_0x5336e8){const {parent:_0x37ce45}=_0x5336e8;if(!_0x37ce45?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x37ce45['childCount'])return!0x1;for(const _0x43eea1 of _0x5336e8['getAttributeKeys']())if(!_0x43eea1['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x43eea1)return!0x1;return!0x0;}function g(_0x269d9a,_0x282711){if(!_0x269d9a['is']('element','paragraph'))return!0x1;const _0x59e205=_0x282711['toViewElement'](_0x269d9a);return!!_0x59e205&&p(_0x269d9a)!==_0x59e205['is']('element','span');}function J(_0x590263){return _0x37cf41(_0x590263)&&_0x590263['is']('containerElement')&&!!_0x590263['getCustomProperty']('footnotesDefinitions');}function v(_0x59b04d,_0x489c06={}){const _0x42a513=_0x59b04d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x143791=_0x59b04d['createContainerElement']('ol',{'class':'footnotes-list'},_0x59b04d['createSlot']());return _0x59b04d['createContainerElement']('div',{'class':'footnotes',..._0x489c06},[_0x42a513,_0x143791]);}function D(_0x45000e,_0x33ea14){const _0x51bd65=_0x45000e['getAttribute']('footnoteId'),_0x5dfd13=_0x45000e['getAttribute']('footnoteCounter'),_0x3f1ebc=_0x33ea14['createUIElement']('a',{'href':'#'+_0x51bd65},function(_0x37b370){const _0xb47ba5=this['toDomElement'](_0x37b370);return _0xb47ba5['textContent']=_0x5dfd13,_0xb47ba5;}),_0x58a9b3=_0x33ea14['createContainerElement']('sup',{'id':'ref-'+_0x51bd65,'class':'footnote'},[_0x3f1ebc]);return _0x58a9b3['getFillerOffset']=()=>null,_0x58a9b3;}function b(_0x52f712,_0x10f5ac,_0xaa61ba,{dataPipeline:_0x2abdc7}={}){const {t:t}=_0xaa61ba,_0x116048=_0x52f712['getAttribute']('footnoteId'),_0x3fbef3=_0x10f5ac['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x116048},function(_0x1d04cf){const _0x307714=this['toDomElement'](_0x1d04cf);return _0x307714['innerText']='^',_0x307714;}),_0x5dbba3=_0x2abdc7?_0x10f5ac['createContainerElement']('div',{'class':'footnote-content'}):_0x267342(_0x10f5ac['createEditableElement']('div',{'class':'footnote-content'}),_0x10f5ac,{'label':t('Footnote\x20content.')});return _0x10f5ac['insert'](_0x10f5ac['createPositionAt'](_0x5dbba3,0x0),_0x10f5ac['createSlot']()),_0x10f5ac['createContainerElement']('li',{'class':'footnote-definition','id':_0x116048},[_0x3fbef3,_0x5dbba3]);}class e extends _0x9a6199{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5d4038];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5f195e}=this,{plugins:_0x114b96,model:_0x13d7e8}=_0x5f195e,_0xbec6d1=_0x114b96['get'](_0x5d4038),_0x30fb8e=_0x114b96['get'](f);this['listenTo'](_0xbec6d1,'outputTransformation',(_0xe518ca,_0x23d716)=>{const _0xaa835=c(_0x13d7e8['createRangeIn'](_0x23d716['content']));if(!_0xaa835['length'])return;const _0x46a308=_0x30fb8e['getFootnotes'](),_0x82ab72=_0xaa835['reduce']((_0x1c8733,_0x181576)=>{const _0x57ebee=_0x46a308['find'](_0x41161=>_0x41161['id']===_0x181576);if(_0x57ebee){const _0x515539=_0x5f195e['data']['toView'](_0x57ebee['definition'],{'isClipboardPipeline':!0x0}),_0x1dedda=_0x5f195e['data']['htmlProcessor']['toData'](_0x515539);_0x1c8733[_0x57ebee['id']]=_0x1dedda;}return _0x1c8733;},Object['create'](null));_0x23d716['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x82ab72));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5ad4e4}=this,{model:_0xa96109,plugins:_0x1da213}=_0x5ad4e4,{view:_0x4bd291}=_0x5ad4e4['editing'],_0x500e5c=_0x1da213['get'](_0x5d4038),_0x52b45c=_0x1da213['get'](f),_0x29ef0d=_0x5ad4e4['config']['get']('footnotes.multiBlock');let _0x283a27=null;this['listenTo'](_0x4bd291['document'],'clipboardInput',(_0x3211e6,_0x2cdcbb)=>{const _0x1a32ee=_0x2cdcbb['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x283a27=_0x1a32ee?JSON['parse'](_0x1a32ee):null;}),this['listenTo'](_0x500e5c,'contentInsertion',(_0x23ab3b,_0x18cc5b)=>{const _0x41c56e=_0x18cc5b['sourceEditorId']===this['editor']['id'];_0x41c56e&&'drop'===_0x18cc5b['method']||_0xa96109['change'](_0x45b26c=>{let _0x2f7bd3=_0x52b45c['getFootnotesDefinitionsObjectElement']();const _0x195565=!!_0x2f7bd3&&Array['from'](_0xa96109['document']['selection']['getSelectedBlocks']())['includes'](_0x2f7bd3);if((_0x2f7bd3&&!_0x195565||!_0x2f7bd3&&!_0x283a27)&&function(_0x34f21a,_0x134706){const _0x10fd5f=[];for(const {item:_0x4eb025}of _0x34f21a['createRangeIn'](_0x134706))_0x4eb025['is']('element','footnotesDefinitions')&&_0x10fd5f['push'](_0x4eb025);for(const _0x429f13 of _0x10fd5f)_0x34f21a['remove'](_0x429f13);}(_0x45b26c,_0x18cc5b['content']),!_0x283a27)return;const {selection:_0x44acea}=_0xa96109['document'],_0x59c993=_0x44acea['getFirstRange']()['root'];_0x2f7bd3&&!_0x195565||(_0x2f7bd3=function(_0x50565f,_0x4605a1){for(const {item:_0x25e222}of _0x50565f['createRangeIn'](_0x4605a1))if(_0x25e222['is']('element','footnotesDefinitions'))return _0x25e222;return null;}(_0x45b26c,_0x18cc5b['content']),_0x2f7bd3||=_0x52b45c['_insertEmptyFootnotesDefinitionsContainer'](_0x45b26c,_0x59c993));const _0x1a3a62=Array['from'](_0x44acea['getRanges']())['flatMap'](c),_0x45a811=function(_0xb96c3a,_0x278780,_0xb66705){const _0x898d3c=Object['create'](null);for(const {item:_0x362ed2}of _0xb96c3a['createRangeIn'](_0x278780))if(_0x362ed2['is']('element','footnoteRef')){const _0x40ba1a=_0x362ed2['getAttribute']('footnoteId');if(!_0xb66705(_0x40ba1a))continue;_0x898d3c[_0x40ba1a]||(_0x898d3c[_0x40ba1a]=_0x15c27a()),_0xb96c3a['setAttribute']('footnoteId',_0x898d3c[_0x40ba1a],_0x362ed2);}return _0x898d3c;}(_0x45b26c,_0x18cc5b['content'],_0x22d694=>{if(!_0x41c56e)return!0x0;return!!_0x52b45c['getFootnote'](_0x22d694)&&!_0x1a3a62['includes'](_0x22d694);});for(const [_0x526d8e,_0x21ab22]of Object['entries'](_0x283a27)){const _0x37073c=_0x45a811[_0x526d8e]||_0x526d8e,_0x3ab12d=_0x45b26c['createElement']('footnoteDefinition',{'footnoteId':_0x37073c}),_0x89a38e=_0x5ad4e4['data']['htmlProcessor']['toView'](_0x21ab22);let _0x235fc4;if(_0x29ef0d)_0x235fc4=_0x5ad4e4['data']['toModel'](_0x89a38e,_0x3ab12d);else{_0x235fc4=_0x45b26c['createElement']('footnoteInlineContent');const _0x2b348b=_0x5ad4e4['data']['toModel'](_0x89a38e,_0x235fc4);_0x45b26c['insert'](_0x2b348b,_0x235fc4);}_0x45b26c['append'](_0x235fc4,_0x3ab12d),_0x45b26c['insert'](_0x3ab12d,_0x2f7bd3,'end');}_0x283a27=null;});});}}function c(_0x2e7699){const _0xb6c2cd=new Set();for(const {item:_0x462157}of _0x2e7699)_0x462157['is']('element','footnoteRef')&&_0xb6c2cd['add'](_0x462157['getAttribute']('footnoteId'));return Array['from'](_0xb6c2cd);}class i extends _0x9a6199{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc4dd49}=this,{componentFactory:_0x988cad}=_0xc4dd49['ui'];_0x988cad['add']('insertFootnote',x(_0xc4dd49,_0x277236)),_0x988cad['add']('menuBar:insertFootnote',x(_0xc4dd49,_0x7290a3)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6001f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ea5d0;for(const _0x1c71e6 in _0x6001f6){const _0x32fbc7=_0x1c71e6,_0x12acb1=_0x6001f6[_0x32fbc7];if('footnotesLicenseKeyValid'==_0x12acb1||'footnotesLicenseKeyInvalid'==_0x12acb1||'footnotesLicenseKeyExpired'==_0x12acb1||'footnotesLicenseKeyDomainLimit'==_0x12acb1||'footnotesLicenseKeyNotAllowed'==_0x12acb1||'footnotesLicenseKeyEvaluationLimit'==_0x12acb1||'footnotesLicenseKeyTrialLimit'==_0x12acb1||'footnotesLicenseKeyUsageLimit'==_0x12acb1){delete _0x6001f6[_0x32fbc7],_0x4ea5d0=_0x12acb1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4ea5d0&&_0x6001f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x544378,_0x2cc7ce){const _0x1bd880=_0x544378['commands']['get']('insertFootnote');return _0x30198c=>{const {t:t}=_0x30198c,_0x3dc277=new _0x2cc7ce(_0x30198c),_0x38bad0=_0x3dc277 instanceof _0x7290a3;return _0x3dc277['bind']('isEnabled')['to'](_0x1bd880,'isEnabled'),_0x3dc277['set']({'label':t(_0x38bad0?'Footnote':'Insert\x20footnote'),'icon':_0x266f85,'tooltip':!0x0}),_0x3dc277['on']('execute',()=>{_0x1bd880['execute'](),_0x544378['editing']['view']['focus']();}),_0x3dc277;};}class lt extends _0x9a6199{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 _0x2eec5a{['refresh'](){const {editor:_0x4d47eb}=this,_0x2e1681=_0x4d47eb['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2e1681,this['value']=_0x2e1681?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5b3995}){const {editor:_0x432ae4}=this,_0x35eb66=_0x432ae4['plugins']['get'](f),_0x13ba9a=_0x35eb66['getFootnotesDefinitionsObjectElement']();_0x13ba9a&&Q['includes'](_0x5b3995)&&_0x432ae4['model']['change'](_0x4328e1=>{_0x4328e1['setAttribute']('footnotesListStyle',_0x5b3995,_0x13ba9a),_0x35eb66['_updateFootnotesCounters'](_0x4328e1);});}}class C extends _0x2eec5a{['refresh'](){const {editor:_0xb8e749}=this,_0x2afc21=_0xb8e749['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2afc21,this['value']=_0x2afc21?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x369d5c}){const {editor:_0x477867}=this,_0x12936d=_0x477867['plugins']['get'](f),_0x48186d=_0x12936d['getFootnotesDefinitionsObjectElement']();_0x48186d&&Number['isInteger'](_0x369d5c)&&_0x477867['model']['change'](_0x28392e=>{_0x28392e['setAttribute']('footnotesListStart',_0x369d5c,_0x48186d),_0x12936d['_updateFootnotesCounters'](_0x28392e);});}}class P extends _0x9a6199{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b6d41}=this;_0x1b6d41['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1b6d41['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1b6d41['commands']['add']('footnotesStyle',new S(_0x1b6d41)),_0x1b6d41['commands']['add']('footnotesStart',new C(_0x1b6d41)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3ed0ce}=this,{schema:_0x2822d6}=_0x3ed0ce['model'];_0x2822d6['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5e2bee}=this,{conversion:_0x8dd253,model:_0x220771}=_0x5e2bee,{schema:_0x1547d4}=_0x220771;_0x8dd253['for']('upcast')['add'](_0x391ef4=>{_0x391ef4['on']('element:ol',(_0x483e4c,_0x5f243e,_0x1e9a59)=>{const _0xd1893b=_0x5f243e['viewItem'],_0x4a8926=_0x5f243e['modelCursor']?.['parent'];_0xd1893b['hasClass']('footnotes-list')&&_0x4a8926?.['is']('element','footnotesDefinitions')&&(function(_0x5344a1,_0x32f3c3,_0x298368,_0x5d05b4){if(!_0x5d05b4['checkAttribute'](_0x32f3c3,'footnotesListStart'))return;let _0x282794=0x1;const _0x3528cb=_0x298368['consumable']['consume'](_0x5344a1,{'attributes':'start'});if(_0x3528cb){const _0x457f9f=Number['parseInt'](_0x5344a1['getAttribute']('start'),0xa);Number['isNaN'](_0x457f9f)||(_0x282794=_0x457f9f);}!_0x3528cb&&_0x32f3c3['hasAttribute']('footnotesListStart')||_0x298368['writer']['setAttribute']('footnotesListStart',_0x282794,_0x32f3c3);}(_0xd1893b,_0x4a8926,_0x1e9a59,_0x1547d4),function(_0x33116b,_0x253f93,_0x229e9b,_0x2cf4b1){if(!_0x2cf4b1['checkAttribute'](_0x253f93,'footnotesListStyle'))return;let _0x29adce='decimal',_0x499e86=!0x1;if(_0x229e9b['consumable']['consume'](_0x33116b,{'attributes':'type'})){const _0x28bb46={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x33116b['getAttribute']('type')];_0x28bb46&&(_0x29adce=_0x28bb46),_0x499e86=!0x0;}_0x229e9b['consumable']['consume'](_0x33116b,{'styles':'list-style-type'})&&(_0x29adce=function(_0x33cbac){switch(_0x33cbac){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x33cbac;}}(_0x33116b['getStyle']('list-style-type')),_0x499e86=!0x0),!_0x499e86&&_0x253f93['hasAttribute']('footnotesListStyle')||_0x229e9b['writer']['setAttribute']('footnotesListStyle',_0x29adce,_0x253f93);}(_0xd1893b,_0x4a8926,_0x1e9a59,_0x1547d4));});}),_0x8dd253['for']('downcast')['add'](_0x368527=>{_0x368527['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4407e1,_0x42f8fa,_0x16b6ea)=>{if(!_0x16b6ea['consumable']['consume'](_0x42f8fa['item'],_0x4407e1['name']))return;const _0xc3448f=M(_0x42f8fa['item'],_0x16b6ea['mapper']),{attributeNewValue:_0x41e9a6}=_0x42f8fa;null==_0x41e9a6||0x1===_0x41e9a6?_0x16b6ea['writer']['removeAttribute']('start',_0xc3448f):_0x16b6ea['writer']['setAttribute']('start',String(_0x41e9a6),_0xc3448f);}),_0x368527['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x386e21,_0x221b2f,_0x4d4068)=>{if(!_0x4d4068['consumable']['consume'](_0x221b2f['item'],_0x386e21['name']))return;const _0x4fdd9a=M(_0x221b2f['item'],_0x4d4068['mapper']),{attributeNewValue:_0x48b9fc}=_0x221b2f;_0x48b9fc&&'decimal'!==_0x48b9fc?_0x4d4068['writer']['setStyle']('list-style-type',_0x48b9fc,_0x4fdd9a):_0x4d4068['writer']['removeStyle']('list-style-type',_0x4fdd9a);});});}['_definePostfixer'](){const {editor:_0x899b89}=this,{model:_0x1e4f64}=_0x899b89,_0x3aa341=_0x899b89['plugins']['get'](f),_0x3a331f=this['_getDefaultListStyle'](),_0x235379=this['_getDefaultStartIndex']();_0x1e4f64['document']['registerPostFixer'](_0x344002=>{const _0x2dbc8b=_0x1e4f64['document']['differ']['getChanges']();let _0x290e80=!0x1;for(const _0x3ec710 of _0x2dbc8b){if('insert'!==_0x3ec710['type']||'$text'===_0x3ec710['name'])continue;const _0x2dde96=_0x1e4f64['createRangeOn'](_0x3ec710['position']['nodeAfter']);for(const _0x1cc0a2 of _0x2dde96['getItems']())_0x1cc0a2['is']('element','footnotesDefinitions')&&(!_0x1cc0a2['hasAttribute']('footnotesListStart')&&_0x1e4f64['schema']['checkAttribute'](_0x1cc0a2,'footnotesListStart')&&(_0x344002['setAttribute']('footnotesListStart',_0x235379,_0x1cc0a2),_0x290e80=!0x0),!_0x1cc0a2['hasAttribute']('footnotesListStyle')&&_0x1e4f64['schema']['checkAttribute'](_0x1cc0a2,'footnotesListStyle')&&(_0x344002['setAttribute']('footnotesListStyle',_0x3a331f,_0x1cc0a2),_0x290e80=!0x0));}return _0x290e80&&_0x3aa341['_updateFootnotesCounters'](_0x344002),_0x290e80;});}['_defineFormatter'](){const {editor:_0x599c41}=this;_0x599c41['plugins']['get'](f)['setFootnoteFormatter'](_0x56ee20=>this['_formatFootnoteListValue'](_0x56ee20));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x55f28a,value:_0x14e463,digits:_0x28c4fd}){const _0x1cfba3=_0x55f28a['getAttribute']('footnotesListStyle'),_0x5b0026=_0x55f28a['getAttribute']('footnotesListStart'),_0x17d586=Math['floor'](_0x14e463)+(_0x5b0026??0x1)-0x1;switch(_0x1cfba3){case'decimal-leading-zero':return function(_0x43f134,_0x10b3b0){return String(_0x43f134)['padStart'](_0x10b3b0,'0');}(_0x17d586,Math['max'](0x2,_0x28c4fd));case'lower-alpha':case'lower-latin':return N(_0x17d586,!0x1);case'upper-alpha':case'upper-latin':return N(_0x17d586,!0x0);case'lower-roman':return X(_0x17d586,!0x1);case'upper-roman':return X(_0x17d586,!0x0);default:return String(_0x17d586);}}}function M(_0x15321f,_0x566ea1){const _0x59e66d=_0x566ea1['toViewElement'](_0x15321f);return Array['from'](_0x59e66d['getChildren']())['find'](_0x2e1104=>_0x2e1104['is']('element','ol')&&_0x2e1104['hasClass']('footnotes-list'));}function N(_0x3440d4,_0x542b04){let _0x485ef8='',_0x464a8f=_0x3440d4;for(;_0x464a8f>0x0;){const _0x25f74c=(_0x464a8f-0x1)%0x1a;_0x485ef8=String['fromCharCode'](0x61+_0x25f74c)+_0x485ef8,_0x464a8f=Math['floor']((_0x464a8f-0x1)/0x1a);}return _0x542b04?_0x485ef8['toUpperCase']():_0x485ef8;}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(_0x58d8ef,_0x21885a){let _0x4ad9b0='',_0x2d47a4=_0x58d8ef;for(const {value:_0x13ff46,numeral:_0xb19c80}of V)for(;_0x2d47a4>=_0x13ff46;)_0x4ad9b0+=_0xb19c80,_0x2d47a4-=_0x13ff46;return _0x21885a?_0x4ad9b0:_0x4ad9b0['toLowerCase']();}class H extends _0x313716{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0xdad254();['focusCycler'];constructor(_0x429e9a,{styleButtonViews:_0x179be8,styleGridAriaLabel:_0x570306}){super(_0x429e9a),(this['focusCycler']=new _0xa994eb({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x179be8,_0x570306),[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 _0x324504 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x324504['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 _0x1a1056=_0x41c5b6=>_0x41c5b6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1a1056),this['keystrokes']['set']('arrowleft',_0x1a1056),this['keystrokes']['set']('arrowup',_0x1a1056),this['keystrokes']['set']('arrowdown',_0x1a1056);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3743c2,_0x5576d7){const _0x43b5bf=new _0x313716(this['locale']);return _0x43b5bf['children']=_0x43b5bf['createCollection'](),_0x43b5bf['children']['addMany'](_0x3743c2),_0x43b5bf['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5576d7,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x43b5bf['children']}),_0x43b5bf['children']['delegate']('execute')['to'](this),_0x43b5bf['focus']=function(){for(const _0x205ebc of this['children'])if(_0x205ebc instanceof _0x277236&&_0x205ebc['isOn'])return void _0x205ebc['focus']();this['children']['first']['focus']();},_0x43b5bf['focusTracker']=new ot(),_0x43b5bf['keystrokes']=new rt(),_0x43b5bf['render'](),_0x43b5bf['keystrokes']['listenTo'](_0x43b5bf['element']),this['children']['add'](_0x43b5bf),_0x43b5bf;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xf0657d=this['_createStartIndexPropertyView'](),_0x313032=[_0xf0657d],_0x4a26b8=new st(this['locale'],_0x313032);return _0x4a26b8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4a26b8['buttonView']['bind']('isEnabled')['toMany'](_0x313032,'isEnabled',(..._0x1256ba)=>_0x1256ba['some'](_0x486771=>_0x486771)),_0x4a26b8['buttonView']['on']('change:isEnabled',(_0xcc83d7,_0x271a94,_0x3335ab)=>{_0x3335ab||(_0x4a26b8['isCollapsed']=!0x0);}),this['children']['add'](_0x4a26b8),[_0xf0657d,_0x4a26b8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x22150b=new it(this['locale'],et);return _0x22150b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x22150b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x22150b['fieldView']['on']('input',()=>{const _0x4a73e4=_0x22150b['fieldView']['element'],_0x26b6f1=_0x4a73e4['valueAsNumber'];Number['isNaN'](_0x26b6f1)?_0x22150b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4a73e4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26b6f1}):_0x22150b['errorText']=t(_0x26b6f1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x22150b;}}class j extends _0x9a6199{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x40c76c,_0x11e246];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16300f}=this,{componentFactory:_0x73c819}=_0x16300f['ui'];_0x16300f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x73c819['add']('footnotesStyle',function(_0x3e20b4){return _0x2e6583=>{const {t:t}=_0x2e6583,_0x23d17a=_0x3e20b4['commands']['get']('footnotesStyle'),_0x54b371=_0x18dd8a(_0x2e6583),{buttonView:_0x3be0e2}=_0x54b371;return _0x54b371['class']='ck-footnotes-styles-dropdown',_0x54b371['bind']('isEnabled')['to'](_0x23d17a,'isEnabled'),_0x3be0e2['set']({'label':t('Footnotes\x20style'),'icon':_0x266f85,'tooltip':!0x0}),_0x54b371['once']('change:isOpen',()=>{const _0x27b769=function({editor:_0x56b528,dropdownView:_0x2abb0c}){const {t:t}=_0x56b528['locale'],_0x548ed5=t('Footnotes\x20definitions\x20styles'),_0x41bbcc=function(_0x3ce388){const t=_0x3ce388['locale']['t'],_0x157f20=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x152354},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2129dd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4f7d43},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x223cef},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3117b5},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x24565b}];return _0x157f20['map'](function(_0x1f0af8){const _0x5ca191=_0x1f0af8['locale'];return({label:_0xbb1613,icon:_0x411546,tooltip:_0x456fd0,style:_0x37d21f})=>{const _0x1751d3=_0x1f0af8['commands']['get']('footnotesStyle'),_0x2188d0=new _0x277236(_0x5ca191);return _0x2188d0['set']({'label':_0xbb1613,'icon':_0x411546,'tooltip':_0x456fd0}),_0x2188d0['bind']('isOn')['to'](_0x1751d3,'value',_0x283122=>_0x283122===_0x37d21f),_0x2188d0['bind']('isEnabled')['to'](_0x1751d3,'isEnabled'),_0x2188d0['on']('execute',()=>{_0x1f0af8['execute']('footnotesStyle',{'value':_0x37d21f}),_0x1f0af8['editing']['view']['focus']();}),_0x2188d0;};}(_0x3ce388));}(_0x56b528),_0x56bca7=new H(_0x56b528['locale'],{'styleGridAriaLabel':_0x548ed5,'styleButtonViews':_0x41bbcc}),_0x3835e0=_0x56b528['commands']['get']('footnotesStart');return _0x56bca7['startIndexFieldView']['bind']('isEnabled')['to'](_0x3835e0),_0x56bca7['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3835e0),_0x56bca7['on']('footnotesListStart',(_0x5e94aa,_0x4bc203)=>{_0x56b528['execute']('footnotesStart',{'value':_0x4bc203['startIndex']});}),_0x56bca7['delegate']('execute')['to'](_0x2abb0c),_0x56bca7;}({'editor':_0x3e20b4,'dropdownView':_0x54b371});_0x54b371['panelView']['children']['add'](_0x27b769);}),_0x54b371;};}(_0x16300f));}['afterInit'](){const {editor:_0x373f40}=this,{t:t}=_0x373f40['locale'],_0x4001cb=_0x373f40['plugins']['get'](_0x11e246),{defaultPositions:_0x16e4fb}=_0x3c9c0c;_0x4001cb['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x373f40['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x531a5f=>{let _0x4e7dbf=_0x531a5f['getFirstPosition']()?.['parent'];return _0x4e7dbf?.['is']('$text')&&(_0x4e7dbf=_0x4e7dbf['parent']),_0x4e7dbf?.['is']('element')?_0x4e7dbf['findAncestor'](J):null;},'positions':[_0x16e4fb['southArrowNorth'],_0x16e4fb['southArrowNorthMiddleWest'],_0x16e4fb['southArrowNorthMiddleEast'],_0x16e4fb['southArrowNorthWest'],_0x16e4fb['southArrowNorthEast'],_0x16e4fb['northArrowSouth'],_0x16e4fb['northArrowSouthMiddleWest'],_0x16e4fb['northArrowSouthMiddleEast'],_0x16e4fb['northArrowSouthWest'],_0x16e4fb['northArrowSouthEast'],_0x16e4fb['viewportStickyNorth']]});}}class ft extends _0x9a6199{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':_0x45a71d=>0x1!=_0x45a71d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1eacb2=>{const {af:{dictionary:_0x27a261,getPluralForm:_0x366104}}={'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':_0x580f66=>0x1!=_0x580f66}};_0x1eacb2['af']||={'dictionary':{},'getPluralForm':null},_0x1eacb2['af']['dictionary']=Object['assign'](_0x1eacb2['af']['dictionary'],_0x27a261),_0x1eacb2['af']['getPluralForm']=_0x366104;})(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':_0x3494d0=>0x0==_0x3494d0?0x0:0x1==_0x3494d0?0x1:0x2==_0x3494d0?0x2:_0x3494d0%0x64>=0x3&&_0x3494d0%0x64<=0xa?0x3:_0x3494d0%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xdae112=>{const {ar:{dictionary:_0x199fdb,getPluralForm:_0x18283d}}={'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':_0x32d014=>0x0==_0x32d014?0x0:0x1==_0x32d014?0x1:0x2==_0x32d014?0x2:_0x32d014%0x64>=0x3&&_0x32d014%0x64<=0xa?0x3:_0x32d014%0x64>=0xb?0x4:0x5}};_0xdae112['ar']||={'dictionary':{},'getPluralForm':null},_0xdae112['ar']['dictionary']=Object['assign'](_0xdae112['ar']['dictionary'],_0x199fdb),_0xdae112['ar']['getPluralForm']=_0x18283d;})(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':_0x719392=>0x1!=_0x719392}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x332eed=>{const {ast:{dictionary:_0x5699a3,getPluralForm:_0x2914c8}}={'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':_0x876dcd=>0x1!=_0x876dcd}};_0x332eed['ast']||={'dictionary':{},'getPluralForm':null},_0x332eed['ast']['dictionary']=Object['assign'](_0x332eed['ast']['dictionary'],_0x5699a3),_0x332eed['ast']['getPluralForm']=_0x2914c8;})(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':_0x272a60=>0x1!=_0x272a60}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a8bff=>{const {az:{dictionary:_0x4f566b,getPluralForm:_0x52780f}}={'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':_0x4db39d=>0x1!=_0x4db39d}};_0x1a8bff['az']||={'dictionary':{},'getPluralForm':null},_0x1a8bff['az']['dictionary']=Object['assign'](_0x1a8bff['az']['dictionary'],_0x4f566b),_0x1a8bff['az']['getPluralForm']=_0x52780f;})(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':_0x4959cf=>_0x4959cf%0xa==0x1&&_0x4959cf%0x64!=0xb?0x0:_0x4959cf%0xa>=0x2&&_0x4959cf%0xa<=0x4&&(_0x4959cf%0x64<0xa||_0x4959cf%0x64>=0x14)?0x1:0x2}};
|