@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251208.0 → 0.0.0-nightly-next-20251209.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x39419f,Command as _0x44f239}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x13b0c7,isWidget as _0x221df4,toWidgetEditable as _0x3cf14d,WidgetToolbarRepository as _0x3db4cc}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x63e192,logWarning as _0x414611,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x156f59,ClickObserver as _0x4335ef}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2156b4}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x581d9f,ButtonView as _0x3c8d4e,View as _0x142d8f,ViewCollection as _0x14a301,FocusCycler as _0x1ef80b,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xdf35ea,BalloonPanelView as _0x15e81d,createDropdown as _0x51b52e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3ea16c,IconListStyleDecimal as _0x4d6b30,IconListStyleDecimalLeadingZero as _0x4b5cee,IconListStyleLowerRoman as _0x38ffb6,IconListStyleUpperRoman as _0x1fc4a5,IconListStyleLowerLatin as _0x34d13d,IconListStyleUpperLatin as _0x24e982}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1bab29,_0x26efa5){this['_model']=_0x1bab29,this['_elementName']=_0x26efa5['elementName'],this['_getElementKey']=_0x26efa5['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xec8cdf){const _0x3892a3=new Set(),_0x53eee1=new Map();for(const _0x518f5e of _0xec8cdf){if('insert'===_0x518f5e['type']&&'$text'!==_0x518f5e['name']&&_0x518f5e['position']['nodeAfter']){const _0x20fa57=this['_model']['createRangeOn'](_0x518f5e['position']['nodeAfter']);for(const _0x3290f6 of _0x20fa57['getItems']()){if(!_0x3290f6['is']('element',this['_elementName']))continue;const _0x3f97eb=this['_getElementKey'](_0x3290f6);_0x53eee1['has'](_0x3f97eb)||_0x53eee1['set'](_0x3f97eb,[]),_0x53eee1['get'](_0x3f97eb)['push'](_0x3290f6);}}if('remove'===_0x518f5e['type']&&_0x518f5e['name']===this['_elementName']){const _0x27651c=this['_getElementKey']({'getAttribute':_0x36d253=>_0x518f5e['attributes']['get'](_0x36d253)});_0x3892a3['add'](_0x27651c);}}for(const [_0x1b1aa9,_0x31f878]of this['_trackedElements'])'$graveyard'===_0x31f878['root']['rootName']&&_0x3892a3['add'](_0x1b1aa9);for(const _0x4a22e6 of _0x3892a3)this['_trackedElements']['delete'](_0x4a22e6);for(const [_0x2cabc4,_0x1afce9]of _0x53eee1)this['_trackedElements']['set'](_0x2cabc4,_0x1afce9[_0x1afce9['length']-0x1]);const _0x266ae6=new Set();for(const [_0x316455,_0x5425e2]of _0x53eee1)_0x3892a3['has'](_0x316455)&&(_0x266ae6['add'](_0x5425e2[0x0]),_0x5425e2['length']>0x1?_0x53eee1['set'](_0x316455,_0x5425e2['slice'](0x1)):_0x53eee1['delete'](_0x316455),_0x3892a3['delete'](_0x316455));return{'removed':Array['from'](_0x3892a3),'inserted':Array['from'](_0x53eee1['values']())['flat'](),'moved':Array['from'](_0x266ae6)};}}class f extends _0x39419f{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4578a2){super(_0x4578a2),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1737f9=>_0x1737f9['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x9b0a5=>_0x9b0a5['getAttribute']('footnoteId')});}['init'](){const {editor:_0xf9e490}=this,{model:_0x3ef2bd,data:_0x14d105}=_0xf9e490;_0x3ef2bd['document']['registerPostFixer'](_0x525ba9=>{const _0x39f649=_0x3ef2bd['document']['differ']['getChanges']();let _0x209afe=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x525ba9,_0x39f649)&&(_0x209afe=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x525ba9,_0x39f649)&&(_0x209afe=!0x0),this['_handleFootnoteReferencesChanges'](_0x525ba9,_0x39f649)&&(_0x209afe=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x525ba9)&&(_0x209afe=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x525ba9)&&(_0x209afe=!0x0),this['_sortFootnoteDefinitions'](_0x525ba9)&&(_0x209afe=!0x0),_0x209afe;}),this['listenTo'](_0x3ef2bd['document'],'change:data',()=>{_0x3ef2bd['enqueueChange']({'isUndoable':!0x1},_0x1c0bce=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1c0bce);});},{'priority':'low'}),this['listenTo'](_0x14d105,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4f3ddd){return this['_footnotes']['find'](_0x1f55a0=>_0x1f55a0['id']===_0x4f3ddd)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5d5b7e){this['_footnoteFormatter']=_0x5d5b7e;}['_updateFootnotesCounters'](_0x92a9c4,_0x2d3ae1=0x0){let _0x1749b3=!0x1;for(let _0x367107=_0x2d3ae1;_0x367107<this['_footnotes']['length'];_0x367107++)this['_updateFootnoteRefCounter'](_0x92a9c4,_0x367107)&&(_0x1749b3=!0x0);return _0x1749b3;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2ca6db,_0x3f278a){const _0x1a4ee0=_0x2ca6db['createElement']('footnotesDefinitions',{});return _0x2ca6db['append'](_0x1a4ee0,_0x3f278a),this['_footnotesDefinitions']=_0x1a4ee0,_0x1a4ee0;}['_ensureFootnotesDefinitionsContainerExists'](_0x4a226b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4c26ba=this['_footnotes'][0x0]['reference']['root'],_0x3a5ca1=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4a226b,_0x4c26ba);for(const _0x477458 of this['_footnotes'])_0x477458['definition']['parent']||_0x4a226b['insert'](_0x477458['definition'],_0x3a5ca1,'end');this['_updateFootnotesCounters'](_0x4a226b);}['_handleFootnotesDefinitionsObjectChanges'](_0x1176f1,_0x5c2868){let _0x1193f9=!0x1;const {inserted:_0x88fa13,removed:_0x19d84e,moved:_0x322139}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5c2868);if(_0x322139['length']&&(this['_footnotesDefinitions']=_0x322139[0x0]),_0x88fa13['length']){if(_0x88fa13['length']>0x1||this['_footnotesDefinitions']&&_0x88fa13['some'](_0x3745aa=>_0x3745aa!==this['_footnotesDefinitions'])){const _0x372e56=_0x1176f1['createElement']('footnotesDefinitions',{}),_0x35c008=[];this['_footnotesDefinitions']&&_0x35c008['push'](this['_footnotesDefinitions']),_0x35c008['push'](..._0x88fa13),_0x1176f1['insert'](_0x372e56,_0x35c008[0x0],'before');for(const _0x3e2975 of _0x35c008)_0x1176f1['move'](_0x1176f1['createRangeIn'](_0x3e2975),_0x1176f1['createPositionAt'](_0x372e56,'end')),_0x1176f1['remove'](_0x3e2975);this['_footnotesDefinitions']=_0x372e56,this['_updateFootnotesCounters'](_0x1176f1),_0x1193f9=!0x0;}else this['_footnotesDefinitions']=_0x88fa13[0x0];}if(_0x19d84e['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x303db5 of this['_footnotes'])_0x1176f1['remove'](_0x303db5['reference']),_0x1193f9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1193f9;}['_handleFootnoteDefinitionsChanges'](_0x2e09b8,_0x2c2f1e){let _0x56336e=!0x1;const _0x59c141=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4c8535,moved:_0x139ddb}=this['_footnoteDefsTracker']['getChanges'](_0x2c2f1e);for(const _0x5c4550 of[..._0x139ddb,..._0x4c8535]){const _0x58ac90=_0x5c4550['getAttribute']('footnoteId'),_0x3da47a=this['getFootnote'](_0x58ac90);_0x3da47a&&(_0x3da47a['definition']=_0x5c4550),_(_0x2e09b8,_0x59c141,_0x5c4550)&&(_0x56336e=!0x0);}return _0x56336e;}['_handleFootnoteReferencesChanges'](_0xb77eb1,_0x160f37){let _0x47f91f=!0x1;const {removed:_0x64920d,inserted:_0x439077,moved:_0x23b159}=this['_footnoteRefsTracker']['getChanges'](_0x160f37);for(const _0x4a03c5 of _0x64920d)this['_handleRemoveFootnoteReferenceById'](_0xb77eb1,_0x4a03c5)&&(_0x47f91f=!0x0);for(const _0x5cb433 of _0x439077)this['_handleInsertedFootnoteReference'](_0xb77eb1,_0x5cb433)&&(_0x47f91f=!0x0);for(const _0x7d22aa of _0x23b159)this['_handleMovedFootnoteReference'](_0xb77eb1,_0x7d22aa)&&(_0x47f91f=!0x0);return _0x47f91f;}['_handleFootnotesDefinitionsObjectSync'](_0x57ca3d){if(!this['_footnotesDefinitions'])return!0x1;let _0x1fe08e=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x23d1dd=[];for(const _0x4d6aad of this['_footnotesDefinitions']['getChildren']()){const _0x1face9=_0x4d6aad['getAttribute']('footnoteId');this['getFootnote'](_0x1face9)||(_0x23d1dd['unshift'](_0x4d6aad),_0x1fe08e=!0x0);}for(const _0x10a16c of _0x23d1dd)_0x57ca3d['remove'](_0x10a16c);}const _0x108b66=new Set(),_0x2afbd5=[];for(const _0x4231bc of this['_footnotesDefinitions']['getChildren']()){const _0x5b2b78=_0x4231bc['getAttribute']('footnoteId');_0x108b66['has'](_0x5b2b78)?(_0x2afbd5['unshift'](_0x4231bc),_0x1fe08e=!0x0):_0x108b66['add'](_0x5b2b78);}for(const _0x2c28f9 of _0x2afbd5)_0x57ca3d['remove'](_0x2c28f9);return this['_footnotesDefinitions']['childCount']||(_0x57ca3d['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1fe08e=!0x0),_0x1fe08e;}['_handleInsertedFootnoteReference'](_0x3adc24,_0x2160de){if(this['_footnotes']['find'](_0x51ceab=>_0x51ceab['reference']===_0x2160de))return!0x1;let _0xaf2d29=!0x1;const _0x328b87=_0x2160de['getAttribute']('footnoteId'),_0x2c936c=this['_footnotes']['findIndex'](_0xd65429=>_0xd65429['id']===_0x328b87);-0x1!==_0x2c936c&&(_0x3adc24['remove'](this['_footnotes'][_0x2c936c]['reference']),this['_footnotes']['splice'](_0x2c936c,0x1),_0xaf2d29=!0x0);let _0x5a4b11=this['_footnotesDefinitions']?function(_0x477b20,_0x359239){for(const _0x57973c of _0x477b20['getChildren']())if(_0x57973c['getAttribute']('footnoteId')===_0x359239)return _0x57973c;return null;}(this['_footnotesDefinitions'],_0x328b87):null;_0x5a4b11||(_0x5a4b11=_0x3adc24['createElement']('footnoteDefinition',{'footnoteId':_0x328b87}),this['_footnotesDefinitions']&&(_0x3adc24['insert'](_0x5a4b11,this['_footnotesDefinitions'],'end'),_0xaf2d29=!0x0));const _0x2e4673={'id':_0x328b87,'reference':_0x2160de,'definition':_0x5a4b11},_0x4bb850=I(this['editor']['model'],this['_footnotes'],_0x2160de);this['_footnotes']['splice'](_0x4bb850,0x0,_0x2e4673);let _0x408672=_0x4bb850;return-0x1!==_0x2c936c&&(_0x408672=Math['min'](_0x4bb850,_0x2c936c)),this['_updateFootnotesCounters'](_0x3adc24,_0x408672)&&(_0xaf2d29=!0x0),_0xaf2d29;}['_handleRemoveFootnoteReferenceById'](_0x41d423,_0x14a84b){const _0x2a251e=this['_footnotes']['findIndex'](_0x4cadc5=>_0x4cadc5['id']===_0x14a84b);if(-0x1===_0x2a251e)return!0x1;let _0x4b373e=!0x1;const _0x2918db=this['_footnotes'][_0x2a251e];return'$graveyard'!==_0x2918db['definition']['root']['rootName']&&(_0x41d423['remove'](_0x2918db['definition']),_0x4b373e=!0x0),this['_footnotes']['splice'](_0x2a251e,0x1),this['_updateFootnotesCounters'](_0x41d423,_0x2a251e)&&(_0x4b373e=!0x0),_0x4b373e;}['_handleMovedFootnoteReference'](_0x5142ce,_0x25f859){const _0xafc5f0=_0x25f859['getAttribute']('footnoteId'),_0x49acb0=this['_footnotes']['findIndex'](_0x5ac114=>_0x5ac114['id']===_0xafc5f0),_0x5d125c=this['_footnotes'][_0x49acb0];let _0x509361=!0x1;_0x5d125c['reference']=_0x25f859,this['_footnotes']['splice'](_0x49acb0,0x1);const _0x5e214c=I(this['editor']['model'],this['_footnotes'],_0x25f859);return this['_footnotes']['splice'](_0x5e214c,0x0,_0x5d125c),this['_updateFootnotesCounters'](_0x5142ce,Math['min'](_0x49acb0,_0x5e214c))&&(_0x509361=!0x0),_0x509361;}['_updateFootnoteRefCounter'](_0x3d6db3,_0x613d65){if(!this['_footnotesDefinitions'])return!0x1;const _0x2478a0=this['_footnotes'][_0x613d65];let _0x36ecc8;return _0x36ecc8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2478a0,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x613d65+0x1}):String(_0x613d65+0x1),_0x2478a0['reference']['getAttribute']('footnoteCounter')!=_0x36ecc8&&(_0x3d6db3['setAttribute']('footnoteCounter',_0x36ecc8,_0x2478a0['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x27c31b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2aa9ec,_0x113e46){if(_0x2aa9ec['length']!==_0x113e46['length'])return!0x1;for(let _0xb7681f=0x0;_0xb7681f<_0x2aa9ec['length'];_0xb7681f++)if(_0x2aa9ec[_0xb7681f]!==_0x113e46[_0xb7681f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x34eb7b=>_0x34eb7b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x6ac2dd=>_0x6ac2dd['getAttribute']('footnoteId'))))return!0x1;let _0x5cf625=!0x1;for(let _0x4aaada=0x0;_0x4aaada<this['_footnotes']['length'];_0x4aaada++){const _0x24f235=this['_footnotes'][_0x4aaada],_0xf51139=_0x27c31b['createPositionBefore'](_0x24f235['definition']),_0x10dd9d=_0x27c31b['createPositionAt'](this['_footnotesDefinitions'],_0x4aaada);_0xf51139['isEqual'](_0x10dd9d)||(_0x27c31b['move'](_0x27c31b['createRangeOn'](_0x24f235['definition']),_0x10dd9d),_0x5cf625=!0x0);}return _0x5cf625;}['_ensureFootnotesReferencesHaveProperOrder'](_0x52cf10){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3fe9e2}=this['editor'];let _0x32fd44=!0x1;for(let _0x519d84=0x0;_0x519d84<this['_footnotes']['length']-0x1;_0x519d84++){const _0x20d7b6=this['_footnotes'][_0x519d84],_0x5cb481=this['_footnotes'][_0x519d84+0x1],_0x1374c5=_0x3fe9e2['createPositionBefore'](_0x20d7b6['reference']),_0x2a1bf7=_0x3fe9e2['createPositionBefore'](_0x5cb481['reference']);'after'===_0x1374c5['compareWith'](_0x2a1bf7)&&(this['_handleMovedFootnoteReference'](_0x52cf10,_0x20d7b6['reference']),_0x519d84=-0x1,_0x32fd44=!0x0);}return _0x32fd44;}}function _(_0x5676fa,_0x12f01c,_0x13bcdb){if(_0x13bcdb['childCount'])return!0x1;const _0x321e4c=_0x12f01c?'paragraph':'footnoteInlineContent';return _0x5676fa['insert'](_0x5676fa['createElement'](_0x321e4c),_0x13bcdb),!0x0;}function I(_0x306218,_0x2c181e,_0x386c2e){if(0x0===_0x2c181e['length'])return 0x0;const _0xd0560=_0x306218['createPositionBefore'](_0x386c2e);for(let _0x511a2d=0x0;_0x511a2d<_0x2c181e['length'];_0x511a2d++){const _0x389fe1=_0x2c181e[_0x511a2d],_0x76dfbe=_0x306218['createPositionBefore'](_0x389fe1['reference']);if('before'===_0xd0560['compareWith'](_0x76dfbe))return _0x511a2d;}const _0x49a597=_0x386c2e['root'];let _0x2ad120=-0x1;for(let _0x1ad408=_0x2c181e['length']-0x1;_0x1ad408>=0x0;_0x1ad408--)if(_0x2c181e[_0x1ad408]['reference']['root']===_0x49a597){_0x2ad120=_0x1ad408;break;}if(-0x1!==_0x2ad120)return _0x2ad120+0x1;const _0x19e53d=_0x306218['document']['getRootNames'](),_0x3da767=_0x19e53d['indexOf'](_0x49a597['rootName']),_0x29d9f3=_0x19e53d[_0x3da767+0x1];if(_0x29d9f3){for(let _0x109758=0x0;_0x109758<_0x2c181e['length'];_0x109758++)if(_0x2c181e[_0x109758]['reference']['root']['rootName']===_0x29d9f3)return _0x109758;}return _0x2c181e['length'];}class m extends _0x44f239{['refresh'](){const _0x1e4005=this['editor']['model']['document']['selection'],_0x25e6e6=this['_getPositionToInsertFootnote'](_0x1e4005);this['isEnabled']=!!_0x25e6e6;}['execute'](_0xeda5ec){const {editor:_0x4f4e3a}=this,{model:_0x53f763}=_0x4f4e3a,{selection:_0x108ea5}=_0x53f763['document'],_0x50b48d=this['_getPositionToInsertFootnote'](_0x108ea5);if(!_0x50b48d)return;const _0x474333=_0x4f4e3a['plugins']['get']('FootnotesEditing'),_0x1b0761=_0xeda5ec?.['footnoteId']??_0x63e192();!function(_0x523e7f){return'string'==typeof _0x523e7f&&_0x523e7f['length']>0x0&&!/\s/['test'](_0x523e7f)&&!/^\d/['test'](_0x523e7f);}(_0x1b0761)?_0x414611('insert-footnote-command-executed-with-invalid-id'):(_0x53f763['change'](_0xb57e39=>{const _0xda8fd3=_0xb57e39['createElement']('footnoteRef',{'footnoteId':_0x1b0761});_0x53f763['insertObject'](_0xda8fd3,_0x50b48d,null);}),_0x474333['_moveSelectionToFootnoteDefinition'](_0x1b0761));}['_getPositionToInsertFootnote'](_0x11289c){const {model:_0x1569fa}=this['editor'],{schema:_0x5f2767}=_0x1569fa,_0x10a319=_0x11289c['getFirstRange']();for(const _0x262a40 of _0x10a319['getItems']())if(_0x5f2767['isBlock'](_0x262a40)||_0x5f2767['isObject'](_0x262a40))return null;const _0x2e35c1=_0x10a319['end'];return _0x5f2767['checkChild'](_0x2e35c1,'footnoteRef')?_0x2e35c1:null;}}class r extends _0x39419f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5144c4}=this;_0x5144c4['config']['define']('footnotes.multiBlock',!0x0),_0x5144c4['commands']['add']('insertFootnote',new m(_0x5144c4)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x6a1fcd){const _0x36ebdc=_0x17df15([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]),_0x347d46=0x47a28506,_0x5d90d7=0x47a5fe56^_0x347d46,_0x50b28a=window[_0x17df15([0x44,0x61,0x74,0x65])][_0x17df15([0x6e,0x6f,0x77])](),_0x1db701=_0x6a1fcd[_0x17df15([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e1729=new window[(_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe32a93=>{_0x1db701[_0x17df15([0x6f,0x6e,0x63,0x65])](_0x17df15([0x72,0x65,0x61,0x64,0x79]),_0xe32a93);}),_0x5150c1={[_0x17df15([0x6b,0x74,0x79])]:_0x17df15([0x45,0x43]),[_0x17df15([0x75,0x73,0x65])]:_0x17df15([0x73,0x69,0x67]),[_0x17df15([0x63,0x72,0x76])]:_0x17df15([0x50,0x2d,0x32,0x35,0x36]),[_0x17df15([0x78])]:_0x17df15([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]),[_0x17df15([0x79])]:_0x17df15([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]),[_0x17df15([0x61,0x6c,0x67])]:_0x17df15([0x45,0x53,0x32,0x35,0x36])},_0x58c8c4=_0x1db701[_0x17df15([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17df15([0x67,0x65,0x74])](_0x17df15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x352929(){let _0x30764a,_0x318e5b=null,_0x2a787a=null;try{if(_0x58c8c4==_0x17df15([0x47,0x50,0x4c]))return _0x17df15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30764a=_0x1a970b(),!_0x30764a)return _0x17df15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30764a[_0x17df15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a787a=_0x5849c6(_0x30764a[_0x17df15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30764a[_0x17df15([0x6a,0x74,0x69])])),await _0x24fc96()?_0x29d2fe()?_0x47aa40()?_0x17df15([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xdbf48d()?(_0x30764a[_0x17df15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17df15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x318e5b=_0x368e06(_0x17df15([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30764a[_0x17df15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17df15([0x74,0x72,0x69,0x61,0x6c])&&(_0x318e5b=_0x368e06(_0x17df15([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x14e451()):_0x17df15([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17df15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17df15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17df15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47aa40(){const _0x49649e=[_0x17df15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17df15([0x74,0x72,0x69,0x61,0x6c])][_0x17df15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30764a[_0x17df15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50b28a/0x3e8:0xe10*_0x5d90d7;return _0x30764a[_0x17df15([0x65,0x78,0x70])]<_0x49649e;}function _0x29d2fe(){const _0x37a828=_0x30764a[_0x17df15([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37a828&&(!!_0x37a828[_0x17df15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17df15([0x2a]))||!!_0x37a828[_0x17df15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17df15([0x46,0x4f,0x4f])));}function _0xdbf48d(){const _0x814f3a=_0x30764a[_0x17df15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x814f3a||0x0==_0x814f3a[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x148052}=new URL(window[_0x17df15([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x814f3a[_0x17df15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148052))return!0x0;const _0x4aa910=_0x148052[_0x17df15([0x73,0x70,0x6c,0x69,0x74])](_0x17df15([0x2e]));return _0x814f3a[_0x17df15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ca573=>_0x5ca573[_0x17df15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17df15([0x2a])))[_0x17df15([0x6d,0x61,0x70])](_0x5af7fe=>_0x5af7fe[_0x17df15([0x73,0x70,0x6c,0x69,0x74])](_0x17df15([0x2e])))[_0x17df15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x407cc0=>_0x407cc0[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4aa910[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17df15([0x6d,0x61,0x70])](_0x4c9226=>Array(_0x4aa910[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c9226[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17df15([0x66,0x69,0x6c,0x6c])](_0x4c9226[0x0]===_0x17df15([0x2a])?_0x17df15([0x2a]):'')[_0x17df15([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c9226))[_0x17df15([0x73,0x6f,0x6d,0x65])](_0x44fbc6=>_0x4aa910[_0x17df15([0x65,0x76,0x65,0x72,0x79])]((_0x1c3eae,_0x29fa6b)=>_0x44fbc6[_0x29fa6b]===_0x1c3eae||_0x44fbc6[_0x29fa6b]===_0x17df15([0x2a])));}function _0x14e451(){return _0x318e5b&&_0x2a787a?new window[(_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2de5a8,_0x3d9e14)=>{_0x318e5b[_0x17df15([0x74,0x68,0x65,0x6e])](_0x2de5a8,_0x3d9e14),_0x2a787a[_0x17df15([0x74,0x68,0x65,0x6e])](_0x139c7b=>{_0x139c7b!=_0x17df15([0x56,0x61,0x6c,0x69,0x64])&&_0x2de5a8(_0x139c7b);},_0x3d9e14);}):_0x318e5b||_0x2a787a||_0x17df15([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5849c6(_0x3c7609,_0x3a8630){return new window[(_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d435=>{if(_0x358a0e())return _0x38d435(_0x17df15([0x56,0x61,0x6c,0x69,0x64]));_0x30fc8a(),_0x1db701[_0x17df15([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17df15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c3409=!0x1;const _0x42f383=_0x63e192();function _0x541b6c(_0x40c3e0){return!!_0x40c3e0&&(typeof _0x40c3e0===_0x17df15([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40c3e0===_0x17df15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40c3e0[_0x17df15([0x74,0x68,0x65,0x6e])]===_0x17df15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40c3e0[_0x17df15([0x63,0x61,0x74,0x63,0x68])]===_0x17df15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3be8eb(_0x3917e1){_0x2e3183(_0x3917e1)[_0x17df15([0x74,0x68,0x65,0x6e])](_0x2aaa94=>{if(!_0x2aaa94||_0x2aaa94[_0x17df15([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17df15([0x6f,0x6b]))return _0x17df15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2531fa(_0x478a1d(_0x42f383+_0x3a8630))!=_0x2aaa94[_0x17df15([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17df15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17df15([0x56,0x61,0x6c,0x69,0x64]);})[_0x17df15([0x74,0x68,0x65,0x6e])](_0x162897=>(_0x54700a(),_0x162897),()=>{const _0x243aac=_0x3e6a38();return null==_0x243aac?(_0x54700a(),_0x17df15([0x56,0x61,0x6c,0x69,0x64])):_0x17df15(_0x50b28a-_0x243aac>(0x63ae0106^_0x347d46)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17df15([0x74,0x68,0x65,0x6e])](_0x38d435)[_0x17df15([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38d435(_0x17df15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5be3ee=0x47946b86^_0x347d46;function _0x54700a(){const _0x5cb214=_0x17df15([0x6c,0x6c,0x63,0x74,0x2d])+_0x2531fa(_0x478a1d(_0x3c7609)),_0x265cee=_0x1b35c2(_0x2531fa(window[_0x17df15([0x4d,0x61,0x74,0x68])][_0x17df15([0x63,0x65,0x69,0x6c])](_0x50b28a/_0x5be3ee)));window[_0x17df15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17df15([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cb214,_0x265cee);}function _0x3e6a38(){const _0x210b8e=_0x17df15([0x6c,0x6c,0x63,0x74,0x2d])+_0x2531fa(_0x478a1d(_0x3c7609)),_0x2f0919=window[_0x17df15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17df15([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x210b8e);return _0x2f0919?window[_0x17df15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b35c2(_0x2f0919),0x10)*_0x5be3ee:null;}function _0x2e3183(_0x3a330e){return new window[(_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32359a,_0x42ba0d)=>{_0x3a330e[_0x17df15([0x74,0x68,0x65,0x6e])](_0x32359a,_0x42ba0d),window[_0x17df15([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42ba0d,0x47a351c6^_0x347d46);});}}_0x1db701[_0x17df15([0x6f,0x6e])](_0x17df15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2beb68,_0x5e47d1)=>{if(_0x5e47d1[0x0]!=_0x3c7609)return _0x38d435(_0x17df15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e47d1[0x1]={..._0x5e47d1[0x1],[_0x17df15([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42f383};},{[_0x17df15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17df15([0x68,0x69,0x67,0x68])}),_0x1db701[_0x17df15([0x6f,0x6e])](_0x17df15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45a382=>{_0x541b6c(_0x45a382[_0x17df15([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c3409=!0x0,_0x3be8eb(_0x45a382[_0x17df15([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17df15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17df15([0x6c,0x6f,0x77])}),_0x1e1729[_0x17df15([0x74,0x68,0x65,0x6e])](()=>{_0x4c3409||_0x38d435(_0x17df15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x358a0e(){return _0x1db701[_0x17df15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17df15([0x76,0x69,0x65,0x77])][_0x17df15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17df15([0x61,0x75,0x74,0x6f]);}function _0x30fc8a(){_0x1db701[_0x17df15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17df15([0x76,0x69,0x65,0x77])][_0x17df15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17df15([0x61,0x75,0x74,0x6f]);}}function _0x368e06(_0x48157c){const _0x32f6a8=[new window[(_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b54f3=>setTimeout(_0x2b54f3,0x47abbbca^_0x347d46)),_0x1e1729[_0x17df15([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b5908=>{let _0x370c71=0x0;_0x1db701[_0x17df15([0x6d,0x6f,0x64,0x65,0x6c])][_0x17df15([0x6f,0x6e])](_0x17df15([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c1217,_0x3d1634)=>{_0x3d1634[0x0][_0x17df15([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x370c71++,_0x370c71==(0x47a284fe^_0x347d46)&&(_0x4b5908(),_0x5c1217[_0x17df15([0x6f,0x66,0x66])]());});}))];return window[_0x17df15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17df15([0x72,0x61,0x63,0x65])](_0x32f6a8)[_0x17df15([0x74,0x68,0x65,0x6e])](()=>_0x48157c);}async function _0x4b7b14(){await _0x1e1729,_0x1db701[_0x17df15([0x6d,0x6f,0x64,0x65,0x6c])][_0x17df15([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26caec,_0x1db701[_0x17df15([0x6d,0x6f,0x64,0x65,0x6c])][_0x17df15([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26caec,_0x1db701[_0x17df15([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17df15([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3a7286(_0x2d9bc2){const _0x43c483=_0xdc3924();_0x1db701[_0x43c483]=_0x17df15([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2d9bc2,_0x2d9bc2!=_0x17df15([0x56,0x61,0x6c,0x69,0x64])&&_0x4b7b14();}function _0xdc3924(){const _0x4056b0=window[_0x17df15([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17df15([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17df15([0x6e,0x6f,0x77])]())[_0x17df15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17df15([0x2e]),'');let _0x54c9ce=_0x17df15([0x75]);for(let _0x5ede14=0x0;_0x5ede14<_0x4056b0[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ede14+=0x2){let _0x446a9f=window[_0x17df15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4056b0[_0x17df15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ede14,_0x5ede14+0x2));_0x446a9f>=_0x36ebdc[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x446a9f-=_0x36ebdc[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54c9ce+=_0x36ebdc[_0x446a9f];}return _0x54c9ce;}function _0x1a970b(){const _0x53022c=_0x58c8c4[_0x17df15([0x73,0x70,0x6c,0x69,0x74])](_0x17df15([0x2e]));if(0x3!=_0x53022c[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x314da3(_0x53022c[0x1]);function _0x314da3(_0x44511e){const _0xdbf0ed=_0x406cb4(_0x44511e);return _0xdbf0ed&&_0x370f46()?_0xdbf0ed:null;function _0x370f46(){const _0x485fec=_0xdbf0ed[_0x17df15([0x6a,0x74,0x69])],_0x2f7e77=window[_0x17df15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x485fec[_0x17df15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x485fec[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x452edd={..._0xdbf0ed,[_0x17df15([0x6a,0x74,0x69])]:_0x485fec[_0x17df15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x485fec[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x452edd[_0x17df15([0x76,0x63])],_0x478a1d(_0x452edd)==_0x2f7e77;}}}async function _0x24fc96(){let _0x664b2d=!0x0;try{const _0x232251=_0x58c8c4[_0x17df15([0x73,0x70,0x6c,0x69,0x74])](_0x17df15([0x2e])),[_0x311a1f,_0x56df6c,_0x1c5808]=_0x232251;return _0x4f9c25(_0x311a1f),await _0x32f598(_0x311a1f,_0x56df6c,_0x1c5808),_0x664b2d;}catch{return!0x1;}function _0x4f9c25(_0x551913){const _0x478094=_0x406cb4(_0x551913);_0x478094&&_0x478094[_0x17df15([0x61,0x6c,0x67])]==_0x17df15([0x45,0x53,0x32,0x35,0x36])||(_0x664b2d=!0x1);}async function _0x32f598(_0x58eae1,_0x548458,_0x2929d2){const _0x498054=window[_0x17df15([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17df15([0x66,0x72,0x6f,0x6d])](_0x54edc7(_0x2929d2),_0x2d6a0b=>_0x2d6a0b[_0x17df15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d7eb0=new window[(_0x17df15([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17df15([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x58eae1+_0x17df15([0x2e])+_0x548458),_0x2326a6=window[_0x17df15([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17df15([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2326a6)return;const _0x5d9183=await _0x2326a6[_0x17df15([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17df15([0x6a,0x77,0x6b]),_0x5150c1,{[_0x17df15([0x6e,0x61,0x6d,0x65])]:_0x17df15([0x45,0x43,0x44,0x53,0x41]),[_0x17df15([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17df15([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17df15([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2326a6[_0x17df15([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17df15([0x6e,0x61,0x6d,0x65])]:_0x17df15([0x45,0x43,0x44,0x53,0x41]),[_0x17df15([0x68,0x61,0x73,0x68])]:{[_0x17df15([0x6e,0x61,0x6d,0x65])]:_0x17df15([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d9183,_0x498054,_0x4d7eb0)||(_0x664b2d=!0x1);}}function _0x406cb4(_0x3fdc25){return _0x3fdc25[_0x17df15([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17df15([0x65,0x79]))?JSON[_0x17df15([0x70,0x61,0x72,0x73,0x65])](_0x54edc7(_0x3fdc25)):null;}function _0x54edc7(_0x58be62){return window[_0x17df15([0x61,0x74,0x6f,0x62])](_0x58be62[_0x17df15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17df15([0x2b]))[_0x17df15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17df15([0x2f])));}function _0x478a1d(_0x38d2b5){let _0x1e1b5e=0x1505;function _0x41186b(_0x203401){for(let _0x5f0075=0x0;_0x5f0075<_0x203401[_0x17df15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f0075++){const _0x3640b8=_0x203401[_0x17df15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f0075);_0x1e1b5e=(_0x1e1b5e<<0x5)+_0x1e1b5e+_0x3640b8,_0x1e1b5e&=_0x1e1b5e;}}function _0x37a943(_0xc49268){Array[_0x17df15([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc49268)?_0xc49268[_0x17df15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37a943):_0xc49268&&typeof _0xc49268==_0x17df15([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17df15([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc49268)[_0x17df15([0x73,0x6f,0x72,0x74])]()[_0x17df15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc4bf4f,_0x45398b])=>{_0x41186b(_0xc4bf4f),_0x37a943(_0x45398b);}):_0x41186b(window[_0x17df15([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc49268));}return _0x37a943(_0x38d2b5),_0x1e1b5e>>>0x0;}function _0x2531fa(_0x56d44a){return _0x56d44a[_0x17df15([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17df15([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17df15([0x30]));}function _0x1b35c2(_0x58cdd5){return _0x58cdd5[_0x17df15([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17df15([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17df15([0x6a,0x6f,0x69,0x6e])]('');}function _0x26caec(){}function _0x17df15(_0x14305e){return _0x14305e['map'](_0x456808=>String['fromCharCode'](_0x456808))['join']('');}_0x3a7286(await _0x352929());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2f36b4){const {plugins:_0x3be888,editing:_0x431fb9,model:_0x4ee956}=this['editor'],_0x362e6f=_0x3be888['get'](f)['getFootnote'](_0x2f36b4);return!!_0x362e6f&&(_0x4ee956['change'](_0x2a7252=>{_0x2a7252['setSelection'](_0x2a7252['createPositionAt'](_0x362e6f['definition'],'end'));}),_0x431fb9['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1d4125){const {plugins:_0x4f5459,editing:_0x4707d4,model:_0x5a6e75}=this['editor'],_0x210ad4=_0x4f5459['get'](f)['getFootnote'](_0x1d4125);return!!_0x210ad4&&(_0x5a6e75['change'](_0x24c664=>{_0x24c664['setSelection'](_0x210ad4['reference'],'on');}),_0x4707d4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3500db}=this['editor']['model'],_0x161c3e=this['editor']['config']['get']('footnotes.multiBlock');_0x3500db['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3500db['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3500db['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x161c3e?_0x3500db['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3500db['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3500db['addChildCheck'](_0x4232a9=>{for(const _0x4ebbfd of _0x4232a9)if('footnoteDefinition'===_0x4ebbfd['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x395c6b}=this,{conversion:_0x9440c1,editing:_0x1b4237}=_0x395c6b,{t:t}=_0x395c6b['locale'];_0x9440c1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1b571b,{writer:_0x34dbde,consumable:_0x5805a2})=>{const _0x23da7a=_0x1b571b['getChild'](0x0);if(!_0x23da7a||!_0x23da7a['is']('element','a'))return null;const _0x42fcb7=_0x23da7a['getAttribute']('href')||'';if(!_0x42fcb7['startsWith']('#'))return null;const _0x2e73e7=_0x42fcb7['replace'](/^#/,'');if(!_0x2e73e7)return null;_0x5805a2['consume'](_0x23da7a,{'name':!0x0,'attributes':['href']});for(const {item:_0x597df0}of _0x1b4237['view']['createRangeIn'](_0x23da7a))_0x597df0['is']('$textProxy')?_0x5805a2['consume'](_0x597df0['textNode'],{'name':!0x0}):_0x597df0['is']('element')&&_0x5805a2['consume'](_0x597df0,{'name':!0x0});return _0x34dbde['createElement']('footnoteRef',{'footnoteId':_0x2e73e7});}}),_0x9440c1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x57a733,{writer:_0x3da817})=>D(_0x57a733,_0x3da817)}),_0x9440c1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2bb893,{writer:_0x27dcb6})=>{const _0x229b7d=_0x2bb893['getAttribute']('footnoteCounter');return _0x13b0c7(D(_0x2bb893,_0x27dcb6),_0x27dcb6,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x229b7d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x373aea}=this,{t:t}=_0x373aea['locale'],{conversion:_0x15489d}=_0x373aea;_0x15489d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x15489d['for']('upcast')['add'](_0xa9a545=>{_0xa9a545['on']('element:ol',(_0x1b442c,_0xfcc20a,_0x405d4d)=>{const _0x21b7e1=_0xfcc20a['viewItem'];if(!_0x21b7e1['hasClass']('footnotes-list')||!_0xfcc20a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x405d4d['consumable']['consume'](_0x21b7e1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x252519,modelCursor:_0x4f4ba2}=_0x405d4d['convertChildren'](_0xfcc20a['viewItem'],_0xfcc20a['modelCursor']);_0xfcc20a['modelRange']=_0x252519,_0xfcc20a['modelCursor']=_0x4f4ba2;}),_0xa9a545['on']('element:hr',(_0x17d77e,_0x1ba55b,_0x16eeb8)=>{const _0x1d1a18=_0x1ba55b['viewItem'];_0x1d1a18['hasClass']('footnotes-divider')&&_0x1ba55b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x16eeb8['consumable']['consume'](_0x1d1a18,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x15489d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x54296a,{writer:_0x2d236d})=>v(_0x2d236d)}),_0x15489d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4bcc75,{writer:_0xc2ad16})=>{const _0x362105=v(_0xc2ad16,{'data-footnotes-list-label':t('Footnotes')}),_0x357441=_0x13b0c7(_0x362105,_0xc2ad16,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xc2ad16['setCustomProperty']('footnotesDefinitions',!0x0,_0x357441),_0x357441;}});}['_defineDefinitionConverters'](){const {editor:_0x395868}=this,{conversion:_0x58cf52,locale:_0x3e9aeb}=_0x395868,_0x18398f=_0x395868['config']['get']('footnotes.multiBlock');_0x58cf52['for']('upcast')['add'](_0x3d9cdd=>{_0x3d9cdd['on']('element:li',(_0x40b5b5,_0x213402,_0x23f6a4)=>{const _0x49d75a=_0x213402['viewItem'];if(!_0x49d75a['hasClass']('footnote-definition')||!_0x49d75a['getAttribute']('id'))return;const _0x50ceb4=_0x49d75a['parent'];if(!_0x50ceb4['is']('element','ol')||!_0x50ceb4['hasClass']('footnotes-list'))return;if(!_0x23f6a4['consumable']['test'](_0x49d75a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x38da09=_0x23f6a4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x49d75a['getAttribute']('id')});if(!_0x23f6a4['safeInsert'](_0x38da09,_0x213402['modelCursor']))return;_0x23f6a4['consumable']['consume'](_0x49d75a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x47d2b9=Array['from'](_0x49d75a['getChildren']())['find'](_0x36f6f6=>_0x36f6f6['is']('element')&&_0x36f6f6['hasClass']('footnote-content'));for(const _0x6f1bc4 of _0x49d75a['getChildren']())_0x6f1bc4['is']('element')&&(_0x23f6a4['consumable']['consume'](_0x6f1bc4,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x23f6a4['consumable']['consume'](_0x6f1bc4,{'name':!0x0,'classes':'footnote-content'}));if(_0x47d2b9){if(_0x18398f)_0x23f6a4['convertChildren'](_0x47d2b9,_0x38da09);else{const _0x2d66ad=_0x23f6a4['writer']['createElement']('footnoteInlineContent');_0x23f6a4['writer']['insert'](_0x2d66ad,_0x38da09),_0x23f6a4['convertChildren'](_0x47d2b9,_0x2d66ad);}}_0x23f6a4['updateConversionResult'](_0x38da09,_0x213402);});}),_0x58cf52['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x259e3e,{writer:_0xe66e2c})=>b(_0x259e3e,_0xe66e2c,_0x3e9aeb,{'dataPipeline':!0x0})}),_0x58cf52['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x24a7fc,{writer:_0x165afe})=>b(_0x24a7fc,_0x165afe,_0x3e9aeb)});}['_defineBogusParagraphConverters'](){const {editor:_0x2620a8}=this,{conversion:_0x1e0535}=_0x2620a8;_0x2620a8['config']['get']('footnotes.multiBlock')?(_0x1e0535['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1e0535['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2620a8['model']['document'],'change:data',()=>{!function(_0x4bf99a,_0x26415e){const _0xaeedcc=_0x4bf99a['document']['differ'],_0x28e370=new Set();for(const _0x503c0c of _0xaeedcc['getChanges']()){const _0x50fc14='attribute'==_0x503c0c['type']?_0x503c0c['range']['start']['parent']:_0x503c0c['position']['parent'];_0x50fc14['is']('element','footnoteDefinition')&&_0x28e370['add'](_0x50fc14);}for(const _0x425eb8 of _0x28e370['values']()){const _0xe37235=Array['from'](_0x425eb8['getChildren']())['filter'](_0x34b83b=>g(_0x34b83b,_0x26415e['mapper']));for(const _0x5b024e of _0xe37235)_0x26415e['reconvertItem'](_0x5b024e);}}(_0x2620a8['model'],_0x2620a8['editing']);})):(_0x1e0535['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1e0535['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2fd713,{writer:_0x1b97b4})=>{const _0x56d73b=_0x1b97b4['createContainerElement']('span');return _0x1b97b4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x56d73b),_0x56d73b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x485374}=this,{editing:_0x272b80,t:t}=_0x485374,_0x1018a4=_0x485374['model']['document']['selection'];_0x485374['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x485374['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x272b80['view']['document'],'enter',(_0x45654e,_0x572723)=>{const _0x3bbe9d=function(_0xfe35ff){const _0x25cdb7=_0xfe35ff['getSelectedElement']();if(_0x25cdb7?.['is']('element','footnoteRef'))return _0x25cdb7;return null;}(_0x1018a4);if(_0x3bbe9d){const _0x1eb4eb=_0x3bbe9d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1eb4eb),_0x572723['preventDefault'](),_0x45654e['stop']();}},{'context':_0x221df4});}['_defineClickHandlers'](){const {editor:_0x27489b}=this,{editing:_0x152fa3}=_0x27489b;_0x27489b['editing']['view']['addObserver'](_0x156f59),_0x27489b['editing']['view']['addObserver'](_0x4335ef);let _0x4f82e8=!0x1;this['listenTo'](_0x152fa3['view']['document'],'pointerdown',(_0x5bd65d,_0x1ef3e4)=>{const {target:_0x28e16c}=_0x1ef3e4,_0x19006e=_0x152fa3['view']['document']['selection'];_0x4f82e8=!!(_0x28e16c?.['is']('element','a')&&_0x28e16c['parent']?.['is']('element','sup')&&_0x28e16c['parent']['hasClass']('footnote'))&&_0x19006e['getSelectedElement']()===_0x28e16c['parent'];},{'priority':'high'}),this['listenTo'](_0x152fa3['view']['document'],'click',(_0x4fea24,_0xcfe0d7)=>{const {target:_0x49ddc5}=_0xcfe0d7;if(!_0x49ddc5?.['is']('element','a'))return;if(_0x49ddc5['parent']?.['is']('element','sup')&&_0x49ddc5['parent']['hasClass']('footnote')&&!_0x4f82e8)return void _0xcfe0d7['preventDefault']();let _0x560bb7=_0x49ddc5['getAttribute']('href');if(!_0x560bb7?.['startsWith']('#'))return;_0x560bb7=_0x560bb7['slice'](0x1);let _0x43bcca=!0x1;(_0x560bb7['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x560bb7['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x560bb7))&&(_0x43bcca=!0x0),_0x43bcca&&(_0xcfe0d7['preventDefault'](),_0x4fea24['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x103371}={}){return(_0x3f1e56,{writer:_0x5170d7})=>{if(!p(_0x3f1e56))return null;if(!_0x103371)return _0x5170d7['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2c8d17=_0x5170d7['createContainerElement']('p');return _0x5170d7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2c8d17),_0x2c8d17;};}function p(_0x5d38eb){const {parent:_0x41d434}=_0x5d38eb;if(!_0x41d434?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x41d434['childCount'])return!0x1;for(const _0x3e9b97 of _0x5d38eb['getAttributeKeys']())if(!_0x3e9b97['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3e9b97)return!0x1;return!0x0;}function g(_0x338365,_0x5dfe4b){if(!_0x338365['is']('element','paragraph'))return!0x1;const _0x52a65b=_0x5dfe4b['toViewElement'](_0x338365);return!!_0x52a65b&&p(_0x338365)!==_0x52a65b['is']('element','span');}function J(_0x7983ba){return _0x221df4(_0x7983ba)&&_0x7983ba['is']('containerElement')&&!!_0x7983ba['getCustomProperty']('footnotesDefinitions');}function v(_0x184cbd,_0x1f0ebd={}){const _0x2da23e=_0x184cbd['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5ba0ec=_0x184cbd['createContainerElement']('ol',{'class':'footnotes-list'},_0x184cbd['createSlot']());return _0x184cbd['createContainerElement']('div',{'class':'footnotes',..._0x1f0ebd},[_0x2da23e,_0x5ba0ec]);}function D(_0x5146ba,_0x182c15){const _0x3bc605=_0x5146ba['getAttribute']('footnoteId'),_0x13f569=_0x5146ba['getAttribute']('footnoteCounter'),_0x2bc393=_0x182c15['createUIElement']('a',{'href':'#'+_0x3bc605},function(_0x8542f0){const _0x4d6a2b=this['toDomElement'](_0x8542f0);return _0x4d6a2b['textContent']=_0x13f569,_0x4d6a2b;}),_0x2d0443=_0x182c15['createContainerElement']('sup',{'id':'ref-'+_0x3bc605,'class':'footnote'},[_0x2bc393]);return _0x2d0443['getFillerOffset']=()=>null,_0x2d0443;}function b(_0x36e443,_0x560ba5,_0x4b047c,{dataPipeline:_0x5aec36}={}){const {t:t}=_0x4b047c,_0x8d6af0=_0x36e443['getAttribute']('footnoteId'),_0x2a4d68=_0x560ba5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x8d6af0},function(_0x4b4bc8){const _0xd5ea0e=this['toDomElement'](_0x4b4bc8);return _0xd5ea0e['innerText']='^',_0xd5ea0e;}),_0x2e0f0e=_0x5aec36?_0x560ba5['createContainerElement']('div',{'class':'footnote-content'}):_0x3cf14d(_0x560ba5['createEditableElement']('div',{'class':'footnote-content'}),_0x560ba5,{'label':t('Footnote\x20content.')});return _0x560ba5['insert'](_0x560ba5['createPositionAt'](_0x2e0f0e,0x0),_0x560ba5['createSlot']()),_0x560ba5['createContainerElement']('li',{'class':'footnote-definition','id':_0x8d6af0},[_0x2a4d68,_0x2e0f0e]);}class e extends _0x39419f{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2156b4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2c7ba4}=this,{plugins:_0x5f50dc,model:_0x54c9bc}=_0x2c7ba4,_0x15bd00=_0x5f50dc['get'](_0x2156b4),_0xc154c4=_0x5f50dc['get'](f);this['listenTo'](_0x15bd00,'outputTransformation',(_0x4688fc,_0x3c3b70)=>{const _0x478efd=c(_0x54c9bc['createRangeIn'](_0x3c3b70['content']));if(!_0x478efd['length'])return;const _0x1c4b1c=_0xc154c4['getFootnotes'](),_0x335b66=_0x478efd['reduce']((_0x3043f6,_0x5ec621)=>{const _0x3a289f=_0x1c4b1c['find'](_0x4613a5=>_0x4613a5['id']===_0x5ec621);if(_0x3a289f){const _0xac6a4f=_0x2c7ba4['data']['toView'](_0x3a289f['definition'],{'isClipboardPipeline':!0x0}),_0x15a5c0=_0x2c7ba4['data']['htmlProcessor']['toData'](_0xac6a4f);_0x3043f6[_0x3a289f['id']]=_0x15a5c0;}return _0x3043f6;},Object['create'](null));_0x3c3b70['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x335b66));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x11ec4a}=this,{model:_0xc7a6d3,plugins:_0x2e08ae}=_0x11ec4a,{view:_0x56577a}=_0x11ec4a['editing'],_0x2dccb3=_0x2e08ae['get'](_0x2156b4),_0x153cd1=_0x2e08ae['get'](f),_0x395d35=_0x11ec4a['config']['get']('footnotes.multiBlock');let _0x2c2865=null;this['listenTo'](_0x56577a['document'],'clipboardInput',(_0x525860,_0x9f049e)=>{const _0x325910=_0x9f049e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2c2865=_0x325910?JSON['parse'](_0x325910):null;}),this['listenTo'](_0x2dccb3,'contentInsertion',(_0x1baaaa,_0x1b84f7)=>{const _0x4e5e05=_0x1b84f7['sourceEditorId']===this['editor']['id'];_0x4e5e05&&'drop'===_0x1b84f7['method']||_0xc7a6d3['change'](_0x244da4=>{let _0x3524c6=_0x153cd1['getFootnotesDefinitionsObjectElement']();const _0x595ae5=!!_0x3524c6&&Array['from'](_0xc7a6d3['document']['selection']['getSelectedBlocks']())['includes'](_0x3524c6);if((_0x3524c6&&!_0x595ae5||!_0x3524c6&&!_0x2c2865)&&function(_0x1a4d04,_0x36359e){const _0x5543c8=[];for(const {item:_0x558a12}of _0x1a4d04['createRangeIn'](_0x36359e))_0x558a12['is']('element','footnotesDefinitions')&&_0x5543c8['push'](_0x558a12);for(const _0x5363e4 of _0x5543c8)_0x1a4d04['remove'](_0x5363e4);}(_0x244da4,_0x1b84f7['content']),!_0x2c2865)return;const {selection:_0x2640d9}=_0xc7a6d3['document'],_0xfa9b53=_0x2640d9['getFirstRange']()['root'];_0x3524c6&&!_0x595ae5||(_0x3524c6=function(_0x922f79,_0x39474c){for(const {item:_0x105fed}of _0x922f79['createRangeIn'](_0x39474c))if(_0x105fed['is']('element','footnotesDefinitions'))return _0x105fed;return null;}(_0x244da4,_0x1b84f7['content']),_0x3524c6||=_0x153cd1['_insertEmptyFootnotesDefinitionsContainer'](_0x244da4,_0xfa9b53));const _0x5440f5=Array['from'](_0x2640d9['getRanges']())['flatMap'](c),_0x2e99d6=function(_0xef3150,_0x5a6778,_0xc84b3d){const _0x386430=Object['create'](null);for(const {item:_0x409409}of _0xef3150['createRangeIn'](_0x5a6778))if(_0x409409['is']('element','footnoteRef')){const _0x17fecb=_0x409409['getAttribute']('footnoteId');if(!_0xc84b3d(_0x17fecb))continue;_0x386430[_0x17fecb]||(_0x386430[_0x17fecb]=_0x63e192()),_0xef3150['setAttribute']('footnoteId',_0x386430[_0x17fecb],_0x409409);}return _0x386430;}(_0x244da4,_0x1b84f7['content'],_0x580ab7=>{if(!_0x4e5e05)return!0x0;return!!_0x153cd1['getFootnote'](_0x580ab7)&&!_0x5440f5['includes'](_0x580ab7);});for(const [_0x1c59ed,_0x2b217c]of Object['entries'](_0x2c2865)){const _0x497dcb=_0x2e99d6[_0x1c59ed]||_0x1c59ed,_0x197fff=_0x244da4['createElement']('footnoteDefinition',{'footnoteId':_0x497dcb}),_0x4a3179=_0x11ec4a['data']['htmlProcessor']['toView'](_0x2b217c);let _0x51fcc9;if(_0x395d35)_0x51fcc9=_0x11ec4a['data']['toModel'](_0x4a3179,_0x197fff);else{_0x51fcc9=_0x244da4['createElement']('footnoteInlineContent');const _0x542176=_0x11ec4a['data']['toModel'](_0x4a3179,_0x51fcc9);_0x244da4['insert'](_0x542176,_0x51fcc9);}_0x244da4['append'](_0x51fcc9,_0x197fff),_0x244da4['insert'](_0x197fff,_0x3524c6,'end');}_0x2c2865=null;});});}}function c(_0x37de2f){const _0x96a1e7=new Set();for(const {item:_0x513f66}of _0x37de2f)_0x513f66['is']('element','footnoteRef')&&_0x96a1e7['add'](_0x513f66['getAttribute']('footnoteId'));return Array['from'](_0x96a1e7);}class i extends _0x39419f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xce5d42}=this,{componentFactory:_0x2d5f8c}=_0xce5d42['ui'];_0x2d5f8c['add']('insertFootnote',x(_0xce5d42,_0x3c8d4e)),_0x2d5f8c['add']('menuBar:insertFootnote',x(_0xce5d42,_0x581d9f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3e6ba0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfc455;for(const _0x2f4112 in _0x3e6ba0){const _0x418bfd=_0x2f4112,_0x26f5a1=_0x3e6ba0[_0x418bfd];if('footnotesLicenseKeyValid'==_0x26f5a1||'footnotesLicenseKeyInvalid'==_0x26f5a1||'footnotesLicenseKeyExpired'==_0x26f5a1||'footnotesLicenseKeyDomainLimit'==_0x26f5a1||'footnotesLicenseKeyNotAllowed'==_0x26f5a1||'footnotesLicenseKeyEvaluationLimit'==_0x26f5a1||'footnotesLicenseKeyTrialLimit'==_0x26f5a1||'footnotesLicenseKeyUsageLimit'==_0x26f5a1){delete _0x3e6ba0[_0x418bfd],_0xfc455=_0x26f5a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xfc455&&_0x3e6ba0['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xfc455&&_0x3e6ba0['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xfc455&&_0x3e6ba0['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xfc455&&_0x3e6ba0['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xfc455&&_0x3e6ba0['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xfc455&&_0x3e6ba0['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xfc455&&_0x3e6ba0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x481185,_0x1578ea){const _0x14f9e4=_0x481185['commands']['get']('insertFootnote');return _0x3f9f7b=>{const {t:t}=_0x3f9f7b,_0x94ed7c=new _0x1578ea(_0x3f9f7b),_0x1dde21=_0x94ed7c instanceof _0x581d9f;return _0x94ed7c['bind']('isEnabled')['to'](_0x14f9e4,'isEnabled'),_0x94ed7c['set']({'label':t(_0x1dde21?'Footnote':'Insert\x20footnote'),'icon':_0x3ea16c,'tooltip':!0x0}),_0x94ed7c['on']('execute',()=>{_0x14f9e4['execute'](),_0x481185['editing']['view']['focus']();}),_0x94ed7c;};}class lt extends _0x39419f{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x44f239{['refresh'](){const {editor:_0x1b481f}=this,_0x1aca08=_0x1b481f['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1aca08,this['value']=_0x1aca08?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x26736b}){const {editor:_0x50674e}=this,_0x2895e2=_0x50674e['plugins']['get'](f),_0x4f7a49=_0x2895e2['getFootnotesDefinitionsObjectElement']();_0x4f7a49&&Q['includes'](_0x26736b)&&_0x50674e['model']['change'](_0x509365=>{_0x509365['setAttribute']('footnotesListStyle',_0x26736b,_0x4f7a49),_0x2895e2['_updateFootnotesCounters'](_0x509365);});}}class C extends _0x44f239{['refresh'](){const {editor:_0x4e0fcd}=this,_0x33bc69=_0x4e0fcd['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x33bc69,this['value']=_0x33bc69?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x6e2eab}){const {editor:_0x20a81f}=this,_0x207c3e=_0x20a81f['plugins']['get'](f),_0x4cb5ec=_0x207c3e['getFootnotesDefinitionsObjectElement']();_0x4cb5ec&&Number['isInteger'](_0x6e2eab)&&_0x20a81f['model']['change'](_0xe4d0c3=>{_0xe4d0c3['setAttribute']('footnotesListStart',_0x6e2eab,_0x4cb5ec),_0x207c3e['_updateFootnotesCounters'](_0xe4d0c3);});}}class P extends _0x39419f{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x46428e}=this;_0x46428e['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x46428e['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x46428e['commands']['add']('footnotesStyle',new S(_0x46428e)),_0x46428e['commands']['add']('footnotesStart',new C(_0x46428e)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x131d3d}=this,{schema:_0x579d21}=_0x131d3d['model'];_0x579d21['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x59f6e3}=this,{conversion:_0x56f7a7,model:_0xe30811}=_0x59f6e3,{schema:_0x1b7cbd}=_0xe30811;_0x56f7a7['for']('upcast')['add'](_0x2b619a=>{_0x2b619a['on']('element:ol',(_0x15d5ce,_0x4fa1a9,_0x459e85)=>{const _0x1340a0=_0x4fa1a9['viewItem'],_0x232463=_0x4fa1a9['modelCursor']?.['parent'];_0x1340a0['hasClass']('footnotes-list')&&_0x232463?.['is']('element','footnotesDefinitions')&&(function(_0xfa0da6,_0x1db64d,_0x2f222c,_0x324303){if(!_0x324303['checkAttribute'](_0x1db64d,'footnotesListStart'))return;let _0x532c50=0x1;const _0x917d44=_0x2f222c['consumable']['consume'](_0xfa0da6,{'attributes':'start'});if(_0x917d44){const _0x405f6b=Number['parseInt'](_0xfa0da6['getAttribute']('start'),0xa);Number['isNaN'](_0x405f6b)||(_0x532c50=_0x405f6b);}!_0x917d44&&_0x1db64d['hasAttribute']('footnotesListStart')||_0x2f222c['writer']['setAttribute']('footnotesListStart',_0x532c50,_0x1db64d);}(_0x1340a0,_0x232463,_0x459e85,_0x1b7cbd),function(_0x1d4b2d,_0x3af091,_0x13df08,_0x4071da){if(!_0x4071da['checkAttribute'](_0x3af091,'footnotesListStyle'))return;let _0x454f0e='decimal',_0x1c458c=!0x1;if(_0x13df08['consumable']['consume'](_0x1d4b2d,{'attributes':'type'})){const _0x539d3b={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1d4b2d['getAttribute']('type')];_0x539d3b&&(_0x454f0e=_0x539d3b),_0x1c458c=!0x0;}_0x13df08['consumable']['consume'](_0x1d4b2d,{'styles':'list-style-type'})&&(_0x454f0e=function(_0x332db3){switch(_0x332db3){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x332db3;}}(_0x1d4b2d['getStyle']('list-style-type')),_0x1c458c=!0x0),!_0x1c458c&&_0x3af091['hasAttribute']('footnotesListStyle')||_0x13df08['writer']['setAttribute']('footnotesListStyle',_0x454f0e,_0x3af091);}(_0x1340a0,_0x232463,_0x459e85,_0x1b7cbd));});}),_0x56f7a7['for']('downcast')['add'](_0xa11cc9=>{_0xa11cc9['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xcb617d,_0x2f146d,_0x2230be)=>{if(!_0x2230be['consumable']['consume'](_0x2f146d['item'],_0xcb617d['name']))return;const _0x38288c=M(_0x2f146d['item'],_0x2230be['mapper']),{attributeNewValue:_0x42a179}=_0x2f146d;null==_0x42a179||0x1===_0x42a179?_0x2230be['writer']['removeAttribute']('start',_0x38288c):_0x2230be['writer']['setAttribute']('start',String(_0x42a179),_0x38288c);}),_0xa11cc9['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2352a1,_0x325e12,_0x4d821f)=>{if(!_0x4d821f['consumable']['consume'](_0x325e12['item'],_0x2352a1['name']))return;const _0x4f8f04=M(_0x325e12['item'],_0x4d821f['mapper']),{attributeNewValue:_0x314e77}=_0x325e12;_0x314e77&&'decimal'!==_0x314e77?_0x4d821f['writer']['setStyle']('list-style-type',_0x314e77,_0x4f8f04):_0x4d821f['writer']['removeStyle']('list-style-type',_0x4f8f04);});});}['_definePostfixer'](){const {editor:_0x5da180}=this,{model:_0x3d986b}=_0x5da180,_0x22c10a=_0x5da180['plugins']['get'](f),_0x402642=this['_getDefaultListStyle'](),_0x40e35a=this['_getDefaultStartIndex']();_0x3d986b['document']['registerPostFixer'](_0xea5751=>{const _0x3a73ba=_0x3d986b['document']['differ']['getChanges']();let _0x16fbb6=!0x1;for(const _0x303252 of _0x3a73ba){if('insert'!==_0x303252['type']||'$text'===_0x303252['name'])continue;const _0x137785=_0x3d986b['createRangeOn'](_0x303252['position']['nodeAfter']);for(const _0x50a6e4 of _0x137785['getItems']())_0x50a6e4['is']('element','footnotesDefinitions')&&(!_0x50a6e4['hasAttribute']('footnotesListStart')&&_0x3d986b['schema']['checkAttribute'](_0x50a6e4,'footnotesListStart')&&(_0xea5751['setAttribute']('footnotesListStart',_0x40e35a,_0x50a6e4),_0x16fbb6=!0x0),!_0x50a6e4['hasAttribute']('footnotesListStyle')&&_0x3d986b['schema']['checkAttribute'](_0x50a6e4,'footnotesListStyle')&&(_0xea5751['setAttribute']('footnotesListStyle',_0x402642,_0x50a6e4),_0x16fbb6=!0x0));}return _0x16fbb6&&_0x22c10a['_updateFootnotesCounters'](_0xea5751),_0x16fbb6;});}['_defineFormatter'](){const {editor:_0x32a162}=this;_0x32a162['plugins']['get'](f)['setFootnoteFormatter'](_0x3317ab=>this['_formatFootnoteListValue'](_0x3317ab));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2ea635,value:_0xc84e33,digits:_0x3696fa}){const _0x3c01fc=_0x2ea635['getAttribute']('footnotesListStyle'),_0x49b1e1=_0x2ea635['getAttribute']('footnotesListStart'),_0x8d806a=Math['floor'](_0xc84e33)+(_0x49b1e1??0x1)-0x1;switch(_0x3c01fc){case'decimal-leading-zero':return function(_0x321a65,_0x3e1d0c){return String(_0x321a65)['padStart'](_0x3e1d0c,'0');}(_0x8d806a,Math['max'](0x2,_0x3696fa));case'lower-alpha':case'lower-latin':return N(_0x8d806a,!0x1);case'upper-alpha':case'upper-latin':return N(_0x8d806a,!0x0);case'lower-roman':return X(_0x8d806a,!0x1);case'upper-roman':return X(_0x8d806a,!0x0);default:return String(_0x8d806a);}}}function M(_0x5aa3ea,_0x4252b1){const _0x4e5e54=_0x4252b1['toViewElement'](_0x5aa3ea);return Array['from'](_0x4e5e54['getChildren']())['find'](_0x75b105=>_0x75b105['is']('element','ol')&&_0x75b105['hasClass']('footnotes-list'));}function N(_0x21222c,_0x329f59){let _0x1af978='',_0x2761e1=_0x21222c;for(;_0x2761e1>0x0;){const _0x57dbd9=(_0x2761e1-0x1)%0x1a;_0x1af978=String['fromCharCode'](0x61+_0x57dbd9)+_0x1af978,_0x2761e1=Math['floor']((_0x2761e1-0x1)/0x1a);}return _0x329f59?_0x1af978['toUpperCase']():_0x1af978;}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(_0x4ccf81,_0x44aefa){let _0x280262='',_0x405d1a=_0x4ccf81;for(const {value:_0x41c8ae,numeral:_0x364f38}of V)for(;_0x405d1a>=_0x41c8ae;)_0x280262+=_0x364f38,_0x405d1a-=_0x41c8ae;return _0x44aefa?_0x280262:_0x280262['toLowerCase']();}class H extends _0x142d8f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x14a301();['focusCycler'];constructor(_0x4c034b,{styleButtonViews:_0x1a4848,styleGridAriaLabel:_0x4a0100}){super(_0x4c034b),(this['focusCycler']=new _0x1ef80b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1a4848,_0x4a0100),[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 _0x4f1c45 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4f1c45['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1f2208=_0x4c63d3=>_0x4c63d3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f2208),this['keystrokes']['set']('arrowleft',_0x1f2208),this['keystrokes']['set']('arrowup',_0x1f2208),this['keystrokes']['set']('arrowdown',_0x1f2208);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3190b6,_0x41123c){const _0x40d667=new _0x142d8f(this['locale']);return _0x40d667['children']=_0x40d667['createCollection'](),_0x40d667['children']['addMany'](_0x3190b6),_0x40d667['setTemplate']({'tag':'div','attributes':{'aria-label':_0x41123c,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40d667['children']}),_0x40d667['children']['delegate']('execute')['to'](this),_0x40d667['focus']=function(){for(const _0x554256 of this['children'])if(_0x554256 instanceof _0x3c8d4e&&_0x554256['isOn'])return void _0x554256['focus']();this['children']['first']['focus']();},_0x40d667['focusTracker']=new ot(),_0x40d667['keystrokes']=new rt(),_0x40d667['render'](),_0x40d667['keystrokes']['listenTo'](_0x40d667['element']),this['children']['add'](_0x40d667),_0x40d667;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x495a5c=this['_createStartIndexPropertyView'](),_0x1b4784=[_0x495a5c],_0x5c8f17=new st(this['locale'],_0x1b4784);return _0x5c8f17['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5c8f17['buttonView']['bind']('isEnabled')['toMany'](_0x1b4784,'isEnabled',(..._0x24216e)=>_0x24216e['some'](_0x555cd9=>_0x555cd9)),_0x5c8f17['buttonView']['on']('change:isEnabled',(_0x26c22,_0x31ebb5,_0x1fc721)=>{_0x1fc721||(_0x5c8f17['isCollapsed']=!0x0);}),this['children']['add'](_0x5c8f17),[_0x495a5c,_0x5c8f17];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2e406c=new it(this['locale'],et);return _0x2e406c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2e406c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2e406c['fieldView']['on']('input',()=>{const _0x1b2b82=_0x2e406c['fieldView']['element'],_0x2c7827=_0x1b2b82['valueAsNumber'];Number['isNaN'](_0x2c7827)?_0x2e406c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1b2b82['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2c7827}):_0x2e406c['errorText']=t(_0x2c7827<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2e406c;}}class j extends _0x39419f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xdf35ea,_0x3db4cc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x313376}=this,{componentFactory:_0x4f6ca2}=_0x313376['ui'];_0x313376['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4f6ca2['add']('footnotesStyle',function(_0x213faa){return _0x33b1d9=>{const {t:t}=_0x33b1d9,_0x2208f9=_0x213faa['commands']['get']('footnotesStyle'),_0x347894=_0x51b52e(_0x33b1d9),{buttonView:_0x49e61e}=_0x347894;return _0x347894['class']='ck-footnotes-styles-dropdown',_0x347894['bind']('isEnabled')['to'](_0x2208f9,'isEnabled'),_0x49e61e['set']({'label':t('Footnotes\x20style'),'icon':_0x3ea16c,'tooltip':!0x0}),_0x347894['once']('change:isOpen',()=>{const _0x2469fa=function({editor:_0x5cf544,dropdownView:_0x2b98d8}){const {t:t}=_0x5cf544['locale'],_0x29d4ab=t('Footnotes\x20definitions\x20styles'),_0x366f6c=function(_0x26a9d0){const t=_0x26a9d0['locale']['t'],_0x44ab57=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4d6b30},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4b5cee},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x38ffb6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1fc4a5},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x34d13d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x24e982}];return _0x44ab57['map'](function(_0x3c7f54){const _0x58d488=_0x3c7f54['locale'];return({label:_0x30da40,icon:_0x4099ce,tooltip:_0x5ec6e0,style:_0x47f3a4})=>{const _0xa12047=_0x3c7f54['commands']['get']('footnotesStyle'),_0x6cc904=new _0x3c8d4e(_0x58d488);return _0x6cc904['set']({'label':_0x30da40,'icon':_0x4099ce,'tooltip':_0x5ec6e0}),_0x6cc904['bind']('isOn')['to'](_0xa12047,'value',_0x26ba33=>_0x26ba33===_0x47f3a4),_0x6cc904['bind']('isEnabled')['to'](_0xa12047,'isEnabled'),_0x6cc904['on']('execute',()=>{_0x3c7f54['execute']('footnotesStyle',{'value':_0x47f3a4}),_0x3c7f54['editing']['view']['focus']();}),_0x6cc904;};}(_0x26a9d0));}(_0x5cf544),_0x4d33f1=new H(_0x5cf544['locale'],{'styleGridAriaLabel':_0x29d4ab,'styleButtonViews':_0x366f6c}),_0xabb155=_0x5cf544['commands']['get']('footnotesStart');return _0x4d33f1['startIndexFieldView']['bind']('isEnabled')['to'](_0xabb155),_0x4d33f1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xabb155),_0x4d33f1['on']('footnotesListStart',(_0x70c8c7,_0xc7a64f)=>{_0x5cf544['execute']('footnotesStart',{'value':_0xc7a64f['startIndex']});}),_0x4d33f1['delegate']('execute')['to'](_0x2b98d8),_0x4d33f1;}({'editor':_0x213faa,'dropdownView':_0x347894});_0x347894['panelView']['children']['add'](_0x2469fa);}),_0x347894;};}(_0x313376));}['afterInit'](){const {editor:_0x328258}=this,{t:t}=_0x328258['locale'],_0x21c80f=_0x328258['plugins']['get'](_0x3db4cc),{defaultPositions:_0x378fda}=_0x15e81d;_0x21c80f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x328258['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2d2cde=>{let _0x318c8d=_0x2d2cde['getFirstPosition']()?.['parent'];return _0x318c8d?.['is']('$text')&&(_0x318c8d=_0x318c8d['parent']),_0x318c8d?.['is']('element')?_0x318c8d['findAncestor'](J):null;},'positions':[_0x378fda['southArrowNorth'],_0x378fda['southArrowNorthMiddleWest'],_0x378fda['southArrowNorthMiddleEast'],_0x378fda['southArrowNorthWest'],_0x378fda['southArrowNorthEast'],_0x378fda['northArrowSouth'],_0x378fda['northArrowSouthMiddleWest'],_0x378fda['northArrowSouthMiddleEast'],_0x378fda['northArrowSouthWest'],_0x378fda['northArrowSouthEast'],_0x378fda['viewportStickyNorth']]});}}class ft extends _0x39419f{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x5985a2,Command as _0x15cec7}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x30f74e,isWidget as _0x1cd7d3,toWidgetEditable as _0x2d796d,WidgetToolbarRepository as _0x9a9916}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5c7f66,logWarning as _0x4fe835,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3f2772,ClickObserver as _0x4a6265}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x35d075}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x468774,ButtonView as _0x4f6490,View as _0x32c29f,ViewCollection as _0x648ea9,FocusCycler as _0x39868e,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x396f68,BalloonPanelView as _0x4ef4d1,createDropdown as _0x5d04e6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x38b8c7,IconListStyleDecimal as _0x2b7398,IconListStyleDecimalLeadingZero as _0x748e83,IconListStyleLowerRoman as _0x38abb4,IconListStyleUpperRoman as _0x362c7c,IconListStyleLowerLatin as _0x5c6353,IconListStyleUpperLatin as _0x20a6d2}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5d560c,_0x2932cd){this['_model']=_0x5d560c,this['_elementName']=_0x2932cd['elementName'],this['_getElementKey']=_0x2932cd['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x53c13f){const _0x419da7=new Set(),_0x222cc7=new Map();for(const _0x290a77 of _0x53c13f){if('insert'===_0x290a77['type']&&'$text'!==_0x290a77['name']&&_0x290a77['position']['nodeAfter']){const _0x3de606=this['_model']['createRangeOn'](_0x290a77['position']['nodeAfter']);for(const _0x2798a7 of _0x3de606['getItems']()){if(!_0x2798a7['is']('element',this['_elementName']))continue;const _0x438ed5=this['_getElementKey'](_0x2798a7);_0x222cc7['has'](_0x438ed5)||_0x222cc7['set'](_0x438ed5,[]),_0x222cc7['get'](_0x438ed5)['push'](_0x2798a7);}}if('remove'===_0x290a77['type']&&_0x290a77['name']===this['_elementName']){const _0x172497=this['_getElementKey']({'getAttribute':_0x4bdbe5=>_0x290a77['attributes']['get'](_0x4bdbe5)});_0x419da7['add'](_0x172497);}}for(const [_0x2472e0,_0x2e4198]of this['_trackedElements'])'$graveyard'===_0x2e4198['root']['rootName']&&_0x419da7['add'](_0x2472e0);for(const _0x3cc412 of _0x419da7)this['_trackedElements']['delete'](_0x3cc412);for(const [_0x9ec784,_0xfd5f45]of _0x222cc7)this['_trackedElements']['set'](_0x9ec784,_0xfd5f45[_0xfd5f45['length']-0x1]);const _0x5136d0=new Set();for(const [_0x4893f1,_0x3cfb36]of _0x222cc7)_0x419da7['has'](_0x4893f1)&&(_0x5136d0['add'](_0x3cfb36[0x0]),_0x3cfb36['length']>0x1?_0x222cc7['set'](_0x4893f1,_0x3cfb36['slice'](0x1)):_0x222cc7['delete'](_0x4893f1),_0x419da7['delete'](_0x4893f1));return{'removed':Array['from'](_0x419da7),'inserted':Array['from'](_0x222cc7['values']())['flat'](),'moved':Array['from'](_0x5136d0)};}}class f extends _0x5985a2{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1c3772){super(_0x1c3772),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x379580=>_0x379580['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xd9c761=>_0xd9c761['getAttribute']('footnoteId')});}['init'](){const {editor:_0x26f6f7}=this,{model:_0x5e49b3,data:_0x38d9e9}=_0x26f6f7;_0x5e49b3['document']['registerPostFixer'](_0x572e38=>{const _0x35029a=_0x5e49b3['document']['differ']['getChanges']();let _0x4922ac=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x572e38,_0x35029a)&&(_0x4922ac=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x572e38,_0x35029a)&&(_0x4922ac=!0x0),this['_handleFootnoteReferencesChanges'](_0x572e38,_0x35029a)&&(_0x4922ac=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x572e38)&&(_0x4922ac=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x572e38)&&(_0x4922ac=!0x0),this['_sortFootnoteDefinitions'](_0x572e38)&&(_0x4922ac=!0x0),_0x4922ac;}),this['listenTo'](_0x5e49b3['document'],'change:data',()=>{_0x5e49b3['enqueueChange']({'isUndoable':!0x1},_0x22768e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x22768e);});},{'priority':'low'}),this['listenTo'](_0x38d9e9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x45fa07){return this['_footnotes']['find'](_0x2a2493=>_0x2a2493['id']===_0x45fa07)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2a3813){this['_footnoteFormatter']=_0x2a3813;}['_updateFootnotesCounters'](_0x396116,_0x58061b=0x0){let _0x368302=!0x1;for(let _0x111c3e=_0x58061b;_0x111c3e<this['_footnotes']['length'];_0x111c3e++)this['_updateFootnoteRefCounter'](_0x396116,_0x111c3e)&&(_0x368302=!0x0);return _0x368302;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3f1c68,_0xab85c8){const _0x4e7bf7=_0x3f1c68['createElement']('footnotesDefinitions',{});return _0x3f1c68['append'](_0x4e7bf7,_0xab85c8),this['_footnotesDefinitions']=_0x4e7bf7,_0x4e7bf7;}['_ensureFootnotesDefinitionsContainerExists'](_0x170e3f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5542c1=this['_footnotes'][0x0]['reference']['root'],_0x1867cb=this['_insertEmptyFootnotesDefinitionsContainer'](_0x170e3f,_0x5542c1);for(const _0x14ffda of this['_footnotes'])_0x14ffda['definition']['parent']||_0x170e3f['insert'](_0x14ffda['definition'],_0x1867cb,'end');this['_updateFootnotesCounters'](_0x170e3f);}['_handleFootnotesDefinitionsObjectChanges'](_0xcf0329,_0x47172a){let _0x36e7a9=!0x1;const {inserted:_0x14b0e3,removed:_0x2ab945,moved:_0x51e895}=this['_footnoteDefsContainerTracker']['getChanges'](_0x47172a);if(_0x51e895['length']&&(this['_footnotesDefinitions']=_0x51e895[0x0]),_0x14b0e3['length']){if(_0x14b0e3['length']>0x1||this['_footnotesDefinitions']&&_0x14b0e3['some'](_0x4eab63=>_0x4eab63!==this['_footnotesDefinitions'])){const _0x462c2e=_0xcf0329['createElement']('footnotesDefinitions',{}),_0x12f8d7=[];this['_footnotesDefinitions']&&_0x12f8d7['push'](this['_footnotesDefinitions']),_0x12f8d7['push'](..._0x14b0e3),_0xcf0329['insert'](_0x462c2e,_0x12f8d7[0x0],'before');for(const _0x528cfd of _0x12f8d7)_0xcf0329['move'](_0xcf0329['createRangeIn'](_0x528cfd),_0xcf0329['createPositionAt'](_0x462c2e,'end')),_0xcf0329['remove'](_0x528cfd);this['_footnotesDefinitions']=_0x462c2e,this['_updateFootnotesCounters'](_0xcf0329),_0x36e7a9=!0x0;}else this['_footnotesDefinitions']=_0x14b0e3[0x0];}if(_0x2ab945['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x435d12 of this['_footnotes'])_0xcf0329['remove'](_0x435d12['reference']),_0x36e7a9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x36e7a9;}['_handleFootnoteDefinitionsChanges'](_0xaf947a,_0x306b73){let _0x1e1d1d=!0x1;const _0x288ebe=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5d9ff7,moved:_0x5ba5d9}=this['_footnoteDefsTracker']['getChanges'](_0x306b73);for(const _0x12a4f9 of[..._0x5ba5d9,..._0x5d9ff7]){const _0x123f09=_0x12a4f9['getAttribute']('footnoteId'),_0x453fd=this['getFootnote'](_0x123f09);_0x453fd&&(_0x453fd['definition']=_0x12a4f9),_(_0xaf947a,_0x288ebe,_0x12a4f9)&&(_0x1e1d1d=!0x0);}return _0x1e1d1d;}['_handleFootnoteReferencesChanges'](_0x9f1066,_0x521af8){let _0x2eec2e=!0x1;const {removed:_0x6a8db,inserted:_0x5efbbc,moved:_0xf2881a}=this['_footnoteRefsTracker']['getChanges'](_0x521af8);for(const _0x452d13 of _0x6a8db)this['_handleRemoveFootnoteReferenceById'](_0x9f1066,_0x452d13)&&(_0x2eec2e=!0x0);for(const _0x233707 of _0x5efbbc)this['_handleInsertedFootnoteReference'](_0x9f1066,_0x233707)&&(_0x2eec2e=!0x0);for(const _0x2cc3d6 of _0xf2881a)this['_handleMovedFootnoteReference'](_0x9f1066,_0x2cc3d6)&&(_0x2eec2e=!0x0);return _0x2eec2e;}['_handleFootnotesDefinitionsObjectSync'](_0x7c9811){if(!this['_footnotesDefinitions'])return!0x1;let _0x196708=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x24537e=[];for(const _0x31f9ba of this['_footnotesDefinitions']['getChildren']()){const _0x93394d=_0x31f9ba['getAttribute']('footnoteId');this['getFootnote'](_0x93394d)||(_0x24537e['unshift'](_0x31f9ba),_0x196708=!0x0);}for(const _0x26ab29 of _0x24537e)_0x7c9811['remove'](_0x26ab29);}const _0x27d307=new Set(),_0xb87b0b=[];for(const _0x7c73f of this['_footnotesDefinitions']['getChildren']()){const _0x583a7f=_0x7c73f['getAttribute']('footnoteId');_0x27d307['has'](_0x583a7f)?(_0xb87b0b['unshift'](_0x7c73f),_0x196708=!0x0):_0x27d307['add'](_0x583a7f);}for(const _0x3b5d53 of _0xb87b0b)_0x7c9811['remove'](_0x3b5d53);return this['_footnotesDefinitions']['childCount']||(_0x7c9811['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x196708=!0x0),_0x196708;}['_handleInsertedFootnoteReference'](_0x4ec8b8,_0x1c0e75){if(this['_footnotes']['find'](_0x3e943e=>_0x3e943e['reference']===_0x1c0e75))return!0x1;let _0x136753=!0x1;const _0x335a6c=_0x1c0e75['getAttribute']('footnoteId'),_0x4fb1f7=this['_footnotes']['findIndex'](_0xed1b4a=>_0xed1b4a['id']===_0x335a6c);-0x1!==_0x4fb1f7&&(_0x4ec8b8['remove'](this['_footnotes'][_0x4fb1f7]['reference']),this['_footnotes']['splice'](_0x4fb1f7,0x1),_0x136753=!0x0);let _0x2d3a29=this['_footnotesDefinitions']?function(_0x2b4ecb,_0x46168f){for(const _0x2cf398 of _0x2b4ecb['getChildren']())if(_0x2cf398['getAttribute']('footnoteId')===_0x46168f)return _0x2cf398;return null;}(this['_footnotesDefinitions'],_0x335a6c):null;_0x2d3a29||(_0x2d3a29=_0x4ec8b8['createElement']('footnoteDefinition',{'footnoteId':_0x335a6c}),this['_footnotesDefinitions']&&(_0x4ec8b8['insert'](_0x2d3a29,this['_footnotesDefinitions'],'end'),_0x136753=!0x0));const _0x222ef6={'id':_0x335a6c,'reference':_0x1c0e75,'definition':_0x2d3a29},_0x45b96f=I(this['editor']['model'],this['_footnotes'],_0x1c0e75);this['_footnotes']['splice'](_0x45b96f,0x0,_0x222ef6);let _0x23dbff=_0x45b96f;return-0x1!==_0x4fb1f7&&(_0x23dbff=Math['min'](_0x45b96f,_0x4fb1f7)),this['_updateFootnotesCounters'](_0x4ec8b8,_0x23dbff)&&(_0x136753=!0x0),_0x136753;}['_handleRemoveFootnoteReferenceById'](_0x257cda,_0x81eaa8){const _0x4e07d1=this['_footnotes']['findIndex'](_0x5dd666=>_0x5dd666['id']===_0x81eaa8);if(-0x1===_0x4e07d1)return!0x1;let _0x2a60e4=!0x1;const _0x239f26=this['_footnotes'][_0x4e07d1];return'$graveyard'!==_0x239f26['definition']['root']['rootName']&&(_0x257cda['remove'](_0x239f26['definition']),_0x2a60e4=!0x0),this['_footnotes']['splice'](_0x4e07d1,0x1),this['_updateFootnotesCounters'](_0x257cda,_0x4e07d1)&&(_0x2a60e4=!0x0),_0x2a60e4;}['_handleMovedFootnoteReference'](_0x3ebca1,_0x422bfe){const _0x59cb4a=_0x422bfe['getAttribute']('footnoteId'),_0x128577=this['_footnotes']['findIndex'](_0x2253f7=>_0x2253f7['id']===_0x59cb4a),_0x2edf9d=this['_footnotes'][_0x128577];let _0x42551f=!0x1;_0x2edf9d['reference']=_0x422bfe,this['_footnotes']['splice'](_0x128577,0x1);const _0x4fb43e=I(this['editor']['model'],this['_footnotes'],_0x422bfe);return this['_footnotes']['splice'](_0x4fb43e,0x0,_0x2edf9d),this['_updateFootnotesCounters'](_0x3ebca1,Math['min'](_0x128577,_0x4fb43e))&&(_0x42551f=!0x0),_0x42551f;}['_updateFootnoteRefCounter'](_0x2703ed,_0x554f32){if(!this['_footnotesDefinitions'])return!0x1;const _0x1ae0d7=this['_footnotes'][_0x554f32];let _0x430bf0;return _0x430bf0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1ae0d7,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x554f32+0x1}):String(_0x554f32+0x1),_0x1ae0d7['reference']['getAttribute']('footnoteCounter')!=_0x430bf0&&(_0x2703ed['setAttribute']('footnoteCounter',_0x430bf0,_0x1ae0d7['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x31f0c4){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x28fe19,_0x19274c){if(_0x28fe19['length']!==_0x19274c['length'])return!0x1;for(let _0x595e98=0x0;_0x595e98<_0x28fe19['length'];_0x595e98++)if(_0x28fe19[_0x595e98]!==_0x19274c[_0x595e98])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x638702=>_0x638702['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x47ae6d=>_0x47ae6d['getAttribute']('footnoteId'))))return!0x1;let _0x3740fd=!0x1;for(let _0x2da045=0x0;_0x2da045<this['_footnotes']['length'];_0x2da045++){const _0x545331=this['_footnotes'][_0x2da045],_0x2887a6=_0x31f0c4['createPositionBefore'](_0x545331['definition']),_0x1bb224=_0x31f0c4['createPositionAt'](this['_footnotesDefinitions'],_0x2da045);_0x2887a6['isEqual'](_0x1bb224)||(_0x31f0c4['move'](_0x31f0c4['createRangeOn'](_0x545331['definition']),_0x1bb224),_0x3740fd=!0x0);}return _0x3740fd;}['_ensureFootnotesReferencesHaveProperOrder'](_0x47e719){if(!this['_footnotes']['length'])return!0x1;const {model:_0xead7e1}=this['editor'];let _0x5e7a1b=!0x1;for(let _0xcb8c1d=0x0;_0xcb8c1d<this['_footnotes']['length']-0x1;_0xcb8c1d++){const _0x228065=this['_footnotes'][_0xcb8c1d],_0x1d04a5=this['_footnotes'][_0xcb8c1d+0x1],_0x40aaf8=_0xead7e1['createPositionBefore'](_0x228065['reference']),_0x2dff05=_0xead7e1['createPositionBefore'](_0x1d04a5['reference']);'after'===_0x40aaf8['compareWith'](_0x2dff05)&&(this['_handleMovedFootnoteReference'](_0x47e719,_0x228065['reference']),_0xcb8c1d=-0x1,_0x5e7a1b=!0x0);}return _0x5e7a1b;}}function _(_0x203133,_0x5c6a5a,_0x1f613a){if(_0x1f613a['childCount'])return!0x1;const _0x575652=_0x5c6a5a?'paragraph':'footnoteInlineContent';return _0x203133['insert'](_0x203133['createElement'](_0x575652),_0x1f613a),!0x0;}function I(_0x170056,_0xfe124e,_0x25072e){if(0x0===_0xfe124e['length'])return 0x0;const _0x5ea0d2=_0x170056['createPositionBefore'](_0x25072e);for(let _0x1d958b=0x0;_0x1d958b<_0xfe124e['length'];_0x1d958b++){const _0x502318=_0xfe124e[_0x1d958b],_0x45821e=_0x170056['createPositionBefore'](_0x502318['reference']);if('before'===_0x5ea0d2['compareWith'](_0x45821e))return _0x1d958b;}const _0x292062=_0x25072e['root'];let _0x3d2c6c=-0x1;for(let _0x28741e=_0xfe124e['length']-0x1;_0x28741e>=0x0;_0x28741e--)if(_0xfe124e[_0x28741e]['reference']['root']===_0x292062){_0x3d2c6c=_0x28741e;break;}if(-0x1!==_0x3d2c6c)return _0x3d2c6c+0x1;const _0x190d03=_0x170056['document']['getRootNames'](),_0x23d177=_0x190d03['indexOf'](_0x292062['rootName']),_0x494272=_0x190d03[_0x23d177+0x1];if(_0x494272){for(let _0x5ba83b=0x0;_0x5ba83b<_0xfe124e['length'];_0x5ba83b++)if(_0xfe124e[_0x5ba83b]['reference']['root']['rootName']===_0x494272)return _0x5ba83b;}return _0xfe124e['length'];}class m extends _0x15cec7{['refresh'](){const _0x2e0d9b=this['editor']['model']['document']['selection'],_0x42c207=this['_getPositionToInsertFootnote'](_0x2e0d9b);this['isEnabled']=!!_0x42c207;}['execute'](_0x3b6cac){const {editor:_0x252ce7}=this,{model:_0x2a44e8}=_0x252ce7,{selection:_0x458696}=_0x2a44e8['document'],_0x38271b=this['_getPositionToInsertFootnote'](_0x458696);if(!_0x38271b)return;const _0x3153ac=_0x252ce7['plugins']['get']('FootnotesEditing'),_0x2e003a=_0x3b6cac?.['footnoteId']??_0x5c7f66();!function(_0x5c35d0){return'string'==typeof _0x5c35d0&&_0x5c35d0['length']>0x0&&!/\s/['test'](_0x5c35d0)&&!/^\d/['test'](_0x5c35d0);}(_0x2e003a)?_0x4fe835('insert-footnote-command-executed-with-invalid-id'):(_0x2a44e8['change'](_0x13c9cb=>{const _0x163acb=_0x13c9cb['createElement']('footnoteRef',{'footnoteId':_0x2e003a});_0x2a44e8['insertObject'](_0x163acb,_0x38271b,null);}),_0x3153ac['_moveSelectionToFootnoteDefinition'](_0x2e003a));}['_getPositionToInsertFootnote'](_0x31e2e3){const {model:_0x4de082}=this['editor'],{schema:_0x19c116}=_0x4de082,_0x11d4fe=_0x31e2e3['getFirstRange']();for(const _0x4fb4c5 of _0x11d4fe['getItems']())if(_0x19c116['isBlock'](_0x4fb4c5)||_0x19c116['isObject'](_0x4fb4c5))return null;const _0x1a1bdb=_0x11d4fe['end'];return _0x19c116['checkChild'](_0x1a1bdb,'footnoteRef')?_0x1a1bdb:null;}}class r extends _0x5985a2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11aa0c}=this;_0x11aa0c['config']['define']('footnotes.multiBlock',!0x0),_0x11aa0c['commands']['add']('insertFootnote',new m(_0x11aa0c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x121ea8){const _0x415b48=_0x3d1fda([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]),_0x16ba58=0x47a28506,_0x4836d6=0x47a5fe6e^_0x16ba58,_0x18a990=window[_0x3d1fda([0x44,0x61,0x74,0x65])][_0x3d1fda([0x6e,0x6f,0x77])](),_0x4cbc36=_0x121ea8[_0x3d1fda([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x443666=new window[(_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2712d5=>{_0x4cbc36[_0x3d1fda([0x6f,0x6e,0x63,0x65])](_0x3d1fda([0x72,0x65,0x61,0x64,0x79]),_0x2712d5);}),_0x11544f={[_0x3d1fda([0x6b,0x74,0x79])]:_0x3d1fda([0x45,0x43]),[_0x3d1fda([0x75,0x73,0x65])]:_0x3d1fda([0x73,0x69,0x67]),[_0x3d1fda([0x63,0x72,0x76])]:_0x3d1fda([0x50,0x2d,0x32,0x35,0x36]),[_0x3d1fda([0x78])]:_0x3d1fda([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]),[_0x3d1fda([0x79])]:_0x3d1fda([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]),[_0x3d1fda([0x61,0x6c,0x67])]:_0x3d1fda([0x45,0x53,0x32,0x35,0x36])},_0x3095f4=_0x4cbc36[_0x3d1fda([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d1fda([0x67,0x65,0x74])](_0x3d1fda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c4bd6(){let _0x322d80,_0x340ff0=null,_0x35e330=null;try{if(_0x3095f4==_0x3d1fda([0x47,0x50,0x4c]))return _0x3d1fda([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x322d80=_0x4023a8(),!_0x322d80)return _0x3d1fda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x322d80[_0x3d1fda([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35e330=_0x366748(_0x322d80[_0x3d1fda([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x322d80[_0x3d1fda([0x6a,0x74,0x69])])),await _0x3dd3cf()?_0x4afa8b()?_0x11d48c()?_0x3d1fda([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d49db()?(_0x322d80[_0x3d1fda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d1fda([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x340ff0=_0x12797c(_0x3d1fda([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x322d80[_0x3d1fda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d1fda([0x74,0x72,0x69,0x61,0x6c])&&(_0x340ff0=_0x12797c(_0x3d1fda([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x439b5f()):_0x3d1fda([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d1fda([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d1fda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d1fda([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11d48c(){const _0x11301d=[_0x3d1fda([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d1fda([0x74,0x72,0x69,0x61,0x6c])][_0x3d1fda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322d80[_0x3d1fda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a990/0x3e8:0xe10*_0x4836d6;return _0x322d80[_0x3d1fda([0x65,0x78,0x70])]<_0x11301d;}function _0x4afa8b(){const _0x138cd6=_0x322d80[_0x3d1fda([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x138cd6&&(!!_0x138cd6[_0x3d1fda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1fda([0x2a]))||!!_0x138cd6[_0x3d1fda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1fda([0x46,0x4f,0x4f])));}function _0x3d49db(){const _0x49e721=_0x322d80[_0x3d1fda([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49e721||0x0==_0x49e721[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45a363}=new URL(window[_0x3d1fda([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49e721[_0x3d1fda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a363))return!0x0;const _0x2e0db5=_0x45a363[_0x3d1fda([0x73,0x70,0x6c,0x69,0x74])](_0x3d1fda([0x2e]));return _0x49e721[_0x3d1fda([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b484f=>_0x4b484f[_0x3d1fda([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d1fda([0x2a])))[_0x3d1fda([0x6d,0x61,0x70])](_0x100987=>_0x100987[_0x3d1fda([0x73,0x70,0x6c,0x69,0x74])](_0x3d1fda([0x2e])))[_0x3d1fda([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e61bd=>_0x1e61bd[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e0db5[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d1fda([0x6d,0x61,0x70])](_0x14bf27=>Array(_0x2e0db5[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14bf27[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d1fda([0x66,0x69,0x6c,0x6c])](_0x14bf27[0x0]===_0x3d1fda([0x2a])?_0x3d1fda([0x2a]):'')[_0x3d1fda([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14bf27))[_0x3d1fda([0x73,0x6f,0x6d,0x65])](_0x2cbc11=>_0x2e0db5[_0x3d1fda([0x65,0x76,0x65,0x72,0x79])]((_0x113300,_0x5b6ef3)=>_0x2cbc11[_0x5b6ef3]===_0x113300||_0x2cbc11[_0x5b6ef3]===_0x3d1fda([0x2a])));}function _0x439b5f(){return _0x340ff0&&_0x35e330?new window[(_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x143771,_0x2b11c7)=>{_0x340ff0[_0x3d1fda([0x74,0x68,0x65,0x6e])](_0x143771,_0x2b11c7),_0x35e330[_0x3d1fda([0x74,0x68,0x65,0x6e])](_0x37c285=>{_0x37c285!=_0x3d1fda([0x56,0x61,0x6c,0x69,0x64])&&_0x143771(_0x37c285);},_0x2b11c7);}):_0x340ff0||_0x35e330||_0x3d1fda([0x56,0x61,0x6c,0x69,0x64]);}}function _0x366748(_0x50acff,_0x22e0ae){return new window[(_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3361a5=>{if(_0x3878cd())return _0x3361a5(_0x3d1fda([0x56,0x61,0x6c,0x69,0x64]));_0x3d0c81(),_0x4cbc36[_0x3d1fda([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d1fda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x751758=!0x1;const _0x3f82a0=_0x5c7f66();function _0x189c8b(_0x382c6f){return!!_0x382c6f&&(typeof _0x382c6f===_0x3d1fda([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x382c6f===_0x3d1fda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x382c6f[_0x3d1fda([0x74,0x68,0x65,0x6e])]===_0x3d1fda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x382c6f[_0x3d1fda([0x63,0x61,0x74,0x63,0x68])]===_0x3d1fda([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3eb195(_0x1b802b){_0x5f2c55(_0x1b802b)[_0x3d1fda([0x74,0x68,0x65,0x6e])](_0x75622c=>{if(!_0x75622c||_0x75622c[_0x3d1fda([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d1fda([0x6f,0x6b]))return _0x3d1fda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56aeba(_0x5a2105(_0x3f82a0+_0x22e0ae))!=_0x75622c[_0x3d1fda([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d1fda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d1fda([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d1fda([0x74,0x68,0x65,0x6e])](_0x3be0c7=>(_0x2ded50(),_0x3be0c7),()=>{const _0x55ca92=_0x34b738();return null==_0x55ca92?(_0x2ded50(),_0x3d1fda([0x56,0x61,0x6c,0x69,0x64])):_0x3d1fda(_0x18a990-_0x55ca92>(0x63ae0106^_0x16ba58)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d1fda([0x74,0x68,0x65,0x6e])](_0x3361a5)[_0x3d1fda([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3361a5(_0x3d1fda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c02d4=0x47946b86^_0x16ba58;function _0x2ded50(){const _0x529bfc=_0x3d1fda([0x6c,0x6c,0x63,0x74,0x2d])+_0x56aeba(_0x5a2105(_0x50acff)),_0x5adc47=_0x5365d5(_0x56aeba(window[_0x3d1fda([0x4d,0x61,0x74,0x68])][_0x3d1fda([0x63,0x65,0x69,0x6c])](_0x18a990/_0x4c02d4)));window[_0x3d1fda([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d1fda([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x529bfc,_0x5adc47);}function _0x34b738(){const _0xbb8194=_0x3d1fda([0x6c,0x6c,0x63,0x74,0x2d])+_0x56aeba(_0x5a2105(_0x50acff)),_0x277c90=window[_0x3d1fda([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d1fda([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbb8194);return _0x277c90?window[_0x3d1fda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5365d5(_0x277c90),0x10)*_0x4c02d4:null;}function _0x5f2c55(_0x41711b){return new window[(_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d7b92,_0x287d67)=>{_0x41711b[_0x3d1fda([0x74,0x68,0x65,0x6e])](_0x3d7b92,_0x287d67),window[_0x3d1fda([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x287d67,0x47a351c6^_0x16ba58);});}}_0x4cbc36[_0x3d1fda([0x6f,0x6e])](_0x3d1fda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22986b,_0x308802)=>{if(_0x308802[0x0]!=_0x50acff)return _0x3361a5(_0x3d1fda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x308802[0x1]={..._0x308802[0x1],[_0x3d1fda([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f82a0};},{[_0x3d1fda([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d1fda([0x68,0x69,0x67,0x68])}),_0x4cbc36[_0x3d1fda([0x6f,0x6e])](_0x3d1fda([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x538595=>{_0x189c8b(_0x538595[_0x3d1fda([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x751758=!0x0,_0x3eb195(_0x538595[_0x3d1fda([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d1fda([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d1fda([0x6c,0x6f,0x77])}),_0x443666[_0x3d1fda([0x74,0x68,0x65,0x6e])](()=>{_0x751758||_0x3361a5(_0x3d1fda([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3878cd(){return _0x4cbc36[_0x3d1fda([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d1fda([0x76,0x69,0x65,0x77])][_0x3d1fda([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d1fda([0x61,0x75,0x74,0x6f]);}function _0x3d0c81(){_0x4cbc36[_0x3d1fda([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d1fda([0x76,0x69,0x65,0x77])][_0x3d1fda([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d1fda([0x61,0x75,0x74,0x6f]);}}function _0x12797c(_0x26101e){const _0xc4356f=[new window[(_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x545e9b=>setTimeout(_0x545e9b,0x47abbbca^_0x16ba58)),_0x443666[_0x3d1fda([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5496c8=>{let _0x3c614c=0x0;_0x4cbc36[_0x3d1fda([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d1fda([0x6f,0x6e])](_0x3d1fda([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50f587,_0x463f4f)=>{_0x463f4f[0x0][_0x3d1fda([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c614c++,_0x3c614c==(0x47a284fe^_0x16ba58)&&(_0x5496c8(),_0x50f587[_0x3d1fda([0x6f,0x66,0x66])]());});}))];return window[_0x3d1fda([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d1fda([0x72,0x61,0x63,0x65])](_0xc4356f)[_0x3d1fda([0x74,0x68,0x65,0x6e])](()=>_0x26101e);}async function _0x30faf4(){await _0x443666,_0x4cbc36[_0x3d1fda([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d1fda([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21040b,_0x4cbc36[_0x3d1fda([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d1fda([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21040b,_0x4cbc36[_0x3d1fda([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d1fda([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x51b620(_0x53bb33){const _0x513734=_0x8a6ee8();_0x4cbc36[_0x513734]=_0x3d1fda([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53bb33,_0x53bb33!=_0x3d1fda([0x56,0x61,0x6c,0x69,0x64])&&_0x30faf4();}function _0x8a6ee8(){const _0x65cb8e=window[_0x3d1fda([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d1fda([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d1fda([0x6e,0x6f,0x77])]())[_0x3d1fda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d1fda([0x2e]),'');let _0x12a47e=_0x3d1fda([0x75]);for(let _0x555d78=0x0;_0x555d78<_0x65cb8e[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x555d78+=0x2){let _0x46dff4=window[_0x3d1fda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x65cb8e[_0x3d1fda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x555d78,_0x555d78+0x2));_0x46dff4>=_0x415b48[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46dff4-=_0x415b48[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12a47e+=_0x415b48[_0x46dff4];}return _0x12a47e;}function _0x4023a8(){const _0x9549ef=_0x3095f4[_0x3d1fda([0x73,0x70,0x6c,0x69,0x74])](_0x3d1fda([0x2e]));if(0x3!=_0x9549ef[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c6680(_0x9549ef[0x1]);function _0x4c6680(_0x54cd35){const _0x44b003=_0x2e18d4(_0x54cd35);return _0x44b003&&_0x39a493()?_0x44b003:null;function _0x39a493(){const _0x3653ad=_0x44b003[_0x3d1fda([0x6a,0x74,0x69])],_0x116afb=window[_0x3d1fda([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3653ad[_0x3d1fda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3653ad[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b8d7f={..._0x44b003,[_0x3d1fda([0x6a,0x74,0x69])]:_0x3653ad[_0x3d1fda([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3653ad[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b8d7f[_0x3d1fda([0x76,0x63])],_0x5a2105(_0x4b8d7f)==_0x116afb;}}}async function _0x3dd3cf(){let _0x39445e=!0x0;try{const _0x68b9f7=_0x3095f4[_0x3d1fda([0x73,0x70,0x6c,0x69,0x74])](_0x3d1fda([0x2e])),[_0x4769c7,_0x11b004,_0x35b804]=_0x68b9f7;return _0x18fb96(_0x4769c7),await _0x112490(_0x4769c7,_0x11b004,_0x35b804),_0x39445e;}catch{return!0x1;}function _0x18fb96(_0x2b3227){const _0x4e6bc8=_0x2e18d4(_0x2b3227);_0x4e6bc8&&_0x4e6bc8[_0x3d1fda([0x61,0x6c,0x67])]==_0x3d1fda([0x45,0x53,0x32,0x35,0x36])||(_0x39445e=!0x1);}async function _0x112490(_0x51ebe1,_0x114b12,_0x33b353){const _0x3283c4=window[_0x3d1fda([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d1fda([0x66,0x72,0x6f,0x6d])](_0x1f3164(_0x33b353),_0x4648eb=>_0x4648eb[_0x3d1fda([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3fba53=new window[(_0x3d1fda([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d1fda([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51ebe1+_0x3d1fda([0x2e])+_0x114b12),_0x4e8881=window[_0x3d1fda([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d1fda([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e8881)return;const _0x5c01e8=await _0x4e8881[_0x3d1fda([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d1fda([0x6a,0x77,0x6b]),_0x11544f,{[_0x3d1fda([0x6e,0x61,0x6d,0x65])]:_0x3d1fda([0x45,0x43,0x44,0x53,0x41]),[_0x3d1fda([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d1fda([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d1fda([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e8881[_0x3d1fda([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d1fda([0x6e,0x61,0x6d,0x65])]:_0x3d1fda([0x45,0x43,0x44,0x53,0x41]),[_0x3d1fda([0x68,0x61,0x73,0x68])]:{[_0x3d1fda([0x6e,0x61,0x6d,0x65])]:_0x3d1fda([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c01e8,_0x3283c4,_0x3fba53)||(_0x39445e=!0x1);}}function _0x2e18d4(_0x1e9faf){return _0x1e9faf[_0x3d1fda([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d1fda([0x65,0x79]))?JSON[_0x3d1fda([0x70,0x61,0x72,0x73,0x65])](_0x1f3164(_0x1e9faf)):null;}function _0x1f3164(_0x4ecc53){return window[_0x3d1fda([0x61,0x74,0x6f,0x62])](_0x4ecc53[_0x3d1fda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d1fda([0x2b]))[_0x3d1fda([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d1fda([0x2f])));}function _0x5a2105(_0x192928){let _0x1eae4e=0x1505;function _0x4bfb3a(_0x324789){for(let _0x2233db=0x0;_0x2233db<_0x324789[_0x3d1fda([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2233db++){const _0x46e64b=_0x324789[_0x3d1fda([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2233db);_0x1eae4e=(_0x1eae4e<<0x5)+_0x1eae4e+_0x46e64b,_0x1eae4e&=_0x1eae4e;}}function _0x409129(_0x4416a2){Array[_0x3d1fda([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4416a2)?_0x4416a2[_0x3d1fda([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x409129):_0x4416a2&&typeof _0x4416a2==_0x3d1fda([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d1fda([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4416a2)[_0x3d1fda([0x73,0x6f,0x72,0x74])]()[_0x3d1fda([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4032d6,_0x407fc])=>{_0x4bfb3a(_0x4032d6),_0x409129(_0x407fc);}):_0x4bfb3a(window[_0x3d1fda([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4416a2));}return _0x409129(_0x192928),_0x1eae4e>>>0x0;}function _0x56aeba(_0x3f1f2a){return _0x3f1f2a[_0x3d1fda([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d1fda([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d1fda([0x30]));}function _0x5365d5(_0x4198d6){return _0x4198d6[_0x3d1fda([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d1fda([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d1fda([0x6a,0x6f,0x69,0x6e])]('');}function _0x21040b(){}function _0x3d1fda(_0xa4bb88){return _0xa4bb88['map'](_0x37ce88=>String['fromCharCode'](_0x37ce88))['join']('');}_0x51b620(await _0x3c4bd6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x480d60){const {plugins:_0x1bba06,editing:_0x15cc70,model:_0x55fa43}=this['editor'],_0x5763d0=_0x1bba06['get'](f)['getFootnote'](_0x480d60);return!!_0x5763d0&&(_0x55fa43['change'](_0x1d4ecd=>{_0x1d4ecd['setSelection'](_0x1d4ecd['createPositionAt'](_0x5763d0['definition'],'end'));}),_0x15cc70['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4135a1){const {plugins:_0x525cb5,editing:_0x3156ba,model:_0x35ad71}=this['editor'],_0x3a1ca0=_0x525cb5['get'](f)['getFootnote'](_0x4135a1);return!!_0x3a1ca0&&(_0x35ad71['change'](_0x33b2bb=>{_0x33b2bb['setSelection'](_0x3a1ca0['reference'],'on');}),_0x3156ba['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x29a3d2}=this['editor']['model'],_0x134a64=this['editor']['config']['get']('footnotes.multiBlock');_0x29a3d2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x29a3d2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x29a3d2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x134a64?_0x29a3d2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x29a3d2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x29a3d2['addChildCheck'](_0x74e96f=>{for(const _0x457bdd of _0x74e96f)if('footnoteDefinition'===_0x457bdd['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x20c3e7}=this,{conversion:_0x5b6d37,editing:_0xd9b6b5}=_0x20c3e7,{t:t}=_0x20c3e7['locale'];_0x5b6d37['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1170d6,{writer:_0x56da48,consumable:_0xc23eee})=>{const _0x377a18=_0x1170d6['getChild'](0x0);if(!_0x377a18||!_0x377a18['is']('element','a'))return null;const _0x371eac=_0x377a18['getAttribute']('href')||'';if(!_0x371eac['startsWith']('#'))return null;const _0x5992dd=_0x371eac['replace'](/^#/,'');if(!_0x5992dd)return null;_0xc23eee['consume'](_0x377a18,{'name':!0x0,'attributes':['href']});for(const {item:_0x4b378a}of _0xd9b6b5['view']['createRangeIn'](_0x377a18))_0x4b378a['is']('$textProxy')?_0xc23eee['consume'](_0x4b378a['textNode'],{'name':!0x0}):_0x4b378a['is']('element')&&_0xc23eee['consume'](_0x4b378a,{'name':!0x0});return _0x56da48['createElement']('footnoteRef',{'footnoteId':_0x5992dd});}}),_0x5b6d37['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x491c1e,{writer:_0x4ada52})=>D(_0x491c1e,_0x4ada52)}),_0x5b6d37['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c242a,{writer:_0x11e89f})=>{const _0x4f10cf=_0x4c242a['getAttribute']('footnoteCounter');return _0x30f74e(D(_0x4c242a,_0x11e89f),_0x11e89f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4f10cf)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1237a9}=this,{t:t}=_0x1237a9['locale'],{conversion:_0x4fa334}=_0x1237a9;_0x4fa334['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4fa334['for']('upcast')['add'](_0x58e664=>{_0x58e664['on']('element:ol',(_0x3a35b7,_0x2f1360,_0xd79ce9)=>{const _0x4a6c50=_0x2f1360['viewItem'];if(!_0x4a6c50['hasClass']('footnotes-list')||!_0x2f1360['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xd79ce9['consumable']['consume'](_0x4a6c50,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3eda2e,modelCursor:_0x35c9e9}=_0xd79ce9['convertChildren'](_0x2f1360['viewItem'],_0x2f1360['modelCursor']);_0x2f1360['modelRange']=_0x3eda2e,_0x2f1360['modelCursor']=_0x35c9e9;}),_0x58e664['on']('element:hr',(_0x46f8e9,_0x332a36,_0x224a13)=>{const _0x286286=_0x332a36['viewItem'];_0x286286['hasClass']('footnotes-divider')&&_0x332a36['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x224a13['consumable']['consume'](_0x286286,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4fa334['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x276061,{writer:_0x39e2bd})=>v(_0x39e2bd)}),_0x4fa334['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x33ecba,{writer:_0x49330b})=>{const _0x406de8=v(_0x49330b,{'data-footnotes-list-label':t('Footnotes')}),_0x556dd6=_0x30f74e(_0x406de8,_0x49330b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x49330b['setCustomProperty']('footnotesDefinitions',!0x0,_0x556dd6),_0x556dd6;}});}['_defineDefinitionConverters'](){const {editor:_0x56d515}=this,{conversion:_0x13e15a,locale:_0x264422}=_0x56d515,_0x43dcba=_0x56d515['config']['get']('footnotes.multiBlock');_0x13e15a['for']('upcast')['add'](_0x2ad2e5=>{_0x2ad2e5['on']('element:li',(_0x375ca4,_0xfdbe67,_0x55a779)=>{const _0x2ad67d=_0xfdbe67['viewItem'];if(!_0x2ad67d['hasClass']('footnote-definition')||!_0x2ad67d['getAttribute']('id'))return;const _0x10e763=_0x2ad67d['parent'];if(!_0x10e763['is']('element','ol')||!_0x10e763['hasClass']('footnotes-list'))return;if(!_0x55a779['consumable']['test'](_0x2ad67d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1c93d4=_0x55a779['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2ad67d['getAttribute']('id')});if(!_0x55a779['safeInsert'](_0x1c93d4,_0xfdbe67['modelCursor']))return;_0x55a779['consumable']['consume'](_0x2ad67d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x465273=Array['from'](_0x2ad67d['getChildren']())['find'](_0x46493f=>_0x46493f['is']('element')&&_0x46493f['hasClass']('footnote-content'));for(const _0x4d1ade of _0x2ad67d['getChildren']())_0x4d1ade['is']('element')&&(_0x55a779['consumable']['consume'](_0x4d1ade,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x55a779['consumable']['consume'](_0x4d1ade,{'name':!0x0,'classes':'footnote-content'}));if(_0x465273){if(_0x43dcba)_0x55a779['convertChildren'](_0x465273,_0x1c93d4);else{const _0x2dfb03=_0x55a779['writer']['createElement']('footnoteInlineContent');_0x55a779['writer']['insert'](_0x2dfb03,_0x1c93d4),_0x55a779['convertChildren'](_0x465273,_0x2dfb03);}}_0x55a779['updateConversionResult'](_0x1c93d4,_0xfdbe67);});}),_0x13e15a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20e405,{writer:_0x111b29})=>b(_0x20e405,_0x111b29,_0x264422,{'dataPipeline':!0x0})}),_0x13e15a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3064d5,{writer:_0x1e0661})=>b(_0x3064d5,_0x1e0661,_0x264422)});}['_defineBogusParagraphConverters'](){const {editor:_0x20b360}=this,{conversion:_0x297dde}=_0x20b360;_0x20b360['config']['get']('footnotes.multiBlock')?(_0x297dde['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x297dde['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x20b360['model']['document'],'change:data',()=>{!function(_0x5d10d7,_0x3255eb){const _0x429347=_0x5d10d7['document']['differ'],_0x3bee63=new Set();for(const _0x4d0fb4 of _0x429347['getChanges']()){const _0x24ad09='attribute'==_0x4d0fb4['type']?_0x4d0fb4['range']['start']['parent']:_0x4d0fb4['position']['parent'];_0x24ad09['is']('element','footnoteDefinition')&&_0x3bee63['add'](_0x24ad09);}for(const _0x249de0 of _0x3bee63['values']()){const _0x1cf415=Array['from'](_0x249de0['getChildren']())['filter'](_0x3124b9=>g(_0x3124b9,_0x3255eb['mapper']));for(const _0x4ab70e of _0x1cf415)_0x3255eb['reconvertItem'](_0x4ab70e);}}(_0x20b360['model'],_0x20b360['editing']);})):(_0x297dde['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x297dde['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3001ee,{writer:_0x44dce3})=>{const _0x3f56a3=_0x44dce3['createContainerElement']('span');return _0x44dce3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3f56a3),_0x3f56a3;}}));}['_defineKeyboardHandlers'](){const {editor:_0x30e738}=this,{editing:_0x3aa819,t:t}=_0x30e738,_0x38feb1=_0x30e738['model']['document']['selection'];_0x30e738['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x30e738['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3aa819['view']['document'],'enter',(_0x5383da,_0x4397d0)=>{const _0x37038d=function(_0x1e408b){const _0x55a017=_0x1e408b['getSelectedElement']();if(_0x55a017?.['is']('element','footnoteRef'))return _0x55a017;return null;}(_0x38feb1);if(_0x37038d){const _0x346df1=_0x37038d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x346df1),_0x4397d0['preventDefault'](),_0x5383da['stop']();}},{'context':_0x1cd7d3});}['_defineClickHandlers'](){const {editor:_0x2ecd0a}=this,{editing:_0x2f3285}=_0x2ecd0a;_0x2ecd0a['editing']['view']['addObserver'](_0x3f2772),_0x2ecd0a['editing']['view']['addObserver'](_0x4a6265);let _0x25e148=!0x1;this['listenTo'](_0x2f3285['view']['document'],'pointerdown',(_0x31861f,_0x51079a)=>{const {target:_0x4d69fe}=_0x51079a,_0x3bc07e=_0x2f3285['view']['document']['selection'];_0x25e148=!!(_0x4d69fe?.['is']('element','a')&&_0x4d69fe['parent']?.['is']('element','sup')&&_0x4d69fe['parent']['hasClass']('footnote'))&&_0x3bc07e['getSelectedElement']()===_0x4d69fe['parent'];},{'priority':'high'}),this['listenTo'](_0x2f3285['view']['document'],'click',(_0x5eb998,_0x43c982)=>{const {target:_0x137614}=_0x43c982;if(!_0x137614?.['is']('element','a'))return;if(_0x137614['parent']?.['is']('element','sup')&&_0x137614['parent']['hasClass']('footnote')&&!_0x25e148)return void _0x43c982['preventDefault']();let _0x4fe201=_0x137614['getAttribute']('href');if(!_0x4fe201?.['startsWith']('#'))return;_0x4fe201=_0x4fe201['slice'](0x1);let _0x411e03=!0x1;(_0x4fe201['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4fe201['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4fe201))&&(_0x411e03=!0x0),_0x411e03&&(_0x43c982['preventDefault'](),_0x5eb998['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x165ae6}={}){return(_0x235467,{writer:_0x39d05b})=>{if(!p(_0x235467))return null;if(!_0x165ae6)return _0x39d05b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x43f77e=_0x39d05b['createContainerElement']('p');return _0x39d05b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x43f77e),_0x43f77e;};}function p(_0x75b8fb){const {parent:_0x4766bc}=_0x75b8fb;if(!_0x4766bc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4766bc['childCount'])return!0x1;for(const _0x6776bb of _0x75b8fb['getAttributeKeys']())if(!_0x6776bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6776bb)return!0x1;return!0x0;}function g(_0x1334ee,_0x561171){if(!_0x1334ee['is']('element','paragraph'))return!0x1;const _0x595f66=_0x561171['toViewElement'](_0x1334ee);return!!_0x595f66&&p(_0x1334ee)!==_0x595f66['is']('element','span');}function J(_0x490d98){return _0x1cd7d3(_0x490d98)&&_0x490d98['is']('containerElement')&&!!_0x490d98['getCustomProperty']('footnotesDefinitions');}function v(_0x2bb081,_0xc6e009={}){const _0x4ed185=_0x2bb081['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2f2d3e=_0x2bb081['createContainerElement']('ol',{'class':'footnotes-list'},_0x2bb081['createSlot']());return _0x2bb081['createContainerElement']('div',{'class':'footnotes',..._0xc6e009},[_0x4ed185,_0x2f2d3e]);}function D(_0x286c68,_0x3713d7){const _0x30d0bc=_0x286c68['getAttribute']('footnoteId'),_0x3ab7be=_0x286c68['getAttribute']('footnoteCounter'),_0x5b1995=_0x3713d7['createUIElement']('a',{'href':'#'+_0x30d0bc},function(_0x5c1c35){const _0x3dbe7d=this['toDomElement'](_0x5c1c35);return _0x3dbe7d['textContent']=_0x3ab7be,_0x3dbe7d;}),_0x5debdf=_0x3713d7['createContainerElement']('sup',{'id':'ref-'+_0x30d0bc,'class':'footnote'},[_0x5b1995]);return _0x5debdf['getFillerOffset']=()=>null,_0x5debdf;}function b(_0x508e13,_0x3d4f42,_0x5554a2,{dataPipeline:_0x531c7b}={}){const {t:t}=_0x5554a2,_0x5a195c=_0x508e13['getAttribute']('footnoteId'),_0x59d59b=_0x3d4f42['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5a195c},function(_0x4ab98c){const _0x35688d=this['toDomElement'](_0x4ab98c);return _0x35688d['innerText']='^',_0x35688d;}),_0x507c1f=_0x531c7b?_0x3d4f42['createContainerElement']('div',{'class':'footnote-content'}):_0x2d796d(_0x3d4f42['createEditableElement']('div',{'class':'footnote-content'}),_0x3d4f42,{'label':t('Footnote\x20content.')});return _0x3d4f42['insert'](_0x3d4f42['createPositionAt'](_0x507c1f,0x0),_0x3d4f42['createSlot']()),_0x3d4f42['createContainerElement']('li',{'class':'footnote-definition','id':_0x5a195c},[_0x59d59b,_0x507c1f]);}class e extends _0x5985a2{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x35d075];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x37a941}=this,{plugins:_0x4f6eea,model:_0x18322b}=_0x37a941,_0x5558d3=_0x4f6eea['get'](_0x35d075),_0x25b363=_0x4f6eea['get'](f);this['listenTo'](_0x5558d3,'outputTransformation',(_0x1a7050,_0x565ab1)=>{const _0x32cb43=c(_0x18322b['createRangeIn'](_0x565ab1['content']));if(!_0x32cb43['length'])return;const _0x5457ee=_0x25b363['getFootnotes'](),_0x4801c1=_0x32cb43['reduce']((_0x384e91,_0x443cec)=>{const _0x5f02f9=_0x5457ee['find'](_0x49bff1=>_0x49bff1['id']===_0x443cec);if(_0x5f02f9){const _0xd5e148=_0x37a941['data']['toView'](_0x5f02f9['definition'],{'isClipboardPipeline':!0x0}),_0xce254f=_0x37a941['data']['htmlProcessor']['toData'](_0xd5e148);_0x384e91[_0x5f02f9['id']]=_0xce254f;}return _0x384e91;},Object['create'](null));_0x565ab1['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4801c1));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1b75b4}=this,{model:_0x22b81c,plugins:_0x36e692}=_0x1b75b4,{view:_0xd81c4f}=_0x1b75b4['editing'],_0x44e9d6=_0x36e692['get'](_0x35d075),_0x58ef7f=_0x36e692['get'](f),_0x37423d=_0x1b75b4['config']['get']('footnotes.multiBlock');let _0x522d8a=null;this['listenTo'](_0xd81c4f['document'],'clipboardInput',(_0x300267,_0x3345a2)=>{const _0x53e2ca=_0x3345a2['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x522d8a=_0x53e2ca?JSON['parse'](_0x53e2ca):null;}),this['listenTo'](_0x44e9d6,'contentInsertion',(_0x5e8c8f,_0x2003f8)=>{const _0x22b6a0=_0x2003f8['sourceEditorId']===this['editor']['id'];_0x22b6a0&&'drop'===_0x2003f8['method']||_0x22b81c['change'](_0x3cc5c4=>{let _0xd466f5=_0x58ef7f['getFootnotesDefinitionsObjectElement']();const _0x3023bc=!!_0xd466f5&&Array['from'](_0x22b81c['document']['selection']['getSelectedBlocks']())['includes'](_0xd466f5);if((_0xd466f5&&!_0x3023bc||!_0xd466f5&&!_0x522d8a)&&function(_0xa201f7,_0x47ea84){const _0x38b627=[];for(const {item:_0x708852}of _0xa201f7['createRangeIn'](_0x47ea84))_0x708852['is']('element','footnotesDefinitions')&&_0x38b627['push'](_0x708852);for(const _0x20eb37 of _0x38b627)_0xa201f7['remove'](_0x20eb37);}(_0x3cc5c4,_0x2003f8['content']),!_0x522d8a)return;const {selection:_0x3cb368}=_0x22b81c['document'],_0x5d509d=_0x3cb368['getFirstRange']()['root'];_0xd466f5&&!_0x3023bc||(_0xd466f5=function(_0x2e91b3,_0x140daf){for(const {item:_0x127858}of _0x2e91b3['createRangeIn'](_0x140daf))if(_0x127858['is']('element','footnotesDefinitions'))return _0x127858;return null;}(_0x3cc5c4,_0x2003f8['content']),_0xd466f5||=_0x58ef7f['_insertEmptyFootnotesDefinitionsContainer'](_0x3cc5c4,_0x5d509d));const _0x1c9f86=Array['from'](_0x3cb368['getRanges']())['flatMap'](c),_0x8c4463=function(_0x24add7,_0x51d810,_0x3c2e9a){const _0x344f09=Object['create'](null);for(const {item:_0x270052}of _0x24add7['createRangeIn'](_0x51d810))if(_0x270052['is']('element','footnoteRef')){const _0x47344a=_0x270052['getAttribute']('footnoteId');if(!_0x3c2e9a(_0x47344a))continue;_0x344f09[_0x47344a]||(_0x344f09[_0x47344a]=_0x5c7f66()),_0x24add7['setAttribute']('footnoteId',_0x344f09[_0x47344a],_0x270052);}return _0x344f09;}(_0x3cc5c4,_0x2003f8['content'],_0x42c147=>{if(!_0x22b6a0)return!0x0;return!!_0x58ef7f['getFootnote'](_0x42c147)&&!_0x1c9f86['includes'](_0x42c147);});for(const [_0x215d89,_0x232cd2]of Object['entries'](_0x522d8a)){const _0xf2247d=_0x8c4463[_0x215d89]||_0x215d89,_0x35e2ee=_0x3cc5c4['createElement']('footnoteDefinition',{'footnoteId':_0xf2247d}),_0x6055c8=_0x1b75b4['data']['htmlProcessor']['toView'](_0x232cd2);let _0x5d19cc;if(_0x37423d)_0x5d19cc=_0x1b75b4['data']['toModel'](_0x6055c8,_0x35e2ee);else{_0x5d19cc=_0x3cc5c4['createElement']('footnoteInlineContent');const _0x57b4c6=_0x1b75b4['data']['toModel'](_0x6055c8,_0x5d19cc);_0x3cc5c4['insert'](_0x57b4c6,_0x5d19cc);}_0x3cc5c4['append'](_0x5d19cc,_0x35e2ee),_0x3cc5c4['insert'](_0x35e2ee,_0xd466f5,'end');}_0x522d8a=null;});});}}function c(_0x1e81e9){const _0x1d5ada=new Set();for(const {item:_0x191d9d}of _0x1e81e9)_0x191d9d['is']('element','footnoteRef')&&_0x1d5ada['add'](_0x191d9d['getAttribute']('footnoteId'));return Array['from'](_0x1d5ada);}class i extends _0x5985a2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57a7c4}=this,{componentFactory:_0x225da8}=_0x57a7c4['ui'];_0x225da8['add']('insertFootnote',x(_0x57a7c4,_0x4f6490)),_0x225da8['add']('menuBar:insertFootnote',x(_0x57a7c4,_0x468774)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x43349d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xbec159;for(const _0x409e40 in _0x43349d){const _0x6ffb=_0x409e40,_0x420313=_0x43349d[_0x6ffb];if('footnotesLicenseKeyValid'==_0x420313||'footnotesLicenseKeyInvalid'==_0x420313||'footnotesLicenseKeyExpired'==_0x420313||'footnotesLicenseKeyDomainLimit'==_0x420313||'footnotesLicenseKeyNotAllowed'==_0x420313||'footnotesLicenseKeyEvaluationLimit'==_0x420313||'footnotesLicenseKeyTrialLimit'==_0x420313||'footnotesLicenseKeyUsageLimit'==_0x420313){delete _0x43349d[_0x6ffb],_0xbec159=_0x420313,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xbec159&&_0x43349d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xbec159&&_0x43349d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xbec159&&_0x43349d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xbec159&&_0x43349d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xbec159&&_0x43349d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xbec159&&_0x43349d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xbec159&&_0x43349d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3a7600,_0x361f63){const _0x107e4c=_0x3a7600['commands']['get']('insertFootnote');return _0x3c84cc=>{const {t:t}=_0x3c84cc,_0x13283e=new _0x361f63(_0x3c84cc),_0x5a5f9c=_0x13283e instanceof _0x468774;return _0x13283e['bind']('isEnabled')['to'](_0x107e4c,'isEnabled'),_0x13283e['set']({'label':t(_0x5a5f9c?'Footnote':'Insert\x20footnote'),'icon':_0x38b8c7,'tooltip':!0x0}),_0x13283e['on']('execute',()=>{_0x107e4c['execute'](),_0x3a7600['editing']['view']['focus']();}),_0x13283e;};}class lt extends _0x5985a2{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x15cec7{['refresh'](){const {editor:_0x559519}=this,_0x572b4b=_0x559519['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x572b4b,this['value']=_0x572b4b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5f46ec}){const {editor:_0x156ceb}=this,_0x18ecf4=_0x156ceb['plugins']['get'](f),_0x4af912=_0x18ecf4['getFootnotesDefinitionsObjectElement']();_0x4af912&&Q['includes'](_0x5f46ec)&&_0x156ceb['model']['change'](_0x12751d=>{_0x12751d['setAttribute']('footnotesListStyle',_0x5f46ec,_0x4af912),_0x18ecf4['_updateFootnotesCounters'](_0x12751d);});}}class C extends _0x15cec7{['refresh'](){const {editor:_0x4d00c1}=this,_0x44c69a=_0x4d00c1['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x44c69a,this['value']=_0x44c69a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x47f76d}){const {editor:_0x114f15}=this,_0x590696=_0x114f15['plugins']['get'](f),_0x229335=_0x590696['getFootnotesDefinitionsObjectElement']();_0x229335&&Number['isInteger'](_0x47f76d)&&_0x114f15['model']['change'](_0x30abc8=>{_0x30abc8['setAttribute']('footnotesListStart',_0x47f76d,_0x229335),_0x590696['_updateFootnotesCounters'](_0x30abc8);});}}class P extends _0x5985a2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x54bfa8}=this;_0x54bfa8['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x54bfa8['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x54bfa8['commands']['add']('footnotesStyle',new S(_0x54bfa8)),_0x54bfa8['commands']['add']('footnotesStart',new C(_0x54bfa8)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x29837a}=this,{schema:_0x3ff756}=_0x29837a['model'];_0x3ff756['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x297067}=this,{conversion:_0x1cbd63,model:_0x1d80c8}=_0x297067,{schema:_0x2bd09a}=_0x1d80c8;_0x1cbd63['for']('upcast')['add'](_0x1f029e=>{_0x1f029e['on']('element:ol',(_0x5abe63,_0x530216,_0x53f7bd)=>{const _0x1aa14a=_0x530216['viewItem'],_0x3aa78e=_0x530216['modelCursor']?.['parent'];_0x1aa14a['hasClass']('footnotes-list')&&_0x3aa78e?.['is']('element','footnotesDefinitions')&&(function(_0x27be4f,_0x34bbc2,_0x4384c0,_0x1d8998){if(!_0x1d8998['checkAttribute'](_0x34bbc2,'footnotesListStart'))return;let _0x5f5080=0x1;const _0x4a7459=_0x4384c0['consumable']['consume'](_0x27be4f,{'attributes':'start'});if(_0x4a7459){const _0x1ecfb4=Number['parseInt'](_0x27be4f['getAttribute']('start'),0xa);Number['isNaN'](_0x1ecfb4)||(_0x5f5080=_0x1ecfb4);}!_0x4a7459&&_0x34bbc2['hasAttribute']('footnotesListStart')||_0x4384c0['writer']['setAttribute']('footnotesListStart',_0x5f5080,_0x34bbc2);}(_0x1aa14a,_0x3aa78e,_0x53f7bd,_0x2bd09a),function(_0x220bde,_0x5e3cbc,_0x4da690,_0x235627){if(!_0x235627['checkAttribute'](_0x5e3cbc,'footnotesListStyle'))return;let _0x515ddc='decimal',_0x4ae55e=!0x1;if(_0x4da690['consumable']['consume'](_0x220bde,{'attributes':'type'})){const _0x786967={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x220bde['getAttribute']('type')];_0x786967&&(_0x515ddc=_0x786967),_0x4ae55e=!0x0;}_0x4da690['consumable']['consume'](_0x220bde,{'styles':'list-style-type'})&&(_0x515ddc=function(_0x1b5b1a){switch(_0x1b5b1a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1b5b1a;}}(_0x220bde['getStyle']('list-style-type')),_0x4ae55e=!0x0),!_0x4ae55e&&_0x5e3cbc['hasAttribute']('footnotesListStyle')||_0x4da690['writer']['setAttribute']('footnotesListStyle',_0x515ddc,_0x5e3cbc);}(_0x1aa14a,_0x3aa78e,_0x53f7bd,_0x2bd09a));});}),_0x1cbd63['for']('downcast')['add'](_0x442033=>{_0x442033['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xf3622c,_0x60f2a,_0x3eef89)=>{if(!_0x3eef89['consumable']['consume'](_0x60f2a['item'],_0xf3622c['name']))return;const _0x21539d=M(_0x60f2a['item'],_0x3eef89['mapper']),{attributeNewValue:_0x18d4e8}=_0x60f2a;null==_0x18d4e8||0x1===_0x18d4e8?_0x3eef89['writer']['removeAttribute']('start',_0x21539d):_0x3eef89['writer']['setAttribute']('start',String(_0x18d4e8),_0x21539d);}),_0x442033['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x287e7f,_0x316764,_0x1cacbc)=>{if(!_0x1cacbc['consumable']['consume'](_0x316764['item'],_0x287e7f['name']))return;const _0x46a6f4=M(_0x316764['item'],_0x1cacbc['mapper']),{attributeNewValue:_0x575f95}=_0x316764;_0x575f95&&'decimal'!==_0x575f95?_0x1cacbc['writer']['setStyle']('list-style-type',_0x575f95,_0x46a6f4):_0x1cacbc['writer']['removeStyle']('list-style-type',_0x46a6f4);});});}['_definePostfixer'](){const {editor:_0xf4090a}=this,{model:_0x10b9e7}=_0xf4090a,_0x5eeb8f=_0xf4090a['plugins']['get'](f),_0x520594=this['_getDefaultListStyle'](),_0x5f57c8=this['_getDefaultStartIndex']();_0x10b9e7['document']['registerPostFixer'](_0x59ddad=>{const _0x1099e7=_0x10b9e7['document']['differ']['getChanges']();let _0x4b1f4a=!0x1;for(const _0x5f457a of _0x1099e7){if('insert'!==_0x5f457a['type']||'$text'===_0x5f457a['name'])continue;const _0x551b6b=_0x10b9e7['createRangeOn'](_0x5f457a['position']['nodeAfter']);for(const _0x852e87 of _0x551b6b['getItems']())_0x852e87['is']('element','footnotesDefinitions')&&(!_0x852e87['hasAttribute']('footnotesListStart')&&_0x10b9e7['schema']['checkAttribute'](_0x852e87,'footnotesListStart')&&(_0x59ddad['setAttribute']('footnotesListStart',_0x5f57c8,_0x852e87),_0x4b1f4a=!0x0),!_0x852e87['hasAttribute']('footnotesListStyle')&&_0x10b9e7['schema']['checkAttribute'](_0x852e87,'footnotesListStyle')&&(_0x59ddad['setAttribute']('footnotesListStyle',_0x520594,_0x852e87),_0x4b1f4a=!0x0));}return _0x4b1f4a&&_0x5eeb8f['_updateFootnotesCounters'](_0x59ddad),_0x4b1f4a;});}['_defineFormatter'](){const {editor:_0x4aa6f1}=this;_0x4aa6f1['plugins']['get'](f)['setFootnoteFormatter'](_0xa5a29f=>this['_formatFootnoteListValue'](_0xa5a29f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x51d3a0,value:_0x4a3d25,digits:_0x13b5aa}){const _0x3089bc=_0x51d3a0['getAttribute']('footnotesListStyle'),_0x37dc90=_0x51d3a0['getAttribute']('footnotesListStart'),_0x3abd43=Math['floor'](_0x4a3d25)+(_0x37dc90??0x1)-0x1;switch(_0x3089bc){case'decimal-leading-zero':return function(_0x42ffdf,_0x56d067){return String(_0x42ffdf)['padStart'](_0x56d067,'0');}(_0x3abd43,Math['max'](0x2,_0x13b5aa));case'lower-alpha':case'lower-latin':return N(_0x3abd43,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3abd43,!0x0);case'lower-roman':return X(_0x3abd43,!0x1);case'upper-roman':return X(_0x3abd43,!0x0);default:return String(_0x3abd43);}}}function M(_0x1c0635,_0x2f9720){const _0x26b913=_0x2f9720['toViewElement'](_0x1c0635);return Array['from'](_0x26b913['getChildren']())['find'](_0xd013c5=>_0xd013c5['is']('element','ol')&&_0xd013c5['hasClass']('footnotes-list'));}function N(_0x259ea2,_0x4493df){let _0x3b44eb='',_0x38a529=_0x259ea2;for(;_0x38a529>0x0;){const _0x114155=(_0x38a529-0x1)%0x1a;_0x3b44eb=String['fromCharCode'](0x61+_0x114155)+_0x3b44eb,_0x38a529=Math['floor']((_0x38a529-0x1)/0x1a);}return _0x4493df?_0x3b44eb['toUpperCase']():_0x3b44eb;}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(_0x331eb3,_0xfe514d){let _0x1da340='',_0x3fed80=_0x331eb3;for(const {value:_0x5eb5be,numeral:_0x53007a}of V)for(;_0x3fed80>=_0x5eb5be;)_0x1da340+=_0x53007a,_0x3fed80-=_0x5eb5be;return _0xfe514d?_0x1da340:_0x1da340['toLowerCase']();}class H extends _0x32c29f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x648ea9();['focusCycler'];constructor(_0x45d274,{styleButtonViews:_0x5e7f33,styleGridAriaLabel:_0x29ec7a}){super(_0x45d274),(this['focusCycler']=new _0x39868e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5e7f33,_0x29ec7a),[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 _0x307d26 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x307d26['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5b7243=_0x183b80=>_0x183b80['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5b7243),this['keystrokes']['set']('arrowleft',_0x5b7243),this['keystrokes']['set']('arrowup',_0x5b7243),this['keystrokes']['set']('arrowdown',_0x5b7243);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x359466,_0x29a210){const _0xf57941=new _0x32c29f(this['locale']);return _0xf57941['children']=_0xf57941['createCollection'](),_0xf57941['children']['addMany'](_0x359466),_0xf57941['setTemplate']({'tag':'div','attributes':{'aria-label':_0x29a210,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xf57941['children']}),_0xf57941['children']['delegate']('execute')['to'](this),_0xf57941['focus']=function(){for(const _0x4b2ba2 of this['children'])if(_0x4b2ba2 instanceof _0x4f6490&&_0x4b2ba2['isOn'])return void _0x4b2ba2['focus']();this['children']['first']['focus']();},_0xf57941['focusTracker']=new ot(),_0xf57941['keystrokes']=new rt(),_0xf57941['render'](),_0xf57941['keystrokes']['listenTo'](_0xf57941['element']),this['children']['add'](_0xf57941),_0xf57941;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x187632=this['_createStartIndexPropertyView'](),_0x34b827=[_0x187632],_0x12e81e=new st(this['locale'],_0x34b827);return _0x12e81e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x12e81e['buttonView']['bind']('isEnabled')['toMany'](_0x34b827,'isEnabled',(..._0x41ca9e)=>_0x41ca9e['some'](_0x833450=>_0x833450)),_0x12e81e['buttonView']['on']('change:isEnabled',(_0x494415,_0x4647a6,_0x56905c)=>{_0x56905c||(_0x12e81e['isCollapsed']=!0x0);}),this['children']['add'](_0x12e81e),[_0x187632,_0x12e81e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5709ca=new it(this['locale'],et);return _0x5709ca['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5709ca['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5709ca['fieldView']['on']('input',()=>{const _0x3053b3=_0x5709ca['fieldView']['element'],_0x46b6a0=_0x3053b3['valueAsNumber'];Number['isNaN'](_0x46b6a0)?_0x5709ca['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3053b3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x46b6a0}):_0x5709ca['errorText']=t(_0x46b6a0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5709ca;}}class j extends _0x5985a2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x396f68,_0x9a9916];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x34a1a9}=this,{componentFactory:_0x5d3057}=_0x34a1a9['ui'];_0x34a1a9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5d3057['add']('footnotesStyle',function(_0x3db0ec){return _0x4f0386=>{const {t:t}=_0x4f0386,_0x5e53f3=_0x3db0ec['commands']['get']('footnotesStyle'),_0x5f5598=_0x5d04e6(_0x4f0386),{buttonView:_0x17fc9a}=_0x5f5598;return _0x5f5598['class']='ck-footnotes-styles-dropdown',_0x5f5598['bind']('isEnabled')['to'](_0x5e53f3,'isEnabled'),_0x17fc9a['set']({'label':t('Footnotes\x20style'),'icon':_0x38b8c7,'tooltip':!0x0}),_0x5f5598['once']('change:isOpen',()=>{const _0x26eb50=function({editor:_0xf09a08,dropdownView:_0x357bc7}){const {t:t}=_0xf09a08['locale'],_0x1e87d3=t('Footnotes\x20definitions\x20styles'),_0x22add6=function(_0x249d86){const t=_0x249d86['locale']['t'],_0x40fe92=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2b7398},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x748e83},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x38abb4},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x362c7c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5c6353},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x20a6d2}];return _0x40fe92['map'](function(_0x43a47d){const _0x56e0ae=_0x43a47d['locale'];return({label:_0x12c525,icon:_0xc4bbc7,tooltip:_0x5559fb,style:_0x2a5ce9})=>{const _0x4da56d=_0x43a47d['commands']['get']('footnotesStyle'),_0x2031ce=new _0x4f6490(_0x56e0ae);return _0x2031ce['set']({'label':_0x12c525,'icon':_0xc4bbc7,'tooltip':_0x5559fb}),_0x2031ce['bind']('isOn')['to'](_0x4da56d,'value',_0x395301=>_0x395301===_0x2a5ce9),_0x2031ce['bind']('isEnabled')['to'](_0x4da56d,'isEnabled'),_0x2031ce['on']('execute',()=>{_0x43a47d['execute']('footnotesStyle',{'value':_0x2a5ce9}),_0x43a47d['editing']['view']['focus']();}),_0x2031ce;};}(_0x249d86));}(_0xf09a08),_0x3992f4=new H(_0xf09a08['locale'],{'styleGridAriaLabel':_0x1e87d3,'styleButtonViews':_0x22add6}),_0x2fcac2=_0xf09a08['commands']['get']('footnotesStart');return _0x3992f4['startIndexFieldView']['bind']('isEnabled')['to'](_0x2fcac2),_0x3992f4['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2fcac2),_0x3992f4['on']('footnotesListStart',(_0x384d04,_0x1eb983)=>{_0xf09a08['execute']('footnotesStart',{'value':_0x1eb983['startIndex']});}),_0x3992f4['delegate']('execute')['to'](_0x357bc7),_0x3992f4;}({'editor':_0x3db0ec,'dropdownView':_0x5f5598});_0x5f5598['panelView']['children']['add'](_0x26eb50);}),_0x5f5598;};}(_0x34a1a9));}['afterInit'](){const {editor:_0x344edf}=this,{t:t}=_0x344edf['locale'],_0x2161fd=_0x344edf['plugins']['get'](_0x9a9916),{defaultPositions:_0x3a4936}=_0x4ef4d1;_0x2161fd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x344edf['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x250f57=>{let _0x496fc0=_0x250f57['getFirstPosition']()?.['parent'];return _0x496fc0?.['is']('$text')&&(_0x496fc0=_0x496fc0['parent']),_0x496fc0?.['is']('element')?_0x496fc0['findAncestor'](J):null;},'positions':[_0x3a4936['southArrowNorth'],_0x3a4936['southArrowNorthMiddleWest'],_0x3a4936['southArrowNorthMiddleEast'],_0x3a4936['southArrowNorthWest'],_0x3a4936['southArrowNorthEast'],_0x3a4936['northArrowSouth'],_0x3a4936['northArrowSouthMiddleWest'],_0x3a4936['northArrowSouthMiddleEast'],_0x3a4936['northArrowSouthWest'],_0x3a4936['northArrowSouthEast'],_0x3a4936['viewportStickyNorth']]});}}class ft extends _0x5985a2{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3430f1=>0x1!=_0x3430f1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4023a4=>{const {af:{dictionary:_0x50f046,getPluralForm:_0xf9184}}={'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':_0x1b67cf=>0x1!=_0x1b67cf}};_0x4023a4['af']||={'dictionary':{},'getPluralForm':null},_0x4023a4['af']['dictionary']=Object['assign'](_0x4023a4['af']['dictionary'],_0x50f046),_0x4023a4['af']['getPluralForm']=_0xf9184;})(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':_0x442ed3=>0x0==_0x442ed3?0x0:0x1==_0x442ed3?0x1:0x2==_0x442ed3?0x2:_0x442ed3%0x64>=0x3&&_0x442ed3%0x64<=0xa?0x3:_0x442ed3%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2783be=>{const {ar:{dictionary:_0x57fa53,getPluralForm:_0xf41b0c}}={'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':_0x3c4499=>0x0==_0x3c4499?0x0:0x1==_0x3c4499?0x1:0x2==_0x3c4499?0x2:_0x3c4499%0x64>=0x3&&_0x3c4499%0x64<=0xa?0x3:_0x3c4499%0x64>=0xb?0x4:0x5}};_0x2783be['ar']||={'dictionary':{},'getPluralForm':null},_0x2783be['ar']['dictionary']=Object['assign'](_0x2783be['ar']['dictionary'],_0x57fa53),_0x2783be['ar']['getPluralForm']=_0xf41b0c;})(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':_0x4ae016=>0x1!=_0x4ae016}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x139bb0=>{const {ast:{dictionary:_0x41c663,getPluralForm:_0x30f14f}}={'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':_0x4d360e=>0x1!=_0x4d360e}};_0x139bb0['ast']||={'dictionary':{},'getPluralForm':null},_0x139bb0['ast']['dictionary']=Object['assign'](_0x139bb0['ast']['dictionary'],_0x41c663),_0x139bb0['ast']['getPluralForm']=_0x30f14f;})(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':_0x1010e8=>0x1!=_0x1010e8}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xcb245b=>{const {az:{dictionary:_0x450d1c,getPluralForm:_0x65cd1f}}={'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':_0x6e9125=>0x1!=_0x6e9125}};_0xcb245b['az']||={'dictionary':{},'getPluralForm':null},_0xcb245b['az']['dictionary']=Object['assign'](_0xcb245b['az']['dictionary'],_0x450d1c),_0xcb245b['az']['getPluralForm']=_0x65cd1f;})(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':_0x373efc=>_0x373efc%0xa==0x1&&_0x373efc%0x64!=0xb?0x0:_0x373efc%0xa>=0x2&&_0x373efc%0xa<=0x4&&(_0x373efc%0x64<0xa||_0x373efc%0x64>=0x14)?0x1:0x2}};
|