@ckeditor/ckeditor5-footnotes 48.2.0-alpha.4 → 48.2.0-alpha.6
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{Plugin as _0x37efa5,Command as _0x858737}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4a425c,isWidget as _0x466769,toWidgetEditable as _0x54068d,WidgetToolbarRepository as _0x556a29}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3af4a9,logWarning as _0x1c7a35,FocusTracker as _0x3c0be7,KeystrokeHandler as _0x42ba0c,global as _0x575e46}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4bdbcb,ClickObserver as _0x4ed162}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3e5cad}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x222479,ButtonView as _0x3d4830,View as _0x1215a8,ViewCollection as _0x3a5df5,FocusCycler as _0x374ca2,addKeyboardHandlingForGrid as _0x128ca0,CollapsibleView as _0x5ca684,LabeledFieldView as _0x51e597,createLabeledInputNumber as _0x167831,ContextualBalloon as _0x1ccec8,BalloonPanelView as _0x2ba86c,createDropdown as _0x2fda6e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2fde97,IconListStyleDecimal as _0x44f21c,IconListStyleDecimalLeadingZero as _0x5c188b,IconListStyleLowerRoman as _0x289a9f,IconListStyleUpperRoman as _0x3fda92,IconListStyleLowerLatin as _0x54525b,IconListStyleUpperLatin as _0x323d3c,IconListStyleArabicIndic as _0x37b442}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x36b1b4,_0x346718){this['_model']=_0x36b1b4,this['_elementName']=_0x346718['elementName'],this['_getElementKey']=_0x346718['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3e51ef){const _0x2658a6=new Set(),_0x43b0ee=new Map();for(const _0xbf8103 of _0x3e51ef){if('insert'===_0xbf8103['type']&&'$text'!==_0xbf8103['name']&&_0xbf8103['position']['nodeAfter']){const _0x1cbd23=this['_model']['createRangeOn'](_0xbf8103['position']['nodeAfter']);for(const _0x589efa of _0x1cbd23['getItems']()){if(!_0x589efa['is']('element',this['_elementName']))continue;const _0x6acb4a=this['_getElementKey'](_0x589efa);_0x43b0ee['has'](_0x6acb4a)||_0x43b0ee['set'](_0x6acb4a,[]),_0x43b0ee['get'](_0x6acb4a)['push'](_0x589efa);}}if('remove'===_0xbf8103['type']&&_0xbf8103['name']===this['_elementName']){const _0x1295dc=this['_getElementKey']({'getAttribute':_0x2b8789=>_0xbf8103['attributes']['get'](_0x2b8789)});_0x2658a6['add'](_0x1295dc);}}for(const [_0x556c05,_0xbd0480]of this['_trackedElements'])'$graveyard'===_0xbd0480['root']['rootName']&&_0x2658a6['add'](_0x556c05);for(const _0x1eb5f6 of _0x2658a6)this['_trackedElements']['delete'](_0x1eb5f6);for(const [_0x4b914d,_0x207632]of _0x43b0ee)this['_trackedElements']['set'](_0x4b914d,_0x207632[_0x207632['length']-0x1]);const _0x2a483f=new Set();for(const [_0x16ba17,_0x5e6218]of _0x43b0ee)_0x2658a6['has'](_0x16ba17)&&(_0x2a483f['add'](_0x5e6218[0x0]),_0x5e6218['length']>0x1?_0x43b0ee['set'](_0x16ba17,_0x5e6218['slice'](0x1)):_0x43b0ee['delete'](_0x16ba17),_0x2658a6['delete'](_0x16ba17));return{'removed':Array['from'](_0x2658a6),'inserted':Array['from'](_0x43b0ee['values']())['flat'](),'moved':Array['from'](_0x2a483f)};}}class FootnotesTracker extends _0x37efa5{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x36703c){super(_0x36703c),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2912a4=>_0x2912a4['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x596fdc=>_0x596fdc['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4173d7}=this,{model:_0x359606,data:_0x2bd460}=_0x4173d7;_0x359606['document']['registerPostFixer'](_0x5f2b69=>{const _0xd3ab6b=_0x359606['document']['differ']['getChanges']();let _0x412c13=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5f2b69,_0xd3ab6b)&&(_0x412c13=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5f2b69,_0xd3ab6b)&&(_0x412c13=!0x0),this['_handleFootnoteReferencesChanges'](_0x5f2b69,_0xd3ab6b)&&(_0x412c13=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5f2b69)&&(_0x412c13=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5f2b69)&&(_0x412c13=!0x0),this['_sortFootnoteDefinitions'](_0x5f2b69)&&(_0x412c13=!0x0),_0x412c13;}),this['listenTo'](_0x359606['document'],'change:data',()=>{_0x359606['enqueueChange']({'isUndoable':!0x1},_0x1721b2=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1721b2);});},{'priority':'low'}),this['listenTo'](_0x2bd460,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x24343c){return this['_footnotes']['find'](_0x847162=>_0x847162['id']===_0x24343c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x42f46f){this['_footnoteFormatter']=_0x42f46f;}['_updateFootnotesCounters'](_0x2f9f5d,_0x379ec2=0x0){let _0x3f68fc=!0x1;for(let _0x384778=_0x379ec2;_0x384778<this['_footnotes']['length'];_0x384778++)this['_updateFootnoteRefCounter'](_0x2f9f5d,_0x384778)&&(_0x3f68fc=!0x0);return _0x3f68fc;}['_insertEmptyFootnotesDefinitionsContainer'](_0x30c584,_0x1a4d39){const _0x116c56=_0x30c584['createElement']('footnotesDefinitions',{});return _0x30c584['append'](_0x116c56,_0x1a4d39),this['_footnotesDefinitions']=_0x116c56,_0x116c56;}['_ensureFootnotesDefinitionsContainerExists'](_0xea9a9b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x351af6=this['_footnotes'][0x0]['reference']['root'],_0x542ae2=this['_insertEmptyFootnotesDefinitionsContainer'](_0xea9a9b,_0x351af6);for(const _0x5c2ae4 of this['_footnotes'])_0x5c2ae4['definition']['parent']||_0xea9a9b['insert'](_0x5c2ae4['definition'],_0x542ae2,'end');this['_updateFootnotesCounters'](_0xea9a9b);}['_handleFootnotesDefinitionsObjectChanges'](_0x38b68e,_0x4d99b8){let _0x48e696=!0x1;const {inserted:_0xdad88f,removed:_0x6f25d1,moved:_0x4430bf}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4d99b8);if(_0x4430bf['length']&&(this['_footnotesDefinitions']=_0x4430bf[0x0]),_0xdad88f['length']){if(_0xdad88f['length']>0x1||this['_footnotesDefinitions']&&_0xdad88f['some'](_0xe1c7e9=>_0xe1c7e9!==this['_footnotesDefinitions'])){const _0x7c6f0e=_0x38b68e['createElement']('footnotesDefinitions',{}),_0x560003=[];this['_footnotesDefinitions']&&_0x560003['push'](this['_footnotesDefinitions']),_0x560003['push'](..._0xdad88f),_0x38b68e['insert'](_0x7c6f0e,_0x560003[0x0],'before');for(const _0x3e3124 of _0x560003)_0x38b68e['move'](_0x38b68e['createRangeIn'](_0x3e3124),_0x38b68e['createPositionAt'](_0x7c6f0e,'end')),_0x38b68e['remove'](_0x3e3124);this['_footnotesDefinitions']=_0x7c6f0e,this['_updateFootnotesCounters'](_0x38b68e),_0x48e696=!0x0;}else this['_footnotesDefinitions']=_0xdad88f[0x0];}if(_0x6f25d1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x109e0e of this['_footnotes'])_0x38b68e['remove'](_0x109e0e['reference']),_0x48e696=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x48e696;}['_handleFootnoteDefinitionsChanges'](_0x223031,_0x5052cb){let _0x5d8167=!0x1;const _0xaf361e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x324b18,moved:_0xd3ce45}=this['_footnoteDefsTracker']['getChanges'](_0x5052cb);for(const _0x4c8371 of[..._0xd3ce45,..._0x324b18]){const _0x23833f=_0x4c8371['getAttribute']('footnoteId'),_0x15075e=this['getFootnote'](_0x23833f);_0x15075e&&(_0x15075e['definition']=_0x4c8371),N(_0x223031,_0xaf361e,_0x4c8371)&&(_0x5d8167=!0x0);}return _0x5d8167;}['_handleFootnoteReferencesChanges'](_0x4ea622,_0xeb06db){let _0x1db304=!0x1;const {removed:_0x1b60b0,inserted:_0x25d31f,moved:_0x1cba17}=this['_footnoteRefsTracker']['getChanges'](_0xeb06db);for(const _0x8aef0c of _0x1b60b0)this['_handleRemoveFootnoteReferenceById'](_0x4ea622,_0x8aef0c)&&(_0x1db304=!0x0);for(const _0x6cfc68 of _0x25d31f)this['_handleInsertedFootnoteReference'](_0x4ea622,_0x6cfc68)&&(_0x1db304=!0x0);for(const _0xa51781 of _0x1cba17)this['_handleMovedFootnoteReference'](_0x4ea622,_0xa51781)&&(_0x1db304=!0x0);return _0x1db304;}['_handleFootnotesDefinitionsObjectSync'](_0x2a9490){if(!this['_footnotesDefinitions'])return!0x1;let _0x68e349=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x39ad40=[];for(const _0x383223 of this['_footnotesDefinitions']['getChildren']()){const _0x260d9c=_0x383223['getAttribute']('footnoteId');this['getFootnote'](_0x260d9c)||(_0x39ad40['unshift'](_0x383223),_0x68e349=!0x0);}for(const _0x48c9be of _0x39ad40)_0x2a9490['remove'](_0x48c9be);}const _0x1d93e9=new Set(),_0x52d283=[];for(const _0xab3e77 of this['_footnotesDefinitions']['getChildren']()){const _0x4d587b=_0xab3e77['getAttribute']('footnoteId');_0x1d93e9['has'](_0x4d587b)?(_0x52d283['unshift'](_0xab3e77),_0x68e349=!0x0):_0x1d93e9['add'](_0x4d587b);}for(const _0x420ea6 of _0x52d283)_0x2a9490['remove'](_0x420ea6);return this['_footnotesDefinitions']['childCount']||(_0x2a9490['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x68e349=!0x0),_0x68e349;}['_handleInsertedFootnoteReference'](_0x291d7a,_0x5221d3){if(this['_footnotes']['find'](_0x354db8=>_0x354db8['reference']===_0x5221d3))return!0x1;let _0x19b08f=!0x1;const _0x5bc566=_0x5221d3['getAttribute']('footnoteId'),_0x29bcf6=this['_footnotes']['findIndex'](_0x1be5b2=>_0x1be5b2['id']===_0x5bc566);-0x1!==_0x29bcf6&&(_0x291d7a['remove'](this['_footnotes'][_0x29bcf6]['reference']),this['_footnotes']['splice'](_0x29bcf6,0x1),_0x19b08f=!0x0);let _0x45ef03=this['_footnotesDefinitions']?function(_0x973c56,_0x4d5631){for(const _0x4a1150 of _0x973c56['getChildren']())if(_0x4a1150['getAttribute']('footnoteId')===_0x4d5631)return _0x4a1150;return null;}(this['_footnotesDefinitions'],_0x5bc566):null;_0x45ef03||(_0x45ef03=_0x291d7a['createElement']('footnoteDefinition',{'footnoteId':_0x5bc566}),this['_footnotesDefinitions']&&(_0x291d7a['insert'](_0x45ef03,this['_footnotesDefinitions'],'end'),_0x19b08f=!0x0));const _0x5dcce1={'id':_0x5bc566,'reference':_0x5221d3,'definition':_0x45ef03},_0x19c9dd=R(this['editor']['model'],this['_footnotes'],_0x5221d3);this['_footnotes']['splice'](_0x19c9dd,0x0,_0x5dcce1);let _0x3707c3=_0x19c9dd;return-0x1!==_0x29bcf6&&(_0x3707c3=Math['min'](_0x19c9dd,_0x29bcf6)),this['_updateFootnotesCounters'](_0x291d7a,_0x3707c3)&&(_0x19b08f=!0x0),_0x19b08f;}['_handleRemoveFootnoteReferenceById'](_0x15a1d4,_0x340a6b){const _0x1c78ad=this['_footnotes']['findIndex'](_0x2dcde8=>_0x2dcde8['id']===_0x340a6b);if(-0x1===_0x1c78ad)return!0x1;let _0x477c59=!0x1;const _0x47a77a=this['_footnotes'][_0x1c78ad];return'$graveyard'!==_0x47a77a['definition']['root']['rootName']&&(_0x15a1d4['remove'](_0x47a77a['definition']),_0x477c59=!0x0),this['_footnotes']['splice'](_0x1c78ad,0x1),this['_updateFootnotesCounters'](_0x15a1d4,_0x1c78ad)&&(_0x477c59=!0x0),_0x477c59;}['_handleMovedFootnoteReference'](_0x29d3e4,_0x47d949){const _0x1860e9=_0x47d949['getAttribute']('footnoteId'),_0x131316=this['_footnotes']['findIndex'](_0x37dbad=>_0x37dbad['id']===_0x1860e9),_0x379d4a=this['_footnotes'][_0x131316];let _0xe94c76=!0x1;_0x379d4a['reference']=_0x47d949,this['_footnotes']['splice'](_0x131316,0x1);const _0x548b3a=R(this['editor']['model'],this['_footnotes'],_0x47d949);return this['_footnotes']['splice'](_0x548b3a,0x0,_0x379d4a),this['_updateFootnotesCounters'](_0x29d3e4,Math['min'](_0x131316,_0x548b3a))&&(_0xe94c76=!0x0),_0xe94c76;}['_updateFootnoteRefCounter'](_0x41576c,_0x54972c){if(!this['_footnotesDefinitions'])return!0x1;const _0x3e04d8=this['_footnotes'][_0x54972c];let _0x2c1405;return _0x2c1405=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3e04d8,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x54972c+0x1}):String(_0x54972c+0x1),_0x3e04d8['reference']['getAttribute']('footnoteCounter')!=_0x2c1405&&(_0x41576c['setAttribute']('footnoteCounter',_0x2c1405,_0x3e04d8['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3a23fe){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x46d341,_0x4037b4){if(_0x46d341['length']!==_0x4037b4['length'])return!0x1;for(let _0x1f30c2=0x0;_0x1f30c2<_0x46d341['length'];_0x1f30c2++)if(_0x46d341[_0x1f30c2]!==_0x4037b4[_0x1f30c2])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x20c9e2=>_0x20c9e2['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xa4850=>_0xa4850['getAttribute']('footnoteId'))))return!0x1;let _0x5cd5c8=!0x1;for(let _0x52be03=0x0;_0x52be03<this['_footnotes']['length'];_0x52be03++){const _0x44e39e=this['_footnotes'][_0x52be03],_0x4d10b3=_0x3a23fe['createPositionBefore'](_0x44e39e['definition']),_0x4919f9=_0x3a23fe['createPositionAt'](this['_footnotesDefinitions'],_0x52be03);_0x4d10b3['isEqual'](_0x4919f9)||(_0x3a23fe['move'](_0x3a23fe['createRangeOn'](_0x44e39e['definition']),_0x4919f9),_0x5cd5c8=!0x0);}return _0x5cd5c8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x28cec7){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1814e8}=this['editor'];let _0x4b2e72=!0x1;for(let _0x5ccdbf=0x0;_0x5ccdbf<this['_footnotes']['length']-0x1;_0x5ccdbf++){const _0x105ed7=this['_footnotes'][_0x5ccdbf],_0x2ffab8=this['_footnotes'][_0x5ccdbf+0x1],_0x252a19=_0x1814e8['createPositionBefore'](_0x105ed7['reference']),_0x31fa01=_0x1814e8['createPositionBefore'](_0x2ffab8['reference']);'after'===_0x252a19['compareWith'](_0x31fa01)&&(this['_handleMovedFootnoteReference'](_0x28cec7,_0x105ed7['reference']),_0x5ccdbf=-0x1,_0x4b2e72=!0x0);}return _0x4b2e72;}}function N(_0x3ede86,_0x1cd588,_0x44855d){if(_0x44855d['childCount'])return!0x1;const _0x371712=_0x1cd588?'paragraph':'footnoteInlineContent';return _0x3ede86['insert'](_0x3ede86['createElement'](_0x371712),_0x44855d),!0x0;}function R(_0x3ced6f,_0x50f61a,_0x525ddf){if(0x0===_0x50f61a['length'])return 0x0;const _0xf07bd0=_0x3ced6f['createPositionBefore'](_0x525ddf);for(let _0xf89398=0x0;_0xf89398<_0x50f61a['length'];_0xf89398++){const _0x508dc9=_0x50f61a[_0xf89398],_0x15bdb7=_0x3ced6f['createPositionBefore'](_0x508dc9['reference']);if('before'===_0xf07bd0['compareWith'](_0x15bdb7))return _0xf89398;}const _0x38e6a9=_0x525ddf['root'];let _0x501aae=-0x1;for(let _0x40a56f=_0x50f61a['length']-0x1;_0x40a56f>=0x0;_0x40a56f--)if(_0x50f61a[_0x40a56f]['reference']['root']===_0x38e6a9){_0x501aae=_0x40a56f;break;}if(-0x1!==_0x501aae)return _0x501aae+0x1;const _0x53510b=_0x3ced6f['document']['getRootNames'](),_0x358f0d=_0x53510b['indexOf'](_0x38e6a9['rootName']),_0x44f4c9=_0x53510b[_0x358f0d+0x1];if(_0x44f4c9){for(let _0x502e7b=0x0;_0x502e7b<_0x50f61a['length'];_0x502e7b++)if(_0x50f61a[_0x502e7b]['reference']['root']['rootName']===_0x44f4c9)return _0x502e7b;}return _0x50f61a['length'];}class InsertFootnoteCommand extends _0x858737{['refresh'](){const _0x38a7c3=this['editor']['model']['document']['selection'],_0x3148b2=this['_getPositionToInsertFootnote'](_0x38a7c3);this['isEnabled']=!!_0x3148b2;}['execute'](_0x932db7){const {editor:_0x1c9e69}=this,{model:_0x53db73}=_0x1c9e69,{selection:_0x38c7d5}=_0x53db73['document'],_0x599a85=this['_getPositionToInsertFootnote'](_0x38c7d5);if(!_0x599a85)return;const _0x387ace=_0x1c9e69['plugins']['get']('FootnotesEditing'),_0x5d5383=_0x932db7?.['footnoteId']??_0x3af4a9();!function(_0x4f96da){return'string'==typeof _0x4f96da&&_0x4f96da['length']>0x0&&!/\s/['test'](_0x4f96da)&&!/^\d/['test'](_0x4f96da);}(_0x5d5383)?_0x1c7a35('insert-footnote-command-executed-with-invalid-id'):(_0x53db73['change'](_0x308677=>{const _0x3d3f7b=_0x308677['createElement']('footnoteRef',{'footnoteId':_0x5d5383});_0x53db73['insertObject'](_0x3d3f7b,_0x599a85,null);}),_0x387ace['_moveSelectionToFootnoteDefinition'](_0x5d5383));}['_getPositionToInsertFootnote'](_0x2e0e35){const {model:_0x2bac15}=this['editor'],{schema:_0x34e8b5}=_0x2bac15,_0x5ed947=_0x2e0e35['getFirstRange']();for(const _0x12c46d of _0x5ed947['getItems']())if(_0x34e8b5['isBlock'](_0x12c46d)||_0x34e8b5['isObject'](_0x12c46d))return null;const _0x23bb2b=_0x5ed947['end'];return _0x34e8b5['checkChild'](_0x23bb2b,'footnoteRef')?_0x23bb2b:null;}}class FootnotesEditing extends _0x37efa5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f3835}=this;_0x1f3835['config']['define']('footnotes.multiBlock',!0x0),_0x1f3835['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x1f3835)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xe5e8a7){const _0x43f0b4=_0x50d515([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2ac6ba=0x47a28506,_0x64d7fa=0x47a50ea6^_0x2ac6ba,_0x34db66=window[_0x50d515([0x44,0x61,0x74,0x65])][_0x50d515([0x6e,0x6f,0x77])](),_0x2cccfe=_0xe5e8a7[_0x50d515([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cd0b4=new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308896=>{_0x2cccfe[_0x50d515([0x6f,0x6e,0x63,0x65])](_0x50d515([0x72,0x65,0x61,0x64,0x79]),_0x308896);}),_0x3b6579={[_0x50d515([0x6b,0x74,0x79])]:_0x50d515([0x45,0x43]),[_0x50d515([0x75,0x73,0x65])]:_0x50d515([0x73,0x69,0x67]),[_0x50d515([0x63,0x72,0x76])]:_0x50d515([0x50,0x2d,0x32,0x35,0x36]),[_0x50d515([0x78])]:_0x50d515([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x50d515([0x79])]:_0x50d515([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x50d515([0x61,0x6c,0x67])]:_0x50d515([0x45,0x53,0x32,0x35,0x36])},_0x4d9907=_0x2cccfe[_0x50d515([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d515([0x67,0x65,0x74])](_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58c814(){let _0x146f17,_0x2798a9=null,_0x1b0b57=null;try{if(_0x4d9907==_0x50d515([0x47,0x50,0x4c]))return _0x50d515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x146f17=_0x1d7688(),!_0x146f17)return _0x50d515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x146f17[_0x50d515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b0b57=_0x130c2d(_0x146f17[_0x50d515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x146f17[_0x50d515([0x6a,0x74,0x69])])),await _0x2816cd()?_0x35724d()?_0x2418d7()?_0x50d515([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3723ad()?(_0x146f17[_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2798a9=_0x3eb44f(_0x50d515([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5acbdf()):_0x50d515([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50d515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2418d7(){const _0x1c050b=[_0x50d515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d515([0x74,0x72,0x69,0x61,0x6c])][_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146f17[_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34db66/0x3e8:0xe10*_0x64d7fa;return _0x146f17[_0x50d515([0x65,0x78,0x70])]<_0x1c050b;}function _0x35724d(){const _0x30bf72=_0x146f17[_0x50d515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30bf72&&(!!_0x30bf72[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d515([0x2a]))||!!_0x30bf72[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d515([0x46,0x4f,0x4f])));}function _0x3723ad(){const _0x45d308=_0x146f17[_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45d308||0x0==_0x45d308[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ce5cd}=new URL(window[_0x50d515([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45d308[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ce5cd))return!0x0;const _0x19c63a=_0x4ce5cd[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e]));return _0x45d308[_0x50d515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34b282=>_0x34b282[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d515([0x2a])))[_0x50d515([0x6d,0x61,0x70])](_0x2d063c=>_0x2d063c[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e])))[_0x50d515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x108f79=>_0x108f79[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19c63a[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50d515([0x6d,0x61,0x70])](_0x3538b1=>Array(_0x19c63a[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3538b1[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50d515([0x66,0x69,0x6c,0x6c])](_0x3538b1[0x0]===_0x50d515([0x2a])?_0x50d515([0x2a]):'')[_0x50d515([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3538b1))[_0x50d515([0x73,0x6f,0x6d,0x65])](_0x3a2979=>_0x19c63a[_0x50d515([0x65,0x76,0x65,0x72,0x79])]((_0x4a3429,_0x1cc4d4)=>_0x3a2979[_0x1cc4d4]===_0x4a3429||_0x3a2979[_0x1cc4d4]===_0x50d515([0x2a])));}function _0x5acbdf(){return _0x2798a9&&_0x1b0b57?new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e3208,_0x41a530)=>{_0x2798a9[_0x50d515([0x74,0x68,0x65,0x6e])](_0x4e3208,_0x41a530),_0x1b0b57[_0x50d515([0x74,0x68,0x65,0x6e])](_0x1c3d88=>{_0x1c3d88!=_0x50d515([0x56,0x61,0x6c,0x69,0x64])&&_0x4e3208(_0x1c3d88);},_0x41a530);}):_0x2798a9||_0x1b0b57||_0x50d515([0x56,0x61,0x6c,0x69,0x64]);}}function _0x130c2d(_0x4fdfd1,_0x4eecdc){return new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49e10b=>{if(_0xeb7d53())return _0x49e10b(_0x50d515([0x56,0x61,0x6c,0x69,0x64]));_0x2dcff1(),_0x2cccfe[_0x50d515([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49aca1=!0x1;const _0xe69515=_0x3af4a9();function _0x55655c(_0x4521ac){return!!_0x4521ac&&(typeof _0x4521ac===_0x50d515([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4521ac===_0x50d515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4521ac[_0x50d515([0x74,0x68,0x65,0x6e])]===_0x50d515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4521ac[_0x50d515([0x63,0x61,0x74,0x63,0x68])]===_0x50d515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ebd42(_0x320e97){_0x29dfc1(_0x320e97)[_0x50d515([0x74,0x68,0x65,0x6e])](_0x3d4a6f=>{if(!_0x3d4a6f||_0x3d4a6f[_0x50d515([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d515([0x6f,0x6b]))return _0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16c42a(_0x21069a(_0xe69515+_0x4eecdc))!=_0x3d4a6f[_0x50d515([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d515([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d515([0x74,0x68,0x65,0x6e])](_0x204cd6=>(_0x1e6602(),_0x204cd6),()=>{const _0x184415=_0x3a016b();return null==_0x184415?(_0x1e6602(),_0x50d515([0x56,0x61,0x6c,0x69,0x64])):_0x50d515(_0x34db66-_0x184415>(0x63ae0106^_0x2ac6ba)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d515([0x74,0x68,0x65,0x6e])](_0x49e10b)[_0x50d515([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49e10b(_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d29f4=0x47946b86^_0x2ac6ba;function _0x1e6602(){const _0x30d239=_0x50d515([0x6c,0x6c,0x63,0x74,0x2d])+_0x16c42a(_0x21069a(_0x4fdfd1)),_0x12a537=_0x35bddb(_0x16c42a(window[_0x50d515([0x4d,0x61,0x74,0x68])][_0x50d515([0x63,0x65,0x69,0x6c])](_0x34db66/_0x5d29f4)));window[_0x50d515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d515([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30d239,_0x12a537);}function _0x3a016b(){const _0x5315d1=_0x50d515([0x6c,0x6c,0x63,0x74,0x2d])+_0x16c42a(_0x21069a(_0x4fdfd1)),_0x2819e6=window[_0x50d515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d515([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5315d1);return _0x2819e6?window[_0x50d515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35bddb(_0x2819e6),0x10)*_0x5d29f4:null;}function _0x29dfc1(_0x208bdb){return new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39b2bb,_0x27885a)=>{_0x208bdb[_0x50d515([0x74,0x68,0x65,0x6e])](_0x39b2bb,_0x27885a),window[_0x50d515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27885a,0x47a351c6^_0x2ac6ba);});}}_0x2cccfe[_0x50d515([0x6f,0x6e])](_0x50d515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a5b84,_0x4c016d)=>{if(_0x4c016d[0x0]!=_0x4fdfd1)return _0x49e10b(_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c016d[0x1]={..._0x4c016d[0x1],[_0x50d515([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe69515};},{[_0x50d515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d515([0x68,0x69,0x67,0x68])}),_0x2cccfe[_0x50d515([0x6f,0x6e])](_0x50d515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13a2ea=>{_0x55655c(_0x13a2ea[_0x50d515([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49aca1=!0x0,_0x3ebd42(_0x13a2ea[_0x50d515([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d515([0x6c,0x6f,0x77])}),_0x1cd0b4[_0x50d515([0x74,0x68,0x65,0x6e])](()=>{_0x49aca1||_0x49e10b(_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xeb7d53(){return _0x2cccfe[_0x50d515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d515([0x76,0x69,0x65,0x77])][_0x50d515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d515([0x61,0x75,0x74,0x6f]);}function _0x2dcff1(){_0x2cccfe[_0x50d515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d515([0x76,0x69,0x65,0x77])][_0x50d515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d515([0x61,0x75,0x74,0x6f]);}}function _0x3eb44f(_0xf669dc){const _0x57b93f=[new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16ae11=>setTimeout(_0x16ae11,0x47abbbca^_0x2ac6ba)),_0x1cd0b4[_0x50d515([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f8561=>{let _0x2964f1=0x0;_0x2cccfe[_0x50d515([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d515([0x6f,0x6e])](_0x50d515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2514a4,_0xd64ff4)=>{_0xd64ff4[0x0][_0x50d515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2964f1++,_0x2964f1==(0x47a280ee^_0x2ac6ba)&&(_0x3f8561(),_0x2514a4[_0x50d515([0x6f,0x66,0x66])]());});}))];return window[_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d515([0x72,0x61,0x63,0x65])](_0x57b93f)[_0x50d515([0x74,0x68,0x65,0x6e])](()=>_0xf669dc);}async function _0x4e15d7(){await _0x1cd0b4,_0x2cccfe[_0x50d515([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc51d,_0x2cccfe[_0x50d515([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc51d,_0x2cccfe[_0x50d515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d515([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e4cf5(_0x1806ab){const _0x4c8781=_0x5b4dec();_0x2cccfe[_0x4c8781]=_0x50d515([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1806ab,_0x1806ab!=_0x50d515([0x56,0x61,0x6c,0x69,0x64])&&_0x4e15d7();}function _0x5b4dec(){const _0x260697=window[_0x50d515([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d515([0x6e,0x6f,0x77])]())[_0x50d515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d515([0x2e]),'');let _0x3f01dc=_0x50d515([0x75]);for(let _0x437590=0x0;_0x437590<_0x260697[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x437590+=0x2){let _0x93042c=window[_0x50d515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260697[_0x50d515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x437590,_0x437590+0x2));_0x93042c>=_0x43f0b4[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x93042c-=_0x43f0b4[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f01dc+=_0x43f0b4[_0x93042c];}return _0x3f01dc;}function _0x1d7688(){const _0x2623b0=_0x4d9907[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e]));if(0x3!=_0x2623b0[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d6603(_0x2623b0[0x1]);function _0x1d6603(_0xf4d547){const _0x560c96=_0x2fd16a(_0xf4d547);return _0x560c96&&_0x46f205()?_0x560c96:null;function _0x46f205(){const _0xd5eb66=_0x560c96[_0x50d515([0x6a,0x74,0x69])],_0x14c63d=window[_0x50d515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd5eb66[_0x50d515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd5eb66[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ec697={..._0x560c96,[_0x50d515([0x6a,0x74,0x69])]:_0xd5eb66[_0x50d515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd5eb66[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ec697[_0x50d515([0x76,0x63])],_0x21069a(_0x3ec697)==_0x14c63d;}}}async function _0x2816cd(){let _0x57516a=!0x0;try{const _0xe4ebe1=_0x4d9907[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e])),[_0x57185a,_0x26adb4,_0x5321fa]=_0xe4ebe1;return _0x2ebcec(_0x57185a),await _0xb581a6(_0x57185a,_0x26adb4,_0x5321fa),_0x57516a;}catch{return!0x1;}function _0x2ebcec(_0x1222e5){const _0x31a513=_0x2fd16a(_0x1222e5);_0x31a513&&_0x31a513[_0x50d515([0x61,0x6c,0x67])]==_0x50d515([0x45,0x53,0x32,0x35,0x36])||(_0x57516a=!0x1);}async function _0xb581a6(_0x116c6b,_0x39daa1,_0x1da4a1){const _0x39b384=window[_0x50d515([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d515([0x66,0x72,0x6f,0x6d])](_0x1da476(_0x1da4a1),_0x207451=>_0x207451[_0x50d515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dcefa=new window[(_0x50d515([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d515([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x116c6b+_0x50d515([0x2e])+_0x39daa1),_0x2877b3=window[_0x50d515([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d515([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2877b3)return;const _0x11b4d6=await _0x2877b3[_0x50d515([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d515([0x6a,0x77,0x6b]),_0x3b6579,{[_0x50d515([0x6e,0x61,0x6d,0x65])]:_0x50d515([0x45,0x43,0x44,0x53,0x41]),[_0x50d515([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d515([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d515([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2877b3[_0x50d515([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d515([0x6e,0x61,0x6d,0x65])]:_0x50d515([0x45,0x43,0x44,0x53,0x41]),[_0x50d515([0x68,0x61,0x73,0x68])]:{[_0x50d515([0x6e,0x61,0x6d,0x65])]:_0x50d515([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11b4d6,_0x39b384,_0x4dcefa)||(_0x57516a=!0x1);}}function _0x2fd16a(_0x27491d){return _0x27491d[_0x50d515([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d515([0x65,0x79]))?JSON[_0x50d515([0x70,0x61,0x72,0x73,0x65])](_0x1da476(_0x27491d)):null;}function _0x1da476(_0x24a5fd){return window[_0x50d515([0x61,0x74,0x6f,0x62])](_0x24a5fd[_0x50d515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d515([0x2b]))[_0x50d515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d515([0x2f])));}function _0x21069a(_0x4cdcf2){let _0x55e2fd=0x1505;function _0x481677(_0x385225){for(let _0x59f4ed=0x0;_0x59f4ed<_0x385225[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59f4ed++){const _0x174a43=_0x385225[_0x50d515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59f4ed);_0x55e2fd=(_0x55e2fd<<0x5)+_0x55e2fd+_0x174a43,_0x55e2fd&=_0x55e2fd;}}function _0x2171bd(_0x2e2d22){Array[_0x50d515([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e2d22)?_0x2e2d22[_0x50d515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2171bd):_0x2e2d22&&typeof _0x2e2d22==_0x50d515([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d515([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e2d22)[_0x50d515([0x73,0x6f,0x72,0x74])]()[_0x50d515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x441629,_0x2cc794])=>{_0x481677(_0x441629),_0x2171bd(_0x2cc794);}):_0x481677(window[_0x50d515([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e2d22));}return _0x2171bd(_0x4cdcf2),_0x55e2fd>>>0x0;}function _0x16c42a(_0x594383){return _0x594383[_0x50d515([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d515([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d515([0x30]));}function _0x35bddb(_0x48601c){return _0x48601c[_0x50d515([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d515([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d515([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bc51d(){}function _0x50d515(_0x29716b){return _0x29716b['map'](_0x8a789f=>String['fromCharCode'](_0x8a789f))['join']('');}_0x5e4cf5(await _0x58c814());}(this);}['_moveSelectionToFootnoteDefinition'](_0x185a18){const {plugins:_0x5b73d7,editing:_0xd58a08,model:_0x56e43b}=this['editor'],_0x562aff=_0x5b73d7['get'](FootnotesTracker)['getFootnote'](_0x185a18);return!!_0x562aff&&(_0x56e43b['change'](_0x5431e3=>{_0x5431e3['setSelection'](_0x5431e3['createPositionAt'](_0x562aff['definition'],'end'));}),_0xd58a08['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2e8658){const {plugins:_0x4ca66d,editing:_0x2c82b2,model:_0x1670ef}=this['editor'],_0x1599b6=_0x4ca66d['get'](FootnotesTracker)['getFootnote'](_0x2e8658);return!!_0x1599b6&&(_0x1670ef['change'](_0x5dc18d=>{_0x5dc18d['setSelection'](_0x1599b6['reference'],'on');}),_0x2c82b2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1e535d}=this['editor']['model'],_0x2d4ad0=this['editor']['config']['get']('footnotes.multiBlock');_0x1e535d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1e535d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1e535d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2d4ad0?_0x1e535d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1e535d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1e535d['addChildCheck'](_0xef9e25=>{for(const _0x3644e4 of _0xef9e25)if('footnoteDefinition'===_0x3644e4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x244b3e}=this,{conversion:_0x19f8da,editing:_0x151efe}=_0x244b3e,{t:t}=_0x244b3e['locale'];_0x19f8da['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x27237c,{writer:_0xbbfe49,consumable:_0x2fc270})=>{const _0x40f82e=_0x27237c['getChild'](0x0);if(!_0x40f82e||!_0x40f82e['is']('element','a'))return null;const _0x4bc863=_0x40f82e['getAttribute']('href')||'';if(!_0x4bc863['startsWith']('#'))return null;const _0x38995b=_0x4bc863['replace'](/^#/,'');if(!_0x38995b)return null;_0x2fc270['consume'](_0x40f82e,{'name':!0x0,'attributes':['href']});for(const {item:_0x31fa1f}of _0x151efe['view']['createRangeIn'](_0x40f82e))_0x31fa1f['is']('$textProxy')?_0x2fc270['consume'](_0x31fa1f['textNode'],{'name':!0x0}):_0x31fa1f['is']('element')&&_0x2fc270['consume'](_0x31fa1f,{'name':!0x0});return _0xbbfe49['createElement']('footnoteRef',{'footnoteId':_0x38995b});}}),_0x19f8da['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x31c75a,{writer:_0x37d678})=>U(_0x31c75a,_0x37d678)}),_0x19f8da['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x455583,{writer:_0x476fe3})=>{const _0x3c500a=_0x455583['getAttribute']('footnoteCounter');return _0x4a425c(U(_0x455583,_0x476fe3),_0x476fe3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3c500a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2b5e50}=this,{t:t}=_0x2b5e50['locale'],{conversion:_0x181169}=_0x2b5e50;_0x181169['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x181169['for']('upcast')['add'](_0x3d84ad=>{_0x3d84ad['on']('element:ol',(_0x13894f,_0x3c7664,_0x543edb)=>{const _0x2f9bad=_0x3c7664['viewItem'];if(!_0x2f9bad['hasClass']('footnotes-list')||!_0x3c7664['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x543edb['consumable']['consume'](_0x2f9bad,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x25f578,modelCursor:_0x18d223}=_0x543edb['convertChildren'](_0x3c7664['viewItem'],_0x3c7664['modelCursor']);_0x3c7664['modelRange']=_0x25f578,_0x3c7664['modelCursor']=_0x18d223;}),_0x3d84ad['on']('element:hr',(_0x25bff2,_0x63a032,_0x5c5faf)=>{const _0x43ae8a=_0x63a032['viewItem'];_0x43ae8a['hasClass']('footnotes-divider')&&_0x63a032['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5c5faf['consumable']['consume'](_0x43ae8a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x181169['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50773c,{writer:_0x1a5ba6})=>$(_0x1a5ba6)}),_0x181169['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5da054,{writer:_0x352222})=>{const _0x1353ed=$(_0x352222,{'data-footnotes-list-label':t('Footnotes')}),_0x2357d2=_0x4a425c(_0x1353ed,_0x352222,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x352222['setCustomProperty']('footnotesDefinitions',!0x0,_0x2357d2),_0x2357d2;}});}['_defineDefinitionConverters'](){const {editor:_0x1bdee5}=this,{conversion:_0x55b90c,locale:_0x1b13b7}=_0x1bdee5,_0xb3146=_0x1bdee5['config']['get']('footnotes.multiBlock');_0x55b90c['for']('upcast')['add'](_0x3296b3=>{_0x3296b3['on']('element:li',(_0x232832,_0x28ee52,_0x17ff77)=>{const _0x5013ec=_0x28ee52['viewItem'];if(!_0x5013ec['hasClass']('footnote-definition')||!_0x5013ec['getAttribute']('id'))return;const _0xe2279c=_0x5013ec['parent'];if(!_0xe2279c['is']('element','ol')||!_0xe2279c['hasClass']('footnotes-list'))return;if(!_0x17ff77['consumable']['test'](_0x5013ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5acc08=_0x17ff77['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5013ec['getAttribute']('id')});if(!_0x17ff77['safeInsert'](_0x5acc08,_0x28ee52['modelCursor']))return;_0x17ff77['consumable']['consume'](_0x5013ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1a075d=Array['from'](_0x5013ec['getChildren']())['find'](_0x31d0ba=>_0x31d0ba['is']('element')&&_0x31d0ba['hasClass']('footnote-content'));for(const _0x3b2d79 of _0x5013ec['getChildren']())_0x3b2d79['is']('element')&&(_0x17ff77['consumable']['consume'](_0x3b2d79,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x17ff77['consumable']['consume'](_0x3b2d79,{'name':!0x0,'classes':'footnote-content'}));if(_0x1a075d){if(_0xb3146)_0x17ff77['convertChildren'](_0x1a075d,_0x5acc08);else{const _0x109b89=_0x17ff77['writer']['createElement']('footnoteInlineContent');_0x17ff77['writer']['insert'](_0x109b89,_0x5acc08),_0x17ff77['convertChildren'](_0x1a075d,_0x109b89);}}_0x17ff77['updateConversionResult'](_0x5acc08,_0x28ee52);});}),_0x55b90c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x597d22,{writer:_0x3ddfd5})=>B(_0x597d22,_0x3ddfd5,_0x1b13b7,{'dataPipeline':!0x0})}),_0x55b90c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xb5ba64,{writer:_0x36b4bc})=>B(_0xb5ba64,_0x36b4bc,_0x1b13b7)});}['_defineBogusParagraphConverters'](){const {editor:_0x2d4252}=this,{conversion:_0x42b6c3}=_0x2d4252;_0x2d4252['config']['get']('footnotes.multiBlock')?(_0x42b6c3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0x42b6c3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2d4252['model']['document'],'change:data',()=>{!function(_0x30d112,_0x2b3a65){const _0x1ca256=_0x30d112['document']['differ'],_0xdb49d=new Set();for(const _0xd8f19 of _0x1ca256['getChanges']()){const _0x37c0ac='attribute'==_0xd8f19['type']?_0xd8f19['range']['start']['parent']:_0xd8f19['position']['parent'];_0x37c0ac['is']('element','footnoteDefinition')&&_0xdb49d['add'](_0x37c0ac);}for(const _0x3471a0 of _0xdb49d['values']()){const _0x4a3a8c=Array['from'](_0x3471a0['getChildren']())['filter'](_0xe0e8c9=>V(_0xe0e8c9,_0x2b3a65['mapper']));for(const _0x40392a of _0x4a3a8c)_0x2b3a65['reconvertItem'](_0x40392a);}}(_0x2d4252['model'],_0x2d4252['editing']);})):(_0x42b6c3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0x42b6c3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1b36fe,{writer:_0x1bc77b})=>{const _0x22546e=_0x1bc77b['createContainerElement']('span');return _0x1bc77b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x22546e),_0x22546e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5985ce}=this,{editing:_0x54e69b,t:t}=_0x5985ce,_0x1bbbec=_0x5985ce['model']['document']['selection'];_0x5985ce['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5985ce['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x54e69b['view']['document'],'enter',(_0x176a5f,_0x1cc8f0)=>{const _0x34a0c8=function(_0x282e6c){const _0x33e279=_0x282e6c['getSelectedElement']();if(_0x33e279?.['is']('element','footnoteRef'))return _0x33e279;return null;}(_0x1bbbec);if(_0x34a0c8){const _0x20df69=_0x34a0c8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x20df69),_0x1cc8f0['preventDefault'](),_0x176a5f['stop']();}},{'context':_0x466769});}['_defineClickHandlers'](){const {editor:_0x2c5dac}=this,{editing:_0x2648fe}=_0x2c5dac;_0x2c5dac['editing']['view']['addObserver'](_0x4bdbcb),_0x2c5dac['editing']['view']['addObserver'](_0x4ed162);let _0xc52964=!0x1;this['listenTo'](_0x2648fe['view']['document'],'pointerdown',(_0x509eb2,_0xf2705b)=>{const {target:_0x34e2d7}=_0xf2705b,_0x31fc88=_0x2648fe['view']['document']['selection'];_0xc52964=!!(_0x34e2d7?.['is']('element','a')&&_0x34e2d7['parent']?.['is']('element','sup')&&_0x34e2d7['parent']['hasClass']('footnote'))&&_0x31fc88['getSelectedElement']()===_0x34e2d7['parent'];},{'priority':'high'}),this['listenTo'](_0x2648fe['view']['document'],'click',(_0xa97c47,_0x5edd65)=>{const {target:_0x47dba9}=_0x5edd65;if(!_0x47dba9?.['is']('element','a'))return;if(_0x47dba9['parent']?.['is']('element','sup')&&_0x47dba9['parent']['hasClass']('footnote')&&!_0xc52964)return void _0x5edd65['preventDefault']();let _0xb1fb67=_0x47dba9['getAttribute']('href');if(!_0xb1fb67?.['startsWith']('#'))return;_0xb1fb67=_0xb1fb67['slice'](0x1);let _0x5bae46=!0x1;(_0xb1fb67['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xb1fb67['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xb1fb67))&&(_0x5bae46=!0x0),_0x5bae46&&(_0x5edd65['preventDefault'](),_0xa97c47['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x5f4845}={}){return(_0x354b52,{writer:_0x4e435b})=>{if(!j(_0x354b52))return null;if(!_0x5f4845)return _0x4e435b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29dc7a=_0x4e435b['createContainerElement']('p');return _0x4e435b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29dc7a),_0x29dc7a;};}function j(_0x638b74){const {parent:_0x2661a4}=_0x638b74;if(!_0x2661a4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2661a4['childCount'])return!0x1;for(const _0x13de3d of _0x638b74['getAttributeKeys']())if(!_0x13de3d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x13de3d)return!0x1;return!0x0;}function V(_0x4364e9,_0x16b010){if(!_0x4364e9['is']('element','paragraph'))return!0x1;const _0x3e2dcb=_0x16b010['toViewElement'](_0x4364e9);return!!_0x3e2dcb&&j(_0x4364e9)!==_0x3e2dcb['is']('element','span');}function M(_0x41c5ba){return _0x466769(_0x41c5ba)&&_0x41c5ba['is']('containerElement')&&!!_0x41c5ba['getCustomProperty']('footnotesDefinitions');}function $(_0x56bba1,_0x544fef={}){const _0x13d335=_0x56bba1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4266d0=_0x56bba1['createContainerElement']('ol',{'class':'footnotes-list'},_0x56bba1['createSlot']());return _0x56bba1['createContainerElement']('div',{'class':'footnotes',..._0x544fef},[_0x13d335,_0x4266d0]);}function U(_0x110d6d,_0x1c4fe6){const _0x53ab66=_0x110d6d['getAttribute']('footnoteId'),_0x22f04f=_0x110d6d['getAttribute']('footnoteCounter'),_0x1be3dd=_0x1c4fe6['createUIElement']('a',{'href':'#'+_0x53ab66},function(_0x380a04){const _0x56c03d=this['toDomElement'](_0x380a04);return _0x56c03d['textContent']=_0x22f04f,_0x56c03d;}),_0x618bd1=_0x1c4fe6['createContainerElement']('sup',{'id':'ref-'+_0x53ab66,'class':'footnote'},[_0x1be3dd]);return _0x618bd1['getFillerOffset']=()=>null,_0x618bd1;}function B(_0x42117a,_0x5d9344,_0x4b39ec,{dataPipeline:_0xe4aaf8}={}){const {t:t}=_0x4b39ec,_0x276731=_0x42117a['getAttribute']('footnoteId'),_0x2fe953=_0x5d9344['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x276731},function(_0x54a866){const _0x25d2fe=this['toDomElement'](_0x54a866);return _0x25d2fe['innerText']='^',_0x25d2fe;}),_0x38eb25=_0xe4aaf8?_0x5d9344['createContainerElement']('div',{'class':'footnote-content'}):_0x54068d(_0x5d9344['createEditableElement']('div',{'class':'footnote-content'}),_0x5d9344,{'label':t('Footnote\x20content.')});return _0x5d9344['insert'](_0x5d9344['createPositionAt'](_0x38eb25,0x0),_0x5d9344['createSlot']()),_0x5d9344['createContainerElement']('li',{'class':'footnote-definition','id':_0x276731},[_0x2fe953,_0x38eb25]);}class FootnotesClipboard extends _0x37efa5{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x3e5cad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xee7863}=this,{plugins:_0x8daa70,model:_0x412431}=_0xee7863,_0x7a099f=_0x8daa70['get'](_0x3e5cad),_0x159859=_0x8daa70['get'](FootnotesTracker);this['listenTo'](_0x7a099f,'outputTransformation',(_0x540be4,_0x57678b)=>{const _0x199e8b=H(_0x412431['createRangeIn'](_0x57678b['content']));if(!_0x199e8b['length'])return;const _0x39ba0c=_0x159859['getFootnotes'](),_0x322137=_0x199e8b['reduce']((_0x5afadc,_0x4d32f6)=>{const _0x3e359a=_0x39ba0c['find'](_0x3d0293=>_0x3d0293['id']===_0x4d32f6);if(_0x3e359a){const _0x33cff8=_0xee7863['data']['toView'](_0x3e359a['definition'],{'isClipboardPipeline':!0x0}),_0x2839fd=_0xee7863['data']['htmlProcessor']['toData'](_0x33cff8);_0x5afadc[_0x3e359a['id']]=_0x2839fd;}return _0x5afadc;},Object['create'](null));_0x57678b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x322137));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x20d4e5}=this,{model:_0x3c78cb,plugins:_0x279c16}=_0x20d4e5,{view:_0x453f0a}=_0x20d4e5['editing'],_0x4084be=_0x279c16['get'](_0x3e5cad),_0x4fe90a=_0x279c16['get'](FootnotesTracker),_0x10865d=_0x20d4e5['config']['get']('footnotes.multiBlock');let _0x16605a=null;this['listenTo'](_0x453f0a['document'],'clipboardInput',(_0x1dba2b,_0x2e6856)=>{const _0x4cbef9=_0x2e6856['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x16605a=_0x4cbef9?JSON['parse'](_0x4cbef9):null;}),this['listenTo'](_0x4084be,'contentInsertion',(_0xe2bae9,_0x4828cd)=>{const _0x2cdc88=_0x4828cd['sourceEditorId']===this['editor']['id'];_0x2cdc88&&'drop'===_0x4828cd['method']||_0x3c78cb['change'](_0x2e5337=>{let _0xecfb3f=_0x4fe90a['getFootnotesDefinitionsObjectElement']();const _0x54ea99=!!_0xecfb3f&&Array['from'](_0x3c78cb['document']['selection']['getSelectedBlocks']())['includes'](_0xecfb3f);if(!_0x16605a&&function(_0x1ee227){for(const {item:_0x1507b2}of _0x1ee227)if(_0x1507b2['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3c78cb['createRangeIn'](_0x4828cd['content']))&&(_0x16605a=function(_0x58a62b,_0x6c8f26){const _0x5502b7=q(_0x58a62b,_0x6c8f26);if(!_0x5502b7)return null;const _0xe248ab=Object['create'](null);for(const _0x21cfd6 of _0x5502b7['getChildren']())_0x21cfd6['is']('element','footnoteDefinition')&&_0x21cfd6['hasAttribute']('footnoteId')&&(_0xe248ab[_0x21cfd6['getAttribute']('footnoteId')]=_0x58a62b['cloneElement'](_0x21cfd6,!0x0));return Object['keys'](_0xe248ab)['length']?_0xe248ab:null;}(_0x2e5337,_0x4828cd['content'])),(_0xecfb3f&&!_0x54ea99||!_0xecfb3f&&!_0x16605a)&&function(_0x4583f9,_0x4f1ea1){const _0x9c8038=[];for(const {item:_0x3fd52d}of _0x4583f9['createRangeIn'](_0x4f1ea1))_0x3fd52d['is']('element','footnotesDefinitions')&&_0x9c8038['push'](_0x3fd52d);for(const _0x462a14 of _0x9c8038)_0x4583f9['remove'](_0x462a14);}(_0x2e5337,_0x4828cd['content']),!_0x16605a)return;const {selection:_0x12486c}=_0x3c78cb['document'],_0x388d5b=_0x12486c['getFirstRange']()['root'];_0xecfb3f&&!_0x54ea99||(_0xecfb3f=q(_0x2e5337,_0x4828cd['content']),_0xecfb3f||=_0x4fe90a['_insertEmptyFootnotesDefinitionsContainer'](_0x2e5337,_0x388d5b));const _0x1adbb3=Array['from'](_0x12486c['getRanges']())['flatMap'](H),_0x19a879=function(_0x2d7dd3,_0x5a083f,_0x47fc8b){const _0x46cbf7=Object['create'](null);for(const {item:_0x452af6}of _0x2d7dd3['createRangeIn'](_0x5a083f))if(_0x452af6['is']('element','footnoteRef')){const _0x26eb85=_0x452af6['getAttribute']('footnoteId');if(!_0x47fc8b(_0x26eb85))continue;_0x46cbf7[_0x26eb85]||(_0x46cbf7[_0x26eb85]=_0x3af4a9()),_0x2d7dd3['setAttribute']('footnoteId',_0x46cbf7[_0x26eb85],_0x452af6);}return _0x46cbf7;}(_0x2e5337,_0x4828cd['content'],_0x15e491=>{if(!_0x2cdc88)return!0x0;return!!_0x4fe90a['getFootnote'](_0x15e491)&&!_0x1adbb3['includes'](_0x15e491);});for(const [_0x1be07f,_0x3cfd51]of Object['entries'](_0x16605a)){const _0x1bb3bf=_0x19a879[_0x1be07f]||_0x1be07f;let _0x54a635;if('string'!=typeof _0x3cfd51)_0x54a635=_0x3cfd51,_0x1bb3bf!==_0x1be07f&&_0x2e5337['setAttribute']('footnoteId',_0x1bb3bf,_0x54a635);else{_0x54a635=_0x2e5337['createElement']('footnoteDefinition',{'footnoteId':_0x1bb3bf});const _0x442430=_0x20d4e5['data']['htmlProcessor']['toView'](_0x3cfd51);let _0x28bd75;if(_0x10865d)_0x28bd75=_0x20d4e5['data']['toModel'](_0x442430,_0x54a635);else{_0x28bd75=_0x2e5337['createElement']('footnoteInlineContent');const _0x1d8283=_0x20d4e5['data']['toModel'](_0x442430,_0x28bd75);_0x2e5337['insert'](_0x1d8283,_0x28bd75);}_0x2e5337['append'](_0x28bd75,_0x54a635);}_0x2e5337['insert'](_0x54a635,_0xecfb3f,'end');}_0x16605a=null;});});}}function q(_0xcbe3e,_0x25287e){for(const {item:_0x2013b2}of _0xcbe3e['createRangeIn'](_0x25287e))if(_0x2013b2['is']('element','footnotesDefinitions'))return _0x2013b2;return null;}function H(_0x497a58){const _0x22e939=new Set();for(const {item:_0x1a2e83}of _0x497a58)_0x1a2e83['is']('element','footnoteRef')&&_0x22e939['add'](_0x1a2e83['getAttribute']('footnoteId'));return Array['from'](_0x22e939);}class FootnotesUI extends _0x37efa5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4975ea}=this,{componentFactory:_0x300145}=_0x4975ea['ui'];_0x300145['add']('insertFootnote',z(_0x4975ea,_0x3d4830)),_0x300145['add']('menuBar:insertFootnote',z(_0x4975ea,_0x222479)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x270b2d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b74f6;for(const _0x4cfa14 in _0x270b2d){const _0x96789f=_0x4cfa14,_0x64dfbc=_0x270b2d[_0x96789f];if('footnotesLicenseKeyValid'==_0x64dfbc||'footnotesLicenseKeyInvalid'==_0x64dfbc||'footnotesLicenseKeyExpired'==_0x64dfbc||'footnotesLicenseKeyDomainLimit'==_0x64dfbc||'footnotesLicenseKeyNotAllowed'==_0x64dfbc||'footnotesLicenseKeyEvaluationLimit'==_0x64dfbc||'footnotesLicenseKeyUsageLimit'==_0x64dfbc){delete _0x270b2d[_0x96789f],_0x3b74f6=_0x64dfbc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3b74f6&&_0x270b2d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3b74f6&&_0x270b2d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3b74f6&&_0x270b2d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3b74f6&&_0x270b2d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3b74f6&&_0x270b2d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3b74f6&&_0x270b2d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x2866cb,_0x4dce40){const _0x27dd49=_0x2866cb['commands']['get']('insertFootnote');return _0x53a1ab=>{const {t:t}=_0x53a1ab,_0x1cca43=new _0x4dce40(_0x53a1ab),_0x57da08=_0x1cca43 instanceof _0x222479;return _0x1cca43['bind']('isEnabled')['to'](_0x27dd49,'isEnabled'),_0x1cca43['set']({'label':t(_0x57da08?'Footnote':'Insert\x20footnote'),'icon':_0x2fde97,'tooltip':!0x0}),_0x1cca43['on']('execute',()=>{_0x27dd49['execute'](),_0x2866cb['editing']['view']['focus']();}),_0x1cca43;};}class Footnotes extends _0x37efa5{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x858737{['refresh'](){const {editor:_0x1b65b2}=this,_0xd97a87=_0x1b65b2['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd97a87,this['value']=_0xd97a87?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x595e4b}){const {editor:_0x3113d1}=this,_0x466e70=_0x3113d1['plugins']['get'](FootnotesTracker),_0x3bdf20=_0x466e70['getFootnotesDefinitionsObjectElement']();_0x3bdf20&&G['includes'](_0x595e4b)&&_0x3113d1['model']['change'](_0x5d3452=>{_0x5d3452['setAttribute']('footnotesListStyle',_0x595e4b,_0x3bdf20),_0x466e70['_updateFootnotesCounters'](_0x5d3452);});}}class FootnotesStartCommand extends _0x858737{['refresh'](){const {editor:_0x29c5b2}=this,_0x241736=_0x29c5b2['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x241736,this['value']=_0x241736?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5baef5}){const {editor:_0x242edd}=this,_0x21e65c=_0x242edd['plugins']['get'](FootnotesTracker),_0x2ff41b=_0x21e65c['getFootnotesDefinitionsObjectElement']();_0x2ff41b&&Number['isInteger'](_0x5baef5)&&_0x242edd['model']['change'](_0xff524f=>{_0xff524f['setAttribute']('footnotesListStart',_0x5baef5,_0x2ff41b),_0x21e65c['_updateFootnotesCounters'](_0xff524f);});}}function Q(_0x58368a,_0x56933e){let _0x3214d2='',_0x2e5555=_0x58368a;for(;_0x2e5555>0x0;){const _0x5c8c41=(_0x2e5555-0x1)%0x1a;_0x3214d2=String['fromCharCode'](0x61+_0x5c8c41)+_0x3214d2,_0x2e5555=Math['floor']((_0x2e5555-0x1)/0x1a);}return _0x56933e?_0x3214d2['toUpperCase']():_0x3214d2;}const W=[{'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 Y(_0x18d6b9,_0x596c0a){let _0x7a5cf8='',_0x1b9bdf=_0x18d6b9;for(const {value:_0xd907f6,numeral:_0x30c7c1}of W)for(;_0x1b9bdf>=_0xd907f6;)_0x7a5cf8+=_0x30c7c1,_0x1b9bdf-=_0xd907f6;return _0x596c0a?_0x7a5cf8:_0x7a5cf8['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x37efa5{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29542b}=this;_0x29542b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x29542b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x29542b['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x29542b['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x29542b)),_0x29542b['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x29542b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x39ca34}=this,{schema:_0x2ffdf6}=_0x39ca34['model'];_0x2ffdf6['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5c9b67}=this,{conversion:_0x48d672,model:_0x3fdd69}=_0x5c9b67,{schema:_0x31b682}=_0x3fdd69;_0x48d672['for']('upcast')['add'](_0x2790b5=>{_0x2790b5['on']('element:ol',(_0x392b28,_0x3e19fe,_0x3ecdb4)=>{const _0x534237=_0x3e19fe['viewItem'],_0x360a20=_0x3e19fe['modelCursor']?.['parent'];_0x534237['hasClass']('footnotes-list')&&_0x360a20?.['is']('element','footnotesDefinitions')&&(function(_0xa8f2a5,_0x41268a,_0x4105d1,_0x407860){if(!_0x407860['checkAttribute'](_0x41268a,'footnotesListStart'))return;let _0x1574d8=0x1;const _0x54001a=_0x4105d1['consumable']['consume'](_0xa8f2a5,{'attributes':'start'});if(_0x54001a){const _0xb34119=Number['parseInt'](_0xa8f2a5['getAttribute']('start'),0xa);Number['isNaN'](_0xb34119)||(_0x1574d8=_0xb34119);}!_0x54001a&&_0x41268a['hasAttribute']('footnotesListStart')||_0x4105d1['writer']['setAttribute']('footnotesListStart',_0x1574d8,_0x41268a);}(_0x534237,_0x360a20,_0x3ecdb4,_0x31b682),function(_0x37424e,_0x499536,_0x88dd51,_0x2ee1d6){if(!_0x2ee1d6['checkAttribute'](_0x499536,'footnotesListStyle'))return;let _0x569599='decimal',_0x48d597=!0x1;if(_0x88dd51['consumable']['consume'](_0x37424e,{'attributes':'type'})){const _0x14c098={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x37424e['getAttribute']('type')];_0x14c098&&(_0x569599=_0x14c098),_0x48d597=!0x0;}if(_0x88dd51['consumable']['consume'](_0x37424e,{'styles':'list-style-type'})){const _0x269663=tt(_0x37424e['getStyle']('list-style-type'));_0x269663&&(_0x569599=_0x269663),_0x48d597=!0x0;}!_0x48d597&&_0x499536['hasAttribute']('footnotesListStyle')||_0x88dd51['writer']['setAttribute']('footnotesListStyle',_0x569599,_0x499536);}(_0x534237,_0x360a20,_0x3ecdb4,_0x31b682));});}),_0x48d672['for']('downcast')['add'](_0x50c455=>{_0x50c455['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x39bbf8,_0x179f10,_0x44d6be)=>{if(!_0x44d6be['consumable']['consume'](_0x179f10['item'],_0x39bbf8['name']))return;const _0x3471b5=et(_0x179f10['item'],_0x44d6be['mapper']),{attributeNewValue:_0x7c604d}=_0x179f10;null==_0x7c604d||0x1===_0x7c604d?_0x44d6be['writer']['removeAttribute']('start',_0x3471b5):_0x44d6be['writer']['setAttribute']('start',String(_0x7c604d),_0x3471b5);}),_0x50c455['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x93ecb2,_0x45812f,_0x40b14f)=>{if(!_0x40b14f['consumable']['consume'](_0x45812f['item'],_0x93ecb2['name']))return;const _0xf63599=et(_0x45812f['item'],_0x40b14f['mapper']),{attributeNewValue:_0x311ec6}=_0x45812f;_0x311ec6&&'decimal'!==_0x311ec6?_0x40b14f['writer']['setStyle']('list-style-type',_0x311ec6,_0xf63599):_0x40b14f['writer']['removeStyle']('list-style-type',_0xf63599);});});}['_definePostfixer'](){const {editor:_0x5de0fe}=this,{model:_0xeaa29f}=_0x5de0fe,_0x1f7016=_0x5de0fe['plugins']['get'](FootnotesTracker),_0xbd1dad=this['_getDefaultListStyle'](),_0x1ec505=this['_getDefaultStartIndex']();_0xeaa29f['document']['registerPostFixer'](_0x27cd01=>{const _0x15b5f3=_0xeaa29f['document']['differ']['getChanges']();let _0x36ee8d=!0x1;for(const _0xd6de58 of _0x15b5f3){if('insert'!==_0xd6de58['type']||'$text'===_0xd6de58['name'])continue;const _0x323764=_0xeaa29f['createRangeOn'](_0xd6de58['position']['nodeAfter']);for(const _0x4a89f2 of _0x323764['getItems']())_0x4a89f2['is']('element','footnotesDefinitions')&&(!_0x4a89f2['hasAttribute']('footnotesListStart')&&_0xeaa29f['schema']['checkAttribute'](_0x4a89f2,'footnotesListStart')&&(_0x27cd01['setAttribute']('footnotesListStart',_0x1ec505,_0x4a89f2),_0x36ee8d=!0x0),!_0x4a89f2['hasAttribute']('footnotesListStyle')&&_0xeaa29f['schema']['checkAttribute'](_0x4a89f2,'footnotesListStyle')&&(_0x27cd01['setAttribute']('footnotesListStyle',_0xbd1dad,_0x4a89f2),_0x36ee8d=!0x0));}return _0x36ee8d&&_0x1f7016['_updateFootnotesCounters'](_0x27cd01),_0x36ee8d;});}['_defineFormatter'](){const {editor:_0x2c395d}=this;_0x2c395d['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x5ab2d5=>this['_formatFootnoteListValue'](_0x5ab2d5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x33595d,value:_0x5482d2,digits:_0x5d6683}){const _0x20fd91=_0x33595d['getAttribute']('footnotesListStyle'),_0x5d09b6=_0x33595d['getAttribute']('footnotesListStart'),_0x3a3345=Math['floor'](_0x5482d2)+(_0x5d09b6??0x1)-0x1;switch(_0x20fd91){case'decimal-leading-zero':return function(_0x144590,_0x7a4e3){return String(_0x144590)['padStart'](_0x7a4e3,'0');}(_0x3a3345,Math['max'](0x2,_0x5d6683));case'lower-alpha':case'lower-latin':return Q(_0x3a3345,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x3a3345,!0x0);case'lower-roman':return Y(_0x3a3345,!0x1);case'upper-roman':return Y(_0x3a3345,!0x0);case'arabic-indic':return String(_0x3a3345)['replace'](/\d/g,_0x41881c=>Z[Number(_0x41881c)]);default:return String(_0x3a3345);}}}function tt(_0x20cfc3){if('string'==typeof _0x20cfc3){const _0xfcaa5d=J[_0x20cfc3];if(_0xfcaa5d)return _0xfcaa5d;if(G['includes'](_0x20cfc3))return _0x20cfc3;}return null;}function et(_0x26a44d,_0x5a067f){const _0x54cc13=_0x5a067f['toViewElement'](_0x26a44d);return Array['from'](_0x54cc13['getChildren']())['find'](_0xca41c=>_0xca41c['is']('element','ol')&&_0xca41c['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x1215a8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3c0be7();['keystrokes']=new _0x42ba0c();['focusables']=new _0x3a5df5();['focusCycler'];constructor(_0x460b5b,{styleButtonViews:_0x319174,styleGridAriaLabel:_0x30f7bd}){super(_0x460b5b),(this['focusCycler']=new _0x374ca2({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x319174,_0x30f7bd),[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 _0x13711e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x13711e['element']);_0x128ca0({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x575e46['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 _0x2cbc7c=_0x3ca1f4=>_0x3ca1f4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2cbc7c),this['keystrokes']['set']('arrowleft',_0x2cbc7c),this['keystrokes']['set']('arrowup',_0x2cbc7c),this['keystrokes']['set']('arrowdown',_0x2cbc7c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5a84f5,_0x502e32){const _0x2e6b74=new _0x1215a8(this['locale']);return _0x2e6b74['children']=_0x2e6b74['createCollection'](),_0x2e6b74['children']['addMany'](_0x5a84f5),_0x2e6b74['setTemplate']({'tag':'div','attributes':{'aria-label':_0x502e32,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2e6b74['children']}),_0x2e6b74['children']['delegate']('execute')['to'](this),_0x2e6b74['focus']=function(){for(const _0xd9d493 of this['children'])if(_0xd9d493 instanceof _0x3d4830&&_0xd9d493['isOn'])return void _0xd9d493['focus']();this['children']['first']['focus']();},_0x2e6b74['focusTracker']=new _0x3c0be7(),_0x2e6b74['keystrokes']=new _0x42ba0c(),_0x2e6b74['render'](),_0x2e6b74['keystrokes']['listenTo'](_0x2e6b74['element']),this['children']['add'](_0x2e6b74),_0x2e6b74;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x145e25=this['_createStartIndexPropertyView'](),_0x51afd0=[_0x145e25],_0x9cd057=new _0x5ca684(this['locale'],_0x51afd0);return _0x9cd057['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x9cd057['buttonView']['bind']('isEnabled')['toMany'](_0x51afd0,'isEnabled',(..._0x1be24c)=>_0x1be24c['some'](_0x45a083=>_0x45a083)),_0x9cd057['buttonView']['on']('change:isEnabled',(_0x3d8f7e,_0x5be1ee,_0x574aa7)=>{_0x574aa7||(_0x9cd057['isCollapsed']=!0x0);}),this['children']['add'](_0x9cd057),[_0x145e25,_0x9cd057];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3bb1ba=new _0x51e597(this['locale'],_0x167831);return _0x3bb1ba['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3bb1ba['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3bb1ba['fieldView']['on']('input',()=>{const _0x1a6c97=_0x3bb1ba['fieldView']['element'],_0x151b93=_0x1a6c97['valueAsNumber'];Number['isNaN'](_0x151b93)?_0x3bb1ba['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1a6c97['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x151b93}):_0x3bb1ba['errorText']=t(_0x151b93<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3bb1ba;}}class FootnotesPropertiesUI extends _0x37efa5{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1ccec8,_0x556a29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18435e}=this,{componentFactory:_0x3f5a65}=_0x18435e['ui'];_0x18435e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3f5a65['add']('footnotesStyle',function(_0xa6b88e){return _0x33fa23=>{const {t:t}=_0x33fa23,_0x568106=_0xa6b88e['commands']['get']('footnotesStyle'),_0x90f407=_0x2fda6e(_0x33fa23),{buttonView:_0x51235a}=_0x90f407;return _0x90f407['class']='ck-footnotes-styles-dropdown',_0x90f407['bind']('isEnabled')['to'](_0x568106,'isEnabled'),_0x51235a['set']({'label':t('Footnotes\x20style'),'icon':_0x2fde97,'tooltip':!0x0}),_0x90f407['once']('change:isOpen',()=>{const _0x4060a6=function({editor:_0x261e72,dropdownView:_0x216035}){const {t:t}=_0x261e72['locale'],_0x25d244=t('Footnotes\x20definitions\x20styles'),_0x3fee6e=function(_0x110364){const {t:t}=_0x110364['locale'],_0x1cce50=_0x110364['config']['get']('footnotes.footnotesProperties.listStyles'),_0x2d49f9=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x44f21c},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x5c188b},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x289a9f},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3fda92},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x54525b},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x323d3c},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x37b442}];return _0x1cce50['map'](_0x5cebdf=>{const _0x469e41=tt(_0x5cebdf),_0x5cc5a9=_0x2d49f9['find'](_0x3c36d5=>_0x3c36d5['style']===_0x469e41);return function(_0x56c647,_0x317a28){const {locale:_0x4aa72a}=_0x56c647,{label:_0x255db8,icon:_0x4cf489,tooltip:_0x3b806e,style:_0x29eb4f}=_0x317a28,_0x15e989=_0x56c647['commands']['get']('footnotesStyle'),_0x4d949c=new _0x3d4830(_0x4aa72a);return _0x4d949c['set']({'label':_0x255db8,'icon':_0x4cf489,'tooltip':_0x3b806e}),_0x4d949c['bind']('isOn')['to'](_0x15e989,'value',_0x5931e3=>_0x5931e3===_0x29eb4f),_0x4d949c['bind']('isEnabled')['to'](_0x15e989,'isEnabled'),_0x4d949c['on']('execute',()=>{_0x56c647['execute']('footnotesStyle',{'value':_0x29eb4f}),_0x56c647['editing']['view']['focus']();}),_0x4d949c;}(_0x110364,_0x5cc5a9);});}(_0x261e72),_0xf1063=new FootnotesDefinitionsPropertiesView(_0x261e72['locale'],{'styleGridAriaLabel':_0x25d244,'styleButtonViews':_0x3fee6e}),_0x56b7a2=_0x261e72['commands']['get']('footnotesStart');return _0xf1063['startIndexFieldView']['bind']('isEnabled')['to'](_0x56b7a2),_0xf1063['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x56b7a2),_0xf1063['on']('footnotesListStart',(_0xaf4923,_0x537664)=>{_0x261e72['execute']('footnotesStart',{'value':_0x537664['startIndex']});}),_0xf1063['delegate']('execute')['to'](_0x216035),_0xf1063;}({'editor':_0xa6b88e,'dropdownView':_0x90f407});_0x90f407['panelView']['children']['add'](_0x4060a6);}),_0x90f407;};}(_0x18435e));}['afterInit'](){const {editor:_0x1eeccc}=this,{t:t}=_0x1eeccc['locale'],_0x1c8712=_0x1eeccc['plugins']['get'](_0x556a29),{defaultPositions:_0x3f2795}=_0x2ba86c;_0x1c8712['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1eeccc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3d3841=>{let _0x14d6d5=_0x3d3841['getFirstPosition']()?.['parent'];return _0x14d6d5?.['is']('$text')&&(_0x14d6d5=_0x14d6d5['parent']),_0x14d6d5?.['is']('element')?_0x14d6d5['findAncestor'](M):null;},'positions':[_0x3f2795['southArrowNorth'],_0x3f2795['southArrowNorthMiddleWest'],_0x3f2795['southArrowNorthMiddleEast'],_0x3f2795['southArrowNorthWest'],_0x3f2795['southArrowNorthEast'],_0x3f2795['northArrowSouth'],_0x3f2795['northArrowSouthMiddleWest'],_0x3f2795['northArrowSouthMiddleEast'],_0x3f2795['northArrowSouthWest'],_0x3f2795['northArrowSouthEast'],_0x3f2795['viewportStickyNorth']]});}}class FootnotesProperties extends _0x37efa5{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x4e0044,Command as _0xbac26a}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3c8f38,isWidget as _0x2d1551,toWidgetEditable as _0x481830,WidgetToolbarRepository as _0x414c51}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x419fea,logWarning as _0x558ee7,FocusTracker as _0x2db61f,KeystrokeHandler as _0x874882,global as _0x4e0e80}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x53965f,ClickObserver as _0x5dd2e1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x35f7e9}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1167e1,ButtonView as _0x19bdb8,View as _0x246af1,ViewCollection as _0x156cf7,FocusCycler as _0x536775,addKeyboardHandlingForGrid as _0x48841b,CollapsibleView as _0x31f4a5,LabeledFieldView as _0x5d5650,createLabeledInputNumber as _0x3f518d,ContextualBalloon as _0x4480a2,BalloonPanelView as _0x4a8c41,createDropdown as _0x2de862}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xe2834b,IconListStyleDecimal as _0x55785f,IconListStyleDecimalLeadingZero as _0x483f0b,IconListStyleLowerRoman as _0x4c9739,IconListStyleUpperRoman as _0x1f2957,IconListStyleLowerLatin as _0x1068b3,IconListStyleUpperLatin as _0x3a0d53,IconListStyleArabicIndic as _0x1ca485}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2660c4,_0x3b53ad){this['_model']=_0x2660c4,this['_elementName']=_0x3b53ad['elementName'],this['_getElementKey']=_0x3b53ad['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x44002e){const _0x2f7a7a=new Set(),_0x24cde2=new Map();for(const _0x5ba37f of _0x44002e){if('insert'===_0x5ba37f['type']&&'$text'!==_0x5ba37f['name']&&_0x5ba37f['position']['nodeAfter']){const _0x1abf87=this['_model']['createRangeOn'](_0x5ba37f['position']['nodeAfter']);for(const _0x1e5ace of _0x1abf87['getItems']()){if(!_0x1e5ace['is']('element',this['_elementName']))continue;const _0x312ef7=this['_getElementKey'](_0x1e5ace);_0x24cde2['has'](_0x312ef7)||_0x24cde2['set'](_0x312ef7,[]),_0x24cde2['get'](_0x312ef7)['push'](_0x1e5ace);}}if('remove'===_0x5ba37f['type']&&_0x5ba37f['name']===this['_elementName']){const _0xbf2e3d=this['_getElementKey']({'getAttribute':_0xe4195e=>_0x5ba37f['attributes']['get'](_0xe4195e)});_0x2f7a7a['add'](_0xbf2e3d);}}for(const [_0x48b5ed,_0x48f192]of this['_trackedElements'])'$graveyard'===_0x48f192['root']['rootName']&&_0x2f7a7a['add'](_0x48b5ed);for(const _0x246661 of _0x2f7a7a)this['_trackedElements']['delete'](_0x246661);for(const [_0x3ba49d,_0xce43f6]of _0x24cde2)this['_trackedElements']['set'](_0x3ba49d,_0xce43f6[_0xce43f6['length']-0x1]);const _0x5997eb=new Set();for(const [_0x50c37d,_0x45fb34]of _0x24cde2)_0x2f7a7a['has'](_0x50c37d)&&(_0x5997eb['add'](_0x45fb34[0x0]),_0x45fb34['length']>0x1?_0x24cde2['set'](_0x50c37d,_0x45fb34['slice'](0x1)):_0x24cde2['delete'](_0x50c37d),_0x2f7a7a['delete'](_0x50c37d));return{'removed':Array['from'](_0x2f7a7a),'inserted':Array['from'](_0x24cde2['values']())['flat'](),'moved':Array['from'](_0x5997eb)};}}class FootnotesTracker extends _0x4e0044{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4963ae){super(_0x4963ae),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x14f030=>_0x14f030['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x243124=>_0x243124['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4d04cf}=this,{model:_0x6b8b07,data:_0x2494da}=_0x4d04cf;_0x6b8b07['document']['registerPostFixer'](_0x325ce2=>{const _0x190374=_0x6b8b07['document']['differ']['getChanges']();let _0x198f20=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x325ce2,_0x190374)&&(_0x198f20=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x325ce2,_0x190374)&&(_0x198f20=!0x0),this['_handleFootnoteReferencesChanges'](_0x325ce2,_0x190374)&&(_0x198f20=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x325ce2)&&(_0x198f20=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x325ce2)&&(_0x198f20=!0x0),this['_sortFootnoteDefinitions'](_0x325ce2)&&(_0x198f20=!0x0),_0x198f20;}),this['listenTo'](_0x6b8b07['document'],'change:data',()=>{_0x6b8b07['enqueueChange']({'isUndoable':!0x1},_0xcf6c00=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xcf6c00);});},{'priority':'low'}),this['listenTo'](_0x2494da,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5a350d){return this['_footnotes']['find'](_0x18cc6d=>_0x18cc6d['id']===_0x5a350d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x149e49){this['_footnoteFormatter']=_0x149e49;}['_updateFootnotesCounters'](_0x4dba08,_0xd52e2c=0x0){let _0x44871a=!0x1;for(let _0x4da64a=_0xd52e2c;_0x4da64a<this['_footnotes']['length'];_0x4da64a++)this['_updateFootnoteRefCounter'](_0x4dba08,_0x4da64a)&&(_0x44871a=!0x0);return _0x44871a;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3ff6cd,_0x2da6a7){const _0x35b3e4=_0x3ff6cd['createElement']('footnotesDefinitions',{});return _0x3ff6cd['append'](_0x35b3e4,_0x2da6a7),this['_footnotesDefinitions']=_0x35b3e4,_0x35b3e4;}['_ensureFootnotesDefinitionsContainerExists'](_0x16d4d9){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4a79d8=this['_footnotes'][0x0]['reference']['root'],_0x5459a7=this['_insertEmptyFootnotesDefinitionsContainer'](_0x16d4d9,_0x4a79d8);for(const _0x54a930 of this['_footnotes'])_0x54a930['definition']['parent']||_0x16d4d9['insert'](_0x54a930['definition'],_0x5459a7,'end');this['_updateFootnotesCounters'](_0x16d4d9);}['_handleFootnotesDefinitionsObjectChanges'](_0x13cb06,_0x25e91d){let _0x3d0b16=!0x1;const {inserted:_0x10302f,removed:_0x25133c,moved:_0x24af4e}=this['_footnoteDefsContainerTracker']['getChanges'](_0x25e91d);if(_0x24af4e['length']&&(this['_footnotesDefinitions']=_0x24af4e[0x0]),_0x10302f['length']){if(_0x10302f['length']>0x1||this['_footnotesDefinitions']&&_0x10302f['some'](_0x18456c=>_0x18456c!==this['_footnotesDefinitions'])){const _0x256143=_0x13cb06['createElement']('footnotesDefinitions',{}),_0x4cba7c=[];this['_footnotesDefinitions']&&_0x4cba7c['push'](this['_footnotesDefinitions']),_0x4cba7c['push'](..._0x10302f),_0x13cb06['insert'](_0x256143,_0x4cba7c[0x0],'before');for(const _0x1b33b4 of _0x4cba7c)_0x13cb06['move'](_0x13cb06['createRangeIn'](_0x1b33b4),_0x13cb06['createPositionAt'](_0x256143,'end')),_0x13cb06['remove'](_0x1b33b4);this['_footnotesDefinitions']=_0x256143,this['_updateFootnotesCounters'](_0x13cb06),_0x3d0b16=!0x0;}else this['_footnotesDefinitions']=_0x10302f[0x0];}if(_0x25133c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5ba98b of this['_footnotes'])_0x13cb06['remove'](_0x5ba98b['reference']),_0x3d0b16=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3d0b16;}['_handleFootnoteDefinitionsChanges'](_0x4626dc,_0xfa1dda){let _0x4e77da=!0x1;const _0x570ca0=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xf15d1e,moved:_0x4fffd1}=this['_footnoteDefsTracker']['getChanges'](_0xfa1dda);for(const _0xe832be of[..._0x4fffd1,..._0xf15d1e]){const _0x4152fd=_0xe832be['getAttribute']('footnoteId'),_0x2638fb=this['getFootnote'](_0x4152fd);_0x2638fb&&(_0x2638fb['definition']=_0xe832be),N(_0x4626dc,_0x570ca0,_0xe832be)&&(_0x4e77da=!0x0);}return _0x4e77da;}['_handleFootnoteReferencesChanges'](_0x5ba388,_0x41e9b0){let _0xdacce8=!0x1;const {removed:_0x23cd27,inserted:_0x5904ab,moved:_0xdc7812}=this['_footnoteRefsTracker']['getChanges'](_0x41e9b0);for(const _0x3b9c5b of _0x23cd27)this['_handleRemoveFootnoteReferenceById'](_0x5ba388,_0x3b9c5b)&&(_0xdacce8=!0x0);for(const _0x1afc11 of _0x5904ab)this['_handleInsertedFootnoteReference'](_0x5ba388,_0x1afc11)&&(_0xdacce8=!0x0);for(const _0x39a712 of _0xdc7812)this['_handleMovedFootnoteReference'](_0x5ba388,_0x39a712)&&(_0xdacce8=!0x0);return _0xdacce8;}['_handleFootnotesDefinitionsObjectSync'](_0x44f7c1){if(!this['_footnotesDefinitions'])return!0x1;let _0x4d59ad=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x56becb=[];for(const _0x60e053 of this['_footnotesDefinitions']['getChildren']()){const _0x37cc8e=_0x60e053['getAttribute']('footnoteId');this['getFootnote'](_0x37cc8e)||(_0x56becb['unshift'](_0x60e053),_0x4d59ad=!0x0);}for(const _0x71d6d1 of _0x56becb)_0x44f7c1['remove'](_0x71d6d1);}const _0x46d3ee=new Set(),_0x1b227c=[];for(const _0x38b049 of this['_footnotesDefinitions']['getChildren']()){const _0x276011=_0x38b049['getAttribute']('footnoteId');_0x46d3ee['has'](_0x276011)?(_0x1b227c['unshift'](_0x38b049),_0x4d59ad=!0x0):_0x46d3ee['add'](_0x276011);}for(const _0x83427c of _0x1b227c)_0x44f7c1['remove'](_0x83427c);return this['_footnotesDefinitions']['childCount']||(_0x44f7c1['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4d59ad=!0x0),_0x4d59ad;}['_handleInsertedFootnoteReference'](_0x377819,_0xbeb6a){if(this['_footnotes']['find'](_0x2d4dfd=>_0x2d4dfd['reference']===_0xbeb6a))return!0x1;let _0x45e773=!0x1;const _0x31e87a=_0xbeb6a['getAttribute']('footnoteId'),_0xbf22a0=this['_footnotes']['findIndex'](_0x40d0e3=>_0x40d0e3['id']===_0x31e87a);-0x1!==_0xbf22a0&&(_0x377819['remove'](this['_footnotes'][_0xbf22a0]['reference']),this['_footnotes']['splice'](_0xbf22a0,0x1),_0x45e773=!0x0);let _0x2bed7e=this['_footnotesDefinitions']?function(_0xef1feb,_0x35e9a8){for(const _0x5f084a of _0xef1feb['getChildren']())if(_0x5f084a['getAttribute']('footnoteId')===_0x35e9a8)return _0x5f084a;return null;}(this['_footnotesDefinitions'],_0x31e87a):null;_0x2bed7e||(_0x2bed7e=_0x377819['createElement']('footnoteDefinition',{'footnoteId':_0x31e87a}),this['_footnotesDefinitions']&&(_0x377819['insert'](_0x2bed7e,this['_footnotesDefinitions'],'end'),_0x45e773=!0x0));const _0x4d1502={'id':_0x31e87a,'reference':_0xbeb6a,'definition':_0x2bed7e},_0x2b2c16=R(this['editor']['model'],this['_footnotes'],_0xbeb6a);this['_footnotes']['splice'](_0x2b2c16,0x0,_0x4d1502);let _0x448424=_0x2b2c16;return-0x1!==_0xbf22a0&&(_0x448424=Math['min'](_0x2b2c16,_0xbf22a0)),this['_updateFootnotesCounters'](_0x377819,_0x448424)&&(_0x45e773=!0x0),_0x45e773;}['_handleRemoveFootnoteReferenceById'](_0x665895,_0x68b71a){const _0x3b74fa=this['_footnotes']['findIndex'](_0x4e2b63=>_0x4e2b63['id']===_0x68b71a);if(-0x1===_0x3b74fa)return!0x1;let _0x64463b=!0x1;const _0x2e43d6=this['_footnotes'][_0x3b74fa];return'$graveyard'!==_0x2e43d6['definition']['root']['rootName']&&(_0x665895['remove'](_0x2e43d6['definition']),_0x64463b=!0x0),this['_footnotes']['splice'](_0x3b74fa,0x1),this['_updateFootnotesCounters'](_0x665895,_0x3b74fa)&&(_0x64463b=!0x0),_0x64463b;}['_handleMovedFootnoteReference'](_0x324c75,_0xf29445){const _0x147089=_0xf29445['getAttribute']('footnoteId'),_0xc9d544=this['_footnotes']['findIndex'](_0x415261=>_0x415261['id']===_0x147089),_0x3a1dab=this['_footnotes'][_0xc9d544];let _0x1a884b=!0x1;_0x3a1dab['reference']=_0xf29445,this['_footnotes']['splice'](_0xc9d544,0x1);const _0x33e596=R(this['editor']['model'],this['_footnotes'],_0xf29445);return this['_footnotes']['splice'](_0x33e596,0x0,_0x3a1dab),this['_updateFootnotesCounters'](_0x324c75,Math['min'](_0xc9d544,_0x33e596))&&(_0x1a884b=!0x0),_0x1a884b;}['_updateFootnoteRefCounter'](_0x194e48,_0x2d7dec){if(!this['_footnotesDefinitions'])return!0x1;const _0x3f3984=this['_footnotes'][_0x2d7dec];let _0x29367e;return _0x29367e=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3f3984,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2d7dec+0x1}):String(_0x2d7dec+0x1),_0x3f3984['reference']['getAttribute']('footnoteCounter')!=_0x29367e&&(_0x194e48['setAttribute']('footnoteCounter',_0x29367e,_0x3f3984['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x68d291){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x29af58,_0xd7bc85){if(_0x29af58['length']!==_0xd7bc85['length'])return!0x1;for(let _0x254eb9=0x0;_0x254eb9<_0x29af58['length'];_0x254eb9++)if(_0x29af58[_0x254eb9]!==_0xd7bc85[_0x254eb9])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x11f03f=>_0x11f03f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xc57b35=>_0xc57b35['getAttribute']('footnoteId'))))return!0x1;let _0x2f64a3=!0x1;for(let _0x261a8e=0x0;_0x261a8e<this['_footnotes']['length'];_0x261a8e++){const _0x3d7f96=this['_footnotes'][_0x261a8e],_0x187ff8=_0x68d291['createPositionBefore'](_0x3d7f96['definition']),_0x7e8ecd=_0x68d291['createPositionAt'](this['_footnotesDefinitions'],_0x261a8e);_0x187ff8['isEqual'](_0x7e8ecd)||(_0x68d291['move'](_0x68d291['createRangeOn'](_0x3d7f96['definition']),_0x7e8ecd),_0x2f64a3=!0x0);}return _0x2f64a3;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3f596f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4d5926}=this['editor'];let _0x282cdb=!0x1;for(let _0x50d973=0x0;_0x50d973<this['_footnotes']['length']-0x1;_0x50d973++){const _0x4aca50=this['_footnotes'][_0x50d973],_0x2ddf71=this['_footnotes'][_0x50d973+0x1],_0x59f4df=_0x4d5926['createPositionBefore'](_0x4aca50['reference']),_0x4983d7=_0x4d5926['createPositionBefore'](_0x2ddf71['reference']);'after'===_0x59f4df['compareWith'](_0x4983d7)&&(this['_handleMovedFootnoteReference'](_0x3f596f,_0x4aca50['reference']),_0x50d973=-0x1,_0x282cdb=!0x0);}return _0x282cdb;}}function N(_0x232846,_0x445230,_0x55f915){if(_0x55f915['childCount'])return!0x1;const _0x14c656=_0x445230?'paragraph':'footnoteInlineContent';return _0x232846['insert'](_0x232846['createElement'](_0x14c656),_0x55f915),!0x0;}function R(_0x535122,_0x2f6189,_0x478be3){if(0x0===_0x2f6189['length'])return 0x0;const _0x20f007=_0x535122['createPositionBefore'](_0x478be3);for(let _0x35351a=0x0;_0x35351a<_0x2f6189['length'];_0x35351a++){const _0x270d3c=_0x2f6189[_0x35351a],_0x41e132=_0x535122['createPositionBefore'](_0x270d3c['reference']);if('before'===_0x20f007['compareWith'](_0x41e132))return _0x35351a;}const _0x30d0c6=_0x478be3['root'];let _0x37af55=-0x1;for(let _0x285f14=_0x2f6189['length']-0x1;_0x285f14>=0x0;_0x285f14--)if(_0x2f6189[_0x285f14]['reference']['root']===_0x30d0c6){_0x37af55=_0x285f14;break;}if(-0x1!==_0x37af55)return _0x37af55+0x1;const _0x4d9207=_0x535122['document']['getRootNames'](),_0x3056aa=_0x4d9207['indexOf'](_0x30d0c6['rootName']),_0x43e1db=_0x4d9207[_0x3056aa+0x1];if(_0x43e1db){for(let _0x51ae35=0x0;_0x51ae35<_0x2f6189['length'];_0x51ae35++)if(_0x2f6189[_0x51ae35]['reference']['root']['rootName']===_0x43e1db)return _0x51ae35;}return _0x2f6189['length'];}class InsertFootnoteCommand extends _0xbac26a{['refresh'](){const _0x5ed3d9=this['editor']['model']['document']['selection'],_0x14c990=this['_getPositionToInsertFootnote'](_0x5ed3d9);this['isEnabled']=!!_0x14c990;}['execute'](_0xeec0a5){const {editor:_0x3db983}=this,{model:_0xf6a5a3}=_0x3db983,{selection:_0x4ec71f}=_0xf6a5a3['document'],_0xe8e7c5=this['_getPositionToInsertFootnote'](_0x4ec71f);if(!_0xe8e7c5)return;const _0x221de9=_0x3db983['plugins']['get']('FootnotesEditing'),_0x1d4bba=_0xeec0a5?.['footnoteId']??_0x419fea();!function(_0x1d3a85){return'string'==typeof _0x1d3a85&&_0x1d3a85['length']>0x0&&!/\s/['test'](_0x1d3a85)&&!/^\d/['test'](_0x1d3a85);}(_0x1d4bba)?_0x558ee7('insert-footnote-command-executed-with-invalid-id'):(_0xf6a5a3['change'](_0x58144e=>{const _0x193e8e=_0x58144e['createElement']('footnoteRef',{'footnoteId':_0x1d4bba});_0xf6a5a3['insertObject'](_0x193e8e,_0xe8e7c5,null);}),_0x221de9['_moveSelectionToFootnoteDefinition'](_0x1d4bba));}['_getPositionToInsertFootnote'](_0x3a0d14){const {model:_0x154204}=this['editor'],{schema:_0x568240}=_0x154204,_0x2fd3c8=_0x3a0d14['getFirstRange']();for(const _0x3dcb72 of _0x2fd3c8['getItems']())if(_0x568240['isBlock'](_0x3dcb72)||_0x568240['isObject'](_0x3dcb72))return null;const _0x18ad90=_0x2fd3c8['end'];return _0x568240['checkChild'](_0x18ad90,'footnoteRef')?_0x18ad90:null;}}class FootnotesEditing extends _0x4e0044{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35bcc4}=this;_0x35bcc4['config']['define']('footnotes.multiBlock',!0x0),_0x35bcc4['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x35bcc4)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x44c8ce){const _0x5de66a=_0x31a066([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x5b0f08=0x47a28506,_0x276708=0x47a50ebe^_0x5b0f08,_0x599197=window[_0x31a066([0x44,0x61,0x74,0x65])][_0x31a066([0x6e,0x6f,0x77])](),_0x382233=_0x44c8ce[_0x31a066([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11f5df=new window[(_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13d690=>{_0x382233[_0x31a066([0x6f,0x6e,0x63,0x65])](_0x31a066([0x72,0x65,0x61,0x64,0x79]),_0x13d690);}),_0x47031d={[_0x31a066([0x6b,0x74,0x79])]:_0x31a066([0x45,0x43]),[_0x31a066([0x75,0x73,0x65])]:_0x31a066([0x73,0x69,0x67]),[_0x31a066([0x63,0x72,0x76])]:_0x31a066([0x50,0x2d,0x32,0x35,0x36]),[_0x31a066([0x78])]:_0x31a066([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x31a066([0x79])]:_0x31a066([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x31a066([0x61,0x6c,0x67])]:_0x31a066([0x45,0x53,0x32,0x35,0x36])},_0x390257=_0x382233[_0x31a066([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31a066([0x67,0x65,0x74])](_0x31a066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f6758(){let _0x5f2620,_0x3cd692=null,_0x569119=null;try{if(_0x390257==_0x31a066([0x47,0x50,0x4c]))return _0x31a066([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f2620=_0x376387(),!_0x5f2620)return _0x31a066([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f2620[_0x31a066([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x569119=_0x1909bc(_0x5f2620[_0x31a066([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f2620[_0x31a066([0x6a,0x74,0x69])])),await _0x5ade2b()?_0x5802c4()?_0x2f4bb8()?_0x31a066([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x308677()?(_0x5f2620[_0x31a066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31a066([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cd692=_0x335de2(_0x31a066([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5f6683()):_0x31a066([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31a066([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31a066([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31a066([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f4bb8(){const _0x473049=[_0x31a066([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31a066([0x74,0x72,0x69,0x61,0x6c])][_0x31a066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2620[_0x31a066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x599197/0x3e8:0xe10*_0x276708;return _0x5f2620[_0x31a066([0x65,0x78,0x70])]<_0x473049;}function _0x5802c4(){const _0x51dfcc=_0x5f2620[_0x31a066([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51dfcc&&(!!_0x51dfcc[_0x31a066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31a066([0x2a]))||!!_0x51dfcc[_0x31a066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31a066([0x46,0x4f,0x4f])));}function _0x308677(){const _0x37b0aa=_0x5f2620[_0x31a066([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b0aa||0x0==_0x37b0aa[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x287797}=new URL(window[_0x31a066([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37b0aa[_0x31a066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x287797))return!0x0;const _0x3d3dff=_0x287797[_0x31a066([0x73,0x70,0x6c,0x69,0x74])](_0x31a066([0x2e]));return _0x37b0aa[_0x31a066([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1df36b=>_0x1df36b[_0x31a066([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31a066([0x2a])))[_0x31a066([0x6d,0x61,0x70])](_0x543866=>_0x543866[_0x31a066([0x73,0x70,0x6c,0x69,0x74])](_0x31a066([0x2e])))[_0x31a066([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29eed1=>_0x29eed1[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d3dff[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31a066([0x6d,0x61,0x70])](_0x23d5ce=>Array(_0x3d3dff[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23d5ce[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31a066([0x66,0x69,0x6c,0x6c])](_0x23d5ce[0x0]===_0x31a066([0x2a])?_0x31a066([0x2a]):'')[_0x31a066([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23d5ce))[_0x31a066([0x73,0x6f,0x6d,0x65])](_0x723b90=>_0x3d3dff[_0x31a066([0x65,0x76,0x65,0x72,0x79])]((_0x52b111,_0x10a055)=>_0x723b90[_0x10a055]===_0x52b111||_0x723b90[_0x10a055]===_0x31a066([0x2a])));}function _0x5f6683(){return _0x3cd692&&_0x569119?new window[(_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bc186,_0x16aa0d)=>{_0x3cd692[_0x31a066([0x74,0x68,0x65,0x6e])](_0x5bc186,_0x16aa0d),_0x569119[_0x31a066([0x74,0x68,0x65,0x6e])](_0x4f07fa=>{_0x4f07fa!=_0x31a066([0x56,0x61,0x6c,0x69,0x64])&&_0x5bc186(_0x4f07fa);},_0x16aa0d);}):_0x3cd692||_0x569119||_0x31a066([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1909bc(_0x5a995c,_0x43cf4d){return new window[(_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b5069=>{if(_0x22b753())return _0x2b5069(_0x31a066([0x56,0x61,0x6c,0x69,0x64]));_0x3d67f0(),_0x382233[_0x31a066([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31a066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x203502=!0x1;const _0x3e7ccd=_0x419fea();function _0x40ff94(_0x32e6b3){return!!_0x32e6b3&&(typeof _0x32e6b3===_0x31a066([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x32e6b3===_0x31a066([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x32e6b3[_0x31a066([0x74,0x68,0x65,0x6e])]===_0x31a066([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x32e6b3[_0x31a066([0x63,0x61,0x74,0x63,0x68])]===_0x31a066([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5107ff(_0x19dca9){_0x15ac81(_0x19dca9)[_0x31a066([0x74,0x68,0x65,0x6e])](_0x214abf=>{if(!_0x214abf||_0x214abf[_0x31a066([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31a066([0x6f,0x6b]))return _0x31a066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x486ef9(_0x5e3c05(_0x3e7ccd+_0x43cf4d))!=_0x214abf[_0x31a066([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31a066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31a066([0x56,0x61,0x6c,0x69,0x64]);})[_0x31a066([0x74,0x68,0x65,0x6e])](_0x13f35c=>(_0xa89b2e(),_0x13f35c),()=>{const _0x419df2=_0x5a4322();return null==_0x419df2?(_0xa89b2e(),_0x31a066([0x56,0x61,0x6c,0x69,0x64])):_0x31a066(_0x599197-_0x419df2>(0x63ae0106^_0x5b0f08)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31a066([0x74,0x68,0x65,0x6e])](_0x2b5069)[_0x31a066([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b5069(_0x31a066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x556f57=0x47946b86^_0x5b0f08;function _0xa89b2e(){const _0x5594df=_0x31a066([0x6c,0x6c,0x63,0x74,0x2d])+_0x486ef9(_0x5e3c05(_0x5a995c)),_0x512e3b=_0x36e453(_0x486ef9(window[_0x31a066([0x4d,0x61,0x74,0x68])][_0x31a066([0x63,0x65,0x69,0x6c])](_0x599197/_0x556f57)));window[_0x31a066([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31a066([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5594df,_0x512e3b);}function _0x5a4322(){const _0x470957=_0x31a066([0x6c,0x6c,0x63,0x74,0x2d])+_0x486ef9(_0x5e3c05(_0x5a995c)),_0x36eba5=window[_0x31a066([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31a066([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x470957);return _0x36eba5?window[_0x31a066([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36e453(_0x36eba5),0x10)*_0x556f57:null;}function _0x15ac81(_0x50f402){return new window[(_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x184c2d,_0x925654)=>{_0x50f402[_0x31a066([0x74,0x68,0x65,0x6e])](_0x184c2d,_0x925654),window[_0x31a066([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x925654,0x47a351c6^_0x5b0f08);});}}_0x382233[_0x31a066([0x6f,0x6e])](_0x31a066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xba1db0,_0x4f4e50)=>{if(_0x4f4e50[0x0]!=_0x5a995c)return _0x2b5069(_0x31a066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f4e50[0x1]={..._0x4f4e50[0x1],[_0x31a066([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e7ccd};},{[_0x31a066([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31a066([0x68,0x69,0x67,0x68])}),_0x382233[_0x31a066([0x6f,0x6e])](_0x31a066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ea7cf=>{_0x40ff94(_0x1ea7cf[_0x31a066([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x203502=!0x0,_0x5107ff(_0x1ea7cf[_0x31a066([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31a066([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31a066([0x6c,0x6f,0x77])}),_0x11f5df[_0x31a066([0x74,0x68,0x65,0x6e])](()=>{_0x203502||_0x2b5069(_0x31a066([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22b753(){return _0x382233[_0x31a066([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31a066([0x76,0x69,0x65,0x77])][_0x31a066([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31a066([0x61,0x75,0x74,0x6f]);}function _0x3d67f0(){_0x382233[_0x31a066([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31a066([0x76,0x69,0x65,0x77])][_0x31a066([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31a066([0x61,0x75,0x74,0x6f]);}}function _0x335de2(_0x9a5bac){const _0x2df6a2=[new window[(_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a86fe=>setTimeout(_0x4a86fe,0x47abbbca^_0x5b0f08)),_0x11f5df[_0x31a066([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33cc5d=>{let _0x1abf21=0x0;_0x382233[_0x31a066([0x6d,0x6f,0x64,0x65,0x6c])][_0x31a066([0x6f,0x6e])](_0x31a066([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bc049,_0x578725)=>{_0x578725[0x0][_0x31a066([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1abf21++,_0x1abf21==(0x47a280ee^_0x5b0f08)&&(_0x33cc5d(),_0x5bc049[_0x31a066([0x6f,0x66,0x66])]());});}))];return window[_0x31a066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31a066([0x72,0x61,0x63,0x65])](_0x2df6a2)[_0x31a066([0x74,0x68,0x65,0x6e])](()=>_0x9a5bac);}async function _0x12738c(){await _0x11f5df,_0x382233[_0x31a066([0x6d,0x6f,0x64,0x65,0x6c])][_0x31a066([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cfb74,_0x382233[_0x31a066([0x6d,0x6f,0x64,0x65,0x6c])][_0x31a066([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cfb74,_0x382233[_0x31a066([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31a066([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x196328(_0x347886){const _0xdc2b8b=_0x397ea1();_0x382233[_0xdc2b8b]=_0x31a066([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x347886,_0x347886!=_0x31a066([0x56,0x61,0x6c,0x69,0x64])&&_0x12738c();}function _0x397ea1(){const _0x1f1700=window[_0x31a066([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31a066([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31a066([0x6e,0x6f,0x77])]())[_0x31a066([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31a066([0x2e]),'');let _0x2f4733=_0x31a066([0x75]);for(let _0x5e9aff=0x0;_0x5e9aff<_0x1f1700[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e9aff+=0x2){let _0x595434=window[_0x31a066([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f1700[_0x31a066([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e9aff,_0x5e9aff+0x2));_0x595434>=_0x5de66a[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x595434-=_0x5de66a[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f4733+=_0x5de66a[_0x595434];}return _0x2f4733;}function _0x376387(){const _0x33cc61=_0x390257[_0x31a066([0x73,0x70,0x6c,0x69,0x74])](_0x31a066([0x2e]));if(0x3!=_0x33cc61[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e30bd(_0x33cc61[0x1]);function _0x1e30bd(_0x25c10c){const _0x2761d9=_0x4f1aef(_0x25c10c);return _0x2761d9&&_0x22fc54()?_0x2761d9:null;function _0x22fc54(){const _0x3faeec=_0x2761d9[_0x31a066([0x6a,0x74,0x69])],_0x398941=window[_0x31a066([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3faeec[_0x31a066([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3faeec[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50877a={..._0x2761d9,[_0x31a066([0x6a,0x74,0x69])]:_0x3faeec[_0x31a066([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3faeec[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50877a[_0x31a066([0x76,0x63])],_0x5e3c05(_0x50877a)==_0x398941;}}}async function _0x5ade2b(){let _0x5a0176=!0x0;try{const _0x334c64=_0x390257[_0x31a066([0x73,0x70,0x6c,0x69,0x74])](_0x31a066([0x2e])),[_0x48704a,_0x17b72a,_0x48d75a]=_0x334c64;return _0x204888(_0x48704a),await _0x4f87c9(_0x48704a,_0x17b72a,_0x48d75a),_0x5a0176;}catch{return!0x1;}function _0x204888(_0x299d58){const _0x4295c7=_0x4f1aef(_0x299d58);_0x4295c7&&_0x4295c7[_0x31a066([0x61,0x6c,0x67])]==_0x31a066([0x45,0x53,0x32,0x35,0x36])||(_0x5a0176=!0x1);}async function _0x4f87c9(_0x55a730,_0x109c22,_0x12c5f8){const _0x4b6632=window[_0x31a066([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31a066([0x66,0x72,0x6f,0x6d])](_0x25a7c7(_0x12c5f8),_0x2d8d3a=>_0x2d8d3a[_0x31a066([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x40aa91=new window[(_0x31a066([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31a066([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55a730+_0x31a066([0x2e])+_0x109c22),_0x7a5267=window[_0x31a066([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31a066([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7a5267)return;const _0x5a93cf=await _0x7a5267[_0x31a066([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31a066([0x6a,0x77,0x6b]),_0x47031d,{[_0x31a066([0x6e,0x61,0x6d,0x65])]:_0x31a066([0x45,0x43,0x44,0x53,0x41]),[_0x31a066([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31a066([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31a066([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7a5267[_0x31a066([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31a066([0x6e,0x61,0x6d,0x65])]:_0x31a066([0x45,0x43,0x44,0x53,0x41]),[_0x31a066([0x68,0x61,0x73,0x68])]:{[_0x31a066([0x6e,0x61,0x6d,0x65])]:_0x31a066([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a93cf,_0x4b6632,_0x40aa91)||(_0x5a0176=!0x1);}}function _0x4f1aef(_0x20acd3){return _0x20acd3[_0x31a066([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31a066([0x65,0x79]))?JSON[_0x31a066([0x70,0x61,0x72,0x73,0x65])](_0x25a7c7(_0x20acd3)):null;}function _0x25a7c7(_0x3e4684){return window[_0x31a066([0x61,0x74,0x6f,0x62])](_0x3e4684[_0x31a066([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31a066([0x2b]))[_0x31a066([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31a066([0x2f])));}function _0x5e3c05(_0x54b85c){let _0x546b18=0x1505;function _0x4aabb6(_0x268b1c){for(let _0xe1ecec=0x0;_0xe1ecec<_0x268b1c[_0x31a066([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe1ecec++){const _0x57b55f=_0x268b1c[_0x31a066([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe1ecec);_0x546b18=(_0x546b18<<0x5)+_0x546b18+_0x57b55f,_0x546b18&=_0x546b18;}}function _0x21fa69(_0xe816a0){Array[_0x31a066([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe816a0)?_0xe816a0[_0x31a066([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21fa69):_0xe816a0&&typeof _0xe816a0==_0x31a066([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31a066([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe816a0)[_0x31a066([0x73,0x6f,0x72,0x74])]()[_0x31a066([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x270084,_0x3fb3fa])=>{_0x4aabb6(_0x270084),_0x21fa69(_0x3fb3fa);}):_0x4aabb6(window[_0x31a066([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe816a0));}return _0x21fa69(_0x54b85c),_0x546b18>>>0x0;}function _0x486ef9(_0x3ccbe5){return _0x3ccbe5[_0x31a066([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31a066([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31a066([0x30]));}function _0x36e453(_0x42d742){return _0x42d742[_0x31a066([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31a066([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31a066([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cfb74(){}function _0x31a066(_0x27a7b7){return _0x27a7b7['map'](_0x2971fd=>String['fromCharCode'](_0x2971fd))['join']('');}_0x196328(await _0x1f6758());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3ac17f){const {plugins:_0x1fa55b,editing:_0x53998c,model:_0x1403a1}=this['editor'],_0x13f88e=_0x1fa55b['get'](FootnotesTracker)['getFootnote'](_0x3ac17f);return!!_0x13f88e&&(_0x1403a1['change'](_0x8265b5=>{_0x8265b5['setSelection'](_0x8265b5['createPositionAt'](_0x13f88e['definition'],'end'));}),_0x53998c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1d7e8c){const {plugins:_0x336981,editing:_0x251002,model:_0x3ebba9}=this['editor'],_0x41dd9f=_0x336981['get'](FootnotesTracker)['getFootnote'](_0x1d7e8c);return!!_0x41dd9f&&(_0x3ebba9['change'](_0x1e98ee=>{_0x1e98ee['setSelection'](_0x41dd9f['reference'],'on');}),_0x251002['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x52ccf3}=this['editor']['model'],_0x27f909=this['editor']['config']['get']('footnotes.multiBlock');_0x52ccf3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x52ccf3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x52ccf3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x27f909?_0x52ccf3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x52ccf3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x52ccf3['addChildCheck'](_0x2aa4c0=>{for(const _0x526596 of _0x2aa4c0)if('footnoteDefinition'===_0x526596['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x39242c}=this,{conversion:_0x506de5,editing:_0x1ffddc}=_0x39242c,{t:t}=_0x39242c['locale'];_0x506de5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4b7928,{writer:_0x20ea95,consumable:_0x1a2df1})=>{const _0x357adf=_0x4b7928['getChild'](0x0);if(!_0x357adf||!_0x357adf['is']('element','a'))return null;const _0x35132f=_0x357adf['getAttribute']('href')||'';if(!_0x35132f['startsWith']('#'))return null;const _0xe623f6=_0x35132f['replace'](/^#/,'');if(!_0xe623f6)return null;_0x1a2df1['consume'](_0x357adf,{'name':!0x0,'attributes':['href']});for(const {item:_0x52303c}of _0x1ffddc['view']['createRangeIn'](_0x357adf))_0x52303c['is']('$textProxy')?_0x1a2df1['consume'](_0x52303c['textNode'],{'name':!0x0}):_0x52303c['is']('element')&&_0x1a2df1['consume'](_0x52303c,{'name':!0x0});return _0x20ea95['createElement']('footnoteRef',{'footnoteId':_0xe623f6});}}),_0x506de5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ff813,{writer:_0x276106})=>U(_0x2ff813,_0x276106)}),_0x506de5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1a9a5a,{writer:_0x462c09})=>{const _0x5a0e1c=_0x1a9a5a['getAttribute']('footnoteCounter');return _0x3c8f38(U(_0x1a9a5a,_0x462c09),_0x462c09,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5a0e1c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5b7755}=this,{t:t}=_0x5b7755['locale'],{conversion:_0x4231cb}=_0x5b7755;_0x4231cb['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4231cb['for']('upcast')['add'](_0x40707b=>{_0x40707b['on']('element:ol',(_0x444e6e,_0x3bb162,_0x113293)=>{const _0x360ba5=_0x3bb162['viewItem'];if(!_0x360ba5['hasClass']('footnotes-list')||!_0x3bb162['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x113293['consumable']['consume'](_0x360ba5,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x465369,modelCursor:_0x27bf63}=_0x113293['convertChildren'](_0x3bb162['viewItem'],_0x3bb162['modelCursor']);_0x3bb162['modelRange']=_0x465369,_0x3bb162['modelCursor']=_0x27bf63;}),_0x40707b['on']('element:hr',(_0xbf9c55,_0x47bee2,_0x371774)=>{const _0x36df30=_0x47bee2['viewItem'];_0x36df30['hasClass']('footnotes-divider')&&_0x47bee2['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x371774['consumable']['consume'](_0x36df30,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4231cb['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x120931,{writer:_0x464263})=>$(_0x464263)}),_0x4231cb['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xd3a8e9,{writer:_0x25150a})=>{const _0x4bc34f=$(_0x25150a,{'data-footnotes-list-label':t('Footnotes')}),_0x20c98b=_0x3c8f38(_0x4bc34f,_0x25150a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x25150a['setCustomProperty']('footnotesDefinitions',!0x0,_0x20c98b),_0x20c98b;}});}['_defineDefinitionConverters'](){const {editor:_0x4f6cca}=this,{conversion:_0x384605,locale:_0x372147}=_0x4f6cca,_0x256f95=_0x4f6cca['config']['get']('footnotes.multiBlock');_0x384605['for']('upcast')['add'](_0x27bf3a=>{_0x27bf3a['on']('element:li',(_0x545d44,_0x3dccd1,_0x2f6504)=>{const _0x1f54df=_0x3dccd1['viewItem'];if(!_0x1f54df['hasClass']('footnote-definition')||!_0x1f54df['getAttribute']('id'))return;const _0x454a12=_0x1f54df['parent'];if(!_0x454a12['is']('element','ol')||!_0x454a12['hasClass']('footnotes-list'))return;if(!_0x2f6504['consumable']['test'](_0x1f54df,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x349ffc=_0x2f6504['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1f54df['getAttribute']('id')});if(!_0x2f6504['safeInsert'](_0x349ffc,_0x3dccd1['modelCursor']))return;_0x2f6504['consumable']['consume'](_0x1f54df,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3cad6f=Array['from'](_0x1f54df['getChildren']())['find'](_0x1329e8=>_0x1329e8['is']('element')&&_0x1329e8['hasClass']('footnote-content'));for(const _0x685202 of _0x1f54df['getChildren']())_0x685202['is']('element')&&(_0x2f6504['consumable']['consume'](_0x685202,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2f6504['consumable']['consume'](_0x685202,{'name':!0x0,'classes':'footnote-content'}));if(_0x3cad6f){if(_0x256f95)_0x2f6504['convertChildren'](_0x3cad6f,_0x349ffc);else{const _0x23b6a1=_0x2f6504['writer']['createElement']('footnoteInlineContent');_0x2f6504['writer']['insert'](_0x23b6a1,_0x349ffc),_0x2f6504['convertChildren'](_0x3cad6f,_0x23b6a1);}}_0x2f6504['updateConversionResult'](_0x349ffc,_0x3dccd1);});}),_0x384605['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x79b353,{writer:_0x2f308f})=>B(_0x79b353,_0x2f308f,_0x372147,{'dataPipeline':!0x0})}),_0x384605['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x744966,{writer:_0x4a9bc8})=>B(_0x744966,_0x4a9bc8,_0x372147)});}['_defineBogusParagraphConverters'](){const {editor:_0x447636}=this,{conversion:_0x2411b8}=_0x447636;_0x447636['config']['get']('footnotes.multiBlock')?(_0x2411b8['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0x2411b8['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x447636['model']['document'],'change:data',()=>{!function(_0x433c4e,_0x54c644){const _0x193021=_0x433c4e['document']['differ'],_0x2a7df1=new Set();for(const _0x5b6dfc of _0x193021['getChanges']()){const _0xc7852a='attribute'==_0x5b6dfc['type']?_0x5b6dfc['range']['start']['parent']:_0x5b6dfc['position']['parent'];_0xc7852a['is']('element','footnoteDefinition')&&_0x2a7df1['add'](_0xc7852a);}for(const _0xc623c2 of _0x2a7df1['values']()){const _0x5f1212=Array['from'](_0xc623c2['getChildren']())['filter'](_0x4dba02=>V(_0x4dba02,_0x54c644['mapper']));for(const _0x49a5de of _0x5f1212)_0x54c644['reconvertItem'](_0x49a5de);}}(_0x447636['model'],_0x447636['editing']);})):(_0x2411b8['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0x2411b8['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3d5487,{writer:_0x4fff0a})=>{const _0x4851c2=_0x4fff0a['createContainerElement']('span');return _0x4fff0a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4851c2),_0x4851c2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x33a225}=this,{editing:_0x19ec78,t:t}=_0x33a225,_0x272f3d=_0x33a225['model']['document']['selection'];_0x33a225['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x33a225['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x19ec78['view']['document'],'enter',(_0x2d0abf,_0xbf4a08)=>{const _0x1caef7=function(_0x3179e8){const _0x420045=_0x3179e8['getSelectedElement']();if(_0x420045?.['is']('element','footnoteRef'))return _0x420045;return null;}(_0x272f3d);if(_0x1caef7){const _0xf12826=_0x1caef7['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xf12826),_0xbf4a08['preventDefault'](),_0x2d0abf['stop']();}},{'context':_0x2d1551});}['_defineClickHandlers'](){const {editor:_0x2ec40a}=this,{editing:_0x43bb9b}=_0x2ec40a;_0x2ec40a['editing']['view']['addObserver'](_0x53965f),_0x2ec40a['editing']['view']['addObserver'](_0x5dd2e1);let _0x49ab9d=!0x1;this['listenTo'](_0x43bb9b['view']['document'],'pointerdown',(_0x2a645e,_0x5ec3f3)=>{const {target:_0x565c48}=_0x5ec3f3,_0x42b508=_0x43bb9b['view']['document']['selection'];_0x49ab9d=!!(_0x565c48?.['is']('element','a')&&_0x565c48['parent']?.['is']('element','sup')&&_0x565c48['parent']['hasClass']('footnote'))&&_0x42b508['getSelectedElement']()===_0x565c48['parent'];},{'priority':'high'}),this['listenTo'](_0x43bb9b['view']['document'],'click',(_0x3c9916,_0x361f09)=>{const {target:_0x588a46}=_0x361f09;if(!_0x588a46?.['is']('element','a'))return;if(_0x588a46['parent']?.['is']('element','sup')&&_0x588a46['parent']['hasClass']('footnote')&&!_0x49ab9d)return void _0x361f09['preventDefault']();let _0x54af71=_0x588a46['getAttribute']('href');if(!_0x54af71?.['startsWith']('#'))return;_0x54af71=_0x54af71['slice'](0x1);let _0x22d235=!0x1;(_0x54af71['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x54af71['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x54af71))&&(_0x22d235=!0x0),_0x22d235&&(_0x361f09['preventDefault'](),_0x3c9916['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x44ec0d}={}){return(_0x5f1168,{writer:_0x4b660d})=>{if(!j(_0x5f1168))return null;if(!_0x44ec0d)return _0x4b660d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x338250=_0x4b660d['createContainerElement']('p');return _0x4b660d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x338250),_0x338250;};}function j(_0x8fd194){const {parent:_0x39cd6a}=_0x8fd194;if(!_0x39cd6a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x39cd6a['childCount'])return!0x1;for(const _0x3b759d of _0x8fd194['getAttributeKeys']())if(!_0x3b759d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3b759d)return!0x1;return!0x0;}function V(_0xd03b60,_0x419a93){if(!_0xd03b60['is']('element','paragraph'))return!0x1;const _0x116605=_0x419a93['toViewElement'](_0xd03b60);return!!_0x116605&&j(_0xd03b60)!==_0x116605['is']('element','span');}function M(_0x580148){return _0x2d1551(_0x580148)&&_0x580148['is']('containerElement')&&!!_0x580148['getCustomProperty']('footnotesDefinitions');}function $(_0x8c6aba,_0x346f00={}){const _0xea865c=_0x8c6aba['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x206483=_0x8c6aba['createContainerElement']('ol',{'class':'footnotes-list'},_0x8c6aba['createSlot']());return _0x8c6aba['createContainerElement']('div',{'class':'footnotes',..._0x346f00},[_0xea865c,_0x206483]);}function U(_0x2dd5cd,_0x5c1b6a){const _0x5e8366=_0x2dd5cd['getAttribute']('footnoteId'),_0x5f597f=_0x2dd5cd['getAttribute']('footnoteCounter'),_0x3ea784=_0x5c1b6a['createUIElement']('a',{'href':'#'+_0x5e8366},function(_0x4a4bea){const _0x373b05=this['toDomElement'](_0x4a4bea);return _0x373b05['textContent']=_0x5f597f,_0x373b05;}),_0x31fdb3=_0x5c1b6a['createContainerElement']('sup',{'id':'ref-'+_0x5e8366,'class':'footnote'},[_0x3ea784]);return _0x31fdb3['getFillerOffset']=()=>null,_0x31fdb3;}function B(_0x269b22,_0x3681ed,_0x5d32f2,{dataPipeline:_0x3e41b8}={}){const {t:t}=_0x5d32f2,_0x39f6c9=_0x269b22['getAttribute']('footnoteId'),_0x35309b=_0x3681ed['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x39f6c9},function(_0x4d7f67){const _0x171004=this['toDomElement'](_0x4d7f67);return _0x171004['innerText']='^',_0x171004;}),_0x1fc888=_0x3e41b8?_0x3681ed['createContainerElement']('div',{'class':'footnote-content'}):_0x481830(_0x3681ed['createEditableElement']('div',{'class':'footnote-content'}),_0x3681ed,{'label':t('Footnote\x20content.')});return _0x3681ed['insert'](_0x3681ed['createPositionAt'](_0x1fc888,0x0),_0x3681ed['createSlot']()),_0x3681ed['createContainerElement']('li',{'class':'footnote-definition','id':_0x39f6c9},[_0x35309b,_0x1fc888]);}class FootnotesClipboard extends _0x4e0044{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x35f7e9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4ea360}=this,{plugins:_0x44f8cd,model:_0xdd3e4e}=_0x4ea360,_0x41beb9=_0x44f8cd['get'](_0x35f7e9),_0x9e5ba8=_0x44f8cd['get'](FootnotesTracker);this['listenTo'](_0x41beb9,'outputTransformation',(_0x44ae99,_0x430640)=>{const _0x21ca88=H(_0xdd3e4e['createRangeIn'](_0x430640['content']));if(!_0x21ca88['length'])return;const _0x2f28c8=_0x9e5ba8['getFootnotes'](),_0x4baf67=_0x21ca88['reduce']((_0x4b7560,_0x160f47)=>{const _0x4afce5=_0x2f28c8['find'](_0x447757=>_0x447757['id']===_0x160f47);if(_0x4afce5){const _0x540b24=_0x4ea360['data']['toView'](_0x4afce5['definition'],{'isClipboardPipeline':!0x0}),_0x4f62df=_0x4ea360['data']['htmlProcessor']['toData'](_0x540b24);_0x4b7560[_0x4afce5['id']]=_0x4f62df;}return _0x4b7560;},Object['create'](null));_0x430640['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4baf67));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x24c351}=this,{model:_0x415b90,plugins:_0x2dcdd6}=_0x24c351,{view:_0x860ece}=_0x24c351['editing'],_0x4977fa=_0x2dcdd6['get'](_0x35f7e9),_0x43415a=_0x2dcdd6['get'](FootnotesTracker),_0x4d933b=_0x24c351['config']['get']('footnotes.multiBlock');let _0x8d2509=null;this['listenTo'](_0x860ece['document'],'clipboardInput',(_0x140cb2,_0x1eefcc)=>{const _0x48456b=_0x1eefcc['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x8d2509=_0x48456b?JSON['parse'](_0x48456b):null;}),this['listenTo'](_0x4977fa,'contentInsertion',(_0x592191,_0x38e137)=>{const _0x5b1d3a=_0x38e137['sourceEditorId']===this['editor']['id'];_0x5b1d3a&&'drop'===_0x38e137['method']||_0x415b90['change'](_0x52be9e=>{let _0x6f2c59=_0x43415a['getFootnotesDefinitionsObjectElement']();const _0x13d03a=!!_0x6f2c59&&Array['from'](_0x415b90['document']['selection']['getSelectedBlocks']())['includes'](_0x6f2c59);if(!_0x8d2509&&function(_0x17bc1f){for(const {item:_0x2d6928}of _0x17bc1f)if(_0x2d6928['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x415b90['createRangeIn'](_0x38e137['content']))&&(_0x8d2509=function(_0x2158f2,_0x914070){const _0x1c1214=q(_0x2158f2,_0x914070);if(!_0x1c1214)return null;const _0x2cb454=Object['create'](null);for(const _0x467f11 of _0x1c1214['getChildren']())_0x467f11['is']('element','footnoteDefinition')&&_0x467f11['hasAttribute']('footnoteId')&&(_0x2cb454[_0x467f11['getAttribute']('footnoteId')]=_0x2158f2['cloneElement'](_0x467f11,!0x0));return Object['keys'](_0x2cb454)['length']?_0x2cb454:null;}(_0x52be9e,_0x38e137['content'])),(_0x6f2c59&&!_0x13d03a||!_0x6f2c59&&!_0x8d2509)&&function(_0x5d9bf8,_0x54a5fa){const _0x560c7f=[];for(const {item:_0x24bbb1}of _0x5d9bf8['createRangeIn'](_0x54a5fa))_0x24bbb1['is']('element','footnotesDefinitions')&&_0x560c7f['push'](_0x24bbb1);for(const _0x5c794e of _0x560c7f)_0x5d9bf8['remove'](_0x5c794e);}(_0x52be9e,_0x38e137['content']),!_0x8d2509)return;const {selection:_0x396acb}=_0x415b90['document'],_0x5a64d2=_0x396acb['getFirstRange']()['root'];_0x6f2c59&&!_0x13d03a||(_0x6f2c59=q(_0x52be9e,_0x38e137['content']),_0x6f2c59||=_0x43415a['_insertEmptyFootnotesDefinitionsContainer'](_0x52be9e,_0x5a64d2));const _0x780789=Array['from'](_0x396acb['getRanges']())['flatMap'](H),_0x17bd98=function(_0x2a8653,_0x189b9a,_0xb73444){const _0x5ead3c=Object['create'](null);for(const {item:_0x1d18bc}of _0x2a8653['createRangeIn'](_0x189b9a))if(_0x1d18bc['is']('element','footnoteRef')){const _0x2ff7fd=_0x1d18bc['getAttribute']('footnoteId');if(!_0xb73444(_0x2ff7fd))continue;_0x5ead3c[_0x2ff7fd]||(_0x5ead3c[_0x2ff7fd]=_0x419fea()),_0x2a8653['setAttribute']('footnoteId',_0x5ead3c[_0x2ff7fd],_0x1d18bc);}return _0x5ead3c;}(_0x52be9e,_0x38e137['content'],_0x23b47f=>{if(!_0x5b1d3a)return!0x0;return!!_0x43415a['getFootnote'](_0x23b47f)&&!_0x780789['includes'](_0x23b47f);});for(const [_0x4be802,_0x3f148c]of Object['entries'](_0x8d2509)){const _0x462493=_0x17bd98[_0x4be802]||_0x4be802;let _0x1c988c;if('string'!=typeof _0x3f148c)_0x1c988c=_0x3f148c,_0x462493!==_0x4be802&&_0x52be9e['setAttribute']('footnoteId',_0x462493,_0x1c988c);else{_0x1c988c=_0x52be9e['createElement']('footnoteDefinition',{'footnoteId':_0x462493});const _0xd9cf13=_0x24c351['data']['htmlProcessor']['toView'](_0x3f148c);let _0x25ca88;if(_0x4d933b)_0x25ca88=_0x24c351['data']['toModel'](_0xd9cf13,_0x1c988c);else{_0x25ca88=_0x52be9e['createElement']('footnoteInlineContent');const _0x2644d4=_0x24c351['data']['toModel'](_0xd9cf13,_0x25ca88);_0x52be9e['insert'](_0x2644d4,_0x25ca88);}_0x52be9e['append'](_0x25ca88,_0x1c988c);}_0x52be9e['insert'](_0x1c988c,_0x6f2c59,'end');}_0x8d2509=null;});});}}function q(_0x1461a6,_0x405d81){for(const {item:_0x210ac3}of _0x1461a6['createRangeIn'](_0x405d81))if(_0x210ac3['is']('element','footnotesDefinitions'))return _0x210ac3;return null;}function H(_0x4d26b4){const _0xf11279=new Set();for(const {item:_0x561652}of _0x4d26b4)_0x561652['is']('element','footnoteRef')&&_0xf11279['add'](_0x561652['getAttribute']('footnoteId'));return Array['from'](_0xf11279);}class FootnotesUI extends _0x4e0044{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b3e1f}=this,{componentFactory:_0x2eb5e3}=_0x3b3e1f['ui'];_0x2eb5e3['add']('insertFootnote',z(_0x3b3e1f,_0x19bdb8)),_0x2eb5e3['add']('menuBar:insertFootnote',z(_0x3b3e1f,_0x1167e1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a186d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1e94ad;for(const _0x5c5d9e in _0x4a186d){const _0x95cd14=_0x5c5d9e,_0x1bd8f6=_0x4a186d[_0x95cd14];if('footnotesLicenseKeyValid'==_0x1bd8f6||'footnotesLicenseKeyInvalid'==_0x1bd8f6||'footnotesLicenseKeyExpired'==_0x1bd8f6||'footnotesLicenseKeyDomainLimit'==_0x1bd8f6||'footnotesLicenseKeyNotAllowed'==_0x1bd8f6||'footnotesLicenseKeyEvaluationLimit'==_0x1bd8f6||'footnotesLicenseKeyUsageLimit'==_0x1bd8f6){delete _0x4a186d[_0x95cd14],_0x1e94ad=_0x1bd8f6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1e94ad&&_0x4a186d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1e94ad&&_0x4a186d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1e94ad&&_0x4a186d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1e94ad&&_0x4a186d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1e94ad&&_0x4a186d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1e94ad&&_0x4a186d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x3a9be1,_0x129789){const _0x4f7cf2=_0x3a9be1['commands']['get']('insertFootnote');return _0x3459a4=>{const {t:t}=_0x3459a4,_0x1ac6fd=new _0x129789(_0x3459a4),_0x141a5b=_0x1ac6fd instanceof _0x1167e1;return _0x1ac6fd['bind']('isEnabled')['to'](_0x4f7cf2,'isEnabled'),_0x1ac6fd['set']({'label':t(_0x141a5b?'Footnote':'Insert\x20footnote'),'icon':_0xe2834b,'tooltip':!0x0}),_0x1ac6fd['on']('execute',()=>{_0x4f7cf2['execute'](),_0x3a9be1['editing']['view']['focus']();}),_0x1ac6fd;};}class Footnotes extends _0x4e0044{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0xbac26a{['refresh'](){const {editor:_0x3c07ba}=this,_0x245183=_0x3c07ba['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x245183,this['value']=_0x245183?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3efb22}){const {editor:_0x406627}=this,_0x33beee=_0x406627['plugins']['get'](FootnotesTracker),_0x516517=_0x33beee['getFootnotesDefinitionsObjectElement']();_0x516517&&G['includes'](_0x3efb22)&&_0x406627['model']['change'](_0x6b682f=>{_0x6b682f['setAttribute']('footnotesListStyle',_0x3efb22,_0x516517),_0x33beee['_updateFootnotesCounters'](_0x6b682f);});}}class FootnotesStartCommand extends _0xbac26a{['refresh'](){const {editor:_0x3c80f1}=this,_0x4fc7f9=_0x3c80f1['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4fc7f9,this['value']=_0x4fc7f9?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5014c7}){const {editor:_0x1bf927}=this,_0x148906=_0x1bf927['plugins']['get'](FootnotesTracker),_0x16d849=_0x148906['getFootnotesDefinitionsObjectElement']();_0x16d849&&Number['isInteger'](_0x5014c7)&&_0x1bf927['model']['change'](_0x5957dd=>{_0x5957dd['setAttribute']('footnotesListStart',_0x5014c7,_0x16d849),_0x148906['_updateFootnotesCounters'](_0x5957dd);});}}function Q(_0x31210a,_0x309e4d){let _0x3afbb5='',_0x13e3d8=_0x31210a;for(;_0x13e3d8>0x0;){const _0x2e7cf2=(_0x13e3d8-0x1)%0x1a;_0x3afbb5=String['fromCharCode'](0x61+_0x2e7cf2)+_0x3afbb5,_0x13e3d8=Math['floor']((_0x13e3d8-0x1)/0x1a);}return _0x309e4d?_0x3afbb5['toUpperCase']():_0x3afbb5;}const W=[{'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 Y(_0x4e6a66,_0xa54c10){let _0x2878f9='',_0x1367cf=_0x4e6a66;for(const {value:_0x2ebe5b,numeral:_0x54e54f}of W)for(;_0x1367cf>=_0x2ebe5b;)_0x2878f9+=_0x54e54f,_0x1367cf-=_0x2ebe5b;return _0xa54c10?_0x2878f9:_0x2878f9['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x4e0044{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x444be9}=this;_0x444be9['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x444be9['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x444be9['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x444be9['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x444be9)),_0x444be9['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x444be9)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x58e9b6}=this,{schema:_0x5e740c}=_0x58e9b6['model'];_0x5e740c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x456844}=this,{conversion:_0x14dbd5,model:_0x341f89}=_0x456844,{schema:_0x2d6ae2}=_0x341f89;_0x14dbd5['for']('upcast')['add'](_0x262d36=>{_0x262d36['on']('element:ol',(_0x4dff41,_0x4e156e,_0x369c27)=>{const _0x4460cd=_0x4e156e['viewItem'],_0x4cec30=_0x4e156e['modelCursor']?.['parent'];_0x4460cd['hasClass']('footnotes-list')&&_0x4cec30?.['is']('element','footnotesDefinitions')&&(function(_0x26fb37,_0x2ea630,_0x23d036,_0x4588c6){if(!_0x4588c6['checkAttribute'](_0x2ea630,'footnotesListStart'))return;let _0x52d2f1=0x1;const _0x56c055=_0x23d036['consumable']['consume'](_0x26fb37,{'attributes':'start'});if(_0x56c055){const _0x1bfc47=Number['parseInt'](_0x26fb37['getAttribute']('start'),0xa);Number['isNaN'](_0x1bfc47)||(_0x52d2f1=_0x1bfc47);}!_0x56c055&&_0x2ea630['hasAttribute']('footnotesListStart')||_0x23d036['writer']['setAttribute']('footnotesListStart',_0x52d2f1,_0x2ea630);}(_0x4460cd,_0x4cec30,_0x369c27,_0x2d6ae2),function(_0x2143b3,_0x15ef9c,_0x5dfe59,_0x1f49f0){if(!_0x1f49f0['checkAttribute'](_0x15ef9c,'footnotesListStyle'))return;let _0x4de329='decimal',_0xc7eb83=!0x1;if(_0x5dfe59['consumable']['consume'](_0x2143b3,{'attributes':'type'})){const _0x4b80fc={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x2143b3['getAttribute']('type')];_0x4b80fc&&(_0x4de329=_0x4b80fc),_0xc7eb83=!0x0;}if(_0x5dfe59['consumable']['consume'](_0x2143b3,{'styles':'list-style-type'})){const _0x2ca38b=tt(_0x2143b3['getStyle']('list-style-type'));_0x2ca38b&&(_0x4de329=_0x2ca38b),_0xc7eb83=!0x0;}!_0xc7eb83&&_0x15ef9c['hasAttribute']('footnotesListStyle')||_0x5dfe59['writer']['setAttribute']('footnotesListStyle',_0x4de329,_0x15ef9c);}(_0x4460cd,_0x4cec30,_0x369c27,_0x2d6ae2));});}),_0x14dbd5['for']('downcast')['add'](_0x310b0a=>{_0x310b0a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x311c70,_0x8c6826,_0x357232)=>{if(!_0x357232['consumable']['consume'](_0x8c6826['item'],_0x311c70['name']))return;const _0xf69231=et(_0x8c6826['item'],_0x357232['mapper']),{attributeNewValue:_0x46dab4}=_0x8c6826;null==_0x46dab4||0x1===_0x46dab4?_0x357232['writer']['removeAttribute']('start',_0xf69231):_0x357232['writer']['setAttribute']('start',String(_0x46dab4),_0xf69231);}),_0x310b0a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x470e48,_0x1ca26b,_0x4059a6)=>{if(!_0x4059a6['consumable']['consume'](_0x1ca26b['item'],_0x470e48['name']))return;const _0x545c86=et(_0x1ca26b['item'],_0x4059a6['mapper']),{attributeNewValue:_0x8c43f7}=_0x1ca26b;_0x8c43f7&&'decimal'!==_0x8c43f7?_0x4059a6['writer']['setStyle']('list-style-type',_0x8c43f7,_0x545c86):_0x4059a6['writer']['removeStyle']('list-style-type',_0x545c86);});});}['_definePostfixer'](){const {editor:_0x244764}=this,{model:_0x2a722a}=_0x244764,_0x3317a0=_0x244764['plugins']['get'](FootnotesTracker),_0x24f105=this['_getDefaultListStyle'](),_0x5321cc=this['_getDefaultStartIndex']();_0x2a722a['document']['registerPostFixer'](_0x1d1952=>{const _0x6db145=_0x2a722a['document']['differ']['getChanges']();let _0x4df7ac=!0x1;for(const _0x50eabd of _0x6db145){if('insert'!==_0x50eabd['type']||'$text'===_0x50eabd['name'])continue;const _0x5196e5=_0x2a722a['createRangeOn'](_0x50eabd['position']['nodeAfter']);for(const _0x486bb1 of _0x5196e5['getItems']())_0x486bb1['is']('element','footnotesDefinitions')&&(!_0x486bb1['hasAttribute']('footnotesListStart')&&_0x2a722a['schema']['checkAttribute'](_0x486bb1,'footnotesListStart')&&(_0x1d1952['setAttribute']('footnotesListStart',_0x5321cc,_0x486bb1),_0x4df7ac=!0x0),!_0x486bb1['hasAttribute']('footnotesListStyle')&&_0x2a722a['schema']['checkAttribute'](_0x486bb1,'footnotesListStyle')&&(_0x1d1952['setAttribute']('footnotesListStyle',_0x24f105,_0x486bb1),_0x4df7ac=!0x0));}return _0x4df7ac&&_0x3317a0['_updateFootnotesCounters'](_0x1d1952),_0x4df7ac;});}['_defineFormatter'](){const {editor:_0x2b5ebd}=this;_0x2b5ebd['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x571696=>this['_formatFootnoteListValue'](_0x571696));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x28426f,value:_0x78b6e8,digits:_0xf5b77e}){const _0xcd07c5=_0x28426f['getAttribute']('footnotesListStyle'),_0x688195=_0x28426f['getAttribute']('footnotesListStart'),_0x40af40=Math['floor'](_0x78b6e8)+(_0x688195??0x1)-0x1;switch(_0xcd07c5){case'decimal-leading-zero':return function(_0x22b422,_0x30478d){return String(_0x22b422)['padStart'](_0x30478d,'0');}(_0x40af40,Math['max'](0x2,_0xf5b77e));case'lower-alpha':case'lower-latin':return Q(_0x40af40,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x40af40,!0x0);case'lower-roman':return Y(_0x40af40,!0x1);case'upper-roman':return Y(_0x40af40,!0x0);case'arabic-indic':return String(_0x40af40)['replace'](/\d/g,_0x47dca9=>Z[Number(_0x47dca9)]);default:return String(_0x40af40);}}}function tt(_0x41ae84){if('string'==typeof _0x41ae84){const _0x279318=J[_0x41ae84];if(_0x279318)return _0x279318;if(G['includes'](_0x41ae84))return _0x41ae84;}return null;}function et(_0x41bab2,_0x54aa42){const _0x1a94d1=_0x54aa42['toViewElement'](_0x41bab2);return Array['from'](_0x1a94d1['getChildren']())['find'](_0x1961e3=>_0x1961e3['is']('element','ol')&&_0x1961e3['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x246af1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2db61f();['keystrokes']=new _0x874882();['focusables']=new _0x156cf7();['focusCycler'];constructor(_0x2a7de6,{styleButtonViews:_0x3512a6,styleGridAriaLabel:_0x1c7c43}){super(_0x2a7de6),(this['focusCycler']=new _0x536775({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3512a6,_0x1c7c43),[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 _0x31674e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x31674e['element']);_0x48841b({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4e0e80['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 _0x3271bd=_0x1ee24b=>_0x1ee24b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3271bd),this['keystrokes']['set']('arrowleft',_0x3271bd),this['keystrokes']['set']('arrowup',_0x3271bd),this['keystrokes']['set']('arrowdown',_0x3271bd);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x36bf07,_0x2cf8cb){const _0x177506=new _0x246af1(this['locale']);return _0x177506['children']=_0x177506['createCollection'](),_0x177506['children']['addMany'](_0x36bf07),_0x177506['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2cf8cb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x177506['children']}),_0x177506['children']['delegate']('execute')['to'](this),_0x177506['focus']=function(){for(const _0x3378b1 of this['children'])if(_0x3378b1 instanceof _0x19bdb8&&_0x3378b1['isOn'])return void _0x3378b1['focus']();this['children']['first']['focus']();},_0x177506['focusTracker']=new _0x2db61f(),_0x177506['keystrokes']=new _0x874882(),_0x177506['render'](),_0x177506['keystrokes']['listenTo'](_0x177506['element']),this['children']['add'](_0x177506),_0x177506;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4af6ba=this['_createStartIndexPropertyView'](),_0x2a3c21=[_0x4af6ba],_0x1cca1e=new _0x31f4a5(this['locale'],_0x2a3c21);return _0x1cca1e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1cca1e['buttonView']['bind']('isEnabled')['toMany'](_0x2a3c21,'isEnabled',(..._0x424b30)=>_0x424b30['some'](_0x4f7741=>_0x4f7741)),_0x1cca1e['buttonView']['on']('change:isEnabled',(_0x493c5c,_0x8662af,_0x17a0e2)=>{_0x17a0e2||(_0x1cca1e['isCollapsed']=!0x0);}),this['children']['add'](_0x1cca1e),[_0x4af6ba,_0x1cca1e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x36f881=new _0x5d5650(this['locale'],_0x3f518d);return _0x36f881['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x36f881['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x36f881['fieldView']['on']('input',()=>{const _0x865b09=_0x36f881['fieldView']['element'],_0x4c42cc=_0x865b09['valueAsNumber'];Number['isNaN'](_0x4c42cc)?_0x36f881['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x865b09['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4c42cc}):_0x36f881['errorText']=t(_0x4c42cc<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x36f881;}}class FootnotesPropertiesUI extends _0x4e0044{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4480a2,_0x414c51];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39e26b}=this,{componentFactory:_0x463bb2}=_0x39e26b['ui'];_0x39e26b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x463bb2['add']('footnotesStyle',function(_0x2cb999){return _0x460e5e=>{const {t:t}=_0x460e5e,_0x261dc2=_0x2cb999['commands']['get']('footnotesStyle'),_0x140aa0=_0x2de862(_0x460e5e),{buttonView:_0x57dd38}=_0x140aa0;return _0x140aa0['class']='ck-footnotes-styles-dropdown',_0x140aa0['bind']('isEnabled')['to'](_0x261dc2,'isEnabled'),_0x57dd38['set']({'label':t('Footnotes\x20style'),'icon':_0xe2834b,'tooltip':!0x0}),_0x140aa0['once']('change:isOpen',()=>{const _0x59f33c=function({editor:_0x5e0104,dropdownView:_0x1e001e}){const {t:t}=_0x5e0104['locale'],_0x16b5f7=t('Footnotes\x20definitions\x20styles'),_0x24b9cf=function(_0x19c586){const {t:t}=_0x19c586['locale'],_0xac274b=_0x19c586['config']['get']('footnotes.footnotesProperties.listStyles'),_0x5d2675=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x55785f},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x483f0b},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x4c9739},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x1f2957},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1068b3},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x3a0d53},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1ca485}];return _0xac274b['map'](_0x5817e4=>{const _0x3d848b=tt(_0x5817e4),_0x9d27c=_0x5d2675['find'](_0x897bf0=>_0x897bf0['style']===_0x3d848b);return function(_0x3fd4e7,_0x544d8b){const {locale:_0x517d39}=_0x3fd4e7,{label:_0x1e882d,icon:_0x4f9eb6,tooltip:_0x2448d3,style:_0x304216}=_0x544d8b,_0x4f8382=_0x3fd4e7['commands']['get']('footnotesStyle'),_0x340446=new _0x19bdb8(_0x517d39);return _0x340446['set']({'label':_0x1e882d,'icon':_0x4f9eb6,'tooltip':_0x2448d3}),_0x340446['bind']('isOn')['to'](_0x4f8382,'value',_0x3bcc77=>_0x3bcc77===_0x304216),_0x340446['bind']('isEnabled')['to'](_0x4f8382,'isEnabled'),_0x340446['on']('execute',()=>{_0x3fd4e7['execute']('footnotesStyle',{'value':_0x304216}),_0x3fd4e7['editing']['view']['focus']();}),_0x340446;}(_0x19c586,_0x9d27c);});}(_0x5e0104),_0x1ef765=new FootnotesDefinitionsPropertiesView(_0x5e0104['locale'],{'styleGridAriaLabel':_0x16b5f7,'styleButtonViews':_0x24b9cf}),_0x18be03=_0x5e0104['commands']['get']('footnotesStart');return _0x1ef765['startIndexFieldView']['bind']('isEnabled')['to'](_0x18be03),_0x1ef765['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x18be03),_0x1ef765['on']('footnotesListStart',(_0x449497,_0x3b21a6)=>{_0x5e0104['execute']('footnotesStart',{'value':_0x3b21a6['startIndex']});}),_0x1ef765['delegate']('execute')['to'](_0x1e001e),_0x1ef765;}({'editor':_0x2cb999,'dropdownView':_0x140aa0});_0x140aa0['panelView']['children']['add'](_0x59f33c);}),_0x140aa0;};}(_0x39e26b));}['afterInit'](){const {editor:_0x1b8861}=this,{t:t}=_0x1b8861['locale'],_0xf56d3b=_0x1b8861['plugins']['get'](_0x414c51),{defaultPositions:_0x2646ef}=_0x4a8c41;_0xf56d3b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1b8861['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x33ce08=>{let _0x1ed80b=_0x33ce08['getFirstPosition']()?.['parent'];return _0x1ed80b?.['is']('$text')&&(_0x1ed80b=_0x1ed80b['parent']),_0x1ed80b?.['is']('element')?_0x1ed80b['findAncestor'](M):null;},'positions':[_0x2646ef['southArrowNorth'],_0x2646ef['southArrowNorthMiddleWest'],_0x2646ef['southArrowNorthMiddleEast'],_0x2646ef['southArrowNorthWest'],_0x2646ef['southArrowNorthEast'],_0x2646ef['northArrowSouth'],_0x2646ef['northArrowSouthMiddleWest'],_0x2646ef['northArrowSouthMiddleEast'],_0x2646ef['northArrowSouthWest'],_0x2646ef['northArrowSouthEast'],_0x2646ef['viewportStickyNorth']]});}}class FootnotesProperties extends _0x4e0044{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,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':_0x38adfc=>0x1!=_0x38adfc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf64074=>{const {af:{dictionary:_0x5616af,getPluralForm:_0x20b237}}={'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':_0xd8db47=>0x1!=_0xd8db47}};_0xf64074['af']||={'dictionary':{},'getPluralForm':null},_0xf64074['af']['dictionary']=Object['assign'](_0xf64074['af']['dictionary'],_0x5616af),_0xf64074['af']['getPluralForm']=_0x20b237;})(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':_0x1b17d5=>0x0==_0x1b17d5?0x0:0x1==_0x1b17d5?0x1:0x2==_0x1b17d5?0x2:_0x1b17d5%0x64>=0x3&&_0x1b17d5%0x64<=0xa?0x3:_0x1b17d5%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47623f=>{const {ar:{dictionary:_0x1c2194,getPluralForm:_0x2cd902}}={'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':_0x24b5d7=>0x0==_0x24b5d7?0x0:0x1==_0x24b5d7?0x1:0x2==_0x24b5d7?0x2:_0x24b5d7%0x64>=0x3&&_0x24b5d7%0x64<=0xa?0x3:_0x24b5d7%0x64>=0xb?0x4:0x5}};_0x47623f['ar']||={'dictionary':{},'getPluralForm':null},_0x47623f['ar']['dictionary']=Object['assign'](_0x47623f['ar']['dictionary'],_0x1c2194),_0x47623f['ar']['getPluralForm']=_0x2cd902;})(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':_0x16f5ff=>0x1!=_0x16f5ff}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5adc82=>{const {ast:{dictionary:_0x3174e1,getPluralForm:_0x45525c}}={'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':_0x21d257=>0x1!=_0x21d257}};_0x5adc82['ast']||={'dictionary':{},'getPluralForm':null},_0x5adc82['ast']['dictionary']=Object['assign'](_0x5adc82['ast']['dictionary'],_0x3174e1),_0x5adc82['ast']['getPluralForm']=_0x45525c;})(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':_0x5aa071=>0x1!=_0x5aa071}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4c3024=>{const {az:{dictionary:_0x47eb6e,getPluralForm:_0x4af3bd}}={'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':_0x475a42=>0x1!=_0x475a42}};_0x4c3024['az']||={'dictionary':{},'getPluralForm':null},_0x4c3024['az']['dictionary']=Object['assign'](_0x4c3024['az']['dictionary'],_0x47eb6e),_0x4c3024['az']['getPluralForm']=_0x4af3bd;})(window['CKEDITOR_TRANSLATIONS']||={});
|