@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251210.0 → 0.0.0-nightly-20251211.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xd62532,Command as _0x45d31d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5c3508,isWidget as _0x208382,toWidgetEditable as _0x525d27,WidgetToolbarRepository as _0x18f029}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x35a928,logWarning as _0xf9eb08,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5efc24,ClickObserver as _0x13740d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x833588}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1c4869,ButtonView as _0x190394,View as _0x2dfd86,ViewCollection as _0x16cd73,FocusCycler as _0xb612c8,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xd29b5,BalloonPanelView as _0x456029,createDropdown as _0x209405}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5c2f45,IconListStyleDecimal as _0x3f0806,IconListStyleDecimalLeadingZero as _0x1007cb,IconListStyleLowerRoman as _0x2c7244,IconListStyleUpperRoman as _0x51cf35,IconListStyleLowerLatin as _0x252d52,IconListStyleUpperLatin as _0x9aa7f9}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1cc6e2,_0x482737){this['_model']=_0x1cc6e2,this['_elementName']=_0x482737['elementName'],this['_getElementKey']=_0x482737['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x180944){const _0x4f1642=new Set(),_0x105e11=new Map();for(const _0xaac527 of _0x180944){if('insert'===_0xaac527['type']&&'$text'!==_0xaac527['name']&&_0xaac527['position']['nodeAfter']){const _0x4ce728=this['_model']['createRangeOn'](_0xaac527['position']['nodeAfter']);for(const _0x2d7b42 of _0x4ce728['getItems']()){if(!_0x2d7b42['is']('element',this['_elementName']))continue;const _0x4eb073=this['_getElementKey'](_0x2d7b42);_0x105e11['has'](_0x4eb073)||_0x105e11['set'](_0x4eb073,[]),_0x105e11['get'](_0x4eb073)['push'](_0x2d7b42);}}if('remove'===_0xaac527['type']&&_0xaac527['name']===this['_elementName']){const _0x234c96=this['_getElementKey']({'getAttribute':_0x259547=>_0xaac527['attributes']['get'](_0x259547)});_0x4f1642['add'](_0x234c96);}}for(const [_0x2fde09,_0x3a4004]of this['_trackedElements'])'$graveyard'===_0x3a4004['root']['rootName']&&_0x4f1642['add'](_0x2fde09);for(const _0x5a6ade of _0x4f1642)this['_trackedElements']['delete'](_0x5a6ade);for(const [_0x413bdb,_0x54d678]of _0x105e11)this['_trackedElements']['set'](_0x413bdb,_0x54d678[_0x54d678['length']-0x1]);const _0x21c534=new Set();for(const [_0x2d82e6,_0xc0f05c]of _0x105e11)_0x4f1642['has'](_0x2d82e6)&&(_0x21c534['add'](_0xc0f05c[0x0]),_0xc0f05c['length']>0x1?_0x105e11['set'](_0x2d82e6,_0xc0f05c['slice'](0x1)):_0x105e11['delete'](_0x2d82e6),_0x4f1642['delete'](_0x2d82e6));return{'removed':Array['from'](_0x4f1642),'inserted':Array['from'](_0x105e11['values']())['flat'](),'moved':Array['from'](_0x21c534)};}}class f extends _0xd62532{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x282009){super(_0x282009),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4b0687=>_0x4b0687['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x43d1d3=>_0x43d1d3['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5b4825}=this,{model:_0x2f296b,data:_0x588249}=_0x5b4825;_0x2f296b['document']['registerPostFixer'](_0x34b3a2=>{const _0x3b503f=_0x2f296b['document']['differ']['getChanges']();let _0x106835=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x34b3a2,_0x3b503f)&&(_0x106835=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x34b3a2,_0x3b503f)&&(_0x106835=!0x0),this['_handleFootnoteReferencesChanges'](_0x34b3a2,_0x3b503f)&&(_0x106835=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x34b3a2)&&(_0x106835=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x34b3a2)&&(_0x106835=!0x0),this['_sortFootnoteDefinitions'](_0x34b3a2)&&(_0x106835=!0x0),_0x106835;}),this['listenTo'](_0x2f296b['document'],'change:data',()=>{_0x2f296b['enqueueChange']({'isUndoable':!0x1},_0x21dce0=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x21dce0);});},{'priority':'low'}),this['listenTo'](_0x588249,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x33a461){return this['_footnotes']['find'](_0x4f66b3=>_0x4f66b3['id']===_0x33a461)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x14fc02){this['_footnoteFormatter']=_0x14fc02;}['_updateFootnotesCounters'](_0x3e4845,_0x559e39=0x0){let _0x36ed10=!0x1;for(let _0x2008ff=_0x559e39;_0x2008ff<this['_footnotes']['length'];_0x2008ff++)this['_updateFootnoteRefCounter'](_0x3e4845,_0x2008ff)&&(_0x36ed10=!0x0);return _0x36ed10;}['_insertEmptyFootnotesDefinitionsContainer'](_0x34a070,_0x237eff){const _0x55b2db=_0x34a070['createElement']('footnotesDefinitions',{});return _0x34a070['append'](_0x55b2db,_0x237eff),this['_footnotesDefinitions']=_0x55b2db,_0x55b2db;}['_ensureFootnotesDefinitionsContainerExists'](_0x19c02e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x10020b=this['_footnotes'][0x0]['reference']['root'],_0x4624b8=this['_insertEmptyFootnotesDefinitionsContainer'](_0x19c02e,_0x10020b);for(const _0x1c4779 of this['_footnotes'])_0x1c4779['definition']['parent']||_0x19c02e['insert'](_0x1c4779['definition'],_0x4624b8,'end');this['_updateFootnotesCounters'](_0x19c02e);}['_handleFootnotesDefinitionsObjectChanges'](_0x1fd6de,_0x610d71){let _0x3a8e36=!0x1;const {inserted:_0xe969bb,removed:_0x3e002d,moved:_0x4a2c30}=this['_footnoteDefsContainerTracker']['getChanges'](_0x610d71);if(_0x4a2c30['length']&&(this['_footnotesDefinitions']=_0x4a2c30[0x0]),_0xe969bb['length']){if(_0xe969bb['length']>0x1||this['_footnotesDefinitions']&&_0xe969bb['some'](_0x5c5ddc=>_0x5c5ddc!==this['_footnotesDefinitions'])){const _0x2352ee=_0x1fd6de['createElement']('footnotesDefinitions',{}),_0xd3dc7f=[];this['_footnotesDefinitions']&&_0xd3dc7f['push'](this['_footnotesDefinitions']),_0xd3dc7f['push'](..._0xe969bb),_0x1fd6de['insert'](_0x2352ee,_0xd3dc7f[0x0],'before');for(const _0x274ad8 of _0xd3dc7f)_0x1fd6de['move'](_0x1fd6de['createRangeIn'](_0x274ad8),_0x1fd6de['createPositionAt'](_0x2352ee,'end')),_0x1fd6de['remove'](_0x274ad8);this['_footnotesDefinitions']=_0x2352ee,this['_updateFootnotesCounters'](_0x1fd6de),_0x3a8e36=!0x0;}else this['_footnotesDefinitions']=_0xe969bb[0x0];}if(_0x3e002d['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x385d92 of this['_footnotes'])_0x1fd6de['remove'](_0x385d92['reference']),_0x3a8e36=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3a8e36;}['_handleFootnoteDefinitionsChanges'](_0x3a40b6,_0x696d04){let _0x4ab284=!0x1;const _0x458725=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x26576f,moved:_0x14e191}=this['_footnoteDefsTracker']['getChanges'](_0x696d04);for(const _0xb634ef of[..._0x14e191,..._0x26576f]){const _0x45912b=_0xb634ef['getAttribute']('footnoteId'),_0x4d80e0=this['getFootnote'](_0x45912b);_0x4d80e0&&(_0x4d80e0['definition']=_0xb634ef),_(_0x3a40b6,_0x458725,_0xb634ef)&&(_0x4ab284=!0x0);}return _0x4ab284;}['_handleFootnoteReferencesChanges'](_0x382f38,_0x862153){let _0x4dcf6e=!0x1;const {removed:_0x214116,inserted:_0x333972,moved:_0x115c77}=this['_footnoteRefsTracker']['getChanges'](_0x862153);for(const _0x2f7294 of _0x214116)this['_handleRemoveFootnoteReferenceById'](_0x382f38,_0x2f7294)&&(_0x4dcf6e=!0x0);for(const _0x9a919 of _0x333972)this['_handleInsertedFootnoteReference'](_0x382f38,_0x9a919)&&(_0x4dcf6e=!0x0);for(const _0x1d6d1a of _0x115c77)this['_handleMovedFootnoteReference'](_0x382f38,_0x1d6d1a)&&(_0x4dcf6e=!0x0);return _0x4dcf6e;}['_handleFootnotesDefinitionsObjectSync'](_0x42b5c7){if(!this['_footnotesDefinitions'])return!0x1;let _0x31d01a=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2a4480=[];for(const _0x236f2d of this['_footnotesDefinitions']['getChildren']()){const _0x39efea=_0x236f2d['getAttribute']('footnoteId');this['getFootnote'](_0x39efea)||(_0x2a4480['unshift'](_0x236f2d),_0x31d01a=!0x0);}for(const _0xa086ee of _0x2a4480)_0x42b5c7['remove'](_0xa086ee);}const _0x99c5e6=new Set(),_0x318ce5=[];for(const _0x57bd77 of this['_footnotesDefinitions']['getChildren']()){const _0x1c94df=_0x57bd77['getAttribute']('footnoteId');_0x99c5e6['has'](_0x1c94df)?(_0x318ce5['unshift'](_0x57bd77),_0x31d01a=!0x0):_0x99c5e6['add'](_0x1c94df);}for(const _0x3006d1 of _0x318ce5)_0x42b5c7['remove'](_0x3006d1);return this['_footnotesDefinitions']['childCount']||(_0x42b5c7['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x31d01a=!0x0),_0x31d01a;}['_handleInsertedFootnoteReference'](_0x191296,_0x53c152){if(this['_footnotes']['find'](_0x1f850e=>_0x1f850e['reference']===_0x53c152))return!0x1;let _0x485ba8=!0x1;const _0xe2973f=_0x53c152['getAttribute']('footnoteId'),_0x52625c=this['_footnotes']['findIndex'](_0x2aaad6=>_0x2aaad6['id']===_0xe2973f);-0x1!==_0x52625c&&(_0x191296['remove'](this['_footnotes'][_0x52625c]['reference']),this['_footnotes']['splice'](_0x52625c,0x1),_0x485ba8=!0x0);let _0x348a7c=this['_footnotesDefinitions']?function(_0x2e5665,_0x14e6b9){for(const _0x85cb8d of _0x2e5665['getChildren']())if(_0x85cb8d['getAttribute']('footnoteId')===_0x14e6b9)return _0x85cb8d;return null;}(this['_footnotesDefinitions'],_0xe2973f):null;_0x348a7c||(_0x348a7c=_0x191296['createElement']('footnoteDefinition',{'footnoteId':_0xe2973f}),this['_footnotesDefinitions']&&(_0x191296['insert'](_0x348a7c,this['_footnotesDefinitions'],'end'),_0x485ba8=!0x0));const _0x30d430={'id':_0xe2973f,'reference':_0x53c152,'definition':_0x348a7c},_0x16a996=I(this['editor']['model'],this['_footnotes'],_0x53c152);this['_footnotes']['splice'](_0x16a996,0x0,_0x30d430);let _0x14f6ac=_0x16a996;return-0x1!==_0x52625c&&(_0x14f6ac=Math['min'](_0x16a996,_0x52625c)),this['_updateFootnotesCounters'](_0x191296,_0x14f6ac)&&(_0x485ba8=!0x0),_0x485ba8;}['_handleRemoveFootnoteReferenceById'](_0x444583,_0x219d01){const _0x1b7c5c=this['_footnotes']['findIndex'](_0x4dd41b=>_0x4dd41b['id']===_0x219d01);if(-0x1===_0x1b7c5c)return!0x1;let _0x4b9110=!0x1;const _0x57804f=this['_footnotes'][_0x1b7c5c];return'$graveyard'!==_0x57804f['definition']['root']['rootName']&&(_0x444583['remove'](_0x57804f['definition']),_0x4b9110=!0x0),this['_footnotes']['splice'](_0x1b7c5c,0x1),this['_updateFootnotesCounters'](_0x444583,_0x1b7c5c)&&(_0x4b9110=!0x0),_0x4b9110;}['_handleMovedFootnoteReference'](_0x5a3405,_0x2de61e){const _0x4c687c=_0x2de61e['getAttribute']('footnoteId'),_0xc161f6=this['_footnotes']['findIndex'](_0x2c961d=>_0x2c961d['id']===_0x4c687c),_0x360ab8=this['_footnotes'][_0xc161f6];let _0xd0347c=!0x1;_0x360ab8['reference']=_0x2de61e,this['_footnotes']['splice'](_0xc161f6,0x1);const _0x449e2f=I(this['editor']['model'],this['_footnotes'],_0x2de61e);return this['_footnotes']['splice'](_0x449e2f,0x0,_0x360ab8),this['_updateFootnotesCounters'](_0x5a3405,Math['min'](_0xc161f6,_0x449e2f))&&(_0xd0347c=!0x0),_0xd0347c;}['_updateFootnoteRefCounter'](_0x4b5dcb,_0x4bcf9e){if(!this['_footnotesDefinitions'])return!0x1;const _0x594fcc=this['_footnotes'][_0x4bcf9e];let _0x1309a3;return _0x1309a3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x594fcc,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4bcf9e+0x1}):String(_0x4bcf9e+0x1),_0x594fcc['reference']['getAttribute']('footnoteCounter')!=_0x1309a3&&(_0x4b5dcb['setAttribute']('footnoteCounter',_0x1309a3,_0x594fcc['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4ea04c){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2f7d5c,_0x3b7181){if(_0x2f7d5c['length']!==_0x3b7181['length'])return!0x1;for(let _0x1d37c7=0x0;_0x1d37c7<_0x2f7d5c['length'];_0x1d37c7++)if(_0x2f7d5c[_0x1d37c7]!==_0x3b7181[_0x1d37c7])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x56f68a=>_0x56f68a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x251d12=>_0x251d12['getAttribute']('footnoteId'))))return!0x1;let _0x398dfb=!0x1;for(let _0x3dbae6=0x0;_0x3dbae6<this['_footnotes']['length'];_0x3dbae6++){const _0x1c015a=this['_footnotes'][_0x3dbae6],_0xcbb858=_0x4ea04c['createPositionBefore'](_0x1c015a['definition']),_0x3d4c29=_0x4ea04c['createPositionAt'](this['_footnotesDefinitions'],_0x3dbae6);_0xcbb858['isEqual'](_0x3d4c29)||(_0x4ea04c['move'](_0x4ea04c['createRangeOn'](_0x1c015a['definition']),_0x3d4c29),_0x398dfb=!0x0);}return _0x398dfb;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2a31d7){if(!this['_footnotes']['length'])return!0x1;const {model:_0x671318}=this['editor'];let _0x49d86b=!0x1;for(let _0x4092e9=0x0;_0x4092e9<this['_footnotes']['length']-0x1;_0x4092e9++){const _0x23470a=this['_footnotes'][_0x4092e9],_0x4e9af5=this['_footnotes'][_0x4092e9+0x1],_0x2f82c8=_0x671318['createPositionBefore'](_0x23470a['reference']),_0x58f5ed=_0x671318['createPositionBefore'](_0x4e9af5['reference']);'after'===_0x2f82c8['compareWith'](_0x58f5ed)&&(this['_handleMovedFootnoteReference'](_0x2a31d7,_0x23470a['reference']),_0x4092e9=-0x1,_0x49d86b=!0x0);}return _0x49d86b;}}function _(_0x339868,_0x548c39,_0x53582b){if(_0x53582b['childCount'])return!0x1;const _0x270abf=_0x548c39?'paragraph':'footnoteInlineContent';return _0x339868['insert'](_0x339868['createElement'](_0x270abf),_0x53582b),!0x0;}function I(_0x3d78ff,_0x48f0de,_0x5c9e7f){if(0x0===_0x48f0de['length'])return 0x0;const _0x476413=_0x3d78ff['createPositionBefore'](_0x5c9e7f);for(let _0x424b3a=0x0;_0x424b3a<_0x48f0de['length'];_0x424b3a++){const _0x4a767b=_0x48f0de[_0x424b3a],_0x4b53a3=_0x3d78ff['createPositionBefore'](_0x4a767b['reference']);if('before'===_0x476413['compareWith'](_0x4b53a3))return _0x424b3a;}const _0x175c70=_0x5c9e7f['root'];let _0x1e669e=-0x1;for(let _0x3ab7b6=_0x48f0de['length']-0x1;_0x3ab7b6>=0x0;_0x3ab7b6--)if(_0x48f0de[_0x3ab7b6]['reference']['root']===_0x175c70){_0x1e669e=_0x3ab7b6;break;}if(-0x1!==_0x1e669e)return _0x1e669e+0x1;const _0x53a06e=_0x3d78ff['document']['getRootNames'](),_0x1c971f=_0x53a06e['indexOf'](_0x175c70['rootName']),_0x266c3b=_0x53a06e[_0x1c971f+0x1];if(_0x266c3b){for(let _0x4a72c2=0x0;_0x4a72c2<_0x48f0de['length'];_0x4a72c2++)if(_0x48f0de[_0x4a72c2]['reference']['root']['rootName']===_0x266c3b)return _0x4a72c2;}return _0x48f0de['length'];}class m extends _0x45d31d{['refresh'](){const _0x31d678=this['editor']['model']['document']['selection'],_0x1425d9=this['_getPositionToInsertFootnote'](_0x31d678);this['isEnabled']=!!_0x1425d9;}['execute'](_0x2e87db){const {editor:_0x50086b}=this,{model:_0x56c435}=_0x50086b,{selection:_0x4a63a2}=_0x56c435['document'],_0x1cf17c=this['_getPositionToInsertFootnote'](_0x4a63a2);if(!_0x1cf17c)return;const _0x4c9758=_0x50086b['plugins']['get']('FootnotesEditing'),_0x2c3a46=_0x2e87db?.['footnoteId']??_0x35a928();!function(_0x15af8f){return'string'==typeof _0x15af8f&&_0x15af8f['length']>0x0&&!/\s/['test'](_0x15af8f)&&!/^\d/['test'](_0x15af8f);}(_0x2c3a46)?_0xf9eb08('insert-footnote-command-executed-with-invalid-id'):(_0x56c435['change'](_0x5dc3c6=>{const _0x51ec44=_0x5dc3c6['createElement']('footnoteRef',{'footnoteId':_0x2c3a46});_0x56c435['insertObject'](_0x51ec44,_0x1cf17c,null);}),_0x4c9758['_moveSelectionToFootnoteDefinition'](_0x2c3a46));}['_getPositionToInsertFootnote'](_0x423598){const {model:_0x464785}=this['editor'],{schema:_0x365057}=_0x464785,_0x92cb24=_0x423598['getFirstRange']();for(const _0x5a7c21 of _0x92cb24['getItems']())if(_0x365057['isBlock'](_0x5a7c21)||_0x365057['isObject'](_0x5a7c21))return null;const _0x586e3a=_0x92cb24['end'];return _0x365057['checkChild'](_0x586e3a,'footnoteRef')?_0x586e3a:null;}}class r extends _0xd62532{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e53af}=this;_0x5e53af['config']['define']('footnotes.multiBlock',!0x0),_0x5e53af['commands']['add']('insertFootnote',new m(_0x5e53af)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2915e8){const _0x2b1915=_0x4eb51e([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]),_0x267214=0x47a28506,_0x363923=0x47a5fe86^_0x267214,_0xcb4120=window[_0x4eb51e([0x44,0x61,0x74,0x65])][_0x4eb51e([0x6e,0x6f,0x77])](),_0x6a6d7d=_0x2915e8[_0x4eb51e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5642e1=new window[(_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4147a7=>{_0x6a6d7d[_0x4eb51e([0x6f,0x6e,0x63,0x65])](_0x4eb51e([0x72,0x65,0x61,0x64,0x79]),_0x4147a7);}),_0x58303a={[_0x4eb51e([0x6b,0x74,0x79])]:_0x4eb51e([0x45,0x43]),[_0x4eb51e([0x75,0x73,0x65])]:_0x4eb51e([0x73,0x69,0x67]),[_0x4eb51e([0x63,0x72,0x76])]:_0x4eb51e([0x50,0x2d,0x32,0x35,0x36]),[_0x4eb51e([0x78])]:_0x4eb51e([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]),[_0x4eb51e([0x79])]:_0x4eb51e([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]),[_0x4eb51e([0x61,0x6c,0x67])]:_0x4eb51e([0x45,0x53,0x32,0x35,0x36])},_0x51fed0=_0x6a6d7d[_0x4eb51e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4eb51e([0x67,0x65,0x74])](_0x4eb51e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21b08f(){let _0x40d26a,_0x439111=null,_0x1b655a=null;try{if(_0x51fed0==_0x4eb51e([0x47,0x50,0x4c]))return _0x4eb51e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40d26a=_0x23f055(),!_0x40d26a)return _0x4eb51e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40d26a[_0x4eb51e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b655a=_0x59e0b0(_0x40d26a[_0x4eb51e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40d26a[_0x4eb51e([0x6a,0x74,0x69])])),await _0x4678dc()?_0x2d6731()?_0x4cbca6()?_0x4eb51e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x555672()?(_0x40d26a[_0x4eb51e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4eb51e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x439111=_0x446ab8(_0x4eb51e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40d26a[_0x4eb51e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4eb51e([0x74,0x72,0x69,0x61,0x6c])&&(_0x439111=_0x446ab8(_0x4eb51e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x122735()):_0x4eb51e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4eb51e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4eb51e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4eb51e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cbca6(){const _0x460e90=[_0x4eb51e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4eb51e([0x74,0x72,0x69,0x61,0x6c])][_0x4eb51e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d26a[_0x4eb51e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xcb4120/0x3e8:0xe10*_0x363923;return _0x40d26a[_0x4eb51e([0x65,0x78,0x70])]<_0x460e90;}function _0x2d6731(){const _0x479ade=_0x40d26a[_0x4eb51e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x479ade&&(!!_0x479ade[_0x4eb51e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eb51e([0x2a]))||!!_0x479ade[_0x4eb51e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eb51e([0x46,0x4f,0x4f])));}function _0x555672(){const _0x87be0f=_0x40d26a[_0x4eb51e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x87be0f||0x0==_0x87be0f[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x113ae2}=new URL(window[_0x4eb51e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x87be0f[_0x4eb51e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113ae2))return!0x0;const _0xb0a56d=_0x113ae2[_0x4eb51e([0x73,0x70,0x6c,0x69,0x74])](_0x4eb51e([0x2e]));return _0x87be0f[_0x4eb51e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x531218=>_0x531218[_0x4eb51e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eb51e([0x2a])))[_0x4eb51e([0x6d,0x61,0x70])](_0x25d69b=>_0x25d69b[_0x4eb51e([0x73,0x70,0x6c,0x69,0x74])](_0x4eb51e([0x2e])))[_0x4eb51e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x534b82=>_0x534b82[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb0a56d[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4eb51e([0x6d,0x61,0x70])](_0x53c83b=>Array(_0xb0a56d[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53c83b[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4eb51e([0x66,0x69,0x6c,0x6c])](_0x53c83b[0x0]===_0x4eb51e([0x2a])?_0x4eb51e([0x2a]):'')[_0x4eb51e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53c83b))[_0x4eb51e([0x73,0x6f,0x6d,0x65])](_0x386d83=>_0xb0a56d[_0x4eb51e([0x65,0x76,0x65,0x72,0x79])]((_0x588028,_0x22bc16)=>_0x386d83[_0x22bc16]===_0x588028||_0x386d83[_0x22bc16]===_0x4eb51e([0x2a])));}function _0x122735(){return _0x439111&&_0x1b655a?new window[(_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f4344,_0x485e8d)=>{_0x439111[_0x4eb51e([0x74,0x68,0x65,0x6e])](_0x4f4344,_0x485e8d),_0x1b655a[_0x4eb51e([0x74,0x68,0x65,0x6e])](_0x4df053=>{_0x4df053!=_0x4eb51e([0x56,0x61,0x6c,0x69,0x64])&&_0x4f4344(_0x4df053);},_0x485e8d);}):_0x439111||_0x1b655a||_0x4eb51e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59e0b0(_0x2122e6,_0xa86d2){return new window[(_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30491=>{if(_0x2076bc())return _0x30491(_0x4eb51e([0x56,0x61,0x6c,0x69,0x64]));_0x24708c(),_0x6a6d7d[_0x4eb51e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4eb51e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ad650=!0x1;const _0x2769ad=_0x35a928();function _0x1ac195(_0x1744e7){return!!_0x1744e7&&(typeof _0x1744e7===_0x4eb51e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1744e7===_0x4eb51e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1744e7[_0x4eb51e([0x74,0x68,0x65,0x6e])]===_0x4eb51e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1744e7[_0x4eb51e([0x63,0x61,0x74,0x63,0x68])]===_0x4eb51e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x50026f(_0x530fce){_0x1f3bb8(_0x530fce)[_0x4eb51e([0x74,0x68,0x65,0x6e])](_0x58225f=>{if(!_0x58225f||_0x58225f[_0x4eb51e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4eb51e([0x6f,0x6b]))return _0x4eb51e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ad70a(_0x34cbed(_0x2769ad+_0xa86d2))!=_0x58225f[_0x4eb51e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4eb51e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4eb51e([0x56,0x61,0x6c,0x69,0x64]);})[_0x4eb51e([0x74,0x68,0x65,0x6e])](_0x19cc0d=>(_0x69fabc(),_0x19cc0d),()=>{const _0xd861ba=_0xe8ffb4();return null==_0xd861ba?(_0x69fabc(),_0x4eb51e([0x56,0x61,0x6c,0x69,0x64])):_0x4eb51e(_0xcb4120-_0xd861ba>(0x63ae0106^_0x267214)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4eb51e([0x74,0x68,0x65,0x6e])](_0x30491)[_0x4eb51e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30491(_0x4eb51e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c64c4=0x47946b86^_0x267214;function _0x69fabc(){const _0x5b5f96=_0x4eb51e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ad70a(_0x34cbed(_0x2122e6)),_0x5a7b93=_0x47f9cb(_0x4ad70a(window[_0x4eb51e([0x4d,0x61,0x74,0x68])][_0x4eb51e([0x63,0x65,0x69,0x6c])](_0xcb4120/_0x3c64c4)));window[_0x4eb51e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4eb51e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b5f96,_0x5a7b93);}function _0xe8ffb4(){const _0x22ea14=_0x4eb51e([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ad70a(_0x34cbed(_0x2122e6)),_0x538fbf=window[_0x4eb51e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4eb51e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22ea14);return _0x538fbf?window[_0x4eb51e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47f9cb(_0x538fbf),0x10)*_0x3c64c4:null;}function _0x1f3bb8(_0x2dcda0){return new window[(_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b4d8f,_0x4d8097)=>{_0x2dcda0[_0x4eb51e([0x74,0x68,0x65,0x6e])](_0x2b4d8f,_0x4d8097),window[_0x4eb51e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d8097,0x47a351c6^_0x267214);});}}_0x6a6d7d[_0x4eb51e([0x6f,0x6e])](_0x4eb51e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ff0b,_0x464413)=>{if(_0x464413[0x0]!=_0x2122e6)return _0x30491(_0x4eb51e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x464413[0x1]={..._0x464413[0x1],[_0x4eb51e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2769ad};},{[_0x4eb51e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4eb51e([0x68,0x69,0x67,0x68])}),_0x6a6d7d[_0x4eb51e([0x6f,0x6e])](_0x4eb51e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26c33d=>{_0x1ac195(_0x26c33d[_0x4eb51e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ad650=!0x0,_0x50026f(_0x26c33d[_0x4eb51e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4eb51e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4eb51e([0x6c,0x6f,0x77])}),_0x5642e1[_0x4eb51e([0x74,0x68,0x65,0x6e])](()=>{_0x2ad650||_0x30491(_0x4eb51e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2076bc(){return _0x6a6d7d[_0x4eb51e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4eb51e([0x76,0x69,0x65,0x77])][_0x4eb51e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4eb51e([0x61,0x75,0x74,0x6f]);}function _0x24708c(){_0x6a6d7d[_0x4eb51e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4eb51e([0x76,0x69,0x65,0x77])][_0x4eb51e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4eb51e([0x61,0x75,0x74,0x6f]);}}function _0x446ab8(_0x1ca79c){const _0x3a3c7c=[new window[(_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x227bba=>setTimeout(_0x227bba,0x47abbbca^_0x267214)),_0x5642e1[_0x4eb51e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40b76f=>{let _0x113457=0x0;_0x6a6d7d[_0x4eb51e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eb51e([0x6f,0x6e])](_0x4eb51e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xeb163e,_0x540cbb)=>{_0x540cbb[0x0][_0x4eb51e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x113457++,_0x113457==(0x47a284fe^_0x267214)&&(_0x40b76f(),_0xeb163e[_0x4eb51e([0x6f,0x66,0x66])]());});}))];return window[_0x4eb51e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4eb51e([0x72,0x61,0x63,0x65])](_0x3a3c7c)[_0x4eb51e([0x74,0x68,0x65,0x6e])](()=>_0x1ca79c);}async function _0x43dc8e(){await _0x5642e1,_0x6a6d7d[_0x4eb51e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eb51e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4da753,_0x6a6d7d[_0x4eb51e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4eb51e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4da753,_0x6a6d7d[_0x4eb51e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4eb51e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5808a4(_0x170ca5){const _0x589623=_0x1f1052();_0x6a6d7d[_0x589623]=_0x4eb51e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x170ca5,_0x170ca5!=_0x4eb51e([0x56,0x61,0x6c,0x69,0x64])&&_0x43dc8e();}function _0x1f1052(){const _0x443e3b=window[_0x4eb51e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4eb51e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4eb51e([0x6e,0x6f,0x77])]())[_0x4eb51e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4eb51e([0x2e]),'');let _0x2d0f97=_0x4eb51e([0x75]);for(let _0x8320b2=0x0;_0x8320b2<_0x443e3b[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8320b2+=0x2){let _0x373804=window[_0x4eb51e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x443e3b[_0x4eb51e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8320b2,_0x8320b2+0x2));_0x373804>=_0x2b1915[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x373804-=_0x2b1915[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d0f97+=_0x2b1915[_0x373804];}return _0x2d0f97;}function _0x23f055(){const _0x453e56=_0x51fed0[_0x4eb51e([0x73,0x70,0x6c,0x69,0x74])](_0x4eb51e([0x2e]));if(0x3!=_0x453e56[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x228709(_0x453e56[0x1]);function _0x228709(_0x2ff7d3){const _0x36f33e=_0x266558(_0x2ff7d3);return _0x36f33e&&_0x1fbfcd()?_0x36f33e:null;function _0x1fbfcd(){const _0x522512=_0x36f33e[_0x4eb51e([0x6a,0x74,0x69])],_0x4b66d9=window[_0x4eb51e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x522512[_0x4eb51e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x522512[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xaf580f={..._0x36f33e,[_0x4eb51e([0x6a,0x74,0x69])]:_0x522512[_0x4eb51e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x522512[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xaf580f[_0x4eb51e([0x76,0x63])],_0x34cbed(_0xaf580f)==_0x4b66d9;}}}async function _0x4678dc(){let _0x3d28b1=!0x0;try{const _0x1f2dce=_0x51fed0[_0x4eb51e([0x73,0x70,0x6c,0x69,0x74])](_0x4eb51e([0x2e])),[_0x3430f6,_0x1e6940,_0x5bc604]=_0x1f2dce;return _0x32f0fd(_0x3430f6),await _0x29ba26(_0x3430f6,_0x1e6940,_0x5bc604),_0x3d28b1;}catch{return!0x1;}function _0x32f0fd(_0x13a93d){const _0xa45c4b=_0x266558(_0x13a93d);_0xa45c4b&&_0xa45c4b[_0x4eb51e([0x61,0x6c,0x67])]==_0x4eb51e([0x45,0x53,0x32,0x35,0x36])||(_0x3d28b1=!0x1);}async function _0x29ba26(_0x359abe,_0x48e6a3,_0x1b815d){const _0x4678c9=window[_0x4eb51e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4eb51e([0x66,0x72,0x6f,0x6d])](_0x41ad84(_0x1b815d),_0x14564a=>_0x14564a[_0x4eb51e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xd3a42a=new window[(_0x4eb51e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4eb51e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x359abe+_0x4eb51e([0x2e])+_0x48e6a3),_0x104b99=window[_0x4eb51e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4eb51e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x104b99)return;const _0x3b44cf=await _0x104b99[_0x4eb51e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4eb51e([0x6a,0x77,0x6b]),_0x58303a,{[_0x4eb51e([0x6e,0x61,0x6d,0x65])]:_0x4eb51e([0x45,0x43,0x44,0x53,0x41]),[_0x4eb51e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4eb51e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4eb51e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x104b99[_0x4eb51e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4eb51e([0x6e,0x61,0x6d,0x65])]:_0x4eb51e([0x45,0x43,0x44,0x53,0x41]),[_0x4eb51e([0x68,0x61,0x73,0x68])]:{[_0x4eb51e([0x6e,0x61,0x6d,0x65])]:_0x4eb51e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b44cf,_0x4678c9,_0xd3a42a)||(_0x3d28b1=!0x1);}}function _0x266558(_0x52adc4){return _0x52adc4[_0x4eb51e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4eb51e([0x65,0x79]))?JSON[_0x4eb51e([0x70,0x61,0x72,0x73,0x65])](_0x41ad84(_0x52adc4)):null;}function _0x41ad84(_0x5c5ca1){return window[_0x4eb51e([0x61,0x74,0x6f,0x62])](_0x5c5ca1[_0x4eb51e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4eb51e([0x2b]))[_0x4eb51e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4eb51e([0x2f])));}function _0x34cbed(_0x3de2b4){let _0x6e73e6=0x1505;function _0x589086(_0x4aeaaa){for(let _0x516c45=0x0;_0x516c45<_0x4aeaaa[_0x4eb51e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x516c45++){const _0x374787=_0x4aeaaa[_0x4eb51e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x516c45);_0x6e73e6=(_0x6e73e6<<0x5)+_0x6e73e6+_0x374787,_0x6e73e6&=_0x6e73e6;}}function _0x15c31c(_0x8a4cf1){Array[_0x4eb51e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8a4cf1)?_0x8a4cf1[_0x4eb51e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15c31c):_0x8a4cf1&&typeof _0x8a4cf1==_0x4eb51e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4eb51e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8a4cf1)[_0x4eb51e([0x73,0x6f,0x72,0x74])]()[_0x4eb51e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5df0eb,_0x1247c5])=>{_0x589086(_0x5df0eb),_0x15c31c(_0x1247c5);}):_0x589086(window[_0x4eb51e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8a4cf1));}return _0x15c31c(_0x3de2b4),_0x6e73e6>>>0x0;}function _0x4ad70a(_0x504427){return _0x504427[_0x4eb51e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4eb51e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4eb51e([0x30]));}function _0x47f9cb(_0x3e0516){return _0x3e0516[_0x4eb51e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4eb51e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4eb51e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4da753(){}function _0x4eb51e(_0x5b21af){return _0x5b21af['map'](_0x520e74=>String['fromCharCode'](_0x520e74))['join']('');}_0x5808a4(await _0x21b08f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x720024){const {plugins:_0x27ca56,editing:_0x4014e4,model:_0x386765}=this['editor'],_0x3dd451=_0x27ca56['get'](f)['getFootnote'](_0x720024);return!!_0x3dd451&&(_0x386765['change'](_0x222b9c=>{_0x222b9c['setSelection'](_0x222b9c['createPositionAt'](_0x3dd451['definition'],'end'));}),_0x4014e4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x14fe3e){const {plugins:_0x4fd108,editing:_0x3c2771,model:_0x5047a1}=this['editor'],_0x270954=_0x4fd108['get'](f)['getFootnote'](_0x14fe3e);return!!_0x270954&&(_0x5047a1['change'](_0x2a7d11=>{_0x2a7d11['setSelection'](_0x270954['reference'],'on');}),_0x3c2771['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1170a6}=this['editor']['model'],_0x89e07a=this['editor']['config']['get']('footnotes.multiBlock');_0x1170a6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1170a6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1170a6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x89e07a?_0x1170a6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1170a6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1170a6['addChildCheck'](_0x2a209b=>{for(const _0x585708 of _0x2a209b)if('footnoteDefinition'===_0x585708['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1bab1c}=this,{conversion:_0x21dc78,editing:_0x520c1d}=_0x1bab1c,{t:t}=_0x1bab1c['locale'];_0x21dc78['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1bce44,{writer:_0xab150f,consumable:_0x1e9888})=>{const _0x143348=_0x1bce44['getChild'](0x0);if(!_0x143348||!_0x143348['is']('element','a'))return null;const _0x33ac87=_0x143348['getAttribute']('href')||'';if(!_0x33ac87['startsWith']('#'))return null;const _0x4dcf3d=_0x33ac87['replace'](/^#/,'');if(!_0x4dcf3d)return null;_0x1e9888['consume'](_0x143348,{'name':!0x0,'attributes':['href']});for(const {item:_0xdfedb4}of _0x520c1d['view']['createRangeIn'](_0x143348))_0xdfedb4['is']('$textProxy')?_0x1e9888['consume'](_0xdfedb4['textNode'],{'name':!0x0}):_0xdfedb4['is']('element')&&_0x1e9888['consume'](_0xdfedb4,{'name':!0x0});return _0xab150f['createElement']('footnoteRef',{'footnoteId':_0x4dcf3d});}}),_0x21dc78['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x334614,{writer:_0x1cbaf5})=>D(_0x334614,_0x1cbaf5)}),_0x21dc78['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x56e390,{writer:_0x4d1b50})=>{const _0x3556e6=_0x56e390['getAttribute']('footnoteCounter');return _0x5c3508(D(_0x56e390,_0x4d1b50),_0x4d1b50,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3556e6)});}});}['_defineDefinitionsConverters'](){const {editor:_0x10879b}=this,{t:t}=_0x10879b['locale'],{conversion:_0x4e5d12}=_0x10879b;_0x4e5d12['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4e5d12['for']('upcast')['add'](_0x5c3e6d=>{_0x5c3e6d['on']('element:ol',(_0x382a2e,_0x3cf3fb,_0x4e1b83)=>{const _0x338f43=_0x3cf3fb['viewItem'];if(!_0x338f43['hasClass']('footnotes-list')||!_0x3cf3fb['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4e1b83['consumable']['consume'](_0x338f43,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x35d619,modelCursor:_0x19f914}=_0x4e1b83['convertChildren'](_0x3cf3fb['viewItem'],_0x3cf3fb['modelCursor']);_0x3cf3fb['modelRange']=_0x35d619,_0x3cf3fb['modelCursor']=_0x19f914;}),_0x5c3e6d['on']('element:hr',(_0x96587d,_0x3004fd,_0x18f0ac)=>{const _0x535085=_0x3004fd['viewItem'];_0x535085['hasClass']('footnotes-divider')&&_0x3004fd['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x18f0ac['consumable']['consume'](_0x535085,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4e5d12['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1dee4b,{writer:_0x1c19ac})=>v(_0x1c19ac)}),_0x4e5d12['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x31e290,{writer:_0x4e52f0})=>{const _0x12330c=v(_0x4e52f0,{'data-footnotes-list-label':t('Footnotes')}),_0x3f95b0=_0x5c3508(_0x12330c,_0x4e52f0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4e52f0['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f95b0),_0x3f95b0;}});}['_defineDefinitionConverters'](){const {editor:_0x1adc87}=this,{conversion:_0x30020b,locale:_0x3e26bc}=_0x1adc87,_0x36a887=_0x1adc87['config']['get']('footnotes.multiBlock');_0x30020b['for']('upcast')['add'](_0x1a10ca=>{_0x1a10ca['on']('element:li',(_0x2ea2ef,_0x4a7372,_0x23fe5a)=>{const _0x15c48f=_0x4a7372['viewItem'];if(!_0x15c48f['hasClass']('footnote-definition')||!_0x15c48f['getAttribute']('id'))return;const _0x173cbe=_0x15c48f['parent'];if(!_0x173cbe['is']('element','ol')||!_0x173cbe['hasClass']('footnotes-list'))return;if(!_0x23fe5a['consumable']['test'](_0x15c48f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5978c4=_0x23fe5a['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x15c48f['getAttribute']('id')});if(!_0x23fe5a['safeInsert'](_0x5978c4,_0x4a7372['modelCursor']))return;_0x23fe5a['consumable']['consume'](_0x15c48f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x37191c=Array['from'](_0x15c48f['getChildren']())['find'](_0xd5895c=>_0xd5895c['is']('element')&&_0xd5895c['hasClass']('footnote-content'));for(const _0x22c602 of _0x15c48f['getChildren']())_0x22c602['is']('element')&&(_0x23fe5a['consumable']['consume'](_0x22c602,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x23fe5a['consumable']['consume'](_0x22c602,{'name':!0x0,'classes':'footnote-content'}));if(_0x37191c){if(_0x36a887)_0x23fe5a['convertChildren'](_0x37191c,_0x5978c4);else{const _0x280c40=_0x23fe5a['writer']['createElement']('footnoteInlineContent');_0x23fe5a['writer']['insert'](_0x280c40,_0x5978c4),_0x23fe5a['convertChildren'](_0x37191c,_0x280c40);}}_0x23fe5a['updateConversionResult'](_0x5978c4,_0x4a7372);});}),_0x30020b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3a022c,{writer:_0x1b136c})=>b(_0x3a022c,_0x1b136c,_0x3e26bc,{'dataPipeline':!0x0})}),_0x30020b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xaa9cd3,{writer:_0x5d265c})=>b(_0xaa9cd3,_0x5d265c,_0x3e26bc)});}['_defineBogusParagraphConverters'](){const {editor:_0xee5052}=this,{conversion:_0x2f281f}=_0xee5052;_0xee5052['config']['get']('footnotes.multiBlock')?(_0x2f281f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2f281f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xee5052['model']['document'],'change:data',()=>{!function(_0x28e391,_0xe4cfa5){const _0x4d0e0f=_0x28e391['document']['differ'],_0x1c41e8=new Set();for(const _0x5a75e9 of _0x4d0e0f['getChanges']()){const _0x1a316e='attribute'==_0x5a75e9['type']?_0x5a75e9['range']['start']['parent']:_0x5a75e9['position']['parent'];_0x1a316e['is']('element','footnoteDefinition')&&_0x1c41e8['add'](_0x1a316e);}for(const _0x1741ee of _0x1c41e8['values']()){const _0xd9c8ce=Array['from'](_0x1741ee['getChildren']())['filter'](_0x41e1bb=>g(_0x41e1bb,_0xe4cfa5['mapper']));for(const _0x5be023 of _0xd9c8ce)_0xe4cfa5['reconvertItem'](_0x5be023);}}(_0xee5052['model'],_0xee5052['editing']);})):(_0x2f281f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2f281f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x47320a,{writer:_0x506220})=>{const _0x35dc8c=_0x506220['createContainerElement']('span');return _0x506220['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x35dc8c),_0x35dc8c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x22ae68}=this,{editing:_0x2072b6,t:t}=_0x22ae68,_0x4acb22=_0x22ae68['model']['document']['selection'];_0x22ae68['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x22ae68['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2072b6['view']['document'],'enter',(_0x32a2dc,_0x7cd14f)=>{const _0x5d2471=function(_0x447e96){const _0x2bd3e2=_0x447e96['getSelectedElement']();if(_0x2bd3e2?.['is']('element','footnoteRef'))return _0x2bd3e2;return null;}(_0x4acb22);if(_0x5d2471){const _0x6028cf=_0x5d2471['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x6028cf),_0x7cd14f['preventDefault'](),_0x32a2dc['stop']();}},{'context':_0x208382});}['_defineClickHandlers'](){const {editor:_0x1ee338}=this,{editing:_0x2275b9}=_0x1ee338;_0x1ee338['editing']['view']['addObserver'](_0x5efc24),_0x1ee338['editing']['view']['addObserver'](_0x13740d);let _0xbc0f77=!0x1;this['listenTo'](_0x2275b9['view']['document'],'pointerdown',(_0x1eb0fd,_0x10882c)=>{const {target:_0x54a081}=_0x10882c,_0x37241f=_0x2275b9['view']['document']['selection'];_0xbc0f77=!!(_0x54a081?.['is']('element','a')&&_0x54a081['parent']?.['is']('element','sup')&&_0x54a081['parent']['hasClass']('footnote'))&&_0x37241f['getSelectedElement']()===_0x54a081['parent'];},{'priority':'high'}),this['listenTo'](_0x2275b9['view']['document'],'click',(_0x2c0811,_0x13d1a1)=>{const {target:_0x227369}=_0x13d1a1;if(!_0x227369?.['is']('element','a'))return;if(_0x227369['parent']?.['is']('element','sup')&&_0x227369['parent']['hasClass']('footnote')&&!_0xbc0f77)return void _0x13d1a1['preventDefault']();let _0x417566=_0x227369['getAttribute']('href');if(!_0x417566?.['startsWith']('#'))return;_0x417566=_0x417566['slice'](0x1);let _0x2a9e98=!0x1;(_0x417566['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x417566['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x417566))&&(_0x2a9e98=!0x0),_0x2a9e98&&(_0x13d1a1['preventDefault'](),_0x2c0811['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x219110}={}){return(_0xfcc1b3,{writer:_0x535c65})=>{if(!p(_0xfcc1b3))return null;if(!_0x219110)return _0x535c65['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xf0e1af=_0x535c65['createContainerElement']('p');return _0x535c65['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xf0e1af),_0xf0e1af;};}function p(_0x554165){const {parent:_0x34bf47}=_0x554165;if(!_0x34bf47?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x34bf47['childCount'])return!0x1;for(const _0x121f2d of _0x554165['getAttributeKeys']())if(!_0x121f2d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x121f2d)return!0x1;return!0x0;}function g(_0x2d8e0b,_0xe5be26){if(!_0x2d8e0b['is']('element','paragraph'))return!0x1;const _0x2da03d=_0xe5be26['toViewElement'](_0x2d8e0b);return!!_0x2da03d&&p(_0x2d8e0b)!==_0x2da03d['is']('element','span');}function J(_0x23f15c){return _0x208382(_0x23f15c)&&_0x23f15c['is']('containerElement')&&!!_0x23f15c['getCustomProperty']('footnotesDefinitions');}function v(_0x1fdd95,_0x41c9d1={}){const _0x371e69=_0x1fdd95['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2aeb93=_0x1fdd95['createContainerElement']('ol',{'class':'footnotes-list'},_0x1fdd95['createSlot']());return _0x1fdd95['createContainerElement']('div',{'class':'footnotes',..._0x41c9d1},[_0x371e69,_0x2aeb93]);}function D(_0x123d21,_0x447ea8){const _0xe53da7=_0x123d21['getAttribute']('footnoteId'),_0x12ce66=_0x123d21['getAttribute']('footnoteCounter'),_0x550106=_0x447ea8['createUIElement']('a',{'href':'#'+_0xe53da7},function(_0x284626){const _0xc4ecee=this['toDomElement'](_0x284626);return _0xc4ecee['textContent']=_0x12ce66,_0xc4ecee;}),_0x5e9c6b=_0x447ea8['createContainerElement']('sup',{'id':'ref-'+_0xe53da7,'class':'footnote'},[_0x550106]);return _0x5e9c6b['getFillerOffset']=()=>null,_0x5e9c6b;}function b(_0x3ce0e4,_0x339701,_0x2a0d99,{dataPipeline:_0x446125}={}){const {t:t}=_0x2a0d99,_0x160ba9=_0x3ce0e4['getAttribute']('footnoteId'),_0x4d9ae0=_0x339701['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x160ba9},function(_0x2b8473){const _0x9c9b15=this['toDomElement'](_0x2b8473);return _0x9c9b15['innerText']='^',_0x9c9b15;}),_0x13a46f=_0x446125?_0x339701['createContainerElement']('div',{'class':'footnote-content'}):_0x525d27(_0x339701['createEditableElement']('div',{'class':'footnote-content'}),_0x339701,{'label':t('Footnote\x20content.')});return _0x339701['insert'](_0x339701['createPositionAt'](_0x13a46f,0x0),_0x339701['createSlot']()),_0x339701['createContainerElement']('li',{'class':'footnote-definition','id':_0x160ba9},[_0x4d9ae0,_0x13a46f]);}class e extends _0xd62532{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x833588];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x258d6a}=this,{plugins:_0x54b51e,model:_0x33cb08}=_0x258d6a,_0x582c26=_0x54b51e['get'](_0x833588),_0x3c00ff=_0x54b51e['get'](f);this['listenTo'](_0x582c26,'outputTransformation',(_0x277d06,_0x49aaee)=>{const _0x3c37f6=c(_0x33cb08['createRangeIn'](_0x49aaee['content']));if(!_0x3c37f6['length'])return;const _0xf5e1ff=_0x3c00ff['getFootnotes'](),_0x1e0184=_0x3c37f6['reduce']((_0x5d81cf,_0x357404)=>{const _0x4dcfb4=_0xf5e1ff['find'](_0xaa5bd3=>_0xaa5bd3['id']===_0x357404);if(_0x4dcfb4){const _0x89ffd6=_0x258d6a['data']['toView'](_0x4dcfb4['definition'],{'isClipboardPipeline':!0x0}),_0x1c309c=_0x258d6a['data']['htmlProcessor']['toData'](_0x89ffd6);_0x5d81cf[_0x4dcfb4['id']]=_0x1c309c;}return _0x5d81cf;},Object['create'](null));_0x49aaee['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1e0184));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1ef4ed}=this,{model:_0x58fa0a,plugins:_0x41e896}=_0x1ef4ed,{view:_0xbe0a4}=_0x1ef4ed['editing'],_0x4f2df0=_0x41e896['get'](_0x833588),_0x5c230e=_0x41e896['get'](f),_0x3a03fc=_0x1ef4ed['config']['get']('footnotes.multiBlock');let _0x49d8d6=null;this['listenTo'](_0xbe0a4['document'],'clipboardInput',(_0x594f5a,_0x18d1c6)=>{const _0xcc6944=_0x18d1c6['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x49d8d6=_0xcc6944?JSON['parse'](_0xcc6944):null;}),this['listenTo'](_0x4f2df0,'contentInsertion',(_0x1244dc,_0x8f4846)=>{const _0x3d65ab=_0x8f4846['sourceEditorId']===this['editor']['id'];_0x3d65ab&&'drop'===_0x8f4846['method']||_0x58fa0a['change'](_0x6d97b3=>{let _0x458cdc=_0x5c230e['getFootnotesDefinitionsObjectElement']();const _0x21bbb6=!!_0x458cdc&&Array['from'](_0x58fa0a['document']['selection']['getSelectedBlocks']())['includes'](_0x458cdc);if((_0x458cdc&&!_0x21bbb6||!_0x458cdc&&!_0x49d8d6)&&function(_0x3fd262,_0x3dc9fe){const _0x39be14=[];for(const {item:_0x17288e}of _0x3fd262['createRangeIn'](_0x3dc9fe))_0x17288e['is']('element','footnotesDefinitions')&&_0x39be14['push'](_0x17288e);for(const _0x3cacdb of _0x39be14)_0x3fd262['remove'](_0x3cacdb);}(_0x6d97b3,_0x8f4846['content']),!_0x49d8d6)return;const {selection:_0x3c585c}=_0x58fa0a['document'],_0x16e8e4=_0x3c585c['getFirstRange']()['root'];_0x458cdc&&!_0x21bbb6||(_0x458cdc=function(_0x1c9d48,_0x1b4df2){for(const {item:_0x5e3a23}of _0x1c9d48['createRangeIn'](_0x1b4df2))if(_0x5e3a23['is']('element','footnotesDefinitions'))return _0x5e3a23;return null;}(_0x6d97b3,_0x8f4846['content']),_0x458cdc||=_0x5c230e['_insertEmptyFootnotesDefinitionsContainer'](_0x6d97b3,_0x16e8e4));const _0x263cad=Array['from'](_0x3c585c['getRanges']())['flatMap'](c),_0x1270ce=function(_0x236dff,_0x4e8d26,_0x599d95){const _0x276403=Object['create'](null);for(const {item:_0x8614aa}of _0x236dff['createRangeIn'](_0x4e8d26))if(_0x8614aa['is']('element','footnoteRef')){const _0x56a23a=_0x8614aa['getAttribute']('footnoteId');if(!_0x599d95(_0x56a23a))continue;_0x276403[_0x56a23a]||(_0x276403[_0x56a23a]=_0x35a928()),_0x236dff['setAttribute']('footnoteId',_0x276403[_0x56a23a],_0x8614aa);}return _0x276403;}(_0x6d97b3,_0x8f4846['content'],_0x396c9c=>{if(!_0x3d65ab)return!0x0;return!!_0x5c230e['getFootnote'](_0x396c9c)&&!_0x263cad['includes'](_0x396c9c);});for(const [_0x255f71,_0x3cec12]of Object['entries'](_0x49d8d6)){const _0x473810=_0x1270ce[_0x255f71]||_0x255f71,_0x293560=_0x6d97b3['createElement']('footnoteDefinition',{'footnoteId':_0x473810}),_0x496276=_0x1ef4ed['data']['htmlProcessor']['toView'](_0x3cec12);let _0x2e678a;if(_0x3a03fc)_0x2e678a=_0x1ef4ed['data']['toModel'](_0x496276,_0x293560);else{_0x2e678a=_0x6d97b3['createElement']('footnoteInlineContent');const _0x49d7f7=_0x1ef4ed['data']['toModel'](_0x496276,_0x2e678a);_0x6d97b3['insert'](_0x49d7f7,_0x2e678a);}_0x6d97b3['append'](_0x2e678a,_0x293560),_0x6d97b3['insert'](_0x293560,_0x458cdc,'end');}_0x49d8d6=null;});});}}function c(_0x29236b){const _0x359247=new Set();for(const {item:_0x15b044}of _0x29236b)_0x15b044['is']('element','footnoteRef')&&_0x359247['add'](_0x15b044['getAttribute']('footnoteId'));return Array['from'](_0x359247);}class i extends _0xd62532{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x43299e}=this,{componentFactory:_0x5561be}=_0x43299e['ui'];_0x5561be['add']('insertFootnote',x(_0x43299e,_0x190394)),_0x5561be['add']('menuBar:insertFootnote',x(_0x43299e,_0x1c4869)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x21014f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x82dab;for(const _0x26e9cc in _0x21014f){const _0x3dad7f=_0x26e9cc,_0x16e6c1=_0x21014f[_0x3dad7f];if('footnotesLicenseKeyValid'==_0x16e6c1||'footnotesLicenseKeyInvalid'==_0x16e6c1||'footnotesLicenseKeyExpired'==_0x16e6c1||'footnotesLicenseKeyDomainLimit'==_0x16e6c1||'footnotesLicenseKeyNotAllowed'==_0x16e6c1||'footnotesLicenseKeyEvaluationLimit'==_0x16e6c1||'footnotesLicenseKeyTrialLimit'==_0x16e6c1||'footnotesLicenseKeyUsageLimit'==_0x16e6c1){delete _0x21014f[_0x3dad7f],_0x82dab=_0x16e6c1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x82dab&&_0x21014f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x82dab&&_0x21014f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x82dab&&_0x21014f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x82dab&&_0x21014f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x82dab&&_0x21014f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x82dab&&_0x21014f['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x82dab&&_0x21014f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xc6850c,_0xae37a2){const _0xd65b80=_0xc6850c['commands']['get']('insertFootnote');return _0x40915b=>{const {t:t}=_0x40915b,_0x16f84f=new _0xae37a2(_0x40915b),_0x495c57=_0x16f84f instanceof _0x1c4869;return _0x16f84f['bind']('isEnabled')['to'](_0xd65b80,'isEnabled'),_0x16f84f['set']({'label':t(_0x495c57?'Footnote':'Insert\x20footnote'),'icon':_0x5c2f45,'tooltip':!0x0}),_0x16f84f['on']('execute',()=>{_0xd65b80['execute'](),_0xc6850c['editing']['view']['focus']();}),_0x16f84f;};}class lt extends _0xd62532{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x45d31d{['refresh'](){const {editor:_0x56c015}=this,_0x34eaa6=_0x56c015['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x34eaa6,this['value']=_0x34eaa6?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x42a123}){const {editor:_0x1b3d1b}=this,_0x507434=_0x1b3d1b['plugins']['get'](f),_0x1543df=_0x507434['getFootnotesDefinitionsObjectElement']();_0x1543df&&Q['includes'](_0x42a123)&&_0x1b3d1b['model']['change'](_0x29b069=>{_0x29b069['setAttribute']('footnotesListStyle',_0x42a123,_0x1543df),_0x507434['_updateFootnotesCounters'](_0x29b069);});}}class C extends _0x45d31d{['refresh'](){const {editor:_0x1d6e49}=this,_0x1f898c=_0x1d6e49['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1f898c,this['value']=_0x1f898c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3c58da}){const {editor:_0x28aa58}=this,_0x4a8fab=_0x28aa58['plugins']['get'](f),_0x26a041=_0x4a8fab['getFootnotesDefinitionsObjectElement']();_0x26a041&&Number['isInteger'](_0x3c58da)&&_0x28aa58['model']['change'](_0x4b8b16=>{_0x4b8b16['setAttribute']('footnotesListStart',_0x3c58da,_0x26a041),_0x4a8fab['_updateFootnotesCounters'](_0x4b8b16);});}}class P extends _0xd62532{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x440eda}=this;_0x440eda['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x440eda['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x440eda['commands']['add']('footnotesStyle',new S(_0x440eda)),_0x440eda['commands']['add']('footnotesStart',new C(_0x440eda)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2afe94}=this,{schema:_0xf38802}=_0x2afe94['model'];_0xf38802['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x23a9ee}=this,{conversion:_0x59815c,model:_0x3c48d2}=_0x23a9ee,{schema:_0x813c7b}=_0x3c48d2;_0x59815c['for']('upcast')['add'](_0x25f371=>{_0x25f371['on']('element:ol',(_0x1ba5c6,_0x66c198,_0x4d5074)=>{const _0x188396=_0x66c198['viewItem'],_0x531bba=_0x66c198['modelCursor']?.['parent'];_0x188396['hasClass']('footnotes-list')&&_0x531bba?.['is']('element','footnotesDefinitions')&&(function(_0x4701e2,_0x47d11e,_0x570c35,_0x3cceb2){if(!_0x3cceb2['checkAttribute'](_0x47d11e,'footnotesListStart'))return;let _0x520fae=0x1;const _0x11a48e=_0x570c35['consumable']['consume'](_0x4701e2,{'attributes':'start'});if(_0x11a48e){const _0x461761=Number['parseInt'](_0x4701e2['getAttribute']('start'),0xa);Number['isNaN'](_0x461761)||(_0x520fae=_0x461761);}!_0x11a48e&&_0x47d11e['hasAttribute']('footnotesListStart')||_0x570c35['writer']['setAttribute']('footnotesListStart',_0x520fae,_0x47d11e);}(_0x188396,_0x531bba,_0x4d5074,_0x813c7b),function(_0xba2508,_0x56fafc,_0x31d9fc,_0x14a12f){if(!_0x14a12f['checkAttribute'](_0x56fafc,'footnotesListStyle'))return;let _0x503b5e='decimal',_0x3356ec=!0x1;if(_0x31d9fc['consumable']['consume'](_0xba2508,{'attributes':'type'})){const _0x5044d6={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xba2508['getAttribute']('type')];_0x5044d6&&(_0x503b5e=_0x5044d6),_0x3356ec=!0x0;}_0x31d9fc['consumable']['consume'](_0xba2508,{'styles':'list-style-type'})&&(_0x503b5e=function(_0x50a881){switch(_0x50a881){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x50a881;}}(_0xba2508['getStyle']('list-style-type')),_0x3356ec=!0x0),!_0x3356ec&&_0x56fafc['hasAttribute']('footnotesListStyle')||_0x31d9fc['writer']['setAttribute']('footnotesListStyle',_0x503b5e,_0x56fafc);}(_0x188396,_0x531bba,_0x4d5074,_0x813c7b));});}),_0x59815c['for']('downcast')['add'](_0x34a117=>{_0x34a117['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x108160,_0x355185,_0x9fb579)=>{if(!_0x9fb579['consumable']['consume'](_0x355185['item'],_0x108160['name']))return;const _0x4b8e89=M(_0x355185['item'],_0x9fb579['mapper']),{attributeNewValue:_0x215bab}=_0x355185;null==_0x215bab||0x1===_0x215bab?_0x9fb579['writer']['removeAttribute']('start',_0x4b8e89):_0x9fb579['writer']['setAttribute']('start',String(_0x215bab),_0x4b8e89);}),_0x34a117['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5e3f91,_0x581c9d,_0x2dac5e)=>{if(!_0x2dac5e['consumable']['consume'](_0x581c9d['item'],_0x5e3f91['name']))return;const _0x270944=M(_0x581c9d['item'],_0x2dac5e['mapper']),{attributeNewValue:_0x3ab980}=_0x581c9d;_0x3ab980&&'decimal'!==_0x3ab980?_0x2dac5e['writer']['setStyle']('list-style-type',_0x3ab980,_0x270944):_0x2dac5e['writer']['removeStyle']('list-style-type',_0x270944);});});}['_definePostfixer'](){const {editor:_0x400453}=this,{model:_0x10ba41}=_0x400453,_0x41bfab=_0x400453['plugins']['get'](f),_0x2661a7=this['_getDefaultListStyle'](),_0x4755b8=this['_getDefaultStartIndex']();_0x10ba41['document']['registerPostFixer'](_0x3143f2=>{const _0x4226d6=_0x10ba41['document']['differ']['getChanges']();let _0x26bf6e=!0x1;for(const _0x9d24e1 of _0x4226d6){if('insert'!==_0x9d24e1['type']||'$text'===_0x9d24e1['name'])continue;const _0x5ba1b8=_0x10ba41['createRangeOn'](_0x9d24e1['position']['nodeAfter']);for(const _0x430320 of _0x5ba1b8['getItems']())_0x430320['is']('element','footnotesDefinitions')&&(!_0x430320['hasAttribute']('footnotesListStart')&&_0x10ba41['schema']['checkAttribute'](_0x430320,'footnotesListStart')&&(_0x3143f2['setAttribute']('footnotesListStart',_0x4755b8,_0x430320),_0x26bf6e=!0x0),!_0x430320['hasAttribute']('footnotesListStyle')&&_0x10ba41['schema']['checkAttribute'](_0x430320,'footnotesListStyle')&&(_0x3143f2['setAttribute']('footnotesListStyle',_0x2661a7,_0x430320),_0x26bf6e=!0x0));}return _0x26bf6e&&_0x41bfab['_updateFootnotesCounters'](_0x3143f2),_0x26bf6e;});}['_defineFormatter'](){const {editor:_0x549bb0}=this;_0x549bb0['plugins']['get'](f)['setFootnoteFormatter'](_0x51c994=>this['_formatFootnoteListValue'](_0x51c994));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x20505f,value:_0x1fe393,digits:_0x2318be}){const _0x4b4ccf=_0x20505f['getAttribute']('footnotesListStyle'),_0x5dba7f=_0x20505f['getAttribute']('footnotesListStart'),_0x4f2a98=Math['floor'](_0x1fe393)+(_0x5dba7f??0x1)-0x1;switch(_0x4b4ccf){case'decimal-leading-zero':return function(_0x8d068,_0x1f87f4){return String(_0x8d068)['padStart'](_0x1f87f4,'0');}(_0x4f2a98,Math['max'](0x2,_0x2318be));case'lower-alpha':case'lower-latin':return N(_0x4f2a98,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4f2a98,!0x0);case'lower-roman':return X(_0x4f2a98,!0x1);case'upper-roman':return X(_0x4f2a98,!0x0);default:return String(_0x4f2a98);}}}function M(_0x3d3e2c,_0x58ae92){const _0x3b1b75=_0x58ae92['toViewElement'](_0x3d3e2c);return Array['from'](_0x3b1b75['getChildren']())['find'](_0x28e0a0=>_0x28e0a0['is']('element','ol')&&_0x28e0a0['hasClass']('footnotes-list'));}function N(_0x46e2e4,_0x13fe74){let _0x331b43='',_0x5eb45e=_0x46e2e4;for(;_0x5eb45e>0x0;){const _0x435b51=(_0x5eb45e-0x1)%0x1a;_0x331b43=String['fromCharCode'](0x61+_0x435b51)+_0x331b43,_0x5eb45e=Math['floor']((_0x5eb45e-0x1)/0x1a);}return _0x13fe74?_0x331b43['toUpperCase']():_0x331b43;}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(_0xd41a7f,_0xfd3577){let _0x2abbb8='',_0x2bb8f0=_0xd41a7f;for(const {value:_0x1a72e7,numeral:_0x38bba7}of V)for(;_0x2bb8f0>=_0x1a72e7;)_0x2abbb8+=_0x38bba7,_0x2bb8f0-=_0x1a72e7;return _0xfd3577?_0x2abbb8:_0x2abbb8['toLowerCase']();}class H extends _0x2dfd86{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x16cd73();['focusCycler'];constructor(_0x5e9c2c,{styleButtonViews:_0x505aa3,styleGridAriaLabel:_0x879e30}){super(_0x5e9c2c),(this['focusCycler']=new _0xb612c8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x505aa3,_0x879e30),[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 _0x1501eb of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1501eb['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2a5099=_0xae2356=>_0xae2356['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2a5099),this['keystrokes']['set']('arrowleft',_0x2a5099),this['keystrokes']['set']('arrowup',_0x2a5099),this['keystrokes']['set']('arrowdown',_0x2a5099);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x230221,_0x3fe5d6){const _0x3a6e7e=new _0x2dfd86(this['locale']);return _0x3a6e7e['children']=_0x3a6e7e['createCollection'](),_0x3a6e7e['children']['addMany'](_0x230221),_0x3a6e7e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3fe5d6,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3a6e7e['children']}),_0x3a6e7e['children']['delegate']('execute')['to'](this),_0x3a6e7e['focus']=function(){for(const _0x238eae of this['children'])if(_0x238eae instanceof _0x190394&&_0x238eae['isOn'])return void _0x238eae['focus']();this['children']['first']['focus']();},_0x3a6e7e['focusTracker']=new ot(),_0x3a6e7e['keystrokes']=new rt(),_0x3a6e7e['render'](),_0x3a6e7e['keystrokes']['listenTo'](_0x3a6e7e['element']),this['children']['add'](_0x3a6e7e),_0x3a6e7e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1a08c1=this['_createStartIndexPropertyView'](),_0x37eef6=[_0x1a08c1],_0x84213=new st(this['locale'],_0x37eef6);return _0x84213['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x84213['buttonView']['bind']('isEnabled')['toMany'](_0x37eef6,'isEnabled',(..._0x51f64c)=>_0x51f64c['some'](_0x3e15dd=>_0x3e15dd)),_0x84213['buttonView']['on']('change:isEnabled',(_0x11f1be,_0x5d2c7b,_0x8f04cb)=>{_0x8f04cb||(_0x84213['isCollapsed']=!0x0);}),this['children']['add'](_0x84213),[_0x1a08c1,_0x84213];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1ebcd9=new it(this['locale'],et);return _0x1ebcd9['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1ebcd9['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1ebcd9['fieldView']['on']('input',()=>{const _0x3c8239=_0x1ebcd9['fieldView']['element'],_0xf1e659=_0x3c8239['valueAsNumber'];Number['isNaN'](_0xf1e659)?_0x1ebcd9['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c8239['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xf1e659}):_0x1ebcd9['errorText']=t(_0xf1e659<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1ebcd9;}}class j extends _0xd62532{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xd29b5,_0x18f029];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x54d2f7}=this,{componentFactory:_0x430c73}=_0x54d2f7['ui'];_0x54d2f7['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x430c73['add']('footnotesStyle',function(_0x53d448){return _0x35ef8c=>{const {t:t}=_0x35ef8c,_0x15b495=_0x53d448['commands']['get']('footnotesStyle'),_0x27efdd=_0x209405(_0x35ef8c),{buttonView:_0x42fb8c}=_0x27efdd;return _0x27efdd['class']='ck-footnotes-styles-dropdown',_0x27efdd['bind']('isEnabled')['to'](_0x15b495,'isEnabled'),_0x42fb8c['set']({'label':t('Footnotes\x20style'),'icon':_0x5c2f45,'tooltip':!0x0}),_0x27efdd['once']('change:isOpen',()=>{const _0x4d8239=function({editor:_0x1360a,dropdownView:_0x2dae54}){const {t:t}=_0x1360a['locale'],_0x280354=t('Footnotes\x20definitions\x20styles'),_0x45d2cd=function(_0x5cafd5){const t=_0x5cafd5['locale']['t'],_0x10920a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3f0806},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1007cb},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2c7244},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x51cf35},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x252d52},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x9aa7f9}];return _0x10920a['map'](function(_0x3d16d3){const _0x1fa0f4=_0x3d16d3['locale'];return({label:_0x28fef6,icon:_0x51b77b,tooltip:_0x425652,style:_0x4e21d4})=>{const _0x55631d=_0x3d16d3['commands']['get']('footnotesStyle'),_0x4fb4bf=new _0x190394(_0x1fa0f4);return _0x4fb4bf['set']({'label':_0x28fef6,'icon':_0x51b77b,'tooltip':_0x425652}),_0x4fb4bf['bind']('isOn')['to'](_0x55631d,'value',_0x2856e3=>_0x2856e3===_0x4e21d4),_0x4fb4bf['bind']('isEnabled')['to'](_0x55631d,'isEnabled'),_0x4fb4bf['on']('execute',()=>{_0x3d16d3['execute']('footnotesStyle',{'value':_0x4e21d4}),_0x3d16d3['editing']['view']['focus']();}),_0x4fb4bf;};}(_0x5cafd5));}(_0x1360a),_0x413876=new H(_0x1360a['locale'],{'styleGridAriaLabel':_0x280354,'styleButtonViews':_0x45d2cd}),_0x1f97e3=_0x1360a['commands']['get']('footnotesStart');return _0x413876['startIndexFieldView']['bind']('isEnabled')['to'](_0x1f97e3),_0x413876['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1f97e3),_0x413876['on']('footnotesListStart',(_0x3d69a5,_0x80a45f)=>{_0x1360a['execute']('footnotesStart',{'value':_0x80a45f['startIndex']});}),_0x413876['delegate']('execute')['to'](_0x2dae54),_0x413876;}({'editor':_0x53d448,'dropdownView':_0x27efdd});_0x27efdd['panelView']['children']['add'](_0x4d8239);}),_0x27efdd;};}(_0x54d2f7));}['afterInit'](){const {editor:_0x3f3f26}=this,{t:t}=_0x3f3f26['locale'],_0x5af6d9=_0x3f3f26['plugins']['get'](_0x18f029),{defaultPositions:_0x33cf91}=_0x456029;_0x5af6d9['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3f3f26['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x397850=>{let _0x7dc6a=_0x397850['getFirstPosition']()?.['parent'];return _0x7dc6a?.['is']('$text')&&(_0x7dc6a=_0x7dc6a['parent']),_0x7dc6a?.['is']('element')?_0x7dc6a['findAncestor'](J):null;},'positions':[_0x33cf91['southArrowNorth'],_0x33cf91['southArrowNorthMiddleWest'],_0x33cf91['southArrowNorthMiddleEast'],_0x33cf91['southArrowNorthWest'],_0x33cf91['southArrowNorthEast'],_0x33cf91['northArrowSouth'],_0x33cf91['northArrowSouthMiddleWest'],_0x33cf91['northArrowSouthMiddleEast'],_0x33cf91['northArrowSouthWest'],_0x33cf91['northArrowSouthEast'],_0x33cf91['viewportStickyNorth']]});}}class ft extends _0xd62532{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x2d5865,Command as _0x1a843f}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x48b0da,isWidget as _0x220d2e,toWidgetEditable as _0x24b4fd,WidgetToolbarRepository as _0x54f439}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xd171b8,logWarning as _0x472234,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5b3d16,ClickObserver as _0x5e7152}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0xc49ca}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x484acd,ButtonView as _0x3f0407,View as _0x4cc231,ViewCollection as _0x2d39a3,FocusCycler as _0x29bc02,addKeyboardHandlingForGrid as _0xbba864,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x473ef1,BalloonPanelView as _0x159ede,createDropdown as _0x359e66}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x25cc4b,IconListStyleDecimal as _0x1fade4,IconListStyleDecimalLeadingZero as _0x5d680b,IconListStyleLowerRoman as _0x32e701,IconListStyleUpperRoman as _0x30d0a2,IconListStyleLowerLatin as _0x47afd3,IconListStyleUpperLatin as _0x5066be}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x292968,_0x16ee55){this['_model']=_0x292968,this['_elementName']=_0x16ee55['elementName'],this['_getElementKey']=_0x16ee55['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x462743){const _0x3c31a1=new Set(),_0x1d6b43=new Map();for(const _0x5d6708 of _0x462743){if('insert'===_0x5d6708['type']&&'$text'!==_0x5d6708['name']&&_0x5d6708['position']['nodeAfter']){const _0x8389fe=this['_model']['createRangeOn'](_0x5d6708['position']['nodeAfter']);for(const _0x541710 of _0x8389fe['getItems']()){if(!_0x541710['is']('element',this['_elementName']))continue;const _0x1a0254=this['_getElementKey'](_0x541710);_0x1d6b43['has'](_0x1a0254)||_0x1d6b43['set'](_0x1a0254,[]),_0x1d6b43['get'](_0x1a0254)['push'](_0x541710);}}if('remove'===_0x5d6708['type']&&_0x5d6708['name']===this['_elementName']){const _0x4efdd3=this['_getElementKey']({'getAttribute':_0x2431d0=>_0x5d6708['attributes']['get'](_0x2431d0)});_0x3c31a1['add'](_0x4efdd3);}}for(const [_0x38a866,_0x2d6907]of this['_trackedElements'])'$graveyard'===_0x2d6907['root']['rootName']&&_0x3c31a1['add'](_0x38a866);for(const _0x4a3f7e of _0x3c31a1)this['_trackedElements']['delete'](_0x4a3f7e);for(const [_0xc2bf96,_0x2be120]of _0x1d6b43)this['_trackedElements']['set'](_0xc2bf96,_0x2be120[_0x2be120['length']-0x1]);const _0x307880=new Set();for(const [_0x5e3aba,_0xfb9d81]of _0x1d6b43)_0x3c31a1['has'](_0x5e3aba)&&(_0x307880['add'](_0xfb9d81[0x0]),_0xfb9d81['length']>0x1?_0x1d6b43['set'](_0x5e3aba,_0xfb9d81['slice'](0x1)):_0x1d6b43['delete'](_0x5e3aba),_0x3c31a1['delete'](_0x5e3aba));return{'removed':Array['from'](_0x3c31a1),'inserted':Array['from'](_0x1d6b43['values']())['flat'](),'moved':Array['from'](_0x307880)};}}class f extends _0x2d5865{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xefb86b){super(_0xefb86b),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x31718c=>_0x31718c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x333d56=>_0x333d56['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4edaf3}=this,{model:_0x56919c,data:_0xc1bae1}=_0x4edaf3;_0x56919c['document']['registerPostFixer'](_0x10d88d=>{const _0x40b7de=_0x56919c['document']['differ']['getChanges']();let _0x3411cd=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x10d88d,_0x40b7de)&&(_0x3411cd=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x10d88d,_0x40b7de)&&(_0x3411cd=!0x0),this['_handleFootnoteReferencesChanges'](_0x10d88d,_0x40b7de)&&(_0x3411cd=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x10d88d)&&(_0x3411cd=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x10d88d)&&(_0x3411cd=!0x0),this['_sortFootnoteDefinitions'](_0x10d88d)&&(_0x3411cd=!0x0),_0x3411cd;}),this['listenTo'](_0x56919c['document'],'change:data',()=>{_0x56919c['enqueueChange']({'isUndoable':!0x1},_0x5c3817=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5c3817);});},{'priority':'low'}),this['listenTo'](_0xc1bae1,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5b3eb5){return this['_footnotes']['find'](_0x4e0d32=>_0x4e0d32['id']===_0x5b3eb5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xb5d9cd){this['_footnoteFormatter']=_0xb5d9cd;}['_updateFootnotesCounters'](_0x2b6e25,_0x4e4271=0x0){let _0x204f61=!0x1;for(let _0x4681cd=_0x4e4271;_0x4681cd<this['_footnotes']['length'];_0x4681cd++)this['_updateFootnoteRefCounter'](_0x2b6e25,_0x4681cd)&&(_0x204f61=!0x0);return _0x204f61;}['_insertEmptyFootnotesDefinitionsContainer'](_0x30f607,_0x19abb3){const _0x17769f=_0x30f607['createElement']('footnotesDefinitions',{});return _0x30f607['append'](_0x17769f,_0x19abb3),this['_footnotesDefinitions']=_0x17769f,_0x17769f;}['_ensureFootnotesDefinitionsContainerExists'](_0x13a863){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x10c5f4=this['_footnotes'][0x0]['reference']['root'],_0xc8f70e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x13a863,_0x10c5f4);for(const _0x373a33 of this['_footnotes'])_0x373a33['definition']['parent']||_0x13a863['insert'](_0x373a33['definition'],_0xc8f70e,'end');this['_updateFootnotesCounters'](_0x13a863);}['_handleFootnotesDefinitionsObjectChanges'](_0xe57160,_0xc0eb8d){let _0x5434cf=!0x1;const {inserted:_0x5c6051,removed:_0x3afa27,moved:_0x4cbdf5}=this['_footnoteDefsContainerTracker']['getChanges'](_0xc0eb8d);if(_0x4cbdf5['length']&&(this['_footnotesDefinitions']=_0x4cbdf5[0x0]),_0x5c6051['length']){if(_0x5c6051['length']>0x1||this['_footnotesDefinitions']&&_0x5c6051['some'](_0x2b6804=>_0x2b6804!==this['_footnotesDefinitions'])){const _0x2b5f7d=_0xe57160['createElement']('footnotesDefinitions',{}),_0x1daa25=[];this['_footnotesDefinitions']&&_0x1daa25['push'](this['_footnotesDefinitions']),_0x1daa25['push'](..._0x5c6051),_0xe57160['insert'](_0x2b5f7d,_0x1daa25[0x0],'before');for(const _0x127418 of _0x1daa25)_0xe57160['move'](_0xe57160['createRangeIn'](_0x127418),_0xe57160['createPositionAt'](_0x2b5f7d,'end')),_0xe57160['remove'](_0x127418);this['_footnotesDefinitions']=_0x2b5f7d,this['_updateFootnotesCounters'](_0xe57160),_0x5434cf=!0x0;}else this['_footnotesDefinitions']=_0x5c6051[0x0];}if(_0x3afa27['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4e2b71 of this['_footnotes'])_0xe57160['remove'](_0x4e2b71['reference']),_0x5434cf=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5434cf;}['_handleFootnoteDefinitionsChanges'](_0x3fe7e7,_0x2a1ff4){let _0x4739aa=!0x1;const _0x47a7d8=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4dea0f,moved:_0x43ecb1}=this['_footnoteDefsTracker']['getChanges'](_0x2a1ff4);for(const _0x4123f1 of[..._0x43ecb1,..._0x4dea0f]){const _0x50ec59=_0x4123f1['getAttribute']('footnoteId'),_0x27605a=this['getFootnote'](_0x50ec59);_0x27605a&&(_0x27605a['definition']=_0x4123f1),_(_0x3fe7e7,_0x47a7d8,_0x4123f1)&&(_0x4739aa=!0x0);}return _0x4739aa;}['_handleFootnoteReferencesChanges'](_0x11ef2e,_0x480480){let _0x571227=!0x1;const {removed:_0x15cb0a,inserted:_0x484d0e,moved:_0x363aff}=this['_footnoteRefsTracker']['getChanges'](_0x480480);for(const _0x470c61 of _0x15cb0a)this['_handleRemoveFootnoteReferenceById'](_0x11ef2e,_0x470c61)&&(_0x571227=!0x0);for(const _0x2a3764 of _0x484d0e)this['_handleInsertedFootnoteReference'](_0x11ef2e,_0x2a3764)&&(_0x571227=!0x0);for(const _0x9a5f4e of _0x363aff)this['_handleMovedFootnoteReference'](_0x11ef2e,_0x9a5f4e)&&(_0x571227=!0x0);return _0x571227;}['_handleFootnotesDefinitionsObjectSync'](_0x466d87){if(!this['_footnotesDefinitions'])return!0x1;let _0x1b7719=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xd0d887=[];for(const _0xbb65d3 of this['_footnotesDefinitions']['getChildren']()){const _0x507594=_0xbb65d3['getAttribute']('footnoteId');this['getFootnote'](_0x507594)||(_0xd0d887['unshift'](_0xbb65d3),_0x1b7719=!0x0);}for(const _0x4a3dcf of _0xd0d887)_0x466d87['remove'](_0x4a3dcf);}const _0x5cefc6=new Set(),_0x18f857=[];for(const _0x3a29e3 of this['_footnotesDefinitions']['getChildren']()){const _0x54512a=_0x3a29e3['getAttribute']('footnoteId');_0x5cefc6['has'](_0x54512a)?(_0x18f857['unshift'](_0x3a29e3),_0x1b7719=!0x0):_0x5cefc6['add'](_0x54512a);}for(const _0x26acad of _0x18f857)_0x466d87['remove'](_0x26acad);return this['_footnotesDefinitions']['childCount']||(_0x466d87['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1b7719=!0x0),_0x1b7719;}['_handleInsertedFootnoteReference'](_0x54d630,_0x10a07f){if(this['_footnotes']['find'](_0x34b17c=>_0x34b17c['reference']===_0x10a07f))return!0x1;let _0x4206f0=!0x1;const _0x2968c4=_0x10a07f['getAttribute']('footnoteId'),_0x380ec3=this['_footnotes']['findIndex'](_0x48c230=>_0x48c230['id']===_0x2968c4);-0x1!==_0x380ec3&&(_0x54d630['remove'](this['_footnotes'][_0x380ec3]['reference']),this['_footnotes']['splice'](_0x380ec3,0x1),_0x4206f0=!0x0);let _0x3a206a=this['_footnotesDefinitions']?function(_0x1e812f,_0x1c0b58){for(const _0x2e3bf3 of _0x1e812f['getChildren']())if(_0x2e3bf3['getAttribute']('footnoteId')===_0x1c0b58)return _0x2e3bf3;return null;}(this['_footnotesDefinitions'],_0x2968c4):null;_0x3a206a||(_0x3a206a=_0x54d630['createElement']('footnoteDefinition',{'footnoteId':_0x2968c4}),this['_footnotesDefinitions']&&(_0x54d630['insert'](_0x3a206a,this['_footnotesDefinitions'],'end'),_0x4206f0=!0x0));const _0x32c95f={'id':_0x2968c4,'reference':_0x10a07f,'definition':_0x3a206a},_0xd02be9=I(this['editor']['model'],this['_footnotes'],_0x10a07f);this['_footnotes']['splice'](_0xd02be9,0x0,_0x32c95f);let _0x1eb29d=_0xd02be9;return-0x1!==_0x380ec3&&(_0x1eb29d=Math['min'](_0xd02be9,_0x380ec3)),this['_updateFootnotesCounters'](_0x54d630,_0x1eb29d)&&(_0x4206f0=!0x0),_0x4206f0;}['_handleRemoveFootnoteReferenceById'](_0xb2d7d7,_0x1e841e){const _0x55f3ef=this['_footnotes']['findIndex'](_0xe5487e=>_0xe5487e['id']===_0x1e841e);if(-0x1===_0x55f3ef)return!0x1;let _0x41f572=!0x1;const _0x497356=this['_footnotes'][_0x55f3ef];return'$graveyard'!==_0x497356['definition']['root']['rootName']&&(_0xb2d7d7['remove'](_0x497356['definition']),_0x41f572=!0x0),this['_footnotes']['splice'](_0x55f3ef,0x1),this['_updateFootnotesCounters'](_0xb2d7d7,_0x55f3ef)&&(_0x41f572=!0x0),_0x41f572;}['_handleMovedFootnoteReference'](_0x5af392,_0x3bcde5){const _0x1a79c8=_0x3bcde5['getAttribute']('footnoteId'),_0xcc75f7=this['_footnotes']['findIndex'](_0x529188=>_0x529188['id']===_0x1a79c8),_0x337d5d=this['_footnotes'][_0xcc75f7];let _0xdcd3b=!0x1;_0x337d5d['reference']=_0x3bcde5,this['_footnotes']['splice'](_0xcc75f7,0x1);const _0x44f1b4=I(this['editor']['model'],this['_footnotes'],_0x3bcde5);return this['_footnotes']['splice'](_0x44f1b4,0x0,_0x337d5d),this['_updateFootnotesCounters'](_0x5af392,Math['min'](_0xcc75f7,_0x44f1b4))&&(_0xdcd3b=!0x0),_0xdcd3b;}['_updateFootnoteRefCounter'](_0x5daadb,_0x3a7d90){if(!this['_footnotesDefinitions'])return!0x1;const _0x5cf3a1=this['_footnotes'][_0x3a7d90];let _0xc676f3;return _0xc676f3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5cf3a1,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3a7d90+0x1}):String(_0x3a7d90+0x1),_0x5cf3a1['reference']['getAttribute']('footnoteCounter')!=_0xc676f3&&(_0x5daadb['setAttribute']('footnoteCounter',_0xc676f3,_0x5cf3a1['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x47de38){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x42db28,_0x27201c){if(_0x42db28['length']!==_0x27201c['length'])return!0x1;for(let _0x1f7cdc=0x0;_0x1f7cdc<_0x42db28['length'];_0x1f7cdc++)if(_0x42db28[_0x1f7cdc]!==_0x27201c[_0x1f7cdc])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1d48fb=>_0x1d48fb['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x629715=>_0x629715['getAttribute']('footnoteId'))))return!0x1;let _0x12f988=!0x1;for(let _0x1e3a7f=0x0;_0x1e3a7f<this['_footnotes']['length'];_0x1e3a7f++){const _0x11c8fc=this['_footnotes'][_0x1e3a7f],_0x1377fb=_0x47de38['createPositionBefore'](_0x11c8fc['definition']),_0x23ab60=_0x47de38['createPositionAt'](this['_footnotesDefinitions'],_0x1e3a7f);_0x1377fb['isEqual'](_0x23ab60)||(_0x47de38['move'](_0x47de38['createRangeOn'](_0x11c8fc['definition']),_0x23ab60),_0x12f988=!0x0);}return _0x12f988;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5efe1e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5e411b}=this['editor'];let _0x38ba5a=!0x1;for(let _0xbd853d=0x0;_0xbd853d<this['_footnotes']['length']-0x1;_0xbd853d++){const _0x5b4b0d=this['_footnotes'][_0xbd853d],_0x5bca96=this['_footnotes'][_0xbd853d+0x1],_0x2af66d=_0x5e411b['createPositionBefore'](_0x5b4b0d['reference']),_0x34b308=_0x5e411b['createPositionBefore'](_0x5bca96['reference']);'after'===_0x2af66d['compareWith'](_0x34b308)&&(this['_handleMovedFootnoteReference'](_0x5efe1e,_0x5b4b0d['reference']),_0xbd853d=-0x1,_0x38ba5a=!0x0);}return _0x38ba5a;}}function _(_0x18c797,_0x30dc45,_0x40eef4){if(_0x40eef4['childCount'])return!0x1;const _0x271262=_0x30dc45?'paragraph':'footnoteInlineContent';return _0x18c797['insert'](_0x18c797['createElement'](_0x271262),_0x40eef4),!0x0;}function I(_0x4a2ffe,_0x4e342e,_0x3b12a2){if(0x0===_0x4e342e['length'])return 0x0;const _0x2c50a4=_0x4a2ffe['createPositionBefore'](_0x3b12a2);for(let _0x4cd0eb=0x0;_0x4cd0eb<_0x4e342e['length'];_0x4cd0eb++){const _0x30cf4c=_0x4e342e[_0x4cd0eb],_0x1b6497=_0x4a2ffe['createPositionBefore'](_0x30cf4c['reference']);if('before'===_0x2c50a4['compareWith'](_0x1b6497))return _0x4cd0eb;}const _0x3d1d51=_0x3b12a2['root'];let _0x441e5a=-0x1;for(let _0x21aa5f=_0x4e342e['length']-0x1;_0x21aa5f>=0x0;_0x21aa5f--)if(_0x4e342e[_0x21aa5f]['reference']['root']===_0x3d1d51){_0x441e5a=_0x21aa5f;break;}if(-0x1!==_0x441e5a)return _0x441e5a+0x1;const _0x2e6fb0=_0x4a2ffe['document']['getRootNames'](),_0x392a3b=_0x2e6fb0['indexOf'](_0x3d1d51['rootName']),_0x12284e=_0x2e6fb0[_0x392a3b+0x1];if(_0x12284e){for(let _0x216c16=0x0;_0x216c16<_0x4e342e['length'];_0x216c16++)if(_0x4e342e[_0x216c16]['reference']['root']['rootName']===_0x12284e)return _0x216c16;}return _0x4e342e['length'];}class m extends _0x1a843f{['refresh'](){const _0x12188c=this['editor']['model']['document']['selection'],_0x517e9a=this['_getPositionToInsertFootnote'](_0x12188c);this['isEnabled']=!!_0x517e9a;}['execute'](_0x399db9){const {editor:_0x323788}=this,{model:_0x4741aa}=_0x323788,{selection:_0x2a0036}=_0x4741aa['document'],_0x3379be=this['_getPositionToInsertFootnote'](_0x2a0036);if(!_0x3379be)return;const _0x5443ca=_0x323788['plugins']['get']('FootnotesEditing'),_0x160d54=_0x399db9?.['footnoteId']??_0xd171b8();!function(_0x449be0){return'string'==typeof _0x449be0&&_0x449be0['length']>0x0&&!/\s/['test'](_0x449be0)&&!/^\d/['test'](_0x449be0);}(_0x160d54)?_0x472234('insert-footnote-command-executed-with-invalid-id'):(_0x4741aa['change'](_0x3d4a45=>{const _0x46f11f=_0x3d4a45['createElement']('footnoteRef',{'footnoteId':_0x160d54});_0x4741aa['insertObject'](_0x46f11f,_0x3379be,null);}),_0x5443ca['_moveSelectionToFootnoteDefinition'](_0x160d54));}['_getPositionToInsertFootnote'](_0x19bbde){const {model:_0x2b4f7f}=this['editor'],{schema:_0x3e5de3}=_0x2b4f7f,_0x2efcb4=_0x19bbde['getFirstRange']();for(const _0x20aabc of _0x2efcb4['getItems']())if(_0x3e5de3['isBlock'](_0x20aabc)||_0x3e5de3['isObject'](_0x20aabc))return null;const _0x204c40=_0x2efcb4['end'];return _0x3e5de3['checkChild'](_0x204c40,'footnoteRef')?_0x204c40:null;}}class r extends _0x2d5865{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x38df00}=this;_0x38df00['config']['define']('footnotes.multiBlock',!0x0),_0x38df00['commands']['add']('insertFootnote',new m(_0x38df00)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5d7626){const _0x312989=_0x494215([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]),_0x29007c=0x47a28506,_0x19833e=0x47a5fe9e^_0x29007c,_0x461f2c=window[_0x494215([0x44,0x61,0x74,0x65])][_0x494215([0x6e,0x6f,0x77])](),_0x3083d5=_0x5d7626[_0x494215([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17e1cb=new window[(_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ef04f=>{_0x3083d5[_0x494215([0x6f,0x6e,0x63,0x65])](_0x494215([0x72,0x65,0x61,0x64,0x79]),_0x4ef04f);}),_0x34193e={[_0x494215([0x6b,0x74,0x79])]:_0x494215([0x45,0x43]),[_0x494215([0x75,0x73,0x65])]:_0x494215([0x73,0x69,0x67]),[_0x494215([0x63,0x72,0x76])]:_0x494215([0x50,0x2d,0x32,0x35,0x36]),[_0x494215([0x78])]:_0x494215([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]),[_0x494215([0x79])]:_0x494215([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]),[_0x494215([0x61,0x6c,0x67])]:_0x494215([0x45,0x53,0x32,0x35,0x36])},_0x1ad962=_0x3083d5[_0x494215([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x494215([0x67,0x65,0x74])](_0x494215([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e1243(){let _0x9b4de2,_0x1587e0=null,_0x1bd066=null;try{if(_0x1ad962==_0x494215([0x47,0x50,0x4c]))return _0x494215([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9b4de2=_0x35a557(),!_0x9b4de2)return _0x494215([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9b4de2[_0x494215([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bd066=_0xd2202f(_0x9b4de2[_0x494215([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9b4de2[_0x494215([0x6a,0x74,0x69])])),await _0x286e26()?_0x1bd0e9()?_0x184c31()?_0x494215([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6e5760()?(_0x9b4de2[_0x494215([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494215([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1587e0=_0x5dafa8(_0x494215([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9b4de2[_0x494215([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494215([0x74,0x72,0x69,0x61,0x6c])&&(_0x1587e0=_0x5dafa8(_0x494215([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x227602()):_0x494215([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x494215([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x494215([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x494215([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x184c31(){const _0x32e6b1=[_0x494215([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x494215([0x74,0x72,0x69,0x61,0x6c])][_0x494215([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9b4de2[_0x494215([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x461f2c/0x3e8:0xe10*_0x19833e;return _0x9b4de2[_0x494215([0x65,0x78,0x70])]<_0x32e6b1;}function _0x1bd0e9(){const _0x2c8d95=_0x9b4de2[_0x494215([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c8d95&&(!!_0x2c8d95[_0x494215([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494215([0x2a]))||!!_0x2c8d95[_0x494215([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494215([0x46,0x4f,0x4f])));}function _0x6e5760(){const _0x44c80a=_0x9b4de2[_0x494215([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44c80a||0x0==_0x44c80a[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30f7ea}=new URL(window[_0x494215([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44c80a[_0x494215([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f7ea))return!0x0;const _0x3ec310=_0x30f7ea[_0x494215([0x73,0x70,0x6c,0x69,0x74])](_0x494215([0x2e]));return _0x44c80a[_0x494215([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x326330=>_0x326330[_0x494215([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494215([0x2a])))[_0x494215([0x6d,0x61,0x70])](_0x77aa10=>_0x77aa10[_0x494215([0x73,0x70,0x6c,0x69,0x74])](_0x494215([0x2e])))[_0x494215([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31e1e0=>_0x31e1e0[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ec310[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494215([0x6d,0x61,0x70])](_0x234da9=>Array(_0x3ec310[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x234da9[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494215([0x66,0x69,0x6c,0x6c])](_0x234da9[0x0]===_0x494215([0x2a])?_0x494215([0x2a]):'')[_0x494215([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x234da9))[_0x494215([0x73,0x6f,0x6d,0x65])](_0x5e2b53=>_0x3ec310[_0x494215([0x65,0x76,0x65,0x72,0x79])]((_0x336993,_0x163941)=>_0x5e2b53[_0x163941]===_0x336993||_0x5e2b53[_0x163941]===_0x494215([0x2a])));}function _0x227602(){return _0x1587e0&&_0x1bd066?new window[(_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e9248,_0x67b20a)=>{_0x1587e0[_0x494215([0x74,0x68,0x65,0x6e])](_0x2e9248,_0x67b20a),_0x1bd066[_0x494215([0x74,0x68,0x65,0x6e])](_0x3c297a=>{_0x3c297a!=_0x494215([0x56,0x61,0x6c,0x69,0x64])&&_0x2e9248(_0x3c297a);},_0x67b20a);}):_0x1587e0||_0x1bd066||_0x494215([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd2202f(_0x26b603,_0x272a9a){return new window[(_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x210f40=>{if(_0xdbf01b())return _0x210f40(_0x494215([0x56,0x61,0x6c,0x69,0x64]));_0x657e6b(),_0x3083d5[_0x494215([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x494215([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5cc950=!0x1;const _0x503f63=_0xd171b8();function _0x42d039(_0x1990f4){return!!_0x1990f4&&(typeof _0x1990f4===_0x494215([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1990f4===_0x494215([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1990f4[_0x494215([0x74,0x68,0x65,0x6e])]===_0x494215([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1990f4[_0x494215([0x63,0x61,0x74,0x63,0x68])]===_0x494215([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20d354(_0x134c5a){_0x47d184(_0x134c5a)[_0x494215([0x74,0x68,0x65,0x6e])](_0xe31e8d=>{if(!_0xe31e8d||_0xe31e8d[_0x494215([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x494215([0x6f,0x6b]))return _0x494215([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26cb37(_0x553a8b(_0x503f63+_0x272a9a))!=_0xe31e8d[_0x494215([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x494215([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x494215([0x56,0x61,0x6c,0x69,0x64]);})[_0x494215([0x74,0x68,0x65,0x6e])](_0x4b9702=>(_0x18284c(),_0x4b9702),()=>{const _0x40f8af=_0x4f1791();return null==_0x40f8af?(_0x18284c(),_0x494215([0x56,0x61,0x6c,0x69,0x64])):_0x494215(_0x461f2c-_0x40f8af>(0x63ae0106^_0x29007c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x494215([0x74,0x68,0x65,0x6e])](_0x210f40)[_0x494215([0x63,0x61,0x74,0x63,0x68])](()=>{_0x210f40(_0x494215([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bd568=0x47946b86^_0x29007c;function _0x18284c(){const _0x404943=_0x494215([0x6c,0x6c,0x63,0x74,0x2d])+_0x26cb37(_0x553a8b(_0x26b603)),_0x116f68=_0xd32bbe(_0x26cb37(window[_0x494215([0x4d,0x61,0x74,0x68])][_0x494215([0x63,0x65,0x69,0x6c])](_0x461f2c/_0x1bd568)));window[_0x494215([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494215([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x404943,_0x116f68);}function _0x4f1791(){const _0x16df50=_0x494215([0x6c,0x6c,0x63,0x74,0x2d])+_0x26cb37(_0x553a8b(_0x26b603)),_0x5356af=window[_0x494215([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494215([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16df50);return _0x5356af?window[_0x494215([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd32bbe(_0x5356af),0x10)*_0x1bd568:null;}function _0x47d184(_0x4c15ca){return new window[(_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x467df2,_0x168e2a)=>{_0x4c15ca[_0x494215([0x74,0x68,0x65,0x6e])](_0x467df2,_0x168e2a),window[_0x494215([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x168e2a,0x47a351c6^_0x29007c);});}}_0x3083d5[_0x494215([0x6f,0x6e])](_0x494215([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19fcfd,_0x5f225f)=>{if(_0x5f225f[0x0]!=_0x26b603)return _0x210f40(_0x494215([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f225f[0x1]={..._0x5f225f[0x1],[_0x494215([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x503f63};},{[_0x494215([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494215([0x68,0x69,0x67,0x68])}),_0x3083d5[_0x494215([0x6f,0x6e])](_0x494215([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x402922=>{_0x42d039(_0x402922[_0x494215([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5cc950=!0x0,_0x20d354(_0x402922[_0x494215([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x494215([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494215([0x6c,0x6f,0x77])}),_0x17e1cb[_0x494215([0x74,0x68,0x65,0x6e])](()=>{_0x5cc950||_0x210f40(_0x494215([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xdbf01b(){return _0x3083d5[_0x494215([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494215([0x76,0x69,0x65,0x77])][_0x494215([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x494215([0x61,0x75,0x74,0x6f]);}function _0x657e6b(){_0x3083d5[_0x494215([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494215([0x76,0x69,0x65,0x77])][_0x494215([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x494215([0x61,0x75,0x74,0x6f]);}}function _0x5dafa8(_0x450477){const _0x41b000=[new window[(_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x112a1b=>setTimeout(_0x112a1b,0x47abbbca^_0x29007c)),_0x17e1cb[_0x494215([0x74,0x68,0x65,0x6e])](()=>new window[(_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x318c76=>{let _0x2d55ba=0x0;_0x3083d5[_0x494215([0x6d,0x6f,0x64,0x65,0x6c])][_0x494215([0x6f,0x6e])](_0x494215([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4069db,_0x53f7ab)=>{_0x53f7ab[0x0][_0x494215([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d55ba++,_0x2d55ba==(0x47a284fe^_0x29007c)&&(_0x318c76(),_0x4069db[_0x494215([0x6f,0x66,0x66])]());});}))];return window[_0x494215([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x494215([0x72,0x61,0x63,0x65])](_0x41b000)[_0x494215([0x74,0x68,0x65,0x6e])](()=>_0x450477);}async function _0x38ad44(){await _0x17e1cb,_0x3083d5[_0x494215([0x6d,0x6f,0x64,0x65,0x6c])][_0x494215([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x317083,_0x3083d5[_0x494215([0x6d,0x6f,0x64,0x65,0x6c])][_0x494215([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x317083,_0x3083d5[_0x494215([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x494215([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27cd00(_0x5b1f94){const _0x3a9095=_0x1106a2();_0x3083d5[_0x3a9095]=_0x494215([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b1f94,_0x5b1f94!=_0x494215([0x56,0x61,0x6c,0x69,0x64])&&_0x38ad44();}function _0x1106a2(){const _0x5304f7=window[_0x494215([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x494215([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x494215([0x6e,0x6f,0x77])]())[_0x494215([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x494215([0x2e]),'');let _0x802629=_0x494215([0x75]);for(let _0x4249af=0x0;_0x4249af<_0x5304f7[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4249af+=0x2){let _0x13890b=window[_0x494215([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5304f7[_0x494215([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4249af,_0x4249af+0x2));_0x13890b>=_0x312989[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x13890b-=_0x312989[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x802629+=_0x312989[_0x13890b];}return _0x802629;}function _0x35a557(){const _0x8f2aa7=_0x1ad962[_0x494215([0x73,0x70,0x6c,0x69,0x74])](_0x494215([0x2e]));if(0x3!=_0x8f2aa7[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35daf3(_0x8f2aa7[0x1]);function _0x35daf3(_0x3c6158){const _0x281aaf=_0x294c55(_0x3c6158);return _0x281aaf&&_0x8e12d()?_0x281aaf:null;function _0x8e12d(){const _0x530823=_0x281aaf[_0x494215([0x6a,0x74,0x69])],_0xe7a228=window[_0x494215([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x530823[_0x494215([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x530823[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18e8c1={..._0x281aaf,[_0x494215([0x6a,0x74,0x69])]:_0x530823[_0x494215([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x530823[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18e8c1[_0x494215([0x76,0x63])],_0x553a8b(_0x18e8c1)==_0xe7a228;}}}async function _0x286e26(){let _0x3ee1c7=!0x0;try{const _0x540b73=_0x1ad962[_0x494215([0x73,0x70,0x6c,0x69,0x74])](_0x494215([0x2e])),[_0x52ae20,_0x10b53b,_0x2df656]=_0x540b73;return _0x5a5ceb(_0x52ae20),await _0x501f73(_0x52ae20,_0x10b53b,_0x2df656),_0x3ee1c7;}catch{return!0x1;}function _0x5a5ceb(_0x3233c7){const _0x5a8a3b=_0x294c55(_0x3233c7);_0x5a8a3b&&_0x5a8a3b[_0x494215([0x61,0x6c,0x67])]==_0x494215([0x45,0x53,0x32,0x35,0x36])||(_0x3ee1c7=!0x1);}async function _0x501f73(_0x2d8efd,_0x469ad8,_0x1d7b36){const _0x341f5e=window[_0x494215([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x494215([0x66,0x72,0x6f,0x6d])](_0x273010(_0x1d7b36),_0xe0f07b=>_0xe0f07b[_0x494215([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f18f3=new window[(_0x494215([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x494215([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d8efd+_0x494215([0x2e])+_0x469ad8),_0x366deb=window[_0x494215([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x494215([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x366deb)return;const _0x49d308=await _0x366deb[_0x494215([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x494215([0x6a,0x77,0x6b]),_0x34193e,{[_0x494215([0x6e,0x61,0x6d,0x65])]:_0x494215([0x45,0x43,0x44,0x53,0x41]),[_0x494215([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x494215([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x494215([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x366deb[_0x494215([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x494215([0x6e,0x61,0x6d,0x65])]:_0x494215([0x45,0x43,0x44,0x53,0x41]),[_0x494215([0x68,0x61,0x73,0x68])]:{[_0x494215([0x6e,0x61,0x6d,0x65])]:_0x494215([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49d308,_0x341f5e,_0x2f18f3)||(_0x3ee1c7=!0x1);}}function _0x294c55(_0x529fab){return _0x529fab[_0x494215([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x494215([0x65,0x79]))?JSON[_0x494215([0x70,0x61,0x72,0x73,0x65])](_0x273010(_0x529fab)):null;}function _0x273010(_0x5c6c77){return window[_0x494215([0x61,0x74,0x6f,0x62])](_0x5c6c77[_0x494215([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x494215([0x2b]))[_0x494215([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x494215([0x2f])));}function _0x553a8b(_0x32a406){let _0x5bbc0e=0x1505;function _0x2d654a(_0x1bdd44){for(let _0x330544=0x0;_0x330544<_0x1bdd44[_0x494215([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x330544++){const _0x34f616=_0x1bdd44[_0x494215([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x330544);_0x5bbc0e=(_0x5bbc0e<<0x5)+_0x5bbc0e+_0x34f616,_0x5bbc0e&=_0x5bbc0e;}}function _0x16f3de(_0x1837c5){Array[_0x494215([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1837c5)?_0x1837c5[_0x494215([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16f3de):_0x1837c5&&typeof _0x1837c5==_0x494215([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x494215([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1837c5)[_0x494215([0x73,0x6f,0x72,0x74])]()[_0x494215([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x971fa8,_0x340c09])=>{_0x2d654a(_0x971fa8),_0x16f3de(_0x340c09);}):_0x2d654a(window[_0x494215([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1837c5));}return _0x16f3de(_0x32a406),_0x5bbc0e>>>0x0;}function _0x26cb37(_0x59a898){return _0x59a898[_0x494215([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x494215([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x494215([0x30]));}function _0xd32bbe(_0x1294bd){return _0x1294bd[_0x494215([0x73,0x70,0x6c,0x69,0x74])]('')[_0x494215([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x494215([0x6a,0x6f,0x69,0x6e])]('');}function _0x317083(){}function _0x494215(_0x3d9457){return _0x3d9457['map'](_0x5421c3=>String['fromCharCode'](_0x5421c3))['join']('');}_0x27cd00(await _0x4e1243());}(this);}['_moveSelectionToFootnoteDefinition'](_0x169711){const {plugins:_0x3c44b4,editing:_0x12bdd1,model:_0x36f5f3}=this['editor'],_0x3c112c=_0x3c44b4['get'](f)['getFootnote'](_0x169711);return!!_0x3c112c&&(_0x36f5f3['change'](_0x15593f=>{_0x15593f['setSelection'](_0x15593f['createPositionAt'](_0x3c112c['definition'],'end'));}),_0x12bdd1['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x25a880){const {plugins:_0x1c36c8,editing:_0x5aecda,model:_0x480d58}=this['editor'],_0x53e1dc=_0x1c36c8['get'](f)['getFootnote'](_0x25a880);return!!_0x53e1dc&&(_0x480d58['change'](_0x3bc4d1=>{_0x3bc4d1['setSelection'](_0x53e1dc['reference'],'on');}),_0x5aecda['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x818fc}=this['editor']['model'],_0x312cc9=this['editor']['config']['get']('footnotes.multiBlock');_0x818fc['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x818fc['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x818fc['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x312cc9?_0x818fc['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x818fc['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x818fc['addChildCheck'](_0x53ae97=>{for(const _0xa7630d of _0x53ae97)if('footnoteDefinition'===_0xa7630d['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1ad7e6}=this,{conversion:_0x56c291,editing:_0x5e841e}=_0x1ad7e6,{t:t}=_0x1ad7e6['locale'];_0x56c291['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x392742,{writer:_0x254928,consumable:_0x583b1b})=>{const _0x471631=_0x392742['getChild'](0x0);if(!_0x471631||!_0x471631['is']('element','a'))return null;const _0x5e3a6f=_0x471631['getAttribute']('href')||'';if(!_0x5e3a6f['startsWith']('#'))return null;const _0x51af7a=_0x5e3a6f['replace'](/^#/,'');if(!_0x51af7a)return null;_0x583b1b['consume'](_0x471631,{'name':!0x0,'attributes':['href']});for(const {item:_0x35a5f4}of _0x5e841e['view']['createRangeIn'](_0x471631))_0x35a5f4['is']('$textProxy')?_0x583b1b['consume'](_0x35a5f4['textNode'],{'name':!0x0}):_0x35a5f4['is']('element')&&_0x583b1b['consume'](_0x35a5f4,{'name':!0x0});return _0x254928['createElement']('footnoteRef',{'footnoteId':_0x51af7a});}}),_0x56c291['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x49355f,{writer:_0x2714c9})=>D(_0x49355f,_0x2714c9)}),_0x56c291['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x373a19,{writer:_0x43dbcc})=>{const _0x2fd152=_0x373a19['getAttribute']('footnoteCounter');return _0x48b0da(D(_0x373a19,_0x43dbcc),_0x43dbcc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2fd152)});}});}['_defineDefinitionsConverters'](){const {editor:_0x160b36}=this,{t:t}=_0x160b36['locale'],{conversion:_0x346045}=_0x160b36;_0x346045['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x346045['for']('upcast')['add'](_0x3e816b=>{_0x3e816b['on']('element:ol',(_0x7cdb53,_0x3ef70f,_0x303c17)=>{const _0xdc0ef4=_0x3ef70f['viewItem'];if(!_0xdc0ef4['hasClass']('footnotes-list')||!_0x3ef70f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x303c17['consumable']['consume'](_0xdc0ef4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2ffa79,modelCursor:_0x191982}=_0x303c17['convertChildren'](_0x3ef70f['viewItem'],_0x3ef70f['modelCursor']);_0x3ef70f['modelRange']=_0x2ffa79,_0x3ef70f['modelCursor']=_0x191982;}),_0x3e816b['on']('element:hr',(_0x12bc6d,_0x341bda,_0x1a6827)=>{const _0x6f54b3=_0x341bda['viewItem'];_0x6f54b3['hasClass']('footnotes-divider')&&_0x341bda['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1a6827['consumable']['consume'](_0x6f54b3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x346045['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x14800a,{writer:_0x365e69})=>v(_0x365e69)}),_0x346045['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e8d1a,{writer:_0x502c2f})=>{const _0x3240e7=v(_0x502c2f,{'data-footnotes-list-label':t('Footnotes')}),_0x247e14=_0x48b0da(_0x3240e7,_0x502c2f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x502c2f['setCustomProperty']('footnotesDefinitions',!0x0,_0x247e14),_0x247e14;}});}['_defineDefinitionConverters'](){const {editor:_0x5f003e}=this,{conversion:_0x21288d,locale:_0xe30d83}=_0x5f003e,_0x5d815c=_0x5f003e['config']['get']('footnotes.multiBlock');_0x21288d['for']('upcast')['add'](_0x6007a4=>{_0x6007a4['on']('element:li',(_0x4cc014,_0xc68e65,_0x2dc9ca)=>{const _0x13f355=_0xc68e65['viewItem'];if(!_0x13f355['hasClass']('footnote-definition')||!_0x13f355['getAttribute']('id'))return;const _0x1d857a=_0x13f355['parent'];if(!_0x1d857a['is']('element','ol')||!_0x1d857a['hasClass']('footnotes-list'))return;if(!_0x2dc9ca['consumable']['test'](_0x13f355,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x6f6567=_0x2dc9ca['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x13f355['getAttribute']('id')});if(!_0x2dc9ca['safeInsert'](_0x6f6567,_0xc68e65['modelCursor']))return;_0x2dc9ca['consumable']['consume'](_0x13f355,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x14988b=Array['from'](_0x13f355['getChildren']())['find'](_0x33909f=>_0x33909f['is']('element')&&_0x33909f['hasClass']('footnote-content'));for(const _0x483201 of _0x13f355['getChildren']())_0x483201['is']('element')&&(_0x2dc9ca['consumable']['consume'](_0x483201,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2dc9ca['consumable']['consume'](_0x483201,{'name':!0x0,'classes':'footnote-content'}));if(_0x14988b){if(_0x5d815c)_0x2dc9ca['convertChildren'](_0x14988b,_0x6f6567);else{const _0x3a3a00=_0x2dc9ca['writer']['createElement']('footnoteInlineContent');_0x2dc9ca['writer']['insert'](_0x3a3a00,_0x6f6567),_0x2dc9ca['convertChildren'](_0x14988b,_0x3a3a00);}}_0x2dc9ca['updateConversionResult'](_0x6f6567,_0xc68e65);});}),_0x21288d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x887033,{writer:_0x20ed72})=>b(_0x887033,_0x20ed72,_0xe30d83,{'dataPipeline':!0x0})}),_0x21288d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c6a58,{writer:_0x16e763})=>b(_0x2c6a58,_0x16e763,_0xe30d83)});}['_defineBogusParagraphConverters'](){const {editor:_0x51c307}=this,{conversion:_0x512981}=_0x51c307;_0x51c307['config']['get']('footnotes.multiBlock')?(_0x512981['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x512981['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x51c307['model']['document'],'change:data',()=>{!function(_0x2b53e3,_0x4a874b){const _0xa7e8e9=_0x2b53e3['document']['differ'],_0x27aec5=new Set();for(const _0xa9191 of _0xa7e8e9['getChanges']()){const _0x3a4aaa='attribute'==_0xa9191['type']?_0xa9191['range']['start']['parent']:_0xa9191['position']['parent'];_0x3a4aaa['is']('element','footnoteDefinition')&&_0x27aec5['add'](_0x3a4aaa);}for(const _0x8dbedf of _0x27aec5['values']()){const _0x3dd45b=Array['from'](_0x8dbedf['getChildren']())['filter'](_0x2feebe=>g(_0x2feebe,_0x4a874b['mapper']));for(const _0x3039ed of _0x3dd45b)_0x4a874b['reconvertItem'](_0x3039ed);}}(_0x51c307['model'],_0x51c307['editing']);})):(_0x512981['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x512981['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x160f6b,{writer:_0x44b782})=>{const _0x323ff5=_0x44b782['createContainerElement']('span');return _0x44b782['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x323ff5),_0x323ff5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x419637}=this,{editing:_0x33aeac,t:t}=_0x419637,_0x5c88d8=_0x419637['model']['document']['selection'];_0x419637['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x419637['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x33aeac['view']['document'],'enter',(_0x59d4ac,_0x409a77)=>{const _0x97f32b=function(_0x19a810){const _0x32a67c=_0x19a810['getSelectedElement']();if(_0x32a67c?.['is']('element','footnoteRef'))return _0x32a67c;return null;}(_0x5c88d8);if(_0x97f32b){const _0x4edf9a=_0x97f32b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4edf9a),_0x409a77['preventDefault'](),_0x59d4ac['stop']();}},{'context':_0x220d2e});}['_defineClickHandlers'](){const {editor:_0x4d599c}=this,{editing:_0x3c751b}=_0x4d599c;_0x4d599c['editing']['view']['addObserver'](_0x5b3d16),_0x4d599c['editing']['view']['addObserver'](_0x5e7152);let _0x69f028=!0x1;this['listenTo'](_0x3c751b['view']['document'],'pointerdown',(_0xa451a2,_0x474480)=>{const {target:_0x5c87c6}=_0x474480,_0x1cd668=_0x3c751b['view']['document']['selection'];_0x69f028=!!(_0x5c87c6?.['is']('element','a')&&_0x5c87c6['parent']?.['is']('element','sup')&&_0x5c87c6['parent']['hasClass']('footnote'))&&_0x1cd668['getSelectedElement']()===_0x5c87c6['parent'];},{'priority':'high'}),this['listenTo'](_0x3c751b['view']['document'],'click',(_0x2db667,_0x3fa555)=>{const {target:_0x1b2c4b}=_0x3fa555;if(!_0x1b2c4b?.['is']('element','a'))return;if(_0x1b2c4b['parent']?.['is']('element','sup')&&_0x1b2c4b['parent']['hasClass']('footnote')&&!_0x69f028)return void _0x3fa555['preventDefault']();let _0x48ec05=_0x1b2c4b['getAttribute']('href');if(!_0x48ec05?.['startsWith']('#'))return;_0x48ec05=_0x48ec05['slice'](0x1);let _0x98ea82=!0x1;(_0x48ec05['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x48ec05['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x48ec05))&&(_0x98ea82=!0x0),_0x98ea82&&(_0x3fa555['preventDefault'](),_0x2db667['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2710ea}={}){return(_0x3af1d0,{writer:_0x37092f})=>{if(!p(_0x3af1d0))return null;if(!_0x2710ea)return _0x37092f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1c1d50=_0x37092f['createContainerElement']('p');return _0x37092f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1c1d50),_0x1c1d50;};}function p(_0x56b6cd){const {parent:_0x5794bc}=_0x56b6cd;if(!_0x5794bc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5794bc['childCount'])return!0x1;for(const _0x209b0b of _0x56b6cd['getAttributeKeys']())if(!_0x209b0b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x209b0b)return!0x1;return!0x0;}function g(_0x3e8f90,_0x5cdf58){if(!_0x3e8f90['is']('element','paragraph'))return!0x1;const _0x294e7c=_0x5cdf58['toViewElement'](_0x3e8f90);return!!_0x294e7c&&p(_0x3e8f90)!==_0x294e7c['is']('element','span');}function J(_0x2d95a3){return _0x220d2e(_0x2d95a3)&&_0x2d95a3['is']('containerElement')&&!!_0x2d95a3['getCustomProperty']('footnotesDefinitions');}function v(_0x9e7486,_0x590022={}){const _0x23f93b=_0x9e7486['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xea379e=_0x9e7486['createContainerElement']('ol',{'class':'footnotes-list'},_0x9e7486['createSlot']());return _0x9e7486['createContainerElement']('div',{'class':'footnotes',..._0x590022},[_0x23f93b,_0xea379e]);}function D(_0x43f4d5,_0x237c81){const _0x327661=_0x43f4d5['getAttribute']('footnoteId'),_0x347dd4=_0x43f4d5['getAttribute']('footnoteCounter'),_0x458dcb=_0x237c81['createUIElement']('a',{'href':'#'+_0x327661},function(_0x3b8bae){const _0x39e219=this['toDomElement'](_0x3b8bae);return _0x39e219['textContent']=_0x347dd4,_0x39e219;}),_0x289b05=_0x237c81['createContainerElement']('sup',{'id':'ref-'+_0x327661,'class':'footnote'},[_0x458dcb]);return _0x289b05['getFillerOffset']=()=>null,_0x289b05;}function b(_0x4ea6e6,_0x47be7d,_0x34f8c4,{dataPipeline:_0x40a63b}={}){const {t:t}=_0x34f8c4,_0x214fbb=_0x4ea6e6['getAttribute']('footnoteId'),_0x27dbb5=_0x47be7d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x214fbb},function(_0x399211){const _0xd5c33c=this['toDomElement'](_0x399211);return _0xd5c33c['innerText']='^',_0xd5c33c;}),_0x280832=_0x40a63b?_0x47be7d['createContainerElement']('div',{'class':'footnote-content'}):_0x24b4fd(_0x47be7d['createEditableElement']('div',{'class':'footnote-content'}),_0x47be7d,{'label':t('Footnote\x20content.')});return _0x47be7d['insert'](_0x47be7d['createPositionAt'](_0x280832,0x0),_0x47be7d['createSlot']()),_0x47be7d['createContainerElement']('li',{'class':'footnote-definition','id':_0x214fbb},[_0x27dbb5,_0x280832]);}class e extends _0x2d5865{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0xc49ca];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1c1f81}=this,{plugins:_0x2441b6,model:_0x1bc079}=_0x1c1f81,_0x1fb1eb=_0x2441b6['get'](_0xc49ca),_0x2d95e4=_0x2441b6['get'](f);this['listenTo'](_0x1fb1eb,'outputTransformation',(_0x440c42,_0x35cbf2)=>{const _0xed7c4c=c(_0x1bc079['createRangeIn'](_0x35cbf2['content']));if(!_0xed7c4c['length'])return;const _0x250c05=_0x2d95e4['getFootnotes'](),_0x474a67=_0xed7c4c['reduce']((_0x454f92,_0x93d09)=>{const _0x224bdd=_0x250c05['find'](_0x180f98=>_0x180f98['id']===_0x93d09);if(_0x224bdd){const _0x4aa6f7=_0x1c1f81['data']['toView'](_0x224bdd['definition'],{'isClipboardPipeline':!0x0}),_0x2ba050=_0x1c1f81['data']['htmlProcessor']['toData'](_0x4aa6f7);_0x454f92[_0x224bdd['id']]=_0x2ba050;}return _0x454f92;},Object['create'](null));_0x35cbf2['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x474a67));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4712be}=this,{model:_0x1ab2ac,plugins:_0x3f8589}=_0x4712be,{view:_0x4d7b8c}=_0x4712be['editing'],_0x37de82=_0x3f8589['get'](_0xc49ca),_0x606036=_0x3f8589['get'](f),_0x313d87=_0x4712be['config']['get']('footnotes.multiBlock');let _0x57c77f=null;this['listenTo'](_0x4d7b8c['document'],'clipboardInput',(_0x1ff0e0,_0x16c3dd)=>{const _0x42f810=_0x16c3dd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x57c77f=_0x42f810?JSON['parse'](_0x42f810):null;}),this['listenTo'](_0x37de82,'contentInsertion',(_0x114922,_0x3fe610)=>{const _0x4238e4=_0x3fe610['sourceEditorId']===this['editor']['id'];_0x4238e4&&'drop'===_0x3fe610['method']||_0x1ab2ac['change'](_0x12ee56=>{let _0x1e0e35=_0x606036['getFootnotesDefinitionsObjectElement']();const _0x252a2f=!!_0x1e0e35&&Array['from'](_0x1ab2ac['document']['selection']['getSelectedBlocks']())['includes'](_0x1e0e35);if((_0x1e0e35&&!_0x252a2f||!_0x1e0e35&&!_0x57c77f)&&function(_0x36eebb,_0x275dfe){const _0x703cac=[];for(const {item:_0x47e79e}of _0x36eebb['createRangeIn'](_0x275dfe))_0x47e79e['is']('element','footnotesDefinitions')&&_0x703cac['push'](_0x47e79e);for(const _0x3c4793 of _0x703cac)_0x36eebb['remove'](_0x3c4793);}(_0x12ee56,_0x3fe610['content']),!_0x57c77f)return;const {selection:_0x154597}=_0x1ab2ac['document'],_0x1f6086=_0x154597['getFirstRange']()['root'];_0x1e0e35&&!_0x252a2f||(_0x1e0e35=function(_0x576038,_0x4c4da0){for(const {item:_0x2fd5cd}of _0x576038['createRangeIn'](_0x4c4da0))if(_0x2fd5cd['is']('element','footnotesDefinitions'))return _0x2fd5cd;return null;}(_0x12ee56,_0x3fe610['content']),_0x1e0e35||=_0x606036['_insertEmptyFootnotesDefinitionsContainer'](_0x12ee56,_0x1f6086));const _0x492809=Array['from'](_0x154597['getRanges']())['flatMap'](c),_0x3e4632=function(_0x5b202a,_0x51f0a9,_0x25b16e){const _0x4f142c=Object['create'](null);for(const {item:_0x2de02b}of _0x5b202a['createRangeIn'](_0x51f0a9))if(_0x2de02b['is']('element','footnoteRef')){const _0x267898=_0x2de02b['getAttribute']('footnoteId');if(!_0x25b16e(_0x267898))continue;_0x4f142c[_0x267898]||(_0x4f142c[_0x267898]=_0xd171b8()),_0x5b202a['setAttribute']('footnoteId',_0x4f142c[_0x267898],_0x2de02b);}return _0x4f142c;}(_0x12ee56,_0x3fe610['content'],_0x5b0bfa=>{if(!_0x4238e4)return!0x0;return!!_0x606036['getFootnote'](_0x5b0bfa)&&!_0x492809['includes'](_0x5b0bfa);});for(const [_0x1eff96,_0x51f66e]of Object['entries'](_0x57c77f)){const _0x2b65b8=_0x3e4632[_0x1eff96]||_0x1eff96,_0x38e556=_0x12ee56['createElement']('footnoteDefinition',{'footnoteId':_0x2b65b8}),_0x1a07c5=_0x4712be['data']['htmlProcessor']['toView'](_0x51f66e);let _0x23c5eb;if(_0x313d87)_0x23c5eb=_0x4712be['data']['toModel'](_0x1a07c5,_0x38e556);else{_0x23c5eb=_0x12ee56['createElement']('footnoteInlineContent');const _0x4aa1ee=_0x4712be['data']['toModel'](_0x1a07c5,_0x23c5eb);_0x12ee56['insert'](_0x4aa1ee,_0x23c5eb);}_0x12ee56['append'](_0x23c5eb,_0x38e556),_0x12ee56['insert'](_0x38e556,_0x1e0e35,'end');}_0x57c77f=null;});});}}function c(_0x1bf119){const _0x3b4c5b=new Set();for(const {item:_0x2a6ed5}of _0x1bf119)_0x2a6ed5['is']('element','footnoteRef')&&_0x3b4c5b['add'](_0x2a6ed5['getAttribute']('footnoteId'));return Array['from'](_0x3b4c5b);}class i extends _0x2d5865{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c2dcd}=this,{componentFactory:_0x32355e}=_0x4c2dcd['ui'];_0x32355e['add']('insertFootnote',x(_0x4c2dcd,_0x3f0407)),_0x32355e['add']('menuBar:insertFootnote',x(_0x4c2dcd,_0x484acd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x369ed0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a73ed;for(const _0x4914ea in _0x369ed0){const _0x17b81d=_0x4914ea,_0x3ef51=_0x369ed0[_0x17b81d];if('footnotesLicenseKeyValid'==_0x3ef51||'footnotesLicenseKeyInvalid'==_0x3ef51||'footnotesLicenseKeyExpired'==_0x3ef51||'footnotesLicenseKeyDomainLimit'==_0x3ef51||'footnotesLicenseKeyNotAllowed'==_0x3ef51||'footnotesLicenseKeyEvaluationLimit'==_0x3ef51||'footnotesLicenseKeyTrialLimit'==_0x3ef51||'footnotesLicenseKeyUsageLimit'==_0x3ef51){delete _0x369ed0[_0x17b81d],_0x3a73ed=_0x3ef51,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3a73ed&&_0x369ed0['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3a73ed&&_0x369ed0['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3a73ed&&_0x369ed0['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3a73ed&&_0x369ed0['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3a73ed&&_0x369ed0['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3a73ed&&_0x369ed0['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3a73ed&&_0x369ed0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2c97ce,_0x37e242){const _0x337b04=_0x2c97ce['commands']['get']('insertFootnote');return _0x21dfe1=>{const {t:t}=_0x21dfe1,_0x55925c=new _0x37e242(_0x21dfe1),_0x305752=_0x55925c instanceof _0x484acd;return _0x55925c['bind']('isEnabled')['to'](_0x337b04,'isEnabled'),_0x55925c['set']({'label':t(_0x305752?'Footnote':'Insert\x20footnote'),'icon':_0x25cc4b,'tooltip':!0x0}),_0x55925c['on']('execute',()=>{_0x337b04['execute'](),_0x2c97ce['editing']['view']['focus']();}),_0x55925c;};}class lt extends _0x2d5865{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const nt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1a843f{['refresh'](){const {editor:_0x2508dc}=this,_0x42a400=_0x2508dc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x42a400,this['value']=_0x42a400?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x371b46}){const {editor:_0x8025fe}=this,_0x4c2f06=_0x8025fe['plugins']['get'](f),_0x201fa1=_0x4c2f06['getFootnotesDefinitionsObjectElement']();_0x201fa1&&nt['includes'](_0x371b46)&&_0x8025fe['model']['change'](_0x2cb3e0=>{_0x2cb3e0['setAttribute']('footnotesListStyle',_0x371b46,_0x201fa1),_0x4c2f06['_updateFootnotesCounters'](_0x2cb3e0);});}}class C extends _0x1a843f{['refresh'](){const {editor:_0xffa654}=this,_0x15f362=_0xffa654['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x15f362,this['value']=_0x15f362?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xfea3fd}){const {editor:_0xdaff8d}=this,_0x2100a2=_0xdaff8d['plugins']['get'](f),_0x1007ee=_0x2100a2['getFootnotesDefinitionsObjectElement']();_0x1007ee&&Number['isInteger'](_0xfea3fd)&&_0xdaff8d['model']['change'](_0x46a343=>{_0x46a343['setAttribute']('footnotesListStart',_0xfea3fd,_0x1007ee),_0x2100a2['_updateFootnotesCounters'](_0x46a343);});}}class P extends _0x2d5865{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e663a}=this;_0x5e663a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5e663a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5e663a['commands']['add']('footnotesStyle',new S(_0x5e663a)),_0x5e663a['commands']['add']('footnotesStart',new C(_0x5e663a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4e86b9}=this,{schema:_0x357c2c}=_0x4e86b9['model'];_0x357c2c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5ad995}=this,{conversion:_0x1582eb,model:_0x5c97f3}=_0x5ad995,{schema:_0x23f746}=_0x5c97f3;_0x1582eb['for']('upcast')['add'](_0x335b82=>{_0x335b82['on']('element:ol',(_0x5599bf,_0x51b3f2,_0x49ee60)=>{const _0xb1179e=_0x51b3f2['viewItem'],_0x1878ae=_0x51b3f2['modelCursor']?.['parent'];_0xb1179e['hasClass']('footnotes-list')&&_0x1878ae?.['is']('element','footnotesDefinitions')&&(function(_0x3d88ec,_0x124c65,_0x4e3099,_0x4257a9){if(!_0x4257a9['checkAttribute'](_0x124c65,'footnotesListStart'))return;let _0x5510b0=0x1;const _0x547b4a=_0x4e3099['consumable']['consume'](_0x3d88ec,{'attributes':'start'});if(_0x547b4a){const _0x5e1d0d=Number['parseInt'](_0x3d88ec['getAttribute']('start'),0xa);Number['isNaN'](_0x5e1d0d)||(_0x5510b0=_0x5e1d0d);}!_0x547b4a&&_0x124c65['hasAttribute']('footnotesListStart')||_0x4e3099['writer']['setAttribute']('footnotesListStart',_0x5510b0,_0x124c65);}(_0xb1179e,_0x1878ae,_0x49ee60,_0x23f746),function(_0x2a37c2,_0x401f20,_0x44fddb,_0x3459fa){if(!_0x3459fa['checkAttribute'](_0x401f20,'footnotesListStyle'))return;let _0x1c0963='decimal',_0x140c4c=!0x1;if(_0x44fddb['consumable']['consume'](_0x2a37c2,{'attributes':'type'})){const _0x251f5e={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2a37c2['getAttribute']('type')];_0x251f5e&&(_0x1c0963=_0x251f5e),_0x140c4c=!0x0;}_0x44fddb['consumable']['consume'](_0x2a37c2,{'styles':'list-style-type'})&&(_0x1c0963=function(_0x4e9691){switch(_0x4e9691){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4e9691;}}(_0x2a37c2['getStyle']('list-style-type')),_0x140c4c=!0x0),!_0x140c4c&&_0x401f20['hasAttribute']('footnotesListStyle')||_0x44fddb['writer']['setAttribute']('footnotesListStyle',_0x1c0963,_0x401f20);}(_0xb1179e,_0x1878ae,_0x49ee60,_0x23f746));});}),_0x1582eb['for']('downcast')['add'](_0x151e6c=>{_0x151e6c['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x9309d2,_0x53fcd8,_0x5bef26)=>{if(!_0x5bef26['consumable']['consume'](_0x53fcd8['item'],_0x9309d2['name']))return;const _0x1b22a6=M(_0x53fcd8['item'],_0x5bef26['mapper']),{attributeNewValue:_0x51c006}=_0x53fcd8;null==_0x51c006||0x1===_0x51c006?_0x5bef26['writer']['removeAttribute']('start',_0x1b22a6):_0x5bef26['writer']['setAttribute']('start',String(_0x51c006),_0x1b22a6);}),_0x151e6c['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x6924d0,_0x4528c3,_0x5ccf56)=>{if(!_0x5ccf56['consumable']['consume'](_0x4528c3['item'],_0x6924d0['name']))return;const _0x1c459e=M(_0x4528c3['item'],_0x5ccf56['mapper']),{attributeNewValue:_0xef276b}=_0x4528c3;_0xef276b&&'decimal'!==_0xef276b?_0x5ccf56['writer']['setStyle']('list-style-type',_0xef276b,_0x1c459e):_0x5ccf56['writer']['removeStyle']('list-style-type',_0x1c459e);});});}['_definePostfixer'](){const {editor:_0x2a123e}=this,{model:_0x33d6ee}=_0x2a123e,_0x120813=_0x2a123e['plugins']['get'](f),_0x1dea58=this['_getDefaultListStyle'](),_0x58d497=this['_getDefaultStartIndex']();_0x33d6ee['document']['registerPostFixer'](_0x5d6bfb=>{const _0x19a60b=_0x33d6ee['document']['differ']['getChanges']();let _0x57a701=!0x1;for(const _0x4c6786 of _0x19a60b){if('insert'!==_0x4c6786['type']||'$text'===_0x4c6786['name'])continue;const _0x5ed8cc=_0x33d6ee['createRangeOn'](_0x4c6786['position']['nodeAfter']);for(const _0x2e54bc of _0x5ed8cc['getItems']())_0x2e54bc['is']('element','footnotesDefinitions')&&(!_0x2e54bc['hasAttribute']('footnotesListStart')&&_0x33d6ee['schema']['checkAttribute'](_0x2e54bc,'footnotesListStart')&&(_0x5d6bfb['setAttribute']('footnotesListStart',_0x58d497,_0x2e54bc),_0x57a701=!0x0),!_0x2e54bc['hasAttribute']('footnotesListStyle')&&_0x33d6ee['schema']['checkAttribute'](_0x2e54bc,'footnotesListStyle')&&(_0x5d6bfb['setAttribute']('footnotesListStyle',_0x1dea58,_0x2e54bc),_0x57a701=!0x0));}return _0x57a701&&_0x120813['_updateFootnotesCounters'](_0x5d6bfb),_0x57a701;});}['_defineFormatter'](){const {editor:_0x5ed494}=this;_0x5ed494['plugins']['get'](f)['setFootnoteFormatter'](_0x2d05d5=>this['_formatFootnoteListValue'](_0x2d05d5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2f3f8c,value:_0x12b932,digits:_0x3f04ce}){const _0x5560a8=_0x2f3f8c['getAttribute']('footnotesListStyle'),_0x31143b=_0x2f3f8c['getAttribute']('footnotesListStart'),_0xa9b84b=Math['floor'](_0x12b932)+(_0x31143b??0x1)-0x1;switch(_0x5560a8){case'decimal-leading-zero':return function(_0x5c66d8,_0xa98a61){return String(_0x5c66d8)['padStart'](_0xa98a61,'0');}(_0xa9b84b,Math['max'](0x2,_0x3f04ce));case'lower-alpha':case'lower-latin':return N(_0xa9b84b,!0x1);case'upper-alpha':case'upper-latin':return N(_0xa9b84b,!0x0);case'lower-roman':return X(_0xa9b84b,!0x1);case'upper-roman':return X(_0xa9b84b,!0x0);default:return String(_0xa9b84b);}}}function M(_0x15dbbc,_0x2b88bb){const _0x5c680b=_0x2b88bb['toViewElement'](_0x15dbbc);return Array['from'](_0x5c680b['getChildren']())['find'](_0x18a8e0=>_0x18a8e0['is']('element','ol')&&_0x18a8e0['hasClass']('footnotes-list'));}function N(_0x556359,_0x2939b9){let _0x2611e0='',_0x389b2b=_0x556359;for(;_0x389b2b>0x0;){const _0x2607b6=(_0x389b2b-0x1)%0x1a;_0x2611e0=String['fromCharCode'](0x61+_0x2607b6)+_0x2611e0,_0x389b2b=Math['floor']((_0x389b2b-0x1)/0x1a);}return _0x2939b9?_0x2611e0['toUpperCase']():_0x2611e0;}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(_0x949ee6,_0xba7fbb){let _0x472021='',_0x252cda=_0x949ee6;for(const {value:_0x2a04be,numeral:_0x497394}of V)for(;_0x252cda>=_0x2a04be;)_0x472021+=_0x497394,_0x252cda-=_0x2a04be;return _0xba7fbb?_0x472021:_0x472021['toLowerCase']();}class H extends _0x4cc231{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x2d39a3();['focusCycler'];constructor(_0x379c35,{styleButtonViews:_0x690855,styleGridAriaLabel:_0x4d50d8}){super(_0x379c35),(this['focusCycler']=new _0x29bc02({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x690855,_0x4d50d8),[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 _0x2abc0e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2abc0e['element']);_0xbba864({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x26dc27=_0x3f2867=>_0x3f2867['stopPropagation']();this['keystrokes']['set']('arrowright',_0x26dc27),this['keystrokes']['set']('arrowleft',_0x26dc27),this['keystrokes']['set']('arrowup',_0x26dc27),this['keystrokes']['set']('arrowdown',_0x26dc27);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2168fb,_0x559419){const _0x2f5bea=new _0x4cc231(this['locale']);return _0x2f5bea['children']=_0x2f5bea['createCollection'](),_0x2f5bea['children']['addMany'](_0x2168fb),_0x2f5bea['setTemplate']({'tag':'div','attributes':{'aria-label':_0x559419,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2f5bea['children']}),_0x2f5bea['children']['delegate']('execute')['to'](this),_0x2f5bea['focus']=function(){for(const _0x49f819 of this['children'])if(_0x49f819 instanceof _0x3f0407&&_0x49f819['isOn'])return void _0x49f819['focus']();this['children']['first']['focus']();},_0x2f5bea['focusTracker']=new et(),_0x2f5bea['keystrokes']=new ot(),_0x2f5bea['render'](),_0x2f5bea['keystrokes']['listenTo'](_0x2f5bea['element']),this['children']['add'](_0x2f5bea),_0x2f5bea;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1d3b0d=this['_createStartIndexPropertyView'](),_0x3c5c79=[_0x1d3b0d],_0x19dd00=new tt(this['locale'],_0x3c5c79);return _0x19dd00['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x19dd00['buttonView']['bind']('isEnabled')['toMany'](_0x3c5c79,'isEnabled',(..._0x5b6d4a)=>_0x5b6d4a['some'](_0x16819f=>_0x16819f)),_0x19dd00['buttonView']['on']('change:isEnabled',(_0xa1e40b,_0x2322b3,_0x31cca8)=>{_0x31cca8||(_0x19dd00['isCollapsed']=!0x0);}),this['children']['add'](_0x19dd00),[_0x1d3b0d,_0x19dd00];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5d81a1=new st(this['locale'],it);return _0x5d81a1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5d81a1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5d81a1['fieldView']['on']('input',()=>{const _0x4418d2=_0x5d81a1['fieldView']['element'],_0x17c835=_0x4418d2['valueAsNumber'];Number['isNaN'](_0x17c835)?_0x5d81a1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4418d2['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x17c835}):_0x5d81a1['errorText']=t(_0x17c835<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5d81a1;}}class j extends _0x2d5865{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x473ef1,_0x54f439];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3993f5}=this,{componentFactory:_0x437a04}=_0x3993f5['ui'];_0x3993f5['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x437a04['add']('footnotesStyle',function(_0xf71e92){return _0x505756=>{const {t:t}=_0x505756,_0x222400=_0xf71e92['commands']['get']('footnotesStyle'),_0x2f2f46=_0x359e66(_0x505756),{buttonView:_0x203003}=_0x2f2f46;return _0x2f2f46['class']='ck-footnotes-styles-dropdown',_0x2f2f46['bind']('isEnabled')['to'](_0x222400,'isEnabled'),_0x203003['set']({'label':t('Footnotes\x20style'),'icon':_0x25cc4b,'tooltip':!0x0}),_0x2f2f46['once']('change:isOpen',()=>{const _0x4ca3a0=function({editor:_0x44d9da,dropdownView:_0x1d11ef}){const {t:t}=_0x44d9da['locale'],_0x57c2ee=t('Footnotes\x20definitions\x20styles'),_0x418575=function(_0x4b2b75){const t=_0x4b2b75['locale']['t'],_0x3529a7=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1fade4},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5d680b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x32e701},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x30d0a2},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x47afd3},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5066be}];return _0x3529a7['map'](function(_0x3d2fe9){const _0x73798b=_0x3d2fe9['locale'];return({label:_0x1c2e58,icon:_0x2e9453,tooltip:_0x55b017,style:_0x421357})=>{const _0x5f4cbf=_0x3d2fe9['commands']['get']('footnotesStyle'),_0x583ac2=new _0x3f0407(_0x73798b);return _0x583ac2['set']({'label':_0x1c2e58,'icon':_0x2e9453,'tooltip':_0x55b017}),_0x583ac2['bind']('isOn')['to'](_0x5f4cbf,'value',_0x234b6c=>_0x234b6c===_0x421357),_0x583ac2['bind']('isEnabled')['to'](_0x5f4cbf,'isEnabled'),_0x583ac2['on']('execute',()=>{_0x3d2fe9['execute']('footnotesStyle',{'value':_0x421357}),_0x3d2fe9['editing']['view']['focus']();}),_0x583ac2;};}(_0x4b2b75));}(_0x44d9da),_0x1a75d5=new H(_0x44d9da['locale'],{'styleGridAriaLabel':_0x57c2ee,'styleButtonViews':_0x418575}),_0x4c45e2=_0x44d9da['commands']['get']('footnotesStart');return _0x1a75d5['startIndexFieldView']['bind']('isEnabled')['to'](_0x4c45e2),_0x1a75d5['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4c45e2),_0x1a75d5['on']('footnotesListStart',(_0x4cbd35,_0x290ff0)=>{_0x44d9da['execute']('footnotesStart',{'value':_0x290ff0['startIndex']});}),_0x1a75d5['delegate']('execute')['to'](_0x1d11ef),_0x1a75d5;}({'editor':_0xf71e92,'dropdownView':_0x2f2f46});_0x2f2f46['panelView']['children']['add'](_0x4ca3a0);}),_0x2f2f46;};}(_0x3993f5));}['afterInit'](){const {editor:_0x2231cb}=this,{t:t}=_0x2231cb['locale'],_0x55b2fd=_0x2231cb['plugins']['get'](_0x54f439),{defaultPositions:_0xc4ad9d}=_0x159ede;_0x55b2fd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2231cb['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x7e871b=>{let _0x3a02c4=_0x7e871b['getFirstPosition']()?.['parent'];return _0x3a02c4?.['is']('$text')&&(_0x3a02c4=_0x3a02c4['parent']),_0x3a02c4?.['is']('element')?_0x3a02c4['findAncestor'](J):null;},'positions':[_0xc4ad9d['southArrowNorth'],_0xc4ad9d['southArrowNorthMiddleWest'],_0xc4ad9d['southArrowNorthMiddleEast'],_0xc4ad9d['southArrowNorthWest'],_0xc4ad9d['southArrowNorthEast'],_0xc4ad9d['northArrowSouth'],_0xc4ad9d['northArrowSouthMiddleWest'],_0xc4ad9d['northArrowSouthMiddleEast'],_0xc4ad9d['northArrowSouthWest'],_0xc4ad9d['northArrowSouthEast'],_0xc4ad9d['viewportStickyNorth']]});}}class ft extends _0x2d5865{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4a1577=>0x1!=_0x4a1577}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ebba1=>{const {af:{dictionary:_0x5402d6,getPluralForm:_0x24c6c9}}={'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':_0x11dd89=>0x1!=_0x11dd89}};_0x4ebba1['af']||={'dictionary':{},'getPluralForm':null},_0x4ebba1['af']['dictionary']=Object['assign'](_0x4ebba1['af']['dictionary'],_0x5402d6),_0x4ebba1['af']['getPluralForm']=_0x24c6c9;})(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':_0x34a314=>0x0==_0x34a314?0x0:0x1==_0x34a314?0x1:0x2==_0x34a314?0x2:_0x34a314%0x64>=0x3&&_0x34a314%0x64<=0xa?0x3:_0x34a314%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa12cfd=>{const {ar:{dictionary:_0xa886ed,getPluralForm:_0x36f018}}={'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':_0x135c42=>0x0==_0x135c42?0x0:0x1==_0x135c42?0x1:0x2==_0x135c42?0x2:_0x135c42%0x64>=0x3&&_0x135c42%0x64<=0xa?0x3:_0x135c42%0x64>=0xb?0x4:0x5}};_0xa12cfd['ar']||={'dictionary':{},'getPluralForm':null},_0xa12cfd['ar']['dictionary']=Object['assign'](_0xa12cfd['ar']['dictionary'],_0xa886ed),_0xa12cfd['ar']['getPluralForm']=_0x36f018;})(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':_0x306382=>0x1!=_0x306382}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2670fb=>{const {ast:{dictionary:_0x30e875,getPluralForm:_0x58c7b3}}={'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':_0x443974=>0x1!=_0x443974}};_0x2670fb['ast']||={'dictionary':{},'getPluralForm':null},_0x2670fb['ast']['dictionary']=Object['assign'](_0x2670fb['ast']['dictionary'],_0x30e875),_0x2670fb['ast']['getPluralForm']=_0x58c7b3;})(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':_0x5e336d=>0x1!=_0x5e336d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x129795=>{const {az:{dictionary:_0x1584b1,getPluralForm:_0x560c4a}}={'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':_0x11c113=>0x1!=_0x11c113}};_0x129795['az']||={'dictionary':{},'getPluralForm':null},_0x129795['az']['dictionary']=Object['assign'](_0x129795['az']['dictionary'],_0x1584b1),_0x129795['az']['getPluralForm']=_0x560c4a;})(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':_0x47f1a0=>_0x47f1a0%0xa==0x1&&_0x47f1a0%0x64!=0xb?0x0:_0x47f1a0%0xa>=0x2&&_0x47f1a0%0xa<=0x4&&(_0x47f1a0%0x64<0xa||_0x47f1a0%0x64>=0x14)?0x1:0x2}};
|