@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251205.0 → 0.0.0-nightly-20251207.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 _0x3263b6,Command as _0x390675}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x58422d,isWidget as _0x54c03d,toWidgetEditable as _0x5abf7f,WidgetToolbarRepository as _0x1d7021}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1c4e41,logWarning as _0x4e7b2a,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x39f5a2,ClickObserver as _0x2d1ad5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x500ebe}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x9fabdf,ButtonView as _0xa80dc1,View as _0x425827,ViewCollection as _0x482a02,FocusCycler as _0x5b8f14,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x5d26d8,BalloonPanelView as _0x162d1c,createDropdown as _0x30f580}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2db4f8,IconListStyleDecimal as _0x173ec3,IconListStyleDecimalLeadingZero as _0x36e591,IconListStyleLowerRoman as _0x5efc48,IconListStyleUpperRoman as _0x526c34,IconListStyleLowerLatin as _0x5e7c46,IconListStyleUpperLatin as _0x526891}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3685cd,_0x19b349){this['_model']=_0x3685cd,this['_elementName']=_0x19b349['elementName'],this['_getElementKey']=_0x19b349['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x16e1c6){const _0x371d3a=new Set(),_0x323632=new Map();for(const _0x170b89 of _0x16e1c6){if('insert'===_0x170b89['type']&&'$text'!==_0x170b89['name']&&_0x170b89['position']['nodeAfter']){const _0x2cfabd=this['_model']['createRangeOn'](_0x170b89['position']['nodeAfter']);for(const _0x23c6c9 of _0x2cfabd['getItems']()){if(!_0x23c6c9['is']('element',this['_elementName']))continue;const _0x5b693f=this['_getElementKey'](_0x23c6c9);_0x323632['has'](_0x5b693f)||_0x323632['set'](_0x5b693f,[]),_0x323632['get'](_0x5b693f)['push'](_0x23c6c9);}}if('remove'===_0x170b89['type']&&_0x170b89['name']===this['_elementName']){const _0x353b69=this['_getElementKey']({'getAttribute':_0x34332f=>_0x170b89['attributes']['get'](_0x34332f)});_0x371d3a['add'](_0x353b69);}}for(const [_0x242d65,_0x3b0358]of this['_trackedElements'])'$graveyard'===_0x3b0358['root']['rootName']&&_0x371d3a['add'](_0x242d65);for(const _0x1401de of _0x371d3a)this['_trackedElements']['delete'](_0x1401de);for(const [_0x2c8ec9,_0x3fddc9]of _0x323632)this['_trackedElements']['set'](_0x2c8ec9,_0x3fddc9[_0x3fddc9['length']-0x1]);const _0x280543=new Set();for(const [_0x2a290b,_0x4563a5]of _0x323632)_0x371d3a['has'](_0x2a290b)&&(_0x280543['add'](_0x4563a5[0x0]),_0x4563a5['length']>0x1?_0x323632['set'](_0x2a290b,_0x4563a5['slice'](0x1)):_0x323632['delete'](_0x2a290b),_0x371d3a['delete'](_0x2a290b));return{'removed':Array['from'](_0x371d3a),'inserted':Array['from'](_0x323632['values']())['flat'](),'moved':Array['from'](_0x280543)};}}class f extends _0x3263b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x538365){super(_0x538365),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x33485b=>_0x33485b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3fc6fa=>_0x3fc6fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3a0136}=this,{model:_0x1e0a5d,data:_0x5c4b61}=_0x3a0136;_0x1e0a5d['document']['registerPostFixer'](_0xc6b38c=>{const _0x172030=_0x1e0a5d['document']['differ']['getChanges']();let _0x4e239d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_handleFootnoteReferencesChanges'](_0xc6b38c,_0x172030)&&(_0x4e239d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc6b38c)&&(_0x4e239d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc6b38c)&&(_0x4e239d=!0x0),this['_sortFootnoteDefinitions'](_0xc6b38c)&&(_0x4e239d=!0x0),_0x4e239d;}),this['listenTo'](_0x1e0a5d['document'],'change:data',()=>{_0x1e0a5d['enqueueChange']({'isUndoable':!0x1},_0x41346c=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x41346c);});},{'priority':'low'}),this['listenTo'](_0x5c4b61,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5b38be){return this['_footnotes']['find'](_0x4dad67=>_0x4dad67['id']===_0x5b38be)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x53397c){this['_footnoteFormatter']=_0x53397c;}['_updateFootnotesCounters'](_0xc332ac,_0x2eaa3e=0x0){let _0x3141cb=!0x1;for(let _0x5a0391=_0x2eaa3e;_0x5a0391<this['_footnotes']['length'];_0x5a0391++)this['_updateFootnoteRefCounter'](_0xc332ac,_0x5a0391)&&(_0x3141cb=!0x0);return _0x3141cb;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e9a05,_0x2858c9){const _0x5a245a=_0x3e9a05['createElement']('footnotesDefinitions',{});return _0x3e9a05['append'](_0x5a245a,_0x2858c9),this['_footnotesDefinitions']=_0x5a245a,_0x5a245a;}['_ensureFootnotesDefinitionsContainerExists'](_0x2fe20a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x7c97af=this['_footnotes'][0x0]['reference']['root'],_0x11cb30=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2fe20a,_0x7c97af);for(const _0x1b45be of this['_footnotes'])_0x1b45be['definition']['parent']||_0x2fe20a['insert'](_0x1b45be['definition'],_0x11cb30,'end');this['_updateFootnotesCounters'](_0x2fe20a);}['_handleFootnotesDefinitionsObjectChanges'](_0x561bd8,_0x28b122){let _0x383a00=!0x1;const {inserted:_0x22d9ca,removed:_0x4cd46b,moved:_0x7f22a5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x28b122);if(_0x7f22a5['length']&&(this['_footnotesDefinitions']=_0x7f22a5[0x0]),_0x22d9ca['length']){if(_0x22d9ca['length']>0x1||this['_footnotesDefinitions']&&_0x22d9ca['some'](_0x1927cc=>_0x1927cc!==this['_footnotesDefinitions'])){const _0x4d31b4=_0x561bd8['createElement']('footnotesDefinitions',{}),_0x52febf=[];this['_footnotesDefinitions']&&_0x52febf['push'](this['_footnotesDefinitions']),_0x52febf['push'](..._0x22d9ca),_0x561bd8['insert'](_0x4d31b4,_0x52febf[0x0],'before');for(const _0x5e3bd0 of _0x52febf)_0x561bd8['move'](_0x561bd8['createRangeIn'](_0x5e3bd0),_0x561bd8['createPositionAt'](_0x4d31b4,'end')),_0x561bd8['remove'](_0x5e3bd0);this['_footnotesDefinitions']=_0x4d31b4,this['_updateFootnotesCounters'](_0x561bd8),_0x383a00=!0x0;}else this['_footnotesDefinitions']=_0x22d9ca[0x0];}if(_0x4cd46b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x39020b of this['_footnotes'])_0x561bd8['remove'](_0x39020b['reference']),_0x383a00=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x383a00;}['_handleFootnoteDefinitionsChanges'](_0x23599a,_0x200418){let _0x1f552e=!0x1;const _0x4e121b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x61d466,moved:_0x51ff00}=this['_footnoteDefsTracker']['getChanges'](_0x200418);for(const _0x205470 of[..._0x51ff00,..._0x61d466]){const _0x57a8cd=_0x205470['getAttribute']('footnoteId'),_0x566a69=this['getFootnote'](_0x57a8cd);_0x566a69&&(_0x566a69['definition']=_0x205470),_(_0x23599a,_0x4e121b,_0x205470)&&(_0x1f552e=!0x0);}return _0x1f552e;}['_handleFootnoteReferencesChanges'](_0x3fb207,_0x1d7eeb){let _0x534316=!0x1;const {removed:_0x582a30,inserted:_0x5a10ae,moved:_0x5c8b9d}=this['_footnoteRefsTracker']['getChanges'](_0x1d7eeb);for(const _0x122b59 of _0x582a30)this['_handleRemoveFootnoteReferenceById'](_0x3fb207,_0x122b59)&&(_0x534316=!0x0);for(const _0x3435ab of _0x5a10ae)this['_handleInsertedFootnoteReference'](_0x3fb207,_0x3435ab)&&(_0x534316=!0x0);for(const _0x30cc79 of _0x5c8b9d)this['_handleMovedFootnoteReference'](_0x3fb207,_0x30cc79)&&(_0x534316=!0x0);return _0x534316;}['_handleFootnotesDefinitionsObjectSync'](_0x586ae5){if(!this['_footnotesDefinitions'])return!0x1;let _0x2c46da=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x162da5=[];for(const _0x16ba05 of this['_footnotesDefinitions']['getChildren']()){const _0x20b24a=_0x16ba05['getAttribute']('footnoteId');this['getFootnote'](_0x20b24a)||(_0x162da5['unshift'](_0x16ba05),_0x2c46da=!0x0);}for(const _0x3c0ccf of _0x162da5)_0x586ae5['remove'](_0x3c0ccf);}const _0x115531=new Set(),_0x351936=[];for(const _0x1231ea of this['_footnotesDefinitions']['getChildren']()){const _0x798976=_0x1231ea['getAttribute']('footnoteId');_0x115531['has'](_0x798976)?(_0x351936['unshift'](_0x1231ea),_0x2c46da=!0x0):_0x115531['add'](_0x798976);}for(const _0x45cde3 of _0x351936)_0x586ae5['remove'](_0x45cde3);return this['_footnotesDefinitions']['childCount']||(_0x586ae5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2c46da=!0x0),_0x2c46da;}['_handleInsertedFootnoteReference'](_0x54ce92,_0x2160fd){if(this['_footnotes']['find'](_0x436034=>_0x436034['reference']===_0x2160fd))return!0x1;let _0x4d9c00=!0x1;const _0x4b1958=_0x2160fd['getAttribute']('footnoteId'),_0x26a80a=this['_footnotes']['findIndex'](_0x46b242=>_0x46b242['id']===_0x4b1958);-0x1!==_0x26a80a&&(_0x54ce92['remove'](this['_footnotes'][_0x26a80a]['reference']),this['_footnotes']['splice'](_0x26a80a,0x1),_0x4d9c00=!0x0);let _0x134893=this['_footnotesDefinitions']?function(_0x2a0a05,_0x1b44f8){for(const _0x234ba9 of _0x2a0a05['getChildren']())if(_0x234ba9['getAttribute']('footnoteId')===_0x1b44f8)return _0x234ba9;return null;}(this['_footnotesDefinitions'],_0x4b1958):null;_0x134893||(_0x134893=_0x54ce92['createElement']('footnoteDefinition',{'footnoteId':_0x4b1958}),this['_footnotesDefinitions']&&(_0x54ce92['insert'](_0x134893,this['_footnotesDefinitions'],'end'),_0x4d9c00=!0x0));const _0x48a195={'id':_0x4b1958,'reference':_0x2160fd,'definition':_0x134893},_0x42be38=I(this['editor']['model'],this['_footnotes'],_0x2160fd);this['_footnotes']['splice'](_0x42be38,0x0,_0x48a195);let _0x15d8c6=_0x42be38;return-0x1!==_0x26a80a&&(_0x15d8c6=Math['min'](_0x42be38,_0x26a80a)),this['_updateFootnotesCounters'](_0x54ce92,_0x15d8c6)&&(_0x4d9c00=!0x0),_0x4d9c00;}['_handleRemoveFootnoteReferenceById'](_0x1e35f9,_0x540561){const _0x5747a2=this['_footnotes']['findIndex'](_0x4fd68b=>_0x4fd68b['id']===_0x540561);if(-0x1===_0x5747a2)return!0x1;let _0x4fd042=!0x1;const _0x2cf9c3=this['_footnotes'][_0x5747a2];return'$graveyard'!==_0x2cf9c3['definition']['root']['rootName']&&(_0x1e35f9['remove'](_0x2cf9c3['definition']),_0x4fd042=!0x0),this['_footnotes']['splice'](_0x5747a2,0x1),this['_updateFootnotesCounters'](_0x1e35f9,_0x5747a2)&&(_0x4fd042=!0x0),_0x4fd042;}['_handleMovedFootnoteReference'](_0x296af,_0x414ddb){const _0x202400=_0x414ddb['getAttribute']('footnoteId'),_0x4cb5b7=this['_footnotes']['findIndex'](_0x3de81b=>_0x3de81b['id']===_0x202400),_0x2ef627=this['_footnotes'][_0x4cb5b7];let _0x1b93b9=!0x1;_0x2ef627['reference']=_0x414ddb,this['_footnotes']['splice'](_0x4cb5b7,0x1);const _0x361d13=I(this['editor']['model'],this['_footnotes'],_0x414ddb);return this['_footnotes']['splice'](_0x361d13,0x0,_0x2ef627),this['_updateFootnotesCounters'](_0x296af,Math['min'](_0x4cb5b7,_0x361d13))&&(_0x1b93b9=!0x0),_0x1b93b9;}['_updateFootnoteRefCounter'](_0x25c9e3,_0x1d6902){if(!this['_footnotesDefinitions'])return!0x1;const _0x239873=this['_footnotes'][_0x1d6902];let _0x336cf7;return _0x336cf7=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x239873,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1d6902+0x1}):String(_0x1d6902+0x1),_0x239873['reference']['getAttribute']('footnoteCounter')!=_0x336cf7&&(_0x25c9e3['setAttribute']('footnoteCounter',_0x336cf7,_0x239873['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4dafca){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1b07e2,_0x3f17e9){if(_0x1b07e2['length']!==_0x3f17e9['length'])return!0x1;for(let _0x13da46=0x0;_0x13da46<_0x1b07e2['length'];_0x13da46++)if(_0x1b07e2[_0x13da46]!==_0x3f17e9[_0x13da46])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3984e7=>_0x3984e7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x51ec4f=>_0x51ec4f['getAttribute']('footnoteId'))))return!0x1;let _0x352d36=!0x1;for(let _0x49ae3c=0x0;_0x49ae3c<this['_footnotes']['length'];_0x49ae3c++){const _0x17c5ec=this['_footnotes'][_0x49ae3c],_0x55e323=_0x4dafca['createPositionBefore'](_0x17c5ec['definition']),_0x573b31=_0x4dafca['createPositionAt'](this['_footnotesDefinitions'],_0x49ae3c);_0x55e323['isEqual'](_0x573b31)||(_0x4dafca['move'](_0x4dafca['createRangeOn'](_0x17c5ec['definition']),_0x573b31),_0x352d36=!0x0);}return _0x352d36;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3c203d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x502396}=this['editor'];let _0x1f1b55=!0x1;for(let _0x475ded=0x0;_0x475ded<this['_footnotes']['length']-0x1;_0x475ded++){const _0x4f42a4=this['_footnotes'][_0x475ded],_0x165a17=this['_footnotes'][_0x475ded+0x1],_0x55dc17=_0x502396['createPositionBefore'](_0x4f42a4['reference']),_0x5bf194=_0x502396['createPositionBefore'](_0x165a17['reference']);'after'===_0x55dc17['compareWith'](_0x5bf194)&&(this['_handleMovedFootnoteReference'](_0x3c203d,_0x4f42a4['reference']),_0x475ded=-0x1,_0x1f1b55=!0x0);}return _0x1f1b55;}}function _(_0x3c7de5,_0x1f9a81,_0x215fee){if(_0x215fee['childCount'])return!0x1;const _0xb7a4c2=_0x1f9a81?'paragraph':'footnoteInlineContent';return _0x3c7de5['insert'](_0x3c7de5['createElement'](_0xb7a4c2),_0x215fee),!0x0;}function I(_0x2cb7a9,_0x51119f,_0xdcef2f){if(0x0===_0x51119f['length'])return 0x0;const _0x1e215d=_0x2cb7a9['createPositionBefore'](_0xdcef2f);for(let _0x248841=0x0;_0x248841<_0x51119f['length'];_0x248841++){const _0x1fddae=_0x51119f[_0x248841],_0x353fd6=_0x2cb7a9['createPositionBefore'](_0x1fddae['reference']);if('before'===_0x1e215d['compareWith'](_0x353fd6))return _0x248841;}const _0x183741=_0xdcef2f['root'];let _0x58cde4=-0x1;for(let _0x4f6d1e=_0x51119f['length']-0x1;_0x4f6d1e>=0x0;_0x4f6d1e--)if(_0x51119f[_0x4f6d1e]['reference']['root']===_0x183741){_0x58cde4=_0x4f6d1e;break;}if(-0x1!==_0x58cde4)return _0x58cde4+0x1;const _0x51759d=_0x2cb7a9['document']['getRootNames'](),_0x5dd428=_0x51759d['indexOf'](_0x183741['rootName']),_0x36a511=_0x51759d[_0x5dd428+0x1];if(_0x36a511){for(let _0x533a47=0x0;_0x533a47<_0x51119f['length'];_0x533a47++)if(_0x51119f[_0x533a47]['reference']['root']['rootName']===_0x36a511)return _0x533a47;}return _0x51119f['length'];}class m extends _0x390675{['refresh'](){const _0x26444b=this['editor']['model']['document']['selection'],_0x2cb613=this['_getPositionToInsertFootnote'](_0x26444b);this['isEnabled']=!!_0x2cb613;}['execute'](_0x50fd6d){const {editor:_0x4655e3}=this,{model:_0x445bb3}=_0x4655e3,{selection:_0x1025aa}=_0x445bb3['document'],_0x50b4cf=this['_getPositionToInsertFootnote'](_0x1025aa);if(!_0x50b4cf)return;const _0x5da51f=_0x4655e3['plugins']['get']('FootnotesEditing'),_0x50048d=_0x50fd6d?.['footnoteId']??_0x1c4e41();!function(_0x38189f){return'string'==typeof _0x38189f&&_0x38189f['length']>0x0&&!/\s/['test'](_0x38189f)&&!/^\d/['test'](_0x38189f);}(_0x50048d)?_0x4e7b2a('insert-footnote-command-executed-with-invalid-id'):(_0x445bb3['change'](_0x5b2536=>{const _0x39bf99=_0x5b2536['createElement']('footnoteRef',{'footnoteId':_0x50048d});_0x445bb3['insertObject'](_0x39bf99,_0x50b4cf,null);}),_0x5da51f['_moveSelectionToFootnoteDefinition'](_0x50048d));}['_getPositionToInsertFootnote'](_0x4773e0){const {model:_0x27f427}=this['editor'],{schema:_0x425663}=_0x27f427,_0x4f246d=_0x4773e0['getFirstRange']();for(const _0x3da190 of _0x4f246d['getItems']())if(_0x425663['isBlock'](_0x3da190)||_0x425663['isObject'](_0x3da190))return null;const _0x39417f=_0x4f246d['end'];return _0x425663['checkChild'](_0x39417f,'footnoteRef')?_0x39417f:null;}}class r extends _0x3263b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x805e41}=this;_0x805e41['config']['define']('footnotes.multiBlock',!0x0),_0x805e41['commands']['add']('insertFootnote',new m(_0x805e41)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x430c8a){const _0xcbe02d=_0x1ade85([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]),_0x577dd1=0x47a28506,_0x4afda8=0x47a5fe0e^_0x577dd1,_0x4806ba=window[_0x1ade85([0x44,0x61,0x74,0x65])][_0x1ade85([0x6e,0x6f,0x77])](),_0x74147a=_0x430c8a[_0x1ade85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40c3ea=new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b029f=>{_0x74147a[_0x1ade85([0x6f,0x6e,0x63,0x65])](_0x1ade85([0x72,0x65,0x61,0x64,0x79]),_0x1b029f);}),_0x3fe03d={[_0x1ade85([0x6b,0x74,0x79])]:_0x1ade85([0x45,0x43]),[_0x1ade85([0x75,0x73,0x65])]:_0x1ade85([0x73,0x69,0x67]),[_0x1ade85([0x63,0x72,0x76])]:_0x1ade85([0x50,0x2d,0x32,0x35,0x36]),[_0x1ade85([0x78])]:_0x1ade85([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]),[_0x1ade85([0x79])]:_0x1ade85([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]),[_0x1ade85([0x61,0x6c,0x67])]:_0x1ade85([0x45,0x53,0x32,0x35,0x36])},_0x3a1541=_0x74147a[_0x1ade85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ade85([0x67,0x65,0x74])](_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d74d9(){let _0x1c6ba7,_0x12a3de=null,_0x5e2a76=null;try{if(_0x3a1541==_0x1ade85([0x47,0x50,0x4c]))return _0x1ade85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c6ba7=_0x5acae2(),!_0x1c6ba7)return _0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c6ba7[_0x1ade85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e2a76=_0x4843ff(_0x1c6ba7[_0x1ade85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c6ba7[_0x1ade85([0x6a,0x74,0x69])])),await _0x1ea0e3()?_0x399cdf()?_0x154715()?_0x1ade85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x198817()?(_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ade85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x12a3de=_0x1cbf2d(_0x1ade85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ade85([0x74,0x72,0x69,0x61,0x6c])&&(_0x12a3de=_0x1cbf2d(_0x1ade85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e156a()):_0x1ade85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ade85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ade85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x154715(){const _0x14e35e=[_0x1ade85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ade85([0x74,0x72,0x69,0x61,0x6c])][_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4806ba/0x3e8:0xe10*_0x4afda8;return _0x1c6ba7[_0x1ade85([0x65,0x78,0x70])]<_0x14e35e;}function _0x399cdf(){const _0x424334=_0x1c6ba7[_0x1ade85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x424334&&(!!_0x424334[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x2a]))||!!_0x424334[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x46,0x4f,0x4f])));}function _0x198817(){const _0x1d825b=_0x1c6ba7[_0x1ade85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d825b||0x0==_0x1d825b[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58e28c}=new URL(window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d825b[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e28c))return!0x0;const _0x1ba2ad=_0x58e28c[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e]));return _0x1d825b[_0x1ade85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x330ed7=>_0x330ed7[_0x1ade85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ade85([0x2a])))[_0x1ade85([0x6d,0x61,0x70])](_0x387102=>_0x387102[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e])))[_0x1ade85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x545795=>_0x545795[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ba2ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ade85([0x6d,0x61,0x70])](_0x13d751=>Array(_0x1ba2ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x13d751[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ade85([0x66,0x69,0x6c,0x6c])](_0x13d751[0x0]===_0x1ade85([0x2a])?_0x1ade85([0x2a]):'')[_0x1ade85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x13d751))[_0x1ade85([0x73,0x6f,0x6d,0x65])](_0x29927b=>_0x1ba2ad[_0x1ade85([0x65,0x76,0x65,0x72,0x79])]((_0x1b4c5b,_0x42b5d3)=>_0x29927b[_0x42b5d3]===_0x1b4c5b||_0x29927b[_0x42b5d3]===_0x1ade85([0x2a])));}function _0x5e156a(){return _0x12a3de&&_0x5e2a76?new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b0234,_0x99f1a7)=>{_0x12a3de[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x5b0234,_0x99f1a7),_0x5e2a76[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x3ab5e8=>{_0x3ab5e8!=_0x1ade85([0x56,0x61,0x6c,0x69,0x64])&&_0x5b0234(_0x3ab5e8);},_0x99f1a7);}):_0x12a3de||_0x5e2a76||_0x1ade85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4843ff(_0x5cd97c,_0x2c35be){return new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1290cd=>{if(_0x499011())return _0x1290cd(_0x1ade85([0x56,0x61,0x6c,0x69,0x64]));_0x27396f(),_0x74147a[_0x1ade85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19f6e4=!0x1;const _0x4232e6=_0x1c4e41();function _0x48b201(_0x30190d){return!!_0x30190d&&(typeof _0x30190d===_0x1ade85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30190d===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30190d[_0x1ade85([0x74,0x68,0x65,0x6e])]===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30190d[_0x1ade85([0x63,0x61,0x74,0x63,0x68])]===_0x1ade85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x178919(_0x4904fd){_0x3eec5c(_0x4904fd)[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x4184d5=>{if(!_0x4184d5||_0x4184d5[_0x1ade85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ade85([0x6f,0x6b]))return _0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3cc3ba(_0x5cabc9(_0x4232e6+_0x2c35be))!=_0x4184d5[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ade85([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ade85([0x74,0x68,0x65,0x6e])](_0xe2c696=>(_0x3e3ed6(),_0xe2c696),()=>{const _0x3d7ad0=_0x48c062();return null==_0x3d7ad0?(_0x3e3ed6(),_0x1ade85([0x56,0x61,0x6c,0x69,0x64])):_0x1ade85(_0x4806ba-_0x3d7ad0>(0x63ae0106^_0x577dd1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x1290cd)[_0x1ade85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x739848=0x47946b86^_0x577dd1;function _0x3e3ed6(){const _0x45c2c8=_0x1ade85([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cc3ba(_0x5cabc9(_0x5cd97c)),_0x153d74=_0x574c38(_0x3cc3ba(window[_0x1ade85([0x4d,0x61,0x74,0x68])][_0x1ade85([0x63,0x65,0x69,0x6c])](_0x4806ba/_0x739848)));window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ade85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45c2c8,_0x153d74);}function _0x48c062(){const _0x3a277c=_0x1ade85([0x6c,0x6c,0x63,0x74,0x2d])+_0x3cc3ba(_0x5cabc9(_0x5cd97c)),_0x557c81=window[_0x1ade85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ade85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a277c);return _0x557c81?window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x574c38(_0x557c81),0x10)*_0x739848:null;}function _0x3eec5c(_0x5e8ff1){return new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a2916,_0x15947e)=>{_0x5e8ff1[_0x1ade85([0x74,0x68,0x65,0x6e])](_0x5a2916,_0x15947e),window[_0x1ade85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15947e,0x47a351c6^_0x577dd1);});}}_0x74147a[_0x1ade85([0x6f,0x6e])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x59fcb4,_0x164986)=>{if(_0x164986[0x0]!=_0x5cd97c)return _0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x164986[0x1]={..._0x164986[0x1],[_0x1ade85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4232e6};},{[_0x1ade85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ade85([0x68,0x69,0x67,0x68])}),_0x74147a[_0x1ade85([0x6f,0x6e])](_0x1ade85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38bd2d=>{_0x48b201(_0x38bd2d[_0x1ade85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19f6e4=!0x0,_0x178919(_0x38bd2d[_0x1ade85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ade85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ade85([0x6c,0x6f,0x77])}),_0x40c3ea[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>{_0x19f6e4||_0x1290cd(_0x1ade85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x499011(){return _0x74147a[_0x1ade85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ade85([0x76,0x69,0x65,0x77])][_0x1ade85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ade85([0x61,0x75,0x74,0x6f]);}function _0x27396f(){_0x74147a[_0x1ade85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ade85([0x76,0x69,0x65,0x77])][_0x1ade85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ade85([0x61,0x75,0x74,0x6f]);}}function _0x1cbf2d(_0x57d1ae){const _0x6f56c3=[new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4194ff=>setTimeout(_0x4194ff,0x47abbbca^_0x577dd1)),_0x40c3ea[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410d81=>{let _0x40ebd9=0x0;_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x6f,0x6e])](_0x1ade85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38bd77,_0x1c38c0)=>{_0x1c38c0[0x0][_0x1ade85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40ebd9++,_0x40ebd9==(0x47a284fe^_0x577dd1)&&(_0x410d81(),_0x38bd77[_0x1ade85([0x6f,0x66,0x66])]());});}))];return window[_0x1ade85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ade85([0x72,0x61,0x63,0x65])](_0x6f56c3)[_0x1ade85([0x74,0x68,0x65,0x6e])](()=>_0x57d1ae);}async function _0x28f056(){await _0x40c3ea,_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fa59c,_0x74147a[_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ade85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fa59c,_0x74147a[_0x1ade85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ade85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4892cc(_0x25e5e9){const _0x8ee987=_0x1109a6();_0x74147a[_0x8ee987]=_0x1ade85([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25e5e9,_0x25e5e9!=_0x1ade85([0x56,0x61,0x6c,0x69,0x64])&&_0x28f056();}function _0x1109a6(){const _0x5442e1=window[_0x1ade85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ade85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ade85([0x6e,0x6f,0x77])]())[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ade85([0x2e]),'');let _0x5c2910=_0x1ade85([0x75]);for(let _0x4bc851=0x0;_0x4bc851<_0x5442e1[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bc851+=0x2){let _0x2ff7b3=window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5442e1[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bc851,_0x4bc851+0x2));_0x2ff7b3>=_0xcbe02d[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ff7b3-=_0xcbe02d[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c2910+=_0xcbe02d[_0x2ff7b3];}return _0x5c2910;}function _0x5acae2(){const _0x3c10ad=_0x3a1541[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e]));if(0x3!=_0x3c10ad[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x24ae01(_0x3c10ad[0x1]);function _0x24ae01(_0x53b9c2){const _0x477561=_0x31fd07(_0x53b9c2);return _0x477561&&_0x336b87()?_0x477561:null;function _0x336b87(){const _0x966641=_0x477561[_0x1ade85([0x6a,0x74,0x69])],_0x5799bc=window[_0x1ade85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x966641[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x966641[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x320e02={..._0x477561,[_0x1ade85([0x6a,0x74,0x69])]:_0x966641[_0x1ade85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x966641[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x320e02[_0x1ade85([0x76,0x63])],_0x5cabc9(_0x320e02)==_0x5799bc;}}}async function _0x1ea0e3(){let _0xf52fb1=!0x0;try{const _0x8c8d03=_0x3a1541[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])](_0x1ade85([0x2e])),[_0x377679,_0x2b5bc9,_0x199c35]=_0x8c8d03;return _0x319828(_0x377679),await _0x26bea4(_0x377679,_0x2b5bc9,_0x199c35),_0xf52fb1;}catch{return!0x1;}function _0x319828(_0x5ca0e6){const _0x234344=_0x31fd07(_0x5ca0e6);_0x234344&&_0x234344[_0x1ade85([0x61,0x6c,0x67])]==_0x1ade85([0x45,0x53,0x32,0x35,0x36])||(_0xf52fb1=!0x1);}async function _0x26bea4(_0x5c6700,_0x311201,_0x12eb58){const _0x21e7c6=window[_0x1ade85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ade85([0x66,0x72,0x6f,0x6d])](_0x2d02fd(_0x12eb58),_0x321cb7=>_0x321cb7[_0x1ade85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x209441=new window[(_0x1ade85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ade85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c6700+_0x1ade85([0x2e])+_0x311201),_0x53b7fb=window[_0x1ade85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ade85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53b7fb)return;const _0x1dd995=await _0x53b7fb[_0x1ade85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ade85([0x6a,0x77,0x6b]),_0x3fe03d,{[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x45,0x43,0x44,0x53,0x41]),[_0x1ade85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ade85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53b7fb[_0x1ade85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x45,0x43,0x44,0x53,0x41]),[_0x1ade85([0x68,0x61,0x73,0x68])]:{[_0x1ade85([0x6e,0x61,0x6d,0x65])]:_0x1ade85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dd995,_0x21e7c6,_0x209441)||(_0xf52fb1=!0x1);}}function _0x31fd07(_0x669699){return _0x669699[_0x1ade85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ade85([0x65,0x79]))?JSON[_0x1ade85([0x70,0x61,0x72,0x73,0x65])](_0x2d02fd(_0x669699)):null;}function _0x2d02fd(_0x3db2c4){return window[_0x1ade85([0x61,0x74,0x6f,0x62])](_0x3db2c4[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ade85([0x2b]))[_0x1ade85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ade85([0x2f])));}function _0x5cabc9(_0x54eecd){let _0x25f621=0x1505;function _0x51ac88(_0xc7ed8e){for(let _0x330086=0x0;_0x330086<_0xc7ed8e[_0x1ade85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x330086++){const _0x9904e9=_0xc7ed8e[_0x1ade85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x330086);_0x25f621=(_0x25f621<<0x5)+_0x25f621+_0x9904e9,_0x25f621&=_0x25f621;}}function _0x54f846(_0x10c183){Array[_0x1ade85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10c183)?_0x10c183[_0x1ade85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f846):_0x10c183&&typeof _0x10c183==_0x1ade85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ade85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10c183)[_0x1ade85([0x73,0x6f,0x72,0x74])]()[_0x1ade85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x580572,_0x324d44])=>{_0x51ac88(_0x580572),_0x54f846(_0x324d44);}):_0x51ac88(window[_0x1ade85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10c183));}return _0x54f846(_0x54eecd),_0x25f621>>>0x0;}function _0x3cc3ba(_0xac3f8f){return _0xac3f8f[_0x1ade85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ade85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ade85([0x30]));}function _0x574c38(_0x2f8141){return _0x2f8141[_0x1ade85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ade85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ade85([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fa59c(){}function _0x1ade85(_0x22f733){return _0x22f733['map'](_0x40be09=>String['fromCharCode'](_0x40be09))['join']('');}_0x4892cc(await _0x3d74d9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4721de){const {plugins:_0x5047f2,editing:_0xe58aa,model:_0x1bbbbd}=this['editor'],_0x22bfed=_0x5047f2['get'](f)['getFootnote'](_0x4721de);return!!_0x22bfed&&(_0x1bbbbd['change'](_0x56a611=>{_0x56a611['setSelection'](_0x56a611['createPositionAt'](_0x22bfed['definition'],'end'));}),_0xe58aa['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x165a55){const {plugins:_0x51efdc,editing:_0x13ce72,model:_0x4ac1ec}=this['editor'],_0x4661c3=_0x51efdc['get'](f)['getFootnote'](_0x165a55);return!!_0x4661c3&&(_0x4ac1ec['change'](_0x47ada5=>{_0x47ada5['setSelection'](_0x4661c3['reference'],'on');}),_0x13ce72['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2cd0e4}=this['editor']['model'],_0x38e0b3=this['editor']['config']['get']('footnotes.multiBlock');_0x2cd0e4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2cd0e4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2cd0e4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x38e0b3?_0x2cd0e4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2cd0e4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2cd0e4['addChildCheck'](_0x118839=>{for(const _0x43b96b of _0x118839)if('footnoteDefinition'===_0x43b96b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xff640a}=this,{conversion:_0x174ba1,editing:_0x38d6a6}=_0xff640a,{t:t}=_0xff640a['locale'];_0x174ba1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b8733,{writer:_0x52200e,consumable:_0x3831d1})=>{const _0x2abfb8=_0x3b8733['getChild'](0x0);if(!_0x2abfb8||!_0x2abfb8['is']('element','a'))return null;const _0x2f6903=_0x2abfb8['getAttribute']('href')||'';if(!_0x2f6903['startsWith']('#'))return null;const _0x24fb95=_0x2f6903['replace'](/^#/,'');if(!_0x24fb95)return null;_0x3831d1['consume'](_0x2abfb8,{'name':!0x0,'attributes':['href']});for(const {item:_0x15cf1d}of _0x38d6a6['view']['createRangeIn'](_0x2abfb8))_0x15cf1d['is']('$textProxy')?_0x3831d1['consume'](_0x15cf1d['textNode'],{'name':!0x0}):_0x15cf1d['is']('element')&&_0x3831d1['consume'](_0x15cf1d,{'name':!0x0});return _0x52200e['createElement']('footnoteRef',{'footnoteId':_0x24fb95});}}),_0x174ba1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5bd361,{writer:_0x44fe83})=>D(_0x5bd361,_0x44fe83)}),_0x174ba1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x35cf6b,{writer:_0x152cab})=>{const _0x25cafb=_0x35cf6b['getAttribute']('footnoteCounter');return _0x58422d(D(_0x35cf6b,_0x152cab),_0x152cab,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x25cafb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3f42a8}=this,{t:t}=_0x3f42a8['locale'],{conversion:_0x20a562}=_0x3f42a8;_0x20a562['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x20a562['for']('upcast')['add'](_0x621e7f=>{_0x621e7f['on']('element:ol',(_0x1777a4,_0x14000c,_0x366182)=>{const _0x1adec1=_0x14000c['viewItem'];if(!_0x1adec1['hasClass']('footnotes-list')||!_0x14000c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x366182['consumable']['consume'](_0x1adec1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x280d86,modelCursor:_0x43ac6f}=_0x366182['convertChildren'](_0x14000c['viewItem'],_0x14000c['modelCursor']);_0x14000c['modelRange']=_0x280d86,_0x14000c['modelCursor']=_0x43ac6f;}),_0x621e7f['on']('element:hr',(_0x2f5ec8,_0x1b2c44,_0x3e6414)=>{const _0x442f7d=_0x1b2c44['viewItem'];_0x442f7d['hasClass']('footnotes-divider')&&_0x1b2c44['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e6414['consumable']['consume'](_0x442f7d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x20a562['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5dd1fb,{writer:_0x246630})=>v(_0x246630)}),_0x20a562['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x476157,{writer:_0x4776f5})=>{const _0x855544=v(_0x4776f5,{'data-footnotes-list-label':t('Footnotes')}),_0x5a35e3=_0x58422d(_0x855544,_0x4776f5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4776f5['setCustomProperty']('footnotesDefinitions',!0x0,_0x5a35e3),_0x5a35e3;}});}['_defineDefinitionConverters'](){const {editor:_0x528314}=this,{conversion:_0x538efa,locale:_0xe751fe}=_0x528314,_0x25a868=_0x528314['config']['get']('footnotes.multiBlock');_0x538efa['for']('upcast')['add'](_0xa31bf5=>{_0xa31bf5['on']('element:li',(_0x49e89c,_0x2d45ba,_0x213cfb)=>{const _0x5bb062=_0x2d45ba['viewItem'];if(!_0x5bb062['hasClass']('footnote-definition')||!_0x5bb062['getAttribute']('id'))return;const _0xdb5f0a=_0x5bb062['parent'];if(!_0xdb5f0a['is']('element','ol')||!_0xdb5f0a['hasClass']('footnotes-list'))return;if(!_0x213cfb['consumable']['test'](_0x5bb062,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x417161=_0x213cfb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5bb062['getAttribute']('id')});if(!_0x213cfb['safeInsert'](_0x417161,_0x2d45ba['modelCursor']))return;_0x213cfb['consumable']['consume'](_0x5bb062,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52bfe8=Array['from'](_0x5bb062['getChildren']())['find'](_0x11930a=>_0x11930a['is']('element')&&_0x11930a['hasClass']('footnote-content'));for(const _0x516518 of _0x5bb062['getChildren']())_0x516518['is']('element')&&(_0x213cfb['consumable']['consume'](_0x516518,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x213cfb['consumable']['consume'](_0x516518,{'name':!0x0,'classes':'footnote-content'}));if(_0x52bfe8){if(_0x25a868)_0x213cfb['convertChildren'](_0x52bfe8,_0x417161);else{const _0x1f90e1=_0x213cfb['writer']['createElement']('footnoteInlineContent');_0x213cfb['writer']['insert'](_0x1f90e1,_0x417161),_0x213cfb['convertChildren'](_0x52bfe8,_0x1f90e1);}}_0x213cfb['updateConversionResult'](_0x417161,_0x2d45ba);});}),_0x538efa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x298c9b,{writer:_0x1f841b})=>b(_0x298c9b,_0x1f841b,_0xe751fe,{'dataPipeline':!0x0})}),_0x538efa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x315c86,{writer:_0x4e9772})=>b(_0x315c86,_0x4e9772,_0xe751fe)});}['_defineBogusParagraphConverters'](){const {editor:_0x1c3860}=this,{conversion:_0x30aab6}=_0x1c3860;_0x1c3860['config']['get']('footnotes.multiBlock')?(_0x30aab6['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x30aab6['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1c3860['model']['document'],'change:data',()=>{!function(_0x5d3ab4,_0x3a508c){const _0x4ca565=_0x5d3ab4['document']['differ'],_0x5476c1=new Set();for(const _0xef54ed of _0x4ca565['getChanges']()){const _0x3d602f='attribute'==_0xef54ed['type']?_0xef54ed['range']['start']['parent']:_0xef54ed['position']['parent'];_0x3d602f['is']('element','footnoteDefinition')&&_0x5476c1['add'](_0x3d602f);}for(const _0x1477fe of _0x5476c1['values']()){const _0x43ac47=Array['from'](_0x1477fe['getChildren']())['filter'](_0xb71649=>g(_0xb71649,_0x3a508c['mapper']));for(const _0x5ab3f0 of _0x43ac47)_0x3a508c['reconvertItem'](_0x5ab3f0);}}(_0x1c3860['model'],_0x1c3860['editing']);})):(_0x30aab6['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x30aab6['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x34d07f,{writer:_0x2d1f02})=>{const _0x413c50=_0x2d1f02['createContainerElement']('span');return _0x2d1f02['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x413c50),_0x413c50;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4621fd}=this,{editing:_0x181da6,t:t}=_0x4621fd,_0x4d843d=_0x4621fd['model']['document']['selection'];_0x4621fd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4621fd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x181da6['view']['document'],'enter',(_0x40b573,_0x219541)=>{const _0xc08dac=function(_0x37eb2e){const _0x1018d3=_0x37eb2e['getSelectedElement']();if(_0x1018d3?.['is']('element','footnoteRef'))return _0x1018d3;return null;}(_0x4d843d);if(_0xc08dac){const _0x3a621c=_0xc08dac['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3a621c),_0x219541['preventDefault'](),_0x40b573['stop']();}},{'context':_0x54c03d});}['_defineClickHandlers'](){const {editor:_0x483a97}=this,{editing:_0x45ce2d}=_0x483a97;_0x483a97['editing']['view']['addObserver'](_0x39f5a2),_0x483a97['editing']['view']['addObserver'](_0x2d1ad5);let _0x2c700c=!0x1;this['listenTo'](_0x45ce2d['view']['document'],'pointerdown',(_0xdc9cdc,_0x190edd)=>{const {target:_0x338ee5}=_0x190edd,_0x1142b7=_0x45ce2d['view']['document']['selection'];_0x2c700c=!!(_0x338ee5?.['is']('element','a')&&_0x338ee5['parent']?.['is']('element','sup')&&_0x338ee5['parent']['hasClass']('footnote'))&&_0x1142b7['getSelectedElement']()===_0x338ee5['parent'];},{'priority':'high'}),this['listenTo'](_0x45ce2d['view']['document'],'click',(_0x5a2e57,_0x55fbc7)=>{const {target:_0x397954}=_0x55fbc7;if(!_0x397954?.['is']('element','a'))return;if(_0x397954['parent']?.['is']('element','sup')&&_0x397954['parent']['hasClass']('footnote')&&!_0x2c700c)return void _0x55fbc7['preventDefault']();let _0x3fa49d=_0x397954['getAttribute']('href');if(!_0x3fa49d?.['startsWith']('#'))return;_0x3fa49d=_0x3fa49d['slice'](0x1);let _0x5d42ab=!0x1;(_0x3fa49d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3fa49d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3fa49d))&&(_0x5d42ab=!0x0),_0x5d42ab&&(_0x55fbc7['preventDefault'](),_0x5a2e57['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x495132}={}){return(_0x13ae2a,{writer:_0x1d4d7b})=>{if(!p(_0x13ae2a))return null;if(!_0x495132)return _0x1d4d7b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3c281c=_0x1d4d7b['createContainerElement']('p');return _0x1d4d7b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3c281c),_0x3c281c;};}function p(_0x1ed054){const {parent:_0x335a78}=_0x1ed054;if(!_0x335a78?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x335a78['childCount'])return!0x1;for(const _0x2b4250 of _0x1ed054['getAttributeKeys']())if(!_0x2b4250['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2b4250)return!0x1;return!0x0;}function g(_0x95008a,_0x3ef466){if(!_0x95008a['is']('element','paragraph'))return!0x1;const _0x1bfc24=_0x3ef466['toViewElement'](_0x95008a);return!!_0x1bfc24&&p(_0x95008a)!==_0x1bfc24['is']('element','span');}function J(_0x4566cc){return _0x54c03d(_0x4566cc)&&_0x4566cc['is']('containerElement')&&!!_0x4566cc['getCustomProperty']('footnotesDefinitions');}function v(_0x14f3e8,_0x12db0b={}){const _0x11949b=_0x14f3e8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x45ac04=_0x14f3e8['createContainerElement']('ol',{'class':'footnotes-list'},_0x14f3e8['createSlot']());return _0x14f3e8['createContainerElement']('div',{'class':'footnotes',..._0x12db0b},[_0x11949b,_0x45ac04]);}function D(_0x160b77,_0x55e13c){const _0x46cb2d=_0x160b77['getAttribute']('footnoteId'),_0x521fb4=_0x160b77['getAttribute']('footnoteCounter'),_0x7fde8a=_0x55e13c['createUIElement']('a',{'href':'#'+_0x46cb2d},function(_0x1a747e){const _0x5a95c2=this['toDomElement'](_0x1a747e);return _0x5a95c2['textContent']=_0x521fb4,_0x5a95c2;}),_0x69d8c2=_0x55e13c['createContainerElement']('sup',{'id':'ref-'+_0x46cb2d,'class':'footnote'},[_0x7fde8a]);return _0x69d8c2['getFillerOffset']=()=>null,_0x69d8c2;}function b(_0x26fa5e,_0x5033e2,_0x52c9a3,{dataPipeline:_0x5ae599}={}){const {t:t}=_0x52c9a3,_0x1d6d3c=_0x26fa5e['getAttribute']('footnoteId'),_0x118c88=_0x5033e2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d6d3c},function(_0x5b1a54){const _0x3996a8=this['toDomElement'](_0x5b1a54);return _0x3996a8['innerText']='^',_0x3996a8;}),_0x4c412f=_0x5ae599?_0x5033e2['createContainerElement']('div',{'class':'footnote-content'}):_0x5abf7f(_0x5033e2['createEditableElement']('div',{'class':'footnote-content'}),_0x5033e2,{'label':t('Footnote\x20content.')});return _0x5033e2['insert'](_0x5033e2['createPositionAt'](_0x4c412f,0x0),_0x5033e2['createSlot']()),_0x5033e2['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d6d3c},[_0x118c88,_0x4c412f]);}class e extends _0x3263b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x500ebe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x242049}=this,{plugins:_0x214475,model:_0x1e2058}=_0x242049,_0x4d5874=_0x214475['get'](_0x500ebe),_0x3700b2=_0x214475['get'](f);this['listenTo'](_0x4d5874,'outputTransformation',(_0x1f7799,_0x4f168a)=>{const _0x5676b9=c(_0x1e2058['createRangeIn'](_0x4f168a['content']));if(!_0x5676b9['length'])return;const _0x538cb1=_0x3700b2['getFootnotes'](),_0x22eb96=_0x5676b9['reduce']((_0x3f003a,_0x46a233)=>{const _0x134dc7=_0x538cb1['find'](_0x373310=>_0x373310['id']===_0x46a233);if(_0x134dc7){const _0x2e95a2=_0x242049['data']['toView'](_0x134dc7['definition'],{'isClipboardPipeline':!0x0}),_0x42169d=_0x242049['data']['htmlProcessor']['toData'](_0x2e95a2);_0x3f003a[_0x134dc7['id']]=_0x42169d;}return _0x3f003a;},Object['create'](null));_0x4f168a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x22eb96));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x38e841}=this,{model:_0x760a81,plugins:_0x1e0672}=_0x38e841,{view:_0x27cc93}=_0x38e841['editing'],_0x4bc00d=_0x1e0672['get'](_0x500ebe),_0x2aebe6=_0x1e0672['get'](f),_0x4a18e5=_0x38e841['config']['get']('footnotes.multiBlock');let _0x43b999=null;this['listenTo'](_0x27cc93['document'],'clipboardInput',(_0x5ef717,_0xe492fe)=>{const _0x2b96b8=_0xe492fe['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x43b999=_0x2b96b8?JSON['parse'](_0x2b96b8):null;}),this['listenTo'](_0x4bc00d,'contentInsertion',(_0x22185f,_0x59ddf9)=>{const _0x228207=_0x59ddf9['sourceEditorId']===this['editor']['id'];_0x228207&&'drop'===_0x59ddf9['method']||_0x760a81['change'](_0x43db38=>{let _0x227c4f=_0x2aebe6['getFootnotesDefinitionsObjectElement']();const _0x2f6a24=!!_0x227c4f&&Array['from'](_0x760a81['document']['selection']['getSelectedBlocks']())['includes'](_0x227c4f);if((_0x227c4f&&!_0x2f6a24||!_0x227c4f&&!_0x43b999)&&function(_0x16b3c4,_0x2f3ad8){const _0x53d336=[];for(const {item:_0x43171b}of _0x16b3c4['createRangeIn'](_0x2f3ad8))_0x43171b['is']('element','footnotesDefinitions')&&_0x53d336['push'](_0x43171b);for(const _0x100f37 of _0x53d336)_0x16b3c4['remove'](_0x100f37);}(_0x43db38,_0x59ddf9['content']),!_0x43b999)return;const {selection:_0x18343c}=_0x760a81['document'],_0x922b6e=_0x18343c['getFirstRange']()['root'];_0x227c4f&&!_0x2f6a24||(_0x227c4f=function(_0x4bbbf9,_0x11b4c1){for(const {item:_0x13d5da}of _0x4bbbf9['createRangeIn'](_0x11b4c1))if(_0x13d5da['is']('element','footnotesDefinitions'))return _0x13d5da;return null;}(_0x43db38,_0x59ddf9['content']),_0x227c4f||=_0x2aebe6['_insertEmptyFootnotesDefinitionsContainer'](_0x43db38,_0x922b6e));const _0x507881=Array['from'](_0x18343c['getRanges']())['flatMap'](c),_0x185d1a=function(_0x54835a,_0x4bb387,_0x27bbd0){const _0x4959a9=Object['create'](null);for(const {item:_0x225542}of _0x54835a['createRangeIn'](_0x4bb387))if(_0x225542['is']('element','footnoteRef')){const _0x4465d7=_0x225542['getAttribute']('footnoteId');if(!_0x27bbd0(_0x4465d7))continue;_0x4959a9[_0x4465d7]||(_0x4959a9[_0x4465d7]=_0x1c4e41()),_0x54835a['setAttribute']('footnoteId',_0x4959a9[_0x4465d7],_0x225542);}return _0x4959a9;}(_0x43db38,_0x59ddf9['content'],_0x4c8e1e=>{if(!_0x228207)return!0x0;return!!_0x2aebe6['getFootnote'](_0x4c8e1e)&&!_0x507881['includes'](_0x4c8e1e);});for(const [_0x2df5cb,_0x96cc1b]of Object['entries'](_0x43b999)){const _0x4aa1db=_0x185d1a[_0x2df5cb]||_0x2df5cb,_0x2bca1b=_0x43db38['createElement']('footnoteDefinition',{'footnoteId':_0x4aa1db}),_0x576437=_0x38e841['data']['htmlProcessor']['toView'](_0x96cc1b);let _0x5e1f7b;if(_0x4a18e5)_0x5e1f7b=_0x38e841['data']['toModel'](_0x576437,_0x2bca1b);else{_0x5e1f7b=_0x43db38['createElement']('footnoteInlineContent');const _0x4258fe=_0x38e841['data']['toModel'](_0x576437,_0x5e1f7b);_0x43db38['insert'](_0x4258fe,_0x5e1f7b);}_0x43db38['append'](_0x5e1f7b,_0x2bca1b),_0x43db38['insert'](_0x2bca1b,_0x227c4f,'end');}_0x43b999=null;});});}}function c(_0x2baa9b){const _0x1abceb=new Set();for(const {item:_0xf85ee7}of _0x2baa9b)_0xf85ee7['is']('element','footnoteRef')&&_0x1abceb['add'](_0xf85ee7['getAttribute']('footnoteId'));return Array['from'](_0x1abceb);}class i extends _0x3263b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x100669}=this,{componentFactory:_0x3d63ca}=_0x100669['ui'];_0x3d63ca['add']('insertFootnote',x(_0x100669,_0xa80dc1)),_0x3d63ca['add']('menuBar:insertFootnote',x(_0x100669,_0x9fabdf)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b6f74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x45557a;for(const _0x3fe56c in _0x1b6f74){const _0xab918a=_0x3fe56c,_0x1c9534=_0x1b6f74[_0xab918a];if('footnotesLicenseKeyValid'==_0x1c9534||'footnotesLicenseKeyInvalid'==_0x1c9534||'footnotesLicenseKeyExpired'==_0x1c9534||'footnotesLicenseKeyDomainLimit'==_0x1c9534||'footnotesLicenseKeyNotAllowed'==_0x1c9534||'footnotesLicenseKeyEvaluationLimit'==_0x1c9534||'footnotesLicenseKeyTrialLimit'==_0x1c9534||'footnotesLicenseKeyUsageLimit'==_0x1c9534){delete _0x1b6f74[_0xab918a],_0x45557a=_0x1c9534,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x45557a&&_0x1b6f74['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x45557a&&_0x1b6f74['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x45557a&&_0x1b6f74['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x45557a&&_0x1b6f74['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x29ad3a,_0x556e26){const _0x10814c=_0x29ad3a['commands']['get']('insertFootnote');return _0x2cea72=>{const {t:t}=_0x2cea72,_0x110327=new _0x556e26(_0x2cea72),_0x1d65f4=_0x110327 instanceof _0x9fabdf;return _0x110327['bind']('isEnabled')['to'](_0x10814c,'isEnabled'),_0x110327['set']({'label':t(_0x1d65f4?'Footnote':'Insert\x20footnote'),'icon':_0x2db4f8,'tooltip':!0x0}),_0x110327['on']('execute',()=>{_0x10814c['execute'](),_0x29ad3a['editing']['view']['focus']();}),_0x110327;};}class lt extends _0x3263b6{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 _0x390675{['refresh'](){const {editor:_0x15f60e}=this,_0x521ee9=_0x15f60e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x521ee9,this['value']=_0x521ee9?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x573c0f}){const {editor:_0x2fc223}=this,_0x531f22=_0x2fc223['plugins']['get'](f),_0x183971=_0x531f22['getFootnotesDefinitionsObjectElement']();_0x183971&&Q['includes'](_0x573c0f)&&_0x2fc223['model']['change'](_0x474a11=>{_0x474a11['setAttribute']('footnotesListStyle',_0x573c0f,_0x183971),_0x531f22['_updateFootnotesCounters'](_0x474a11);});}}class C extends _0x390675{['refresh'](){const {editor:_0x4f826b}=this,_0x106772=_0x4f826b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x106772,this['value']=_0x106772?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3f6d2a}){const {editor:_0x15e0aa}=this,_0x3e3c55=_0x15e0aa['plugins']['get'](f),_0x5ab018=_0x3e3c55['getFootnotesDefinitionsObjectElement']();_0x5ab018&&Number['isInteger'](_0x3f6d2a)&&_0x15e0aa['model']['change'](_0x48841c=>{_0x48841c['setAttribute']('footnotesListStart',_0x3f6d2a,_0x5ab018),_0x3e3c55['_updateFootnotesCounters'](_0x48841c);});}}class P extends _0x3263b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x258ff7}=this;_0x258ff7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x258ff7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x258ff7['commands']['add']('footnotesStyle',new S(_0x258ff7)),_0x258ff7['commands']['add']('footnotesStart',new C(_0x258ff7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5d9411}=this,{schema:_0x166ab9}=_0x5d9411['model'];_0x166ab9['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x146b58}=this,{conversion:_0x15dde5,model:_0x506b76}=_0x146b58,{schema:_0xddbc9f}=_0x506b76;_0x15dde5['for']('upcast')['add'](_0x149474=>{_0x149474['on']('element:ol',(_0x524e4d,_0x18bd66,_0x160116)=>{const _0xdd3fd6=_0x18bd66['viewItem'],_0xacfb88=_0x18bd66['modelCursor']?.['parent'];_0xdd3fd6['hasClass']('footnotes-list')&&_0xacfb88?.['is']('element','footnotesDefinitions')&&(function(_0x13e759,_0x33493a,_0x28b059,_0x4a77b3){if(!_0x4a77b3['checkAttribute'](_0x33493a,'footnotesListStart'))return;let _0x149513=0x1;const _0x3cb90b=_0x28b059['consumable']['consume'](_0x13e759,{'attributes':'start'});if(_0x3cb90b){const _0x2da53a=Number['parseInt'](_0x13e759['getAttribute']('start'),0xa);Number['isNaN'](_0x2da53a)||(_0x149513=_0x2da53a);}!_0x3cb90b&&_0x33493a['hasAttribute']('footnotesListStart')||_0x28b059['writer']['setAttribute']('footnotesListStart',_0x149513,_0x33493a);}(_0xdd3fd6,_0xacfb88,_0x160116,_0xddbc9f),function(_0x22c4be,_0x513bc0,_0x4e3bff,_0x790c83){if(!_0x790c83['checkAttribute'](_0x513bc0,'footnotesListStyle'))return;let _0x5f44f1='decimal',_0x441a8f=!0x1;if(_0x4e3bff['consumable']['consume'](_0x22c4be,{'attributes':'type'})){const _0x2594a0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x22c4be['getAttribute']('type')];_0x2594a0&&(_0x5f44f1=_0x2594a0),_0x441a8f=!0x0;}_0x4e3bff['consumable']['consume'](_0x22c4be,{'styles':'list-style-type'})&&(_0x5f44f1=function(_0x22ad02){switch(_0x22ad02){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x22ad02;}}(_0x22c4be['getStyle']('list-style-type')),_0x441a8f=!0x0),!_0x441a8f&&_0x513bc0['hasAttribute']('footnotesListStyle')||_0x4e3bff['writer']['setAttribute']('footnotesListStyle',_0x5f44f1,_0x513bc0);}(_0xdd3fd6,_0xacfb88,_0x160116,_0xddbc9f));});}),_0x15dde5['for']('downcast')['add'](_0x59bed3=>{_0x59bed3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xadd72b,_0x2f2057,_0x5e18e4)=>{if(!_0x5e18e4['consumable']['consume'](_0x2f2057['item'],_0xadd72b['name']))return;const _0x4cd8cb=M(_0x2f2057['item'],_0x5e18e4['mapper']),{attributeNewValue:_0x8d8eb9}=_0x2f2057;null==_0x8d8eb9||0x1===_0x8d8eb9?_0x5e18e4['writer']['removeAttribute']('start',_0x4cd8cb):_0x5e18e4['writer']['setAttribute']('start',String(_0x8d8eb9),_0x4cd8cb);}),_0x59bed3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1138e1,_0x5b58d0,_0xbcf0ad)=>{if(!_0xbcf0ad['consumable']['consume'](_0x5b58d0['item'],_0x1138e1['name']))return;const _0x431003=M(_0x5b58d0['item'],_0xbcf0ad['mapper']),{attributeNewValue:_0x3de480}=_0x5b58d0;_0x3de480&&'decimal'!==_0x3de480?_0xbcf0ad['writer']['setStyle']('list-style-type',_0x3de480,_0x431003):_0xbcf0ad['writer']['removeStyle']('list-style-type',_0x431003);});});}['_definePostfixer'](){const {editor:_0x34cc72}=this,{model:_0x3c6e18}=_0x34cc72,_0x2ff0cd=_0x34cc72['plugins']['get'](f),_0x292d6f=this['_getDefaultListStyle'](),_0xf2ebcc=this['_getDefaultStartIndex']();_0x3c6e18['document']['registerPostFixer'](_0x3bd2b2=>{const _0x5ec6cf=_0x3c6e18['document']['differ']['getChanges']();let _0x2da2ba=!0x1;for(const _0x4d5eb8 of _0x5ec6cf){if('insert'!==_0x4d5eb8['type']||'$text'===_0x4d5eb8['name'])continue;const _0x4b0704=_0x3c6e18['createRangeOn'](_0x4d5eb8['position']['nodeAfter']);for(const _0x177bd6 of _0x4b0704['getItems']())_0x177bd6['is']('element','footnotesDefinitions')&&(!_0x177bd6['hasAttribute']('footnotesListStart')&&_0x3c6e18['schema']['checkAttribute'](_0x177bd6,'footnotesListStart')&&(_0x3bd2b2['setAttribute']('footnotesListStart',_0xf2ebcc,_0x177bd6),_0x2da2ba=!0x0),!_0x177bd6['hasAttribute']('footnotesListStyle')&&_0x3c6e18['schema']['checkAttribute'](_0x177bd6,'footnotesListStyle')&&(_0x3bd2b2['setAttribute']('footnotesListStyle',_0x292d6f,_0x177bd6),_0x2da2ba=!0x0));}return _0x2da2ba&&_0x2ff0cd['_updateFootnotesCounters'](_0x3bd2b2),_0x2da2ba;});}['_defineFormatter'](){const {editor:_0x1dfb10}=this;_0x1dfb10['plugins']['get'](f)['setFootnoteFormatter'](_0x3a692a=>this['_formatFootnoteListValue'](_0x3a692a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x45c9d9,value:_0x3c78b7,digits:_0x3355ea}){const _0x502255=_0x45c9d9['getAttribute']('footnotesListStyle'),_0x2b0abb=_0x45c9d9['getAttribute']('footnotesListStart'),_0x4a7149=Math['floor'](_0x3c78b7)+(_0x2b0abb??0x1)-0x1;switch(_0x502255){case'decimal-leading-zero':return function(_0x1fa906,_0x3fff2e){return String(_0x1fa906)['padStart'](_0x3fff2e,'0');}(_0x4a7149,Math['max'](0x2,_0x3355ea));case'lower-alpha':case'lower-latin':return N(_0x4a7149,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4a7149,!0x0);case'lower-roman':return X(_0x4a7149,!0x1);case'upper-roman':return X(_0x4a7149,!0x0);default:return String(_0x4a7149);}}}function M(_0x16ca07,_0x2c7cf6){const _0x54be6a=_0x2c7cf6['toViewElement'](_0x16ca07);return Array['from'](_0x54be6a['getChildren']())['find'](_0x1ff2bb=>_0x1ff2bb['is']('element','ol')&&_0x1ff2bb['hasClass']('footnotes-list'));}function N(_0x297b44,_0x19009f){let _0x297ae4='',_0xae3e88=_0x297b44;for(;_0xae3e88>0x0;){const _0xf7c335=(_0xae3e88-0x1)%0x1a;_0x297ae4=String['fromCharCode'](0x61+_0xf7c335)+_0x297ae4,_0xae3e88=Math['floor']((_0xae3e88-0x1)/0x1a);}return _0x19009f?_0x297ae4['toUpperCase']():_0x297ae4;}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(_0x41c598,_0x519cd0){let _0x582fb0='',_0x43f53e=_0x41c598;for(const {value:_0x244744,numeral:_0x132d9b}of V)for(;_0x43f53e>=_0x244744;)_0x582fb0+=_0x132d9b,_0x43f53e-=_0x244744;return _0x519cd0?_0x582fb0:_0x582fb0['toLowerCase']();}class H extends _0x425827{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x482a02();['focusCycler'];constructor(_0x2a236b,{styleButtonViews:_0x52c775,styleGridAriaLabel:_0x1e66a4}){super(_0x2a236b),(this['focusCycler']=new _0x5b8f14({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x52c775,_0x1e66a4),[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 _0x1ca345 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ca345['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 _0x3e8625=_0x4f2686=>_0x4f2686['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3e8625),this['keystrokes']['set']('arrowleft',_0x3e8625),this['keystrokes']['set']('arrowup',_0x3e8625),this['keystrokes']['set']('arrowdown',_0x3e8625);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x50fedc,_0x59181){const _0x5f19ca=new _0x425827(this['locale']);return _0x5f19ca['children']=_0x5f19ca['createCollection'](),_0x5f19ca['children']['addMany'](_0x50fedc),_0x5f19ca['setTemplate']({'tag':'div','attributes':{'aria-label':_0x59181,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5f19ca['children']}),_0x5f19ca['children']['delegate']('execute')['to'](this),_0x5f19ca['focus']=function(){for(const _0x584a93 of this['children'])if(_0x584a93 instanceof _0xa80dc1&&_0x584a93['isOn'])return void _0x584a93['focus']();this['children']['first']['focus']();},_0x5f19ca['focusTracker']=new ot(),_0x5f19ca['keystrokes']=new rt(),_0x5f19ca['render'](),_0x5f19ca['keystrokes']['listenTo'](_0x5f19ca['element']),this['children']['add'](_0x5f19ca),_0x5f19ca;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4ae144=this['_createStartIndexPropertyView'](),_0x281ae7=[_0x4ae144],_0x3a0ee3=new st(this['locale'],_0x281ae7);return _0x3a0ee3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3a0ee3['buttonView']['bind']('isEnabled')['toMany'](_0x281ae7,'isEnabled',(..._0xa38c93)=>_0xa38c93['some'](_0x311cb7=>_0x311cb7)),_0x3a0ee3['buttonView']['on']('change:isEnabled',(_0x3a0990,_0x21f874,_0x2ce906)=>{_0x2ce906||(_0x3a0ee3['isCollapsed']=!0x0);}),this['children']['add'](_0x3a0ee3),[_0x4ae144,_0x3a0ee3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x431147=new it(this['locale'],et);return _0x431147['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x431147['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x431147['fieldView']['on']('input',()=>{const _0x364274=_0x431147['fieldView']['element'],_0x1b149d=_0x364274['valueAsNumber'];Number['isNaN'](_0x1b149d)?_0x431147['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x364274['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b149d}):_0x431147['errorText']=t(_0x1b149d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x431147;}}class j extends _0x3263b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5d26d8,_0x1d7021];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x645588}=this,{componentFactory:_0x4a68e2}=_0x645588['ui'];_0x645588['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4a68e2['add']('footnotesStyle',function(_0xc482f4){return _0x715af8=>{const {t:t}=_0x715af8,_0x25ee08=_0xc482f4['commands']['get']('footnotesStyle'),_0x3c02f4=_0x30f580(_0x715af8),{buttonView:_0x2e5a00}=_0x3c02f4;return _0x3c02f4['class']='ck-footnotes-styles-dropdown',_0x3c02f4['bind']('isEnabled')['to'](_0x25ee08,'isEnabled'),_0x2e5a00['set']({'label':t('Footnotes\x20style'),'icon':_0x2db4f8,'tooltip':!0x0}),_0x3c02f4['once']('change:isOpen',()=>{const _0x426910=function({editor:_0x4d5895,dropdownView:_0x3c94bc}){const {t:t}=_0x4d5895['locale'],_0x157545=t('Footnotes\x20definitions\x20styles'),_0x17f66e=function(_0x38694c){const t=_0x38694c['locale']['t'],_0xe768ef=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x173ec3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x36e591},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5efc48},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x526c34},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5e7c46},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x526891}];return _0xe768ef['map'](function(_0x532131){const _0x5ae49b=_0x532131['locale'];return({label:_0x129eb5,icon:_0x41a0e4,tooltip:_0x12519e,style:_0x237af0})=>{const _0x1f3760=_0x532131['commands']['get']('footnotesStyle'),_0xb655e0=new _0xa80dc1(_0x5ae49b);return _0xb655e0['set']({'label':_0x129eb5,'icon':_0x41a0e4,'tooltip':_0x12519e}),_0xb655e0['bind']('isOn')['to'](_0x1f3760,'value',_0x3b7547=>_0x3b7547===_0x237af0),_0xb655e0['bind']('isEnabled')['to'](_0x1f3760,'isEnabled'),_0xb655e0['on']('execute',()=>{_0x532131['execute']('footnotesStyle',{'value':_0x237af0}),_0x532131['editing']['view']['focus']();}),_0xb655e0;};}(_0x38694c));}(_0x4d5895),_0x1a7b76=new H(_0x4d5895['locale'],{'styleGridAriaLabel':_0x157545,'styleButtonViews':_0x17f66e}),_0x30f4c7=_0x4d5895['commands']['get']('footnotesStart');return _0x1a7b76['startIndexFieldView']['bind']('isEnabled')['to'](_0x30f4c7),_0x1a7b76['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x30f4c7),_0x1a7b76['on']('footnotesListStart',(_0x1c5be5,_0x582d3c)=>{_0x4d5895['execute']('footnotesStart',{'value':_0x582d3c['startIndex']});}),_0x1a7b76['delegate']('execute')['to'](_0x3c94bc),_0x1a7b76;}({'editor':_0xc482f4,'dropdownView':_0x3c02f4});_0x3c02f4['panelView']['children']['add'](_0x426910);}),_0x3c02f4;};}(_0x645588));}['afterInit'](){const {editor:_0xd3714d}=this,{t:t}=_0xd3714d['locale'],_0x31bc90=_0xd3714d['plugins']['get'](_0x1d7021),{defaultPositions:_0x3b8148}=_0x162d1c;_0x31bc90['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xd3714d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x48ca79=>{let _0x35f130=_0x48ca79['getFirstPosition']()?.['parent'];return _0x35f130?.['is']('$text')&&(_0x35f130=_0x35f130['parent']),_0x35f130?.['is']('element')?_0x35f130['findAncestor'](J):null;},'positions':[_0x3b8148['southArrowNorth'],_0x3b8148['southArrowNorthMiddleWest'],_0x3b8148['southArrowNorthMiddleEast'],_0x3b8148['southArrowNorthWest'],_0x3b8148['southArrowNorthEast'],_0x3b8148['northArrowSouth'],_0x3b8148['northArrowSouthMiddleWest'],_0x3b8148['northArrowSouthMiddleEast'],_0x3b8148['northArrowSouthWest'],_0x3b8148['northArrowSouthEast'],_0x3b8148['viewportStickyNorth']]});}}class ft extends _0x3263b6{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 _0xeb7666,Command as _0x27ce1c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5b4e1d,isWidget as _0x9e120c,toWidgetEditable as _0x5ab702,WidgetToolbarRepository as _0x6c66e1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x32a995,logWarning as _0x4e63a5,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xf6f06a,ClickObserver as _0x3d3d3e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4bcc1e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1e6c82,ButtonView as _0x2c7d7a,View as _0x5f3e58,ViewCollection as _0x367b77,FocusCycler as _0x2faa84,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x59ce17,BalloonPanelView as _0x2fd527,createDropdown as _0x38dfa3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3b34e6,IconListStyleDecimal as _0x383181,IconListStyleDecimalLeadingZero as _0x383ca1,IconListStyleLowerRoman as _0x157553,IconListStyleUpperRoman as _0x5b268f,IconListStyleLowerLatin as _0x1af5e5,IconListStyleUpperLatin as _0x22b71f}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x161278,_0x1248fc){this['_model']=_0x161278,this['_elementName']=_0x1248fc['elementName'],this['_getElementKey']=_0x1248fc['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4aa7d0){const _0x5c75b7=new Set(),_0x20cd7a=new Map();for(const _0x13adc6 of _0x4aa7d0){if('insert'===_0x13adc6['type']&&'$text'!==_0x13adc6['name']&&_0x13adc6['position']['nodeAfter']){const _0xd15ae7=this['_model']['createRangeOn'](_0x13adc6['position']['nodeAfter']);for(const _0x3c6fa9 of _0xd15ae7['getItems']()){if(!_0x3c6fa9['is']('element',this['_elementName']))continue;const _0x48102f=this['_getElementKey'](_0x3c6fa9);_0x20cd7a['has'](_0x48102f)||_0x20cd7a['set'](_0x48102f,[]),_0x20cd7a['get'](_0x48102f)['push'](_0x3c6fa9);}}if('remove'===_0x13adc6['type']&&_0x13adc6['name']===this['_elementName']){const _0x7aa5cc=this['_getElementKey']({'getAttribute':_0x41a63e=>_0x13adc6['attributes']['get'](_0x41a63e)});_0x5c75b7['add'](_0x7aa5cc);}}for(const [_0x5574dd,_0x57c04f]of this['_trackedElements'])'$graveyard'===_0x57c04f['root']['rootName']&&_0x5c75b7['add'](_0x5574dd);for(const _0x5b80de of _0x5c75b7)this['_trackedElements']['delete'](_0x5b80de);for(const [_0x57afa5,_0xa147ca]of _0x20cd7a)this['_trackedElements']['set'](_0x57afa5,_0xa147ca[_0xa147ca['length']-0x1]);const _0x13db7d=new Set();for(const [_0x139b91,_0x570d71]of _0x20cd7a)_0x5c75b7['has'](_0x139b91)&&(_0x13db7d['add'](_0x570d71[0x0]),_0x570d71['length']>0x1?_0x20cd7a['set'](_0x139b91,_0x570d71['slice'](0x1)):_0x20cd7a['delete'](_0x139b91),_0x5c75b7['delete'](_0x139b91));return{'removed':Array['from'](_0x5c75b7),'inserted':Array['from'](_0x20cd7a['values']())['flat'](),'moved':Array['from'](_0x13db7d)};}}class f extends _0xeb7666{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd1b2a4){super(_0xd1b2a4),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4fadbe=>_0x4fadbe['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xbaaba9=>_0xbaaba9['getAttribute']('footnoteId')});}['init'](){const {editor:_0x56b088}=this,{model:_0x41119c,data:_0x25b635}=_0x56b088;_0x41119c['document']['registerPostFixer'](_0x3304c7=>{const _0x3ac473=_0x41119c['document']['differ']['getChanges']();let _0x48fe76=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3304c7,_0x3ac473)&&(_0x48fe76=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3304c7,_0x3ac473)&&(_0x48fe76=!0x0),this['_handleFootnoteReferencesChanges'](_0x3304c7,_0x3ac473)&&(_0x48fe76=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3304c7)&&(_0x48fe76=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3304c7)&&(_0x48fe76=!0x0),this['_sortFootnoteDefinitions'](_0x3304c7)&&(_0x48fe76=!0x0),_0x48fe76;}),this['listenTo'](_0x41119c['document'],'change:data',()=>{_0x41119c['enqueueChange']({'isUndoable':!0x1},_0x37eddc=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x37eddc);});},{'priority':'low'}),this['listenTo'](_0x25b635,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3bd987){return this['_footnotes']['find'](_0x346e04=>_0x346e04['id']===_0x3bd987)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4a7c3b){this['_footnoteFormatter']=_0x4a7c3b;}['_updateFootnotesCounters'](_0x5e19ae,_0x4d2ad2=0x0){let _0x1e6370=!0x1;for(let _0x30ae6c=_0x4d2ad2;_0x30ae6c<this['_footnotes']['length'];_0x30ae6c++)this['_updateFootnoteRefCounter'](_0x5e19ae,_0x30ae6c)&&(_0x1e6370=!0x0);return _0x1e6370;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3a09af,_0x183a1d){const _0x3303bb=_0x3a09af['createElement']('footnotesDefinitions',{});return _0x3a09af['append'](_0x3303bb,_0x183a1d),this['_footnotesDefinitions']=_0x3303bb,_0x3303bb;}['_ensureFootnotesDefinitionsContainerExists'](_0x5dd7e3){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5c922b=this['_footnotes'][0x0]['reference']['root'],_0x291b17=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5dd7e3,_0x5c922b);for(const _0x2cd683 of this['_footnotes'])_0x2cd683['definition']['parent']||_0x5dd7e3['insert'](_0x2cd683['definition'],_0x291b17,'end');this['_updateFootnotesCounters'](_0x5dd7e3);}['_handleFootnotesDefinitionsObjectChanges'](_0x4c6513,_0x1ae4a1){let _0x5694e9=!0x1;const {inserted:_0x3ce33d,removed:_0xf4cd49,moved:_0x45d180}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1ae4a1);if(_0x45d180['length']&&(this['_footnotesDefinitions']=_0x45d180[0x0]),_0x3ce33d['length']){if(_0x3ce33d['length']>0x1||this['_footnotesDefinitions']&&_0x3ce33d['some'](_0x31aebe=>_0x31aebe!==this['_footnotesDefinitions'])){const _0x5a8750=_0x4c6513['createElement']('footnotesDefinitions',{}),_0x4664a0=[];this['_footnotesDefinitions']&&_0x4664a0['push'](this['_footnotesDefinitions']),_0x4664a0['push'](..._0x3ce33d),_0x4c6513['insert'](_0x5a8750,_0x4664a0[0x0],'before');for(const _0x2634b1 of _0x4664a0)_0x4c6513['move'](_0x4c6513['createRangeIn'](_0x2634b1),_0x4c6513['createPositionAt'](_0x5a8750,'end')),_0x4c6513['remove'](_0x2634b1);this['_footnotesDefinitions']=_0x5a8750,this['_updateFootnotesCounters'](_0x4c6513),_0x5694e9=!0x0;}else this['_footnotesDefinitions']=_0x3ce33d[0x0];}if(_0xf4cd49['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x49511f of this['_footnotes'])_0x4c6513['remove'](_0x49511f['reference']),_0x5694e9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5694e9;}['_handleFootnoteDefinitionsChanges'](_0x30e198,_0x3d145a){let _0x482651=!0x1;const _0x2762df=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x339f69,moved:_0x42fa9d}=this['_footnoteDefsTracker']['getChanges'](_0x3d145a);for(const _0x38889c of[..._0x42fa9d,..._0x339f69]){const _0x58e9a4=_0x38889c['getAttribute']('footnoteId'),_0xbc9e1f=this['getFootnote'](_0x58e9a4);_0xbc9e1f&&(_0xbc9e1f['definition']=_0x38889c),_(_0x30e198,_0x2762df,_0x38889c)&&(_0x482651=!0x0);}return _0x482651;}['_handleFootnoteReferencesChanges'](_0x164f77,_0x1ccfe5){let _0x13291a=!0x1;const {removed:_0x4c5a66,inserted:_0x2d9c19,moved:_0x9f2e63}=this['_footnoteRefsTracker']['getChanges'](_0x1ccfe5);for(const _0x1a0b5b of _0x4c5a66)this['_handleRemoveFootnoteReferenceById'](_0x164f77,_0x1a0b5b)&&(_0x13291a=!0x0);for(const _0x3caa6d of _0x2d9c19)this['_handleInsertedFootnoteReference'](_0x164f77,_0x3caa6d)&&(_0x13291a=!0x0);for(const _0x2bf791 of _0x9f2e63)this['_handleMovedFootnoteReference'](_0x164f77,_0x2bf791)&&(_0x13291a=!0x0);return _0x13291a;}['_handleFootnotesDefinitionsObjectSync'](_0x3c0870){if(!this['_footnotesDefinitions'])return!0x1;let _0x55f301=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x262fad=[];for(const _0x2a75b7 of this['_footnotesDefinitions']['getChildren']()){const _0x5b79bb=_0x2a75b7['getAttribute']('footnoteId');this['getFootnote'](_0x5b79bb)||(_0x262fad['unshift'](_0x2a75b7),_0x55f301=!0x0);}for(const _0x34002b of _0x262fad)_0x3c0870['remove'](_0x34002b);}const _0x4429e7=new Set(),_0x4f7b49=[];for(const _0x5c4261 of this['_footnotesDefinitions']['getChildren']()){const _0x439a76=_0x5c4261['getAttribute']('footnoteId');_0x4429e7['has'](_0x439a76)?(_0x4f7b49['unshift'](_0x5c4261),_0x55f301=!0x0):_0x4429e7['add'](_0x439a76);}for(const _0x2eace6 of _0x4f7b49)_0x3c0870['remove'](_0x2eace6);return this['_footnotesDefinitions']['childCount']||(_0x3c0870['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x55f301=!0x0),_0x55f301;}['_handleInsertedFootnoteReference'](_0x4d1a06,_0x5a73eb){if(this['_footnotes']['find'](_0x9a40b6=>_0x9a40b6['reference']===_0x5a73eb))return!0x1;let _0x32cff9=!0x1;const _0xe60057=_0x5a73eb['getAttribute']('footnoteId'),_0x4f0006=this['_footnotes']['findIndex'](_0x4627fd=>_0x4627fd['id']===_0xe60057);-0x1!==_0x4f0006&&(_0x4d1a06['remove'](this['_footnotes'][_0x4f0006]['reference']),this['_footnotes']['splice'](_0x4f0006,0x1),_0x32cff9=!0x0);let _0x3d6eb6=this['_footnotesDefinitions']?function(_0x301858,_0x3af151){for(const _0x1b8eaf of _0x301858['getChildren']())if(_0x1b8eaf['getAttribute']('footnoteId')===_0x3af151)return _0x1b8eaf;return null;}(this['_footnotesDefinitions'],_0xe60057):null;_0x3d6eb6||(_0x3d6eb6=_0x4d1a06['createElement']('footnoteDefinition',{'footnoteId':_0xe60057}),this['_footnotesDefinitions']&&(_0x4d1a06['insert'](_0x3d6eb6,this['_footnotesDefinitions'],'end'),_0x32cff9=!0x0));const _0x274881={'id':_0xe60057,'reference':_0x5a73eb,'definition':_0x3d6eb6},_0x5cf2ab=I(this['editor']['model'],this['_footnotes'],_0x5a73eb);this['_footnotes']['splice'](_0x5cf2ab,0x0,_0x274881);let _0xf14360=_0x5cf2ab;return-0x1!==_0x4f0006&&(_0xf14360=Math['min'](_0x5cf2ab,_0x4f0006)),this['_updateFootnotesCounters'](_0x4d1a06,_0xf14360)&&(_0x32cff9=!0x0),_0x32cff9;}['_handleRemoveFootnoteReferenceById'](_0x3e8a37,_0x7d17f9){const _0x4c7cd5=this['_footnotes']['findIndex'](_0xd1c2c7=>_0xd1c2c7['id']===_0x7d17f9);if(-0x1===_0x4c7cd5)return!0x1;let _0xb05c56=!0x1;const _0x5eba95=this['_footnotes'][_0x4c7cd5];return'$graveyard'!==_0x5eba95['definition']['root']['rootName']&&(_0x3e8a37['remove'](_0x5eba95['definition']),_0xb05c56=!0x0),this['_footnotes']['splice'](_0x4c7cd5,0x1),this['_updateFootnotesCounters'](_0x3e8a37,_0x4c7cd5)&&(_0xb05c56=!0x0),_0xb05c56;}['_handleMovedFootnoteReference'](_0x16fbac,_0x21d064){const _0xedcd66=_0x21d064['getAttribute']('footnoteId'),_0x10f2f6=this['_footnotes']['findIndex'](_0x22b0d5=>_0x22b0d5['id']===_0xedcd66),_0x5061a7=this['_footnotes'][_0x10f2f6];let _0x15a733=!0x1;_0x5061a7['reference']=_0x21d064,this['_footnotes']['splice'](_0x10f2f6,0x1);const _0xd95303=I(this['editor']['model'],this['_footnotes'],_0x21d064);return this['_footnotes']['splice'](_0xd95303,0x0,_0x5061a7),this['_updateFootnotesCounters'](_0x16fbac,Math['min'](_0x10f2f6,_0xd95303))&&(_0x15a733=!0x0),_0x15a733;}['_updateFootnoteRefCounter'](_0x5e795d,_0x3b709e){if(!this['_footnotesDefinitions'])return!0x1;const _0x3dfdda=this['_footnotes'][_0x3b709e];let _0x4ab1bc;return _0x4ab1bc=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3dfdda,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3b709e+0x1}):String(_0x3b709e+0x1),_0x3dfdda['reference']['getAttribute']('footnoteCounter')!=_0x4ab1bc&&(_0x5e795d['setAttribute']('footnoteCounter',_0x4ab1bc,_0x3dfdda['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5ee665){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1bbdf4,_0x12eb92){if(_0x1bbdf4['length']!==_0x12eb92['length'])return!0x1;for(let _0x57015c=0x0;_0x57015c<_0x1bbdf4['length'];_0x57015c++)if(_0x1bbdf4[_0x57015c]!==_0x12eb92[_0x57015c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5f1251=>_0x5f1251['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x25234d=>_0x25234d['getAttribute']('footnoteId'))))return!0x1;let _0x108753=!0x1;for(let _0x4702ed=0x0;_0x4702ed<this['_footnotes']['length'];_0x4702ed++){const _0x316939=this['_footnotes'][_0x4702ed],_0x354d11=_0x5ee665['createPositionBefore'](_0x316939['definition']),_0x1236db=_0x5ee665['createPositionAt'](this['_footnotesDefinitions'],_0x4702ed);_0x354d11['isEqual'](_0x1236db)||(_0x5ee665['move'](_0x5ee665['createRangeOn'](_0x316939['definition']),_0x1236db),_0x108753=!0x0);}return _0x108753;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2db1a4){if(!this['_footnotes']['length'])return!0x1;const {model:_0x279403}=this['editor'];let _0x454e49=!0x1;for(let _0x334f3e=0x0;_0x334f3e<this['_footnotes']['length']-0x1;_0x334f3e++){const _0x54f390=this['_footnotes'][_0x334f3e],_0x4b71eb=this['_footnotes'][_0x334f3e+0x1],_0x344164=_0x279403['createPositionBefore'](_0x54f390['reference']),_0x23567e=_0x279403['createPositionBefore'](_0x4b71eb['reference']);'after'===_0x344164['compareWith'](_0x23567e)&&(this['_handleMovedFootnoteReference'](_0x2db1a4,_0x54f390['reference']),_0x334f3e=-0x1,_0x454e49=!0x0);}return _0x454e49;}}function _(_0x322269,_0x456b13,_0xe27319){if(_0xe27319['childCount'])return!0x1;const _0x25ebe2=_0x456b13?'paragraph':'footnoteInlineContent';return _0x322269['insert'](_0x322269['createElement'](_0x25ebe2),_0xe27319),!0x0;}function I(_0x28a5e1,_0x1535f0,_0x25003b){if(0x0===_0x1535f0['length'])return 0x0;const _0x3ea404=_0x28a5e1['createPositionBefore'](_0x25003b);for(let _0x278514=0x0;_0x278514<_0x1535f0['length'];_0x278514++){const _0x872ba0=_0x1535f0[_0x278514],_0xec75c6=_0x28a5e1['createPositionBefore'](_0x872ba0['reference']);if('before'===_0x3ea404['compareWith'](_0xec75c6))return _0x278514;}const _0x1f988f=_0x25003b['root'];let _0x4a777e=-0x1;for(let _0x5c7e96=_0x1535f0['length']-0x1;_0x5c7e96>=0x0;_0x5c7e96--)if(_0x1535f0[_0x5c7e96]['reference']['root']===_0x1f988f){_0x4a777e=_0x5c7e96;break;}if(-0x1!==_0x4a777e)return _0x4a777e+0x1;const _0x1d7d19=_0x28a5e1['document']['getRootNames'](),_0x1f84e7=_0x1d7d19['indexOf'](_0x1f988f['rootName']),_0x44ca8b=_0x1d7d19[_0x1f84e7+0x1];if(_0x44ca8b){for(let _0x3e9e45=0x0;_0x3e9e45<_0x1535f0['length'];_0x3e9e45++)if(_0x1535f0[_0x3e9e45]['reference']['root']['rootName']===_0x44ca8b)return _0x3e9e45;}return _0x1535f0['length'];}class m extends _0x27ce1c{['refresh'](){const _0x4ca039=this['editor']['model']['document']['selection'],_0x23999f=this['_getPositionToInsertFootnote'](_0x4ca039);this['isEnabled']=!!_0x23999f;}['execute'](_0x48b2e0){const {editor:_0x4d3efd}=this,{model:_0x4463ea}=_0x4d3efd,{selection:_0x386d40}=_0x4463ea['document'],_0x50077c=this['_getPositionToInsertFootnote'](_0x386d40);if(!_0x50077c)return;const _0x3e9984=_0x4d3efd['plugins']['get']('FootnotesEditing'),_0x4c87c3=_0x48b2e0?.['footnoteId']??_0x32a995();!function(_0x2332ca){return'string'==typeof _0x2332ca&&_0x2332ca['length']>0x0&&!/\s/['test'](_0x2332ca)&&!/^\d/['test'](_0x2332ca);}(_0x4c87c3)?_0x4e63a5('insert-footnote-command-executed-with-invalid-id'):(_0x4463ea['change'](_0x5190f7=>{const _0x22ef28=_0x5190f7['createElement']('footnoteRef',{'footnoteId':_0x4c87c3});_0x4463ea['insertObject'](_0x22ef28,_0x50077c,null);}),_0x3e9984['_moveSelectionToFootnoteDefinition'](_0x4c87c3));}['_getPositionToInsertFootnote'](_0x572a6c){const {model:_0x5784dd}=this['editor'],{schema:_0x5a773d}=_0x5784dd,_0x3da15c=_0x572a6c['getFirstRange']();for(const _0x192b6d of _0x3da15c['getItems']())if(_0x5a773d['isBlock'](_0x192b6d)||_0x5a773d['isObject'](_0x192b6d))return null;const _0x2bdf30=_0x3da15c['end'];return _0x5a773d['checkChild'](_0x2bdf30,'footnoteRef')?_0x2bdf30:null;}}class r extends _0xeb7666{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24ade3}=this;_0x24ade3['config']['define']('footnotes.multiBlock',!0x0),_0x24ade3['commands']['add']('insertFootnote',new m(_0x24ade3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5443c9){const _0x3ec974=_0x351f1c([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]),_0x12e50d=0x47a28506,_0x1f2f2a=0x47a5fe3e^_0x12e50d,_0x4ad894=window[_0x351f1c([0x44,0x61,0x74,0x65])][_0x351f1c([0x6e,0x6f,0x77])](),_0x12c78f=_0x5443c9[_0x351f1c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x545111=new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10050e=>{_0x12c78f[_0x351f1c([0x6f,0x6e,0x63,0x65])](_0x351f1c([0x72,0x65,0x61,0x64,0x79]),_0x10050e);}),_0x31f51d={[_0x351f1c([0x6b,0x74,0x79])]:_0x351f1c([0x45,0x43]),[_0x351f1c([0x75,0x73,0x65])]:_0x351f1c([0x73,0x69,0x67]),[_0x351f1c([0x63,0x72,0x76])]:_0x351f1c([0x50,0x2d,0x32,0x35,0x36]),[_0x351f1c([0x78])]:_0x351f1c([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]),[_0x351f1c([0x79])]:_0x351f1c([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]),[_0x351f1c([0x61,0x6c,0x67])]:_0x351f1c([0x45,0x53,0x32,0x35,0x36])},_0x4d3787=_0x12c78f[_0x351f1c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x351f1c([0x67,0x65,0x74])](_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a6913(){let _0x3b9ac5,_0x1cedb1=null,_0x4d93a1=null;try{if(_0x4d3787==_0x351f1c([0x47,0x50,0x4c]))return _0x351f1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b9ac5=_0x4545b4(),!_0x3b9ac5)return _0x351f1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b9ac5[_0x351f1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d93a1=_0x28bf9d(_0x3b9ac5[_0x351f1c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b9ac5[_0x351f1c([0x6a,0x74,0x69])])),await _0x586a48()?_0x415009()?_0x509b45()?_0x351f1c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5588cb()?(_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x351f1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1cedb1=_0x5130ef(_0x351f1c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x351f1c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1cedb1=_0x5130ef(_0x351f1c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bee1f()):_0x351f1c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x351f1c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x351f1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x351f1c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x509b45(){const _0x143e0f=[_0x351f1c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x351f1c([0x74,0x72,0x69,0x61,0x6c])][_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ad894/0x3e8:0xe10*_0x1f2f2a;return _0x3b9ac5[_0x351f1c([0x65,0x78,0x70])]<_0x143e0f;}function _0x415009(){const _0x409a12=_0x3b9ac5[_0x351f1c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x409a12&&(!!_0x409a12[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351f1c([0x2a]))||!!_0x409a12[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351f1c([0x46,0x4f,0x4f])));}function _0x5588cb(){const _0x5562ee=_0x3b9ac5[_0x351f1c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5562ee||0x0==_0x5562ee[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35270a}=new URL(window[_0x351f1c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5562ee[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35270a))return!0x0;const _0x160dba=_0x35270a[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e]));return _0x5562ee[_0x351f1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3927c1=>_0x3927c1[_0x351f1c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351f1c([0x2a])))[_0x351f1c([0x6d,0x61,0x70])](_0xa9a782=>_0xa9a782[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e])))[_0x351f1c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x39cc60=>_0x39cc60[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x160dba[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x351f1c([0x6d,0x61,0x70])](_0xa2823=>Array(_0x160dba[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa2823[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x351f1c([0x66,0x69,0x6c,0x6c])](_0xa2823[0x0]===_0x351f1c([0x2a])?_0x351f1c([0x2a]):'')[_0x351f1c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa2823))[_0x351f1c([0x73,0x6f,0x6d,0x65])](_0x13302c=>_0x160dba[_0x351f1c([0x65,0x76,0x65,0x72,0x79])]((_0x249c3e,_0x1d6905)=>_0x13302c[_0x1d6905]===_0x249c3e||_0x13302c[_0x1d6905]===_0x351f1c([0x2a])));}function _0x4bee1f(){return _0x1cedb1&&_0x4d93a1?new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x108eaf,_0x21c987)=>{_0x1cedb1[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x108eaf,_0x21c987),_0x4d93a1[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x297deb=>{_0x297deb!=_0x351f1c([0x56,0x61,0x6c,0x69,0x64])&&_0x108eaf(_0x297deb);},_0x21c987);}):_0x1cedb1||_0x4d93a1||_0x351f1c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x28bf9d(_0x31c272,_0x548128){return new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x420b9c=>{if(_0x38815c())return _0x420b9c(_0x351f1c([0x56,0x61,0x6c,0x69,0x64]));_0x192a85(),_0x12c78f[_0x351f1c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x351f1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19a49a=!0x1;const _0x384192=_0x32a995();function _0xdd3a8a(_0x2135c9){return!!_0x2135c9&&(typeof _0x2135c9===_0x351f1c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2135c9===_0x351f1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2135c9[_0x351f1c([0x74,0x68,0x65,0x6e])]===_0x351f1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2135c9[_0x351f1c([0x63,0x61,0x74,0x63,0x68])]===_0x351f1c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f0f05(_0x41b522){_0x59a54d(_0x41b522)[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x45d79f=>{if(!_0x45d79f||_0x45d79f[_0x351f1c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x351f1c([0x6f,0x6b]))return _0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c3353(_0x2aacfb(_0x384192+_0x548128))!=_0x45d79f[_0x351f1c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x351f1c([0x56,0x61,0x6c,0x69,0x64]);})[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x28a63a=>(_0x2baa43(),_0x28a63a),()=>{const _0x4a12d5=_0xd7b1a1();return null==_0x4a12d5?(_0x2baa43(),_0x351f1c([0x56,0x61,0x6c,0x69,0x64])):_0x351f1c(_0x4ad894-_0x4a12d5>(0x63ae0106^_0x12e50d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x420b9c)[_0x351f1c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x420b9c(_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e4a9d=0x47946b86^_0x12e50d;function _0x2baa43(){const _0x49b796=_0x351f1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3353(_0x2aacfb(_0x31c272)),_0x38225d=_0x5f0a1b(_0x5c3353(window[_0x351f1c([0x4d,0x61,0x74,0x68])][_0x351f1c([0x63,0x65,0x69,0x6c])](_0x4ad894/_0x3e4a9d)));window[_0x351f1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x351f1c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49b796,_0x38225d);}function _0xd7b1a1(){const _0x32d1b3=_0x351f1c([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c3353(_0x2aacfb(_0x31c272)),_0x3c76a3=window[_0x351f1c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x351f1c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32d1b3);return _0x3c76a3?window[_0x351f1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f0a1b(_0x3c76a3),0x10)*_0x3e4a9d:null;}function _0x59a54d(_0x1351a6){return new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b473d,_0x1e10e1)=>{_0x1351a6[_0x351f1c([0x74,0x68,0x65,0x6e])](_0x3b473d,_0x1e10e1),window[_0x351f1c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e10e1,0x47a351c6^_0x12e50d);});}}_0x12c78f[_0x351f1c([0x6f,0x6e])](_0x351f1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d3a5c,_0x1bce72)=>{if(_0x1bce72[0x0]!=_0x31c272)return _0x420b9c(_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1bce72[0x1]={..._0x1bce72[0x1],[_0x351f1c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x384192};},{[_0x351f1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x351f1c([0x68,0x69,0x67,0x68])}),_0x12c78f[_0x351f1c([0x6f,0x6e])](_0x351f1c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5539ca=>{_0xdd3a8a(_0x5539ca[_0x351f1c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19a49a=!0x0,_0x1f0f05(_0x5539ca[_0x351f1c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x351f1c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x351f1c([0x6c,0x6f,0x77])}),_0x545111[_0x351f1c([0x74,0x68,0x65,0x6e])](()=>{_0x19a49a||_0x420b9c(_0x351f1c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38815c(){return _0x12c78f[_0x351f1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x351f1c([0x76,0x69,0x65,0x77])][_0x351f1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x351f1c([0x61,0x75,0x74,0x6f]);}function _0x192a85(){_0x12c78f[_0x351f1c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x351f1c([0x76,0x69,0x65,0x77])][_0x351f1c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x351f1c([0x61,0x75,0x74,0x6f]);}}function _0x5130ef(_0x58a57a){const _0x9a0e74=[new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be283=>setTimeout(_0x2be283,0x47abbbca^_0x12e50d)),_0x545111[_0x351f1c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b5ae8=>{let _0x40a5e0=0x0;_0x12c78f[_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x351f1c([0x6f,0x6e])](_0x351f1c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x151245,_0x14a024)=>{_0x14a024[0x0][_0x351f1c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40a5e0++,_0x40a5e0==(0x47a284fe^_0x12e50d)&&(_0x4b5ae8(),_0x151245[_0x351f1c([0x6f,0x66,0x66])]());});}))];return window[_0x351f1c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x351f1c([0x72,0x61,0x63,0x65])](_0x9a0e74)[_0x351f1c([0x74,0x68,0x65,0x6e])](()=>_0x58a57a);}async function _0xe25ba6(){await _0x545111,_0x12c78f[_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x351f1c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19d1ea,_0x12c78f[_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c])][_0x351f1c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19d1ea,_0x12c78f[_0x351f1c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x351f1c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8c28bc(_0xe91fec){const _0x13d909=_0x38d3a9();_0x12c78f[_0x13d909]=_0x351f1c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe91fec,_0xe91fec!=_0x351f1c([0x56,0x61,0x6c,0x69,0x64])&&_0xe25ba6();}function _0x38d3a9(){const _0x468ad6=window[_0x351f1c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x351f1c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x351f1c([0x6e,0x6f,0x77])]())[_0x351f1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x351f1c([0x2e]),'');let _0x3f4127=_0x351f1c([0x75]);for(let _0x36111a=0x0;_0x36111a<_0x468ad6[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36111a+=0x2){let _0x17ea58=window[_0x351f1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x468ad6[_0x351f1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36111a,_0x36111a+0x2));_0x17ea58>=_0x3ec974[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17ea58-=_0x3ec974[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f4127+=_0x3ec974[_0x17ea58];}return _0x3f4127;}function _0x4545b4(){const _0x3c177e=_0x4d3787[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e]));if(0x3!=_0x3c177e[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35743c(_0x3c177e[0x1]);function _0x35743c(_0x154cbb){const _0x20389c=_0x40e789(_0x154cbb);return _0x20389c&&_0x46466d()?_0x20389c:null;function _0x46466d(){const _0x34db1a=_0x20389c[_0x351f1c([0x6a,0x74,0x69])],_0xb4eaf2=window[_0x351f1c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34db1a[_0x351f1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34db1a[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50c22f={..._0x20389c,[_0x351f1c([0x6a,0x74,0x69])]:_0x34db1a[_0x351f1c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34db1a[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50c22f[_0x351f1c([0x76,0x63])],_0x2aacfb(_0x50c22f)==_0xb4eaf2;}}}async function _0x586a48(){let _0x1c958a=!0x0;try{const _0x4e7e0b=_0x4d3787[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])](_0x351f1c([0x2e])),[_0xab2114,_0x274195,_0x1cdd20]=_0x4e7e0b;return _0x396037(_0xab2114),await _0x5d7e9a(_0xab2114,_0x274195,_0x1cdd20),_0x1c958a;}catch{return!0x1;}function _0x396037(_0x3d329a){const _0x1111cf=_0x40e789(_0x3d329a);_0x1111cf&&_0x1111cf[_0x351f1c([0x61,0x6c,0x67])]==_0x351f1c([0x45,0x53,0x32,0x35,0x36])||(_0x1c958a=!0x1);}async function _0x5d7e9a(_0x4c9c58,_0x51e2e1,_0xfc201d){const _0x4b27e0=window[_0x351f1c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x351f1c([0x66,0x72,0x6f,0x6d])](_0x5a6736(_0xfc201d),_0x320206=>_0x320206[_0x351f1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f0959=new window[(_0x351f1c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x351f1c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c9c58+_0x351f1c([0x2e])+_0x51e2e1),_0x244553=window[_0x351f1c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x351f1c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x244553)return;const _0x32915e=await _0x244553[_0x351f1c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x351f1c([0x6a,0x77,0x6b]),_0x31f51d,{[_0x351f1c([0x6e,0x61,0x6d,0x65])]:_0x351f1c([0x45,0x43,0x44,0x53,0x41]),[_0x351f1c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x351f1c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x351f1c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x244553[_0x351f1c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x351f1c([0x6e,0x61,0x6d,0x65])]:_0x351f1c([0x45,0x43,0x44,0x53,0x41]),[_0x351f1c([0x68,0x61,0x73,0x68])]:{[_0x351f1c([0x6e,0x61,0x6d,0x65])]:_0x351f1c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32915e,_0x4b27e0,_0x5f0959)||(_0x1c958a=!0x1);}}function _0x40e789(_0x5c13db){return _0x5c13db[_0x351f1c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x351f1c([0x65,0x79]))?JSON[_0x351f1c([0x70,0x61,0x72,0x73,0x65])](_0x5a6736(_0x5c13db)):null;}function _0x5a6736(_0x4d7cc5){return window[_0x351f1c([0x61,0x74,0x6f,0x62])](_0x4d7cc5[_0x351f1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x351f1c([0x2b]))[_0x351f1c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x351f1c([0x2f])));}function _0x2aacfb(_0x21db92){let _0x23a712=0x1505;function _0x210e28(_0x1ab51d){for(let _0x5320dd=0x0;_0x5320dd<_0x1ab51d[_0x351f1c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5320dd++){const _0x442c33=_0x1ab51d[_0x351f1c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5320dd);_0x23a712=(_0x23a712<<0x5)+_0x23a712+_0x442c33,_0x23a712&=_0x23a712;}}function _0x561b56(_0x11cf7d){Array[_0x351f1c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11cf7d)?_0x11cf7d[_0x351f1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x561b56):_0x11cf7d&&typeof _0x11cf7d==_0x351f1c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x351f1c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11cf7d)[_0x351f1c([0x73,0x6f,0x72,0x74])]()[_0x351f1c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfcacbc,_0xfd1ede])=>{_0x210e28(_0xfcacbc),_0x561b56(_0xfd1ede);}):_0x210e28(window[_0x351f1c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11cf7d));}return _0x561b56(_0x21db92),_0x23a712>>>0x0;}function _0x5c3353(_0x51e0dd){return _0x51e0dd[_0x351f1c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x351f1c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x351f1c([0x30]));}function _0x5f0a1b(_0xd33c9f){return _0xd33c9f[_0x351f1c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x351f1c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x351f1c([0x6a,0x6f,0x69,0x6e])]('');}function _0x19d1ea(){}function _0x351f1c(_0x31b7c7){return _0x31b7c7['map'](_0x7e6ab0=>String['fromCharCode'](_0x7e6ab0))['join']('');}_0x8c28bc(await _0x4a6913());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1b7711){const {plugins:_0x260f6c,editing:_0x54fdb2,model:_0x191fbc}=this['editor'],_0x32a0d6=_0x260f6c['get'](f)['getFootnote'](_0x1b7711);return!!_0x32a0d6&&(_0x191fbc['change'](_0x52762=>{_0x52762['setSelection'](_0x52762['createPositionAt'](_0x32a0d6['definition'],'end'));}),_0x54fdb2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ae788){const {plugins:_0x1ce3b9,editing:_0x271626,model:_0x2e7811}=this['editor'],_0x199763=_0x1ce3b9['get'](f)['getFootnote'](_0x2ae788);return!!_0x199763&&(_0x2e7811['change'](_0x5b9d01=>{_0x5b9d01['setSelection'](_0x199763['reference'],'on');}),_0x271626['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ea99e}=this['editor']['model'],_0x53e4dd=this['editor']['config']['get']('footnotes.multiBlock');_0x4ea99e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ea99e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ea99e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x53e4dd?_0x4ea99e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ea99e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ea99e['addChildCheck'](_0x57a1fc=>{for(const _0x48df73 of _0x57a1fc)if('footnoteDefinition'===_0x48df73['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x565283}=this,{conversion:_0x64c9be,editing:_0xf054da}=_0x565283,{t:t}=_0x565283['locale'];_0x64c9be['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x35fd53,{writer:_0xb21d79,consumable:_0x1f0c49})=>{const _0x3c5f74=_0x35fd53['getChild'](0x0);if(!_0x3c5f74||!_0x3c5f74['is']('element','a'))return null;const _0x851817=_0x3c5f74['getAttribute']('href')||'';if(!_0x851817['startsWith']('#'))return null;const _0x3249a7=_0x851817['replace'](/^#/,'');if(!_0x3249a7)return null;_0x1f0c49['consume'](_0x3c5f74,{'name':!0x0,'attributes':['href']});for(const {item:_0x5e4d52}of _0xf054da['view']['createRangeIn'](_0x3c5f74))_0x5e4d52['is']('$textProxy')?_0x1f0c49['consume'](_0x5e4d52['textNode'],{'name':!0x0}):_0x5e4d52['is']('element')&&_0x1f0c49['consume'](_0x5e4d52,{'name':!0x0});return _0xb21d79['createElement']('footnoteRef',{'footnoteId':_0x3249a7});}}),_0x64c9be['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x493ee6,{writer:_0x5eaf29})=>D(_0x493ee6,_0x5eaf29)}),_0x64c9be['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x158908,{writer:_0x5aa52c})=>{const _0x355372=_0x158908['getAttribute']('footnoteCounter');return _0x5b4e1d(D(_0x158908,_0x5aa52c),_0x5aa52c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x355372)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5d05fc}=this,{t:t}=_0x5d05fc['locale'],{conversion:_0x4cb331}=_0x5d05fc;_0x4cb331['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4cb331['for']('upcast')['add'](_0x1b365b=>{_0x1b365b['on']('element:ol',(_0xdf133a,_0x141fd7,_0x1e43f3)=>{const _0x1328fd=_0x141fd7['viewItem'];if(!_0x1328fd['hasClass']('footnotes-list')||!_0x141fd7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1e43f3['consumable']['consume'](_0x1328fd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5a41ad,modelCursor:_0x2a3ce9}=_0x1e43f3['convertChildren'](_0x141fd7['viewItem'],_0x141fd7['modelCursor']);_0x141fd7['modelRange']=_0x5a41ad,_0x141fd7['modelCursor']=_0x2a3ce9;}),_0x1b365b['on']('element:hr',(_0x12150b,_0xad606f,_0x39f4a9)=>{const _0x4946c4=_0xad606f['viewItem'];_0x4946c4['hasClass']('footnotes-divider')&&_0xad606f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x39f4a9['consumable']['consume'](_0x4946c4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4cb331['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x217a44,{writer:_0x2d7ac1})=>v(_0x2d7ac1)}),_0x4cb331['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4df79a,{writer:_0x457f4a})=>{const _0xe8603a=v(_0x457f4a,{'data-footnotes-list-label':t('Footnotes')}),_0x1d7a18=_0x5b4e1d(_0xe8603a,_0x457f4a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x457f4a['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d7a18),_0x1d7a18;}});}['_defineDefinitionConverters'](){const {editor:_0x264aab}=this,{conversion:_0x2d4953,locale:_0x5be8d7}=_0x264aab,_0x3551cd=_0x264aab['config']['get']('footnotes.multiBlock');_0x2d4953['for']('upcast')['add'](_0x50e911=>{_0x50e911['on']('element:li',(_0x574172,_0x2f5c36,_0x550fe1)=>{const _0x2d4909=_0x2f5c36['viewItem'];if(!_0x2d4909['hasClass']('footnote-definition')||!_0x2d4909['getAttribute']('id'))return;const _0x36332b=_0x2d4909['parent'];if(!_0x36332b['is']('element','ol')||!_0x36332b['hasClass']('footnotes-list'))return;if(!_0x550fe1['consumable']['test'](_0x2d4909,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x312a42=_0x550fe1['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2d4909['getAttribute']('id')});if(!_0x550fe1['safeInsert'](_0x312a42,_0x2f5c36['modelCursor']))return;_0x550fe1['consumable']['consume'](_0x2d4909,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4c0262=Array['from'](_0x2d4909['getChildren']())['find'](_0x5485ff=>_0x5485ff['is']('element')&&_0x5485ff['hasClass']('footnote-content'));for(const _0x203c39 of _0x2d4909['getChildren']())_0x203c39['is']('element')&&(_0x550fe1['consumable']['consume'](_0x203c39,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x550fe1['consumable']['consume'](_0x203c39,{'name':!0x0,'classes':'footnote-content'}));if(_0x4c0262){if(_0x3551cd)_0x550fe1['convertChildren'](_0x4c0262,_0x312a42);else{const _0xe07522=_0x550fe1['writer']['createElement']('footnoteInlineContent');_0x550fe1['writer']['insert'](_0xe07522,_0x312a42),_0x550fe1['convertChildren'](_0x4c0262,_0xe07522);}}_0x550fe1['updateConversionResult'](_0x312a42,_0x2f5c36);});}),_0x2d4953['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xbd6695,{writer:_0x337a0e})=>b(_0xbd6695,_0x337a0e,_0x5be8d7,{'dataPipeline':!0x0})}),_0x2d4953['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x392b3a,{writer:_0x224533})=>b(_0x392b3a,_0x224533,_0x5be8d7)});}['_defineBogusParagraphConverters'](){const {editor:_0x36ba36}=this,{conversion:_0x16ca54}=_0x36ba36;_0x36ba36['config']['get']('footnotes.multiBlock')?(_0x16ca54['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x16ca54['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x36ba36['model']['document'],'change:data',()=>{!function(_0x2110f6,_0x3b2266){const _0x4c8566=_0x2110f6['document']['differ'],_0x35790a=new Set();for(const _0x32e772 of _0x4c8566['getChanges']()){const _0x3fdba6='attribute'==_0x32e772['type']?_0x32e772['range']['start']['parent']:_0x32e772['position']['parent'];_0x3fdba6['is']('element','footnoteDefinition')&&_0x35790a['add'](_0x3fdba6);}for(const _0x165e3c of _0x35790a['values']()){const _0x683841=Array['from'](_0x165e3c['getChildren']())['filter'](_0x7dd436=>g(_0x7dd436,_0x3b2266['mapper']));for(const _0x5c6580 of _0x683841)_0x3b2266['reconvertItem'](_0x5c6580);}}(_0x36ba36['model'],_0x36ba36['editing']);})):(_0x16ca54['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x16ca54['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5bba15,{writer:_0xe728b9})=>{const _0xcee466=_0xe728b9['createContainerElement']('span');return _0xe728b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcee466),_0xcee466;}}));}['_defineKeyboardHandlers'](){const {editor:_0x461c9b}=this,{editing:_0x24e1b8,t:t}=_0x461c9b,_0x1c1273=_0x461c9b['model']['document']['selection'];_0x461c9b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x461c9b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x24e1b8['view']['document'],'enter',(_0x2927ab,_0x244188)=>{const _0x13c642=function(_0x4ca97d){const _0x4211d3=_0x4ca97d['getSelectedElement']();if(_0x4211d3?.['is']('element','footnoteRef'))return _0x4211d3;return null;}(_0x1c1273);if(_0x13c642){const _0x549205=_0x13c642['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x549205),_0x244188['preventDefault'](),_0x2927ab['stop']();}},{'context':_0x9e120c});}['_defineClickHandlers'](){const {editor:_0x55f49b}=this,{editing:_0x2e33f2}=_0x55f49b;_0x55f49b['editing']['view']['addObserver'](_0xf6f06a),_0x55f49b['editing']['view']['addObserver'](_0x3d3d3e);let _0x442b2f=!0x1;this['listenTo'](_0x2e33f2['view']['document'],'pointerdown',(_0xfe9bf9,_0x47d5e5)=>{const {target:_0x8caf56}=_0x47d5e5,_0x13610e=_0x2e33f2['view']['document']['selection'];_0x442b2f=!!(_0x8caf56?.['is']('element','a')&&_0x8caf56['parent']?.['is']('element','sup')&&_0x8caf56['parent']['hasClass']('footnote'))&&_0x13610e['getSelectedElement']()===_0x8caf56['parent'];},{'priority':'high'}),this['listenTo'](_0x2e33f2['view']['document'],'click',(_0x38184b,_0x8f8d4f)=>{const {target:_0x34a407}=_0x8f8d4f;if(!_0x34a407?.['is']('element','a'))return;if(_0x34a407['parent']?.['is']('element','sup')&&_0x34a407['parent']['hasClass']('footnote')&&!_0x442b2f)return void _0x8f8d4f['preventDefault']();let _0x28f999=_0x34a407['getAttribute']('href');if(!_0x28f999?.['startsWith']('#'))return;_0x28f999=_0x28f999['slice'](0x1);let _0x47af33=!0x1;(_0x28f999['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x28f999['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x28f999))&&(_0x47af33=!0x0),_0x47af33&&(_0x8f8d4f['preventDefault'](),_0x38184b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5c80be}={}){return(_0x40705c,{writer:_0x1c3dfb})=>{if(!p(_0x40705c))return null;if(!_0x5c80be)return _0x1c3dfb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x18394d=_0x1c3dfb['createContainerElement']('p');return _0x1c3dfb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x18394d),_0x18394d;};}function p(_0x4cbbdd){const {parent:_0x37d40d}=_0x4cbbdd;if(!_0x37d40d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x37d40d['childCount'])return!0x1;for(const _0x5da09b of _0x4cbbdd['getAttributeKeys']())if(!_0x5da09b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5da09b)return!0x1;return!0x0;}function g(_0x2752f5,_0x2dc840){if(!_0x2752f5['is']('element','paragraph'))return!0x1;const _0x476dbd=_0x2dc840['toViewElement'](_0x2752f5);return!!_0x476dbd&&p(_0x2752f5)!==_0x476dbd['is']('element','span');}function $(_0x5e28b4){return _0x9e120c(_0x5e28b4)&&_0x5e28b4['is']('containerElement')&&!!_0x5e28b4['getCustomProperty']('footnotesDefinitions');}function v(_0x1eb1a5,_0x4be59d={}){const _0xc7f74=_0x1eb1a5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x42158c=_0x1eb1a5['createContainerElement']('ol',{'class':'footnotes-list'},_0x1eb1a5['createSlot']());return _0x1eb1a5['createContainerElement']('div',{'class':'footnotes',..._0x4be59d},[_0xc7f74,_0x42158c]);}function D(_0x584981,_0x147cd5){const _0x10b71c=_0x584981['getAttribute']('footnoteId'),_0x350bc0=_0x584981['getAttribute']('footnoteCounter'),_0x44899f=_0x147cd5['createUIElement']('a',{'href':'#'+_0x10b71c},function(_0x30132){const _0x1c5701=this['toDomElement'](_0x30132);return _0x1c5701['textContent']=_0x350bc0,_0x1c5701;}),_0x2ad048=_0x147cd5['createContainerElement']('sup',{'id':'ref-'+_0x10b71c,'class':'footnote'},[_0x44899f]);return _0x2ad048['getFillerOffset']=()=>null,_0x2ad048;}function b(_0x1a5d30,_0x42a150,_0x3b62a7,{dataPipeline:_0x3b2c44}={}){const {t:t}=_0x3b62a7,_0x2094ac=_0x1a5d30['getAttribute']('footnoteId'),_0xfa68ba=_0x42a150['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2094ac},function(_0xfeebdb){const _0x39b43d=this['toDomElement'](_0xfeebdb);return _0x39b43d['innerText']='^',_0x39b43d;}),_0x4f692f=_0x3b2c44?_0x42a150['createContainerElement']('div',{'class':'footnote-content'}):_0x5ab702(_0x42a150['createEditableElement']('div',{'class':'footnote-content'}),_0x42a150,{'label':t('Footnote\x20content.')});return _0x42a150['insert'](_0x42a150['createPositionAt'](_0x4f692f,0x0),_0x42a150['createSlot']()),_0x42a150['createContainerElement']('li',{'class':'footnote-definition','id':_0x2094ac},[_0xfa68ba,_0x4f692f]);}class e extends _0xeb7666{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4bcc1e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x39a0bc}=this,{plugins:_0x95b62d,model:_0xf4932a}=_0x39a0bc,_0x38b420=_0x95b62d['get'](_0x4bcc1e),_0x28ab66=_0x95b62d['get'](f);this['listenTo'](_0x38b420,'outputTransformation',(_0x173026,_0x3f93c1)=>{const _0x1fe9d6=c(_0xf4932a['createRangeIn'](_0x3f93c1['content']));if(!_0x1fe9d6['length'])return;const _0x344a6e=_0x28ab66['getFootnotes'](),_0x5d5364=_0x1fe9d6['reduce']((_0x392ac2,_0x58ed8e)=>{const _0x5448e4=_0x344a6e['find'](_0xf74a5c=>_0xf74a5c['id']===_0x58ed8e);if(_0x5448e4){const _0x34fda7=_0x39a0bc['data']['toView'](_0x5448e4['definition'],{'isClipboardPipeline':!0x0}),_0x3fa7e3=_0x39a0bc['data']['htmlProcessor']['toData'](_0x34fda7);_0x392ac2[_0x5448e4['id']]=_0x3fa7e3;}return _0x392ac2;},Object['create'](null));_0x3f93c1['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5d5364));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x39f315}=this,{model:_0x3963bd,plugins:_0x758d0d}=_0x39f315,{view:_0xb05144}=_0x39f315['editing'],_0x4cf4e2=_0x758d0d['get'](_0x4bcc1e),_0x445ac5=_0x758d0d['get'](f),_0xf37576=_0x39f315['config']['get']('footnotes.multiBlock');let _0x4a62f6=null;this['listenTo'](_0xb05144['document'],'clipboardInput',(_0x2a0e67,_0x250c7f)=>{const _0x2be03e=_0x250c7f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4a62f6=_0x2be03e?JSON['parse'](_0x2be03e):null;}),this['listenTo'](_0x4cf4e2,'contentInsertion',(_0x51db7c,_0x3019d9)=>{const _0x78ebac=_0x3019d9['sourceEditorId']===this['editor']['id'];_0x78ebac&&'drop'===_0x3019d9['method']||_0x3963bd['change'](_0x3dd73c=>{let _0x24bf1f=_0x445ac5['getFootnotesDefinitionsObjectElement']();const _0x2096e2=!!_0x24bf1f&&Array['from'](_0x3963bd['document']['selection']['getSelectedBlocks']())['includes'](_0x24bf1f);if((_0x24bf1f&&!_0x2096e2||!_0x24bf1f&&!_0x4a62f6)&&function(_0x163b8f,_0x1c7a46){const _0x50b135=[];for(const {item:_0x467d5e}of _0x163b8f['createRangeIn'](_0x1c7a46))_0x467d5e['is']('element','footnotesDefinitions')&&_0x50b135['push'](_0x467d5e);for(const _0x216901 of _0x50b135)_0x163b8f['remove'](_0x216901);}(_0x3dd73c,_0x3019d9['content']),!_0x4a62f6)return;const {selection:_0x55fb3d}=_0x3963bd['document'],_0x45c2aa=_0x55fb3d['getFirstRange']()['root'];_0x24bf1f&&!_0x2096e2||(_0x24bf1f=function(_0xda813e,_0x7739db){for(const {item:_0x31bffc}of _0xda813e['createRangeIn'](_0x7739db))if(_0x31bffc['is']('element','footnotesDefinitions'))return _0x31bffc;return null;}(_0x3dd73c,_0x3019d9['content']),_0x24bf1f||=_0x445ac5['_insertEmptyFootnotesDefinitionsContainer'](_0x3dd73c,_0x45c2aa));const _0x222baa=Array['from'](_0x55fb3d['getRanges']())['flatMap'](c),_0x46f569=function(_0x147946,_0x5d4acf,_0x13d19e){const _0x26c421=Object['create'](null);for(const {item:_0x42c035}of _0x147946['createRangeIn'](_0x5d4acf))if(_0x42c035['is']('element','footnoteRef')){const _0x424d6d=_0x42c035['getAttribute']('footnoteId');if(!_0x13d19e(_0x424d6d))continue;_0x26c421[_0x424d6d]||(_0x26c421[_0x424d6d]=_0x32a995()),_0x147946['setAttribute']('footnoteId',_0x26c421[_0x424d6d],_0x42c035);}return _0x26c421;}(_0x3dd73c,_0x3019d9['content'],_0x24f905=>{if(!_0x78ebac)return!0x0;return!!_0x445ac5['getFootnote'](_0x24f905)&&!_0x222baa['includes'](_0x24f905);});for(const [_0x209be2,_0x403a8e]of Object['entries'](_0x4a62f6)){const _0x4fdeee=_0x46f569[_0x209be2]||_0x209be2,_0x2b6a3b=_0x3dd73c['createElement']('footnoteDefinition',{'footnoteId':_0x4fdeee}),_0x30c046=_0x39f315['data']['htmlProcessor']['toView'](_0x403a8e);let _0x43d6d5;if(_0xf37576)_0x43d6d5=_0x39f315['data']['toModel'](_0x30c046,_0x2b6a3b);else{_0x43d6d5=_0x3dd73c['createElement']('footnoteInlineContent');const _0xe33f5e=_0x39f315['data']['toModel'](_0x30c046,_0x43d6d5);_0x3dd73c['insert'](_0xe33f5e,_0x43d6d5);}_0x3dd73c['append'](_0x43d6d5,_0x2b6a3b),_0x3dd73c['insert'](_0x2b6a3b,_0x24bf1f,'end');}_0x4a62f6=null;});});}}function c(_0x39cac2){const _0x3a0595=new Set();for(const {item:_0x16acf3}of _0x39cac2)_0x16acf3['is']('element','footnoteRef')&&_0x3a0595['add'](_0x16acf3['getAttribute']('footnoteId'));return Array['from'](_0x3a0595);}class i extends _0xeb7666{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29d81c}=this,{componentFactory:_0x45d14a}=_0x29d81c['ui'];_0x45d14a['add']('insertFootnote',x(_0x29d81c,_0x2c7d7a)),_0x45d14a['add']('menuBar:insertFootnote',x(_0x29d81c,_0x1e6c82)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1276a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x215465;for(const _0x5b56b9 in _0x1276a3){const _0x26c982=_0x5b56b9,_0x2fa7e3=_0x1276a3[_0x26c982];if('footnotesLicenseKeyValid'==_0x2fa7e3||'footnotesLicenseKeyInvalid'==_0x2fa7e3||'footnotesLicenseKeyExpired'==_0x2fa7e3||'footnotesLicenseKeyDomainLimit'==_0x2fa7e3||'footnotesLicenseKeyNotAllowed'==_0x2fa7e3||'footnotesLicenseKeyEvaluationLimit'==_0x2fa7e3||'footnotesLicenseKeyTrialLimit'==_0x2fa7e3||'footnotesLicenseKeyUsageLimit'==_0x2fa7e3){delete _0x1276a3[_0x26c982],_0x215465=_0x2fa7e3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x215465&&_0x1276a3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x215465&&_0x1276a3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x215465&&_0x1276a3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x215465&&_0x1276a3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x215465&&_0x1276a3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x215465&&_0x1276a3['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x215465&&_0x1276a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4c8756,_0x55ef82){const _0x41289d=_0x4c8756['commands']['get']('insertFootnote');return _0x50842b=>{const {t:t}=_0x50842b,_0x5ddc6c=new _0x55ef82(_0x50842b),_0x215b5f=_0x5ddc6c instanceof _0x1e6c82;return _0x5ddc6c['bind']('isEnabled')['to'](_0x41289d,'isEnabled'),_0x5ddc6c['set']({'label':t(_0x215b5f?'Footnote':'Insert\x20footnote'),'icon':_0x3b34e6,'tooltip':!0x0}),_0x5ddc6c['on']('execute',()=>{_0x41289d['execute'](),_0x4c8756['editing']['view']['focus']();}),_0x5ddc6c;};}class lt extends _0xeb7666{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 _0x27ce1c{['refresh'](){const {editor:_0x416333}=this,_0x3cca97=_0x416333['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3cca97,this['value']=_0x3cca97?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1907de}){const {editor:_0x4c0067}=this,_0x42375e=_0x4c0067['plugins']['get'](f),_0x126911=_0x42375e['getFootnotesDefinitionsObjectElement']();_0x126911&&Q['includes'](_0x1907de)&&_0x4c0067['model']['change'](_0x2d5798=>{_0x2d5798['setAttribute']('footnotesListStyle',_0x1907de,_0x126911),_0x42375e['_updateFootnotesCounters'](_0x2d5798);});}}class C extends _0x27ce1c{['refresh'](){const {editor:_0x575d55}=this,_0x3f0da7=_0x575d55['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3f0da7,this['value']=_0x3f0da7?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x807f8f}){const {editor:_0xf00f34}=this,_0xd9db6c=_0xf00f34['plugins']['get'](f),_0x6edb42=_0xd9db6c['getFootnotesDefinitionsObjectElement']();_0x6edb42&&Number['isInteger'](_0x807f8f)&&_0xf00f34['model']['change'](_0x5ad6a8=>{_0x5ad6a8['setAttribute']('footnotesListStart',_0x807f8f,_0x6edb42),_0xd9db6c['_updateFootnotesCounters'](_0x5ad6a8);});}}class P extends _0xeb7666{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bc34c}=this;_0x2bc34c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2bc34c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2bc34c['commands']['add']('footnotesStyle',new S(_0x2bc34c)),_0x2bc34c['commands']['add']('footnotesStart',new C(_0x2bc34c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x517393}=this,{schema:_0x1aaa85}=_0x517393['model'];_0x1aaa85['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x382118}=this,{conversion:_0x1a5ceb,model:_0x27ab90}=_0x382118,{schema:_0x8ccdb}=_0x27ab90;_0x1a5ceb['for']('upcast')['add'](_0x5ef14a=>{_0x5ef14a['on']('element:ol',(_0x3e2508,_0x45648c,_0x116d53)=>{const _0x2531f5=_0x45648c['viewItem'],_0x5e270e=_0x45648c['modelCursor']?.['parent'];_0x2531f5['hasClass']('footnotes-list')&&_0x5e270e?.['is']('element','footnotesDefinitions')&&(function(_0x569b09,_0x4c0ced,_0x3eb9ed,_0x3ee902){if(!_0x3ee902['checkAttribute'](_0x4c0ced,'footnotesListStart'))return;let _0x3ff20d=0x1;const _0x2b1ec7=_0x3eb9ed['consumable']['consume'](_0x569b09,{'attributes':'start'});if(_0x2b1ec7){const _0x191e41=Number['parseInt'](_0x569b09['getAttribute']('start'),0xa);Number['isNaN'](_0x191e41)||(_0x3ff20d=_0x191e41);}!_0x2b1ec7&&_0x4c0ced['hasAttribute']('footnotesListStart')||_0x3eb9ed['writer']['setAttribute']('footnotesListStart',_0x3ff20d,_0x4c0ced);}(_0x2531f5,_0x5e270e,_0x116d53,_0x8ccdb),function(_0x4eaedb,_0x10ddc2,_0x2fa44a,_0x347c6c){if(!_0x347c6c['checkAttribute'](_0x10ddc2,'footnotesListStyle'))return;let _0x2dee03='decimal',_0x5465e8=!0x1;if(_0x2fa44a['consumable']['consume'](_0x4eaedb,{'attributes':'type'})){const _0x30f87b={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4eaedb['getAttribute']('type')];_0x30f87b&&(_0x2dee03=_0x30f87b),_0x5465e8=!0x0;}_0x2fa44a['consumable']['consume'](_0x4eaedb,{'styles':'list-style-type'})&&(_0x2dee03=function(_0x54585a){switch(_0x54585a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x54585a;}}(_0x4eaedb['getStyle']('list-style-type')),_0x5465e8=!0x0),!_0x5465e8&&_0x10ddc2['hasAttribute']('footnotesListStyle')||_0x2fa44a['writer']['setAttribute']('footnotesListStyle',_0x2dee03,_0x10ddc2);}(_0x2531f5,_0x5e270e,_0x116d53,_0x8ccdb));});}),_0x1a5ceb['for']('downcast')['add'](_0x4a6bfb=>{_0x4a6bfb['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2046e7,_0x1de3bf,_0x1ff10f)=>{if(!_0x1ff10f['consumable']['consume'](_0x1de3bf['item'],_0x2046e7['name']))return;const _0x5a5171=M(_0x1de3bf['item'],_0x1ff10f['mapper']),{attributeNewValue:_0x4bc900}=_0x1de3bf;null==_0x4bc900||0x1===_0x4bc900?_0x1ff10f['writer']['removeAttribute']('start',_0x5a5171):_0x1ff10f['writer']['setAttribute']('start',String(_0x4bc900),_0x5a5171);}),_0x4a6bfb['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x888d54,_0x1a7bec,_0xb912a4)=>{if(!_0xb912a4['consumable']['consume'](_0x1a7bec['item'],_0x888d54['name']))return;const _0xaf0c28=M(_0x1a7bec['item'],_0xb912a4['mapper']),{attributeNewValue:_0x11a7d5}=_0x1a7bec;_0x11a7d5&&'decimal'!==_0x11a7d5?_0xb912a4['writer']['setStyle']('list-style-type',_0x11a7d5,_0xaf0c28):_0xb912a4['writer']['removeStyle']('list-style-type',_0xaf0c28);});});}['_definePostfixer'](){const {editor:_0x4c84d8}=this,{model:_0x1fe4b0}=_0x4c84d8,_0x49124a=_0x4c84d8['plugins']['get'](f),_0x4dd717=this['_getDefaultListStyle'](),_0x5ea245=this['_getDefaultStartIndex']();_0x1fe4b0['document']['registerPostFixer'](_0xb0cb8b=>{const _0x311d18=_0x1fe4b0['document']['differ']['getChanges']();let _0x3d8795=!0x1;for(const _0x5d62d9 of _0x311d18){if('insert'!==_0x5d62d9['type']||'$text'===_0x5d62d9['name'])continue;const _0x468bb4=_0x1fe4b0['createRangeOn'](_0x5d62d9['position']['nodeAfter']);for(const _0x30d51 of _0x468bb4['getItems']())_0x30d51['is']('element','footnotesDefinitions')&&(!_0x30d51['hasAttribute']('footnotesListStart')&&_0x1fe4b0['schema']['checkAttribute'](_0x30d51,'footnotesListStart')&&(_0xb0cb8b['setAttribute']('footnotesListStart',_0x5ea245,_0x30d51),_0x3d8795=!0x0),!_0x30d51['hasAttribute']('footnotesListStyle')&&_0x1fe4b0['schema']['checkAttribute'](_0x30d51,'footnotesListStyle')&&(_0xb0cb8b['setAttribute']('footnotesListStyle',_0x4dd717,_0x30d51),_0x3d8795=!0x0));}return _0x3d8795&&_0x49124a['_updateFootnotesCounters'](_0xb0cb8b),_0x3d8795;});}['_defineFormatter'](){const {editor:_0x587ca3}=this;_0x587ca3['plugins']['get'](f)['setFootnoteFormatter'](_0x2f66fe=>this['_formatFootnoteListValue'](_0x2f66fe));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4b89e9,value:_0x327e9d,digits:_0x2eb19f}){const _0x1750e5=_0x4b89e9['getAttribute']('footnotesListStyle'),_0xbaed35=_0x4b89e9['getAttribute']('footnotesListStart'),_0x3f0402=Math['floor'](_0x327e9d)+(_0xbaed35??0x1)-0x1;switch(_0x1750e5){case'decimal-leading-zero':return function(_0x2c8cce,_0x22cd54){return String(_0x2c8cce)['padStart'](_0x22cd54,'0');}(_0x3f0402,Math['max'](0x2,_0x2eb19f));case'lower-alpha':case'lower-latin':return N(_0x3f0402,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3f0402,!0x0);case'lower-roman':return X(_0x3f0402,!0x1);case'upper-roman':return X(_0x3f0402,!0x0);default:return String(_0x3f0402);}}}function M(_0x5088aa,_0x5629c2){const _0x3ab539=_0x5629c2['toViewElement'](_0x5088aa);return Array['from'](_0x3ab539['getChildren']())['find'](_0x1b4ca4=>_0x1b4ca4['is']('element','ol')&&_0x1b4ca4['hasClass']('footnotes-list'));}function N(_0x2e7c85,_0x14ef20){let _0x3ade3d='',_0x587a5a=_0x2e7c85;for(;_0x587a5a>0x0;){const _0x122e9b=(_0x587a5a-0x1)%0x1a;_0x3ade3d=String['fromCharCode'](0x61+_0x122e9b)+_0x3ade3d,_0x587a5a=Math['floor']((_0x587a5a-0x1)/0x1a);}return _0x14ef20?_0x3ade3d['toUpperCase']():_0x3ade3d;}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(_0x371c52,_0x334e14){let _0x59a236='',_0x1fe9e1=_0x371c52;for(const {value:_0x54fdf8,numeral:_0x473df8}of V)for(;_0x1fe9e1>=_0x54fdf8;)_0x59a236+=_0x473df8,_0x1fe9e1-=_0x54fdf8;return _0x334e14?_0x59a236:_0x59a236['toLowerCase']();}class R extends _0x5f3e58{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x367b77();['focusCycler'];constructor(_0x236f0d,{styleButtonViews:_0x125e7b,styleGridAriaLabel:_0x43b0d1}){super(_0x236f0d),(this['focusCycler']=new _0x2faa84({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x125e7b,_0x43b0d1),[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 _0x27c857 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x27c857['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 _0x180f68=_0x47df47=>_0x47df47['stopPropagation']();this['keystrokes']['set']('arrowright',_0x180f68),this['keystrokes']['set']('arrowleft',_0x180f68),this['keystrokes']['set']('arrowup',_0x180f68),this['keystrokes']['set']('arrowdown',_0x180f68);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3c2e56,_0x4a363b){const _0x32e04b=new _0x5f3e58(this['locale']);return _0x32e04b['children']=_0x32e04b['createCollection'](),_0x32e04b['children']['addMany'](_0x3c2e56),_0x32e04b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4a363b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x32e04b['children']}),_0x32e04b['children']['delegate']('execute')['to'](this),_0x32e04b['focus']=function(){for(const _0xf2301c of this['children'])if(_0xf2301c instanceof _0x2c7d7a&&_0xf2301c['isOn'])return void _0xf2301c['focus']();this['children']['first']['focus']();},_0x32e04b['focusTracker']=new ot(),_0x32e04b['keystrokes']=new rt(),_0x32e04b['render'](),_0x32e04b['keystrokes']['listenTo'](_0x32e04b['element']),this['children']['add'](_0x32e04b),_0x32e04b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4713e4=this['_createStartIndexPropertyView'](),_0x41d72f=[_0x4713e4],_0x1abc38=new st(this['locale'],_0x41d72f);return _0x1abc38['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1abc38['buttonView']['bind']('isEnabled')['toMany'](_0x41d72f,'isEnabled',(..._0x59049a)=>_0x59049a['some'](_0x42acef=>_0x42acef)),_0x1abc38['buttonView']['on']('change:isEnabled',(_0x22615b,_0x24ccc0,_0x1bfd17)=>{_0x1bfd17||(_0x1abc38['isCollapsed']=!0x0);}),this['children']['add'](_0x1abc38),[_0x4713e4,_0x1abc38];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x332ee5=new it(this['locale'],et);return _0x332ee5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x332ee5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x332ee5['fieldView']['on']('input',()=>{const _0x55600f=_0x332ee5['fieldView']['element'],_0x429083=_0x55600f['valueAsNumber'];Number['isNaN'](_0x429083)?_0x332ee5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x55600f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x429083}):_0x332ee5['errorText']=t(_0x429083<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x332ee5;}}class j extends _0xeb7666{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x59ce17,_0x6c66e1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x461783}=this,{componentFactory:_0x24c1b8}=_0x461783['ui'];_0x461783['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x24c1b8['add']('footnotesStyle',function(_0x501884){return _0x30dec7=>{const {t:t}=_0x30dec7,_0x270bb1=_0x501884['commands']['get']('footnotesStyle'),_0x18afac=_0x38dfa3(_0x30dec7),{buttonView:_0x358469}=_0x18afac;return _0x18afac['class']='ck-footnotes-styles-dropdown',_0x18afac['bind']('isEnabled')['to'](_0x270bb1,'isEnabled'),_0x358469['set']({'label':t('Footnotes\x20style'),'icon':_0x3b34e6,'tooltip':!0x0}),_0x18afac['once']('change:isOpen',()=>{const _0x33578e=function({editor:_0x3b1d2a,dropdownView:_0x5065ad}){const {t:t}=_0x3b1d2a['locale'],_0x5401c5=t('Footnotes\x20definitions\x20styles'),_0x4d582e=function(_0x1e6c9b){const t=_0x1e6c9b['locale']['t'],_0x285aa4=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x383181},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x383ca1},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x157553},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5b268f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1af5e5},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x22b71f}];return _0x285aa4['map'](function(_0x24d74c){const _0x1fdd10=_0x24d74c['locale'];return({label:_0x17a105,icon:_0x4cb29b,tooltip:_0x5af689,style:_0x28da27})=>{const _0xdf6e67=_0x24d74c['commands']['get']('footnotesStyle'),_0x267675=new _0x2c7d7a(_0x1fdd10);return _0x267675['set']({'label':_0x17a105,'icon':_0x4cb29b,'tooltip':_0x5af689}),_0x267675['bind']('isOn')['to'](_0xdf6e67,'value',_0x4a6c33=>_0x4a6c33===_0x28da27),_0x267675['bind']('isEnabled')['to'](_0xdf6e67,'isEnabled'),_0x267675['on']('execute',()=>{_0x24d74c['execute']('footnotesStyle',{'value':_0x28da27}),_0x24d74c['editing']['view']['focus']();}),_0x267675;};}(_0x1e6c9b));}(_0x3b1d2a),_0x119245=new R(_0x3b1d2a['locale'],{'styleGridAriaLabel':_0x5401c5,'styleButtonViews':_0x4d582e}),_0x4293e9=_0x3b1d2a['commands']['get']('footnotesStart');return _0x119245['startIndexFieldView']['bind']('isEnabled')['to'](_0x4293e9),_0x119245['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4293e9),_0x119245['on']('footnotesListStart',(_0x271cdf,_0x125082)=>{_0x3b1d2a['execute']('footnotesStart',{'value':_0x125082['startIndex']});}),_0x119245['delegate']('execute')['to'](_0x5065ad),_0x119245;}({'editor':_0x501884,'dropdownView':_0x18afac});_0x18afac['panelView']['children']['add'](_0x33578e);}),_0x18afac;};}(_0x461783));}['afterInit'](){const {editor:_0x1ba79b}=this,{t:t}=_0x1ba79b['locale'],_0x4b3daa=_0x1ba79b['plugins']['get'](_0x6c66e1),{defaultPositions:_0x305ee8}=_0x2fd527;_0x4b3daa['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1ba79b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3208ee=>{let _0x1b7ea3=_0x3208ee['getFirstPosition']()?.['parent'];return _0x1b7ea3?.['is']('$text')&&(_0x1b7ea3=_0x1b7ea3['parent']),_0x1b7ea3?.['is']('element')?_0x1b7ea3['findAncestor']($):null;},'positions':[_0x305ee8['southArrowNorth'],_0x305ee8['southArrowNorthMiddleWest'],_0x305ee8['southArrowNorthMiddleEast'],_0x305ee8['southArrowNorthWest'],_0x305ee8['southArrowNorthEast'],_0x305ee8['northArrowSouth'],_0x305ee8['northArrowSouthMiddleWest'],_0x305ee8['northArrowSouthMiddleEast'],_0x305ee8['northArrowSouthWest'],_0x305ee8['northArrowSouthEast'],_0x305ee8['viewportStickyNorth']]});}}class ft extends _0xeb7666{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':_0x2b3cd6=>0x1!=_0x2b3cd6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19d597=>{const {af:{dictionary:_0x9321f3,getPluralForm:_0x412b3e}}={'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':_0x37e947=>0x1!=_0x37e947}};_0x19d597['af']||={'dictionary':{},'getPluralForm':null},_0x19d597['af']['dictionary']=Object['assign'](_0x19d597['af']['dictionary'],_0x9321f3),_0x19d597['af']['getPluralForm']=_0x412b3e;})(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':_0x3ee2cd=>0x0==_0x3ee2cd?0x0:0x1==_0x3ee2cd?0x1:0x2==_0x3ee2cd?0x2:_0x3ee2cd%0x64>=0x3&&_0x3ee2cd%0x64<=0xa?0x3:_0x3ee2cd%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x578d03=>{const {ar:{dictionary:_0x38d3b6,getPluralForm:_0xa53040}}={'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':_0x5b0322=>0x0==_0x5b0322?0x0:0x1==_0x5b0322?0x1:0x2==_0x5b0322?0x2:_0x5b0322%0x64>=0x3&&_0x5b0322%0x64<=0xa?0x3:_0x5b0322%0x64>=0xb?0x4:0x5}};_0x578d03['ar']||={'dictionary':{},'getPluralForm':null},_0x578d03['ar']['dictionary']=Object['assign'](_0x578d03['ar']['dictionary'],_0x38d3b6),_0x578d03['ar']['getPluralForm']=_0xa53040;})(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':_0x2b988a=>0x1!=_0x2b988a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa79a73=>{const {ast:{dictionary:_0x715f5,getPluralForm:_0x2c6cf9}}={'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':_0x329833=>0x1!=_0x329833}};_0xa79a73['ast']||={'dictionary':{},'getPluralForm':null},_0xa79a73['ast']['dictionary']=Object['assign'](_0xa79a73['ast']['dictionary'],_0x715f5),_0xa79a73['ast']['getPluralForm']=_0x2c6cf9;})(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':_0x3d94d4=>0x1!=_0x3d94d4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3af8b4=>{const {az:{dictionary:_0x12e888,getPluralForm:_0xbc9cfd}}={'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':_0x536d31=>0x1!=_0x536d31}};_0x3af8b4['az']||={'dictionary':{},'getPluralForm':null},_0x3af8b4['az']['dictionary']=Object['assign'](_0x3af8b4['az']['dictionary'],_0x12e888),_0x3af8b4['az']['getPluralForm']=_0xbc9cfd;})(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':_0x1ee956=>_0x1ee956%0xa==0x1&&_0x1ee956%0x64!=0xb?0x0:_0x1ee956%0xa>=0x2&&_0x1ee956%0xa<=0x4&&(_0x1ee956%0x64<0xa||_0x1ee956%0x64>=0x14)?0x1:0x2}};
|