@ckeditor/ckeditor5-footnotes 47.2.0 → 47.3.0-alpha.1
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/LICENSE.md +3 -3
- 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 _0x49c36c,Command as _0x2dc098}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x140c4f,isWidget as _0x5b5b76,toWidgetEditable as _0x42f4eb,WidgetToolbarRepository as _0xdc63b1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3d10b0,logWarning as _0x37fb22,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x14bbcd,ClickObserver as _0x2be962}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4c5597}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1c4855,ButtonView as _0x43f6c3,View as _0x1243c8,ViewCollection as _0xb8eda8,FocusCycler as _0x2bd343,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1daaf3,BalloonPanelView as _0x520500,createDropdown as _0x1d2237}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4969aa,IconListStyleDecimal as _0x4cb109,IconListStyleDecimalLeadingZero as _0x3fd1c6,IconListStyleLowerRoman as _0x4dd4e6,IconListStyleUpperRoman as _0x56fa6d,IconListStyleLowerLatin as _0x5c033e,IconListStyleUpperLatin as _0x265453}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1f8158,_0x57a3ca){this['_model']=_0x1f8158,this['_elementName']=_0x57a3ca['elementName'],this['_getElementKey']=_0x57a3ca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b656){const _0x46a3f4=new Set(),_0x4602de=new Map();for(const _0x11f920 of _0x5b656){if('insert'===_0x11f920['type']&&'$text'!==_0x11f920['name']&&_0x11f920['position']['nodeAfter']){const _0x168091=this['_model']['createRangeOn'](_0x11f920['position']['nodeAfter']);for(const _0xe69034 of _0x168091['getItems']()){if(!_0xe69034['is']('element',this['_elementName']))continue;const _0x370a28=this['_getElementKey'](_0xe69034);_0x4602de['has'](_0x370a28)||_0x4602de['set'](_0x370a28,[]),_0x4602de['get'](_0x370a28)['push'](_0xe69034);}}if('remove'===_0x11f920['type']&&_0x11f920['name']===this['_elementName']){const _0x2907e8=this['_getElementKey']({'getAttribute':_0x4e1ea2=>_0x11f920['attributes']['get'](_0x4e1ea2)});_0x46a3f4['add'](_0x2907e8);}}for(const [_0x576894,_0xda2135]of this['_trackedElements'])'$graveyard'===_0xda2135['root']['rootName']&&_0x46a3f4['add'](_0x576894);for(const _0x342194 of _0x46a3f4)this['_trackedElements']['delete'](_0x342194);for(const [_0x30ae89,_0x349c89]of _0x4602de)this['_trackedElements']['set'](_0x30ae89,_0x349c89[_0x349c89['length']-0x1]);const _0xa751e5=new Set();for(const [_0x1367d5,_0x22d240]of _0x4602de)_0x46a3f4['has'](_0x1367d5)&&(_0xa751e5['add'](_0x22d240[0x0]),_0x22d240['length']>0x1?_0x4602de['set'](_0x1367d5,_0x22d240['slice'](0x1)):_0x4602de['delete'](_0x1367d5),_0x46a3f4['delete'](_0x1367d5));return{'removed':Array['from'](_0x46a3f4),'inserted':Array['from'](_0x4602de['values']())['flat'](),'moved':Array['from'](_0xa751e5)};}}class c extends _0x49c36c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x165914){super(_0x165914),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e044c=>_0x1e044c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x23f8c2=>_0x23f8c2['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1611aa}=this,{model:_0x527939,data:_0x37876d}=_0x1611aa;_0x527939['document']['registerPostFixer'](_0x5a47a2=>{const _0x22a184=_0x527939['document']['differ']['getChanges']();let _0xd45bc2=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_handleFootnoteReferencesChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5a47a2)&&(_0xd45bc2=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5a47a2)&&(_0xd45bc2=!0x0),this['_sortFootnoteDefinitions'](_0x5a47a2)&&(_0xd45bc2=!0x0),_0xd45bc2;}),this['listenTo'](_0x527939['document'],'change:data',()=>{_0x527939['enqueueChange']({'isUndoable':!0x1},_0x3964ea=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3964ea);});},{'priority':'low'}),this['listenTo'](_0x37876d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3b27e5){return this['_footnotes']['find'](_0x229fa4=>_0x229fa4['id']===_0x3b27e5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4d55d7){this['_footnoteFormatter']=_0x4d55d7;}['_updateFootnotesCounters'](_0x2a26ae,_0x342900=0x0){let _0x15c974=!0x1;for(let _0x384cc8=_0x342900;_0x384cc8<this['_footnotes']['length'];_0x384cc8++)this['_updateFootnoteRefCounter'](_0x2a26ae,_0x384cc8)&&(_0x15c974=!0x0);return _0x15c974;}['_insertEmptyFootnotesDefinitionsContainer'](_0x11d0cf,_0x24b3a1){const _0x5721c2=_0x11d0cf['createElement']('footnotesDefinitions',{});return _0x11d0cf['append'](_0x5721c2,_0x24b3a1),this['_footnotesDefinitions']=_0x5721c2,_0x5721c2;}['_ensureFootnotesDefinitionsContainerExists'](_0x80c54c){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x34bccd=this['_footnotes'][0x0]['reference']['root'],_0x49ce7b=this['_insertEmptyFootnotesDefinitionsContainer'](_0x80c54c,_0x34bccd);for(const _0x27dd28 of this['_footnotes'])_0x27dd28['definition']['parent']||_0x80c54c['insert'](_0x27dd28['definition'],_0x49ce7b,'end');this['_updateFootnotesCounters'](_0x80c54c);}['_handleFootnotesDefinitionsObjectChanges'](_0x13aae3,_0x4678d5){let _0x57531b=!0x1;const {inserted:_0x49e6eb,removed:_0x4dfb0a,moved:_0x50ed7d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4678d5);if(_0x50ed7d['length']&&(this['_footnotesDefinitions']=_0x50ed7d[0x0]),_0x49e6eb['length']){if(_0x49e6eb['length']>0x1||this['_footnotesDefinitions']&&_0x49e6eb['some'](_0x3fb678=>_0x3fb678!==this['_footnotesDefinitions'])){const _0x53b3e4=_0x13aae3['createElement']('footnotesDefinitions',{}),_0x1bad31=[];this['_footnotesDefinitions']&&_0x1bad31['push'](this['_footnotesDefinitions']),_0x1bad31['push'](..._0x49e6eb),_0x13aae3['insert'](_0x53b3e4,_0x1bad31[0x0],'before');for(const _0x44f2bd of _0x1bad31)_0x13aae3['move'](_0x13aae3['createRangeIn'](_0x44f2bd),_0x13aae3['createPositionAt'](_0x53b3e4,'end')),_0x13aae3['remove'](_0x44f2bd);this['_footnotesDefinitions']=_0x53b3e4,this['_updateFootnotesCounters'](_0x13aae3),_0x57531b=!0x0;}else this['_footnotesDefinitions']=_0x49e6eb[0x0];}if(_0x4dfb0a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2a34bd of this['_footnotes'])_0x13aae3['remove'](_0x2a34bd['reference']),_0x57531b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x57531b;}['_handleFootnoteDefinitionsChanges'](_0x256443,_0x42a325){let _0x231877=!0x1;const _0x2c7418=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x11254d,moved:_0x2bb893}=this['_footnoteDefsTracker']['getChanges'](_0x42a325);for(const _0x5ecf87 of[..._0x2bb893,..._0x11254d]){const _0xc0687d=_0x5ecf87['getAttribute']('footnoteId'),_0x506525=this['getFootnote'](_0xc0687d);_0x506525&&(_0x506525['definition']=_0x5ecf87),_(_0x256443,_0x2c7418,_0x5ecf87)&&(_0x231877=!0x0);}return _0x231877;}['_handleFootnoteReferencesChanges'](_0x1ebb6a,_0x54fb46){let _0x4f96a9=!0x1;const {removed:_0xe7161,inserted:_0x5f3001,moved:_0x188359}=this['_footnoteRefsTracker']['getChanges'](_0x54fb46);for(const _0x4816f6 of _0xe7161)this['_handleRemoveFootnoteReferenceById'](_0x1ebb6a,_0x4816f6)&&(_0x4f96a9=!0x0);for(const _0x1c24ea of _0x5f3001)this['_handleInsertedFootnoteReference'](_0x1ebb6a,_0x1c24ea)&&(_0x4f96a9=!0x0);for(const _0x4bec42 of _0x188359)this['_handleMovedFootnoteReference'](_0x1ebb6a,_0x4bec42)&&(_0x4f96a9=!0x0);return _0x4f96a9;}['_handleFootnotesDefinitionsObjectSync'](_0x1803f2){if(!this['_footnotesDefinitions'])return!0x1;let _0x8ba9e3=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4c21b6=[];for(const _0x3b0801 of this['_footnotesDefinitions']['getChildren']()){const _0xa7038=_0x3b0801['getAttribute']('footnoteId');this['getFootnote'](_0xa7038)||(_0x4c21b6['unshift'](_0x3b0801),_0x8ba9e3=!0x0);}for(const _0x49c23a of _0x4c21b6)_0x1803f2['remove'](_0x49c23a);}const _0x3c5286=new Set(),_0x52b8f1=[];for(const _0x3889ca of this['_footnotesDefinitions']['getChildren']()){const _0x7bd701=_0x3889ca['getAttribute']('footnoteId');_0x3c5286['has'](_0x7bd701)?(_0x52b8f1['unshift'](_0x3889ca),_0x8ba9e3=!0x0):_0x3c5286['add'](_0x7bd701);}for(const _0x3efa97 of _0x52b8f1)_0x1803f2['remove'](_0x3efa97);return this['_footnotesDefinitions']['childCount']||(_0x1803f2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x8ba9e3=!0x0),_0x8ba9e3;}['_handleInsertedFootnoteReference'](_0x3995e8,_0xf8748c){if(this['_footnotes']['find'](_0x361041=>_0x361041['reference']===_0xf8748c))return!0x1;let _0x534706=!0x1;const _0x1609d9=_0xf8748c['getAttribute']('footnoteId'),_0x5e9662=this['_footnotes']['findIndex'](_0x52cd21=>_0x52cd21['id']===_0x1609d9);-0x1!==_0x5e9662&&(_0x3995e8['remove'](this['_footnotes'][_0x5e9662]['reference']),this['_footnotes']['splice'](_0x5e9662,0x1),_0x534706=!0x0);let _0x213f1e=this['_footnotesDefinitions']?function(_0x355525,_0x3da633){for(const _0x2b810b of _0x355525['getChildren']())if(_0x2b810b['getAttribute']('footnoteId')===_0x3da633)return _0x2b810b;return null;}(this['_footnotesDefinitions'],_0x1609d9):null;_0x213f1e||(_0x213f1e=_0x3995e8['createElement']('footnoteDefinition',{'footnoteId':_0x1609d9}),this['_footnotesDefinitions']&&(_0x3995e8['insert'](_0x213f1e,this['_footnotesDefinitions'],'end'),_0x534706=!0x0));const _0x36adf5={'id':_0x1609d9,'reference':_0xf8748c,'definition':_0x213f1e},_0x29deab=I(this['editor']['model'],this['_footnotes'],_0xf8748c);this['_footnotes']['splice'](_0x29deab,0x0,_0x36adf5);let _0x27a88b=_0x29deab;return-0x1!==_0x5e9662&&(_0x27a88b=Math['min'](_0x29deab,_0x5e9662)),this['_updateFootnotesCounters'](_0x3995e8,_0x27a88b)&&(_0x534706=!0x0),_0x534706;}['_handleRemoveFootnoteReferenceById'](_0x1445b0,_0x5f0fcf){const _0x41d1ba=this['_footnotes']['findIndex'](_0x37aac3=>_0x37aac3['id']===_0x5f0fcf);if(-0x1===_0x41d1ba)return!0x1;let _0x2b6a32=!0x1;const _0x4b34e1=this['_footnotes'][_0x41d1ba];return'$graveyard'!==_0x4b34e1['definition']['root']['rootName']&&(_0x1445b0['remove'](_0x4b34e1['definition']),_0x2b6a32=!0x0),this['_footnotes']['splice'](_0x41d1ba,0x1),this['_updateFootnotesCounters'](_0x1445b0,_0x41d1ba)&&(_0x2b6a32=!0x0),_0x2b6a32;}['_handleMovedFootnoteReference'](_0x534f07,_0x85572d){const _0x1e6c7d=_0x85572d['getAttribute']('footnoteId'),_0x5f1c57=this['_footnotes']['findIndex'](_0x541f45=>_0x541f45['id']===_0x1e6c7d),_0x524293=this['_footnotes'][_0x5f1c57];let _0x32ff1b=!0x1;_0x524293['reference']=_0x85572d,this['_footnotes']['splice'](_0x5f1c57,0x1);const _0x2e5c99=I(this['editor']['model'],this['_footnotes'],_0x85572d);return this['_footnotes']['splice'](_0x2e5c99,0x0,_0x524293),this['_updateFootnotesCounters'](_0x534f07,Math['min'](_0x5f1c57,_0x2e5c99))&&(_0x32ff1b=!0x0),_0x32ff1b;}['_updateFootnoteRefCounter'](_0x3a4cc1,_0x543268){if(!this['_footnotesDefinitions'])return!0x1;const _0x37da89=this['_footnotes'][_0x543268];let _0x59ce7b;return _0x59ce7b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x37da89,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x543268+0x1}):String(_0x543268+0x1),_0x37da89['reference']['getAttribute']('footnoteCounter')!=_0x59ce7b&&(_0x3a4cc1['setAttribute']('footnoteCounter',_0x59ce7b,_0x37da89['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f9b59){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x44c0bf,_0x4dbad5){if(_0x44c0bf['length']!==_0x4dbad5['length'])return!0x1;for(let _0xc1a560=0x0;_0xc1a560<_0x44c0bf['length'];_0xc1a560++)if(_0x44c0bf[_0xc1a560]!==_0x4dbad5[_0xc1a560])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x35827c=>_0x35827c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x204a48=>_0x204a48['getAttribute']('footnoteId'))))return!0x1;let _0x2b449e=!0x1;for(let _0x369b22=0x0;_0x369b22<this['_footnotes']['length'];_0x369b22++){const _0x3adf19=this['_footnotes'][_0x369b22],_0x38fa9d=_0x2f9b59['createPositionBefore'](_0x3adf19['definition']),_0x3d39b5=_0x2f9b59['createPositionAt'](this['_footnotesDefinitions'],_0x369b22);_0x38fa9d['isEqual'](_0x3d39b5)||(_0x2f9b59['move'](_0x2f9b59['createRangeOn'](_0x3adf19['definition']),_0x3d39b5),_0x2b449e=!0x0);}return _0x2b449e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x56afd3){if(!this['_footnotes']['length'])return!0x1;const {model:_0x48022b}=this['editor'];let _0x34d043=!0x1;for(let _0x5134fb=0x0;_0x5134fb<this['_footnotes']['length']-0x1;_0x5134fb++){const _0x4b726e=this['_footnotes'][_0x5134fb],_0x521c83=this['_footnotes'][_0x5134fb+0x1],_0x50404e=_0x48022b['createPositionBefore'](_0x4b726e['reference']),_0x1b559d=_0x48022b['createPositionBefore'](_0x521c83['reference']);'after'===_0x50404e['compareWith'](_0x1b559d)&&(this['_handleMovedFootnoteReference'](_0x56afd3,_0x4b726e['reference']),_0x5134fb=-0x1,_0x34d043=!0x0);}return _0x34d043;}}function _(_0x42b9d5,_0x87b05c,_0x39f1d8){if(_0x39f1d8['childCount'])return!0x1;const _0xa78362=_0x87b05c?'paragraph':'footnoteInlineContent';return _0x42b9d5['insert'](_0x42b9d5['createElement'](_0xa78362),_0x39f1d8),!0x0;}function I(_0x300957,_0x475da3,_0x550728){if(0x0===_0x475da3['length'])return 0x0;const _0x4c7a70=_0x300957['createPositionBefore'](_0x550728);for(let _0x5f7ca1=0x0;_0x5f7ca1<_0x475da3['length'];_0x5f7ca1++){const _0x39e945=_0x475da3[_0x5f7ca1],_0x403187=_0x300957['createPositionBefore'](_0x39e945['reference']);if('before'===_0x4c7a70['compareWith'](_0x403187))return _0x5f7ca1;}const _0x51a8e4=_0x550728['root'];let _0x213d47=-0x1;for(let _0x3cab40=_0x475da3['length']-0x1;_0x3cab40>=0x0;_0x3cab40--)if(_0x475da3[_0x3cab40]['reference']['root']===_0x51a8e4){_0x213d47=_0x3cab40;break;}if(-0x1!==_0x213d47)return _0x213d47+0x1;const _0x441fe6=_0x300957['document']['getRootNames'](),_0x44bdc9=_0x441fe6['indexOf'](_0x51a8e4['rootName']),_0x3f9eb0=_0x441fe6[_0x44bdc9+0x1];if(_0x3f9eb0){for(let _0x405945=0x0;_0x405945<_0x475da3['length'];_0x405945++)if(_0x475da3[_0x405945]['reference']['root']['rootName']===_0x3f9eb0)return _0x405945;}return _0x475da3['length'];}class m extends _0x2dc098{['refresh'](){const _0x31867b=this['editor']['model']['document']['selection'],_0xba88cf=this['_getPositionToInsertFootnote'](_0x31867b);this['isEnabled']=!!_0xba88cf;}['execute'](_0x5e2424){const {editor:_0x2ae3cf}=this,{model:_0x23174c}=_0x2ae3cf,{selection:_0x1bb926}=_0x23174c['document'],_0x5811f7=this['_getPositionToInsertFootnote'](_0x1bb926);if(!_0x5811f7)return;const _0x4f4028=_0x2ae3cf['plugins']['get']('FootnotesEditing'),_0x16afcc=_0x5e2424?.['footnoteId']??_0x3d10b0();!function(_0x4a3e29){return'string'==typeof _0x4a3e29&&_0x4a3e29['length']>0x0&&!/\s/['test'](_0x4a3e29)&&!/^\d/['test'](_0x4a3e29);}(_0x16afcc)?_0x37fb22('insert-footnote-command-executed-with-invalid-id'):(_0x23174c['change'](_0x3687e5=>{const _0xcab53f=_0x3687e5['createElement']('footnoteRef',{'footnoteId':_0x16afcc});_0x23174c['insertObject'](_0xcab53f,_0x5811f7,null);}),_0x4f4028['_moveSelectionToFootnoteDefinition'](_0x16afcc));}['_getPositionToInsertFootnote'](_0x348b62){const {model:_0x6bb188}=this['editor'],{schema:_0x5dcec7}=_0x6bb188,_0x42d3a9=_0x348b62['getFirstRange']();for(const _0x3086ad of _0x42d3a9['getItems']())if(_0x5dcec7['isBlock'](_0x3086ad)||_0x5dcec7['isObject'](_0x3086ad))return null;const _0x2eeffc=_0x42d3a9['end'];return _0x5dcec7['checkChild'](_0x2eeffc,'footnoteRef')?_0x2eeffc:null;}}class r extends _0x49c36c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ce888}=this;_0x5ce888['config']['define']('footnotes.multiBlock',!0x0),_0x5ce888['commands']['add']('insertFootnote',new m(_0x5ce888)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4fce60){const _0x24a337=_0x49ee85([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]),_0x18a939=0x47a28506,_0x2f3496=0x47a5fd3e^_0x18a939,_0x17a090=window[_0x49ee85([0x44,0x61,0x74,0x65])][_0x49ee85([0x6e,0x6f,0x77])](),_0x58a99a=_0x4fce60[_0x49ee85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d3a6c=new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92a618=>{_0x58a99a[_0x49ee85([0x6f,0x6e,0x63,0x65])](_0x49ee85([0x72,0x65,0x61,0x64,0x79]),_0x92a618);}),_0x5a3f97={[_0x49ee85([0x6b,0x74,0x79])]:_0x49ee85([0x45,0x43]),[_0x49ee85([0x75,0x73,0x65])]:_0x49ee85([0x73,0x69,0x67]),[_0x49ee85([0x63,0x72,0x76])]:_0x49ee85([0x50,0x2d,0x32,0x35,0x36]),[_0x49ee85([0x78])]:_0x49ee85([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]),[_0x49ee85([0x79])]:_0x49ee85([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]),[_0x49ee85([0x61,0x6c,0x67])]:_0x49ee85([0x45,0x53,0x32,0x35,0x36])},_0x2aa75d=_0x58a99a[_0x49ee85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49ee85([0x67,0x65,0x74])](_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d80bf(){let _0x54c714,_0x17e391=null,_0x31bc2d=null;try{if(_0x2aa75d==_0x49ee85([0x47,0x50,0x4c]))return _0x49ee85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54c714=_0x32b908(),!_0x54c714)return _0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54c714[_0x49ee85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31bc2d=_0x10731b(_0x54c714[_0x49ee85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54c714[_0x49ee85([0x6a,0x74,0x69])])),await _0x4af885()?_0x42909f()?_0x576fa3()?_0x49ee85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1268b2()?(_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ee85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17e391=_0x719f31(_0x49ee85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ee85([0x74,0x72,0x69,0x61,0x6c])&&(_0x17e391=_0x719f31(_0x49ee85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x130e16()):_0x49ee85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49ee85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x576fa3(){const _0x2f331b=[_0x49ee85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49ee85([0x74,0x72,0x69,0x61,0x6c])][_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17a090/0x3e8:0xe10*_0x2f3496;return _0x54c714[_0x49ee85([0x65,0x78,0x70])]<_0x2f331b;}function _0x42909f(){const _0x4a668f=_0x54c714[_0x49ee85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a668f&&(!!_0x4a668f[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x2a]))||!!_0x4a668f[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x46,0x4f,0x4f])));}function _0x1268b2(){const _0x55a00c=_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55a00c||0x0==_0x55a00c[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x275636}=new URL(window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x55a00c[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275636))return!0x0;const _0x44f500=_0x275636[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e]));return _0x55a00c[_0x49ee85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6fc5=>_0x3b6fc5[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x2a])))[_0x49ee85([0x6d,0x61,0x70])](_0x5bbbe3=>_0x5bbbe3[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e])))[_0x49ee85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e0a5f=>_0x3e0a5f[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44f500[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49ee85([0x6d,0x61,0x70])](_0x5a3635=>Array(_0x44f500[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a3635[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49ee85([0x66,0x69,0x6c,0x6c])](_0x5a3635[0x0]===_0x49ee85([0x2a])?_0x49ee85([0x2a]):'')[_0x49ee85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a3635))[_0x49ee85([0x73,0x6f,0x6d,0x65])](_0x51cd93=>_0x44f500[_0x49ee85([0x65,0x76,0x65,0x72,0x79])]((_0x5af9c4,_0x2655c3)=>_0x51cd93[_0x2655c3]===_0x5af9c4||_0x51cd93[_0x2655c3]===_0x49ee85([0x2a])));}function _0x130e16(){return _0x17e391&&_0x31bc2d?new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52b1bb,_0x521319)=>{_0x17e391[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x52b1bb,_0x521319),_0x31bc2d[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x2cc987=>{_0x2cc987!=_0x49ee85([0x56,0x61,0x6c,0x69,0x64])&&_0x52b1bb(_0x2cc987);},_0x521319);}):_0x17e391||_0x31bc2d||_0x49ee85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10731b(_0x5002f2,_0x206ac3){return new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dfbea=>{if(_0x452bba())return _0x4dfbea(_0x49ee85([0x56,0x61,0x6c,0x69,0x64]));_0x33b919(),_0x58a99a[_0x49ee85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cf0d1=!0x1;const _0x4a49db=_0x3d10b0();function _0x522b17(_0x171d93){return!!_0x171d93&&(typeof _0x171d93===_0x49ee85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x171d93===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x171d93[_0x49ee85([0x74,0x68,0x65,0x6e])]===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x171d93[_0x49ee85([0x63,0x61,0x74,0x63,0x68])]===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12935f(_0x4c3788){_0x582b86(_0x4c3788)[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x15c3f3=>{if(!_0x15c3f3||_0x15c3f3[_0x49ee85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49ee85([0x6f,0x6b]))return _0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2168ca(_0x1cab8d(_0x4a49db+_0x206ac3))!=_0x15c3f3[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49ee85([0x56,0x61,0x6c,0x69,0x64]);})[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x3898b3=>(_0x274293(),_0x3898b3),()=>{const _0x9dfcd0=_0x5d4e65();return null==_0x9dfcd0?(_0x274293(),_0x49ee85([0x56,0x61,0x6c,0x69,0x64])):_0x49ee85(_0x17a090-_0x9dfcd0>(0x63ae0106^_0x18a939)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x4dfbea)[_0x49ee85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x222194=0x47946b86^_0x18a939;function _0x274293(){const _0x5a5fd0=_0x49ee85([0x6c,0x6c,0x63,0x74,0x2d])+_0x2168ca(_0x1cab8d(_0x5002f2)),_0x52108d=_0x5887ed(_0x2168ca(window[_0x49ee85([0x4d,0x61,0x74,0x68])][_0x49ee85([0x63,0x65,0x69,0x6c])](_0x17a090/_0x222194)));window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ee85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a5fd0,_0x52108d);}function _0x5d4e65(){const _0x329804=_0x49ee85([0x6c,0x6c,0x63,0x74,0x2d])+_0x2168ca(_0x1cab8d(_0x5002f2)),_0x599769=window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ee85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x329804);return _0x599769?window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5887ed(_0x599769),0x10)*_0x222194:null;}function _0x582b86(_0x27c844){return new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39bedf,_0x508603)=>{_0x27c844[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x39bedf,_0x508603),window[_0x49ee85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x508603,0x47a351c6^_0x18a939);});}}_0x58a99a[_0x49ee85([0x6f,0x6e])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111f54,_0xb0788e)=>{if(_0xb0788e[0x0]!=_0x5002f2)return _0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb0788e[0x1]={..._0xb0788e[0x1],[_0x49ee85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a49db};},{[_0x49ee85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ee85([0x68,0x69,0x67,0x68])}),_0x58a99a[_0x49ee85([0x6f,0x6e])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58b1b4=>{_0x522b17(_0x58b1b4[_0x49ee85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cf0d1=!0x0,_0x12935f(_0x58b1b4[_0x49ee85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49ee85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ee85([0x6c,0x6f,0x77])}),_0x2d3a6c[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>{_0x4cf0d1||_0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x452bba(){return _0x58a99a[_0x49ee85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ee85([0x76,0x69,0x65,0x77])][_0x49ee85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49ee85([0x61,0x75,0x74,0x6f]);}function _0x33b919(){_0x58a99a[_0x49ee85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ee85([0x76,0x69,0x65,0x77])][_0x49ee85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49ee85([0x61,0x75,0x74,0x6f]);}}function _0x719f31(_0x421c74){const _0x1b605d=[new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a5d72=>setTimeout(_0x1a5d72,0x47abbbca^_0x18a939)),_0x2d3a6c[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2818f8=>{let _0x1ada67=0x0;_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x6f,0x6e])](_0x49ee85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18ecea,_0x95a5ac)=>{_0x95a5ac[0x0][_0x49ee85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ada67++,_0x1ada67==(0x47a284fe^_0x18a939)&&(_0x2818f8(),_0x18ecea[_0x49ee85([0x6f,0x66,0x66])]());});}))];return window[_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49ee85([0x72,0x61,0x63,0x65])](_0x1b605d)[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>_0x421c74);}async function _0x35af1a(){await _0x2d3a6c,_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c73fd,_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c73fd,_0x58a99a[_0x49ee85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x552625(_0x54a96d){const _0x538726=_0x1c2baf();_0x58a99a[_0x538726]=_0x49ee85([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54a96d,_0x54a96d!=_0x49ee85([0x56,0x61,0x6c,0x69,0x64])&&_0x35af1a();}function _0x1c2baf(){const _0x29e0be=window[_0x49ee85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49ee85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49ee85([0x6e,0x6f,0x77])]())[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49ee85([0x2e]),'');let _0x406281=_0x49ee85([0x75]);for(let _0x1cd669=0x0;_0x1cd669<_0x29e0be[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cd669+=0x2){let _0x50844e=window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29e0be[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cd669,_0x1cd669+0x2));_0x50844e>=_0x24a337[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50844e-=_0x24a337[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x406281+=_0x24a337[_0x50844e];}return _0x406281;}function _0x32b908(){const _0x38f303=_0x2aa75d[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e]));if(0x3!=_0x38f303[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e9710(_0x38f303[0x1]);function _0x2e9710(_0x3d0599){const _0x470a70=_0xd03380(_0x3d0599);return _0x470a70&&_0x34402e()?_0x470a70:null;function _0x34402e(){const _0x46fcc7=_0x470a70[_0x49ee85([0x6a,0x74,0x69])],_0x198111=window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46fcc7[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46fcc7[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x469018={..._0x470a70,[_0x49ee85([0x6a,0x74,0x69])]:_0x46fcc7[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46fcc7[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x469018[_0x49ee85([0x76,0x63])],_0x1cab8d(_0x469018)==_0x198111;}}}async function _0x4af885(){let _0x358cf4=!0x0;try{const _0x5432cb=_0x2aa75d[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e])),[_0x419361,_0x2b5749,_0x1773ef]=_0x5432cb;return _0x91cf14(_0x419361),await _0x426dd2(_0x419361,_0x2b5749,_0x1773ef),_0x358cf4;}catch{return!0x1;}function _0x91cf14(_0x175c39){const _0x58b5c3=_0xd03380(_0x175c39);_0x58b5c3&&_0x58b5c3[_0x49ee85([0x61,0x6c,0x67])]==_0x49ee85([0x45,0x53,0x32,0x35,0x36])||(_0x358cf4=!0x1);}async function _0x426dd2(_0x5331b9,_0x4dcef9,_0x3595e0){const _0x329e25=window[_0x49ee85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49ee85([0x66,0x72,0x6f,0x6d])](_0x5505a1(_0x3595e0),_0x106ecf=>_0x106ecf[_0x49ee85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c4ff1=new window[(_0x49ee85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49ee85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5331b9+_0x49ee85([0x2e])+_0x4dcef9),_0x25cd0a=window[_0x49ee85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49ee85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25cd0a)return;const _0x41c4d4=await _0x25cd0a[_0x49ee85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49ee85([0x6a,0x77,0x6b]),_0x5a3f97,{[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x45,0x43,0x44,0x53,0x41]),[_0x49ee85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49ee85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25cd0a[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x45,0x43,0x44,0x53,0x41]),[_0x49ee85([0x68,0x61,0x73,0x68])]:{[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41c4d4,_0x329e25,_0x1c4ff1)||(_0x358cf4=!0x1);}}function _0xd03380(_0x81332c){return _0x81332c[_0x49ee85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49ee85([0x65,0x79]))?JSON[_0x49ee85([0x70,0x61,0x72,0x73,0x65])](_0x5505a1(_0x81332c)):null;}function _0x5505a1(_0x211789){return window[_0x49ee85([0x61,0x74,0x6f,0x62])](_0x211789[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49ee85([0x2b]))[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49ee85([0x2f])));}function _0x1cab8d(_0x57d169){let _0x46128e=0x1505;function _0x13161c(_0x51ff88){for(let _0x5a7a76=0x0;_0x5a7a76<_0x51ff88[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7a76++){const _0x539c92=_0x51ff88[_0x49ee85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7a76);_0x46128e=(_0x46128e<<0x5)+_0x46128e+_0x539c92,_0x46128e&=_0x46128e;}}function _0xd90e10(_0x179d20){Array[_0x49ee85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x179d20)?_0x179d20[_0x49ee85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd90e10):_0x179d20&&typeof _0x179d20==_0x49ee85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49ee85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x179d20)[_0x49ee85([0x73,0x6f,0x72,0x74])]()[_0x49ee85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x317007,_0x4236ba])=>{_0x13161c(_0x317007),_0xd90e10(_0x4236ba);}):_0x13161c(window[_0x49ee85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x179d20));}return _0xd90e10(_0x57d169),_0x46128e>>>0x0;}function _0x2168ca(_0x46d18e){return _0x46d18e[_0x49ee85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49ee85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49ee85([0x30]));}function _0x5887ed(_0x44d41b){return _0x44d41b[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49ee85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49ee85([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c73fd(){}function _0x49ee85(_0x5b039a){return _0x5b039a['map'](_0x1b3dff=>String['fromCharCode'](_0x1b3dff))['join']('');}_0x552625(await _0x2d80bf());}(this);}['_moveSelectionToFootnoteDefinition'](_0x22a431){const {plugins:_0x36bf5c,editing:_0xefc442,model:_0x22389b}=this['editor'],_0x31306a=_0x36bf5c['get'](c)['getFootnote'](_0x22a431);return!!_0x31306a&&(_0x22389b['change'](_0x50600a=>{_0x50600a['setSelection'](_0x50600a['createPositionAt'](_0x31306a['definition'],'end'));}),_0xefc442['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4971ac){const {plugins:_0x13e03a,editing:_0x1fdb15,model:_0x58b1b7}=this['editor'],_0x72993f=_0x13e03a['get'](c)['getFootnote'](_0x4971ac);return!!_0x72993f&&(_0x58b1b7['change'](_0x5e5f66=>{_0x5e5f66['setSelection'](_0x72993f['reference'],'on');}),_0x1fdb15['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x449e65}=this['editor']['model'],_0x591c9d=this['editor']['config']['get']('footnotes.multiBlock');_0x449e65['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x449e65['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x449e65['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x591c9d?_0x449e65['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x449e65['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x449e65['addChildCheck'](_0x470d05=>{for(const _0x196c21 of _0x470d05)if('footnoteDefinition'===_0x196c21['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x33c5ba}=this,{conversion:_0x24d1ae,editing:_0x851d3e}=_0x33c5ba,{t:t}=_0x33c5ba['locale'];_0x24d1ae['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x54d4c7,{writer:_0x46188f,consumable:_0x276d5d})=>{const _0x4dce4c=_0x54d4c7['getChild'](0x0);if(!_0x4dce4c||!_0x4dce4c['is']('element','a'))return null;const _0x3126cb=_0x4dce4c['getAttribute']('href')||'';if(!_0x3126cb['startsWith']('#'))return null;const _0x384ade=_0x3126cb['replace'](/^#/,'');if(!_0x384ade)return null;_0x276d5d['consume'](_0x4dce4c,{'name':!0x0,'attributes':['href']});for(const {item:_0x4d71da}of _0x851d3e['view']['createRangeIn'](_0x4dce4c))_0x4d71da['is']('$textProxy')?_0x276d5d['consume'](_0x4d71da['textNode'],{'name':!0x0}):_0x4d71da['is']('element')&&_0x276d5d['consume'](_0x4d71da,{'name':!0x0});return _0x46188f['createElement']('footnoteRef',{'footnoteId':_0x384ade});}}),_0x24d1ae['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x77738c,{writer:_0x1edb1d})=>D(_0x77738c,_0x1edb1d)}),_0x24d1ae['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xd60fb6,{writer:_0x814fb2})=>{const _0x109470=_0xd60fb6['getAttribute']('footnoteCounter');return _0x140c4f(D(_0xd60fb6,_0x814fb2),_0x814fb2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x109470)});}});}['_defineDefinitionsConverters'](){const {editor:_0x114664}=this,{t:t}=_0x114664['locale'],{conversion:_0x153ebf}=_0x114664;_0x153ebf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x153ebf['for']('upcast')['add'](_0x278aa5=>{_0x278aa5['on']('element:ol',(_0x1f08ba,_0x442942,_0x18f4ac)=>{const _0x5ceec8=_0x442942['viewItem'];if(!_0x5ceec8['hasClass']('footnotes-list')||!_0x442942['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x18f4ac['consumable']['consume'](_0x5ceec8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x54bf2f,modelCursor:_0x2866a8}=_0x18f4ac['convertChildren'](_0x442942['viewItem'],_0x442942['modelCursor']);_0x442942['modelRange']=_0x54bf2f,_0x442942['modelCursor']=_0x2866a8;}),_0x278aa5['on']('element:hr',(_0x3c71f8,_0x1b10ad,_0x3cfef0)=>{const _0x4e0ccd=_0x1b10ad['viewItem'];_0x4e0ccd['hasClass']('footnotes-divider')&&_0x1b10ad['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3cfef0['consumable']['consume'](_0x4e0ccd,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x153ebf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x464444,{writer:_0x102227})=>v(_0x102227)}),_0x153ebf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5db34b,{writer:_0x10b283})=>{const _0x4a7adc=v(_0x10b283,{'data-footnotes-list-label':t('Footnotes')}),_0xc1aac4=_0x140c4f(_0x4a7adc,_0x10b283,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x10b283['setCustomProperty']('footnotesDefinitions',!0x0,_0xc1aac4),_0xc1aac4;}});}['_defineDefinitionConverters'](){const {editor:_0x4f962a}=this,{conversion:_0x266ff9,locale:_0x228962}=_0x4f962a,_0x1f8b6a=_0x4f962a['config']['get']('footnotes.multiBlock');_0x266ff9['for']('upcast')['add'](_0x202415=>{_0x202415['on']('element:li',(_0x131bf2,_0x3fafc8,_0x976fa9)=>{const _0x4aae84=_0x3fafc8['viewItem'];if(!_0x4aae84['hasClass']('footnote-definition')||!_0x4aae84['getAttribute']('id'))return;const _0x130479=_0x4aae84['parent'];if(!_0x130479['is']('element','ol')||!_0x130479['hasClass']('footnotes-list'))return;if(!_0x976fa9['consumable']['test'](_0x4aae84,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x46a68d=_0x976fa9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4aae84['getAttribute']('id')});if(!_0x976fa9['safeInsert'](_0x46a68d,_0x3fafc8['modelCursor']))return;_0x976fa9['consumable']['consume'](_0x4aae84,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x578da7=Array['from'](_0x4aae84['getChildren']())['find'](_0x2743d6=>_0x2743d6['is']('element')&&_0x2743d6['hasClass']('footnote-content'));for(const _0x5ad054 of _0x4aae84['getChildren']())_0x5ad054['is']('element')&&(_0x976fa9['consumable']['consume'](_0x5ad054,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x976fa9['consumable']['consume'](_0x5ad054,{'name':!0x0,'classes':'footnote-content'}));if(_0x578da7){if(_0x1f8b6a)_0x976fa9['convertChildren'](_0x578da7,_0x46a68d);else{const _0x5c9680=_0x976fa9['writer']['createElement']('footnoteInlineContent');_0x976fa9['writer']['insert'](_0x5c9680,_0x46a68d),_0x976fa9['convertChildren'](_0x578da7,_0x5c9680);}}_0x976fa9['updateConversionResult'](_0x46a68d,_0x3fafc8);});}),_0x266ff9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16f68b,{writer:_0x5451c9})=>b(_0x16f68b,_0x5451c9,_0x228962,{'dataPipeline':!0x0})}),_0x266ff9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c0ae5,{writer:_0x2aa306})=>b(_0x1c0ae5,_0x2aa306,_0x228962)});}['_defineBogusParagraphConverters'](){const {editor:_0x840c1f}=this,{conversion:_0x12086d}=_0x840c1f;_0x840c1f['config']['get']('footnotes.multiBlock')?(_0x12086d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x12086d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x840c1f['model']['document'],'change:data',()=>{!function(_0x25ba90,_0x43dc7d){const _0x1dbbc1=_0x25ba90['document']['differ'],_0x27d11a=new Set();for(const _0x3b4804 of _0x1dbbc1['getChanges']()){const _0x5a215a='attribute'==_0x3b4804['type']?_0x3b4804['range']['start']['parent']:_0x3b4804['position']['parent'];_0x5a215a['is']('element','footnoteDefinition')&&_0x27d11a['add'](_0x5a215a);}for(const _0xe33b97 of _0x27d11a['values']()){const _0x56b9d9=Array['from'](_0xe33b97['getChildren']())['filter'](_0x54b6fe=>g(_0x54b6fe,_0x43dc7d['mapper']));for(const _0x35c674 of _0x56b9d9)_0x43dc7d['reconvertItem'](_0x35c674);}}(_0x840c1f['model'],_0x840c1f['editing']);})):(_0x12086d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x12086d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1cddcf,{writer:_0x5ea8b1})=>{const _0x399fa2=_0x5ea8b1['createContainerElement']('span');return _0x5ea8b1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x399fa2),_0x399fa2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3b270d}=this,{editing:_0x2967ee,t:t}=_0x3b270d,_0x122ce8=_0x3b270d['model']['document']['selection'];_0x3b270d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3b270d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2967ee['view']['document'],'enter',(_0x11ea62,_0x3f0207)=>{const _0x19aff4=function(_0x11ad4f){const _0x4d201e=_0x11ad4f['getSelectedElement']();if(_0x4d201e?.['is']('element','footnoteRef'))return _0x4d201e;return null;}(_0x122ce8);if(_0x19aff4){const _0xeb4657=_0x19aff4['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xeb4657),_0x3f0207['preventDefault'](),_0x11ea62['stop']();}},{'context':_0x5b5b76});}['_defineClickHandlers'](){const {editor:_0x1820b5}=this,{editing:_0x57109d}=_0x1820b5;_0x1820b5['editing']['view']['addObserver'](_0x14bbcd),_0x1820b5['editing']['view']['addObserver'](_0x2be962);let _0x3a90d0=!0x1;this['listenTo'](_0x57109d['view']['document'],'pointerdown',(_0x273742,_0xc72e25)=>{const {target:_0x12ebb7}=_0xc72e25,_0x292b43=_0x57109d['view']['document']['selection'];_0x3a90d0=!!(_0x12ebb7?.['is']('element','a')&&_0x12ebb7['parent']?.['is']('element','sup')&&_0x12ebb7['parent']['hasClass']('footnote'))&&_0x292b43['getSelectedElement']()===_0x12ebb7['parent'];},{'priority':'high'}),this['listenTo'](_0x57109d['view']['document'],'click',(_0x5b46f9,_0x311c5b)=>{const {target:_0x5ad347}=_0x311c5b;if(!_0x5ad347?.['is']('element','a'))return;if(_0x5ad347['parent']?.['is']('element','sup')&&_0x5ad347['parent']['hasClass']('footnote')&&!_0x3a90d0)return void _0x311c5b['preventDefault']();let _0x139c5c=_0x5ad347['getAttribute']('href');if(!_0x139c5c?.['startsWith']('#'))return;_0x139c5c=_0x139c5c['slice'](0x1);let _0x3b7c04=!0x1;(_0x139c5c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x139c5c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x139c5c))&&(_0x3b7c04=!0x0),_0x3b7c04&&(_0x311c5b['preventDefault'](),_0x5b46f9['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x492272}={}){return(_0x210d88,{writer:_0x7d52b5})=>{if(!p(_0x210d88))return null;if(!_0x492272)return _0x7d52b5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4f7e11=_0x7d52b5['createContainerElement']('p');return _0x7d52b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4f7e11),_0x4f7e11;};}function p(_0x47aa2b){const {parent:_0x1ae13a}=_0x47aa2b;if(!_0x1ae13a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1ae13a['childCount'])return!0x1;for(const _0x1d14e4 of _0x47aa2b['getAttributeKeys']())if(!_0x1d14e4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1d14e4)return!0x1;return!0x0;}function g(_0x4d2fa1,_0x2a7c39){if(!_0x4d2fa1['is']('element','paragraph'))return!0x1;const _0x498018=_0x2a7c39['toViewElement'](_0x4d2fa1);return!!_0x498018&&p(_0x4d2fa1)!==_0x498018['is']('element','span');}function J(_0x5c35aa){return _0x5b5b76(_0x5c35aa)&&_0x5c35aa['is']('containerElement')&&!!_0x5c35aa['getCustomProperty']('footnotesDefinitions');}function v(_0xa0395d,_0x3f00bf={}){const _0x27528a=_0xa0395d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x9dcc57=_0xa0395d['createContainerElement']('ol',{'class':'footnotes-list'},_0xa0395d['createSlot']());return _0xa0395d['createContainerElement']('div',{'class':'footnotes',..._0x3f00bf},[_0x27528a,_0x9dcc57]);}function D(_0x1c8182,_0x14c5b2){const _0x489e42=_0x1c8182['getAttribute']('footnoteId'),_0x1cc8f0=_0x1c8182['getAttribute']('footnoteCounter'),_0x453341=_0x14c5b2['createUIElement']('a',{'href':'#'+_0x489e42},function(_0x21c220){const _0x16e5cc=this['toDomElement'](_0x21c220);return _0x16e5cc['textContent']=_0x1cc8f0,_0x16e5cc;}),_0x54d26b=_0x14c5b2['createContainerElement']('sup',{'id':'ref-'+_0x489e42,'class':'footnote'},[_0x453341]);return _0x54d26b['getFillerOffset']=()=>null,_0x54d26b;}function b(_0x224b33,_0x110307,_0xb7c16b,{dataPipeline:_0x393db5}={}){const {t:t}=_0xb7c16b,_0x2cace8=_0x224b33['getAttribute']('footnoteId'),_0x445eca=_0x110307['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cace8},function(_0x1c8e0c){const _0x3a385d=this['toDomElement'](_0x1c8e0c);return _0x3a385d['innerText']='^',_0x3a385d;}),_0x53379f=_0x393db5?_0x110307['createContainerElement']('div',{'class':'footnote-content'}):_0x42f4eb(_0x110307['createEditableElement']('div',{'class':'footnote-content'}),_0x110307,{'label':t('Footnote\x20content.')});return _0x110307['insert'](_0x110307['createPositionAt'](_0x53379f,0x0),_0x110307['createSlot']()),_0x110307['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cace8},[_0x445eca,_0x53379f]);}class e extends _0x49c36c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4c5597];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x11bdc2}=this,{plugins:_0x277405,model:_0x518384}=_0x11bdc2,_0x3fa6fc=_0x277405['get'](_0x4c5597),_0x2b2746=_0x277405['get'](c);this['listenTo'](_0x3fa6fc,'outputTransformation',(_0x187b2f,_0x3f47fc)=>{const _0x10b25d=f(_0x518384['createRangeIn'](_0x3f47fc['content']));if(!_0x10b25d['length'])return;const _0x5bf47f=_0x2b2746['getFootnotes'](),_0x3f044a=_0x10b25d['reduce']((_0xaa6c51,_0x1d4a3b)=>{const _0x5e0085=_0x5bf47f['find'](_0x451810=>_0x451810['id']===_0x1d4a3b);if(_0x5e0085){const _0x372f87=_0x11bdc2['data']['toView'](_0x5e0085['definition'],{'isClipboardPipeline':!0x0}),_0x5729db=_0x11bdc2['data']['htmlProcessor']['toData'](_0x372f87);_0xaa6c51[_0x5e0085['id']]=_0x5729db;}return _0xaa6c51;},Object['create'](null));_0x3f47fc['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3f044a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x159f8b}=this,{model:_0x44484b,plugins:_0x457705}=_0x159f8b,{view:_0x380ccb}=_0x159f8b['editing'],_0x51409d=_0x457705['get'](_0x4c5597),_0x472974=_0x457705['get'](c);let _0x494be0=null;this['listenTo'](_0x380ccb['document'],'clipboardInput',(_0x422739,_0x277795)=>{const _0x568d9e=_0x277795['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x494be0=_0x568d9e?JSON['parse'](_0x568d9e):null;}),this['listenTo'](_0x51409d,'contentInsertion',(_0x230ce5,_0x1f5a58)=>{const _0x45e585=_0x1f5a58['sourceEditorId']===this['editor']['id'];_0x45e585&&'drop'===_0x1f5a58['method']||_0x44484b['change'](_0x4cc286=>{let _0x1dfe97=_0x472974['getFootnotesDefinitionsObjectElement']();const _0x56f510=!!_0x1dfe97&&Array['from'](_0x44484b['document']['selection']['getSelectedBlocks']())['includes'](_0x1dfe97);if(_0x1dfe97&&!_0x56f510&&function(_0x220f34,_0x56bb9f){const _0x4731dc=[];for(const {item:_0x45d46e}of _0x220f34['createRangeIn'](_0x56bb9f))_0x45d46e['is']('element','footnotesDefinitions')&&_0x4731dc['push'](_0x45d46e);for(const _0x480436 of _0x4731dc)_0x220f34['remove'](_0x480436);}(_0x4cc286,_0x1f5a58['content']),!_0x494be0)return;const {selection:_0x418ddf}=_0x44484b['document'],_0x2da2ad=_0x418ddf['getFirstRange']()['root'];_0x1dfe97&&!_0x56f510||(_0x1dfe97=function(_0x3a99c6,_0x1c0140){for(const {item:_0x4fdf51}of _0x3a99c6['createRangeIn'](_0x1c0140))if(_0x4fdf51['is']('element','footnotesDefinitions'))return _0x4fdf51;return null;}(_0x4cc286,_0x1f5a58['content']),_0x1dfe97||=_0x472974['_insertEmptyFootnotesDefinitionsContainer'](_0x4cc286,_0x2da2ad));const _0x31016a=Array['from'](_0x418ddf['getRanges']())['flatMap'](f),_0xbff1db=function(_0x2e2e2b,_0x38749d,_0xcff88f){const _0x2eb6fc=Object['create'](null);for(const {item:_0x3985af}of _0x2e2e2b['createRangeIn'](_0x38749d))if(_0x3985af['is']('element','footnoteRef')){const _0x1c6d36=_0x3985af['getAttribute']('footnoteId');if(!_0xcff88f(_0x1c6d36))continue;_0x2eb6fc[_0x1c6d36]||(_0x2eb6fc[_0x1c6d36]=_0x3d10b0()),_0x2e2e2b['setAttribute']('footnoteId',_0x2eb6fc[_0x1c6d36],_0x3985af);}return _0x2eb6fc;}(_0x4cc286,_0x1f5a58['content'],_0x339bbd=>{if(!_0x45e585)return!0x0;return!!_0x472974['getFootnote'](_0x339bbd)&&!_0x31016a['includes'](_0x339bbd);});for(const [_0x282629,_0x10291a]of Object['entries'](_0x494be0)){const _0x4eb4bd=_0xbff1db[_0x282629]||_0x282629,_0x611008=_0x4cc286['createElement']('footnoteDefinition',{'footnoteId':_0x4eb4bd}),_0x322c55=_0x159f8b['data']['htmlProcessor']['toView'](_0x10291a),_0x1c52eb=_0x159f8b['data']['toModel'](_0x322c55,_0x611008);_0x4cc286['append'](_0x1c52eb,_0x611008),_0x4cc286['insert'](_0x611008,_0x1dfe97,'end');}_0x494be0=null;});});}}function f(_0x5a4aa4){const _0x5656c0=new Set();for(const {item:_0x1fd079}of _0x5a4aa4)_0x1fd079['is']('element','footnoteRef')&&_0x5656c0['add'](_0x1fd079['getAttribute']('footnoteId'));return Array['from'](_0x5656c0);}class i extends _0x49c36c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58d2f0}=this,{componentFactory:_0x519e57}=_0x58d2f0['ui'];_0x519e57['add']('insertFootnote',x(_0x58d2f0,_0x43f6c3)),_0x519e57['add']('menuBar:insertFootnote',x(_0x58d2f0,_0x1c4855)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22bd37=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c77af;for(const _0x33e97d in _0x22bd37){const _0x174239=_0x33e97d,_0x4d0efa=_0x22bd37[_0x174239];if('footnotesLicenseKeyValid'==_0x4d0efa||'footnotesLicenseKeyInvalid'==_0x4d0efa||'footnotesLicenseKeyExpired'==_0x4d0efa||'footnotesLicenseKeyDomainLimit'==_0x4d0efa||'footnotesLicenseKeyNotAllowed'==_0x4d0efa||'footnotesLicenseKeyEvaluationLimit'==_0x4d0efa||'footnotesLicenseKeyTrialLimit'==_0x4d0efa||'footnotesLicenseKeyUsageLimit'==_0x4d0efa){delete _0x22bd37[_0x174239],_0x3c77af=_0x4d0efa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c77af&&_0x22bd37['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c77af&&_0x22bd37['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c77af&&_0x22bd37['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5f44d0,_0x190635){const _0xa7b9ef=_0x5f44d0['commands']['get']('insertFootnote');return _0x5c080a=>{const {t:t}=_0x5c080a,_0x430344=new _0x190635(_0x5c080a),_0x517e3d=_0x430344 instanceof _0x1c4855;return _0x430344['bind']('isEnabled')['to'](_0xa7b9ef,'isEnabled'),_0x430344['set']({'label':t(_0x517e3d?'Footnote':'Insert\x20footnote'),'icon':_0x4969aa,'tooltip':!0x0}),_0x430344['on']('execute',()=>{_0xa7b9ef['execute'](),_0x5f44d0['editing']['view']['focus']();}),_0x430344;};}class lt extends _0x49c36c{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 _0x2dc098{['refresh'](){const {editor:_0x6a2809}=this,_0x31411d=_0x6a2809['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x31411d,this['value']=_0x31411d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xd64772}){const {editor:_0x3a2441}=this,_0x5523a8=_0x3a2441['plugins']['get'](c),_0x4db777=_0x5523a8['getFootnotesDefinitionsObjectElement']();_0x4db777&&Q['includes'](_0xd64772)&&_0x3a2441['model']['change'](_0x4f7bc3=>{_0x4f7bc3['setAttribute']('footnotesListStyle',_0xd64772,_0x4db777),_0x5523a8['_updateFootnotesCounters'](_0x4f7bc3);});}}class C extends _0x2dc098{['refresh'](){const {editor:_0x1f3678}=this,_0x19a522=_0x1f3678['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x19a522,this['value']=_0x19a522?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3ab8b3}){const {editor:_0x5a285e}=this,_0x3f2d55=_0x5a285e['plugins']['get'](c),_0x56b2e9=_0x3f2d55['getFootnotesDefinitionsObjectElement']();_0x56b2e9&&Number['isInteger'](_0x3ab8b3)&&_0x5a285e['model']['change'](_0x4a68db=>{_0x4a68db['setAttribute']('footnotesListStart',_0x3ab8b3,_0x56b2e9),_0x3f2d55['_updateFootnotesCounters'](_0x4a68db);});}}class P extends _0x49c36c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xafa0}=this;_0xafa0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xafa0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xafa0['commands']['add']('footnotesStyle',new S(_0xafa0)),_0xafa0['commands']['add']('footnotesStart',new C(_0xafa0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3f146c}=this,{schema:_0x26fdab}=_0x3f146c['model'];_0x26fdab['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x26cfac}=this,{conversion:_0x4e4e27,model:_0x518e4e}=_0x26cfac,{schema:_0x393765}=_0x518e4e;_0x4e4e27['for']('upcast')['add'](_0x1b82f1=>{_0x1b82f1['on']('element:ol',(_0x52ee95,_0x1c1b33,_0x4e5b20)=>{const _0x4f4481=_0x1c1b33['viewItem'],_0x172efc=_0x1c1b33['modelCursor']?.['parent'];_0x4f4481['hasClass']('footnotes-list')&&_0x172efc?.['is']('element','footnotesDefinitions')&&(function(_0x1acea9,_0x4dbdf4,_0x559e8a,_0x352527){if(!_0x352527['checkAttribute'](_0x4dbdf4,'footnotesListStart'))return;let _0x5a30e3=0x1;const _0xf5d115=_0x559e8a['consumable']['consume'](_0x1acea9,{'attributes':'start'});if(_0xf5d115){const _0x2f9bfe=Number['parseInt'](_0x1acea9['getAttribute']('start'),0xa);Number['isNaN'](_0x2f9bfe)||(_0x5a30e3=_0x2f9bfe);}!_0xf5d115&&_0x4dbdf4['hasAttribute']('footnotesListStart')||_0x559e8a['writer']['setAttribute']('footnotesListStart',_0x5a30e3,_0x4dbdf4);}(_0x4f4481,_0x172efc,_0x4e5b20,_0x393765),function(_0x5e241e,_0x56f315,_0x4fae7a,_0x4461df){if(!_0x4461df['checkAttribute'](_0x56f315,'footnotesListStyle'))return;let _0x589167='decimal',_0x5b60cd=!0x1;if(_0x4fae7a['consumable']['consume'](_0x5e241e,{'attributes':'type'})){const _0x47c3d0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e241e['getAttribute']('type')];_0x47c3d0&&(_0x589167=_0x47c3d0),_0x5b60cd=!0x0;}_0x4fae7a['consumable']['consume'](_0x5e241e,{'styles':'list-style-type'})&&(_0x589167=_0x5e241e['getStyle']('list-style-type'),_0x5b60cd=!0x0),!_0x5b60cd&&_0x56f315['hasAttribute']('footnotesListStyle')||_0x4fae7a['writer']['setAttribute']('footnotesListStyle',_0x589167,_0x56f315);}(_0x4f4481,_0x172efc,_0x4e5b20,_0x393765));});}),_0x4e4e27['for']('downcast')['add'](_0x542470=>{_0x542470['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x8e2830,_0x1a3328,_0x4f4919)=>{if(!_0x4f4919['consumable']['consume'](_0x1a3328['item'],_0x8e2830['name']))return;const _0x5485fb=M(_0x1a3328['item'],_0x4f4919['mapper']),{attributeNewValue:_0xd5ee29}=_0x1a3328;null==_0xd5ee29||0x1===_0xd5ee29?_0x4f4919['writer']['removeAttribute']('start',_0x5485fb):_0x4f4919['writer']['setAttribute']('start',String(_0xd5ee29),_0x5485fb);}),_0x542470['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x452faf,_0x31955a,_0x27da93)=>{if(!_0x27da93['consumable']['consume'](_0x31955a['item'],_0x452faf['name']))return;const _0x30bd9f=M(_0x31955a['item'],_0x27da93['mapper']),{attributeNewValue:_0x266649}=_0x31955a;_0x266649&&'decimal'!==_0x266649?_0x27da93['writer']['setStyle']('list-style-type',_0x266649,_0x30bd9f):_0x27da93['writer']['removeStyle']('list-style-type',_0x30bd9f);});});}['_definePostfixer'](){const {editor:_0x227ae5}=this,{model:_0x4cf1cf}=_0x227ae5,_0x20244d=_0x227ae5['plugins']['get'](c),_0x4bf554=this['_getDefaultListStyle'](),_0x2bb405=this['_getDefaultStartIndex']();_0x4cf1cf['document']['registerPostFixer'](_0xffc542=>{const _0x52695d=_0x4cf1cf['document']['differ']['getChanges']();let _0x59e711=!0x1;for(const _0x46db1f of _0x52695d){if('insert'!==_0x46db1f['type']||'$text'===_0x46db1f['name'])continue;const _0x3e3ab7=_0x4cf1cf['createRangeOn'](_0x46db1f['position']['nodeAfter']);for(const _0x3efea0 of _0x3e3ab7['getItems']())_0x3efea0['is']('element','footnotesDefinitions')&&(!_0x3efea0['hasAttribute']('footnotesListStart')&&_0x4cf1cf['schema']['checkAttribute'](_0x3efea0,'footnotesListStart')&&(_0xffc542['setAttribute']('footnotesListStart',_0x2bb405,_0x3efea0),_0x59e711=!0x0),!_0x3efea0['hasAttribute']('footnotesListStyle')&&_0x4cf1cf['schema']['checkAttribute'](_0x3efea0,'footnotesListStyle')&&(_0xffc542['setAttribute']('footnotesListStyle',_0x4bf554,_0x3efea0),_0x59e711=!0x0));}return _0x59e711&&_0x20244d['_updateFootnotesCounters'](_0xffc542),_0x59e711;});}['_defineFormatter'](){const {editor:_0x19cef8}=this;_0x19cef8['plugins']['get'](c)['setFootnoteFormatter'](_0xa1cb3c=>this['_formatFootnoteListValue'](_0xa1cb3c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4b07bf,value:_0x2d3b95,digits:_0x407ad2}){const _0x81cd45=_0x4b07bf['getAttribute']('footnotesListStyle'),_0x1b66df=_0x4b07bf['getAttribute']('footnotesListStart'),_0x5db5ba=Math['floor'](_0x2d3b95)+(_0x1b66df??0x1)-0x1;switch(_0x81cd45){case'decimal-leading-zero':return function(_0x3219bc,_0x31ffee){return String(_0x3219bc)['padStart'](_0x31ffee,'0');}(_0x5db5ba,Math['max'](0x2,_0x407ad2));case'lower-alpha':case'lower-latin':return N(_0x5db5ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5db5ba,!0x0);case'lower-roman':return X(_0x5db5ba,!0x1);case'upper-roman':return X(_0x5db5ba,!0x0);default:return String(_0x5db5ba);}}}function M(_0x2f2212,_0x2690f7){const _0x2340fd=_0x2690f7['toViewElement'](_0x2f2212);return Array['from'](_0x2340fd['getChildren']())['find'](_0xeae65f=>_0xeae65f['is']('element','ol')&&_0xeae65f['hasClass']('footnotes-list'));}function N(_0x10b180,_0xe2bcda){let _0x17c287='',_0xc7ec4b=_0x10b180;for(;_0xc7ec4b>0x0;){const _0x6ce05e=(_0xc7ec4b-0x1)%0x1a;_0x17c287=String['fromCharCode'](0x61+_0x6ce05e)+_0x17c287,_0xc7ec4b=Math['floor']((_0xc7ec4b-0x1)/0x1a);}return _0xe2bcda?_0x17c287['toUpperCase']():_0x17c287;}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(_0x223254,_0x49654e){let _0x4d908c='',_0x52f3ae=_0x223254;for(const {value:_0x3d2e8f,numeral:_0x1d23b9}of V)for(;_0x52f3ae>=_0x3d2e8f;)_0x4d908c+=_0x1d23b9,_0x52f3ae-=_0x3d2e8f;return _0x49654e?_0x4d908c:_0x4d908c['toLowerCase']();}class H extends _0x1243c8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0xb8eda8();['focusCycler'];constructor(_0xaf5aa5,{styleButtonViews:_0x36be81,styleGridAriaLabel:_0x2e0d31}){super(_0xaf5aa5),(this['focusCycler']=new _0x2bd343({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x36be81,_0x2e0d31),[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 _0x3e5e50 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3e5e50['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 _0x47ed08=_0x2ea65b=>_0x2ea65b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47ed08),this['keystrokes']['set']('arrowleft',_0x47ed08),this['keystrokes']['set']('arrowup',_0x47ed08),this['keystrokes']['set']('arrowdown',_0x47ed08);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x36c4fe,_0x3ffa65){const _0x254093=new _0x1243c8(this['locale']);return _0x254093['children']=_0x254093['createCollection'](),_0x254093['children']['addMany'](_0x36c4fe),_0x254093['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ffa65,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x254093['children']}),_0x254093['children']['delegate']('execute')['to'](this),_0x254093['focus']=function(){for(const _0x23a2d3 of this['children'])if(_0x23a2d3 instanceof _0x43f6c3&&_0x23a2d3['isOn'])return void _0x23a2d3['focus']();this['children']['first']['focus']();},_0x254093['focusTracker']=new ot(),_0x254093['keystrokes']=new rt(),_0x254093['render'](),_0x254093['keystrokes']['listenTo'](_0x254093['element']),this['children']['add'](_0x254093),_0x254093;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3c33d4=this['_createStartIndexPropertyView'](),_0x2ba44b=[_0x3c33d4],_0xc691dc=new st(this['locale'],_0x2ba44b);return _0xc691dc['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xc691dc['buttonView']['bind']('isEnabled')['toMany'](_0x2ba44b,'isEnabled',(..._0x43d259)=>_0x43d259['some'](_0x2d7768=>_0x2d7768)),_0xc691dc['buttonView']['on']('change:isEnabled',(_0x4eaf44,_0xff0fec,_0x1e7871)=>{_0x1e7871||(_0xc691dc['isCollapsed']=!0x0);}),this['children']['add'](_0xc691dc),[_0x3c33d4,_0xc691dc];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4e7826=new it(this['locale'],et);return _0x4e7826['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4e7826['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e7826['fieldView']['on']('input',()=>{const _0x36172e=_0x4e7826['fieldView']['element'],_0x55de70=_0x36172e['valueAsNumber'];Number['isNaN'](_0x55de70)?_0x4e7826['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x36172e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x55de70}):_0x4e7826['errorText']=t(_0x55de70<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4e7826;}}class j extends _0x49c36c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1daaf3,_0xdc63b1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eb26e}=this,{componentFactory:_0x336b74}=_0x5eb26e['ui'];_0x5eb26e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x336b74['add']('footnotesStyle',function(_0x3372a2){return _0x79c9b2=>{const {t:t}=_0x79c9b2,_0x384f38=_0x3372a2['commands']['get']('footnotesStyle'),_0x17be52=_0x1d2237(_0x79c9b2),{buttonView:_0x5840a3}=_0x17be52;return _0x17be52['class']='ck-footnotes-styles-dropdown',_0x17be52['bind']('isEnabled')['to'](_0x384f38,'isEnabled'),_0x5840a3['set']({'label':t('Footnotes\x20style'),'icon':_0x4969aa,'tooltip':!0x0}),_0x17be52['once']('change:isOpen',()=>{const _0x3d38eb=function({editor:_0x2ce496,dropdownView:_0x3fdb4d}){const {t:t}=_0x2ce496['locale'],_0x126fb8=t('Footnotes\x20definitions\x20styles'),_0x3b3a6d=function(_0x3f0701){const t=_0x3f0701['locale']['t'],_0x264e87=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4cb109},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3fd1c6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4dd4e6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x56fa6d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5c033e},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x265453}];return _0x264e87['map'](function(_0x2743c6){const _0x1623b1=_0x2743c6['locale'];return({label:_0x3ab0e4,icon:_0x13cd07,tooltip:_0x45b592,style:_0x58b37b})=>{const _0x3e8a48=_0x2743c6['commands']['get']('footnotesStyle'),_0x55d715=new _0x43f6c3(_0x1623b1);return _0x55d715['set']({'label':_0x3ab0e4,'icon':_0x13cd07,'tooltip':_0x45b592}),_0x55d715['bind']('isOn')['to'](_0x3e8a48,'value',_0x6f7031=>_0x6f7031===_0x58b37b),_0x55d715['bind']('isEnabled')['to'](_0x3e8a48,'isEnabled'),_0x55d715['on']('execute',()=>{_0x2743c6['execute']('footnotesStyle',{'value':_0x58b37b}),_0x2743c6['editing']['view']['focus']();}),_0x55d715;};}(_0x3f0701));}(_0x2ce496),_0x44a157=new H(_0x2ce496['locale'],{'styleGridAriaLabel':_0x126fb8,'styleButtonViews':_0x3b3a6d});return _0x44a157['delegate']('execute')['to'](_0x3fdb4d),_0x44a157['on']('footnotesListStart',(_0x53f610,_0x19c638)=>{_0x2ce496['execute']('footnotesStart',{'value':_0x19c638['startIndex']});}),_0x44a157;}({'editor':_0x3372a2,'dropdownView':_0x17be52});_0x17be52['panelView']['children']['add'](_0x3d38eb);}),_0x17be52;};}(_0x5eb26e));}['afterInit'](){const {editor:_0x2d883a}=this,{t:t}=_0x2d883a['locale'],_0x2bba37=_0x2d883a['plugins']['get'](_0xdc63b1),{defaultPositions:_0x1b5bbe}=_0x520500;_0x2bba37['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2d883a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x32a54e=>{let _0x10b1cd=_0x32a54e['getFirstPosition']()?.['parent'];return _0x10b1cd?.['is']('$text')&&(_0x10b1cd=_0x10b1cd['parent']),_0x10b1cd?.['is']('element')?_0x10b1cd['findAncestor'](J):null;},'positions':[_0x1b5bbe['southArrowNorth'],_0x1b5bbe['southArrowNorthMiddleWest'],_0x1b5bbe['southArrowNorthMiddleEast'],_0x1b5bbe['southArrowNorthWest'],_0x1b5bbe['southArrowNorthEast'],_0x1b5bbe['northArrowSouth'],_0x1b5bbe['northArrowSouthMiddleWest'],_0x1b5bbe['northArrowSouthMiddleEast'],_0x1b5bbe['northArrowSouthWest'],_0x1b5bbe['northArrowSouthEast'],_0x1b5bbe['viewportStickyNorth']]});}}class ft extends _0x49c36c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x5179dc,Command as _0x488561}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x55af71,isWidget as _0x520832,toWidgetEditable as _0x4205cf,WidgetToolbarRepository as _0x2921ea}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3ec407,logWarning as _0x1979db,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x429d2a,ClickObserver as _0x5c0671}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2445b2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2b92f5,ButtonView as _0x5a5826,View as _0x598a65,ViewCollection as _0x59730d,FocusCycler as _0x33f2d0,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x5ca3d1,BalloonPanelView as _0x3cf828,createDropdown as _0x4d2ba8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2f9429,IconListStyleDecimal as _0x472a58,IconListStyleDecimalLeadingZero as _0x261097,IconListStyleLowerRoman as _0x551457,IconListStyleUpperRoman as _0xfbb47c,IconListStyleLowerLatin as _0x406cc6,IconListStyleUpperLatin as _0x7a4d33}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x463515,_0x4de8f8){this['_model']=_0x463515,this['_elementName']=_0x4de8f8['elementName'],this['_getElementKey']=_0x4de8f8['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x17f335){const _0x5e67c4=new Set(),_0x2f6c72=new Map();for(const _0x3898b0 of _0x17f335){if('insert'===_0x3898b0['type']&&'$text'!==_0x3898b0['name']&&_0x3898b0['position']['nodeAfter']){const _0x50686f=this['_model']['createRangeOn'](_0x3898b0['position']['nodeAfter']);for(const _0x1805e6 of _0x50686f['getItems']()){if(!_0x1805e6['is']('element',this['_elementName']))continue;const _0x33cfc7=this['_getElementKey'](_0x1805e6);_0x2f6c72['has'](_0x33cfc7)||_0x2f6c72['set'](_0x33cfc7,[]),_0x2f6c72['get'](_0x33cfc7)['push'](_0x1805e6);}}if('remove'===_0x3898b0['type']&&_0x3898b0['name']===this['_elementName']){const _0x307a22=this['_getElementKey']({'getAttribute':_0x29eb40=>_0x3898b0['attributes']['get'](_0x29eb40)});_0x5e67c4['add'](_0x307a22);}}for(const [_0x2ba972,_0x618dc9]of this['_trackedElements'])'$graveyard'===_0x618dc9['root']['rootName']&&_0x5e67c4['add'](_0x2ba972);for(const _0x12e142 of _0x5e67c4)this['_trackedElements']['delete'](_0x12e142);for(const [_0xa3eeeb,_0x48c4a5]of _0x2f6c72)this['_trackedElements']['set'](_0xa3eeeb,_0x48c4a5[_0x48c4a5['length']-0x1]);const _0x58e90a=new Set();for(const [_0x5e19a3,_0x2deee8]of _0x2f6c72)_0x5e67c4['has'](_0x5e19a3)&&(_0x58e90a['add'](_0x2deee8[0x0]),_0x2deee8['length']>0x1?_0x2f6c72['set'](_0x5e19a3,_0x2deee8['slice'](0x1)):_0x2f6c72['delete'](_0x5e19a3),_0x5e67c4['delete'](_0x5e19a3));return{'removed':Array['from'](_0x5e67c4),'inserted':Array['from'](_0x2f6c72['values']())['flat'](),'moved':Array['from'](_0x58e90a)};}}class c extends _0x5179dc{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x28514c){super(_0x28514c),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e288b=>_0x1e288b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1ba85e=>_0x1ba85e['getAttribute']('footnoteId')});}['init'](){const {editor:_0x2d4f78}=this,{model:_0x2d82fd,data:_0x2fb312}=_0x2d4f78;_0x2d82fd['document']['registerPostFixer'](_0x4490b1=>{const _0x1b6730=_0x2d82fd['document']['differ']['getChanges']();let _0x1d71a2=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4490b1,_0x1b6730)&&(_0x1d71a2=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4490b1,_0x1b6730)&&(_0x1d71a2=!0x0),this['_handleFootnoteReferencesChanges'](_0x4490b1,_0x1b6730)&&(_0x1d71a2=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4490b1)&&(_0x1d71a2=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4490b1)&&(_0x1d71a2=!0x0),this['_sortFootnoteDefinitions'](_0x4490b1)&&(_0x1d71a2=!0x0),_0x1d71a2;}),this['listenTo'](_0x2d82fd['document'],'change:data',()=>{_0x2d82fd['enqueueChange']({'isUndoable':!0x1},_0x36ae72=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x36ae72);});},{'priority':'low'}),this['listenTo'](_0x2fb312,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x137ae7){return this['_footnotes']['find'](_0x2501e0=>_0x2501e0['id']===_0x137ae7)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x13a992){this['_footnoteFormatter']=_0x13a992;}['_updateFootnotesCounters'](_0x43d348,_0x24c246=0x0){let _0x430d08=!0x1;for(let _0x20ee64=_0x24c246;_0x20ee64<this['_footnotes']['length'];_0x20ee64++)this['_updateFootnoteRefCounter'](_0x43d348,_0x20ee64)&&(_0x430d08=!0x0);return _0x430d08;}['_insertEmptyFootnotesDefinitionsContainer'](_0x32393d,_0x2d050a){const _0x5d17a2=_0x32393d['createElement']('footnotesDefinitions',{});return _0x32393d['append'](_0x5d17a2,_0x2d050a),this['_footnotesDefinitions']=_0x5d17a2,_0x5d17a2;}['_ensureFootnotesDefinitionsContainerExists'](_0xd78b92){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x356e42=this['_footnotes'][0x0]['reference']['root'],_0x47ccc5=this['_insertEmptyFootnotesDefinitionsContainer'](_0xd78b92,_0x356e42);for(const _0xc3c5b2 of this['_footnotes'])_0xc3c5b2['definition']['parent']||_0xd78b92['insert'](_0xc3c5b2['definition'],_0x47ccc5,'end');this['_updateFootnotesCounters'](_0xd78b92);}['_handleFootnotesDefinitionsObjectChanges'](_0x316443,_0x2855a0){let _0x64fb7b=!0x1;const {inserted:_0x56fee3,removed:_0x37ff9c,moved:_0xcc9d71}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2855a0);if(_0xcc9d71['length']&&(this['_footnotesDefinitions']=_0xcc9d71[0x0]),_0x56fee3['length']){if(_0x56fee3['length']>0x1||this['_footnotesDefinitions']&&_0x56fee3['some'](_0x234702=>_0x234702!==this['_footnotesDefinitions'])){const _0x1b9fd6=_0x316443['createElement']('footnotesDefinitions',{}),_0x2272b1=[];this['_footnotesDefinitions']&&_0x2272b1['push'](this['_footnotesDefinitions']),_0x2272b1['push'](..._0x56fee3),_0x316443['insert'](_0x1b9fd6,_0x2272b1[0x0],'before');for(const _0x38a210 of _0x2272b1)_0x316443['move'](_0x316443['createRangeIn'](_0x38a210),_0x316443['createPositionAt'](_0x1b9fd6,'end')),_0x316443['remove'](_0x38a210);this['_footnotesDefinitions']=_0x1b9fd6,this['_updateFootnotesCounters'](_0x316443),_0x64fb7b=!0x0;}else this['_footnotesDefinitions']=_0x56fee3[0x0];}if(_0x37ff9c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x257c69 of this['_footnotes'])_0x316443['remove'](_0x257c69['reference']),_0x64fb7b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x64fb7b;}['_handleFootnoteDefinitionsChanges'](_0x5e9bd7,_0x277aa6){let _0x37fc2f=!0x1;const _0x49d96d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x57d03f,moved:_0x4fe9b3}=this['_footnoteDefsTracker']['getChanges'](_0x277aa6);for(const _0x181acc of[..._0x4fe9b3,..._0x57d03f]){const _0x45d1da=_0x181acc['getAttribute']('footnoteId'),_0x284327=this['getFootnote'](_0x45d1da);_0x284327&&(_0x284327['definition']=_0x181acc),_(_0x5e9bd7,_0x49d96d,_0x181acc)&&(_0x37fc2f=!0x0);}return _0x37fc2f;}['_handleFootnoteReferencesChanges'](_0x2e4542,_0x16a2cc){let _0x3ab496=!0x1;const {removed:_0xec0abd,inserted:_0x2fa716,moved:_0x4ee0e5}=this['_footnoteRefsTracker']['getChanges'](_0x16a2cc);for(const _0x25569c of _0xec0abd)this['_handleRemoveFootnoteReferenceById'](_0x2e4542,_0x25569c)&&(_0x3ab496=!0x0);for(const _0x44541b of _0x2fa716)this['_handleInsertedFootnoteReference'](_0x2e4542,_0x44541b)&&(_0x3ab496=!0x0);for(const _0x348fbe of _0x4ee0e5)this['_handleMovedFootnoteReference'](_0x2e4542,_0x348fbe)&&(_0x3ab496=!0x0);return _0x3ab496;}['_handleFootnotesDefinitionsObjectSync'](_0x416287){if(!this['_footnotesDefinitions'])return!0x1;let _0x10fae3=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x978c86=[];for(const _0x4db073 of this['_footnotesDefinitions']['getChildren']()){const _0x4e3306=_0x4db073['getAttribute']('footnoteId');this['getFootnote'](_0x4e3306)||(_0x978c86['unshift'](_0x4db073),_0x10fae3=!0x0);}for(const _0x494a30 of _0x978c86)_0x416287['remove'](_0x494a30);}const _0x1a5e70=new Set(),_0x37fa12=[];for(const _0x5607f0 of this['_footnotesDefinitions']['getChildren']()){const _0x39aed5=_0x5607f0['getAttribute']('footnoteId');_0x1a5e70['has'](_0x39aed5)?(_0x37fa12['unshift'](_0x5607f0),_0x10fae3=!0x0):_0x1a5e70['add'](_0x39aed5);}for(const _0xd825fd of _0x37fa12)_0x416287['remove'](_0xd825fd);return this['_footnotesDefinitions']['childCount']||(_0x416287['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x10fae3=!0x0),_0x10fae3;}['_handleInsertedFootnoteReference'](_0x412eba,_0x29c93a){if(this['_footnotes']['find'](_0x1bbbec=>_0x1bbbec['reference']===_0x29c93a))return!0x1;let _0x4f105a=!0x1;const _0x554ddf=_0x29c93a['getAttribute']('footnoteId'),_0x4bac0d=this['_footnotes']['findIndex'](_0x36d567=>_0x36d567['id']===_0x554ddf);-0x1!==_0x4bac0d&&(_0x412eba['remove'](this['_footnotes'][_0x4bac0d]['reference']),this['_footnotes']['splice'](_0x4bac0d,0x1),_0x4f105a=!0x0);let _0x2e342f=this['_footnotesDefinitions']?function(_0x4c91ad,_0x3ac4db){for(const _0x5e4f04 of _0x4c91ad['getChildren']())if(_0x5e4f04['getAttribute']('footnoteId')===_0x3ac4db)return _0x5e4f04;return null;}(this['_footnotesDefinitions'],_0x554ddf):null;_0x2e342f||(_0x2e342f=_0x412eba['createElement']('footnoteDefinition',{'footnoteId':_0x554ddf}),this['_footnotesDefinitions']&&(_0x412eba['insert'](_0x2e342f,this['_footnotesDefinitions'],'end'),_0x4f105a=!0x0));const _0x4af5f2={'id':_0x554ddf,'reference':_0x29c93a,'definition':_0x2e342f},_0x2bbdcd=I(this['editor']['model'],this['_footnotes'],_0x29c93a);this['_footnotes']['splice'](_0x2bbdcd,0x0,_0x4af5f2);let _0x1c6675=_0x2bbdcd;return-0x1!==_0x4bac0d&&(_0x1c6675=Math['min'](_0x2bbdcd,_0x4bac0d)),this['_updateFootnotesCounters'](_0x412eba,_0x1c6675)&&(_0x4f105a=!0x0),_0x4f105a;}['_handleRemoveFootnoteReferenceById'](_0x1edf83,_0x4db0db){const _0x5ba9fe=this['_footnotes']['findIndex'](_0x5b0f14=>_0x5b0f14['id']===_0x4db0db);if(-0x1===_0x5ba9fe)return!0x1;let _0x258669=!0x1;const _0x50780b=this['_footnotes'][_0x5ba9fe];return'$graveyard'!==_0x50780b['definition']['root']['rootName']&&(_0x1edf83['remove'](_0x50780b['definition']),_0x258669=!0x0),this['_footnotes']['splice'](_0x5ba9fe,0x1),this['_updateFootnotesCounters'](_0x1edf83,_0x5ba9fe)&&(_0x258669=!0x0),_0x258669;}['_handleMovedFootnoteReference'](_0x13debe,_0x3bd618){const _0xe2a868=_0x3bd618['getAttribute']('footnoteId'),_0x36ee8b=this['_footnotes']['findIndex'](_0x431dfc=>_0x431dfc['id']===_0xe2a868),_0x4bac4b=this['_footnotes'][_0x36ee8b];let _0x9cfba3=!0x1;_0x4bac4b['reference']=_0x3bd618,this['_footnotes']['splice'](_0x36ee8b,0x1);const _0x36322c=I(this['editor']['model'],this['_footnotes'],_0x3bd618);return this['_footnotes']['splice'](_0x36322c,0x0,_0x4bac4b),this['_updateFootnotesCounters'](_0x13debe,Math['min'](_0x36ee8b,_0x36322c))&&(_0x9cfba3=!0x0),_0x9cfba3;}['_updateFootnoteRefCounter'](_0x50b363,_0x44c5b0){if(!this['_footnotesDefinitions'])return!0x1;const _0x2d9b38=this['_footnotes'][_0x44c5b0];let _0x159dfd;return _0x159dfd=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2d9b38,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x44c5b0+0x1}):String(_0x44c5b0+0x1),_0x2d9b38['reference']['getAttribute']('footnoteCounter')!=_0x159dfd&&(_0x50b363['setAttribute']('footnoteCounter',_0x159dfd,_0x2d9b38['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1e8f94){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x28dbfd,_0x56a033){if(_0x28dbfd['length']!==_0x56a033['length'])return!0x1;for(let _0x53c5c5=0x0;_0x53c5c5<_0x28dbfd['length'];_0x53c5c5++)if(_0x28dbfd[_0x53c5c5]!==_0x56a033[_0x53c5c5])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x8858e3=>_0x8858e3['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x542ca7=>_0x542ca7['getAttribute']('footnoteId'))))return!0x1;let _0x5b8fc3=!0x1;for(let _0x500d36=0x0;_0x500d36<this['_footnotes']['length'];_0x500d36++){const _0x2ccb88=this['_footnotes'][_0x500d36],_0x50d061=_0x1e8f94['createPositionBefore'](_0x2ccb88['definition']),_0x458ec8=_0x1e8f94['createPositionAt'](this['_footnotesDefinitions'],_0x500d36);_0x50d061['isEqual'](_0x458ec8)||(_0x1e8f94['move'](_0x1e8f94['createRangeOn'](_0x2ccb88['definition']),_0x458ec8),_0x5b8fc3=!0x0);}return _0x5b8fc3;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2a905b){if(!this['_footnotes']['length'])return!0x1;const {model:_0x402f3a}=this['editor'];let _0x58ccac=!0x1;for(let _0x1167a7=0x0;_0x1167a7<this['_footnotes']['length']-0x1;_0x1167a7++){const _0x1ab366=this['_footnotes'][_0x1167a7],_0x15d792=this['_footnotes'][_0x1167a7+0x1],_0x11f734=_0x402f3a['createPositionBefore'](_0x1ab366['reference']),_0x380d20=_0x402f3a['createPositionBefore'](_0x15d792['reference']);'after'===_0x11f734['compareWith'](_0x380d20)&&(this['_handleMovedFootnoteReference'](_0x2a905b,_0x1ab366['reference']),_0x1167a7=-0x1,_0x58ccac=!0x0);}return _0x58ccac;}}function _(_0x1c2325,_0x7d0810,_0x5f07c3){if(_0x5f07c3['childCount'])return!0x1;const _0x52448b=_0x7d0810?'paragraph':'footnoteInlineContent';return _0x1c2325['insert'](_0x1c2325['createElement'](_0x52448b),_0x5f07c3),!0x0;}function I(_0x57d668,_0x18171b,_0x19e54d){if(0x0===_0x18171b['length'])return 0x0;const _0x20dec6=_0x57d668['createPositionBefore'](_0x19e54d);for(let _0x1f5d18=0x0;_0x1f5d18<_0x18171b['length'];_0x1f5d18++){const _0x2e0ed9=_0x18171b[_0x1f5d18],_0x32389b=_0x57d668['createPositionBefore'](_0x2e0ed9['reference']);if('before'===_0x20dec6['compareWith'](_0x32389b))return _0x1f5d18;}const _0x3520e1=_0x19e54d['root'];let _0x183100=-0x1;for(let _0x353b4b=_0x18171b['length']-0x1;_0x353b4b>=0x0;_0x353b4b--)if(_0x18171b[_0x353b4b]['reference']['root']===_0x3520e1){_0x183100=_0x353b4b;break;}if(-0x1!==_0x183100)return _0x183100+0x1;const _0x474498=_0x57d668['document']['getRootNames'](),_0xd82d0c=_0x474498['indexOf'](_0x3520e1['rootName']),_0x43e314=_0x474498[_0xd82d0c+0x1];if(_0x43e314){for(let _0x1955a5=0x0;_0x1955a5<_0x18171b['length'];_0x1955a5++)if(_0x18171b[_0x1955a5]['reference']['root']['rootName']===_0x43e314)return _0x1955a5;}return _0x18171b['length'];}class m extends _0x488561{['refresh'](){const _0x2255f7=this['editor']['model']['document']['selection'],_0x512196=this['_getPositionToInsertFootnote'](_0x2255f7);this['isEnabled']=!!_0x512196;}['execute'](_0xd8180a){const {editor:_0x2f5b7f}=this,{model:_0x48ea51}=_0x2f5b7f,{selection:_0x4f3a17}=_0x48ea51['document'],_0x4b5e44=this['_getPositionToInsertFootnote'](_0x4f3a17);if(!_0x4b5e44)return;const _0x3917a5=_0x2f5b7f['plugins']['get']('FootnotesEditing'),_0x9ed967=_0xd8180a?.['footnoteId']??_0x3ec407();!function(_0x4837f4){return'string'==typeof _0x4837f4&&_0x4837f4['length']>0x0&&!/\s/['test'](_0x4837f4)&&!/^\d/['test'](_0x4837f4);}(_0x9ed967)?_0x1979db('insert-footnote-command-executed-with-invalid-id'):(_0x48ea51['change'](_0x51f402=>{const _0x51d831=_0x51f402['createElement']('footnoteRef',{'footnoteId':_0x9ed967});_0x48ea51['insertObject'](_0x51d831,_0x4b5e44,null);}),_0x3917a5['_moveSelectionToFootnoteDefinition'](_0x9ed967));}['_getPositionToInsertFootnote'](_0x234397){const {model:_0x2a24ca}=this['editor'],{schema:_0x402363}=_0x2a24ca,_0x96e3b5=_0x234397['getFirstRange']();for(const _0x98fd83 of _0x96e3b5['getItems']())if(_0x402363['isBlock'](_0x98fd83)||_0x402363['isObject'](_0x98fd83))return null;const _0x103c0b=_0x96e3b5['end'];return _0x402363['checkChild'](_0x103c0b,'footnoteRef')?_0x103c0b:null;}}class r extends _0x5179dc{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5752c2}=this;_0x5752c2['config']['define']('footnotes.multiBlock',!0x0),_0x5752c2['commands']['add']('insertFootnote',new m(_0x5752c2)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x500dc8){const _0x507df9=_0x3b5ac7([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]),_0x4be48a=0x47a28506,_0x18ce34=0x47a5ff4e^_0x4be48a,_0x23f05d=window[_0x3b5ac7([0x44,0x61,0x74,0x65])][_0x3b5ac7([0x6e,0x6f,0x77])](),_0x5cf31b=_0x500dc8[_0x3b5ac7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c1baa=new window[(_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbdbf3c=>{_0x5cf31b[_0x3b5ac7([0x6f,0x6e,0x63,0x65])](_0x3b5ac7([0x72,0x65,0x61,0x64,0x79]),_0xbdbf3c);}),_0x2a45bb={[_0x3b5ac7([0x6b,0x74,0x79])]:_0x3b5ac7([0x45,0x43]),[_0x3b5ac7([0x75,0x73,0x65])]:_0x3b5ac7([0x73,0x69,0x67]),[_0x3b5ac7([0x63,0x72,0x76])]:_0x3b5ac7([0x50,0x2d,0x32,0x35,0x36]),[_0x3b5ac7([0x78])]:_0x3b5ac7([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]),[_0x3b5ac7([0x79])]:_0x3b5ac7([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]),[_0x3b5ac7([0x61,0x6c,0x67])]:_0x3b5ac7([0x45,0x53,0x32,0x35,0x36])},_0x412dd0=_0x5cf31b[_0x3b5ac7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b5ac7([0x67,0x65,0x74])](_0x3b5ac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x241f73(){let _0x3aecb9,_0x1c1c68=null,_0x5ae7da=null;try{if(_0x412dd0==_0x3b5ac7([0x47,0x50,0x4c]))return _0x3b5ac7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3aecb9=_0x26f04c(),!_0x3aecb9)return _0x3b5ac7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3aecb9[_0x3b5ac7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ae7da=_0x350604(_0x3aecb9[_0x3b5ac7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3aecb9[_0x3b5ac7([0x6a,0x74,0x69])])),await _0x213457()?_0x1cb012()?_0x334ddd()?_0x3b5ac7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1685df()?(_0x3aecb9[_0x3b5ac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b5ac7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c1c68=_0x403661(_0x3b5ac7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3aecb9[_0x3b5ac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b5ac7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c1c68=_0x403661(_0x3b5ac7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56ba1a()):_0x3b5ac7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b5ac7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b5ac7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b5ac7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x334ddd(){const _0x3f4bde=[_0x3b5ac7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b5ac7([0x74,0x72,0x69,0x61,0x6c])][_0x3b5ac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aecb9[_0x3b5ac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23f05d/0x3e8:0xe10*_0x18ce34;return _0x3aecb9[_0x3b5ac7([0x65,0x78,0x70])]<_0x3f4bde;}function _0x1cb012(){const _0x1948b0=_0x3aecb9[_0x3b5ac7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1948b0&&(!!_0x1948b0[_0x3b5ac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5ac7([0x2a]))||!!_0x1948b0[_0x3b5ac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5ac7([0x46,0x4f,0x4f])));}function _0x1685df(){const _0x44ff95=_0x3aecb9[_0x3b5ac7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44ff95||0x0==_0x44ff95[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ffcb8}=new URL(window[_0x3b5ac7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44ff95[_0x3b5ac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ffcb8))return!0x0;const _0x91fbd4=_0x1ffcb8[_0x3b5ac7([0x73,0x70,0x6c,0x69,0x74])](_0x3b5ac7([0x2e]));return _0x44ff95[_0x3b5ac7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5420da=>_0x5420da[_0x3b5ac7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5ac7([0x2a])))[_0x3b5ac7([0x6d,0x61,0x70])](_0x45b3c1=>_0x45b3c1[_0x3b5ac7([0x73,0x70,0x6c,0x69,0x74])](_0x3b5ac7([0x2e])))[_0x3b5ac7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x221815=>_0x221815[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x91fbd4[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b5ac7([0x6d,0x61,0x70])](_0xb1009c=>Array(_0x91fbd4[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb1009c[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b5ac7([0x66,0x69,0x6c,0x6c])](_0xb1009c[0x0]===_0x3b5ac7([0x2a])?_0x3b5ac7([0x2a]):'')[_0x3b5ac7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb1009c))[_0x3b5ac7([0x73,0x6f,0x6d,0x65])](_0x565220=>_0x91fbd4[_0x3b5ac7([0x65,0x76,0x65,0x72,0x79])]((_0x4ccc29,_0x111630)=>_0x565220[_0x111630]===_0x4ccc29||_0x565220[_0x111630]===_0x3b5ac7([0x2a])));}function _0x56ba1a(){return _0x1c1c68&&_0x5ae7da?new window[(_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cff9e,_0x579979)=>{_0x1c1c68[_0x3b5ac7([0x74,0x68,0x65,0x6e])](_0x5cff9e,_0x579979),_0x5ae7da[_0x3b5ac7([0x74,0x68,0x65,0x6e])](_0x50ab03=>{_0x50ab03!=_0x3b5ac7([0x56,0x61,0x6c,0x69,0x64])&&_0x5cff9e(_0x50ab03);},_0x579979);}):_0x1c1c68||_0x5ae7da||_0x3b5ac7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x350604(_0x323b58,_0x48c487){return new window[(_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24502e=>{if(_0x5be259())return _0x24502e(_0x3b5ac7([0x56,0x61,0x6c,0x69,0x64]));_0x1c6732(),_0x5cf31b[_0x3b5ac7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b5ac7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2aaa0c=!0x1;const _0x5c91b9=_0x3ec407();function _0x555a86(_0x3f3f49){return!!_0x3f3f49&&(typeof _0x3f3f49===_0x3b5ac7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f3f49===_0x3b5ac7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f3f49[_0x3b5ac7([0x74,0x68,0x65,0x6e])]===_0x3b5ac7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f3f49[_0x3b5ac7([0x63,0x61,0x74,0x63,0x68])]===_0x3b5ac7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x516952(_0x419661){_0x182bbd(_0x419661)[_0x3b5ac7([0x74,0x68,0x65,0x6e])](_0x440b74=>{if(!_0x440b74||_0x440b74[_0x3b5ac7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b5ac7([0x6f,0x6b]))return _0x3b5ac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3f99d9(_0x11c073(_0x5c91b9+_0x48c487))!=_0x440b74[_0x3b5ac7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b5ac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b5ac7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b5ac7([0x74,0x68,0x65,0x6e])](_0x54b22a=>(_0x1bff5e(),_0x54b22a),()=>{const _0x58c004=_0x4907fc();return null==_0x58c004?(_0x1bff5e(),_0x3b5ac7([0x56,0x61,0x6c,0x69,0x64])):_0x3b5ac7(_0x23f05d-_0x58c004>(0x63ae0106^_0x4be48a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b5ac7([0x74,0x68,0x65,0x6e])](_0x24502e)[_0x3b5ac7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24502e(_0x3b5ac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d1584=0x47946b86^_0x4be48a;function _0x1bff5e(){const _0x41ede8=_0x3b5ac7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f99d9(_0x11c073(_0x323b58)),_0x13a260=_0x452e57(_0x3f99d9(window[_0x3b5ac7([0x4d,0x61,0x74,0x68])][_0x3b5ac7([0x63,0x65,0x69,0x6c])](_0x23f05d/_0x5d1584)));window[_0x3b5ac7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b5ac7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41ede8,_0x13a260);}function _0x4907fc(){const _0x126795=_0x3b5ac7([0x6c,0x6c,0x63,0x74,0x2d])+_0x3f99d9(_0x11c073(_0x323b58)),_0x2e0b8f=window[_0x3b5ac7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b5ac7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x126795);return _0x2e0b8f?window[_0x3b5ac7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x452e57(_0x2e0b8f),0x10)*_0x5d1584:null;}function _0x182bbd(_0x4297a5){return new window[(_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1220a6,_0x46a0d7)=>{_0x4297a5[_0x3b5ac7([0x74,0x68,0x65,0x6e])](_0x1220a6,_0x46a0d7),window[_0x3b5ac7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46a0d7,0x47a351c6^_0x4be48a);});}}_0x5cf31b[_0x3b5ac7([0x6f,0x6e])](_0x3b5ac7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2187da,_0x3c74bd)=>{if(_0x3c74bd[0x0]!=_0x323b58)return _0x24502e(_0x3b5ac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c74bd[0x1]={..._0x3c74bd[0x1],[_0x3b5ac7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5c91b9};},{[_0x3b5ac7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b5ac7([0x68,0x69,0x67,0x68])}),_0x5cf31b[_0x3b5ac7([0x6f,0x6e])](_0x3b5ac7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d130e=>{_0x555a86(_0x4d130e[_0x3b5ac7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2aaa0c=!0x0,_0x516952(_0x4d130e[_0x3b5ac7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b5ac7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b5ac7([0x6c,0x6f,0x77])}),_0x4c1baa[_0x3b5ac7([0x74,0x68,0x65,0x6e])](()=>{_0x2aaa0c||_0x24502e(_0x3b5ac7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5be259(){return _0x5cf31b[_0x3b5ac7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b5ac7([0x76,0x69,0x65,0x77])][_0x3b5ac7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b5ac7([0x61,0x75,0x74,0x6f]);}function _0x1c6732(){_0x5cf31b[_0x3b5ac7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b5ac7([0x76,0x69,0x65,0x77])][_0x3b5ac7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b5ac7([0x61,0x75,0x74,0x6f]);}}function _0x403661(_0xd753fc){const _0xe28820=[new window[(_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a018b=>setTimeout(_0x1a018b,0x47abbbca^_0x4be48a)),_0x4c1baa[_0x3b5ac7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe795a4=>{let _0x4e2ba7=0x0;_0x5cf31b[_0x3b5ac7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b5ac7([0x6f,0x6e])](_0x3b5ac7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ff264,_0x12910a)=>{_0x12910a[0x0][_0x3b5ac7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e2ba7++,_0x4e2ba7==(0x47a284fe^_0x4be48a)&&(_0xe795a4(),_0x1ff264[_0x3b5ac7([0x6f,0x66,0x66])]());});}))];return window[_0x3b5ac7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b5ac7([0x72,0x61,0x63,0x65])](_0xe28820)[_0x3b5ac7([0x74,0x68,0x65,0x6e])](()=>_0xd753fc);}async function _0x3070da(){await _0x4c1baa,_0x5cf31b[_0x3b5ac7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b5ac7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x23c930,_0x5cf31b[_0x3b5ac7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b5ac7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x23c930,_0x5cf31b[_0x3b5ac7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b5ac7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2841ec(_0x30379c){const _0xb045f0=_0x211bab();_0x5cf31b[_0xb045f0]=_0x3b5ac7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30379c,_0x30379c!=_0x3b5ac7([0x56,0x61,0x6c,0x69,0x64])&&_0x3070da();}function _0x211bab(){const _0xcd2c02=window[_0x3b5ac7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b5ac7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b5ac7([0x6e,0x6f,0x77])]())[_0x3b5ac7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b5ac7([0x2e]),'');let _0x1058ad=_0x3b5ac7([0x75]);for(let _0x18fed3=0x0;_0x18fed3<_0xcd2c02[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18fed3+=0x2){let _0x32bb90=window[_0x3b5ac7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcd2c02[_0x3b5ac7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18fed3,_0x18fed3+0x2));_0x32bb90>=_0x507df9[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32bb90-=_0x507df9[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1058ad+=_0x507df9[_0x32bb90];}return _0x1058ad;}function _0x26f04c(){const _0x36e125=_0x412dd0[_0x3b5ac7([0x73,0x70,0x6c,0x69,0x74])](_0x3b5ac7([0x2e]));if(0x3!=_0x36e125[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b19b7(_0x36e125[0x1]);function _0x4b19b7(_0x1dafca){const _0x37127c=_0xb8ecb5(_0x1dafca);return _0x37127c&&_0x40b410()?_0x37127c:null;function _0x40b410(){const _0x35f088=_0x37127c[_0x3b5ac7([0x6a,0x74,0x69])],_0x75a933=window[_0x3b5ac7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35f088[_0x3b5ac7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35f088[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30bf64={..._0x37127c,[_0x3b5ac7([0x6a,0x74,0x69])]:_0x35f088[_0x3b5ac7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35f088[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30bf64[_0x3b5ac7([0x76,0x63])],_0x11c073(_0x30bf64)==_0x75a933;}}}async function _0x213457(){let _0x48236c=!0x0;try{const _0x9d176=_0x412dd0[_0x3b5ac7([0x73,0x70,0x6c,0x69,0x74])](_0x3b5ac7([0x2e])),[_0x48607b,_0x4e27ac,_0x173441]=_0x9d176;return _0x5458d1(_0x48607b),await _0x58a317(_0x48607b,_0x4e27ac,_0x173441),_0x48236c;}catch{return!0x1;}function _0x5458d1(_0x171b07){const _0x5f1fb2=_0xb8ecb5(_0x171b07);_0x5f1fb2&&_0x5f1fb2[_0x3b5ac7([0x61,0x6c,0x67])]==_0x3b5ac7([0x45,0x53,0x32,0x35,0x36])||(_0x48236c=!0x1);}async function _0x58a317(_0x28fc2e,_0x58ac5e,_0x385fc7){const _0x20782d=window[_0x3b5ac7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b5ac7([0x66,0x72,0x6f,0x6d])](_0x2ce00d(_0x385fc7),_0x3b1f45=>_0x3b1f45[_0x3b5ac7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x94c286=new window[(_0x3b5ac7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b5ac7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28fc2e+_0x3b5ac7([0x2e])+_0x58ac5e),_0x134d15=window[_0x3b5ac7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b5ac7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x134d15)return;const _0x232997=await _0x134d15[_0x3b5ac7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b5ac7([0x6a,0x77,0x6b]),_0x2a45bb,{[_0x3b5ac7([0x6e,0x61,0x6d,0x65])]:_0x3b5ac7([0x45,0x43,0x44,0x53,0x41]),[_0x3b5ac7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b5ac7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b5ac7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x134d15[_0x3b5ac7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b5ac7([0x6e,0x61,0x6d,0x65])]:_0x3b5ac7([0x45,0x43,0x44,0x53,0x41]),[_0x3b5ac7([0x68,0x61,0x73,0x68])]:{[_0x3b5ac7([0x6e,0x61,0x6d,0x65])]:_0x3b5ac7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x232997,_0x20782d,_0x94c286)||(_0x48236c=!0x1);}}function _0xb8ecb5(_0x6efc38){return _0x6efc38[_0x3b5ac7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b5ac7([0x65,0x79]))?JSON[_0x3b5ac7([0x70,0x61,0x72,0x73,0x65])](_0x2ce00d(_0x6efc38)):null;}function _0x2ce00d(_0x55b3b6){return window[_0x3b5ac7([0x61,0x74,0x6f,0x62])](_0x55b3b6[_0x3b5ac7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b5ac7([0x2b]))[_0x3b5ac7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b5ac7([0x2f])));}function _0x11c073(_0xbe320b){let _0x540de5=0x1505;function _0x29d40e(_0x45231f){for(let _0x9129d3=0x0;_0x9129d3<_0x45231f[_0x3b5ac7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9129d3++){const _0x559538=_0x45231f[_0x3b5ac7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9129d3);_0x540de5=(_0x540de5<<0x5)+_0x540de5+_0x559538,_0x540de5&=_0x540de5;}}function _0x5e3a4a(_0x4cb295){Array[_0x3b5ac7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cb295)?_0x4cb295[_0x3b5ac7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e3a4a):_0x4cb295&&typeof _0x4cb295==_0x3b5ac7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b5ac7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cb295)[_0x3b5ac7([0x73,0x6f,0x72,0x74])]()[_0x3b5ac7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x461e4c,_0x241cca])=>{_0x29d40e(_0x461e4c),_0x5e3a4a(_0x241cca);}):_0x29d40e(window[_0x3b5ac7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cb295));}return _0x5e3a4a(_0xbe320b),_0x540de5>>>0x0;}function _0x3f99d9(_0x1abd9b){return _0x1abd9b[_0x3b5ac7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b5ac7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b5ac7([0x30]));}function _0x452e57(_0x1a94a8){return _0x1a94a8[_0x3b5ac7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b5ac7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b5ac7([0x6a,0x6f,0x69,0x6e])]('');}function _0x23c930(){}function _0x3b5ac7(_0x4c9c48){return _0x4c9c48['map'](_0x5ceaec=>String['fromCharCode'](_0x5ceaec))['join']('');}_0x2841ec(await _0x241f73());}(this);}['_moveSelectionToFootnoteDefinition'](_0x458080){const {plugins:_0x4b79da,editing:_0x143cbb,model:_0x34bade}=this['editor'],_0x41a8ae=_0x4b79da['get'](c)['getFootnote'](_0x458080);return!!_0x41a8ae&&(_0x34bade['change'](_0x1b45c0=>{_0x1b45c0['setSelection'](_0x1b45c0['createPositionAt'](_0x41a8ae['definition'],'end'));}),_0x143cbb['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x31a70b){const {plugins:_0x3dbe5a,editing:_0x23025d,model:_0x399fcc}=this['editor'],_0x5d5b0d=_0x3dbe5a['get'](c)['getFootnote'](_0x31a70b);return!!_0x5d5b0d&&(_0x399fcc['change'](_0x5e0088=>{_0x5e0088['setSelection'](_0x5d5b0d['reference'],'on');}),_0x23025d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x259b7d}=this['editor']['model'],_0xb2e6b6=this['editor']['config']['get']('footnotes.multiBlock');_0x259b7d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x259b7d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x259b7d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xb2e6b6?_0x259b7d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x259b7d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x259b7d['addChildCheck'](_0x1a82f3=>{for(const _0x3dc933 of _0x1a82f3)if('footnoteDefinition'===_0x3dc933['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1a6b07}=this,{conversion:_0x19ef95,editing:_0x471d1b}=_0x1a6b07,{t:t}=_0x1a6b07['locale'];_0x19ef95['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4c3473,{writer:_0x11e0ae,consumable:_0x2970ae})=>{const _0x311361=_0x4c3473['getChild'](0x0);if(!_0x311361||!_0x311361['is']('element','a'))return null;const _0x38519c=_0x311361['getAttribute']('href')||'';if(!_0x38519c['startsWith']('#'))return null;const _0xabd7d3=_0x38519c['replace'](/^#/,'');if(!_0xabd7d3)return null;_0x2970ae['consume'](_0x311361,{'name':!0x0,'attributes':['href']});for(const {item:_0x52f3d9}of _0x471d1b['view']['createRangeIn'](_0x311361))_0x52f3d9['is']('$textProxy')?_0x2970ae['consume'](_0x52f3d9['textNode'],{'name':!0x0}):_0x52f3d9['is']('element')&&_0x2970ae['consume'](_0x52f3d9,{'name':!0x0});return _0x11e0ae['createElement']('footnoteRef',{'footnoteId':_0xabd7d3});}}),_0x19ef95['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x45a06f,{writer:_0x2d2806})=>D(_0x45a06f,_0x2d2806)}),_0x19ef95['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3c96a2,{writer:_0x5e5c58})=>{const _0x462735=_0x3c96a2['getAttribute']('footnoteCounter');return _0x55af71(D(_0x3c96a2,_0x5e5c58),_0x5e5c58,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x462735)});}});}['_defineDefinitionsConverters'](){const {editor:_0xaa732a}=this,{t:t}=_0xaa732a['locale'],{conversion:_0x9e8f2a}=_0xaa732a;_0x9e8f2a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9e8f2a['for']('upcast')['add'](_0x4e6920=>{_0x4e6920['on']('element:ol',(_0x1e350b,_0x62904a,_0xa6a66e)=>{const _0x38535d=_0x62904a['viewItem'];if(!_0x38535d['hasClass']('footnotes-list')||!_0x62904a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xa6a66e['consumable']['consume'](_0x38535d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2530fa,modelCursor:_0x3ed93e}=_0xa6a66e['convertChildren'](_0x62904a['viewItem'],_0x62904a['modelCursor']);_0x62904a['modelRange']=_0x2530fa,_0x62904a['modelCursor']=_0x3ed93e;}),_0x4e6920['on']('element:hr',(_0x1a83c8,_0x49062f,_0x347e8a)=>{const _0x401f0a=_0x49062f['viewItem'];_0x401f0a['hasClass']('footnotes-divider')&&_0x49062f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x347e8a['consumable']['consume'](_0x401f0a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9e8f2a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x206afb,{writer:_0x50ecc8})=>v(_0x50ecc8)}),_0x9e8f2a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f3d0c,{writer:_0x103e6d})=>{const _0x53a239=v(_0x103e6d,{'data-footnotes-list-label':t('Footnotes')}),_0x2478de=_0x55af71(_0x53a239,_0x103e6d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x103e6d['setCustomProperty']('footnotesDefinitions',!0x0,_0x2478de),_0x2478de;}});}['_defineDefinitionConverters'](){const {editor:_0x3ac78f}=this,{conversion:_0x9df642,locale:_0x165414}=_0x3ac78f,_0x3bccb5=_0x3ac78f['config']['get']('footnotes.multiBlock');_0x9df642['for']('upcast')['add'](_0x5ed6d1=>{_0x5ed6d1['on']('element:li',(_0x3837c0,_0x1acbb4,_0x30003c)=>{const _0x30a029=_0x1acbb4['viewItem'];if(!_0x30a029['hasClass']('footnote-definition')||!_0x30a029['getAttribute']('id'))return;const _0x5184b1=_0x30a029['parent'];if(!_0x5184b1['is']('element','ol')||!_0x5184b1['hasClass']('footnotes-list'))return;if(!_0x30003c['consumable']['test'](_0x30a029,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3834eb=_0x30003c['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x30a029['getAttribute']('id')});if(!_0x30003c['safeInsert'](_0x3834eb,_0x1acbb4['modelCursor']))return;_0x30003c['consumable']['consume'](_0x30a029,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x215412=Array['from'](_0x30a029['getChildren']())['find'](_0x483b94=>_0x483b94['is']('element')&&_0x483b94['hasClass']('footnote-content'));for(const _0x10f962 of _0x30a029['getChildren']())_0x10f962['is']('element')&&(_0x30003c['consumable']['consume'](_0x10f962,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x30003c['consumable']['consume'](_0x10f962,{'name':!0x0,'classes':'footnote-content'}));if(_0x215412){if(_0x3bccb5)_0x30003c['convertChildren'](_0x215412,_0x3834eb);else{const _0x2a5eb5=_0x30003c['writer']['createElement']('footnoteInlineContent');_0x30003c['writer']['insert'](_0x2a5eb5,_0x3834eb),_0x30003c['convertChildren'](_0x215412,_0x2a5eb5);}}_0x30003c['updateConversionResult'](_0x3834eb,_0x1acbb4);});}),_0x9df642['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3e84d5,{writer:_0x17e195})=>b(_0x3e84d5,_0x17e195,_0x165414,{'dataPipeline':!0x0})}),_0x9df642['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3dcb2c,{writer:_0x542a21})=>b(_0x3dcb2c,_0x542a21,_0x165414)});}['_defineBogusParagraphConverters'](){const {editor:_0x583028}=this,{conversion:_0x410d38}=_0x583028;_0x583028['config']['get']('footnotes.multiBlock')?(_0x410d38['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x410d38['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x583028['model']['document'],'change:data',()=>{!function(_0x550a94,_0x3ff1a3){const _0x49361e=_0x550a94['document']['differ'],_0xf999fa=new Set();for(const _0xd331d8 of _0x49361e['getChanges']()){const _0x515475='attribute'==_0xd331d8['type']?_0xd331d8['range']['start']['parent']:_0xd331d8['position']['parent'];_0x515475['is']('element','footnoteDefinition')&&_0xf999fa['add'](_0x515475);}for(const _0x2c102f of _0xf999fa['values']()){const _0x19de15=Array['from'](_0x2c102f['getChildren']())['filter'](_0x5744fd=>g(_0x5744fd,_0x3ff1a3['mapper']));for(const _0xec9201 of _0x19de15)_0x3ff1a3['reconvertItem'](_0xec9201);}}(_0x583028['model'],_0x583028['editing']);})):(_0x410d38['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x410d38['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x9eb50,{writer:_0x439141})=>{const _0x7062b9=_0x439141['createContainerElement']('span');return _0x439141['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x7062b9),_0x7062b9;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2a87a5}=this,{editing:_0xdaa9df,t:t}=_0x2a87a5,_0x35b83f=_0x2a87a5['model']['document']['selection'];_0x2a87a5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2a87a5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xdaa9df['view']['document'],'enter',(_0x30ec47,_0x4ee0ce)=>{const _0x30476d=function(_0x39343f){const _0x226c36=_0x39343f['getSelectedElement']();if(_0x226c36?.['is']('element','footnoteRef'))return _0x226c36;return null;}(_0x35b83f);if(_0x30476d){const _0x38adc3=_0x30476d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x38adc3),_0x4ee0ce['preventDefault'](),_0x30ec47['stop']();}},{'context':_0x520832});}['_defineClickHandlers'](){const {editor:_0x2d07eb}=this,{editing:_0x899b90}=_0x2d07eb;_0x2d07eb['editing']['view']['addObserver'](_0x429d2a),_0x2d07eb['editing']['view']['addObserver'](_0x5c0671);let _0xebed8d=!0x1;this['listenTo'](_0x899b90['view']['document'],'pointerdown',(_0x40a838,_0x2f8688)=>{const {target:_0x3ff878}=_0x2f8688,_0x4c6739=_0x899b90['view']['document']['selection'];_0xebed8d=!!(_0x3ff878?.['is']('element','a')&&_0x3ff878['parent']?.['is']('element','sup')&&_0x3ff878['parent']['hasClass']('footnote'))&&_0x4c6739['getSelectedElement']()===_0x3ff878['parent'];},{'priority':'high'}),this['listenTo'](_0x899b90['view']['document'],'click',(_0xfc5ad9,_0x4060ba)=>{const {target:_0x4b46d9}=_0x4060ba;if(!_0x4b46d9?.['is']('element','a'))return;if(_0x4b46d9['parent']?.['is']('element','sup')&&_0x4b46d9['parent']['hasClass']('footnote')&&!_0xebed8d)return void _0x4060ba['preventDefault']();let _0x37073b=_0x4b46d9['getAttribute']('href');if(!_0x37073b?.['startsWith']('#'))return;_0x37073b=_0x37073b['slice'](0x1);let _0x3f1dce=!0x1;(_0x37073b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x37073b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x37073b))&&(_0x3f1dce=!0x0),_0x3f1dce&&(_0x4060ba['preventDefault'](),_0xfc5ad9['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1d7ec7}={}){return(_0x16267e,{writer:_0x4201c2})=>{if(!p(_0x16267e))return null;if(!_0x1d7ec7)return _0x4201c2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x438bf0=_0x4201c2['createContainerElement']('p');return _0x4201c2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x438bf0),_0x438bf0;};}function p(_0x416cab){const {parent:_0x482de3}=_0x416cab;if(!_0x482de3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x482de3['childCount'])return!0x1;for(const _0x2af1d4 of _0x416cab['getAttributeKeys']())if(!_0x2af1d4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2af1d4)return!0x1;return!0x0;}function g(_0xff7df1,_0x2d9dac){if(!_0xff7df1['is']('element','paragraph'))return!0x1;const _0x3d6b3a=_0x2d9dac['toViewElement'](_0xff7df1);return!!_0x3d6b3a&&p(_0xff7df1)!==_0x3d6b3a['is']('element','span');}function $(_0x294e16){return _0x520832(_0x294e16)&&_0x294e16['is']('containerElement')&&!!_0x294e16['getCustomProperty']('footnotesDefinitions');}function v(_0x57b4bf,_0x2c13d6={}){const _0x25e8bc=_0x57b4bf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4cfe52=_0x57b4bf['createContainerElement']('ol',{'class':'footnotes-list'},_0x57b4bf['createSlot']());return _0x57b4bf['createContainerElement']('div',{'class':'footnotes',..._0x2c13d6},[_0x25e8bc,_0x4cfe52]);}function D(_0x310fe0,_0x5a9de1){const _0x103963=_0x310fe0['getAttribute']('footnoteId'),_0x412927=_0x310fe0['getAttribute']('footnoteCounter'),_0xb65b0d=_0x5a9de1['createUIElement']('a',{'href':'#'+_0x103963},function(_0x2c3f43){const _0xad0a95=this['toDomElement'](_0x2c3f43);return _0xad0a95['textContent']=_0x412927,_0xad0a95;}),_0x5be6b6=_0x5a9de1['createContainerElement']('sup',{'id':'ref-'+_0x103963,'class':'footnote'},[_0xb65b0d]);return _0x5be6b6['getFillerOffset']=()=>null,_0x5be6b6;}function b(_0xdd66c8,_0x45f1c8,_0x41dd33,{dataPipeline:_0x20aac0}={}){const {t:t}=_0x41dd33,_0x2dd1b0=_0xdd66c8['getAttribute']('footnoteId'),_0x354b4d=_0x45f1c8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2dd1b0},function(_0x426dd5){const _0x867729=this['toDomElement'](_0x426dd5);return _0x867729['innerText']='^',_0x867729;}),_0x53321f=_0x20aac0?_0x45f1c8['createContainerElement']('div',{'class':'footnote-content'}):_0x4205cf(_0x45f1c8['createEditableElement']('div',{'class':'footnote-content'}),_0x45f1c8,{'label':t('Footnote\x20content.')});return _0x45f1c8['insert'](_0x45f1c8['createPositionAt'](_0x53321f,0x0),_0x45f1c8['createSlot']()),_0x45f1c8['createContainerElement']('li',{'class':'footnote-definition','id':_0x2dd1b0},[_0x354b4d,_0x53321f]);}class e extends _0x5179dc{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2445b2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x50da72}=this,{plugins:_0x38fbc2,model:_0x3f811c}=_0x50da72,_0x531db4=_0x38fbc2['get'](_0x2445b2),_0x47656f=_0x38fbc2['get'](c);this['listenTo'](_0x531db4,'outputTransformation',(_0x2fe6d5,_0x5c8749)=>{const _0x118343=f(_0x3f811c['createRangeIn'](_0x5c8749['content']));if(!_0x118343['length'])return;const _0x247ede=_0x47656f['getFootnotes'](),_0x1e11d7=_0x118343['reduce']((_0x1f2a3e,_0x5c51bf)=>{const _0x334c61=_0x247ede['find'](_0xd9f3ba=>_0xd9f3ba['id']===_0x5c51bf);if(_0x334c61){const _0x2174aa=_0x50da72['data']['toView'](_0x334c61['definition'],{'isClipboardPipeline':!0x0}),_0x1fe480=_0x50da72['data']['htmlProcessor']['toData'](_0x2174aa);_0x1f2a3e[_0x334c61['id']]=_0x1fe480;}return _0x1f2a3e;},Object['create'](null));_0x5c8749['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1e11d7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x30b81f}=this,{model:_0x439fbb,plugins:_0x2e844f}=_0x30b81f,{view:_0x29dfed}=_0x30b81f['editing'],_0x1c92ba=_0x2e844f['get'](_0x2445b2),_0x13ed65=_0x2e844f['get'](c);let _0x50883a=null;this['listenTo'](_0x29dfed['document'],'clipboardInput',(_0x265e0a,_0x239fbd)=>{const _0x131b71=_0x239fbd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x50883a=_0x131b71?JSON['parse'](_0x131b71):null;}),this['listenTo'](_0x1c92ba,'contentInsertion',(_0xcf40c7,_0x279b18)=>{const _0x248af5=_0x279b18['sourceEditorId']===this['editor']['id'];_0x248af5&&'drop'===_0x279b18['method']||_0x439fbb['change'](_0x2724e5=>{let _0x54c4f5=_0x13ed65['getFootnotesDefinitionsObjectElement']();const _0x487769=!!_0x54c4f5&&Array['from'](_0x439fbb['document']['selection']['getSelectedBlocks']())['includes'](_0x54c4f5);if((_0x54c4f5&&!_0x487769||!_0x54c4f5&&!_0x50883a)&&function(_0xb808b9,_0x3e6013){const _0x26169f=[];for(const {item:_0x198d4d}of _0xb808b9['createRangeIn'](_0x3e6013))_0x198d4d['is']('element','footnotesDefinitions')&&_0x26169f['push'](_0x198d4d);for(const _0x225401 of _0x26169f)_0xb808b9['remove'](_0x225401);}(_0x2724e5,_0x279b18['content']),!_0x50883a)return;const {selection:_0x216afd}=_0x439fbb['document'],_0x477e5e=_0x216afd['getFirstRange']()['root'];_0x54c4f5&&!_0x487769||(_0x54c4f5=function(_0x3cdbcf,_0x515dfb){for(const {item:_0x2f985e}of _0x3cdbcf['createRangeIn'](_0x515dfb))if(_0x2f985e['is']('element','footnotesDefinitions'))return _0x2f985e;return null;}(_0x2724e5,_0x279b18['content']),_0x54c4f5||=_0x13ed65['_insertEmptyFootnotesDefinitionsContainer'](_0x2724e5,_0x477e5e));const _0x10b103=Array['from'](_0x216afd['getRanges']())['flatMap'](f),_0x79db42=function(_0xccd046,_0x5f2251,_0x2920c8){const _0x30d8f5=Object['create'](null);for(const {item:_0x23aa5f}of _0xccd046['createRangeIn'](_0x5f2251))if(_0x23aa5f['is']('element','footnoteRef')){const _0xc5dd6b=_0x23aa5f['getAttribute']('footnoteId');if(!_0x2920c8(_0xc5dd6b))continue;_0x30d8f5[_0xc5dd6b]||(_0x30d8f5[_0xc5dd6b]=_0x3ec407()),_0xccd046['setAttribute']('footnoteId',_0x30d8f5[_0xc5dd6b],_0x23aa5f);}return _0x30d8f5;}(_0x2724e5,_0x279b18['content'],_0x221fa6=>{if(!_0x248af5)return!0x0;return!!_0x13ed65['getFootnote'](_0x221fa6)&&!_0x10b103['includes'](_0x221fa6);});for(const [_0x4da5e7,_0x5157c6]of Object['entries'](_0x50883a)){const _0x2d3c00=_0x79db42[_0x4da5e7]||_0x4da5e7,_0x1d0dc7=_0x2724e5['createElement']('footnoteDefinition',{'footnoteId':_0x2d3c00}),_0x4fbd5e=_0x30b81f['data']['htmlProcessor']['toView'](_0x5157c6),_0x1ede6e=_0x30b81f['data']['toModel'](_0x4fbd5e,_0x1d0dc7);_0x2724e5['append'](_0x1ede6e,_0x1d0dc7),_0x2724e5['insert'](_0x1d0dc7,_0x54c4f5,'end');}_0x50883a=null;});});}}function f(_0x2cf2f6){const _0x30f770=new Set();for(const {item:_0x4a869d}of _0x2cf2f6)_0x4a869d['is']('element','footnoteRef')&&_0x30f770['add'](_0x4a869d['getAttribute']('footnoteId'));return Array['from'](_0x30f770);}class i extends _0x5179dc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x139abd}=this,{componentFactory:_0x30c0a5}=_0x139abd['ui'];_0x30c0a5['add']('insertFootnote',x(_0x139abd,_0x5a5826)),_0x30c0a5['add']('menuBar:insertFootnote',x(_0x139abd,_0x2b92f5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2f3d3c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f188c;for(const _0x4b6e1d in _0x2f3d3c){const _0x277d98=_0x4b6e1d,_0x58308f=_0x2f3d3c[_0x277d98];if('footnotesLicenseKeyValid'==_0x58308f||'footnotesLicenseKeyInvalid'==_0x58308f||'footnotesLicenseKeyExpired'==_0x58308f||'footnotesLicenseKeyDomainLimit'==_0x58308f||'footnotesLicenseKeyNotAllowed'==_0x58308f||'footnotesLicenseKeyEvaluationLimit'==_0x58308f||'footnotesLicenseKeyTrialLimit'==_0x58308f||'footnotesLicenseKeyUsageLimit'==_0x58308f){delete _0x2f3d3c[_0x277d98],_0x5f188c=_0x58308f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5f188c&&_0x2f3d3c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x319e35,_0x585d22){const _0xb7d925=_0x319e35['commands']['get']('insertFootnote');return _0x2de689=>{const {t:t}=_0x2de689,_0x360c1c=new _0x585d22(_0x2de689),_0x3893d6=_0x360c1c instanceof _0x2b92f5;return _0x360c1c['bind']('isEnabled')['to'](_0xb7d925,'isEnabled'),_0x360c1c['set']({'label':t(_0x3893d6?'Footnote':'Insert\x20footnote'),'icon':_0x2f9429,'tooltip':!0x0}),_0x360c1c['on']('execute',()=>{_0xb7d925['execute'](),_0x319e35['editing']['view']['focus']();}),_0x360c1c;};}class lt extends _0x5179dc{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 _0x488561{['refresh'](){const {editor:_0x25f9fe}=this,_0x161195=_0x25f9fe['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x161195,this['value']=_0x161195?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x16aa56}){const {editor:_0xa0f6c}=this,_0x27d9fc=_0xa0f6c['plugins']['get'](c),_0x35f43a=_0x27d9fc['getFootnotesDefinitionsObjectElement']();_0x35f43a&&Q['includes'](_0x16aa56)&&_0xa0f6c['model']['change'](_0x3cf25f=>{_0x3cf25f['setAttribute']('footnotesListStyle',_0x16aa56,_0x35f43a),_0x27d9fc['_updateFootnotesCounters'](_0x3cf25f);});}}class C extends _0x488561{['refresh'](){const {editor:_0x40fa69}=this,_0xe3b0cc=_0x40fa69['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xe3b0cc,this['value']=_0xe3b0cc?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x21375c}){const {editor:_0x30ca9c}=this,_0x4a93a7=_0x30ca9c['plugins']['get'](c),_0x20625f=_0x4a93a7['getFootnotesDefinitionsObjectElement']();_0x20625f&&Number['isInteger'](_0x21375c)&&_0x30ca9c['model']['change'](_0x32f2fd=>{_0x32f2fd['setAttribute']('footnotesListStart',_0x21375c,_0x20625f),_0x4a93a7['_updateFootnotesCounters'](_0x32f2fd);});}}class P extends _0x5179dc{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x208b00}=this;_0x208b00['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x208b00['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x208b00['commands']['add']('footnotesStyle',new S(_0x208b00)),_0x208b00['commands']['add']('footnotesStart',new C(_0x208b00)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1d4add}=this,{schema:_0x7be717}=_0x1d4add['model'];_0x7be717['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4662fa}=this,{conversion:_0x21b57a,model:_0x4425d7}=_0x4662fa,{schema:_0x4b8733}=_0x4425d7;_0x21b57a['for']('upcast')['add'](_0x5ef7e1=>{_0x5ef7e1['on']('element:ol',(_0x19707b,_0x1ca0d9,_0x887817)=>{const _0x4b1c2f=_0x1ca0d9['viewItem'],_0x522189=_0x1ca0d9['modelCursor']?.['parent'];_0x4b1c2f['hasClass']('footnotes-list')&&_0x522189?.['is']('element','footnotesDefinitions')&&(function(_0xe5b0a,_0x3b478c,_0x29a6b0,_0x5a3d99){if(!_0x5a3d99['checkAttribute'](_0x3b478c,'footnotesListStart'))return;let _0xe27626=0x1;const _0x5a213c=_0x29a6b0['consumable']['consume'](_0xe5b0a,{'attributes':'start'});if(_0x5a213c){const _0xc607b3=Number['parseInt'](_0xe5b0a['getAttribute']('start'),0xa);Number['isNaN'](_0xc607b3)||(_0xe27626=_0xc607b3);}!_0x5a213c&&_0x3b478c['hasAttribute']('footnotesListStart')||_0x29a6b0['writer']['setAttribute']('footnotesListStart',_0xe27626,_0x3b478c);}(_0x4b1c2f,_0x522189,_0x887817,_0x4b8733),function(_0x5c2385,_0x40e5c3,_0x28ea82,_0x19ec92){if(!_0x19ec92['checkAttribute'](_0x40e5c3,'footnotesListStyle'))return;let _0x51d699='decimal',_0x34faa6=!0x1;if(_0x28ea82['consumable']['consume'](_0x5c2385,{'attributes':'type'})){const _0x44b26f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5c2385['getAttribute']('type')];_0x44b26f&&(_0x51d699=_0x44b26f),_0x34faa6=!0x0;}_0x28ea82['consumable']['consume'](_0x5c2385,{'styles':'list-style-type'})&&(_0x51d699=_0x5c2385['getStyle']('list-style-type'),_0x34faa6=!0x0),!_0x34faa6&&_0x40e5c3['hasAttribute']('footnotesListStyle')||_0x28ea82['writer']['setAttribute']('footnotesListStyle',_0x51d699,_0x40e5c3);}(_0x4b1c2f,_0x522189,_0x887817,_0x4b8733));});}),_0x21b57a['for']('downcast')['add'](_0x12e129=>{_0x12e129['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1004ce,_0x32e556,_0x2f2771)=>{if(!_0x2f2771['consumable']['consume'](_0x32e556['item'],_0x1004ce['name']))return;const _0x45f9ef=M(_0x32e556['item'],_0x2f2771['mapper']),{attributeNewValue:_0x3c92ca}=_0x32e556;null==_0x3c92ca||0x1===_0x3c92ca?_0x2f2771['writer']['removeAttribute']('start',_0x45f9ef):_0x2f2771['writer']['setAttribute']('start',String(_0x3c92ca),_0x45f9ef);}),_0x12e129['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xd5e45,_0x5a59dd,_0x2fe9b1)=>{if(!_0x2fe9b1['consumable']['consume'](_0x5a59dd['item'],_0xd5e45['name']))return;const _0x134a86=M(_0x5a59dd['item'],_0x2fe9b1['mapper']),{attributeNewValue:_0x42042c}=_0x5a59dd;_0x42042c&&'decimal'!==_0x42042c?_0x2fe9b1['writer']['setStyle']('list-style-type',_0x42042c,_0x134a86):_0x2fe9b1['writer']['removeStyle']('list-style-type',_0x134a86);});});}['_definePostfixer'](){const {editor:_0x4a10cd}=this,{model:_0x255236}=_0x4a10cd,_0x3f6f75=_0x4a10cd['plugins']['get'](c),_0x3285f0=this['_getDefaultListStyle'](),_0x198a87=this['_getDefaultStartIndex']();_0x255236['document']['registerPostFixer'](_0x13bf8d=>{const _0x3479e4=_0x255236['document']['differ']['getChanges']();let _0x35da4d=!0x1;for(const _0x414047 of _0x3479e4){if('insert'!==_0x414047['type']||'$text'===_0x414047['name'])continue;const _0x1935d=_0x255236['createRangeOn'](_0x414047['position']['nodeAfter']);for(const _0x15842e of _0x1935d['getItems']())_0x15842e['is']('element','footnotesDefinitions')&&(!_0x15842e['hasAttribute']('footnotesListStart')&&_0x255236['schema']['checkAttribute'](_0x15842e,'footnotesListStart')&&(_0x13bf8d['setAttribute']('footnotesListStart',_0x198a87,_0x15842e),_0x35da4d=!0x0),!_0x15842e['hasAttribute']('footnotesListStyle')&&_0x255236['schema']['checkAttribute'](_0x15842e,'footnotesListStyle')&&(_0x13bf8d['setAttribute']('footnotesListStyle',_0x3285f0,_0x15842e),_0x35da4d=!0x0));}return _0x35da4d&&_0x3f6f75['_updateFootnotesCounters'](_0x13bf8d),_0x35da4d;});}['_defineFormatter'](){const {editor:_0x32549b}=this;_0x32549b['plugins']['get'](c)['setFootnoteFormatter'](_0x398400=>this['_formatFootnoteListValue'](_0x398400));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2e8c72,value:_0x9a6b59,digits:_0x57f0fb}){const _0x5628ba=_0x2e8c72['getAttribute']('footnotesListStyle'),_0xfa96f6=_0x2e8c72['getAttribute']('footnotesListStart'),_0x51c6c5=Math['floor'](_0x9a6b59)+(_0xfa96f6??0x1)-0x1;switch(_0x5628ba){case'decimal-leading-zero':return function(_0x5dbb9e,_0x612a97){return String(_0x5dbb9e)['padStart'](_0x612a97,'0');}(_0x51c6c5,Math['max'](0x2,_0x57f0fb));case'lower-alpha':case'lower-latin':return N(_0x51c6c5,!0x1);case'upper-alpha':case'upper-latin':return N(_0x51c6c5,!0x0);case'lower-roman':return X(_0x51c6c5,!0x1);case'upper-roman':return X(_0x51c6c5,!0x0);default:return String(_0x51c6c5);}}}function M(_0x194933,_0x5ad16e){const _0x3c51b0=_0x5ad16e['toViewElement'](_0x194933);return Array['from'](_0x3c51b0['getChildren']())['find'](_0x2ec6a7=>_0x2ec6a7['is']('element','ol')&&_0x2ec6a7['hasClass']('footnotes-list'));}function N(_0x55b2ef,_0x444589){let _0x340e18='',_0x55ee34=_0x55b2ef;for(;_0x55ee34>0x0;){const _0x58a9d2=(_0x55ee34-0x1)%0x1a;_0x340e18=String['fromCharCode'](0x61+_0x58a9d2)+_0x340e18,_0x55ee34=Math['floor']((_0x55ee34-0x1)/0x1a);}return _0x444589?_0x340e18['toUpperCase']():_0x340e18;}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(_0x54af8c,_0x1a28c8){let _0x2fe1c8='',_0x476acb=_0x54af8c;for(const {value:_0x5eedf2,numeral:_0x43d59d}of V)for(;_0x476acb>=_0x5eedf2;)_0x2fe1c8+=_0x43d59d,_0x476acb-=_0x5eedf2;return _0x1a28c8?_0x2fe1c8:_0x2fe1c8['toLowerCase']();}class R extends _0x598a65{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x59730d();['focusCycler'];constructor(_0x140f7b,{styleButtonViews:_0x485973,styleGridAriaLabel:_0x4a03a0}){super(_0x140f7b),(this['focusCycler']=new _0x33f2d0({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x485973,_0x4a03a0),[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 _0x58c4cd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x58c4cd['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 _0x2d43a8=_0x5ee5b6=>_0x5ee5b6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2d43a8),this['keystrokes']['set']('arrowleft',_0x2d43a8),this['keystrokes']['set']('arrowup',_0x2d43a8),this['keystrokes']['set']('arrowdown',_0x2d43a8);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1f5cd6,_0x282c60){const _0x58ad2f=new _0x598a65(this['locale']);return _0x58ad2f['children']=_0x58ad2f['createCollection'](),_0x58ad2f['children']['addMany'](_0x1f5cd6),_0x58ad2f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x282c60,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x58ad2f['children']}),_0x58ad2f['children']['delegate']('execute')['to'](this),_0x58ad2f['focus']=function(){for(const _0x3d1741 of this['children'])if(_0x3d1741 instanceof _0x5a5826&&_0x3d1741['isOn'])return void _0x3d1741['focus']();this['children']['first']['focus']();},_0x58ad2f['focusTracker']=new ot(),_0x58ad2f['keystrokes']=new rt(),_0x58ad2f['render'](),_0x58ad2f['keystrokes']['listenTo'](_0x58ad2f['element']),this['children']['add'](_0x58ad2f),_0x58ad2f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2f8045=this['_createStartIndexPropertyView'](),_0x59bea2=[_0x2f8045],_0x358b68=new st(this['locale'],_0x59bea2);return _0x358b68['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x358b68['buttonView']['bind']('isEnabled')['toMany'](_0x59bea2,'isEnabled',(..._0x4eb43b)=>_0x4eb43b['some'](_0x2dc55c=>_0x2dc55c)),_0x358b68['buttonView']['on']('change:isEnabled',(_0x191759,_0x2256eb,_0x644637)=>{_0x644637||(_0x358b68['isCollapsed']=!0x0);}),this['children']['add'](_0x358b68),[_0x2f8045,_0x358b68];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x475aea=new it(this['locale'],et);return _0x475aea['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x475aea['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x475aea['fieldView']['on']('input',()=>{const _0x3ea280=_0x475aea['fieldView']['element'],_0x26c565=_0x3ea280['valueAsNumber'];Number['isNaN'](_0x26c565)?_0x475aea['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3ea280['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26c565}):_0x475aea['errorText']=t(_0x26c565<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x475aea;}}class j extends _0x5179dc{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5ca3d1,_0x2921ea];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe2268a}=this,{componentFactory:_0x280e8d}=_0xe2268a['ui'];_0xe2268a['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x280e8d['add']('footnotesStyle',function(_0x4a4fa6){return _0x1fae73=>{const {t:t}=_0x1fae73,_0x4b8a50=_0x4a4fa6['commands']['get']('footnotesStyle'),_0x25a953=_0x4d2ba8(_0x1fae73),{buttonView:_0x3ec7ba}=_0x25a953;return _0x25a953['class']='ck-footnotes-styles-dropdown',_0x25a953['bind']('isEnabled')['to'](_0x4b8a50,'isEnabled'),_0x3ec7ba['set']({'label':t('Footnotes\x20style'),'icon':_0x2f9429,'tooltip':!0x0}),_0x25a953['once']('change:isOpen',()=>{const _0x2203d1=function({editor:_0x52e97c,dropdownView:_0x168b6e}){const {t:t}=_0x52e97c['locale'],_0xfa9b75=t('Footnotes\x20definitions\x20styles'),_0x59d2c1=function(_0x4038b0){const t=_0x4038b0['locale']['t'],_0x37c5da=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x472a58},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x261097},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x551457},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xfbb47c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x406cc6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x7a4d33}];return _0x37c5da['map'](function(_0x8e123e){const _0xd071a2=_0x8e123e['locale'];return({label:_0x5a2dc2,icon:_0x2c9a65,tooltip:_0x5adbe6,style:_0x52b9c8})=>{const _0x5290b5=_0x8e123e['commands']['get']('footnotesStyle'),_0x5ed5d8=new _0x5a5826(_0xd071a2);return _0x5ed5d8['set']({'label':_0x5a2dc2,'icon':_0x2c9a65,'tooltip':_0x5adbe6}),_0x5ed5d8['bind']('isOn')['to'](_0x5290b5,'value',_0x1da15a=>_0x1da15a===_0x52b9c8),_0x5ed5d8['bind']('isEnabled')['to'](_0x5290b5,'isEnabled'),_0x5ed5d8['on']('execute',()=>{_0x8e123e['execute']('footnotesStyle',{'value':_0x52b9c8}),_0x8e123e['editing']['view']['focus']();}),_0x5ed5d8;};}(_0x4038b0));}(_0x52e97c),_0x2b7ddf=new R(_0x52e97c['locale'],{'styleGridAriaLabel':_0xfa9b75,'styleButtonViews':_0x59d2c1});return _0x2b7ddf['delegate']('execute')['to'](_0x168b6e),_0x2b7ddf['on']('footnotesListStart',(_0x21a1d0,_0x38efd3)=>{_0x52e97c['execute']('footnotesStart',{'value':_0x38efd3['startIndex']});}),_0x2b7ddf;}({'editor':_0x4a4fa6,'dropdownView':_0x25a953});_0x25a953['panelView']['children']['add'](_0x2203d1);}),_0x25a953;};}(_0xe2268a));}['afterInit'](){const {editor:_0x17e83c}=this,{t:t}=_0x17e83c['locale'],_0x3a4b9d=_0x17e83c['plugins']['get'](_0x2921ea),{defaultPositions:_0x45cea7}=_0x3cf828;_0x3a4b9d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x17e83c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x524286=>{let _0x2ae788=_0x524286['getFirstPosition']()?.['parent'];return _0x2ae788?.['is']('$text')&&(_0x2ae788=_0x2ae788['parent']),_0x2ae788?.['is']('element')?_0x2ae788['findAncestor']($):null;},'positions':[_0x45cea7['southArrowNorth'],_0x45cea7['southArrowNorthMiddleWest'],_0x45cea7['southArrowNorthMiddleEast'],_0x45cea7['southArrowNorthWest'],_0x45cea7['southArrowNorthEast'],_0x45cea7['northArrowSouth'],_0x45cea7['northArrowSouthMiddleWest'],_0x45cea7['northArrowSouthMiddleEast'],_0x45cea7['northArrowSouthWest'],_0x45cea7['northArrowSouthEast'],_0x45cea7['viewportStickyNorth']]});}}class ft extends _0x5179dc{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2ea446=>0x1!=_0x2ea446}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1a5990=>{const {af:{dictionary:_0x9785c2,getPluralForm:_0x4b8888}}={'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':_0x231206=>0x1!=_0x231206}};_0x1a5990['af']||={'dictionary':{},'getPluralForm':null},_0x1a5990['af']['dictionary']=Object['assign'](_0x1a5990['af']['dictionary'],_0x9785c2),_0x1a5990['af']['getPluralForm']=_0x4b8888;})(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':_0x354f18=>0x0==_0x354f18?0x0:0x1==_0x354f18?0x1:0x2==_0x354f18?0x2:_0x354f18%0x64>=0x3&&_0x354f18%0x64<=0xa?0x3:_0x354f18%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4edb29=>{const {ar:{dictionary:_0x46219d,getPluralForm:_0x197a68}}={'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':_0x3ab15b=>0x0==_0x3ab15b?0x0:0x1==_0x3ab15b?0x1:0x2==_0x3ab15b?0x2:_0x3ab15b%0x64>=0x3&&_0x3ab15b%0x64<=0xa?0x3:_0x3ab15b%0x64>=0xb?0x4:0x5}};_0x4edb29['ar']||={'dictionary':{},'getPluralForm':null},_0x4edb29['ar']['dictionary']=Object['assign'](_0x4edb29['ar']['dictionary'],_0x46219d),_0x4edb29['ar']['getPluralForm']=_0x197a68;})(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':_0x4bbc3f=>0x1!=_0x4bbc3f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38485f=>{const {ast:{dictionary:_0x574b95,getPluralForm:_0x341a94}}={'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':_0xd7bbae=>0x1!=_0xd7bbae}};_0x38485f['ast']||={'dictionary':{},'getPluralForm':null},_0x38485f['ast']['dictionary']=Object['assign'](_0x38485f['ast']['dictionary'],_0x574b95),_0x38485f['ast']['getPluralForm']=_0x341a94;})(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':_0x5dd7e3=>0x1!=_0x5dd7e3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b4353=>{const {az:{dictionary:_0x4dd8ae,getPluralForm:_0x525d98}}={'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':_0x334515=>0x1!=_0x334515}};_0x5b4353['az']||={'dictionary':{},'getPluralForm':null},_0x5b4353['az']['dictionary']=Object['assign'](_0x5b4353['az']['dictionary'],_0x4dd8ae),_0x5b4353['az']['getPluralForm']=_0x525d98;})(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':_0x5d1693=>_0x5d1693%0xa==0x1&&_0x5d1693%0x64!=0xb?0x0:_0x5d1693%0xa>=0x2&&_0x5d1693%0xa<=0x4&&(_0x5d1693%0x64<0xa||_0x5d1693%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x53046c=>{const {be:{dictionary:_0x152fbc,getPluralForm:_0x412222}}={'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':_0x5e16de=>_0x5e16de%0xa==0x1&&_0x5e16de%0x64!=0xb?0x0:_0x5e16de%0xa>=0x2&&_0x5e16de%0xa<=0x4&&(_0x5e16de%0x64<0xa||_0x5e16de%0x64>=0x14)?0x1:0x2}};_0x53046c['be']||={'dictionary':{},'getPluralForm':null},_0x53046c['be']['dictionary']=Object['assign'](_0x53046c['be']['dictionary'],_0x152fbc),_0x53046c['be']['getPluralForm']=_0x412222;})(window['CKEDITOR_TRANSLATIONS']||={});
|