@ckeditor/ckeditor5-footnotes 48.3.0-alpha.3 → 48.3.0-alpha.4
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 _0x19993b,Plugin as _0x69253f}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0xd5b9ef,isWidget as _0x5420a7,toWidget as _0x116414,toWidgetEditable as _0x33614e}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x724916,KeystrokeHandler as _0x2455df,global as _0x97f9ac,logWarning as _0x49cf22,uid as _0x43a146}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4e0005,PointerObserver as _0x4605fb}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x5beac5}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x53163a,ButtonView as _0xba40e4,CollapsibleView as _0x4fafa2,ContextualBalloon as _0x3930b6,FocusCycler as _0x1e0018,LabeledFieldView as _0x5097b8,MenuBarMenuListItemButtonView as _0xf56d12,View as _0x2067a9,ViewCollection as _0x26dcd3,addKeyboardHandlingForGrid as _0xfa7f92,createDropdown as _0x5cd20f,createLabeledInputNumber as _0x169fbc}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x4eb550,IconListStyleArabicIndic as _0x2c0ba5,IconListStyleDecimal as _0x5aa883,IconListStyleDecimalLeadingZero as _0x1a5c9e,IconListStyleLowerLatin as _0x110498,IconListStyleLowerRoman as _0x3dceee,IconListStyleUpperLatin as _0x43e89c,IconListStyleUpperRoman as _0x1d7536}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x465af7,_0x225b9d){this['_model']=_0x465af7,this['_elementName']=_0x225b9d['elementName'],this['_getElementKey']=_0x225b9d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5109db){const _0x404a76=new Set(),_0x39eb03=new Map();for(const _0xabf4c7 of _0x5109db){if('insert'===_0xabf4c7['type']&&'$text'!==_0xabf4c7['name']&&_0xabf4c7['position']['nodeAfter']){const _0x3a3ae1=this['_model']['createRangeOn'](_0xabf4c7['position']['nodeAfter']);for(const _0xb93bcf of _0x3a3ae1['getItems']()){if(!_0xb93bcf['is']('element',this['_elementName']))continue;const _0x37d850=this['_getElementKey'](_0xb93bcf);_0x39eb03['has'](_0x37d850)||_0x39eb03['set'](_0x37d850,[]),_0x39eb03['get'](_0x37d850)['push'](_0xb93bcf);}}if('remove'===_0xabf4c7['type']&&_0xabf4c7['name']===this['_elementName']){const _0x26968c=this['_getElementKey']({'getAttribute':_0x389f05=>_0xabf4c7['attributes']['get'](_0x389f05)});_0x404a76['add'](_0x26968c);}}for(const [_0x46027c,_0x503113]of this['_trackedElements'])'$graveyard'===_0x503113['root']['rootName']&&_0x404a76['add'](_0x46027c);for(const _0x4765a5 of _0x404a76)this['_trackedElements']['delete'](_0x4765a5);for(const [_0x40f05a,_0x430e12]of _0x39eb03)this['_trackedElements']['set'](_0x40f05a,_0x430e12[_0x430e12['length']-0x1]);const _0x39d10e=new Set();for(const [_0x262251,_0x567450]of _0x39eb03)_0x404a76['has'](_0x262251)&&(_0x39d10e['add'](_0x567450[0x0]),_0x567450['length']>0x1?_0x39eb03['set'](_0x262251,_0x567450['slice'](0x1)):_0x39eb03['delete'](_0x262251),_0x404a76['delete'](_0x262251));return{'removed':Array['from'](_0x404a76),'inserted':Array['from'](_0x39eb03['values']())['flat'](),'moved':Array['from'](_0x39d10e)};}},V=class extends _0x69253f{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e13d4){super(_0x4e13d4),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x437715=>_0x437715['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xef57=>_0xef57['getAttribute']('footnoteId')});}['init'](){const {editor:_0x31de31}=this,{model:_0x1dc35d,data:_0x4f93e1}=_0x31de31;_0x1dc35d['document']['registerPostFixer'](_0x4317ca=>{const _0x2aa1fc=_0x1dc35d['document']['differ']['getChanges']();let _0x16aa69=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4317ca,_0x2aa1fc)&&(_0x16aa69=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4317ca,_0x2aa1fc)&&(_0x16aa69=!0x0),this['_handleFootnoteReferencesChanges'](_0x4317ca,_0x2aa1fc)&&(_0x16aa69=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4317ca)&&(_0x16aa69=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4317ca)&&(_0x16aa69=!0x0),this['_sortFootnoteDefinitions'](_0x4317ca)&&(_0x16aa69=!0x0),_0x16aa69;}),this['listenTo'](_0x1dc35d['document'],'change:data',()=>{_0x1dc35d['enqueueChange']({'isUndoable':!0x1},_0x1f054a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1f054a);});},{'priority':'low'}),this['listenTo'](_0x4f93e1,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4a46bf){return this['_footnotes']['find'](_0x9e8340=>_0x9e8340['id']===_0x4a46bf)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x449850){this['_footnoteFormatter']=_0x449850;}['_updateFootnotesCounters'](_0x5a6458,_0x5406a7=0x0){let _0x2ac971=!0x1;for(let _0x4dc7b2=_0x5406a7;_0x4dc7b2<this['_footnotes']['length'];_0x4dc7b2++)this['_updateFootnoteRefCounter'](_0x5a6458,_0x4dc7b2)&&(_0x2ac971=!0x0);return _0x2ac971;}['_insertEmptyFootnotesDefinitionsContainer'](_0x33f5b,_0x439c10){const _0x377dd1=_0x33f5b['createElement']('footnotesDefinitions',{});return _0x33f5b['append'](_0x377dd1,_0x439c10),this['_footnotesDefinitions']=_0x377dd1,_0x377dd1;}['_ensureFootnotesDefinitionsContainerExists'](_0x3d5d14){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x120667=this['_footnotes'][0x0]['reference']['root'],_0x1a3da7=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3d5d14,_0x120667);for(const _0x3794e1 of this['_footnotes'])_0x3794e1['definition']['parent']||_0x3d5d14['insert'](_0x3794e1['definition'],_0x1a3da7,'end');this['_updateFootnotesCounters'](_0x3d5d14);}['_handleFootnotesDefinitionsObjectChanges'](_0xf4b9bb,_0x2e6e0b){let _0x2142bb=!0x1;const {inserted:_0x41e67d,removed:_0x228af7,moved:_0x102317}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2e6e0b);if(_0x102317['length']&&(this['_footnotesDefinitions']=_0x102317[0x0]),_0x41e67d['length']){if(_0x41e67d['length']>0x1||this['_footnotesDefinitions']&&_0x41e67d['some'](_0x546865=>_0x546865!==this['_footnotesDefinitions'])){const _0x511e48=_0xf4b9bb['createElement']('footnotesDefinitions',{}),_0x41a213=[];this['_footnotesDefinitions']&&_0x41a213['push'](this['_footnotesDefinitions']),_0x41a213['push'](..._0x41e67d),_0xf4b9bb['insert'](_0x511e48,_0x41a213[0x0],'before');for(const _0x4d4aaf of _0x41a213)_0xf4b9bb['move'](_0xf4b9bb['createRangeIn'](_0x4d4aaf),_0xf4b9bb['createPositionAt'](_0x511e48,'end')),_0xf4b9bb['remove'](_0x4d4aaf);this['_footnotesDefinitions']=_0x511e48,this['_updateFootnotesCounters'](_0xf4b9bb),_0x2142bb=!0x0;}else this['_footnotesDefinitions']=_0x41e67d[0x0];}if(_0x228af7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2b0f0d of this['_footnotes'])_0xf4b9bb['remove'](_0x2b0f0d['reference']),_0x2142bb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2142bb;}['_handleFootnoteDefinitionsChanges'](_0x349ef1,_0x2140c0){let _0x25dd13=!0x1;const _0x251eee=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4964a0,moved:_0x1e03fe}=this['_footnoteDefsTracker']['getChanges'](_0x2140c0);for(const _0x3eeac2 of[..._0x1e03fe,..._0x4964a0]){const _0x1f6154=_0x3eeac2['getAttribute']('footnoteId'),_0x28b436=this['getFootnote'](_0x1f6154);_0x28b436&&(_0x28b436['definition']=_0x3eeac2),K(_0x349ef1,_0x251eee,_0x3eeac2)&&(_0x25dd13=!0x0);}return _0x25dd13;}['_handleFootnoteReferencesChanges'](_0x463f01,_0x3189eb){let _0x126239=!0x1;const {removed:_0x590e63,inserted:_0x3f61f3,moved:_0x59bbff}=this['_footnoteRefsTracker']['getChanges'](_0x3189eb);for(const _0xc62fa9 of _0x590e63)this['_handleRemoveFootnoteReferenceById'](_0x463f01,_0xc62fa9)&&(_0x126239=!0x0);for(const _0x24a9ec of _0x3f61f3)this['_handleInsertedFootnoteReference'](_0x463f01,_0x24a9ec)&&(_0x126239=!0x0);for(const _0x3c8f63 of _0x59bbff)this['_handleMovedFootnoteReference'](_0x463f01,_0x3c8f63)&&(_0x126239=!0x0);return _0x126239;}['_handleFootnotesDefinitionsObjectSync'](_0xd20588){if(!this['_footnotesDefinitions'])return!0x1;let _0x4189a4=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xfff223=[];for(const _0x1769e5 of this['_footnotesDefinitions']['getChildren']()){const _0x49f0f5=_0x1769e5['getAttribute']('footnoteId');this['getFootnote'](_0x49f0f5)||(_0xfff223['unshift'](_0x1769e5),_0x4189a4=!0x0);}for(const _0x5eed1f of _0xfff223)_0xd20588['remove'](_0x5eed1f);}const _0x37819a=new Set(),_0xf0e5a0=[];for(const _0x409ddf of this['_footnotesDefinitions']['getChildren']()){const _0xdee56=_0x409ddf['getAttribute']('footnoteId');_0x37819a['has'](_0xdee56)?(_0xf0e5a0['unshift'](_0x409ddf),_0x4189a4=!0x0):_0x37819a['add'](_0xdee56);}for(const _0x7a0091 of _0xf0e5a0)_0xd20588['remove'](_0x7a0091);return this['_footnotesDefinitions']['childCount']||(_0xd20588['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4189a4=!0x0),_0x4189a4;}['_handleInsertedFootnoteReference'](_0x189d4d,_0x33bca2){if(this['_footnotes']['find'](_0x23fbe0=>_0x23fbe0['reference']===_0x33bca2))return!0x1;let _0x16edae=!0x1;const _0x5bcc43=_0x33bca2['getAttribute']('footnoteId'),_0x10bf36=this['_footnotes']['findIndex'](_0x4abac7=>_0x4abac7['id']===_0x5bcc43);-0x1!==_0x10bf36&&(_0x189d4d['remove'](this['_footnotes'][_0x10bf36]['reference']),this['_footnotes']['splice'](_0x10bf36,0x1),_0x16edae=!0x0);let _0x2b84f5=this['_footnotesDefinitions']?function(_0x11195b,_0xbf311c){for(const _0x446286 of _0x11195b['getChildren']())if(_0x446286['getAttribute']('footnoteId')===_0xbf311c)return _0x446286;return null;}(this['_footnotesDefinitions'],_0x5bcc43):null;_0x2b84f5||(_0x2b84f5=_0x189d4d['createElement']('footnoteDefinition',{'footnoteId':_0x5bcc43}),this['_footnotesDefinitions']&&(_0x189d4d['insert'](_0x2b84f5,this['_footnotesDefinitions'],'end'),_0x16edae=!0x0));const _0xa7f8a6={'id':_0x5bcc43,'reference':_0x33bca2,'definition':_0x2b84f5},_0x18bfbf=T(this['editor']['model'],this['_footnotes'],_0x33bca2);this['_footnotes']['splice'](_0x18bfbf,0x0,_0xa7f8a6);let _0x374b4a=_0x18bfbf;return-0x1!==_0x10bf36&&(_0x374b4a=Math['min'](_0x18bfbf,_0x10bf36)),this['_updateFootnotesCounters'](_0x189d4d,_0x374b4a)&&(_0x16edae=!0x0),_0x16edae;}['_handleRemoveFootnoteReferenceById'](_0xf58665,_0xd16b1a){const _0x1e40d4=this['_footnotes']['findIndex'](_0x433281=>_0x433281['id']===_0xd16b1a);if(-0x1===_0x1e40d4)return!0x1;let _0x686548=!0x1;const _0x4943fd=this['_footnotes'][_0x1e40d4];return'$graveyard'!==_0x4943fd['definition']['root']['rootName']&&(_0xf58665['remove'](_0x4943fd['definition']),_0x686548=!0x0),this['_footnotes']['splice'](_0x1e40d4,0x1),this['_updateFootnotesCounters'](_0xf58665,_0x1e40d4)&&(_0x686548=!0x0),_0x686548;}['_handleMovedFootnoteReference'](_0x35c517,_0x41f287){const _0x2d5d54=_0x41f287['getAttribute']('footnoteId'),_0xe1a539=this['_footnotes']['findIndex'](_0x4344dc=>_0x4344dc['id']===_0x2d5d54),_0xe5cf3f=this['_footnotes'][_0xe1a539];let _0x526626=!0x1;_0xe5cf3f['reference']=_0x41f287,this['_footnotes']['splice'](_0xe1a539,0x1);const _0x3dd22f=T(this['editor']['model'],this['_footnotes'],_0x41f287);return this['_footnotes']['splice'](_0x3dd22f,0x0,_0xe5cf3f),this['_updateFootnotesCounters'](_0x35c517,Math['min'](_0xe1a539,_0x3dd22f))&&(_0x526626=!0x0),_0x526626;}['_updateFootnoteRefCounter'](_0x531ace,_0x12f4f7){if(!this['_footnotesDefinitions'])return!0x1;const _0x444527=this['_footnotes'][_0x12f4f7];let _0x511dc1;return _0x511dc1=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x444527,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x12f4f7+0x1}):String(_0x12f4f7+0x1),_0x444527['reference']['getAttribute']('footnoteCounter')!=_0x511dc1&&(_0x531ace['setAttribute']('footnoteCounter',_0x511dc1,_0x444527['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5935e6){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x470bf9,_0xfa8620){if(_0x470bf9['length']!==_0xfa8620['length'])return!0x1;for(let _0x846d11=0x0;_0x846d11<_0x470bf9['length'];_0x846d11++)if(_0x470bf9[_0x846d11]!==_0xfa8620[_0x846d11])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x16098a=>_0x16098a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3c8637=>_0x3c8637['getAttribute']('footnoteId'))))return!0x1;let _0x1264ae=!0x1;for(let _0x5f2ebf=0x0;_0x5f2ebf<this['_footnotes']['length'];_0x5f2ebf++){const _0x5cdbcd=this['_footnotes'][_0x5f2ebf],_0x8f140f=_0x5935e6['createPositionBefore'](_0x5cdbcd['definition']),_0x17adcc=_0x5935e6['createPositionAt'](this['_footnotesDefinitions'],_0x5f2ebf);_0x8f140f['isEqual'](_0x17adcc)||(_0x5935e6['move'](_0x5935e6['createRangeOn'](_0x5cdbcd['definition']),_0x17adcc),_0x1264ae=!0x0);}return _0x1264ae;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5567a0){if(!this['_footnotes']['length'])return!0x1;const {model:_0xe95972}=this['editor'];let _0x1a941f=!0x1;for(let _0x388092=0x0;_0x388092<this['_footnotes']['length']-0x1;_0x388092++){const _0x53e180=this['_footnotes'][_0x388092],_0x20b5a9=this['_footnotes'][_0x388092+0x1],_0x1d6cc2=_0xe95972['createPositionBefore'](_0x53e180['reference']),_0x362b2e=_0xe95972['createPositionBefore'](_0x20b5a9['reference']);'after'===_0x1d6cc2['compareWith'](_0x362b2e)&&(this['_handleMovedFootnoteReference'](_0x5567a0,_0x53e180['reference']),_0x388092=-0x1,_0x1a941f=!0x0);}return _0x1a941f;}};function K(_0x185de3,_0x47e634,_0x2bc4b3){if(_0x2bc4b3['childCount'])return!0x1;const _0x2875c2=_0x47e634?'paragraph':'footnoteInlineContent';return _0x185de3['insert'](_0x185de3['createElement'](_0x2875c2),_0x2bc4b3),!0x0;}function T(_0x28b853,_0x3fc293,_0x154736){if(0x0===_0x3fc293['length'])return 0x0;const _0x561537=_0x28b853['createPositionBefore'](_0x154736);for(let _0xc89cec=0x0;_0xc89cec<_0x3fc293['length'];_0xc89cec++){const _0x1e30e7=_0x3fc293[_0xc89cec],_0x4d44ac=_0x28b853['createPositionBefore'](_0x1e30e7['reference']);if('before'===_0x561537['compareWith'](_0x4d44ac))return _0xc89cec;}const _0x3659ae=_0x154736['root'];let _0x533ef4=-0x1;for(let _0xb54bd9=_0x3fc293['length']-0x1;_0xb54bd9>=0x0;_0xb54bd9--)if(_0x3fc293[_0xb54bd9]['reference']['root']===_0x3659ae){_0x533ef4=_0xb54bd9;break;}if(-0x1!==_0x533ef4)return _0x533ef4+0x1;const _0x5f6e21=_0x28b853['document']['getRootNames'](),_0x262c61=_0x5f6e21[_0x5f6e21['indexOf'](_0x3659ae['rootName'])+0x1];if(_0x262c61){for(let _0x540c8f=0x0;_0x540c8f<_0x3fc293['length'];_0x540c8f++)if(_0x3fc293[_0x540c8f]['reference']['root']['rootName']===_0x262c61)return _0x540c8f;}return _0x3fc293['length'];}var j=class extends _0x19993b{['refresh'](){const _0x406062=this['editor']['model']['document']['selection'],_0x258b09=this['_getPositionToInsertFootnote'](_0x406062);this['isEnabled']=!!_0x258b09;}['execute'](_0x432353){const {editor:_0x20c3df}=this,{model:_0x585f99}=_0x20c3df,{selection:_0x23b466}=_0x585f99['document'],_0xebc70f=this['_getPositionToInsertFootnote'](_0x23b466);if(!_0xebc70f)return;const _0x2540a9=_0x20c3df['plugins']['get']('FootnotesEditing'),_0x5509c1=_0x432353?.['footnoteId']??_0x43a146();!function(_0x244175){return'string'==typeof _0x244175&&_0x244175['length']>0x0&&!/\s/['test'](_0x244175)&&!/^\d/['test'](_0x244175);}(_0x5509c1)?_0x49cf22('insert-footnote-command-executed-with-invalid-id'):(_0x585f99['change'](_0x388f4b=>{const _0x201a72=_0x388f4b['createElement']('footnoteRef',{'footnoteId':_0x5509c1});_0x585f99['insertObject'](_0x201a72,_0xebc70f,null);}),_0x2540a9['_moveSelectionToFootnoteDefinition'](_0x5509c1));}['_getPositionToInsertFootnote'](_0x536ad4){const {model:_0xd3b2a5}=this['editor'],{schema:_0x301ef6}=_0xd3b2a5,_0x6f18a=_0x536ad4['getFirstRange']();for(const _0x3bcf88 of _0x6f18a['getItems']())if(_0x301ef6['isBlock'](_0x3bcf88)||_0x301ef6['isObject'](_0x3bcf88))return null;const _0x463574=_0x6f18a['end'];return _0x301ef6['checkChild'](_0x463574,'footnoteRef')?_0x463574:null;}},U=class extends _0x69253f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3a1997}=this;_0x3a1997['config']['define']('footnotes.multiBlock',!0x0),_0x3a1997['commands']['add']('insertFootnote',new j(_0x3a1997)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x11e969){const _0x8b393f='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x21ae48=0x78e10,_0x512514=window['Date']['now'](),_0x287a87=_0x11e969['editor'],_0x5e1be5=new window['Promise'](_0x139e1e=>{_0x287a87['once']('ready',_0x139e1e);}),_0x21d701={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x48d9d8=_0x287a87['config']['get']('licenseKey');async function _0x1821a5(){let _0x3ce8cf,_0x2fb9db=null,_0x5233d2=null;try{return'GPL'==_0x48d9d8?'NotAllowed':(_0x3ce8cf=_0xcb38a1(),_0x3ce8cf?(_0x3ce8cf['usageEndpoint']&&(_0x5233d2=_0x16b41c(_0x3ce8cf['usageEndpoint'],_0x3ce8cf['jti'])),await _0x43ad66()?_0x5b24da()?_0x7aca97()?'Expired':_0x1fd841()?('evaluation'==_0x3ce8cf['licenseType']&&(_0x2fb9db=_0x50bb82('EvaluationLimit')),await _0x2dc9d4()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x7aca97(){const _0x257fd3=['evaluation','trial']['includes'](_0x3ce8cf['licenseType'])?_0x512514/0x3e8:0xe10*_0x21ae48;return _0x3ce8cf['exp']<_0x257fd3;}function _0x5b24da(){const _0xedee46=_0x3ce8cf['features'];return!!_0xedee46&&(!!_0xedee46['includes']('*')||!!_0xedee46['includes']('FOO'));}function _0x1fd841(){const _0x1bea64=_0x3ce8cf['licensedHosts'];if(!_0x1bea64||0x0==_0x1bea64['length'])return!0x0;const {hostname:_0x4c2f35}=new URL(window['location']['href']);if(_0x1bea64['includes'](_0x4c2f35))return!0x0;const _0xd14f20=_0x4c2f35['split']('.');return _0x1bea64['filter'](_0x2b45bf=>_0x2b45bf['includes']('*'))['map'](_0xfcb6f0=>_0xfcb6f0['split']('.'))['filter'](_0x36aae4=>_0x36aae4['length']<=_0xd14f20['length'])['map'](_0x15523a=>Array(_0xd14f20['length']-_0x15523a['length'])['fill']('*'===_0x15523a[0x0]?'*':'')['concat'](_0x15523a))['some'](_0x423687=>_0xd14f20['every']((_0x1e71b0,_0x18079e)=>_0x423687[_0x18079e]===_0x1e71b0||'*'===_0x423687[_0x18079e]));}function _0x2dc9d4(){return _0x2fb9db&&_0x5233d2?new window['Promise']((_0x4bd942,_0xa43037)=>{_0x2fb9db['then'](_0x4bd942,_0xa43037),_0x5233d2['then'](_0x282643=>{'Valid'!=_0x282643&&_0x4bd942(_0x282643);},_0xa43037);}):_0x2fb9db||_0x5233d2||'Valid';}}function _0x16b41c(_0x1d6c8c,_0x424f7f){return new window['Promise'](_0x5b88bb=>{if(_0x38a292())return _0x5b88bb('Valid');_0x5028bd(),_0x287a87['decorate']('_sendUsageRequest');let _0x29c85f=!0x1;const _0x57224d=_0x43a146();function _0x334e78(_0x55435f){return!!_0x55435f&&('object'==typeof _0x55435f||'function'==typeof _0x55435f)&&'function'==typeof _0x55435f['then']&&'function'==typeof _0x55435f['catch'];}function _0x2b93f5(_0x4abf33){_0x5b9b40(_0x4abf33)['then'](_0x4ec353=>_0x4ec353&&'ok'==_0x4ec353['status']?_0x121da5(_0x5ab78d(_0x57224d+_0x424f7f))!=_0x4ec353['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x178702=>(_0x389fbd(),_0x178702),()=>{const _0x54b008=_0x564e7c();return null==_0x54b008?(_0x389fbd(),'Valid'):_0x512514-_0x54b008>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5b88bb)['catch'](()=>{_0x5b88bb('UsageLimit');});const _0x254139=0x36ee80;function _0x389fbd(){const _0x4d42a5='llct-'+_0x121da5(_0x5ab78d(_0x1d6c8c)),_0x2a3c52=_0x36e50c(_0x121da5(window['Math']['ceil'](_0x512514/_0x254139)));window['localStorage']['setItem'](_0x4d42a5,_0x2a3c52);}function _0x564e7c(){const _0x19a80e='llct-'+_0x121da5(_0x5ab78d(_0x1d6c8c)),_0x281919=window['localStorage']['getItem'](_0x19a80e);return _0x281919?window['parseInt'](_0x36e50c(_0x281919),0x10)*_0x254139:null;}function _0x5b9b40(_0x4ef330){return new window['Promise']((_0xe3ecd0,_0x622d06)=>{_0x4ef330['then'](_0xe3ecd0,_0x622d06),window['setTimeout'](_0x622d06,0x1d4c0);});}}_0x287a87['on']('_sendUsageRequest',(_0x24b402,_0x148a1d)=>{if(_0x148a1d[0x0]!=_0x1d6c8c)return _0x5b88bb('UsageLimit');_0x148a1d[0x1]={..._0x148a1d[0x1],'requestId':_0x57224d};},{'priority':'high'}),_0x287a87['on']('_sendUsageRequest',_0x404a3d=>{_0x334e78(_0x404a3d['return'])&&(_0x29c85f=!0x0,_0x2b93f5(_0x404a3d['return']));},{'priority':'low'}),_0x5e1be5['then'](()=>{_0x29c85f||_0x5b88bb('UsageLimit');});});function _0x38a292(){return'auto'==_0x287a87['editing']['view']['_overlayModeHint'];}function _0x5028bd(){_0x287a87['editing']['view']['_overlayModeHint']='auto';}}function _0x50bb82(_0x2b0557){const _0x453416=[new window['Promise'](_0x41b0f5=>setTimeout(_0x41b0f5,0x93ecc)),_0x5e1be5['then'](()=>new window['Promise'](_0x508477=>{let _0x5b16f7=0x0;_0x287a87['model']['on']('applyOperation',(_0x4579c3,_0x48c946)=>{_0x48c946[0x0]['isDocumentOperation']&&_0x5b16f7++,0x5e8==_0x5b16f7&&(_0x508477(),_0x4579c3['off']());});}))];return window['Promise']['race'](_0x453416)['then'](()=>_0x2b0557);}async function _0x30954c(){await _0x5e1be5,_0x287a87['model']['change']=_0x554fda,_0x287a87['model']['enqueueChange']=_0x554fda,_0x287a87['enableReadOnlyMode']('model');}function _0x3b8be4(_0x183151){const _0x1d05e9=_0x29703c();_0x287a87[_0x1d05e9]='footnotesLicenseKey'+_0x183151,'Valid'!=_0x183151&&_0x30954c();}function _0x29703c(){const _0x431098=window['String'](window['performance']['now']())['replace']('.','');let _0x2cecba='u';for(let _0x10b1ec=0x0;_0x10b1ec<_0x431098['length'];_0x10b1ec+=0x2){let _0x21d46f=window['parseInt'](_0x431098['substring'](_0x10b1ec,_0x10b1ec+0x2));_0x21d46f>=0x3e&&(_0x21d46f-=0x3e),_0x2cecba+=_0x8b393f[_0x21d46f];}return _0x2cecba;}function _0xcb38a1(){const _0x500055=_0x48d9d8['split']('.');if(0x3!=_0x500055['length'])return null;return _0x3fd828(_0x500055[0x1]);function _0x3fd828(_0x467086){const _0x470ab4=_0x2b224a(_0x467086);return _0x470ab4&&_0x502dff()?_0x470ab4:null;function _0x502dff(){const _0x4d829d=_0x470ab4['jti'],_0x3e6669=window['parseInt'](_0x4d829d['substring'](_0x4d829d['length']-0x8),0x10),_0x28f899={..._0x470ab4,'jti':_0x4d829d['substring'](0x0,_0x4d829d['length']-0x8)};return delete _0x28f899['vc'],_0x5ab78d(_0x28f899)==_0x3e6669;}}}async function _0x43ad66(){let _0x24381c=!0x0;try{const [_0x430078,_0x4d8acf,_0x3e3200]=_0x48d9d8['split']('.');return _0x251b0c(_0x430078),await _0x370d33(_0x430078,_0x4d8acf,_0x3e3200),_0x24381c;}catch{return!0x1;}function _0x251b0c(_0x3e9eae){const _0x12e235=_0x2b224a(_0x3e9eae);_0x12e235&&'ES256'==_0x12e235['alg']||(_0x24381c=!0x1);}async function _0x370d33(_0x295c05,_0x5afba9,_0x18f72c){const _0x5d7970=window['Uint8Array']['from'](_0x2268ab(_0x18f72c),_0xf1ca60=>_0xf1ca60['charCodeAt'](0x0)),_0x529b57=new window['TextEncoder']()['encode'](_0x295c05+'.'+_0x5afba9),_0x131c58=window['crypto']['subtle'];if(!_0x131c58)return;const _0x4d6772=await _0x131c58['importKey']('jwk',_0x21d701,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x131c58['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4d6772,_0x5d7970,_0x529b57)||(_0x24381c=!0x1);}}function _0x2b224a(_0x1b8922){return _0x1b8922['startsWith']('ey')?JSON['parse'](_0x2268ab(_0x1b8922)):null;}function _0x2268ab(_0x1979b6){return window['atob'](_0x1979b6['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5ab78d(_0x55ae54){let _0x3a9154=0x1505;function _0x436b6a(_0x37a9f0){for(let _0x386c37=0x0;_0x386c37<_0x37a9f0['length'];_0x386c37++){const _0x4b237e=_0x37a9f0['charCodeAt'](_0x386c37);_0x3a9154=(_0x3a9154<<0x5)+_0x3a9154+_0x4b237e,_0x3a9154&=_0x3a9154;}}function _0x2e187e(_0x20726d){Array['isArray'](_0x20726d)?_0x20726d['forEach'](_0x2e187e):_0x20726d&&'object'==typeof _0x20726d?Object['entries'](_0x20726d)['sort']()['forEach'](([_0xfbad7d,_0xdeff35])=>{_0x436b6a(_0xfbad7d),_0x2e187e(_0xdeff35);}):_0x436b6a(window['String'](_0x20726d));}return _0x2e187e(_0x55ae54),_0x3a9154>>>0x0;}function _0x121da5(_0x550b5b){return _0x550b5b['toString'](0x10)['padStart'](0x8,'0');}function _0x36e50c(_0x13ce59){return _0x13ce59['split']('')['reverse']()['join']('');}function _0x554fda(){}_0x3b8be4(await _0x1821a5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x411dc2){const {plugins:_0x11914f,editing:_0x3adee7,model:_0x57b372}=this['editor'],_0x28a4db=_0x11914f['get'](V)['getFootnote'](_0x411dc2);return!!_0x28a4db&&(_0x57b372['change'](_0x53d475=>{_0x53d475['setSelection'](_0x53d475['createPositionAt'](_0x28a4db['definition'],'end'));}),_0x3adee7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2d2920){const {plugins:_0x2cfbef,editing:_0x4f81fb,model:_0x1b431a}=this['editor'],_0x2bd2ac=_0x2cfbef['get'](V)['getFootnote'](_0x2d2920);return!!_0x2bd2ac&&(_0x1b431a['change'](_0x4ac2dc=>{_0x4ac2dc['setSelection'](_0x2bd2ac['reference'],'on');}),_0x4f81fb['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x14f96e}=this['editor']['model'],_0xfafa57=this['editor']['config']['get']('footnotes.multiBlock');_0x14f96e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x14f96e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x14f96e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xfafa57?_0x14f96e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x14f96e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x14f96e['addChildCheck'](_0x27f461=>{for(const _0x20a8a1 of _0x27f461)if('footnoteDefinition'===_0x20a8a1['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x11b358}=this,{conversion:_0x233c92,editing:_0x340693}=_0x11b358,{t:t}=_0x11b358['locale'];_0x233c92['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x75d26f,{writer:_0x4b4ffc,consumable:_0x2f31d7})=>{const _0x28bcc4=_0x75d26f['getChild'](0x0);if(!_0x28bcc4||!_0x28bcc4['is']('element','a'))return null;const _0x361c4f=_0x28bcc4['getAttribute']('href')||'';if(!_0x361c4f['startsWith']('#'))return null;const _0x1d1588=_0x361c4f['replace'](/^#/,'');if(!_0x1d1588)return null;_0x2f31d7['consume'](_0x28bcc4,{'name':!0x0,'attributes':['href']});for(const {item:_0x31c7f6}of _0x340693['view']['createRangeIn'](_0x28bcc4))_0x31c7f6['is']('$textProxy')?_0x2f31d7['consume'](_0x31c7f6['textNode'],{'name':!0x0}):_0x31c7f6['is']('element')&&_0x2f31d7['consume'](_0x31c7f6,{'name':!0x0});return _0x4b4ffc['createElement']('footnoteRef',{'footnoteId':_0x1d1588});}}),_0x233c92['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x295a5a,{writer:_0x4f5480})=>X(_0x295a5a,_0x4f5480)}),_0x233c92['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x56c345,{writer:_0x14dee5})=>{const _0x1b83f3=_0x56c345['getAttribute']('footnoteCounter');return _0x116414(X(_0x56c345,_0x14dee5),_0x14dee5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1b83f3)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2f2d07}=this,{t:t}=_0x2f2d07['locale'],{conversion:_0xb72b4e}=_0x2f2d07;_0xb72b4e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xb72b4e['for']('upcast')['add'](_0x5a0e45=>{_0x5a0e45['on']('element:ol',(_0x4aa7ce,_0x53f959,_0x175d9a)=>{const _0x421edc=_0x53f959['viewItem'];if(!_0x421edc['hasClass']('footnotes-list')||!_0x53f959['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x175d9a['consumable']['consume'](_0x421edc,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x12bfeb,modelCursor:_0x56011f}=_0x175d9a['convertChildren'](_0x53f959['viewItem'],_0x53f959['modelCursor']);_0x53f959['modelRange']=_0x12bfeb,_0x53f959['modelCursor']=_0x56011f;}),_0x5a0e45['on']('element:hr',(_0x1ebbf8,_0x211c87,_0xfe2648)=>{const _0x2ae837=_0x211c87['viewItem'];_0x2ae837['hasClass']('footnotes-divider')&&_0x211c87['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xfe2648['consumable']['consume'](_0x2ae837,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xb72b4e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x558646,{writer:_0x57d33c})=>H(_0x57d33c)}),_0xb72b4e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x344d69,{writer:_0x2699db})=>{const _0x507b5a=_0x116414(H(_0x2699db,{'data-footnotes-list-label':t('Footnotes')}),_0x2699db,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2699db['setCustomProperty']('footnotesDefinitions',!0x0,_0x507b5a),_0x507b5a;}});}['_defineDefinitionConverters'](){const {editor:_0x4e2a18}=this,{conversion:_0x6cf90f,locale:_0x1e891c}=_0x4e2a18,_0xb27b1=_0x4e2a18['config']['get']('footnotes.multiBlock');_0x6cf90f['for']('upcast')['add'](_0x14357c=>{_0x14357c['on']('element:li',(_0x2d02a1,_0x416bf1,_0x10f0f9)=>{const _0xf73658=_0x416bf1['viewItem'];if(!_0xf73658['hasClass']('footnote-definition')||!_0xf73658['getAttribute']('id'))return;const _0x5db5ad=_0xf73658['parent'];if(!_0x5db5ad['is']('element','ol')||!_0x5db5ad['hasClass']('footnotes-list'))return;if(!_0x10f0f9['consumable']['test'](_0xf73658,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x85efe4=_0x10f0f9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xf73658['getAttribute']('id')});if(!_0x10f0f9['safeInsert'](_0x85efe4,_0x416bf1['modelCursor']))return;_0x10f0f9['consumable']['consume'](_0xf73658,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4bd07c=Array['from'](_0xf73658['getChildren']())['find'](_0x11060c=>_0x11060c['is']('element')&&_0x11060c['hasClass']('footnote-content'));for(const _0x133ae8 of _0xf73658['getChildren']())_0x133ae8['is']('element')&&(_0x10f0f9['consumable']['consume'](_0x133ae8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x10f0f9['consumable']['consume'](_0x133ae8,{'name':!0x0,'classes':'footnote-content'}));if(_0x4bd07c){if(_0xb27b1)_0x10f0f9['convertChildren'](_0x4bd07c,_0x85efe4);else{const _0x39d1fe=_0x10f0f9['writer']['createElement']('footnoteInlineContent');_0x10f0f9['writer']['insert'](_0x39d1fe,_0x85efe4),_0x10f0f9['convertChildren'](_0x4bd07c,_0x39d1fe);}}_0x10f0f9['updateConversionResult'](_0x85efe4,_0x416bf1);});}),_0x6cf90f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50e7f6,{writer:_0xb3d6c4})=>z(_0x50e7f6,_0xb3d6c4,_0x1e891c,{'dataPipeline':!0x0})}),_0x6cf90f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18265c,{writer:_0x310406})=>z(_0x18265c,_0x310406,_0x1e891c)});}['_defineBogusParagraphConverters'](){const {editor:_0x1d3779}=this,{conversion:_0x5dd88e}=_0x1d3779;_0x1d3779['config']['get']('footnotes.multiBlock')?(_0x5dd88e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x5dd88e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1d3779['model']['document'],'change:data',()=>{!function(_0x252df1,_0x1143b7){const _0x3a4735=_0x252df1['document']['differ'],_0x5bd73b=new Set();for(const _0x3bbbe9 of _0x3a4735['getChanges']()){const _0x2cbeea='attribute'==_0x3bbbe9['type']?_0x3bbbe9['range']['start']['parent']:_0x3bbbe9['position']['parent'];_0x2cbeea['is']('element','footnoteDefinition')&&_0x5bd73b['add'](_0x2cbeea);}for(const _0x5ef52d of _0x5bd73b['values']()){const _0x57d42a=Array['from'](_0x5ef52d['getChildren']())['filter'](_0x52cebc=>B(_0x52cebc,_0x1143b7['mapper']));for(const _0x47ef52 of _0x57d42a)_0x1143b7['reconvertItem'](_0x47ef52);}}(_0x1d3779['model'],_0x1d3779['editing']);})):(_0x5dd88e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x5dd88e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3ed4c0,{writer:_0x4348b9})=>{const _0x2aa7f9=_0x4348b9['createContainerElement']('span');return _0x4348b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2aa7f9),_0x2aa7f9;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2ef01b}=this,{editing:_0x335cdc,t:t}=_0x2ef01b,_0x691c34=_0x2ef01b['model']['document']['selection'];_0x2ef01b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2ef01b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x335cdc['view']['document'],'enter',(_0x30079f,_0xec0f9e)=>{const _0x2bca46=function(_0x280893){const _0x376484=_0x280893['getSelectedElement']();return _0x376484?.['is']('element','footnoteRef')?_0x376484:null;}(_0x691c34);if(_0x2bca46){const _0x1834b=_0x2bca46['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1834b),_0xec0f9e['preventDefault'](),_0x30079f['stop']();}},{'context':_0x5420a7});}['_defineClickHandlers'](){const {editor:_0x35a19a}=this,{editing:_0x3203a3}=_0x35a19a;_0x35a19a['editing']['view']['addObserver'](_0x4605fb),_0x35a19a['editing']['view']['addObserver'](_0x4e0005);let _0x162248=!0x1;this['listenTo'](_0x3203a3['view']['document'],'pointerdown',(_0xe8da10,_0x200924)=>{const {target:_0x379964}=_0x200924,_0x24269e=_0x3203a3['view']['document']['selection'];_0x162248=!!(_0x379964?.['is']('element','a')&&_0x379964['parent']?.['is']('element','sup')&&_0x379964['parent']['hasClass']('footnote'))&&_0x24269e['getSelectedElement']()===_0x379964['parent'];},{'priority':'high'}),this['listenTo'](_0x3203a3['view']['document'],'click',(_0x452998,_0xd754ce)=>{const {target:_0x59d246}=_0xd754ce;if(!_0x59d246?.['is']('element','a'))return;if(_0x59d246['parent']?.['is']('element','sup')&&_0x59d246['parent']['hasClass']('footnote')&&!_0x162248)return void _0xd754ce['preventDefault']();let _0x1165ac=_0x59d246['getAttribute']('href');if(!_0x1165ac?.['startsWith']('#'))return;_0x1165ac=_0x1165ac['slice'](0x1);let _0x4ab77c=!0x1;(_0x1165ac['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1165ac['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1165ac))&&(_0x4ab77c=!0x0),_0x4ab77c&&(_0xd754ce['preventDefault'](),_0x452998['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x39f8e2}={}){return(_0xe84267,{writer:_0x4599f2})=>{if(!M(_0xe84267))return null;if(!_0x39f8e2)return _0x4599f2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x21b24f=_0x4599f2['createContainerElement']('p');return _0x4599f2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x21b24f),_0x21b24f;};}function M(_0x2f0fcb){const {parent:_0x3e4d04}=_0x2f0fcb;if(!_0x3e4d04?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3e4d04['childCount'])return!0x1;for(const _0x3c5fd2 of _0x2f0fcb['getAttributeKeys']())if(!_0x3c5fd2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3c5fd2)return!0x1;return!0x0;}function B(_0x4f2d0a,_0x5bfb07){if(!_0x4f2d0a['is']('element','paragraph'))return!0x1;const _0x3ef9d9=_0x5bfb07['toViewElement'](_0x4f2d0a);return!!_0x3ef9d9&&M(_0x4f2d0a)!==_0x3ef9d9['is']('element','span');}function q(_0x4790c0){return _0x5420a7(_0x4790c0)&&_0x4790c0['is']('containerElement')&&!!_0x4790c0['getCustomProperty']('footnotesDefinitions');}function H(_0x13ed7b,_0x56983b={}){const _0x269b06=_0x13ed7b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x23b8e4=_0x13ed7b['createContainerElement']('ol',{'class':'footnotes-list'},_0x13ed7b['createSlot']());return _0x13ed7b['createContainerElement']('div',{'class':'footnotes',..._0x56983b},[_0x269b06,_0x23b8e4]);}function X(_0x393efa,_0x2fbde2){const _0x4de80a=_0x393efa['getAttribute']('footnoteId'),_0x4fc60f=_0x393efa['getAttribute']('footnoteCounter'),_0x1a1de2=_0x2fbde2['createUIElement']('a',{'href':'#'+_0x4de80a},function(_0x1d7dd9){const _0x574aa8=this['toDomElement'](_0x1d7dd9);return _0x574aa8['textContent']=_0x4fc60f,_0x574aa8;}),_0x2e3d97=_0x2fbde2['createContainerElement']('sup',{'id':'ref-'+_0x4de80a,'class':'footnote'},[_0x1a1de2]);return _0x2e3d97['getFillerOffset']=()=>null,_0x2e3d97;}function z(_0x87cb2b,_0x31be6f,_0x512668,{dataPipeline:_0x41864f}={}){const {t:t}=_0x512668,_0x207573=_0x87cb2b['getAttribute']('footnoteId'),_0x2c13b3=_0x31be6f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x207573},function(_0x2cb33d){const _0x5787d0=this['toDomElement'](_0x2cb33d);return _0x5787d0['innerText']='^',_0x5787d0;}),_0x2e6151=_0x41864f?_0x31be6f['createContainerElement']('div',{'class':'footnote-content'}):_0x33614e(_0x31be6f['createEditableElement']('div',{'class':'footnote-content'}),_0x31be6f,{'label':t('Footnote\x20content.')});return _0x31be6f['insert'](_0x31be6f['createPositionAt'](_0x2e6151,0x0),_0x31be6f['createSlot']()),_0x31be6f['createContainerElement']('li',{'class':'footnote-definition','id':_0x207573},[_0x2c13b3,_0x2e6151]);}var J=class extends _0x69253f{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x5beac5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x441078}=this,{plugins:_0x43c132,model:_0x40edde}=_0x441078,_0x1ce05a=_0x43c132['get'](_0x5beac5),_0x47587d=_0x43c132['get'](V);this['listenTo'](_0x1ce05a,'outputTransformation',(_0x6d53cc,_0x266646)=>{const _0x20e3f6=G(_0x40edde['createRangeIn'](_0x266646['content']));if(!_0x20e3f6['length'])return;const _0x224e7c=_0x47587d['getFootnotes'](),_0x41ff3c=_0x20e3f6['reduce']((_0x2e3ef9,_0x26a88d)=>{const _0x43d162=_0x224e7c['find'](_0x41caea=>_0x41caea['id']===_0x26a88d);if(_0x43d162){const _0x491685=_0x441078['data']['toView'](_0x43d162['definition'],{'isClipboardPipeline':!0x0}),_0x3cbc68=_0x441078['data']['htmlProcessor']['toData'](_0x491685);_0x2e3ef9[_0x43d162['id']]=_0x3cbc68;}return _0x2e3ef9;},Object['create'](null));_0x266646['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x41ff3c));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x181ea2}=this,{model:_0x172d27,plugins:_0x4ce68f}=_0x181ea2,{view:_0x3480e7}=_0x181ea2['editing'],_0x8cb340=_0x4ce68f['get'](_0x5beac5),_0x3dbdca=_0x4ce68f['get'](V),_0x5ca03b=_0x181ea2['config']['get']('footnotes.multiBlock');let _0x52dece=null;this['listenTo'](_0x3480e7['document'],'clipboardInput',(_0x51dfe7,_0x862e58)=>{const _0x214be0=_0x862e58['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x52dece=_0x214be0?JSON['parse'](_0x214be0):null;}),this['listenTo'](_0x8cb340,'contentInsertion',(_0xdd5406,_0x3f36d5)=>{const _0x518720=_0x3f36d5['sourceEditorId']===this['editor']['id'];_0x518720&&'drop'===_0x3f36d5['method']||_0x172d27['change'](_0x512b00=>{let _0x1a73de=_0x3dbdca['getFootnotesDefinitionsObjectElement']();const _0x2a219d=!!_0x1a73de&&Array['from'](_0x172d27['document']['selection']['getSelectedBlocks']())['includes'](_0x1a73de);if(!_0x52dece&&function(_0xaf559b){for(const {item:_0x59af1e}of _0xaf559b)if(_0x59af1e['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x172d27['createRangeIn'](_0x3f36d5['content']))&&(_0x52dece=function(_0x49bfd9,_0x44e8b7){const _0x7c50d0=Q(_0x49bfd9,_0x44e8b7);if(!_0x7c50d0)return null;const _0x50c000=Object['create'](null);for(const _0x4e9aa9 of _0x7c50d0['getChildren']())_0x4e9aa9['is']('element','footnoteDefinition')&&_0x4e9aa9['hasAttribute']('footnoteId')&&(_0x50c000[_0x4e9aa9['getAttribute']('footnoteId')]=_0x49bfd9['cloneElement'](_0x4e9aa9,!0x0));return Object['keys'](_0x50c000)['length']?_0x50c000:null;}(_0x512b00,_0x3f36d5['content'])),(_0x1a73de&&!_0x2a219d||!_0x1a73de&&!_0x52dece)&&function(_0x46259f,_0x192f07){const _0x59cc41=[];for(const {item:_0x4abfb1}of _0x46259f['createRangeIn'](_0x192f07))_0x4abfb1['is']('element','footnotesDefinitions')&&_0x59cc41['push'](_0x4abfb1);for(const _0x32046a of _0x59cc41)_0x46259f['remove'](_0x32046a);}(_0x512b00,_0x3f36d5['content']),!_0x52dece)return;const {selection:_0x4937a8}=_0x172d27['document'],_0x19a6a3=_0x4937a8['getFirstRange']()['root'];_0x1a73de&&!_0x2a219d||(_0x1a73de=Q(_0x512b00,_0x3f36d5['content']),_0x1a73de||=_0x3dbdca['_insertEmptyFootnotesDefinitionsContainer'](_0x512b00,_0x19a6a3));const _0x82539d=Array['from'](_0x4937a8['getRanges']())['flatMap'](G),_0x22d107=function(_0x1a38f7,_0x2058d3,_0x19c474){const _0x5c5d0=Object['create'](null);for(const {item:_0x1ac87f}of _0x1a38f7['createRangeIn'](_0x2058d3))if(_0x1ac87f['is']('element','footnoteRef')){const _0x164650=_0x1ac87f['getAttribute']('footnoteId');if(!_0x19c474(_0x164650))continue;_0x5c5d0[_0x164650]||(_0x5c5d0[_0x164650]=_0x43a146()),_0x1a38f7['setAttribute']('footnoteId',_0x5c5d0[_0x164650],_0x1ac87f);}return _0x5c5d0;}(_0x512b00,_0x3f36d5['content'],_0xa02ca5=>!_0x518720||!!_0x3dbdca['getFootnote'](_0xa02ca5)&&!_0x82539d['includes'](_0xa02ca5));for(const [_0x1494ab,_0x3a9a75]of Object['entries'](_0x52dece)){const _0x407519=_0x22d107[_0x1494ab]||_0x1494ab;let _0x331293;if('string'!=typeof _0x3a9a75)_0x331293=_0x3a9a75,_0x407519!==_0x1494ab&&_0x512b00['setAttribute']('footnoteId',_0x407519,_0x331293);else{_0x331293=_0x512b00['createElement']('footnoteDefinition',{'footnoteId':_0x407519});const _0x567cff=_0x181ea2['data']['htmlProcessor']['toView'](_0x3a9a75);let _0x2268a3;if(_0x5ca03b)_0x2268a3=_0x181ea2['data']['toModel'](_0x567cff,_0x331293);else{_0x2268a3=_0x512b00['createElement']('footnoteInlineContent');const _0x4a9eee=_0x181ea2['data']['toModel'](_0x567cff,_0x2268a3);_0x512b00['insert'](_0x4a9eee,_0x2268a3);}_0x512b00['append'](_0x2268a3,_0x331293);}_0x512b00['insert'](_0x331293,_0x1a73de,'end');}_0x52dece=null;});});}};function Q(_0x1cfe1d,_0x16486c){for(const {item:_0x268d36}of _0x1cfe1d['createRangeIn'](_0x16486c))if(_0x268d36['is']('element','footnotesDefinitions'))return _0x268d36;return null;}function G(_0x387040){const _0x229668=new Set();for(const {item:_0x190d2b}of _0x387040)_0x190d2b['is']('element','footnoteRef')&&_0x229668['add'](_0x190d2b['getAttribute']('footnoteId'));return Array['from'](_0x229668);}var W=class extends _0x69253f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3229ba}=this,{componentFactory:_0x5bcb64}=_0x3229ba['ui'];_0x5bcb64['add']('insertFootnote',Y(_0x3229ba,_0xba40e4)),_0x5bcb64['add']('menuBar:insertFootnote',Y(_0x3229ba,_0xf56d12)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x42b529=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x9b5242;for(const _0x582890 in _0x42b529){const _0x164236=_0x582890,_0x2986f6=_0x42b529[_0x164236];if('footnotesLicenseKeyValid'==_0x2986f6||'footnotesLicenseKeyInvalid'==_0x2986f6||'footnotesLicenseKeyExpired'==_0x2986f6||'footnotesLicenseKeyDomainLimit'==_0x2986f6||'footnotesLicenseKeyNotAllowed'==_0x2986f6||'footnotesLicenseKeyEvaluationLimit'==_0x2986f6||'footnotesLicenseKeyUsageLimit'==_0x2986f6){delete _0x42b529[_0x164236],_0x9b5242=_0x2986f6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x9b5242&&_0x42b529['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x9b5242&&_0x42b529['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x9b5242&&_0x42b529['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x9b5242&&_0x42b529['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x9b5242&&_0x42b529['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x9b5242&&_0x42b529['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x452710,_0x5bc14f){const _0x597718=_0x452710['commands']['get']('insertFootnote');return _0x5aa1ec=>{const {t:t}=_0x5aa1ec,_0x167deb=new _0x5bc14f(_0x5aa1ec),_0x332267=_0x167deb instanceof _0xf56d12;return _0x167deb['bind']('isEnabled')['to'](_0x597718,'isEnabled'),_0x167deb['set']({'label':t(_0x332267?'Footnote':'Insert\x20footnote'),'icon':_0x4eb550,'tooltip':!0x0}),_0x167deb['on']('execute',()=>{_0x597718['execute'](),_0x452710['editing']['view']['focus']();}),_0x167deb;};}var Z=class extends _0x69253f{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 _0x19993b{['refresh'](){const {editor:_0xbf66b7}=this,_0x219383=_0xbf66b7['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x219383,this['value']=_0x219383?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x137d70}){const {editor:_0xd12128}=this,_0x31aeb0=_0xd12128['plugins']['get'](V),_0x420ce4=_0x31aeb0['getFootnotesDefinitionsObjectElement']();_0x420ce4&&ot['includes'](_0x137d70)&&_0xd12128['model']['change'](_0xd9b6e0=>{_0xd9b6e0['setAttribute']('footnotesListStyle',_0x137d70,_0x420ce4),_0x31aeb0['_updateFootnotesCounters'](_0xd9b6e0);});}},it=class extends _0x19993b{['refresh'](){const {editor:_0x161bee}=this,_0x4aeb77=_0x161bee['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4aeb77,this['value']=_0x4aeb77?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x41c518}){const {editor:_0x1b5407}=this,_0xe43bcf=_0x1b5407['plugins']['get'](V),_0x55f4d4=_0xe43bcf['getFootnotesDefinitionsObjectElement']();_0x55f4d4&&Number['isInteger'](_0x41c518)&&_0x1b5407['model']['change'](_0x3d4083=>{_0x3d4083['setAttribute']('footnotesListStart',_0x41c518,_0x55f4d4),_0xe43bcf['_updateFootnotesCounters'](_0x3d4083);});}};function st({style:_0x4d90ce,digits:_0x72fa66,value:_0x2965a3}){const _0x2cbcc3=Math['floor'](_0x2965a3),_0x2c404f=function(_0x419d8b){switch(_0x419d8b){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};}}(_0x4d90ce);switch((_0x2cbcc3>_0x2c404f['max']||_0x2cbcc3<_0x2c404f['min'])&&(_0x4d90ce='decimal'),_0x4d90ce){case'decimal-leading-zero':return function(_0x39ce10,_0x60c844){return String(_0x39ce10)['padStart'](_0x60c844,'0');}(_0x2cbcc3,Math['max'](0x2,_0x72fa66));case'lower-alpha':case'lower-latin':return rt(_0x2cbcc3,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x2cbcc3,!0x0);case'lower-roman':return at(_0x2cbcc3,!0x1);case'upper-roman':return at(_0x2cbcc3,!0x0);case'arabic-indic':return String(_0x2cbcc3)['replace'](/\d/g,_0x3c5b50=>ft[Number(_0x3c5b50)]);default:return String(_0x2cbcc3);}}function rt(_0x5b3efa,_0x489c4b){let _0x13d15f='',_0x20aca6=_0x5b3efa;for(;_0x20aca6>0x0;){const _0x177232=(_0x20aca6-0x1)%0x1a;_0x13d15f=String['fromCharCode'](0x61+_0x177232)+_0x13d15f,_0x20aca6=Math['floor']((_0x20aca6-0x1)/0x1a);}return _0x489c4b?_0x13d15f['toUpperCase']():_0x13d15f;}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(_0x3b0a65,_0x2c3a82){let _0x3eef6d='',_0x1a15ad=_0x3b0a65;for(const {value:_0x433406,numeral:_0xc6ae8a}of lt)for(;_0x1a15ad>=_0x433406;)_0x3eef6d+=_0xc6ae8a,_0x1a15ad-=_0x433406;return _0x2c3a82?_0x3eef6d:_0x3eef6d['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x69253f{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f0f30}=this;_0x4f0f30['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4f0f30['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4f0f30['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x4f0f30['commands']['add']('footnotesStyle',new nt(_0x4f0f30)),_0x4f0f30['commands']['add']('footnotesStart',new it(_0x4f0f30)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x13b3e5}=this,{schema:_0x411239}=_0x13b3e5['model'];_0x411239['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5a4a42}=this,{conversion:_0x438d85,model:_0x22002c}=_0x5a4a42,{schema:_0x446505}=_0x22002c;_0x438d85['for']('upcast')['add'](_0x15939c=>{_0x15939c['on']('element:ol',(_0x2b6be8,_0x51ab3d,_0x572ac7)=>{const _0x5ea119=_0x51ab3d['viewItem'],_0x542c1f=_0x51ab3d['modelCursor']?.['parent'];_0x5ea119['hasClass']('footnotes-list')&&_0x542c1f?.['is']('element','footnotesDefinitions')&&(function(_0x357879,_0x5a6640,_0x6681ae,_0x4acee6){if(!_0x4acee6['checkAttribute'](_0x5a6640,'footnotesListStart'))return;let _0x38ec03=0x1;const _0x498ea2=_0x6681ae['consumable']['consume'](_0x357879,{'attributes':'start'});if(_0x498ea2){const _0x241a08=Number['parseInt'](_0x357879['getAttribute']('start'),0xa);Number['isNaN'](_0x241a08)||(_0x38ec03=_0x241a08);}!_0x498ea2&&_0x5a6640['hasAttribute']('footnotesListStart')||_0x6681ae['writer']['setAttribute']('footnotesListStart',_0x38ec03,_0x5a6640);}(_0x5ea119,_0x542c1f,_0x572ac7,_0x446505),function(_0x340370,_0x2c4a0c,_0x322b9b,_0x270034){if(!_0x270034['checkAttribute'](_0x2c4a0c,'footnotesListStyle'))return;let _0xdd5690='decimal',_0x2ba73a=!0x1;if(_0x322b9b['consumable']['consume'](_0x340370,{'attributes':'type'})){const _0x2729c8={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x340370['getAttribute']('type')];_0x2729c8&&(_0xdd5690=_0x2729c8),_0x2ba73a=!0x0;}if(_0x322b9b['consumable']['consume'](_0x340370,{'styles':'list-style-type'})){const _0x3655fe=ut(_0x340370['getStyle']('list-style-type'));_0x3655fe&&(_0xdd5690=_0x3655fe),_0x2ba73a=!0x0;}!_0x2ba73a&&_0x2c4a0c['hasAttribute']('footnotesListStyle')||_0x322b9b['writer']['setAttribute']('footnotesListStyle',_0xdd5690,_0x2c4a0c);}(_0x5ea119,_0x542c1f,_0x572ac7,_0x446505));});}),_0x438d85['for']('downcast')['add'](_0x562afa=>{_0x562afa['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5029bb,_0x23cca6,_0x1f3a71)=>{if(!_0x1f3a71['consumable']['consume'](_0x23cca6['item'],_0x5029bb['name']))return;const _0x133d7b=dt(_0x23cca6['item'],_0x1f3a71['mapper']),{attributeNewValue:_0xbc9bcb}=_0x23cca6;null==_0xbc9bcb||0x1===_0xbc9bcb?_0x1f3a71['writer']['removeAttribute']('start',_0x133d7b):_0x1f3a71['writer']['setAttribute']('start',String(_0xbc9bcb),_0x133d7b);}),_0x562afa['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x791ca9,_0x4ef0f0,_0x4a439b)=>{if(!_0x4a439b['consumable']['consume'](_0x4ef0f0['item'],_0x791ca9['name']))return;const _0x43a00d=dt(_0x4ef0f0['item'],_0x4a439b['mapper']),{attributeNewValue:_0x2663b0}=_0x4ef0f0;_0x2663b0&&'decimal'!==_0x2663b0?_0x4a439b['writer']['setStyle']('list-style-type',_0x2663b0,_0x43a00d):_0x4a439b['writer']['removeStyle']('list-style-type',_0x43a00d);});});}['_definePostfixer'](){const {editor:_0x3f0e6f}=this,{model:_0x183d69}=_0x3f0e6f,_0x256d4e=_0x3f0e6f['plugins']['get'](V),_0x529e24=this['_getDefaultListStyle'](),_0x403b71=this['_getDefaultStartIndex']();_0x183d69['document']['registerPostFixer'](_0x41d44d=>{const _0x48f82b=_0x183d69['document']['differ']['getChanges']();let _0x8386ba=!0x1;for(const _0x386fbe of _0x48f82b){if('insert'!==_0x386fbe['type']||'$text'===_0x386fbe['name'])continue;const _0x1c7f61=_0x183d69['createRangeOn'](_0x386fbe['position']['nodeAfter']);for(const _0x1ed1cb of _0x1c7f61['getItems']())_0x1ed1cb['is']('element','footnotesDefinitions')&&(!_0x1ed1cb['hasAttribute']('footnotesListStart')&&_0x183d69['schema']['checkAttribute'](_0x1ed1cb,'footnotesListStart')&&(_0x41d44d['setAttribute']('footnotesListStart',_0x403b71,_0x1ed1cb),_0x8386ba=!0x0),!_0x1ed1cb['hasAttribute']('footnotesListStyle')&&_0x183d69['schema']['checkAttribute'](_0x1ed1cb,'footnotesListStyle')&&(_0x41d44d['setAttribute']('footnotesListStyle',_0x529e24,_0x1ed1cb),_0x8386ba=!0x0));}return _0x8386ba&&_0x256d4e['_updateFootnotesCounters'](_0x41d44d),_0x8386ba;});}['_defineFormatter'](){const {editor:_0x42d817}=this;_0x42d817['plugins']['get'](V)['setFootnoteFormatter'](_0x58e142=>this['_formatFootnoteListValue'](_0x58e142));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x59a3e8,value:_0x420988,digits:_0x581149}){const _0x4787fe=_0x59a3e8['getAttribute']('footnotesListStyle');return st({'value':_0x420988+(_0x59a3e8['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x4787fe,'digits':_0x581149});}};function ut(_0x59a3ba){if('string'==typeof _0x59a3ba){const _0xb42c8c=et[_0x59a3ba];if(_0xb42c8c)return _0xb42c8c;if(ot['includes'](_0x59a3ba))return _0x59a3ba;}return null;}function dt(_0x387ae2,_0x4e3f2b){const _0x3c1681=_0x4e3f2b['toViewElement'](_0x387ae2);return Array['from'](_0x3c1681['getChildren']())['find'](_0x3ba4ce=>_0x3ba4ce['is']('element','ol')&&_0x3ba4ce['hasClass']('footnotes-list'));}var ht=class extends _0x2067a9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x724916();['keystrokes']=new _0x2455df();['focusables']=new _0x26dcd3();['focusCycler'];constructor(_0x230e03,{styleButtonViews:_0x355f14,styleGridAriaLabel:_0x4db9cd}){super(_0x230e03),(this['focusCycler']=new _0x1e0018({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x355f14,_0x4db9cd),[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 _0x4a83b5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4a83b5['element']);_0xfa7f92({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x97f9ac['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 _0x75ba12=_0x4d9688=>_0x4d9688['stopPropagation']();this['keystrokes']['set']('arrowright',_0x75ba12),this['keystrokes']['set']('arrowleft',_0x75ba12),this['keystrokes']['set']('arrowup',_0x75ba12),this['keystrokes']['set']('arrowdown',_0x75ba12);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3e0531,_0x1ced34){const _0x21fec2=new _0x2067a9(this['locale']);return _0x21fec2['children']=_0x21fec2['createCollection'](),_0x21fec2['children']['addMany'](_0x3e0531),_0x21fec2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1ced34,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x21fec2['children']}),_0x21fec2['children']['delegate']('execute')['to'](this),_0x21fec2['focus']=function(){for(const _0x24a937 of this['children'])if(_0x24a937 instanceof _0xba40e4&&_0x24a937['isOn'])return void _0x24a937['focus']();this['children']['first']['focus']();},_0x21fec2['focusTracker']=new _0x724916(),_0x21fec2['keystrokes']=new _0x2455df(),_0x21fec2['render'](),_0x21fec2['keystrokes']['listenTo'](_0x21fec2['element']),this['children']['add'](_0x21fec2),_0x21fec2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1ed350=this['_createStartIndexPropertyView'](),_0x390c10=[_0x1ed350],_0x4f5928=new _0x4fafa2(this['locale'],_0x390c10);return _0x4f5928['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4f5928['buttonView']['bind']('isEnabled')['toMany'](_0x390c10,'isEnabled',(..._0x11f735)=>_0x11f735['some'](_0x38958f=>_0x38958f)),_0x4f5928['buttonView']['on']('change:isEnabled',(_0x24ed9f,_0x37eaa1,_0x116560)=>{_0x116560||(_0x4f5928['isCollapsed']=!0x0);}),this['children']['add'](_0x4f5928),[_0x1ed350,_0x4f5928];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1125f5=new _0x5097b8(this['locale'],_0x169fbc);return _0x1125f5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1125f5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1125f5['fieldView']['on']('input',()=>{const _0x3ae23f=_0x1125f5['fieldView']['element'],_0x29e48e=_0x3ae23f['valueAsNumber'];Number['isNaN'](_0x29e48e)?_0x1125f5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3ae23f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x29e48e}):_0x1125f5['errorText']=t(_0x29e48e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1125f5;}},mt=class extends _0x69253f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3930b6,_0xd5b9ef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x513739}=this,{componentFactory:_0xf59e85}=_0x513739['ui'];_0x513739['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xf59e85['add']('footnotesStyle',function(_0x4dffd3){return _0x9791f3=>{const {t:t}=_0x9791f3,_0x1f5f58=_0x4dffd3['commands']['get']('footnotesStyle'),_0x30b31a=_0x5cd20f(_0x9791f3),{buttonView:_0x515741}=_0x30b31a;return _0x30b31a['class']='ck-footnotes-styles-dropdown',_0x30b31a['bind']('isEnabled')['to'](_0x1f5f58,'isEnabled'),_0x515741['set']({'label':t('Footnotes\x20style'),'icon':_0x4eb550,'tooltip':!0x0}),_0x30b31a['once']('change:isOpen',()=>{const _0x2eee32=function({editor:_0xdcacb3,dropdownView:_0x5bf4e8}){const {t:t}=_0xdcacb3['locale'],_0x179392=t('Footnotes\x20definitions\x20styles'),_0x5d8a28=function(_0x6d4c15){const {t:t}=_0x6d4c15['locale'],_0x3980d0=_0x6d4c15['config']['get']('footnotes.footnotesProperties.listStyles'),_0x3fce33=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5aa883},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x1a5c9e},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x3dceee},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x1d7536},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x110498},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x43e89c},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x2c0ba5}];return _0x3980d0['map'](_0x1075e3=>{const _0x249ec1=ut(_0x1075e3);return function(_0x2dfde2,_0x2b98b3){const {locale:_0x214164}=_0x2dfde2,{label:_0xdf8c1e,icon:_0x52c427,tooltip:_0x3db75f,style:_0x12516a}=_0x2b98b3,_0x1222a5=_0x2dfde2['commands']['get']('footnotesStyle'),_0x5a23e3=new _0xba40e4(_0x214164);return _0x5a23e3['set']({'label':_0xdf8c1e,'icon':_0x52c427,'tooltip':_0x3db75f}),_0x5a23e3['bind']('isOn')['to'](_0x1222a5,'value',_0x248cfd=>_0x248cfd===_0x12516a),_0x5a23e3['bind']('isEnabled')['to'](_0x1222a5,'isEnabled'),_0x5a23e3['on']('execute',()=>{_0x2dfde2['execute']('footnotesStyle',{'value':_0x12516a}),_0x2dfde2['editing']['view']['focus']();}),_0x5a23e3;}(_0x6d4c15,_0x3fce33['find'](_0x164e75=>_0x164e75['style']===_0x249ec1));});}(_0xdcacb3),_0x4b8604=new ht(_0xdcacb3['locale'],{'styleGridAriaLabel':_0x179392,'styleButtonViews':_0x5d8a28}),_0x503c84=_0xdcacb3['commands']['get']('footnotesStart');return _0x4b8604['startIndexFieldView']['bind']('isEnabled')['to'](_0x503c84),_0x4b8604['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x503c84),_0x4b8604['on']('footnotesListStart',(_0x33ad05,_0x234f09)=>{_0xdcacb3['execute']('footnotesStart',{'value':_0x234f09['startIndex']});}),_0x4b8604['delegate']('execute')['to'](_0x5bf4e8),_0x4b8604;}({'editor':_0x4dffd3,'dropdownView':_0x30b31a});_0x30b31a['panelView']['children']['add'](_0x2eee32);}),_0x30b31a;};}(_0x513739));}['afterInit'](){const {editor:_0x4c55f4}=this,{t:t}=_0x4c55f4['locale'],_0x393356=_0x4c55f4['plugins']['get'](_0xd5b9ef),{defaultPositions:_0x100a72}=_0x53163a;_0x393356['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4c55f4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5474cd=>{let _0x526f73=_0x5474cd['getFirstPosition']()?.['parent'];return _0x526f73?.['is']('$text')&&(_0x526f73=_0x526f73['parent']),_0x526f73?.['is']('element')?_0x526f73['findAncestor'](q):null;},'positions':[_0x100a72['southArrowNorth'],_0x100a72['southArrowNorthMiddleWest'],_0x100a72['southArrowNorthMiddleEast'],_0x100a72['southArrowNorthWest'],_0x100a72['southArrowNorthEast'],_0x100a72['northArrowSouth'],_0x100a72['northArrowSouthMiddleWest'],_0x100a72['northArrowSouthMiddleEast'],_0x100a72['northArrowSouthWest'],_0x100a72['northArrowSouthEast'],_0x100a72['viewportStickyNorth']]});}},pt=class extends _0x69253f{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 _0x438571,Plugin as _0x4d567d}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x2574fe,isWidget as _0x41ea47,toWidget as _0x21b655,toWidgetEditable as _0x4d10fa}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x288ec7,KeystrokeHandler as _0x190a8c,global as _0x2b1a9f,logWarning as _0x4e6f08,uid as _0x302767}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4d82a5,PointerObserver as _0xeca757}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x19e3f6}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x277268,ButtonView as _0x66afc5,CollapsibleView as _0x7a1f93,ContextualBalloon as _0x220526,FocusCycler as _0x1a8450,LabeledFieldView as _0x1e2794,MenuBarMenuListItemButtonView as _0x36b81a,View as _0x40dbda,ViewCollection as _0x3ce59b,addKeyboardHandlingForGrid as _0xd4ce2d,createDropdown as _0x299a4e,createLabeledInputNumber as _0x8dcf5e}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x2de12a,IconListStyleArabicIndic as _0x17c8a1,IconListStyleDecimal as _0x435185,IconListStyleDecimalLeadingZero as _0x262b66,IconListStyleLowerLatin as _0x7232fa,IconListStyleLowerRoman as _0x3d79a0,IconListStyleUpperLatin as _0x18698a,IconListStyleUpperRoman as _0x6d98d8}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x558a0c,_0x5ca8e9){this['_model']=_0x558a0c,this['_elementName']=_0x5ca8e9['elementName'],this['_getElementKey']=_0x5ca8e9['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x22a80f){const _0x213de0=new Set(),_0x279b47=new Map();for(const _0x265c57 of _0x22a80f){if('insert'===_0x265c57['type']&&'$text'!==_0x265c57['name']&&_0x265c57['position']['nodeAfter']){const _0x5eb3d9=this['_model']['createRangeOn'](_0x265c57['position']['nodeAfter']);for(const _0xa0e4c5 of _0x5eb3d9['getItems']()){if(!_0xa0e4c5['is']('element',this['_elementName']))continue;const _0x500abf=this['_getElementKey'](_0xa0e4c5);_0x279b47['has'](_0x500abf)||_0x279b47['set'](_0x500abf,[]),_0x279b47['get'](_0x500abf)['push'](_0xa0e4c5);}}if('remove'===_0x265c57['type']&&_0x265c57['name']===this['_elementName']){const _0xc3b50=this['_getElementKey']({'getAttribute':_0x337c54=>_0x265c57['attributes']['get'](_0x337c54)});_0x213de0['add'](_0xc3b50);}}for(const [_0x4387fb,_0x4883f2]of this['_trackedElements'])'$graveyard'===_0x4883f2['root']['rootName']&&_0x213de0['add'](_0x4387fb);for(const _0x5278fd of _0x213de0)this['_trackedElements']['delete'](_0x5278fd);for(const [_0x2cb064,_0x1b7663]of _0x279b47)this['_trackedElements']['set'](_0x2cb064,_0x1b7663[_0x1b7663['length']-0x1]);const _0x2c64fd=new Set();for(const [_0x1d9883,_0x289ccc]of _0x279b47)_0x213de0['has'](_0x1d9883)&&(_0x2c64fd['add'](_0x289ccc[0x0]),_0x289ccc['length']>0x1?_0x279b47['set'](_0x1d9883,_0x289ccc['slice'](0x1)):_0x279b47['delete'](_0x1d9883),_0x213de0['delete'](_0x1d9883));return{'removed':Array['from'](_0x213de0),'inserted':Array['from'](_0x279b47['values']())['flat'](),'moved':Array['from'](_0x2c64fd)};}},V=class extends _0x4d567d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x12ee39){super(_0x12ee39),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3edc1b=>_0x3edc1b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x551512=>_0x551512['getAttribute']('footnoteId')});}['init'](){const {editor:_0x16cc9f}=this,{model:_0x4b3bd3,data:_0x51656c}=_0x16cc9f;_0x4b3bd3['document']['registerPostFixer'](_0x57e4f4=>{const _0x14f9c9=_0x4b3bd3['document']['differ']['getChanges']();let _0x5058ce=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x57e4f4,_0x14f9c9)&&(_0x5058ce=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x57e4f4,_0x14f9c9)&&(_0x5058ce=!0x0),this['_handleFootnoteReferencesChanges'](_0x57e4f4,_0x14f9c9)&&(_0x5058ce=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x57e4f4)&&(_0x5058ce=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x57e4f4)&&(_0x5058ce=!0x0),this['_sortFootnoteDefinitions'](_0x57e4f4)&&(_0x5058ce=!0x0),_0x5058ce;}),this['listenTo'](_0x4b3bd3['document'],'change:data',()=>{_0x4b3bd3['enqueueChange']({'isUndoable':!0x1},_0x209c52=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x209c52);});},{'priority':'low'}),this['listenTo'](_0x51656c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4e62c2){return this['_footnotes']['find'](_0x2a8003=>_0x2a8003['id']===_0x4e62c2)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5819aa){this['_footnoteFormatter']=_0x5819aa;}['_updateFootnotesCounters'](_0x3bd607,_0x44bc98=0x0){let _0x619823=!0x1;for(let _0x142562=_0x44bc98;_0x142562<this['_footnotes']['length'];_0x142562++)this['_updateFootnoteRefCounter'](_0x3bd607,_0x142562)&&(_0x619823=!0x0);return _0x619823;}['_insertEmptyFootnotesDefinitionsContainer'](_0x59c310,_0x38c515){const _0x37db3c=_0x59c310['createElement']('footnotesDefinitions',{});return _0x59c310['append'](_0x37db3c,_0x38c515),this['_footnotesDefinitions']=_0x37db3c,_0x37db3c;}['_ensureFootnotesDefinitionsContainerExists'](_0x177015){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x50e3a2=this['_footnotes'][0x0]['reference']['root'],_0x2ea87a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x177015,_0x50e3a2);for(const _0x4e81b9 of this['_footnotes'])_0x4e81b9['definition']['parent']||_0x177015['insert'](_0x4e81b9['definition'],_0x2ea87a,'end');this['_updateFootnotesCounters'](_0x177015);}['_handleFootnotesDefinitionsObjectChanges'](_0x2fa95c,_0x44e8e6){let _0x4a45b5=!0x1;const {inserted:_0x5b15a4,removed:_0x18cd34,moved:_0x269b6a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x44e8e6);if(_0x269b6a['length']&&(this['_footnotesDefinitions']=_0x269b6a[0x0]),_0x5b15a4['length']){if(_0x5b15a4['length']>0x1||this['_footnotesDefinitions']&&_0x5b15a4['some'](_0x6d9f0a=>_0x6d9f0a!==this['_footnotesDefinitions'])){const _0x56ea1c=_0x2fa95c['createElement']('footnotesDefinitions',{}),_0x31eea9=[];this['_footnotesDefinitions']&&_0x31eea9['push'](this['_footnotesDefinitions']),_0x31eea9['push'](..._0x5b15a4),_0x2fa95c['insert'](_0x56ea1c,_0x31eea9[0x0],'before');for(const _0x2085fc of _0x31eea9)_0x2fa95c['move'](_0x2fa95c['createRangeIn'](_0x2085fc),_0x2fa95c['createPositionAt'](_0x56ea1c,'end')),_0x2fa95c['remove'](_0x2085fc);this['_footnotesDefinitions']=_0x56ea1c,this['_updateFootnotesCounters'](_0x2fa95c),_0x4a45b5=!0x0;}else this['_footnotesDefinitions']=_0x5b15a4[0x0];}if(_0x18cd34['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4068e7 of this['_footnotes'])_0x2fa95c['remove'](_0x4068e7['reference']),_0x4a45b5=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4a45b5;}['_handleFootnoteDefinitionsChanges'](_0x12f644,_0x29bcc6){let _0x4e81e8=!0x1;const _0x51b37f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4ab318,moved:_0x2086e8}=this['_footnoteDefsTracker']['getChanges'](_0x29bcc6);for(const _0x26a61c of[..._0x2086e8,..._0x4ab318]){const _0x569cac=_0x26a61c['getAttribute']('footnoteId'),_0x3855b7=this['getFootnote'](_0x569cac);_0x3855b7&&(_0x3855b7['definition']=_0x26a61c),K(_0x12f644,_0x51b37f,_0x26a61c)&&(_0x4e81e8=!0x0);}return _0x4e81e8;}['_handleFootnoteReferencesChanges'](_0x2448cc,_0x1abc27){let _0x33d4e2=!0x1;const {removed:_0x49584e,inserted:_0x3d97da,moved:_0x4bf667}=this['_footnoteRefsTracker']['getChanges'](_0x1abc27);for(const _0xa54461 of _0x49584e)this['_handleRemoveFootnoteReferenceById'](_0x2448cc,_0xa54461)&&(_0x33d4e2=!0x0);for(const _0x2ae700 of _0x3d97da)this['_handleInsertedFootnoteReference'](_0x2448cc,_0x2ae700)&&(_0x33d4e2=!0x0);for(const _0x3d8196 of _0x4bf667)this['_handleMovedFootnoteReference'](_0x2448cc,_0x3d8196)&&(_0x33d4e2=!0x0);return _0x33d4e2;}['_handleFootnotesDefinitionsObjectSync'](_0x2ccce6){if(!this['_footnotesDefinitions'])return!0x1;let _0x3cee1a=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x52f0b1=[];for(const _0x203f5a of this['_footnotesDefinitions']['getChildren']()){const _0x3e2a70=_0x203f5a['getAttribute']('footnoteId');this['getFootnote'](_0x3e2a70)||(_0x52f0b1['unshift'](_0x203f5a),_0x3cee1a=!0x0);}for(const _0x5d99eb of _0x52f0b1)_0x2ccce6['remove'](_0x5d99eb);}const _0x5a22ce=new Set(),_0x107bd9=[];for(const _0x16d836 of this['_footnotesDefinitions']['getChildren']()){const _0x15b4b5=_0x16d836['getAttribute']('footnoteId');_0x5a22ce['has'](_0x15b4b5)?(_0x107bd9['unshift'](_0x16d836),_0x3cee1a=!0x0):_0x5a22ce['add'](_0x15b4b5);}for(const _0x1302f8 of _0x107bd9)_0x2ccce6['remove'](_0x1302f8);return this['_footnotesDefinitions']['childCount']||(_0x2ccce6['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3cee1a=!0x0),_0x3cee1a;}['_handleInsertedFootnoteReference'](_0x5a10bf,_0x4cd5a2){if(this['_footnotes']['find'](_0x30b763=>_0x30b763['reference']===_0x4cd5a2))return!0x1;let _0x4bc4d0=!0x1;const _0x50dba1=_0x4cd5a2['getAttribute']('footnoteId'),_0x20a17c=this['_footnotes']['findIndex'](_0x54790d=>_0x54790d['id']===_0x50dba1);-0x1!==_0x20a17c&&(_0x5a10bf['remove'](this['_footnotes'][_0x20a17c]['reference']),this['_footnotes']['splice'](_0x20a17c,0x1),_0x4bc4d0=!0x0);let _0x540cc9=this['_footnotesDefinitions']?function(_0x46fb83,_0xae2336){for(const _0x3fc2cc of _0x46fb83['getChildren']())if(_0x3fc2cc['getAttribute']('footnoteId')===_0xae2336)return _0x3fc2cc;return null;}(this['_footnotesDefinitions'],_0x50dba1):null;_0x540cc9||(_0x540cc9=_0x5a10bf['createElement']('footnoteDefinition',{'footnoteId':_0x50dba1}),this['_footnotesDefinitions']&&(_0x5a10bf['insert'](_0x540cc9,this['_footnotesDefinitions'],'end'),_0x4bc4d0=!0x0));const _0x17d094={'id':_0x50dba1,'reference':_0x4cd5a2,'definition':_0x540cc9},_0x28053f=T(this['editor']['model'],this['_footnotes'],_0x4cd5a2);this['_footnotes']['splice'](_0x28053f,0x0,_0x17d094);let _0xf550b2=_0x28053f;return-0x1!==_0x20a17c&&(_0xf550b2=Math['min'](_0x28053f,_0x20a17c)),this['_updateFootnotesCounters'](_0x5a10bf,_0xf550b2)&&(_0x4bc4d0=!0x0),_0x4bc4d0;}['_handleRemoveFootnoteReferenceById'](_0xdbe7cd,_0x5e48ff){const _0x377282=this['_footnotes']['findIndex'](_0x45dec0=>_0x45dec0['id']===_0x5e48ff);if(-0x1===_0x377282)return!0x1;let _0x19b1c0=!0x1;const _0x243556=this['_footnotes'][_0x377282];return'$graveyard'!==_0x243556['definition']['root']['rootName']&&(_0xdbe7cd['remove'](_0x243556['definition']),_0x19b1c0=!0x0),this['_footnotes']['splice'](_0x377282,0x1),this['_updateFootnotesCounters'](_0xdbe7cd,_0x377282)&&(_0x19b1c0=!0x0),_0x19b1c0;}['_handleMovedFootnoteReference'](_0x58e96b,_0x3ef682){const _0x361d3f=_0x3ef682['getAttribute']('footnoteId'),_0x465b8b=this['_footnotes']['findIndex'](_0x268c24=>_0x268c24['id']===_0x361d3f),_0x54cf38=this['_footnotes'][_0x465b8b];let _0x1164f0=!0x1;_0x54cf38['reference']=_0x3ef682,this['_footnotes']['splice'](_0x465b8b,0x1);const _0x3d13f7=T(this['editor']['model'],this['_footnotes'],_0x3ef682);return this['_footnotes']['splice'](_0x3d13f7,0x0,_0x54cf38),this['_updateFootnotesCounters'](_0x58e96b,Math['min'](_0x465b8b,_0x3d13f7))&&(_0x1164f0=!0x0),_0x1164f0;}['_updateFootnoteRefCounter'](_0x56233,_0x29eb99){if(!this['_footnotesDefinitions'])return!0x1;const _0x155d98=this['_footnotes'][_0x29eb99];let _0x1c0e83;return _0x1c0e83=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x155d98,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x29eb99+0x1}):String(_0x29eb99+0x1),_0x155d98['reference']['getAttribute']('footnoteCounter')!=_0x1c0e83&&(_0x56233['setAttribute']('footnoteCounter',_0x1c0e83,_0x155d98['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x11b469){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x12ad42,_0x316b3f){if(_0x12ad42['length']!==_0x316b3f['length'])return!0x1;for(let _0x3c1e10=0x0;_0x3c1e10<_0x12ad42['length'];_0x3c1e10++)if(_0x12ad42[_0x3c1e10]!==_0x316b3f[_0x3c1e10])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x56cf36=>_0x56cf36['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1f7b9a=>_0x1f7b9a['getAttribute']('footnoteId'))))return!0x1;let _0x4716a2=!0x1;for(let _0x89f598=0x0;_0x89f598<this['_footnotes']['length'];_0x89f598++){const _0x1cea88=this['_footnotes'][_0x89f598],_0x3dc5c7=_0x11b469['createPositionBefore'](_0x1cea88['definition']),_0x4a01c9=_0x11b469['createPositionAt'](this['_footnotesDefinitions'],_0x89f598);_0x3dc5c7['isEqual'](_0x4a01c9)||(_0x11b469['move'](_0x11b469['createRangeOn'](_0x1cea88['definition']),_0x4a01c9),_0x4716a2=!0x0);}return _0x4716a2;}['_ensureFootnotesReferencesHaveProperOrder'](_0x589f05){if(!this['_footnotes']['length'])return!0x1;const {model:_0x13cd45}=this['editor'];let _0x67215a=!0x1;for(let _0x1356ea=0x0;_0x1356ea<this['_footnotes']['length']-0x1;_0x1356ea++){const _0xbb4c17=this['_footnotes'][_0x1356ea],_0x287b24=this['_footnotes'][_0x1356ea+0x1],_0x682131=_0x13cd45['createPositionBefore'](_0xbb4c17['reference']),_0xfb469e=_0x13cd45['createPositionBefore'](_0x287b24['reference']);'after'===_0x682131['compareWith'](_0xfb469e)&&(this['_handleMovedFootnoteReference'](_0x589f05,_0xbb4c17['reference']),_0x1356ea=-0x1,_0x67215a=!0x0);}return _0x67215a;}};function K(_0x585b84,_0x1c004c,_0x4b0384){if(_0x4b0384['childCount'])return!0x1;const _0x3f5106=_0x1c004c?'paragraph':'footnoteInlineContent';return _0x585b84['insert'](_0x585b84['createElement'](_0x3f5106),_0x4b0384),!0x0;}function T(_0x22709a,_0x422e7b,_0x46027d){if(0x0===_0x422e7b['length'])return 0x0;const _0x452cd8=_0x22709a['createPositionBefore'](_0x46027d);for(let _0x4779e2=0x0;_0x4779e2<_0x422e7b['length'];_0x4779e2++){const _0x5b7b00=_0x422e7b[_0x4779e2],_0x377604=_0x22709a['createPositionBefore'](_0x5b7b00['reference']);if('before'===_0x452cd8['compareWith'](_0x377604))return _0x4779e2;}const _0x190330=_0x46027d['root'];let _0x2d76e8=-0x1;for(let _0x2fb49e=_0x422e7b['length']-0x1;_0x2fb49e>=0x0;_0x2fb49e--)if(_0x422e7b[_0x2fb49e]['reference']['root']===_0x190330){_0x2d76e8=_0x2fb49e;break;}if(-0x1!==_0x2d76e8)return _0x2d76e8+0x1;const _0x1b8653=_0x22709a['document']['getRootNames'](),_0x1a3a2b=_0x1b8653[_0x1b8653['indexOf'](_0x190330['rootName'])+0x1];if(_0x1a3a2b){for(let _0x373f97=0x0;_0x373f97<_0x422e7b['length'];_0x373f97++)if(_0x422e7b[_0x373f97]['reference']['root']['rootName']===_0x1a3a2b)return _0x373f97;}return _0x422e7b['length'];}var j=class extends _0x438571{['refresh'](){const _0x2b50f7=this['editor']['model']['document']['selection'],_0x2074fb=this['_getPositionToInsertFootnote'](_0x2b50f7);this['isEnabled']=!!_0x2074fb;}['execute'](_0x5b4970){const {editor:_0x74f620}=this,{model:_0x4b542c}=_0x74f620,{selection:_0x41c7ac}=_0x4b542c['document'],_0x3541ee=this['_getPositionToInsertFootnote'](_0x41c7ac);if(!_0x3541ee)return;const _0x5a61b0=_0x74f620['plugins']['get']('FootnotesEditing'),_0xa8c89d=_0x5b4970?.['footnoteId']??_0x302767();!function(_0x3c23b9){return'string'==typeof _0x3c23b9&&_0x3c23b9['length']>0x0&&!/\s/['test'](_0x3c23b9)&&!/^\d/['test'](_0x3c23b9);}(_0xa8c89d)?_0x4e6f08('insert-footnote-command-executed-with-invalid-id'):(_0x4b542c['change'](_0x234a14=>{const _0x89029b=_0x234a14['createElement']('footnoteRef',{'footnoteId':_0xa8c89d});_0x4b542c['insertObject'](_0x89029b,_0x3541ee,null);}),_0x5a61b0['_moveSelectionToFootnoteDefinition'](_0xa8c89d));}['_getPositionToInsertFootnote'](_0x1aa142){const {model:_0xd9ca3f}=this['editor'],{schema:_0x208fa}=_0xd9ca3f,_0x3a8b8c=_0x1aa142['getFirstRange']();for(const _0x3a85d1 of _0x3a8b8c['getItems']())if(_0x208fa['isBlock'](_0x3a85d1)||_0x208fa['isObject'](_0x3a85d1))return null;const _0x49f701=_0x3a8b8c['end'];return _0x208fa['checkChild'](_0x49f701,'footnoteRef')?_0x49f701:null;}},U=class extends _0x4d567d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x12dacb}=this;_0x12dacb['config']['define']('footnotes.multiBlock',!0x0),_0x12dacb['commands']['add']('insertFootnote',new j(_0x12dacb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x261f18){const _0x2ba7a2='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x15f5a5=0x78e28,_0x5b2702=window['Date']['now'](),_0x19bf00=_0x261f18['editor'],_0x2ae0e6=new window['Promise'](_0x378e32=>{_0x19bf00['once']('ready',_0x378e32);}),_0x25eb15={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3225e5=_0x19bf00['config']['get']('licenseKey');async function _0x114887(){let _0x37ff3f,_0x40e220=null,_0x512392=null;try{return'GPL'==_0x3225e5?'NotAllowed':(_0x37ff3f=_0x3fd017(),_0x37ff3f?(_0x37ff3f['usageEndpoint']&&(_0x512392=_0xa4bb12(_0x37ff3f['usageEndpoint'],_0x37ff3f['jti'])),await _0xf6fc2b()?_0xd09520()?_0x5b84cf()?'Expired':_0x114644()?('evaluation'==_0x37ff3f['licenseType']&&(_0x40e220=_0xfe4ce4('EvaluationLimit')),await _0x437df8()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5b84cf(){const _0x1527b7=['evaluation','trial']['includes'](_0x37ff3f['licenseType'])?_0x5b2702/0x3e8:0xe10*_0x15f5a5;return _0x37ff3f['exp']<_0x1527b7;}function _0xd09520(){const _0x4e9deb=_0x37ff3f['features'];return!!_0x4e9deb&&(!!_0x4e9deb['includes']('*')||!!_0x4e9deb['includes']('FOO'));}function _0x114644(){const _0x467367=_0x37ff3f['licensedHosts'];if(!_0x467367||0x0==_0x467367['length'])return!0x0;const {hostname:_0xa16e0d}=new URL(window['location']['href']);if(_0x467367['includes'](_0xa16e0d))return!0x0;const _0x19eaac=_0xa16e0d['split']('.');return _0x467367['filter'](_0x151ba7=>_0x151ba7['includes']('*'))['map'](_0x736c29=>_0x736c29['split']('.'))['filter'](_0x296352=>_0x296352['length']<=_0x19eaac['length'])['map'](_0x14b3a4=>Array(_0x19eaac['length']-_0x14b3a4['length'])['fill']('*'===_0x14b3a4[0x0]?'*':'')['concat'](_0x14b3a4))['some'](_0x3f7185=>_0x19eaac['every']((_0x9c0e3e,_0x475d1b)=>_0x3f7185[_0x475d1b]===_0x9c0e3e||'*'===_0x3f7185[_0x475d1b]));}function _0x437df8(){return _0x40e220&&_0x512392?new window['Promise']((_0x3a5bf5,_0x78e914)=>{_0x40e220['then'](_0x3a5bf5,_0x78e914),_0x512392['then'](_0x42f8d6=>{'Valid'!=_0x42f8d6&&_0x3a5bf5(_0x42f8d6);},_0x78e914);}):_0x40e220||_0x512392||'Valid';}}function _0xa4bb12(_0x3fcccf,_0x4c6ce2){return new window['Promise'](_0x2457d6=>{if(_0x20a1ea())return _0x2457d6('Valid');_0x3adcbd(),_0x19bf00['decorate']('_sendUsageRequest');let _0x4cf830=!0x1;const _0xba68c9=_0x302767();function _0x573126(_0x1f9c5a){return!!_0x1f9c5a&&('object'==typeof _0x1f9c5a||'function'==typeof _0x1f9c5a)&&'function'==typeof _0x1f9c5a['then']&&'function'==typeof _0x1f9c5a['catch'];}function _0x20367d(_0x91883d){_0x40e55c(_0x91883d)['then'](_0x2b6dc5=>_0x2b6dc5&&'ok'==_0x2b6dc5['status']?_0x1f907b(_0x2b1b4e(_0xba68c9+_0x4c6ce2))!=_0x2b6dc5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x210a6a=>(_0x1c2929(),_0x210a6a),()=>{const _0x3fa431=_0x52fd45();return null==_0x3fa431?(_0x1c2929(),'Valid'):_0x5b2702-_0x3fa431>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2457d6)['catch'](()=>{_0x2457d6('UsageLimit');});const _0x5c0fbf=0x36ee80;function _0x1c2929(){const _0x5cfbea='llct-'+_0x1f907b(_0x2b1b4e(_0x3fcccf)),_0x324a23=_0x5e4b39(_0x1f907b(window['Math']['ceil'](_0x5b2702/_0x5c0fbf)));window['localStorage']['setItem'](_0x5cfbea,_0x324a23);}function _0x52fd45(){const _0x1939bc='llct-'+_0x1f907b(_0x2b1b4e(_0x3fcccf)),_0x3bd1ee=window['localStorage']['getItem'](_0x1939bc);return _0x3bd1ee?window['parseInt'](_0x5e4b39(_0x3bd1ee),0x10)*_0x5c0fbf:null;}function _0x40e55c(_0x2d4170){return new window['Promise']((_0x56cd89,_0x21c5cd)=>{_0x2d4170['then'](_0x56cd89,_0x21c5cd),window['setTimeout'](_0x21c5cd,0x1d4c0);});}}_0x19bf00['on']('_sendUsageRequest',(_0xff779,_0x31daaf)=>{if(_0x31daaf[0x0]!=_0x3fcccf)return _0x2457d6('UsageLimit');_0x31daaf[0x1]={..._0x31daaf[0x1],'requestId':_0xba68c9};},{'priority':'high'}),_0x19bf00['on']('_sendUsageRequest',_0x3db82a=>{_0x573126(_0x3db82a['return'])&&(_0x4cf830=!0x0,_0x20367d(_0x3db82a['return']));},{'priority':'low'}),_0x2ae0e6['then'](()=>{_0x4cf830||_0x2457d6('UsageLimit');});});function _0x20a1ea(){return'auto'==_0x19bf00['editing']['view']['_overlayModeHint'];}function _0x3adcbd(){_0x19bf00['editing']['view']['_overlayModeHint']='auto';}}function _0xfe4ce4(_0x28fb98){const _0x36c662=[new window['Promise'](_0x1e74e4=>setTimeout(_0x1e74e4,0x93ecc)),_0x2ae0e6['then'](()=>new window['Promise'](_0x3313a8=>{let _0x507a8a=0x0;_0x19bf00['model']['on']('applyOperation',(_0x3bd7b7,_0xa1bd04)=>{_0xa1bd04[0x0]['isDocumentOperation']&&_0x507a8a++,0x5e8==_0x507a8a&&(_0x3313a8(),_0x3bd7b7['off']());});}))];return window['Promise']['race'](_0x36c662)['then'](()=>_0x28fb98);}async function _0x4e1cb7(){await _0x2ae0e6,_0x19bf00['model']['change']=_0x2247d1,_0x19bf00['model']['enqueueChange']=_0x2247d1,_0x19bf00['enableReadOnlyMode']('model');}function _0x577ca8(_0x4215fa){const _0x168dfc=_0x8d58b();_0x19bf00[_0x168dfc]='footnotesLicenseKey'+_0x4215fa,'Valid'!=_0x4215fa&&_0x4e1cb7();}function _0x8d58b(){const _0x2228c2=window['String'](window['performance']['now']())['replace']('.','');let _0x56e130='u';for(let _0x41dae0=0x0;_0x41dae0<_0x2228c2['length'];_0x41dae0+=0x2){let _0x301f10=window['parseInt'](_0x2228c2['substring'](_0x41dae0,_0x41dae0+0x2));_0x301f10>=0x3e&&(_0x301f10-=0x3e),_0x56e130+=_0x2ba7a2[_0x301f10];}return _0x56e130;}function _0x3fd017(){const _0x31088a=_0x3225e5['split']('.');if(0x3!=_0x31088a['length'])return null;return _0x191bd1(_0x31088a[0x1]);function _0x191bd1(_0x5c3b5b){const _0x125706=_0x47abb8(_0x5c3b5b);return _0x125706&&_0x2ea79c()?_0x125706:null;function _0x2ea79c(){const _0x4925fd=_0x125706['jti'],_0x535811=window['parseInt'](_0x4925fd['substring'](_0x4925fd['length']-0x8),0x10),_0x374991={..._0x125706,'jti':_0x4925fd['substring'](0x0,_0x4925fd['length']-0x8)};return delete _0x374991['vc'],_0x2b1b4e(_0x374991)==_0x535811;}}}async function _0xf6fc2b(){let _0x1c1982=!0x0;try{const [_0x59dd76,_0x3d14df,_0x3260f3]=_0x3225e5['split']('.');return _0x351f2b(_0x59dd76),await _0x4badc7(_0x59dd76,_0x3d14df,_0x3260f3),_0x1c1982;}catch{return!0x1;}function _0x351f2b(_0xfbd1c6){const _0xbcc382=_0x47abb8(_0xfbd1c6);_0xbcc382&&'ES256'==_0xbcc382['alg']||(_0x1c1982=!0x1);}async function _0x4badc7(_0x1677b1,_0x40f191,_0x5a9151){const _0x500a81=window['Uint8Array']['from'](_0x4e658f(_0x5a9151),_0x3750f9=>_0x3750f9['charCodeAt'](0x0)),_0x3c33d9=new window['TextEncoder']()['encode'](_0x1677b1+'.'+_0x40f191),_0x589954=window['crypto']['subtle'];if(!_0x589954)return;const _0x3528ae=await _0x589954['importKey']('jwk',_0x25eb15,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x589954['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3528ae,_0x500a81,_0x3c33d9)||(_0x1c1982=!0x1);}}function _0x47abb8(_0x418400){return _0x418400['startsWith']('ey')?JSON['parse'](_0x4e658f(_0x418400)):null;}function _0x4e658f(_0x57ed64){return window['atob'](_0x57ed64['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2b1b4e(_0xbdb483){let _0x2b0519=0x1505;function _0x569af1(_0x4eb59d){for(let _0x174b0c=0x0;_0x174b0c<_0x4eb59d['length'];_0x174b0c++){const _0x9473e2=_0x4eb59d['charCodeAt'](_0x174b0c);_0x2b0519=(_0x2b0519<<0x5)+_0x2b0519+_0x9473e2,_0x2b0519&=_0x2b0519;}}function _0x22345d(_0x2c622c){Array['isArray'](_0x2c622c)?_0x2c622c['forEach'](_0x22345d):_0x2c622c&&'object'==typeof _0x2c622c?Object['entries'](_0x2c622c)['sort']()['forEach'](([_0x1077d0,_0xa9d684])=>{_0x569af1(_0x1077d0),_0x22345d(_0xa9d684);}):_0x569af1(window['String'](_0x2c622c));}return _0x22345d(_0xbdb483),_0x2b0519>>>0x0;}function _0x1f907b(_0x67bd3){return _0x67bd3['toString'](0x10)['padStart'](0x8,'0');}function _0x5e4b39(_0x5ed4ef){return _0x5ed4ef['split']('')['reverse']()['join']('');}function _0x2247d1(){}_0x577ca8(await _0x114887());}(this);}['_moveSelectionToFootnoteDefinition'](_0x52db06){const {plugins:_0x186845,editing:_0x21086c,model:_0x43eaae}=this['editor'],_0x1c367b=_0x186845['get'](V)['getFootnote'](_0x52db06);return!!_0x1c367b&&(_0x43eaae['change'](_0x5776ea=>{_0x5776ea['setSelection'](_0x5776ea['createPositionAt'](_0x1c367b['definition'],'end'));}),_0x21086c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x368df8){const {plugins:_0x5b1ae0,editing:_0x5ec80b,model:_0x3d62cf}=this['editor'],_0x487090=_0x5b1ae0['get'](V)['getFootnote'](_0x368df8);return!!_0x487090&&(_0x3d62cf['change'](_0x516d61=>{_0x516d61['setSelection'](_0x487090['reference'],'on');}),_0x5ec80b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x30d743}=this['editor']['model'],_0x2cde28=this['editor']['config']['get']('footnotes.multiBlock');_0x30d743['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x30d743['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x30d743['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2cde28?_0x30d743['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x30d743['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x30d743['addChildCheck'](_0x1c1ff7=>{for(const _0x26a03c of _0x1c1ff7)if('footnoteDefinition'===_0x26a03c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3fc96b}=this,{conversion:_0x3e6839,editing:_0x94e808}=_0x3fc96b,{t:t}=_0x3fc96b['locale'];_0x3e6839['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4b9801,{writer:_0x2cd088,consumable:_0x1cb063})=>{const _0x497bba=_0x4b9801['getChild'](0x0);if(!_0x497bba||!_0x497bba['is']('element','a'))return null;const _0x317e3f=_0x497bba['getAttribute']('href')||'';if(!_0x317e3f['startsWith']('#'))return null;const _0x1ac914=_0x317e3f['replace'](/^#/,'');if(!_0x1ac914)return null;_0x1cb063['consume'](_0x497bba,{'name':!0x0,'attributes':['href']});for(const {item:_0x5e98ef}of _0x94e808['view']['createRangeIn'](_0x497bba))_0x5e98ef['is']('$textProxy')?_0x1cb063['consume'](_0x5e98ef['textNode'],{'name':!0x0}):_0x5e98ef['is']('element')&&_0x1cb063['consume'](_0x5e98ef,{'name':!0x0});return _0x2cd088['createElement']('footnoteRef',{'footnoteId':_0x1ac914});}}),_0x3e6839['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x183b33,{writer:_0x546b22})=>X(_0x183b33,_0x546b22)}),_0x3e6839['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x44ced1,{writer:_0x3fb389})=>{const _0x2f1168=_0x44ced1['getAttribute']('footnoteCounter');return _0x21b655(X(_0x44ced1,_0x3fb389),_0x3fb389,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2f1168)});}});}['_defineDefinitionsConverters'](){const {editor:_0x207cb3}=this,{t:t}=_0x207cb3['locale'],{conversion:_0x3efddc}=_0x207cb3;_0x3efddc['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3efddc['for']('upcast')['add'](_0x2b72b9=>{_0x2b72b9['on']('element:ol',(_0x3b07f4,_0x37ed3f,_0x36b4ff)=>{const _0x3bdf66=_0x37ed3f['viewItem'];if(!_0x3bdf66['hasClass']('footnotes-list')||!_0x37ed3f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x36b4ff['consumable']['consume'](_0x3bdf66,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2d4ee1,modelCursor:_0x54aff4}=_0x36b4ff['convertChildren'](_0x37ed3f['viewItem'],_0x37ed3f['modelCursor']);_0x37ed3f['modelRange']=_0x2d4ee1,_0x37ed3f['modelCursor']=_0x54aff4;}),_0x2b72b9['on']('element:hr',(_0x1df584,_0x948090,_0x542d8c)=>{const _0x17f1f2=_0x948090['viewItem'];_0x17f1f2['hasClass']('footnotes-divider')&&_0x948090['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x542d8c['consumable']['consume'](_0x17f1f2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3efddc['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e075a,{writer:_0x512c3f})=>H(_0x512c3f)}),_0x3efddc['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1405ca,{writer:_0x346bf9})=>{const _0x31309e=_0x21b655(H(_0x346bf9,{'data-footnotes-list-label':t('Footnotes')}),_0x346bf9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x346bf9['setCustomProperty']('footnotesDefinitions',!0x0,_0x31309e),_0x31309e;}});}['_defineDefinitionConverters'](){const {editor:_0x546957}=this,{conversion:_0x1aee43,locale:_0x372be6}=_0x546957,_0x1774bb=_0x546957['config']['get']('footnotes.multiBlock');_0x1aee43['for']('upcast')['add'](_0x2cb20d=>{_0x2cb20d['on']('element:li',(_0x219b52,_0x27fbf1,_0x1c075a)=>{const _0xaa2ec7=_0x27fbf1['viewItem'];if(!_0xaa2ec7['hasClass']('footnote-definition')||!_0xaa2ec7['getAttribute']('id'))return;const _0x21a210=_0xaa2ec7['parent'];if(!_0x21a210['is']('element','ol')||!_0x21a210['hasClass']('footnotes-list'))return;if(!_0x1c075a['consumable']['test'](_0xaa2ec7,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x428b76=_0x1c075a['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xaa2ec7['getAttribute']('id')});if(!_0x1c075a['safeInsert'](_0x428b76,_0x27fbf1['modelCursor']))return;_0x1c075a['consumable']['consume'](_0xaa2ec7,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5edc62=Array['from'](_0xaa2ec7['getChildren']())['find'](_0x1ca391=>_0x1ca391['is']('element')&&_0x1ca391['hasClass']('footnote-content'));for(const _0x5509fb of _0xaa2ec7['getChildren']())_0x5509fb['is']('element')&&(_0x1c075a['consumable']['consume'](_0x5509fb,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1c075a['consumable']['consume'](_0x5509fb,{'name':!0x0,'classes':'footnote-content'}));if(_0x5edc62){if(_0x1774bb)_0x1c075a['convertChildren'](_0x5edc62,_0x428b76);else{const _0x16e3ed=_0x1c075a['writer']['createElement']('footnoteInlineContent');_0x1c075a['writer']['insert'](_0x16e3ed,_0x428b76),_0x1c075a['convertChildren'](_0x5edc62,_0x16e3ed);}}_0x1c075a['updateConversionResult'](_0x428b76,_0x27fbf1);});}),_0x1aee43['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x369d64,{writer:_0x1f132a})=>z(_0x369d64,_0x1f132a,_0x372be6,{'dataPipeline':!0x0})}),_0x1aee43['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x25538d,{writer:_0x3515df})=>z(_0x25538d,_0x3515df,_0x372be6)});}['_defineBogusParagraphConverters'](){const {editor:_0x12e1bd}=this,{conversion:_0x2b1356}=_0x12e1bd;_0x12e1bd['config']['get']('footnotes.multiBlock')?(_0x2b1356['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x2b1356['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x12e1bd['model']['document'],'change:data',()=>{!function(_0x269bd9,_0x5c551d){const _0x44b791=_0x269bd9['document']['differ'],_0x20a292=new Set();for(const _0xff3654 of _0x44b791['getChanges']()){const _0x4d28bb='attribute'==_0xff3654['type']?_0xff3654['range']['start']['parent']:_0xff3654['position']['parent'];_0x4d28bb['is']('element','footnoteDefinition')&&_0x20a292['add'](_0x4d28bb);}for(const _0x480129 of _0x20a292['values']()){const _0x11ff21=Array['from'](_0x480129['getChildren']())['filter'](_0x5e2355=>B(_0x5e2355,_0x5c551d['mapper']));for(const _0xcbcfbf of _0x11ff21)_0x5c551d['reconvertItem'](_0xcbcfbf);}}(_0x12e1bd['model'],_0x12e1bd['editing']);})):(_0x2b1356['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x2b1356['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x35eef7,{writer:_0x34ca4e})=>{const _0x478d06=_0x34ca4e['createContainerElement']('span');return _0x34ca4e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x478d06),_0x478d06;}}));}['_defineKeyboardHandlers'](){const {editor:_0xe2c1d6}=this,{editing:_0x5b35ea,t:t}=_0xe2c1d6,_0x5702e4=_0xe2c1d6['model']['document']['selection'];_0xe2c1d6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xe2c1d6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5b35ea['view']['document'],'enter',(_0x20a69e,_0x177872)=>{const _0x1459e1=function(_0x13989a){const _0xfa9cc6=_0x13989a['getSelectedElement']();return _0xfa9cc6?.['is']('element','footnoteRef')?_0xfa9cc6:null;}(_0x5702e4);if(_0x1459e1){const _0x4acb8b=_0x1459e1['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4acb8b),_0x177872['preventDefault'](),_0x20a69e['stop']();}},{'context':_0x41ea47});}['_defineClickHandlers'](){const {editor:_0x28dc17}=this,{editing:_0xd7ca92}=_0x28dc17;_0x28dc17['editing']['view']['addObserver'](_0xeca757),_0x28dc17['editing']['view']['addObserver'](_0x4d82a5);let _0x33dc27=!0x1;this['listenTo'](_0xd7ca92['view']['document'],'pointerdown',(_0x4eb1e3,_0x32d866)=>{const {target:_0x2b19c8}=_0x32d866,_0x4475b2=_0xd7ca92['view']['document']['selection'];_0x33dc27=!!(_0x2b19c8?.['is']('element','a')&&_0x2b19c8['parent']?.['is']('element','sup')&&_0x2b19c8['parent']['hasClass']('footnote'))&&_0x4475b2['getSelectedElement']()===_0x2b19c8['parent'];},{'priority':'high'}),this['listenTo'](_0xd7ca92['view']['document'],'click',(_0x507c9a,_0x20ec20)=>{const {target:_0x4fc882}=_0x20ec20;if(!_0x4fc882?.['is']('element','a'))return;if(_0x4fc882['parent']?.['is']('element','sup')&&_0x4fc882['parent']['hasClass']('footnote')&&!_0x33dc27)return void _0x20ec20['preventDefault']();let _0x157d06=_0x4fc882['getAttribute']('href');if(!_0x157d06?.['startsWith']('#'))return;_0x157d06=_0x157d06['slice'](0x1);let _0x5c0fa2=!0x1;(_0x157d06['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x157d06['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x157d06))&&(_0x5c0fa2=!0x0),_0x5c0fa2&&(_0x20ec20['preventDefault'](),_0x507c9a['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x261752}={}){return(_0x884989,{writer:_0x1832b9})=>{if(!M(_0x884989))return null;if(!_0x261752)return _0x1832b9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c00dd=_0x1832b9['createContainerElement']('p');return _0x1832b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c00dd),_0x4c00dd;};}function M(_0x4dd920){const {parent:_0x35d76d}=_0x4dd920;if(!_0x35d76d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x35d76d['childCount'])return!0x1;for(const _0x1a1f95 of _0x4dd920['getAttributeKeys']())if(!_0x1a1f95['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a1f95)return!0x1;return!0x0;}function B(_0x121ca,_0x27ef3a){if(!_0x121ca['is']('element','paragraph'))return!0x1;const _0x205b46=_0x27ef3a['toViewElement'](_0x121ca);return!!_0x205b46&&M(_0x121ca)!==_0x205b46['is']('element','span');}function q(_0xcd1bd){return _0x41ea47(_0xcd1bd)&&_0xcd1bd['is']('containerElement')&&!!_0xcd1bd['getCustomProperty']('footnotesDefinitions');}function H(_0x2346d2,_0x50630e={}){const _0x232ac7=_0x2346d2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3e2a71=_0x2346d2['createContainerElement']('ol',{'class':'footnotes-list'},_0x2346d2['createSlot']());return _0x2346d2['createContainerElement']('div',{'class':'footnotes',..._0x50630e},[_0x232ac7,_0x3e2a71]);}function X(_0x1f7e79,_0x43cbd1){const _0x2710fe=_0x1f7e79['getAttribute']('footnoteId'),_0x11839a=_0x1f7e79['getAttribute']('footnoteCounter'),_0x19fb1f=_0x43cbd1['createUIElement']('a',{'href':'#'+_0x2710fe},function(_0x3235f7){const _0x2140ba=this['toDomElement'](_0x3235f7);return _0x2140ba['textContent']=_0x11839a,_0x2140ba;}),_0x4e98b2=_0x43cbd1['createContainerElement']('sup',{'id':'ref-'+_0x2710fe,'class':'footnote'},[_0x19fb1f]);return _0x4e98b2['getFillerOffset']=()=>null,_0x4e98b2;}function z(_0x564ec5,_0x108025,_0x5d0aed,{dataPipeline:_0x410d85}={}){const {t:t}=_0x5d0aed,_0x58e411=_0x564ec5['getAttribute']('footnoteId'),_0x10cd12=_0x108025['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x58e411},function(_0xc616ea){const _0xd7de6a=this['toDomElement'](_0xc616ea);return _0xd7de6a['innerText']='^',_0xd7de6a;}),_0x1bc07c=_0x410d85?_0x108025['createContainerElement']('div',{'class':'footnote-content'}):_0x4d10fa(_0x108025['createEditableElement']('div',{'class':'footnote-content'}),_0x108025,{'label':t('Footnote\x20content.')});return _0x108025['insert'](_0x108025['createPositionAt'](_0x1bc07c,0x0),_0x108025['createSlot']()),_0x108025['createContainerElement']('li',{'class':'footnote-definition','id':_0x58e411},[_0x10cd12,_0x1bc07c]);}var J=class extends _0x4d567d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x19e3f6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x10f8e6}=this,{plugins:_0x30e3f3,model:_0x21d6c7}=_0x10f8e6,_0x164369=_0x30e3f3['get'](_0x19e3f6),_0x555046=_0x30e3f3['get'](V);this['listenTo'](_0x164369,'outputTransformation',(_0x62008a,_0x4b2866)=>{const _0x2bdbae=G(_0x21d6c7['createRangeIn'](_0x4b2866['content']));if(!_0x2bdbae['length'])return;const _0x3add4e=_0x555046['getFootnotes'](),_0x21f759=_0x2bdbae['reduce']((_0xf94fc9,_0x3e20c0)=>{const _0x410ff9=_0x3add4e['find'](_0x459d6b=>_0x459d6b['id']===_0x3e20c0);if(_0x410ff9){const _0x267812=_0x10f8e6['data']['toView'](_0x410ff9['definition'],{'isClipboardPipeline':!0x0}),_0x282643=_0x10f8e6['data']['htmlProcessor']['toData'](_0x267812);_0xf94fc9[_0x410ff9['id']]=_0x282643;}return _0xf94fc9;},Object['create'](null));_0x4b2866['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x21f759));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x39749b}=this,{model:_0x571754,plugins:_0x2e7646}=_0x39749b,{view:_0x271875}=_0x39749b['editing'],_0x50e46e=_0x2e7646['get'](_0x19e3f6),_0x159c87=_0x2e7646['get'](V),_0x2e78a1=_0x39749b['config']['get']('footnotes.multiBlock');let _0x382a41=null;this['listenTo'](_0x271875['document'],'clipboardInput',(_0x4a9fb3,_0x170b58)=>{const _0x459956=_0x170b58['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x382a41=_0x459956?JSON['parse'](_0x459956):null;}),this['listenTo'](_0x50e46e,'contentInsertion',(_0x526d65,_0xef34dc)=>{const _0x55f5ca=_0xef34dc['sourceEditorId']===this['editor']['id'];_0x55f5ca&&'drop'===_0xef34dc['method']||_0x571754['change'](_0x3b38cb=>{let _0x541c1c=_0x159c87['getFootnotesDefinitionsObjectElement']();const _0x57100c=!!_0x541c1c&&Array['from'](_0x571754['document']['selection']['getSelectedBlocks']())['includes'](_0x541c1c);if(!_0x382a41&&function(_0x325b8f){for(const {item:_0x1ecc10}of _0x325b8f)if(_0x1ecc10['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x571754['createRangeIn'](_0xef34dc['content']))&&(_0x382a41=function(_0x38f800,_0x283c58){const _0x5a2b63=Q(_0x38f800,_0x283c58);if(!_0x5a2b63)return null;const _0x5a4d06=Object['create'](null);for(const _0x25bb5a of _0x5a2b63['getChildren']())_0x25bb5a['is']('element','footnoteDefinition')&&_0x25bb5a['hasAttribute']('footnoteId')&&(_0x5a4d06[_0x25bb5a['getAttribute']('footnoteId')]=_0x38f800['cloneElement'](_0x25bb5a,!0x0));return Object['keys'](_0x5a4d06)['length']?_0x5a4d06:null;}(_0x3b38cb,_0xef34dc['content'])),(_0x541c1c&&!_0x57100c||!_0x541c1c&&!_0x382a41)&&function(_0x583de3,_0x108fc9){const _0x3fe93d=[];for(const {item:_0x43f0b4}of _0x583de3['createRangeIn'](_0x108fc9))_0x43f0b4['is']('element','footnotesDefinitions')&&_0x3fe93d['push'](_0x43f0b4);for(const _0x3a090d of _0x3fe93d)_0x583de3['remove'](_0x3a090d);}(_0x3b38cb,_0xef34dc['content']),!_0x382a41)return;const {selection:_0x57128e}=_0x571754['document'],_0x4b9fd3=_0x57128e['getFirstRange']()['root'];_0x541c1c&&!_0x57100c||(_0x541c1c=Q(_0x3b38cb,_0xef34dc['content']),_0x541c1c||=_0x159c87['_insertEmptyFootnotesDefinitionsContainer'](_0x3b38cb,_0x4b9fd3));const _0x38ba68=Array['from'](_0x57128e['getRanges']())['flatMap'](G),_0x153047=function(_0x20a0e8,_0x48349e,_0x31fa0f){const _0x214e83=Object['create'](null);for(const {item:_0x2ab7c0}of _0x20a0e8['createRangeIn'](_0x48349e))if(_0x2ab7c0['is']('element','footnoteRef')){const _0x397344=_0x2ab7c0['getAttribute']('footnoteId');if(!_0x31fa0f(_0x397344))continue;_0x214e83[_0x397344]||(_0x214e83[_0x397344]=_0x302767()),_0x20a0e8['setAttribute']('footnoteId',_0x214e83[_0x397344],_0x2ab7c0);}return _0x214e83;}(_0x3b38cb,_0xef34dc['content'],_0x5df45a=>!_0x55f5ca||!!_0x159c87['getFootnote'](_0x5df45a)&&!_0x38ba68['includes'](_0x5df45a));for(const [_0x444388,_0x46ff89]of Object['entries'](_0x382a41)){const _0x3d046e=_0x153047[_0x444388]||_0x444388;let _0x47a402;if('string'!=typeof _0x46ff89)_0x47a402=_0x46ff89,_0x3d046e!==_0x444388&&_0x3b38cb['setAttribute']('footnoteId',_0x3d046e,_0x47a402);else{_0x47a402=_0x3b38cb['createElement']('footnoteDefinition',{'footnoteId':_0x3d046e});const _0x5db0a8=_0x39749b['data']['htmlProcessor']['toView'](_0x46ff89);let _0x431556;if(_0x2e78a1)_0x431556=_0x39749b['data']['toModel'](_0x5db0a8,_0x47a402);else{_0x431556=_0x3b38cb['createElement']('footnoteInlineContent');const _0x2cecdd=_0x39749b['data']['toModel'](_0x5db0a8,_0x431556);_0x3b38cb['insert'](_0x2cecdd,_0x431556);}_0x3b38cb['append'](_0x431556,_0x47a402);}_0x3b38cb['insert'](_0x47a402,_0x541c1c,'end');}_0x382a41=null;});});}};function Q(_0x5ffa18,_0x2382b){for(const {item:_0x2a4000}of _0x5ffa18['createRangeIn'](_0x2382b))if(_0x2a4000['is']('element','footnotesDefinitions'))return _0x2a4000;return null;}function G(_0x2937ef){const _0x4d41d3=new Set();for(const {item:_0x2229c3}of _0x2937ef)_0x2229c3['is']('element','footnoteRef')&&_0x4d41d3['add'](_0x2229c3['getAttribute']('footnoteId'));return Array['from'](_0x4d41d3);}var W=class extends _0x4d567d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x383e5a}=this,{componentFactory:_0x2f6e3d}=_0x383e5a['ui'];_0x2f6e3d['add']('insertFootnote',Y(_0x383e5a,_0x66afc5)),_0x2f6e3d['add']('menuBar:insertFootnote',Y(_0x383e5a,_0x36b81a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x35330e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x268f37;for(const _0x305623 in _0x35330e){const _0x2b308d=_0x305623,_0x490294=_0x35330e[_0x2b308d];if('footnotesLicenseKeyValid'==_0x490294||'footnotesLicenseKeyInvalid'==_0x490294||'footnotesLicenseKeyExpired'==_0x490294||'footnotesLicenseKeyDomainLimit'==_0x490294||'footnotesLicenseKeyNotAllowed'==_0x490294||'footnotesLicenseKeyEvaluationLimit'==_0x490294||'footnotesLicenseKeyUsageLimit'==_0x490294){delete _0x35330e[_0x2b308d],_0x268f37=_0x490294,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x268f37&&_0x35330e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x268f37&&_0x35330e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x268f37&&_0x35330e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x268f37&&_0x35330e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x268f37&&_0x35330e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x268f37&&_0x35330e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x5aaf35,_0x263228){const _0x42b376=_0x5aaf35['commands']['get']('insertFootnote');return _0x1ad685=>{const {t:t}=_0x1ad685,_0x3ed3c5=new _0x263228(_0x1ad685),_0x83031b=_0x3ed3c5 instanceof _0x36b81a;return _0x3ed3c5['bind']('isEnabled')['to'](_0x42b376,'isEnabled'),_0x3ed3c5['set']({'label':t(_0x83031b?'Footnote':'Insert\x20footnote'),'icon':_0x2de12a,'tooltip':!0x0}),_0x3ed3c5['on']('execute',()=>{_0x42b376['execute'](),_0x5aaf35['editing']['view']['focus']();}),_0x3ed3c5;};}var Z=class extends _0x4d567d{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 _0x438571{['refresh'](){const {editor:_0x4fdbdd}=this,_0x360f94=_0x4fdbdd['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x360f94,this['value']=_0x360f94?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x18def7}){const {editor:_0x430743}=this,_0x58c047=_0x430743['plugins']['get'](V),_0x192d0a=_0x58c047['getFootnotesDefinitionsObjectElement']();_0x192d0a&&ot['includes'](_0x18def7)&&_0x430743['model']['change'](_0x421b51=>{_0x421b51['setAttribute']('footnotesListStyle',_0x18def7,_0x192d0a),_0x58c047['_updateFootnotesCounters'](_0x421b51);});}},it=class extends _0x438571{['refresh'](){const {editor:_0x3e7a4d}=this,_0x5e3f94=_0x3e7a4d['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5e3f94,this['value']=_0x5e3f94?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xe13c56}){const {editor:_0x499afc}=this,_0x131d71=_0x499afc['plugins']['get'](V),_0x42f081=_0x131d71['getFootnotesDefinitionsObjectElement']();_0x42f081&&Number['isInteger'](_0xe13c56)&&_0x499afc['model']['change'](_0x1095c9=>{_0x1095c9['setAttribute']('footnotesListStart',_0xe13c56,_0x42f081),_0x131d71['_updateFootnotesCounters'](_0x1095c9);});}};function st({style:_0x5e32bd,digits:_0xd504e1,value:_0x44be37}){const _0x4f5ab4=Math['floor'](_0x44be37),_0x5588d8=function(_0x2cb11c){switch(_0x2cb11c){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};}}(_0x5e32bd);switch((_0x4f5ab4>_0x5588d8['max']||_0x4f5ab4<_0x5588d8['min'])&&(_0x5e32bd='decimal'),_0x5e32bd){case'decimal-leading-zero':return function(_0x251270,_0x5ceaac){return String(_0x251270)['padStart'](_0x5ceaac,'0');}(_0x4f5ab4,Math['max'](0x2,_0xd504e1));case'lower-alpha':case'lower-latin':return rt(_0x4f5ab4,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x4f5ab4,!0x0);case'lower-roman':return at(_0x4f5ab4,!0x1);case'upper-roman':return at(_0x4f5ab4,!0x0);case'arabic-indic':return String(_0x4f5ab4)['replace'](/\d/g,_0x56cec3=>ft[Number(_0x56cec3)]);default:return String(_0x4f5ab4);}}function rt(_0x26915b,_0xf01627){let _0x429515='',_0x3e449f=_0x26915b;for(;_0x3e449f>0x0;){const _0x48bc50=(_0x3e449f-0x1)%0x1a;_0x429515=String['fromCharCode'](0x61+_0x48bc50)+_0x429515,_0x3e449f=Math['floor']((_0x3e449f-0x1)/0x1a);}return _0xf01627?_0x429515['toUpperCase']():_0x429515;}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(_0x371bab,_0x202fac){let _0x41ad45='',_0x468426=_0x371bab;for(const {value:_0x1f0c9d,numeral:_0xa56bf8}of lt)for(;_0x468426>=_0x1f0c9d;)_0x41ad45+=_0xa56bf8,_0x468426-=_0x1f0c9d;return _0x202fac?_0x41ad45:_0x41ad45['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x4d567d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x383e16}=this;_0x383e16['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x383e16['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x383e16['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x383e16['commands']['add']('footnotesStyle',new nt(_0x383e16)),_0x383e16['commands']['add']('footnotesStart',new it(_0x383e16)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x34c22b}=this,{schema:_0xe21638}=_0x34c22b['model'];_0xe21638['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5d8a4a}=this,{conversion:_0x3fc028,model:_0x12adc2}=_0x5d8a4a,{schema:_0xa59e36}=_0x12adc2;_0x3fc028['for']('upcast')['add'](_0x1fd047=>{_0x1fd047['on']('element:ol',(_0x416b0f,_0x59ea9d,_0x3f17f3)=>{const _0xbc8886=_0x59ea9d['viewItem'],_0x53f329=_0x59ea9d['modelCursor']?.['parent'];_0xbc8886['hasClass']('footnotes-list')&&_0x53f329?.['is']('element','footnotesDefinitions')&&(function(_0x28b356,_0x576545,_0x3e7e67,_0x3fce19){if(!_0x3fce19['checkAttribute'](_0x576545,'footnotesListStart'))return;let _0x565e8e=0x1;const _0x230664=_0x3e7e67['consumable']['consume'](_0x28b356,{'attributes':'start'});if(_0x230664){const _0x214330=Number['parseInt'](_0x28b356['getAttribute']('start'),0xa);Number['isNaN'](_0x214330)||(_0x565e8e=_0x214330);}!_0x230664&&_0x576545['hasAttribute']('footnotesListStart')||_0x3e7e67['writer']['setAttribute']('footnotesListStart',_0x565e8e,_0x576545);}(_0xbc8886,_0x53f329,_0x3f17f3,_0xa59e36),function(_0x242ea5,_0x1ca0a6,_0x2e1515,_0x270cb7){if(!_0x270cb7['checkAttribute'](_0x1ca0a6,'footnotesListStyle'))return;let _0x19b2e3='decimal',_0x447401=!0x1;if(_0x2e1515['consumable']['consume'](_0x242ea5,{'attributes':'type'})){const _0xfd721={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x242ea5['getAttribute']('type')];_0xfd721&&(_0x19b2e3=_0xfd721),_0x447401=!0x0;}if(_0x2e1515['consumable']['consume'](_0x242ea5,{'styles':'list-style-type'})){const _0x58a83a=ut(_0x242ea5['getStyle']('list-style-type'));_0x58a83a&&(_0x19b2e3=_0x58a83a),_0x447401=!0x0;}!_0x447401&&_0x1ca0a6['hasAttribute']('footnotesListStyle')||_0x2e1515['writer']['setAttribute']('footnotesListStyle',_0x19b2e3,_0x1ca0a6);}(_0xbc8886,_0x53f329,_0x3f17f3,_0xa59e36));});}),_0x3fc028['for']('downcast')['add'](_0x74226a=>{_0x74226a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x530b00,_0x174cc6,_0x1fe848)=>{if(!_0x1fe848['consumable']['consume'](_0x174cc6['item'],_0x530b00['name']))return;const _0x2f3344=dt(_0x174cc6['item'],_0x1fe848['mapper']),{attributeNewValue:_0x133ff3}=_0x174cc6;null==_0x133ff3||0x1===_0x133ff3?_0x1fe848['writer']['removeAttribute']('start',_0x2f3344):_0x1fe848['writer']['setAttribute']('start',String(_0x133ff3),_0x2f3344);}),_0x74226a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3cbf78,_0xc0a02b,_0x24e224)=>{if(!_0x24e224['consumable']['consume'](_0xc0a02b['item'],_0x3cbf78['name']))return;const _0x1ab13d=dt(_0xc0a02b['item'],_0x24e224['mapper']),{attributeNewValue:_0x130408}=_0xc0a02b;_0x130408&&'decimal'!==_0x130408?_0x24e224['writer']['setStyle']('list-style-type',_0x130408,_0x1ab13d):_0x24e224['writer']['removeStyle']('list-style-type',_0x1ab13d);});});}['_definePostfixer'](){const {editor:_0x47ae5f}=this,{model:_0x27b742}=_0x47ae5f,_0x4d3114=_0x47ae5f['plugins']['get'](V),_0x3cf2d9=this['_getDefaultListStyle'](),_0x46865e=this['_getDefaultStartIndex']();_0x27b742['document']['registerPostFixer'](_0x107de7=>{const _0x372806=_0x27b742['document']['differ']['getChanges']();let _0x38f77c=!0x1;for(const _0x5d1306 of _0x372806){if('insert'!==_0x5d1306['type']||'$text'===_0x5d1306['name'])continue;const _0x574a25=_0x27b742['createRangeOn'](_0x5d1306['position']['nodeAfter']);for(const _0x2cd153 of _0x574a25['getItems']())_0x2cd153['is']('element','footnotesDefinitions')&&(!_0x2cd153['hasAttribute']('footnotesListStart')&&_0x27b742['schema']['checkAttribute'](_0x2cd153,'footnotesListStart')&&(_0x107de7['setAttribute']('footnotesListStart',_0x46865e,_0x2cd153),_0x38f77c=!0x0),!_0x2cd153['hasAttribute']('footnotesListStyle')&&_0x27b742['schema']['checkAttribute'](_0x2cd153,'footnotesListStyle')&&(_0x107de7['setAttribute']('footnotesListStyle',_0x3cf2d9,_0x2cd153),_0x38f77c=!0x0));}return _0x38f77c&&_0x4d3114['_updateFootnotesCounters'](_0x107de7),_0x38f77c;});}['_defineFormatter'](){const {editor:_0x2cf1c4}=this;_0x2cf1c4['plugins']['get'](V)['setFootnoteFormatter'](_0x170e6a=>this['_formatFootnoteListValue'](_0x170e6a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x184118,value:_0x20647f,digits:_0x5481da}){const _0x26e1b9=_0x184118['getAttribute']('footnotesListStyle');return st({'value':_0x20647f+(_0x184118['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x26e1b9,'digits':_0x5481da});}};function ut(_0x4f4c24){if('string'==typeof _0x4f4c24){const _0x350b1d=et[_0x4f4c24];if(_0x350b1d)return _0x350b1d;if(ot['includes'](_0x4f4c24))return _0x4f4c24;}return null;}function dt(_0xd9d1e6,_0x253300){const _0x349f91=_0x253300['toViewElement'](_0xd9d1e6);return Array['from'](_0x349f91['getChildren']())['find'](_0x3deee1=>_0x3deee1['is']('element','ol')&&_0x3deee1['hasClass']('footnotes-list'));}var ht=class extends _0x40dbda{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x288ec7();['keystrokes']=new _0x190a8c();['focusables']=new _0x3ce59b();['focusCycler'];constructor(_0x161bf5,{styleButtonViews:_0x28291c,styleGridAriaLabel:_0x201f91}){super(_0x161bf5),(this['focusCycler']=new _0x1a8450({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x28291c,_0x201f91),[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 _0x6112db of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x6112db['element']);_0xd4ce2d({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x2b1a9f['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 _0x35e56a=_0x30da45=>_0x30da45['stopPropagation']();this['keystrokes']['set']('arrowright',_0x35e56a),this['keystrokes']['set']('arrowleft',_0x35e56a),this['keystrokes']['set']('arrowup',_0x35e56a),this['keystrokes']['set']('arrowdown',_0x35e56a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5bfd79,_0x97bd3a){const _0x54c2e2=new _0x40dbda(this['locale']);return _0x54c2e2['children']=_0x54c2e2['createCollection'](),_0x54c2e2['children']['addMany'](_0x5bfd79),_0x54c2e2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x97bd3a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x54c2e2['children']}),_0x54c2e2['children']['delegate']('execute')['to'](this),_0x54c2e2['focus']=function(){for(const _0x501a67 of this['children'])if(_0x501a67 instanceof _0x66afc5&&_0x501a67['isOn'])return void _0x501a67['focus']();this['children']['first']['focus']();},_0x54c2e2['focusTracker']=new _0x288ec7(),_0x54c2e2['keystrokes']=new _0x190a8c(),_0x54c2e2['render'](),_0x54c2e2['keystrokes']['listenTo'](_0x54c2e2['element']),this['children']['add'](_0x54c2e2),_0x54c2e2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x191a49=this['_createStartIndexPropertyView'](),_0x49649f=[_0x191a49],_0x2f9c40=new _0x7a1f93(this['locale'],_0x49649f);return _0x2f9c40['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2f9c40['buttonView']['bind']('isEnabled')['toMany'](_0x49649f,'isEnabled',(..._0x420a29)=>_0x420a29['some'](_0x5cfd53=>_0x5cfd53)),_0x2f9c40['buttonView']['on']('change:isEnabled',(_0x5228ca,_0x485c1e,_0x272536)=>{_0x272536||(_0x2f9c40['isCollapsed']=!0x0);}),this['children']['add'](_0x2f9c40),[_0x191a49,_0x2f9c40];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x31a4de=new _0x1e2794(this['locale'],_0x8dcf5e);return _0x31a4de['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x31a4de['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x31a4de['fieldView']['on']('input',()=>{const _0xa5e641=_0x31a4de['fieldView']['element'],_0x2b2a21=_0xa5e641['valueAsNumber'];Number['isNaN'](_0x2b2a21)?_0x31a4de['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xa5e641['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2b2a21}):_0x31a4de['errorText']=t(_0x2b2a21<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x31a4de;}},mt=class extends _0x4d567d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x220526,_0x2574fe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x231f0a}=this,{componentFactory:_0x5a3cbd}=_0x231f0a['ui'];_0x231f0a['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5a3cbd['add']('footnotesStyle',function(_0x2dd458){return _0x3100f4=>{const {t:t}=_0x3100f4,_0x231400=_0x2dd458['commands']['get']('footnotesStyle'),_0xda175b=_0x299a4e(_0x3100f4),{buttonView:_0x1ba532}=_0xda175b;return _0xda175b['class']='ck-footnotes-styles-dropdown',_0xda175b['bind']('isEnabled')['to'](_0x231400,'isEnabled'),_0x1ba532['set']({'label':t('Footnotes\x20style'),'icon':_0x2de12a,'tooltip':!0x0}),_0xda175b['once']('change:isOpen',()=>{const _0x53713b=function({editor:_0x4329aa,dropdownView:_0x363d3f}){const {t:t}=_0x4329aa['locale'],_0x2a8c25=t('Footnotes\x20definitions\x20styles'),_0x469203=function(_0x1fa9e2){const {t:t}=_0x1fa9e2['locale'],_0x220388=_0x1fa9e2['config']['get']('footnotes.footnotesProperties.listStyles'),_0x509b2e=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x435185},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x262b66},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x3d79a0},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x6d98d8},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x7232fa},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x18698a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x17c8a1}];return _0x220388['map'](_0x29fc72=>{const _0x44115d=ut(_0x29fc72);return function(_0x3b1493,_0x3866da){const {locale:_0x3a87b3}=_0x3b1493,{label:_0x4cd34,icon:_0x4ffdae,tooltip:_0x380417,style:_0x2f97b5}=_0x3866da,_0x420dff=_0x3b1493['commands']['get']('footnotesStyle'),_0x57da56=new _0x66afc5(_0x3a87b3);return _0x57da56['set']({'label':_0x4cd34,'icon':_0x4ffdae,'tooltip':_0x380417}),_0x57da56['bind']('isOn')['to'](_0x420dff,'value',_0x5a9ca0=>_0x5a9ca0===_0x2f97b5),_0x57da56['bind']('isEnabled')['to'](_0x420dff,'isEnabled'),_0x57da56['on']('execute',()=>{_0x3b1493['execute']('footnotesStyle',{'value':_0x2f97b5}),_0x3b1493['editing']['view']['focus']();}),_0x57da56;}(_0x1fa9e2,_0x509b2e['find'](_0x4b8c3f=>_0x4b8c3f['style']===_0x44115d));});}(_0x4329aa),_0x272c2a=new ht(_0x4329aa['locale'],{'styleGridAriaLabel':_0x2a8c25,'styleButtonViews':_0x469203}),_0x17f544=_0x4329aa['commands']['get']('footnotesStart');return _0x272c2a['startIndexFieldView']['bind']('isEnabled')['to'](_0x17f544),_0x272c2a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x17f544),_0x272c2a['on']('footnotesListStart',(_0x26f418,_0x68f593)=>{_0x4329aa['execute']('footnotesStart',{'value':_0x68f593['startIndex']});}),_0x272c2a['delegate']('execute')['to'](_0x363d3f),_0x272c2a;}({'editor':_0x2dd458,'dropdownView':_0xda175b});_0xda175b['panelView']['children']['add'](_0x53713b);}),_0xda175b;};}(_0x231f0a));}['afterInit'](){const {editor:_0xa969b3}=this,{t:t}=_0xa969b3['locale'],_0x5bbb29=_0xa969b3['plugins']['get'](_0x2574fe),{defaultPositions:_0x36500b}=_0x277268;_0x5bbb29['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa969b3['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x15b12c=>{let _0x414c7e=_0x15b12c['getFirstPosition']()?.['parent'];return _0x414c7e?.['is']('$text')&&(_0x414c7e=_0x414c7e['parent']),_0x414c7e?.['is']('element')?_0x414c7e['findAncestor'](q):null;},'positions':[_0x36500b['southArrowNorth'],_0x36500b['southArrowNorthMiddleWest'],_0x36500b['southArrowNorthMiddleEast'],_0x36500b['southArrowNorthWest'],_0x36500b['southArrowNorthEast'],_0x36500b['northArrowSouth'],_0x36500b['northArrowSouthMiddleWest'],_0x36500b['northArrowSouthMiddleEast'],_0x36500b['northArrowSouthWest'],_0x36500b['northArrowSouthEast'],_0x36500b['viewportStickyNorth']]});}},pt=class extends _0x4d567d{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':_0x4af94d=>0x1!=_0x4af94d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6d31e=>{const {af:{dictionary:_0x321b35,getPluralForm:_0x4ae638}}={'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':_0x2db487=>0x1!=_0x2db487}};_0x6d31e['af']||={'dictionary':{},'getPluralForm':null},_0x6d31e['af']['dictionary']=Object['assign'](_0x6d31e['af']['dictionary'],_0x321b35),_0x6d31e['af']['getPluralForm']=_0x4ae638;})(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':_0x55c4a6=>0x0==_0x55c4a6?0x0:0x1==_0x55c4a6?0x1:0x2==_0x55c4a6?0x2:_0x55c4a6%0x64>=0x3&&_0x55c4a6%0x64<=0xa?0x3:_0x55c4a6%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc5a38c=>{const {ar:{dictionary:_0x11cbe8,getPluralForm:_0x448898}}={'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':_0x212a2b=>0x0==_0x212a2b?0x0:0x1==_0x212a2b?0x1:0x2==_0x212a2b?0x2:_0x212a2b%0x64>=0x3&&_0x212a2b%0x64<=0xa?0x3:_0x212a2b%0x64>=0xb?0x4:0x5}};_0xc5a38c['ar']||={'dictionary':{},'getPluralForm':null},_0xc5a38c['ar']['dictionary']=Object['assign'](_0xc5a38c['ar']['dictionary'],_0x11cbe8),_0xc5a38c['ar']['getPluralForm']=_0x448898;})(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':_0x2df6a2=>0x1!=_0x2df6a2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x48a5d4=>{const {ast:{dictionary:_0x481499,getPluralForm:_0x505e0b}}={'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':_0x5cb001=>0x1!=_0x5cb001}};_0x48a5d4['ast']||={'dictionary':{},'getPluralForm':null},_0x48a5d4['ast']['dictionary']=Object['assign'](_0x48a5d4['ast']['dictionary'],_0x481499),_0x48a5d4['ast']['getPluralForm']=_0x505e0b;})(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':_0x33119e=>0x1!=_0x33119e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ffc99=>{const {az:{dictionary:_0x255741,getPluralForm:_0x42f5d8}}={'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':_0x39458c=>0x1!=_0x39458c}};_0x2ffc99['az']||={'dictionary':{},'getPluralForm':null},_0x2ffc99['az']['dictionary']=Object['assign'](_0x2ffc99['az']['dictionary'],_0x255741),_0x2ffc99['az']['getPluralForm']=_0x42f5d8;})(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':_0x2f2dc9=>_0x2f2dc9%0xa==0x1&&_0x2f2dc9%0x64!=0xb?0x0:_0x2f2dc9%0xa>=0x2&&_0x2f2dc9%0xa<=0x4&&(_0x2f2dc9%0x64<0xa||_0x2f2dc9%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47124c=>{const {be:{dictionary:_0x2dbee0,getPluralForm:_0x563637}}={'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':_0x53a170=>_0x53a170%0xa==0x1&&_0x53a170%0x64!=0xb?0x0:_0x53a170%0xa>=0x2&&_0x53a170%0xa<=0x4&&(_0x53a170%0x64<0xa||_0x53a170%0x64>=0x14)?0x1:0x2}};_0x47124c['be']||={'dictionary':{},'getPluralForm':null},_0x47124c['be']['dictionary']=Object['assign'](_0x47124c['be']['dictionary'],_0x2dbee0),_0x47124c['be']['getPluralForm']=_0x563637;})(window['CKEDITOR_TRANSLATIONS']||={});
|