@ckeditor/ckeditor5-footnotes 0.0.0-internal-20251210.0 → 0.0.0-internal-20251218.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 _0x34a414,Command as _0x2d0556}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x58b648,isWidget as _0x553c88,toWidgetEditable as _0x260f27,WidgetToolbarRepository as _0x38c640}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x40c733,logWarning as _0x258345,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5bdb90,ClickObserver as _0x518a2e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3a5d31}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2a1262,ButtonView as _0xb5e22a,View as _0x35d36b,ViewCollection as _0x12fdbb,FocusCycler as _0x5d7fea,addKeyboardHandlingForGrid as _0x2d44c1,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x52bb47,BalloonPanelView as _0x528eb2,createDropdown as _0x17e7b7}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5ad32e,IconListStyleDecimal as _0x5448b2,IconListStyleDecimalLeadingZero as _0x44dd55,IconListStyleLowerRoman as _0x2437e8,IconListStyleUpperRoman as _0x2d8106,IconListStyleLowerLatin as _0x3f867d,IconListStyleUpperLatin as _0x2e7926}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x11c3ea,_0x23014f){this['_model']=_0x11c3ea,this['_elementName']=_0x23014f['elementName'],this['_getElementKey']=_0x23014f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5f06b7){const _0x54f93c=new Set(),_0x4d09a0=new Map();for(const _0x3347ed of _0x5f06b7){if('insert'===_0x3347ed['type']&&'$text'!==_0x3347ed['name']&&_0x3347ed['position']['nodeAfter']){const _0x37cf53=this['_model']['createRangeOn'](_0x3347ed['position']['nodeAfter']);for(const _0xbface of _0x37cf53['getItems']()){if(!_0xbface['is']('element',this['_elementName']))continue;const _0xdb3d13=this['_getElementKey'](_0xbface);_0x4d09a0['has'](_0xdb3d13)||_0x4d09a0['set'](_0xdb3d13,[]),_0x4d09a0['get'](_0xdb3d13)['push'](_0xbface);}}if('remove'===_0x3347ed['type']&&_0x3347ed['name']===this['_elementName']){const _0x40a4f3=this['_getElementKey']({'getAttribute':_0x5cb8cf=>_0x3347ed['attributes']['get'](_0x5cb8cf)});_0x54f93c['add'](_0x40a4f3);}}for(const [_0x52181b,_0x48b1b7]of this['_trackedElements'])'$graveyard'===_0x48b1b7['root']['rootName']&&_0x54f93c['add'](_0x52181b);for(const _0x4e231a of _0x54f93c)this['_trackedElements']['delete'](_0x4e231a);for(const [_0x3b08ec,_0x2e2784]of _0x4d09a0)this['_trackedElements']['set'](_0x3b08ec,_0x2e2784[_0x2e2784['length']-0x1]);const _0x210aa2=new Set();for(const [_0x26cc24,_0x284a9a]of _0x4d09a0)_0x54f93c['has'](_0x26cc24)&&(_0x210aa2['add'](_0x284a9a[0x0]),_0x284a9a['length']>0x1?_0x4d09a0['set'](_0x26cc24,_0x284a9a['slice'](0x1)):_0x4d09a0['delete'](_0x26cc24),_0x54f93c['delete'](_0x26cc24));return{'removed':Array['from'](_0x54f93c),'inserted':Array['from'](_0x4d09a0['values']())['flat'](),'moved':Array['from'](_0x210aa2)};}}class f extends _0x34a414{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xdefa7d){super(_0xdefa7d),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x30d09d=>_0x30d09d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x32e144=>_0x32e144['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4218b6}=this,{model:_0x432bee,data:_0x204e06}=_0x4218b6;_0x432bee['document']['registerPostFixer'](_0x430a13=>{const _0x467b95=_0x432bee['document']['differ']['getChanges']();let _0x2cc193=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x430a13,_0x467b95)&&(_0x2cc193=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x430a13,_0x467b95)&&(_0x2cc193=!0x0),this['_handleFootnoteReferencesChanges'](_0x430a13,_0x467b95)&&(_0x2cc193=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x430a13)&&(_0x2cc193=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x430a13)&&(_0x2cc193=!0x0),this['_sortFootnoteDefinitions'](_0x430a13)&&(_0x2cc193=!0x0),_0x2cc193;}),this['listenTo'](_0x432bee['document'],'change:data',()=>{_0x432bee['enqueueChange']({'isUndoable':!0x1},_0x520da8=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x520da8);});},{'priority':'low'}),this['listenTo'](_0x204e06,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4907c5){return this['_footnotes']['find'](_0x40bf19=>_0x40bf19['id']===_0x4907c5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4b6ac3){this['_footnoteFormatter']=_0x4b6ac3;}['_updateFootnotesCounters'](_0x23e1c6,_0x1cce42=0x0){let _0xd1da89=!0x1;for(let _0x23337e=_0x1cce42;_0x23337e<this['_footnotes']['length'];_0x23337e++)this['_updateFootnoteRefCounter'](_0x23e1c6,_0x23337e)&&(_0xd1da89=!0x0);return _0xd1da89;}['_insertEmptyFootnotesDefinitionsContainer'](_0x58a87e,_0x576f65){const _0x20c3ab=_0x58a87e['createElement']('footnotesDefinitions',{});return _0x58a87e['append'](_0x20c3ab,_0x576f65),this['_footnotesDefinitions']=_0x20c3ab,_0x20c3ab;}['_ensureFootnotesDefinitionsContainerExists'](_0x5417ec){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x159733=this['_footnotes'][0x0]['reference']['root'],_0x51c9b2=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5417ec,_0x159733);for(const _0x364869 of this['_footnotes'])_0x364869['definition']['parent']||_0x5417ec['insert'](_0x364869['definition'],_0x51c9b2,'end');this['_updateFootnotesCounters'](_0x5417ec);}['_handleFootnotesDefinitionsObjectChanges'](_0x47f469,_0x245c65){let _0x1ed364=!0x1;const {inserted:_0x5bace0,removed:_0x509d43,moved:_0x2eb61d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x245c65);if(_0x2eb61d['length']&&(this['_footnotesDefinitions']=_0x2eb61d[0x0]),_0x5bace0['length']){if(_0x5bace0['length']>0x1||this['_footnotesDefinitions']&&_0x5bace0['some'](_0x2755cd=>_0x2755cd!==this['_footnotesDefinitions'])){const _0x51049c=_0x47f469['createElement']('footnotesDefinitions',{}),_0x44f782=[];this['_footnotesDefinitions']&&_0x44f782['push'](this['_footnotesDefinitions']),_0x44f782['push'](..._0x5bace0),_0x47f469['insert'](_0x51049c,_0x44f782[0x0],'before');for(const _0x1f89c8 of _0x44f782)_0x47f469['move'](_0x47f469['createRangeIn'](_0x1f89c8),_0x47f469['createPositionAt'](_0x51049c,'end')),_0x47f469['remove'](_0x1f89c8);this['_footnotesDefinitions']=_0x51049c,this['_updateFootnotesCounters'](_0x47f469),_0x1ed364=!0x0;}else this['_footnotesDefinitions']=_0x5bace0[0x0];}if(_0x509d43['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x51b998 of this['_footnotes'])_0x47f469['remove'](_0x51b998['reference']),_0x1ed364=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1ed364;}['_handleFootnoteDefinitionsChanges'](_0xfb9d8e,_0x13bf82){let _0x22aafa=!0x1;const _0x1b97ae=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xc68be5,moved:_0x30f8ff}=this['_footnoteDefsTracker']['getChanges'](_0x13bf82);for(const _0x422458 of[..._0x30f8ff,..._0xc68be5]){const _0x2c8ef6=_0x422458['getAttribute']('footnoteId'),_0xff10bc=this['getFootnote'](_0x2c8ef6);_0xff10bc&&(_0xff10bc['definition']=_0x422458),_(_0xfb9d8e,_0x1b97ae,_0x422458)&&(_0x22aafa=!0x0);}return _0x22aafa;}['_handleFootnoteReferencesChanges'](_0x46fe86,_0xefc92e){let _0x49937c=!0x1;const {removed:_0x5ecee5,inserted:_0x3f2ce2,moved:_0x1a0492}=this['_footnoteRefsTracker']['getChanges'](_0xefc92e);for(const _0x4286b7 of _0x5ecee5)this['_handleRemoveFootnoteReferenceById'](_0x46fe86,_0x4286b7)&&(_0x49937c=!0x0);for(const _0x52c8da of _0x3f2ce2)this['_handleInsertedFootnoteReference'](_0x46fe86,_0x52c8da)&&(_0x49937c=!0x0);for(const _0x2c6eae of _0x1a0492)this['_handleMovedFootnoteReference'](_0x46fe86,_0x2c6eae)&&(_0x49937c=!0x0);return _0x49937c;}['_handleFootnotesDefinitionsObjectSync'](_0x3a8545){if(!this['_footnotesDefinitions'])return!0x1;let _0x87e1db=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x875a66=[];for(const _0x3f7946 of this['_footnotesDefinitions']['getChildren']()){const _0x37c446=_0x3f7946['getAttribute']('footnoteId');this['getFootnote'](_0x37c446)||(_0x875a66['unshift'](_0x3f7946),_0x87e1db=!0x0);}for(const _0xf93ddb of _0x875a66)_0x3a8545['remove'](_0xf93ddb);}const _0x44d130=new Set(),_0xc069d9=[];for(const _0x311316 of this['_footnotesDefinitions']['getChildren']()){const _0xb3755d=_0x311316['getAttribute']('footnoteId');_0x44d130['has'](_0xb3755d)?(_0xc069d9['unshift'](_0x311316),_0x87e1db=!0x0):_0x44d130['add'](_0xb3755d);}for(const _0x386fc0 of _0xc069d9)_0x3a8545['remove'](_0x386fc0);return this['_footnotesDefinitions']['childCount']||(_0x3a8545['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x87e1db=!0x0),_0x87e1db;}['_handleInsertedFootnoteReference'](_0x3b4ab5,_0x32b9cf){if(this['_footnotes']['find'](_0x398806=>_0x398806['reference']===_0x32b9cf))return!0x1;let _0x41c1bf=!0x1;const _0x5ea4b4=_0x32b9cf['getAttribute']('footnoteId'),_0x2bdecd=this['_footnotes']['findIndex'](_0x2ff6ae=>_0x2ff6ae['id']===_0x5ea4b4);-0x1!==_0x2bdecd&&(_0x3b4ab5['remove'](this['_footnotes'][_0x2bdecd]['reference']),this['_footnotes']['splice'](_0x2bdecd,0x1),_0x41c1bf=!0x0);let _0x83bf8b=this['_footnotesDefinitions']?function(_0xc5d8ad,_0x29ae4){for(const _0x36851e of _0xc5d8ad['getChildren']())if(_0x36851e['getAttribute']('footnoteId')===_0x29ae4)return _0x36851e;return null;}(this['_footnotesDefinitions'],_0x5ea4b4):null;_0x83bf8b||(_0x83bf8b=_0x3b4ab5['createElement']('footnoteDefinition',{'footnoteId':_0x5ea4b4}),this['_footnotesDefinitions']&&(_0x3b4ab5['insert'](_0x83bf8b,this['_footnotesDefinitions'],'end'),_0x41c1bf=!0x0));const _0x37e7d7={'id':_0x5ea4b4,'reference':_0x32b9cf,'definition':_0x83bf8b},_0x38fa02=I(this['editor']['model'],this['_footnotes'],_0x32b9cf);this['_footnotes']['splice'](_0x38fa02,0x0,_0x37e7d7);let _0x5dfe0b=_0x38fa02;return-0x1!==_0x2bdecd&&(_0x5dfe0b=Math['min'](_0x38fa02,_0x2bdecd)),this['_updateFootnotesCounters'](_0x3b4ab5,_0x5dfe0b)&&(_0x41c1bf=!0x0),_0x41c1bf;}['_handleRemoveFootnoteReferenceById'](_0x421ade,_0x21b8f7){const _0x224773=this['_footnotes']['findIndex'](_0x132083=>_0x132083['id']===_0x21b8f7);if(-0x1===_0x224773)return!0x1;let _0x26966c=!0x1;const _0x39dc05=this['_footnotes'][_0x224773];return'$graveyard'!==_0x39dc05['definition']['root']['rootName']&&(_0x421ade['remove'](_0x39dc05['definition']),_0x26966c=!0x0),this['_footnotes']['splice'](_0x224773,0x1),this['_updateFootnotesCounters'](_0x421ade,_0x224773)&&(_0x26966c=!0x0),_0x26966c;}['_handleMovedFootnoteReference'](_0x5a3204,_0x44d6e9){const _0x6b07d4=_0x44d6e9['getAttribute']('footnoteId'),_0x4b147f=this['_footnotes']['findIndex'](_0x13d9a5=>_0x13d9a5['id']===_0x6b07d4),_0x1175ec=this['_footnotes'][_0x4b147f];let _0x5a8210=!0x1;_0x1175ec['reference']=_0x44d6e9,this['_footnotes']['splice'](_0x4b147f,0x1);const _0x526b3b=I(this['editor']['model'],this['_footnotes'],_0x44d6e9);return this['_footnotes']['splice'](_0x526b3b,0x0,_0x1175ec),this['_updateFootnotesCounters'](_0x5a3204,Math['min'](_0x4b147f,_0x526b3b))&&(_0x5a8210=!0x0),_0x5a8210;}['_updateFootnoteRefCounter'](_0x3d36fe,_0x4422e6){if(!this['_footnotesDefinitions'])return!0x1;const _0x39d6c5=this['_footnotes'][_0x4422e6];let _0x46b0b0;return _0x46b0b0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x39d6c5,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4422e6+0x1}):String(_0x4422e6+0x1),_0x39d6c5['reference']['getAttribute']('footnoteCounter')!=_0x46b0b0&&(_0x3d36fe['setAttribute']('footnoteCounter',_0x46b0b0,_0x39d6c5['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x33d1fb){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2450ff,_0x63bdd8){if(_0x2450ff['length']!==_0x63bdd8['length'])return!0x1;for(let _0x4a036d=0x0;_0x4a036d<_0x2450ff['length'];_0x4a036d++)if(_0x2450ff[_0x4a036d]!==_0x63bdd8[_0x4a036d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5b1ee2=>_0x5b1ee2['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x13011=>_0x13011['getAttribute']('footnoteId'))))return!0x1;let _0x403ff8=!0x1;for(let _0x5134c0=0x0;_0x5134c0<this['_footnotes']['length'];_0x5134c0++){const _0x18b652=this['_footnotes'][_0x5134c0],_0xe0b6ad=_0x33d1fb['createPositionBefore'](_0x18b652['definition']),_0x465b5a=_0x33d1fb['createPositionAt'](this['_footnotesDefinitions'],_0x5134c0);_0xe0b6ad['isEqual'](_0x465b5a)||(_0x33d1fb['move'](_0x33d1fb['createRangeOn'](_0x18b652['definition']),_0x465b5a),_0x403ff8=!0x0);}return _0x403ff8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3cc5b7){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2c7982}=this['editor'];let _0x489e99=!0x1;for(let _0x2cfb13=0x0;_0x2cfb13<this['_footnotes']['length']-0x1;_0x2cfb13++){const _0x2a7e14=this['_footnotes'][_0x2cfb13],_0xea277e=this['_footnotes'][_0x2cfb13+0x1],_0x299106=_0x2c7982['createPositionBefore'](_0x2a7e14['reference']),_0x2a2dbb=_0x2c7982['createPositionBefore'](_0xea277e['reference']);'after'===_0x299106['compareWith'](_0x2a2dbb)&&(this['_handleMovedFootnoteReference'](_0x3cc5b7,_0x2a7e14['reference']),_0x2cfb13=-0x1,_0x489e99=!0x0);}return _0x489e99;}}function _(_0x4cc237,_0x5f3948,_0x5198d2){if(_0x5198d2['childCount'])return!0x1;const _0x17683e=_0x5f3948?'paragraph':'footnoteInlineContent';return _0x4cc237['insert'](_0x4cc237['createElement'](_0x17683e),_0x5198d2),!0x0;}function I(_0x2f7b05,_0x20bd43,_0x1935aa){if(0x0===_0x20bd43['length'])return 0x0;const _0x5ccd8c=_0x2f7b05['createPositionBefore'](_0x1935aa);for(let _0x4fa43e=0x0;_0x4fa43e<_0x20bd43['length'];_0x4fa43e++){const _0x34eb63=_0x20bd43[_0x4fa43e],_0x5e0df8=_0x2f7b05['createPositionBefore'](_0x34eb63['reference']);if('before'===_0x5ccd8c['compareWith'](_0x5e0df8))return _0x4fa43e;}const _0xc4a6cc=_0x1935aa['root'];let _0x4a249b=-0x1;for(let _0x3d4aa1=_0x20bd43['length']-0x1;_0x3d4aa1>=0x0;_0x3d4aa1--)if(_0x20bd43[_0x3d4aa1]['reference']['root']===_0xc4a6cc){_0x4a249b=_0x3d4aa1;break;}if(-0x1!==_0x4a249b)return _0x4a249b+0x1;const _0x16e3e9=_0x2f7b05['document']['getRootNames'](),_0x451e73=_0x16e3e9['indexOf'](_0xc4a6cc['rootName']),_0x4b862d=_0x16e3e9[_0x451e73+0x1];if(_0x4b862d){for(let _0xf78758=0x0;_0xf78758<_0x20bd43['length'];_0xf78758++)if(_0x20bd43[_0xf78758]['reference']['root']['rootName']===_0x4b862d)return _0xf78758;}return _0x20bd43['length'];}class m extends _0x2d0556{['refresh'](){const _0x323aa5=this['editor']['model']['document']['selection'],_0x57bb9e=this['_getPositionToInsertFootnote'](_0x323aa5);this['isEnabled']=!!_0x57bb9e;}['execute'](_0x26e1e8){const {editor:_0x326058}=this,{model:_0x486573}=_0x326058,{selection:_0x12d26d}=_0x486573['document'],_0x34ae9b=this['_getPositionToInsertFootnote'](_0x12d26d);if(!_0x34ae9b)return;const _0x283bce=_0x326058['plugins']['get']('FootnotesEditing'),_0x2dcfff=_0x26e1e8?.['footnoteId']??_0x40c733();!function(_0x263a8c){return'string'==typeof _0x263a8c&&_0x263a8c['length']>0x0&&!/\s/['test'](_0x263a8c)&&!/^\d/['test'](_0x263a8c);}(_0x2dcfff)?_0x258345('insert-footnote-command-executed-with-invalid-id'):(_0x486573['change'](_0x4b094c=>{const _0x212a87=_0x4b094c['createElement']('footnoteRef',{'footnoteId':_0x2dcfff});_0x486573['insertObject'](_0x212a87,_0x34ae9b,null);}),_0x283bce['_moveSelectionToFootnoteDefinition'](_0x2dcfff));}['_getPositionToInsertFootnote'](_0x4f89ff){const {model:_0x152e07}=this['editor'],{schema:_0x457fb2}=_0x152e07,_0x50ffb7=_0x4f89ff['getFirstRange']();for(const _0x47842c of _0x50ffb7['getItems']())if(_0x457fb2['isBlock'](_0x47842c)||_0x457fb2['isObject'](_0x47842c))return null;const _0x4e6444=_0x50ffb7['end'];return _0x457fb2['checkChild'](_0x4e6444,'footnoteRef')?_0x4e6444:null;}}class r extends _0x34a414{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39f694}=this;_0x39f694['config']['define']('footnotes.multiBlock',!0x0),_0x39f694['commands']['add']('insertFootnote',new m(_0x39f694)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x95f39){const _0x46a025=_0x1986e8([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]),_0x42320b=0x47a28506,_0x39f198=0x47a5fe86^_0x42320b,_0x3d2ec6=window[_0x1986e8([0x44,0x61,0x74,0x65])][_0x1986e8([0x6e,0x6f,0x77])](),_0x3cd00d=_0x95f39[_0x1986e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34fc30=new window[(_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x198222=>{_0x3cd00d[_0x1986e8([0x6f,0x6e,0x63,0x65])](_0x1986e8([0x72,0x65,0x61,0x64,0x79]),_0x198222);}),_0x33d03a={[_0x1986e8([0x6b,0x74,0x79])]:_0x1986e8([0x45,0x43]),[_0x1986e8([0x75,0x73,0x65])]:_0x1986e8([0x73,0x69,0x67]),[_0x1986e8([0x63,0x72,0x76])]:_0x1986e8([0x50,0x2d,0x32,0x35,0x36]),[_0x1986e8([0x78])]:_0x1986e8([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]),[_0x1986e8([0x79])]:_0x1986e8([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]),[_0x1986e8([0x61,0x6c,0x67])]:_0x1986e8([0x45,0x53,0x32,0x35,0x36])},_0x3b038e=_0x3cd00d[_0x1986e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1986e8([0x67,0x65,0x74])](_0x1986e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15be12(){let _0x2d920b,_0x556767=null,_0x594ad6=null;try{if(_0x3b038e==_0x1986e8([0x47,0x50,0x4c]))return _0x1986e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d920b=_0x4f0f79(),!_0x2d920b)return _0x1986e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d920b[_0x1986e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x594ad6=_0x4093e1(_0x2d920b[_0x1986e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d920b[_0x1986e8([0x6a,0x74,0x69])])),await _0x120c25()?_0x506c43()?_0x4f6894()?_0x1986e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x74ab4a()?(_0x2d920b[_0x1986e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1986e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x556767=_0x282191(_0x1986e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d920b[_0x1986e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1986e8([0x74,0x72,0x69,0x61,0x6c])&&(_0x556767=_0x282191(_0x1986e8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3732bb()):_0x1986e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1986e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1986e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1986e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f6894(){const _0xb7b8e4=[_0x1986e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1986e8([0x74,0x72,0x69,0x61,0x6c])][_0x1986e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d920b[_0x1986e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d2ec6/0x3e8:0xe10*_0x39f198;return _0x2d920b[_0x1986e8([0x65,0x78,0x70])]<_0xb7b8e4;}function _0x506c43(){const _0x1058f1=_0x2d920b[_0x1986e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1058f1&&(!!_0x1058f1[_0x1986e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1986e8([0x2a]))||!!_0x1058f1[_0x1986e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1986e8([0x46,0x4f,0x4f])));}function _0x74ab4a(){const _0x3f3ed4=_0x2d920b[_0x1986e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f3ed4||0x0==_0x3f3ed4[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cb4a3}=new URL(window[_0x1986e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f3ed4[_0x1986e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cb4a3))return!0x0;const _0x2df6eb=_0x3cb4a3[_0x1986e8([0x73,0x70,0x6c,0x69,0x74])](_0x1986e8([0x2e]));return _0x3f3ed4[_0x1986e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x195adb=>_0x195adb[_0x1986e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1986e8([0x2a])))[_0x1986e8([0x6d,0x61,0x70])](_0x90b667=>_0x90b667[_0x1986e8([0x73,0x70,0x6c,0x69,0x74])](_0x1986e8([0x2e])))[_0x1986e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b5bde=>_0x3b5bde[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2df6eb[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1986e8([0x6d,0x61,0x70])](_0x20e8d2=>Array(_0x2df6eb[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20e8d2[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1986e8([0x66,0x69,0x6c,0x6c])](_0x20e8d2[0x0]===_0x1986e8([0x2a])?_0x1986e8([0x2a]):'')[_0x1986e8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20e8d2))[_0x1986e8([0x73,0x6f,0x6d,0x65])](_0x364b14=>_0x2df6eb[_0x1986e8([0x65,0x76,0x65,0x72,0x79])]((_0x516091,_0x4a1363)=>_0x364b14[_0x4a1363]===_0x516091||_0x364b14[_0x4a1363]===_0x1986e8([0x2a])));}function _0x3732bb(){return _0x556767&&_0x594ad6?new window[(_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c5047,_0x29704b)=>{_0x556767[_0x1986e8([0x74,0x68,0x65,0x6e])](_0x2c5047,_0x29704b),_0x594ad6[_0x1986e8([0x74,0x68,0x65,0x6e])](_0x1d169e=>{_0x1d169e!=_0x1986e8([0x56,0x61,0x6c,0x69,0x64])&&_0x2c5047(_0x1d169e);},_0x29704b);}):_0x556767||_0x594ad6||_0x1986e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4093e1(_0x9ab375,_0x555ac1){return new window[(_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c3c7=>{if(_0x53c8db())return _0x10c3c7(_0x1986e8([0x56,0x61,0x6c,0x69,0x64]));_0x2327d7(),_0x3cd00d[_0x1986e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1986e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39426f=!0x1;const _0x335ea1=_0x40c733();function _0x2f7923(_0x22b8c2){return!!_0x22b8c2&&(typeof _0x22b8c2===_0x1986e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22b8c2===_0x1986e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22b8c2[_0x1986e8([0x74,0x68,0x65,0x6e])]===_0x1986e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22b8c2[_0x1986e8([0x63,0x61,0x74,0x63,0x68])]===_0x1986e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20d8e2(_0x421d82){_0x14ba73(_0x421d82)[_0x1986e8([0x74,0x68,0x65,0x6e])](_0x5133b0=>{if(!_0x5133b0||_0x5133b0[_0x1986e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1986e8([0x6f,0x6b]))return _0x1986e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2453b2(_0x21e421(_0x335ea1+_0x555ac1))!=_0x5133b0[_0x1986e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1986e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1986e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1986e8([0x74,0x68,0x65,0x6e])](_0x117aec=>(_0x2b9fd2(),_0x117aec),()=>{const _0x967dcc=_0x4c99d8();return null==_0x967dcc?(_0x2b9fd2(),_0x1986e8([0x56,0x61,0x6c,0x69,0x64])):_0x1986e8(_0x3d2ec6-_0x967dcc>(0x63ae0106^_0x42320b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1986e8([0x74,0x68,0x65,0x6e])](_0x10c3c7)[_0x1986e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10c3c7(_0x1986e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10df5b=0x47946b86^_0x42320b;function _0x2b9fd2(){const _0x52ce99=_0x1986e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x2453b2(_0x21e421(_0x9ab375)),_0x1f1e6d=_0x1a4af8(_0x2453b2(window[_0x1986e8([0x4d,0x61,0x74,0x68])][_0x1986e8([0x63,0x65,0x69,0x6c])](_0x3d2ec6/_0x10df5b)));window[_0x1986e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1986e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52ce99,_0x1f1e6d);}function _0x4c99d8(){const _0x459dbc=_0x1986e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x2453b2(_0x21e421(_0x9ab375)),_0x2729af=window[_0x1986e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1986e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x459dbc);return _0x2729af?window[_0x1986e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a4af8(_0x2729af),0x10)*_0x10df5b:null;}function _0x14ba73(_0xc93a98){return new window[(_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10976c,_0x4df214)=>{_0xc93a98[_0x1986e8([0x74,0x68,0x65,0x6e])](_0x10976c,_0x4df214),window[_0x1986e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4df214,0x47a351c6^_0x42320b);});}}_0x3cd00d[_0x1986e8([0x6f,0x6e])](_0x1986e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ec9d4,_0x29f4ae)=>{if(_0x29f4ae[0x0]!=_0x9ab375)return _0x10c3c7(_0x1986e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29f4ae[0x1]={..._0x29f4ae[0x1],[_0x1986e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x335ea1};},{[_0x1986e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1986e8([0x68,0x69,0x67,0x68])}),_0x3cd00d[_0x1986e8([0x6f,0x6e])](_0x1986e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x124e70=>{_0x2f7923(_0x124e70[_0x1986e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39426f=!0x0,_0x20d8e2(_0x124e70[_0x1986e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1986e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1986e8([0x6c,0x6f,0x77])}),_0x34fc30[_0x1986e8([0x74,0x68,0x65,0x6e])](()=>{_0x39426f||_0x10c3c7(_0x1986e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x53c8db(){return _0x3cd00d[_0x1986e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1986e8([0x76,0x69,0x65,0x77])][_0x1986e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1986e8([0x61,0x75,0x74,0x6f]);}function _0x2327d7(){_0x3cd00d[_0x1986e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1986e8([0x76,0x69,0x65,0x77])][_0x1986e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1986e8([0x61,0x75,0x74,0x6f]);}}function _0x282191(_0x18a76b){const _0x4d6258=[new window[(_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eabc7=>setTimeout(_0x3eabc7,0x47abbbca^_0x42320b)),_0x34fc30[_0x1986e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x596ece=>{let _0x2abcf5=0x0;_0x3cd00d[_0x1986e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1986e8([0x6f,0x6e])](_0x1986e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2528b2,_0x374e93)=>{_0x374e93[0x0][_0x1986e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2abcf5++,_0x2abcf5==(0x47a284fe^_0x42320b)&&(_0x596ece(),_0x2528b2[_0x1986e8([0x6f,0x66,0x66])]());});}))];return window[_0x1986e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1986e8([0x72,0x61,0x63,0x65])](_0x4d6258)[_0x1986e8([0x74,0x68,0x65,0x6e])](()=>_0x18a76b);}async function _0x58f895(){await _0x34fc30,_0x3cd00d[_0x1986e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1986e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x172bf5,_0x3cd00d[_0x1986e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1986e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x172bf5,_0x3cd00d[_0x1986e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1986e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x12810a(_0x36dc26){const _0x1d9580=_0x20a248();_0x3cd00d[_0x1d9580]=_0x1986e8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x36dc26,_0x36dc26!=_0x1986e8([0x56,0x61,0x6c,0x69,0x64])&&_0x58f895();}function _0x20a248(){const _0xf6baa2=window[_0x1986e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1986e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1986e8([0x6e,0x6f,0x77])]())[_0x1986e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1986e8([0x2e]),'');let _0x509186=_0x1986e8([0x75]);for(let _0x4f7227=0x0;_0x4f7227<_0xf6baa2[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f7227+=0x2){let _0x25944b=window[_0x1986e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf6baa2[_0x1986e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f7227,_0x4f7227+0x2));_0x25944b>=_0x46a025[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25944b-=_0x46a025[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x509186+=_0x46a025[_0x25944b];}return _0x509186;}function _0x4f0f79(){const _0xd85d90=_0x3b038e[_0x1986e8([0x73,0x70,0x6c,0x69,0x74])](_0x1986e8([0x2e]));if(0x3!=_0xd85d90[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x585f83(_0xd85d90[0x1]);function _0x585f83(_0x5c6306){const _0x3c9333=_0x5f0750(_0x5c6306);return _0x3c9333&&_0x54bc8()?_0x3c9333:null;function _0x54bc8(){const _0x5f1e68=_0x3c9333[_0x1986e8([0x6a,0x74,0x69])],_0x451828=window[_0x1986e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f1e68[_0x1986e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f1e68[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x576651={..._0x3c9333,[_0x1986e8([0x6a,0x74,0x69])]:_0x5f1e68[_0x1986e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f1e68[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x576651[_0x1986e8([0x76,0x63])],_0x21e421(_0x576651)==_0x451828;}}}async function _0x120c25(){let _0x5c8b9d=!0x0;try{const _0x1e2fb0=_0x3b038e[_0x1986e8([0x73,0x70,0x6c,0x69,0x74])](_0x1986e8([0x2e])),[_0x183029,_0x41c337,_0x376a9a]=_0x1e2fb0;return _0x2bc216(_0x183029),await _0x5106a8(_0x183029,_0x41c337,_0x376a9a),_0x5c8b9d;}catch{return!0x1;}function _0x2bc216(_0x473720){const _0xbdfe25=_0x5f0750(_0x473720);_0xbdfe25&&_0xbdfe25[_0x1986e8([0x61,0x6c,0x67])]==_0x1986e8([0x45,0x53,0x32,0x35,0x36])||(_0x5c8b9d=!0x1);}async function _0x5106a8(_0x3a76d7,_0x26f26e,_0x1367dd){const _0x5b6417=window[_0x1986e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1986e8([0x66,0x72,0x6f,0x6d])](_0x33b8be(_0x1367dd),_0x2da237=>_0x2da237[_0x1986e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1333cb=new window[(_0x1986e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1986e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a76d7+_0x1986e8([0x2e])+_0x26f26e),_0x267afc=window[_0x1986e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1986e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x267afc)return;const _0x2e384b=await _0x267afc[_0x1986e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1986e8([0x6a,0x77,0x6b]),_0x33d03a,{[_0x1986e8([0x6e,0x61,0x6d,0x65])]:_0x1986e8([0x45,0x43,0x44,0x53,0x41]),[_0x1986e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1986e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1986e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x267afc[_0x1986e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1986e8([0x6e,0x61,0x6d,0x65])]:_0x1986e8([0x45,0x43,0x44,0x53,0x41]),[_0x1986e8([0x68,0x61,0x73,0x68])]:{[_0x1986e8([0x6e,0x61,0x6d,0x65])]:_0x1986e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e384b,_0x5b6417,_0x1333cb)||(_0x5c8b9d=!0x1);}}function _0x5f0750(_0x11dcf3){return _0x11dcf3[_0x1986e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1986e8([0x65,0x79]))?JSON[_0x1986e8([0x70,0x61,0x72,0x73,0x65])](_0x33b8be(_0x11dcf3)):null;}function _0x33b8be(_0x83181f){return window[_0x1986e8([0x61,0x74,0x6f,0x62])](_0x83181f[_0x1986e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1986e8([0x2b]))[_0x1986e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1986e8([0x2f])));}function _0x21e421(_0x2eded0){let _0x249378=0x1505;function _0x15dbc2(_0x4fdc14){for(let _0x238109=0x0;_0x238109<_0x4fdc14[_0x1986e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x238109++){const _0x5e1ec3=_0x4fdc14[_0x1986e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x238109);_0x249378=(_0x249378<<0x5)+_0x249378+_0x5e1ec3,_0x249378&=_0x249378;}}function _0x1970af(_0x275986){Array[_0x1986e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x275986)?_0x275986[_0x1986e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1970af):_0x275986&&typeof _0x275986==_0x1986e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1986e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x275986)[_0x1986e8([0x73,0x6f,0x72,0x74])]()[_0x1986e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21b357,_0x1accbd])=>{_0x15dbc2(_0x21b357),_0x1970af(_0x1accbd);}):_0x15dbc2(window[_0x1986e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x275986));}return _0x1970af(_0x2eded0),_0x249378>>>0x0;}function _0x2453b2(_0x21fb29){return _0x21fb29[_0x1986e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1986e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1986e8([0x30]));}function _0x1a4af8(_0x40c653){return _0x40c653[_0x1986e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1986e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1986e8([0x6a,0x6f,0x69,0x6e])]('');}function _0x172bf5(){}function _0x1986e8(_0x2d7958){return _0x2d7958['map'](_0x48cec3=>String['fromCharCode'](_0x48cec3))['join']('');}_0x12810a(await _0x15be12());}(this);}['_moveSelectionToFootnoteDefinition'](_0x14c99c){const {plugins:_0x318ec5,editing:_0x50e3ef,model:_0x559c33}=this['editor'],_0x1f5192=_0x318ec5['get'](f)['getFootnote'](_0x14c99c);return!!_0x1f5192&&(_0x559c33['change'](_0x20310e=>{_0x20310e['setSelection'](_0x20310e['createPositionAt'](_0x1f5192['definition'],'end'));}),_0x50e3ef['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x20fe3e){const {plugins:_0x39c095,editing:_0x1ffbda,model:_0x33adff}=this['editor'],_0x1e8816=_0x39c095['get'](f)['getFootnote'](_0x20fe3e);return!!_0x1e8816&&(_0x33adff['change'](_0x19b044=>{_0x19b044['setSelection'](_0x1e8816['reference'],'on');}),_0x1ffbda['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4dc4e7}=this['editor']['model'],_0x16b036=this['editor']['config']['get']('footnotes.multiBlock');_0x4dc4e7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4dc4e7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4dc4e7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x16b036?_0x4dc4e7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4dc4e7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4dc4e7['addChildCheck'](_0xff7667=>{for(const _0x5846ba of _0xff7667)if('footnoteDefinition'===_0x5846ba['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x514351}=this,{conversion:_0x52fed0,editing:_0x308db0}=_0x514351,{t:t}=_0x514351['locale'];_0x52fed0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x34661b,{writer:_0x1a7218,consumable:_0x53573e})=>{const _0x2cd68b=_0x34661b['getChild'](0x0);if(!_0x2cd68b||!_0x2cd68b['is']('element','a'))return null;const _0x2c6195=_0x2cd68b['getAttribute']('href')||'';if(!_0x2c6195['startsWith']('#'))return null;const _0x39611e=_0x2c6195['replace'](/^#/,'');if(!_0x39611e)return null;_0x53573e['consume'](_0x2cd68b,{'name':!0x0,'attributes':['href']});for(const {item:_0x5457e8}of _0x308db0['view']['createRangeIn'](_0x2cd68b))_0x5457e8['is']('$textProxy')?_0x53573e['consume'](_0x5457e8['textNode'],{'name':!0x0}):_0x5457e8['is']('element')&&_0x53573e['consume'](_0x5457e8,{'name':!0x0});return _0x1a7218['createElement']('footnoteRef',{'footnoteId':_0x39611e});}}),_0x52fed0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3cf52c,{writer:_0x301717})=>D(_0x3cf52c,_0x301717)}),_0x52fed0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x396381,{writer:_0x9b4129})=>{const _0x542af1=_0x396381['getAttribute']('footnoteCounter');return _0x58b648(D(_0x396381,_0x9b4129),_0x9b4129,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x542af1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x41b92e}=this,{t:t}=_0x41b92e['locale'],{conversion:_0x1cce7f}=_0x41b92e;_0x1cce7f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1cce7f['for']('upcast')['add'](_0x238b89=>{_0x238b89['on']('element:ol',(_0x1e6402,_0x48a479,_0x432452)=>{const _0x345df3=_0x48a479['viewItem'];if(!_0x345df3['hasClass']('footnotes-list')||!_0x48a479['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x432452['consumable']['consume'](_0x345df3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x49800f,modelCursor:_0x2a5de4}=_0x432452['convertChildren'](_0x48a479['viewItem'],_0x48a479['modelCursor']);_0x48a479['modelRange']=_0x49800f,_0x48a479['modelCursor']=_0x2a5de4;}),_0x238b89['on']('element:hr',(_0x30248a,_0x211d4d,_0x56af49)=>{const _0xde625f=_0x211d4d['viewItem'];_0xde625f['hasClass']('footnotes-divider')&&_0x211d4d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x56af49['consumable']['consume'](_0xde625f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1cce7f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3ab838,{writer:_0x2fb98c})=>v(_0x2fb98c)}),_0x1cce7f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5beb40,{writer:_0x2900b7})=>{const _0x2c7336=v(_0x2900b7,{'data-footnotes-list-label':t('Footnotes')}),_0x5641b7=_0x58b648(_0x2c7336,_0x2900b7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2900b7['setCustomProperty']('footnotesDefinitions',!0x0,_0x5641b7),_0x5641b7;}});}['_defineDefinitionConverters'](){const {editor:_0x4a1424}=this,{conversion:_0x508e41,locale:_0x50c2c5}=_0x4a1424,_0x217eec=_0x4a1424['config']['get']('footnotes.multiBlock');_0x508e41['for']('upcast')['add'](_0x1a1cf5=>{_0x1a1cf5['on']('element:li',(_0x383764,_0x35c1e5,_0x5ef6d2)=>{const _0xf95342=_0x35c1e5['viewItem'];if(!_0xf95342['hasClass']('footnote-definition')||!_0xf95342['getAttribute']('id'))return;const _0x10c69b=_0xf95342['parent'];if(!_0x10c69b['is']('element','ol')||!_0x10c69b['hasClass']('footnotes-list'))return;if(!_0x5ef6d2['consumable']['test'](_0xf95342,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xca5af0=_0x5ef6d2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xf95342['getAttribute']('id')});if(!_0x5ef6d2['safeInsert'](_0xca5af0,_0x35c1e5['modelCursor']))return;_0x5ef6d2['consumable']['consume'](_0xf95342,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4004ea=Array['from'](_0xf95342['getChildren']())['find'](_0x5d54c3=>_0x5d54c3['is']('element')&&_0x5d54c3['hasClass']('footnote-content'));for(const _0x101689 of _0xf95342['getChildren']())_0x101689['is']('element')&&(_0x5ef6d2['consumable']['consume'](_0x101689,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5ef6d2['consumable']['consume'](_0x101689,{'name':!0x0,'classes':'footnote-content'}));if(_0x4004ea){if(_0x217eec)_0x5ef6d2['convertChildren'](_0x4004ea,_0xca5af0);else{const _0x57d92a=_0x5ef6d2['writer']['createElement']('footnoteInlineContent');_0x5ef6d2['writer']['insert'](_0x57d92a,_0xca5af0),_0x5ef6d2['convertChildren'](_0x4004ea,_0x57d92a);}}_0x5ef6d2['updateConversionResult'](_0xca5af0,_0x35c1e5);});}),_0x508e41['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x459c88,{writer:_0x3a4c77})=>b(_0x459c88,_0x3a4c77,_0x50c2c5,{'dataPipeline':!0x0})}),_0x508e41['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf6834e,{writer:_0x229208})=>b(_0xf6834e,_0x229208,_0x50c2c5)});}['_defineBogusParagraphConverters'](){const {editor:_0x1779a4}=this,{conversion:_0x545b67}=_0x1779a4;_0x1779a4['config']['get']('footnotes.multiBlock')?(_0x545b67['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x545b67['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1779a4['model']['document'],'change:data',()=>{!function(_0x28354f,_0x35d1fc){const _0x171d4d=_0x28354f['document']['differ'],_0x1cd984=new Set();for(const _0xea3ef6 of _0x171d4d['getChanges']()){const _0x3b7f1b='attribute'==_0xea3ef6['type']?_0xea3ef6['range']['start']['parent']:_0xea3ef6['position']['parent'];_0x3b7f1b['is']('element','footnoteDefinition')&&_0x1cd984['add'](_0x3b7f1b);}for(const _0x2ffb58 of _0x1cd984['values']()){const _0x18326e=Array['from'](_0x2ffb58['getChildren']())['filter'](_0x560490=>g(_0x560490,_0x35d1fc['mapper']));for(const _0x40e55b of _0x18326e)_0x35d1fc['reconvertItem'](_0x40e55b);}}(_0x1779a4['model'],_0x1779a4['editing']);})):(_0x545b67['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x545b67['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4b543c,{writer:_0x52fc40})=>{const _0x1464b1=_0x52fc40['createContainerElement']('span');return _0x52fc40['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1464b1),_0x1464b1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5c3ea8}=this,{editing:_0x5805b0,t:t}=_0x5c3ea8,_0x46a73a=_0x5c3ea8['model']['document']['selection'];_0x5c3ea8['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5c3ea8['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5805b0['view']['document'],'enter',(_0x165ce4,_0x4a04a7)=>{const _0x594a2e=function(_0x20601e){const _0x34ef1d=_0x20601e['getSelectedElement']();if(_0x34ef1d?.['is']('element','footnoteRef'))return _0x34ef1d;return null;}(_0x46a73a);if(_0x594a2e){const _0x5b8e76=_0x594a2e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5b8e76),_0x4a04a7['preventDefault'](),_0x165ce4['stop']();}},{'context':_0x553c88});}['_defineClickHandlers'](){const {editor:_0x424089}=this,{editing:_0x4fa2d6}=_0x424089;_0x424089['editing']['view']['addObserver'](_0x5bdb90),_0x424089['editing']['view']['addObserver'](_0x518a2e);let _0x735702=!0x1;this['listenTo'](_0x4fa2d6['view']['document'],'pointerdown',(_0x55e726,_0x1711ca)=>{const {target:_0x2ce01d}=_0x1711ca,_0x719231=_0x4fa2d6['view']['document']['selection'];_0x735702=!!(_0x2ce01d?.['is']('element','a')&&_0x2ce01d['parent']?.['is']('element','sup')&&_0x2ce01d['parent']['hasClass']('footnote'))&&_0x719231['getSelectedElement']()===_0x2ce01d['parent'];},{'priority':'high'}),this['listenTo'](_0x4fa2d6['view']['document'],'click',(_0x28f648,_0x556dc6)=>{const {target:_0x24c97f}=_0x556dc6;if(!_0x24c97f?.['is']('element','a'))return;if(_0x24c97f['parent']?.['is']('element','sup')&&_0x24c97f['parent']['hasClass']('footnote')&&!_0x735702)return void _0x556dc6['preventDefault']();let _0x1eec82=_0x24c97f['getAttribute']('href');if(!_0x1eec82?.['startsWith']('#'))return;_0x1eec82=_0x1eec82['slice'](0x1);let _0x15c011=!0x1;(_0x1eec82['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1eec82['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1eec82))&&(_0x15c011=!0x0),_0x15c011&&(_0x556dc6['preventDefault'](),_0x28f648['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xcd39b5}={}){return(_0x41c1cb,{writer:_0x58a2f2})=>{if(!p(_0x41c1cb))return null;if(!_0xcd39b5)return _0x58a2f2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2ef27b=_0x58a2f2['createContainerElement']('p');return _0x58a2f2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2ef27b),_0x2ef27b;};}function p(_0xb8110b){const {parent:_0x44b06e}=_0xb8110b;if(!_0x44b06e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x44b06e['childCount'])return!0x1;for(const _0x342f40 of _0xb8110b['getAttributeKeys']())if(!_0x342f40['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x342f40)return!0x1;return!0x0;}function g(_0x484548,_0x14abf2){if(!_0x484548['is']('element','paragraph'))return!0x1;const _0x256522=_0x14abf2['toViewElement'](_0x484548);return!!_0x256522&&p(_0x484548)!==_0x256522['is']('element','span');}function J(_0x590e17){return _0x553c88(_0x590e17)&&_0x590e17['is']('containerElement')&&!!_0x590e17['getCustomProperty']('footnotesDefinitions');}function v(_0xe450b6,_0x140db1={}){const _0x42530d=_0xe450b6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x6f464c=_0xe450b6['createContainerElement']('ol',{'class':'footnotes-list'},_0xe450b6['createSlot']());return _0xe450b6['createContainerElement']('div',{'class':'footnotes',..._0x140db1},[_0x42530d,_0x6f464c]);}function D(_0x31ebc9,_0x4c013a){const _0x1b006c=_0x31ebc9['getAttribute']('footnoteId'),_0x4a092f=_0x31ebc9['getAttribute']('footnoteCounter'),_0x5cbef1=_0x4c013a['createUIElement']('a',{'href':'#'+_0x1b006c},function(_0x28df82){const _0x4f4a10=this['toDomElement'](_0x28df82);return _0x4f4a10['textContent']=_0x4a092f,_0x4f4a10;}),_0x55f42d=_0x4c013a['createContainerElement']('sup',{'id':'ref-'+_0x1b006c,'class':'footnote'},[_0x5cbef1]);return _0x55f42d['getFillerOffset']=()=>null,_0x55f42d;}function b(_0x43b0b4,_0x183136,_0x583134,{dataPipeline:_0xc0e7b6}={}){const {t:t}=_0x583134,_0x55438d=_0x43b0b4['getAttribute']('footnoteId'),_0x4e1cfe=_0x183136['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x55438d},function(_0x2acb52){const _0x1c8f36=this['toDomElement'](_0x2acb52);return _0x1c8f36['innerText']='^',_0x1c8f36;}),_0x763b3b=_0xc0e7b6?_0x183136['createContainerElement']('div',{'class':'footnote-content'}):_0x260f27(_0x183136['createEditableElement']('div',{'class':'footnote-content'}),_0x183136,{'label':t('Footnote\x20content.')});return _0x183136['insert'](_0x183136['createPositionAt'](_0x763b3b,0x0),_0x183136['createSlot']()),_0x183136['createContainerElement']('li',{'class':'footnote-definition','id':_0x55438d},[_0x4e1cfe,_0x763b3b]);}class e extends _0x34a414{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3a5d31];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x67f2c0}=this,{plugins:_0x5b6655,model:_0x2fd9ac}=_0x67f2c0,_0x208e1f=_0x5b6655['get'](_0x3a5d31),_0x547b1a=_0x5b6655['get'](f);this['listenTo'](_0x208e1f,'outputTransformation',(_0x58f82a,_0x53c35f)=>{const _0x47124e=c(_0x2fd9ac['createRangeIn'](_0x53c35f['content']));if(!_0x47124e['length'])return;const _0x4173ec=_0x547b1a['getFootnotes'](),_0x4046be=_0x47124e['reduce']((_0x5f315e,_0x6e1da2)=>{const _0x2ed9ea=_0x4173ec['find'](_0x362198=>_0x362198['id']===_0x6e1da2);if(_0x2ed9ea){const _0x5c441a=_0x67f2c0['data']['toView'](_0x2ed9ea['definition'],{'isClipboardPipeline':!0x0}),_0x144bfc=_0x67f2c0['data']['htmlProcessor']['toData'](_0x5c441a);_0x5f315e[_0x2ed9ea['id']]=_0x144bfc;}return _0x5f315e;},Object['create'](null));_0x53c35f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4046be));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3d4ef9}=this,{model:_0x27201d,plugins:_0x537da2}=_0x3d4ef9,{view:_0x2c72fa}=_0x3d4ef9['editing'],_0x203926=_0x537da2['get'](_0x3a5d31),_0x535f1a=_0x537da2['get'](f),_0x2e2580=_0x3d4ef9['config']['get']('footnotes.multiBlock');let _0x3635a0=null;this['listenTo'](_0x2c72fa['document'],'clipboardInput',(_0x312083,_0x238129)=>{const _0x4d2736=_0x238129['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3635a0=_0x4d2736?JSON['parse'](_0x4d2736):null;}),this['listenTo'](_0x203926,'contentInsertion',(_0xa72c12,_0x23e2c9)=>{const _0x46e4b9=_0x23e2c9['sourceEditorId']===this['editor']['id'];_0x46e4b9&&'drop'===_0x23e2c9['method']||_0x27201d['change'](_0x20058d=>{let _0x4d88ac=_0x535f1a['getFootnotesDefinitionsObjectElement']();const _0x16dd25=!!_0x4d88ac&&Array['from'](_0x27201d['document']['selection']['getSelectedBlocks']())['includes'](_0x4d88ac);if((_0x4d88ac&&!_0x16dd25||!_0x4d88ac&&!_0x3635a0)&&function(_0x5b51de,_0x4fc640){const _0x4cfd40=[];for(const {item:_0x5a5bff}of _0x5b51de['createRangeIn'](_0x4fc640))_0x5a5bff['is']('element','footnotesDefinitions')&&_0x4cfd40['push'](_0x5a5bff);for(const _0x430680 of _0x4cfd40)_0x5b51de['remove'](_0x430680);}(_0x20058d,_0x23e2c9['content']),!_0x3635a0)return;const {selection:_0x47aeb8}=_0x27201d['document'],_0x41c443=_0x47aeb8['getFirstRange']()['root'];_0x4d88ac&&!_0x16dd25||(_0x4d88ac=function(_0x274c4b,_0x101641){for(const {item:_0x2227b8}of _0x274c4b['createRangeIn'](_0x101641))if(_0x2227b8['is']('element','footnotesDefinitions'))return _0x2227b8;return null;}(_0x20058d,_0x23e2c9['content']),_0x4d88ac||=_0x535f1a['_insertEmptyFootnotesDefinitionsContainer'](_0x20058d,_0x41c443));const _0x2f7689=Array['from'](_0x47aeb8['getRanges']())['flatMap'](c),_0x5ad2b3=function(_0x3d200c,_0x2a4285,_0x21ebdf){const _0x245664=Object['create'](null);for(const {item:_0x3d9587}of _0x3d200c['createRangeIn'](_0x2a4285))if(_0x3d9587['is']('element','footnoteRef')){const _0x2b71f0=_0x3d9587['getAttribute']('footnoteId');if(!_0x21ebdf(_0x2b71f0))continue;_0x245664[_0x2b71f0]||(_0x245664[_0x2b71f0]=_0x40c733()),_0x3d200c['setAttribute']('footnoteId',_0x245664[_0x2b71f0],_0x3d9587);}return _0x245664;}(_0x20058d,_0x23e2c9['content'],_0x4daafe=>{if(!_0x46e4b9)return!0x0;return!!_0x535f1a['getFootnote'](_0x4daafe)&&!_0x2f7689['includes'](_0x4daafe);});for(const [_0x13515b,_0x55ed92]of Object['entries'](_0x3635a0)){const _0x2b8418=_0x5ad2b3[_0x13515b]||_0x13515b,_0x21995d=_0x20058d['createElement']('footnoteDefinition',{'footnoteId':_0x2b8418}),_0x468d45=_0x3d4ef9['data']['htmlProcessor']['toView'](_0x55ed92);let _0x57340d;if(_0x2e2580)_0x57340d=_0x3d4ef9['data']['toModel'](_0x468d45,_0x21995d);else{_0x57340d=_0x20058d['createElement']('footnoteInlineContent');const _0x12698a=_0x3d4ef9['data']['toModel'](_0x468d45,_0x57340d);_0x20058d['insert'](_0x12698a,_0x57340d);}_0x20058d['append'](_0x57340d,_0x21995d),_0x20058d['insert'](_0x21995d,_0x4d88ac,'end');}_0x3635a0=null;});});}}function c(_0x2a8437){const _0x33792f=new Set();for(const {item:_0x1dc3b4}of _0x2a8437)_0x1dc3b4['is']('element','footnoteRef')&&_0x33792f['add'](_0x1dc3b4['getAttribute']('footnoteId'));return Array['from'](_0x33792f);}class i extends _0x34a414{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1be5bd}=this,{componentFactory:_0x40aea7}=_0x1be5bd['ui'];_0x40aea7['add']('insertFootnote',x(_0x1be5bd,_0xb5e22a)),_0x40aea7['add']('menuBar:insertFootnote',x(_0x1be5bd,_0x2a1262)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2678c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3ba069;for(const _0x5873af in _0x2678c9){const _0x3f392e=_0x5873af,_0x22f7ce=_0x2678c9[_0x3f392e];if('footnotesLicenseKeyValid'==_0x22f7ce||'footnotesLicenseKeyInvalid'==_0x22f7ce||'footnotesLicenseKeyExpired'==_0x22f7ce||'footnotesLicenseKeyDomainLimit'==_0x22f7ce||'footnotesLicenseKeyNotAllowed'==_0x22f7ce||'footnotesLicenseKeyEvaluationLimit'==_0x22f7ce||'footnotesLicenseKeyTrialLimit'==_0x22f7ce||'footnotesLicenseKeyUsageLimit'==_0x22f7ce){delete _0x2678c9[_0x3f392e],_0x3ba069=_0x22f7ce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3ba069&&_0x2678c9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3ba069&&_0x2678c9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3ba069&&_0x2678c9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3ba069&&_0x2678c9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3ba069&&_0x2678c9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3ba069&&_0x2678c9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3ba069&&_0x2678c9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x817cf3,_0x5284f2){const _0x4e8f10=_0x817cf3['commands']['get']('insertFootnote');return _0x439afc=>{const {t:t}=_0x439afc,_0x373f74=new _0x5284f2(_0x439afc),_0x32c3f1=_0x373f74 instanceof _0x2a1262;return _0x373f74['bind']('isEnabled')['to'](_0x4e8f10,'isEnabled'),_0x373f74['set']({'label':t(_0x32c3f1?'Footnote':'Insert\x20footnote'),'icon':_0x5ad32e,'tooltip':!0x0}),_0x373f74['on']('execute',()=>{_0x4e8f10['execute'](),_0x817cf3['editing']['view']['focus']();}),_0x373f74;};}class lt extends _0x34a414{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 _0x2d0556{['refresh'](){const {editor:_0x1ad3af}=this,_0x886d73=_0x1ad3af['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x886d73,this['value']=_0x886d73?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x56e3eb}){const {editor:_0x4cc37a}=this,_0x4e5432=_0x4cc37a['plugins']['get'](f),_0x3de98b=_0x4e5432['getFootnotesDefinitionsObjectElement']();_0x3de98b&&nt['includes'](_0x56e3eb)&&_0x4cc37a['model']['change'](_0x5348c3=>{_0x5348c3['setAttribute']('footnotesListStyle',_0x56e3eb,_0x3de98b),_0x4e5432['_updateFootnotesCounters'](_0x5348c3);});}}class C extends _0x2d0556{['refresh'](){const {editor:_0x2d33c3}=this,_0x22ba4d=_0x2d33c3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x22ba4d,this['value']=_0x22ba4d?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1f826f}){const {editor:_0x2b8d2a}=this,_0x3d5ee3=_0x2b8d2a['plugins']['get'](f),_0x1f85a2=_0x3d5ee3['getFootnotesDefinitionsObjectElement']();_0x1f85a2&&Number['isInteger'](_0x1f826f)&&_0x2b8d2a['model']['change'](_0x20a6c0=>{_0x20a6c0['setAttribute']('footnotesListStart',_0x1f826f,_0x1f85a2),_0x3d5ee3['_updateFootnotesCounters'](_0x20a6c0);});}}class P extends _0x34a414{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x137742}=this;_0x137742['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x137742['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x137742['commands']['add']('footnotesStyle',new S(_0x137742)),_0x137742['commands']['add']('footnotesStart',new C(_0x137742)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x34df1f}=this,{schema:_0x231fc0}=_0x34df1f['model'];_0x231fc0['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3f2f90}=this,{conversion:_0x4f18af,model:_0x8924c8}=_0x3f2f90,{schema:_0x599098}=_0x8924c8;_0x4f18af['for']('upcast')['add'](_0x38e407=>{_0x38e407['on']('element:ol',(_0x1a8afd,_0x5914bc,_0x3e9103)=>{const _0x1d9d78=_0x5914bc['viewItem'],_0x15a133=_0x5914bc['modelCursor']?.['parent'];_0x1d9d78['hasClass']('footnotes-list')&&_0x15a133?.['is']('element','footnotesDefinitions')&&(function(_0x21712c,_0x19d8b6,_0x2fd3f9,_0x4a6d35){if(!_0x4a6d35['checkAttribute'](_0x19d8b6,'footnotesListStart'))return;let _0x38b50d=0x1;const _0x4c8af6=_0x2fd3f9['consumable']['consume'](_0x21712c,{'attributes':'start'});if(_0x4c8af6){const _0x406250=Number['parseInt'](_0x21712c['getAttribute']('start'),0xa);Number['isNaN'](_0x406250)||(_0x38b50d=_0x406250);}!_0x4c8af6&&_0x19d8b6['hasAttribute']('footnotesListStart')||_0x2fd3f9['writer']['setAttribute']('footnotesListStart',_0x38b50d,_0x19d8b6);}(_0x1d9d78,_0x15a133,_0x3e9103,_0x599098),function(_0x3ed470,_0x44c9ec,_0x3f069d,_0xa443ec){if(!_0xa443ec['checkAttribute'](_0x44c9ec,'footnotesListStyle'))return;let _0x3783db='decimal',_0x3d4241=!0x1;if(_0x3f069d['consumable']['consume'](_0x3ed470,{'attributes':'type'})){const _0x4d29b2={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3ed470['getAttribute']('type')];_0x4d29b2&&(_0x3783db=_0x4d29b2),_0x3d4241=!0x0;}_0x3f069d['consumable']['consume'](_0x3ed470,{'styles':'list-style-type'})&&(_0x3783db=function(_0x32b4b8){switch(_0x32b4b8){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x32b4b8;}}(_0x3ed470['getStyle']('list-style-type')),_0x3d4241=!0x0),!_0x3d4241&&_0x44c9ec['hasAttribute']('footnotesListStyle')||_0x3f069d['writer']['setAttribute']('footnotesListStyle',_0x3783db,_0x44c9ec);}(_0x1d9d78,_0x15a133,_0x3e9103,_0x599098));});}),_0x4f18af['for']('downcast')['add'](_0x34aa85=>{_0x34aa85['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x768cc5,_0x8fff85,_0x3b19cc)=>{if(!_0x3b19cc['consumable']['consume'](_0x8fff85['item'],_0x768cc5['name']))return;const _0x1a6c6e=M(_0x8fff85['item'],_0x3b19cc['mapper']),{attributeNewValue:_0x4309d9}=_0x8fff85;null==_0x4309d9||0x1===_0x4309d9?_0x3b19cc['writer']['removeAttribute']('start',_0x1a6c6e):_0x3b19cc['writer']['setAttribute']('start',String(_0x4309d9),_0x1a6c6e);}),_0x34aa85['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5b7d41,_0x21fc8f,_0x587577)=>{if(!_0x587577['consumable']['consume'](_0x21fc8f['item'],_0x5b7d41['name']))return;const _0x5aec57=M(_0x21fc8f['item'],_0x587577['mapper']),{attributeNewValue:_0x192c36}=_0x21fc8f;_0x192c36&&'decimal'!==_0x192c36?_0x587577['writer']['setStyle']('list-style-type',_0x192c36,_0x5aec57):_0x587577['writer']['removeStyle']('list-style-type',_0x5aec57);});});}['_definePostfixer'](){const {editor:_0x2064dc}=this,{model:_0x12b4f8}=_0x2064dc,_0x4f0d63=_0x2064dc['plugins']['get'](f),_0x5ca294=this['_getDefaultListStyle'](),_0x372310=this['_getDefaultStartIndex']();_0x12b4f8['document']['registerPostFixer'](_0x4d81a1=>{const _0x519608=_0x12b4f8['document']['differ']['getChanges']();let _0x5961d0=!0x1;for(const _0x39c0e1 of _0x519608){if('insert'!==_0x39c0e1['type']||'$text'===_0x39c0e1['name'])continue;const _0x5d86bd=_0x12b4f8['createRangeOn'](_0x39c0e1['position']['nodeAfter']);for(const _0x27386d of _0x5d86bd['getItems']())_0x27386d['is']('element','footnotesDefinitions')&&(!_0x27386d['hasAttribute']('footnotesListStart')&&_0x12b4f8['schema']['checkAttribute'](_0x27386d,'footnotesListStart')&&(_0x4d81a1['setAttribute']('footnotesListStart',_0x372310,_0x27386d),_0x5961d0=!0x0),!_0x27386d['hasAttribute']('footnotesListStyle')&&_0x12b4f8['schema']['checkAttribute'](_0x27386d,'footnotesListStyle')&&(_0x4d81a1['setAttribute']('footnotesListStyle',_0x5ca294,_0x27386d),_0x5961d0=!0x0));}return _0x5961d0&&_0x4f0d63['_updateFootnotesCounters'](_0x4d81a1),_0x5961d0;});}['_defineFormatter'](){const {editor:_0x3e6013}=this;_0x3e6013['plugins']['get'](f)['setFootnoteFormatter'](_0x1618ce=>this['_formatFootnoteListValue'](_0x1618ce));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x7aca96,value:_0x440e3b,digits:_0x3530c1}){const _0x4d3cb1=_0x7aca96['getAttribute']('footnotesListStyle'),_0x3a9309=_0x7aca96['getAttribute']('footnotesListStart'),_0x408176=Math['floor'](_0x440e3b)+(_0x3a9309??0x1)-0x1;switch(_0x4d3cb1){case'decimal-leading-zero':return function(_0x4de1ea,_0x4014b7){return String(_0x4de1ea)['padStart'](_0x4014b7,'0');}(_0x408176,Math['max'](0x2,_0x3530c1));case'lower-alpha':case'lower-latin':return N(_0x408176,!0x1);case'upper-alpha':case'upper-latin':return N(_0x408176,!0x0);case'lower-roman':return X(_0x408176,!0x1);case'upper-roman':return X(_0x408176,!0x0);default:return String(_0x408176);}}}function M(_0x32b03c,_0x5efe84){const _0x2baac4=_0x5efe84['toViewElement'](_0x32b03c);return Array['from'](_0x2baac4['getChildren']())['find'](_0x21cd73=>_0x21cd73['is']('element','ol')&&_0x21cd73['hasClass']('footnotes-list'));}function N(_0x519157,_0x463467){let _0x1af1f8='',_0x17da3f=_0x519157;for(;_0x17da3f>0x0;){const _0x18fcaa=(_0x17da3f-0x1)%0x1a;_0x1af1f8=String['fromCharCode'](0x61+_0x18fcaa)+_0x1af1f8,_0x17da3f=Math['floor']((_0x17da3f-0x1)/0x1a);}return _0x463467?_0x1af1f8['toUpperCase']():_0x1af1f8;}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(_0x496bd6,_0x4b0f70){let _0x340b5e='',_0x4d6a91=_0x496bd6;for(const {value:_0x547529,numeral:_0x3057f6}of V)for(;_0x4d6a91>=_0x547529;)_0x340b5e+=_0x3057f6,_0x4d6a91-=_0x547529;return _0x4b0f70?_0x340b5e:_0x340b5e['toLowerCase']();}class H extends _0x35d36b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x12fdbb();['focusCycler'];constructor(_0x1d4e52,{styleButtonViews:_0x16700c,styleGridAriaLabel:_0x2dcd83}){super(_0x1d4e52),(this['focusCycler']=new _0x5d7fea({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x16700c,_0x2dcd83),[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 _0x5942a0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5942a0['element']);_0x2d44c1({'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 _0x306eb7=_0x1f9e99=>_0x1f9e99['stopPropagation']();this['keystrokes']['set']('arrowright',_0x306eb7),this['keystrokes']['set']('arrowleft',_0x306eb7),this['keystrokes']['set']('arrowup',_0x306eb7),this['keystrokes']['set']('arrowdown',_0x306eb7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2a7e1d,_0x221c4e){const _0x238be5=new _0x35d36b(this['locale']);return _0x238be5['children']=_0x238be5['createCollection'](),_0x238be5['children']['addMany'](_0x2a7e1d),_0x238be5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x221c4e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x238be5['children']}),_0x238be5['children']['delegate']('execute')['to'](this),_0x238be5['focus']=function(){for(const _0x435052 of this['children'])if(_0x435052 instanceof _0xb5e22a&&_0x435052['isOn'])return void _0x435052['focus']();this['children']['first']['focus']();},_0x238be5['focusTracker']=new et(),_0x238be5['keystrokes']=new ot(),_0x238be5['render'](),_0x238be5['keystrokes']['listenTo'](_0x238be5['element']),this['children']['add'](_0x238be5),_0x238be5;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3a89b2=this['_createStartIndexPropertyView'](),_0x47c9c0=[_0x3a89b2],_0x471930=new tt(this['locale'],_0x47c9c0);return _0x471930['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x471930['buttonView']['bind']('isEnabled')['toMany'](_0x47c9c0,'isEnabled',(..._0x374aef)=>_0x374aef['some'](_0x54d393=>_0x54d393)),_0x471930['buttonView']['on']('change:isEnabled',(_0x4f589f,_0x548d06,_0xf26a3c)=>{_0xf26a3c||(_0x471930['isCollapsed']=!0x0);}),this['children']['add'](_0x471930),[_0x3a89b2,_0x471930];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1b18b0=new st(this['locale'],it);return _0x1b18b0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1b18b0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1b18b0['fieldView']['on']('input',()=>{const _0x459f13=_0x1b18b0['fieldView']['element'],_0x270af0=_0x459f13['valueAsNumber'];Number['isNaN'](_0x270af0)?_0x1b18b0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x459f13['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x270af0}):_0x1b18b0['errorText']=t(_0x270af0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1b18b0;}}class j extends _0x34a414{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x52bb47,_0x38c640];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ddf87}=this,{componentFactory:_0x49814c}=_0x3ddf87['ui'];_0x3ddf87['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x49814c['add']('footnotesStyle',function(_0x2f733a){return _0x4acc4e=>{const {t:t}=_0x4acc4e,_0x15f233=_0x2f733a['commands']['get']('footnotesStyle'),_0x1badd8=_0x17e7b7(_0x4acc4e),{buttonView:_0x5ca382}=_0x1badd8;return _0x1badd8['class']='ck-footnotes-styles-dropdown',_0x1badd8['bind']('isEnabled')['to'](_0x15f233,'isEnabled'),_0x5ca382['set']({'label':t('Footnotes\x20style'),'icon':_0x5ad32e,'tooltip':!0x0}),_0x1badd8['once']('change:isOpen',()=>{const _0x6ac97b=function({editor:_0x372072,dropdownView:_0x297bf4}){const {t:t}=_0x372072['locale'],_0x528bec=t('Footnotes\x20definitions\x20styles'),_0x4e685b=function(_0x25f8a3){const t=_0x25f8a3['locale']['t'],_0x3d3599=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5448b2},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x44dd55},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2437e8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2d8106},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3f867d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2e7926}];return _0x3d3599['map'](function(_0x3f3258){const _0x3d64c4=_0x3f3258['locale'];return({label:_0x99fdef,icon:_0xc0611e,tooltip:_0x52e44e,style:_0x50403f})=>{const _0x2df4cc=_0x3f3258['commands']['get']('footnotesStyle'),_0x2a2b1c=new _0xb5e22a(_0x3d64c4);return _0x2a2b1c['set']({'label':_0x99fdef,'icon':_0xc0611e,'tooltip':_0x52e44e}),_0x2a2b1c['bind']('isOn')['to'](_0x2df4cc,'value',_0x5e48bc=>_0x5e48bc===_0x50403f),_0x2a2b1c['bind']('isEnabled')['to'](_0x2df4cc,'isEnabled'),_0x2a2b1c['on']('execute',()=>{_0x3f3258['execute']('footnotesStyle',{'value':_0x50403f}),_0x3f3258['editing']['view']['focus']();}),_0x2a2b1c;};}(_0x25f8a3));}(_0x372072),_0x4155dd=new H(_0x372072['locale'],{'styleGridAriaLabel':_0x528bec,'styleButtonViews':_0x4e685b}),_0x575064=_0x372072['commands']['get']('footnotesStart');return _0x4155dd['startIndexFieldView']['bind']('isEnabled')['to'](_0x575064),_0x4155dd['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x575064),_0x4155dd['on']('footnotesListStart',(_0x306967,_0x13cbad)=>{_0x372072['execute']('footnotesStart',{'value':_0x13cbad['startIndex']});}),_0x4155dd['delegate']('execute')['to'](_0x297bf4),_0x4155dd;}({'editor':_0x2f733a,'dropdownView':_0x1badd8});_0x1badd8['panelView']['children']['add'](_0x6ac97b);}),_0x1badd8;};}(_0x3ddf87));}['afterInit'](){const {editor:_0x5c70d9}=this,{t:t}=_0x5c70d9['locale'],_0x3290f2=_0x5c70d9['plugins']['get'](_0x38c640),{defaultPositions:_0x2fd33b}=_0x528eb2;_0x3290f2['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5c70d9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x218e7a=>{let _0x2eff52=_0x218e7a['getFirstPosition']()?.['parent'];return _0x2eff52?.['is']('$text')&&(_0x2eff52=_0x2eff52['parent']),_0x2eff52?.['is']('element')?_0x2eff52['findAncestor'](J):null;},'positions':[_0x2fd33b['southArrowNorth'],_0x2fd33b['southArrowNorthMiddleWest'],_0x2fd33b['southArrowNorthMiddleEast'],_0x2fd33b['southArrowNorthWest'],_0x2fd33b['southArrowNorthEast'],_0x2fd33b['northArrowSouth'],_0x2fd33b['northArrowSouthMiddleWest'],_0x2fd33b['northArrowSouthMiddleEast'],_0x2fd33b['northArrowSouthWest'],_0x2fd33b['northArrowSouthEast'],_0x2fd33b['viewportStickyNorth']]});}}class ft extends _0x34a414{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 _0xd9c4a9,Command as _0x5dc748}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x522593,isWidget as _0x3b3c40,toWidgetEditable as _0x2ebce2,WidgetToolbarRepository as _0x374390}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x156ee0,logWarning as _0x7ca681,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x13df00,ClickObserver as _0x5d28d8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5b9248}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x51e06c,ButtonView as _0x84170f,View as _0x2558c1,ViewCollection as _0x2019dd,FocusCycler as _0x242429,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x56f5d6,BalloonPanelView as _0x198984,createDropdown as _0x1fde78}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1e00c0,IconListStyleDecimal as _0x3a4735,IconListStyleDecimalLeadingZero as _0xfcbce3,IconListStyleLowerRoman as _0x134b0a,IconListStyleUpperRoman as _0x18138f,IconListStyleLowerLatin as _0x482095,IconListStyleUpperLatin as _0x38cc45}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4d088d,_0x15bdeb){this['_model']=_0x4d088d,this['_elementName']=_0x15bdeb['elementName'],this['_getElementKey']=_0x15bdeb['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4e7878){const _0x8f2a12=new Set(),_0x50765c=new Map();for(const _0xe3bddd of _0x4e7878){if('insert'===_0xe3bddd['type']&&'$text'!==_0xe3bddd['name']&&_0xe3bddd['position']['nodeAfter']){const _0x49ff28=this['_model']['createRangeOn'](_0xe3bddd['position']['nodeAfter']);for(const _0x2b488c of _0x49ff28['getItems']()){if(!_0x2b488c['is']('element',this['_elementName']))continue;const _0x196b2e=this['_getElementKey'](_0x2b488c);_0x50765c['has'](_0x196b2e)||_0x50765c['set'](_0x196b2e,[]),_0x50765c['get'](_0x196b2e)['push'](_0x2b488c);}}if('remove'===_0xe3bddd['type']&&_0xe3bddd['name']===this['_elementName']){const _0x14e178=this['_getElementKey']({'getAttribute':_0x1ed19f=>_0xe3bddd['attributes']['get'](_0x1ed19f)});_0x8f2a12['add'](_0x14e178);}}for(const [_0xfd7ce4,_0x7f3c29]of this['_trackedElements'])'$graveyard'===_0x7f3c29['root']['rootName']&&_0x8f2a12['add'](_0xfd7ce4);for(const _0x49f8e8 of _0x8f2a12)this['_trackedElements']['delete'](_0x49f8e8);for(const [_0x2cb861,_0x4100cb]of _0x50765c)this['_trackedElements']['set'](_0x2cb861,_0x4100cb[_0x4100cb['length']-0x1]);const _0x193fd4=new Set();for(const [_0x5cb4db,_0x2288a1]of _0x50765c)_0x8f2a12['has'](_0x5cb4db)&&(_0x193fd4['add'](_0x2288a1[0x0]),_0x2288a1['length']>0x1?_0x50765c['set'](_0x5cb4db,_0x2288a1['slice'](0x1)):_0x50765c['delete'](_0x5cb4db),_0x8f2a12['delete'](_0x5cb4db));return{'removed':Array['from'](_0x8f2a12),'inserted':Array['from'](_0x50765c['values']())['flat'](),'moved':Array['from'](_0x193fd4)};}}class f extends _0xd9c4a9{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe34584){super(_0xe34584),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x25671=>_0x25671['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x310497=>_0x310497['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3cde4b}=this,{model:_0x15052b,data:_0x31e5d8}=_0x3cde4b;_0x15052b['document']['registerPostFixer'](_0xe3e679=>{const _0xe4a3a1=_0x15052b['document']['differ']['getChanges']();let _0x18d31e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xe3e679,_0xe4a3a1)&&(_0x18d31e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xe3e679,_0xe4a3a1)&&(_0x18d31e=!0x0),this['_handleFootnoteReferencesChanges'](_0xe3e679,_0xe4a3a1)&&(_0x18d31e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xe3e679)&&(_0x18d31e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xe3e679)&&(_0x18d31e=!0x0),this['_sortFootnoteDefinitions'](_0xe3e679)&&(_0x18d31e=!0x0),_0x18d31e;}),this['listenTo'](_0x15052b['document'],'change:data',()=>{_0x15052b['enqueueChange']({'isUndoable':!0x1},_0x52a605=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x52a605);});},{'priority':'low'}),this['listenTo'](_0x31e5d8,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x53600f){return this['_footnotes']['find'](_0xd8f104=>_0xd8f104['id']===_0x53600f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1ea1e2){this['_footnoteFormatter']=_0x1ea1e2;}['_updateFootnotesCounters'](_0x159320,_0xde12fa=0x0){let _0x28b05b=!0x1;for(let _0x51676d=_0xde12fa;_0x51676d<this['_footnotes']['length'];_0x51676d++)this['_updateFootnoteRefCounter'](_0x159320,_0x51676d)&&(_0x28b05b=!0x0);return _0x28b05b;}['_insertEmptyFootnotesDefinitionsContainer'](_0x598664,_0x482fba){const _0x17c1fb=_0x598664['createElement']('footnotesDefinitions',{});return _0x598664['append'](_0x17c1fb,_0x482fba),this['_footnotesDefinitions']=_0x17c1fb,_0x17c1fb;}['_ensureFootnotesDefinitionsContainerExists'](_0x23e7ef){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1237c2=this['_footnotes'][0x0]['reference']['root'],_0x1ba91f=this['_insertEmptyFootnotesDefinitionsContainer'](_0x23e7ef,_0x1237c2);for(const _0x5f17e3 of this['_footnotes'])_0x5f17e3['definition']['parent']||_0x23e7ef['insert'](_0x5f17e3['definition'],_0x1ba91f,'end');this['_updateFootnotesCounters'](_0x23e7ef);}['_handleFootnotesDefinitionsObjectChanges'](_0x229994,_0x368536){let _0xee78ef=!0x1;const {inserted:_0x2bd6a2,removed:_0x2079cf,moved:_0x1b0a0f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x368536);if(_0x1b0a0f['length']&&(this['_footnotesDefinitions']=_0x1b0a0f[0x0]),_0x2bd6a2['length']){if(_0x2bd6a2['length']>0x1||this['_footnotesDefinitions']&&_0x2bd6a2['some'](_0x405f53=>_0x405f53!==this['_footnotesDefinitions'])){const _0x177a5d=_0x229994['createElement']('footnotesDefinitions',{}),_0x504083=[];this['_footnotesDefinitions']&&_0x504083['push'](this['_footnotesDefinitions']),_0x504083['push'](..._0x2bd6a2),_0x229994['insert'](_0x177a5d,_0x504083[0x0],'before');for(const _0x39b50f of _0x504083)_0x229994['move'](_0x229994['createRangeIn'](_0x39b50f),_0x229994['createPositionAt'](_0x177a5d,'end')),_0x229994['remove'](_0x39b50f);this['_footnotesDefinitions']=_0x177a5d,this['_updateFootnotesCounters'](_0x229994),_0xee78ef=!0x0;}else this['_footnotesDefinitions']=_0x2bd6a2[0x0];}if(_0x2079cf['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x22731b of this['_footnotes'])_0x229994['remove'](_0x22731b['reference']),_0xee78ef=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xee78ef;}['_handleFootnoteDefinitionsChanges'](_0x301410,_0x316534){let _0x278e13=!0x1;const _0x382b9c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1b7025,moved:_0x5b8326}=this['_footnoteDefsTracker']['getChanges'](_0x316534);for(const _0x4783f1 of[..._0x5b8326,..._0x1b7025]){const _0xef231e=_0x4783f1['getAttribute']('footnoteId'),_0x31bee7=this['getFootnote'](_0xef231e);_0x31bee7&&(_0x31bee7['definition']=_0x4783f1),_(_0x301410,_0x382b9c,_0x4783f1)&&(_0x278e13=!0x0);}return _0x278e13;}['_handleFootnoteReferencesChanges'](_0x1a9003,_0x360e8d){let _0x56f86e=!0x1;const {removed:_0x20ac67,inserted:_0x4d8bb6,moved:_0x50c10a}=this['_footnoteRefsTracker']['getChanges'](_0x360e8d);for(const _0x55b497 of _0x20ac67)this['_handleRemoveFootnoteReferenceById'](_0x1a9003,_0x55b497)&&(_0x56f86e=!0x0);for(const _0x4562d0 of _0x4d8bb6)this['_handleInsertedFootnoteReference'](_0x1a9003,_0x4562d0)&&(_0x56f86e=!0x0);for(const _0x1e1df3 of _0x50c10a)this['_handleMovedFootnoteReference'](_0x1a9003,_0x1e1df3)&&(_0x56f86e=!0x0);return _0x56f86e;}['_handleFootnotesDefinitionsObjectSync'](_0x4fa47c){if(!this['_footnotesDefinitions'])return!0x1;let _0x565044=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x266f2c=[];for(const _0x51009e of this['_footnotesDefinitions']['getChildren']()){const _0x172a3a=_0x51009e['getAttribute']('footnoteId');this['getFootnote'](_0x172a3a)||(_0x266f2c['unshift'](_0x51009e),_0x565044=!0x0);}for(const _0x4d0502 of _0x266f2c)_0x4fa47c['remove'](_0x4d0502);}const _0x51eb6a=new Set(),_0x412582=[];for(const _0x2b757e of this['_footnotesDefinitions']['getChildren']()){const _0x196cff=_0x2b757e['getAttribute']('footnoteId');_0x51eb6a['has'](_0x196cff)?(_0x412582['unshift'](_0x2b757e),_0x565044=!0x0):_0x51eb6a['add'](_0x196cff);}for(const _0x310d46 of _0x412582)_0x4fa47c['remove'](_0x310d46);return this['_footnotesDefinitions']['childCount']||(_0x4fa47c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x565044=!0x0),_0x565044;}['_handleInsertedFootnoteReference'](_0x3202c9,_0x2f68a8){if(this['_footnotes']['find'](_0x243217=>_0x243217['reference']===_0x2f68a8))return!0x1;let _0xa97cbe=!0x1;const _0x5e6732=_0x2f68a8['getAttribute']('footnoteId'),_0x3dd249=this['_footnotes']['findIndex'](_0x45cfc7=>_0x45cfc7['id']===_0x5e6732);-0x1!==_0x3dd249&&(_0x3202c9['remove'](this['_footnotes'][_0x3dd249]['reference']),this['_footnotes']['splice'](_0x3dd249,0x1),_0xa97cbe=!0x0);let _0x397d2a=this['_footnotesDefinitions']?function(_0x17d7d9,_0x5e639d){for(const _0x2bb057 of _0x17d7d9['getChildren']())if(_0x2bb057['getAttribute']('footnoteId')===_0x5e639d)return _0x2bb057;return null;}(this['_footnotesDefinitions'],_0x5e6732):null;_0x397d2a||(_0x397d2a=_0x3202c9['createElement']('footnoteDefinition',{'footnoteId':_0x5e6732}),this['_footnotesDefinitions']&&(_0x3202c9['insert'](_0x397d2a,this['_footnotesDefinitions'],'end'),_0xa97cbe=!0x0));const _0x466798={'id':_0x5e6732,'reference':_0x2f68a8,'definition':_0x397d2a},_0x3c576f=I(this['editor']['model'],this['_footnotes'],_0x2f68a8);this['_footnotes']['splice'](_0x3c576f,0x0,_0x466798);let _0x11c255=_0x3c576f;return-0x1!==_0x3dd249&&(_0x11c255=Math['min'](_0x3c576f,_0x3dd249)),this['_updateFootnotesCounters'](_0x3202c9,_0x11c255)&&(_0xa97cbe=!0x0),_0xa97cbe;}['_handleRemoveFootnoteReferenceById'](_0x5b4e9d,_0x4ef345){const _0x1dafe6=this['_footnotes']['findIndex'](_0x466862=>_0x466862['id']===_0x4ef345);if(-0x1===_0x1dafe6)return!0x1;let _0x52a437=!0x1;const _0x491ad7=this['_footnotes'][_0x1dafe6];return'$graveyard'!==_0x491ad7['definition']['root']['rootName']&&(_0x5b4e9d['remove'](_0x491ad7['definition']),_0x52a437=!0x0),this['_footnotes']['splice'](_0x1dafe6,0x1),this['_updateFootnotesCounters'](_0x5b4e9d,_0x1dafe6)&&(_0x52a437=!0x0),_0x52a437;}['_handleMovedFootnoteReference'](_0x2e3f7c,_0x4334d1){const _0x1ca1e6=_0x4334d1['getAttribute']('footnoteId'),_0x2192f0=this['_footnotes']['findIndex'](_0xdff4d9=>_0xdff4d9['id']===_0x1ca1e6),_0x3bd09b=this['_footnotes'][_0x2192f0];let _0x1b28bb=!0x1;_0x3bd09b['reference']=_0x4334d1,this['_footnotes']['splice'](_0x2192f0,0x1);const _0xeffef9=I(this['editor']['model'],this['_footnotes'],_0x4334d1);return this['_footnotes']['splice'](_0xeffef9,0x0,_0x3bd09b),this['_updateFootnotesCounters'](_0x2e3f7c,Math['min'](_0x2192f0,_0xeffef9))&&(_0x1b28bb=!0x0),_0x1b28bb;}['_updateFootnoteRefCounter'](_0x85f4c6,_0x46c945){if(!this['_footnotesDefinitions'])return!0x1;const _0x4a0f80=this['_footnotes'][_0x46c945];let _0x5f09c1;return _0x5f09c1=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4a0f80,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x46c945+0x1}):String(_0x46c945+0x1),_0x4a0f80['reference']['getAttribute']('footnoteCounter')!=_0x5f09c1&&(_0x85f4c6['setAttribute']('footnoteCounter',_0x5f09c1,_0x4a0f80['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x26aa85){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x33387c,_0x362b15){if(_0x33387c['length']!==_0x362b15['length'])return!0x1;for(let _0x567d14=0x0;_0x567d14<_0x33387c['length'];_0x567d14++)if(_0x33387c[_0x567d14]!==_0x362b15[_0x567d14])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5dcf8d=>_0x5dcf8d['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x7ae47a=>_0x7ae47a['getAttribute']('footnoteId'))))return!0x1;let _0x4b851f=!0x1;for(let _0x20d195=0x0;_0x20d195<this['_footnotes']['length'];_0x20d195++){const _0x30c13=this['_footnotes'][_0x20d195],_0x4e8465=_0x26aa85['createPositionBefore'](_0x30c13['definition']),_0x2348a9=_0x26aa85['createPositionAt'](this['_footnotesDefinitions'],_0x20d195);_0x4e8465['isEqual'](_0x2348a9)||(_0x26aa85['move'](_0x26aa85['createRangeOn'](_0x30c13['definition']),_0x2348a9),_0x4b851f=!0x0);}return _0x4b851f;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3bb7ab){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4ac952}=this['editor'];let _0x30feb0=!0x1;for(let _0x32e9eb=0x0;_0x32e9eb<this['_footnotes']['length']-0x1;_0x32e9eb++){const _0x1e9aae=this['_footnotes'][_0x32e9eb],_0x63ed19=this['_footnotes'][_0x32e9eb+0x1],_0x50f1cc=_0x4ac952['createPositionBefore'](_0x1e9aae['reference']),_0x554412=_0x4ac952['createPositionBefore'](_0x63ed19['reference']);'after'===_0x50f1cc['compareWith'](_0x554412)&&(this['_handleMovedFootnoteReference'](_0x3bb7ab,_0x1e9aae['reference']),_0x32e9eb=-0x1,_0x30feb0=!0x0);}return _0x30feb0;}}function _(_0x1c6776,_0x15b667,_0x221c9d){if(_0x221c9d['childCount'])return!0x1;const _0x217e4b=_0x15b667?'paragraph':'footnoteInlineContent';return _0x1c6776['insert'](_0x1c6776['createElement'](_0x217e4b),_0x221c9d),!0x0;}function I(_0x4555fc,_0x343d3e,_0x446f81){if(0x0===_0x343d3e['length'])return 0x0;const _0x5ab7ba=_0x4555fc['createPositionBefore'](_0x446f81);for(let _0x1d3763=0x0;_0x1d3763<_0x343d3e['length'];_0x1d3763++){const _0x534560=_0x343d3e[_0x1d3763],_0x4547c7=_0x4555fc['createPositionBefore'](_0x534560['reference']);if('before'===_0x5ab7ba['compareWith'](_0x4547c7))return _0x1d3763;}const _0x3766ef=_0x446f81['root'];let _0xb45b15=-0x1;for(let _0x1cc7a2=_0x343d3e['length']-0x1;_0x1cc7a2>=0x0;_0x1cc7a2--)if(_0x343d3e[_0x1cc7a2]['reference']['root']===_0x3766ef){_0xb45b15=_0x1cc7a2;break;}if(-0x1!==_0xb45b15)return _0xb45b15+0x1;const _0x4ed7bc=_0x4555fc['document']['getRootNames'](),_0x3461bd=_0x4ed7bc['indexOf'](_0x3766ef['rootName']),_0x5a8f5d=_0x4ed7bc[_0x3461bd+0x1];if(_0x5a8f5d){for(let _0x2311f4=0x0;_0x2311f4<_0x343d3e['length'];_0x2311f4++)if(_0x343d3e[_0x2311f4]['reference']['root']['rootName']===_0x5a8f5d)return _0x2311f4;}return _0x343d3e['length'];}class m extends _0x5dc748{['refresh'](){const _0x2c5a2c=this['editor']['model']['document']['selection'],_0x27119c=this['_getPositionToInsertFootnote'](_0x2c5a2c);this['isEnabled']=!!_0x27119c;}['execute'](_0x39e7e8){const {editor:_0x40eef2}=this,{model:_0x321864}=_0x40eef2,{selection:_0x5395b7}=_0x321864['document'],_0x3d197b=this['_getPositionToInsertFootnote'](_0x5395b7);if(!_0x3d197b)return;const _0x1e09c2=_0x40eef2['plugins']['get']('FootnotesEditing'),_0x2d5e40=_0x39e7e8?.['footnoteId']??_0x156ee0();!function(_0x1d5962){return'string'==typeof _0x1d5962&&_0x1d5962['length']>0x0&&!/\s/['test'](_0x1d5962)&&!/^\d/['test'](_0x1d5962);}(_0x2d5e40)?_0x7ca681('insert-footnote-command-executed-with-invalid-id'):(_0x321864['change'](_0x766525=>{const _0x498c1c=_0x766525['createElement']('footnoteRef',{'footnoteId':_0x2d5e40});_0x321864['insertObject'](_0x498c1c,_0x3d197b,null);}),_0x1e09c2['_moveSelectionToFootnoteDefinition'](_0x2d5e40));}['_getPositionToInsertFootnote'](_0x16c874){const {model:_0x5b0a78}=this['editor'],{schema:_0x1e00b3}=_0x5b0a78,_0x5265ac=_0x16c874['getFirstRange']();for(const _0x1e0cf8 of _0x5265ac['getItems']())if(_0x1e00b3['isBlock'](_0x1e0cf8)||_0x1e00b3['isObject'](_0x1e0cf8))return null;const _0x2c3f9f=_0x5265ac['end'];return _0x1e00b3['checkChild'](_0x2c3f9f,'footnoteRef')?_0x2c3f9f:null;}}class r extends _0xd9c4a9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x360053}=this;_0x360053['config']['define']('footnotes.multiBlock',!0x0),_0x360053['commands']['add']('insertFootnote',new m(_0x360053)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x42f4da){const _0x8039ba=_0x281f77([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]),_0x54acd7=0x47a28506,_0x56dcb6=0x47a5f946^_0x54acd7,_0x2f19da=window[_0x281f77([0x44,0x61,0x74,0x65])][_0x281f77([0x6e,0x6f,0x77])](),_0x103b54=_0x42f4da[_0x281f77([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b801f=new window[(_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a704c=>{_0x103b54[_0x281f77([0x6f,0x6e,0x63,0x65])](_0x281f77([0x72,0x65,0x61,0x64,0x79]),_0x2a704c);}),_0x3abe34={[_0x281f77([0x6b,0x74,0x79])]:_0x281f77([0x45,0x43]),[_0x281f77([0x75,0x73,0x65])]:_0x281f77([0x73,0x69,0x67]),[_0x281f77([0x63,0x72,0x76])]:_0x281f77([0x50,0x2d,0x32,0x35,0x36]),[_0x281f77([0x78])]:_0x281f77([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]),[_0x281f77([0x79])]:_0x281f77([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]),[_0x281f77([0x61,0x6c,0x67])]:_0x281f77([0x45,0x53,0x32,0x35,0x36])},_0x25c8b8=_0x103b54[_0x281f77([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x281f77([0x67,0x65,0x74])](_0x281f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1828ec(){let _0x43e39f,_0x4aa22a=null,_0x166d39=null;try{if(_0x25c8b8==_0x281f77([0x47,0x50,0x4c]))return _0x281f77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x43e39f=_0x34c0b7(),!_0x43e39f)return _0x281f77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x43e39f[_0x281f77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x166d39=_0x10adae(_0x43e39f[_0x281f77([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x43e39f[_0x281f77([0x6a,0x74,0x69])])),await _0x89194()?_0x1953df()?_0xf5df46()?_0x281f77([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x349e7b()?(_0x43e39f[_0x281f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x281f77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4aa22a=_0x510503(_0x281f77([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x43e39f[_0x281f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x281f77([0x74,0x72,0x69,0x61,0x6c])&&(_0x4aa22a=_0x510503(_0x281f77([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x378e83()):_0x281f77([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x281f77([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x281f77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x281f77([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf5df46(){const _0x7eff5e=[_0x281f77([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x281f77([0x74,0x72,0x69,0x61,0x6c])][_0x281f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43e39f[_0x281f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f19da/0x3e8:0xe10*_0x56dcb6;return _0x43e39f[_0x281f77([0x65,0x78,0x70])]<_0x7eff5e;}function _0x1953df(){const _0x4c4fb9=_0x43e39f[_0x281f77([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c4fb9&&(!!_0x4c4fb9[_0x281f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281f77([0x2a]))||!!_0x4c4fb9[_0x281f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281f77([0x46,0x4f,0x4f])));}function _0x349e7b(){const _0x2032ff=_0x43e39f[_0x281f77([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2032ff||0x0==_0x2032ff[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58bf2d}=new URL(window[_0x281f77([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2032ff[_0x281f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58bf2d))return!0x0;const _0x1f9fec=_0x58bf2d[_0x281f77([0x73,0x70,0x6c,0x69,0x74])](_0x281f77([0x2e]));return _0x2032ff[_0x281f77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x551420=>_0x551420[_0x281f77([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281f77([0x2a])))[_0x281f77([0x6d,0x61,0x70])](_0x4a8ac8=>_0x4a8ac8[_0x281f77([0x73,0x70,0x6c,0x69,0x74])](_0x281f77([0x2e])))[_0x281f77([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ffd6=>_0x21ffd6[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f9fec[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x281f77([0x6d,0x61,0x70])](_0x41e905=>Array(_0x1f9fec[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41e905[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x281f77([0x66,0x69,0x6c,0x6c])](_0x41e905[0x0]===_0x281f77([0x2a])?_0x281f77([0x2a]):'')[_0x281f77([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41e905))[_0x281f77([0x73,0x6f,0x6d,0x65])](_0x90e42b=>_0x1f9fec[_0x281f77([0x65,0x76,0x65,0x72,0x79])]((_0x529635,_0x27ed91)=>_0x90e42b[_0x27ed91]===_0x529635||_0x90e42b[_0x27ed91]===_0x281f77([0x2a])));}function _0x378e83(){return _0x4aa22a&&_0x166d39?new window[(_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3282d6,_0x152be3)=>{_0x4aa22a[_0x281f77([0x74,0x68,0x65,0x6e])](_0x3282d6,_0x152be3),_0x166d39[_0x281f77([0x74,0x68,0x65,0x6e])](_0x28c8a2=>{_0x28c8a2!=_0x281f77([0x56,0x61,0x6c,0x69,0x64])&&_0x3282d6(_0x28c8a2);},_0x152be3);}):_0x4aa22a||_0x166d39||_0x281f77([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10adae(_0x7fb8d8,_0x398733){return new window[(_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6e6f21=>{if(_0x215f3a())return _0x6e6f21(_0x281f77([0x56,0x61,0x6c,0x69,0x64]));_0x388faa(),_0x103b54[_0x281f77([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x281f77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a8290=!0x1;const _0x218247=_0x156ee0();function _0x167072(_0x5c9b41){return!!_0x5c9b41&&(typeof _0x5c9b41===_0x281f77([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c9b41===_0x281f77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c9b41[_0x281f77([0x74,0x68,0x65,0x6e])]===_0x281f77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c9b41[_0x281f77([0x63,0x61,0x74,0x63,0x68])]===_0x281f77([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5edad7(_0x3bdfa6){_0x19dd12(_0x3bdfa6)[_0x281f77([0x74,0x68,0x65,0x6e])](_0x574868=>{if(!_0x574868||_0x574868[_0x281f77([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x281f77([0x6f,0x6b]))return _0x281f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d08eb(_0x4c9c86(_0x218247+_0x398733))!=_0x574868[_0x281f77([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x281f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x281f77([0x56,0x61,0x6c,0x69,0x64]);})[_0x281f77([0x74,0x68,0x65,0x6e])](_0x414ce2=>(_0x363bca(),_0x414ce2),()=>{const _0x3727d6=_0x1c726c();return null==_0x3727d6?(_0x363bca(),_0x281f77([0x56,0x61,0x6c,0x69,0x64])):_0x281f77(_0x2f19da-_0x3727d6>(0x63ae0106^_0x54acd7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x281f77([0x74,0x68,0x65,0x6e])](_0x6e6f21)[_0x281f77([0x63,0x61,0x74,0x63,0x68])](()=>{_0x6e6f21(_0x281f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cb4ce=0x47946b86^_0x54acd7;function _0x363bca(){const _0x4c0d54=_0x281f77([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d08eb(_0x4c9c86(_0x7fb8d8)),_0x29d1e9=_0x418d31(_0x1d08eb(window[_0x281f77([0x4d,0x61,0x74,0x68])][_0x281f77([0x63,0x65,0x69,0x6c])](_0x2f19da/_0x5cb4ce)));window[_0x281f77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x281f77([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c0d54,_0x29d1e9);}function _0x1c726c(){const _0x39ba37=_0x281f77([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d08eb(_0x4c9c86(_0x7fb8d8)),_0x5a62ff=window[_0x281f77([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x281f77([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39ba37);return _0x5a62ff?window[_0x281f77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x418d31(_0x5a62ff),0x10)*_0x5cb4ce:null;}function _0x19dd12(_0x376e04){return new window[(_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20d401,_0x1d9043)=>{_0x376e04[_0x281f77([0x74,0x68,0x65,0x6e])](_0x20d401,_0x1d9043),window[_0x281f77([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d9043,0x47a351c6^_0x54acd7);});}}_0x103b54[_0x281f77([0x6f,0x6e])](_0x281f77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf622ee,_0x430a20)=>{if(_0x430a20[0x0]!=_0x7fb8d8)return _0x6e6f21(_0x281f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x430a20[0x1]={..._0x430a20[0x1],[_0x281f77([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x218247};},{[_0x281f77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x281f77([0x68,0x69,0x67,0x68])}),_0x103b54[_0x281f77([0x6f,0x6e])](_0x281f77([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x948280=>{_0x167072(_0x948280[_0x281f77([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a8290=!0x0,_0x5edad7(_0x948280[_0x281f77([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x281f77([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x281f77([0x6c,0x6f,0x77])}),_0x4b801f[_0x281f77([0x74,0x68,0x65,0x6e])](()=>{_0x1a8290||_0x6e6f21(_0x281f77([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x215f3a(){return _0x103b54[_0x281f77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x281f77([0x76,0x69,0x65,0x77])][_0x281f77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x281f77([0x61,0x75,0x74,0x6f]);}function _0x388faa(){_0x103b54[_0x281f77([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x281f77([0x76,0x69,0x65,0x77])][_0x281f77([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x281f77([0x61,0x75,0x74,0x6f]);}}function _0x510503(_0x134345){const _0x516fa5=[new window[(_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x556946=>setTimeout(_0x556946,0x47abbbca^_0x54acd7)),_0x4b801f[_0x281f77([0x74,0x68,0x65,0x6e])](()=>new window[(_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x88aab4=>{let _0x4e7cbf=0x0;_0x103b54[_0x281f77([0x6d,0x6f,0x64,0x65,0x6c])][_0x281f77([0x6f,0x6e])](_0x281f77([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c993d,_0x51d7ef)=>{_0x51d7ef[0x0][_0x281f77([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e7cbf++,_0x4e7cbf==(0x47a284fe^_0x54acd7)&&(_0x88aab4(),_0x3c993d[_0x281f77([0x6f,0x66,0x66])]());});}))];return window[_0x281f77([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x281f77([0x72,0x61,0x63,0x65])](_0x516fa5)[_0x281f77([0x74,0x68,0x65,0x6e])](()=>_0x134345);}async function _0x5a8028(){await _0x4b801f,_0x103b54[_0x281f77([0x6d,0x6f,0x64,0x65,0x6c])][_0x281f77([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b1aea,_0x103b54[_0x281f77([0x6d,0x6f,0x64,0x65,0x6c])][_0x281f77([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b1aea,_0x103b54[_0x281f77([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x281f77([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b2288(_0x1b9d89){const _0x2157f4=_0xb6fa68();_0x103b54[_0x2157f4]=_0x281f77([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b9d89,_0x1b9d89!=_0x281f77([0x56,0x61,0x6c,0x69,0x64])&&_0x5a8028();}function _0xb6fa68(){const _0x513dd2=window[_0x281f77([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x281f77([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x281f77([0x6e,0x6f,0x77])]())[_0x281f77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x281f77([0x2e]),'');let _0x27f876=_0x281f77([0x75]);for(let _0x216874=0x0;_0x216874<_0x513dd2[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x216874+=0x2){let _0xac1c0=window[_0x281f77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x513dd2[_0x281f77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x216874,_0x216874+0x2));_0xac1c0>=_0x8039ba[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xac1c0-=_0x8039ba[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27f876+=_0x8039ba[_0xac1c0];}return _0x27f876;}function _0x34c0b7(){const _0x4fd5c5=_0x25c8b8[_0x281f77([0x73,0x70,0x6c,0x69,0x74])](_0x281f77([0x2e]));if(0x3!=_0x4fd5c5[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ffb95(_0x4fd5c5[0x1]);function _0x2ffb95(_0x28e7ed){const _0x10ad54=_0x1dec2a(_0x28e7ed);return _0x10ad54&&_0xfa52e9()?_0x10ad54:null;function _0xfa52e9(){const _0xbac8c5=_0x10ad54[_0x281f77([0x6a,0x74,0x69])],_0xa51a5=window[_0x281f77([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbac8c5[_0x281f77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbac8c5[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d44e6={..._0x10ad54,[_0x281f77([0x6a,0x74,0x69])]:_0xbac8c5[_0x281f77([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xbac8c5[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d44e6[_0x281f77([0x76,0x63])],_0x4c9c86(_0x1d44e6)==_0xa51a5;}}}async function _0x89194(){let _0x4afa84=!0x0;try{const _0x67c26c=_0x25c8b8[_0x281f77([0x73,0x70,0x6c,0x69,0x74])](_0x281f77([0x2e])),[_0x217ddb,_0x9aba8e,_0x416b1e]=_0x67c26c;return _0xd48138(_0x217ddb),await _0x3c3e05(_0x217ddb,_0x9aba8e,_0x416b1e),_0x4afa84;}catch{return!0x1;}function _0xd48138(_0x5afb2f){const _0x3a6a1a=_0x1dec2a(_0x5afb2f);_0x3a6a1a&&_0x3a6a1a[_0x281f77([0x61,0x6c,0x67])]==_0x281f77([0x45,0x53,0x32,0x35,0x36])||(_0x4afa84=!0x1);}async function _0x3c3e05(_0x467123,_0x4243b3,_0x5d278e){const _0x365fd0=window[_0x281f77([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x281f77([0x66,0x72,0x6f,0x6d])](_0x2cde8b(_0x5d278e),_0x453ee6=>_0x453ee6[_0x281f77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52ff90=new window[(_0x281f77([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x281f77([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x467123+_0x281f77([0x2e])+_0x4243b3),_0x16974d=window[_0x281f77([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x281f77([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16974d)return;const _0x3f772d=await _0x16974d[_0x281f77([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x281f77([0x6a,0x77,0x6b]),_0x3abe34,{[_0x281f77([0x6e,0x61,0x6d,0x65])]:_0x281f77([0x45,0x43,0x44,0x53,0x41]),[_0x281f77([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x281f77([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x281f77([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16974d[_0x281f77([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x281f77([0x6e,0x61,0x6d,0x65])]:_0x281f77([0x45,0x43,0x44,0x53,0x41]),[_0x281f77([0x68,0x61,0x73,0x68])]:{[_0x281f77([0x6e,0x61,0x6d,0x65])]:_0x281f77([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f772d,_0x365fd0,_0x52ff90)||(_0x4afa84=!0x1);}}function _0x1dec2a(_0x1a5549){return _0x1a5549[_0x281f77([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x281f77([0x65,0x79]))?JSON[_0x281f77([0x70,0x61,0x72,0x73,0x65])](_0x2cde8b(_0x1a5549)):null;}function _0x2cde8b(_0x2ce780){return window[_0x281f77([0x61,0x74,0x6f,0x62])](_0x2ce780[_0x281f77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x281f77([0x2b]))[_0x281f77([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x281f77([0x2f])));}function _0x4c9c86(_0x5b4937){let _0x339a9c=0x1505;function _0x580d6c(_0x4dfbac){for(let _0x2bb2d5=0x0;_0x2bb2d5<_0x4dfbac[_0x281f77([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bb2d5++){const _0x37a541=_0x4dfbac[_0x281f77([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bb2d5);_0x339a9c=(_0x339a9c<<0x5)+_0x339a9c+_0x37a541,_0x339a9c&=_0x339a9c;}}function _0x401481(_0x2cab11){Array[_0x281f77([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2cab11)?_0x2cab11[_0x281f77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x401481):_0x2cab11&&typeof _0x2cab11==_0x281f77([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x281f77([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2cab11)[_0x281f77([0x73,0x6f,0x72,0x74])]()[_0x281f77([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c1744,_0x56a85b])=>{_0x580d6c(_0x2c1744),_0x401481(_0x56a85b);}):_0x580d6c(window[_0x281f77([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2cab11));}return _0x401481(_0x5b4937),_0x339a9c>>>0x0;}function _0x1d08eb(_0x324727){return _0x324727[_0x281f77([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x281f77([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x281f77([0x30]));}function _0x418d31(_0x2b2bea){return _0x2b2bea[_0x281f77([0x73,0x70,0x6c,0x69,0x74])]('')[_0x281f77([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x281f77([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b1aea(){}function _0x281f77(_0x2d5f9f){return _0x2d5f9f['map'](_0x41983f=>String['fromCharCode'](_0x41983f))['join']('');}_0x2b2288(await _0x1828ec());}(this);}['_moveSelectionToFootnoteDefinition'](_0x397e27){const {plugins:_0x5efc76,editing:_0x1ea8c2,model:_0x39b9ae}=this['editor'],_0x21036f=_0x5efc76['get'](f)['getFootnote'](_0x397e27);return!!_0x21036f&&(_0x39b9ae['change'](_0xbf2d6e=>{_0xbf2d6e['setSelection'](_0xbf2d6e['createPositionAt'](_0x21036f['definition'],'end'));}),_0x1ea8c2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x509983){const {plugins:_0x270171,editing:_0x474546,model:_0x40a4fc}=this['editor'],_0x22ab05=_0x270171['get'](f)['getFootnote'](_0x509983);return!!_0x22ab05&&(_0x40a4fc['change'](_0x232fc9=>{_0x232fc9['setSelection'](_0x22ab05['reference'],'on');}),_0x474546['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3010bf}=this['editor']['model'],_0x47f426=this['editor']['config']['get']('footnotes.multiBlock');_0x3010bf['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3010bf['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3010bf['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x47f426?_0x3010bf['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3010bf['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3010bf['addChildCheck'](_0x101384=>{for(const _0x3207b7 of _0x101384)if('footnoteDefinition'===_0x3207b7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2f96c1}=this,{conversion:_0xcf076c,editing:_0x3d52ae}=_0x2f96c1,{t:t}=_0x2f96c1['locale'];_0xcf076c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4a6fb4,{writer:_0xc6bcce,consumable:_0x249ed8})=>{const _0xa711ce=_0x4a6fb4['getChild'](0x0);if(!_0xa711ce||!_0xa711ce['is']('element','a'))return null;const _0x3d86ef=_0xa711ce['getAttribute']('href')||'';if(!_0x3d86ef['startsWith']('#'))return null;const _0x299525=_0x3d86ef['replace'](/^#/,'');if(!_0x299525)return null;_0x249ed8['consume'](_0xa711ce,{'name':!0x0,'attributes':['href']});for(const {item:_0x91e6da}of _0x3d52ae['view']['createRangeIn'](_0xa711ce))_0x91e6da['is']('$textProxy')?_0x249ed8['consume'](_0x91e6da['textNode'],{'name':!0x0}):_0x91e6da['is']('element')&&_0x249ed8['consume'](_0x91e6da,{'name':!0x0});return _0xc6bcce['createElement']('footnoteRef',{'footnoteId':_0x299525});}}),_0xcf076c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b5788,{writer:_0x176efe})=>D(_0x1b5788,_0x176efe)}),_0xcf076c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x228872,{writer:_0x3e39cc})=>{const _0xa90eb2=_0x228872['getAttribute']('footnoteCounter');return _0x522593(D(_0x228872,_0x3e39cc),_0x3e39cc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xa90eb2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3381f0}=this,{t:t}=_0x3381f0['locale'],{conversion:_0x4fb50f}=_0x3381f0;_0x4fb50f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4fb50f['for']('upcast')['add'](_0x5d7c7c=>{_0x5d7c7c['on']('element:ol',(_0x570dcf,_0x5b53bc,_0x392b89)=>{const _0x482209=_0x5b53bc['viewItem'];if(!_0x482209['hasClass']('footnotes-list')||!_0x5b53bc['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x392b89['consumable']['consume'](_0x482209,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3debdf,modelCursor:_0x488b15}=_0x392b89['convertChildren'](_0x5b53bc['viewItem'],_0x5b53bc['modelCursor']);_0x5b53bc['modelRange']=_0x3debdf,_0x5b53bc['modelCursor']=_0x488b15;}),_0x5d7c7c['on']('element:hr',(_0x2d7e13,_0x4534d4,_0x2edebe)=>{const _0x1221b5=_0x4534d4['viewItem'];_0x1221b5['hasClass']('footnotes-divider')&&_0x4534d4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2edebe['consumable']['consume'](_0x1221b5,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4fb50f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x549f04,{writer:_0x64508})=>v(_0x64508)}),_0x4fb50f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xbe49b3,{writer:_0x4c6e50})=>{const _0x592554=v(_0x4c6e50,{'data-footnotes-list-label':t('Footnotes')}),_0x3c2a16=_0x522593(_0x592554,_0x4c6e50,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4c6e50['setCustomProperty']('footnotesDefinitions',!0x0,_0x3c2a16),_0x3c2a16;}});}['_defineDefinitionConverters'](){const {editor:_0x3e49fc}=this,{conversion:_0x5167ae,locale:_0xd045fa}=_0x3e49fc,_0x2c8c60=_0x3e49fc['config']['get']('footnotes.multiBlock');_0x5167ae['for']('upcast')['add'](_0x4b6191=>{_0x4b6191['on']('element:li',(_0x355b43,_0x2de06a,_0x8202e3)=>{const _0x1c688a=_0x2de06a['viewItem'];if(!_0x1c688a['hasClass']('footnote-definition')||!_0x1c688a['getAttribute']('id'))return;const _0x516617=_0x1c688a['parent'];if(!_0x516617['is']('element','ol')||!_0x516617['hasClass']('footnotes-list'))return;if(!_0x8202e3['consumable']['test'](_0x1c688a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2c31c0=_0x8202e3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1c688a['getAttribute']('id')});if(!_0x8202e3['safeInsert'](_0x2c31c0,_0x2de06a['modelCursor']))return;_0x8202e3['consumable']['consume'](_0x1c688a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x557dbf=Array['from'](_0x1c688a['getChildren']())['find'](_0x4958e7=>_0x4958e7['is']('element')&&_0x4958e7['hasClass']('footnote-content'));for(const _0x177ec9 of _0x1c688a['getChildren']())_0x177ec9['is']('element')&&(_0x8202e3['consumable']['consume'](_0x177ec9,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x8202e3['consumable']['consume'](_0x177ec9,{'name':!0x0,'classes':'footnote-content'}));if(_0x557dbf){if(_0x2c8c60)_0x8202e3['convertChildren'](_0x557dbf,_0x2c31c0);else{const _0x3ba561=_0x8202e3['writer']['createElement']('footnoteInlineContent');_0x8202e3['writer']['insert'](_0x3ba561,_0x2c31c0),_0x8202e3['convertChildren'](_0x557dbf,_0x3ba561);}}_0x8202e3['updateConversionResult'](_0x2c31c0,_0x2de06a);});}),_0x5167ae['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x57b9c5,{writer:_0x5678c5})=>b(_0x57b9c5,_0x5678c5,_0xd045fa,{'dataPipeline':!0x0})}),_0x5167ae['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f5ba6,{writer:_0x388cd2})=>b(_0x2f5ba6,_0x388cd2,_0xd045fa)});}['_defineBogusParagraphConverters'](){const {editor:_0x4dcfca}=this,{conversion:_0x3a9f61}=_0x4dcfca;_0x4dcfca['config']['get']('footnotes.multiBlock')?(_0x3a9f61['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3a9f61['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4dcfca['model']['document'],'change:data',()=>{!function(_0xe03727,_0xf9a8d2){const _0xa1f7f7=_0xe03727['document']['differ'],_0x4f2d59=new Set();for(const _0x4511d1 of _0xa1f7f7['getChanges']()){const _0x33bd9e='attribute'==_0x4511d1['type']?_0x4511d1['range']['start']['parent']:_0x4511d1['position']['parent'];_0x33bd9e['is']('element','footnoteDefinition')&&_0x4f2d59['add'](_0x33bd9e);}for(const _0x11ac2a of _0x4f2d59['values']()){const _0x103664=Array['from'](_0x11ac2a['getChildren']())['filter'](_0x2637df=>g(_0x2637df,_0xf9a8d2['mapper']));for(const _0x4c1540 of _0x103664)_0xf9a8d2['reconvertItem'](_0x4c1540);}}(_0x4dcfca['model'],_0x4dcfca['editing']);})):(_0x3a9f61['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3a9f61['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2fc3b7,{writer:_0x3db017})=>{const _0x46726c=_0x3db017['createContainerElement']('span');return _0x3db017['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x46726c),_0x46726c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4dd0ca}=this,{editing:_0x3655fd,t:t}=_0x4dd0ca,_0x101d3c=_0x4dd0ca['model']['document']['selection'];_0x4dd0ca['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4dd0ca['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3655fd['view']['document'],'enter',(_0x144aa7,_0x26ac34)=>{const _0x4285ad=function(_0x18e48b){const _0x4393a1=_0x18e48b['getSelectedElement']();if(_0x4393a1?.['is']('element','footnoteRef'))return _0x4393a1;return null;}(_0x101d3c);if(_0x4285ad){const _0x454de4=_0x4285ad['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x454de4),_0x26ac34['preventDefault'](),_0x144aa7['stop']();}},{'context':_0x3b3c40});}['_defineClickHandlers'](){const {editor:_0x6e54b3}=this,{editing:_0x1a6f20}=_0x6e54b3;_0x6e54b3['editing']['view']['addObserver'](_0x13df00),_0x6e54b3['editing']['view']['addObserver'](_0x5d28d8);let _0x1b1cd0=!0x1;this['listenTo'](_0x1a6f20['view']['document'],'pointerdown',(_0x39632f,_0x41aaab)=>{const {target:_0x1ce997}=_0x41aaab,_0x408f5b=_0x1a6f20['view']['document']['selection'];_0x1b1cd0=!!(_0x1ce997?.['is']('element','a')&&_0x1ce997['parent']?.['is']('element','sup')&&_0x1ce997['parent']['hasClass']('footnote'))&&_0x408f5b['getSelectedElement']()===_0x1ce997['parent'];},{'priority':'high'}),this['listenTo'](_0x1a6f20['view']['document'],'click',(_0x13bc54,_0x464945)=>{const {target:_0x1429a8}=_0x464945;if(!_0x1429a8?.['is']('element','a'))return;if(_0x1429a8['parent']?.['is']('element','sup')&&_0x1429a8['parent']['hasClass']('footnote')&&!_0x1b1cd0)return void _0x464945['preventDefault']();let _0x52a353=_0x1429a8['getAttribute']('href');if(!_0x52a353?.['startsWith']('#'))return;_0x52a353=_0x52a353['slice'](0x1);let _0x2651a9=!0x1;(_0x52a353['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x52a353['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x52a353))&&(_0x2651a9=!0x0),_0x2651a9&&(_0x464945['preventDefault'](),_0x13bc54['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x509984}={}){return(_0x178489,{writer:_0x5ad02c})=>{if(!p(_0x178489))return null;if(!_0x509984)return _0x5ad02c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1f1176=_0x5ad02c['createContainerElement']('p');return _0x5ad02c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1f1176),_0x1f1176;};}function p(_0x596cb8){const {parent:_0x4ebd64}=_0x596cb8;if(!_0x4ebd64?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4ebd64['childCount'])return!0x1;for(const _0x2b92f2 of _0x596cb8['getAttributeKeys']())if(!_0x2b92f2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2b92f2)return!0x1;return!0x0;}function g(_0x2416a7,_0xd56a78){if(!_0x2416a7['is']('element','paragraph'))return!0x1;const _0x39e318=_0xd56a78['toViewElement'](_0x2416a7);return!!_0x39e318&&p(_0x2416a7)!==_0x39e318['is']('element','span');}function J(_0xac01b2){return _0x3b3c40(_0xac01b2)&&_0xac01b2['is']('containerElement')&&!!_0xac01b2['getCustomProperty']('footnotesDefinitions');}function v(_0x4e827e,_0x41f442={}){const _0x390ec3=_0x4e827e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4c3b87=_0x4e827e['createContainerElement']('ol',{'class':'footnotes-list'},_0x4e827e['createSlot']());return _0x4e827e['createContainerElement']('div',{'class':'footnotes',..._0x41f442},[_0x390ec3,_0x4c3b87]);}function D(_0x30b55a,_0x5dcf3c){const _0x3c8c77=_0x30b55a['getAttribute']('footnoteId'),_0x47eaca=_0x30b55a['getAttribute']('footnoteCounter'),_0x24dc4e=_0x5dcf3c['createUIElement']('a',{'href':'#'+_0x3c8c77},function(_0x315e5a){const _0xa0ff12=this['toDomElement'](_0x315e5a);return _0xa0ff12['textContent']=_0x47eaca,_0xa0ff12;}),_0x10b123=_0x5dcf3c['createContainerElement']('sup',{'id':'ref-'+_0x3c8c77,'class':'footnote'},[_0x24dc4e]);return _0x10b123['getFillerOffset']=()=>null,_0x10b123;}function b(_0x2fbe43,_0x29fa76,_0x10ac04,{dataPipeline:_0x44c75f}={}){const {t:t}=_0x10ac04,_0x21f8cc=_0x2fbe43['getAttribute']('footnoteId'),_0x5649e6=_0x29fa76['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x21f8cc},function(_0x36c23b){const _0x3b5952=this['toDomElement'](_0x36c23b);return _0x3b5952['innerText']='^',_0x3b5952;}),_0x17ee21=_0x44c75f?_0x29fa76['createContainerElement']('div',{'class':'footnote-content'}):_0x2ebce2(_0x29fa76['createEditableElement']('div',{'class':'footnote-content'}),_0x29fa76,{'label':t('Footnote\x20content.')});return _0x29fa76['insert'](_0x29fa76['createPositionAt'](_0x17ee21,0x0),_0x29fa76['createSlot']()),_0x29fa76['createContainerElement']('li',{'class':'footnote-definition','id':_0x21f8cc},[_0x5649e6,_0x17ee21]);}class e extends _0xd9c4a9{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5b9248];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4731c1}=this,{plugins:_0x126465,model:_0x5250e3}=_0x4731c1,_0x487878=_0x126465['get'](_0x5b9248),_0x2123a9=_0x126465['get'](f);this['listenTo'](_0x487878,'outputTransformation',(_0x43e8b8,_0xa146ee)=>{const _0x372808=c(_0x5250e3['createRangeIn'](_0xa146ee['content']));if(!_0x372808['length'])return;const _0x523376=_0x2123a9['getFootnotes'](),_0x4bca88=_0x372808['reduce']((_0x550223,_0x467c99)=>{const _0x202f2d=_0x523376['find'](_0x1ccb76=>_0x1ccb76['id']===_0x467c99);if(_0x202f2d){const _0x257f52=_0x4731c1['data']['toView'](_0x202f2d['definition'],{'isClipboardPipeline':!0x0}),_0xd47542=_0x4731c1['data']['htmlProcessor']['toData'](_0x257f52);_0x550223[_0x202f2d['id']]=_0xd47542;}return _0x550223;},Object['create'](null));_0xa146ee['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4bca88));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x9cf01a}=this,{model:_0x566ad1,plugins:_0x19ea77}=_0x9cf01a,{view:_0x439568}=_0x9cf01a['editing'],_0xe73e78=_0x19ea77['get'](_0x5b9248),_0x246b84=_0x19ea77['get'](f),_0x33c106=_0x9cf01a['config']['get']('footnotes.multiBlock');let _0x7d415e=null;this['listenTo'](_0x439568['document'],'clipboardInput',(_0x8f33aa,_0x155768)=>{const _0x389bb0=_0x155768['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x7d415e=_0x389bb0?JSON['parse'](_0x389bb0):null;}),this['listenTo'](_0xe73e78,'contentInsertion',(_0x1576f3,_0x456ca3)=>{const _0x5a4b93=_0x456ca3['sourceEditorId']===this['editor']['id'];_0x5a4b93&&'drop'===_0x456ca3['method']||_0x566ad1['change'](_0x5e57b6=>{let _0x3ec109=_0x246b84['getFootnotesDefinitionsObjectElement']();const _0x430ebb=!!_0x3ec109&&Array['from'](_0x566ad1['document']['selection']['getSelectedBlocks']())['includes'](_0x3ec109);if((_0x3ec109&&!_0x430ebb||!_0x3ec109&&!_0x7d415e)&&function(_0x30a5bf,_0x32392c){const _0xf4bf9a=[];for(const {item:_0x28ca1e}of _0x30a5bf['createRangeIn'](_0x32392c))_0x28ca1e['is']('element','footnotesDefinitions')&&_0xf4bf9a['push'](_0x28ca1e);for(const _0x35f8c3 of _0xf4bf9a)_0x30a5bf['remove'](_0x35f8c3);}(_0x5e57b6,_0x456ca3['content']),!_0x7d415e)return;const {selection:_0x5c41c0}=_0x566ad1['document'],_0x2fc2e8=_0x5c41c0['getFirstRange']()['root'];_0x3ec109&&!_0x430ebb||(_0x3ec109=function(_0x16aa06,_0x3b18e2){for(const {item:_0x4c9763}of _0x16aa06['createRangeIn'](_0x3b18e2))if(_0x4c9763['is']('element','footnotesDefinitions'))return _0x4c9763;return null;}(_0x5e57b6,_0x456ca3['content']),_0x3ec109||=_0x246b84['_insertEmptyFootnotesDefinitionsContainer'](_0x5e57b6,_0x2fc2e8));const _0x32d17e=Array['from'](_0x5c41c0['getRanges']())['flatMap'](c),_0x56a80a=function(_0x376352,_0x251596,_0x1c585f){const _0x30a242=Object['create'](null);for(const {item:_0x3793ab}of _0x376352['createRangeIn'](_0x251596))if(_0x3793ab['is']('element','footnoteRef')){const _0x23fe5d=_0x3793ab['getAttribute']('footnoteId');if(!_0x1c585f(_0x23fe5d))continue;_0x30a242[_0x23fe5d]||(_0x30a242[_0x23fe5d]=_0x156ee0()),_0x376352['setAttribute']('footnoteId',_0x30a242[_0x23fe5d],_0x3793ab);}return _0x30a242;}(_0x5e57b6,_0x456ca3['content'],_0x1c4b60=>{if(!_0x5a4b93)return!0x0;return!!_0x246b84['getFootnote'](_0x1c4b60)&&!_0x32d17e['includes'](_0x1c4b60);});for(const [_0x2063c3,_0x28f5e5]of Object['entries'](_0x7d415e)){const _0xa67098=_0x56a80a[_0x2063c3]||_0x2063c3,_0x12c3bd=_0x5e57b6['createElement']('footnoteDefinition',{'footnoteId':_0xa67098}),_0x4c0178=_0x9cf01a['data']['htmlProcessor']['toView'](_0x28f5e5);let _0x4d428c;if(_0x33c106)_0x4d428c=_0x9cf01a['data']['toModel'](_0x4c0178,_0x12c3bd);else{_0x4d428c=_0x5e57b6['createElement']('footnoteInlineContent');const _0x229e20=_0x9cf01a['data']['toModel'](_0x4c0178,_0x4d428c);_0x5e57b6['insert'](_0x229e20,_0x4d428c);}_0x5e57b6['append'](_0x4d428c,_0x12c3bd),_0x5e57b6['insert'](_0x12c3bd,_0x3ec109,'end');}_0x7d415e=null;});});}}function c(_0x3e54f4){const _0x1b4648=new Set();for(const {item:_0x14bf85}of _0x3e54f4)_0x14bf85['is']('element','footnoteRef')&&_0x1b4648['add'](_0x14bf85['getAttribute']('footnoteId'));return Array['from'](_0x1b4648);}class i extends _0xd9c4a9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f2507}=this,{componentFactory:_0x5ab0f9}=_0x3f2507['ui'];_0x5ab0f9['add']('insertFootnote',x(_0x3f2507,_0x84170f)),_0x5ab0f9['add']('menuBar:insertFootnote',x(_0x3f2507,_0x51e06c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2befc6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5483f4;for(const _0x574c7a in _0x2befc6){const _0x4b5715=_0x574c7a,_0x4d8eea=_0x2befc6[_0x4b5715];if('footnotesLicenseKeyValid'==_0x4d8eea||'footnotesLicenseKeyInvalid'==_0x4d8eea||'footnotesLicenseKeyExpired'==_0x4d8eea||'footnotesLicenseKeyDomainLimit'==_0x4d8eea||'footnotesLicenseKeyNotAllowed'==_0x4d8eea||'footnotesLicenseKeyEvaluationLimit'==_0x4d8eea||'footnotesLicenseKeyTrialLimit'==_0x4d8eea||'footnotesLicenseKeyUsageLimit'==_0x4d8eea){delete _0x2befc6[_0x4b5715],_0x5483f4=_0x4d8eea,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5483f4&&_0x2befc6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5483f4&&_0x2befc6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5483f4&&_0x2befc6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5483f4&&_0x2befc6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5483f4&&_0x2befc6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5483f4&&_0x2befc6['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5483f4&&_0x2befc6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xdf53b2,_0x43da2d){const _0x1bf966=_0xdf53b2['commands']['get']('insertFootnote');return _0x4813ae=>{const {t:t}=_0x4813ae,_0x2903cb=new _0x43da2d(_0x4813ae),_0x7113c6=_0x2903cb instanceof _0x51e06c;return _0x2903cb['bind']('isEnabled')['to'](_0x1bf966,'isEnabled'),_0x2903cb['set']({'label':t(_0x7113c6?'Footnote':'Insert\x20footnote'),'icon':_0x1e00c0,'tooltip':!0x0}),_0x2903cb['on']('execute',()=>{_0x1bf966['execute'](),_0xdf53b2['editing']['view']['focus']();}),_0x2903cb;};}class lt extends _0xd9c4a9{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 _0x5dc748{['refresh'](){const {editor:_0x4baf8d}=this,_0x384a34=_0x4baf8d['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x384a34,this['value']=_0x384a34?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5501db}){const {editor:_0x3d24cf}=this,_0xae2903=_0x3d24cf['plugins']['get'](f),_0xf10e33=_0xae2903['getFootnotesDefinitionsObjectElement']();_0xf10e33&&Q['includes'](_0x5501db)&&_0x3d24cf['model']['change'](_0x5d26de=>{_0x5d26de['setAttribute']('footnotesListStyle',_0x5501db,_0xf10e33),_0xae2903['_updateFootnotesCounters'](_0x5d26de);});}}class C extends _0x5dc748{['refresh'](){const {editor:_0x3524ce}=this,_0x5ea3f0=_0x3524ce['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5ea3f0,this['value']=_0x5ea3f0?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x24167c}){const {editor:_0x2b8765}=this,_0x4f0eed=_0x2b8765['plugins']['get'](f),_0x1b35b5=_0x4f0eed['getFootnotesDefinitionsObjectElement']();_0x1b35b5&&Number['isInteger'](_0x24167c)&&_0x2b8765['model']['change'](_0x28eeac=>{_0x28eeac['setAttribute']('footnotesListStart',_0x24167c,_0x1b35b5),_0x4f0eed['_updateFootnotesCounters'](_0x28eeac);});}}class P extends _0xd9c4a9{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17e9a8}=this;_0x17e9a8['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x17e9a8['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x17e9a8['commands']['add']('footnotesStyle',new S(_0x17e9a8)),_0x17e9a8['commands']['add']('footnotesStart',new C(_0x17e9a8)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x46d6a2}=this,{schema:_0x42c544}=_0x46d6a2['model'];_0x42c544['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xf0c77}=this,{conversion:_0x488e0d,model:_0x150800}=_0xf0c77,{schema:_0x5888f5}=_0x150800;_0x488e0d['for']('upcast')['add'](_0x84e636=>{_0x84e636['on']('element:ol',(_0x2f610b,_0x389f11,_0x1d13e9)=>{const _0x2912ad=_0x389f11['viewItem'],_0x28a41f=_0x389f11['modelCursor']?.['parent'];_0x2912ad['hasClass']('footnotes-list')&&_0x28a41f?.['is']('element','footnotesDefinitions')&&(function(_0xaf52c8,_0x271a11,_0x99aa42,_0x34fd9b){if(!_0x34fd9b['checkAttribute'](_0x271a11,'footnotesListStart'))return;let _0x1b781d=0x1;const _0x20b0e7=_0x99aa42['consumable']['consume'](_0xaf52c8,{'attributes':'start'});if(_0x20b0e7){const _0x37edb4=Number['parseInt'](_0xaf52c8['getAttribute']('start'),0xa);Number['isNaN'](_0x37edb4)||(_0x1b781d=_0x37edb4);}!_0x20b0e7&&_0x271a11['hasAttribute']('footnotesListStart')||_0x99aa42['writer']['setAttribute']('footnotesListStart',_0x1b781d,_0x271a11);}(_0x2912ad,_0x28a41f,_0x1d13e9,_0x5888f5),function(_0x5e9efb,_0x432001,_0x210c36,_0x4fb1c0){if(!_0x4fb1c0['checkAttribute'](_0x432001,'footnotesListStyle'))return;let _0x3d779a='decimal',_0x5efbaa=!0x1;if(_0x210c36['consumable']['consume'](_0x5e9efb,{'attributes':'type'})){const _0x38f4f8={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e9efb['getAttribute']('type')];_0x38f4f8&&(_0x3d779a=_0x38f4f8),_0x5efbaa=!0x0;}_0x210c36['consumable']['consume'](_0x5e9efb,{'styles':'list-style-type'})&&(_0x3d779a=function(_0x248e1e){switch(_0x248e1e){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x248e1e;}}(_0x5e9efb['getStyle']('list-style-type')),_0x5efbaa=!0x0),!_0x5efbaa&&_0x432001['hasAttribute']('footnotesListStyle')||_0x210c36['writer']['setAttribute']('footnotesListStyle',_0x3d779a,_0x432001);}(_0x2912ad,_0x28a41f,_0x1d13e9,_0x5888f5));});}),_0x488e0d['for']('downcast')['add'](_0x139a6e=>{_0x139a6e['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x6a282c,_0x3768c2,_0x21c9c3)=>{if(!_0x21c9c3['consumable']['consume'](_0x3768c2['item'],_0x6a282c['name']))return;const _0x106590=M(_0x3768c2['item'],_0x21c9c3['mapper']),{attributeNewValue:_0x1740ea}=_0x3768c2;null==_0x1740ea||0x1===_0x1740ea?_0x21c9c3['writer']['removeAttribute']('start',_0x106590):_0x21c9c3['writer']['setAttribute']('start',String(_0x1740ea),_0x106590);}),_0x139a6e['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1c683f,_0xe2b99a,_0x307622)=>{if(!_0x307622['consumable']['consume'](_0xe2b99a['item'],_0x1c683f['name']))return;const _0x1c70cd=M(_0xe2b99a['item'],_0x307622['mapper']),{attributeNewValue:_0x1c563a}=_0xe2b99a;_0x1c563a&&'decimal'!==_0x1c563a?_0x307622['writer']['setStyle']('list-style-type',_0x1c563a,_0x1c70cd):_0x307622['writer']['removeStyle']('list-style-type',_0x1c70cd);});});}['_definePostfixer'](){const {editor:_0x4886c9}=this,{model:_0x34f343}=_0x4886c9,_0x59530b=_0x4886c9['plugins']['get'](f),_0x4e05c8=this['_getDefaultListStyle'](),_0x4a24d1=this['_getDefaultStartIndex']();_0x34f343['document']['registerPostFixer'](_0x3bcac2=>{const _0x133f96=_0x34f343['document']['differ']['getChanges']();let _0x3665e8=!0x1;for(const _0x312ea6 of _0x133f96){if('insert'!==_0x312ea6['type']||'$text'===_0x312ea6['name'])continue;const _0x26e83c=_0x34f343['createRangeOn'](_0x312ea6['position']['nodeAfter']);for(const _0x584cbf of _0x26e83c['getItems']())_0x584cbf['is']('element','footnotesDefinitions')&&(!_0x584cbf['hasAttribute']('footnotesListStart')&&_0x34f343['schema']['checkAttribute'](_0x584cbf,'footnotesListStart')&&(_0x3bcac2['setAttribute']('footnotesListStart',_0x4a24d1,_0x584cbf),_0x3665e8=!0x0),!_0x584cbf['hasAttribute']('footnotesListStyle')&&_0x34f343['schema']['checkAttribute'](_0x584cbf,'footnotesListStyle')&&(_0x3bcac2['setAttribute']('footnotesListStyle',_0x4e05c8,_0x584cbf),_0x3665e8=!0x0));}return _0x3665e8&&_0x59530b['_updateFootnotesCounters'](_0x3bcac2),_0x3665e8;});}['_defineFormatter'](){const {editor:_0x179249}=this;_0x179249['plugins']['get'](f)['setFootnoteFormatter'](_0x3e1934=>this['_formatFootnoteListValue'](_0x3e1934));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x345c23,value:_0x463ee9,digits:_0x21d0ef}){const _0x359310=_0x345c23['getAttribute']('footnotesListStyle'),_0x355203=_0x345c23['getAttribute']('footnotesListStart'),_0x22ae5f=Math['floor'](_0x463ee9)+(_0x355203??0x1)-0x1;switch(_0x359310){case'decimal-leading-zero':return function(_0x2ae892,_0x540a23){return String(_0x2ae892)['padStart'](_0x540a23,'0');}(_0x22ae5f,Math['max'](0x2,_0x21d0ef));case'lower-alpha':case'lower-latin':return N(_0x22ae5f,!0x1);case'upper-alpha':case'upper-latin':return N(_0x22ae5f,!0x0);case'lower-roman':return X(_0x22ae5f,!0x1);case'upper-roman':return X(_0x22ae5f,!0x0);default:return String(_0x22ae5f);}}}function M(_0x1036e6,_0x3b0fcd){const _0xef7875=_0x3b0fcd['toViewElement'](_0x1036e6);return Array['from'](_0xef7875['getChildren']())['find'](_0x4c1e3e=>_0x4c1e3e['is']('element','ol')&&_0x4c1e3e['hasClass']('footnotes-list'));}function N(_0xa9848d,_0x21029b){let _0x20ef3c='',_0x5d09e0=_0xa9848d;for(;_0x5d09e0>0x0;){const _0x2bbd38=(_0x5d09e0-0x1)%0x1a;_0x20ef3c=String['fromCharCode'](0x61+_0x2bbd38)+_0x20ef3c,_0x5d09e0=Math['floor']((_0x5d09e0-0x1)/0x1a);}return _0x21029b?_0x20ef3c['toUpperCase']():_0x20ef3c;}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(_0x1056f4,_0x4e6063){let _0x484eb4='',_0x93b8cb=_0x1056f4;for(const {value:_0x53a0eb,numeral:_0x2e49bf}of V)for(;_0x93b8cb>=_0x53a0eb;)_0x484eb4+=_0x2e49bf,_0x93b8cb-=_0x53a0eb;return _0x4e6063?_0x484eb4:_0x484eb4['toLowerCase']();}class H extends _0x2558c1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2019dd();['focusCycler'];constructor(_0x21b58b,{styleButtonViews:_0x35cb13,styleGridAriaLabel:_0x2f67ec}){super(_0x21b58b),(this['focusCycler']=new _0x242429({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x35cb13,_0x2f67ec),[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 _0x1b618a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1b618a['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 _0x49e63b=_0x3b51f6=>_0x3b51f6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x49e63b),this['keystrokes']['set']('arrowleft',_0x49e63b),this['keystrokes']['set']('arrowup',_0x49e63b),this['keystrokes']['set']('arrowdown',_0x49e63b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xf783db,_0x262d2f){const _0x144de8=new _0x2558c1(this['locale']);return _0x144de8['children']=_0x144de8['createCollection'](),_0x144de8['children']['addMany'](_0xf783db),_0x144de8['setTemplate']({'tag':'div','attributes':{'aria-label':_0x262d2f,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x144de8['children']}),_0x144de8['children']['delegate']('execute')['to'](this),_0x144de8['focus']=function(){for(const _0x4858f6 of this['children'])if(_0x4858f6 instanceof _0x84170f&&_0x4858f6['isOn'])return void _0x4858f6['focus']();this['children']['first']['focus']();},_0x144de8['focusTracker']=new ot(),_0x144de8['keystrokes']=new rt(),_0x144de8['render'](),_0x144de8['keystrokes']['listenTo'](_0x144de8['element']),this['children']['add'](_0x144de8),_0x144de8;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x47b740=this['_createStartIndexPropertyView'](),_0x2657d0=[_0x47b740],_0x166cd4=new st(this['locale'],_0x2657d0);return _0x166cd4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x166cd4['buttonView']['bind']('isEnabled')['toMany'](_0x2657d0,'isEnabled',(..._0x197863)=>_0x197863['some'](_0x12bf58=>_0x12bf58)),_0x166cd4['buttonView']['on']('change:isEnabled',(_0x52cc4d,_0x4b5425,_0x3b4a73)=>{_0x3b4a73||(_0x166cd4['isCollapsed']=!0x0);}),this['children']['add'](_0x166cd4),[_0x47b740,_0x166cd4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5682e0=new it(this['locale'],et);return _0x5682e0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5682e0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5682e0['fieldView']['on']('input',()=>{const _0x10d79e=_0x5682e0['fieldView']['element'],_0x58c582=_0x10d79e['valueAsNumber'];Number['isNaN'](_0x58c582)?_0x5682e0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x10d79e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x58c582}):_0x5682e0['errorText']=t(_0x58c582<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5682e0;}}class j extends _0xd9c4a9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x56f5d6,_0x374390];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3cc45f}=this,{componentFactory:_0x436a99}=_0x3cc45f['ui'];_0x3cc45f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x436a99['add']('footnotesStyle',function(_0x1ed091){return _0x196320=>{const {t:t}=_0x196320,_0x4fc738=_0x1ed091['commands']['get']('footnotesStyle'),_0xe72db=_0x1fde78(_0x196320),{buttonView:_0x5e63e7}=_0xe72db;return _0xe72db['class']='ck-footnotes-styles-dropdown',_0xe72db['bind']('isEnabled')['to'](_0x4fc738,'isEnabled'),_0x5e63e7['set']({'label':t('Footnotes\x20style'),'icon':_0x1e00c0,'tooltip':!0x0}),_0xe72db['once']('change:isOpen',()=>{const _0x3ea990=function({editor:_0x16ae57,dropdownView:_0x33b6db}){const {t:t}=_0x16ae57['locale'],_0x484d09=t('Footnotes\x20definitions\x20styles'),_0x33c0da=function(_0x11f9cd){const t=_0x11f9cd['locale']['t'],_0x16e268=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3a4735},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xfcbce3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x134b0a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x18138f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x482095},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x38cc45}];return _0x16e268['map'](function(_0x28446b){const _0x74a635=_0x28446b['locale'];return({label:_0xedb49e,icon:_0x5a830b,tooltip:_0x2991e2,style:_0x44f631})=>{const _0x45a8c2=_0x28446b['commands']['get']('footnotesStyle'),_0x5fdc50=new _0x84170f(_0x74a635);return _0x5fdc50['set']({'label':_0xedb49e,'icon':_0x5a830b,'tooltip':_0x2991e2}),_0x5fdc50['bind']('isOn')['to'](_0x45a8c2,'value',_0x248887=>_0x248887===_0x44f631),_0x5fdc50['bind']('isEnabled')['to'](_0x45a8c2,'isEnabled'),_0x5fdc50['on']('execute',()=>{_0x28446b['execute']('footnotesStyle',{'value':_0x44f631}),_0x28446b['editing']['view']['focus']();}),_0x5fdc50;};}(_0x11f9cd));}(_0x16ae57),_0x26952e=new H(_0x16ae57['locale'],{'styleGridAriaLabel':_0x484d09,'styleButtonViews':_0x33c0da}),_0x27ec3a=_0x16ae57['commands']['get']('footnotesStart');return _0x26952e['startIndexFieldView']['bind']('isEnabled')['to'](_0x27ec3a),_0x26952e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x27ec3a),_0x26952e['on']('footnotesListStart',(_0x41fa8d,_0x5a7ac1)=>{_0x16ae57['execute']('footnotesStart',{'value':_0x5a7ac1['startIndex']});}),_0x26952e['delegate']('execute')['to'](_0x33b6db),_0x26952e;}({'editor':_0x1ed091,'dropdownView':_0xe72db});_0xe72db['panelView']['children']['add'](_0x3ea990);}),_0xe72db;};}(_0x3cc45f));}['afterInit'](){const {editor:_0x59375e}=this,{t:t}=_0x59375e['locale'],_0x5eb17a=_0x59375e['plugins']['get'](_0x374390),{defaultPositions:_0x4d24ac}=_0x198984;_0x5eb17a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x59375e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x431583=>{let _0x4f1d76=_0x431583['getFirstPosition']()?.['parent'];return _0x4f1d76?.['is']('$text')&&(_0x4f1d76=_0x4f1d76['parent']),_0x4f1d76?.['is']('element')?_0x4f1d76['findAncestor'](J):null;},'positions':[_0x4d24ac['southArrowNorth'],_0x4d24ac['southArrowNorthMiddleWest'],_0x4d24ac['southArrowNorthMiddleEast'],_0x4d24ac['southArrowNorthWest'],_0x4d24ac['southArrowNorthEast'],_0x4d24ac['northArrowSouth'],_0x4d24ac['northArrowSouthMiddleWest'],_0x4d24ac['northArrowSouthMiddleEast'],_0x4d24ac['northArrowSouthWest'],_0x4d24ac['northArrowSouthEast'],_0x4d24ac['viewportStickyNorth']]});}}class ft extends _0xd9c4a9{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':_0x13afd6=>0x1!=_0x13afd6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x576c83=>{const {af:{dictionary:_0xf9b302,getPluralForm:_0x3ad5f3}}={'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':_0x204251=>0x1!=_0x204251}};_0x576c83['af']||={'dictionary':{},'getPluralForm':null},_0x576c83['af']['dictionary']=Object['assign'](_0x576c83['af']['dictionary'],_0xf9b302),_0x576c83['af']['getPluralForm']=_0x3ad5f3;})(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':_0x1b68d5=>0x0==_0x1b68d5?0x0:0x1==_0x1b68d5?0x1:0x2==_0x1b68d5?0x2:_0x1b68d5%0x64>=0x3&&_0x1b68d5%0x64<=0xa?0x3:_0x1b68d5%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x424010=>{const {ar:{dictionary:_0x219103,getPluralForm:_0x104c6b}}={'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':_0x3841bf=>0x0==_0x3841bf?0x0:0x1==_0x3841bf?0x1:0x2==_0x3841bf?0x2:_0x3841bf%0x64>=0x3&&_0x3841bf%0x64<=0xa?0x3:_0x3841bf%0x64>=0xb?0x4:0x5}};_0x424010['ar']||={'dictionary':{},'getPluralForm':null},_0x424010['ar']['dictionary']=Object['assign'](_0x424010['ar']['dictionary'],_0x219103),_0x424010['ar']['getPluralForm']=_0x104c6b;})(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':_0x39d018=>0x1!=_0x39d018}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50fd73=>{const {ast:{dictionary:_0x5e744f,getPluralForm:_0x30e369}}={'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':_0x661324=>0x1!=_0x661324}};_0x50fd73['ast']||={'dictionary':{},'getPluralForm':null},_0x50fd73['ast']['dictionary']=Object['assign'](_0x50fd73['ast']['dictionary'],_0x5e744f),_0x50fd73['ast']['getPluralForm']=_0x30e369;})(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':_0x3f76dc=>0x1!=_0x3f76dc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c6ded=>{const {az:{dictionary:_0x5ac329,getPluralForm:_0x4c0bd9}}={'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':_0x2bc495=>0x1!=_0x2bc495}};_0x4c6ded['az']||={'dictionary':{},'getPluralForm':null},_0x4c6ded['az']['dictionary']=Object['assign'](_0x4c6ded['az']['dictionary'],_0x5ac329),_0x4c6ded['az']['getPluralForm']=_0x4c0bd9;})(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':_0x3ff0a5=>_0x3ff0a5%0xa==0x1&&_0x3ff0a5%0x64!=0xb?0x0:_0x3ff0a5%0xa>=0x2&&_0x3ff0a5%0xa<=0x4&&(_0x3ff0a5%0x64<0xa||_0x3ff0a5%0x64>=0x14)?0x1:0x2}};
|