@ckeditor/ckeditor5-footnotes 48.3.0-alpha.6 → 48.3.0-alpha.7
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/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/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x56eb4a,Plugin as _0xc08808}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x59b8f1,isWidget as _0x32073b,toWidget as _0x34ea6c,toWidgetEditable as _0x954bf7}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x12d53d,KeystrokeHandler as _0x1f1aee,global as _0xadd038,logWarning as _0x2728c5,uid as _0xb173ba}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x5a99cf,PointerObserver as _0x43cdd2}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x237650}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x4529e1,ButtonView as _0x1e612d,CollapsibleView as _0x366728,ContextualBalloon as _0x2a2aa3,FocusCycler as _0x18b8f3,LabeledFieldView as _0x1b0874,MenuBarMenuListItemButtonView as _0x29f28f,View as _0x1e481f,ViewCollection as _0x5387c9,addKeyboardHandlingForGrid as _0x54394a,createDropdown as _0xe680c9,createLabeledInputNumber as _0x25532a}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x74b268,IconListStyleArabicIndic as _0x327978,IconListStyleDecimal as _0x412a32,IconListStyleDecimalLeadingZero as _0x5b51be,IconListStyleLowerLatin as _0x1fbf45,IconListStyleLowerRoman as _0x2f5ec5,IconListStyleUpperLatin as _0x426e29,IconListStyleUpperRoman as _0x1a48c6}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x424380,_0x3a5887){this['_model']=_0x424380,this['_elementName']=_0x3a5887['elementName'],this['_getElementKey']=_0x3a5887['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x1edf89){const _0xf1d52c=new Set(),_0x55bf5f=new Map();for(const _0x1f6099 of _0x1edf89){if('insert'===_0x1f6099['type']&&'$text'!==_0x1f6099['name']&&_0x1f6099['position']['nodeAfter']){const _0x11ab1d=this['_model']['createRangeOn'](_0x1f6099['position']['nodeAfter']);for(const _0x3268b2 of _0x11ab1d['getItems']()){if(!_0x3268b2['is']('element',this['_elementName']))continue;const _0x511992=this['_getElementKey'](_0x3268b2);_0x55bf5f['has'](_0x511992)||_0x55bf5f['set'](_0x511992,[]),_0x55bf5f['get'](_0x511992)['push'](_0x3268b2);}}if('remove'===_0x1f6099['type']&&_0x1f6099['name']===this['_elementName']){const _0x25d863=this['_getElementKey']({'getAttribute':_0x472385=>_0x1f6099['attributes']['get'](_0x472385)});_0xf1d52c['add'](_0x25d863);}}for(const [_0x3185f0,_0x214971]of this['_trackedElements'])'$graveyard'===_0x214971['root']['rootName']&&_0xf1d52c['add'](_0x3185f0);for(const _0x5c8caf of _0xf1d52c)this['_trackedElements']['delete'](_0x5c8caf);for(const [_0xc494e4,_0x5a1588]of _0x55bf5f)this['_trackedElements']['set'](_0xc494e4,_0x5a1588[_0x5a1588['length']-0x1]);const _0x247a06=new Set();for(const [_0x4aa148,_0x8abc84]of _0x55bf5f)_0xf1d52c['has'](_0x4aa148)&&(_0x247a06['add'](_0x8abc84[0x0]),_0x8abc84['length']>0x1?_0x55bf5f['set'](_0x4aa148,_0x8abc84['slice'](0x1)):_0x55bf5f['delete'](_0x4aa148),_0xf1d52c['delete'](_0x4aa148));return{'removed':Array['from'](_0xf1d52c),'inserted':Array['from'](_0x55bf5f['values']())['flat'](),'moved':Array['from'](_0x247a06)};}},V=class extends _0xc08808{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c9398){super(_0x2c9398),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5212ba=>_0x5212ba['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2b4202=>_0x2b4202['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5c5339}=this,{model:_0x41ee53,data:_0x4e3b32}=_0x5c5339;_0x41ee53['document']['registerPostFixer'](_0x2bef1c=>{const _0x2e816b=_0x41ee53['document']['differ']['getChanges']();let _0x58107c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2bef1c,_0x2e816b)&&(_0x58107c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2bef1c,_0x2e816b)&&(_0x58107c=!0x0),this['_handleFootnoteReferencesChanges'](_0x2bef1c,_0x2e816b)&&(_0x58107c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2bef1c)&&(_0x58107c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2bef1c)&&(_0x58107c=!0x0),this['_sortFootnoteDefinitions'](_0x2bef1c)&&(_0x58107c=!0x0),_0x58107c;}),this['listenTo'](_0x41ee53['document'],'change:data',()=>{_0x41ee53['enqueueChange']({'isUndoable':!0x1},_0x3a39c8=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3a39c8);});},{'priority':'low'}),this['listenTo'](_0x4e3b32,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x211aa3){return this['_footnotes']['find'](_0x47e267=>_0x47e267['id']===_0x211aa3)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1238e0){this['_footnoteFormatter']=_0x1238e0;}['_updateFootnotesCounters'](_0x1884df,_0xc446d3=0x0){let _0x331ccd=!0x1;for(let _0x377adb=_0xc446d3;_0x377adb<this['_footnotes']['length'];_0x377adb++)this['_updateFootnoteRefCounter'](_0x1884df,_0x377adb)&&(_0x331ccd=!0x0);return _0x331ccd;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2f11f2,_0x53c6d8){const _0x4dad47=_0x2f11f2['createElement']('footnotesDefinitions',{});return _0x2f11f2['append'](_0x4dad47,_0x53c6d8),this['_footnotesDefinitions']=_0x4dad47,_0x4dad47;}['_ensureFootnotesDefinitionsContainerExists'](_0x40266a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x102a00=this['_footnotes'][0x0]['reference']['root'],_0x29f6db=this['_insertEmptyFootnotesDefinitionsContainer'](_0x40266a,_0x102a00);for(const _0x12d991 of this['_footnotes'])_0x12d991['definition']['parent']||_0x40266a['insert'](_0x12d991['definition'],_0x29f6db,'end');this['_updateFootnotesCounters'](_0x40266a);}['_handleFootnotesDefinitionsObjectChanges'](_0x33d048,_0x4fd13c){let _0x334307=!0x1;const {inserted:_0x30e15e,removed:_0x36ee29,moved:_0x121dd3}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4fd13c);if(_0x121dd3['length']&&(this['_footnotesDefinitions']=_0x121dd3[0x0]),_0x30e15e['length']){if(_0x30e15e['length']>0x1||this['_footnotesDefinitions']&&_0x30e15e['some'](_0x5f39c1=>_0x5f39c1!==this['_footnotesDefinitions'])){const _0xf6c6bd=_0x33d048['createElement']('footnotesDefinitions',{}),_0x43071a=[];this['_footnotesDefinitions']&&_0x43071a['push'](this['_footnotesDefinitions']),_0x43071a['push'](..._0x30e15e),_0x33d048['insert'](_0xf6c6bd,_0x43071a[0x0],'before');for(const _0x45ddc7 of _0x43071a)_0x33d048['move'](_0x33d048['createRangeIn'](_0x45ddc7),_0x33d048['createPositionAt'](_0xf6c6bd,'end')),_0x33d048['remove'](_0x45ddc7);this['_footnotesDefinitions']=_0xf6c6bd,this['_updateFootnotesCounters'](_0x33d048),_0x334307=!0x0;}else this['_footnotesDefinitions']=_0x30e15e[0x0];}if(_0x36ee29['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x197292 of this['_footnotes'])_0x33d048['remove'](_0x197292['reference']),_0x334307=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x334307;}['_handleFootnoteDefinitionsChanges'](_0x390900,_0x389bdd){let _0x1fb3a9=!0x1;const _0x57649d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x502dfe,moved:_0x1758f1}=this['_footnoteDefsTracker']['getChanges'](_0x389bdd);for(const _0x144e0c of[..._0x1758f1,..._0x502dfe]){const _0x1e4e50=_0x144e0c['getAttribute']('footnoteId'),_0x1f40f3=this['getFootnote'](_0x1e4e50);_0x1f40f3&&(_0x1f40f3['definition']=_0x144e0c),K(_0x390900,_0x57649d,_0x144e0c)&&(_0x1fb3a9=!0x0);}return _0x1fb3a9;}['_handleFootnoteReferencesChanges'](_0x4a996c,_0xe7a5c1){let _0x2985d6=!0x1;const {removed:_0x247efb,inserted:_0x861158,moved:_0x4921cb}=this['_footnoteRefsTracker']['getChanges'](_0xe7a5c1);for(const _0x45a2db of _0x247efb)this['_handleRemoveFootnoteReferenceById'](_0x4a996c,_0x45a2db)&&(_0x2985d6=!0x0);for(const _0x4cf75a of _0x861158)this['_handleInsertedFootnoteReference'](_0x4a996c,_0x4cf75a)&&(_0x2985d6=!0x0);for(const _0x500e61 of _0x4921cb)this['_handleMovedFootnoteReference'](_0x4a996c,_0x500e61)&&(_0x2985d6=!0x0);return _0x2985d6;}['_handleFootnotesDefinitionsObjectSync'](_0x949fad){if(!this['_footnotesDefinitions'])return!0x1;let _0x5603fe=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x240ad6=[];for(const _0x18e821 of this['_footnotesDefinitions']['getChildren']()){const _0x2c2552=_0x18e821['getAttribute']('footnoteId');this['getFootnote'](_0x2c2552)||(_0x240ad6['unshift'](_0x18e821),_0x5603fe=!0x0);}for(const _0x23aef3 of _0x240ad6)_0x949fad['remove'](_0x23aef3);}const _0x5cf52d=new Set(),_0x2705af=[];for(const _0x262776 of this['_footnotesDefinitions']['getChildren']()){const _0x4245fe=_0x262776['getAttribute']('footnoteId');_0x5cf52d['has'](_0x4245fe)?(_0x2705af['unshift'](_0x262776),_0x5603fe=!0x0):_0x5cf52d['add'](_0x4245fe);}for(const _0x1cb695 of _0x2705af)_0x949fad['remove'](_0x1cb695);return this['_footnotesDefinitions']['childCount']||(_0x949fad['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5603fe=!0x0),_0x5603fe;}['_handleInsertedFootnoteReference'](_0x88b04e,_0x3850a4){if(this['_footnotes']['find'](_0x3af032=>_0x3af032['reference']===_0x3850a4))return!0x1;let _0x344d75=!0x1;const _0x11c45f=_0x3850a4['getAttribute']('footnoteId'),_0x52c582=this['_footnotes']['findIndex'](_0x358746=>_0x358746['id']===_0x11c45f);-0x1!==_0x52c582&&(_0x88b04e['remove'](this['_footnotes'][_0x52c582]['reference']),this['_footnotes']['splice'](_0x52c582,0x1),_0x344d75=!0x0);let _0xe9dd8a=this['_footnotesDefinitions']?function(_0x3ccda6,_0x4528d8){for(const _0x2093be of _0x3ccda6['getChildren']())if(_0x2093be['getAttribute']('footnoteId')===_0x4528d8)return _0x2093be;return null;}(this['_footnotesDefinitions'],_0x11c45f):null;_0xe9dd8a||(_0xe9dd8a=_0x88b04e['createElement']('footnoteDefinition',{'footnoteId':_0x11c45f}),this['_footnotesDefinitions']&&(_0x88b04e['insert'](_0xe9dd8a,this['_footnotesDefinitions'],'end'),_0x344d75=!0x0));const _0x5ab2bf={'id':_0x11c45f,'reference':_0x3850a4,'definition':_0xe9dd8a},_0x341b59=T(this['editor']['model'],this['_footnotes'],_0x3850a4);this['_footnotes']['splice'](_0x341b59,0x0,_0x5ab2bf);let _0x182dd2=_0x341b59;return-0x1!==_0x52c582&&(_0x182dd2=Math['min'](_0x341b59,_0x52c582)),this['_updateFootnotesCounters'](_0x88b04e,_0x182dd2)&&(_0x344d75=!0x0),_0x344d75;}['_handleRemoveFootnoteReferenceById'](_0x1f4793,_0x2d449b){const _0x45ecc4=this['_footnotes']['findIndex'](_0x3c1da8=>_0x3c1da8['id']===_0x2d449b);if(-0x1===_0x45ecc4)return!0x1;let _0x16f6b1=!0x1;const _0x212d4a=this['_footnotes'][_0x45ecc4];return'$graveyard'!==_0x212d4a['definition']['root']['rootName']&&(_0x1f4793['remove'](_0x212d4a['definition']),_0x16f6b1=!0x0),this['_footnotes']['splice'](_0x45ecc4,0x1),this['_updateFootnotesCounters'](_0x1f4793,_0x45ecc4)&&(_0x16f6b1=!0x0),_0x16f6b1;}['_handleMovedFootnoteReference'](_0x909e9c,_0x36fa67){const _0x3d817a=_0x36fa67['getAttribute']('footnoteId'),_0x391743=this['_footnotes']['findIndex'](_0x4d9ee8=>_0x4d9ee8['id']===_0x3d817a),_0x11dfce=this['_footnotes'][_0x391743];let _0x1a92cb=!0x1;_0x11dfce['reference']=_0x36fa67,this['_footnotes']['splice'](_0x391743,0x1);const _0x1c9934=T(this['editor']['model'],this['_footnotes'],_0x36fa67);return this['_footnotes']['splice'](_0x1c9934,0x0,_0x11dfce),this['_updateFootnotesCounters'](_0x909e9c,Math['min'](_0x391743,_0x1c9934))&&(_0x1a92cb=!0x0),_0x1a92cb;}['_updateFootnoteRefCounter'](_0x4b7552,_0x1aff81){if(!this['_footnotesDefinitions'])return!0x1;const _0x18f3af=this['_footnotes'][_0x1aff81];let _0x281828;return _0x281828=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x18f3af,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1aff81+0x1}):String(_0x1aff81+0x1),_0x18f3af['reference']['getAttribute']('footnoteCounter')!=_0x281828&&(_0x4b7552['setAttribute']('footnoteCounter',_0x281828,_0x18f3af['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x33f0ae){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x130983,_0x46208b){if(_0x130983['length']!==_0x46208b['length'])return!0x1;for(let _0x1da422=0x0;_0x1da422<_0x130983['length'];_0x1da422++)if(_0x130983[_0x1da422]!==_0x46208b[_0x1da422])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x55f2e9=>_0x55f2e9['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x14eea3=>_0x14eea3['getAttribute']('footnoteId'))))return!0x1;let _0x1a3c96=!0x1;for(let _0x1cb35d=0x0;_0x1cb35d<this['_footnotes']['length'];_0x1cb35d++){const _0x5a3d8c=this['_footnotes'][_0x1cb35d],_0x290f89=_0x33f0ae['createPositionBefore'](_0x5a3d8c['definition']),_0x48b3e5=_0x33f0ae['createPositionAt'](this['_footnotesDefinitions'],_0x1cb35d);_0x290f89['isEqual'](_0x48b3e5)||(_0x33f0ae['move'](_0x33f0ae['createRangeOn'](_0x5a3d8c['definition']),_0x48b3e5),_0x1a3c96=!0x0);}return _0x1a3c96;}['_ensureFootnotesReferencesHaveProperOrder'](_0x42f977){if(!this['_footnotes']['length'])return!0x1;const {model:_0x280054}=this['editor'];let _0x72965c=!0x1;for(let _0x5f5953=0x0;_0x5f5953<this['_footnotes']['length']-0x1;_0x5f5953++){const _0x182882=this['_footnotes'][_0x5f5953],_0x525b2d=this['_footnotes'][_0x5f5953+0x1],_0xde017a=_0x280054['createPositionBefore'](_0x182882['reference']),_0x33a543=_0x280054['createPositionBefore'](_0x525b2d['reference']);'after'===_0xde017a['compareWith'](_0x33a543)&&(this['_handleMovedFootnoteReference'](_0x42f977,_0x182882['reference']),_0x5f5953=-0x1,_0x72965c=!0x0);}return _0x72965c;}};function K(_0x68469,_0xe06c56,_0x1b4459){if(_0x1b4459['childCount'])return!0x1;const _0x4b8702=_0xe06c56?'paragraph':'footnoteInlineContent';return _0x68469['insert'](_0x68469['createElement'](_0x4b8702),_0x1b4459),!0x0;}function T(_0x4fbf20,_0x2ae46b,_0x1db994){if(0x0===_0x2ae46b['length'])return 0x0;const _0x5d2026=_0x4fbf20['createPositionBefore'](_0x1db994);for(let _0x5d274f=0x0;_0x5d274f<_0x2ae46b['length'];_0x5d274f++){const _0x3c417f=_0x2ae46b[_0x5d274f],_0x2c8e9a=_0x4fbf20['createPositionBefore'](_0x3c417f['reference']);if('before'===_0x5d2026['compareWith'](_0x2c8e9a))return _0x5d274f;}const _0x3d5b2d=_0x1db994['root'];let _0x3be3d3=-0x1;for(let _0x223d2f=_0x2ae46b['length']-0x1;_0x223d2f>=0x0;_0x223d2f--)if(_0x2ae46b[_0x223d2f]['reference']['root']===_0x3d5b2d){_0x3be3d3=_0x223d2f;break;}if(-0x1!==_0x3be3d3)return _0x3be3d3+0x1;const _0x32bee2=_0x4fbf20['document']['getRootNames'](),_0x2e5088=_0x32bee2[_0x32bee2['indexOf'](_0x3d5b2d['rootName'])+0x1];if(_0x2e5088){for(let _0x11479f=0x0;_0x11479f<_0x2ae46b['length'];_0x11479f++)if(_0x2ae46b[_0x11479f]['reference']['root']['rootName']===_0x2e5088)return _0x11479f;}return _0x2ae46b['length'];}var j=class extends _0x56eb4a{['refresh'](){const _0x566348=this['editor']['model']['document']['selection'],_0x31b389=this['_getPositionToInsertFootnote'](_0x566348);this['isEnabled']=!!_0x31b389;}['execute'](_0x3d637c){const {editor:_0x5d5996}=this,{model:_0x36652a}=_0x5d5996,{selection:_0x3beb29}=_0x36652a['document'],_0x1e814a=this['_getPositionToInsertFootnote'](_0x3beb29);if(!_0x1e814a)return;const _0x9fa4da=_0x5d5996['plugins']['get']('FootnotesEditing'),_0x39210a=_0x3d637c?.['footnoteId']??_0xb173ba();!function(_0x249080){return'string'==typeof _0x249080&&_0x249080['length']>0x0&&!/\s/['test'](_0x249080)&&!/^\d/['test'](_0x249080);}(_0x39210a)?_0x2728c5('insert-footnote-command-executed-with-invalid-id'):(_0x36652a['change'](_0x26c746=>{const _0x49d1b8=_0x26c746['createElement']('footnoteRef',{'footnoteId':_0x39210a});_0x36652a['insertObject'](_0x49d1b8,_0x1e814a,null);}),_0x9fa4da['_moveSelectionToFootnoteDefinition'](_0x39210a));}['_getPositionToInsertFootnote'](_0x10c701){const {model:_0x236aaa}=this['editor'],{schema:_0x2b9379}=_0x236aaa,_0x5264e0=_0x10c701['getFirstRange']();for(const _0x2a14db of _0x5264e0['getItems']())if(_0x2b9379['isBlock'](_0x2a14db)||_0x2b9379['isObject'](_0x2a14db))return null;const _0x2fcc99=_0x5264e0['end'];return _0x2b9379['checkChild'](_0x2fcc99,'footnoteRef')?_0x2fcc99:null;}},U=class extends _0xc08808{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x153b77}=this;_0x153b77['config']['define']('footnotes.multiBlock',!0x0),_0x153b77['commands']['add']('insertFootnote',new j(_0x153b77)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4e896d){const _0x40343d='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x23942f=0x78e58,_0xc95dec=window['Date']['now'](),_0x39d610=_0x4e896d['editor'],_0x507129=new window['Promise'](_0x520af7=>{_0x39d610['once']('ready',_0x520af7);}),_0x573c4a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x42a172=_0x39d610['config']['get']('licenseKey');async function _0x55d3bd(){let _0x25b3d7,_0xe546e4=null,_0x4f36c8=null;try{return'GPL'==_0x42a172?'NotAllowed':(_0x25b3d7=_0x53234b(),_0x25b3d7?(_0x25b3d7['usageEndpoint']&&(_0x4f36c8=_0x2059e3(_0x25b3d7['usageEndpoint'],_0x25b3d7['jti'])),await _0x5c0bd3()?_0x568dcc()?_0x1d3344()?'Expired':_0x55aad5()?('evaluation'==_0x25b3d7['licenseType']&&(_0xe546e4=_0x52b34d('EvaluationLimit')),await _0x3047ce()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1d3344(){const _0x3035b4=['evaluation','trial']['includes'](_0x25b3d7['licenseType'])?_0xc95dec/0x3e8:0xe10*_0x23942f;return _0x25b3d7['exp']<_0x3035b4;}function _0x568dcc(){const _0x29a6e1=_0x25b3d7['features'];return!!_0x29a6e1&&(!!_0x29a6e1['includes']('*')||!!_0x29a6e1['includes']('FOO'));}function _0x55aad5(){const _0x44d73d=_0x25b3d7['licensedHosts'];if(!_0x44d73d||0x0==_0x44d73d['length'])return!0x0;const {hostname:_0x23e8ee}=new URL(window['location']['href']);if(_0x44d73d['includes'](_0x23e8ee))return!0x0;const _0x29da4e=_0x23e8ee['split']('.');return _0x44d73d['filter'](_0x3f99d9=>_0x3f99d9['includes']('*'))['map'](_0x32ab31=>_0x32ab31['split']('.'))['filter'](_0x45181d=>_0x45181d['length']<=_0x29da4e['length'])['map'](_0x186835=>Array(_0x29da4e['length']-_0x186835['length'])['fill']('*'===_0x186835[0x0]?'*':'')['concat'](_0x186835))['some'](_0xb3d723=>_0x29da4e['every']((_0x590d3f,_0x396709)=>_0xb3d723[_0x396709]===_0x590d3f||'*'===_0xb3d723[_0x396709]));}function _0x3047ce(){return _0xe546e4&&_0x4f36c8?new window['Promise']((_0x22d621,_0x26fc2a)=>{_0xe546e4['then'](_0x22d621,_0x26fc2a),_0x4f36c8['then'](_0x5ac1ca=>{'Valid'!=_0x5ac1ca&&_0x22d621(_0x5ac1ca);},_0x26fc2a);}):_0xe546e4||_0x4f36c8||'Valid';}}function _0x2059e3(_0x519086,_0xdf0ca8){return new window['Promise'](_0x20b06e=>{if(_0x131a29())return _0x20b06e('Valid');_0x1895e1(),_0x39d610['decorate']('_sendUsageRequest');let _0x180c68=!0x1;const _0x54661e=_0xb173ba();function _0x4bfae2(_0x58332c){return!!_0x58332c&&('object'==typeof _0x58332c||'function'==typeof _0x58332c)&&'function'==typeof _0x58332c['then']&&'function'==typeof _0x58332c['catch'];}function _0x413e21(_0x56a105){_0x351316(_0x56a105)['then'](_0x132c8a=>_0x132c8a&&'ok'==_0x132c8a['status']?_0x1956e2(_0x1c4bda(_0x54661e+_0xdf0ca8))!=_0x132c8a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5e7b9e=>(_0x4ea2f9(),_0x5e7b9e),()=>{const _0x184665=_0x5dc400();return null==_0x184665?(_0x4ea2f9(),'Valid'):_0xc95dec-_0x184665>0x240c8400?'UsageLimit':'Valid';})['then'](_0x20b06e)['catch'](()=>{_0x20b06e('UsageLimit');});const _0x2cce78=0x36ee80;function _0x4ea2f9(){const _0x2f9525='llct-'+_0x1956e2(_0x1c4bda(_0x519086)),_0x1342a7=_0x4319de(_0x1956e2(window['Math']['ceil'](_0xc95dec/_0x2cce78)));window['localStorage']['setItem'](_0x2f9525,_0x1342a7);}function _0x5dc400(){const _0xd0d384='llct-'+_0x1956e2(_0x1c4bda(_0x519086)),_0x512e18=window['localStorage']['getItem'](_0xd0d384);return _0x512e18?window['parseInt'](_0x4319de(_0x512e18),0x10)*_0x2cce78:null;}function _0x351316(_0x3fd0d4){return new window['Promise']((_0x5912ad,_0x49048f)=>{_0x3fd0d4['then'](_0x5912ad,_0x49048f),window['setTimeout'](_0x49048f,0x1d4c0);});}}_0x39d610['on']('_sendUsageRequest',(_0x572cbc,_0x102799)=>{if(_0x102799[0x0]!=_0x519086)return _0x20b06e('UsageLimit');_0x102799[0x1]={..._0x102799[0x1],'requestId':_0x54661e};},{'priority':'high'}),_0x39d610['on']('_sendUsageRequest',_0x56ed41=>{_0x4bfae2(_0x56ed41['return'])&&(_0x180c68=!0x0,_0x413e21(_0x56ed41['return']));},{'priority':'low'}),_0x507129['then'](()=>{_0x180c68||_0x20b06e('UsageLimit');});});function _0x131a29(){return'auto'==_0x39d610['editing']['view']['_overlayModeHint'];}function _0x1895e1(){_0x39d610['editing']['view']['_overlayModeHint']='auto';}}function _0x52b34d(_0x41cd8c){const _0x400e5f=[new window['Promise'](_0x5e711d=>setTimeout(_0x5e711d,0x93ecc)),_0x507129['then'](()=>new window['Promise'](_0x181797=>{let _0x20cd80=0x0;_0x39d610['model']['on']('applyOperation',(_0x538e65,_0x5d3f87)=>{_0x5d3f87[0x0]['isDocumentOperation']&&_0x20cd80++,0x5e8==_0x20cd80&&(_0x181797(),_0x538e65['off']());});}))];return window['Promise']['race'](_0x400e5f)['then'](()=>_0x41cd8c);}async function _0x17a2fd(){await _0x507129,_0x39d610['model']['change']=_0x4c69d5,_0x39d610['model']['enqueueChange']=_0x4c69d5,_0x39d610['enableReadOnlyMode']('model');}function _0x415c8d(_0x22b2f3){const _0x1c43e9=_0x2c326b();_0x39d610[_0x1c43e9]='footnotesLicenseKey'+_0x22b2f3,'Valid'!=_0x22b2f3&&_0x17a2fd();}function _0x2c326b(){const _0x45773b=window['String'](window['performance']['now']())['replace']('.','');let _0x2f3228='u';for(let _0x2dd60d=0x0;_0x2dd60d<_0x45773b['length'];_0x2dd60d+=0x2){let _0x2d9442=window['parseInt'](_0x45773b['substring'](_0x2dd60d,_0x2dd60d+0x2));_0x2d9442>=0x3e&&(_0x2d9442-=0x3e),_0x2f3228+=_0x40343d[_0x2d9442];}return _0x2f3228;}function _0x53234b(){const _0x5992fa=_0x42a172['split']('.');if(0x3!=_0x5992fa['length'])return null;return _0x114727(_0x5992fa[0x1]);function _0x114727(_0x49c39c){const _0x4b916c=_0x49840a(_0x49c39c);return _0x4b916c&&_0x59148d()?_0x4b916c:null;function _0x59148d(){const _0x32c536=_0x4b916c['jti'],_0x354a8a=window['parseInt'](_0x32c536['substring'](_0x32c536['length']-0x8),0x10),_0x178f82={..._0x4b916c,'jti':_0x32c536['substring'](0x0,_0x32c536['length']-0x8)};return delete _0x178f82['vc'],_0x1c4bda(_0x178f82)==_0x354a8a;}}}async function _0x5c0bd3(){let _0x3fdd3b=!0x0;try{const [_0x18202c,_0x39c22f,_0x168980]=_0x42a172['split']('.');return _0x14013b(_0x18202c),await _0x55f08d(_0x18202c,_0x39c22f,_0x168980),_0x3fdd3b;}catch{return!0x1;}function _0x14013b(_0xceb8e3){const _0x27e597=_0x49840a(_0xceb8e3);_0x27e597&&'ES256'==_0x27e597['alg']||(_0x3fdd3b=!0x1);}async function _0x55f08d(_0x26b033,_0x512658,_0x21617f){const _0x306126=window['Uint8Array']['from'](_0x44b1d3(_0x21617f),_0x12a7df=>_0x12a7df['charCodeAt'](0x0)),_0x2d455b=new window['TextEncoder']()['encode'](_0x26b033+'.'+_0x512658),_0x430b9e=window['crypto']['subtle'];if(!_0x430b9e)return;const _0x485482=await _0x430b9e['importKey']('jwk',_0x573c4a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x430b9e['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x485482,_0x306126,_0x2d455b)||(_0x3fdd3b=!0x1);}}function _0x49840a(_0x55d881){return _0x55d881['startsWith']('ey')?JSON['parse'](_0x44b1d3(_0x55d881)):null;}function _0x44b1d3(_0x20df27){return window['atob'](_0x20df27['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1c4bda(_0x568285){let _0x4dd8fb=0x1505;function _0xb00e74(_0x550fb7){for(let _0xdbb30e=0x0;_0xdbb30e<_0x550fb7['length'];_0xdbb30e++){const _0x1d4a11=_0x550fb7['charCodeAt'](_0xdbb30e);_0x4dd8fb=(_0x4dd8fb<<0x5)+_0x4dd8fb+_0x1d4a11,_0x4dd8fb&=_0x4dd8fb;}}function _0x14be7b(_0x247ff3){Array['isArray'](_0x247ff3)?_0x247ff3['forEach'](_0x14be7b):_0x247ff3&&'object'==typeof _0x247ff3?Object['entries'](_0x247ff3)['sort']()['forEach'](([_0x3d8f8e,_0x273684])=>{_0xb00e74(_0x3d8f8e),_0x14be7b(_0x273684);}):_0xb00e74(window['String'](_0x247ff3));}return _0x14be7b(_0x568285),_0x4dd8fb>>>0x0;}function _0x1956e2(_0x1f0964){return _0x1f0964['toString'](0x10)['padStart'](0x8,'0');}function _0x4319de(_0xd5e70a){return _0xd5e70a['split']('')['reverse']()['join']('');}function _0x4c69d5(){}_0x415c8d(await _0x55d3bd());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4bf7e5){const {plugins:_0x3d9d26,editing:_0x2c0405,model:_0x17aa21}=this['editor'],_0x234735=_0x3d9d26['get'](V)['getFootnote'](_0x4bf7e5);return!!_0x234735&&(_0x17aa21['change'](_0x17ce26=>{_0x17ce26['setSelection'](_0x17ce26['createPositionAt'](_0x234735['definition'],'end'));}),_0x2c0405['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4164ac){const {plugins:_0x5d1960,editing:_0x58e228,model:_0x53e2e0}=this['editor'],_0x18540a=_0x5d1960['get'](V)['getFootnote'](_0x4164ac);return!!_0x18540a&&(_0x53e2e0['change'](_0x1de880=>{_0x1de880['setSelection'](_0x18540a['reference'],'on');}),_0x58e228['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x209200}=this['editor']['model'],_0x2d8738=this['editor']['config']['get']('footnotes.multiBlock');_0x209200['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x209200['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x209200['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2d8738?_0x209200['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x209200['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x209200['addChildCheck'](_0x44d8aa=>{for(const _0x1bae80 of _0x44d8aa)if('footnoteDefinition'===_0x1bae80['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2d97f9}=this,{conversion:_0x35c91e,editing:_0x136cff}=_0x2d97f9,{t:t}=_0x2d97f9['locale'];_0x35c91e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1b9aa0,{writer:_0x4dd019,consumable:_0x16a858})=>{const _0x5270e3=_0x1b9aa0['getChild'](0x0);if(!_0x5270e3||!_0x5270e3['is']('element','a'))return null;const _0x321413=_0x5270e3['getAttribute']('href')||'';if(!_0x321413['startsWith']('#'))return null;const _0x25364d=_0x321413['replace'](/^#/,'');if(!_0x25364d)return null;_0x16a858['consume'](_0x5270e3,{'name':!0x0,'attributes':['href']});for(const {item:_0x587a53}of _0x136cff['view']['createRangeIn'](_0x5270e3))_0x587a53['is']('$textProxy')?_0x16a858['consume'](_0x587a53['textNode'],{'name':!0x0}):_0x587a53['is']('element')&&_0x16a858['consume'](_0x587a53,{'name':!0x0});return _0x4dd019['createElement']('footnoteRef',{'footnoteId':_0x25364d});}}),_0x35c91e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a672e,{writer:_0x280e51})=>X(_0x4a672e,_0x280e51)}),_0x35c91e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x47c220,{writer:_0x533c3b})=>{const _0x23cb4b=_0x47c220['getAttribute']('footnoteCounter');return _0x34ea6c(X(_0x47c220,_0x533c3b),_0x533c3b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x23cb4b)});}});}['_defineDefinitionsConverters'](){const {editor:_0x26b17b}=this,{t:t}=_0x26b17b['locale'],{conversion:_0x2e197d}=_0x26b17b;_0x2e197d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2e197d['for']('upcast')['add'](_0x34b6d1=>{_0x34b6d1['on']('element:ol',(_0x4682a6,_0x878a89,_0x3da9c7)=>{const _0x41ab48=_0x878a89['viewItem'];if(!_0x41ab48['hasClass']('footnotes-list')||!_0x878a89['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3da9c7['consumable']['consume'](_0x41ab48,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x32e0b9,modelCursor:_0x115d38}=_0x3da9c7['convertChildren'](_0x878a89['viewItem'],_0x878a89['modelCursor']);_0x878a89['modelRange']=_0x32e0b9,_0x878a89['modelCursor']=_0x115d38;}),_0x34b6d1['on']('element:hr',(_0x57dff2,_0x3023b3,_0x2e3b00)=>{const _0x44c0f4=_0x3023b3['viewItem'];_0x44c0f4['hasClass']('footnotes-divider')&&_0x3023b3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2e3b00['consumable']['consume'](_0x44c0f4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2e197d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x528dbd,{writer:_0x8c0a7})=>H(_0x8c0a7)}),_0x2e197d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x299f03,{writer:_0x407776})=>{const _0x51bbe1=_0x34ea6c(H(_0x407776,{'data-footnotes-list-label':t('Footnotes')}),_0x407776,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x407776['setCustomProperty']('footnotesDefinitions',!0x0,_0x51bbe1),_0x51bbe1;}});}['_defineDefinitionConverters'](){const {editor:_0x5de202}=this,{conversion:_0x53d149,locale:_0x5690bd}=_0x5de202,_0x29a2f6=_0x5de202['config']['get']('footnotes.multiBlock');_0x53d149['for']('upcast')['add'](_0x4dc388=>{_0x4dc388['on']('element:li',(_0x112d6a,_0x45f096,_0x59bb65)=>{const _0x357db1=_0x45f096['viewItem'];if(!_0x357db1['hasClass']('footnote-definition')||!_0x357db1['getAttribute']('id'))return;const _0x185b90=_0x357db1['parent'];if(!_0x185b90['is']('element','ol')||!_0x185b90['hasClass']('footnotes-list'))return;if(!_0x59bb65['consumable']['test'](_0x357db1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3688e5=_0x59bb65['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x357db1['getAttribute']('id')});if(!_0x59bb65['safeInsert'](_0x3688e5,_0x45f096['modelCursor']))return;_0x59bb65['consumable']['consume'](_0x357db1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x19a631=Array['from'](_0x357db1['getChildren']())['find'](_0x175fc2=>_0x175fc2['is']('element')&&_0x175fc2['hasClass']('footnote-content'));for(const _0x1932e3 of _0x357db1['getChildren']())_0x1932e3['is']('element')&&(_0x59bb65['consumable']['consume'](_0x1932e3,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x59bb65['consumable']['consume'](_0x1932e3,{'name':!0x0,'classes':'footnote-content'}));if(_0x19a631){if(_0x29a2f6)_0x59bb65['convertChildren'](_0x19a631,_0x3688e5);else{const _0x48f73d=_0x59bb65['writer']['createElement']('footnoteInlineContent');_0x59bb65['writer']['insert'](_0x48f73d,_0x3688e5),_0x59bb65['convertChildren'](_0x19a631,_0x48f73d);}}_0x59bb65['updateConversionResult'](_0x3688e5,_0x45f096);});}),_0x53d149['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3ed06a,{writer:_0x4527a2})=>z(_0x3ed06a,_0x4527a2,_0x5690bd,{'dataPipeline':!0x0})}),_0x53d149['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x225aee,{writer:_0x8ebe5})=>z(_0x225aee,_0x8ebe5,_0x5690bd)});}['_defineBogusParagraphConverters'](){const {editor:_0xe21fb1}=this,{conversion:_0x335308}=_0xe21fb1;_0xe21fb1['config']['get']('footnotes.multiBlock')?(_0x335308['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x335308['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xe21fb1['model']['document'],'change:data',()=>{!function(_0x59b600,_0x5a20b4){const _0x3c140f=_0x59b600['document']['differ'],_0x3c6f60=new Set();for(const _0x1ee84f of _0x3c140f['getChanges']()){const _0x438b60='attribute'==_0x1ee84f['type']?_0x1ee84f['range']['start']['parent']:_0x1ee84f['position']['parent'];_0x438b60['is']('element','footnoteDefinition')&&_0x3c6f60['add'](_0x438b60);}for(const _0x322881 of _0x3c6f60['values']()){const _0xf8490f=Array['from'](_0x322881['getChildren']())['filter'](_0x484e04=>B(_0x484e04,_0x5a20b4['mapper']));for(const _0x530c63 of _0xf8490f)_0x5a20b4['reconvertItem'](_0x530c63);}}(_0xe21fb1['model'],_0xe21fb1['editing']);})):(_0x335308['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x335308['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x17af3c,{writer:_0x691d67})=>{const _0x2c2bbd=_0x691d67['createContainerElement']('span');return _0x691d67['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2c2bbd),_0x2c2bbd;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4a0809}=this,{editing:_0x1aa0d3,t:t}=_0x4a0809,_0x1aec94=_0x4a0809['model']['document']['selection'];_0x4a0809['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4a0809['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1aa0d3['view']['document'],'enter',(_0x4f0896,_0x415f9d)=>{const _0x2cda31=function(_0x4b01bc){const _0x2f206a=_0x4b01bc['getSelectedElement']();return _0x2f206a?.['is']('element','footnoteRef')?_0x2f206a:null;}(_0x1aec94);if(_0x2cda31){const _0x227c65=_0x2cda31['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x227c65),_0x415f9d['preventDefault'](),_0x4f0896['stop']();}},{'context':_0x32073b});}['_defineClickHandlers'](){const {editor:_0x5407f5}=this,{editing:_0x423391}=_0x5407f5;_0x5407f5['editing']['view']['addObserver'](_0x43cdd2),_0x5407f5['editing']['view']['addObserver'](_0x5a99cf);let _0x4ad56d=!0x1;this['listenTo'](_0x423391['view']['document'],'pointerdown',(_0x3643b8,_0x5d59a6)=>{const {target:_0x418b03}=_0x5d59a6,_0x4ddd35=_0x423391['view']['document']['selection'];_0x4ad56d=!!(_0x418b03?.['is']('element','a')&&_0x418b03['parent']?.['is']('element','sup')&&_0x418b03['parent']['hasClass']('footnote'))&&_0x4ddd35['getSelectedElement']()===_0x418b03['parent'];},{'priority':'high'}),this['listenTo'](_0x423391['view']['document'],'click',(_0x295850,_0x2457ea)=>{const {target:_0x150386}=_0x2457ea;if(!_0x150386?.['is']('element','a'))return;if(_0x150386['parent']?.['is']('element','sup')&&_0x150386['parent']['hasClass']('footnote')&&!_0x4ad56d)return void _0x2457ea['preventDefault']();let _0x517fee=_0x150386['getAttribute']('href');if(!_0x517fee?.['startsWith']('#'))return;_0x517fee=_0x517fee['slice'](0x1);let _0x25bc50=!0x1;(_0x517fee['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x517fee['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x517fee))&&(_0x25bc50=!0x0),_0x25bc50&&(_0x2457ea['preventDefault'](),_0x295850['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x91d121}={}){return(_0x2e5fe4,{writer:_0x5b2efb})=>{if(!M(_0x2e5fe4))return null;if(!_0x91d121)return _0x5b2efb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xe6d976=_0x5b2efb['createContainerElement']('p');return _0x5b2efb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xe6d976),_0xe6d976;};}function M(_0x4da425){const {parent:_0x526561}=_0x4da425;if(!_0x526561?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x526561['childCount'])return!0x1;for(const _0x412afd of _0x4da425['getAttributeKeys']())if(!_0x412afd['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x412afd)return!0x1;return!0x0;}function B(_0x4bf184,_0x1ee036){if(!_0x4bf184['is']('element','paragraph'))return!0x1;const _0x4a584b=_0x1ee036['toViewElement'](_0x4bf184);return!!_0x4a584b&&M(_0x4bf184)!==_0x4a584b['is']('element','span');}function q(_0x2f8d71){return _0x32073b(_0x2f8d71)&&_0x2f8d71['is']('containerElement')&&!!_0x2f8d71['getCustomProperty']('footnotesDefinitions');}function H(_0x10f355,_0x19040b={}){const _0x5af076=_0x10f355['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x59bcc8=_0x10f355['createContainerElement']('ol',{'class':'footnotes-list'},_0x10f355['createSlot']());return _0x10f355['createContainerElement']('div',{'class':'footnotes',..._0x19040b},[_0x5af076,_0x59bcc8]);}function X(_0x4dc964,_0x29a522){const _0x15fa83=_0x4dc964['getAttribute']('footnoteId'),_0x2acf80=_0x4dc964['getAttribute']('footnoteCounter'),_0x115d3e=_0x29a522['createUIElement']('a',{'href':'#'+_0x15fa83},function(_0x44c817){const _0x140b80=this['toDomElement'](_0x44c817);return _0x140b80['textContent']=_0x2acf80,_0x140b80;}),_0x80d894=_0x29a522['createContainerElement']('sup',{'id':'ref-'+_0x15fa83,'class':'footnote'},[_0x115d3e]);return _0x80d894['getFillerOffset']=()=>null,_0x80d894;}function z(_0x5cf9ef,_0x2d96d7,_0x42f1ec,{dataPipeline:_0x288ebc}={}){const {t:t}=_0x42f1ec,_0x325666=_0x5cf9ef['getAttribute']('footnoteId'),_0x709bd2=_0x2d96d7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x325666},function(_0x1bba7b){const _0x1380f5=this['toDomElement'](_0x1bba7b);return _0x1380f5['innerText']='^',_0x1380f5;}),_0xc9ee5=_0x288ebc?_0x2d96d7['createContainerElement']('div',{'class':'footnote-content'}):_0x954bf7(_0x2d96d7['createEditableElement']('div',{'class':'footnote-content'}),_0x2d96d7,{'label':t('Footnote\x20content.')});return _0x2d96d7['insert'](_0x2d96d7['createPositionAt'](_0xc9ee5,0x0),_0x2d96d7['createSlot']()),_0x2d96d7['createContainerElement']('li',{'class':'footnote-definition','id':_0x325666},[_0x709bd2,_0xc9ee5]);}var J=class extends _0xc08808{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x237650];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x10259a}=this,{plugins:_0x2440a0,model:_0x23f3f4}=_0x10259a,_0x5cb434=_0x2440a0['get'](_0x237650),_0x3e59b8=_0x2440a0['get'](V);this['listenTo'](_0x5cb434,'outputTransformation',(_0xe5f318,_0x43e612)=>{const _0x4c2761=G(_0x23f3f4['createRangeIn'](_0x43e612['content']));if(!_0x4c2761['length'])return;const _0x3082a5=_0x3e59b8['getFootnotes'](),_0x53c626=_0x4c2761['reduce']((_0x5c616d,_0x54bdd9)=>{const _0xd97c4a=_0x3082a5['find'](_0x3fda55=>_0x3fda55['id']===_0x54bdd9);if(_0xd97c4a){const _0x1d38e2=_0x10259a['data']['toView'](_0xd97c4a['definition'],{'isClipboardPipeline':!0x0}),_0x36ac0=_0x10259a['data']['htmlProcessor']['toData'](_0x1d38e2);_0x5c616d[_0xd97c4a['id']]=_0x36ac0;}return _0x5c616d;},Object['create'](null));_0x43e612['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x53c626));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1e72d0}=this,{model:_0x218635,plugins:_0x5f0f4e}=_0x1e72d0,{view:_0x490da0}=_0x1e72d0['editing'],_0x15e072=_0x5f0f4e['get'](_0x237650),_0x5da0f3=_0x5f0f4e['get'](V),_0x3f0518=_0x1e72d0['config']['get']('footnotes.multiBlock');let _0x57e889=null;this['listenTo'](_0x490da0['document'],'clipboardInput',(_0x5e35fe,_0x513906)=>{const _0x2dbe1d=_0x513906['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x57e889=_0x2dbe1d?JSON['parse'](_0x2dbe1d):null;}),this['listenTo'](_0x15e072,'contentInsertion',(_0x4fd3c8,_0xc81ad6)=>{const _0x3a32ed=_0xc81ad6['sourceEditorId']===this['editor']['id'];_0x3a32ed&&'drop'===_0xc81ad6['method']||_0x218635['change'](_0x374236=>{let _0x121c75=_0x5da0f3['getFootnotesDefinitionsObjectElement']();const _0x2b3099=!!_0x121c75&&Array['from'](_0x218635['document']['selection']['getSelectedBlocks']())['includes'](_0x121c75);if(!_0x57e889&&function(_0x2262de){for(const {item:_0x2b9e56}of _0x2262de)if(_0x2b9e56['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x218635['createRangeIn'](_0xc81ad6['content']))&&(_0x57e889=function(_0x486e29,_0x48832d){const _0x5b1dad=Q(_0x486e29,_0x48832d);if(!_0x5b1dad)return null;const _0x1ba237=Object['create'](null);for(const _0x2cbad8 of _0x5b1dad['getChildren']())_0x2cbad8['is']('element','footnoteDefinition')&&_0x2cbad8['hasAttribute']('footnoteId')&&(_0x1ba237[_0x2cbad8['getAttribute']('footnoteId')]=_0x486e29['cloneElement'](_0x2cbad8,!0x0));return Object['keys'](_0x1ba237)['length']?_0x1ba237:null;}(_0x374236,_0xc81ad6['content'])),(_0x121c75&&!_0x2b3099||!_0x121c75&&!_0x57e889)&&function(_0x35caae,_0x233da1){const _0x1359fd=[];for(const {item:_0x30ea51}of _0x35caae['createRangeIn'](_0x233da1))_0x30ea51['is']('element','footnotesDefinitions')&&_0x1359fd['push'](_0x30ea51);for(const _0x388944 of _0x1359fd)_0x35caae['remove'](_0x388944);}(_0x374236,_0xc81ad6['content']),!_0x57e889)return;const {selection:_0x294a20}=_0x218635['document'],_0x6d3274=_0x294a20['getFirstRange']()['root'];_0x121c75&&!_0x2b3099||(_0x121c75=Q(_0x374236,_0xc81ad6['content']),_0x121c75||=_0x5da0f3['_insertEmptyFootnotesDefinitionsContainer'](_0x374236,_0x6d3274));const _0x9c2cd=Array['from'](_0x294a20['getRanges']())['flatMap'](G),_0x18a406=function(_0x2004b0,_0x2cb621,_0xbe5fc4){const _0x1caf0d=Object['create'](null);for(const {item:_0x2ae016}of _0x2004b0['createRangeIn'](_0x2cb621))if(_0x2ae016['is']('element','footnoteRef')){const _0x1d0e79=_0x2ae016['getAttribute']('footnoteId');if(!_0xbe5fc4(_0x1d0e79))continue;_0x1caf0d[_0x1d0e79]||(_0x1caf0d[_0x1d0e79]=_0xb173ba()),_0x2004b0['setAttribute']('footnoteId',_0x1caf0d[_0x1d0e79],_0x2ae016);}return _0x1caf0d;}(_0x374236,_0xc81ad6['content'],_0x1328e5=>!_0x3a32ed||!!_0x5da0f3['getFootnote'](_0x1328e5)&&!_0x9c2cd['includes'](_0x1328e5));for(const [_0xa617b,_0x15a99f]of Object['entries'](_0x57e889)){const _0x14b3fa=_0x18a406[_0xa617b]||_0xa617b;let _0x54216a;if('string'!=typeof _0x15a99f)_0x54216a=_0x15a99f,_0x14b3fa!==_0xa617b&&_0x374236['setAttribute']('footnoteId',_0x14b3fa,_0x54216a);else{_0x54216a=_0x374236['createElement']('footnoteDefinition',{'footnoteId':_0x14b3fa});const _0x16de0a=_0x1e72d0['data']['htmlProcessor']['toView'](_0x15a99f);let _0x134ce8;if(_0x3f0518)_0x134ce8=_0x1e72d0['data']['toModel'](_0x16de0a,_0x54216a);else{_0x134ce8=_0x374236['createElement']('footnoteInlineContent');const _0x9207d4=_0x1e72d0['data']['toModel'](_0x16de0a,_0x134ce8);_0x374236['insert'](_0x9207d4,_0x134ce8);}_0x374236['append'](_0x134ce8,_0x54216a);}_0x374236['insert'](_0x54216a,_0x121c75,'end');}_0x57e889=null;});});}};function Q(_0x264216,_0x17fd44){for(const {item:_0x5e7458}of _0x264216['createRangeIn'](_0x17fd44))if(_0x5e7458['is']('element','footnotesDefinitions'))return _0x5e7458;return null;}function G(_0x88acae){const _0x446070=new Set();for(const {item:_0x385573}of _0x88acae)_0x385573['is']('element','footnoteRef')&&_0x446070['add'](_0x385573['getAttribute']('footnoteId'));return Array['from'](_0x446070);}var W=class extends _0xc08808{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5dadb0}=this,{componentFactory:_0x1594ae}=_0x5dadb0['ui'];_0x1594ae['add']('insertFootnote',Y(_0x5dadb0,_0x1e612d)),_0x1594ae['add']('menuBar:insertFootnote',Y(_0x5dadb0,_0x29f28f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x245bbc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x177704;for(const _0x50cf74 in _0x245bbc){const _0x1275d0=_0x50cf74,_0xab123d=_0x245bbc[_0x1275d0];if('footnotesLicenseKeyValid'==_0xab123d||'footnotesLicenseKeyInvalid'==_0xab123d||'footnotesLicenseKeyExpired'==_0xab123d||'footnotesLicenseKeyDomainLimit'==_0xab123d||'footnotesLicenseKeyNotAllowed'==_0xab123d||'footnotesLicenseKeyEvaluationLimit'==_0xab123d||'footnotesLicenseKeyUsageLimit'==_0xab123d){delete _0x245bbc[_0x1275d0],_0x177704=_0xab123d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x177704&&_0x245bbc['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x177704&&_0x245bbc['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x177704&&_0x245bbc['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x177704&&_0x245bbc['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x177704&&_0x245bbc['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x177704&&_0x245bbc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0xec6671,_0x527bd8){const _0x3fc565=_0xec6671['commands']['get']('insertFootnote');return _0x245fc4=>{const {t:t}=_0x245fc4,_0x146000=new _0x527bd8(_0x245fc4),_0x20e4f2=_0x146000 instanceof _0x29f28f;return _0x146000['bind']('isEnabled')['to'](_0x3fc565,'isEnabled'),_0x146000['set']({'label':t(_0x20e4f2?'Footnote':'Insert\x20footnote'),'icon':_0x74b268,'tooltip':!0x0}),_0x146000['on']('execute',()=>{_0x3fc565['execute'](),_0xec6671['editing']['view']['focus']();}),_0x146000;};}var Z=class extends _0xc08808{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x56eb4a{['refresh'](){const {editor:_0x33d515}=this,_0x474f91=_0x33d515['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x474f91,this['value']=_0x474f91?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4bff71}){const {editor:_0x3295a5}=this,_0x303794=_0x3295a5['plugins']['get'](V),_0x4f9536=_0x303794['getFootnotesDefinitionsObjectElement']();_0x4f9536&&ot['includes'](_0x4bff71)&&_0x3295a5['model']['change'](_0x4a9352=>{_0x4a9352['setAttribute']('footnotesListStyle',_0x4bff71,_0x4f9536),_0x303794['_updateFootnotesCounters'](_0x4a9352);});}},it=class extends _0x56eb4a{['refresh'](){const {editor:_0x445793}=this,_0x3deb1a=_0x445793['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3deb1a,this['value']=_0x3deb1a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x517857}){const {editor:_0x55f17a}=this,_0x43118c=_0x55f17a['plugins']['get'](V),_0x779eac=_0x43118c['getFootnotesDefinitionsObjectElement']();_0x779eac&&Number['isInteger'](_0x517857)&&_0x55f17a['model']['change'](_0x4ede20=>{_0x4ede20['setAttribute']('footnotesListStart',_0x517857,_0x779eac),_0x43118c['_updateFootnotesCounters'](_0x4ede20);});}};function st({style:_0x44b938,digits:_0x3978ef,value:_0x589268}){const _0x179774=Math['floor'](_0x589268),_0x4873f8=function(_0x41fa1d){switch(_0x41fa1d){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x44b938);switch((_0x179774>_0x4873f8['max']||_0x179774<_0x4873f8['min'])&&(_0x44b938='decimal'),_0x44b938){case'decimal-leading-zero':return function(_0x39846d,_0x108c7c){return String(_0x39846d)['padStart'](_0x108c7c,'0');}(_0x179774,Math['max'](0x2,_0x3978ef));case'lower-alpha':case'lower-latin':return rt(_0x179774,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x179774,!0x0);case'lower-roman':return at(_0x179774,!0x1);case'upper-roman':return at(_0x179774,!0x0);case'arabic-indic':return String(_0x179774)['replace'](/\d/g,_0x302024=>ft[Number(_0x302024)]);default:return String(_0x179774);}}function rt(_0x4fbca0,_0x1c55f5){let _0x38c777='',_0xd10e6f=_0x4fbca0;for(;_0xd10e6f>0x0;){const _0x1af389=(_0xd10e6f-0x1)%0x1a;_0x38c777=String['fromCharCode'](0x61+_0x1af389)+_0x38c777,_0xd10e6f=Math['floor']((_0xd10e6f-0x1)/0x1a);}return _0x1c55f5?_0x38c777['toUpperCase']():_0x38c777;}const lt=[{'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 at(_0x56e11f,_0x1fb767){let _0x3598b0='',_0x401487=_0x56e11f;for(const {value:_0x2aac4c,numeral:_0x2325eb}of lt)for(;_0x401487>=_0x2aac4c;)_0x3598b0+=_0x2325eb,_0x401487-=_0x2aac4c;return _0x1fb767?_0x3598b0:_0x3598b0['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0xc08808{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58fdcb}=this;_0x58fdcb['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x58fdcb['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x58fdcb['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x58fdcb['commands']['add']('footnotesStyle',new nt(_0x58fdcb)),_0x58fdcb['commands']['add']('footnotesStart',new it(_0x58fdcb)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x486c83}=this,{schema:_0x4a414b}=_0x486c83['model'];_0x4a414b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x34ec29}=this,{conversion:_0x11eec8,model:_0x33f7fc}=_0x34ec29,{schema:_0x5e8e65}=_0x33f7fc;_0x11eec8['for']('upcast')['add'](_0x5c943b=>{_0x5c943b['on']('element:ol',(_0xef57ae,_0x37102a,_0x341c7f)=>{const _0x5f1741=_0x37102a['viewItem'],_0x512fa0=_0x37102a['modelCursor']?.['parent'];_0x5f1741['hasClass']('footnotes-list')&&_0x512fa0?.['is']('element','footnotesDefinitions')&&(function(_0x301370,_0x2a0dd8,_0x4d8664,_0x4047db){if(!_0x4047db['checkAttribute'](_0x2a0dd8,'footnotesListStart'))return;let _0x4493bf=0x1;const _0x8cf8ee=_0x4d8664['consumable']['consume'](_0x301370,{'attributes':'start'});if(_0x8cf8ee){const _0x25995b=Number['parseInt'](_0x301370['getAttribute']('start'),0xa);Number['isNaN'](_0x25995b)||(_0x4493bf=_0x25995b);}!_0x8cf8ee&&_0x2a0dd8['hasAttribute']('footnotesListStart')||_0x4d8664['writer']['setAttribute']('footnotesListStart',_0x4493bf,_0x2a0dd8);}(_0x5f1741,_0x512fa0,_0x341c7f,_0x5e8e65),function(_0xca929c,_0xeaf66c,_0x2c1a5b,_0x463bcc){if(!_0x463bcc['checkAttribute'](_0xeaf66c,'footnotesListStyle'))return;let _0x1df184='decimal',_0x1bc147=!0x1;if(_0x2c1a5b['consumable']['consume'](_0xca929c,{'attributes':'type'})){const _0x536cf4={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0xca929c['getAttribute']('type')];_0x536cf4&&(_0x1df184=_0x536cf4),_0x1bc147=!0x0;}if(_0x2c1a5b['consumable']['consume'](_0xca929c,{'styles':'list-style-type'})){const _0x58435c=ut(_0xca929c['getStyle']('list-style-type'));_0x58435c&&(_0x1df184=_0x58435c),_0x1bc147=!0x0;}!_0x1bc147&&_0xeaf66c['hasAttribute']('footnotesListStyle')||_0x2c1a5b['writer']['setAttribute']('footnotesListStyle',_0x1df184,_0xeaf66c);}(_0x5f1741,_0x512fa0,_0x341c7f,_0x5e8e65));});}),_0x11eec8['for']('downcast')['add'](_0x2e9b44=>{_0x2e9b44['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3f8d8d,_0x5b0bf9,_0x5dce04)=>{if(!_0x5dce04['consumable']['consume'](_0x5b0bf9['item'],_0x3f8d8d['name']))return;const _0x4a13f4=dt(_0x5b0bf9['item'],_0x5dce04['mapper']),{attributeNewValue:_0x63f6d7}=_0x5b0bf9;null==_0x63f6d7||0x1===_0x63f6d7?_0x5dce04['writer']['removeAttribute']('start',_0x4a13f4):_0x5dce04['writer']['setAttribute']('start',String(_0x63f6d7),_0x4a13f4);}),_0x2e9b44['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x53922e,_0x37fad8,_0x3ef067)=>{if(!_0x3ef067['consumable']['consume'](_0x37fad8['item'],_0x53922e['name']))return;const _0x112068=dt(_0x37fad8['item'],_0x3ef067['mapper']),{attributeNewValue:_0x3a3ac4}=_0x37fad8;_0x3a3ac4&&'decimal'!==_0x3a3ac4?_0x3ef067['writer']['setStyle']('list-style-type',_0x3a3ac4,_0x112068):_0x3ef067['writer']['removeStyle']('list-style-type',_0x112068);});});}['_definePostfixer'](){const {editor:_0x3008c1}=this,{model:_0x55be1d}=_0x3008c1,_0x267603=_0x3008c1['plugins']['get'](V),_0x1dedb9=this['_getDefaultListStyle'](),_0x4644b8=this['_getDefaultStartIndex']();_0x55be1d['document']['registerPostFixer'](_0x1baf6a=>{const _0x53aef8=_0x55be1d['document']['differ']['getChanges']();let _0x5d7cf6=!0x1;for(const _0x2baf34 of _0x53aef8){if('insert'!==_0x2baf34['type']||'$text'===_0x2baf34['name'])continue;const _0x349f4a=_0x55be1d['createRangeOn'](_0x2baf34['position']['nodeAfter']);for(const _0x215515 of _0x349f4a['getItems']())_0x215515['is']('element','footnotesDefinitions')&&(!_0x215515['hasAttribute']('footnotesListStart')&&_0x55be1d['schema']['checkAttribute'](_0x215515,'footnotesListStart')&&(_0x1baf6a['setAttribute']('footnotesListStart',_0x4644b8,_0x215515),_0x5d7cf6=!0x0),!_0x215515['hasAttribute']('footnotesListStyle')&&_0x55be1d['schema']['checkAttribute'](_0x215515,'footnotesListStyle')&&(_0x1baf6a['setAttribute']('footnotesListStyle',_0x1dedb9,_0x215515),_0x5d7cf6=!0x0));}return _0x5d7cf6&&_0x267603['_updateFootnotesCounters'](_0x1baf6a),_0x5d7cf6;});}['_defineFormatter'](){const {editor:_0x1ee298}=this;_0x1ee298['plugins']['get'](V)['setFootnoteFormatter'](_0x285255=>this['_formatFootnoteListValue'](_0x285255));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1da519,value:_0x301e2c,digits:_0x4f2e4c}){const _0x1bfc84=_0x1da519['getAttribute']('footnotesListStyle');return st({'value':_0x301e2c+(_0x1da519['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x1bfc84,'digits':_0x4f2e4c});}};function ut(_0x5eacd4){if('string'==typeof _0x5eacd4){const _0x5ef6e1=et[_0x5eacd4];if(_0x5ef6e1)return _0x5ef6e1;if(ot['includes'](_0x5eacd4))return _0x5eacd4;}return null;}function dt(_0x51f93d,_0x165132){const _0x29ec73=_0x165132['toViewElement'](_0x51f93d);return Array['from'](_0x29ec73['getChildren']())['find'](_0x3f8109=>_0x3f8109['is']('element','ol')&&_0x3f8109['hasClass']('footnotes-list'));}var ht=class extends _0x1e481f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x12d53d();['keystrokes']=new _0x1f1aee();['focusables']=new _0x5387c9();['focusCycler'];constructor(_0x3171d6,{styleButtonViews:_0x4412b4,styleGridAriaLabel:_0x270822}){super(_0x3171d6),(this['focusCycler']=new _0x18b8f3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4412b4,_0x270822),[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 _0x19a1d8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x19a1d8['element']);_0x54394a({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0xadd038['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 _0x127593=_0x279b5a=>_0x279b5a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x127593),this['keystrokes']['set']('arrowleft',_0x127593),this['keystrokes']['set']('arrowup',_0x127593),this['keystrokes']['set']('arrowdown',_0x127593);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x442ff8,_0x1b6459){const _0x56cb85=new _0x1e481f(this['locale']);return _0x56cb85['children']=_0x56cb85['createCollection'](),_0x56cb85['children']['addMany'](_0x442ff8),_0x56cb85['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1b6459,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x56cb85['children']}),_0x56cb85['children']['delegate']('execute')['to'](this),_0x56cb85['focus']=function(){for(const _0x2902f0 of this['children'])if(_0x2902f0 instanceof _0x1e612d&&_0x2902f0['isOn'])return void _0x2902f0['focus']();this['children']['first']['focus']();},_0x56cb85['focusTracker']=new _0x12d53d(),_0x56cb85['keystrokes']=new _0x1f1aee(),_0x56cb85['render'](),_0x56cb85['keystrokes']['listenTo'](_0x56cb85['element']),this['children']['add'](_0x56cb85),_0x56cb85;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x527a96=this['_createStartIndexPropertyView'](),_0x4f8bee=[_0x527a96],_0x2bfb5b=new _0x366728(this['locale'],_0x4f8bee);return _0x2bfb5b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2bfb5b['buttonView']['bind']('isEnabled')['toMany'](_0x4f8bee,'isEnabled',(..._0x57f805)=>_0x57f805['some'](_0x1980b7=>_0x1980b7)),_0x2bfb5b['buttonView']['on']('change:isEnabled',(_0x4d32fd,_0x53fd7f,_0x508c13)=>{_0x508c13||(_0x2bfb5b['isCollapsed']=!0x0);}),this['children']['add'](_0x2bfb5b),[_0x527a96,_0x2bfb5b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2a211d=new _0x1b0874(this['locale'],_0x25532a);return _0x2a211d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2a211d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2a211d['fieldView']['on']('input',()=>{const _0x541478=_0x2a211d['fieldView']['element'],_0x275abf=_0x541478['valueAsNumber'];Number['isNaN'](_0x275abf)?_0x2a211d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x541478['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x275abf}):_0x2a211d['errorText']=t(_0x275abf<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2a211d;}},mt=class extends _0xc08808{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2a2aa3,_0x59b8f1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27f9e9}=this,{componentFactory:_0x36a6b2}=_0x27f9e9['ui'];_0x27f9e9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x36a6b2['add']('footnotesStyle',function(_0x7c7d60){return _0x31afc7=>{const {t:t}=_0x31afc7,_0x37edb3=_0x7c7d60['commands']['get']('footnotesStyle'),_0xc66428=_0xe680c9(_0x31afc7),{buttonView:_0x7eeac6}=_0xc66428;return _0xc66428['class']='ck-footnotes-styles-dropdown',_0xc66428['bind']('isEnabled')['to'](_0x37edb3,'isEnabled'),_0x7eeac6['set']({'label':t('Footnotes\x20style'),'icon':_0x74b268,'tooltip':!0x0}),_0xc66428['once']('change:isOpen',()=>{const _0x43dc5b=function({editor:_0x469dc9,dropdownView:_0x567d2f}){const {t:t}=_0x469dc9['locale'],_0x776ab8=t('Footnotes\x20definitions\x20styles'),_0x739fd6=function(_0x5c7d6b){const {t:t}=_0x5c7d6b['locale'],_0x414342=_0x5c7d6b['config']['get']('footnotes.footnotesProperties.listStyles'),_0x34a4a6=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x412a32},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x5b51be},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2f5ec5},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x1a48c6},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1fbf45},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x426e29},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x327978}];return _0x414342['map'](_0x4b154d=>{const _0xbbef15=ut(_0x4b154d);return function(_0x32441d,_0x33448b){const {locale:_0x2587a6}=_0x32441d,{label:_0x3b9063,icon:_0xe54d76,tooltip:_0x2d44d9,style:_0x2c9378}=_0x33448b,_0x2abbef=_0x32441d['commands']['get']('footnotesStyle'),_0x49acc4=new _0x1e612d(_0x2587a6);return _0x49acc4['set']({'label':_0x3b9063,'icon':_0xe54d76,'tooltip':_0x2d44d9}),_0x49acc4['bind']('isOn')['to'](_0x2abbef,'value',_0x5a6f4c=>_0x5a6f4c===_0x2c9378),_0x49acc4['bind']('isEnabled')['to'](_0x2abbef,'isEnabled'),_0x49acc4['on']('execute',()=>{_0x32441d['execute']('footnotesStyle',{'value':_0x2c9378}),_0x32441d['editing']['view']['focus']();}),_0x49acc4;}(_0x5c7d6b,_0x34a4a6['find'](_0x56227f=>_0x56227f['style']===_0xbbef15));});}(_0x469dc9),_0x1f2994=new ht(_0x469dc9['locale'],{'styleGridAriaLabel':_0x776ab8,'styleButtonViews':_0x739fd6}),_0xab8a1a=_0x469dc9['commands']['get']('footnotesStart');return _0x1f2994['startIndexFieldView']['bind']('isEnabled')['to'](_0xab8a1a),_0x1f2994['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xab8a1a),_0x1f2994['on']('footnotesListStart',(_0x182792,_0x40d617)=>{_0x469dc9['execute']('footnotesStart',{'value':_0x40d617['startIndex']});}),_0x1f2994['delegate']('execute')['to'](_0x567d2f),_0x1f2994;}({'editor':_0x7c7d60,'dropdownView':_0xc66428});_0xc66428['panelView']['children']['add'](_0x43dc5b);}),_0xc66428;};}(_0x27f9e9));}['afterInit'](){const {editor:_0x3e78ff}=this,{t:t}=_0x3e78ff['locale'],_0x1d9d79=_0x3e78ff['plugins']['get'](_0x59b8f1),{defaultPositions:_0x34f5a3}=_0x4529e1;_0x1d9d79['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3e78ff['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xa9ee1a=>{let _0x45a894=_0xa9ee1a['getFirstPosition']()?.['parent'];return _0x45a894?.['is']('$text')&&(_0x45a894=_0x45a894['parent']),_0x45a894?.['is']('element')?_0x45a894['findAncestor'](q):null;},'positions':[_0x34f5a3['southArrowNorth'],_0x34f5a3['southArrowNorthMiddleWest'],_0x34f5a3['southArrowNorthMiddleEast'],_0x34f5a3['southArrowNorthWest'],_0x34f5a3['southArrowNorthEast'],_0x34f5a3['northArrowSouth'],_0x34f5a3['northArrowSouthMiddleWest'],_0x34f5a3['northArrowSouthMiddleEast'],_0x34f5a3['northArrowSouthWest'],_0x34f5a3['northArrowSouthEast'],_0x34f5a3['viewportStickyNorth']]});}},pt=class extends _0xc08808{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j as InsertFootnoteCommand};
|
|
23
|
+
import{Command as _0xfae74f,Plugin as _0x20fa20}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x42d7ec,isWidget as _0xad557b,toWidget as _0x3c8ad6,toWidgetEditable as _0x4b7f3d}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x3f1f4a,KeystrokeHandler as _0x536e7d,global as _0x2dd0f3,logWarning as _0x52b6bf,uid as _0x48b590}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x53677d,PointerObserver as _0x13cefb}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x206e5e}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x536066,ButtonView as _0x17e514,CollapsibleView as _0x367090,ContextualBalloon as _0xe27ca4,FocusCycler as _0x3cc606,LabeledFieldView as _0x4412c0,MenuBarMenuListItemButtonView as _0x7ecc0a,View as _0x324df3,ViewCollection as _0x5f1226,addKeyboardHandlingForGrid as _0x384e0d,createDropdown as _0x35e37f,createLabeledInputNumber as _0x4863db}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x454240,IconListStyleArabicIndic as _0x433e36,IconListStyleDecimal as _0x24602c,IconListStyleDecimalLeadingZero as _0xfab94d,IconListStyleLowerLatin as _0x14ce40,IconListStyleLowerRoman as _0x49833a,IconListStyleUpperLatin as _0xc75e81,IconListStyleUpperRoman as _0x5d92b9}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x25f6ff,_0x23af02){this['_model']=_0x25f6ff,this['_elementName']=_0x23af02['elementName'],this['_getElementKey']=_0x23af02['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x484cd3){const _0x56d417=new Set(),_0x490832=new Map();for(const _0xa0664a of _0x484cd3){if('insert'===_0xa0664a['type']&&'$text'!==_0xa0664a['name']&&_0xa0664a['position']['nodeAfter']){const _0x236f20=this['_model']['createRangeOn'](_0xa0664a['position']['nodeAfter']);for(const _0x187333 of _0x236f20['getItems']()){if(!_0x187333['is']('element',this['_elementName']))continue;const _0x5ad287=this['_getElementKey'](_0x187333);_0x490832['has'](_0x5ad287)||_0x490832['set'](_0x5ad287,[]),_0x490832['get'](_0x5ad287)['push'](_0x187333);}}if('remove'===_0xa0664a['type']&&_0xa0664a['name']===this['_elementName']){const _0x2bb406=this['_getElementKey']({'getAttribute':_0x57da36=>_0xa0664a['attributes']['get'](_0x57da36)});_0x56d417['add'](_0x2bb406);}}for(const [_0xf530e3,_0x2a869a]of this['_trackedElements'])'$graveyard'===_0x2a869a['root']['rootName']&&_0x56d417['add'](_0xf530e3);for(const _0x400a77 of _0x56d417)this['_trackedElements']['delete'](_0x400a77);for(const [_0x24665e,_0x580b22]of _0x490832)this['_trackedElements']['set'](_0x24665e,_0x580b22[_0x580b22['length']-0x1]);const _0x1807cb=new Set();for(const [_0x2d2d7b,_0x42477f]of _0x490832)_0x56d417['has'](_0x2d2d7b)&&(_0x1807cb['add'](_0x42477f[0x0]),_0x42477f['length']>0x1?_0x490832['set'](_0x2d2d7b,_0x42477f['slice'](0x1)):_0x490832['delete'](_0x2d2d7b),_0x56d417['delete'](_0x2d2d7b));return{'removed':Array['from'](_0x56d417),'inserted':Array['from'](_0x490832['values']())['flat'](),'moved':Array['from'](_0x1807cb)};}},V=class extends _0x20fa20{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4580e3){super(_0x4580e3),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x19a0cc=>_0x19a0cc['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x165ad3=>_0x165ad3['getAttribute']('footnoteId')});}['init'](){const {editor:_0x38ef0c}=this,{model:_0x5363ff,data:_0x2e729d}=_0x38ef0c;_0x5363ff['document']['registerPostFixer'](_0x5a6ad9=>{const _0xd042bd=_0x5363ff['document']['differ']['getChanges']();let _0x19df92=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5a6ad9,_0xd042bd)&&(_0x19df92=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5a6ad9,_0xd042bd)&&(_0x19df92=!0x0),this['_handleFootnoteReferencesChanges'](_0x5a6ad9,_0xd042bd)&&(_0x19df92=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5a6ad9)&&(_0x19df92=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5a6ad9)&&(_0x19df92=!0x0),this['_sortFootnoteDefinitions'](_0x5a6ad9)&&(_0x19df92=!0x0),_0x19df92;}),this['listenTo'](_0x5363ff['document'],'change:data',()=>{_0x5363ff['enqueueChange']({'isUndoable':!0x1},_0x1aaa99=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1aaa99);});},{'priority':'low'}),this['listenTo'](_0x2e729d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x1aec26){return this['_footnotes']['find'](_0x4a086c=>_0x4a086c['id']===_0x1aec26)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4e9d19){this['_footnoteFormatter']=_0x4e9d19;}['_updateFootnotesCounters'](_0x55b398,_0x1a5e75=0x0){let _0x5a16df=!0x1;for(let _0x7ac5d7=_0x1a5e75;_0x7ac5d7<this['_footnotes']['length'];_0x7ac5d7++)this['_updateFootnoteRefCounter'](_0x55b398,_0x7ac5d7)&&(_0x5a16df=!0x0);return _0x5a16df;}['_insertEmptyFootnotesDefinitionsContainer'](_0x26fac1,_0x2b6948){const _0x5616d2=_0x26fac1['createElement']('footnotesDefinitions',{});return _0x26fac1['append'](_0x5616d2,_0x2b6948),this['_footnotesDefinitions']=_0x5616d2,_0x5616d2;}['_ensureFootnotesDefinitionsContainerExists'](_0x12004e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x400cfa=this['_footnotes'][0x0]['reference']['root'],_0x11dadf=this['_insertEmptyFootnotesDefinitionsContainer'](_0x12004e,_0x400cfa);for(const _0x7761dc of this['_footnotes'])_0x7761dc['definition']['parent']||_0x12004e['insert'](_0x7761dc['definition'],_0x11dadf,'end');this['_updateFootnotesCounters'](_0x12004e);}['_handleFootnotesDefinitionsObjectChanges'](_0x6533f6,_0x151d67){let _0x361db1=!0x1;const {inserted:_0x459b68,removed:_0x2acb6d,moved:_0x670044}=this['_footnoteDefsContainerTracker']['getChanges'](_0x151d67);if(_0x670044['length']&&(this['_footnotesDefinitions']=_0x670044[0x0]),_0x459b68['length']){if(_0x459b68['length']>0x1||this['_footnotesDefinitions']&&_0x459b68['some'](_0x2d374e=>_0x2d374e!==this['_footnotesDefinitions'])){const _0x60bd11=_0x6533f6['createElement']('footnotesDefinitions',{}),_0x5c54df=[];this['_footnotesDefinitions']&&_0x5c54df['push'](this['_footnotesDefinitions']),_0x5c54df['push'](..._0x459b68),_0x6533f6['insert'](_0x60bd11,_0x5c54df[0x0],'before');for(const _0x36a9f0 of _0x5c54df)_0x6533f6['move'](_0x6533f6['createRangeIn'](_0x36a9f0),_0x6533f6['createPositionAt'](_0x60bd11,'end')),_0x6533f6['remove'](_0x36a9f0);this['_footnotesDefinitions']=_0x60bd11,this['_updateFootnotesCounters'](_0x6533f6),_0x361db1=!0x0;}else this['_footnotesDefinitions']=_0x459b68[0x0];}if(_0x2acb6d['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4eed58 of this['_footnotes'])_0x6533f6['remove'](_0x4eed58['reference']),_0x361db1=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x361db1;}['_handleFootnoteDefinitionsChanges'](_0x3d2a0c,_0x37b1b9){let _0x4ca89e=!0x1;const _0x4c9805=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x549f33,moved:_0x1cfda2}=this['_footnoteDefsTracker']['getChanges'](_0x37b1b9);for(const _0x4605ee of[..._0x1cfda2,..._0x549f33]){const _0x414bf5=_0x4605ee['getAttribute']('footnoteId'),_0x2f8d28=this['getFootnote'](_0x414bf5);_0x2f8d28&&(_0x2f8d28['definition']=_0x4605ee),K(_0x3d2a0c,_0x4c9805,_0x4605ee)&&(_0x4ca89e=!0x0);}return _0x4ca89e;}['_handleFootnoteReferencesChanges'](_0x378fb5,_0x531931){let _0x264fea=!0x1;const {removed:_0xebf0f7,inserted:_0x2ffe2c,moved:_0x8b6c2e}=this['_footnoteRefsTracker']['getChanges'](_0x531931);for(const _0x209ae3 of _0xebf0f7)this['_handleRemoveFootnoteReferenceById'](_0x378fb5,_0x209ae3)&&(_0x264fea=!0x0);for(const _0x4e0b68 of _0x2ffe2c)this['_handleInsertedFootnoteReference'](_0x378fb5,_0x4e0b68)&&(_0x264fea=!0x0);for(const _0x413d8d of _0x8b6c2e)this['_handleMovedFootnoteReference'](_0x378fb5,_0x413d8d)&&(_0x264fea=!0x0);return _0x264fea;}['_handleFootnotesDefinitionsObjectSync'](_0x2ef0a7){if(!this['_footnotesDefinitions'])return!0x1;let _0x3dff37=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1b5af0=[];for(const _0x3b1019 of this['_footnotesDefinitions']['getChildren']()){const _0x4ddcb1=_0x3b1019['getAttribute']('footnoteId');this['getFootnote'](_0x4ddcb1)||(_0x1b5af0['unshift'](_0x3b1019),_0x3dff37=!0x0);}for(const _0x5e9f36 of _0x1b5af0)_0x2ef0a7['remove'](_0x5e9f36);}const _0x164071=new Set(),_0x4c4b8c=[];for(const _0x49f24d of this['_footnotesDefinitions']['getChildren']()){const _0xdd2f3d=_0x49f24d['getAttribute']('footnoteId');_0x164071['has'](_0xdd2f3d)?(_0x4c4b8c['unshift'](_0x49f24d),_0x3dff37=!0x0):_0x164071['add'](_0xdd2f3d);}for(const _0x5573e0 of _0x4c4b8c)_0x2ef0a7['remove'](_0x5573e0);return this['_footnotesDefinitions']['childCount']||(_0x2ef0a7['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3dff37=!0x0),_0x3dff37;}['_handleInsertedFootnoteReference'](_0x16b50c,_0x36188f){if(this['_footnotes']['find'](_0x4d2f11=>_0x4d2f11['reference']===_0x36188f))return!0x1;let _0x23a0e7=!0x1;const _0x13889b=_0x36188f['getAttribute']('footnoteId'),_0x43c0e3=this['_footnotes']['findIndex'](_0x4ab3d2=>_0x4ab3d2['id']===_0x13889b);-0x1!==_0x43c0e3&&(_0x16b50c['remove'](this['_footnotes'][_0x43c0e3]['reference']),this['_footnotes']['splice'](_0x43c0e3,0x1),_0x23a0e7=!0x0);let _0x2ec304=this['_footnotesDefinitions']?function(_0x328015,_0x2214be){for(const _0xe409a of _0x328015['getChildren']())if(_0xe409a['getAttribute']('footnoteId')===_0x2214be)return _0xe409a;return null;}(this['_footnotesDefinitions'],_0x13889b):null;_0x2ec304||(_0x2ec304=_0x16b50c['createElement']('footnoteDefinition',{'footnoteId':_0x13889b}),this['_footnotesDefinitions']&&(_0x16b50c['insert'](_0x2ec304,this['_footnotesDefinitions'],'end'),_0x23a0e7=!0x0));const _0x56e6c1={'id':_0x13889b,'reference':_0x36188f,'definition':_0x2ec304},_0x44f112=T(this['editor']['model'],this['_footnotes'],_0x36188f);this['_footnotes']['splice'](_0x44f112,0x0,_0x56e6c1);let _0x59d0ac=_0x44f112;return-0x1!==_0x43c0e3&&(_0x59d0ac=Math['min'](_0x44f112,_0x43c0e3)),this['_updateFootnotesCounters'](_0x16b50c,_0x59d0ac)&&(_0x23a0e7=!0x0),_0x23a0e7;}['_handleRemoveFootnoteReferenceById'](_0x5b8383,_0x3d92ad){const _0x3b1236=this['_footnotes']['findIndex'](_0x2a8cec=>_0x2a8cec['id']===_0x3d92ad);if(-0x1===_0x3b1236)return!0x1;let _0x3805=!0x1;const _0x15d034=this['_footnotes'][_0x3b1236];return'$graveyard'!==_0x15d034['definition']['root']['rootName']&&(_0x5b8383['remove'](_0x15d034['definition']),_0x3805=!0x0),this['_footnotes']['splice'](_0x3b1236,0x1),this['_updateFootnotesCounters'](_0x5b8383,_0x3b1236)&&(_0x3805=!0x0),_0x3805;}['_handleMovedFootnoteReference'](_0x2c9306,_0xc09b63){const _0x55574b=_0xc09b63['getAttribute']('footnoteId'),_0x2b28b5=this['_footnotes']['findIndex'](_0x5ec6a0=>_0x5ec6a0['id']===_0x55574b),_0x1647cf=this['_footnotes'][_0x2b28b5];let _0x4bfb57=!0x1;_0x1647cf['reference']=_0xc09b63,this['_footnotes']['splice'](_0x2b28b5,0x1);const _0x1f08e5=T(this['editor']['model'],this['_footnotes'],_0xc09b63);return this['_footnotes']['splice'](_0x1f08e5,0x0,_0x1647cf),this['_updateFootnotesCounters'](_0x2c9306,Math['min'](_0x2b28b5,_0x1f08e5))&&(_0x4bfb57=!0x0),_0x4bfb57;}['_updateFootnoteRefCounter'](_0x2fc33d,_0x38bdc7){if(!this['_footnotesDefinitions'])return!0x1;const _0x49ecad=this['_footnotes'][_0x38bdc7];let _0x15f29b;return _0x15f29b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x49ecad,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x38bdc7+0x1}):String(_0x38bdc7+0x1),_0x49ecad['reference']['getAttribute']('footnoteCounter')!=_0x15f29b&&(_0x2fc33d['setAttribute']('footnoteCounter',_0x15f29b,_0x49ecad['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x42b442){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x383c72,_0x7fbcbb){if(_0x383c72['length']!==_0x7fbcbb['length'])return!0x1;for(let _0x56b5bf=0x0;_0x56b5bf<_0x383c72['length'];_0x56b5bf++)if(_0x383c72[_0x56b5bf]!==_0x7fbcbb[_0x56b5bf])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x14084e=>_0x14084e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4cc4f8=>_0x4cc4f8['getAttribute']('footnoteId'))))return!0x1;let _0x4e6703=!0x1;for(let _0x213bf4=0x0;_0x213bf4<this['_footnotes']['length'];_0x213bf4++){const _0x128d04=this['_footnotes'][_0x213bf4],_0x4faf3c=_0x42b442['createPositionBefore'](_0x128d04['definition']),_0x2c7d3c=_0x42b442['createPositionAt'](this['_footnotesDefinitions'],_0x213bf4);_0x4faf3c['isEqual'](_0x2c7d3c)||(_0x42b442['move'](_0x42b442['createRangeOn'](_0x128d04['definition']),_0x2c7d3c),_0x4e6703=!0x0);}return _0x4e6703;}['_ensureFootnotesReferencesHaveProperOrder'](_0x24e534){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1a85c7}=this['editor'];let _0x2e7674=!0x1;for(let _0x5874a3=0x0;_0x5874a3<this['_footnotes']['length']-0x1;_0x5874a3++){const _0x4c11b3=this['_footnotes'][_0x5874a3],_0x379029=this['_footnotes'][_0x5874a3+0x1],_0x556236=_0x1a85c7['createPositionBefore'](_0x4c11b3['reference']),_0x3aec6e=_0x1a85c7['createPositionBefore'](_0x379029['reference']);'after'===_0x556236['compareWith'](_0x3aec6e)&&(this['_handleMovedFootnoteReference'](_0x24e534,_0x4c11b3['reference']),_0x5874a3=-0x1,_0x2e7674=!0x0);}return _0x2e7674;}};function K(_0x296211,_0x22e96b,_0x3ec395){if(_0x3ec395['childCount'])return!0x1;const _0x4748dd=_0x22e96b?'paragraph':'footnoteInlineContent';return _0x296211['insert'](_0x296211['createElement'](_0x4748dd),_0x3ec395),!0x0;}function T(_0x480403,_0x201a8a,_0x482e26){if(0x0===_0x201a8a['length'])return 0x0;const _0x121bad=_0x480403['createPositionBefore'](_0x482e26);for(let _0x1c0dbf=0x0;_0x1c0dbf<_0x201a8a['length'];_0x1c0dbf++){const _0x4552ca=_0x201a8a[_0x1c0dbf],_0x11782a=_0x480403['createPositionBefore'](_0x4552ca['reference']);if('before'===_0x121bad['compareWith'](_0x11782a))return _0x1c0dbf;}const _0x166ffe=_0x482e26['root'];let _0x4375c2=-0x1;for(let _0x3b5061=_0x201a8a['length']-0x1;_0x3b5061>=0x0;_0x3b5061--)if(_0x201a8a[_0x3b5061]['reference']['root']===_0x166ffe){_0x4375c2=_0x3b5061;break;}if(-0x1!==_0x4375c2)return _0x4375c2+0x1;const _0x31ebd3=_0x480403['document']['getRootNames'](),_0x42a583=_0x31ebd3[_0x31ebd3['indexOf'](_0x166ffe['rootName'])+0x1];if(_0x42a583){for(let _0x3f35e6=0x0;_0x3f35e6<_0x201a8a['length'];_0x3f35e6++)if(_0x201a8a[_0x3f35e6]['reference']['root']['rootName']===_0x42a583)return _0x3f35e6;}return _0x201a8a['length'];}var j=class extends _0xfae74f{['refresh'](){const _0x2621cc=this['editor']['model']['document']['selection'],_0x13f813=this['_getPositionToInsertFootnote'](_0x2621cc);this['isEnabled']=!!_0x13f813;}['execute'](_0x1f7b5a){const {editor:_0x2e38ee}=this,{model:_0x19b329}=_0x2e38ee,{selection:_0x403aeb}=_0x19b329['document'],_0x2be625=this['_getPositionToInsertFootnote'](_0x403aeb);if(!_0x2be625)return;const _0x4564ff=_0x2e38ee['plugins']['get']('FootnotesEditing'),_0x4414dc=_0x1f7b5a?.['footnoteId']??_0x48b590();!function(_0x4ced0e){return'string'==typeof _0x4ced0e&&_0x4ced0e['length']>0x0&&!/\s/['test'](_0x4ced0e)&&!/^\d/['test'](_0x4ced0e);}(_0x4414dc)?_0x52b6bf('insert-footnote-command-executed-with-invalid-id'):(_0x19b329['change'](_0x3aaf08=>{const _0x546655=_0x3aaf08['createElement']('footnoteRef',{'footnoteId':_0x4414dc});_0x19b329['insertObject'](_0x546655,_0x2be625,null);}),_0x4564ff['_moveSelectionToFootnoteDefinition'](_0x4414dc));}['_getPositionToInsertFootnote'](_0x547816){const {model:_0x2a6e2a}=this['editor'],{schema:_0x20e497}=_0x2a6e2a,_0x4d80a7=_0x547816['getFirstRange']();for(const _0x579564 of _0x4d80a7['getItems']())if(_0x20e497['isBlock'](_0x579564)||_0x20e497['isObject'](_0x579564))return null;const _0x353951=_0x4d80a7['end'];return _0x20e497['checkChild'](_0x353951,'footnoteRef')?_0x353951:null;}},U=class extends _0x20fa20{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17424c}=this;_0x17424c['config']['define']('footnotes.multiBlock',!0x0),_0x17424c['commands']['add']('insertFootnote',new j(_0x17424c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x48458e){const _0x5992b4='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x377b24=0x78e70,_0x20a71c=window['Date']['now'](),_0x345377=_0x48458e['editor'],_0xc2bd4a=new window['Promise'](_0x1c431d=>{_0x345377['once']('ready',_0x1c431d);}),_0x20fd60={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5cda37=_0x345377['config']['get']('licenseKey');async function _0x5cf6be(){let _0x1f1acb,_0x44b603=null,_0x270c86=null;try{return'GPL'==_0x5cda37?'NotAllowed':(_0x1f1acb=_0x444297(),_0x1f1acb?(_0x1f1acb['usageEndpoint']&&(_0x270c86=_0xcd278b(_0x1f1acb['usageEndpoint'],_0x1f1acb['jti'])),await _0x5e9c6d()?_0x2290ab()?_0xb9136b()?'Expired':_0x521919()?('evaluation'==_0x1f1acb['licenseType']&&(_0x44b603=_0x4500ad('EvaluationLimit')),await _0x43fd8a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xb9136b(){const _0x31deef=['evaluation','trial']['includes'](_0x1f1acb['licenseType'])?_0x20a71c/0x3e8:0xe10*_0x377b24;return _0x1f1acb['exp']<_0x31deef;}function _0x2290ab(){const _0x36d9f2=_0x1f1acb['features'];return!!_0x36d9f2&&(!!_0x36d9f2['includes']('*')||!!_0x36d9f2['includes']('FOO'));}function _0x521919(){const _0x2905fe=_0x1f1acb['licensedHosts'];if(!_0x2905fe||0x0==_0x2905fe['length'])return!0x0;const {hostname:_0x5cdd29}=new URL(window['location']['href']);if(_0x2905fe['includes'](_0x5cdd29))return!0x0;const _0x52d191=_0x5cdd29['split']('.');return _0x2905fe['filter'](_0x40112a=>_0x40112a['includes']('*'))['map'](_0x24df98=>_0x24df98['split']('.'))['filter'](_0x2a3a59=>_0x2a3a59['length']<=_0x52d191['length'])['map'](_0x10e1d4=>Array(_0x52d191['length']-_0x10e1d4['length'])['fill']('*'===_0x10e1d4[0x0]?'*':'')['concat'](_0x10e1d4))['some'](_0x4a689e=>_0x52d191['every']((_0x42192d,_0x51cd90)=>_0x4a689e[_0x51cd90]===_0x42192d||'*'===_0x4a689e[_0x51cd90]));}function _0x43fd8a(){return _0x44b603&&_0x270c86?new window['Promise']((_0x3c22f5,_0x500d14)=>{_0x44b603['then'](_0x3c22f5,_0x500d14),_0x270c86['then'](_0x3f0d14=>{'Valid'!=_0x3f0d14&&_0x3c22f5(_0x3f0d14);},_0x500d14);}):_0x44b603||_0x270c86||'Valid';}}function _0xcd278b(_0x8a74b2,_0xd8c65b){return new window['Promise'](_0x2f9808=>{if(_0x4f68ba())return _0x2f9808('Valid');_0x4451cb(),_0x345377['decorate']('_sendUsageRequest');let _0x14e770=!0x1;const _0x28b4a3=_0x48b590();function _0x3675e5(_0x856137){return!!_0x856137&&('object'==typeof _0x856137||'function'==typeof _0x856137)&&'function'==typeof _0x856137['then']&&'function'==typeof _0x856137['catch'];}function _0x12fbaa(_0xae35f0){_0x1a46fd(_0xae35f0)['then'](_0x22f49a=>_0x22f49a&&'ok'==_0x22f49a['status']?_0x2458e1(_0x12f2b3(_0x28b4a3+_0xd8c65b))!=_0x22f49a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xd39bba=>(_0x55b9e1(),_0xd39bba),()=>{const _0x276595=_0x43f580();return null==_0x276595?(_0x55b9e1(),'Valid'):_0x20a71c-_0x276595>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2f9808)['catch'](()=>{_0x2f9808('UsageLimit');});const _0x3581bd=0x36ee80;function _0x55b9e1(){const _0x226364='llct-'+_0x2458e1(_0x12f2b3(_0x8a74b2)),_0x5d9801=_0x1d56b6(_0x2458e1(window['Math']['ceil'](_0x20a71c/_0x3581bd)));window['localStorage']['setItem'](_0x226364,_0x5d9801);}function _0x43f580(){const _0x34b061='llct-'+_0x2458e1(_0x12f2b3(_0x8a74b2)),_0x267d84=window['localStorage']['getItem'](_0x34b061);return _0x267d84?window['parseInt'](_0x1d56b6(_0x267d84),0x10)*_0x3581bd:null;}function _0x1a46fd(_0x3e3236){return new window['Promise']((_0x40eacc,_0x3b0958)=>{_0x3e3236['then'](_0x40eacc,_0x3b0958),window['setTimeout'](_0x3b0958,0x1d4c0);});}}_0x345377['on']('_sendUsageRequest',(_0x540313,_0x3143be)=>{if(_0x3143be[0x0]!=_0x8a74b2)return _0x2f9808('UsageLimit');_0x3143be[0x1]={..._0x3143be[0x1],'requestId':_0x28b4a3};},{'priority':'high'}),_0x345377['on']('_sendUsageRequest',_0x275ba8=>{_0x3675e5(_0x275ba8['return'])&&(_0x14e770=!0x0,_0x12fbaa(_0x275ba8['return']));},{'priority':'low'}),_0xc2bd4a['then'](()=>{_0x14e770||_0x2f9808('UsageLimit');});});function _0x4f68ba(){return'auto'==_0x345377['editing']['view']['_overlayModeHint'];}function _0x4451cb(){_0x345377['editing']['view']['_overlayModeHint']='auto';}}function _0x4500ad(_0x43779d){const _0x477495=[new window['Promise'](_0x52d846=>setTimeout(_0x52d846,0x93ecc)),_0xc2bd4a['then'](()=>new window['Promise'](_0x240f2a=>{let _0xf76693=0x0;_0x345377['model']['on']('applyOperation',(_0x40c6cc,_0x267872)=>{_0x267872[0x0]['isDocumentOperation']&&_0xf76693++,0x5e8==_0xf76693&&(_0x240f2a(),_0x40c6cc['off']());});}))];return window['Promise']['race'](_0x477495)['then'](()=>_0x43779d);}async function _0x34e62a(){await _0xc2bd4a,_0x345377['model']['change']=_0x3540c3,_0x345377['model']['enqueueChange']=_0x3540c3,_0x345377['enableReadOnlyMode']('model');}function _0x4f343a(_0x117c6a){const _0xd61a63=_0x274e64();_0x345377[_0xd61a63]='footnotesLicenseKey'+_0x117c6a,'Valid'!=_0x117c6a&&_0x34e62a();}function _0x274e64(){const _0x279976=window['String'](window['performance']['now']())['replace']('.','');let _0x520aa2='u';for(let _0x56463a=0x0;_0x56463a<_0x279976['length'];_0x56463a+=0x2){let _0x5111d1=window['parseInt'](_0x279976['substring'](_0x56463a,_0x56463a+0x2));_0x5111d1>=0x3e&&(_0x5111d1-=0x3e),_0x520aa2+=_0x5992b4[_0x5111d1];}return _0x520aa2;}function _0x444297(){const _0x34cb21=_0x5cda37['split']('.');if(0x3!=_0x34cb21['length'])return null;return _0x121628(_0x34cb21[0x1]);function _0x121628(_0x31b3b3){const _0x5980f8=_0x7bd88f(_0x31b3b3);return _0x5980f8&&_0x108471()?_0x5980f8:null;function _0x108471(){const _0x24ace1=_0x5980f8['jti'],_0x483717=window['parseInt'](_0x24ace1['substring'](_0x24ace1['length']-0x8),0x10),_0x480d68={..._0x5980f8,'jti':_0x24ace1['substring'](0x0,_0x24ace1['length']-0x8)};return delete _0x480d68['vc'],_0x12f2b3(_0x480d68)==_0x483717;}}}async function _0x5e9c6d(){let _0x5d2828=!0x0;try{const [_0x2589ba,_0x2a0171,_0x692143]=_0x5cda37['split']('.');return _0x384da8(_0x2589ba),await _0x1ad0fb(_0x2589ba,_0x2a0171,_0x692143),_0x5d2828;}catch{return!0x1;}function _0x384da8(_0x5405b2){const _0x18c06e=_0x7bd88f(_0x5405b2);_0x18c06e&&'ES256'==_0x18c06e['alg']||(_0x5d2828=!0x1);}async function _0x1ad0fb(_0x1172b7,_0x25afbb,_0x4b927a){const _0xe69151=window['Uint8Array']['from'](_0x5aaa11(_0x4b927a),_0x4638e7=>_0x4638e7['charCodeAt'](0x0)),_0x3e3303=new window['TextEncoder']()['encode'](_0x1172b7+'.'+_0x25afbb),_0x1099ff=window['crypto']['subtle'];if(!_0x1099ff)return;const _0x225965=await _0x1099ff['importKey']('jwk',_0x20fd60,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1099ff['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x225965,_0xe69151,_0x3e3303)||(_0x5d2828=!0x1);}}function _0x7bd88f(_0x620294){return _0x620294['startsWith']('ey')?JSON['parse'](_0x5aaa11(_0x620294)):null;}function _0x5aaa11(_0x26e410){return window['atob'](_0x26e410['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x12f2b3(_0x1e6e89){let _0x53074d=0x1505;function _0x3409d8(_0x5dc886){for(let _0x38b973=0x0;_0x38b973<_0x5dc886['length'];_0x38b973++){const _0x4bbf53=_0x5dc886['charCodeAt'](_0x38b973);_0x53074d=(_0x53074d<<0x5)+_0x53074d+_0x4bbf53,_0x53074d&=_0x53074d;}}function _0x4cea1c(_0x2a8df1){Array['isArray'](_0x2a8df1)?_0x2a8df1['forEach'](_0x4cea1c):_0x2a8df1&&'object'==typeof _0x2a8df1?Object['entries'](_0x2a8df1)['sort']()['forEach'](([_0x395848,_0x5b3b05])=>{_0x3409d8(_0x395848),_0x4cea1c(_0x5b3b05);}):_0x3409d8(window['String'](_0x2a8df1));}return _0x4cea1c(_0x1e6e89),_0x53074d>>>0x0;}function _0x2458e1(_0x8aa596){return _0x8aa596['toString'](0x10)['padStart'](0x8,'0');}function _0x1d56b6(_0x2e2930){return _0x2e2930['split']('')['reverse']()['join']('');}function _0x3540c3(){}_0x4f343a(await _0x5cf6be());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4bd839){const {plugins:_0x337019,editing:_0x3a0680,model:_0x45840a}=this['editor'],_0x5621c8=_0x337019['get'](V)['getFootnote'](_0x4bd839);return!!_0x5621c8&&(_0x45840a['change'](_0x126a55=>{_0x126a55['setSelection'](_0x126a55['createPositionAt'](_0x5621c8['definition'],'end'));}),_0x3a0680['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3997b7){const {plugins:_0x1af6df,editing:_0x525a0c,model:_0x208391}=this['editor'],_0x168fab=_0x1af6df['get'](V)['getFootnote'](_0x3997b7);return!!_0x168fab&&(_0x208391['change'](_0x1b7a4b=>{_0x1b7a4b['setSelection'](_0x168fab['reference'],'on');}),_0x525a0c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4a91ba}=this['editor']['model'],_0x31a876=this['editor']['config']['get']('footnotes.multiBlock');_0x4a91ba['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4a91ba['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4a91ba['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x31a876?_0x4a91ba['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4a91ba['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4a91ba['addChildCheck'](_0x993573=>{for(const _0x7e9f1b of _0x993573)if('footnoteDefinition'===_0x7e9f1b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3eac74}=this,{conversion:_0x2c8381,editing:_0x580606}=_0x3eac74,{t:t}=_0x3eac74['locale'];_0x2c8381['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2fdc7b,{writer:_0xb48920,consumable:_0x43b21c})=>{const _0x13a408=_0x2fdc7b['getChild'](0x0);if(!_0x13a408||!_0x13a408['is']('element','a'))return null;const _0x3e468c=_0x13a408['getAttribute']('href')||'';if(!_0x3e468c['startsWith']('#'))return null;const _0x12ae4a=_0x3e468c['replace'](/^#/,'');if(!_0x12ae4a)return null;_0x43b21c['consume'](_0x13a408,{'name':!0x0,'attributes':['href']});for(const {item:_0x3c9ac7}of _0x580606['view']['createRangeIn'](_0x13a408))_0x3c9ac7['is']('$textProxy')?_0x43b21c['consume'](_0x3c9ac7['textNode'],{'name':!0x0}):_0x3c9ac7['is']('element')&&_0x43b21c['consume'](_0x3c9ac7,{'name':!0x0});return _0xb48920['createElement']('footnoteRef',{'footnoteId':_0x12ae4a});}}),_0x2c8381['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x46b598,{writer:_0x480cbb})=>X(_0x46b598,_0x480cbb)}),_0x2c8381['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e5d00,{writer:_0x17c73e})=>{const _0x5df644=_0x4e5d00['getAttribute']('footnoteCounter');return _0x3c8ad6(X(_0x4e5d00,_0x17c73e),_0x17c73e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5df644)});}});}['_defineDefinitionsConverters'](){const {editor:_0x98d537}=this,{t:t}=_0x98d537['locale'],{conversion:_0xd6e9ac}=_0x98d537;_0xd6e9ac['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xd6e9ac['for']('upcast')['add'](_0x2fa5ef=>{_0x2fa5ef['on']('element:ol',(_0x4269d8,_0x1df3db,_0x257503)=>{const _0x2caf92=_0x1df3db['viewItem'];if(!_0x2caf92['hasClass']('footnotes-list')||!_0x1df3db['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x257503['consumable']['consume'](_0x2caf92,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4bf9a0,modelCursor:_0x37e57a}=_0x257503['convertChildren'](_0x1df3db['viewItem'],_0x1df3db['modelCursor']);_0x1df3db['modelRange']=_0x4bf9a0,_0x1df3db['modelCursor']=_0x37e57a;}),_0x2fa5ef['on']('element:hr',(_0xcede33,_0x2fda15,_0x416e14)=>{const _0xf4d27e=_0x2fda15['viewItem'];_0xf4d27e['hasClass']('footnotes-divider')&&_0x2fda15['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x416e14['consumable']['consume'](_0xf4d27e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xd6e9ac['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5a4594,{writer:_0x4211d8})=>H(_0x4211d8)}),_0xd6e9ac['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x6339bb,{writer:_0x435b45})=>{const _0x3a94fc=_0x3c8ad6(H(_0x435b45,{'data-footnotes-list-label':t('Footnotes')}),_0x435b45,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x435b45['setCustomProperty']('footnotesDefinitions',!0x0,_0x3a94fc),_0x3a94fc;}});}['_defineDefinitionConverters'](){const {editor:_0x2bc149}=this,{conversion:_0x521744,locale:_0x123bc9}=_0x2bc149,_0x55af63=_0x2bc149['config']['get']('footnotes.multiBlock');_0x521744['for']('upcast')['add'](_0x4cea3b=>{_0x4cea3b['on']('element:li',(_0xeac795,_0x22b5bc,_0x1609a0)=>{const _0x54581c=_0x22b5bc['viewItem'];if(!_0x54581c['hasClass']('footnote-definition')||!_0x54581c['getAttribute']('id'))return;const _0x40c709=_0x54581c['parent'];if(!_0x40c709['is']('element','ol')||!_0x40c709['hasClass']('footnotes-list'))return;if(!_0x1609a0['consumable']['test'](_0x54581c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xbe02a0=_0x1609a0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x54581c['getAttribute']('id')});if(!_0x1609a0['safeInsert'](_0xbe02a0,_0x22b5bc['modelCursor']))return;_0x1609a0['consumable']['consume'](_0x54581c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x14a56b=Array['from'](_0x54581c['getChildren']())['find'](_0x1e82ec=>_0x1e82ec['is']('element')&&_0x1e82ec['hasClass']('footnote-content'));for(const _0x4c6c4d of _0x54581c['getChildren']())_0x4c6c4d['is']('element')&&(_0x1609a0['consumable']['consume'](_0x4c6c4d,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1609a0['consumable']['consume'](_0x4c6c4d,{'name':!0x0,'classes':'footnote-content'}));if(_0x14a56b){if(_0x55af63)_0x1609a0['convertChildren'](_0x14a56b,_0xbe02a0);else{const _0x352778=_0x1609a0['writer']['createElement']('footnoteInlineContent');_0x1609a0['writer']['insert'](_0x352778,_0xbe02a0),_0x1609a0['convertChildren'](_0x14a56b,_0x352778);}}_0x1609a0['updateConversionResult'](_0xbe02a0,_0x22b5bc);});}),_0x521744['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50e093,{writer:_0x551f0e})=>z(_0x50e093,_0x551f0e,_0x123bc9,{'dataPipeline':!0x0})}),_0x521744['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10423a,{writer:_0x600ac4})=>z(_0x10423a,_0x600ac4,_0x123bc9)});}['_defineBogusParagraphConverters'](){const {editor:_0x1b0510}=this,{conversion:_0x5b88ba}=_0x1b0510;_0x1b0510['config']['get']('footnotes.multiBlock')?(_0x5b88ba['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x5b88ba['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1b0510['model']['document'],'change:data',()=>{!function(_0x2c18e1,_0xd18d91){const _0x5fa51=_0x2c18e1['document']['differ'],_0x351adc=new Set();for(const _0x200b82 of _0x5fa51['getChanges']()){const _0x56b3d8='attribute'==_0x200b82['type']?_0x200b82['range']['start']['parent']:_0x200b82['position']['parent'];_0x56b3d8['is']('element','footnoteDefinition')&&_0x351adc['add'](_0x56b3d8);}for(const _0x4b779e of _0x351adc['values']()){const _0x5ca7d9=Array['from'](_0x4b779e['getChildren']())['filter'](_0x400903=>B(_0x400903,_0xd18d91['mapper']));for(const _0x3f3db4 of _0x5ca7d9)_0xd18d91['reconvertItem'](_0x3f3db4);}}(_0x1b0510['model'],_0x1b0510['editing']);})):(_0x5b88ba['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x5b88ba['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x29907d,{writer:_0x231b66})=>{const _0x2172b2=_0x231b66['createContainerElement']('span');return _0x231b66['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2172b2),_0x2172b2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2ce9f2}=this,{editing:_0x1d64c8,t:t}=_0x2ce9f2,_0x1165ca=_0x2ce9f2['model']['document']['selection'];_0x2ce9f2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2ce9f2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1d64c8['view']['document'],'enter',(_0x11918a,_0xf62afc)=>{const _0x163ad4=function(_0x2df02c){const _0x3bf61e=_0x2df02c['getSelectedElement']();return _0x3bf61e?.['is']('element','footnoteRef')?_0x3bf61e:null;}(_0x1165ca);if(_0x163ad4){const _0x5acaa3=_0x163ad4['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5acaa3),_0xf62afc['preventDefault'](),_0x11918a['stop']();}},{'context':_0xad557b});}['_defineClickHandlers'](){const {editor:_0x587964}=this,{editing:_0x2d7161}=_0x587964;_0x587964['editing']['view']['addObserver'](_0x13cefb),_0x587964['editing']['view']['addObserver'](_0x53677d);let _0x1d71be=!0x1;this['listenTo'](_0x2d7161['view']['document'],'pointerdown',(_0x4bd757,_0x2a62f1)=>{const {target:_0x274a94}=_0x2a62f1,_0x1f895b=_0x2d7161['view']['document']['selection'];_0x1d71be=!!(_0x274a94?.['is']('element','a')&&_0x274a94['parent']?.['is']('element','sup')&&_0x274a94['parent']['hasClass']('footnote'))&&_0x1f895b['getSelectedElement']()===_0x274a94['parent'];},{'priority':'high'}),this['listenTo'](_0x2d7161['view']['document'],'click',(_0x6cf108,_0x4c30b5)=>{const {target:_0x5521dc}=_0x4c30b5;if(!_0x5521dc?.['is']('element','a'))return;if(_0x5521dc['parent']?.['is']('element','sup')&&_0x5521dc['parent']['hasClass']('footnote')&&!_0x1d71be)return void _0x4c30b5['preventDefault']();let _0x3633c5=_0x5521dc['getAttribute']('href');if(!_0x3633c5?.['startsWith']('#'))return;_0x3633c5=_0x3633c5['slice'](0x1);let _0x39d240=!0x1;(_0x3633c5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3633c5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3633c5))&&(_0x39d240=!0x0),_0x39d240&&(_0x4c30b5['preventDefault'](),_0x6cf108['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x5bbbb7}={}){return(_0x569716,{writer:_0x3b58e8})=>{if(!M(_0x569716))return null;if(!_0x5bbbb7)return _0x3b58e8['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x16b455=_0x3b58e8['createContainerElement']('p');return _0x3b58e8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x16b455),_0x16b455;};}function M(_0x184c9f){const {parent:_0x4deb71}=_0x184c9f;if(!_0x4deb71?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4deb71['childCount'])return!0x1;for(const _0x1a2a64 of _0x184c9f['getAttributeKeys']())if(!_0x1a2a64['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a2a64)return!0x1;return!0x0;}function B(_0x39b3d2,_0x106beb){if(!_0x39b3d2['is']('element','paragraph'))return!0x1;const _0x171a56=_0x106beb['toViewElement'](_0x39b3d2);return!!_0x171a56&&M(_0x39b3d2)!==_0x171a56['is']('element','span');}function q(_0x57a2b1){return _0xad557b(_0x57a2b1)&&_0x57a2b1['is']('containerElement')&&!!_0x57a2b1['getCustomProperty']('footnotesDefinitions');}function H(_0x4d16bd,_0x25ea7a={}){const _0x1b48ea=_0x4d16bd['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2f6a32=_0x4d16bd['createContainerElement']('ol',{'class':'footnotes-list'},_0x4d16bd['createSlot']());return _0x4d16bd['createContainerElement']('div',{'class':'footnotes',..._0x25ea7a},[_0x1b48ea,_0x2f6a32]);}function X(_0x2a96df,_0x32975e){const _0xee3f9=_0x2a96df['getAttribute']('footnoteId'),_0x13313d=_0x2a96df['getAttribute']('footnoteCounter'),_0x101bb4=_0x32975e['createUIElement']('a',{'href':'#'+_0xee3f9},function(_0x5aa4d8){const _0x403475=this['toDomElement'](_0x5aa4d8);return _0x403475['textContent']=_0x13313d,_0x403475;}),_0x14e5f6=_0x32975e['createContainerElement']('sup',{'id':'ref-'+_0xee3f9,'class':'footnote'},[_0x101bb4]);return _0x14e5f6['getFillerOffset']=()=>null,_0x14e5f6;}function z(_0x43c293,_0x953ce9,_0x2a38d2,{dataPipeline:_0x534900}={}){const {t:t}=_0x2a38d2,_0x1bd521=_0x43c293['getAttribute']('footnoteId'),_0x41b5fa=_0x953ce9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1bd521},function(_0x1ff3cd){const _0x19c0f4=this['toDomElement'](_0x1ff3cd);return _0x19c0f4['innerText']='^',_0x19c0f4;}),_0x1da975=_0x534900?_0x953ce9['createContainerElement']('div',{'class':'footnote-content'}):_0x4b7f3d(_0x953ce9['createEditableElement']('div',{'class':'footnote-content'}),_0x953ce9,{'label':t('Footnote\x20content.')});return _0x953ce9['insert'](_0x953ce9['createPositionAt'](_0x1da975,0x0),_0x953ce9['createSlot']()),_0x953ce9['createContainerElement']('li',{'class':'footnote-definition','id':_0x1bd521},[_0x41b5fa,_0x1da975]);}var J=class extends _0x20fa20{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x206e5e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x219524}=this,{plugins:_0x3bafde,model:_0x254dc8}=_0x219524,_0x3e1ed3=_0x3bafde['get'](_0x206e5e),_0x4c6575=_0x3bafde['get'](V);this['listenTo'](_0x3e1ed3,'outputTransformation',(_0x33d635,_0x5a4c64)=>{const _0x1f674c=G(_0x254dc8['createRangeIn'](_0x5a4c64['content']));if(!_0x1f674c['length'])return;const _0x132f54=_0x4c6575['getFootnotes'](),_0x341d34=_0x1f674c['reduce']((_0x10252a,_0x48eb67)=>{const _0x44a290=_0x132f54['find'](_0x436588=>_0x436588['id']===_0x48eb67);if(_0x44a290){const _0x325cef=_0x219524['data']['toView'](_0x44a290['definition'],{'isClipboardPipeline':!0x0}),_0x2bb1ac=_0x219524['data']['htmlProcessor']['toData'](_0x325cef);_0x10252a[_0x44a290['id']]=_0x2bb1ac;}return _0x10252a;},Object['create'](null));_0x5a4c64['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x341d34));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1dba4}=this,{model:_0x3713f0,plugins:_0x21c90f}=_0x1dba4,{view:_0x35af66}=_0x1dba4['editing'],_0x1d70aa=_0x21c90f['get'](_0x206e5e),_0x65b4b9=_0x21c90f['get'](V),_0x7ab957=_0x1dba4['config']['get']('footnotes.multiBlock');let _0x3242c3=null;this['listenTo'](_0x35af66['document'],'clipboardInput',(_0x36fcce,_0x3c8f65)=>{const _0x26e2b6=_0x3c8f65['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3242c3=_0x26e2b6?JSON['parse'](_0x26e2b6):null;}),this['listenTo'](_0x1d70aa,'contentInsertion',(_0x208b90,_0x5e6c2f)=>{const _0x12e5e8=_0x5e6c2f['sourceEditorId']===this['editor']['id'];_0x12e5e8&&'drop'===_0x5e6c2f['method']||_0x3713f0['change'](_0x18a799=>{let _0x51832e=_0x65b4b9['getFootnotesDefinitionsObjectElement']();const _0x65f6f2=!!_0x51832e&&Array['from'](_0x3713f0['document']['selection']['getSelectedBlocks']())['includes'](_0x51832e);if(!_0x3242c3&&function(_0x2d4dfa){for(const {item:_0x41cb28}of _0x2d4dfa)if(_0x41cb28['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3713f0['createRangeIn'](_0x5e6c2f['content']))&&(_0x3242c3=function(_0x4ddc38,_0x3a5e3c){const _0x3f4da8=Q(_0x4ddc38,_0x3a5e3c);if(!_0x3f4da8)return null;const _0x202835=Object['create'](null);for(const _0x4af2cf of _0x3f4da8['getChildren']())_0x4af2cf['is']('element','footnoteDefinition')&&_0x4af2cf['hasAttribute']('footnoteId')&&(_0x202835[_0x4af2cf['getAttribute']('footnoteId')]=_0x4ddc38['cloneElement'](_0x4af2cf,!0x0));return Object['keys'](_0x202835)['length']?_0x202835:null;}(_0x18a799,_0x5e6c2f['content'])),(_0x51832e&&!_0x65f6f2||!_0x51832e&&!_0x3242c3)&&function(_0x2319c0,_0x588991){const _0x5d6c6d=[];for(const {item:_0x4b4876}of _0x2319c0['createRangeIn'](_0x588991))_0x4b4876['is']('element','footnotesDefinitions')&&_0x5d6c6d['push'](_0x4b4876);for(const _0x4bde6c of _0x5d6c6d)_0x2319c0['remove'](_0x4bde6c);}(_0x18a799,_0x5e6c2f['content']),!_0x3242c3)return;const {selection:_0xa229c6}=_0x3713f0['document'],_0x25bb8c=_0xa229c6['getFirstRange']()['root'];_0x51832e&&!_0x65f6f2||(_0x51832e=Q(_0x18a799,_0x5e6c2f['content']),_0x51832e||=_0x65b4b9['_insertEmptyFootnotesDefinitionsContainer'](_0x18a799,_0x25bb8c));const _0x256ccc=Array['from'](_0xa229c6['getRanges']())['flatMap'](G),_0x536adb=function(_0x32b8eb,_0x34f0ac,_0x4ca385){const _0x3e4cb7=Object['create'](null);for(const {item:_0x19b85b}of _0x32b8eb['createRangeIn'](_0x34f0ac))if(_0x19b85b['is']('element','footnoteRef')){const _0x2b5ab2=_0x19b85b['getAttribute']('footnoteId');if(!_0x4ca385(_0x2b5ab2))continue;_0x3e4cb7[_0x2b5ab2]||(_0x3e4cb7[_0x2b5ab2]=_0x48b590()),_0x32b8eb['setAttribute']('footnoteId',_0x3e4cb7[_0x2b5ab2],_0x19b85b);}return _0x3e4cb7;}(_0x18a799,_0x5e6c2f['content'],_0x525ab5=>!_0x12e5e8||!!_0x65b4b9['getFootnote'](_0x525ab5)&&!_0x256ccc['includes'](_0x525ab5));for(const [_0x46b744,_0x19eb46]of Object['entries'](_0x3242c3)){const _0x4b2ed3=_0x536adb[_0x46b744]||_0x46b744;let _0x36b0cc;if('string'!=typeof _0x19eb46)_0x36b0cc=_0x19eb46,_0x4b2ed3!==_0x46b744&&_0x18a799['setAttribute']('footnoteId',_0x4b2ed3,_0x36b0cc);else{_0x36b0cc=_0x18a799['createElement']('footnoteDefinition',{'footnoteId':_0x4b2ed3});const _0x3a9c52=_0x1dba4['data']['htmlProcessor']['toView'](_0x19eb46);let _0x32b907;if(_0x7ab957)_0x32b907=_0x1dba4['data']['toModel'](_0x3a9c52,_0x36b0cc);else{_0x32b907=_0x18a799['createElement']('footnoteInlineContent');const _0x2408e4=_0x1dba4['data']['toModel'](_0x3a9c52,_0x32b907);_0x18a799['insert'](_0x2408e4,_0x32b907);}_0x18a799['append'](_0x32b907,_0x36b0cc);}_0x18a799['insert'](_0x36b0cc,_0x51832e,'end');}_0x3242c3=null;});});}};function Q(_0x461108,_0xe723af){for(const {item:_0x37abad}of _0x461108['createRangeIn'](_0xe723af))if(_0x37abad['is']('element','footnotesDefinitions'))return _0x37abad;return null;}function G(_0x10af77){const _0x4a3dd8=new Set();for(const {item:_0x1f738c}of _0x10af77)_0x1f738c['is']('element','footnoteRef')&&_0x4a3dd8['add'](_0x1f738c['getAttribute']('footnoteId'));return Array['from'](_0x4a3dd8);}var W=class extends _0x20fa20{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb273c1}=this,{componentFactory:_0x38d4e2}=_0xb273c1['ui'];_0x38d4e2['add']('insertFootnote',Y(_0xb273c1,_0x17e514)),_0x38d4e2['add']('menuBar:insertFootnote',Y(_0xb273c1,_0x7ecc0a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x15e124=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5b49f7;for(const _0xda12d9 in _0x15e124){const _0x3f447d=_0xda12d9,_0x1758fc=_0x15e124[_0x3f447d];if('footnotesLicenseKeyValid'==_0x1758fc||'footnotesLicenseKeyInvalid'==_0x1758fc||'footnotesLicenseKeyExpired'==_0x1758fc||'footnotesLicenseKeyDomainLimit'==_0x1758fc||'footnotesLicenseKeyNotAllowed'==_0x1758fc||'footnotesLicenseKeyEvaluationLimit'==_0x1758fc||'footnotesLicenseKeyUsageLimit'==_0x1758fc){delete _0x15e124[_0x3f447d],_0x5b49f7=_0x1758fc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5b49f7&&_0x15e124['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5b49f7&&_0x15e124['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5b49f7&&_0x15e124['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5b49f7&&_0x15e124['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5b49f7&&_0x15e124['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5b49f7&&_0x15e124['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x57210,_0x49b813){const _0xbe8dc0=_0x57210['commands']['get']('insertFootnote');return _0x10ab61=>{const {t:t}=_0x10ab61,_0x23dce4=new _0x49b813(_0x10ab61),_0x144894=_0x23dce4 instanceof _0x7ecc0a;return _0x23dce4['bind']('isEnabled')['to'](_0xbe8dc0,'isEnabled'),_0x23dce4['set']({'label':t(_0x144894?'Footnote':'Insert\x20footnote'),'icon':_0x454240,'tooltip':!0x0}),_0x23dce4['on']('execute',()=>{_0xbe8dc0['execute'](),_0x57210['editing']['view']['focus']();}),_0x23dce4;};}var Z=class extends _0x20fa20{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0xfae74f{['refresh'](){const {editor:_0x32ee72}=this,_0x2da617=_0x32ee72['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2da617,this['value']=_0x2da617?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1742f8}){const {editor:_0x524837}=this,_0x2897c1=_0x524837['plugins']['get'](V),_0x503815=_0x2897c1['getFootnotesDefinitionsObjectElement']();_0x503815&&ot['includes'](_0x1742f8)&&_0x524837['model']['change'](_0x2a44da=>{_0x2a44da['setAttribute']('footnotesListStyle',_0x1742f8,_0x503815),_0x2897c1['_updateFootnotesCounters'](_0x2a44da);});}},it=class extends _0xfae74f{['refresh'](){const {editor:_0x1cf74e}=this,_0x4efabf=_0x1cf74e['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4efabf,this['value']=_0x4efabf?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1970c7}){const {editor:_0x434742}=this,_0xb258cc=_0x434742['plugins']['get'](V),_0x2b45f3=_0xb258cc['getFootnotesDefinitionsObjectElement']();_0x2b45f3&&Number['isInteger'](_0x1970c7)&&_0x434742['model']['change'](_0x1b639f=>{_0x1b639f['setAttribute']('footnotesListStart',_0x1970c7,_0x2b45f3),_0xb258cc['_updateFootnotesCounters'](_0x1b639f);});}};function st({style:_0x5cbd55,digits:_0x297458,value:_0xfce42c}){const _0x4eda56=Math['floor'](_0xfce42c),_0x39b569=function(_0x2a3307){switch(_0x2a3307){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x5cbd55);switch((_0x4eda56>_0x39b569['max']||_0x4eda56<_0x39b569['min'])&&(_0x5cbd55='decimal'),_0x5cbd55){case'decimal-leading-zero':return function(_0x3ccab1,_0x38e539){return String(_0x3ccab1)['padStart'](_0x38e539,'0');}(_0x4eda56,Math['max'](0x2,_0x297458));case'lower-alpha':case'lower-latin':return rt(_0x4eda56,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x4eda56,!0x0);case'lower-roman':return at(_0x4eda56,!0x1);case'upper-roman':return at(_0x4eda56,!0x0);case'arabic-indic':return String(_0x4eda56)['replace'](/\d/g,_0x18ec7d=>ft[Number(_0x18ec7d)]);default:return String(_0x4eda56);}}function rt(_0x1ee8a5,_0x4e57cb){let _0x245b12='',_0x1f928a=_0x1ee8a5;for(;_0x1f928a>0x0;){const _0x31a2d2=(_0x1f928a-0x1)%0x1a;_0x245b12=String['fromCharCode'](0x61+_0x31a2d2)+_0x245b12,_0x1f928a=Math['floor']((_0x1f928a-0x1)/0x1a);}return _0x4e57cb?_0x245b12['toUpperCase']():_0x245b12;}const lt=[{'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 at(_0x1033d9,_0x2939d4){let _0x3b1bf9='',_0x33c315=_0x1033d9;for(const {value:_0x90625f,numeral:_0x404736}of lt)for(;_0x33c315>=_0x90625f;)_0x3b1bf9+=_0x404736,_0x33c315-=_0x90625f;return _0x2939d4?_0x3b1bf9:_0x3b1bf9['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x20fa20{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x204cee}=this;_0x204cee['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x204cee['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x204cee['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x204cee['commands']['add']('footnotesStyle',new nt(_0x204cee)),_0x204cee['commands']['add']('footnotesStart',new it(_0x204cee)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5a4db7}=this,{schema:_0x58a307}=_0x5a4db7['model'];_0x58a307['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x38e66d}=this,{conversion:_0x1dbff2,model:_0x435f3e}=_0x38e66d,{schema:_0x1c3693}=_0x435f3e;_0x1dbff2['for']('upcast')['add'](_0x4d7113=>{_0x4d7113['on']('element:ol',(_0x4a5cca,_0x398df8,_0x8c714c)=>{const _0x441356=_0x398df8['viewItem'],_0x34f775=_0x398df8['modelCursor']?.['parent'];_0x441356['hasClass']('footnotes-list')&&_0x34f775?.['is']('element','footnotesDefinitions')&&(function(_0x1dbe75,_0x9dd11d,_0x189e5b,_0x820daa){if(!_0x820daa['checkAttribute'](_0x9dd11d,'footnotesListStart'))return;let _0x87b16d=0x1;const _0x1b5714=_0x189e5b['consumable']['consume'](_0x1dbe75,{'attributes':'start'});if(_0x1b5714){const _0x20585f=Number['parseInt'](_0x1dbe75['getAttribute']('start'),0xa);Number['isNaN'](_0x20585f)||(_0x87b16d=_0x20585f);}!_0x1b5714&&_0x9dd11d['hasAttribute']('footnotesListStart')||_0x189e5b['writer']['setAttribute']('footnotesListStart',_0x87b16d,_0x9dd11d);}(_0x441356,_0x34f775,_0x8c714c,_0x1c3693),function(_0x41a3b6,_0xe5eb0a,_0x27c3b2,_0x30a6d8){if(!_0x30a6d8['checkAttribute'](_0xe5eb0a,'footnotesListStyle'))return;let _0x53229b='decimal',_0x5c3a18=!0x1;if(_0x27c3b2['consumable']['consume'](_0x41a3b6,{'attributes':'type'})){const _0x12cfb2={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x41a3b6['getAttribute']('type')];_0x12cfb2&&(_0x53229b=_0x12cfb2),_0x5c3a18=!0x0;}if(_0x27c3b2['consumable']['consume'](_0x41a3b6,{'styles':'list-style-type'})){const _0xaafa41=ut(_0x41a3b6['getStyle']('list-style-type'));_0xaafa41&&(_0x53229b=_0xaafa41),_0x5c3a18=!0x0;}!_0x5c3a18&&_0xe5eb0a['hasAttribute']('footnotesListStyle')||_0x27c3b2['writer']['setAttribute']('footnotesListStyle',_0x53229b,_0xe5eb0a);}(_0x441356,_0x34f775,_0x8c714c,_0x1c3693));});}),_0x1dbff2['for']('downcast')['add'](_0x16a14f=>{_0x16a14f['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x39cf49,_0x51ff99,_0x2ec161)=>{if(!_0x2ec161['consumable']['consume'](_0x51ff99['item'],_0x39cf49['name']))return;const _0x2ba870=dt(_0x51ff99['item'],_0x2ec161['mapper']),{attributeNewValue:_0x4e573b}=_0x51ff99;null==_0x4e573b||0x1===_0x4e573b?_0x2ec161['writer']['removeAttribute']('start',_0x2ba870):_0x2ec161['writer']['setAttribute']('start',String(_0x4e573b),_0x2ba870);}),_0x16a14f['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x100791,_0x142f7c,_0x352b31)=>{if(!_0x352b31['consumable']['consume'](_0x142f7c['item'],_0x100791['name']))return;const _0x244b4d=dt(_0x142f7c['item'],_0x352b31['mapper']),{attributeNewValue:_0x598e6c}=_0x142f7c;_0x598e6c&&'decimal'!==_0x598e6c?_0x352b31['writer']['setStyle']('list-style-type',_0x598e6c,_0x244b4d):_0x352b31['writer']['removeStyle']('list-style-type',_0x244b4d);});});}['_definePostfixer'](){const {editor:_0x30876c}=this,{model:_0x1c0b2a}=_0x30876c,_0x5db816=_0x30876c['plugins']['get'](V),_0x8f4000=this['_getDefaultListStyle'](),_0x2fedae=this['_getDefaultStartIndex']();_0x1c0b2a['document']['registerPostFixer'](_0x52583d=>{const _0x421792=_0x1c0b2a['document']['differ']['getChanges']();let _0x323da7=!0x1;for(const _0x589446 of _0x421792){if('insert'!==_0x589446['type']||'$text'===_0x589446['name'])continue;const _0x3ba287=_0x1c0b2a['createRangeOn'](_0x589446['position']['nodeAfter']);for(const _0x5e4e2f of _0x3ba287['getItems']())_0x5e4e2f['is']('element','footnotesDefinitions')&&(!_0x5e4e2f['hasAttribute']('footnotesListStart')&&_0x1c0b2a['schema']['checkAttribute'](_0x5e4e2f,'footnotesListStart')&&(_0x52583d['setAttribute']('footnotesListStart',_0x2fedae,_0x5e4e2f),_0x323da7=!0x0),!_0x5e4e2f['hasAttribute']('footnotesListStyle')&&_0x1c0b2a['schema']['checkAttribute'](_0x5e4e2f,'footnotesListStyle')&&(_0x52583d['setAttribute']('footnotesListStyle',_0x8f4000,_0x5e4e2f),_0x323da7=!0x0));}return _0x323da7&&_0x5db816['_updateFootnotesCounters'](_0x52583d),_0x323da7;});}['_defineFormatter'](){const {editor:_0x5c7f22}=this;_0x5c7f22['plugins']['get'](V)['setFootnoteFormatter'](_0x1283d3=>this['_formatFootnoteListValue'](_0x1283d3));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x353284,value:_0x35a4f5,digits:_0x350c33}){const _0x5ed533=_0x353284['getAttribute']('footnotesListStyle');return st({'value':_0x35a4f5+(_0x353284['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x5ed533,'digits':_0x350c33});}};function ut(_0x1d8867){if('string'==typeof _0x1d8867){const _0x35280f=et[_0x1d8867];if(_0x35280f)return _0x35280f;if(ot['includes'](_0x1d8867))return _0x1d8867;}return null;}function dt(_0x277659,_0x24b6c0){const _0x2da50a=_0x24b6c0['toViewElement'](_0x277659);return Array['from'](_0x2da50a['getChildren']())['find'](_0xa55e5c=>_0xa55e5c['is']('element','ol')&&_0xa55e5c['hasClass']('footnotes-list'));}var ht=class extends _0x324df3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3f1f4a();['keystrokes']=new _0x536e7d();['focusables']=new _0x5f1226();['focusCycler'];constructor(_0x4d5d03,{styleButtonViews:_0x4aee6e,styleGridAriaLabel:_0x4d0112}){super(_0x4d5d03),(this['focusCycler']=new _0x3cc606({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4aee6e,_0x4d0112),[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 _0x178e75 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x178e75['element']);_0x384e0d({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x2dd0f3['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 _0x8d9348=_0x7d9f99=>_0x7d9f99['stopPropagation']();this['keystrokes']['set']('arrowright',_0x8d9348),this['keystrokes']['set']('arrowleft',_0x8d9348),this['keystrokes']['set']('arrowup',_0x8d9348),this['keystrokes']['set']('arrowdown',_0x8d9348);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1e1bb9,_0x3c86a1){const _0x4c3532=new _0x324df3(this['locale']);return _0x4c3532['children']=_0x4c3532['createCollection'](),_0x4c3532['children']['addMany'](_0x1e1bb9),_0x4c3532['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3c86a1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4c3532['children']}),_0x4c3532['children']['delegate']('execute')['to'](this),_0x4c3532['focus']=function(){for(const _0x3270d9 of this['children'])if(_0x3270d9 instanceof _0x17e514&&_0x3270d9['isOn'])return void _0x3270d9['focus']();this['children']['first']['focus']();},_0x4c3532['focusTracker']=new _0x3f1f4a(),_0x4c3532['keystrokes']=new _0x536e7d(),_0x4c3532['render'](),_0x4c3532['keystrokes']['listenTo'](_0x4c3532['element']),this['children']['add'](_0x4c3532),_0x4c3532;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x561dac=this['_createStartIndexPropertyView'](),_0x5590c7=[_0x561dac],_0x998c4d=new _0x367090(this['locale'],_0x5590c7);return _0x998c4d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x998c4d['buttonView']['bind']('isEnabled')['toMany'](_0x5590c7,'isEnabled',(..._0xef8f5)=>_0xef8f5['some'](_0x3a21b1=>_0x3a21b1)),_0x998c4d['buttonView']['on']('change:isEnabled',(_0x235f38,_0x529f84,_0x32286f)=>{_0x32286f||(_0x998c4d['isCollapsed']=!0x0);}),this['children']['add'](_0x998c4d),[_0x561dac,_0x998c4d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3284a3=new _0x4412c0(this['locale'],_0x4863db);return _0x3284a3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3284a3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3284a3['fieldView']['on']('input',()=>{const _0x3cb06b=_0x3284a3['fieldView']['element'],_0x594869=_0x3cb06b['valueAsNumber'];Number['isNaN'](_0x594869)?_0x3284a3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3cb06b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x594869}):_0x3284a3['errorText']=t(_0x594869<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3284a3;}},mt=class extends _0x20fa20{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe27ca4,_0x42d7ec];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1251eb}=this,{componentFactory:_0x3aa617}=_0x1251eb['ui'];_0x1251eb['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3aa617['add']('footnotesStyle',function(_0x39320e){return _0x24dcc6=>{const {t:t}=_0x24dcc6,_0xde2884=_0x39320e['commands']['get']('footnotesStyle'),_0x1dcb23=_0x35e37f(_0x24dcc6),{buttonView:_0x2b822e}=_0x1dcb23;return _0x1dcb23['class']='ck-footnotes-styles-dropdown',_0x1dcb23['bind']('isEnabled')['to'](_0xde2884,'isEnabled'),_0x2b822e['set']({'label':t('Footnotes\x20style'),'icon':_0x454240,'tooltip':!0x0}),_0x1dcb23['once']('change:isOpen',()=>{const _0x4280c9=function({editor:_0x1124f4,dropdownView:_0x3962a5}){const {t:t}=_0x1124f4['locale'],_0x15aabe=t('Footnotes\x20definitions\x20styles'),_0x28e004=function(_0x2f79ef){const {t:t}=_0x2f79ef['locale'],_0x5e33b7=_0x2f79ef['config']['get']('footnotes.footnotesProperties.listStyles'),_0x424ce9=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x24602c},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0xfab94d},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x49833a},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x5d92b9},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x14ce40},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0xc75e81},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x433e36}];return _0x5e33b7['map'](_0x15d664=>{const _0x204a63=ut(_0x15d664);return function(_0x410425,_0x171928){const {locale:_0x4e330c}=_0x410425,{label:_0x691d46,icon:_0x245d07,tooltip:_0x33eec8,style:_0x134d71}=_0x171928,_0x4390ce=_0x410425['commands']['get']('footnotesStyle'),_0x4b1c20=new _0x17e514(_0x4e330c);return _0x4b1c20['set']({'label':_0x691d46,'icon':_0x245d07,'tooltip':_0x33eec8}),_0x4b1c20['bind']('isOn')['to'](_0x4390ce,'value',_0x46e95c=>_0x46e95c===_0x134d71),_0x4b1c20['bind']('isEnabled')['to'](_0x4390ce,'isEnabled'),_0x4b1c20['on']('execute',()=>{_0x410425['execute']('footnotesStyle',{'value':_0x134d71}),_0x410425['editing']['view']['focus']();}),_0x4b1c20;}(_0x2f79ef,_0x424ce9['find'](_0xaabf9b=>_0xaabf9b['style']===_0x204a63));});}(_0x1124f4),_0x425a89=new ht(_0x1124f4['locale'],{'styleGridAriaLabel':_0x15aabe,'styleButtonViews':_0x28e004}),_0x5cbc33=_0x1124f4['commands']['get']('footnotesStart');return _0x425a89['startIndexFieldView']['bind']('isEnabled')['to'](_0x5cbc33),_0x425a89['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5cbc33),_0x425a89['on']('footnotesListStart',(_0x503092,_0x2d21f2)=>{_0x1124f4['execute']('footnotesStart',{'value':_0x2d21f2['startIndex']});}),_0x425a89['delegate']('execute')['to'](_0x3962a5),_0x425a89;}({'editor':_0x39320e,'dropdownView':_0x1dcb23});_0x1dcb23['panelView']['children']['add'](_0x4280c9);}),_0x1dcb23;};}(_0x1251eb));}['afterInit'](){const {editor:_0x800c0}=this,{t:t}=_0x800c0['locale'],_0x31ef30=_0x800c0['plugins']['get'](_0x42d7ec),{defaultPositions:_0xf2030c}=_0x536066;_0x31ef30['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x800c0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2444ab=>{let _0x1e0e51=_0x2444ab['getFirstPosition']()?.['parent'];return _0x1e0e51?.['is']('$text')&&(_0x1e0e51=_0x1e0e51['parent']),_0x1e0e51?.['is']('element')?_0x1e0e51['findAncestor'](q):null;},'positions':[_0xf2030c['southArrowNorth'],_0xf2030c['southArrowNorthMiddleWest'],_0xf2030c['southArrowNorthMiddleEast'],_0xf2030c['southArrowNorthWest'],_0xf2030c['southArrowNorthEast'],_0xf2030c['northArrowSouth'],_0xf2030c['northArrowSouthMiddleWest'],_0xf2030c['northArrowSouthMiddleEast'],_0xf2030c['northArrowSouthWest'],_0xf2030c['northArrowSouthEast'],_0xf2030c['viewportStickyNorth']]});}},pt=class extends _0x20fa20{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j 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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x16129d=>0x1!=_0x16129d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x348d25=>{const {af:{dictionary:_0x154fff,getPluralForm:_0xeba121}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1550bd=>0x1!=_0x1550bd}};_0x348d25['af']||={'dictionary':{},'getPluralForm':null},_0x348d25['af']['dictionary']=Object['assign'](_0x348d25['af']['dictionary'],_0x154fff),_0x348d25['af']['getPluralForm']=_0xeba121;})(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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x19ed67=>0x0==_0x19ed67?0x0:0x1==_0x19ed67?0x1:0x2==_0x19ed67?0x2:_0x19ed67%0x64>=0x3&&_0x19ed67%0x64<=0xa?0x3:_0x19ed67%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2424b0=>{const {ar:{dictionary:_0xddc5da,getPluralForm:_0xd30658}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x2e790c=>0x0==_0x2e790c?0x0:0x1==_0x2e790c?0x1:0x2==_0x2e790c?0x2:_0x2e790c%0x64>=0x3&&_0x2e790c%0x64<=0xa?0x3:_0x2e790c%0x64>=0xb?0x4:0x5}};_0x2424b0['ar']||={'dictionary':{},'getPluralForm':null},_0x2424b0['ar']['dictionary']=Object['assign'](_0x2424b0['ar']['dictionary'],_0xddc5da),_0x2424b0['ar']['getPluralForm']=_0xd30658;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4026fe=>0x1!=_0x4026fe}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12aba6=>{const {ast:{dictionary:_0x12a329,getPluralForm:_0x4495c0}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3a75dc=>0x1!=_0x3a75dc}};_0x12aba6['ast']||={'dictionary':{},'getPluralForm':null},_0x12aba6['ast']['dictionary']=Object['assign'](_0x12aba6['ast']['dictionary'],_0x12a329),_0x12aba6['ast']['getPluralForm']=_0x4495c0;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xaa791f=>0x1!=_0xaa791f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34d6e3=>{const {az:{dictionary:_0x11cfaf,getPluralForm:_0x2216dd}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3b8f75=>0x1!=_0x3b8f75}};_0x34d6e3['az']||={'dictionary':{},'getPluralForm':null},_0x34d6e3['az']['dictionary']=Object['assign'](_0x34d6e3['az']['dictionary'],_0x11cfaf),_0x34d6e3['az']['getPluralForm']=_0x2216dd;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xc751d6=>_0xc751d6%0xa==0x1&&_0xc751d6%0x64!=0xb?0x0:_0xc751d6%0xa>=0x2&&_0xc751d6%0xa<=0x4&&(_0xc751d6%0x64<0xa||_0xc751d6%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d5f5f=>{const {be:{dictionary:_0x13bef3,getPluralForm:_0x308d0a}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xcc6e22=>_0xcc6e22%0xa==0x1&&_0xcc6e22%0x64!=0xb?0x0:_0xcc6e22%0xa>=0x2&&_0xcc6e22%0xa<=0x4&&(_0xcc6e22%0x64<0xa||_0xcc6e22%0x64>=0x14)?0x1:0x2}};_0x1d5f5f['be']||={'dictionary':{},'getPluralForm':null},_0x1d5f5f['be']['dictionary']=Object['assign'](_0x1d5f5f['be']['dictionary'],_0x13bef3),_0x1d5f5f['be']['getPluralForm']=_0x308d0a;})(window['CKEDITOR_TRANSLATIONS']||={});
|