@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251223.0 → 0.0.0-nightly-next-20251223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1a8ddf,Command as _0x3bb02b}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x43298a,isWidget as _0x49bfef,toWidgetEditable as _0x48679e,WidgetToolbarRepository as _0x51fccb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x26ed71,logWarning as _0x31fc82,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x147600,ClickObserver as _0x1c9156}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x452c17}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2df27e,ButtonView as _0x4c1de4,View as _0xed2191,ViewCollection as _0x1b2cd6,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x18d672,BalloonPanelView as _0x4c3d54,createDropdown as _0x24c479}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x341053,IconListStyleDecimal as _0xb8e1d4,IconListStyleDecimalLeadingZero as _0x29da1a,IconListStyleLowerRoman as _0x434059,IconListStyleUpperRoman as _0x1771e1,IconListStyleLowerLatin as _0x3750f7,IconListStyleUpperLatin as _0x1f761b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x133087,_0x2405ad){this['_model']=_0x133087,this['_elementName']=_0x2405ad['elementName'],this['_getElementKey']=_0x2405ad['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xe01c93){const _0x56ddbb=new Set(),_0x18e3a7=new Map();for(const _0x1ad168 of _0xe01c93){if('insert'===_0x1ad168['type']&&'$text'!==_0x1ad168['name']&&_0x1ad168['position']['nodeAfter']){const _0x46a6ff=this['_model']['createRangeOn'](_0x1ad168['position']['nodeAfter']);for(const _0x13951f of _0x46a6ff['getItems']()){if(!_0x13951f['is']('element',this['_elementName']))continue;const _0x5e02a4=this['_getElementKey'](_0x13951f);_0x18e3a7['has'](_0x5e02a4)||_0x18e3a7['set'](_0x5e02a4,[]),_0x18e3a7['get'](_0x5e02a4)['push'](_0x13951f);}}if('remove'===_0x1ad168['type']&&_0x1ad168['name']===this['_elementName']){const _0x2a731d=this['_getElementKey']({'getAttribute':_0x5b0870=>_0x1ad168['attributes']['get'](_0x5b0870)});_0x56ddbb['add'](_0x2a731d);}}for(const [_0x538f07,_0xda2f03]of this['_trackedElements'])'$graveyard'===_0xda2f03['root']['rootName']&&_0x56ddbb['add'](_0x538f07);for(const _0x14f3b5 of _0x56ddbb)this['_trackedElements']['delete'](_0x14f3b5);for(const [_0xeb6683,_0x327e57]of _0x18e3a7)this['_trackedElements']['set'](_0xeb6683,_0x327e57[_0x327e57['length']-0x1]);const _0x24e84c=new Set();for(const [_0x1097ff,_0x51e43c]of _0x18e3a7)_0x56ddbb['has'](_0x1097ff)&&(_0x24e84c['add'](_0x51e43c[0x0]),_0x51e43c['length']>0x1?_0x18e3a7['set'](_0x1097ff,_0x51e43c['slice'](0x1)):_0x18e3a7['delete'](_0x1097ff),_0x56ddbb['delete'](_0x1097ff));return{'removed':Array['from'](_0x56ddbb),'inserted':Array['from'](_0x18e3a7['values']())['flat'](),'moved':Array['from'](_0x24e84c)};}}class f extends _0x1a8ddf{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x52a24d){super(_0x52a24d),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x59db98=>_0x59db98['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x30f3d6=>_0x30f3d6['getAttribute']('footnoteId')});}['init'](){const {editor:_0xf4616d}=this,{model:_0x45ecf3,data:_0x4c145a}=_0xf4616d;_0x45ecf3['document']['registerPostFixer'](_0x3fce36=>{const _0x4dda80=_0x45ecf3['document']['differ']['getChanges']();let _0x299041=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3fce36,_0x4dda80)&&(_0x299041=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3fce36,_0x4dda80)&&(_0x299041=!0x0),this['_handleFootnoteReferencesChanges'](_0x3fce36,_0x4dda80)&&(_0x299041=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3fce36)&&(_0x299041=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3fce36)&&(_0x299041=!0x0),this['_sortFootnoteDefinitions'](_0x3fce36)&&(_0x299041=!0x0),_0x299041;}),this['listenTo'](_0x45ecf3['document'],'change:data',()=>{_0x45ecf3['enqueueChange']({'isUndoable':!0x1},_0x3163c2=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3163c2);});},{'priority':'low'}),this['listenTo'](_0x4c145a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5bda5f){return this['_footnotes']['find'](_0x4d252b=>_0x4d252b['id']===_0x5bda5f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x16a937){this['_footnoteFormatter']=_0x16a937;}['_updateFootnotesCounters'](_0x3487a4,_0x43dd5b=0x0){let _0x140be9=!0x1;for(let _0x5380dc=_0x43dd5b;_0x5380dc<this['_footnotes']['length'];_0x5380dc++)this['_updateFootnoteRefCounter'](_0x3487a4,_0x5380dc)&&(_0x140be9=!0x0);return _0x140be9;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5b75a8,_0x57e9fa){const _0x586276=_0x5b75a8['createElement']('footnotesDefinitions',{});return _0x5b75a8['append'](_0x586276,_0x57e9fa),this['_footnotesDefinitions']=_0x586276,_0x586276;}['_ensureFootnotesDefinitionsContainerExists'](_0x59c6bd){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x56ab43=this['_footnotes'][0x0]['reference']['root'],_0x192bb1=this['_insertEmptyFootnotesDefinitionsContainer'](_0x59c6bd,_0x56ab43);for(const _0x187737 of this['_footnotes'])_0x187737['definition']['parent']||_0x59c6bd['insert'](_0x187737['definition'],_0x192bb1,'end');this['_updateFootnotesCounters'](_0x59c6bd);}['_handleFootnotesDefinitionsObjectChanges'](_0x115915,_0x145b43){let _0xeb661b=!0x1;const {inserted:_0x278442,removed:_0x568cb0,moved:_0x40bc60}=this['_footnoteDefsContainerTracker']['getChanges'](_0x145b43);if(_0x40bc60['length']&&(this['_footnotesDefinitions']=_0x40bc60[0x0]),_0x278442['length']){if(_0x278442['length']>0x1||this['_footnotesDefinitions']&&_0x278442['some'](_0x4a763d=>_0x4a763d!==this['_footnotesDefinitions'])){const _0x71988c=_0x115915['createElement']('footnotesDefinitions',{}),_0x4c56cf=[];this['_footnotesDefinitions']&&_0x4c56cf['push'](this['_footnotesDefinitions']),_0x4c56cf['push'](..._0x278442),_0x115915['insert'](_0x71988c,_0x4c56cf[0x0],'before');for(const _0x37b5d7 of _0x4c56cf)_0x115915['move'](_0x115915['createRangeIn'](_0x37b5d7),_0x115915['createPositionAt'](_0x71988c,'end')),_0x115915['remove'](_0x37b5d7);this['_footnotesDefinitions']=_0x71988c,this['_updateFootnotesCounters'](_0x115915),_0xeb661b=!0x0;}else this['_footnotesDefinitions']=_0x278442[0x0];}if(_0x568cb0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1f182c of this['_footnotes'])_0x115915['remove'](_0x1f182c['reference']),_0xeb661b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xeb661b;}['_handleFootnoteDefinitionsChanges'](_0x5444d7,_0x16473e){let _0x435b53=!0x1;const _0x477cbf=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5549e0,moved:_0x2e57f4}=this['_footnoteDefsTracker']['getChanges'](_0x16473e);for(const _0x41b4ea of[..._0x2e57f4,..._0x5549e0]){const _0x24b0a5=_0x41b4ea['getAttribute']('footnoteId'),_0x3f8bcb=this['getFootnote'](_0x24b0a5);_0x3f8bcb&&(_0x3f8bcb['definition']=_0x41b4ea),_(_0x5444d7,_0x477cbf,_0x41b4ea)&&(_0x435b53=!0x0);}return _0x435b53;}['_handleFootnoteReferencesChanges'](_0x570bac,_0x5808ea){let _0x224922=!0x1;const {removed:_0x21f58e,inserted:_0x4b13c2,moved:_0x2ffb19}=this['_footnoteRefsTracker']['getChanges'](_0x5808ea);for(const _0x2d88a3 of _0x21f58e)this['_handleRemoveFootnoteReferenceById'](_0x570bac,_0x2d88a3)&&(_0x224922=!0x0);for(const _0x15cd2a of _0x4b13c2)this['_handleInsertedFootnoteReference'](_0x570bac,_0x15cd2a)&&(_0x224922=!0x0);for(const _0x109aa4 of _0x2ffb19)this['_handleMovedFootnoteReference'](_0x570bac,_0x109aa4)&&(_0x224922=!0x0);return _0x224922;}['_handleFootnotesDefinitionsObjectSync'](_0x7c1802){if(!this['_footnotesDefinitions'])return!0x1;let _0x173536=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1d7bda=[];for(const _0x289051 of this['_footnotesDefinitions']['getChildren']()){const _0x9eeef3=_0x289051['getAttribute']('footnoteId');this['getFootnote'](_0x9eeef3)||(_0x1d7bda['unshift'](_0x289051),_0x173536=!0x0);}for(const _0x59210f of _0x1d7bda)_0x7c1802['remove'](_0x59210f);}const _0x5e35a5=new Set(),_0x403e7e=[];for(const _0x484c47 of this['_footnotesDefinitions']['getChildren']()){const _0x317ae3=_0x484c47['getAttribute']('footnoteId');_0x5e35a5['has'](_0x317ae3)?(_0x403e7e['unshift'](_0x484c47),_0x173536=!0x0):_0x5e35a5['add'](_0x317ae3);}for(const _0x362e96 of _0x403e7e)_0x7c1802['remove'](_0x362e96);return this['_footnotesDefinitions']['childCount']||(_0x7c1802['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x173536=!0x0),_0x173536;}['_handleInsertedFootnoteReference'](_0x7fc814,_0x286245){if(this['_footnotes']['find'](_0x3884c4=>_0x3884c4['reference']===_0x286245))return!0x1;let _0x1adef1=!0x1;const _0x4734db=_0x286245['getAttribute']('footnoteId'),_0x12fec3=this['_footnotes']['findIndex'](_0x3fe7d2=>_0x3fe7d2['id']===_0x4734db);-0x1!==_0x12fec3&&(_0x7fc814['remove'](this['_footnotes'][_0x12fec3]['reference']),this['_footnotes']['splice'](_0x12fec3,0x1),_0x1adef1=!0x0);let _0x5f0e2a=this['_footnotesDefinitions']?function(_0xc9a9e1,_0x4299a3){for(const _0x9e9e2a of _0xc9a9e1['getChildren']())if(_0x9e9e2a['getAttribute']('footnoteId')===_0x4299a3)return _0x9e9e2a;return null;}(this['_footnotesDefinitions'],_0x4734db):null;_0x5f0e2a||(_0x5f0e2a=_0x7fc814['createElement']('footnoteDefinition',{'footnoteId':_0x4734db}),this['_footnotesDefinitions']&&(_0x7fc814['insert'](_0x5f0e2a,this['_footnotesDefinitions'],'end'),_0x1adef1=!0x0));const _0x14f950={'id':_0x4734db,'reference':_0x286245,'definition':_0x5f0e2a},_0x5d201c=I(this['editor']['model'],this['_footnotes'],_0x286245);this['_footnotes']['splice'](_0x5d201c,0x0,_0x14f950);let _0x501492=_0x5d201c;return-0x1!==_0x12fec3&&(_0x501492=Math['min'](_0x5d201c,_0x12fec3)),this['_updateFootnotesCounters'](_0x7fc814,_0x501492)&&(_0x1adef1=!0x0),_0x1adef1;}['_handleRemoveFootnoteReferenceById'](_0x5b7ef1,_0xa6961d){const _0x5edff0=this['_footnotes']['findIndex'](_0x386c3a=>_0x386c3a['id']===_0xa6961d);if(-0x1===_0x5edff0)return!0x1;let _0x203ebf=!0x1;const _0x183e63=this['_footnotes'][_0x5edff0];return'$graveyard'!==_0x183e63['definition']['root']['rootName']&&(_0x5b7ef1['remove'](_0x183e63['definition']),_0x203ebf=!0x0),this['_footnotes']['splice'](_0x5edff0,0x1),this['_updateFootnotesCounters'](_0x5b7ef1,_0x5edff0)&&(_0x203ebf=!0x0),_0x203ebf;}['_handleMovedFootnoteReference'](_0x419250,_0x1e341f){const _0x166306=_0x1e341f['getAttribute']('footnoteId'),_0x404973=this['_footnotes']['findIndex'](_0x3791bc=>_0x3791bc['id']===_0x166306),_0x41952d=this['_footnotes'][_0x404973];let _0x28fa38=!0x1;_0x41952d['reference']=_0x1e341f,this['_footnotes']['splice'](_0x404973,0x1);const _0x5bb7cc=I(this['editor']['model'],this['_footnotes'],_0x1e341f);return this['_footnotes']['splice'](_0x5bb7cc,0x0,_0x41952d),this['_updateFootnotesCounters'](_0x419250,Math['min'](_0x404973,_0x5bb7cc))&&(_0x28fa38=!0x0),_0x28fa38;}['_updateFootnoteRefCounter'](_0x33bce5,_0x203ec0){if(!this['_footnotesDefinitions'])return!0x1;const _0x765e18=this['_footnotes'][_0x203ec0];let _0x12e5bd;return _0x12e5bd=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x765e18,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x203ec0+0x1}):String(_0x203ec0+0x1),_0x765e18['reference']['getAttribute']('footnoteCounter')!=_0x12e5bd&&(_0x33bce5['setAttribute']('footnoteCounter',_0x12e5bd,_0x765e18['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x292183){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3ecdab,_0x2513fe){if(_0x3ecdab['length']!==_0x2513fe['length'])return!0x1;for(let _0x4e3405=0x0;_0x4e3405<_0x3ecdab['length'];_0x4e3405++)if(_0x3ecdab[_0x4e3405]!==_0x2513fe[_0x4e3405])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xbd74f7=>_0xbd74f7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5a3f24=>_0x5a3f24['getAttribute']('footnoteId'))))return!0x1;let _0x5b9e02=!0x1;for(let _0x13e701=0x0;_0x13e701<this['_footnotes']['length'];_0x13e701++){const _0xad8bee=this['_footnotes'][_0x13e701],_0x153701=_0x292183['createPositionBefore'](_0xad8bee['definition']),_0x5e0d23=_0x292183['createPositionAt'](this['_footnotesDefinitions'],_0x13e701);_0x153701['isEqual'](_0x5e0d23)||(_0x292183['move'](_0x292183['createRangeOn'](_0xad8bee['definition']),_0x5e0d23),_0x5b9e02=!0x0);}return _0x5b9e02;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2c65ee){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3fe3ab}=this['editor'];let _0x3cd062=!0x1;for(let _0x2c925f=0x0;_0x2c925f<this['_footnotes']['length']-0x1;_0x2c925f++){const _0x324459=this['_footnotes'][_0x2c925f],_0xa884f6=this['_footnotes'][_0x2c925f+0x1],_0x960d31=_0x3fe3ab['createPositionBefore'](_0x324459['reference']),_0x1a5181=_0x3fe3ab['createPositionBefore'](_0xa884f6['reference']);'after'===_0x960d31['compareWith'](_0x1a5181)&&(this['_handleMovedFootnoteReference'](_0x2c65ee,_0x324459['reference']),_0x2c925f=-0x1,_0x3cd062=!0x0);}return _0x3cd062;}}function _(_0x3e53f5,_0x74fecc,_0xcf938c){if(_0xcf938c['childCount'])return!0x1;const _0x3471c5=_0x74fecc?'paragraph':'footnoteInlineContent';return _0x3e53f5['insert'](_0x3e53f5['createElement'](_0x3471c5),_0xcf938c),!0x0;}function I(_0x3f7a30,_0x382491,_0x598178){if(0x0===_0x382491['length'])return 0x0;const _0x41d990=_0x3f7a30['createPositionBefore'](_0x598178);for(let _0x3249de=0x0;_0x3249de<_0x382491['length'];_0x3249de++){const _0x3b2894=_0x382491[_0x3249de],_0x2a8922=_0x3f7a30['createPositionBefore'](_0x3b2894['reference']);if('before'===_0x41d990['compareWith'](_0x2a8922))return _0x3249de;}const _0x15dc47=_0x598178['root'];let _0x2207f9=-0x1;for(let _0x1f11f8=_0x382491['length']-0x1;_0x1f11f8>=0x0;_0x1f11f8--)if(_0x382491[_0x1f11f8]['reference']['root']===_0x15dc47){_0x2207f9=_0x1f11f8;break;}if(-0x1!==_0x2207f9)return _0x2207f9+0x1;const _0x252b9e=_0x3f7a30['document']['getRootNames'](),_0x1f63d0=_0x252b9e['indexOf'](_0x15dc47['rootName']),_0xff28a5=_0x252b9e[_0x1f63d0+0x1];if(_0xff28a5){for(let _0x5be37f=0x0;_0x5be37f<_0x382491['length'];_0x5be37f++)if(_0x382491[_0x5be37f]['reference']['root']['rootName']===_0xff28a5)return _0x5be37f;}return _0x382491['length'];}class h extends _0x3bb02b{['refresh'](){const _0x3b9029=this['editor']['model']['document']['selection'],_0x11172c=this['_getPositionToInsertFootnote'](_0x3b9029);this['isEnabled']=!!_0x11172c;}['execute'](_0x536c5b){const {editor:_0x109d6f}=this,{model:_0x57bd02}=_0x109d6f,{selection:_0x44dcdc}=_0x57bd02['document'],_0x266181=this['_getPositionToInsertFootnote'](_0x44dcdc);if(!_0x266181)return;const _0x3fc32e=_0x109d6f['plugins']['get']('FootnotesEditing'),_0x3eb16f=_0x536c5b?.['footnoteId']??_0x26ed71();!function(_0x10945c){return'string'==typeof _0x10945c&&_0x10945c['length']>0x0&&!/\s/['test'](_0x10945c)&&!/^\d/['test'](_0x10945c);}(_0x3eb16f)?_0x31fc82('insert-footnote-command-executed-with-invalid-id'):(_0x57bd02['change'](_0x2ae757=>{const _0x164ff0=_0x2ae757['createElement']('footnoteRef',{'footnoteId':_0x3eb16f});_0x57bd02['insertObject'](_0x164ff0,_0x266181,null);}),_0x3fc32e['_moveSelectionToFootnoteDefinition'](_0x3eb16f));}['_getPositionToInsertFootnote'](_0x32d37f){const {model:_0x23dbd1}=this['editor'],{schema:_0x7517df}=_0x23dbd1,_0x223c19=_0x32d37f['getFirstRange']();for(const _0x321422 of _0x223c19['getItems']())if(_0x7517df['isBlock'](_0x321422)||_0x7517df['isObject'](_0x321422))return null;const _0x55c1c5=_0x223c19['end'];return _0x7517df['checkChild'](_0x55c1c5,'footnoteRef')?_0x55c1c5:null;}}class r extends _0x1a8ddf{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x375959}=this;_0x375959['config']['define']('footnotes.multiBlock',!0x0),_0x375959['commands']['add']('insertFootnote',new h(_0x375959)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x13e95f){const _0x2ee62e=_0x365ee9([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]),_0x1029ec=0x47a28506,_0x5ee5b9=0x47a5f9be^_0x1029ec,_0x45047b=window[_0x365ee9([0x44,0x61,0x74,0x65])][_0x365ee9([0x6e,0x6f,0x77])](),_0x37de61=_0x13e95f[_0x365ee9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a3fd2=new window[(_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56e38e=>{_0x37de61[_0x365ee9([0x6f,0x6e,0x63,0x65])](_0x365ee9([0x72,0x65,0x61,0x64,0x79]),_0x56e38e);}),_0x289e30={[_0x365ee9([0x6b,0x74,0x79])]:_0x365ee9([0x45,0x43]),[_0x365ee9([0x75,0x73,0x65])]:_0x365ee9([0x73,0x69,0x67]),[_0x365ee9([0x63,0x72,0x76])]:_0x365ee9([0x50,0x2d,0x32,0x35,0x36]),[_0x365ee9([0x78])]:_0x365ee9([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]),[_0x365ee9([0x79])]:_0x365ee9([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]),[_0x365ee9([0x61,0x6c,0x67])]:_0x365ee9([0x45,0x53,0x32,0x35,0x36])},_0x595fa2=_0x37de61[_0x365ee9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x365ee9([0x67,0x65,0x74])](_0x365ee9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e1811(){let _0x464b15,_0x5575bc=null,_0x49bfb2=null;try{if(_0x595fa2==_0x365ee9([0x47,0x50,0x4c]))return _0x365ee9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x464b15=_0xb8112c(),!_0x464b15)return _0x365ee9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x464b15[_0x365ee9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49bfb2=_0x4a3c3d(_0x464b15[_0x365ee9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x464b15[_0x365ee9([0x6a,0x74,0x69])])),await _0x10d7bb()?_0x32f2c2()?_0x3cbc91()?_0x365ee9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25babb()?(_0x464b15[_0x365ee9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x365ee9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5575bc=_0xde21a2(_0x365ee9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x464b15[_0x365ee9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x365ee9([0x74,0x72,0x69,0x61,0x6c])&&(_0x5575bc=_0xde21a2(_0x365ee9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x509b55()):_0x365ee9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x365ee9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x365ee9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x365ee9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cbc91(){const _0x409d73=[_0x365ee9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x365ee9([0x74,0x72,0x69,0x61,0x6c])][_0x365ee9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x464b15[_0x365ee9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45047b/0x3e8:0xe10*_0x5ee5b9;return _0x464b15[_0x365ee9([0x65,0x78,0x70])]<_0x409d73;}function _0x32f2c2(){const _0xc806f5=_0x464b15[_0x365ee9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc806f5&&(!!_0xc806f5[_0x365ee9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365ee9([0x2a]))||!!_0xc806f5[_0x365ee9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365ee9([0x46,0x4f,0x4f])));}function _0x25babb(){const _0x5ee00d=_0x464b15[_0x365ee9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ee00d||0x0==_0x5ee00d[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6c0c82}=new URL(window[_0x365ee9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ee00d[_0x365ee9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6c0c82))return!0x0;const _0x24ecf9=_0x6c0c82[_0x365ee9([0x73,0x70,0x6c,0x69,0x74])](_0x365ee9([0x2e]));return _0x5ee00d[_0x365ee9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49fb66=>_0x49fb66[_0x365ee9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x365ee9([0x2a])))[_0x365ee9([0x6d,0x61,0x70])](_0x33e01a=>_0x33e01a[_0x365ee9([0x73,0x70,0x6c,0x69,0x74])](_0x365ee9([0x2e])))[_0x365ee9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28abdb=>_0x28abdb[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24ecf9[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x365ee9([0x6d,0x61,0x70])](_0x3f8218=>Array(_0x24ecf9[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f8218[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x365ee9([0x66,0x69,0x6c,0x6c])](_0x3f8218[0x0]===_0x365ee9([0x2a])?_0x365ee9([0x2a]):'')[_0x365ee9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f8218))[_0x365ee9([0x73,0x6f,0x6d,0x65])](_0x394685=>_0x24ecf9[_0x365ee9([0x65,0x76,0x65,0x72,0x79])]((_0x246eae,_0xb3d5a7)=>_0x394685[_0xb3d5a7]===_0x246eae||_0x394685[_0xb3d5a7]===_0x365ee9([0x2a])));}function _0x509b55(){return _0x5575bc&&_0x49bfb2?new window[(_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59ae81,_0x131aa3)=>{_0x5575bc[_0x365ee9([0x74,0x68,0x65,0x6e])](_0x59ae81,_0x131aa3),_0x49bfb2[_0x365ee9([0x74,0x68,0x65,0x6e])](_0x4b2d6d=>{_0x4b2d6d!=_0x365ee9([0x56,0x61,0x6c,0x69,0x64])&&_0x59ae81(_0x4b2d6d);},_0x131aa3);}):_0x5575bc||_0x49bfb2||_0x365ee9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a3c3d(_0x556686,_0x2614bb){return new window[(_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470f56=>{if(_0x3a3697())return _0x470f56(_0x365ee9([0x56,0x61,0x6c,0x69,0x64]));_0x592e9a(),_0x37de61[_0x365ee9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x365ee9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d2244=!0x1;const _0x4fc799=_0x26ed71();function _0x139850(_0x3107f8){return!!_0x3107f8&&(typeof _0x3107f8===_0x365ee9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3107f8===_0x365ee9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3107f8[_0x365ee9([0x74,0x68,0x65,0x6e])]===_0x365ee9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3107f8[_0x365ee9([0x63,0x61,0x74,0x63,0x68])]===_0x365ee9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x33898f(_0x58da6b){_0x2ce0bb(_0x58da6b)[_0x365ee9([0x74,0x68,0x65,0x6e])](_0xa998f0=>{if(!_0xa998f0||_0xa998f0[_0x365ee9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x365ee9([0x6f,0x6b]))return _0x365ee9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e6cbc(_0x231d72(_0x4fc799+_0x2614bb))!=_0xa998f0[_0x365ee9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x365ee9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x365ee9([0x56,0x61,0x6c,0x69,0x64]);})[_0x365ee9([0x74,0x68,0x65,0x6e])](_0xc4c202=>(_0x153221(),_0xc4c202),()=>{const _0x4f6818=_0x4ae69c();return null==_0x4f6818?(_0x153221(),_0x365ee9([0x56,0x61,0x6c,0x69,0x64])):_0x365ee9(_0x45047b-_0x4f6818>(0x63ae0106^_0x1029ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x365ee9([0x74,0x68,0x65,0x6e])](_0x470f56)[_0x365ee9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x470f56(_0x365ee9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x405adc=0x47946b86^_0x1029ec;function _0x153221(){const _0x1ba1b1=_0x365ee9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e6cbc(_0x231d72(_0x556686)),_0x376171=_0x1a8317(_0x4e6cbc(window[_0x365ee9([0x4d,0x61,0x74,0x68])][_0x365ee9([0x63,0x65,0x69,0x6c])](_0x45047b/_0x405adc)));window[_0x365ee9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x365ee9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ba1b1,_0x376171);}function _0x4ae69c(){const _0x450cba=_0x365ee9([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e6cbc(_0x231d72(_0x556686)),_0x3d5998=window[_0x365ee9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x365ee9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x450cba);return _0x3d5998?window[_0x365ee9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a8317(_0x3d5998),0x10)*_0x405adc:null;}function _0x2ce0bb(_0x38a9e8){return new window[(_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50100b,_0x51b90b)=>{_0x38a9e8[_0x365ee9([0x74,0x68,0x65,0x6e])](_0x50100b,_0x51b90b),window[_0x365ee9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51b90b,0x47a351c6^_0x1029ec);});}}_0x37de61[_0x365ee9([0x6f,0x6e])](_0x365ee9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d529d,_0x49f4ee)=>{if(_0x49f4ee[0x0]!=_0x556686)return _0x470f56(_0x365ee9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49f4ee[0x1]={..._0x49f4ee[0x1],[_0x365ee9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4fc799};},{[_0x365ee9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x365ee9([0x68,0x69,0x67,0x68])}),_0x37de61[_0x365ee9([0x6f,0x6e])](_0x365ee9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xcd9d7=>{_0x139850(_0xcd9d7[_0x365ee9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d2244=!0x0,_0x33898f(_0xcd9d7[_0x365ee9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x365ee9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x365ee9([0x6c,0x6f,0x77])}),_0x5a3fd2[_0x365ee9([0x74,0x68,0x65,0x6e])](()=>{_0x4d2244||_0x470f56(_0x365ee9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a3697(){return _0x37de61[_0x365ee9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x365ee9([0x76,0x69,0x65,0x77])][_0x365ee9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x365ee9([0x61,0x75,0x74,0x6f]);}function _0x592e9a(){_0x37de61[_0x365ee9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x365ee9([0x76,0x69,0x65,0x77])][_0x365ee9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x365ee9([0x61,0x75,0x74,0x6f]);}}function _0xde21a2(_0x284e07){const _0xf321fb=[new window[(_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3081c1=>setTimeout(_0x3081c1,0x47abbbca^_0x1029ec)),_0x5a3fd2[_0x365ee9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x361ce4=>{let _0x9de394=0x0;_0x37de61[_0x365ee9([0x6d,0x6f,0x64,0x65,0x6c])][_0x365ee9([0x6f,0x6e])](_0x365ee9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f05a7,_0x2f0163)=>{_0x2f0163[0x0][_0x365ee9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x9de394++,_0x9de394==(0x47a280ee^_0x1029ec)&&(_0x361ce4(),_0x3f05a7[_0x365ee9([0x6f,0x66,0x66])]());});}))];return window[_0x365ee9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x365ee9([0x72,0x61,0x63,0x65])](_0xf321fb)[_0x365ee9([0x74,0x68,0x65,0x6e])](()=>_0x284e07);}async function _0x2f363a(){await _0x5a3fd2,_0x37de61[_0x365ee9([0x6d,0x6f,0x64,0x65,0x6c])][_0x365ee9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d2559,_0x37de61[_0x365ee9([0x6d,0x6f,0x64,0x65,0x6c])][_0x365ee9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d2559,_0x37de61[_0x365ee9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x365ee9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23870a(_0x34684f){const _0x848113=_0x22eda7();_0x37de61[_0x848113]=_0x365ee9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34684f,_0x34684f!=_0x365ee9([0x56,0x61,0x6c,0x69,0x64])&&_0x2f363a();}function _0x22eda7(){const _0x47948a=window[_0x365ee9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x365ee9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x365ee9([0x6e,0x6f,0x77])]())[_0x365ee9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x365ee9([0x2e]),'');let _0x682b98=_0x365ee9([0x75]);for(let _0x3dcf75=0x0;_0x3dcf75<_0x47948a[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3dcf75+=0x2){let _0x45abaf=window[_0x365ee9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47948a[_0x365ee9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3dcf75,_0x3dcf75+0x2));_0x45abaf>=_0x2ee62e[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45abaf-=_0x2ee62e[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x682b98+=_0x2ee62e[_0x45abaf];}return _0x682b98;}function _0xb8112c(){const _0x39329a=_0x595fa2[_0x365ee9([0x73,0x70,0x6c,0x69,0x74])](_0x365ee9([0x2e]));if(0x3!=_0x39329a[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x46cdfc(_0x39329a[0x1]);function _0x46cdfc(_0x504302){const _0xb424df=_0x42aee7(_0x504302);return _0xb424df&&_0x2b962d()?_0xb424df:null;function _0x2b962d(){const _0x38762a=_0xb424df[_0x365ee9([0x6a,0x74,0x69])],_0x519572=window[_0x365ee9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38762a[_0x365ee9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38762a[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x260b5b={..._0xb424df,[_0x365ee9([0x6a,0x74,0x69])]:_0x38762a[_0x365ee9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38762a[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x260b5b[_0x365ee9([0x76,0x63])],_0x231d72(_0x260b5b)==_0x519572;}}}async function _0x10d7bb(){let _0x4314c4=!0x0;try{const _0x7a1307=_0x595fa2[_0x365ee9([0x73,0x70,0x6c,0x69,0x74])](_0x365ee9([0x2e])),[_0x4eedab,_0x473258,_0x47b96c]=_0x7a1307;return _0x37d31f(_0x4eedab),await _0x22811f(_0x4eedab,_0x473258,_0x47b96c),_0x4314c4;}catch{return!0x1;}function _0x37d31f(_0x5838b0){const _0x5f5cec=_0x42aee7(_0x5838b0);_0x5f5cec&&_0x5f5cec[_0x365ee9([0x61,0x6c,0x67])]==_0x365ee9([0x45,0x53,0x32,0x35,0x36])||(_0x4314c4=!0x1);}async function _0x22811f(_0x218409,_0x4528ce,_0x164237){const _0x29c793=window[_0x365ee9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x365ee9([0x66,0x72,0x6f,0x6d])](_0x20c591(_0x164237),_0x228a13=>_0x228a13[_0x365ee9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b6ad0=new window[(_0x365ee9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x365ee9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x218409+_0x365ee9([0x2e])+_0x4528ce),_0x33cf7c=window[_0x365ee9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x365ee9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33cf7c)return;const _0xa18b0c=await _0x33cf7c[_0x365ee9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x365ee9([0x6a,0x77,0x6b]),_0x289e30,{[_0x365ee9([0x6e,0x61,0x6d,0x65])]:_0x365ee9([0x45,0x43,0x44,0x53,0x41]),[_0x365ee9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x365ee9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x365ee9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33cf7c[_0x365ee9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x365ee9([0x6e,0x61,0x6d,0x65])]:_0x365ee9([0x45,0x43,0x44,0x53,0x41]),[_0x365ee9([0x68,0x61,0x73,0x68])]:{[_0x365ee9([0x6e,0x61,0x6d,0x65])]:_0x365ee9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa18b0c,_0x29c793,_0x4b6ad0)||(_0x4314c4=!0x1);}}function _0x42aee7(_0x3d9175){return _0x3d9175[_0x365ee9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x365ee9([0x65,0x79]))?JSON[_0x365ee9([0x70,0x61,0x72,0x73,0x65])](_0x20c591(_0x3d9175)):null;}function _0x20c591(_0x43e0af){return window[_0x365ee9([0x61,0x74,0x6f,0x62])](_0x43e0af[_0x365ee9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x365ee9([0x2b]))[_0x365ee9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x365ee9([0x2f])));}function _0x231d72(_0x451dc6){let _0x1fc89f=0x1505;function _0x37cf3b(_0x514f41){for(let _0xd7247e=0x0;_0xd7247e<_0x514f41[_0x365ee9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd7247e++){const _0x4e73fc=_0x514f41[_0x365ee9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd7247e);_0x1fc89f=(_0x1fc89f<<0x5)+_0x1fc89f+_0x4e73fc,_0x1fc89f&=_0x1fc89f;}}function _0x5ed937(_0x2a3df2){Array[_0x365ee9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a3df2)?_0x2a3df2[_0x365ee9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ed937):_0x2a3df2&&typeof _0x2a3df2==_0x365ee9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x365ee9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a3df2)[_0x365ee9([0x73,0x6f,0x72,0x74])]()[_0x365ee9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b8ffa,_0x2cb77c])=>{_0x37cf3b(_0x1b8ffa),_0x5ed937(_0x2cb77c);}):_0x37cf3b(window[_0x365ee9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a3df2));}return _0x5ed937(_0x451dc6),_0x1fc89f>>>0x0;}function _0x4e6cbc(_0x30b29a){return _0x30b29a[_0x365ee9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x365ee9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x365ee9([0x30]));}function _0x1a8317(_0x322614){return _0x322614[_0x365ee9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x365ee9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x365ee9([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d2559(){}function _0x365ee9(_0x472c7a){return _0x472c7a['map'](_0x158317=>String['fromCharCode'](_0x158317))['join']('');}_0x23870a(await _0x2e1811());}(this);}['_moveSelectionToFootnoteDefinition'](_0x365cc0){const {plugins:_0x1e5bd5,editing:_0x5a286a,model:_0x3dbf8b}=this['editor'],_0x46012f=_0x1e5bd5['get'](f)['getFootnote'](_0x365cc0);return!!_0x46012f&&(_0x3dbf8b['change'](_0x574527=>{_0x574527['setSelection'](_0x574527['createPositionAt'](_0x46012f['definition'],'end'));}),_0x5a286a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4aea47){const {plugins:_0x3715bd,editing:_0xb06002,model:_0xb7b603}=this['editor'],_0x3226ea=_0x3715bd['get'](f)['getFootnote'](_0x4aea47);return!!_0x3226ea&&(_0xb7b603['change'](_0x2b7b9d=>{_0x2b7b9d['setSelection'](_0x3226ea['reference'],'on');}),_0xb06002['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2ae73d}=this['editor']['model'],_0x4835b5=this['editor']['config']['get']('footnotes.multiBlock');_0x2ae73d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2ae73d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2ae73d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4835b5?_0x2ae73d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2ae73d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2ae73d['addChildCheck'](_0x37c279=>{for(const _0x4beda0 of _0x37c279)if('footnoteDefinition'===_0x4beda0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x25f6e9}=this,{conversion:_0x33d88f,editing:_0x5cf4a7}=_0x25f6e9,{t:t}=_0x25f6e9['locale'];_0x33d88f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x52d49e,{writer:_0x25cc55,consumable:_0xfdd6ab})=>{const _0x56a15e=_0x52d49e['getChild'](0x0);if(!_0x56a15e||!_0x56a15e['is']('element','a'))return null;const _0x33a0f3=_0x56a15e['getAttribute']('href')||'';if(!_0x33a0f3['startsWith']('#'))return null;const _0x52a0c9=_0x33a0f3['replace'](/^#/,'');if(!_0x52a0c9)return null;_0xfdd6ab['consume'](_0x56a15e,{'name':!0x0,'attributes':['href']});for(const {item:_0x31e757}of _0x5cf4a7['view']['createRangeIn'](_0x56a15e))_0x31e757['is']('$textProxy')?_0xfdd6ab['consume'](_0x31e757['textNode'],{'name':!0x0}):_0x31e757['is']('element')&&_0xfdd6ab['consume'](_0x31e757,{'name':!0x0});return _0x25cc55['createElement']('footnoteRef',{'footnoteId':_0x52a0c9});}}),_0x33d88f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25de9e,{writer:_0x36a2a1})=>b(_0x25de9e,_0x36a2a1)}),_0x33d88f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5bd27d,{writer:_0x4137c4})=>{const _0x5be59e=_0x5bd27d['getAttribute']('footnoteCounter');return _0x43298a(b(_0x5bd27d,_0x4137c4),_0x4137c4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5be59e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x481508}=this,{t:t}=_0x481508['locale'],{conversion:_0x1dac8d}=_0x481508;_0x1dac8d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1dac8d['for']('upcast')['add'](_0x568d3f=>{_0x568d3f['on']('element:ol',(_0x19f917,_0x5019f1,_0x26d825)=>{const _0x4d9eb2=_0x5019f1['viewItem'];if(!_0x4d9eb2['hasClass']('footnotes-list')||!_0x5019f1['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x26d825['consumable']['consume'](_0x4d9eb2,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3f3138,modelCursor:_0x59be59}=_0x26d825['convertChildren'](_0x5019f1['viewItem'],_0x5019f1['modelCursor']);_0x5019f1['modelRange']=_0x3f3138,_0x5019f1['modelCursor']=_0x59be59;}),_0x568d3f['on']('element:hr',(_0x305e33,_0x2664ba,_0x44be24)=>{const _0x44493d=_0x2664ba['viewItem'];_0x44493d['hasClass']('footnotes-divider')&&_0x2664ba['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x44be24['consumable']['consume'](_0x44493d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1dac8d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x113c22,{writer:_0x3f522b})=>D(_0x3f522b)}),_0x1dac8d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x499fdb,{writer:_0x17a893})=>{const _0x2d1385=D(_0x17a893,{'data-footnotes-list-label':t('Footnotes')}),_0x8ae365=_0x43298a(_0x2d1385,_0x17a893,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x17a893['setCustomProperty']('footnotesDefinitions',!0x0,_0x8ae365),_0x8ae365;}});}['_defineDefinitionConverters'](){const {editor:_0x3caced}=this,{conversion:_0x28b5e6,locale:_0x10cd16}=_0x3caced,_0x238b6a=_0x3caced['config']['get']('footnotes.multiBlock');_0x28b5e6['for']('upcast')['add'](_0x551ccc=>{_0x551ccc['on']('element:li',(_0x76b72,_0x1df679,_0x1f1b02)=>{const _0x19b7a6=_0x1df679['viewItem'];if(!_0x19b7a6['hasClass']('footnote-definition')||!_0x19b7a6['getAttribute']('id'))return;const _0x10e38e=_0x19b7a6['parent'];if(!_0x10e38e['is']('element','ol')||!_0x10e38e['hasClass']('footnotes-list'))return;if(!_0x1f1b02['consumable']['test'](_0x19b7a6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1c1561=_0x1f1b02['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x19b7a6['getAttribute']('id')});if(!_0x1f1b02['safeInsert'](_0x1c1561,_0x1df679['modelCursor']))return;_0x1f1b02['consumable']['consume'](_0x19b7a6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x14d3d5=Array['from'](_0x19b7a6['getChildren']())['find'](_0x1e5b71=>_0x1e5b71['is']('element')&&_0x1e5b71['hasClass']('footnote-content'));for(const _0xf299c4 of _0x19b7a6['getChildren']())_0xf299c4['is']('element')&&(_0x1f1b02['consumable']['consume'](_0xf299c4,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f1b02['consumable']['consume'](_0xf299c4,{'name':!0x0,'classes':'footnote-content'}));if(_0x14d3d5){if(_0x238b6a)_0x1f1b02['convertChildren'](_0x14d3d5,_0x1c1561);else{const _0x19b205=_0x1f1b02['writer']['createElement']('footnoteInlineContent');_0x1f1b02['writer']['insert'](_0x19b205,_0x1c1561),_0x1f1b02['convertChildren'](_0x14d3d5,_0x19b205);}}_0x1f1b02['updateConversionResult'](_0x1c1561,_0x1df679);});}),_0x28b5e6['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5744fe,{writer:_0x2d2982})=>y(_0x5744fe,_0x2d2982,_0x10cd16,{'dataPipeline':!0x0})}),_0x28b5e6['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46e9f1,{writer:_0x6c936f})=>y(_0x46e9f1,_0x6c936f,_0x10cd16)});}['_defineBogusParagraphConverters'](){const {editor:_0x468ce7}=this,{conversion:_0x23f605}=_0x468ce7;_0x468ce7['config']['get']('footnotes.multiBlock')?(_0x23f605['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x23f605['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x468ce7['model']['document'],'change:data',()=>{!function(_0x32d7f5,_0xe02c7){const _0xcee4b1=_0x32d7f5['document']['differ'],_0x547385=new Set();for(const _0x4bd394 of _0xcee4b1['getChanges']()){const _0x40e73e='attribute'==_0x4bd394['type']?_0x4bd394['range']['start']['parent']:_0x4bd394['position']['parent'];_0x40e73e['is']('element','footnoteDefinition')&&_0x547385['add'](_0x40e73e);}for(const _0x19f749 of _0x547385['values']()){const _0x5613c0=Array['from'](_0x19f749['getChildren']())['filter'](_0x5ad964=>v(_0x5ad964,_0xe02c7['mapper']));for(const _0x1ab1b2 of _0x5613c0)_0xe02c7['reconvertItem'](_0x1ab1b2);}}(_0x468ce7['model'],_0x468ce7['editing']);})):(_0x23f605['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x23f605['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x451f51,{writer:_0x342597})=>{const _0x11e3ac=_0x342597['createContainerElement']('span');return _0x342597['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11e3ac),_0x11e3ac;}}));}['_defineKeyboardHandlers'](){const {editor:_0x178d4b}=this,{editing:_0x5a1dee,t:t}=_0x178d4b,_0x1f8a59=_0x178d4b['model']['document']['selection'];_0x178d4b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x178d4b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5a1dee['view']['document'],'enter',(_0x5c5d29,_0x219660)=>{const _0x17220a=function(_0x57b84c){const _0x25b881=_0x57b84c['getSelectedElement']();if(_0x25b881?.['is']('element','footnoteRef'))return _0x25b881;return null;}(_0x1f8a59);if(_0x17220a){const _0x3391c6=_0x17220a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3391c6),_0x219660['preventDefault'](),_0x5c5d29['stop']();}},{'context':_0x49bfef});}['_defineClickHandlers'](){const {editor:_0x14f1b9}=this,{editing:_0x43a244}=_0x14f1b9;_0x14f1b9['editing']['view']['addObserver'](_0x147600),_0x14f1b9['editing']['view']['addObserver'](_0x1c9156);let _0x5e571a=!0x1;this['listenTo'](_0x43a244['view']['document'],'pointerdown',(_0x592212,_0x48eb0e)=>{const {target:_0x480f0e}=_0x48eb0e,_0x2008d2=_0x43a244['view']['document']['selection'];_0x5e571a=!!(_0x480f0e?.['is']('element','a')&&_0x480f0e['parent']?.['is']('element','sup')&&_0x480f0e['parent']['hasClass']('footnote'))&&_0x2008d2['getSelectedElement']()===_0x480f0e['parent'];},{'priority':'high'}),this['listenTo'](_0x43a244['view']['document'],'click',(_0x31d6ea,_0x51e1b6)=>{const {target:_0x1fe35a}=_0x51e1b6;if(!_0x1fe35a?.['is']('element','a'))return;if(_0x1fe35a['parent']?.['is']('element','sup')&&_0x1fe35a['parent']['hasClass']('footnote')&&!_0x5e571a)return void _0x51e1b6['preventDefault']();let _0x51d366=_0x1fe35a['getAttribute']('href');if(!_0x51d366?.['startsWith']('#'))return;_0x51d366=_0x51d366['slice'](0x1);let _0x37be9f=!0x1;(_0x51d366['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x51d366['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x51d366))&&(_0x37be9f=!0x0),_0x37be9f&&(_0x51e1b6['preventDefault'](),_0x31d6ea['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1db7a9}={}){return(_0x3fab8c,{writer:_0x44750e})=>{if(!g(_0x3fab8c))return null;if(!_0x1db7a9)return _0x44750e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x30e816=_0x44750e['createContainerElement']('p');return _0x44750e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x30e816),_0x30e816;};}function g(_0x2be632){const {parent:_0x55cef3}=_0x2be632;if(!_0x55cef3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x55cef3['childCount'])return!0x1;for(const _0x210507 of _0x2be632['getAttributeKeys']())if(!_0x210507['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x210507)return!0x1;return!0x0;}function v(_0x127622,_0xd5f25){if(!_0x127622['is']('element','paragraph'))return!0x1;const _0x59962e=_0xd5f25['toViewElement'](_0x127622);return!!_0x59962e&&g(_0x127622)!==_0x59962e['is']('element','span');}function H(_0x19ca54){return _0x49bfef(_0x19ca54)&&_0x19ca54['is']('containerElement')&&!!_0x19ca54['getCustomProperty']('footnotesDefinitions');}function D(_0x3acacd,_0x3f4e80={}){const _0x1c3d80=_0x3acacd['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x25a1a0=_0x3acacd['createContainerElement']('ol',{'class':'footnotes-list'},_0x3acacd['createSlot']());return _0x3acacd['createContainerElement']('div',{'class':'footnotes',..._0x3f4e80},[_0x1c3d80,_0x25a1a0]);}function b(_0x3df217,_0x3233a5){const _0x1c94d0=_0x3df217['getAttribute']('footnoteId'),_0x16156e=_0x3df217['getAttribute']('footnoteCounter'),_0x35aefb=_0x3233a5['createUIElement']('a',{'href':'#'+_0x1c94d0},function(_0x918c12){const _0x164d6d=this['toDomElement'](_0x918c12);return _0x164d6d['textContent']=_0x16156e,_0x164d6d;}),_0x28fa03=_0x3233a5['createContainerElement']('sup',{'id':'ref-'+_0x1c94d0,'class':'footnote'},[_0x35aefb]);return _0x28fa03['getFillerOffset']=()=>null,_0x28fa03;}function y(_0x59e925,_0x254124,_0x34b66c,{dataPipeline:_0x33eb0f}={}){const {t:t}=_0x34b66c,_0x20fd89=_0x59e925['getAttribute']('footnoteId'),_0x287480=_0x254124['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x20fd89},function(_0x22f40b){const _0x249b4d=this['toDomElement'](_0x22f40b);return _0x249b4d['innerText']='^',_0x249b4d;}),_0x2806b7=_0x33eb0f?_0x254124['createContainerElement']('div',{'class':'footnote-content'}):_0x48679e(_0x254124['createEditableElement']('div',{'class':'footnote-content'}),_0x254124,{'label':t('Footnote\x20content.')});return _0x254124['insert'](_0x254124['createPositionAt'](_0x2806b7,0x0),_0x254124['createSlot']()),_0x254124['createContainerElement']('li',{'class':'footnote-definition','id':_0x20fd89},[_0x287480,_0x2806b7]);}class e extends _0x1a8ddf{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x452c17];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4c73a2}=this,{plugins:_0xfa6a33,model:_0x373d40}=_0x4c73a2,_0x1123a=_0xfa6a33['get'](_0x452c17),_0x479071=_0xfa6a33['get'](f);this['listenTo'](_0x1123a,'outputTransformation',(_0x3c71d0,_0x4ff7c8)=>{const _0xc16c54=l(_0x373d40['createRangeIn'](_0x4ff7c8['content']));if(!_0xc16c54['length'])return;const _0x44ca7c=_0x479071['getFootnotes'](),_0x2f6681=_0xc16c54['reduce']((_0x12cfd1,_0x2198a0)=>{const _0x562cdb=_0x44ca7c['find'](_0x1012ed=>_0x1012ed['id']===_0x2198a0);if(_0x562cdb){const _0x3208da=_0x4c73a2['data']['toView'](_0x562cdb['definition'],{'isClipboardPipeline':!0x0}),_0x2a4254=_0x4c73a2['data']['htmlProcessor']['toData'](_0x3208da);_0x12cfd1[_0x562cdb['id']]=_0x2a4254;}return _0x12cfd1;},Object['create'](null));_0x4ff7c8['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2f6681));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4df62a}=this,{model:_0x1e018c,plugins:_0x3d826a}=_0x4df62a,{view:_0x240d65}=_0x4df62a['editing'],_0x3d9290=_0x3d826a['get'](_0x452c17),_0x157299=_0x3d826a['get'](f),_0x98e123=_0x4df62a['config']['get']('footnotes.multiBlock');let _0x37bf95=null;this['listenTo'](_0x240d65['document'],'clipboardInput',(_0x1687b8,_0x223a94)=>{const _0x232b54=_0x223a94['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x37bf95=_0x232b54?JSON['parse'](_0x232b54):null;}),this['listenTo'](_0x3d9290,'contentInsertion',(_0x21c2e3,_0x333450)=>{const _0x196fab=_0x333450['sourceEditorId']===this['editor']['id'];_0x196fab&&'drop'===_0x333450['method']||_0x1e018c['change'](_0x3a86c1=>{let _0x84bc74=_0x157299['getFootnotesDefinitionsObjectElement']();const _0x4b4822=!!_0x84bc74&&Array['from'](_0x1e018c['document']['selection']['getSelectedBlocks']())['includes'](_0x84bc74);if(!_0x37bf95&&function(_0x42e5cf){for(const {item:_0x189031}of _0x42e5cf)if(_0x189031['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1e018c['createRangeIn'](_0x333450['content']))&&(_0x37bf95=function(_0x5ee070,_0x2224a0){const _0x6b9fe7=c(_0x5ee070,_0x2224a0);if(!_0x6b9fe7)return null;const _0x16f6a7=Object['create'](null);for(const _0x360059 of _0x6b9fe7['getChildren']())_0x360059['is']('element','footnoteDefinition')&&_0x360059['hasAttribute']('footnoteId')&&(_0x16f6a7[_0x360059['getAttribute']('footnoteId')]=_0x5ee070['cloneElement'](_0x360059,!0x0));return Object['keys'](_0x16f6a7)['length']?_0x16f6a7:null;}(_0x3a86c1,_0x333450['content'])),(_0x84bc74&&!_0x4b4822||!_0x84bc74&&!_0x37bf95)&&function(_0x5376fc,_0x30c6d6){const _0x5f443b=[];for(const {item:_0x37d442}of _0x5376fc['createRangeIn'](_0x30c6d6))_0x37d442['is']('element','footnotesDefinitions')&&_0x5f443b['push'](_0x37d442);for(const _0x2d3158 of _0x5f443b)_0x5376fc['remove'](_0x2d3158);}(_0x3a86c1,_0x333450['content']),!_0x37bf95)return;const {selection:_0x129030}=_0x1e018c['document'],_0x339a59=_0x129030['getFirstRange']()['root'];_0x84bc74&&!_0x4b4822||(_0x84bc74=c(_0x3a86c1,_0x333450['content']),_0x84bc74||=_0x157299['_insertEmptyFootnotesDefinitionsContainer'](_0x3a86c1,_0x339a59));const _0x433f9b=Array['from'](_0x129030['getRanges']())['flatMap'](l),_0x1a12ad=function(_0x15efc5,_0x1c60da,_0x27144c){const _0x117cda=Object['create'](null);for(const {item:_0x4563ef}of _0x15efc5['createRangeIn'](_0x1c60da))if(_0x4563ef['is']('element','footnoteRef')){const _0x236f48=_0x4563ef['getAttribute']('footnoteId');if(!_0x27144c(_0x236f48))continue;_0x117cda[_0x236f48]||(_0x117cda[_0x236f48]=_0x26ed71()),_0x15efc5['setAttribute']('footnoteId',_0x117cda[_0x236f48],_0x4563ef);}return _0x117cda;}(_0x3a86c1,_0x333450['content'],_0x591f91=>{if(!_0x196fab)return!0x0;return!!_0x157299['getFootnote'](_0x591f91)&&!_0x433f9b['includes'](_0x591f91);});for(const [_0x3cbb0f,_0x4fcdab]of Object['entries'](_0x37bf95)){const _0x485e48=_0x1a12ad[_0x3cbb0f]||_0x3cbb0f;let _0x28d050;if('string'!=typeof _0x4fcdab)_0x28d050=_0x4fcdab,_0x485e48!==_0x3cbb0f&&_0x3a86c1['setAttribute']('footnoteId',_0x485e48,_0x28d050);else{_0x28d050=_0x3a86c1['createElement']('footnoteDefinition',{'footnoteId':_0x485e48});const _0x47a39d=_0x4df62a['data']['htmlProcessor']['toView'](_0x4fcdab);let _0x2c1939;if(_0x98e123)_0x2c1939=_0x4df62a['data']['toModel'](_0x47a39d,_0x28d050);else{_0x2c1939=_0x3a86c1['createElement']('footnoteInlineContent');const _0x1f09da=_0x4df62a['data']['toModel'](_0x47a39d,_0x2c1939);_0x3a86c1['insert'](_0x1f09da,_0x2c1939);}_0x3a86c1['append'](_0x2c1939,_0x28d050);}_0x3a86c1['insert'](_0x28d050,_0x84bc74,'end');}_0x37bf95=null;});});}}function c(_0x3656eb,_0x5296b3){for(const {item:_0x17f360}of _0x3656eb['createRangeIn'](_0x5296b3))if(_0x17f360['is']('element','footnotesDefinitions'))return _0x17f360;return null;}function l(_0x2e7e86){const _0x19905d=new Set();for(const {item:_0x9d5cae}of _0x2e7e86)_0x9d5cae['is']('element','footnoteRef')&&_0x19905d['add'](_0x9d5cae['getAttribute']('footnoteId'));return Array['from'](_0x19905d);}class i extends _0x1a8ddf{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2844b4}=this,{componentFactory:_0x49399a}=_0x2844b4['ui'];_0x49399a['add']('insertFootnote',E(_0x2844b4,_0x4c1de4)),_0x49399a['add']('menuBar:insertFootnote',E(_0x2844b4,_0x2df27e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x47e320=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x429622;for(const _0x2c1948 in _0x47e320){const _0x30715d=_0x2c1948,_0x58baa5=_0x47e320[_0x30715d];if('footnotesLicenseKeyValid'==_0x58baa5||'footnotesLicenseKeyInvalid'==_0x58baa5||'footnotesLicenseKeyExpired'==_0x58baa5||'footnotesLicenseKeyDomainLimit'==_0x58baa5||'footnotesLicenseKeyNotAllowed'==_0x58baa5||'footnotesLicenseKeyEvaluationLimit'==_0x58baa5||'footnotesLicenseKeyTrialLimit'==_0x58baa5||'footnotesLicenseKeyUsageLimit'==_0x58baa5){delete _0x47e320[_0x30715d],_0x429622=_0x58baa5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x429622&&_0x47e320['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x429622&&_0x47e320['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x429622&&_0x47e320['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x429622&&_0x47e320['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x429622&&_0x47e320['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x429622&&_0x47e320['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x429622&&_0x47e320['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1a08c6,_0x532701){const _0x39742c=_0x1a08c6['commands']['get']('insertFootnote');return _0xd4957e=>{const {t:t}=_0xd4957e,_0x527142=new _0x532701(_0xd4957e),_0x9ff4d=_0x527142 instanceof _0x2df27e;return _0x527142['bind']('isEnabled')['to'](_0x39742c,'isEnabled'),_0x527142['set']({'label':t(_0x9ff4d?'Footnote':'Insert\x20footnote'),'icon':_0x341053,'tooltip':!0x0}),_0x527142['on']('execute',()=>{_0x39742c['execute'](),_0x1a08c6['editing']['view']['focus']();}),_0x527142;};}class lt extends _0x1a8ddf{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x3bb02b{['refresh'](){const {editor:_0x260afb}=this,_0x18791a=_0x260afb['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x18791a,this['value']=_0x18791a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3cd2f3}){const {editor:_0x35ad9a}=this,_0x46654a=_0x35ad9a['plugins']['get'](f),_0x452999=_0x46654a['getFootnotesDefinitionsObjectElement']();_0x452999&&W['includes'](_0x3cd2f3)&&_0x35ad9a['model']['change'](_0x53862a=>{_0x53862a['setAttribute']('footnotesListStyle',_0x3cd2f3,_0x452999),_0x46654a['_updateFootnotesCounters'](_0x53862a);});}}class C extends _0x3bb02b{['refresh'](){const {editor:_0x4726a5}=this,_0x2f6ef0=_0x4726a5['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2f6ef0,this['value']=_0x2f6ef0?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4d2f73}){const {editor:_0x4902f2}=this,_0x35789b=_0x4902f2['plugins']['get'](f),_0x38701a=_0x35789b['getFootnotesDefinitionsObjectElement']();_0x38701a&&Number['isInteger'](_0x4d2f73)&&_0x4902f2['model']['change'](_0x5715ea=>{_0x5715ea['setAttribute']('footnotesListStart',_0x4d2f73,_0x38701a),_0x35789b['_updateFootnotesCounters'](_0x5715ea);});}}class P extends _0x1a8ddf{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f8e7d}=this;_0x3f8e7d['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3f8e7d['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3f8e7d['commands']['add']('footnotesStyle',new S(_0x3f8e7d)),_0x3f8e7d['commands']['add']('footnotesStart',new C(_0x3f8e7d)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x32655e}=this,{schema:_0x2204e9}=_0x32655e['model'];_0x2204e9['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1102f2}=this,{conversion:_0x407f03,model:_0x3eba0e}=_0x1102f2,{schema:_0x2481cc}=_0x3eba0e;_0x407f03['for']('upcast')['add'](_0x1fbec4=>{_0x1fbec4['on']('element:ol',(_0x55ab48,_0x11e712,_0x31f593)=>{const _0x4ccb0d=_0x11e712['viewItem'],_0x5b525c=_0x11e712['modelCursor']?.['parent'];_0x4ccb0d['hasClass']('footnotes-list')&&_0x5b525c?.['is']('element','footnotesDefinitions')&&(function(_0x41daf7,_0x2d85cb,_0x1975df,_0x104607){if(!_0x104607['checkAttribute'](_0x2d85cb,'footnotesListStart'))return;let _0x1328ff=0x1;const _0x4f71af=_0x1975df['consumable']['consume'](_0x41daf7,{'attributes':'start'});if(_0x4f71af){const _0x474f97=Number['parseInt'](_0x41daf7['getAttribute']('start'),0xa);Number['isNaN'](_0x474f97)||(_0x1328ff=_0x474f97);}!_0x4f71af&&_0x2d85cb['hasAttribute']('footnotesListStart')||_0x1975df['writer']['setAttribute']('footnotesListStart',_0x1328ff,_0x2d85cb);}(_0x4ccb0d,_0x5b525c,_0x31f593,_0x2481cc),function(_0x5344aa,_0x527174,_0x3b588f,_0x34acc8){if(!_0x34acc8['checkAttribute'](_0x527174,'footnotesListStyle'))return;let _0x75d81e='decimal',_0x3e1273=!0x1;if(_0x3b588f['consumable']['consume'](_0x5344aa,{'attributes':'type'})){const _0x34bc29={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5344aa['getAttribute']('type')];_0x34bc29&&(_0x75d81e=_0x34bc29),_0x3e1273=!0x0;}_0x3b588f['consumable']['consume'](_0x5344aa,{'styles':'list-style-type'})&&(_0x75d81e=function(_0x5e4444){switch(_0x5e4444){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5e4444;}}(_0x5344aa['getStyle']('list-style-type')),_0x3e1273=!0x0),!_0x3e1273&&_0x527174['hasAttribute']('footnotesListStyle')||_0x3b588f['writer']['setAttribute']('footnotesListStyle',_0x75d81e,_0x527174);}(_0x4ccb0d,_0x5b525c,_0x31f593,_0x2481cc));});}),_0x407f03['for']('downcast')['add'](_0x50af7=>{_0x50af7['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1d0c0d,_0x47184b,_0x5f2d6f)=>{if(!_0x5f2d6f['consumable']['consume'](_0x47184b['item'],_0x1d0c0d['name']))return;const _0x529586=M(_0x47184b['item'],_0x5f2d6f['mapper']),{attributeNewValue:_0x36ad7a}=_0x47184b;null==_0x36ad7a||0x1===_0x36ad7a?_0x5f2d6f['writer']['removeAttribute']('start',_0x529586):_0x5f2d6f['writer']['setAttribute']('start',String(_0x36ad7a),_0x529586);}),_0x50af7['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x44a552,_0x2144aa,_0x585ce1)=>{if(!_0x585ce1['consumable']['consume'](_0x2144aa['item'],_0x44a552['name']))return;const _0x527033=M(_0x2144aa['item'],_0x585ce1['mapper']),{attributeNewValue:_0x19fdae}=_0x2144aa;_0x19fdae&&'decimal'!==_0x19fdae?_0x585ce1['writer']['setStyle']('list-style-type',_0x19fdae,_0x527033):_0x585ce1['writer']['removeStyle']('list-style-type',_0x527033);});});}['_definePostfixer'](){const {editor:_0x4616e3}=this,{model:_0x2727bc}=_0x4616e3,_0x1eb5a6=_0x4616e3['plugins']['get'](f),_0x7b0ede=this['_getDefaultListStyle'](),_0x4fe7de=this['_getDefaultStartIndex']();_0x2727bc['document']['registerPostFixer'](_0x85e7a0=>{const _0x235ce4=_0x2727bc['document']['differ']['getChanges']();let _0x42b648=!0x1;for(const _0x587ab1 of _0x235ce4){if('insert'!==_0x587ab1['type']||'$text'===_0x587ab1['name'])continue;const _0x525f78=_0x2727bc['createRangeOn'](_0x587ab1['position']['nodeAfter']);for(const _0xb5a61c of _0x525f78['getItems']())_0xb5a61c['is']('element','footnotesDefinitions')&&(!_0xb5a61c['hasAttribute']('footnotesListStart')&&_0x2727bc['schema']['checkAttribute'](_0xb5a61c,'footnotesListStart')&&(_0x85e7a0['setAttribute']('footnotesListStart',_0x4fe7de,_0xb5a61c),_0x42b648=!0x0),!_0xb5a61c['hasAttribute']('footnotesListStyle')&&_0x2727bc['schema']['checkAttribute'](_0xb5a61c,'footnotesListStyle')&&(_0x85e7a0['setAttribute']('footnotesListStyle',_0x7b0ede,_0xb5a61c),_0x42b648=!0x0));}return _0x42b648&&_0x1eb5a6['_updateFootnotesCounters'](_0x85e7a0),_0x42b648;});}['_defineFormatter'](){const {editor:_0x446c8a}=this;_0x446c8a['plugins']['get'](f)['setFootnoteFormatter'](_0x388266=>this['_formatFootnoteListValue'](_0x388266));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x279e4c,value:_0xcc56dc,digits:_0x5b5f4f}){const _0x2b5d55=_0x279e4c['getAttribute']('footnotesListStyle'),_0x5b82c7=_0x279e4c['getAttribute']('footnotesListStart'),_0x9a465e=Math['floor'](_0xcc56dc)+(_0x5b82c7??0x1)-0x1;switch(_0x2b5d55){case'decimal-leading-zero':return function(_0xa79f5,_0x378e1f){return String(_0xa79f5)['padStart'](_0x378e1f,'0');}(_0x9a465e,Math['max'](0x2,_0x5b5f4f));case'lower-alpha':case'lower-latin':return N(_0x9a465e,!0x1);case'upper-alpha':case'upper-latin':return N(_0x9a465e,!0x0);case'lower-roman':return X(_0x9a465e,!0x1);case'upper-roman':return X(_0x9a465e,!0x0);default:return String(_0x9a465e);}}}function M(_0x595936,_0x5b67ac){const _0x7ffa11=_0x5b67ac['toViewElement'](_0x595936);return Array['from'](_0x7ffa11['getChildren']())['find'](_0x1a0934=>_0x1a0934['is']('element','ol')&&_0x1a0934['hasClass']('footnotes-list'));}function N(_0x5c0247,_0x3d6b38){let _0xea1f32='',_0x1bb943=_0x5c0247;for(;_0x1bb943>0x0;){const _0x2a4293=(_0x1bb943-0x1)%0x1a;_0xea1f32=String['fromCharCode'](0x61+_0x2a4293)+_0xea1f32,_0x1bb943=Math['floor']((_0x1bb943-0x1)/0x1a);}return _0x3d6b38?_0xea1f32['toUpperCase']():_0xea1f32;}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(_0x384839,_0x35d0d0){let _0x4339e9='',_0x5686e1=_0x384839;for(const {value:_0x2befce,numeral:_0x359584}of V)for(;_0x5686e1>=_0x2befce;)_0x4339e9+=_0x359584,_0x5686e1-=_0x2befce;return _0x35d0d0?_0x4339e9:_0x4339e9['toLowerCase']();}class $ extends _0xed2191{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1b2cd6();['focusCycler'];constructor(_0x191459,{styleButtonViews:_0xbe8a8,styleGridAriaLabel:_0x5eaf8d}){super(_0x191459),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xbe8a8,_0x5eaf8d),[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 _0x298449 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x298449['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x4c0bae=_0x454510=>_0x454510['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4c0bae),this['keystrokes']['set']('arrowleft',_0x4c0bae),this['keystrokes']['set']('arrowup',_0x4c0bae),this['keystrokes']['set']('arrowdown',_0x4c0bae);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4f97b2,_0x4a1163){const _0x25cacd=new _0xed2191(this['locale']);return _0x25cacd['children']=_0x25cacd['createCollection'](),_0x25cacd['children']['addMany'](_0x4f97b2),_0x25cacd['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4a1163,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x25cacd['children']}),_0x25cacd['children']['delegate']('execute')['to'](this),_0x25cacd['focus']=function(){for(const _0x592b3e of this['children'])if(_0x592b3e instanceof _0x4c1de4&&_0x592b3e['isOn'])return void _0x592b3e['focus']();this['children']['first']['focus']();},_0x25cacd['focusTracker']=new rt(),_0x25cacd['keystrokes']=new nt(),_0x25cacd['render'](),_0x25cacd['keystrokes']['listenTo'](_0x25cacd['element']),this['children']['add'](_0x25cacd),_0x25cacd;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xd0a31f=this['_createStartIndexPropertyView'](),_0x55ab47=[_0xd0a31f],_0x5c30ef=new it(this['locale'],_0x55ab47);return _0x5c30ef['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5c30ef['buttonView']['bind']('isEnabled')['toMany'](_0x55ab47,'isEnabled',(..._0x6c321e)=>_0x6c321e['some'](_0x37f542=>_0x37f542)),_0x5c30ef['buttonView']['on']('change:isEnabled',(_0x512cbc,_0x1f7d94,_0x50a4df)=>{_0x50a4df||(_0x5c30ef['isCollapsed']=!0x0);}),this['children']['add'](_0x5c30ef),[_0xd0a31f,_0x5c30ef];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x39efa0=new et(this['locale'],ot);return _0x39efa0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x39efa0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x39efa0['fieldView']['on']('input',()=>{const _0x1252b1=_0x39efa0['fieldView']['element'],_0x26a34f=_0x1252b1['valueAsNumber'];Number['isNaN'](_0x26a34f)?_0x39efa0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1252b1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26a34f}):_0x39efa0['errorText']=t(_0x26a34f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x39efa0;}}class j extends _0x1a8ddf{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x18d672,_0x51fccb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x510cc3}=this,{componentFactory:_0x3409cf}=_0x510cc3['ui'];_0x510cc3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3409cf['add']('footnotesStyle',function(_0x58d830){return _0x1aefc1=>{const {t:t}=_0x1aefc1,_0xf4d943=_0x58d830['commands']['get']('footnotesStyle'),_0xb23b54=_0x24c479(_0x1aefc1),{buttonView:_0x5813e}=_0xb23b54;return _0xb23b54['class']='ck-footnotes-styles-dropdown',_0xb23b54['bind']('isEnabled')['to'](_0xf4d943,'isEnabled'),_0x5813e['set']({'label':t('Footnotes\x20style'),'icon':_0x341053,'tooltip':!0x0}),_0xb23b54['once']('change:isOpen',()=>{const _0x32a117=function({editor:_0x179b95,dropdownView:_0x352e87}){const {t:t}=_0x179b95['locale'],_0xede8dc=t('Footnotes\x20definitions\x20styles'),_0x495306=function(_0x45a125){const t=_0x45a125['locale']['t'],_0x842c90=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xb8e1d4},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x29da1a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x434059},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1771e1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3750f7},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1f761b}];return _0x842c90['map'](function(_0x1726dc){const _0x43904b=_0x1726dc['locale'];return({label:_0x474ee9,icon:_0x4a9685,tooltip:_0x4201e6,style:_0x2b5852})=>{const _0x267dc6=_0x1726dc['commands']['get']('footnotesStyle'),_0x155465=new _0x4c1de4(_0x43904b);return _0x155465['set']({'label':_0x474ee9,'icon':_0x4a9685,'tooltip':_0x4201e6}),_0x155465['bind']('isOn')['to'](_0x267dc6,'value',_0x3a89d5=>_0x3a89d5===_0x2b5852),_0x155465['bind']('isEnabled')['to'](_0x267dc6,'isEnabled'),_0x155465['on']('execute',()=>{_0x1726dc['execute']('footnotesStyle',{'value':_0x2b5852}),_0x1726dc['editing']['view']['focus']();}),_0x155465;};}(_0x45a125));}(_0x179b95),_0x17e7f9=new $(_0x179b95['locale'],{'styleGridAriaLabel':_0xede8dc,'styleButtonViews':_0x495306}),_0x29bcbf=_0x179b95['commands']['get']('footnotesStart');return _0x17e7f9['startIndexFieldView']['bind']('isEnabled')['to'](_0x29bcbf),_0x17e7f9['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x29bcbf),_0x17e7f9['on']('footnotesListStart',(_0x2c3aff,_0x169d92)=>{_0x179b95['execute']('footnotesStart',{'value':_0x169d92['startIndex']});}),_0x17e7f9['delegate']('execute')['to'](_0x352e87),_0x17e7f9;}({'editor':_0x58d830,'dropdownView':_0xb23b54});_0xb23b54['panelView']['children']['add'](_0x32a117);}),_0xb23b54;};}(_0x510cc3));}['afterInit'](){const {editor:_0x16654b}=this,{t:t}=_0x16654b['locale'],_0x14861c=_0x16654b['plugins']['get'](_0x51fccb),{defaultPositions:_0x399daa}=_0x4c3d54;_0x14861c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x16654b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4bfd85=>{let _0x4de845=_0x4bfd85['getFirstPosition']()?.['parent'];return _0x4de845?.['is']('$text')&&(_0x4de845=_0x4de845['parent']),_0x4de845?.['is']('element')?_0x4de845['findAncestor'](H):null;},'positions':[_0x399daa['southArrowNorth'],_0x399daa['southArrowNorthMiddleWest'],_0x399daa['southArrowNorthMiddleEast'],_0x399daa['southArrowNorthWest'],_0x399daa['southArrowNorthEast'],_0x399daa['northArrowSouth'],_0x399daa['northArrowSouthMiddleWest'],_0x399daa['northArrowSouthMiddleEast'],_0x399daa['northArrowSouthWest'],_0x399daa['northArrowSouthEast'],_0x399daa['viewportStickyNorth']]});}}class ft extends _0x1a8ddf{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x289d96,Command as _0x865e70}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5bb3db,isWidget as _0x3cd175,toWidgetEditable as _0x67af3c,WidgetToolbarRepository as _0x46d6eb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1f20c6,logWarning as _0x3815b1,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xb811f1,ClickObserver as _0xcb4228}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x167ec9}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x215600,ButtonView as _0x59eabe,View as _0x1264fa,ViewCollection as _0xceb30e,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x5bae04,BalloonPanelView as _0x50ad8b,createDropdown as _0x1a0b24}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x537e27,IconListStyleDecimal as _0x29ed28,IconListStyleDecimalLeadingZero as _0x3db760,IconListStyleLowerRoman as _0x58b553,IconListStyleUpperRoman as _0x5e9684,IconListStyleLowerLatin as _0x246eaa,IconListStyleUpperLatin as _0x1afa8d}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3bfd77,_0x5bef13){this['_model']=_0x3bfd77,this['_elementName']=_0x5bef13['elementName'],this['_getElementKey']=_0x5bef13['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3b75fe){const _0x150840=new Set(),_0x2fe7f0=new Map();for(const _0x34294d of _0x3b75fe){if('insert'===_0x34294d['type']&&'$text'!==_0x34294d['name']&&_0x34294d['position']['nodeAfter']){const _0x2e6afa=this['_model']['createRangeOn'](_0x34294d['position']['nodeAfter']);for(const _0xda9b94 of _0x2e6afa['getItems']()){if(!_0xda9b94['is']('element',this['_elementName']))continue;const _0x5bd05f=this['_getElementKey'](_0xda9b94);_0x2fe7f0['has'](_0x5bd05f)||_0x2fe7f0['set'](_0x5bd05f,[]),_0x2fe7f0['get'](_0x5bd05f)['push'](_0xda9b94);}}if('remove'===_0x34294d['type']&&_0x34294d['name']===this['_elementName']){const _0x565a16=this['_getElementKey']({'getAttribute':_0x24b5de=>_0x34294d['attributes']['get'](_0x24b5de)});_0x150840['add'](_0x565a16);}}for(const [_0x4ee819,_0x3f811f]of this['_trackedElements'])'$graveyard'===_0x3f811f['root']['rootName']&&_0x150840['add'](_0x4ee819);for(const _0x25ddad of _0x150840)this['_trackedElements']['delete'](_0x25ddad);for(const [_0x259882,_0x54391a]of _0x2fe7f0)this['_trackedElements']['set'](_0x259882,_0x54391a[_0x54391a['length']-0x1]);const _0x330477=new Set();for(const [_0x1b96a1,_0x2998a6]of _0x2fe7f0)_0x150840['has'](_0x1b96a1)&&(_0x330477['add'](_0x2998a6[0x0]),_0x2998a6['length']>0x1?_0x2fe7f0['set'](_0x1b96a1,_0x2998a6['slice'](0x1)):_0x2fe7f0['delete'](_0x1b96a1),_0x150840['delete'](_0x1b96a1));return{'removed':Array['from'](_0x150840),'inserted':Array['from'](_0x2fe7f0['values']())['flat'](),'moved':Array['from'](_0x330477)};}}class f extends _0x289d96{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d9e9d){super(_0x4d9e9d),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1880d5=>_0x1880d5['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4fd638=>_0x4fd638['getAttribute']('footnoteId')});}['init'](){const {editor:_0x16a245}=this,{model:_0x5daff0,data:_0x11b039}=_0x16a245;_0x5daff0['document']['registerPostFixer'](_0x2c9538=>{const _0x4a14ac=_0x5daff0['document']['differ']['getChanges']();let _0x3bf1b8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2c9538,_0x4a14ac)&&(_0x3bf1b8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2c9538,_0x4a14ac)&&(_0x3bf1b8=!0x0),this['_handleFootnoteReferencesChanges'](_0x2c9538,_0x4a14ac)&&(_0x3bf1b8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2c9538)&&(_0x3bf1b8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2c9538)&&(_0x3bf1b8=!0x0),this['_sortFootnoteDefinitions'](_0x2c9538)&&(_0x3bf1b8=!0x0),_0x3bf1b8;}),this['listenTo'](_0x5daff0['document'],'change:data',()=>{_0x5daff0['enqueueChange']({'isUndoable':!0x1},_0x1cccb3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1cccb3);});},{'priority':'low'}),this['listenTo'](_0x11b039,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5883a1){return this['_footnotes']['find'](_0x15e8fb=>_0x15e8fb['id']===_0x5883a1)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x50c0b6){this['_footnoteFormatter']=_0x50c0b6;}['_updateFootnotesCounters'](_0x50ea30,_0x1ec278=0x0){let _0x46982c=!0x1;for(let _0x2c0815=_0x1ec278;_0x2c0815<this['_footnotes']['length'];_0x2c0815++)this['_updateFootnoteRefCounter'](_0x50ea30,_0x2c0815)&&(_0x46982c=!0x0);return _0x46982c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x356dee,_0x45e1c4){const _0x15a215=_0x356dee['createElement']('footnotesDefinitions',{});return _0x356dee['append'](_0x15a215,_0x45e1c4),this['_footnotesDefinitions']=_0x15a215,_0x15a215;}['_ensureFootnotesDefinitionsContainerExists'](_0x4cd58e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2aecf6=this['_footnotes'][0x0]['reference']['root'],_0x4ec128=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4cd58e,_0x2aecf6);for(const _0x5580f1 of this['_footnotes'])_0x5580f1['definition']['parent']||_0x4cd58e['insert'](_0x5580f1['definition'],_0x4ec128,'end');this['_updateFootnotesCounters'](_0x4cd58e);}['_handleFootnotesDefinitionsObjectChanges'](_0x5b7e20,_0x1a2f76){let _0x4b132d=!0x1;const {inserted:_0x5cc9fc,removed:_0x1d5c50,moved:_0x4425dc}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1a2f76);if(_0x4425dc['length']&&(this['_footnotesDefinitions']=_0x4425dc[0x0]),_0x5cc9fc['length']){if(_0x5cc9fc['length']>0x1||this['_footnotesDefinitions']&&_0x5cc9fc['some'](_0x5a7a27=>_0x5a7a27!==this['_footnotesDefinitions'])){const _0x37b379=_0x5b7e20['createElement']('footnotesDefinitions',{}),_0x5bf6fc=[];this['_footnotesDefinitions']&&_0x5bf6fc['push'](this['_footnotesDefinitions']),_0x5bf6fc['push'](..._0x5cc9fc),_0x5b7e20['insert'](_0x37b379,_0x5bf6fc[0x0],'before');for(const _0x229ea8 of _0x5bf6fc)_0x5b7e20['move'](_0x5b7e20['createRangeIn'](_0x229ea8),_0x5b7e20['createPositionAt'](_0x37b379,'end')),_0x5b7e20['remove'](_0x229ea8);this['_footnotesDefinitions']=_0x37b379,this['_updateFootnotesCounters'](_0x5b7e20),_0x4b132d=!0x0;}else this['_footnotesDefinitions']=_0x5cc9fc[0x0];}if(_0x1d5c50['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5e2480 of this['_footnotes'])_0x5b7e20['remove'](_0x5e2480['reference']),_0x4b132d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4b132d;}['_handleFootnoteDefinitionsChanges'](_0xa343d5,_0x2fdc96){let _0x1d9c3e=!0x1;const _0x18fe6b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x7f9757,moved:_0x300e82}=this['_footnoteDefsTracker']['getChanges'](_0x2fdc96);for(const _0x4524b0 of[..._0x300e82,..._0x7f9757]){const _0x5b5616=_0x4524b0['getAttribute']('footnoteId'),_0x3866c9=this['getFootnote'](_0x5b5616);_0x3866c9&&(_0x3866c9['definition']=_0x4524b0),_(_0xa343d5,_0x18fe6b,_0x4524b0)&&(_0x1d9c3e=!0x0);}return _0x1d9c3e;}['_handleFootnoteReferencesChanges'](_0x554df1,_0xdff825){let _0x22462e=!0x1;const {removed:_0x37fab4,inserted:_0x4470bb,moved:_0x2db1db}=this['_footnoteRefsTracker']['getChanges'](_0xdff825);for(const _0x2c6ab7 of _0x37fab4)this['_handleRemoveFootnoteReferenceById'](_0x554df1,_0x2c6ab7)&&(_0x22462e=!0x0);for(const _0x58ebe3 of _0x4470bb)this['_handleInsertedFootnoteReference'](_0x554df1,_0x58ebe3)&&(_0x22462e=!0x0);for(const _0x4c9fd7 of _0x2db1db)this['_handleMovedFootnoteReference'](_0x554df1,_0x4c9fd7)&&(_0x22462e=!0x0);return _0x22462e;}['_handleFootnotesDefinitionsObjectSync'](_0x41c3a8){if(!this['_footnotesDefinitions'])return!0x1;let _0x366cea=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x46cfe6=[];for(const _0x5bd46c of this['_footnotesDefinitions']['getChildren']()){const _0xb5a3ed=_0x5bd46c['getAttribute']('footnoteId');this['getFootnote'](_0xb5a3ed)||(_0x46cfe6['unshift'](_0x5bd46c),_0x366cea=!0x0);}for(const _0x37194b of _0x46cfe6)_0x41c3a8['remove'](_0x37194b);}const _0x3d47a3=new Set(),_0x54b6ca=[];for(const _0x18461d of this['_footnotesDefinitions']['getChildren']()){const _0x109aff=_0x18461d['getAttribute']('footnoteId');_0x3d47a3['has'](_0x109aff)?(_0x54b6ca['unshift'](_0x18461d),_0x366cea=!0x0):_0x3d47a3['add'](_0x109aff);}for(const _0x31ede7 of _0x54b6ca)_0x41c3a8['remove'](_0x31ede7);return this['_footnotesDefinitions']['childCount']||(_0x41c3a8['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x366cea=!0x0),_0x366cea;}['_handleInsertedFootnoteReference'](_0x32909e,_0x5a286b){if(this['_footnotes']['find'](_0x2b6733=>_0x2b6733['reference']===_0x5a286b))return!0x1;let _0x23b4cc=!0x1;const _0x2afc13=_0x5a286b['getAttribute']('footnoteId'),_0x2ba6b7=this['_footnotes']['findIndex'](_0x4b4294=>_0x4b4294['id']===_0x2afc13);-0x1!==_0x2ba6b7&&(_0x32909e['remove'](this['_footnotes'][_0x2ba6b7]['reference']),this['_footnotes']['splice'](_0x2ba6b7,0x1),_0x23b4cc=!0x0);let _0x932bdc=this['_footnotesDefinitions']?function(_0x3e4197,_0x3cf117){for(const _0x18d719 of _0x3e4197['getChildren']())if(_0x18d719['getAttribute']('footnoteId')===_0x3cf117)return _0x18d719;return null;}(this['_footnotesDefinitions'],_0x2afc13):null;_0x932bdc||(_0x932bdc=_0x32909e['createElement']('footnoteDefinition',{'footnoteId':_0x2afc13}),this['_footnotesDefinitions']&&(_0x32909e['insert'](_0x932bdc,this['_footnotesDefinitions'],'end'),_0x23b4cc=!0x0));const _0x251857={'id':_0x2afc13,'reference':_0x5a286b,'definition':_0x932bdc},_0xd01108=I(this['editor']['model'],this['_footnotes'],_0x5a286b);this['_footnotes']['splice'](_0xd01108,0x0,_0x251857);let _0x20b0c7=_0xd01108;return-0x1!==_0x2ba6b7&&(_0x20b0c7=Math['min'](_0xd01108,_0x2ba6b7)),this['_updateFootnotesCounters'](_0x32909e,_0x20b0c7)&&(_0x23b4cc=!0x0),_0x23b4cc;}['_handleRemoveFootnoteReferenceById'](_0x1bdd6c,_0x4fbd10){const _0x3d206d=this['_footnotes']['findIndex'](_0x235c9d=>_0x235c9d['id']===_0x4fbd10);if(-0x1===_0x3d206d)return!0x1;let _0x37b680=!0x1;const _0x5bd647=this['_footnotes'][_0x3d206d];return'$graveyard'!==_0x5bd647['definition']['root']['rootName']&&(_0x1bdd6c['remove'](_0x5bd647['definition']),_0x37b680=!0x0),this['_footnotes']['splice'](_0x3d206d,0x1),this['_updateFootnotesCounters'](_0x1bdd6c,_0x3d206d)&&(_0x37b680=!0x0),_0x37b680;}['_handleMovedFootnoteReference'](_0x2588b1,_0x21200c){const _0x4c611f=_0x21200c['getAttribute']('footnoteId'),_0x11b64f=this['_footnotes']['findIndex'](_0x56e789=>_0x56e789['id']===_0x4c611f),_0x58dfcd=this['_footnotes'][_0x11b64f];let _0x4e6658=!0x1;_0x58dfcd['reference']=_0x21200c,this['_footnotes']['splice'](_0x11b64f,0x1);const _0x1350df=I(this['editor']['model'],this['_footnotes'],_0x21200c);return this['_footnotes']['splice'](_0x1350df,0x0,_0x58dfcd),this['_updateFootnotesCounters'](_0x2588b1,Math['min'](_0x11b64f,_0x1350df))&&(_0x4e6658=!0x0),_0x4e6658;}['_updateFootnoteRefCounter'](_0x32eb8f,_0x477ef9){if(!this['_footnotesDefinitions'])return!0x1;const _0x1ecbee=this['_footnotes'][_0x477ef9];let _0x4c3d81;return _0x4c3d81=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1ecbee,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x477ef9+0x1}):String(_0x477ef9+0x1),_0x1ecbee['reference']['getAttribute']('footnoteCounter')!=_0x4c3d81&&(_0x32eb8f['setAttribute']('footnoteCounter',_0x4c3d81,_0x1ecbee['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x49c91f){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x523b79,_0x4be9cf){if(_0x523b79['length']!==_0x4be9cf['length'])return!0x1;for(let _0x274dad=0x0;_0x274dad<_0x523b79['length'];_0x274dad++)if(_0x523b79[_0x274dad]!==_0x4be9cf[_0x274dad])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2a691c=>_0x2a691c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2babe4=>_0x2babe4['getAttribute']('footnoteId'))))return!0x1;let _0x368f07=!0x1;for(let _0x4d008d=0x0;_0x4d008d<this['_footnotes']['length'];_0x4d008d++){const _0x569614=this['_footnotes'][_0x4d008d],_0x3b11b2=_0x49c91f['createPositionBefore'](_0x569614['definition']),_0x5877c9=_0x49c91f['createPositionAt'](this['_footnotesDefinitions'],_0x4d008d);_0x3b11b2['isEqual'](_0x5877c9)||(_0x49c91f['move'](_0x49c91f['createRangeOn'](_0x569614['definition']),_0x5877c9),_0x368f07=!0x0);}return _0x368f07;}['_ensureFootnotesReferencesHaveProperOrder'](_0x40247a){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2be7d7}=this['editor'];let _0x1f611e=!0x1;for(let _0x5c6770=0x0;_0x5c6770<this['_footnotes']['length']-0x1;_0x5c6770++){const _0x57f3ca=this['_footnotes'][_0x5c6770],_0x6cfdfd=this['_footnotes'][_0x5c6770+0x1],_0x36ad39=_0x2be7d7['createPositionBefore'](_0x57f3ca['reference']),_0x141e86=_0x2be7d7['createPositionBefore'](_0x6cfdfd['reference']);'after'===_0x36ad39['compareWith'](_0x141e86)&&(this['_handleMovedFootnoteReference'](_0x40247a,_0x57f3ca['reference']),_0x5c6770=-0x1,_0x1f611e=!0x0);}return _0x1f611e;}}function _(_0x46be64,_0x41963c,_0x1b9c16){if(_0x1b9c16['childCount'])return!0x1;const _0xd83603=_0x41963c?'paragraph':'footnoteInlineContent';return _0x46be64['insert'](_0x46be64['createElement'](_0xd83603),_0x1b9c16),!0x0;}function I(_0xe61985,_0x21b306,_0x378597){if(0x0===_0x21b306['length'])return 0x0;const _0x3be053=_0xe61985['createPositionBefore'](_0x378597);for(let _0x4bcee7=0x0;_0x4bcee7<_0x21b306['length'];_0x4bcee7++){const _0x4c4054=_0x21b306[_0x4bcee7],_0x54362c=_0xe61985['createPositionBefore'](_0x4c4054['reference']);if('before'===_0x3be053['compareWith'](_0x54362c))return _0x4bcee7;}const _0x2a24ff=_0x378597['root'];let _0x1a2001=-0x1;for(let _0x47f8c9=_0x21b306['length']-0x1;_0x47f8c9>=0x0;_0x47f8c9--)if(_0x21b306[_0x47f8c9]['reference']['root']===_0x2a24ff){_0x1a2001=_0x47f8c9;break;}if(-0x1!==_0x1a2001)return _0x1a2001+0x1;const _0x2bac4e=_0xe61985['document']['getRootNames'](),_0x49469d=_0x2bac4e['indexOf'](_0x2a24ff['rootName']),_0x531250=_0x2bac4e[_0x49469d+0x1];if(_0x531250){for(let _0x39cddf=0x0;_0x39cddf<_0x21b306['length'];_0x39cddf++)if(_0x21b306[_0x39cddf]['reference']['root']['rootName']===_0x531250)return _0x39cddf;}return _0x21b306['length'];}class h extends _0x865e70{['refresh'](){const _0x54a65f=this['editor']['model']['document']['selection'],_0x4b5ab0=this['_getPositionToInsertFootnote'](_0x54a65f);this['isEnabled']=!!_0x4b5ab0;}['execute'](_0x155e35){const {editor:_0x588c19}=this,{model:_0x4dbd4d}=_0x588c19,{selection:_0x1affc2}=_0x4dbd4d['document'],_0x54319f=this['_getPositionToInsertFootnote'](_0x1affc2);if(!_0x54319f)return;const _0x3f862c=_0x588c19['plugins']['get']('FootnotesEditing'),_0x3981c7=_0x155e35?.['footnoteId']??_0x1f20c6();!function(_0x3d92c3){return'string'==typeof _0x3d92c3&&_0x3d92c3['length']>0x0&&!/\s/['test'](_0x3d92c3)&&!/^\d/['test'](_0x3d92c3);}(_0x3981c7)?_0x3815b1('insert-footnote-command-executed-with-invalid-id'):(_0x4dbd4d['change'](_0x1e0cd6=>{const _0x7df776=_0x1e0cd6['createElement']('footnoteRef',{'footnoteId':_0x3981c7});_0x4dbd4d['insertObject'](_0x7df776,_0x54319f,null);}),_0x3f862c['_moveSelectionToFootnoteDefinition'](_0x3981c7));}['_getPositionToInsertFootnote'](_0x48dd47){const {model:_0x1e61ac}=this['editor'],{schema:_0x11daac}=_0x1e61ac,_0x457083=_0x48dd47['getFirstRange']();for(const _0x5b88ad of _0x457083['getItems']())if(_0x11daac['isBlock'](_0x5b88ad)||_0x11daac['isObject'](_0x5b88ad))return null;const _0x3eee7a=_0x457083['end'];return _0x11daac['checkChild'](_0x3eee7a,'footnoteRef')?_0x3eee7a:null;}}class r extends _0x289d96{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bccf6}=this;_0x2bccf6['config']['define']('footnotes.multiBlock',!0x0),_0x2bccf6['commands']['add']('insertFootnote',new h(_0x2bccf6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5cd365){const _0x476a51=_0x52d1bc([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]),_0x5cac96=0x47a28506,_0x3c94fe=0x47a5f9be^_0x5cac96,_0x15d66c=window[_0x52d1bc([0x44,0x61,0x74,0x65])][_0x52d1bc([0x6e,0x6f,0x77])](),_0x534636=_0x5cd365[_0x52d1bc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15ffbc=new window[(_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3937d9=>{_0x534636[_0x52d1bc([0x6f,0x6e,0x63,0x65])](_0x52d1bc([0x72,0x65,0x61,0x64,0x79]),_0x3937d9);}),_0x779c5d={[_0x52d1bc([0x6b,0x74,0x79])]:_0x52d1bc([0x45,0x43]),[_0x52d1bc([0x75,0x73,0x65])]:_0x52d1bc([0x73,0x69,0x67]),[_0x52d1bc([0x63,0x72,0x76])]:_0x52d1bc([0x50,0x2d,0x32,0x35,0x36]),[_0x52d1bc([0x78])]:_0x52d1bc([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]),[_0x52d1bc([0x79])]:_0x52d1bc([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]),[_0x52d1bc([0x61,0x6c,0x67])]:_0x52d1bc([0x45,0x53,0x32,0x35,0x36])},_0x37eb4c=_0x534636[_0x52d1bc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52d1bc([0x67,0x65,0x74])](_0x52d1bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e9583(){let _0xa2af95,_0x6f5798=null,_0x58a572=null;try{if(_0x37eb4c==_0x52d1bc([0x47,0x50,0x4c]))return _0x52d1bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa2af95=_0x2bf4b2(),!_0xa2af95)return _0x52d1bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa2af95[_0x52d1bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58a572=_0x2eb221(_0xa2af95[_0x52d1bc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa2af95[_0x52d1bc([0x6a,0x74,0x69])])),await _0x3df23e()?_0x2ee4d3()?_0x30f0e3()?_0x52d1bc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xcf2f5b()?(_0xa2af95[_0x52d1bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52d1bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x6f5798=_0x5995a4(_0x52d1bc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa2af95[_0x52d1bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52d1bc([0x74,0x72,0x69,0x61,0x6c])&&(_0x6f5798=_0x5995a4(_0x52d1bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2791bf()):_0x52d1bc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52d1bc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52d1bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52d1bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30f0e3(){const _0x50ba5e=[_0x52d1bc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52d1bc([0x74,0x72,0x69,0x61,0x6c])][_0x52d1bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa2af95[_0x52d1bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x15d66c/0x3e8:0xe10*_0x3c94fe;return _0xa2af95[_0x52d1bc([0x65,0x78,0x70])]<_0x50ba5e;}function _0x2ee4d3(){const _0x24d77d=_0xa2af95[_0x52d1bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24d77d&&(!!_0x24d77d[_0x52d1bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52d1bc([0x2a]))||!!_0x24d77d[_0x52d1bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52d1bc([0x46,0x4f,0x4f])));}function _0xcf2f5b(){const _0x3465a4=_0xa2af95[_0x52d1bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3465a4||0x0==_0x3465a4[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x17a4c0}=new URL(window[_0x52d1bc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3465a4[_0x52d1bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17a4c0))return!0x0;const _0x2f8447=_0x17a4c0[_0x52d1bc([0x73,0x70,0x6c,0x69,0x74])](_0x52d1bc([0x2e]));return _0x3465a4[_0x52d1bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b3f4a=>_0x5b3f4a[_0x52d1bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52d1bc([0x2a])))[_0x52d1bc([0x6d,0x61,0x70])](_0x13e836=>_0x13e836[_0x52d1bc([0x73,0x70,0x6c,0x69,0x74])](_0x52d1bc([0x2e])))[_0x52d1bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d1a85=>_0x1d1a85[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f8447[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52d1bc([0x6d,0x61,0x70])](_0x9f0e5b=>Array(_0x2f8447[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9f0e5b[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52d1bc([0x66,0x69,0x6c,0x6c])](_0x9f0e5b[0x0]===_0x52d1bc([0x2a])?_0x52d1bc([0x2a]):'')[_0x52d1bc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9f0e5b))[_0x52d1bc([0x73,0x6f,0x6d,0x65])](_0x49d987=>_0x2f8447[_0x52d1bc([0x65,0x76,0x65,0x72,0x79])]((_0x4d5be9,_0x54e632)=>_0x49d987[_0x54e632]===_0x4d5be9||_0x49d987[_0x54e632]===_0x52d1bc([0x2a])));}function _0x2791bf(){return _0x6f5798&&_0x58a572?new window[(_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e4871,_0x14d46c)=>{_0x6f5798[_0x52d1bc([0x74,0x68,0x65,0x6e])](_0x4e4871,_0x14d46c),_0x58a572[_0x52d1bc([0x74,0x68,0x65,0x6e])](_0x5e2f12=>{_0x5e2f12!=_0x52d1bc([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4871(_0x5e2f12);},_0x14d46c);}):_0x6f5798||_0x58a572||_0x52d1bc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2eb221(_0x1a1c6c,_0x13859f){return new window[(_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bc063=>{if(_0x83b98())return _0x5bc063(_0x52d1bc([0x56,0x61,0x6c,0x69,0x64]));_0x2d3ea7(),_0x534636[_0x52d1bc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52d1bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x432e54=!0x1;const _0x14c1d0=_0x1f20c6();function _0x47600(_0x2ab591){return!!_0x2ab591&&(typeof _0x2ab591===_0x52d1bc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ab591===_0x52d1bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ab591[_0x52d1bc([0x74,0x68,0x65,0x6e])]===_0x52d1bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ab591[_0x52d1bc([0x63,0x61,0x74,0x63,0x68])]===_0x52d1bc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x941f6f(_0x1db47b){_0x4f856b(_0x1db47b)[_0x52d1bc([0x74,0x68,0x65,0x6e])](_0x14f3b7=>{if(!_0x14f3b7||_0x14f3b7[_0x52d1bc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52d1bc([0x6f,0x6b]))return _0x52d1bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x390a1a(_0x3b2ee8(_0x14c1d0+_0x13859f))!=_0x14f3b7[_0x52d1bc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52d1bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52d1bc([0x56,0x61,0x6c,0x69,0x64]);})[_0x52d1bc([0x74,0x68,0x65,0x6e])](_0x20b764=>(_0x40e2d7(),_0x20b764),()=>{const _0x50f468=_0xe7322();return null==_0x50f468?(_0x40e2d7(),_0x52d1bc([0x56,0x61,0x6c,0x69,0x64])):_0x52d1bc(_0x15d66c-_0x50f468>(0x63ae0106^_0x5cac96)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52d1bc([0x74,0x68,0x65,0x6e])](_0x5bc063)[_0x52d1bc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5bc063(_0x52d1bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25649f=0x47946b86^_0x5cac96;function _0x40e2d7(){const _0x139224=_0x52d1bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x390a1a(_0x3b2ee8(_0x1a1c6c)),_0x14313e=_0x59fd90(_0x390a1a(window[_0x52d1bc([0x4d,0x61,0x74,0x68])][_0x52d1bc([0x63,0x65,0x69,0x6c])](_0x15d66c/_0x25649f)));window[_0x52d1bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52d1bc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x139224,_0x14313e);}function _0xe7322(){const _0x21f804=_0x52d1bc([0x6c,0x6c,0x63,0x74,0x2d])+_0x390a1a(_0x3b2ee8(_0x1a1c6c)),_0x1d5abf=window[_0x52d1bc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52d1bc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21f804);return _0x1d5abf?window[_0x52d1bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59fd90(_0x1d5abf),0x10)*_0x25649f:null;}function _0x4f856b(_0x3e8cc7){return new window[(_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x412839,_0x4394d6)=>{_0x3e8cc7[_0x52d1bc([0x74,0x68,0x65,0x6e])](_0x412839,_0x4394d6),window[_0x52d1bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4394d6,0x47a351c6^_0x5cac96);});}}_0x534636[_0x52d1bc([0x6f,0x6e])](_0x52d1bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd329b2,_0x26d189)=>{if(_0x26d189[0x0]!=_0x1a1c6c)return _0x5bc063(_0x52d1bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26d189[0x1]={..._0x26d189[0x1],[_0x52d1bc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14c1d0};},{[_0x52d1bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52d1bc([0x68,0x69,0x67,0x68])}),_0x534636[_0x52d1bc([0x6f,0x6e])](_0x52d1bc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1f18bc=>{_0x47600(_0x1f18bc[_0x52d1bc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x432e54=!0x0,_0x941f6f(_0x1f18bc[_0x52d1bc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52d1bc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52d1bc([0x6c,0x6f,0x77])}),_0x15ffbc[_0x52d1bc([0x74,0x68,0x65,0x6e])](()=>{_0x432e54||_0x5bc063(_0x52d1bc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x83b98(){return _0x534636[_0x52d1bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52d1bc([0x76,0x69,0x65,0x77])][_0x52d1bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52d1bc([0x61,0x75,0x74,0x6f]);}function _0x2d3ea7(){_0x534636[_0x52d1bc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52d1bc([0x76,0x69,0x65,0x77])][_0x52d1bc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52d1bc([0x61,0x75,0x74,0x6f]);}}function _0x5995a4(_0x402d61){const _0x58b241=[new window[(_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51eafb=>setTimeout(_0x51eafb,0x47abbbca^_0x5cac96)),_0x15ffbc[_0x52d1bc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x95b0ec=>{let _0x1cb9b0=0x0;_0x534636[_0x52d1bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x52d1bc([0x6f,0x6e])](_0x52d1bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58ab7d,_0x51ae22)=>{_0x51ae22[0x0][_0x52d1bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cb9b0++,_0x1cb9b0==(0x47a280ee^_0x5cac96)&&(_0x95b0ec(),_0x58ab7d[_0x52d1bc([0x6f,0x66,0x66])]());});}))];return window[_0x52d1bc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52d1bc([0x72,0x61,0x63,0x65])](_0x58b241)[_0x52d1bc([0x74,0x68,0x65,0x6e])](()=>_0x402d61);}async function _0x26bc20(){await _0x15ffbc,_0x534636[_0x52d1bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x52d1bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x387419,_0x534636[_0x52d1bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x52d1bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x387419,_0x534636[_0x52d1bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52d1bc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b7e46(_0x332722){const _0x116bd5=_0x47af1f();_0x534636[_0x116bd5]=_0x52d1bc([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x332722,_0x332722!=_0x52d1bc([0x56,0x61,0x6c,0x69,0x64])&&_0x26bc20();}function _0x47af1f(){const _0x907998=window[_0x52d1bc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52d1bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52d1bc([0x6e,0x6f,0x77])]())[_0x52d1bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52d1bc([0x2e]),'');let _0x3aecd4=_0x52d1bc([0x75]);for(let _0x37fc72=0x0;_0x37fc72<_0x907998[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37fc72+=0x2){let _0x10f94f=window[_0x52d1bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x907998[_0x52d1bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37fc72,_0x37fc72+0x2));_0x10f94f>=_0x476a51[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10f94f-=_0x476a51[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3aecd4+=_0x476a51[_0x10f94f];}return _0x3aecd4;}function _0x2bf4b2(){const _0x483c32=_0x37eb4c[_0x52d1bc([0x73,0x70,0x6c,0x69,0x74])](_0x52d1bc([0x2e]));if(0x3!=_0x483c32[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x21789e(_0x483c32[0x1]);function _0x21789e(_0x23619e){const _0x5af654=_0x44a8a6(_0x23619e);return _0x5af654&&_0x180482()?_0x5af654:null;function _0x180482(){const _0x899ab5=_0x5af654[_0x52d1bc([0x6a,0x74,0x69])],_0x93db5b=window[_0x52d1bc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x899ab5[_0x52d1bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x899ab5[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1b3ee3={..._0x5af654,[_0x52d1bc([0x6a,0x74,0x69])]:_0x899ab5[_0x52d1bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x899ab5[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1b3ee3[_0x52d1bc([0x76,0x63])],_0x3b2ee8(_0x1b3ee3)==_0x93db5b;}}}async function _0x3df23e(){let _0x40ac32=!0x0;try{const _0x121aa1=_0x37eb4c[_0x52d1bc([0x73,0x70,0x6c,0x69,0x74])](_0x52d1bc([0x2e])),[_0x2731ec,_0x162957,_0x5b1c2d]=_0x121aa1;return _0x24e02c(_0x2731ec),await _0x4ba40f(_0x2731ec,_0x162957,_0x5b1c2d),_0x40ac32;}catch{return!0x1;}function _0x24e02c(_0x343d7d){const _0x3fed04=_0x44a8a6(_0x343d7d);_0x3fed04&&_0x3fed04[_0x52d1bc([0x61,0x6c,0x67])]==_0x52d1bc([0x45,0x53,0x32,0x35,0x36])||(_0x40ac32=!0x1);}async function _0x4ba40f(_0x27ed58,_0x1284ee,_0x52e3e1){const _0x26e257=window[_0x52d1bc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52d1bc([0x66,0x72,0x6f,0x6d])](_0x337783(_0x52e3e1),_0x143214=>_0x143214[_0x52d1bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1da688=new window[(_0x52d1bc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52d1bc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27ed58+_0x52d1bc([0x2e])+_0x1284ee),_0x3ee11b=window[_0x52d1bc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52d1bc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ee11b)return;const _0x218b29=await _0x3ee11b[_0x52d1bc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52d1bc([0x6a,0x77,0x6b]),_0x779c5d,{[_0x52d1bc([0x6e,0x61,0x6d,0x65])]:_0x52d1bc([0x45,0x43,0x44,0x53,0x41]),[_0x52d1bc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52d1bc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52d1bc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ee11b[_0x52d1bc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52d1bc([0x6e,0x61,0x6d,0x65])]:_0x52d1bc([0x45,0x43,0x44,0x53,0x41]),[_0x52d1bc([0x68,0x61,0x73,0x68])]:{[_0x52d1bc([0x6e,0x61,0x6d,0x65])]:_0x52d1bc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x218b29,_0x26e257,_0x1da688)||(_0x40ac32=!0x1);}}function _0x44a8a6(_0x1d375c){return _0x1d375c[_0x52d1bc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52d1bc([0x65,0x79]))?JSON[_0x52d1bc([0x70,0x61,0x72,0x73,0x65])](_0x337783(_0x1d375c)):null;}function _0x337783(_0x387618){return window[_0x52d1bc([0x61,0x74,0x6f,0x62])](_0x387618[_0x52d1bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52d1bc([0x2b]))[_0x52d1bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52d1bc([0x2f])));}function _0x3b2ee8(_0x86ac72){let _0x1f195a=0x1505;function _0x20f731(_0x5cf48a){for(let _0xd931ce=0x0;_0xd931ce<_0x5cf48a[_0x52d1bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd931ce++){const _0x14b2b6=_0x5cf48a[_0x52d1bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd931ce);_0x1f195a=(_0x1f195a<<0x5)+_0x1f195a+_0x14b2b6,_0x1f195a&=_0x1f195a;}}function _0x45e0fc(_0x6cbf71){Array[_0x52d1bc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x6cbf71)?_0x6cbf71[_0x52d1bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45e0fc):_0x6cbf71&&typeof _0x6cbf71==_0x52d1bc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52d1bc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x6cbf71)[_0x52d1bc([0x73,0x6f,0x72,0x74])]()[_0x52d1bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e9323,_0xb9b21])=>{_0x20f731(_0x1e9323),_0x45e0fc(_0xb9b21);}):_0x20f731(window[_0x52d1bc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x6cbf71));}return _0x45e0fc(_0x86ac72),_0x1f195a>>>0x0;}function _0x390a1a(_0x35be25){return _0x35be25[_0x52d1bc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52d1bc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52d1bc([0x30]));}function _0x59fd90(_0x5b8f5a){return _0x5b8f5a[_0x52d1bc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52d1bc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52d1bc([0x6a,0x6f,0x69,0x6e])]('');}function _0x387419(){}function _0x52d1bc(_0x5ad03d){return _0x5ad03d['map'](_0x47fec4=>String['fromCharCode'](_0x47fec4))['join']('');}_0x3b7e46(await _0x4e9583());}(this);}['_moveSelectionToFootnoteDefinition'](_0x199479){const {plugins:_0x4f9326,editing:_0x43875c,model:_0x4c6d4d}=this['editor'],_0x249b85=_0x4f9326['get'](f)['getFootnote'](_0x199479);return!!_0x249b85&&(_0x4c6d4d['change'](_0x14aec9=>{_0x14aec9['setSelection'](_0x14aec9['createPositionAt'](_0x249b85['definition'],'end'));}),_0x43875c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5de196){const {plugins:_0x5a91f7,editing:_0x1b60b8,model:_0x9062d4}=this['editor'],_0x2c5e75=_0x5a91f7['get'](f)['getFootnote'](_0x5de196);return!!_0x2c5e75&&(_0x9062d4['change'](_0x1cb285=>{_0x1cb285['setSelection'](_0x2c5e75['reference'],'on');}),_0x1b60b8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x46e0a7}=this['editor']['model'],_0x2194bb=this['editor']['config']['get']('footnotes.multiBlock');_0x46e0a7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x46e0a7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x46e0a7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2194bb?_0x46e0a7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x46e0a7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x46e0a7['addChildCheck'](_0x2a4209=>{for(const _0x519032 of _0x2a4209)if('footnoteDefinition'===_0x519032['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4aa836}=this,{conversion:_0x258b49,editing:_0x4b4857}=_0x4aa836,{t:t}=_0x4aa836['locale'];_0x258b49['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x28d63c,{writer:_0x38c9c9,consumable:_0x4d6d66})=>{const _0x7e45c2=_0x28d63c['getChild'](0x0);if(!_0x7e45c2||!_0x7e45c2['is']('element','a'))return null;const _0x3b8c09=_0x7e45c2['getAttribute']('href')||'';if(!_0x3b8c09['startsWith']('#'))return null;const _0x53ac91=_0x3b8c09['replace'](/^#/,'');if(!_0x53ac91)return null;_0x4d6d66['consume'](_0x7e45c2,{'name':!0x0,'attributes':['href']});for(const {item:_0x396137}of _0x4b4857['view']['createRangeIn'](_0x7e45c2))_0x396137['is']('$textProxy')?_0x4d6d66['consume'](_0x396137['textNode'],{'name':!0x0}):_0x396137['is']('element')&&_0x4d6d66['consume'](_0x396137,{'name':!0x0});return _0x38c9c9['createElement']('footnoteRef',{'footnoteId':_0x53ac91});}}),_0x258b49['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x205515,{writer:_0x363ce3})=>b(_0x205515,_0x363ce3)}),_0x258b49['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4fcc53,{writer:_0xd5dde4})=>{const _0x476cfd=_0x4fcc53['getAttribute']('footnoteCounter');return _0x5bb3db(b(_0x4fcc53,_0xd5dde4),_0xd5dde4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x476cfd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x54136a}=this,{t:t}=_0x54136a['locale'],{conversion:_0x5b0c59}=_0x54136a;_0x5b0c59['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5b0c59['for']('upcast')['add'](_0x27b9f3=>{_0x27b9f3['on']('element:ol',(_0x390b30,_0x15196f,_0x2b29e8)=>{const _0x24ae1a=_0x15196f['viewItem'];if(!_0x24ae1a['hasClass']('footnotes-list')||!_0x15196f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2b29e8['consumable']['consume'](_0x24ae1a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2dd609,modelCursor:_0x29b353}=_0x2b29e8['convertChildren'](_0x15196f['viewItem'],_0x15196f['modelCursor']);_0x15196f['modelRange']=_0x2dd609,_0x15196f['modelCursor']=_0x29b353;}),_0x27b9f3['on']('element:hr',(_0x45a67a,_0x416a78,_0x33bf1b)=>{const _0x2cadc1=_0x416a78['viewItem'];_0x2cadc1['hasClass']('footnotes-divider')&&_0x416a78['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x33bf1b['consumable']['consume'](_0x2cadc1,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5b0c59['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1cb28c,{writer:_0x3c679c})=>D(_0x3c679c)}),_0x5b0c59['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x429737,{writer:_0x481417})=>{const _0x227961=D(_0x481417,{'data-footnotes-list-label':t('Footnotes')}),_0x41af18=_0x5bb3db(_0x227961,_0x481417,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x481417['setCustomProperty']('footnotesDefinitions',!0x0,_0x41af18),_0x41af18;}});}['_defineDefinitionConverters'](){const {editor:_0x2b4353}=this,{conversion:_0x383092,locale:_0x5c17e6}=_0x2b4353,_0x19e8a6=_0x2b4353['config']['get']('footnotes.multiBlock');_0x383092['for']('upcast')['add'](_0xf88f11=>{_0xf88f11['on']('element:li',(_0x406298,_0x9f103f,_0x4961c0)=>{const _0x24b889=_0x9f103f['viewItem'];if(!_0x24b889['hasClass']('footnote-definition')||!_0x24b889['getAttribute']('id'))return;const _0x41dd53=_0x24b889['parent'];if(!_0x41dd53['is']('element','ol')||!_0x41dd53['hasClass']('footnotes-list'))return;if(!_0x4961c0['consumable']['test'](_0x24b889,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xd9011f=_0x4961c0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x24b889['getAttribute']('id')});if(!_0x4961c0['safeInsert'](_0xd9011f,_0x9f103f['modelCursor']))return;_0x4961c0['consumable']['consume'](_0x24b889,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5a71eb=Array['from'](_0x24b889['getChildren']())['find'](_0x3b43b4=>_0x3b43b4['is']('element')&&_0x3b43b4['hasClass']('footnote-content'));for(const _0x4de032 of _0x24b889['getChildren']())_0x4de032['is']('element')&&(_0x4961c0['consumable']['consume'](_0x4de032,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4961c0['consumable']['consume'](_0x4de032,{'name':!0x0,'classes':'footnote-content'}));if(_0x5a71eb){if(_0x19e8a6)_0x4961c0['convertChildren'](_0x5a71eb,_0xd9011f);else{const _0x2ec38e=_0x4961c0['writer']['createElement']('footnoteInlineContent');_0x4961c0['writer']['insert'](_0x2ec38e,_0xd9011f),_0x4961c0['convertChildren'](_0x5a71eb,_0x2ec38e);}}_0x4961c0['updateConversionResult'](_0xd9011f,_0x9f103f);});}),_0x383092['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x100379,{writer:_0x10b4d3})=>y(_0x100379,_0x10b4d3,_0x5c17e6,{'dataPipeline':!0x0})}),_0x383092['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18c092,{writer:_0x1ea1e6})=>y(_0x18c092,_0x1ea1e6,_0x5c17e6)});}['_defineBogusParagraphConverters'](){const {editor:_0x5a85f9}=this,{conversion:_0x3ab9e0}=_0x5a85f9;_0x5a85f9['config']['get']('footnotes.multiBlock')?(_0x3ab9e0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3ab9e0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5a85f9['model']['document'],'change:data',()=>{!function(_0xcf5152,_0x134c2b){const _0x3f567a=_0xcf5152['document']['differ'],_0x29979a=new Set();for(const _0x5f169a of _0x3f567a['getChanges']()){const _0x3ae67f='attribute'==_0x5f169a['type']?_0x5f169a['range']['start']['parent']:_0x5f169a['position']['parent'];_0x3ae67f['is']('element','footnoteDefinition')&&_0x29979a['add'](_0x3ae67f);}for(const _0x56252b of _0x29979a['values']()){const _0x542247=Array['from'](_0x56252b['getChildren']())['filter'](_0x2668b4=>v(_0x2668b4,_0x134c2b['mapper']));for(const _0x4d6b8e of _0x542247)_0x134c2b['reconvertItem'](_0x4d6b8e);}}(_0x5a85f9['model'],_0x5a85f9['editing']);})):(_0x3ab9e0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3ab9e0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x26e531,{writer:_0x1549e5})=>{const _0x45f8d5=_0x1549e5['createContainerElement']('span');return _0x1549e5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x45f8d5),_0x45f8d5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2d549d}=this,{editing:_0x53bbc9,t:t}=_0x2d549d,_0x3c66da=_0x2d549d['model']['document']['selection'];_0x2d549d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2d549d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x53bbc9['view']['document'],'enter',(_0x534152,_0x16e3bb)=>{const _0x2403be=function(_0x4c2bd4){const _0x57a7f7=_0x4c2bd4['getSelectedElement']();if(_0x57a7f7?.['is']('element','footnoteRef'))return _0x57a7f7;return null;}(_0x3c66da);if(_0x2403be){const _0x527099=_0x2403be['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x527099),_0x16e3bb['preventDefault'](),_0x534152['stop']();}},{'context':_0x3cd175});}['_defineClickHandlers'](){const {editor:_0x482672}=this,{editing:_0x427b2f}=_0x482672;_0x482672['editing']['view']['addObserver'](_0xb811f1),_0x482672['editing']['view']['addObserver'](_0xcb4228);let _0x921b43=!0x1;this['listenTo'](_0x427b2f['view']['document'],'pointerdown',(_0x248cd7,_0xb8ad29)=>{const {target:_0xecce90}=_0xb8ad29,_0x1e4042=_0x427b2f['view']['document']['selection'];_0x921b43=!!(_0xecce90?.['is']('element','a')&&_0xecce90['parent']?.['is']('element','sup')&&_0xecce90['parent']['hasClass']('footnote'))&&_0x1e4042['getSelectedElement']()===_0xecce90['parent'];},{'priority':'high'}),this['listenTo'](_0x427b2f['view']['document'],'click',(_0x34c5a0,_0x4deddb)=>{const {target:_0x1767c1}=_0x4deddb;if(!_0x1767c1?.['is']('element','a'))return;if(_0x1767c1['parent']?.['is']('element','sup')&&_0x1767c1['parent']['hasClass']('footnote')&&!_0x921b43)return void _0x4deddb['preventDefault']();let _0x59d924=_0x1767c1['getAttribute']('href');if(!_0x59d924?.['startsWith']('#'))return;_0x59d924=_0x59d924['slice'](0x1);let _0x17147b=!0x1;(_0x59d924['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x59d924['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x59d924))&&(_0x17147b=!0x0),_0x17147b&&(_0x4deddb['preventDefault'](),_0x34c5a0['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x19df4d}={}){return(_0x7537bc,{writer:_0xf090b6})=>{if(!g(_0x7537bc))return null;if(!_0x19df4d)return _0xf090b6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x22c4f3=_0xf090b6['createContainerElement']('p');return _0xf090b6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x22c4f3),_0x22c4f3;};}function g(_0x1baf94){const {parent:_0x2f4ba9}=_0x1baf94;if(!_0x2f4ba9?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2f4ba9['childCount'])return!0x1;for(const _0x5727f7 of _0x1baf94['getAttributeKeys']())if(!_0x5727f7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5727f7)return!0x1;return!0x0;}function v(_0x2ec445,_0x4f792a){if(!_0x2ec445['is']('element','paragraph'))return!0x1;const _0x4fccde=_0x4f792a['toViewElement'](_0x2ec445);return!!_0x4fccde&&g(_0x2ec445)!==_0x4fccde['is']('element','span');}function Q(_0x36561a){return _0x3cd175(_0x36561a)&&_0x36561a['is']('containerElement')&&!!_0x36561a['getCustomProperty']('footnotesDefinitions');}function D(_0x218eb6,_0x5bbe95={}){const _0x1fe5c7=_0x218eb6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xd56135=_0x218eb6['createContainerElement']('ol',{'class':'footnotes-list'},_0x218eb6['createSlot']());return _0x218eb6['createContainerElement']('div',{'class':'footnotes',..._0x5bbe95},[_0x1fe5c7,_0xd56135]);}function b(_0x277673,_0xc87833){const _0x1685de=_0x277673['getAttribute']('footnoteId'),_0x4741b3=_0x277673['getAttribute']('footnoteCounter'),_0xf92a02=_0xc87833['createUIElement']('a',{'href':'#'+_0x1685de},function(_0x45b72d){const _0x1fc0a2=this['toDomElement'](_0x45b72d);return _0x1fc0a2['textContent']=_0x4741b3,_0x1fc0a2;}),_0x221d10=_0xc87833['createContainerElement']('sup',{'id':'ref-'+_0x1685de,'class':'footnote'},[_0xf92a02]);return _0x221d10['getFillerOffset']=()=>null,_0x221d10;}function y(_0x4621bd,_0xe1446a,_0x25fbe0,{dataPipeline:_0x280be0}={}){const {t:t}=_0x25fbe0,_0x451d33=_0x4621bd['getAttribute']('footnoteId'),_0x382f29=_0xe1446a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x451d33},function(_0x5f0a5f){const _0x56e569=this['toDomElement'](_0x5f0a5f);return _0x56e569['innerText']='^',_0x56e569;}),_0x117732=_0x280be0?_0xe1446a['createContainerElement']('div',{'class':'footnote-content'}):_0x67af3c(_0xe1446a['createEditableElement']('div',{'class':'footnote-content'}),_0xe1446a,{'label':t('Footnote\x20content.')});return _0xe1446a['insert'](_0xe1446a['createPositionAt'](_0x117732,0x0),_0xe1446a['createSlot']()),_0xe1446a['createContainerElement']('li',{'class':'footnote-definition','id':_0x451d33},[_0x382f29,_0x117732]);}class e extends _0x289d96{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x167ec9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x16bb08}=this,{plugins:_0x338271,model:_0x14711d}=_0x16bb08,_0xfc604e=_0x338271['get'](_0x167ec9),_0x5cd66a=_0x338271['get'](f);this['listenTo'](_0xfc604e,'outputTransformation',(_0x45f445,_0x5accea)=>{const _0x512707=l(_0x14711d['createRangeIn'](_0x5accea['content']));if(!_0x512707['length'])return;const _0x1f3fa2=_0x5cd66a['getFootnotes'](),_0x3c6bbe=_0x512707['reduce']((_0x510552,_0x35d70e)=>{const _0x5b2764=_0x1f3fa2['find'](_0x182382=>_0x182382['id']===_0x35d70e);if(_0x5b2764){const _0x452bf4=_0x16bb08['data']['toView'](_0x5b2764['definition'],{'isClipboardPipeline':!0x0}),_0x430fd9=_0x16bb08['data']['htmlProcessor']['toData'](_0x452bf4);_0x510552[_0x5b2764['id']]=_0x430fd9;}return _0x510552;},Object['create'](null));_0x5accea['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3c6bbe));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5bf502}=this,{model:_0x57a330,plugins:_0x49bd74}=_0x5bf502,{view:_0xb6c98}=_0x5bf502['editing'],_0x145c04=_0x49bd74['get'](_0x167ec9),_0x5cd2bc=_0x49bd74['get'](f),_0x226f51=_0x5bf502['config']['get']('footnotes.multiBlock');let _0x13e94b=null;this['listenTo'](_0xb6c98['document'],'clipboardInput',(_0x52b81f,_0x51734d)=>{const _0x58633c=_0x51734d['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x13e94b=_0x58633c?JSON['parse'](_0x58633c):null;}),this['listenTo'](_0x145c04,'contentInsertion',(_0x29a155,_0x248a3a)=>{const _0x559e25=_0x248a3a['sourceEditorId']===this['editor']['id'];_0x559e25&&'drop'===_0x248a3a['method']||_0x57a330['change'](_0xf05113=>{let _0x250a65=_0x5cd2bc['getFootnotesDefinitionsObjectElement']();const _0x39e61d=!!_0x250a65&&Array['from'](_0x57a330['document']['selection']['getSelectedBlocks']())['includes'](_0x250a65);if(!_0x13e94b&&function(_0x2f12df){for(const {item:_0x905d28}of _0x2f12df)if(_0x905d28['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x57a330['createRangeIn'](_0x248a3a['content']))&&(_0x13e94b=function(_0x5ddb83,_0x48cdf0){const _0xc81e57=c(_0x5ddb83,_0x48cdf0);if(!_0xc81e57)return null;const _0x363319=Object['create'](null);for(const _0x107014 of _0xc81e57['getChildren']())_0x107014['is']('element','footnoteDefinition')&&_0x107014['hasAttribute']('footnoteId')&&(_0x363319[_0x107014['getAttribute']('footnoteId')]=_0x5ddb83['cloneElement'](_0x107014,!0x0));return Object['keys'](_0x363319)['length']?_0x363319:null;}(_0xf05113,_0x248a3a['content'])),(_0x250a65&&!_0x39e61d||!_0x250a65&&!_0x13e94b)&&function(_0x56fa29,_0x35317c){const _0x20b9ec=[];for(const {item:_0x5dcc27}of _0x56fa29['createRangeIn'](_0x35317c))_0x5dcc27['is']('element','footnotesDefinitions')&&_0x20b9ec['push'](_0x5dcc27);for(const _0x4d9dba of _0x20b9ec)_0x56fa29['remove'](_0x4d9dba);}(_0xf05113,_0x248a3a['content']),!_0x13e94b)return;const {selection:_0x17f211}=_0x57a330['document'],_0x232891=_0x17f211['getFirstRange']()['root'];_0x250a65&&!_0x39e61d||(_0x250a65=c(_0xf05113,_0x248a3a['content']),_0x250a65||=_0x5cd2bc['_insertEmptyFootnotesDefinitionsContainer'](_0xf05113,_0x232891));const _0x43fb26=Array['from'](_0x17f211['getRanges']())['flatMap'](l),_0x3e910e=function(_0x450da4,_0x2ebc57,_0x3405ef){const _0x30c531=Object['create'](null);for(const {item:_0x4cab3c}of _0x450da4['createRangeIn'](_0x2ebc57))if(_0x4cab3c['is']('element','footnoteRef')){const _0x5d498b=_0x4cab3c['getAttribute']('footnoteId');if(!_0x3405ef(_0x5d498b))continue;_0x30c531[_0x5d498b]||(_0x30c531[_0x5d498b]=_0x1f20c6()),_0x450da4['setAttribute']('footnoteId',_0x30c531[_0x5d498b],_0x4cab3c);}return _0x30c531;}(_0xf05113,_0x248a3a['content'],_0x19e458=>{if(!_0x559e25)return!0x0;return!!_0x5cd2bc['getFootnote'](_0x19e458)&&!_0x43fb26['includes'](_0x19e458);});for(const [_0x71a073,_0x504470]of Object['entries'](_0x13e94b)){const _0x2217c1=_0x3e910e[_0x71a073]||_0x71a073;let _0x2b2801;if('string'!=typeof _0x504470)_0x2b2801=_0x504470,_0x2217c1!==_0x71a073&&_0xf05113['setAttribute']('footnoteId',_0x2217c1,_0x2b2801);else{_0x2b2801=_0xf05113['createElement']('footnoteDefinition',{'footnoteId':_0x2217c1});const _0x1ef8bb=_0x5bf502['data']['htmlProcessor']['toView'](_0x504470);let _0x3a8442;if(_0x226f51)_0x3a8442=_0x5bf502['data']['toModel'](_0x1ef8bb,_0x2b2801);else{_0x3a8442=_0xf05113['createElement']('footnoteInlineContent');const _0x57f7eb=_0x5bf502['data']['toModel'](_0x1ef8bb,_0x3a8442);_0xf05113['insert'](_0x57f7eb,_0x3a8442);}_0xf05113['append'](_0x3a8442,_0x2b2801);}_0xf05113['insert'](_0x2b2801,_0x250a65,'end');}_0x13e94b=null;});});}}function c(_0x3466b1,_0x1fdf84){for(const {item:_0x15af17}of _0x3466b1['createRangeIn'](_0x1fdf84))if(_0x15af17['is']('element','footnotesDefinitions'))return _0x15af17;return null;}function l(_0x2866db){const _0x2a9809=new Set();for(const {item:_0x5b7d6b}of _0x2866db)_0x5b7d6b['is']('element','footnoteRef')&&_0x2a9809['add'](_0x5b7d6b['getAttribute']('footnoteId'));return Array['from'](_0x2a9809);}class i extends _0x289d96{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x522b90}=this,{componentFactory:_0x49810f}=_0x522b90['ui'];_0x49810f['add']('insertFootnote',E(_0x522b90,_0x59eabe)),_0x49810f['add']('menuBar:insertFootnote',E(_0x522b90,_0x215600)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x551ba8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ded3b;for(const _0x1cdc25 in _0x551ba8){const _0x4c049c=_0x1cdc25,_0x35e834=_0x551ba8[_0x4c049c];if('footnotesLicenseKeyValid'==_0x35e834||'footnotesLicenseKeyInvalid'==_0x35e834||'footnotesLicenseKeyExpired'==_0x35e834||'footnotesLicenseKeyDomainLimit'==_0x35e834||'footnotesLicenseKeyNotAllowed'==_0x35e834||'footnotesLicenseKeyEvaluationLimit'==_0x35e834||'footnotesLicenseKeyTrialLimit'==_0x35e834||'footnotesLicenseKeyUsageLimit'==_0x35e834){delete _0x551ba8[_0x4c049c],_0x4ded3b=_0x35e834,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4ded3b&&_0x551ba8['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4ded3b&&_0x551ba8['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4ded3b&&_0x551ba8['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4ded3b&&_0x551ba8['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4ded3b&&_0x551ba8['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4ded3b&&_0x551ba8['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4ded3b&&_0x551ba8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x5afad4,_0xa997f4){const _0x6567de=_0x5afad4['commands']['get']('insertFootnote');return _0x59400c=>{const {t:t}=_0x59400c,_0x1a3bf8=new _0xa997f4(_0x59400c),_0x109eb4=_0x1a3bf8 instanceof _0x215600;return _0x1a3bf8['bind']('isEnabled')['to'](_0x6567de,'isEnabled'),_0x1a3bf8['set']({'label':t(_0x109eb4?'Footnote':'Insert\x20footnote'),'icon':_0x537e27,'tooltip':!0x0}),_0x1a3bf8['on']('execute',()=>{_0x6567de['execute'](),_0x5afad4['editing']['view']['focus']();}),_0x1a3bf8;};}class lt extends _0x289d96{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x865e70{['refresh'](){const {editor:_0xedbb64}=this,_0xedc237=_0xedbb64['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xedc237,this['value']=_0xedc237?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3f89ad}){const {editor:_0x4dfb33}=this,_0x2c1358=_0x4dfb33['plugins']['get'](f),_0x4c85a4=_0x2c1358['getFootnotesDefinitionsObjectElement']();_0x4c85a4&&W['includes'](_0x3f89ad)&&_0x4dfb33['model']['change'](_0x4ca43d=>{_0x4ca43d['setAttribute']('footnotesListStyle',_0x3f89ad,_0x4c85a4),_0x2c1358['_updateFootnotesCounters'](_0x4ca43d);});}}class C extends _0x865e70{['refresh'](){const {editor:_0x230430}=this,_0x50b5fb=_0x230430['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x50b5fb,this['value']=_0x50b5fb?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3a63e5}){const {editor:_0xc0e112}=this,_0x3b7a30=_0xc0e112['plugins']['get'](f),_0x5cdadd=_0x3b7a30['getFootnotesDefinitionsObjectElement']();_0x5cdadd&&Number['isInteger'](_0x3a63e5)&&_0xc0e112['model']['change'](_0x584aed=>{_0x584aed['setAttribute']('footnotesListStart',_0x3a63e5,_0x5cdadd),_0x3b7a30['_updateFootnotesCounters'](_0x584aed);});}}class P extends _0x289d96{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f06dd}=this;_0x4f06dd['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4f06dd['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4f06dd['commands']['add']('footnotesStyle',new S(_0x4f06dd)),_0x4f06dd['commands']['add']('footnotesStart',new C(_0x4f06dd)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1e1e86}=this,{schema:_0x7eb2bd}=_0x1e1e86['model'];_0x7eb2bd['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2a2047}=this,{conversion:_0x11a0bd,model:_0x5062f1}=_0x2a2047,{schema:_0xf0a9c2}=_0x5062f1;_0x11a0bd['for']('upcast')['add'](_0x26474e=>{_0x26474e['on']('element:ol',(_0x3e8922,_0x505751,_0x5e2d66)=>{const _0x116759=_0x505751['viewItem'],_0x37621e=_0x505751['modelCursor']?.['parent'];_0x116759['hasClass']('footnotes-list')&&_0x37621e?.['is']('element','footnotesDefinitions')&&(function(_0x4c6771,_0x209965,_0x4d838f,_0x5e5fcf){if(!_0x5e5fcf['checkAttribute'](_0x209965,'footnotesListStart'))return;let _0x4a88f6=0x1;const _0xa9bf51=_0x4d838f['consumable']['consume'](_0x4c6771,{'attributes':'start'});if(_0xa9bf51){const _0x151e5c=Number['parseInt'](_0x4c6771['getAttribute']('start'),0xa);Number['isNaN'](_0x151e5c)||(_0x4a88f6=_0x151e5c);}!_0xa9bf51&&_0x209965['hasAttribute']('footnotesListStart')||_0x4d838f['writer']['setAttribute']('footnotesListStart',_0x4a88f6,_0x209965);}(_0x116759,_0x37621e,_0x5e2d66,_0xf0a9c2),function(_0x4f9d0f,_0x597a2e,_0x250a3a,_0xafebd1){if(!_0xafebd1['checkAttribute'](_0x597a2e,'footnotesListStyle'))return;let _0x5853fc='decimal',_0x2a9ca1=!0x1;if(_0x250a3a['consumable']['consume'](_0x4f9d0f,{'attributes':'type'})){const _0x595328={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4f9d0f['getAttribute']('type')];_0x595328&&(_0x5853fc=_0x595328),_0x2a9ca1=!0x0;}_0x250a3a['consumable']['consume'](_0x4f9d0f,{'styles':'list-style-type'})&&(_0x5853fc=function(_0x240e03){switch(_0x240e03){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x240e03;}}(_0x4f9d0f['getStyle']('list-style-type')),_0x2a9ca1=!0x0),!_0x2a9ca1&&_0x597a2e['hasAttribute']('footnotesListStyle')||_0x250a3a['writer']['setAttribute']('footnotesListStyle',_0x5853fc,_0x597a2e);}(_0x116759,_0x37621e,_0x5e2d66,_0xf0a9c2));});}),_0x11a0bd['for']('downcast')['add'](_0x526228=>{_0x526228['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2ef690,_0x494951,_0x48e1e8)=>{if(!_0x48e1e8['consumable']['consume'](_0x494951['item'],_0x2ef690['name']))return;const _0x2acddc=M(_0x494951['item'],_0x48e1e8['mapper']),{attributeNewValue:_0x4d6a25}=_0x494951;null==_0x4d6a25||0x1===_0x4d6a25?_0x48e1e8['writer']['removeAttribute']('start',_0x2acddc):_0x48e1e8['writer']['setAttribute']('start',String(_0x4d6a25),_0x2acddc);}),_0x526228['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x423c3d,_0x26260c,_0x2ad680)=>{if(!_0x2ad680['consumable']['consume'](_0x26260c['item'],_0x423c3d['name']))return;const _0x5f393a=M(_0x26260c['item'],_0x2ad680['mapper']),{attributeNewValue:_0x1c1d75}=_0x26260c;_0x1c1d75&&'decimal'!==_0x1c1d75?_0x2ad680['writer']['setStyle']('list-style-type',_0x1c1d75,_0x5f393a):_0x2ad680['writer']['removeStyle']('list-style-type',_0x5f393a);});});}['_definePostfixer'](){const {editor:_0x2774b3}=this,{model:_0x3dae8}=_0x2774b3,_0xe43d12=_0x2774b3['plugins']['get'](f),_0x35d008=this['_getDefaultListStyle'](),_0x90e4e5=this['_getDefaultStartIndex']();_0x3dae8['document']['registerPostFixer'](_0x1c8e9c=>{const _0x31396d=_0x3dae8['document']['differ']['getChanges']();let _0x2a251f=!0x1;for(const _0x1dd3ae of _0x31396d){if('insert'!==_0x1dd3ae['type']||'$text'===_0x1dd3ae['name'])continue;const _0x16e5ff=_0x3dae8['createRangeOn'](_0x1dd3ae['position']['nodeAfter']);for(const _0x2a1d0f of _0x16e5ff['getItems']())_0x2a1d0f['is']('element','footnotesDefinitions')&&(!_0x2a1d0f['hasAttribute']('footnotesListStart')&&_0x3dae8['schema']['checkAttribute'](_0x2a1d0f,'footnotesListStart')&&(_0x1c8e9c['setAttribute']('footnotesListStart',_0x90e4e5,_0x2a1d0f),_0x2a251f=!0x0),!_0x2a1d0f['hasAttribute']('footnotesListStyle')&&_0x3dae8['schema']['checkAttribute'](_0x2a1d0f,'footnotesListStyle')&&(_0x1c8e9c['setAttribute']('footnotesListStyle',_0x35d008,_0x2a1d0f),_0x2a251f=!0x0));}return _0x2a251f&&_0xe43d12['_updateFootnotesCounters'](_0x1c8e9c),_0x2a251f;});}['_defineFormatter'](){const {editor:_0x550d2f}=this;_0x550d2f['plugins']['get'](f)['setFootnoteFormatter'](_0x1cea73=>this['_formatFootnoteListValue'](_0x1cea73));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4ed25a,value:_0x4529e6,digits:_0x15e326}){const _0x301c2a=_0x4ed25a['getAttribute']('footnotesListStyle'),_0x1a8454=_0x4ed25a['getAttribute']('footnotesListStart'),_0x5eb920=Math['floor'](_0x4529e6)+(_0x1a8454??0x1)-0x1;switch(_0x301c2a){case'decimal-leading-zero':return function(_0x5d2fc5,_0x366624){return String(_0x5d2fc5)['padStart'](_0x366624,'0');}(_0x5eb920,Math['max'](0x2,_0x15e326));case'lower-alpha':case'lower-latin':return N(_0x5eb920,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5eb920,!0x0);case'lower-roman':return X(_0x5eb920,!0x1);case'upper-roman':return X(_0x5eb920,!0x0);default:return String(_0x5eb920);}}}function M(_0x1e3d03,_0x47eacd){const _0xf1e493=_0x47eacd['toViewElement'](_0x1e3d03);return Array['from'](_0xf1e493['getChildren']())['find'](_0x470d53=>_0x470d53['is']('element','ol')&&_0x470d53['hasClass']('footnotes-list'));}function N(_0xcb84f7,_0x289d2c){let _0x476335='',_0x3e1bc3=_0xcb84f7;for(;_0x3e1bc3>0x0;){const _0xcae7ec=(_0x3e1bc3-0x1)%0x1a;_0x476335=String['fromCharCode'](0x61+_0xcae7ec)+_0x476335,_0x3e1bc3=Math['floor']((_0x3e1bc3-0x1)/0x1a);}return _0x289d2c?_0x476335['toUpperCase']():_0x476335;}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(_0x22c1dd,_0x2d591a){let _0x211474='',_0x50d508=_0x22c1dd;for(const {value:_0x327b70,numeral:_0x2c891c}of V)for(;_0x50d508>=_0x327b70;)_0x211474+=_0x2c891c,_0x50d508-=_0x327b70;return _0x2d591a?_0x211474:_0x211474['toLowerCase']();}class J extends _0x1264fa{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0xceb30e();['focusCycler'];constructor(_0x5aa9cc,{styleButtonViews:_0x420e7b,styleGridAriaLabel:_0x56465b}){super(_0x5aa9cc),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x420e7b,_0x56465b),[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 _0x3e03e7 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3e03e7['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x9e6b80=_0x521fc3=>_0x521fc3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x9e6b80),this['keystrokes']['set']('arrowleft',_0x9e6b80),this['keystrokes']['set']('arrowup',_0x9e6b80),this['keystrokes']['set']('arrowdown',_0x9e6b80);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x42cf71,_0x2ecf3c){const _0xd8d85a=new _0x1264fa(this['locale']);return _0xd8d85a['children']=_0xd8d85a['createCollection'](),_0xd8d85a['children']['addMany'](_0x42cf71),_0xd8d85a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2ecf3c,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd8d85a['children']}),_0xd8d85a['children']['delegate']('execute')['to'](this),_0xd8d85a['focus']=function(){for(const _0x169ad3 of this['children'])if(_0x169ad3 instanceof _0x59eabe&&_0x169ad3['isOn'])return void _0x169ad3['focus']();this['children']['first']['focus']();},_0xd8d85a['focusTracker']=new rt(),_0xd8d85a['keystrokes']=new nt(),_0xd8d85a['render'](),_0xd8d85a['keystrokes']['listenTo'](_0xd8d85a['element']),this['children']['add'](_0xd8d85a),_0xd8d85a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x19fa77=this['_createStartIndexPropertyView'](),_0x2728e0=[_0x19fa77],_0x3bb011=new it(this['locale'],_0x2728e0);return _0x3bb011['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3bb011['buttonView']['bind']('isEnabled')['toMany'](_0x2728e0,'isEnabled',(..._0x5962ab)=>_0x5962ab['some'](_0x24732d=>_0x24732d)),_0x3bb011['buttonView']['on']('change:isEnabled',(_0x58a799,_0x3239a4,_0x16a869)=>{_0x16a869||(_0x3bb011['isCollapsed']=!0x0);}),this['children']['add'](_0x3bb011),[_0x19fa77,_0x3bb011];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x17b940=new et(this['locale'],ot);return _0x17b940['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x17b940['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x17b940['fieldView']['on']('input',()=>{const _0x531568=_0x17b940['fieldView']['element'],_0x29fde9=_0x531568['valueAsNumber'];Number['isNaN'](_0x29fde9)?_0x17b940['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x531568['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x29fde9}):_0x17b940['errorText']=t(_0x29fde9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x17b940;}}class j extends _0x289d96{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5bae04,_0x46d6eb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x534f87}=this,{componentFactory:_0x2c3fa2}=_0x534f87['ui'];_0x534f87['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2c3fa2['add']('footnotesStyle',function(_0x5d6710){return _0x394b54=>{const {t:t}=_0x394b54,_0x2785e4=_0x5d6710['commands']['get']('footnotesStyle'),_0x53bc8f=_0x1a0b24(_0x394b54),{buttonView:_0xc82515}=_0x53bc8f;return _0x53bc8f['class']='ck-footnotes-styles-dropdown',_0x53bc8f['bind']('isEnabled')['to'](_0x2785e4,'isEnabled'),_0xc82515['set']({'label':t('Footnotes\x20style'),'icon':_0x537e27,'tooltip':!0x0}),_0x53bc8f['once']('change:isOpen',()=>{const _0x1687ae=function({editor:_0x2b0bd5,dropdownView:_0x34d078}){const {t:t}=_0x2b0bd5['locale'],_0x11aa2a=t('Footnotes\x20definitions\x20styles'),_0x471ec9=function(_0x20cf9e){const t=_0x20cf9e['locale']['t'],_0x46cf0f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x29ed28},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3db760},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x58b553},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5e9684},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x246eaa},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1afa8d}];return _0x46cf0f['map'](function(_0x50d93c){const _0x597990=_0x50d93c['locale'];return({label:_0x104072,icon:_0x11ddce,tooltip:_0x118082,style:_0x4fa105})=>{const _0x597f06=_0x50d93c['commands']['get']('footnotesStyle'),_0x2b3518=new _0x59eabe(_0x597990);return _0x2b3518['set']({'label':_0x104072,'icon':_0x11ddce,'tooltip':_0x118082}),_0x2b3518['bind']('isOn')['to'](_0x597f06,'value',_0x3fcbec=>_0x3fcbec===_0x4fa105),_0x2b3518['bind']('isEnabled')['to'](_0x597f06,'isEnabled'),_0x2b3518['on']('execute',()=>{_0x50d93c['execute']('footnotesStyle',{'value':_0x4fa105}),_0x50d93c['editing']['view']['focus']();}),_0x2b3518;};}(_0x20cf9e));}(_0x2b0bd5),_0x15882c=new J(_0x2b0bd5['locale'],{'styleGridAriaLabel':_0x11aa2a,'styleButtonViews':_0x471ec9}),_0x45d808=_0x2b0bd5['commands']['get']('footnotesStart');return _0x15882c['startIndexFieldView']['bind']('isEnabled')['to'](_0x45d808),_0x15882c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x45d808),_0x15882c['on']('footnotesListStart',(_0x353606,_0x13d61b)=>{_0x2b0bd5['execute']('footnotesStart',{'value':_0x13d61b['startIndex']});}),_0x15882c['delegate']('execute')['to'](_0x34d078),_0x15882c;}({'editor':_0x5d6710,'dropdownView':_0x53bc8f});_0x53bc8f['panelView']['children']['add'](_0x1687ae);}),_0x53bc8f;};}(_0x534f87));}['afterInit'](){const {editor:_0x128f10}=this,{t:t}=_0x128f10['locale'],_0x36ae13=_0x128f10['plugins']['get'](_0x46d6eb),{defaultPositions:_0x4333d9}=_0x50ad8b;_0x36ae13['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x128f10['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x41ca37=>{let _0x106fb3=_0x41ca37['getFirstPosition']()?.['parent'];return _0x106fb3?.['is']('$text')&&(_0x106fb3=_0x106fb3['parent']),_0x106fb3?.['is']('element')?_0x106fb3['findAncestor'](Q):null;},'positions':[_0x4333d9['southArrowNorth'],_0x4333d9['southArrowNorthMiddleWest'],_0x4333d9['southArrowNorthMiddleEast'],_0x4333d9['southArrowNorthWest'],_0x4333d9['southArrowNorthEast'],_0x4333d9['northArrowSouth'],_0x4333d9['northArrowSouthMiddleWest'],_0x4333d9['northArrowSouthMiddleEast'],_0x4333d9['northArrowSouthWest'],_0x4333d9['northArrowSouthEast'],_0x4333d9['viewportStickyNorth']]});}}class ft extends _0x289d96{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h 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':_0x251f0b=>0x1!=_0x251f0b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ab265=>{const {af:{dictionary:_0x4d5d69,getPluralForm:_0x46d929}}={'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':_0x539982=>0x1!=_0x539982}};_0x3ab265['af']||={'dictionary':{},'getPluralForm':null},_0x3ab265['af']['dictionary']=Object['assign'](_0x3ab265['af']['dictionary'],_0x4d5d69),_0x3ab265['af']['getPluralForm']=_0x46d929;})(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':_0x4267ad=>0x0==_0x4267ad?0x0:0x1==_0x4267ad?0x1:0x2==_0x4267ad?0x2:_0x4267ad%0x64>=0x3&&_0x4267ad%0x64<=0xa?0x3:_0x4267ad%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14ee8d=>{const {ar:{dictionary:_0x2cb9b3,getPluralForm:_0x31fb68}}={'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':_0x2525f4=>0x0==_0x2525f4?0x0:0x1==_0x2525f4?0x1:0x2==_0x2525f4?0x2:_0x2525f4%0x64>=0x3&&_0x2525f4%0x64<=0xa?0x3:_0x2525f4%0x64>=0xb?0x4:0x5}};_0x14ee8d['ar']||={'dictionary':{},'getPluralForm':null},_0x14ee8d['ar']['dictionary']=Object['assign'](_0x14ee8d['ar']['dictionary'],_0x2cb9b3),_0x14ee8d['ar']['getPluralForm']=_0x31fb68;})(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':_0x20c69a=>0x1!=_0x20c69a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x541c08=>{const {ast:{dictionary:_0x36afb7,getPluralForm:_0x45552c}}={'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':_0x340c02=>0x1!=_0x340c02}};_0x541c08['ast']||={'dictionary':{},'getPluralForm':null},_0x541c08['ast']['dictionary']=Object['assign'](_0x541c08['ast']['dictionary'],_0x36afb7),_0x541c08['ast']['getPluralForm']=_0x45552c;})(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':_0x568a30=>0x1!=_0x568a30}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a413d=>{const {az:{dictionary:_0x258d16,getPluralForm:_0x1fb1ae}}={'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':_0x337725=>0x1!=_0x337725}};_0x3a413d['az']||={'dictionary':{},'getPluralForm':null},_0x3a413d['az']['dictionary']=Object['assign'](_0x3a413d['az']['dictionary'],_0x258d16),_0x3a413d['az']['getPluralForm']=_0x1fb1ae;})(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':_0x9d4bbb=>_0x9d4bbb%0xa==0x1&&_0x9d4bbb%0x64!=0xb?0x0:_0x9d4bbb%0xa>=0x2&&_0x9d4bbb%0xa<=0x4&&(_0x9d4bbb%0x64<0xa||_0x9d4bbb%0x64>=0x14)?0x1:0x2}};
|