@ckeditor/ckeditor5-footnotes 47.6.0-alpha.0 → 47.6.0-alpha.2
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 _0x28cc82,Command as _0x1d614c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x8b8f2f,isWidget as _0x518734,toWidgetEditable as _0x51ebe0,WidgetToolbarRepository as _0x3f0282}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x36bd7e,logWarning as _0xe33130,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x41d332,ClickObserver as _0x4b9820}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5ecd6f}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4842a8,ButtonView as _0x268ce6,View as _0xaed57d,ViewCollection as _0x1f100a,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x2b6024,BalloonPanelView as _0x25c226,createDropdown as _0x22a2bf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xb3f0a0,IconListStyleDecimal as _0x4b9445,IconListStyleDecimalLeadingZero as _0xb9385d,IconListStyleLowerRoman as _0x33e745,IconListStyleUpperRoman as _0x5737aa,IconListStyleLowerLatin as _0x5090ba,IconListStyleUpperLatin as _0x1904fb}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3ef209,_0xb763ca){this['_model']=_0x3ef209,this['_elementName']=_0xb763ca['elementName'],this['_getElementKey']=_0xb763ca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b8081){const _0x178255=new Set(),_0x48e4c2=new Map();for(const _0x1179a4 of _0x5b8081){if('insert'===_0x1179a4['type']&&'$text'!==_0x1179a4['name']&&_0x1179a4['position']['nodeAfter']){const _0x42c8cc=this['_model']['createRangeOn'](_0x1179a4['position']['nodeAfter']);for(const _0x35f5cb of _0x42c8cc['getItems']()){if(!_0x35f5cb['is']('element',this['_elementName']))continue;const _0x158913=this['_getElementKey'](_0x35f5cb);_0x48e4c2['has'](_0x158913)||_0x48e4c2['set'](_0x158913,[]),_0x48e4c2['get'](_0x158913)['push'](_0x35f5cb);}}if('remove'===_0x1179a4['type']&&_0x1179a4['name']===this['_elementName']){const _0x1feb4c=this['_getElementKey']({'getAttribute':_0x340885=>_0x1179a4['attributes']['get'](_0x340885)});_0x178255['add'](_0x1feb4c);}}for(const [_0x372989,_0xbea94]of this['_trackedElements'])'$graveyard'===_0xbea94['root']['rootName']&&_0x178255['add'](_0x372989);for(const _0x16fd36 of _0x178255)this['_trackedElements']['delete'](_0x16fd36);for(const [_0x17f321,_0x23bcce]of _0x48e4c2)this['_trackedElements']['set'](_0x17f321,_0x23bcce[_0x23bcce['length']-0x1]);const _0x35396d=new Set();for(const [_0x181dc8,_0x23d8b2]of _0x48e4c2)_0x178255['has'](_0x181dc8)&&(_0x35396d['add'](_0x23d8b2[0x0]),_0x23d8b2['length']>0x1?_0x48e4c2['set'](_0x181dc8,_0x23d8b2['slice'](0x1)):_0x48e4c2['delete'](_0x181dc8),_0x178255['delete'](_0x181dc8));return{'removed':Array['from'](_0x178255),'inserted':Array['from'](_0x48e4c2['values']())['flat'](),'moved':Array['from'](_0x35396d)};}}class f extends _0x28cc82{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51f08a){super(_0x51f08a),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x528e56=>_0x528e56['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x445cd1=>_0x445cd1['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1c49c3}=this,{model:_0x26848e,data:_0x4bce2f}=_0x1c49c3;_0x26848e['document']['registerPostFixer'](_0x4221f4=>{const _0x544224=_0x26848e['document']['differ']['getChanges']();let _0x55ecc7=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4221f4,_0x544224)&&(_0x55ecc7=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4221f4,_0x544224)&&(_0x55ecc7=!0x0),this['_handleFootnoteReferencesChanges'](_0x4221f4,_0x544224)&&(_0x55ecc7=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4221f4)&&(_0x55ecc7=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4221f4)&&(_0x55ecc7=!0x0),this['_sortFootnoteDefinitions'](_0x4221f4)&&(_0x55ecc7=!0x0),_0x55ecc7;}),this['listenTo'](_0x26848e['document'],'change:data',()=>{_0x26848e['enqueueChange']({'isUndoable':!0x1},_0x51f01e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x51f01e);});},{'priority':'low'}),this['listenTo'](_0x4bce2f,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x11929c){return this['_footnotes']['find'](_0x558fd4=>_0x558fd4['id']===_0x11929c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x32b84b){this['_footnoteFormatter']=_0x32b84b;}['_updateFootnotesCounters'](_0x209629,_0x4b1d16=0x0){let _0xae8781=!0x1;for(let _0x258dfb=_0x4b1d16;_0x258dfb<this['_footnotes']['length'];_0x258dfb++)this['_updateFootnoteRefCounter'](_0x209629,_0x258dfb)&&(_0xae8781=!0x0);return _0xae8781;}['_insertEmptyFootnotesDefinitionsContainer'](_0x50cc60,_0x1e7eae){const _0x2bd9d6=_0x50cc60['createElement']('footnotesDefinitions',{});return _0x50cc60['append'](_0x2bd9d6,_0x1e7eae),this['_footnotesDefinitions']=_0x2bd9d6,_0x2bd9d6;}['_ensureFootnotesDefinitionsContainerExists'](_0xb0549a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x40db56=this['_footnotes'][0x0]['reference']['root'],_0x44088e=this['_insertEmptyFootnotesDefinitionsContainer'](_0xb0549a,_0x40db56);for(const _0x308a63 of this['_footnotes'])_0x308a63['definition']['parent']||_0xb0549a['insert'](_0x308a63['definition'],_0x44088e,'end');this['_updateFootnotesCounters'](_0xb0549a);}['_handleFootnotesDefinitionsObjectChanges'](_0x44d985,_0x5e9336){let _0x43f8a6=!0x1;const {inserted:_0x132020,removed:_0xe93ec0,moved:_0x311ea1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5e9336);if(_0x311ea1['length']&&(this['_footnotesDefinitions']=_0x311ea1[0x0]),_0x132020['length']){if(_0x132020['length']>0x1||this['_footnotesDefinitions']&&_0x132020['some'](_0x45e116=>_0x45e116!==this['_footnotesDefinitions'])){const _0x2dc650=_0x44d985['createElement']('footnotesDefinitions',{}),_0x190386=[];this['_footnotesDefinitions']&&_0x190386['push'](this['_footnotesDefinitions']),_0x190386['push'](..._0x132020),_0x44d985['insert'](_0x2dc650,_0x190386[0x0],'before');for(const _0x59eec1 of _0x190386)_0x44d985['move'](_0x44d985['createRangeIn'](_0x59eec1),_0x44d985['createPositionAt'](_0x2dc650,'end')),_0x44d985['remove'](_0x59eec1);this['_footnotesDefinitions']=_0x2dc650,this['_updateFootnotesCounters'](_0x44d985),_0x43f8a6=!0x0;}else this['_footnotesDefinitions']=_0x132020[0x0];}if(_0xe93ec0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5f39f1 of this['_footnotes'])_0x44d985['remove'](_0x5f39f1['reference']),_0x43f8a6=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x43f8a6;}['_handleFootnoteDefinitionsChanges'](_0x4e3b6d,_0x126cd8){let _0x55b72e=!0x1;const _0x2f8220=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3d8976,moved:_0x2ee64f}=this['_footnoteDefsTracker']['getChanges'](_0x126cd8);for(const _0x3a9d5e of[..._0x2ee64f,..._0x3d8976]){const _0x3201d4=_0x3a9d5e['getAttribute']('footnoteId'),_0x33768f=this['getFootnote'](_0x3201d4);_0x33768f&&(_0x33768f['definition']=_0x3a9d5e),_(_0x4e3b6d,_0x2f8220,_0x3a9d5e)&&(_0x55b72e=!0x0);}return _0x55b72e;}['_handleFootnoteReferencesChanges'](_0x2648df,_0x1472cf){let _0x32a731=!0x1;const {removed:_0x3a4f76,inserted:_0x28f14a,moved:_0x5f120b}=this['_footnoteRefsTracker']['getChanges'](_0x1472cf);for(const _0x563c14 of _0x3a4f76)this['_handleRemoveFootnoteReferenceById'](_0x2648df,_0x563c14)&&(_0x32a731=!0x0);for(const _0x4742ef of _0x28f14a)this['_handleInsertedFootnoteReference'](_0x2648df,_0x4742ef)&&(_0x32a731=!0x0);for(const _0x1e0a26 of _0x5f120b)this['_handleMovedFootnoteReference'](_0x2648df,_0x1e0a26)&&(_0x32a731=!0x0);return _0x32a731;}['_handleFootnotesDefinitionsObjectSync'](_0x2ae5a4){if(!this['_footnotesDefinitions'])return!0x1;let _0x56c48c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4d5b01=[];for(const _0x5e6c8a of this['_footnotesDefinitions']['getChildren']()){const _0x137b2d=_0x5e6c8a['getAttribute']('footnoteId');this['getFootnote'](_0x137b2d)||(_0x4d5b01['unshift'](_0x5e6c8a),_0x56c48c=!0x0);}for(const _0x53dfa4 of _0x4d5b01)_0x2ae5a4['remove'](_0x53dfa4);}const _0x200a5e=new Set(),_0x260102=[];for(const _0x4891a1 of this['_footnotesDefinitions']['getChildren']()){const _0x4f0bba=_0x4891a1['getAttribute']('footnoteId');_0x200a5e['has'](_0x4f0bba)?(_0x260102['unshift'](_0x4891a1),_0x56c48c=!0x0):_0x200a5e['add'](_0x4f0bba);}for(const _0x4b3513 of _0x260102)_0x2ae5a4['remove'](_0x4b3513);return this['_footnotesDefinitions']['childCount']||(_0x2ae5a4['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x56c48c=!0x0),_0x56c48c;}['_handleInsertedFootnoteReference'](_0x368af3,_0x30be82){if(this['_footnotes']['find'](_0x26c318=>_0x26c318['reference']===_0x30be82))return!0x1;let _0x522a87=!0x1;const _0x15dea9=_0x30be82['getAttribute']('footnoteId'),_0x255588=this['_footnotes']['findIndex'](_0x611743=>_0x611743['id']===_0x15dea9);-0x1!==_0x255588&&(_0x368af3['remove'](this['_footnotes'][_0x255588]['reference']),this['_footnotes']['splice'](_0x255588,0x1),_0x522a87=!0x0);let _0x18beed=this['_footnotesDefinitions']?function(_0x20f271,_0x3a735a){for(const _0x3cb506 of _0x20f271['getChildren']())if(_0x3cb506['getAttribute']('footnoteId')===_0x3a735a)return _0x3cb506;return null;}(this['_footnotesDefinitions'],_0x15dea9):null;_0x18beed||(_0x18beed=_0x368af3['createElement']('footnoteDefinition',{'footnoteId':_0x15dea9}),this['_footnotesDefinitions']&&(_0x368af3['insert'](_0x18beed,this['_footnotesDefinitions'],'end'),_0x522a87=!0x0));const _0x4501fd={'id':_0x15dea9,'reference':_0x30be82,'definition':_0x18beed},_0x202595=I(this['editor']['model'],this['_footnotes'],_0x30be82);this['_footnotes']['splice'](_0x202595,0x0,_0x4501fd);let _0x19c9d0=_0x202595;return-0x1!==_0x255588&&(_0x19c9d0=Math['min'](_0x202595,_0x255588)),this['_updateFootnotesCounters'](_0x368af3,_0x19c9d0)&&(_0x522a87=!0x0),_0x522a87;}['_handleRemoveFootnoteReferenceById'](_0x47b07e,_0x2585d3){const _0x57e157=this['_footnotes']['findIndex'](_0x270eb1=>_0x270eb1['id']===_0x2585d3);if(-0x1===_0x57e157)return!0x1;let _0x220846=!0x1;const _0x280065=this['_footnotes'][_0x57e157];return'$graveyard'!==_0x280065['definition']['root']['rootName']&&(_0x47b07e['remove'](_0x280065['definition']),_0x220846=!0x0),this['_footnotes']['splice'](_0x57e157,0x1),this['_updateFootnotesCounters'](_0x47b07e,_0x57e157)&&(_0x220846=!0x0),_0x220846;}['_handleMovedFootnoteReference'](_0x3490ff,_0x22df34){const _0x2b54e5=_0x22df34['getAttribute']('footnoteId'),_0x41bbbf=this['_footnotes']['findIndex'](_0x46d143=>_0x46d143['id']===_0x2b54e5),_0x5d1656=this['_footnotes'][_0x41bbbf];let _0x830e13=!0x1;_0x5d1656['reference']=_0x22df34,this['_footnotes']['splice'](_0x41bbbf,0x1);const _0x562521=I(this['editor']['model'],this['_footnotes'],_0x22df34);return this['_footnotes']['splice'](_0x562521,0x0,_0x5d1656),this['_updateFootnotesCounters'](_0x3490ff,Math['min'](_0x41bbbf,_0x562521))&&(_0x830e13=!0x0),_0x830e13;}['_updateFootnoteRefCounter'](_0x5110cc,_0x32cdfa){if(!this['_footnotesDefinitions'])return!0x1;const _0x2f184b=this['_footnotes'][_0x32cdfa];let _0x536365;return _0x536365=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2f184b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x32cdfa+0x1}):String(_0x32cdfa+0x1),_0x2f184b['reference']['getAttribute']('footnoteCounter')!=_0x536365&&(_0x5110cc['setAttribute']('footnoteCounter',_0x536365,_0x2f184b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x288064){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x344657,_0x30f8fe){if(_0x344657['length']!==_0x30f8fe['length'])return!0x1;for(let _0x11fdf1=0x0;_0x11fdf1<_0x344657['length'];_0x11fdf1++)if(_0x344657[_0x11fdf1]!==_0x30f8fe[_0x11fdf1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x51944c=>_0x51944c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xf91bd2=>_0xf91bd2['getAttribute']('footnoteId'))))return!0x1;let _0x1f1ced=!0x1;for(let _0x547e16=0x0;_0x547e16<this['_footnotes']['length'];_0x547e16++){const _0x39b489=this['_footnotes'][_0x547e16],_0x3ce694=_0x288064['createPositionBefore'](_0x39b489['definition']),_0x1bb673=_0x288064['createPositionAt'](this['_footnotesDefinitions'],_0x547e16);_0x3ce694['isEqual'](_0x1bb673)||(_0x288064['move'](_0x288064['createRangeOn'](_0x39b489['definition']),_0x1bb673),_0x1f1ced=!0x0);}return _0x1f1ced;}['_ensureFootnotesReferencesHaveProperOrder'](_0x349c11){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5ad566}=this['editor'];let _0x565696=!0x1;for(let _0x5641e6=0x0;_0x5641e6<this['_footnotes']['length']-0x1;_0x5641e6++){const _0x494229=this['_footnotes'][_0x5641e6],_0x21cc4f=this['_footnotes'][_0x5641e6+0x1],_0x36286d=_0x5ad566['createPositionBefore'](_0x494229['reference']),_0x18fda7=_0x5ad566['createPositionBefore'](_0x21cc4f['reference']);'after'===_0x36286d['compareWith'](_0x18fda7)&&(this['_handleMovedFootnoteReference'](_0x349c11,_0x494229['reference']),_0x5641e6=-0x1,_0x565696=!0x0);}return _0x565696;}}function _(_0x3c5d01,_0x4ae9b3,_0x4e9d0b){if(_0x4e9d0b['childCount'])return!0x1;const _0x5f5686=_0x4ae9b3?'paragraph':'footnoteInlineContent';return _0x3c5d01['insert'](_0x3c5d01['createElement'](_0x5f5686),_0x4e9d0b),!0x0;}function I(_0x37cc9,_0x1d99a4,_0x5b6a0f){if(0x0===_0x1d99a4['length'])return 0x0;const _0x404793=_0x37cc9['createPositionBefore'](_0x5b6a0f);for(let _0x5eeb61=0x0;_0x5eeb61<_0x1d99a4['length'];_0x5eeb61++){const _0x474c87=_0x1d99a4[_0x5eeb61],_0x1c4bf1=_0x37cc9['createPositionBefore'](_0x474c87['reference']);if('before'===_0x404793['compareWith'](_0x1c4bf1))return _0x5eeb61;}const _0x291409=_0x5b6a0f['root'];let _0x75a864=-0x1;for(let _0x3d884b=_0x1d99a4['length']-0x1;_0x3d884b>=0x0;_0x3d884b--)if(_0x1d99a4[_0x3d884b]['reference']['root']===_0x291409){_0x75a864=_0x3d884b;break;}if(-0x1!==_0x75a864)return _0x75a864+0x1;const _0x5b65d3=_0x37cc9['document']['getRootNames'](),_0x5be489=_0x5b65d3['indexOf'](_0x291409['rootName']),_0x3e0c56=_0x5b65d3[_0x5be489+0x1];if(_0x3e0c56){for(let _0x46519f=0x0;_0x46519f<_0x1d99a4['length'];_0x46519f++)if(_0x1d99a4[_0x46519f]['reference']['root']['rootName']===_0x3e0c56)return _0x46519f;}return _0x1d99a4['length'];}class h extends _0x1d614c{['refresh'](){const _0x2b8472=this['editor']['model']['document']['selection'],_0x5528c1=this['_getPositionToInsertFootnote'](_0x2b8472);this['isEnabled']=!!_0x5528c1;}['execute'](_0x36626b){const {editor:_0x2ca88f}=this,{model:_0x40b9ac}=_0x2ca88f,{selection:_0x325dc8}=_0x40b9ac['document'],_0x120cbd=this['_getPositionToInsertFootnote'](_0x325dc8);if(!_0x120cbd)return;const _0x2b86a4=_0x2ca88f['plugins']['get']('FootnotesEditing'),_0x3d7589=_0x36626b?.['footnoteId']??_0x36bd7e();!function(_0x1fc752){return'string'==typeof _0x1fc752&&_0x1fc752['length']>0x0&&!/\s/['test'](_0x1fc752)&&!/^\d/['test'](_0x1fc752);}(_0x3d7589)?_0xe33130('insert-footnote-command-executed-with-invalid-id'):(_0x40b9ac['change'](_0x59cc79=>{const _0x439bca=_0x59cc79['createElement']('footnoteRef',{'footnoteId':_0x3d7589});_0x40b9ac['insertObject'](_0x439bca,_0x120cbd,null);}),_0x2b86a4['_moveSelectionToFootnoteDefinition'](_0x3d7589));}['_getPositionToInsertFootnote'](_0x11af1e){const {model:_0x5de9d3}=this['editor'],{schema:_0x5c3d0f}=_0x5de9d3,_0x2ca434=_0x11af1e['getFirstRange']();for(const _0x140099 of _0x2ca434['getItems']())if(_0x5c3d0f['isBlock'](_0x140099)||_0x5c3d0f['isObject'](_0x140099))return null;const _0x474866=_0x2ca434['end'];return _0x5c3d0f['checkChild'](_0x474866,'footnoteRef')?_0x474866:null;}}class r extends _0x28cc82{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17465c}=this;_0x17465c['config']['define']('footnotes.multiBlock',!0x0),_0x17465c['commands']['add']('insertFootnote',new h(_0x17465c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x167ba5){const _0x18bb94=_0x95cf94([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]),_0x35f471=0x47a28506,_0xc3c10d=0x47a507be^_0x35f471,_0x2064fa=window[_0x95cf94([0x44,0x61,0x74,0x65])][_0x95cf94([0x6e,0x6f,0x77])](),_0x588a65=_0x167ba5[_0x95cf94([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f887a=new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cd29b=>{_0x588a65[_0x95cf94([0x6f,0x6e,0x63,0x65])](_0x95cf94([0x72,0x65,0x61,0x64,0x79]),_0x5cd29b);}),_0x540fd6={[_0x95cf94([0x6b,0x74,0x79])]:_0x95cf94([0x45,0x43]),[_0x95cf94([0x75,0x73,0x65])]:_0x95cf94([0x73,0x69,0x67]),[_0x95cf94([0x63,0x72,0x76])]:_0x95cf94([0x50,0x2d,0x32,0x35,0x36]),[_0x95cf94([0x78])]:_0x95cf94([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]),[_0x95cf94([0x79])]:_0x95cf94([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]),[_0x95cf94([0x61,0x6c,0x67])]:_0x95cf94([0x45,0x53,0x32,0x35,0x36])},_0x360553=_0x588a65[_0x95cf94([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x95cf94([0x67,0x65,0x74])](_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x286700(){let _0x5a3e30,_0x30a017=null,_0x4eb381=null;try{if(_0x360553==_0x95cf94([0x47,0x50,0x4c]))return _0x95cf94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a3e30=_0x15c6e3(),!_0x5a3e30)return _0x95cf94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a3e30[_0x95cf94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4eb381=_0x107795(_0x5a3e30[_0x95cf94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a3e30[_0x95cf94([0x6a,0x74,0x69])])),await _0x25f189()?_0x298335()?_0x2d7247()?_0x95cf94([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x141ce8()?(_0x5a3e30[_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x95cf94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30a017=_0x29c875(_0x95cf94([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dc596()):_0x95cf94([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x95cf94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x95cf94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x95cf94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d7247(){const _0x4734f0=[_0x95cf94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x95cf94([0x74,0x72,0x69,0x61,0x6c])][_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3e30[_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2064fa/0x3e8:0xe10*_0xc3c10d;return _0x5a3e30[_0x95cf94([0x65,0x78,0x70])]<_0x4734f0;}function _0x298335(){const _0x17d253=_0x5a3e30[_0x95cf94([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17d253&&(!!_0x17d253[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cf94([0x2a]))||!!_0x17d253[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cf94([0x46,0x4f,0x4f])));}function _0x141ce8(){const _0xd9a456=_0x5a3e30[_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd9a456||0x0==_0xd9a456[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ef68a}=new URL(window[_0x95cf94([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd9a456[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef68a))return!0x0;const _0x2848df=_0x1ef68a[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e]));return _0xd9a456[_0x95cf94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f1f63=>_0x7f1f63[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cf94([0x2a])))[_0x95cf94([0x6d,0x61,0x70])](_0x40c451=>_0x40c451[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e])))[_0x95cf94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x271c0a=>_0x271c0a[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2848df[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x95cf94([0x6d,0x61,0x70])](_0x3b1a7e=>Array(_0x2848df[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b1a7e[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x95cf94([0x66,0x69,0x6c,0x6c])](_0x3b1a7e[0x0]===_0x95cf94([0x2a])?_0x95cf94([0x2a]):'')[_0x95cf94([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b1a7e))[_0x95cf94([0x73,0x6f,0x6d,0x65])](_0x89649d=>_0x2848df[_0x95cf94([0x65,0x76,0x65,0x72,0x79])]((_0x4e55c1,_0x490e0c)=>_0x89649d[_0x490e0c]===_0x4e55c1||_0x89649d[_0x490e0c]===_0x95cf94([0x2a])));}function _0x1dc596(){return _0x30a017&&_0x4eb381?new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5372f4,_0x453369)=>{_0x30a017[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x5372f4,_0x453369),_0x4eb381[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x277b2e=>{_0x277b2e!=_0x95cf94([0x56,0x61,0x6c,0x69,0x64])&&_0x5372f4(_0x277b2e);},_0x453369);}):_0x30a017||_0x4eb381||_0x95cf94([0x56,0x61,0x6c,0x69,0x64]);}}function _0x107795(_0x1365c5,_0x4b2cb1){return new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268f08=>{if(_0x2e0e98())return _0x268f08(_0x95cf94([0x56,0x61,0x6c,0x69,0x64]));_0x3f2c99(),_0x588a65[_0x95cf94([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x95cf94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9828b5=!0x1;const _0x1a9a18=_0x36bd7e();function _0x1acd6f(_0x584ae2){return!!_0x584ae2&&(typeof _0x584ae2===_0x95cf94([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x584ae2===_0x95cf94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x584ae2[_0x95cf94([0x74,0x68,0x65,0x6e])]===_0x95cf94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x584ae2[_0x95cf94([0x63,0x61,0x74,0x63,0x68])]===_0x95cf94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xed4f92(_0x52b2ea){_0x21e447(_0x52b2ea)[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x4c8008=>{if(!_0x4c8008||_0x4c8008[_0x95cf94([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x95cf94([0x6f,0x6b]))return _0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x524dae(_0x6fbd60(_0x1a9a18+_0x4b2cb1))!=_0x4c8008[_0x95cf94([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x95cf94([0x56,0x61,0x6c,0x69,0x64]);})[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x23f7bc=>(_0x2b5a2b(),_0x23f7bc),()=>{const _0x4140a7=_0x3e33b1();return null==_0x4140a7?(_0x2b5a2b(),_0x95cf94([0x56,0x61,0x6c,0x69,0x64])):_0x95cf94(_0x2064fa-_0x4140a7>(0x63ae0106^_0x35f471)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x268f08)[_0x95cf94([0x63,0x61,0x74,0x63,0x68])](()=>{_0x268f08(_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12a339=0x47946b86^_0x35f471;function _0x2b5a2b(){const _0x5e3eba=_0x95cf94([0x6c,0x6c,0x63,0x74,0x2d])+_0x524dae(_0x6fbd60(_0x1365c5)),_0x1e11de=_0x464b17(_0x524dae(window[_0x95cf94([0x4d,0x61,0x74,0x68])][_0x95cf94([0x63,0x65,0x69,0x6c])](_0x2064fa/_0x12a339)));window[_0x95cf94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x95cf94([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e3eba,_0x1e11de);}function _0x3e33b1(){const _0x35a539=_0x95cf94([0x6c,0x6c,0x63,0x74,0x2d])+_0x524dae(_0x6fbd60(_0x1365c5)),_0x1b5c0f=window[_0x95cf94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x95cf94([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35a539);return _0x1b5c0f?window[_0x95cf94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x464b17(_0x1b5c0f),0x10)*_0x12a339:null;}function _0x21e447(_0x57806c){return new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x210b38,_0x2c2081)=>{_0x57806c[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x210b38,_0x2c2081),window[_0x95cf94([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c2081,0x47a351c6^_0x35f471);});}}_0x588a65[_0x95cf94([0x6f,0x6e])](_0x95cf94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f6e82,_0x4ea3e0)=>{if(_0x4ea3e0[0x0]!=_0x1365c5)return _0x268f08(_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ea3e0[0x1]={..._0x4ea3e0[0x1],[_0x95cf94([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a9a18};},{[_0x95cf94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x95cf94([0x68,0x69,0x67,0x68])}),_0x588a65[_0x95cf94([0x6f,0x6e])](_0x95cf94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ce2ff=>{_0x1acd6f(_0x3ce2ff[_0x95cf94([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9828b5=!0x0,_0xed4f92(_0x3ce2ff[_0x95cf94([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x95cf94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x95cf94([0x6c,0x6f,0x77])}),_0x1f887a[_0x95cf94([0x74,0x68,0x65,0x6e])](()=>{_0x9828b5||_0x268f08(_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e0e98(){return _0x588a65[_0x95cf94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x95cf94([0x76,0x69,0x65,0x77])][_0x95cf94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x95cf94([0x61,0x75,0x74,0x6f]);}function _0x3f2c99(){_0x588a65[_0x95cf94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x95cf94([0x76,0x69,0x65,0x77])][_0x95cf94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x95cf94([0x61,0x75,0x74,0x6f]);}}function _0x29c875(_0x2b30df){const _0x2548a2=[new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x412c05=>setTimeout(_0x412c05,0x47abbbca^_0x35f471)),_0x1f887a[_0x95cf94([0x74,0x68,0x65,0x6e])](()=>new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e53b6=>{let _0x5d63f7=0x0;_0x588a65[_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c])][_0x95cf94([0x6f,0x6e])](_0x95cf94([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35669b,_0x45509a)=>{_0x45509a[0x0][_0x95cf94([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d63f7++,_0x5d63f7==(0x47a280ee^_0x35f471)&&(_0x1e53b6(),_0x35669b[_0x95cf94([0x6f,0x66,0x66])]());});}))];return window[_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x95cf94([0x72,0x61,0x63,0x65])](_0x2548a2)[_0x95cf94([0x74,0x68,0x65,0x6e])](()=>_0x2b30df);}async function _0xe9ce57(){await _0x1f887a,_0x588a65[_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c])][_0x95cf94([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x250b41,_0x588a65[_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c])][_0x95cf94([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x250b41,_0x588a65[_0x95cf94([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe1f704(_0x2fe690){const _0x3a532a=_0x4bb4b2();_0x588a65[_0x3a532a]=_0x95cf94([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fe690,_0x2fe690!=_0x95cf94([0x56,0x61,0x6c,0x69,0x64])&&_0xe9ce57();}function _0x4bb4b2(){const _0xb9b27b=window[_0x95cf94([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x95cf94([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x95cf94([0x6e,0x6f,0x77])]())[_0x95cf94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x95cf94([0x2e]),'');let _0x10e16b=_0x95cf94([0x75]);for(let _0x2363d3=0x0;_0x2363d3<_0xb9b27b[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2363d3+=0x2){let _0x2d75e=window[_0x95cf94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb9b27b[_0x95cf94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2363d3,_0x2363d3+0x2));_0x2d75e>=_0x18bb94[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d75e-=_0x18bb94[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10e16b+=_0x18bb94[_0x2d75e];}return _0x10e16b;}function _0x15c6e3(){const _0x30d953=_0x360553[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e]));if(0x3!=_0x30d953[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x542276(_0x30d953[0x1]);function _0x542276(_0x587635){const _0x2f7c11=_0x282aaf(_0x587635);return _0x2f7c11&&_0x4812d9()?_0x2f7c11:null;function _0x4812d9(){const _0x4a9618=_0x2f7c11[_0x95cf94([0x6a,0x74,0x69])],_0x44c263=window[_0x95cf94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a9618[_0x95cf94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a9618[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35aaa5={..._0x2f7c11,[_0x95cf94([0x6a,0x74,0x69])]:_0x4a9618[_0x95cf94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a9618[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35aaa5[_0x95cf94([0x76,0x63])],_0x6fbd60(_0x35aaa5)==_0x44c263;}}}async function _0x25f189(){let _0x1bc3fc=!0x0;try{const _0x28b8f7=_0x360553[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e])),[_0x53615b,_0x27bfba,_0x2e493b]=_0x28b8f7;return _0x3d6f00(_0x53615b),await _0x2830ae(_0x53615b,_0x27bfba,_0x2e493b),_0x1bc3fc;}catch{return!0x1;}function _0x3d6f00(_0x240b82){const _0x23cd39=_0x282aaf(_0x240b82);_0x23cd39&&_0x23cd39[_0x95cf94([0x61,0x6c,0x67])]==_0x95cf94([0x45,0x53,0x32,0x35,0x36])||(_0x1bc3fc=!0x1);}async function _0x2830ae(_0x29641f,_0x1603cb,_0x59912f){const _0x45f96a=window[_0x95cf94([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x95cf94([0x66,0x72,0x6f,0x6d])](_0x2b1458(_0x59912f),_0xf3215b=>_0xf3215b[_0x95cf94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14d073=new window[(_0x95cf94([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x95cf94([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29641f+_0x95cf94([0x2e])+_0x1603cb),_0x5e2eb0=window[_0x95cf94([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x95cf94([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e2eb0)return;const _0x1383ba=await _0x5e2eb0[_0x95cf94([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x95cf94([0x6a,0x77,0x6b]),_0x540fd6,{[_0x95cf94([0x6e,0x61,0x6d,0x65])]:_0x95cf94([0x45,0x43,0x44,0x53,0x41]),[_0x95cf94([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x95cf94([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x95cf94([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e2eb0[_0x95cf94([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x95cf94([0x6e,0x61,0x6d,0x65])]:_0x95cf94([0x45,0x43,0x44,0x53,0x41]),[_0x95cf94([0x68,0x61,0x73,0x68])]:{[_0x95cf94([0x6e,0x61,0x6d,0x65])]:_0x95cf94([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1383ba,_0x45f96a,_0x14d073)||(_0x1bc3fc=!0x1);}}function _0x282aaf(_0x416c21){return _0x416c21[_0x95cf94([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x95cf94([0x65,0x79]))?JSON[_0x95cf94([0x70,0x61,0x72,0x73,0x65])](_0x2b1458(_0x416c21)):null;}function _0x2b1458(_0x4d87e6){return window[_0x95cf94([0x61,0x74,0x6f,0x62])](_0x4d87e6[_0x95cf94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x95cf94([0x2b]))[_0x95cf94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x95cf94([0x2f])));}function _0x6fbd60(_0x2a3fc2){let _0x1ddef2=0x1505;function _0x627df8(_0x1bd27d){for(let _0x23182d=0x0;_0x23182d<_0x1bd27d[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23182d++){const _0x5b2846=_0x1bd27d[_0x95cf94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23182d);_0x1ddef2=(_0x1ddef2<<0x5)+_0x1ddef2+_0x5b2846,_0x1ddef2&=_0x1ddef2;}}function _0x3faead(_0x2baa78){Array[_0x95cf94([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2baa78)?_0x2baa78[_0x95cf94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3faead):_0x2baa78&&typeof _0x2baa78==_0x95cf94([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x95cf94([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2baa78)[_0x95cf94([0x73,0x6f,0x72,0x74])]()[_0x95cf94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xac90e4,_0x2c2b69])=>{_0x627df8(_0xac90e4),_0x3faead(_0x2c2b69);}):_0x627df8(window[_0x95cf94([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2baa78));}return _0x3faead(_0x2a3fc2),_0x1ddef2>>>0x0;}function _0x524dae(_0x230e76){return _0x230e76[_0x95cf94([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x95cf94([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x95cf94([0x30]));}function _0x464b17(_0x1f6cf8){return _0x1f6cf8[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])]('')[_0x95cf94([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x95cf94([0x6a,0x6f,0x69,0x6e])]('');}function _0x250b41(){}function _0x95cf94(_0x1125cd){return _0x1125cd['map'](_0x51d4b7=>String['fromCharCode'](_0x51d4b7))['join']('');}_0xe1f704(await _0x286700());}(this);}['_moveSelectionToFootnoteDefinition'](_0x29057f){const {plugins:_0x56a0d3,editing:_0x351d8c,model:_0x3d439b}=this['editor'],_0x4dcad1=_0x56a0d3['get'](f)['getFootnote'](_0x29057f);return!!_0x4dcad1&&(_0x3d439b['change'](_0x5c8aab=>{_0x5c8aab['setSelection'](_0x5c8aab['createPositionAt'](_0x4dcad1['definition'],'end'));}),_0x351d8c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x7f32d6){const {plugins:_0x388757,editing:_0x6d23c9,model:_0x2f88e4}=this['editor'],_0x801c72=_0x388757['get'](f)['getFootnote'](_0x7f32d6);return!!_0x801c72&&(_0x2f88e4['change'](_0x460713=>{_0x460713['setSelection'](_0x801c72['reference'],'on');}),_0x6d23c9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4a67f0}=this['editor']['model'],_0x4d799a=this['editor']['config']['get']('footnotes.multiBlock');_0x4a67f0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4a67f0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4a67f0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d799a?_0x4a67f0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4a67f0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4a67f0['addChildCheck'](_0x48be22=>{for(const _0x1dd89d of _0x48be22)if('footnoteDefinition'===_0x1dd89d['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3f0ebd}=this,{conversion:_0xf6e0bb,editing:_0x45ebcb}=_0x3f0ebd,{t:t}=_0x3f0ebd['locale'];_0xf6e0bb['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x566963,{writer:_0x13c04c,consumable:_0x190161})=>{const _0xbdaa91=_0x566963['getChild'](0x0);if(!_0xbdaa91||!_0xbdaa91['is']('element','a'))return null;const _0x33dcaa=_0xbdaa91['getAttribute']('href')||'';if(!_0x33dcaa['startsWith']('#'))return null;const _0x5fe9f0=_0x33dcaa['replace'](/^#/,'');if(!_0x5fe9f0)return null;_0x190161['consume'](_0xbdaa91,{'name':!0x0,'attributes':['href']});for(const {item:_0x2a12c0}of _0x45ebcb['view']['createRangeIn'](_0xbdaa91))_0x2a12c0['is']('$textProxy')?_0x190161['consume'](_0x2a12c0['textNode'],{'name':!0x0}):_0x2a12c0['is']('element')&&_0x190161['consume'](_0x2a12c0,{'name':!0x0});return _0x13c04c['createElement']('footnoteRef',{'footnoteId':_0x5fe9f0});}}),_0xf6e0bb['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x39e8bb,{writer:_0x39d19a})=>b(_0x39e8bb,_0x39d19a)}),_0xf6e0bb['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x539c61,{writer:_0x57f32b})=>{const _0x1bd8ef=_0x539c61['getAttribute']('footnoteCounter');return _0x8b8f2f(b(_0x539c61,_0x57f32b),_0x57f32b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1bd8ef)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4b78de}=this,{t:t}=_0x4b78de['locale'],{conversion:_0x9603ed}=_0x4b78de;_0x9603ed['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9603ed['for']('upcast')['add'](_0x4e1f12=>{_0x4e1f12['on']('element:ol',(_0x525422,_0x3c4a87,_0x2dd6e4)=>{const _0x58eafb=_0x3c4a87['viewItem'];if(!_0x58eafb['hasClass']('footnotes-list')||!_0x3c4a87['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2dd6e4['consumable']['consume'](_0x58eafb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14b23a,modelCursor:_0xbbfdd8}=_0x2dd6e4['convertChildren'](_0x3c4a87['viewItem'],_0x3c4a87['modelCursor']);_0x3c4a87['modelRange']=_0x14b23a,_0x3c4a87['modelCursor']=_0xbbfdd8;}),_0x4e1f12['on']('element:hr',(_0x560821,_0x293d69,_0x92fe5f)=>{const _0x419e4f=_0x293d69['viewItem'];_0x419e4f['hasClass']('footnotes-divider')&&_0x293d69['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x92fe5f['consumable']['consume'](_0x419e4f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9603ed['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x146cac,{writer:_0x4531ea})=>D(_0x4531ea)}),_0x9603ed['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x392ea0,{writer:_0x15f5a3})=>{const _0x2919c9=D(_0x15f5a3,{'data-footnotes-list-label':t('Footnotes')}),_0x32856d=_0x8b8f2f(_0x2919c9,_0x15f5a3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x15f5a3['setCustomProperty']('footnotesDefinitions',!0x0,_0x32856d),_0x32856d;}});}['_defineDefinitionConverters'](){const {editor:_0x56b8a5}=this,{conversion:_0x45d5e1,locale:_0xe46e19}=_0x56b8a5,_0x522036=_0x56b8a5['config']['get']('footnotes.multiBlock');_0x45d5e1['for']('upcast')['add'](_0x2776ac=>{_0x2776ac['on']('element:li',(_0xf2de31,_0x5a8816,_0x418f2b)=>{const _0x144d07=_0x5a8816['viewItem'];if(!_0x144d07['hasClass']('footnote-definition')||!_0x144d07['getAttribute']('id'))return;const _0x19e827=_0x144d07['parent'];if(!_0x19e827['is']('element','ol')||!_0x19e827['hasClass']('footnotes-list'))return;if(!_0x418f2b['consumable']['test'](_0x144d07,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4e3d0c=_0x418f2b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x144d07['getAttribute']('id')});if(!_0x418f2b['safeInsert'](_0x4e3d0c,_0x5a8816['modelCursor']))return;_0x418f2b['consumable']['consume'](_0x144d07,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x56bf6d=Array['from'](_0x144d07['getChildren']())['find'](_0x35c3d2=>_0x35c3d2['is']('element')&&_0x35c3d2['hasClass']('footnote-content'));for(const _0x396e9a of _0x144d07['getChildren']())_0x396e9a['is']('element')&&(_0x418f2b['consumable']['consume'](_0x396e9a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x418f2b['consumable']['consume'](_0x396e9a,{'name':!0x0,'classes':'footnote-content'}));if(_0x56bf6d){if(_0x522036)_0x418f2b['convertChildren'](_0x56bf6d,_0x4e3d0c);else{const _0x2e7921=_0x418f2b['writer']['createElement']('footnoteInlineContent');_0x418f2b['writer']['insert'](_0x2e7921,_0x4e3d0c),_0x418f2b['convertChildren'](_0x56bf6d,_0x2e7921);}}_0x418f2b['updateConversionResult'](_0x4e3d0c,_0x5a8816);});}),_0x45d5e1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x570028,{writer:_0x1c2275})=>y(_0x570028,_0x1c2275,_0xe46e19,{'dataPipeline':!0x0})}),_0x45d5e1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c7727,{writer:_0x2e3aa1})=>y(_0x2c7727,_0x2e3aa1,_0xe46e19)});}['_defineBogusParagraphConverters'](){const {editor:_0x9d393c}=this,{conversion:_0x378b7b}=_0x9d393c;_0x9d393c['config']['get']('footnotes.multiBlock')?(_0x378b7b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x378b7b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x9d393c['model']['document'],'change:data',()=>{!function(_0x2fafeb,_0x2bed5e){const _0x1dc133=_0x2fafeb['document']['differ'],_0x4e772e=new Set();for(const _0x10892f of _0x1dc133['getChanges']()){const _0x4aa895='attribute'==_0x10892f['type']?_0x10892f['range']['start']['parent']:_0x10892f['position']['parent'];_0x4aa895['is']('element','footnoteDefinition')&&_0x4e772e['add'](_0x4aa895);}for(const _0x41fbe1 of _0x4e772e['values']()){const _0x43a367=Array['from'](_0x41fbe1['getChildren']())['filter'](_0x441379=>v(_0x441379,_0x2bed5e['mapper']));for(const _0x1974b1 of _0x43a367)_0x2bed5e['reconvertItem'](_0x1974b1);}}(_0x9d393c['model'],_0x9d393c['editing']);})):(_0x378b7b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x378b7b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5b155d,{writer:_0x1632e6})=>{const _0x34b783=_0x1632e6['createContainerElement']('span');return _0x1632e6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x34b783),_0x34b783;}}));}['_defineKeyboardHandlers'](){const {editor:_0x19a5ad}=this,{editing:_0x234b73,t:t}=_0x19a5ad,_0x499ad4=_0x19a5ad['model']['document']['selection'];_0x19a5ad['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x19a5ad['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x234b73['view']['document'],'enter',(_0x9e509d,_0x57675a)=>{const _0x95c7dc=function(_0x24fda1){const _0x2b2307=_0x24fda1['getSelectedElement']();if(_0x2b2307?.['is']('element','footnoteRef'))return _0x2b2307;return null;}(_0x499ad4);if(_0x95c7dc){const _0x32b3a5=_0x95c7dc['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x32b3a5),_0x57675a['preventDefault'](),_0x9e509d['stop']();}},{'context':_0x518734});}['_defineClickHandlers'](){const {editor:_0x1ef440}=this,{editing:_0x21b0fe}=_0x1ef440;_0x1ef440['editing']['view']['addObserver'](_0x41d332),_0x1ef440['editing']['view']['addObserver'](_0x4b9820);let _0x20162e=!0x1;this['listenTo'](_0x21b0fe['view']['document'],'pointerdown',(_0x3590fe,_0x3bcdc6)=>{const {target:_0x416e36}=_0x3bcdc6,_0x36d17d=_0x21b0fe['view']['document']['selection'];_0x20162e=!!(_0x416e36?.['is']('element','a')&&_0x416e36['parent']?.['is']('element','sup')&&_0x416e36['parent']['hasClass']('footnote'))&&_0x36d17d['getSelectedElement']()===_0x416e36['parent'];},{'priority':'high'}),this['listenTo'](_0x21b0fe['view']['document'],'click',(_0x28f1a2,_0x485249)=>{const {target:_0x1f24f4}=_0x485249;if(!_0x1f24f4?.['is']('element','a'))return;if(_0x1f24f4['parent']?.['is']('element','sup')&&_0x1f24f4['parent']['hasClass']('footnote')&&!_0x20162e)return void _0x485249['preventDefault']();let _0xfdd4b2=_0x1f24f4['getAttribute']('href');if(!_0xfdd4b2?.['startsWith']('#'))return;_0xfdd4b2=_0xfdd4b2['slice'](0x1);let _0x3b19ca=!0x1;(_0xfdd4b2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xfdd4b2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xfdd4b2))&&(_0x3b19ca=!0x0),_0x3b19ca&&(_0x485249['preventDefault'](),_0x28f1a2['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2f5586}={}){return(_0x2765e5,{writer:_0x2342c1})=>{if(!g(_0x2765e5))return null;if(!_0x2f5586)return _0x2342c1['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x267e96=_0x2342c1['createContainerElement']('p');return _0x2342c1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x267e96),_0x267e96;};}function g(_0x281ff){const {parent:_0x51ce71}=_0x281ff;if(!_0x51ce71?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x51ce71['childCount'])return!0x1;for(const _0x268ffe of _0x281ff['getAttributeKeys']())if(!_0x268ffe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x268ffe)return!0x1;return!0x0;}function v(_0xaca92e,_0x19a7b5){if(!_0xaca92e['is']('element','paragraph'))return!0x1;const _0x51260d=_0x19a7b5['toViewElement'](_0xaca92e);return!!_0x51260d&&g(_0xaca92e)!==_0x51260d['is']('element','span');}function H(_0x3eb797){return _0x518734(_0x3eb797)&&_0x3eb797['is']('containerElement')&&!!_0x3eb797['getCustomProperty']('footnotesDefinitions');}function D(_0x11f280,_0x14dbef={}){const _0x38d989=_0x11f280['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4e7b14=_0x11f280['createContainerElement']('ol',{'class':'footnotes-list'},_0x11f280['createSlot']());return _0x11f280['createContainerElement']('div',{'class':'footnotes',..._0x14dbef},[_0x38d989,_0x4e7b14]);}function b(_0x1ce38d,_0xb463fb){const _0xa6a1c7=_0x1ce38d['getAttribute']('footnoteId'),_0x43d37e=_0x1ce38d['getAttribute']('footnoteCounter'),_0x2cee67=_0xb463fb['createUIElement']('a',{'href':'#'+_0xa6a1c7},function(_0x247390){const _0x5db504=this['toDomElement'](_0x247390);return _0x5db504['textContent']=_0x43d37e,_0x5db504;}),_0x5444be=_0xb463fb['createContainerElement']('sup',{'id':'ref-'+_0xa6a1c7,'class':'footnote'},[_0x2cee67]);return _0x5444be['getFillerOffset']=()=>null,_0x5444be;}function y(_0x2ead21,_0xbaeef7,_0x37c6e5,{dataPipeline:_0x1747b6}={}){const {t:t}=_0x37c6e5,_0x3ac605=_0x2ead21['getAttribute']('footnoteId'),_0x4332f9=_0xbaeef7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3ac605},function(_0x190295){const _0x5db596=this['toDomElement'](_0x190295);return _0x5db596['innerText']='^',_0x5db596;}),_0x225bb1=_0x1747b6?_0xbaeef7['createContainerElement']('div',{'class':'footnote-content'}):_0x51ebe0(_0xbaeef7['createEditableElement']('div',{'class':'footnote-content'}),_0xbaeef7,{'label':t('Footnote\x20content.')});return _0xbaeef7['insert'](_0xbaeef7['createPositionAt'](_0x225bb1,0x0),_0xbaeef7['createSlot']()),_0xbaeef7['createContainerElement']('li',{'class':'footnote-definition','id':_0x3ac605},[_0x4332f9,_0x225bb1]);}class e extends _0x28cc82{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5ecd6f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2a7d54}=this,{plugins:_0x2f4c94,model:_0x2157c1}=_0x2a7d54,_0x4acd6b=_0x2f4c94['get'](_0x5ecd6f),_0x447e41=_0x2f4c94['get'](f);this['listenTo'](_0x4acd6b,'outputTransformation',(_0x2a2be4,_0x114e63)=>{const _0xbf19db=l(_0x2157c1['createRangeIn'](_0x114e63['content']));if(!_0xbf19db['length'])return;const _0x34b508=_0x447e41['getFootnotes'](),_0x184f2e=_0xbf19db['reduce']((_0x55e523,_0x99c486)=>{const _0xb3a4de=_0x34b508['find'](_0x41e9f2=>_0x41e9f2['id']===_0x99c486);if(_0xb3a4de){const _0x4b360d=_0x2a7d54['data']['toView'](_0xb3a4de['definition'],{'isClipboardPipeline':!0x0}),_0x58e1cf=_0x2a7d54['data']['htmlProcessor']['toData'](_0x4b360d);_0x55e523[_0xb3a4de['id']]=_0x58e1cf;}return _0x55e523;},Object['create'](null));_0x114e63['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x184f2e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x11349c}=this,{model:_0x67e691,plugins:_0x417a20}=_0x11349c,{view:_0x1b9e7c}=_0x11349c['editing'],_0x540019=_0x417a20['get'](_0x5ecd6f),_0x4b6d9f=_0x417a20['get'](f),_0x3b4589=_0x11349c['config']['get']('footnotes.multiBlock');let _0x867104=null;this['listenTo'](_0x1b9e7c['document'],'clipboardInput',(_0x8e4dad,_0x2d4070)=>{const _0x34774a=_0x2d4070['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x867104=_0x34774a?JSON['parse'](_0x34774a):null;}),this['listenTo'](_0x540019,'contentInsertion',(_0x7dc750,_0x3dc37d)=>{const _0x508214=_0x3dc37d['sourceEditorId']===this['editor']['id'];_0x508214&&'drop'===_0x3dc37d['method']||_0x67e691['change'](_0x150f89=>{let _0x53773a=_0x4b6d9f['getFootnotesDefinitionsObjectElement']();const _0x2f767f=!!_0x53773a&&Array['from'](_0x67e691['document']['selection']['getSelectedBlocks']())['includes'](_0x53773a);if(!_0x867104&&function(_0x3138cf){for(const {item:_0x48ebe9}of _0x3138cf)if(_0x48ebe9['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x67e691['createRangeIn'](_0x3dc37d['content']))&&(_0x867104=function(_0x4c3547,_0x9c9e9e){const _0x2aa84d=c(_0x4c3547,_0x9c9e9e);if(!_0x2aa84d)return null;const _0x8094f1=Object['create'](null);for(const _0x3b9069 of _0x2aa84d['getChildren']())_0x3b9069['is']('element','footnoteDefinition')&&_0x3b9069['hasAttribute']('footnoteId')&&(_0x8094f1[_0x3b9069['getAttribute']('footnoteId')]=_0x4c3547['cloneElement'](_0x3b9069,!0x0));return Object['keys'](_0x8094f1)['length']?_0x8094f1:null;}(_0x150f89,_0x3dc37d['content'])),(_0x53773a&&!_0x2f767f||!_0x53773a&&!_0x867104)&&function(_0x4af7b4,_0x1d9e3b){const _0x21b99c=[];for(const {item:_0x569a9f}of _0x4af7b4['createRangeIn'](_0x1d9e3b))_0x569a9f['is']('element','footnotesDefinitions')&&_0x21b99c['push'](_0x569a9f);for(const _0x52348e of _0x21b99c)_0x4af7b4['remove'](_0x52348e);}(_0x150f89,_0x3dc37d['content']),!_0x867104)return;const {selection:_0x5bde79}=_0x67e691['document'],_0x100dff=_0x5bde79['getFirstRange']()['root'];_0x53773a&&!_0x2f767f||(_0x53773a=c(_0x150f89,_0x3dc37d['content']),_0x53773a||=_0x4b6d9f['_insertEmptyFootnotesDefinitionsContainer'](_0x150f89,_0x100dff));const _0x11abdf=Array['from'](_0x5bde79['getRanges']())['flatMap'](l),_0x36d237=function(_0x457e49,_0x3798e9,_0x551937){const _0x1be092=Object['create'](null);for(const {item:_0x1a5772}of _0x457e49['createRangeIn'](_0x3798e9))if(_0x1a5772['is']('element','footnoteRef')){const _0x2ddb24=_0x1a5772['getAttribute']('footnoteId');if(!_0x551937(_0x2ddb24))continue;_0x1be092[_0x2ddb24]||(_0x1be092[_0x2ddb24]=_0x36bd7e()),_0x457e49['setAttribute']('footnoteId',_0x1be092[_0x2ddb24],_0x1a5772);}return _0x1be092;}(_0x150f89,_0x3dc37d['content'],_0x16c34b=>{if(!_0x508214)return!0x0;return!!_0x4b6d9f['getFootnote'](_0x16c34b)&&!_0x11abdf['includes'](_0x16c34b);});for(const [_0x1280f1,_0x166953]of Object['entries'](_0x867104)){const _0x1ce0c1=_0x36d237[_0x1280f1]||_0x1280f1;let _0x104e9;if('string'!=typeof _0x166953)_0x104e9=_0x166953,_0x1ce0c1!==_0x1280f1&&_0x150f89['setAttribute']('footnoteId',_0x1ce0c1,_0x104e9);else{_0x104e9=_0x150f89['createElement']('footnoteDefinition',{'footnoteId':_0x1ce0c1});const _0x302db6=_0x11349c['data']['htmlProcessor']['toView'](_0x166953);let _0x58c24c;if(_0x3b4589)_0x58c24c=_0x11349c['data']['toModel'](_0x302db6,_0x104e9);else{_0x58c24c=_0x150f89['createElement']('footnoteInlineContent');const _0x4cea1f=_0x11349c['data']['toModel'](_0x302db6,_0x58c24c);_0x150f89['insert'](_0x4cea1f,_0x58c24c);}_0x150f89['append'](_0x58c24c,_0x104e9);}_0x150f89['insert'](_0x104e9,_0x53773a,'end');}_0x867104=null;});});}}function c(_0x3dfb10,_0x485074){for(const {item:_0x179453}of _0x3dfb10['createRangeIn'](_0x485074))if(_0x179453['is']('element','footnotesDefinitions'))return _0x179453;return null;}function l(_0x254c37){const _0x4af4aa=new Set();for(const {item:_0x46a88a}of _0x254c37)_0x46a88a['is']('element','footnoteRef')&&_0x4af4aa['add'](_0x46a88a['getAttribute']('footnoteId'));return Array['from'](_0x4af4aa);}class i extends _0x28cc82{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fa471}=this,{componentFactory:_0x133656}=_0x1fa471['ui'];_0x133656['add']('insertFootnote',E(_0x1fa471,_0x268ce6)),_0x133656['add']('menuBar:insertFootnote',E(_0x1fa471,_0x4842a8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39434f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x163235;for(const _0xd085e5 in _0x39434f){const _0x582e61=_0xd085e5,_0x20c359=_0x39434f[_0x582e61];if('footnotesLicenseKeyValid'==_0x20c359||'footnotesLicenseKeyInvalid'==_0x20c359||'footnotesLicenseKeyExpired'==_0x20c359||'footnotesLicenseKeyDomainLimit'==_0x20c359||'footnotesLicenseKeyNotAllowed'==_0x20c359||'footnotesLicenseKeyEvaluationLimit'==_0x20c359||'footnotesLicenseKeyUsageLimit'==_0x20c359){delete _0x39434f[_0x582e61],_0x163235=_0x20c359,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x163235&&_0x39434f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x163235&&_0x39434f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x163235&&_0x39434f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x163235&&_0x39434f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x163235&&_0x39434f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x163235&&_0x39434f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3c0e07,_0x45fb81){const _0x25b3d6=_0x3c0e07['commands']['get']('insertFootnote');return _0x3ffd88=>{const {t:t}=_0x3ffd88,_0x277d09=new _0x45fb81(_0x3ffd88),_0x37acd8=_0x277d09 instanceof _0x4842a8;return _0x277d09['bind']('isEnabled')['to'](_0x25b3d6,'isEnabled'),_0x277d09['set']({'label':t(_0x37acd8?'Footnote':'Insert\x20footnote'),'icon':_0xb3f0a0,'tooltip':!0x0}),_0x277d09['on']('execute',()=>{_0x25b3d6['execute'](),_0x3c0e07['editing']['view']['focus']();}),_0x277d09;};}class lt extends _0x28cc82{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1d614c{['refresh'](){const {editor:_0x3c19ec}=this,_0x41f99f=_0x3c19ec['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x41f99f,this['value']=_0x41f99f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1df0cd}){const {editor:_0x3cf13b}=this,_0x23586a=_0x3cf13b['plugins']['get'](f),_0x1dfa32=_0x23586a['getFootnotesDefinitionsObjectElement']();_0x1dfa32&&W['includes'](_0x1df0cd)&&_0x3cf13b['model']['change'](_0x4b7caf=>{_0x4b7caf['setAttribute']('footnotesListStyle',_0x1df0cd,_0x1dfa32),_0x23586a['_updateFootnotesCounters'](_0x4b7caf);});}}class C extends _0x1d614c{['refresh'](){const {editor:_0x46f0f2}=this,_0x4da208=_0x46f0f2['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4da208,this['value']=_0x4da208?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x589484}){const {editor:_0x5971b6}=this,_0x3f6dfb=_0x5971b6['plugins']['get'](f),_0xa9b747=_0x3f6dfb['getFootnotesDefinitionsObjectElement']();_0xa9b747&&Number['isInteger'](_0x589484)&&_0x5971b6['model']['change'](_0x457d22=>{_0x457d22['setAttribute']('footnotesListStart',_0x589484,_0xa9b747),_0x3f6dfb['_updateFootnotesCounters'](_0x457d22);});}}class P extends _0x28cc82{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b585e}=this;_0x5b585e['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5b585e['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5b585e['commands']['add']('footnotesStyle',new S(_0x5b585e)),_0x5b585e['commands']['add']('footnotesStart',new C(_0x5b585e)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2f0864}=this,{schema:_0x2428e0}=_0x2f0864['model'];_0x2428e0['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x6bad84}=this,{conversion:_0x356a70,model:_0x252320}=_0x6bad84,{schema:_0x337c8}=_0x252320;_0x356a70['for']('upcast')['add'](_0x2f02d1=>{_0x2f02d1['on']('element:ol',(_0x2efd7a,_0x2b00e0,_0x4348e5)=>{const _0x125c7a=_0x2b00e0['viewItem'],_0x6f520a=_0x2b00e0['modelCursor']?.['parent'];_0x125c7a['hasClass']('footnotes-list')&&_0x6f520a?.['is']('element','footnotesDefinitions')&&(function(_0x151fed,_0x25fd1e,_0x9d4ef8,_0x195653){if(!_0x195653['checkAttribute'](_0x25fd1e,'footnotesListStart'))return;let _0x11fe56=0x1;const _0xc1e95b=_0x9d4ef8['consumable']['consume'](_0x151fed,{'attributes':'start'});if(_0xc1e95b){const _0x41de50=Number['parseInt'](_0x151fed['getAttribute']('start'),0xa);Number['isNaN'](_0x41de50)||(_0x11fe56=_0x41de50);}!_0xc1e95b&&_0x25fd1e['hasAttribute']('footnotesListStart')||_0x9d4ef8['writer']['setAttribute']('footnotesListStart',_0x11fe56,_0x25fd1e);}(_0x125c7a,_0x6f520a,_0x4348e5,_0x337c8),function(_0x12d705,_0x34fb0e,_0x39846b,_0x50520e){if(!_0x50520e['checkAttribute'](_0x34fb0e,'footnotesListStyle'))return;let _0x164d18='decimal',_0x4db58b=!0x1;if(_0x39846b['consumable']['consume'](_0x12d705,{'attributes':'type'})){const _0x4befdc={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x12d705['getAttribute']('type')];_0x4befdc&&(_0x164d18=_0x4befdc),_0x4db58b=!0x0;}_0x39846b['consumable']['consume'](_0x12d705,{'styles':'list-style-type'})&&(_0x164d18=function(_0x3cee90){switch(_0x3cee90){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3cee90;}}(_0x12d705['getStyle']('list-style-type')),_0x4db58b=!0x0),!_0x4db58b&&_0x34fb0e['hasAttribute']('footnotesListStyle')||_0x39846b['writer']['setAttribute']('footnotesListStyle',_0x164d18,_0x34fb0e);}(_0x125c7a,_0x6f520a,_0x4348e5,_0x337c8));});}),_0x356a70['for']('downcast')['add'](_0x4ffaf8=>{_0x4ffaf8['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5fe822,_0x3ee8fa,_0x296b09)=>{if(!_0x296b09['consumable']['consume'](_0x3ee8fa['item'],_0x5fe822['name']))return;const _0x1a3666=M(_0x3ee8fa['item'],_0x296b09['mapper']),{attributeNewValue:_0x76dcfb}=_0x3ee8fa;null==_0x76dcfb||0x1===_0x76dcfb?_0x296b09['writer']['removeAttribute']('start',_0x1a3666):_0x296b09['writer']['setAttribute']('start',String(_0x76dcfb),_0x1a3666);}),_0x4ffaf8['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xacd662,_0x5dcb22,_0x1ada91)=>{if(!_0x1ada91['consumable']['consume'](_0x5dcb22['item'],_0xacd662['name']))return;const _0x29d6cf=M(_0x5dcb22['item'],_0x1ada91['mapper']),{attributeNewValue:_0x9c7756}=_0x5dcb22;_0x9c7756&&'decimal'!==_0x9c7756?_0x1ada91['writer']['setStyle']('list-style-type',_0x9c7756,_0x29d6cf):_0x1ada91['writer']['removeStyle']('list-style-type',_0x29d6cf);});});}['_definePostfixer'](){const {editor:_0x28476b}=this,{model:_0x2df0b9}=_0x28476b,_0x545749=_0x28476b['plugins']['get'](f),_0x4d5fee=this['_getDefaultListStyle'](),_0x590d00=this['_getDefaultStartIndex']();_0x2df0b9['document']['registerPostFixer'](_0x52085d=>{const _0x4cf57a=_0x2df0b9['document']['differ']['getChanges']();let _0xed2600=!0x1;for(const _0x38051f of _0x4cf57a){if('insert'!==_0x38051f['type']||'$text'===_0x38051f['name'])continue;const _0x20c13e=_0x2df0b9['createRangeOn'](_0x38051f['position']['nodeAfter']);for(const _0x24281c of _0x20c13e['getItems']())_0x24281c['is']('element','footnotesDefinitions')&&(!_0x24281c['hasAttribute']('footnotesListStart')&&_0x2df0b9['schema']['checkAttribute'](_0x24281c,'footnotesListStart')&&(_0x52085d['setAttribute']('footnotesListStart',_0x590d00,_0x24281c),_0xed2600=!0x0),!_0x24281c['hasAttribute']('footnotesListStyle')&&_0x2df0b9['schema']['checkAttribute'](_0x24281c,'footnotesListStyle')&&(_0x52085d['setAttribute']('footnotesListStyle',_0x4d5fee,_0x24281c),_0xed2600=!0x0));}return _0xed2600&&_0x545749['_updateFootnotesCounters'](_0x52085d),_0xed2600;});}['_defineFormatter'](){const {editor:_0xc3a154}=this;_0xc3a154['plugins']['get'](f)['setFootnoteFormatter'](_0x337467=>this['_formatFootnoteListValue'](_0x337467));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xac3f5d,value:_0x4ea988,digits:_0x69ba4c}){const _0x59436c=_0xac3f5d['getAttribute']('footnotesListStyle'),_0x2fc635=_0xac3f5d['getAttribute']('footnotesListStart'),_0x503706=Math['floor'](_0x4ea988)+(_0x2fc635??0x1)-0x1;switch(_0x59436c){case'decimal-leading-zero':return function(_0x7f8b,_0x288d1e){return String(_0x7f8b)['padStart'](_0x288d1e,'0');}(_0x503706,Math['max'](0x2,_0x69ba4c));case'lower-alpha':case'lower-latin':return N(_0x503706,!0x1);case'upper-alpha':case'upper-latin':return N(_0x503706,!0x0);case'lower-roman':return X(_0x503706,!0x1);case'upper-roman':return X(_0x503706,!0x0);default:return String(_0x503706);}}}function M(_0x4bdc2d,_0x51f9dd){const _0x1ddb9d=_0x51f9dd['toViewElement'](_0x4bdc2d);return Array['from'](_0x1ddb9d['getChildren']())['find'](_0x164557=>_0x164557['is']('element','ol')&&_0x164557['hasClass']('footnotes-list'));}function N(_0x30c487,_0x59c125){let _0x330517='',_0x463879=_0x30c487;for(;_0x463879>0x0;){const _0xf44945=(_0x463879-0x1)%0x1a;_0x330517=String['fromCharCode'](0x61+_0xf44945)+_0x330517,_0x463879=Math['floor']((_0x463879-0x1)/0x1a);}return _0x59c125?_0x330517['toUpperCase']():_0x330517;}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(_0x1ddb83,_0x42308a){let _0x1652f0='',_0x391821=_0x1ddb83;for(const {value:_0x2d1962,numeral:_0x19f716}of V)for(;_0x391821>=_0x2d1962;)_0x1652f0+=_0x19f716,_0x391821-=_0x2d1962;return _0x42308a?_0x1652f0:_0x1652f0['toLowerCase']();}class $ extends _0xaed57d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1f100a();['focusCycler'];constructor(_0x201350,{styleButtonViews:_0x1bc9b9,styleGridAriaLabel:_0xa64de5}){super(_0x201350),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1bc9b9,_0xa64de5),[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 _0x522b5d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x522b5d['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x12e45c=_0x12615c=>_0x12615c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12e45c),this['keystrokes']['set']('arrowleft',_0x12e45c),this['keystrokes']['set']('arrowup',_0x12e45c),this['keystrokes']['set']('arrowdown',_0x12e45c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x27f624,_0x490a8b){const _0x443efd=new _0xaed57d(this['locale']);return _0x443efd['children']=_0x443efd['createCollection'](),_0x443efd['children']['addMany'](_0x27f624),_0x443efd['setTemplate']({'tag':'div','attributes':{'aria-label':_0x490a8b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x443efd['children']}),_0x443efd['children']['delegate']('execute')['to'](this),_0x443efd['focus']=function(){for(const _0x5076c2 of this['children'])if(_0x5076c2 instanceof _0x268ce6&&_0x5076c2['isOn'])return void _0x5076c2['focus']();this['children']['first']['focus']();},_0x443efd['focusTracker']=new rt(),_0x443efd['keystrokes']=new nt(),_0x443efd['render'](),_0x443efd['keystrokes']['listenTo'](_0x443efd['element']),this['children']['add'](_0x443efd),_0x443efd;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5d97c2=this['_createStartIndexPropertyView'](),_0x1024f8=[_0x5d97c2],_0x177b6e=new it(this['locale'],_0x1024f8);return _0x177b6e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x177b6e['buttonView']['bind']('isEnabled')['toMany'](_0x1024f8,'isEnabled',(..._0x585e8e)=>_0x585e8e['some'](_0x40f96a=>_0x40f96a)),_0x177b6e['buttonView']['on']('change:isEnabled',(_0x2bd4d8,_0x5acf47,_0x31cfab)=>{_0x31cfab||(_0x177b6e['isCollapsed']=!0x0);}),this['children']['add'](_0x177b6e),[_0x5d97c2,_0x177b6e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x48a070=new et(this['locale'],ot);return _0x48a070['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x48a070['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x48a070['fieldView']['on']('input',()=>{const _0x5dd798=_0x48a070['fieldView']['element'],_0xcccbfc=_0x5dd798['valueAsNumber'];Number['isNaN'](_0xcccbfc)?_0x48a070['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5dd798['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xcccbfc}):_0x48a070['errorText']=t(_0xcccbfc<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x48a070;}}class j extends _0x28cc82{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2b6024,_0x3f0282];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x461c22}=this,{componentFactory:_0x26a518}=_0x461c22['ui'];_0x461c22['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x26a518['add']('footnotesStyle',function(_0x304220){return _0x466b5d=>{const {t:t}=_0x466b5d,_0x4bdcbb=_0x304220['commands']['get']('footnotesStyle'),_0x2d9661=_0x22a2bf(_0x466b5d),{buttonView:_0x346bb5}=_0x2d9661;return _0x2d9661['class']='ck-footnotes-styles-dropdown',_0x2d9661['bind']('isEnabled')['to'](_0x4bdcbb,'isEnabled'),_0x346bb5['set']({'label':t('Footnotes\x20style'),'icon':_0xb3f0a0,'tooltip':!0x0}),_0x2d9661['once']('change:isOpen',()=>{const _0x9f14bc=function({editor:_0x27e51e,dropdownView:_0x36cd12}){const {t:t}=_0x27e51e['locale'],_0x36889b=t('Footnotes\x20definitions\x20styles'),_0x4548d5=function(_0x1a74da){const t=_0x1a74da['locale']['t'],_0x6f0d82=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4b9445},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xb9385d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x33e745},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5737aa},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5090ba},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1904fb}];return _0x6f0d82['map'](function(_0x2f0533){const _0xff098=_0x2f0533['locale'];return({label:_0x53dc59,icon:_0x5d2688,tooltip:_0x172866,style:_0x45b7f5})=>{const _0x1ae9a4=_0x2f0533['commands']['get']('footnotesStyle'),_0x38e65d=new _0x268ce6(_0xff098);return _0x38e65d['set']({'label':_0x53dc59,'icon':_0x5d2688,'tooltip':_0x172866}),_0x38e65d['bind']('isOn')['to'](_0x1ae9a4,'value',_0x26aa43=>_0x26aa43===_0x45b7f5),_0x38e65d['bind']('isEnabled')['to'](_0x1ae9a4,'isEnabled'),_0x38e65d['on']('execute',()=>{_0x2f0533['execute']('footnotesStyle',{'value':_0x45b7f5}),_0x2f0533['editing']['view']['focus']();}),_0x38e65d;};}(_0x1a74da));}(_0x27e51e),_0x2dc21f=new $(_0x27e51e['locale'],{'styleGridAriaLabel':_0x36889b,'styleButtonViews':_0x4548d5}),_0x1ee492=_0x27e51e['commands']['get']('footnotesStart');return _0x2dc21f['startIndexFieldView']['bind']('isEnabled')['to'](_0x1ee492),_0x2dc21f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1ee492),_0x2dc21f['on']('footnotesListStart',(_0x5b0a64,_0xdac645)=>{_0x27e51e['execute']('footnotesStart',{'value':_0xdac645['startIndex']});}),_0x2dc21f['delegate']('execute')['to'](_0x36cd12),_0x2dc21f;}({'editor':_0x304220,'dropdownView':_0x2d9661});_0x2d9661['panelView']['children']['add'](_0x9f14bc);}),_0x2d9661;};}(_0x461c22));}['afterInit'](){const {editor:_0x12a807}=this,{t:t}=_0x12a807['locale'],_0x28eefd=_0x12a807['plugins']['get'](_0x3f0282),{defaultPositions:_0x11057f}=_0x25c226;_0x28eefd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x12a807['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xb27c9d=>{let _0x55f937=_0xb27c9d['getFirstPosition']()?.['parent'];return _0x55f937?.['is']('$text')&&(_0x55f937=_0x55f937['parent']),_0x55f937?.['is']('element')?_0x55f937['findAncestor'](H):null;},'positions':[_0x11057f['southArrowNorth'],_0x11057f['southArrowNorthMiddleWest'],_0x11057f['southArrowNorthMiddleEast'],_0x11057f['southArrowNorthWest'],_0x11057f['southArrowNorthEast'],_0x11057f['northArrowSouth'],_0x11057f['northArrowSouthMiddleWest'],_0x11057f['northArrowSouthMiddleEast'],_0x11057f['northArrowSouthWest'],_0x11057f['northArrowSouthEast'],_0x11057f['viewportStickyNorth']]});}}class ft extends _0x28cc82{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x3c2f27,Command as _0xe42304}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x251ba4,isWidget as _0x2c77fe,toWidgetEditable as _0x108ca9,WidgetToolbarRepository as _0x49fa03}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x40df71,logWarning as _0x436438,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x21f2e4,ClickObserver as _0x5859b4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x13a45d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5039d8,ButtonView as _0x384eef,View as _0x27604a,ViewCollection as _0x26ada9,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x3b9cb6,BalloonPanelView as _0x2eaa82,createDropdown as _0x2138d0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x306388,IconListStyleDecimal as _0xdc6c4b,IconListStyleDecimalLeadingZero as _0x26246a,IconListStyleLowerRoman as _0x56ce2d,IconListStyleUpperRoman as _0x42a80f,IconListStyleLowerLatin as _0x22828b,IconListStyleUpperLatin as _0x3861e8}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1ca4fa,_0x10ee11){this['_model']=_0x1ca4fa,this['_elementName']=_0x10ee11['elementName'],this['_getElementKey']=_0x10ee11['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x118aae){const _0x2a83a5=new Set(),_0x30a788=new Map();for(const _0x254c33 of _0x118aae){if('insert'===_0x254c33['type']&&'$text'!==_0x254c33['name']&&_0x254c33['position']['nodeAfter']){const _0x1d0abe=this['_model']['createRangeOn'](_0x254c33['position']['nodeAfter']);for(const _0x376fec of _0x1d0abe['getItems']()){if(!_0x376fec['is']('element',this['_elementName']))continue;const _0xa6b896=this['_getElementKey'](_0x376fec);_0x30a788['has'](_0xa6b896)||_0x30a788['set'](_0xa6b896,[]),_0x30a788['get'](_0xa6b896)['push'](_0x376fec);}}if('remove'===_0x254c33['type']&&_0x254c33['name']===this['_elementName']){const _0x3d332a=this['_getElementKey']({'getAttribute':_0x13ef73=>_0x254c33['attributes']['get'](_0x13ef73)});_0x2a83a5['add'](_0x3d332a);}}for(const [_0x63182b,_0x1b5e18]of this['_trackedElements'])'$graveyard'===_0x1b5e18['root']['rootName']&&_0x2a83a5['add'](_0x63182b);for(const _0x1ed6b4 of _0x2a83a5)this['_trackedElements']['delete'](_0x1ed6b4);for(const [_0x56c7da,_0x22f692]of _0x30a788)this['_trackedElements']['set'](_0x56c7da,_0x22f692[_0x22f692['length']-0x1]);const _0x338574=new Set();for(const [_0x52cbc2,_0x5d5f7e]of _0x30a788)_0x2a83a5['has'](_0x52cbc2)&&(_0x338574['add'](_0x5d5f7e[0x0]),_0x5d5f7e['length']>0x1?_0x30a788['set'](_0x52cbc2,_0x5d5f7e['slice'](0x1)):_0x30a788['delete'](_0x52cbc2),_0x2a83a5['delete'](_0x52cbc2));return{'removed':Array['from'](_0x2a83a5),'inserted':Array['from'](_0x30a788['values']())['flat'](),'moved':Array['from'](_0x338574)};}}class f extends _0x3c2f27{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b90ba){super(_0x1b90ba),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x716a9f=>_0x716a9f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4bf27a=>_0x4bf27a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1900f3}=this,{model:_0x10e3b5,data:_0x53240a}=_0x1900f3;_0x10e3b5['document']['registerPostFixer'](_0x9e92c7=>{const _0x2aabad=_0x10e3b5['document']['differ']['getChanges']();let _0x47adc8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x9e92c7,_0x2aabad)&&(_0x47adc8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x9e92c7,_0x2aabad)&&(_0x47adc8=!0x0),this['_handleFootnoteReferencesChanges'](_0x9e92c7,_0x2aabad)&&(_0x47adc8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x9e92c7)&&(_0x47adc8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x9e92c7)&&(_0x47adc8=!0x0),this['_sortFootnoteDefinitions'](_0x9e92c7)&&(_0x47adc8=!0x0),_0x47adc8;}),this['listenTo'](_0x10e3b5['document'],'change:data',()=>{_0x10e3b5['enqueueChange']({'isUndoable':!0x1},_0x2db640=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2db640);});},{'priority':'low'}),this['listenTo'](_0x53240a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x299fc1){return this['_footnotes']['find'](_0x33f99f=>_0x33f99f['id']===_0x299fc1)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x247760){this['_footnoteFormatter']=_0x247760;}['_updateFootnotesCounters'](_0x4fec6f,_0xa4dafb=0x0){let _0x146f10=!0x1;for(let _0x3465ef=_0xa4dafb;_0x3465ef<this['_footnotes']['length'];_0x3465ef++)this['_updateFootnoteRefCounter'](_0x4fec6f,_0x3465ef)&&(_0x146f10=!0x0);return _0x146f10;}['_insertEmptyFootnotesDefinitionsContainer'](_0x35b0e8,_0x5e578e){const _0x3ea48c=_0x35b0e8['createElement']('footnotesDefinitions',{});return _0x35b0e8['append'](_0x3ea48c,_0x5e578e),this['_footnotesDefinitions']=_0x3ea48c,_0x3ea48c;}['_ensureFootnotesDefinitionsContainerExists'](_0xaaf7de){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3c115c=this['_footnotes'][0x0]['reference']['root'],_0x331232=this['_insertEmptyFootnotesDefinitionsContainer'](_0xaaf7de,_0x3c115c);for(const _0x733a7c of this['_footnotes'])_0x733a7c['definition']['parent']||_0xaaf7de['insert'](_0x733a7c['definition'],_0x331232,'end');this['_updateFootnotesCounters'](_0xaaf7de);}['_handleFootnotesDefinitionsObjectChanges'](_0x1b5620,_0x59f082){let _0x1168db=!0x1;const {inserted:_0x17fc41,removed:_0x558856,moved:_0x543317}=this['_footnoteDefsContainerTracker']['getChanges'](_0x59f082);if(_0x543317['length']&&(this['_footnotesDefinitions']=_0x543317[0x0]),_0x17fc41['length']){if(_0x17fc41['length']>0x1||this['_footnotesDefinitions']&&_0x17fc41['some'](_0x35004f=>_0x35004f!==this['_footnotesDefinitions'])){const _0x3ad39f=_0x1b5620['createElement']('footnotesDefinitions',{}),_0x4562fb=[];this['_footnotesDefinitions']&&_0x4562fb['push'](this['_footnotesDefinitions']),_0x4562fb['push'](..._0x17fc41),_0x1b5620['insert'](_0x3ad39f,_0x4562fb[0x0],'before');for(const _0x3151be of _0x4562fb)_0x1b5620['move'](_0x1b5620['createRangeIn'](_0x3151be),_0x1b5620['createPositionAt'](_0x3ad39f,'end')),_0x1b5620['remove'](_0x3151be);this['_footnotesDefinitions']=_0x3ad39f,this['_updateFootnotesCounters'](_0x1b5620),_0x1168db=!0x0;}else this['_footnotesDefinitions']=_0x17fc41[0x0];}if(_0x558856['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5d4522 of this['_footnotes'])_0x1b5620['remove'](_0x5d4522['reference']),_0x1168db=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1168db;}['_handleFootnoteDefinitionsChanges'](_0x31e165,_0x234be5){let _0x5d53c0=!0x1;const _0x51badc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xa1aa27,moved:_0x5edcbc}=this['_footnoteDefsTracker']['getChanges'](_0x234be5);for(const _0x496bb4 of[..._0x5edcbc,..._0xa1aa27]){const _0x56e8f8=_0x496bb4['getAttribute']('footnoteId'),_0x10a53d=this['getFootnote'](_0x56e8f8);_0x10a53d&&(_0x10a53d['definition']=_0x496bb4),_(_0x31e165,_0x51badc,_0x496bb4)&&(_0x5d53c0=!0x0);}return _0x5d53c0;}['_handleFootnoteReferencesChanges'](_0x5cf6c8,_0x440564){let _0x40d408=!0x1;const {removed:_0x1a7384,inserted:_0x28eedf,moved:_0x38d62c}=this['_footnoteRefsTracker']['getChanges'](_0x440564);for(const _0x277a97 of _0x1a7384)this['_handleRemoveFootnoteReferenceById'](_0x5cf6c8,_0x277a97)&&(_0x40d408=!0x0);for(const _0x2a40a5 of _0x28eedf)this['_handleInsertedFootnoteReference'](_0x5cf6c8,_0x2a40a5)&&(_0x40d408=!0x0);for(const _0x4adede of _0x38d62c)this['_handleMovedFootnoteReference'](_0x5cf6c8,_0x4adede)&&(_0x40d408=!0x0);return _0x40d408;}['_handleFootnotesDefinitionsObjectSync'](_0x531edd){if(!this['_footnotesDefinitions'])return!0x1;let _0x3aadfc=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x516057=[];for(const _0x1175cf of this['_footnotesDefinitions']['getChildren']()){const _0x2c6970=_0x1175cf['getAttribute']('footnoteId');this['getFootnote'](_0x2c6970)||(_0x516057['unshift'](_0x1175cf),_0x3aadfc=!0x0);}for(const _0x23e555 of _0x516057)_0x531edd['remove'](_0x23e555);}const _0x4e9a35=new Set(),_0x17eeac=[];for(const _0x329078 of this['_footnotesDefinitions']['getChildren']()){const _0x558fea=_0x329078['getAttribute']('footnoteId');_0x4e9a35['has'](_0x558fea)?(_0x17eeac['unshift'](_0x329078),_0x3aadfc=!0x0):_0x4e9a35['add'](_0x558fea);}for(const _0x1606a9 of _0x17eeac)_0x531edd['remove'](_0x1606a9);return this['_footnotesDefinitions']['childCount']||(_0x531edd['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3aadfc=!0x0),_0x3aadfc;}['_handleInsertedFootnoteReference'](_0x31988f,_0xf76e2e){if(this['_footnotes']['find'](_0x4de227=>_0x4de227['reference']===_0xf76e2e))return!0x1;let _0x195ef6=!0x1;const _0x5283c7=_0xf76e2e['getAttribute']('footnoteId'),_0x19156b=this['_footnotes']['findIndex'](_0x61554e=>_0x61554e['id']===_0x5283c7);-0x1!==_0x19156b&&(_0x31988f['remove'](this['_footnotes'][_0x19156b]['reference']),this['_footnotes']['splice'](_0x19156b,0x1),_0x195ef6=!0x0);let _0x29e3c8=this['_footnotesDefinitions']?function(_0x366af1,_0x571720){for(const _0x251d99 of _0x366af1['getChildren']())if(_0x251d99['getAttribute']('footnoteId')===_0x571720)return _0x251d99;return null;}(this['_footnotesDefinitions'],_0x5283c7):null;_0x29e3c8||(_0x29e3c8=_0x31988f['createElement']('footnoteDefinition',{'footnoteId':_0x5283c7}),this['_footnotesDefinitions']&&(_0x31988f['insert'](_0x29e3c8,this['_footnotesDefinitions'],'end'),_0x195ef6=!0x0));const _0x7abd9c={'id':_0x5283c7,'reference':_0xf76e2e,'definition':_0x29e3c8},_0x1c6321=I(this['editor']['model'],this['_footnotes'],_0xf76e2e);this['_footnotes']['splice'](_0x1c6321,0x0,_0x7abd9c);let _0x36bc41=_0x1c6321;return-0x1!==_0x19156b&&(_0x36bc41=Math['min'](_0x1c6321,_0x19156b)),this['_updateFootnotesCounters'](_0x31988f,_0x36bc41)&&(_0x195ef6=!0x0),_0x195ef6;}['_handleRemoveFootnoteReferenceById'](_0x1bb0c5,_0x11bce6){const _0x34c50f=this['_footnotes']['findIndex'](_0x5844bb=>_0x5844bb['id']===_0x11bce6);if(-0x1===_0x34c50f)return!0x1;let _0x2d7dae=!0x1;const _0x505ae9=this['_footnotes'][_0x34c50f];return'$graveyard'!==_0x505ae9['definition']['root']['rootName']&&(_0x1bb0c5['remove'](_0x505ae9['definition']),_0x2d7dae=!0x0),this['_footnotes']['splice'](_0x34c50f,0x1),this['_updateFootnotesCounters'](_0x1bb0c5,_0x34c50f)&&(_0x2d7dae=!0x0),_0x2d7dae;}['_handleMovedFootnoteReference'](_0x3a76a9,_0x2d2940){const _0x203374=_0x2d2940['getAttribute']('footnoteId'),_0x39a3f2=this['_footnotes']['findIndex'](_0x1bda03=>_0x1bda03['id']===_0x203374),_0x2b6297=this['_footnotes'][_0x39a3f2];let _0x25e141=!0x1;_0x2b6297['reference']=_0x2d2940,this['_footnotes']['splice'](_0x39a3f2,0x1);const _0x23b1cf=I(this['editor']['model'],this['_footnotes'],_0x2d2940);return this['_footnotes']['splice'](_0x23b1cf,0x0,_0x2b6297),this['_updateFootnotesCounters'](_0x3a76a9,Math['min'](_0x39a3f2,_0x23b1cf))&&(_0x25e141=!0x0),_0x25e141;}['_updateFootnoteRefCounter'](_0x232457,_0x2ee113){if(!this['_footnotesDefinitions'])return!0x1;const _0x3243ee=this['_footnotes'][_0x2ee113];let _0x2c5020;return _0x2c5020=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3243ee,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2ee113+0x1}):String(_0x2ee113+0x1),_0x3243ee['reference']['getAttribute']('footnoteCounter')!=_0x2c5020&&(_0x232457['setAttribute']('footnoteCounter',_0x2c5020,_0x3243ee['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1e6656){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2ce8d0,_0xec87d6){if(_0x2ce8d0['length']!==_0xec87d6['length'])return!0x1;for(let _0x58f6c8=0x0;_0x58f6c8<_0x2ce8d0['length'];_0x58f6c8++)if(_0x2ce8d0[_0x58f6c8]!==_0xec87d6[_0x58f6c8])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xefa0c8=>_0xefa0c8['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4f5b27=>_0x4f5b27['getAttribute']('footnoteId'))))return!0x1;let _0x53c386=!0x1;for(let _0x1679c8=0x0;_0x1679c8<this['_footnotes']['length'];_0x1679c8++){const _0x140a14=this['_footnotes'][_0x1679c8],_0x5b5a0c=_0x1e6656['createPositionBefore'](_0x140a14['definition']),_0x38a7e6=_0x1e6656['createPositionAt'](this['_footnotesDefinitions'],_0x1679c8);_0x5b5a0c['isEqual'](_0x38a7e6)||(_0x1e6656['move'](_0x1e6656['createRangeOn'](_0x140a14['definition']),_0x38a7e6),_0x53c386=!0x0);}return _0x53c386;}['_ensureFootnotesReferencesHaveProperOrder'](_0x20b0cd){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2ef1ef}=this['editor'];let _0x48a226=!0x1;for(let _0x28aea6=0x0;_0x28aea6<this['_footnotes']['length']-0x1;_0x28aea6++){const _0xaafdd4=this['_footnotes'][_0x28aea6],_0x32b0cf=this['_footnotes'][_0x28aea6+0x1],_0x523a53=_0x2ef1ef['createPositionBefore'](_0xaafdd4['reference']),_0x346697=_0x2ef1ef['createPositionBefore'](_0x32b0cf['reference']);'after'===_0x523a53['compareWith'](_0x346697)&&(this['_handleMovedFootnoteReference'](_0x20b0cd,_0xaafdd4['reference']),_0x28aea6=-0x1,_0x48a226=!0x0);}return _0x48a226;}}function _(_0x1175a7,_0xf57c81,_0x35ca1c){if(_0x35ca1c['childCount'])return!0x1;const _0x477f66=_0xf57c81?'paragraph':'footnoteInlineContent';return _0x1175a7['insert'](_0x1175a7['createElement'](_0x477f66),_0x35ca1c),!0x0;}function I(_0x5877af,_0x1cde27,_0x164233){if(0x0===_0x1cde27['length'])return 0x0;const _0x5ecb5e=_0x5877af['createPositionBefore'](_0x164233);for(let _0xe2a0fc=0x0;_0xe2a0fc<_0x1cde27['length'];_0xe2a0fc++){const _0x2a2519=_0x1cde27[_0xe2a0fc],_0xd2601a=_0x5877af['createPositionBefore'](_0x2a2519['reference']);if('before'===_0x5ecb5e['compareWith'](_0xd2601a))return _0xe2a0fc;}const _0x17008c=_0x164233['root'];let _0x4f3264=-0x1;for(let _0x113024=_0x1cde27['length']-0x1;_0x113024>=0x0;_0x113024--)if(_0x1cde27[_0x113024]['reference']['root']===_0x17008c){_0x4f3264=_0x113024;break;}if(-0x1!==_0x4f3264)return _0x4f3264+0x1;const _0x3b2ed4=_0x5877af['document']['getRootNames'](),_0x49539c=_0x3b2ed4['indexOf'](_0x17008c['rootName']),_0x1f30bb=_0x3b2ed4[_0x49539c+0x1];if(_0x1f30bb){for(let _0x55efed=0x0;_0x55efed<_0x1cde27['length'];_0x55efed++)if(_0x1cde27[_0x55efed]['reference']['root']['rootName']===_0x1f30bb)return _0x55efed;}return _0x1cde27['length'];}class h extends _0xe42304{['refresh'](){const _0x3e33ba=this['editor']['model']['document']['selection'],_0x88acfd=this['_getPositionToInsertFootnote'](_0x3e33ba);this['isEnabled']=!!_0x88acfd;}['execute'](_0x587846){const {editor:_0x5b9883}=this,{model:_0x178859}=_0x5b9883,{selection:_0x4cfeee}=_0x178859['document'],_0x4d2c83=this['_getPositionToInsertFootnote'](_0x4cfeee);if(!_0x4d2c83)return;const _0x23b841=_0x5b9883['plugins']['get']('FootnotesEditing'),_0x5de3ae=_0x587846?.['footnoteId']??_0x40df71();!function(_0x5c94f5){return'string'==typeof _0x5c94f5&&_0x5c94f5['length']>0x0&&!/\s/['test'](_0x5c94f5)&&!/^\d/['test'](_0x5c94f5);}(_0x5de3ae)?_0x436438('insert-footnote-command-executed-with-invalid-id'):(_0x178859['change'](_0x4d8ccd=>{const _0x2bdd22=_0x4d8ccd['createElement']('footnoteRef',{'footnoteId':_0x5de3ae});_0x178859['insertObject'](_0x2bdd22,_0x4d2c83,null);}),_0x23b841['_moveSelectionToFootnoteDefinition'](_0x5de3ae));}['_getPositionToInsertFootnote'](_0x30904c){const {model:_0x1d56bf}=this['editor'],{schema:_0x27a722}=_0x1d56bf,_0x4767c4=_0x30904c['getFirstRange']();for(const _0xee4877 of _0x4767c4['getItems']())if(_0x27a722['isBlock'](_0xee4877)||_0x27a722['isObject'](_0xee4877))return null;const _0x96d033=_0x4767c4['end'];return _0x27a722['checkChild'](_0x96d033,'footnoteRef')?_0x96d033:null;}}class r extends _0x3c2f27{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4299e7}=this;_0x4299e7['config']['define']('footnotes.multiBlock',!0x0),_0x4299e7['commands']['add']('insertFootnote',new h(_0x4299e7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x560aa7){const _0x3840cd=_0x4372a8([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]),_0x2f0d14=0x47a28506,_0x26f42c=0x47a507ee^_0x2f0d14,_0x2232dc=window[_0x4372a8([0x44,0x61,0x74,0x65])][_0x4372a8([0x6e,0x6f,0x77])](),_0x444f2a=_0x560aa7[_0x4372a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xdd71a5=new window[(_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x239d67=>{_0x444f2a[_0x4372a8([0x6f,0x6e,0x63,0x65])](_0x4372a8([0x72,0x65,0x61,0x64,0x79]),_0x239d67);}),_0xf44da4={[_0x4372a8([0x6b,0x74,0x79])]:_0x4372a8([0x45,0x43]),[_0x4372a8([0x75,0x73,0x65])]:_0x4372a8([0x73,0x69,0x67]),[_0x4372a8([0x63,0x72,0x76])]:_0x4372a8([0x50,0x2d,0x32,0x35,0x36]),[_0x4372a8([0x78])]:_0x4372a8([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]),[_0x4372a8([0x79])]:_0x4372a8([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]),[_0x4372a8([0x61,0x6c,0x67])]:_0x4372a8([0x45,0x53,0x32,0x35,0x36])},_0x38a4f6=_0x444f2a[_0x4372a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4372a8([0x67,0x65,0x74])](_0x4372a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14623d(){let _0x2f01eb,_0x5990a3=null,_0x2613eb=null;try{if(_0x38a4f6==_0x4372a8([0x47,0x50,0x4c]))return _0x4372a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2f01eb=_0x1e8b32(),!_0x2f01eb)return _0x4372a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2f01eb[_0x4372a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2613eb=_0x495589(_0x2f01eb[_0x4372a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2f01eb[_0x4372a8([0x6a,0x74,0x69])])),await _0x30551e()?_0x36cb75()?_0x2852a6()?_0x4372a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x47ea86()?(_0x2f01eb[_0x4372a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4372a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5990a3=_0x5dd674(_0x4372a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1fb807()):_0x4372a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4372a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4372a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4372a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2852a6(){const _0x4e8c74=[_0x4372a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4372a8([0x74,0x72,0x69,0x61,0x6c])][_0x4372a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f01eb[_0x4372a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2232dc/0x3e8:0xe10*_0x26f42c;return _0x2f01eb[_0x4372a8([0x65,0x78,0x70])]<_0x4e8c74;}function _0x36cb75(){const _0x23df2b=_0x2f01eb[_0x4372a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23df2b&&(!!_0x23df2b[_0x4372a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4372a8([0x2a]))||!!_0x23df2b[_0x4372a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4372a8([0x46,0x4f,0x4f])));}function _0x47ea86(){const _0x451733=_0x2f01eb[_0x4372a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x451733||0x0==_0x451733[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35c6eb}=new URL(window[_0x4372a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x451733[_0x4372a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c6eb))return!0x0;const _0x242175=_0x35c6eb[_0x4372a8([0x73,0x70,0x6c,0x69,0x74])](_0x4372a8([0x2e]));return _0x451733[_0x4372a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ecaac=>_0x3ecaac[_0x4372a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4372a8([0x2a])))[_0x4372a8([0x6d,0x61,0x70])](_0x1c01ed=>_0x1c01ed[_0x4372a8([0x73,0x70,0x6c,0x69,0x74])](_0x4372a8([0x2e])))[_0x4372a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34ee02=>_0x34ee02[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x242175[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4372a8([0x6d,0x61,0x70])](_0x32e901=>Array(_0x242175[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32e901[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4372a8([0x66,0x69,0x6c,0x6c])](_0x32e901[0x0]===_0x4372a8([0x2a])?_0x4372a8([0x2a]):'')[_0x4372a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32e901))[_0x4372a8([0x73,0x6f,0x6d,0x65])](_0x5c0e42=>_0x242175[_0x4372a8([0x65,0x76,0x65,0x72,0x79])]((_0x4c151e,_0x616379)=>_0x5c0e42[_0x616379]===_0x4c151e||_0x5c0e42[_0x616379]===_0x4372a8([0x2a])));}function _0x1fb807(){return _0x5990a3&&_0x2613eb?new window[(_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcbe5d,_0x8f680b)=>{_0x5990a3[_0x4372a8([0x74,0x68,0x65,0x6e])](_0xcbe5d,_0x8f680b),_0x2613eb[_0x4372a8([0x74,0x68,0x65,0x6e])](_0x1606bf=>{_0x1606bf!=_0x4372a8([0x56,0x61,0x6c,0x69,0x64])&&_0xcbe5d(_0x1606bf);},_0x8f680b);}):_0x5990a3||_0x2613eb||_0x4372a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x495589(_0x4aec19,_0x52d518){return new window[(_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x253d53=>{if(_0x2f3ab8())return _0x253d53(_0x4372a8([0x56,0x61,0x6c,0x69,0x64]));_0x35ad30(),_0x444f2a[_0x4372a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4372a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xc44720=!0x1;const _0x449a60=_0x40df71();function _0x484b46(_0x52a5f3){return!!_0x52a5f3&&(typeof _0x52a5f3===_0x4372a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x52a5f3===_0x4372a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x52a5f3[_0x4372a8([0x74,0x68,0x65,0x6e])]===_0x4372a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x52a5f3[_0x4372a8([0x63,0x61,0x74,0x63,0x68])]===_0x4372a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd8118c(_0x31a6c9){_0x3fcf2c(_0x31a6c9)[_0x4372a8([0x74,0x68,0x65,0x6e])](_0x209a27=>{if(!_0x209a27||_0x209a27[_0x4372a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4372a8([0x6f,0x6b]))return _0x4372a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b6c3b(_0x515c7b(_0x449a60+_0x52d518))!=_0x209a27[_0x4372a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4372a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4372a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4372a8([0x74,0x68,0x65,0x6e])](_0x21e59f=>(_0x458529(),_0x21e59f),()=>{const _0x4eaa0a=_0x4e60a0();return null==_0x4eaa0a?(_0x458529(),_0x4372a8([0x56,0x61,0x6c,0x69,0x64])):_0x4372a8(_0x2232dc-_0x4eaa0a>(0x63ae0106^_0x2f0d14)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4372a8([0x74,0x68,0x65,0x6e])](_0x253d53)[_0x4372a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x253d53(_0x4372a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x597fd8=0x47946b86^_0x2f0d14;function _0x458529(){const _0x22f4af=_0x4372a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6c3b(_0x515c7b(_0x4aec19)),_0x2d4fef=_0xbcb70(_0x3b6c3b(window[_0x4372a8([0x4d,0x61,0x74,0x68])][_0x4372a8([0x63,0x65,0x69,0x6c])](_0x2232dc/_0x597fd8)));window[_0x4372a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4372a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22f4af,_0x2d4fef);}function _0x4e60a0(){const _0x4979b1=_0x4372a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b6c3b(_0x515c7b(_0x4aec19)),_0x512817=window[_0x4372a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4372a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4979b1);return _0x512817?window[_0x4372a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbcb70(_0x512817),0x10)*_0x597fd8:null;}function _0x3fcf2c(_0x4b2f27){return new window[(_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26637f,_0x2990d6)=>{_0x4b2f27[_0x4372a8([0x74,0x68,0x65,0x6e])](_0x26637f,_0x2990d6),window[_0x4372a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2990d6,0x47a351c6^_0x2f0d14);});}}_0x444f2a[_0x4372a8([0x6f,0x6e])](_0x4372a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x41b61c,_0x3d8e30)=>{if(_0x3d8e30[0x0]!=_0x4aec19)return _0x253d53(_0x4372a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d8e30[0x1]={..._0x3d8e30[0x1],[_0x4372a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x449a60};},{[_0x4372a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4372a8([0x68,0x69,0x67,0x68])}),_0x444f2a[_0x4372a8([0x6f,0x6e])](_0x4372a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x452214=>{_0x484b46(_0x452214[_0x4372a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xc44720=!0x0,_0xd8118c(_0x452214[_0x4372a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4372a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4372a8([0x6c,0x6f,0x77])}),_0xdd71a5[_0x4372a8([0x74,0x68,0x65,0x6e])](()=>{_0xc44720||_0x253d53(_0x4372a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f3ab8(){return _0x444f2a[_0x4372a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4372a8([0x76,0x69,0x65,0x77])][_0x4372a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4372a8([0x61,0x75,0x74,0x6f]);}function _0x35ad30(){_0x444f2a[_0x4372a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4372a8([0x76,0x69,0x65,0x77])][_0x4372a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4372a8([0x61,0x75,0x74,0x6f]);}}function _0x5dd674(_0x516085){const _0x22b962=[new window[(_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe6246b=>setTimeout(_0xe6246b,0x47abbbca^_0x2f0d14)),_0xdd71a5[_0x4372a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bd63e=>{let _0x42b776=0x0;_0x444f2a[_0x4372a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4372a8([0x6f,0x6e])](_0x4372a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3d53d5,_0x37f72f)=>{_0x37f72f[0x0][_0x4372a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42b776++,_0x42b776==(0x47a280ee^_0x2f0d14)&&(_0x3bd63e(),_0x3d53d5[_0x4372a8([0x6f,0x66,0x66])]());});}))];return window[_0x4372a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4372a8([0x72,0x61,0x63,0x65])](_0x22b962)[_0x4372a8([0x74,0x68,0x65,0x6e])](()=>_0x516085);}async function _0x39e896(){await _0xdd71a5,_0x444f2a[_0x4372a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4372a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2585ad,_0x444f2a[_0x4372a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4372a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2585ad,_0x444f2a[_0x4372a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4372a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27ab69(_0x53e1f4){const _0x55b973=_0x2079df();_0x444f2a[_0x55b973]=_0x4372a8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53e1f4,_0x53e1f4!=_0x4372a8([0x56,0x61,0x6c,0x69,0x64])&&_0x39e896();}function _0x2079df(){const _0x1aa68c=window[_0x4372a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4372a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4372a8([0x6e,0x6f,0x77])]())[_0x4372a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4372a8([0x2e]),'');let _0x34bbee=_0x4372a8([0x75]);for(let _0x17ef3a=0x0;_0x17ef3a<_0x1aa68c[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17ef3a+=0x2){let _0x360bd1=window[_0x4372a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aa68c[_0x4372a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17ef3a,_0x17ef3a+0x2));_0x360bd1>=_0x3840cd[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x360bd1-=_0x3840cd[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34bbee+=_0x3840cd[_0x360bd1];}return _0x34bbee;}function _0x1e8b32(){const _0x47aa3a=_0x38a4f6[_0x4372a8([0x73,0x70,0x6c,0x69,0x74])](_0x4372a8([0x2e]));if(0x3!=_0x47aa3a[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa8eda9(_0x47aa3a[0x1]);function _0xa8eda9(_0x20b315){const _0x576d30=_0x469287(_0x20b315);return _0x576d30&&_0x6d86f9()?_0x576d30:null;function _0x6d86f9(){const _0x2a60e5=_0x576d30[_0x4372a8([0x6a,0x74,0x69])],_0x222ca9=window[_0x4372a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a60e5[_0x4372a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a60e5[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d873f={..._0x576d30,[_0x4372a8([0x6a,0x74,0x69])]:_0x2a60e5[_0x4372a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a60e5[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d873f[_0x4372a8([0x76,0x63])],_0x515c7b(_0x5d873f)==_0x222ca9;}}}async function _0x30551e(){let _0x113205=!0x0;try{const _0x42541c=_0x38a4f6[_0x4372a8([0x73,0x70,0x6c,0x69,0x74])](_0x4372a8([0x2e])),[_0x28d387,_0x1a2e7f,_0x50d71f]=_0x42541c;return _0x3ccd18(_0x28d387),await _0xaef50d(_0x28d387,_0x1a2e7f,_0x50d71f),_0x113205;}catch{return!0x1;}function _0x3ccd18(_0x830208){const _0x50fc1a=_0x469287(_0x830208);_0x50fc1a&&_0x50fc1a[_0x4372a8([0x61,0x6c,0x67])]==_0x4372a8([0x45,0x53,0x32,0x35,0x36])||(_0x113205=!0x1);}async function _0xaef50d(_0xcb2a7e,_0x47fae3,_0x4d1a7d){const _0x4d551e=window[_0x4372a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4372a8([0x66,0x72,0x6f,0x6d])](_0x361b6b(_0x4d1a7d),_0x5ee73a=>_0x5ee73a[_0x4372a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56a769=new window[(_0x4372a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4372a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xcb2a7e+_0x4372a8([0x2e])+_0x47fae3),_0x17afaa=window[_0x4372a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4372a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17afaa)return;const _0x595254=await _0x17afaa[_0x4372a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4372a8([0x6a,0x77,0x6b]),_0xf44da4,{[_0x4372a8([0x6e,0x61,0x6d,0x65])]:_0x4372a8([0x45,0x43,0x44,0x53,0x41]),[_0x4372a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4372a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4372a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17afaa[_0x4372a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4372a8([0x6e,0x61,0x6d,0x65])]:_0x4372a8([0x45,0x43,0x44,0x53,0x41]),[_0x4372a8([0x68,0x61,0x73,0x68])]:{[_0x4372a8([0x6e,0x61,0x6d,0x65])]:_0x4372a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x595254,_0x4d551e,_0x56a769)||(_0x113205=!0x1);}}function _0x469287(_0x33e374){return _0x33e374[_0x4372a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4372a8([0x65,0x79]))?JSON[_0x4372a8([0x70,0x61,0x72,0x73,0x65])](_0x361b6b(_0x33e374)):null;}function _0x361b6b(_0x35f565){return window[_0x4372a8([0x61,0x74,0x6f,0x62])](_0x35f565[_0x4372a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4372a8([0x2b]))[_0x4372a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4372a8([0x2f])));}function _0x515c7b(_0x1bba34){let _0x217b3a=0x1505;function _0x5ba9ac(_0x5a89bf){for(let _0x5a105f=0x0;_0x5a105f<_0x5a89bf[_0x4372a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a105f++){const _0x2d9de2=_0x5a89bf[_0x4372a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a105f);_0x217b3a=(_0x217b3a<<0x5)+_0x217b3a+_0x2d9de2,_0x217b3a&=_0x217b3a;}}function _0x2d5ebd(_0x3d4c22){Array[_0x4372a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d4c22)?_0x3d4c22[_0x4372a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d5ebd):_0x3d4c22&&typeof _0x3d4c22==_0x4372a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4372a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d4c22)[_0x4372a8([0x73,0x6f,0x72,0x74])]()[_0x4372a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a9afe,_0x232423])=>{_0x5ba9ac(_0x4a9afe),_0x2d5ebd(_0x232423);}):_0x5ba9ac(window[_0x4372a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d4c22));}return _0x2d5ebd(_0x1bba34),_0x217b3a>>>0x0;}function _0x3b6c3b(_0x10b78){return _0x10b78[_0x4372a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4372a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4372a8([0x30]));}function _0xbcb70(_0x5eb898){return _0x5eb898[_0x4372a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4372a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4372a8([0x6a,0x6f,0x69,0x6e])]('');}function _0x2585ad(){}function _0x4372a8(_0x329ca7){return _0x329ca7['map'](_0x67ec66=>String['fromCharCode'](_0x67ec66))['join']('');}_0x27ab69(await _0x14623d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x107f9f){const {plugins:_0x3c6290,editing:_0x47a1e8,model:_0x2b13d0}=this['editor'],_0x1f1778=_0x3c6290['get'](f)['getFootnote'](_0x107f9f);return!!_0x1f1778&&(_0x2b13d0['change'](_0x353436=>{_0x353436['setSelection'](_0x353436['createPositionAt'](_0x1f1778['definition'],'end'));}),_0x47a1e8['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2552b7){const {plugins:_0x311d45,editing:_0x5cccef,model:_0x5df522}=this['editor'],_0x472c23=_0x311d45['get'](f)['getFootnote'](_0x2552b7);return!!_0x472c23&&(_0x5df522['change'](_0x3c9d07=>{_0x3c9d07['setSelection'](_0x472c23['reference'],'on');}),_0x5cccef['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1de4b0}=this['editor']['model'],_0x5cdc1b=this['editor']['config']['get']('footnotes.multiBlock');_0x1de4b0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1de4b0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1de4b0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5cdc1b?_0x1de4b0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1de4b0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1de4b0['addChildCheck'](_0x4a5b94=>{for(const _0x368b6a of _0x4a5b94)if('footnoteDefinition'===_0x368b6a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xf4e378}=this,{conversion:_0x2e80ea,editing:_0x13b8c1}=_0xf4e378,{t:t}=_0xf4e378['locale'];_0x2e80ea['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x54cf39,{writer:_0x3e9f67,consumable:_0xc8c1e7})=>{const _0x52428d=_0x54cf39['getChild'](0x0);if(!_0x52428d||!_0x52428d['is']('element','a'))return null;const _0x3321ed=_0x52428d['getAttribute']('href')||'';if(!_0x3321ed['startsWith']('#'))return null;const _0x4916f3=_0x3321ed['replace'](/^#/,'');if(!_0x4916f3)return null;_0xc8c1e7['consume'](_0x52428d,{'name':!0x0,'attributes':['href']});for(const {item:_0x2a3168}of _0x13b8c1['view']['createRangeIn'](_0x52428d))_0x2a3168['is']('$textProxy')?_0xc8c1e7['consume'](_0x2a3168['textNode'],{'name':!0x0}):_0x2a3168['is']('element')&&_0xc8c1e7['consume'](_0x2a3168,{'name':!0x0});return _0x3e9f67['createElement']('footnoteRef',{'footnoteId':_0x4916f3});}}),_0x2e80ea['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x94f83d,{writer:_0x13430b})=>b(_0x94f83d,_0x13430b)}),_0x2e80ea['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x493593,{writer:_0x50f958})=>{const _0x148fbe=_0x493593['getAttribute']('footnoteCounter');return _0x251ba4(b(_0x493593,_0x50f958),_0x50f958,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x148fbe)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2278f8}=this,{t:t}=_0x2278f8['locale'],{conversion:_0x205b0b}=_0x2278f8;_0x205b0b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x205b0b['for']('upcast')['add'](_0x389e24=>{_0x389e24['on']('element:ol',(_0x5341c5,_0x5e2a37,_0x2e1972)=>{const _0x218daf=_0x5e2a37['viewItem'];if(!_0x218daf['hasClass']('footnotes-list')||!_0x5e2a37['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2e1972['consumable']['consume'](_0x218daf,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x211058,modelCursor:_0x533216}=_0x2e1972['convertChildren'](_0x5e2a37['viewItem'],_0x5e2a37['modelCursor']);_0x5e2a37['modelRange']=_0x211058,_0x5e2a37['modelCursor']=_0x533216;}),_0x389e24['on']('element:hr',(_0xc3f08e,_0x50a761,_0x165199)=>{const _0x25d016=_0x50a761['viewItem'];_0x25d016['hasClass']('footnotes-divider')&&_0x50a761['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x165199['consumable']['consume'](_0x25d016,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x205b0b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38ce3d,{writer:_0x3d6b3d})=>D(_0x3d6b3d)}),_0x205b0b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x33d003,{writer:_0x52d878})=>{const _0x53b9dd=D(_0x52d878,{'data-footnotes-list-label':t('Footnotes')}),_0x285e5d=_0x251ba4(_0x53b9dd,_0x52d878,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x52d878['setCustomProperty']('footnotesDefinitions',!0x0,_0x285e5d),_0x285e5d;}});}['_defineDefinitionConverters'](){const {editor:_0x5ed8e6}=this,{conversion:_0x1f11b5,locale:_0x2c834c}=_0x5ed8e6,_0x4dce9a=_0x5ed8e6['config']['get']('footnotes.multiBlock');_0x1f11b5['for']('upcast')['add'](_0x1e2c03=>{_0x1e2c03['on']('element:li',(_0x14ef92,_0x2235af,_0x5d4859)=>{const _0x3da983=_0x2235af['viewItem'];if(!_0x3da983['hasClass']('footnote-definition')||!_0x3da983['getAttribute']('id'))return;const _0x499c93=_0x3da983['parent'];if(!_0x499c93['is']('element','ol')||!_0x499c93['hasClass']('footnotes-list'))return;if(!_0x5d4859['consumable']['test'](_0x3da983,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x32d4f9=_0x5d4859['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3da983['getAttribute']('id')});if(!_0x5d4859['safeInsert'](_0x32d4f9,_0x2235af['modelCursor']))return;_0x5d4859['consumable']['consume'](_0x3da983,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x430ad6=Array['from'](_0x3da983['getChildren']())['find'](_0x16c3b1=>_0x16c3b1['is']('element')&&_0x16c3b1['hasClass']('footnote-content'));for(const _0x1c4888 of _0x3da983['getChildren']())_0x1c4888['is']('element')&&(_0x5d4859['consumable']['consume'](_0x1c4888,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5d4859['consumable']['consume'](_0x1c4888,{'name':!0x0,'classes':'footnote-content'}));if(_0x430ad6){if(_0x4dce9a)_0x5d4859['convertChildren'](_0x430ad6,_0x32d4f9);else{const _0x22384a=_0x5d4859['writer']['createElement']('footnoteInlineContent');_0x5d4859['writer']['insert'](_0x22384a,_0x32d4f9),_0x5d4859['convertChildren'](_0x430ad6,_0x22384a);}}_0x5d4859['updateConversionResult'](_0x32d4f9,_0x2235af);});}),_0x1f11b5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3d26eb,{writer:_0x4c8272})=>y(_0x3d26eb,_0x4c8272,_0x2c834c,{'dataPipeline':!0x0})}),_0x1f11b5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4ee276,{writer:_0x387c96})=>y(_0x4ee276,_0x387c96,_0x2c834c)});}['_defineBogusParagraphConverters'](){const {editor:_0x35032c}=this,{conversion:_0x486293}=_0x35032c;_0x35032c['config']['get']('footnotes.multiBlock')?(_0x486293['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x486293['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35032c['model']['document'],'change:data',()=>{!function(_0x44a34f,_0x329160){const _0x597ad0=_0x44a34f['document']['differ'],_0x215eaa=new Set();for(const _0x1690d4 of _0x597ad0['getChanges']()){const _0x2668e0='attribute'==_0x1690d4['type']?_0x1690d4['range']['start']['parent']:_0x1690d4['position']['parent'];_0x2668e0['is']('element','footnoteDefinition')&&_0x215eaa['add'](_0x2668e0);}for(const _0x50d27a of _0x215eaa['values']()){const _0x852f2=Array['from'](_0x50d27a['getChildren']())['filter'](_0x218c77=>v(_0x218c77,_0x329160['mapper']));for(const _0x145f91 of _0x852f2)_0x329160['reconvertItem'](_0x145f91);}}(_0x35032c['model'],_0x35032c['editing']);})):(_0x486293['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x486293['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x6d2478,{writer:_0x5d088b})=>{const _0x2baf75=_0x5d088b['createContainerElement']('span');return _0x5d088b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2baf75),_0x2baf75;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb43e10}=this,{editing:_0x3c26ec,t:t}=_0xb43e10,_0x5b0952=_0xb43e10['model']['document']['selection'];_0xb43e10['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb43e10['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3c26ec['view']['document'],'enter',(_0x103982,_0x56304e)=>{const _0x5a94cb=function(_0x39a144){const _0x457faf=_0x39a144['getSelectedElement']();if(_0x457faf?.['is']('element','footnoteRef'))return _0x457faf;return null;}(_0x5b0952);if(_0x5a94cb){const _0x221caf=_0x5a94cb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x221caf),_0x56304e['preventDefault'](),_0x103982['stop']();}},{'context':_0x2c77fe});}['_defineClickHandlers'](){const {editor:_0x5da3da}=this,{editing:_0x4c72f9}=_0x5da3da;_0x5da3da['editing']['view']['addObserver'](_0x21f2e4),_0x5da3da['editing']['view']['addObserver'](_0x5859b4);let _0xe0e877=!0x1;this['listenTo'](_0x4c72f9['view']['document'],'pointerdown',(_0x2dd8ca,_0x47df8c)=>{const {target:_0x405f4d}=_0x47df8c,_0xee730c=_0x4c72f9['view']['document']['selection'];_0xe0e877=!!(_0x405f4d?.['is']('element','a')&&_0x405f4d['parent']?.['is']('element','sup')&&_0x405f4d['parent']['hasClass']('footnote'))&&_0xee730c['getSelectedElement']()===_0x405f4d['parent'];},{'priority':'high'}),this['listenTo'](_0x4c72f9['view']['document'],'click',(_0x67daf6,_0x3152d9)=>{const {target:_0x45b24b}=_0x3152d9;if(!_0x45b24b?.['is']('element','a'))return;if(_0x45b24b['parent']?.['is']('element','sup')&&_0x45b24b['parent']['hasClass']('footnote')&&!_0xe0e877)return void _0x3152d9['preventDefault']();let _0x27d0ba=_0x45b24b['getAttribute']('href');if(!_0x27d0ba?.['startsWith']('#'))return;_0x27d0ba=_0x27d0ba['slice'](0x1);let _0x3491dc=!0x1;(_0x27d0ba['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x27d0ba['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x27d0ba))&&(_0x3491dc=!0x0),_0x3491dc&&(_0x3152d9['preventDefault'](),_0x67daf6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xbda729}={}){return(_0x1ae43a,{writer:_0x480d1e})=>{if(!g(_0x1ae43a))return null;if(!_0xbda729)return _0x480d1e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5d25cb=_0x480d1e['createContainerElement']('p');return _0x480d1e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d25cb),_0x5d25cb;};}function g(_0x1a30d8){const {parent:_0x4f810e}=_0x1a30d8;if(!_0x4f810e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4f810e['childCount'])return!0x1;for(const _0x3a85c6 of _0x1a30d8['getAttributeKeys']())if(!_0x3a85c6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3a85c6)return!0x1;return!0x0;}function v(_0x21e2ef,_0x523a48){if(!_0x21e2ef['is']('element','paragraph'))return!0x1;const _0x2d2eac=_0x523a48['toViewElement'](_0x21e2ef);return!!_0x2d2eac&&g(_0x21e2ef)!==_0x2d2eac['is']('element','span');}function Q(_0x30e414){return _0x2c77fe(_0x30e414)&&_0x30e414['is']('containerElement')&&!!_0x30e414['getCustomProperty']('footnotesDefinitions');}function D(_0x34baea,_0x1372b7={}){const _0x309102=_0x34baea['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x552497=_0x34baea['createContainerElement']('ol',{'class':'footnotes-list'},_0x34baea['createSlot']());return _0x34baea['createContainerElement']('div',{'class':'footnotes',..._0x1372b7},[_0x309102,_0x552497]);}function b(_0x1b44eb,_0x57076b){const _0x3c40e3=_0x1b44eb['getAttribute']('footnoteId'),_0xa280ab=_0x1b44eb['getAttribute']('footnoteCounter'),_0x1fa3d3=_0x57076b['createUIElement']('a',{'href':'#'+_0x3c40e3},function(_0x1b8846){const _0x4e6856=this['toDomElement'](_0x1b8846);return _0x4e6856['textContent']=_0xa280ab,_0x4e6856;}),_0x17b82c=_0x57076b['createContainerElement']('sup',{'id':'ref-'+_0x3c40e3,'class':'footnote'},[_0x1fa3d3]);return _0x17b82c['getFillerOffset']=()=>null,_0x17b82c;}function y(_0x1b7cde,_0x1a9311,_0x447e5b,{dataPipeline:_0x338e5f}={}){const {t:t}=_0x447e5b,_0x1db18c=_0x1b7cde['getAttribute']('footnoteId'),_0x335ef4=_0x1a9311['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1db18c},function(_0x2a9eba){const _0x25e423=this['toDomElement'](_0x2a9eba);return _0x25e423['innerText']='^',_0x25e423;}),_0x5e8e8e=_0x338e5f?_0x1a9311['createContainerElement']('div',{'class':'footnote-content'}):_0x108ca9(_0x1a9311['createEditableElement']('div',{'class':'footnote-content'}),_0x1a9311,{'label':t('Footnote\x20content.')});return _0x1a9311['insert'](_0x1a9311['createPositionAt'](_0x5e8e8e,0x0),_0x1a9311['createSlot']()),_0x1a9311['createContainerElement']('li',{'class':'footnote-definition','id':_0x1db18c},[_0x335ef4,_0x5e8e8e]);}class e extends _0x3c2f27{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x13a45d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4d0b2e}=this,{plugins:_0x2c1ae9,model:_0x520e66}=_0x4d0b2e,_0x41facf=_0x2c1ae9['get'](_0x13a45d),_0x540f61=_0x2c1ae9['get'](f);this['listenTo'](_0x41facf,'outputTransformation',(_0x1ba7a3,_0x25afc4)=>{const _0xf9a2e7=l(_0x520e66['createRangeIn'](_0x25afc4['content']));if(!_0xf9a2e7['length'])return;const _0x2b3c81=_0x540f61['getFootnotes'](),_0x2c12df=_0xf9a2e7['reduce']((_0xecc9cf,_0xa558c4)=>{const _0x38dfe0=_0x2b3c81['find'](_0x3a50ab=>_0x3a50ab['id']===_0xa558c4);if(_0x38dfe0){const _0x19f543=_0x4d0b2e['data']['toView'](_0x38dfe0['definition'],{'isClipboardPipeline':!0x0}),_0x4c0c69=_0x4d0b2e['data']['htmlProcessor']['toData'](_0x19f543);_0xecc9cf[_0x38dfe0['id']]=_0x4c0c69;}return _0xecc9cf;},Object['create'](null));_0x25afc4['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2c12df));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x574ad3}=this,{model:_0x36802d,plugins:_0x4ca282}=_0x574ad3,{view:_0x2b4b54}=_0x574ad3['editing'],_0x3d6783=_0x4ca282['get'](_0x13a45d),_0x3275cc=_0x4ca282['get'](f),_0x48d8b3=_0x574ad3['config']['get']('footnotes.multiBlock');let _0x126df5=null;this['listenTo'](_0x2b4b54['document'],'clipboardInput',(_0x5012b7,_0x1e660c)=>{const _0x334af6=_0x1e660c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x126df5=_0x334af6?JSON['parse'](_0x334af6):null;}),this['listenTo'](_0x3d6783,'contentInsertion',(_0x3b7231,_0xc468ce)=>{const _0x2513bb=_0xc468ce['sourceEditorId']===this['editor']['id'];_0x2513bb&&'drop'===_0xc468ce['method']||_0x36802d['change'](_0x4a795a=>{let _0x5be960=_0x3275cc['getFootnotesDefinitionsObjectElement']();const _0x3cfd78=!!_0x5be960&&Array['from'](_0x36802d['document']['selection']['getSelectedBlocks']())['includes'](_0x5be960);if(!_0x126df5&&function(_0x2a9b6e){for(const {item:_0x274f15}of _0x2a9b6e)if(_0x274f15['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x36802d['createRangeIn'](_0xc468ce['content']))&&(_0x126df5=function(_0x7a48ce,_0x1c7354){const _0x163073=c(_0x7a48ce,_0x1c7354);if(!_0x163073)return null;const _0x2d19fc=Object['create'](null);for(const _0x338d53 of _0x163073['getChildren']())_0x338d53['is']('element','footnoteDefinition')&&_0x338d53['hasAttribute']('footnoteId')&&(_0x2d19fc[_0x338d53['getAttribute']('footnoteId')]=_0x7a48ce['cloneElement'](_0x338d53,!0x0));return Object['keys'](_0x2d19fc)['length']?_0x2d19fc:null;}(_0x4a795a,_0xc468ce['content'])),(_0x5be960&&!_0x3cfd78||!_0x5be960&&!_0x126df5)&&function(_0x327b7e,_0x19134a){const _0x1ac320=[];for(const {item:_0xd72595}of _0x327b7e['createRangeIn'](_0x19134a))_0xd72595['is']('element','footnotesDefinitions')&&_0x1ac320['push'](_0xd72595);for(const _0x5b6aca of _0x1ac320)_0x327b7e['remove'](_0x5b6aca);}(_0x4a795a,_0xc468ce['content']),!_0x126df5)return;const {selection:_0x138254}=_0x36802d['document'],_0x53b02e=_0x138254['getFirstRange']()['root'];_0x5be960&&!_0x3cfd78||(_0x5be960=c(_0x4a795a,_0xc468ce['content']),_0x5be960||=_0x3275cc['_insertEmptyFootnotesDefinitionsContainer'](_0x4a795a,_0x53b02e));const _0x5e0637=Array['from'](_0x138254['getRanges']())['flatMap'](l),_0x4202fc=function(_0x486362,_0x1e349b,_0x1343a6){const _0x526e7f=Object['create'](null);for(const {item:_0x2c95fc}of _0x486362['createRangeIn'](_0x1e349b))if(_0x2c95fc['is']('element','footnoteRef')){const _0x2ee7b7=_0x2c95fc['getAttribute']('footnoteId');if(!_0x1343a6(_0x2ee7b7))continue;_0x526e7f[_0x2ee7b7]||(_0x526e7f[_0x2ee7b7]=_0x40df71()),_0x486362['setAttribute']('footnoteId',_0x526e7f[_0x2ee7b7],_0x2c95fc);}return _0x526e7f;}(_0x4a795a,_0xc468ce['content'],_0x1982eb=>{if(!_0x2513bb)return!0x0;return!!_0x3275cc['getFootnote'](_0x1982eb)&&!_0x5e0637['includes'](_0x1982eb);});for(const [_0x1a8d2b,_0x50620d]of Object['entries'](_0x126df5)){const _0x298ade=_0x4202fc[_0x1a8d2b]||_0x1a8d2b;let _0xf5efd7;if('string'!=typeof _0x50620d)_0xf5efd7=_0x50620d,_0x298ade!==_0x1a8d2b&&_0x4a795a['setAttribute']('footnoteId',_0x298ade,_0xf5efd7);else{_0xf5efd7=_0x4a795a['createElement']('footnoteDefinition',{'footnoteId':_0x298ade});const _0x12b563=_0x574ad3['data']['htmlProcessor']['toView'](_0x50620d);let _0x4c73ef;if(_0x48d8b3)_0x4c73ef=_0x574ad3['data']['toModel'](_0x12b563,_0xf5efd7);else{_0x4c73ef=_0x4a795a['createElement']('footnoteInlineContent');const _0x16c1c5=_0x574ad3['data']['toModel'](_0x12b563,_0x4c73ef);_0x4a795a['insert'](_0x16c1c5,_0x4c73ef);}_0x4a795a['append'](_0x4c73ef,_0xf5efd7);}_0x4a795a['insert'](_0xf5efd7,_0x5be960,'end');}_0x126df5=null;});});}}function c(_0x42e9d2,_0x196d19){for(const {item:_0x127b92}of _0x42e9d2['createRangeIn'](_0x196d19))if(_0x127b92['is']('element','footnotesDefinitions'))return _0x127b92;return null;}function l(_0x42095c){const _0x5487b2=new Set();for(const {item:_0x3570a3}of _0x42095c)_0x3570a3['is']('element','footnoteRef')&&_0x5487b2['add'](_0x3570a3['getAttribute']('footnoteId'));return Array['from'](_0x5487b2);}class i extends _0x3c2f27{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f74fd}=this,{componentFactory:_0x44122e}=_0x2f74fd['ui'];_0x44122e['add']('insertFootnote',E(_0x2f74fd,_0x384eef)),_0x44122e['add']('menuBar:insertFootnote',E(_0x2f74fd,_0x5039d8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x158648=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d0a93;for(const _0x2aec6d in _0x158648){const _0x2fea08=_0x2aec6d,_0x18d429=_0x158648[_0x2fea08];if('footnotesLicenseKeyValid'==_0x18d429||'footnotesLicenseKeyInvalid'==_0x18d429||'footnotesLicenseKeyExpired'==_0x18d429||'footnotesLicenseKeyDomainLimit'==_0x18d429||'footnotesLicenseKeyNotAllowed'==_0x18d429||'footnotesLicenseKeyEvaluationLimit'==_0x18d429||'footnotesLicenseKeyUsageLimit'==_0x18d429){delete _0x158648[_0x2fea08],_0x1d0a93=_0x18d429,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1d0a93&&_0x158648['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1d0a93&&_0x158648['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1d0a93&&_0x158648['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1d0a93&&_0x158648['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1d0a93&&_0x158648['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1d0a93&&_0x158648['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x32b9ac,_0x4de2b8){const _0x27b8f6=_0x32b9ac['commands']['get']('insertFootnote');return _0x52f286=>{const {t:t}=_0x52f286,_0x3947d7=new _0x4de2b8(_0x52f286),_0x3e7238=_0x3947d7 instanceof _0x5039d8;return _0x3947d7['bind']('isEnabled')['to'](_0x27b8f6,'isEnabled'),_0x3947d7['set']({'label':t(_0x3e7238?'Footnote':'Insert\x20footnote'),'icon':_0x306388,'tooltip':!0x0}),_0x3947d7['on']('execute',()=>{_0x27b8f6['execute'](),_0x32b9ac['editing']['view']['focus']();}),_0x3947d7;};}class lt extends _0x3c2f27{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0xe42304{['refresh'](){const {editor:_0x189757}=this,_0x507bb1=_0x189757['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x507bb1,this['value']=_0x507bb1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x170eb9}){const {editor:_0xc0d704}=this,_0x19400d=_0xc0d704['plugins']['get'](f),_0x2024ae=_0x19400d['getFootnotesDefinitionsObjectElement']();_0x2024ae&&W['includes'](_0x170eb9)&&_0xc0d704['model']['change'](_0x3d57b8=>{_0x3d57b8['setAttribute']('footnotesListStyle',_0x170eb9,_0x2024ae),_0x19400d['_updateFootnotesCounters'](_0x3d57b8);});}}class C extends _0xe42304{['refresh'](){const {editor:_0x4fcea0}=this,_0x3f2b9b=_0x4fcea0['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3f2b9b,this['value']=_0x3f2b9b?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1643c7}){const {editor:_0x1bea31}=this,_0x2fcff6=_0x1bea31['plugins']['get'](f),_0x8b1dd2=_0x2fcff6['getFootnotesDefinitionsObjectElement']();_0x8b1dd2&&Number['isInteger'](_0x1643c7)&&_0x1bea31['model']['change'](_0x507390=>{_0x507390['setAttribute']('footnotesListStart',_0x1643c7,_0x8b1dd2),_0x2fcff6['_updateFootnotesCounters'](_0x507390);});}}class P extends _0x3c2f27{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x23d79b}=this;_0x23d79b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x23d79b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x23d79b['commands']['add']('footnotesStyle',new S(_0x23d79b)),_0x23d79b['commands']['add']('footnotesStart',new C(_0x23d79b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x366c57}=this,{schema:_0xddc615}=_0x366c57['model'];_0xddc615['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1967f5}=this,{conversion:_0x73626a,model:_0x1c3473}=_0x1967f5,{schema:_0x17e67f}=_0x1c3473;_0x73626a['for']('upcast')['add'](_0x1adaba=>{_0x1adaba['on']('element:ol',(_0x57081b,_0x312da3,_0x167f79)=>{const _0x349d31=_0x312da3['viewItem'],_0x1c99fb=_0x312da3['modelCursor']?.['parent'];_0x349d31['hasClass']('footnotes-list')&&_0x1c99fb?.['is']('element','footnotesDefinitions')&&(function(_0x17330d,_0x265f85,_0x1609b2,_0x44467e){if(!_0x44467e['checkAttribute'](_0x265f85,'footnotesListStart'))return;let _0x2199aa=0x1;const _0x43bbb4=_0x1609b2['consumable']['consume'](_0x17330d,{'attributes':'start'});if(_0x43bbb4){const _0x2d19d7=Number['parseInt'](_0x17330d['getAttribute']('start'),0xa);Number['isNaN'](_0x2d19d7)||(_0x2199aa=_0x2d19d7);}!_0x43bbb4&&_0x265f85['hasAttribute']('footnotesListStart')||_0x1609b2['writer']['setAttribute']('footnotesListStart',_0x2199aa,_0x265f85);}(_0x349d31,_0x1c99fb,_0x167f79,_0x17e67f),function(_0x56d42d,_0x537bff,_0xe8567d,_0x49d62f){if(!_0x49d62f['checkAttribute'](_0x537bff,'footnotesListStyle'))return;let _0x13f09c='decimal',_0x3185bd=!0x1;if(_0xe8567d['consumable']['consume'](_0x56d42d,{'attributes':'type'})){const _0x562a6e={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x56d42d['getAttribute']('type')];_0x562a6e&&(_0x13f09c=_0x562a6e),_0x3185bd=!0x0;}_0xe8567d['consumable']['consume'](_0x56d42d,{'styles':'list-style-type'})&&(_0x13f09c=function(_0x3ed570){switch(_0x3ed570){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3ed570;}}(_0x56d42d['getStyle']('list-style-type')),_0x3185bd=!0x0),!_0x3185bd&&_0x537bff['hasAttribute']('footnotesListStyle')||_0xe8567d['writer']['setAttribute']('footnotesListStyle',_0x13f09c,_0x537bff);}(_0x349d31,_0x1c99fb,_0x167f79,_0x17e67f));});}),_0x73626a['for']('downcast')['add'](_0x4a3f53=>{_0x4a3f53['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x38e10a,_0x3b560d,_0x3834cb)=>{if(!_0x3834cb['consumable']['consume'](_0x3b560d['item'],_0x38e10a['name']))return;const _0x3d451d=M(_0x3b560d['item'],_0x3834cb['mapper']),{attributeNewValue:_0x43aa41}=_0x3b560d;null==_0x43aa41||0x1===_0x43aa41?_0x3834cb['writer']['removeAttribute']('start',_0x3d451d):_0x3834cb['writer']['setAttribute']('start',String(_0x43aa41),_0x3d451d);}),_0x4a3f53['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5d9d5f,_0x514b3e,_0x1e5762)=>{if(!_0x1e5762['consumable']['consume'](_0x514b3e['item'],_0x5d9d5f['name']))return;const _0x15cd79=M(_0x514b3e['item'],_0x1e5762['mapper']),{attributeNewValue:_0x1e74e2}=_0x514b3e;_0x1e74e2&&'decimal'!==_0x1e74e2?_0x1e5762['writer']['setStyle']('list-style-type',_0x1e74e2,_0x15cd79):_0x1e5762['writer']['removeStyle']('list-style-type',_0x15cd79);});});}['_definePostfixer'](){const {editor:_0xee1e73}=this,{model:_0x34d7d4}=_0xee1e73,_0x50977c=_0xee1e73['plugins']['get'](f),_0x235ddd=this['_getDefaultListStyle'](),_0x30c08f=this['_getDefaultStartIndex']();_0x34d7d4['document']['registerPostFixer'](_0x22d8d1=>{const _0x483fdd=_0x34d7d4['document']['differ']['getChanges']();let _0x9c3b6e=!0x1;for(const _0x2809bd of _0x483fdd){if('insert'!==_0x2809bd['type']||'$text'===_0x2809bd['name'])continue;const _0x389938=_0x34d7d4['createRangeOn'](_0x2809bd['position']['nodeAfter']);for(const _0x441899 of _0x389938['getItems']())_0x441899['is']('element','footnotesDefinitions')&&(!_0x441899['hasAttribute']('footnotesListStart')&&_0x34d7d4['schema']['checkAttribute'](_0x441899,'footnotesListStart')&&(_0x22d8d1['setAttribute']('footnotesListStart',_0x30c08f,_0x441899),_0x9c3b6e=!0x0),!_0x441899['hasAttribute']('footnotesListStyle')&&_0x34d7d4['schema']['checkAttribute'](_0x441899,'footnotesListStyle')&&(_0x22d8d1['setAttribute']('footnotesListStyle',_0x235ddd,_0x441899),_0x9c3b6e=!0x0));}return _0x9c3b6e&&_0x50977c['_updateFootnotesCounters'](_0x22d8d1),_0x9c3b6e;});}['_defineFormatter'](){const {editor:_0x30fe8d}=this;_0x30fe8d['plugins']['get'](f)['setFootnoteFormatter'](_0x2a1a86=>this['_formatFootnoteListValue'](_0x2a1a86));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4738db,value:_0x1f6667,digits:_0x1269ea}){const _0x113520=_0x4738db['getAttribute']('footnotesListStyle'),_0x30ccea=_0x4738db['getAttribute']('footnotesListStart'),_0x26cad2=Math['floor'](_0x1f6667)+(_0x30ccea??0x1)-0x1;switch(_0x113520){case'decimal-leading-zero':return function(_0x573649,_0x4cacd4){return String(_0x573649)['padStart'](_0x4cacd4,'0');}(_0x26cad2,Math['max'](0x2,_0x1269ea));case'lower-alpha':case'lower-latin':return N(_0x26cad2,!0x1);case'upper-alpha':case'upper-latin':return N(_0x26cad2,!0x0);case'lower-roman':return X(_0x26cad2,!0x1);case'upper-roman':return X(_0x26cad2,!0x0);default:return String(_0x26cad2);}}}function M(_0x2d9b01,_0x4b8cba){const _0x286068=_0x4b8cba['toViewElement'](_0x2d9b01);return Array['from'](_0x286068['getChildren']())['find'](_0x9cd0c0=>_0x9cd0c0['is']('element','ol')&&_0x9cd0c0['hasClass']('footnotes-list'));}function N(_0x4a565c,_0x4cfacf){let _0x444a84='',_0x1f6d4e=_0x4a565c;for(;_0x1f6d4e>0x0;){const _0xacc57f=(_0x1f6d4e-0x1)%0x1a;_0x444a84=String['fromCharCode'](0x61+_0xacc57f)+_0x444a84,_0x1f6d4e=Math['floor']((_0x1f6d4e-0x1)/0x1a);}return _0x4cfacf?_0x444a84['toUpperCase']():_0x444a84;}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(_0x2759f2,_0x551f2a){let _0x4b4f1e='',_0x21e8e5=_0x2759f2;for(const {value:_0x482d5e,numeral:_0x17460d}of V)for(;_0x21e8e5>=_0x482d5e;)_0x4b4f1e+=_0x17460d,_0x21e8e5-=_0x482d5e;return _0x551f2a?_0x4b4f1e:_0x4b4f1e['toLowerCase']();}class J extends _0x27604a{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x26ada9();['focusCycler'];constructor(_0x5d7aa6,{styleButtonViews:_0x58319c,styleGridAriaLabel:_0x33b210}){super(_0x5d7aa6),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x58319c,_0x33b210),[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 _0x287921 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x287921['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x378582=_0x3ac26e=>_0x3ac26e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x378582),this['keystrokes']['set']('arrowleft',_0x378582),this['keystrokes']['set']('arrowup',_0x378582),this['keystrokes']['set']('arrowdown',_0x378582);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5cf9d4,_0x280864){const _0x486220=new _0x27604a(this['locale']);return _0x486220['children']=_0x486220['createCollection'](),_0x486220['children']['addMany'](_0x5cf9d4),_0x486220['setTemplate']({'tag':'div','attributes':{'aria-label':_0x280864,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x486220['children']}),_0x486220['children']['delegate']('execute')['to'](this),_0x486220['focus']=function(){for(const _0x48d65e of this['children'])if(_0x48d65e instanceof _0x384eef&&_0x48d65e['isOn'])return void _0x48d65e['focus']();this['children']['first']['focus']();},_0x486220['focusTracker']=new rt(),_0x486220['keystrokes']=new nt(),_0x486220['render'](),_0x486220['keystrokes']['listenTo'](_0x486220['element']),this['children']['add'](_0x486220),_0x486220;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2e2fae=this['_createStartIndexPropertyView'](),_0x295559=[_0x2e2fae],_0x18308d=new it(this['locale'],_0x295559);return _0x18308d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x18308d['buttonView']['bind']('isEnabled')['toMany'](_0x295559,'isEnabled',(..._0x3af388)=>_0x3af388['some'](_0x554edc=>_0x554edc)),_0x18308d['buttonView']['on']('change:isEnabled',(_0x12431f,_0xece428,_0x5c6613)=>{_0x5c6613||(_0x18308d['isCollapsed']=!0x0);}),this['children']['add'](_0x18308d),[_0x2e2fae,_0x18308d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x269dad=new et(this['locale'],ot);return _0x269dad['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x269dad['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x269dad['fieldView']['on']('input',()=>{const _0x301d17=_0x269dad['fieldView']['element'],_0x340817=_0x301d17['valueAsNumber'];Number['isNaN'](_0x340817)?_0x269dad['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x301d17['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x340817}):_0x269dad['errorText']=t(_0x340817<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x269dad;}}class j extends _0x3c2f27{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3b9cb6,_0x49fa03];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15010b}=this,{componentFactory:_0x398bfc}=_0x15010b['ui'];_0x15010b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x398bfc['add']('footnotesStyle',function(_0xff0c73){return _0x4094a5=>{const {t:t}=_0x4094a5,_0x4e4850=_0xff0c73['commands']['get']('footnotesStyle'),_0x4ea5a7=_0x2138d0(_0x4094a5),{buttonView:_0xbaee90}=_0x4ea5a7;return _0x4ea5a7['class']='ck-footnotes-styles-dropdown',_0x4ea5a7['bind']('isEnabled')['to'](_0x4e4850,'isEnabled'),_0xbaee90['set']({'label':t('Footnotes\x20style'),'icon':_0x306388,'tooltip':!0x0}),_0x4ea5a7['once']('change:isOpen',()=>{const _0xf0acf8=function({editor:_0x5d01ad,dropdownView:_0x44f808}){const {t:t}=_0x5d01ad['locale'],_0x5cf32a=t('Footnotes\x20definitions\x20styles'),_0x4290d8=function(_0x5470d6){const t=_0x5470d6['locale']['t'],_0x38389d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xdc6c4b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x26246a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x56ce2d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x42a80f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x22828b},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3861e8}];return _0x38389d['map'](function(_0x3655c0){const _0x47dd3d=_0x3655c0['locale'];return({label:_0x5d647b,icon:_0x5f404e,tooltip:_0x7d2832,style:_0x4f2747})=>{const _0x299a6e=_0x3655c0['commands']['get']('footnotesStyle'),_0x96f62e=new _0x384eef(_0x47dd3d);return _0x96f62e['set']({'label':_0x5d647b,'icon':_0x5f404e,'tooltip':_0x7d2832}),_0x96f62e['bind']('isOn')['to'](_0x299a6e,'value',_0x27b778=>_0x27b778===_0x4f2747),_0x96f62e['bind']('isEnabled')['to'](_0x299a6e,'isEnabled'),_0x96f62e['on']('execute',()=>{_0x3655c0['execute']('footnotesStyle',{'value':_0x4f2747}),_0x3655c0['editing']['view']['focus']();}),_0x96f62e;};}(_0x5470d6));}(_0x5d01ad),_0x188bc3=new J(_0x5d01ad['locale'],{'styleGridAriaLabel':_0x5cf32a,'styleButtonViews':_0x4290d8}),_0xe13a78=_0x5d01ad['commands']['get']('footnotesStart');return _0x188bc3['startIndexFieldView']['bind']('isEnabled')['to'](_0xe13a78),_0x188bc3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xe13a78),_0x188bc3['on']('footnotesListStart',(_0x313928,_0x29c6bb)=>{_0x5d01ad['execute']('footnotesStart',{'value':_0x29c6bb['startIndex']});}),_0x188bc3['delegate']('execute')['to'](_0x44f808),_0x188bc3;}({'editor':_0xff0c73,'dropdownView':_0x4ea5a7});_0x4ea5a7['panelView']['children']['add'](_0xf0acf8);}),_0x4ea5a7;};}(_0x15010b));}['afterInit'](){const {editor:_0xfce982}=this,{t:t}=_0xfce982['locale'],_0x5b9b2a=_0xfce982['plugins']['get'](_0x49fa03),{defaultPositions:_0x4085c9}=_0x2eaa82;_0x5b9b2a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xfce982['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2945ac=>{let _0x12f113=_0x2945ac['getFirstPosition']()?.['parent'];return _0x12f113?.['is']('$text')&&(_0x12f113=_0x12f113['parent']),_0x12f113?.['is']('element')?_0x12f113['findAncestor'](Q):null;},'positions':[_0x4085c9['southArrowNorth'],_0x4085c9['southArrowNorthMiddleWest'],_0x4085c9['southArrowNorthMiddleEast'],_0x4085c9['southArrowNorthWest'],_0x4085c9['southArrowNorthEast'],_0x4085c9['northArrowSouth'],_0x4085c9['northArrowSouthMiddleWest'],_0x4085c9['northArrowSouthMiddleEast'],_0x4085c9['northArrowSouthWest'],_0x4085c9['northArrowSouthEast'],_0x4085c9['viewportStickyNorth']]});}}class ft extends _0x3c2f27{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x218a2e=>0x1!=_0x218a2e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28fcfc=>{const {af:{dictionary:_0x128913,getPluralForm:_0x37f331}}={'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':_0x50e535=>0x1!=_0x50e535}};_0x28fcfc['af']||={'dictionary':{},'getPluralForm':null},_0x28fcfc['af']['dictionary']=Object['assign'](_0x28fcfc['af']['dictionary'],_0x128913),_0x28fcfc['af']['getPluralForm']=_0x37f331;})(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':_0x163830=>0x0==_0x163830?0x0:0x1==_0x163830?0x1:0x2==_0x163830?0x2:_0x163830%0x64>=0x3&&_0x163830%0x64<=0xa?0x3:_0x163830%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5f471e=>{const {ar:{dictionary:_0x29d145,getPluralForm:_0x26160}}={'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':_0x11ad3e=>0x0==_0x11ad3e?0x0:0x1==_0x11ad3e?0x1:0x2==_0x11ad3e?0x2:_0x11ad3e%0x64>=0x3&&_0x11ad3e%0x64<=0xa?0x3:_0x11ad3e%0x64>=0xb?0x4:0x5}};_0x5f471e['ar']||={'dictionary':{},'getPluralForm':null},_0x5f471e['ar']['dictionary']=Object['assign'](_0x5f471e['ar']['dictionary'],_0x29d145),_0x5f471e['ar']['getPluralForm']=_0x26160;})(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':_0xbe5ad3=>0x1!=_0xbe5ad3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5ca9af=>{const {ast:{dictionary:_0xeec0ea,getPluralForm:_0x14226a}}={'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':_0x743bc=>0x1!=_0x743bc}};_0x5ca9af['ast']||={'dictionary':{},'getPluralForm':null},_0x5ca9af['ast']['dictionary']=Object['assign'](_0x5ca9af['ast']['dictionary'],_0xeec0ea),_0x5ca9af['ast']['getPluralForm']=_0x14226a;})(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':_0x21fb1c=>0x1!=_0x21fb1c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x430eff=>{const {az:{dictionary:_0x92343,getPluralForm:_0x3154a5}}={'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':_0x2ee92a=>0x1!=_0x2ee92a}};_0x430eff['az']||={'dictionary':{},'getPluralForm':null},_0x430eff['az']['dictionary']=Object['assign'](_0x430eff['az']['dictionary'],_0x92343),_0x430eff['az']['getPluralForm']=_0x3154a5;})(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':_0x4e04fe=>_0x4e04fe%0xa==0x1&&_0x4e04fe%0x64!=0xb?0x0:_0x4e04fe%0xa>=0x2&&_0x4e04fe%0xa<=0x4&&(_0x4e04fe%0x64<0xa||_0x4e04fe%0x64>=0x14)?0x1:0x2}};
|