@ckeditor/ckeditor5-footnotes 48.1.0 → 48.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-content.css +1 -0
- package/dist/index.css +1 -0
- 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-content.css
CHANGED
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x57e318,Command as _0x27ab07}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x41fea6,isWidget as _0x1d42c2,toWidgetEditable as _0x31d420,WidgetToolbarRepository as _0x15fdcf}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x200590,logWarning as _0xa1151c,FocusTracker as _0x119c27,KeystrokeHandler as _0x267cb0,global as _0x6738b1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2c8cde,ClickObserver as _0xc532af}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2c351e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4f3d95,ButtonView as _0x14dfd9,View as _0x35cba8,ViewCollection as _0x26c895,FocusCycler as _0x52db44,addKeyboardHandlingForGrid as _0x57a8c8,CollapsibleView as _0x11d3ba,LabeledFieldView as _0x4ba349,createLabeledInputNumber as _0x84a9ba,ContextualBalloon as _0x4149d6,BalloonPanelView as _0x188456,createDropdown as _0x50ae09}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1ebade,IconListStyleDecimal as _0x13b869,IconListStyleDecimalLeadingZero as _0x556c82,IconListStyleLowerRoman as _0x2ba2e3,IconListStyleUpperRoman as _0x3f8e4d,IconListStyleLowerLatin as _0x22d6f1,IconListStyleUpperLatin as _0x44c01a,IconListStyleArabicIndic as _0x1e9ede}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xed8eb8,_0x15396e){this['_model']=_0xed8eb8,this['_elementName']=_0x15396e['elementName'],this['_getElementKey']=_0x15396e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x585d3c){const _0x85850b=new Set(),_0x2b04ae=new Map();for(const _0x9520cd of _0x585d3c){if('insert'===_0x9520cd['type']&&'$text'!==_0x9520cd['name']&&_0x9520cd['position']['nodeAfter']){const _0x5af75c=this['_model']['createRangeOn'](_0x9520cd['position']['nodeAfter']);for(const _0x4af40a of _0x5af75c['getItems']()){if(!_0x4af40a['is']('element',this['_elementName']))continue;const _0x3e2349=this['_getElementKey'](_0x4af40a);_0x2b04ae['has'](_0x3e2349)||_0x2b04ae['set'](_0x3e2349,[]),_0x2b04ae['get'](_0x3e2349)['push'](_0x4af40a);}}if('remove'===_0x9520cd['type']&&_0x9520cd['name']===this['_elementName']){const _0x5abd5f=this['_getElementKey']({'getAttribute':_0x5709e3=>_0x9520cd['attributes']['get'](_0x5709e3)});_0x85850b['add'](_0x5abd5f);}}for(const [_0x4e349b,_0x5f152a]of this['_trackedElements'])'$graveyard'===_0x5f152a['root']['rootName']&&_0x85850b['add'](_0x4e349b);for(const _0x5b4757 of _0x85850b)this['_trackedElements']['delete'](_0x5b4757);for(const [_0x1d6ee2,_0x11011b]of _0x2b04ae)this['_trackedElements']['set'](_0x1d6ee2,_0x11011b[_0x11011b['length']-0x1]);const _0x2d3345=new Set();for(const [_0x400104,_0x3b8d6a]of _0x2b04ae)_0x85850b['has'](_0x400104)&&(_0x2d3345['add'](_0x3b8d6a[0x0]),_0x3b8d6a['length']>0x1?_0x2b04ae['set'](_0x400104,_0x3b8d6a['slice'](0x1)):_0x2b04ae['delete'](_0x400104),_0x85850b['delete'](_0x400104));return{'removed':Array['from'](_0x85850b),'inserted':Array['from'](_0x2b04ae['values']())['flat'](),'moved':Array['from'](_0x2d3345)};}}class K extends _0x57e318{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10e912){super(_0x10e912),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2f085d=>_0x2f085d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x43f05f=>_0x43f05f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4e1296}=this,{model:_0x31a8f2,data:_0x580f05}=_0x4e1296;_0x31a8f2['document']['registerPostFixer'](_0xd43c5f=>{const _0x29cc08=_0x31a8f2['document']['differ']['getChanges']();let _0xeae4e1=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xd43c5f,_0x29cc08)&&(_0xeae4e1=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xd43c5f,_0x29cc08)&&(_0xeae4e1=!0x0),this['_handleFootnoteReferencesChanges'](_0xd43c5f,_0x29cc08)&&(_0xeae4e1=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xd43c5f)&&(_0xeae4e1=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xd43c5f)&&(_0xeae4e1=!0x0),this['_sortFootnoteDefinitions'](_0xd43c5f)&&(_0xeae4e1=!0x0),_0xeae4e1;}),this['listenTo'](_0x31a8f2['document'],'change:data',()=>{_0x31a8f2['enqueueChange']({'isUndoable':!0x1},_0x5205b5=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5205b5);});},{'priority':'low'}),this['listenTo'](_0x580f05,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xb5eb0f){return this['_footnotes']['find'](_0x5c7acb=>_0x5c7acb['id']===_0xb5eb0f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1f549d){this['_footnoteFormatter']=_0x1f549d;}['_updateFootnotesCounters'](_0x1ac744,_0x5e1339=0x0){let _0x3c6dd6=!0x1;for(let _0x11fd6c=_0x5e1339;_0x11fd6c<this['_footnotes']['length'];_0x11fd6c++)this['_updateFootnoteRefCounter'](_0x1ac744,_0x11fd6c)&&(_0x3c6dd6=!0x0);return _0x3c6dd6;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4e6cce,_0xfec2fb){const _0x387e7b=_0x4e6cce['createElement']('footnotesDefinitions',{});return _0x4e6cce['append'](_0x387e7b,_0xfec2fb),this['_footnotesDefinitions']=_0x387e7b,_0x387e7b;}['_ensureFootnotesDefinitionsContainerExists'](_0x309fbc){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x453ea1=this['_footnotes'][0x0]['reference']['root'],_0x3c9b8d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x309fbc,_0x453ea1);for(const _0x81065f of this['_footnotes'])_0x81065f['definition']['parent']||_0x309fbc['insert'](_0x81065f['definition'],_0x3c9b8d,'end');this['_updateFootnotesCounters'](_0x309fbc);}['_handleFootnotesDefinitionsObjectChanges'](_0x3ab9f9,_0x8597ec){let _0x3a31b8=!0x1;const {inserted:_0x32fa4f,removed:_0x101056,moved:_0x563e7b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x8597ec);if(_0x563e7b['length']&&(this['_footnotesDefinitions']=_0x563e7b[0x0]),_0x32fa4f['length']){if(_0x32fa4f['length']>0x1||this['_footnotesDefinitions']&&_0x32fa4f['some'](_0x2f1a82=>_0x2f1a82!==this['_footnotesDefinitions'])){const _0x2b9c78=_0x3ab9f9['createElement']('footnotesDefinitions',{}),_0x3f5519=[];this['_footnotesDefinitions']&&_0x3f5519['push'](this['_footnotesDefinitions']),_0x3f5519['push'](..._0x32fa4f),_0x3ab9f9['insert'](_0x2b9c78,_0x3f5519[0x0],'before');for(const _0x2ee18f of _0x3f5519)_0x3ab9f9['move'](_0x3ab9f9['createRangeIn'](_0x2ee18f),_0x3ab9f9['createPositionAt'](_0x2b9c78,'end')),_0x3ab9f9['remove'](_0x2ee18f);this['_footnotesDefinitions']=_0x2b9c78,this['_updateFootnotesCounters'](_0x3ab9f9),_0x3a31b8=!0x0;}else this['_footnotesDefinitions']=_0x32fa4f[0x0];}if(_0x101056['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3a7a5a of this['_footnotes'])_0x3ab9f9['remove'](_0x3a7a5a['reference']),_0x3a31b8=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3a31b8;}['_handleFootnoteDefinitionsChanges'](_0x12d89c,_0x48d18f){let _0x51bbd2=!0x1;const _0x203f35=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x58b864,moved:_0x199aee}=this['_footnoteDefsTracker']['getChanges'](_0x48d18f);for(const _0x1bef07 of[..._0x199aee,..._0x58b864]){const _0x1ecec0=_0x1bef07['getAttribute']('footnoteId'),_0x388c91=this['getFootnote'](_0x1ecec0);_0x388c91&&(_0x388c91['definition']=_0x1bef07),j(_0x12d89c,_0x203f35,_0x1bef07)&&(_0x51bbd2=!0x0);}return _0x51bbd2;}['_handleFootnoteReferencesChanges'](_0x474082,_0x5afef0){let _0x3283fd=!0x1;const {removed:_0x11c24a,inserted:_0xd8bf8f,moved:_0x2396c3}=this['_footnoteRefsTracker']['getChanges'](_0x5afef0);for(const _0x258419 of _0x11c24a)this['_handleRemoveFootnoteReferenceById'](_0x474082,_0x258419)&&(_0x3283fd=!0x0);for(const _0x381ff6 of _0xd8bf8f)this['_handleInsertedFootnoteReference'](_0x474082,_0x381ff6)&&(_0x3283fd=!0x0);for(const _0xa5c3b4 of _0x2396c3)this['_handleMovedFootnoteReference'](_0x474082,_0xa5c3b4)&&(_0x3283fd=!0x0);return _0x3283fd;}['_handleFootnotesDefinitionsObjectSync'](_0x5e2f66){if(!this['_footnotesDefinitions'])return!0x1;let _0x5ae000=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1102b5=[];for(const _0x419c28 of this['_footnotesDefinitions']['getChildren']()){const _0x22f5bd=_0x419c28['getAttribute']('footnoteId');this['getFootnote'](_0x22f5bd)||(_0x1102b5['unshift'](_0x419c28),_0x5ae000=!0x0);}for(const _0x36922e of _0x1102b5)_0x5e2f66['remove'](_0x36922e);}const _0xdee82c=new Set(),_0x146d0e=[];for(const _0x284c33 of this['_footnotesDefinitions']['getChildren']()){const _0x3368ca=_0x284c33['getAttribute']('footnoteId');_0xdee82c['has'](_0x3368ca)?(_0x146d0e['unshift'](_0x284c33),_0x5ae000=!0x0):_0xdee82c['add'](_0x3368ca);}for(const _0x5be630 of _0x146d0e)_0x5e2f66['remove'](_0x5be630);return this['_footnotesDefinitions']['childCount']||(_0x5e2f66['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5ae000=!0x0),_0x5ae000;}['_handleInsertedFootnoteReference'](_0x331759,_0x3f7cb3){if(this['_footnotes']['find'](_0x193370=>_0x193370['reference']===_0x3f7cb3))return!0x1;let _0x4c7314=!0x1;const _0x1366fd=_0x3f7cb3['getAttribute']('footnoteId'),_0x114c19=this['_footnotes']['findIndex'](_0x5b6f25=>_0x5b6f25['id']===_0x1366fd);-0x1!==_0x114c19&&(_0x331759['remove'](this['_footnotes'][_0x114c19]['reference']),this['_footnotes']['splice'](_0x114c19,0x1),_0x4c7314=!0x0);let _0x2fe227=this['_footnotesDefinitions']?function(_0x1ffa8b,_0x5455ef){for(const _0x2d6861 of _0x1ffa8b['getChildren']())if(_0x2d6861['getAttribute']('footnoteId')===_0x5455ef)return _0x2d6861;return null;}(this['_footnotesDefinitions'],_0x1366fd):null;_0x2fe227||(_0x2fe227=_0x331759['createElement']('footnoteDefinition',{'footnoteId':_0x1366fd}),this['_footnotesDefinitions']&&(_0x331759['insert'](_0x2fe227,this['_footnotesDefinitions'],'end'),_0x4c7314=!0x0));const _0x3a26d6={'id':_0x1366fd,'reference':_0x3f7cb3,'definition':_0x2fe227},_0x49f20d=T(this['editor']['model'],this['_footnotes'],_0x3f7cb3);this['_footnotes']['splice'](_0x49f20d,0x0,_0x3a26d6);let _0xa2d61e=_0x49f20d;return-0x1!==_0x114c19&&(_0xa2d61e=Math['min'](_0x49f20d,_0x114c19)),this['_updateFootnotesCounters'](_0x331759,_0xa2d61e)&&(_0x4c7314=!0x0),_0x4c7314;}['_handleRemoveFootnoteReferenceById'](_0xc2aec6,_0x1cb971){const _0x3688cb=this['_footnotes']['findIndex'](_0x3cb44b=>_0x3cb44b['id']===_0x1cb971);if(-0x1===_0x3688cb)return!0x1;let _0x935057=!0x1;const _0x555ce0=this['_footnotes'][_0x3688cb];return'$graveyard'!==_0x555ce0['definition']['root']['rootName']&&(_0xc2aec6['remove'](_0x555ce0['definition']),_0x935057=!0x0),this['_footnotes']['splice'](_0x3688cb,0x1),this['_updateFootnotesCounters'](_0xc2aec6,_0x3688cb)&&(_0x935057=!0x0),_0x935057;}['_handleMovedFootnoteReference'](_0x137bf9,_0x1238f6){const _0x46c1c8=_0x1238f6['getAttribute']('footnoteId'),_0x541538=this['_footnotes']['findIndex'](_0x4ebc2d=>_0x4ebc2d['id']===_0x46c1c8),_0x4dc55c=this['_footnotes'][_0x541538];let _0x2341b2=!0x1;_0x4dc55c['reference']=_0x1238f6,this['_footnotes']['splice'](_0x541538,0x1);const _0x197035=T(this['editor']['model'],this['_footnotes'],_0x1238f6);return this['_footnotes']['splice'](_0x197035,0x0,_0x4dc55c),this['_updateFootnotesCounters'](_0x137bf9,Math['min'](_0x541538,_0x197035))&&(_0x2341b2=!0x0),_0x2341b2;}['_updateFootnoteRefCounter'](_0x3b2692,_0x3fcea3){if(!this['_footnotesDefinitions'])return!0x1;const _0x1b1a16=this['_footnotes'][_0x3fcea3];let _0x19453a;return _0x19453a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1b1a16,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3fcea3+0x1}):String(_0x3fcea3+0x1),_0x1b1a16['reference']['getAttribute']('footnoteCounter')!=_0x19453a&&(_0x3b2692['setAttribute']('footnoteCounter',_0x19453a,_0x1b1a16['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x21de0b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xe49ea1,_0x4ab073){if(_0xe49ea1['length']!==_0x4ab073['length'])return!0x1;for(let _0x497346=0x0;_0x497346<_0xe49ea1['length'];_0x497346++)if(_0xe49ea1[_0x497346]!==_0x4ab073[_0x497346])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x29c7a7=>_0x29c7a7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x566406=>_0x566406['getAttribute']('footnoteId'))))return!0x1;let _0x16fb82=!0x1;for(let _0x56474a=0x0;_0x56474a<this['_footnotes']['length'];_0x56474a++){const _0x55b7e9=this['_footnotes'][_0x56474a],_0x5d5751=_0x21de0b['createPositionBefore'](_0x55b7e9['definition']),_0x1f2cc8=_0x21de0b['createPositionAt'](this['_footnotesDefinitions'],_0x56474a);_0x5d5751['isEqual'](_0x1f2cc8)||(_0x21de0b['move'](_0x21de0b['createRangeOn'](_0x55b7e9['definition']),_0x1f2cc8),_0x16fb82=!0x0);}return _0x16fb82;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5f3b4c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x185752}=this['editor'];let _0x369a97=!0x1;for(let _0x1d6343=0x0;_0x1d6343<this['_footnotes']['length']-0x1;_0x1d6343++){const _0xd97b93=this['_footnotes'][_0x1d6343],_0xaeda20=this['_footnotes'][_0x1d6343+0x1],_0x4b8652=_0x185752['createPositionBefore'](_0xd97b93['reference']),_0x278500=_0x185752['createPositionBefore'](_0xaeda20['reference']);'after'===_0x4b8652['compareWith'](_0x278500)&&(this['_handleMovedFootnoteReference'](_0x5f3b4c,_0xd97b93['reference']),_0x1d6343=-0x1,_0x369a97=!0x0);}return _0x369a97;}}function j(_0x451fad,_0x5a4396,_0x1c89d7){if(_0x1c89d7['childCount'])return!0x1;const _0x234be5=_0x5a4396?'paragraph':'footnoteInlineContent';return _0x451fad['insert'](_0x451fad['createElement'](_0x234be5),_0x1c89d7),!0x0;}function T(_0x2b154f,_0x532b70,_0x589e40){if(0x0===_0x532b70['length'])return 0x0;const _0x2f60df=_0x2b154f['createPositionBefore'](_0x589e40);for(let _0x853cc3=0x0;_0x853cc3<_0x532b70['length'];_0x853cc3++){const _0x39e9a8=_0x532b70[_0x853cc3],_0xebe4db=_0x2b154f['createPositionBefore'](_0x39e9a8['reference']);if('before'===_0x2f60df['compareWith'](_0xebe4db))return _0x853cc3;}const _0x5ce269=_0x589e40['root'];let _0x1cae9e=-0x1;for(let _0x42e788=_0x532b70['length']-0x1;_0x42e788>=0x0;_0x42e788--)if(_0x532b70[_0x42e788]['reference']['root']===_0x5ce269){_0x1cae9e=_0x42e788;break;}if(-0x1!==_0x1cae9e)return _0x1cae9e+0x1;const _0x1164be=_0x2b154f['document']['getRootNames'](),_0x3ca6a0=_0x1164be['indexOf'](_0x5ce269['rootName']),_0x5bc246=_0x1164be[_0x3ca6a0+0x1];if(_0x5bc246){for(let _0x2adea3=0x0;_0x2adea3<_0x532b70['length'];_0x2adea3++)if(_0x532b70[_0x2adea3]['reference']['root']['rootName']===_0x5bc246)return _0x2adea3;}return _0x532b70['length'];}class V extends _0x27ab07{['refresh'](){const _0x32ba47=this['editor']['model']['document']['selection'],_0x5ff6=this['_getPositionToInsertFootnote'](_0x32ba47);this['isEnabled']=!!_0x5ff6;}['execute'](_0x5a3d8c){const {editor:_0x2c8303}=this,{model:_0x5e6865}=_0x2c8303,{selection:_0x437af5}=_0x5e6865['document'],_0xfae52a=this['_getPositionToInsertFootnote'](_0x437af5);if(!_0xfae52a)return;const _0x5f511a=_0x2c8303['plugins']['get']('FootnotesEditing'),_0xdf52fa=_0x5a3d8c?.['footnoteId']??_0x200590();!function(_0xfe2f24){return'string'==typeof _0xfe2f24&&_0xfe2f24['length']>0x0&&!/\s/['test'](_0xfe2f24)&&!/^\d/['test'](_0xfe2f24);}(_0xdf52fa)?_0xa1151c('insert-footnote-command-executed-with-invalid-id'):(_0x5e6865['change'](_0x23a3cf=>{const _0x13a4ca=_0x23a3cf['createElement']('footnoteRef',{'footnoteId':_0xdf52fa});_0x5e6865['insertObject'](_0x13a4ca,_0xfae52a,null);}),_0x5f511a['_moveSelectionToFootnoteDefinition'](_0xdf52fa));}['_getPositionToInsertFootnote'](_0x1dc016){const {model:_0x29653e}=this['editor'],{schema:_0x310732}=_0x29653e,_0x40826e=_0x1dc016['getFirstRange']();for(const _0x4ec09a of _0x40826e['getItems']())if(_0x310732['isBlock'](_0x4ec09a)||_0x310732['isObject'](_0x4ec09a))return null;const _0x5ee07d=_0x40826e['end'];return _0x310732['checkChild'](_0x5ee07d,'footnoteRef')?_0x5ee07d:null;}}class $ extends _0x57e318{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x204e59}=this;_0x204e59['config']['define']('footnotes.multiBlock',!0x0),_0x204e59['commands']['add']('insertFootnote',new V(_0x204e59)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x38f51b){const _0x1edff1=_0x40b5e4([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]),_0x46e087=0x47a28506,_0x54119a=0x47a50cf6^_0x46e087,_0x215ae4=window[_0x40b5e4([0x44,0x61,0x74,0x65])][_0x40b5e4([0x6e,0x6f,0x77])](),_0x2423f0=_0x38f51b[_0x40b5e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ff455=new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23c8ff=>{_0x2423f0[_0x40b5e4([0x6f,0x6e,0x63,0x65])](_0x40b5e4([0x72,0x65,0x61,0x64,0x79]),_0x23c8ff);}),_0x166808={[_0x40b5e4([0x6b,0x74,0x79])]:_0x40b5e4([0x45,0x43]),[_0x40b5e4([0x75,0x73,0x65])]:_0x40b5e4([0x73,0x69,0x67]),[_0x40b5e4([0x63,0x72,0x76])]:_0x40b5e4([0x50,0x2d,0x32,0x35,0x36]),[_0x40b5e4([0x78])]:_0x40b5e4([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]),[_0x40b5e4([0x79])]:_0x40b5e4([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]),[_0x40b5e4([0x61,0x6c,0x67])]:_0x40b5e4([0x45,0x53,0x32,0x35,0x36])},_0xc47b5c=_0x2423f0[_0x40b5e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40b5e4([0x67,0x65,0x74])](_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x138773(){let _0x4a3c8a,_0xd2ea1e=null,_0x4c05df=null;try{if(_0xc47b5c==_0x40b5e4([0x47,0x50,0x4c]))return _0x40b5e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a3c8a=_0x3ad69f(),!_0x4a3c8a)return _0x40b5e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a3c8a[_0x40b5e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c05df=_0x32621f(_0x4a3c8a[_0x40b5e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a3c8a[_0x40b5e4([0x6a,0x74,0x69])])),await _0x3b1758()?_0x1d04df()?_0x310aaa()?_0x40b5e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22d28a()?(_0x4a3c8a[_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40b5e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd2ea1e=_0x3be72a(_0x40b5e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x65b05f()):_0x40b5e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40b5e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40b5e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40b5e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x310aaa(){const _0x39d603=[_0x40b5e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40b5e4([0x74,0x72,0x69,0x61,0x6c])][_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a3c8a[_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x215ae4/0x3e8:0xe10*_0x54119a;return _0x4a3c8a[_0x40b5e4([0x65,0x78,0x70])]<_0x39d603;}function _0x1d04df(){const _0x1dd39a=_0x4a3c8a[_0x40b5e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1dd39a&&(!!_0x1dd39a[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b5e4([0x2a]))||!!_0x1dd39a[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b5e4([0x46,0x4f,0x4f])));}function _0x22d28a(){const _0x57cc98=_0x4a3c8a[_0x40b5e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57cc98||0x0==_0x57cc98[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x47be19}=new URL(window[_0x40b5e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57cc98[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47be19))return!0x0;const _0x28fcb9=_0x47be19[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e]));return _0x57cc98[_0x40b5e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c8213=>_0x1c8213[_0x40b5e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40b5e4([0x2a])))[_0x40b5e4([0x6d,0x61,0x70])](_0x47eb87=>_0x47eb87[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e])))[_0x40b5e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47e32e=>_0x47e32e[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28fcb9[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40b5e4([0x6d,0x61,0x70])](_0x437928=>Array(_0x28fcb9[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x437928[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40b5e4([0x66,0x69,0x6c,0x6c])](_0x437928[0x0]===_0x40b5e4([0x2a])?_0x40b5e4([0x2a]):'')[_0x40b5e4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x437928))[_0x40b5e4([0x73,0x6f,0x6d,0x65])](_0x3a5105=>_0x28fcb9[_0x40b5e4([0x65,0x76,0x65,0x72,0x79])]((_0x3cab98,_0x54a82f)=>_0x3a5105[_0x54a82f]===_0x3cab98||_0x3a5105[_0x54a82f]===_0x40b5e4([0x2a])));}function _0x65b05f(){return _0xd2ea1e&&_0x4c05df?new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x580f03,_0x2d391b)=>{_0xd2ea1e[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x580f03,_0x2d391b),_0x4c05df[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x489481=>{_0x489481!=_0x40b5e4([0x56,0x61,0x6c,0x69,0x64])&&_0x580f03(_0x489481);},_0x2d391b);}):_0xd2ea1e||_0x4c05df||_0x40b5e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32621f(_0x44fa06,_0x4a938a){return new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe908b=>{if(_0x5ec72d())return _0xbe908b(_0x40b5e4([0x56,0x61,0x6c,0x69,0x64]));_0x3f0eab(),_0x2423f0[_0x40b5e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40b5e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16316a=!0x1;const _0x50850c=_0x200590();function _0x11de3e(_0x12c0a4){return!!_0x12c0a4&&(typeof _0x12c0a4===_0x40b5e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12c0a4===_0x40b5e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12c0a4[_0x40b5e4([0x74,0x68,0x65,0x6e])]===_0x40b5e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12c0a4[_0x40b5e4([0x63,0x61,0x74,0x63,0x68])]===_0x40b5e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x25aca2(_0x23264a){_0x28fc23(_0x23264a)[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x416bba=>{if(!_0x416bba||_0x416bba[_0x40b5e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40b5e4([0x6f,0x6b]))return _0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x144fd3(_0x1f53a7(_0x50850c+_0x4a938a))!=_0x416bba[_0x40b5e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40b5e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x27ab34=>(_0x1e642f(),_0x27ab34),()=>{const _0x2d1513=_0x5df215();return null==_0x2d1513?(_0x1e642f(),_0x40b5e4([0x56,0x61,0x6c,0x69,0x64])):_0x40b5e4(_0x215ae4-_0x2d1513>(0x63ae0106^_0x46e087)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0xbe908b)[_0x40b5e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbe908b(_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x8c375f=0x47946b86^_0x46e087;function _0x1e642f(){const _0x35e244=_0x40b5e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x144fd3(_0x1f53a7(_0x44fa06)),_0x153067=_0x5e74c8(_0x144fd3(window[_0x40b5e4([0x4d,0x61,0x74,0x68])][_0x40b5e4([0x63,0x65,0x69,0x6c])](_0x215ae4/_0x8c375f)));window[_0x40b5e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40b5e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35e244,_0x153067);}function _0x5df215(){const _0x1a3232=_0x40b5e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x144fd3(_0x1f53a7(_0x44fa06)),_0x40bad4=window[_0x40b5e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40b5e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a3232);return _0x40bad4?window[_0x40b5e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e74c8(_0x40bad4),0x10)*_0x8c375f:null;}function _0x28fc23(_0x208f2b){return new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f9afc,_0x421cd5)=>{_0x208f2b[_0x40b5e4([0x74,0x68,0x65,0x6e])](_0x2f9afc,_0x421cd5),window[_0x40b5e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x421cd5,0x47a351c6^_0x46e087);});}}_0x2423f0[_0x40b5e4([0x6f,0x6e])](_0x40b5e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd7cd04,_0xd5aad5)=>{if(_0xd5aad5[0x0]!=_0x44fa06)return _0xbe908b(_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd5aad5[0x1]={..._0xd5aad5[0x1],[_0x40b5e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x50850c};},{[_0x40b5e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40b5e4([0x68,0x69,0x67,0x68])}),_0x2423f0[_0x40b5e4([0x6f,0x6e])](_0x40b5e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f9c19=>{_0x11de3e(_0x2f9c19[_0x40b5e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16316a=!0x0,_0x25aca2(_0x2f9c19[_0x40b5e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40b5e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40b5e4([0x6c,0x6f,0x77])}),_0x2ff455[_0x40b5e4([0x74,0x68,0x65,0x6e])](()=>{_0x16316a||_0xbe908b(_0x40b5e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ec72d(){return _0x2423f0[_0x40b5e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40b5e4([0x76,0x69,0x65,0x77])][_0x40b5e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40b5e4([0x61,0x75,0x74,0x6f]);}function _0x3f0eab(){_0x2423f0[_0x40b5e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40b5e4([0x76,0x69,0x65,0x77])][_0x40b5e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40b5e4([0x61,0x75,0x74,0x6f]);}}function _0x3be72a(_0x45a7e4){const _0x4dedaf=[new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x475c8a=>setTimeout(_0x475c8a,0x47abbbca^_0x46e087)),_0x2ff455[_0x40b5e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x182f79=>{let _0x334f90=0x0;_0x2423f0[_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40b5e4([0x6f,0x6e])](_0x40b5e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x497c81,_0xf2cb48)=>{_0xf2cb48[0x0][_0x40b5e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x334f90++,_0x334f90==(0x47a280ee^_0x46e087)&&(_0x182f79(),_0x497c81[_0x40b5e4([0x6f,0x66,0x66])]());});}))];return window[_0x40b5e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40b5e4([0x72,0x61,0x63,0x65])](_0x4dedaf)[_0x40b5e4([0x74,0x68,0x65,0x6e])](()=>_0x45a7e4);}async function _0x33e390(){await _0x2ff455,_0x2423f0[_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40b5e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d3577,_0x2423f0[_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x40b5e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d3577,_0x2423f0[_0x40b5e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40b5e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x164568(_0x58ed2d){const _0x2b4fea=_0x5488e1();_0x2423f0[_0x2b4fea]=_0x40b5e4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58ed2d,_0x58ed2d!=_0x40b5e4([0x56,0x61,0x6c,0x69,0x64])&&_0x33e390();}function _0x5488e1(){const _0x45ffb4=window[_0x40b5e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40b5e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40b5e4([0x6e,0x6f,0x77])]())[_0x40b5e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40b5e4([0x2e]),'');let _0x1b2d71=_0x40b5e4([0x75]);for(let _0x135b06=0x0;_0x135b06<_0x45ffb4[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x135b06+=0x2){let _0x4935e3=window[_0x40b5e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45ffb4[_0x40b5e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x135b06,_0x135b06+0x2));_0x4935e3>=_0x1edff1[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4935e3-=_0x1edff1[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b2d71+=_0x1edff1[_0x4935e3];}return _0x1b2d71;}function _0x3ad69f(){const _0x172528=_0xc47b5c[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e]));if(0x3!=_0x172528[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5a72b3(_0x172528[0x1]);function _0x5a72b3(_0x51f2f9){const _0x36c68e=_0x20e2ec(_0x51f2f9);return _0x36c68e&&_0x4775cf()?_0x36c68e:null;function _0x4775cf(){const _0x16b077=_0x36c68e[_0x40b5e4([0x6a,0x74,0x69])],_0x21072d=window[_0x40b5e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16b077[_0x40b5e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16b077[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b6dae={..._0x36c68e,[_0x40b5e4([0x6a,0x74,0x69])]:_0x16b077[_0x40b5e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16b077[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b6dae[_0x40b5e4([0x76,0x63])],_0x1f53a7(_0x2b6dae)==_0x21072d;}}}async function _0x3b1758(){let _0x377622=!0x0;try{const _0x118b2a=_0xc47b5c[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])](_0x40b5e4([0x2e])),[_0x24a2a6,_0x49fda2,_0x33a9d1]=_0x118b2a;return _0x2ee5d0(_0x24a2a6),await _0x232dfa(_0x24a2a6,_0x49fda2,_0x33a9d1),_0x377622;}catch{return!0x1;}function _0x2ee5d0(_0x2caa36){const _0xee59db=_0x20e2ec(_0x2caa36);_0xee59db&&_0xee59db[_0x40b5e4([0x61,0x6c,0x67])]==_0x40b5e4([0x45,0x53,0x32,0x35,0x36])||(_0x377622=!0x1);}async function _0x232dfa(_0x39422f,_0x46a333,_0x51a933){const _0x4477e4=window[_0x40b5e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40b5e4([0x66,0x72,0x6f,0x6d])](_0x59ae6f(_0x51a933),_0x43458f=>_0x43458f[_0x40b5e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x276b24=new window[(_0x40b5e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40b5e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39422f+_0x40b5e4([0x2e])+_0x46a333),_0x597814=window[_0x40b5e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40b5e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x597814)return;const _0x453154=await _0x597814[_0x40b5e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40b5e4([0x6a,0x77,0x6b]),_0x166808,{[_0x40b5e4([0x6e,0x61,0x6d,0x65])]:_0x40b5e4([0x45,0x43,0x44,0x53,0x41]),[_0x40b5e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40b5e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40b5e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x597814[_0x40b5e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40b5e4([0x6e,0x61,0x6d,0x65])]:_0x40b5e4([0x45,0x43,0x44,0x53,0x41]),[_0x40b5e4([0x68,0x61,0x73,0x68])]:{[_0x40b5e4([0x6e,0x61,0x6d,0x65])]:_0x40b5e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x453154,_0x4477e4,_0x276b24)||(_0x377622=!0x1);}}function _0x20e2ec(_0x6e5866){return _0x6e5866[_0x40b5e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40b5e4([0x65,0x79]))?JSON[_0x40b5e4([0x70,0x61,0x72,0x73,0x65])](_0x59ae6f(_0x6e5866)):null;}function _0x59ae6f(_0x8509f7){return window[_0x40b5e4([0x61,0x74,0x6f,0x62])](_0x8509f7[_0x40b5e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40b5e4([0x2b]))[_0x40b5e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40b5e4([0x2f])));}function _0x1f53a7(_0x48d253){let _0x3f9604=0x1505;function _0x18a240(_0x4adcd3){for(let _0x5eb613=0x0;_0x5eb613<_0x4adcd3[_0x40b5e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5eb613++){const _0x4b4dbf=_0x4adcd3[_0x40b5e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5eb613);_0x3f9604=(_0x3f9604<<0x5)+_0x3f9604+_0x4b4dbf,_0x3f9604&=_0x3f9604;}}function _0x2acce1(_0x2d8f5d){Array[_0x40b5e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8f5d)?_0x2d8f5d[_0x40b5e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2acce1):_0x2d8f5d&&typeof _0x2d8f5d==_0x40b5e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40b5e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8f5d)[_0x40b5e4([0x73,0x6f,0x72,0x74])]()[_0x40b5e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19ec0f,_0x13c7bc])=>{_0x18a240(_0x19ec0f),_0x2acce1(_0x13c7bc);}):_0x18a240(window[_0x40b5e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8f5d));}return _0x2acce1(_0x48d253),_0x3f9604>>>0x0;}function _0x144fd3(_0x5a9ef2){return _0x5a9ef2[_0x40b5e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40b5e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40b5e4([0x30]));}function _0x5e74c8(_0x151ea3){return _0x151ea3[_0x40b5e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40b5e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40b5e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d3577(){}function _0x40b5e4(_0x12abae){return _0x12abae['map'](_0x92f410=>String['fromCharCode'](_0x92f410))['join']('');}_0x164568(await _0x138773());}(this);}['_moveSelectionToFootnoteDefinition'](_0x24dc9d){const {plugins:_0x4320e5,editing:_0x49e8d4,model:_0x4cdb2b}=this['editor'],_0x48ff35=_0x4320e5['get'](K)['getFootnote'](_0x24dc9d);return!!_0x48ff35&&(_0x4cdb2b['change'](_0x2f5a7f=>{_0x2f5a7f['setSelection'](_0x2f5a7f['createPositionAt'](_0x48ff35['definition'],'end'));}),_0x49e8d4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5c02de){const {plugins:_0x50e110,editing:_0x204bf4,model:_0x1197d7}=this['editor'],_0x2c395a=_0x50e110['get'](K)['getFootnote'](_0x5c02de);return!!_0x2c395a&&(_0x1197d7['change'](_0x27a562=>{_0x27a562['setSelection'](_0x2c395a['reference'],'on');}),_0x204bf4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2b9391}=this['editor']['model'],_0x3f6ecb=this['editor']['config']['get']('footnotes.multiBlock');_0x2b9391['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2b9391['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2b9391['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3f6ecb?_0x2b9391['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2b9391['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2b9391['addChildCheck'](_0x30292f=>{for(const _0x50cceb of _0x30292f)if('footnoteDefinition'===_0x50cceb['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4e71d1}=this,{conversion:_0x5d6951,editing:_0x351bf0}=_0x4e71d1,{t:t}=_0x4e71d1['locale'];_0x5d6951['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x368cd5,{writer:_0xd0d4ad,consumable:_0x5e6a57})=>{const _0x435ce5=_0x368cd5['getChild'](0x0);if(!_0x435ce5||!_0x435ce5['is']('element','a'))return null;const _0x22ce48=_0x435ce5['getAttribute']('href')||'';if(!_0x22ce48['startsWith']('#'))return null;const _0x5b7153=_0x22ce48['replace'](/^#/,'');if(!_0x5b7153)return null;_0x5e6a57['consume'](_0x435ce5,{'name':!0x0,'attributes':['href']});for(const {item:_0x3e4059}of _0x351bf0['view']['createRangeIn'](_0x435ce5))_0x3e4059['is']('$textProxy')?_0x5e6a57['consume'](_0x3e4059['textNode'],{'name':!0x0}):_0x3e4059['is']('element')&&_0x5e6a57['consume'](_0x3e4059,{'name':!0x0});return _0xd0d4ad['createElement']('footnoteRef',{'footnoteId':_0x5b7153});}}),_0x5d6951['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2acfa2,{writer:_0x181660})=>z(_0x2acfa2,_0x181660)}),_0x5d6951['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x56f235,{writer:_0x20416a})=>{const _0x12f3d2=_0x56f235['getAttribute']('footnoteCounter');return _0x41fea6(z(_0x56f235,_0x20416a),_0x20416a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x12f3d2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x315dec}=this,{t:t}=_0x315dec['locale'],{conversion:_0x246114}=_0x315dec;_0x246114['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x246114['for']('upcast')['add'](_0x5b6bd7=>{_0x5b6bd7['on']('element:ol',(_0x5db476,_0x10bc6f,_0x1735e3)=>{const _0x371e44=_0x10bc6f['viewItem'];if(!_0x371e44['hasClass']('footnotes-list')||!_0x10bc6f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1735e3['consumable']['consume'](_0x371e44,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1f5667,modelCursor:_0x5388c9}=_0x1735e3['convertChildren'](_0x10bc6f['viewItem'],_0x10bc6f['modelCursor']);_0x10bc6f['modelRange']=_0x1f5667,_0x10bc6f['modelCursor']=_0x5388c9;}),_0x5b6bd7['on']('element:hr',(_0xc52908,_0x111754,_0x5f0cd2)=>{const _0x257fb4=_0x111754['viewItem'];_0x257fb4['hasClass']('footnotes-divider')&&_0x111754['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5f0cd2['consumable']['consume'](_0x257fb4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x246114['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2dca1b,{writer:_0x1f50d7})=>H(_0x1f50d7)}),_0x246114['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4fc776,{writer:_0x4ead5a})=>{const _0xa57e8e=H(_0x4ead5a,{'data-footnotes-list-label':t('Footnotes')}),_0x2c83a7=_0x41fea6(_0xa57e8e,_0x4ead5a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4ead5a['setCustomProperty']('footnotesDefinitions',!0x0,_0x2c83a7),_0x2c83a7;}});}['_defineDefinitionConverters'](){const {editor:_0x41ff14}=this,{conversion:_0x36c951,locale:_0xd325de}=_0x41ff14,_0x552afc=_0x41ff14['config']['get']('footnotes.multiBlock');_0x36c951['for']('upcast')['add'](_0x18f45e=>{_0x18f45e['on']('element:li',(_0x3cba1d,_0x2b1f31,_0x4be2f6)=>{const _0x5f4f33=_0x2b1f31['viewItem'];if(!_0x5f4f33['hasClass']('footnote-definition')||!_0x5f4f33['getAttribute']('id'))return;const _0x131389=_0x5f4f33['parent'];if(!_0x131389['is']('element','ol')||!_0x131389['hasClass']('footnotes-list'))return;if(!_0x4be2f6['consumable']['test'](_0x5f4f33,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4ffd2c=_0x4be2f6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5f4f33['getAttribute']('id')});if(!_0x4be2f6['safeInsert'](_0x4ffd2c,_0x2b1f31['modelCursor']))return;_0x4be2f6['consumable']['consume'](_0x5f4f33,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x45e3e3=Array['from'](_0x5f4f33['getChildren']())['find'](_0x20d724=>_0x20d724['is']('element')&&_0x20d724['hasClass']('footnote-content'));for(const _0x1914e9 of _0x5f4f33['getChildren']())_0x1914e9['is']('element')&&(_0x4be2f6['consumable']['consume'](_0x1914e9,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4be2f6['consumable']['consume'](_0x1914e9,{'name':!0x0,'classes':'footnote-content'}));if(_0x45e3e3){if(_0x552afc)_0x4be2f6['convertChildren'](_0x45e3e3,_0x4ffd2c);else{const _0x47725c=_0x4be2f6['writer']['createElement']('footnoteInlineContent');_0x4be2f6['writer']['insert'](_0x47725c,_0x4ffd2c),_0x4be2f6['convertChildren'](_0x45e3e3,_0x47725c);}}_0x4be2f6['updateConversionResult'](_0x4ffd2c,_0x2b1f31);});}),_0x36c951['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c60ae,{writer:_0x5dc034})=>X(_0x3c60ae,_0x5dc034,_0xd325de,{'dataPipeline':!0x0})}),_0x36c951['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x45eab4,{writer:_0x3a6c3f})=>X(_0x45eab4,_0x3a6c3f,_0xd325de)});}['_defineBogusParagraphConverters'](){const {editor:_0xa51ab9}=this,{conversion:_0x338b0f}=_0xa51ab9;_0xa51ab9['config']['get']('footnotes.multiBlock')?(_0x338b0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x338b0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xa51ab9['model']['document'],'change:data',()=>{!function(_0xad610c,_0x14ba12){const _0x4ee52c=_0xad610c['document']['differ'],_0x448f13=new Set();for(const _0x57c434 of _0x4ee52c['getChanges']()){const _0x39de2a='attribute'==_0x57c434['type']?_0x57c434['range']['start']['parent']:_0x57c434['position']['parent'];_0x39de2a['is']('element','footnoteDefinition')&&_0x448f13['add'](_0x39de2a);}for(const _0x5e59f7 of _0x448f13['values']()){const _0x204a11=Array['from'](_0x5e59f7['getChildren']())['filter'](_0x80915c=>U(_0x80915c,_0x14ba12['mapper']));for(const _0x268690 of _0x204a11)_0x14ba12['reconvertItem'](_0x268690);}}(_0xa51ab9['model'],_0xa51ab9['editing']);})):(_0x338b0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x338b0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x21daa5,{writer:_0x44f45f})=>{const _0x2f8e25=_0x44f45f['createContainerElement']('span');return _0x44f45f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f8e25),_0x2f8e25;}}));}['_defineKeyboardHandlers'](){const {editor:_0x11dba4}=this,{editing:_0x18081f,t:t}=_0x11dba4,_0x5da192=_0x11dba4['model']['document']['selection'];_0x11dba4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x11dba4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x18081f['view']['document'],'enter',(_0x5641d6,_0x223f51)=>{const _0xa2530f=function(_0x2cd5bd){const _0x26c1ae=_0x2cd5bd['getSelectedElement']();if(_0x26c1ae?.['is']('element','footnoteRef'))return _0x26c1ae;return null;}(_0x5da192);if(_0xa2530f){const _0x512396=_0xa2530f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x512396),_0x223f51['preventDefault'](),_0x5641d6['stop']();}},{'context':_0x1d42c2});}['_defineClickHandlers'](){const {editor:_0x2328d6}=this,{editing:_0x5948d3}=_0x2328d6;_0x2328d6['editing']['view']['addObserver'](_0x2c8cde),_0x2328d6['editing']['view']['addObserver'](_0xc532af);let _0x211180=!0x1;this['listenTo'](_0x5948d3['view']['document'],'pointerdown',(_0x3064d1,_0x504ddd)=>{const {target:_0x7f4cae}=_0x504ddd,_0x4701ab=_0x5948d3['view']['document']['selection'];_0x211180=!!(_0x7f4cae?.['is']('element','a')&&_0x7f4cae['parent']?.['is']('element','sup')&&_0x7f4cae['parent']['hasClass']('footnote'))&&_0x4701ab['getSelectedElement']()===_0x7f4cae['parent'];},{'priority':'high'}),this['listenTo'](_0x5948d3['view']['document'],'click',(_0x51793e,_0x22b214)=>{const {target:_0x11b326}=_0x22b214;if(!_0x11b326?.['is']('element','a'))return;if(_0x11b326['parent']?.['is']('element','sup')&&_0x11b326['parent']['hasClass']('footnote')&&!_0x211180)return void _0x22b214['preventDefault']();let _0x47cf60=_0x11b326['getAttribute']('href');if(!_0x47cf60?.['startsWith']('#'))return;_0x47cf60=_0x47cf60['slice'](0x1);let _0x3985f1=!0x1;(_0x47cf60['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x47cf60['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x47cf60))&&(_0x3985f1=!0x0),_0x3985f1&&(_0x22b214['preventDefault'](),_0x51793e['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x305503}={}){return(_0x74eb6c,{writer:_0x300f38})=>{if(!M(_0x74eb6c))return null;if(!_0x305503)return _0x300f38['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x561485=_0x300f38['createContainerElement']('p');return _0x300f38['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x561485),_0x561485;};}function M(_0x159779){const {parent:_0x4bf9ad}=_0x159779;if(!_0x4bf9ad?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4bf9ad['childCount'])return!0x1;for(const _0x4fcc70 of _0x159779['getAttributeKeys']())if(!_0x4fcc70['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4fcc70)return!0x1;return!0x0;}function U(_0x412f06,_0x1d55be){if(!_0x412f06['is']('element','paragraph'))return!0x1;const _0x42e321=_0x1d55be['toViewElement'](_0x412f06);return!!_0x42e321&&M(_0x412f06)!==_0x42e321['is']('element','span');}function q(_0x14d06b){return _0x1d42c2(_0x14d06b)&&_0x14d06b['is']('containerElement')&&!!_0x14d06b['getCustomProperty']('footnotesDefinitions');}function H(_0x29a391,_0x35d9dc={}){const _0x437bea=_0x29a391['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x21d335=_0x29a391['createContainerElement']('ol',{'class':'footnotes-list'},_0x29a391['createSlot']());return _0x29a391['createContainerElement']('div',{'class':'footnotes',..._0x35d9dc},[_0x437bea,_0x21d335]);}function z(_0x39457d,_0x58ae98){const _0x5e6c10=_0x39457d['getAttribute']('footnoteId'),_0x3bb88d=_0x39457d['getAttribute']('footnoteCounter'),_0x2bc5a0=_0x58ae98['createUIElement']('a',{'href':'#'+_0x5e6c10},function(_0x275db0){const _0x3b92ac=this['toDomElement'](_0x275db0);return _0x3b92ac['textContent']=_0x3bb88d,_0x3b92ac;}),_0x2b284f=_0x58ae98['createContainerElement']('sup',{'id':'ref-'+_0x5e6c10,'class':'footnote'},[_0x2bc5a0]);return _0x2b284f['getFillerOffset']=()=>null,_0x2b284f;}function X(_0x1d2aa9,_0x1c264d,_0x46e355,{dataPipeline:_0x9a51a0}={}){const {t:t}=_0x46e355,_0x2275e5=_0x1d2aa9['getAttribute']('footnoteId'),_0x4e9817=_0x1c264d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2275e5},function(_0x1afdb3){const _0xfcfcc5=this['toDomElement'](_0x1afdb3);return _0xfcfcc5['innerText']='^',_0xfcfcc5;}),_0x1259ab=_0x9a51a0?_0x1c264d['createContainerElement']('div',{'class':'footnote-content'}):_0x31d420(_0x1c264d['createEditableElement']('div',{'class':'footnote-content'}),_0x1c264d,{'label':t('Footnote\x20content.')});return _0x1c264d['insert'](_0x1c264d['createPositionAt'](_0x1259ab,0x0),_0x1c264d['createSlot']()),_0x1c264d['createContainerElement']('li',{'class':'footnote-definition','id':_0x2275e5},[_0x4e9817,_0x1259ab]);}class J extends _0x57e318{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x2c351e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xb47816}=this,{plugins:_0x223c63,model:_0x50b201}=_0xb47816,_0x3a1228=_0x223c63['get'](_0x2c351e),_0x107753=_0x223c63['get'](K);this['listenTo'](_0x3a1228,'outputTransformation',(_0x43cc62,_0x3cad88)=>{const _0x2d4a39=Q(_0x50b201['createRangeIn'](_0x3cad88['content']));if(!_0x2d4a39['length'])return;const _0x41d2a6=_0x107753['getFootnotes'](),_0xe454b0=_0x2d4a39['reduce']((_0x26ac3c,_0x58bebf)=>{const _0x162a74=_0x41d2a6['find'](_0x303d77=>_0x303d77['id']===_0x58bebf);if(_0x162a74){const _0x47bec2=_0xb47816['data']['toView'](_0x162a74['definition'],{'isClipboardPipeline':!0x0}),_0x39e339=_0xb47816['data']['htmlProcessor']['toData'](_0x47bec2);_0x26ac3c[_0x162a74['id']]=_0x39e339;}return _0x26ac3c;},Object['create'](null));_0x3cad88['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xe454b0));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x458a65}=this,{model:_0x1823e4,plugins:_0x15b906}=_0x458a65,{view:_0x516c4b}=_0x458a65['editing'],_0x1d29cd=_0x15b906['get'](_0x2c351e),_0x238a68=_0x15b906['get'](K),_0x1369ec=_0x458a65['config']['get']('footnotes.multiBlock');let _0x46c6dd=null;this['listenTo'](_0x516c4b['document'],'clipboardInput',(_0x231179,_0x154e47)=>{const _0x1dd2cd=_0x154e47['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x46c6dd=_0x1dd2cd?JSON['parse'](_0x1dd2cd):null;}),this['listenTo'](_0x1d29cd,'contentInsertion',(_0x2c3710,_0x409f9d)=>{const _0x21eb57=_0x409f9d['sourceEditorId']===this['editor']['id'];_0x21eb57&&'drop'===_0x409f9d['method']||_0x1823e4['change'](_0x4ca61d=>{let _0x12a135=_0x238a68['getFootnotesDefinitionsObjectElement']();const _0x33e237=!!_0x12a135&&Array['from'](_0x1823e4['document']['selection']['getSelectedBlocks']())['includes'](_0x12a135);if(!_0x46c6dd&&function(_0x361138){for(const {item:_0x43635e}of _0x361138)if(_0x43635e['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1823e4['createRangeIn'](_0x409f9d['content']))&&(_0x46c6dd=function(_0x5eea1e,_0x418376){const _0xf45ac=G(_0x5eea1e,_0x418376);if(!_0xf45ac)return null;const _0x461813=Object['create'](null);for(const _0x3f7d71 of _0xf45ac['getChildren']())_0x3f7d71['is']('element','footnoteDefinition')&&_0x3f7d71['hasAttribute']('footnoteId')&&(_0x461813[_0x3f7d71['getAttribute']('footnoteId')]=_0x5eea1e['cloneElement'](_0x3f7d71,!0x0));return Object['keys'](_0x461813)['length']?_0x461813:null;}(_0x4ca61d,_0x409f9d['content'])),(_0x12a135&&!_0x33e237||!_0x12a135&&!_0x46c6dd)&&function(_0x5716c7,_0x57e471){const _0x36f900=[];for(const {item:_0x29915f}of _0x5716c7['createRangeIn'](_0x57e471))_0x29915f['is']('element','footnotesDefinitions')&&_0x36f900['push'](_0x29915f);for(const _0x1c42e9 of _0x36f900)_0x5716c7['remove'](_0x1c42e9);}(_0x4ca61d,_0x409f9d['content']),!_0x46c6dd)return;const {selection:_0x173c3b}=_0x1823e4['document'],_0x40c0ff=_0x173c3b['getFirstRange']()['root'];_0x12a135&&!_0x33e237||(_0x12a135=G(_0x4ca61d,_0x409f9d['content']),_0x12a135||=_0x238a68['_insertEmptyFootnotesDefinitionsContainer'](_0x4ca61d,_0x40c0ff));const _0x10813d=Array['from'](_0x173c3b['getRanges']())['flatMap'](Q),_0x1ba0c4=function(_0x1565b8,_0x4837b1,_0x256150){const _0x17f1a6=Object['create'](null);for(const {item:_0x941995}of _0x1565b8['createRangeIn'](_0x4837b1))if(_0x941995['is']('element','footnoteRef')){const _0x723336=_0x941995['getAttribute']('footnoteId');if(!_0x256150(_0x723336))continue;_0x17f1a6[_0x723336]||(_0x17f1a6[_0x723336]=_0x200590()),_0x1565b8['setAttribute']('footnoteId',_0x17f1a6[_0x723336],_0x941995);}return _0x17f1a6;}(_0x4ca61d,_0x409f9d['content'],_0x1e4e5b=>{if(!_0x21eb57)return!0x0;return!!_0x238a68['getFootnote'](_0x1e4e5b)&&!_0x10813d['includes'](_0x1e4e5b);});for(const [_0x4c972d,_0x6fa189]of Object['entries'](_0x46c6dd)){const _0x42c217=_0x1ba0c4[_0x4c972d]||_0x4c972d;let _0x2177ef;if('string'!=typeof _0x6fa189)_0x2177ef=_0x6fa189,_0x42c217!==_0x4c972d&&_0x4ca61d['setAttribute']('footnoteId',_0x42c217,_0x2177ef);else{_0x2177ef=_0x4ca61d['createElement']('footnoteDefinition',{'footnoteId':_0x42c217});const _0x5a4bcb=_0x458a65['data']['htmlProcessor']['toView'](_0x6fa189);let _0x11da4c;if(_0x1369ec)_0x11da4c=_0x458a65['data']['toModel'](_0x5a4bcb,_0x2177ef);else{_0x11da4c=_0x4ca61d['createElement']('footnoteInlineContent');const _0x2f65ac=_0x458a65['data']['toModel'](_0x5a4bcb,_0x11da4c);_0x4ca61d['insert'](_0x2f65ac,_0x11da4c);}_0x4ca61d['append'](_0x11da4c,_0x2177ef);}_0x4ca61d['insert'](_0x2177ef,_0x12a135,'end');}_0x46c6dd=null;});});}}function G(_0x7d5561,_0x438d83){for(const {item:_0x4a2d06}of _0x7d5561['createRangeIn'](_0x438d83))if(_0x4a2d06['is']('element','footnotesDefinitions'))return _0x4a2d06;return null;}function Q(_0x389d59){const _0x38f5fc=new Set();for(const {item:_0x29fa44}of _0x389d59)_0x29fa44['is']('element','footnoteRef')&&_0x38f5fc['add'](_0x29fa44['getAttribute']('footnoteId'));return Array['from'](_0x38f5fc);}class W extends _0x57e318{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2d0ea4}=this,{componentFactory:_0x9d50a4}=_0x2d0ea4['ui'];_0x9d50a4['add']('insertFootnote',Y(_0x2d0ea4,_0x14dfd9)),_0x9d50a4['add']('menuBar:insertFootnote',Y(_0x2d0ea4,_0x4f3d95)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5df910=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x26a6a1;for(const _0x342d32 in _0x5df910){const _0x22e21c=_0x342d32,_0x14a699=_0x5df910[_0x22e21c];if('footnotesLicenseKeyValid'==_0x14a699||'footnotesLicenseKeyInvalid'==_0x14a699||'footnotesLicenseKeyExpired'==_0x14a699||'footnotesLicenseKeyDomainLimit'==_0x14a699||'footnotesLicenseKeyNotAllowed'==_0x14a699||'footnotesLicenseKeyEvaluationLimit'==_0x14a699||'footnotesLicenseKeyUsageLimit'==_0x14a699){delete _0x5df910[_0x22e21c],_0x26a6a1=_0x14a699,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x26a6a1&&_0x5df910['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x26a6a1&&_0x5df910['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x26a6a1&&_0x5df910['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x26a6a1&&_0x5df910['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x26a6a1&&_0x5df910['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x26a6a1&&_0x5df910['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x288002,_0x35d7af){const _0x212ac5=_0x288002['commands']['get']('insertFootnote');return _0x6a94c6=>{const {t:t}=_0x6a94c6,_0x15d7db=new _0x35d7af(_0x6a94c6),_0x4c0aa8=_0x15d7db instanceof _0x4f3d95;return _0x15d7db['bind']('isEnabled')['to'](_0x212ac5,'isEnabled'),_0x15d7db['set']({'label':t(_0x4c0aa8?'Footnote':'Insert\x20footnote'),'icon':_0x1ebade,'tooltip':!0x0}),_0x15d7db['on']('execute',()=>{_0x212ac5['execute'](),_0x288002['editing']['view']['focus']();}),_0x15d7db;};}class Z extends _0x57e318{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x27ab07{['refresh'](){const {editor:_0x5403df}=this,_0x2a58ad=_0x5403df['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a58ad,this['value']=_0x2a58ad?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x24b75e}){const {editor:_0x51b4bb}=this,_0xb26bf5=_0x51b4bb['plugins']['get'](K),_0x42dd9b=_0xb26bf5['getFootnotesDefinitionsObjectElement']();_0x42dd9b&&ot['includes'](_0x24b75e)&&_0x51b4bb['model']['change'](_0x194a1c=>{_0x194a1c['setAttribute']('footnotesListStyle',_0x24b75e,_0x42dd9b),_0xb26bf5['_updateFootnotesCounters'](_0x194a1c);});}}class it extends _0x27ab07{['refresh'](){const {editor:_0x4c53e2}=this,_0x1fba89=_0x4c53e2['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1fba89,this['value']=_0x1fba89?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2203d4}){const {editor:_0x4ba165}=this,_0x49b922=_0x4ba165['plugins']['get'](K),_0xb1e0ac=_0x49b922['getFootnotesDefinitionsObjectElement']();_0xb1e0ac&&Number['isInteger'](_0x2203d4)&&_0x4ba165['model']['change'](_0x513794=>{_0x513794['setAttribute']('footnotesListStart',_0x2203d4,_0xb1e0ac),_0x49b922['_updateFootnotesCounters'](_0x513794);});}}function st(_0x1073d2,_0x55e1e9){let _0x2a6a8d='',_0x43cb9d=_0x1073d2;for(;_0x43cb9d>0x0;){const _0x46d9a8=(_0x43cb9d-0x1)%0x1a;_0x2a6a8d=String['fromCharCode'](0x61+_0x46d9a8)+_0x2a6a8d,_0x43cb9d=Math['floor']((_0x43cb9d-0x1)/0x1a);}return _0x55e1e9?_0x2a6a8d['toUpperCase']():_0x2a6a8d;}const rt=[{'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 lt(_0x460f46,_0x3ad8b7){let _0x1e934c='',_0x2fc660=_0x460f46;for(const {value:_0x2c1e27,numeral:_0x55b73e}of rt)for(;_0x2fc660>=_0x2c1e27;)_0x1e934c+=_0x55b73e,_0x2fc660-=_0x2c1e27;return _0x3ad8b7?_0x1e934c:_0x1e934c['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x57e318{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x110054}=this;_0x110054['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x110054['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x110054['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x110054['commands']['add']('footnotesStyle',new nt(_0x110054)),_0x110054['commands']['add']('footnotesStart',new it(_0x110054)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5d5aeb}=this,{schema:_0x139525}=_0x5d5aeb['model'];_0x139525['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xe1be92}=this,{conversion:_0xbf6ea0,model:_0x48c81c}=_0xe1be92,{schema:_0x4934b4}=_0x48c81c;_0xbf6ea0['for']('upcast')['add'](_0x1b2472=>{_0x1b2472['on']('element:ol',(_0x226205,_0x2cdd3b,_0xa5433f)=>{const _0x506d1f=_0x2cdd3b['viewItem'],_0x317ace=_0x2cdd3b['modelCursor']?.['parent'];_0x506d1f['hasClass']('footnotes-list')&&_0x317ace?.['is']('element','footnotesDefinitions')&&(function(_0x5cd201,_0x1c3542,_0x3ea482,_0x6dd3a1){if(!_0x6dd3a1['checkAttribute'](_0x1c3542,'footnotesListStart'))return;let _0x3f9496=0x1;const _0x4aff94=_0x3ea482['consumable']['consume'](_0x5cd201,{'attributes':'start'});if(_0x4aff94){const _0x11a328=Number['parseInt'](_0x5cd201['getAttribute']('start'),0xa);Number['isNaN'](_0x11a328)||(_0x3f9496=_0x11a328);}!_0x4aff94&&_0x1c3542['hasAttribute']('footnotesListStart')||_0x3ea482['writer']['setAttribute']('footnotesListStart',_0x3f9496,_0x1c3542);}(_0x506d1f,_0x317ace,_0xa5433f,_0x4934b4),function(_0xe7fa64,_0x409bc6,_0xb824d7,_0x38154b){if(!_0x38154b['checkAttribute'](_0x409bc6,'footnotesListStyle'))return;let _0x93f99e='decimal',_0xcba2d2=!0x1;if(_0xb824d7['consumable']['consume'](_0xe7fa64,{'attributes':'type'})){const _0x534c0b={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0xe7fa64['getAttribute']('type')];_0x534c0b&&(_0x93f99e=_0x534c0b),_0xcba2d2=!0x0;}if(_0xb824d7['consumable']['consume'](_0xe7fa64,{'styles':'list-style-type'})){const _0x58fef9=ct(_0xe7fa64['getStyle']('list-style-type'));_0x58fef9&&(_0x93f99e=_0x58fef9),_0xcba2d2=!0x0;}!_0xcba2d2&&_0x409bc6['hasAttribute']('footnotesListStyle')||_0xb824d7['writer']['setAttribute']('footnotesListStyle',_0x93f99e,_0x409bc6);}(_0x506d1f,_0x317ace,_0xa5433f,_0x4934b4));});}),_0xbf6ea0['for']('downcast')['add'](_0x374b26=>{_0x374b26['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3767f5,_0x3310bb,_0x113d7c)=>{if(!_0x113d7c['consumable']['consume'](_0x3310bb['item'],_0x3767f5['name']))return;const _0x46d414=ut(_0x3310bb['item'],_0x113d7c['mapper']),{attributeNewValue:_0x176fbe}=_0x3310bb;null==_0x176fbe||0x1===_0x176fbe?_0x113d7c['writer']['removeAttribute']('start',_0x46d414):_0x113d7c['writer']['setAttribute']('start',String(_0x176fbe),_0x46d414);}),_0x374b26['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5a6477,_0x3c340d,_0x57ffcf)=>{if(!_0x57ffcf['consumable']['consume'](_0x3c340d['item'],_0x5a6477['name']))return;const _0x419d04=ut(_0x3c340d['item'],_0x57ffcf['mapper']),{attributeNewValue:_0x6374be}=_0x3c340d;_0x6374be&&'decimal'!==_0x6374be?_0x57ffcf['writer']['setStyle']('list-style-type',_0x6374be,_0x419d04):_0x57ffcf['writer']['removeStyle']('list-style-type',_0x419d04);});});}['_definePostfixer'](){const {editor:_0x4b6279}=this,{model:_0x408aac}=_0x4b6279,_0x828ddc=_0x4b6279['plugins']['get'](K),_0x2e8d19=this['_getDefaultListStyle'](),_0x4f44eb=this['_getDefaultStartIndex']();_0x408aac['document']['registerPostFixer'](_0x595d23=>{const _0x10d6f8=_0x408aac['document']['differ']['getChanges']();let _0x21b505=!0x1;for(const _0x122f3d of _0x10d6f8){if('insert'!==_0x122f3d['type']||'$text'===_0x122f3d['name'])continue;const _0x32b3ae=_0x408aac['createRangeOn'](_0x122f3d['position']['nodeAfter']);for(const _0x2dcb8b of _0x32b3ae['getItems']())_0x2dcb8b['is']('element','footnotesDefinitions')&&(!_0x2dcb8b['hasAttribute']('footnotesListStart')&&_0x408aac['schema']['checkAttribute'](_0x2dcb8b,'footnotesListStart')&&(_0x595d23['setAttribute']('footnotesListStart',_0x4f44eb,_0x2dcb8b),_0x21b505=!0x0),!_0x2dcb8b['hasAttribute']('footnotesListStyle')&&_0x408aac['schema']['checkAttribute'](_0x2dcb8b,'footnotesListStyle')&&(_0x595d23['setAttribute']('footnotesListStyle',_0x2e8d19,_0x2dcb8b),_0x21b505=!0x0));}return _0x21b505&&_0x828ddc['_updateFootnotesCounters'](_0x595d23),_0x21b505;});}['_defineFormatter'](){const {editor:_0x44b298}=this;_0x44b298['plugins']['get'](K)['setFootnoteFormatter'](_0x47b8ea=>this['_formatFootnoteListValue'](_0x47b8ea));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x11e59b,value:_0x39eab5,digits:_0x3f82d5}){const _0x4b8b6f=_0x11e59b['getAttribute']('footnotesListStyle'),_0x2fc30b=_0x11e59b['getAttribute']('footnotesListStart'),_0x2d45f9=Math['floor'](_0x39eab5)+(_0x2fc30b??0x1)-0x1;switch(_0x4b8b6f){case'decimal-leading-zero':return function(_0x56cc75,_0x29c6ad){return String(_0x56cc75)['padStart'](_0x29c6ad,'0');}(_0x2d45f9,Math['max'](0x2,_0x3f82d5));case'lower-alpha':case'lower-latin':return st(_0x2d45f9,!0x1);case'upper-alpha':case'upper-latin':return st(_0x2d45f9,!0x0);case'lower-roman':return lt(_0x2d45f9,!0x1);case'upper-roman':return lt(_0x2d45f9,!0x0);case'arabic-indic':return String(_0x2d45f9)['replace'](/\d/g,_0x1d04ed=>ft[Number(_0x1d04ed)]);default:return String(_0x2d45f9);}}}function ct(_0x292f56){if('string'==typeof _0x292f56){const _0x38c6f1=et[_0x292f56];if(_0x38c6f1)return _0x38c6f1;if(ot['includes'](_0x292f56))return _0x292f56;}return null;}function ut(_0x36553a,_0x265b2a){const _0x4a86f1=_0x265b2a['toViewElement'](_0x36553a);return Array['from'](_0x4a86f1['getChildren']())['find'](_0x3e463f=>_0x3e463f['is']('element','ol')&&_0x3e463f['hasClass']('footnotes-list'));}class dt extends _0x35cba8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x119c27();['keystrokes']=new _0x267cb0();['focusables']=new _0x26c895();['focusCycler'];constructor(_0x52f84a,{styleButtonViews:_0x631726,styleGridAriaLabel:_0x2558b0}){super(_0x52f84a),(this['focusCycler']=new _0x52db44({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x631726,_0x2558b0),[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 _0x3e9243 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3e9243['element']);_0x57a8c8({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x6738b1['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 _0x399f1d=_0xe84a1=>_0xe84a1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x399f1d),this['keystrokes']['set']('arrowleft',_0x399f1d),this['keystrokes']['set']('arrowup',_0x399f1d),this['keystrokes']['set']('arrowdown',_0x399f1d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x586d8a,_0x3a6407){const _0x51dbd4=new _0x35cba8(this['locale']);return _0x51dbd4['children']=_0x51dbd4['createCollection'](),_0x51dbd4['children']['addMany'](_0x586d8a),_0x51dbd4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3a6407,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x51dbd4['children']}),_0x51dbd4['children']['delegate']('execute')['to'](this),_0x51dbd4['focus']=function(){for(const _0x44ecec of this['children'])if(_0x44ecec instanceof _0x14dfd9&&_0x44ecec['isOn'])return void _0x44ecec['focus']();this['children']['first']['focus']();},_0x51dbd4['focusTracker']=new _0x119c27(),_0x51dbd4['keystrokes']=new _0x267cb0(),_0x51dbd4['render'](),_0x51dbd4['keystrokes']['listenTo'](_0x51dbd4['element']),this['children']['add'](_0x51dbd4),_0x51dbd4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xbef3a=this['_createStartIndexPropertyView'](),_0x2a2e2d=[_0xbef3a],_0x10f6ed=new _0x11d3ba(this['locale'],_0x2a2e2d);return _0x10f6ed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x10f6ed['buttonView']['bind']('isEnabled')['toMany'](_0x2a2e2d,'isEnabled',(..._0x4a5592)=>_0x4a5592['some'](_0x4ca1cc=>_0x4ca1cc)),_0x10f6ed['buttonView']['on']('change:isEnabled',(_0x6d74f1,_0x4fbbe0,_0x32daaa)=>{_0x32daaa||(_0x10f6ed['isCollapsed']=!0x0);}),this['children']['add'](_0x10f6ed),[_0xbef3a,_0x10f6ed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x399a6b=new _0x4ba349(this['locale'],_0x84a9ba);return _0x399a6b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x399a6b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x399a6b['fieldView']['on']('input',()=>{const _0x5ba1cf=_0x399a6b['fieldView']['element'],_0x5ce9be=_0x5ba1cf['valueAsNumber'];Number['isNaN'](_0x5ce9be)?_0x399a6b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5ba1cf['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5ce9be}):_0x399a6b['errorText']=t(_0x5ce9be<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x399a6b;}}class ht extends _0x57e318{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4149d6,_0x15fdcf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dfa82}=this,{componentFactory:_0x436215}=_0x4dfa82['ui'];_0x4dfa82['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x436215['add']('footnotesStyle',function(_0x368755){return _0x5de183=>{const {t:t}=_0x5de183,_0x398f1f=_0x368755['commands']['get']('footnotesStyle'),_0x2c209f=_0x50ae09(_0x5de183),{buttonView:_0x3cb0fc}=_0x2c209f;return _0x2c209f['class']='ck-footnotes-styles-dropdown',_0x2c209f['bind']('isEnabled')['to'](_0x398f1f,'isEnabled'),_0x3cb0fc['set']({'label':t('Footnotes\x20style'),'icon':_0x1ebade,'tooltip':!0x0}),_0x2c209f['once']('change:isOpen',()=>{const _0xe19588=function({editor:_0x242648,dropdownView:_0x83b33}){const {t:t}=_0x242648['locale'],_0x4560aa=t('Footnotes\x20definitions\x20styles'),_0x1928f2=function(_0x1b51b5){const {t:t}=_0x1b51b5['locale'],_0x354411=_0x1b51b5['config']['get']('footnotes.footnotesProperties.listStyles'),_0x285a8b=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x13b869},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x556c82},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2ba2e3},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3f8e4d},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x22d6f1},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x44c01a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1e9ede}];return _0x354411['map'](_0x1f231e=>{const _0x230d01=ct(_0x1f231e),_0x1f2f5b=_0x285a8b['find'](_0x23b27e=>_0x23b27e['style']===_0x230d01);return function(_0x17256d,_0x3f245c){const {locale:_0x16810a}=_0x17256d,{label:_0x2284ad,icon:_0x14ea7e,tooltip:_0x3d35f7,style:_0x5e4fa0}=_0x3f245c,_0x2d7b11=_0x17256d['commands']['get']('footnotesStyle'),_0x5bb6c9=new _0x14dfd9(_0x16810a);return _0x5bb6c9['set']({'label':_0x2284ad,'icon':_0x14ea7e,'tooltip':_0x3d35f7}),_0x5bb6c9['bind']('isOn')['to'](_0x2d7b11,'value',_0x392673=>_0x392673===_0x5e4fa0),_0x5bb6c9['bind']('isEnabled')['to'](_0x2d7b11,'isEnabled'),_0x5bb6c9['on']('execute',()=>{_0x17256d['execute']('footnotesStyle',{'value':_0x5e4fa0}),_0x17256d['editing']['view']['focus']();}),_0x5bb6c9;}(_0x1b51b5,_0x1f2f5b);});}(_0x242648),_0x193ed9=new dt(_0x242648['locale'],{'styleGridAriaLabel':_0x4560aa,'styleButtonViews':_0x1928f2}),_0x581755=_0x242648['commands']['get']('footnotesStart');return _0x193ed9['startIndexFieldView']['bind']('isEnabled')['to'](_0x581755),_0x193ed9['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x581755),_0x193ed9['on']('footnotesListStart',(_0x3b899f,_0x49d152)=>{_0x242648['execute']('footnotesStart',{'value':_0x49d152['startIndex']});}),_0x193ed9['delegate']('execute')['to'](_0x83b33),_0x193ed9;}({'editor':_0x368755,'dropdownView':_0x2c209f});_0x2c209f['panelView']['children']['add'](_0xe19588);}),_0x2c209f;};}(_0x4dfa82));}['afterInit'](){const {editor:_0x42bc62}=this,{t:t}=_0x42bc62['locale'],_0x19a4fc=_0x42bc62['plugins']['get'](_0x15fdcf),{defaultPositions:_0x351bcb}=_0x188456;_0x19a4fc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x42bc62['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x368302=>{let _0x4ce155=_0x368302['getFirstPosition']()?.['parent'];return _0x4ce155?.['is']('$text')&&(_0x4ce155=_0x4ce155['parent']),_0x4ce155?.['is']('element')?_0x4ce155['findAncestor'](q):null;},'positions':[_0x351bcb['southArrowNorth'],_0x351bcb['southArrowNorthMiddleWest'],_0x351bcb['southArrowNorthMiddleEast'],_0x351bcb['southArrowNorthWest'],_0x351bcb['southArrowNorthEast'],_0x351bcb['northArrowSouth'],_0x351bcb['northArrowSouthMiddleWest'],_0x351bcb['northArrowSouthMiddleEast'],_0x351bcb['northArrowSouthWest'],_0x351bcb['northArrowSouthEast'],_0x351bcb['viewportStickyNorth']]});}}class mt extends _0x57e318{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x1ab399,Command as _0x22ceed}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x21a7d3,isWidget as _0x134ce6,toWidgetEditable as _0x2a486a,WidgetToolbarRepository as _0xeae956}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3bd4e9,logWarning as _0x35be5a,FocusTracker as _0x1cae8d,KeystrokeHandler as _0x4277c1,global as _0x3fdce5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x459f3c,ClickObserver as _0x4b7a1e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5275fe}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x46d868,ButtonView as _0x194ae9,View as _0x36048d,ViewCollection as _0x3bdc05,FocusCycler as _0x47293d,addKeyboardHandlingForGrid as _0x1e5d73,CollapsibleView as _0x53f78e,LabeledFieldView as _0x227c14,createLabeledInputNumber as _0x546812,ContextualBalloon as _0x2a47c2,BalloonPanelView as _0x4fcf39,createDropdown as _0x1e9529}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x411006,IconListStyleDecimal as _0x57566a,IconListStyleDecimalLeadingZero as _0x42e939,IconListStyleLowerRoman as _0x560adf,IconListStyleUpperRoman as _0x4c4376,IconListStyleLowerLatin as _0x428998,IconListStyleUpperLatin as _0x309aa3,IconListStyleArabicIndic as _0x5e9b4d}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x228985,_0x791c4f){this['_model']=_0x228985,this['_elementName']=_0x791c4f['elementName'],this['_getElementKey']=_0x791c4f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x18db20){const _0x2e5d23=new Set(),_0x475a71=new Map();for(const _0x40232f of _0x18db20){if('insert'===_0x40232f['type']&&'$text'!==_0x40232f['name']&&_0x40232f['position']['nodeAfter']){const _0xa532e2=this['_model']['createRangeOn'](_0x40232f['position']['nodeAfter']);for(const _0xc21399 of _0xa532e2['getItems']()){if(!_0xc21399['is']('element',this['_elementName']))continue;const _0x497ce9=this['_getElementKey'](_0xc21399);_0x475a71['has'](_0x497ce9)||_0x475a71['set'](_0x497ce9,[]),_0x475a71['get'](_0x497ce9)['push'](_0xc21399);}}if('remove'===_0x40232f['type']&&_0x40232f['name']===this['_elementName']){const _0x154826=this['_getElementKey']({'getAttribute':_0x1f7aac=>_0x40232f['attributes']['get'](_0x1f7aac)});_0x2e5d23['add'](_0x154826);}}for(const [_0x3e21dd,_0x2896a0]of this['_trackedElements'])'$graveyard'===_0x2896a0['root']['rootName']&&_0x2e5d23['add'](_0x3e21dd);for(const _0x3b838c of _0x2e5d23)this['_trackedElements']['delete'](_0x3b838c);for(const [_0x42ce65,_0x3f771e]of _0x475a71)this['_trackedElements']['set'](_0x42ce65,_0x3f771e[_0x3f771e['length']-0x1]);const _0x549303=new Set();for(const [_0x32dcd2,_0x31b111]of _0x475a71)_0x2e5d23['has'](_0x32dcd2)&&(_0x549303['add'](_0x31b111[0x0]),_0x31b111['length']>0x1?_0x475a71['set'](_0x32dcd2,_0x31b111['slice'](0x1)):_0x475a71['delete'](_0x32dcd2),_0x2e5d23['delete'](_0x32dcd2));return{'removed':Array['from'](_0x2e5d23),'inserted':Array['from'](_0x475a71['values']())['flat'](),'moved':Array['from'](_0x549303)};}}class FootnotesTracker extends _0x1ab399{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a75c1){super(_0x2a75c1),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x31eadf=>_0x31eadf['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x233def=>_0x233def['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1b174b}=this,{model:_0xd6100e,data:_0x15354d}=_0x1b174b;_0xd6100e['document']['registerPostFixer'](_0x4125e3=>{const _0x4e25b0=_0xd6100e['document']['differ']['getChanges']();let _0x41fb35=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4125e3,_0x4e25b0)&&(_0x41fb35=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4125e3,_0x4e25b0)&&(_0x41fb35=!0x0),this['_handleFootnoteReferencesChanges'](_0x4125e3,_0x4e25b0)&&(_0x41fb35=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4125e3)&&(_0x41fb35=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4125e3)&&(_0x41fb35=!0x0),this['_sortFootnoteDefinitions'](_0x4125e3)&&(_0x41fb35=!0x0),_0x41fb35;}),this['listenTo'](_0xd6100e['document'],'change:data',()=>{_0xd6100e['enqueueChange']({'isUndoable':!0x1},_0x54cef1=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x54cef1);});},{'priority':'low'}),this['listenTo'](_0x15354d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x221198){return this['_footnotes']['find'](_0x29f83a=>_0x29f83a['id']===_0x221198)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x7bda67){this['_footnoteFormatter']=_0x7bda67;}['_updateFootnotesCounters'](_0x36598f,_0x43c34a=0x0){let _0x3777c7=!0x1;for(let _0x1a01b7=_0x43c34a;_0x1a01b7<this['_footnotes']['length'];_0x1a01b7++)this['_updateFootnoteRefCounter'](_0x36598f,_0x1a01b7)&&(_0x3777c7=!0x0);return _0x3777c7;}['_insertEmptyFootnotesDefinitionsContainer'](_0xb1d512,_0x3295e4){const _0x214a3d=_0xb1d512['createElement']('footnotesDefinitions',{});return _0xb1d512['append'](_0x214a3d,_0x3295e4),this['_footnotesDefinitions']=_0x214a3d,_0x214a3d;}['_ensureFootnotesDefinitionsContainerExists'](_0x7954eb){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x59d9ea=this['_footnotes'][0x0]['reference']['root'],_0x4240cd=this['_insertEmptyFootnotesDefinitionsContainer'](_0x7954eb,_0x59d9ea);for(const _0x475e30 of this['_footnotes'])_0x475e30['definition']['parent']||_0x7954eb['insert'](_0x475e30['definition'],_0x4240cd,'end');this['_updateFootnotesCounters'](_0x7954eb);}['_handleFootnotesDefinitionsObjectChanges'](_0x56784e,_0x3c4fc0){let _0x490440=!0x1;const {inserted:_0x364a3a,removed:_0xdaad3f,moved:_0x1929f5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3c4fc0);if(_0x1929f5['length']&&(this['_footnotesDefinitions']=_0x1929f5[0x0]),_0x364a3a['length']){if(_0x364a3a['length']>0x1||this['_footnotesDefinitions']&&_0x364a3a['some'](_0x292031=>_0x292031!==this['_footnotesDefinitions'])){const _0xcce701=_0x56784e['createElement']('footnotesDefinitions',{}),_0x1df012=[];this['_footnotesDefinitions']&&_0x1df012['push'](this['_footnotesDefinitions']),_0x1df012['push'](..._0x364a3a),_0x56784e['insert'](_0xcce701,_0x1df012[0x0],'before');for(const _0x25a16a of _0x1df012)_0x56784e['move'](_0x56784e['createRangeIn'](_0x25a16a),_0x56784e['createPositionAt'](_0xcce701,'end')),_0x56784e['remove'](_0x25a16a);this['_footnotesDefinitions']=_0xcce701,this['_updateFootnotesCounters'](_0x56784e),_0x490440=!0x0;}else this['_footnotesDefinitions']=_0x364a3a[0x0];}if(_0xdaad3f['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x14bb03 of this['_footnotes'])_0x56784e['remove'](_0x14bb03['reference']),_0x490440=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x490440;}['_handleFootnoteDefinitionsChanges'](_0xfe3a1e,_0x2f0347){let _0x1956fa=!0x1;const _0x2a572d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x365692,moved:_0x25ce0a}=this['_footnoteDefsTracker']['getChanges'](_0x2f0347);for(const _0x3b4da4 of[..._0x25ce0a,..._0x365692]){const _0x370858=_0x3b4da4['getAttribute']('footnoteId'),_0x463559=this['getFootnote'](_0x370858);_0x463559&&(_0x463559['definition']=_0x3b4da4),N(_0xfe3a1e,_0x2a572d,_0x3b4da4)&&(_0x1956fa=!0x0);}return _0x1956fa;}['_handleFootnoteReferencesChanges'](_0x3357d8,_0x1cb66d){let _0x2b7bcf=!0x1;const {removed:_0xb6c418,inserted:_0x2ed3b2,moved:_0x244347}=this['_footnoteRefsTracker']['getChanges'](_0x1cb66d);for(const _0x46087f of _0xb6c418)this['_handleRemoveFootnoteReferenceById'](_0x3357d8,_0x46087f)&&(_0x2b7bcf=!0x0);for(const _0x3c1c27 of _0x2ed3b2)this['_handleInsertedFootnoteReference'](_0x3357d8,_0x3c1c27)&&(_0x2b7bcf=!0x0);for(const _0x8712f of _0x244347)this['_handleMovedFootnoteReference'](_0x3357d8,_0x8712f)&&(_0x2b7bcf=!0x0);return _0x2b7bcf;}['_handleFootnotesDefinitionsObjectSync'](_0x2877a5){if(!this['_footnotesDefinitions'])return!0x1;let _0x5a146c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2bee95=[];for(const _0x42514c of this['_footnotesDefinitions']['getChildren']()){const _0x5f5032=_0x42514c['getAttribute']('footnoteId');this['getFootnote'](_0x5f5032)||(_0x2bee95['unshift'](_0x42514c),_0x5a146c=!0x0);}for(const _0x525fd1 of _0x2bee95)_0x2877a5['remove'](_0x525fd1);}const _0x3d3e5a=new Set(),_0x1404ae=[];for(const _0x7cdccc of this['_footnotesDefinitions']['getChildren']()){const _0x2d7d94=_0x7cdccc['getAttribute']('footnoteId');_0x3d3e5a['has'](_0x2d7d94)?(_0x1404ae['unshift'](_0x7cdccc),_0x5a146c=!0x0):_0x3d3e5a['add'](_0x2d7d94);}for(const _0x15773c of _0x1404ae)_0x2877a5['remove'](_0x15773c);return this['_footnotesDefinitions']['childCount']||(_0x2877a5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5a146c=!0x0),_0x5a146c;}['_handleInsertedFootnoteReference'](_0x637da6,_0x54962f){if(this['_footnotes']['find'](_0x27503a=>_0x27503a['reference']===_0x54962f))return!0x1;let _0x5d844d=!0x1;const _0x5e92f0=_0x54962f['getAttribute']('footnoteId'),_0x5ea2dd=this['_footnotes']['findIndex'](_0x2bb8d4=>_0x2bb8d4['id']===_0x5e92f0);-0x1!==_0x5ea2dd&&(_0x637da6['remove'](this['_footnotes'][_0x5ea2dd]['reference']),this['_footnotes']['splice'](_0x5ea2dd,0x1),_0x5d844d=!0x0);let _0xef6bce=this['_footnotesDefinitions']?function(_0x6e7315,_0x3e904f){for(const _0x26d6e4 of _0x6e7315['getChildren']())if(_0x26d6e4['getAttribute']('footnoteId')===_0x3e904f)return _0x26d6e4;return null;}(this['_footnotesDefinitions'],_0x5e92f0):null;_0xef6bce||(_0xef6bce=_0x637da6['createElement']('footnoteDefinition',{'footnoteId':_0x5e92f0}),this['_footnotesDefinitions']&&(_0x637da6['insert'](_0xef6bce,this['_footnotesDefinitions'],'end'),_0x5d844d=!0x0));const _0x538e0f={'id':_0x5e92f0,'reference':_0x54962f,'definition':_0xef6bce},_0x3cc682=R(this['editor']['model'],this['_footnotes'],_0x54962f);this['_footnotes']['splice'](_0x3cc682,0x0,_0x538e0f);let _0x39d8cc=_0x3cc682;return-0x1!==_0x5ea2dd&&(_0x39d8cc=Math['min'](_0x3cc682,_0x5ea2dd)),this['_updateFootnotesCounters'](_0x637da6,_0x39d8cc)&&(_0x5d844d=!0x0),_0x5d844d;}['_handleRemoveFootnoteReferenceById'](_0x1f926b,_0x1f3bd9){const _0x18c560=this['_footnotes']['findIndex'](_0x316e59=>_0x316e59['id']===_0x1f3bd9);if(-0x1===_0x18c560)return!0x1;let _0x58f0d5=!0x1;const _0x3f2c34=this['_footnotes'][_0x18c560];return'$graveyard'!==_0x3f2c34['definition']['root']['rootName']&&(_0x1f926b['remove'](_0x3f2c34['definition']),_0x58f0d5=!0x0),this['_footnotes']['splice'](_0x18c560,0x1),this['_updateFootnotesCounters'](_0x1f926b,_0x18c560)&&(_0x58f0d5=!0x0),_0x58f0d5;}['_handleMovedFootnoteReference'](_0x4c8d29,_0x3e77e9){const _0x935256=_0x3e77e9['getAttribute']('footnoteId'),_0x301d7e=this['_footnotes']['findIndex'](_0x366fc4=>_0x366fc4['id']===_0x935256),_0x3c5512=this['_footnotes'][_0x301d7e];let _0x343dc2=!0x1;_0x3c5512['reference']=_0x3e77e9,this['_footnotes']['splice'](_0x301d7e,0x1);const _0x3e18d5=R(this['editor']['model'],this['_footnotes'],_0x3e77e9);return this['_footnotes']['splice'](_0x3e18d5,0x0,_0x3c5512),this['_updateFootnotesCounters'](_0x4c8d29,Math['min'](_0x301d7e,_0x3e18d5))&&(_0x343dc2=!0x0),_0x343dc2;}['_updateFootnoteRefCounter'](_0x1e0e49,_0x4939b1){if(!this['_footnotesDefinitions'])return!0x1;const _0x5d5d46=this['_footnotes'][_0x4939b1];let _0x377b6c;return _0x377b6c=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5d5d46,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4939b1+0x1}):String(_0x4939b1+0x1),_0x5d5d46['reference']['getAttribute']('footnoteCounter')!=_0x377b6c&&(_0x1e0e49['setAttribute']('footnoteCounter',_0x377b6c,_0x5d5d46['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3e8714){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x40ab38,_0x13101a){if(_0x40ab38['length']!==_0x13101a['length'])return!0x1;for(let _0x175cce=0x0;_0x175cce<_0x40ab38['length'];_0x175cce++)if(_0x40ab38[_0x175cce]!==_0x13101a[_0x175cce])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4a9751=>_0x4a9751['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x55c0d1=>_0x55c0d1['getAttribute']('footnoteId'))))return!0x1;let _0x530b40=!0x1;for(let _0x4a1263=0x0;_0x4a1263<this['_footnotes']['length'];_0x4a1263++){const _0x4702de=this['_footnotes'][_0x4a1263],_0x4d61ad=_0x3e8714['createPositionBefore'](_0x4702de['definition']),_0x5e6bc3=_0x3e8714['createPositionAt'](this['_footnotesDefinitions'],_0x4a1263);_0x4d61ad['isEqual'](_0x5e6bc3)||(_0x3e8714['move'](_0x3e8714['createRangeOn'](_0x4702de['definition']),_0x5e6bc3),_0x530b40=!0x0);}return _0x530b40;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4a4241){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2b747e}=this['editor'];let _0xab9cef=!0x1;for(let _0x1a87ea=0x0;_0x1a87ea<this['_footnotes']['length']-0x1;_0x1a87ea++){const _0x2d5b51=this['_footnotes'][_0x1a87ea],_0x33c981=this['_footnotes'][_0x1a87ea+0x1],_0x1a307e=_0x2b747e['createPositionBefore'](_0x2d5b51['reference']),_0x1d7e69=_0x2b747e['createPositionBefore'](_0x33c981['reference']);'after'===_0x1a307e['compareWith'](_0x1d7e69)&&(this['_handleMovedFootnoteReference'](_0x4a4241,_0x2d5b51['reference']),_0x1a87ea=-0x1,_0xab9cef=!0x0);}return _0xab9cef;}}function N(_0x5c489e,_0x2fe5bf,_0x474bca){if(_0x474bca['childCount'])return!0x1;const _0x39283e=_0x2fe5bf?'paragraph':'footnoteInlineContent';return _0x5c489e['insert'](_0x5c489e['createElement'](_0x39283e),_0x474bca),!0x0;}function R(_0x4439a6,_0x360c50,_0x536203){if(0x0===_0x360c50['length'])return 0x0;const _0x2d1dba=_0x4439a6['createPositionBefore'](_0x536203);for(let _0x5291f3=0x0;_0x5291f3<_0x360c50['length'];_0x5291f3++){const _0x4e7418=_0x360c50[_0x5291f3],_0x3a330c=_0x4439a6['createPositionBefore'](_0x4e7418['reference']);if('before'===_0x2d1dba['compareWith'](_0x3a330c))return _0x5291f3;}const _0x8b15cc=_0x536203['root'];let _0x4428d4=-0x1;for(let _0x369d6a=_0x360c50['length']-0x1;_0x369d6a>=0x0;_0x369d6a--)if(_0x360c50[_0x369d6a]['reference']['root']===_0x8b15cc){_0x4428d4=_0x369d6a;break;}if(-0x1!==_0x4428d4)return _0x4428d4+0x1;const _0x3e9642=_0x4439a6['document']['getRootNames'](),_0x31e494=_0x3e9642['indexOf'](_0x8b15cc['rootName']),_0x2316c2=_0x3e9642[_0x31e494+0x1];if(_0x2316c2){for(let _0x3d99eb=0x0;_0x3d99eb<_0x360c50['length'];_0x3d99eb++)if(_0x360c50[_0x3d99eb]['reference']['root']['rootName']===_0x2316c2)return _0x3d99eb;}return _0x360c50['length'];}class InsertFootnoteCommand extends _0x22ceed{['refresh'](){const _0x307de4=this['editor']['model']['document']['selection'],_0x24b13f=this['_getPositionToInsertFootnote'](_0x307de4);this['isEnabled']=!!_0x24b13f;}['execute'](_0x3ebd83){const {editor:_0x1dd1e8}=this,{model:_0x1a3bd3}=_0x1dd1e8,{selection:_0x45dfc2}=_0x1a3bd3['document'],_0x20602e=this['_getPositionToInsertFootnote'](_0x45dfc2);if(!_0x20602e)return;const _0x20c5cf=_0x1dd1e8['plugins']['get']('FootnotesEditing'),_0x2b17ae=_0x3ebd83?.['footnoteId']??_0x3bd4e9();!function(_0x242480){return'string'==typeof _0x242480&&_0x242480['length']>0x0&&!/\s/['test'](_0x242480)&&!/^\d/['test'](_0x242480);}(_0x2b17ae)?_0x35be5a('insert-footnote-command-executed-with-invalid-id'):(_0x1a3bd3['change'](_0x3a677a=>{const _0x2440a0=_0x3a677a['createElement']('footnoteRef',{'footnoteId':_0x2b17ae});_0x1a3bd3['insertObject'](_0x2440a0,_0x20602e,null);}),_0x20c5cf['_moveSelectionToFootnoteDefinition'](_0x2b17ae));}['_getPositionToInsertFootnote'](_0x16d301){const {model:_0x1a765f}=this['editor'],{schema:_0x12afc0}=_0x1a765f,_0x52f680=_0x16d301['getFirstRange']();for(const _0x9b57 of _0x52f680['getItems']())if(_0x12afc0['isBlock'](_0x9b57)||_0x12afc0['isObject'](_0x9b57))return null;const _0x4ca868=_0x52f680['end'];return _0x12afc0['checkChild'](_0x4ca868,'footnoteRef')?_0x4ca868:null;}}class FootnotesEditing extends _0x1ab399{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32cb89}=this;_0x32cb89['config']['define']('footnotes.multiBlock',!0x0),_0x32cb89['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x32cb89)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x304e32){const _0x4c74a2=_0x461984([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]),_0x224f5d=0x47a28506,_0xe6aa90=0x47a50e46^_0x224f5d,_0x42ee59=window[_0x461984([0x44,0x61,0x74,0x65])][_0x461984([0x6e,0x6f,0x77])](),_0x463e23=_0x304e32[_0x461984([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x36b3cf=new window[(_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e17cf=>{_0x463e23[_0x461984([0x6f,0x6e,0x63,0x65])](_0x461984([0x72,0x65,0x61,0x64,0x79]),_0x5e17cf);}),_0x14207d={[_0x461984([0x6b,0x74,0x79])]:_0x461984([0x45,0x43]),[_0x461984([0x75,0x73,0x65])]:_0x461984([0x73,0x69,0x67]),[_0x461984([0x63,0x72,0x76])]:_0x461984([0x50,0x2d,0x32,0x35,0x36]),[_0x461984([0x78])]:_0x461984([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]),[_0x461984([0x79])]:_0x461984([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]),[_0x461984([0x61,0x6c,0x67])]:_0x461984([0x45,0x53,0x32,0x35,0x36])},_0x53c01b=_0x463e23[_0x461984([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x461984([0x67,0x65,0x74])](_0x461984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e5005(){let _0x35a7d4,_0x339444=null,_0x525575=null;try{if(_0x53c01b==_0x461984([0x47,0x50,0x4c]))return _0x461984([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35a7d4=_0x468673(),!_0x35a7d4)return _0x461984([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35a7d4[_0x461984([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x525575=_0x39b482(_0x35a7d4[_0x461984([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35a7d4[_0x461984([0x6a,0x74,0x69])])),await _0x28dd73()?_0x46d24a()?_0x416af4()?_0x461984([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46342d()?(_0x35a7d4[_0x461984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x461984([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x339444=_0x337055(_0x461984([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xcb554f()):_0x461984([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x461984([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x461984([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x461984([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x416af4(){const _0x36eb6b=[_0x461984([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x461984([0x74,0x72,0x69,0x61,0x6c])][_0x461984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35a7d4[_0x461984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42ee59/0x3e8:0xe10*_0xe6aa90;return _0x35a7d4[_0x461984([0x65,0x78,0x70])]<_0x36eb6b;}function _0x46d24a(){const _0x3cc2ee=_0x35a7d4[_0x461984([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3cc2ee&&(!!_0x3cc2ee[_0x461984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x461984([0x2a]))||!!_0x3cc2ee[_0x461984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x461984([0x46,0x4f,0x4f])));}function _0x46342d(){const _0x90bee6=_0x35a7d4[_0x461984([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x90bee6||0x0==_0x90bee6[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x436d13}=new URL(window[_0x461984([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x90bee6[_0x461984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x436d13))return!0x0;const _0x634855=_0x436d13[_0x461984([0x73,0x70,0x6c,0x69,0x74])](_0x461984([0x2e]));return _0x90bee6[_0x461984([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x389105=>_0x389105[_0x461984([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x461984([0x2a])))[_0x461984([0x6d,0x61,0x70])](_0x694a19=>_0x694a19[_0x461984([0x73,0x70,0x6c,0x69,0x74])](_0x461984([0x2e])))[_0x461984([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f1f01=>_0x3f1f01[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x634855[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x461984([0x6d,0x61,0x70])](_0x4ccb0b=>Array(_0x634855[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ccb0b[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x461984([0x66,0x69,0x6c,0x6c])](_0x4ccb0b[0x0]===_0x461984([0x2a])?_0x461984([0x2a]):'')[_0x461984([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ccb0b))[_0x461984([0x73,0x6f,0x6d,0x65])](_0x1f5218=>_0x634855[_0x461984([0x65,0x76,0x65,0x72,0x79])]((_0x4f28fb,_0x4b9858)=>_0x1f5218[_0x4b9858]===_0x4f28fb||_0x1f5218[_0x4b9858]===_0x461984([0x2a])));}function _0xcb554f(){return _0x339444&&_0x525575?new window[(_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x285db1,_0x3dcd39)=>{_0x339444[_0x461984([0x74,0x68,0x65,0x6e])](_0x285db1,_0x3dcd39),_0x525575[_0x461984([0x74,0x68,0x65,0x6e])](_0x2adf4a=>{_0x2adf4a!=_0x461984([0x56,0x61,0x6c,0x69,0x64])&&_0x285db1(_0x2adf4a);},_0x3dcd39);}):_0x339444||_0x525575||_0x461984([0x56,0x61,0x6c,0x69,0x64]);}}function _0x39b482(_0x440fd1,_0x57221b){return new window[(_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425940=>{if(_0x2e6504())return _0x425940(_0x461984([0x56,0x61,0x6c,0x69,0x64]));_0x592f76(),_0x463e23[_0x461984([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x461984([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0112=!0x1;const _0x4ad234=_0x3bd4e9();function _0x31a58a(_0x36bef7){return!!_0x36bef7&&(typeof _0x36bef7===_0x461984([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36bef7===_0x461984([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36bef7[_0x461984([0x74,0x68,0x65,0x6e])]===_0x461984([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36bef7[_0x461984([0x63,0x61,0x74,0x63,0x68])]===_0x461984([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40af58(_0x42d70e){_0x45742a(_0x42d70e)[_0x461984([0x74,0x68,0x65,0x6e])](_0x435218=>{if(!_0x435218||_0x435218[_0x461984([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x461984([0x6f,0x6b]))return _0x461984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x550bee(_0x359c9b(_0x4ad234+_0x57221b))!=_0x435218[_0x461984([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x461984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x461984([0x56,0x61,0x6c,0x69,0x64]);})[_0x461984([0x74,0x68,0x65,0x6e])](_0x1749fe=>(_0x6b81f3(),_0x1749fe),()=>{const _0x3dfc14=_0x3f4010();return null==_0x3dfc14?(_0x6b81f3(),_0x461984([0x56,0x61,0x6c,0x69,0x64])):_0x461984(_0x42ee59-_0x3dfc14>(0x63ae0106^_0x224f5d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x461984([0x74,0x68,0x65,0x6e])](_0x425940)[_0x461984([0x63,0x61,0x74,0x63,0x68])](()=>{_0x425940(_0x461984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x129c7d=0x47946b86^_0x224f5d;function _0x6b81f3(){const _0x35afa7=_0x461984([0x6c,0x6c,0x63,0x74,0x2d])+_0x550bee(_0x359c9b(_0x440fd1)),_0x57aede=_0x4174a1(_0x550bee(window[_0x461984([0x4d,0x61,0x74,0x68])][_0x461984([0x63,0x65,0x69,0x6c])](_0x42ee59/_0x129c7d)));window[_0x461984([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x461984([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35afa7,_0x57aede);}function _0x3f4010(){const _0x261c5e=_0x461984([0x6c,0x6c,0x63,0x74,0x2d])+_0x550bee(_0x359c9b(_0x440fd1)),_0x556a38=window[_0x461984([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x461984([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x261c5e);return _0x556a38?window[_0x461984([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4174a1(_0x556a38),0x10)*_0x129c7d:null;}function _0x45742a(_0xf48586){return new window[(_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3941e5,_0x8598b7)=>{_0xf48586[_0x461984([0x74,0x68,0x65,0x6e])](_0x3941e5,_0x8598b7),window[_0x461984([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8598b7,0x47a351c6^_0x224f5d);});}}_0x463e23[_0x461984([0x6f,0x6e])](_0x461984([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x169f13,_0x3fbd55)=>{if(_0x3fbd55[0x0]!=_0x440fd1)return _0x425940(_0x461984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3fbd55[0x1]={..._0x3fbd55[0x1],[_0x461984([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4ad234};},{[_0x461984([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x461984([0x68,0x69,0x67,0x68])}),_0x463e23[_0x461984([0x6f,0x6e])](_0x461984([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1efc4c=>{_0x31a58a(_0x1efc4c[_0x461984([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0112=!0x0,_0x40af58(_0x1efc4c[_0x461984([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x461984([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x461984([0x6c,0x6f,0x77])}),_0x36b3cf[_0x461984([0x74,0x68,0x65,0x6e])](()=>{_0x4c0112||_0x425940(_0x461984([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e6504(){return _0x463e23[_0x461984([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x461984([0x76,0x69,0x65,0x77])][_0x461984([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x461984([0x61,0x75,0x74,0x6f]);}function _0x592f76(){_0x463e23[_0x461984([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x461984([0x76,0x69,0x65,0x77])][_0x461984([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x461984([0x61,0x75,0x74,0x6f]);}}function _0x337055(_0x57feff){const _0x12cd37=[new window[(_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f61b8=>setTimeout(_0x4f61b8,0x47abbbca^_0x224f5d)),_0x36b3cf[_0x461984([0x74,0x68,0x65,0x6e])](()=>new window[(_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35da65=>{let _0x25a149=0x0;_0x463e23[_0x461984([0x6d,0x6f,0x64,0x65,0x6c])][_0x461984([0x6f,0x6e])](_0x461984([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13459c,_0x150e90)=>{_0x150e90[0x0][_0x461984([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25a149++,_0x25a149==(0x47a280ee^_0x224f5d)&&(_0x35da65(),_0x13459c[_0x461984([0x6f,0x66,0x66])]());});}))];return window[_0x461984([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x461984([0x72,0x61,0x63,0x65])](_0x12cd37)[_0x461984([0x74,0x68,0x65,0x6e])](()=>_0x57feff);}async function _0x259cc2(){await _0x36b3cf,_0x463e23[_0x461984([0x6d,0x6f,0x64,0x65,0x6c])][_0x461984([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3b6443,_0x463e23[_0x461984([0x6d,0x6f,0x64,0x65,0x6c])][_0x461984([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3b6443,_0x463e23[_0x461984([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x461984([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x455feb(_0x21e04e){const _0x437acf=_0x378722();_0x463e23[_0x437acf]=_0x461984([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x21e04e,_0x21e04e!=_0x461984([0x56,0x61,0x6c,0x69,0x64])&&_0x259cc2();}function _0x378722(){const _0x13cf5d=window[_0x461984([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x461984([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x461984([0x6e,0x6f,0x77])]())[_0x461984([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x461984([0x2e]),'');let _0x740a14=_0x461984([0x75]);for(let _0x3ae372=0x0;_0x3ae372<_0x13cf5d[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae372+=0x2){let _0x37dd05=window[_0x461984([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13cf5d[_0x461984([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae372,_0x3ae372+0x2));_0x37dd05>=_0x4c74a2[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37dd05-=_0x4c74a2[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x740a14+=_0x4c74a2[_0x37dd05];}return _0x740a14;}function _0x468673(){const _0x312b84=_0x53c01b[_0x461984([0x73,0x70,0x6c,0x69,0x74])](_0x461984([0x2e]));if(0x3!=_0x312b84[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ae364(_0x312b84[0x1]);function _0x4ae364(_0x22ba2b){const _0xb92fdf=_0x18436b(_0x22ba2b);return _0xb92fdf&&_0x37b2ad()?_0xb92fdf:null;function _0x37b2ad(){const _0x5e0292=_0xb92fdf[_0x461984([0x6a,0x74,0x69])],_0xa3230b=window[_0x461984([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e0292[_0x461984([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e0292[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x355e56={..._0xb92fdf,[_0x461984([0x6a,0x74,0x69])]:_0x5e0292[_0x461984([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e0292[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x355e56[_0x461984([0x76,0x63])],_0x359c9b(_0x355e56)==_0xa3230b;}}}async function _0x28dd73(){let _0x342f24=!0x0;try{const _0x674236=_0x53c01b[_0x461984([0x73,0x70,0x6c,0x69,0x74])](_0x461984([0x2e])),[_0x5a80d8,_0x38dc79,_0x56c958]=_0x674236;return _0x208829(_0x5a80d8),await _0x46c09d(_0x5a80d8,_0x38dc79,_0x56c958),_0x342f24;}catch{return!0x1;}function _0x208829(_0x59786b){const _0x5ada44=_0x18436b(_0x59786b);_0x5ada44&&_0x5ada44[_0x461984([0x61,0x6c,0x67])]==_0x461984([0x45,0x53,0x32,0x35,0x36])||(_0x342f24=!0x1);}async function _0x46c09d(_0x1e2883,_0x3190de,_0x29d39f){const _0xe2b4e9=window[_0x461984([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x461984([0x66,0x72,0x6f,0x6d])](_0x3c707f(_0x29d39f),_0x6f5565=>_0x6f5565[_0x461984([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4558fb=new window[(_0x461984([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x461984([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e2883+_0x461984([0x2e])+_0x3190de),_0x2820f5=window[_0x461984([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x461984([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2820f5)return;const _0x17d041=await _0x2820f5[_0x461984([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x461984([0x6a,0x77,0x6b]),_0x14207d,{[_0x461984([0x6e,0x61,0x6d,0x65])]:_0x461984([0x45,0x43,0x44,0x53,0x41]),[_0x461984([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x461984([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x461984([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2820f5[_0x461984([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x461984([0x6e,0x61,0x6d,0x65])]:_0x461984([0x45,0x43,0x44,0x53,0x41]),[_0x461984([0x68,0x61,0x73,0x68])]:{[_0x461984([0x6e,0x61,0x6d,0x65])]:_0x461984([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17d041,_0xe2b4e9,_0x4558fb)||(_0x342f24=!0x1);}}function _0x18436b(_0x102639){return _0x102639[_0x461984([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x461984([0x65,0x79]))?JSON[_0x461984([0x70,0x61,0x72,0x73,0x65])](_0x3c707f(_0x102639)):null;}function _0x3c707f(_0x2b3625){return window[_0x461984([0x61,0x74,0x6f,0x62])](_0x2b3625[_0x461984([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x461984([0x2b]))[_0x461984([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x461984([0x2f])));}function _0x359c9b(_0x38cd3f){let _0x2cd4b5=0x1505;function _0x56015a(_0x48007e){for(let _0x1c41e6=0x0;_0x1c41e6<_0x48007e[_0x461984([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c41e6++){const _0x5734a7=_0x48007e[_0x461984([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c41e6);_0x2cd4b5=(_0x2cd4b5<<0x5)+_0x2cd4b5+_0x5734a7,_0x2cd4b5&=_0x2cd4b5;}}function _0x4cd1cd(_0x419037){Array[_0x461984([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x419037)?_0x419037[_0x461984([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cd1cd):_0x419037&&typeof _0x419037==_0x461984([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x461984([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x419037)[_0x461984([0x73,0x6f,0x72,0x74])]()[_0x461984([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x55199d,_0x345441])=>{_0x56015a(_0x55199d),_0x4cd1cd(_0x345441);}):_0x56015a(window[_0x461984([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x419037));}return _0x4cd1cd(_0x38cd3f),_0x2cd4b5>>>0x0;}function _0x550bee(_0x310fb0){return _0x310fb0[_0x461984([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x461984([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x461984([0x30]));}function _0x4174a1(_0x1c7cd9){return _0x1c7cd9[_0x461984([0x73,0x70,0x6c,0x69,0x74])]('')[_0x461984([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x461984([0x6a,0x6f,0x69,0x6e])]('');}function _0x3b6443(){}function _0x461984(_0x2c1cff){return _0x2c1cff['map'](_0x3380a1=>String['fromCharCode'](_0x3380a1))['join']('');}_0x455feb(await _0x4e5005());}(this);}['_moveSelectionToFootnoteDefinition'](_0x43e262){const {plugins:_0x128500,editing:_0x14894b,model:_0x521325}=this['editor'],_0x13b534=_0x128500['get'](FootnotesTracker)['getFootnote'](_0x43e262);return!!_0x13b534&&(_0x521325['change'](_0x18022e=>{_0x18022e['setSelection'](_0x18022e['createPositionAt'](_0x13b534['definition'],'end'));}),_0x14894b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x905cd5){const {plugins:_0x59bbe8,editing:_0x1f2a94,model:_0x5e3c85}=this['editor'],_0x268534=_0x59bbe8['get'](FootnotesTracker)['getFootnote'](_0x905cd5);return!!_0x268534&&(_0x5e3c85['change'](_0x504c62=>{_0x504c62['setSelection'](_0x268534['reference'],'on');}),_0x1f2a94['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x16934f}=this['editor']['model'],_0x4063c5=this['editor']['config']['get']('footnotes.multiBlock');_0x16934f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x16934f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x16934f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4063c5?_0x16934f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x16934f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x16934f['addChildCheck'](_0x52b24a=>{for(const _0x5c7087 of _0x52b24a)if('footnoteDefinition'===_0x5c7087['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3cad3d}=this,{conversion:_0x2135c6,editing:_0x2fcfb5}=_0x3cad3d,{t:t}=_0x3cad3d['locale'];_0x2135c6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xd1aa7c,{writer:_0x3afadc,consumable:_0x35393c})=>{const _0x5af6ca=_0xd1aa7c['getChild'](0x0);if(!_0x5af6ca||!_0x5af6ca['is']('element','a'))return null;const _0x5eccca=_0x5af6ca['getAttribute']('href')||'';if(!_0x5eccca['startsWith']('#'))return null;const _0x3d22d2=_0x5eccca['replace'](/^#/,'');if(!_0x3d22d2)return null;_0x35393c['consume'](_0x5af6ca,{'name':!0x0,'attributes':['href']});for(const {item:_0xccedb}of _0x2fcfb5['view']['createRangeIn'](_0x5af6ca))_0xccedb['is']('$textProxy')?_0x35393c['consume'](_0xccedb['textNode'],{'name':!0x0}):_0xccedb['is']('element')&&_0x35393c['consume'](_0xccedb,{'name':!0x0});return _0x3afadc['createElement']('footnoteRef',{'footnoteId':_0x3d22d2});}}),_0x2135c6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x52d4e8,{writer:_0x5bb8a0})=>U(_0x52d4e8,_0x5bb8a0)}),_0x2135c6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x49688c,{writer:_0x7523ef})=>{const _0x4ea372=_0x49688c['getAttribute']('footnoteCounter');return _0x21a7d3(U(_0x49688c,_0x7523ef),_0x7523ef,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4ea372)});}});}['_defineDefinitionsConverters'](){const {editor:_0x45ac0d}=this,{t:t}=_0x45ac0d['locale'],{conversion:_0x520704}=_0x45ac0d;_0x520704['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x520704['for']('upcast')['add'](_0xe6cfec=>{_0xe6cfec['on']('element:ol',(_0xaac97b,_0x81fd2f,_0x16391f)=>{const _0x30876e=_0x81fd2f['viewItem'];if(!_0x30876e['hasClass']('footnotes-list')||!_0x81fd2f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x16391f['consumable']['consume'](_0x30876e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5cc240,modelCursor:_0x3bbc00}=_0x16391f['convertChildren'](_0x81fd2f['viewItem'],_0x81fd2f['modelCursor']);_0x81fd2f['modelRange']=_0x5cc240,_0x81fd2f['modelCursor']=_0x3bbc00;}),_0xe6cfec['on']('element:hr',(_0x5e4aa1,_0x55ab82,_0x4af85c)=>{const _0x429ece=_0x55ab82['viewItem'];_0x429ece['hasClass']('footnotes-divider')&&_0x55ab82['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4af85c['consumable']['consume'](_0x429ece,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x520704['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x17ed00,{writer:_0x11a891})=>$(_0x11a891)}),_0x520704['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1cb0a0,{writer:_0x322f67})=>{const _0x3c1f76=$(_0x322f67,{'data-footnotes-list-label':t('Footnotes')}),_0x343b8a=_0x21a7d3(_0x3c1f76,_0x322f67,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x322f67['setCustomProperty']('footnotesDefinitions',!0x0,_0x343b8a),_0x343b8a;}});}['_defineDefinitionConverters'](){const {editor:_0x4d5212}=this,{conversion:_0x369f95,locale:_0x5e3f30}=_0x4d5212,_0x66a277=_0x4d5212['config']['get']('footnotes.multiBlock');_0x369f95['for']('upcast')['add'](_0x1b80d9=>{_0x1b80d9['on']('element:li',(_0x5dfaa2,_0x53f104,_0x28ead1)=>{const _0x388ad0=_0x53f104['viewItem'];if(!_0x388ad0['hasClass']('footnote-definition')||!_0x388ad0['getAttribute']('id'))return;const _0x1bb125=_0x388ad0['parent'];if(!_0x1bb125['is']('element','ol')||!_0x1bb125['hasClass']('footnotes-list'))return;if(!_0x28ead1['consumable']['test'](_0x388ad0,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3182b9=_0x28ead1['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x388ad0['getAttribute']('id')});if(!_0x28ead1['safeInsert'](_0x3182b9,_0x53f104['modelCursor']))return;_0x28ead1['consumable']['consume'](_0x388ad0,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x510748=Array['from'](_0x388ad0['getChildren']())['find'](_0xf3d239=>_0xf3d239['is']('element')&&_0xf3d239['hasClass']('footnote-content'));for(const _0x2d0625 of _0x388ad0['getChildren']())_0x2d0625['is']('element')&&(_0x28ead1['consumable']['consume'](_0x2d0625,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x28ead1['consumable']['consume'](_0x2d0625,{'name':!0x0,'classes':'footnote-content'}));if(_0x510748){if(_0x66a277)_0x28ead1['convertChildren'](_0x510748,_0x3182b9);else{const _0x43e602=_0x28ead1['writer']['createElement']('footnoteInlineContent');_0x28ead1['writer']['insert'](_0x43e602,_0x3182b9),_0x28ead1['convertChildren'](_0x510748,_0x43e602);}}_0x28ead1['updateConversionResult'](_0x3182b9,_0x53f104);});}),_0x369f95['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10585f,{writer:_0x409a58})=>B(_0x10585f,_0x409a58,_0x5e3f30,{'dataPipeline':!0x0})}),_0x369f95['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2677be,{writer:_0x2392f2})=>B(_0x2677be,_0x2392f2,_0x5e3f30)});}['_defineBogusParagraphConverters'](){const {editor:_0x4a5a58}=this,{conversion:_0x3ecc52}=_0x4a5a58;_0x4a5a58['config']['get']('footnotes.multiBlock')?(_0x3ecc52['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0x3ecc52['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4a5a58['model']['document'],'change:data',()=>{!function(_0x32b88a,_0x6f133f){const _0x50134d=_0x32b88a['document']['differ'],_0x2756cd=new Set();for(const _0x527c14 of _0x50134d['getChanges']()){const _0x3585ce='attribute'==_0x527c14['type']?_0x527c14['range']['start']['parent']:_0x527c14['position']['parent'];_0x3585ce['is']('element','footnoteDefinition')&&_0x2756cd['add'](_0x3585ce);}for(const _0x2ee522 of _0x2756cd['values']()){const _0x565b6d=Array['from'](_0x2ee522['getChildren']())['filter'](_0x5e9d7b=>V(_0x5e9d7b,_0x6f133f['mapper']));for(const _0x28cbc2 of _0x565b6d)_0x6f133f['reconvertItem'](_0x28cbc2);}}(_0x4a5a58['model'],_0x4a5a58['editing']);})):(_0x3ecc52['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0x3ecc52['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5b45c2,{writer:_0x177671})=>{const _0x20ae82=_0x177671['createContainerElement']('span');return _0x177671['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x20ae82),_0x20ae82;}}));}['_defineKeyboardHandlers'](){const {editor:_0x289281}=this,{editing:_0x4ac7e8,t:t}=_0x289281,_0x15515f=_0x289281['model']['document']['selection'];_0x289281['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x289281['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4ac7e8['view']['document'],'enter',(_0x2d6c3b,_0x41ab03)=>{const _0x393608=function(_0x442a81){const _0x3ff1aa=_0x442a81['getSelectedElement']();if(_0x3ff1aa?.['is']('element','footnoteRef'))return _0x3ff1aa;return null;}(_0x15515f);if(_0x393608){const _0x2f5902=_0x393608['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2f5902),_0x41ab03['preventDefault'](),_0x2d6c3b['stop']();}},{'context':_0x134ce6});}['_defineClickHandlers'](){const {editor:_0x1fbcd0}=this,{editing:_0x1e86ec}=_0x1fbcd0;_0x1fbcd0['editing']['view']['addObserver'](_0x459f3c),_0x1fbcd0['editing']['view']['addObserver'](_0x4b7a1e);let _0x30abf9=!0x1;this['listenTo'](_0x1e86ec['view']['document'],'pointerdown',(_0x200423,_0x40f9cf)=>{const {target:_0x5609c5}=_0x40f9cf,_0x50faef=_0x1e86ec['view']['document']['selection'];_0x30abf9=!!(_0x5609c5?.['is']('element','a')&&_0x5609c5['parent']?.['is']('element','sup')&&_0x5609c5['parent']['hasClass']('footnote'))&&_0x50faef['getSelectedElement']()===_0x5609c5['parent'];},{'priority':'high'}),this['listenTo'](_0x1e86ec['view']['document'],'click',(_0x2cdd90,_0x3c202a)=>{const {target:_0x4cf799}=_0x3c202a;if(!_0x4cf799?.['is']('element','a'))return;if(_0x4cf799['parent']?.['is']('element','sup')&&_0x4cf799['parent']['hasClass']('footnote')&&!_0x30abf9)return void _0x3c202a['preventDefault']();let _0x4ca9c9=_0x4cf799['getAttribute']('href');if(!_0x4ca9c9?.['startsWith']('#'))return;_0x4ca9c9=_0x4ca9c9['slice'](0x1);let _0x30565e=!0x1;(_0x4ca9c9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4ca9c9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4ca9c9))&&(_0x30565e=!0x0),_0x30565e&&(_0x3c202a['preventDefault'](),_0x2cdd90['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x5a6073}={}){return(_0x74f018,{writer:_0x1e1ba1})=>{if(!j(_0x74f018))return null;if(!_0x5a6073)return _0x1e1ba1['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x190673=_0x1e1ba1['createContainerElement']('p');return _0x1e1ba1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x190673),_0x190673;};}function j(_0x141e07){const {parent:_0x3820cb}=_0x141e07;if(!_0x3820cb?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3820cb['childCount'])return!0x1;for(const _0x3e3b07 of _0x141e07['getAttributeKeys']())if(!_0x3e3b07['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3e3b07)return!0x1;return!0x0;}function V(_0x3b23aa,_0x397fa2){if(!_0x3b23aa['is']('element','paragraph'))return!0x1;const _0x199613=_0x397fa2['toViewElement'](_0x3b23aa);return!!_0x199613&&j(_0x3b23aa)!==_0x199613['is']('element','span');}function M(_0x28a540){return _0x134ce6(_0x28a540)&&_0x28a540['is']('containerElement')&&!!_0x28a540['getCustomProperty']('footnotesDefinitions');}function $(_0x5a4e81,_0x76122d={}){const _0x34f1d8=_0x5a4e81['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1bb960=_0x5a4e81['createContainerElement']('ol',{'class':'footnotes-list'},_0x5a4e81['createSlot']());return _0x5a4e81['createContainerElement']('div',{'class':'footnotes',..._0x76122d},[_0x34f1d8,_0x1bb960]);}function U(_0x4f8280,_0x2a1a4a){const _0x2f7d1f=_0x4f8280['getAttribute']('footnoteId'),_0x1defa2=_0x4f8280['getAttribute']('footnoteCounter'),_0x12a2d4=_0x2a1a4a['createUIElement']('a',{'href':'#'+_0x2f7d1f},function(_0x4f3fbf){const _0x34ffa7=this['toDomElement'](_0x4f3fbf);return _0x34ffa7['textContent']=_0x1defa2,_0x34ffa7;}),_0x1aea49=_0x2a1a4a['createContainerElement']('sup',{'id':'ref-'+_0x2f7d1f,'class':'footnote'},[_0x12a2d4]);return _0x1aea49['getFillerOffset']=()=>null,_0x1aea49;}function B(_0x1eb9b9,_0x442ad7,_0x4e2822,{dataPipeline:_0x4c46ea}={}){const {t:t}=_0x4e2822,_0x2cb8c7=_0x1eb9b9['getAttribute']('footnoteId'),_0x371bfb=_0x442ad7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cb8c7},function(_0x2a45bb){const _0x25e84c=this['toDomElement'](_0x2a45bb);return _0x25e84c['innerText']='^',_0x25e84c;}),_0x45e91d=_0x4c46ea?_0x442ad7['createContainerElement']('div',{'class':'footnote-content'}):_0x2a486a(_0x442ad7['createEditableElement']('div',{'class':'footnote-content'}),_0x442ad7,{'label':t('Footnote\x20content.')});return _0x442ad7['insert'](_0x442ad7['createPositionAt'](_0x45e91d,0x0),_0x442ad7['createSlot']()),_0x442ad7['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cb8c7},[_0x371bfb,_0x45e91d]);}class FootnotesClipboard extends _0x1ab399{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x5275fe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xae8d07}=this,{plugins:_0x30a70a,model:_0x38256a}=_0xae8d07,_0x4e047b=_0x30a70a['get'](_0x5275fe),_0x421e6a=_0x30a70a['get'](FootnotesTracker);this['listenTo'](_0x4e047b,'outputTransformation',(_0x15c6f7,_0x2338b9)=>{const _0x493fd6=H(_0x38256a['createRangeIn'](_0x2338b9['content']));if(!_0x493fd6['length'])return;const _0x2d1bbc=_0x421e6a['getFootnotes'](),_0x4efd86=_0x493fd6['reduce']((_0xdf8a3f,_0x35ca64)=>{const _0x3f41be=_0x2d1bbc['find'](_0x2aaac3=>_0x2aaac3['id']===_0x35ca64);if(_0x3f41be){const _0x58d31c=_0xae8d07['data']['toView'](_0x3f41be['definition'],{'isClipboardPipeline':!0x0}),_0x3562ce=_0xae8d07['data']['htmlProcessor']['toData'](_0x58d31c);_0xdf8a3f[_0x3f41be['id']]=_0x3562ce;}return _0xdf8a3f;},Object['create'](null));_0x2338b9['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4efd86));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x226452}=this,{model:_0x44a4a6,plugins:_0x4e7829}=_0x226452,{view:_0x1dfd4b}=_0x226452['editing'],_0x258569=_0x4e7829['get'](_0x5275fe),_0x145c68=_0x4e7829['get'](FootnotesTracker),_0x41905f=_0x226452['config']['get']('footnotes.multiBlock');let _0x3d6ac9=null;this['listenTo'](_0x1dfd4b['document'],'clipboardInput',(_0x113b76,_0x46833f)=>{const _0xf20038=_0x46833f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3d6ac9=_0xf20038?JSON['parse'](_0xf20038):null;}),this['listenTo'](_0x258569,'contentInsertion',(_0x409c8a,_0x3ed881)=>{const _0x1a2451=_0x3ed881['sourceEditorId']===this['editor']['id'];_0x1a2451&&'drop'===_0x3ed881['method']||_0x44a4a6['change'](_0x53e76b=>{let _0x165188=_0x145c68['getFootnotesDefinitionsObjectElement']();const _0xc9d1be=!!_0x165188&&Array['from'](_0x44a4a6['document']['selection']['getSelectedBlocks']())['includes'](_0x165188);if(!_0x3d6ac9&&function(_0x536eb5){for(const {item:_0x313e3e}of _0x536eb5)if(_0x313e3e['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x44a4a6['createRangeIn'](_0x3ed881['content']))&&(_0x3d6ac9=function(_0x18245c,_0x5f3da4){const _0x14a6a7=q(_0x18245c,_0x5f3da4);if(!_0x14a6a7)return null;const _0x30200e=Object['create'](null);for(const _0x4170e0 of _0x14a6a7['getChildren']())_0x4170e0['is']('element','footnoteDefinition')&&_0x4170e0['hasAttribute']('footnoteId')&&(_0x30200e[_0x4170e0['getAttribute']('footnoteId')]=_0x18245c['cloneElement'](_0x4170e0,!0x0));return Object['keys'](_0x30200e)['length']?_0x30200e:null;}(_0x53e76b,_0x3ed881['content'])),(_0x165188&&!_0xc9d1be||!_0x165188&&!_0x3d6ac9)&&function(_0x423669,_0x6828e4){const _0x48a4f2=[];for(const {item:_0x515b61}of _0x423669['createRangeIn'](_0x6828e4))_0x515b61['is']('element','footnotesDefinitions')&&_0x48a4f2['push'](_0x515b61);for(const _0x414a48 of _0x48a4f2)_0x423669['remove'](_0x414a48);}(_0x53e76b,_0x3ed881['content']),!_0x3d6ac9)return;const {selection:_0x54bd76}=_0x44a4a6['document'],_0x42140e=_0x54bd76['getFirstRange']()['root'];_0x165188&&!_0xc9d1be||(_0x165188=q(_0x53e76b,_0x3ed881['content']),_0x165188||=_0x145c68['_insertEmptyFootnotesDefinitionsContainer'](_0x53e76b,_0x42140e));const _0x535ad8=Array['from'](_0x54bd76['getRanges']())['flatMap'](H),_0x1251bb=function(_0xfbdd16,_0x32830e,_0xb22fa2){const _0x1282b8=Object['create'](null);for(const {item:_0x53a48b}of _0xfbdd16['createRangeIn'](_0x32830e))if(_0x53a48b['is']('element','footnoteRef')){const _0x1af338=_0x53a48b['getAttribute']('footnoteId');if(!_0xb22fa2(_0x1af338))continue;_0x1282b8[_0x1af338]||(_0x1282b8[_0x1af338]=_0x3bd4e9()),_0xfbdd16['setAttribute']('footnoteId',_0x1282b8[_0x1af338],_0x53a48b);}return _0x1282b8;}(_0x53e76b,_0x3ed881['content'],_0x403991=>{if(!_0x1a2451)return!0x0;return!!_0x145c68['getFootnote'](_0x403991)&&!_0x535ad8['includes'](_0x403991);});for(const [_0x493c62,_0x3ca27c]of Object['entries'](_0x3d6ac9)){const _0x507f14=_0x1251bb[_0x493c62]||_0x493c62;let _0x5eb813;if('string'!=typeof _0x3ca27c)_0x5eb813=_0x3ca27c,_0x507f14!==_0x493c62&&_0x53e76b['setAttribute']('footnoteId',_0x507f14,_0x5eb813);else{_0x5eb813=_0x53e76b['createElement']('footnoteDefinition',{'footnoteId':_0x507f14});const _0x229241=_0x226452['data']['htmlProcessor']['toView'](_0x3ca27c);let _0x2a6bb2;if(_0x41905f)_0x2a6bb2=_0x226452['data']['toModel'](_0x229241,_0x5eb813);else{_0x2a6bb2=_0x53e76b['createElement']('footnoteInlineContent');const _0x4427eb=_0x226452['data']['toModel'](_0x229241,_0x2a6bb2);_0x53e76b['insert'](_0x4427eb,_0x2a6bb2);}_0x53e76b['append'](_0x2a6bb2,_0x5eb813);}_0x53e76b['insert'](_0x5eb813,_0x165188,'end');}_0x3d6ac9=null;});});}}function q(_0x2eba5d,_0x3edc99){for(const {item:_0x5e6fda}of _0x2eba5d['createRangeIn'](_0x3edc99))if(_0x5e6fda['is']('element','footnotesDefinitions'))return _0x5e6fda;return null;}function H(_0x18ad8e){const _0x187e96=new Set();for(const {item:_0x30a2f2}of _0x18ad8e)_0x30a2f2['is']('element','footnoteRef')&&_0x187e96['add'](_0x30a2f2['getAttribute']('footnoteId'));return Array['from'](_0x187e96);}class FootnotesUI extends _0x1ab399{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a03bd}=this,{componentFactory:_0x1037c0}=_0x1a03bd['ui'];_0x1037c0['add']('insertFootnote',z(_0x1a03bd,_0x194ae9)),_0x1037c0['add']('menuBar:insertFootnote',z(_0x1a03bd,_0x46d868)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c027b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3120f1;for(const _0x2768c2 in _0x5c027b){const _0xe4b1f9=_0x2768c2,_0x1317b6=_0x5c027b[_0xe4b1f9];if('footnotesLicenseKeyValid'==_0x1317b6||'footnotesLicenseKeyInvalid'==_0x1317b6||'footnotesLicenseKeyExpired'==_0x1317b6||'footnotesLicenseKeyDomainLimit'==_0x1317b6||'footnotesLicenseKeyNotAllowed'==_0x1317b6||'footnotesLicenseKeyEvaluationLimit'==_0x1317b6||'footnotesLicenseKeyUsageLimit'==_0x1317b6){delete _0x5c027b[_0xe4b1f9],_0x3120f1=_0x1317b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3120f1&&_0x5c027b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3120f1&&_0x5c027b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3120f1&&_0x5c027b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3120f1&&_0x5c027b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3120f1&&_0x5c027b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3120f1&&_0x5c027b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x2e7e6d,_0x1f37e4){const _0x29df08=_0x2e7e6d['commands']['get']('insertFootnote');return _0x453c1a=>{const {t:t}=_0x453c1a,_0x4c7394=new _0x1f37e4(_0x453c1a),_0x59f954=_0x4c7394 instanceof _0x46d868;return _0x4c7394['bind']('isEnabled')['to'](_0x29df08,'isEnabled'),_0x4c7394['set']({'label':t(_0x59f954?'Footnote':'Insert\x20footnote'),'icon':_0x411006,'tooltip':!0x0}),_0x4c7394['on']('execute',()=>{_0x29df08['execute'](),_0x2e7e6d['editing']['view']['focus']();}),_0x4c7394;};}class Footnotes extends _0x1ab399{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 _0x22ceed{['refresh'](){const {editor:_0x387b91}=this,_0x152d8c=_0x387b91['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x152d8c,this['value']=_0x152d8c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x347202}){const {editor:_0x26fdcb}=this,_0x5b7478=_0x26fdcb['plugins']['get'](FootnotesTracker),_0x145b54=_0x5b7478['getFootnotesDefinitionsObjectElement']();_0x145b54&&G['includes'](_0x347202)&&_0x26fdcb['model']['change'](_0x317534=>{_0x317534['setAttribute']('footnotesListStyle',_0x347202,_0x145b54),_0x5b7478['_updateFootnotesCounters'](_0x317534);});}}class FootnotesStartCommand extends _0x22ceed{['refresh'](){const {editor:_0x9808a1}=this,_0x170653=_0x9808a1['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x170653,this['value']=_0x170653?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x56e712}){const {editor:_0x1f3cf7}=this,_0x5e9f92=_0x1f3cf7['plugins']['get'](FootnotesTracker),_0x42475c=_0x5e9f92['getFootnotesDefinitionsObjectElement']();_0x42475c&&Number['isInteger'](_0x56e712)&&_0x1f3cf7['model']['change'](_0x290296=>{_0x290296['setAttribute']('footnotesListStart',_0x56e712,_0x42475c),_0x5e9f92['_updateFootnotesCounters'](_0x290296);});}}function Q(_0x2d84be,_0xe5daab){let _0x171cf6='',_0x483029=_0x2d84be;for(;_0x483029>0x0;){const _0x943367=(_0x483029-0x1)%0x1a;_0x171cf6=String['fromCharCode'](0x61+_0x943367)+_0x171cf6,_0x483029=Math['floor']((_0x483029-0x1)/0x1a);}return _0xe5daab?_0x171cf6['toUpperCase']():_0x171cf6;}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(_0x2ff114,_0x35d4e5){let _0x14fc56='',_0x4d68d5=_0x2ff114;for(const {value:_0x4c6967,numeral:_0x4912c2}of W)for(;_0x4d68d5>=_0x4c6967;)_0x14fc56+=_0x4912c2,_0x4d68d5-=_0x4c6967;return _0x35d4e5?_0x14fc56:_0x14fc56['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x1ab399{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x278b85}=this;_0x278b85['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x278b85['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x278b85['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x278b85['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x278b85)),_0x278b85['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x278b85)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x6c6d4d}=this,{schema:_0x488b79}=_0x6c6d4d['model'];_0x488b79['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1e8f1c}=this,{conversion:_0x9f8fa9,model:_0x4be6e8}=_0x1e8f1c,{schema:_0x3c590b}=_0x4be6e8;_0x9f8fa9['for']('upcast')['add'](_0x3883a3=>{_0x3883a3['on']('element:ol',(_0x22a2e1,_0x4eea5a,_0x26ae17)=>{const _0x1d663a=_0x4eea5a['viewItem'],_0x16b31c=_0x4eea5a['modelCursor']?.['parent'];_0x1d663a['hasClass']('footnotes-list')&&_0x16b31c?.['is']('element','footnotesDefinitions')&&(function(_0x251c9b,_0x133ccd,_0x515242,_0x2d2ad3){if(!_0x2d2ad3['checkAttribute'](_0x133ccd,'footnotesListStart'))return;let _0x329dc7=0x1;const _0xe4417a=_0x515242['consumable']['consume'](_0x251c9b,{'attributes':'start'});if(_0xe4417a){const _0x3db6c6=Number['parseInt'](_0x251c9b['getAttribute']('start'),0xa);Number['isNaN'](_0x3db6c6)||(_0x329dc7=_0x3db6c6);}!_0xe4417a&&_0x133ccd['hasAttribute']('footnotesListStart')||_0x515242['writer']['setAttribute']('footnotesListStart',_0x329dc7,_0x133ccd);}(_0x1d663a,_0x16b31c,_0x26ae17,_0x3c590b),function(_0x5df37c,_0x217225,_0x16b867,_0x5d6c4b){if(!_0x5d6c4b['checkAttribute'](_0x217225,'footnotesListStyle'))return;let _0x50a282='decimal',_0x5b445b=!0x1;if(_0x16b867['consumable']['consume'](_0x5df37c,{'attributes':'type'})){const _0x49bcd7={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x5df37c['getAttribute']('type')];_0x49bcd7&&(_0x50a282=_0x49bcd7),_0x5b445b=!0x0;}if(_0x16b867['consumable']['consume'](_0x5df37c,{'styles':'list-style-type'})){const _0x24dbcd=tt(_0x5df37c['getStyle']('list-style-type'));_0x24dbcd&&(_0x50a282=_0x24dbcd),_0x5b445b=!0x0;}!_0x5b445b&&_0x217225['hasAttribute']('footnotesListStyle')||_0x16b867['writer']['setAttribute']('footnotesListStyle',_0x50a282,_0x217225);}(_0x1d663a,_0x16b31c,_0x26ae17,_0x3c590b));});}),_0x9f8fa9['for']('downcast')['add'](_0x635ec4=>{_0x635ec4['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x317135,_0x29a8be,_0x34d445)=>{if(!_0x34d445['consumable']['consume'](_0x29a8be['item'],_0x317135['name']))return;const _0x5cc473=et(_0x29a8be['item'],_0x34d445['mapper']),{attributeNewValue:_0xc612ba}=_0x29a8be;null==_0xc612ba||0x1===_0xc612ba?_0x34d445['writer']['removeAttribute']('start',_0x5cc473):_0x34d445['writer']['setAttribute']('start',String(_0xc612ba),_0x5cc473);}),_0x635ec4['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x257a26,_0x352a81,_0x1dc158)=>{if(!_0x1dc158['consumable']['consume'](_0x352a81['item'],_0x257a26['name']))return;const _0x47fe15=et(_0x352a81['item'],_0x1dc158['mapper']),{attributeNewValue:_0x248252}=_0x352a81;_0x248252&&'decimal'!==_0x248252?_0x1dc158['writer']['setStyle']('list-style-type',_0x248252,_0x47fe15):_0x1dc158['writer']['removeStyle']('list-style-type',_0x47fe15);});});}['_definePostfixer'](){const {editor:_0x1d266f}=this,{model:_0x495275}=_0x1d266f,_0x356178=_0x1d266f['plugins']['get'](FootnotesTracker),_0x21d64f=this['_getDefaultListStyle'](),_0x222253=this['_getDefaultStartIndex']();_0x495275['document']['registerPostFixer'](_0x2cb4a6=>{const _0x48a7ab=_0x495275['document']['differ']['getChanges']();let _0x19008c=!0x1;for(const _0x4f7a66 of _0x48a7ab){if('insert'!==_0x4f7a66['type']||'$text'===_0x4f7a66['name'])continue;const _0x31991e=_0x495275['createRangeOn'](_0x4f7a66['position']['nodeAfter']);for(const _0x314189 of _0x31991e['getItems']())_0x314189['is']('element','footnotesDefinitions')&&(!_0x314189['hasAttribute']('footnotesListStart')&&_0x495275['schema']['checkAttribute'](_0x314189,'footnotesListStart')&&(_0x2cb4a6['setAttribute']('footnotesListStart',_0x222253,_0x314189),_0x19008c=!0x0),!_0x314189['hasAttribute']('footnotesListStyle')&&_0x495275['schema']['checkAttribute'](_0x314189,'footnotesListStyle')&&(_0x2cb4a6['setAttribute']('footnotesListStyle',_0x21d64f,_0x314189),_0x19008c=!0x0));}return _0x19008c&&_0x356178['_updateFootnotesCounters'](_0x2cb4a6),_0x19008c;});}['_defineFormatter'](){const {editor:_0xeac10a}=this;_0xeac10a['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x4ad82c=>this['_formatFootnoteListValue'](_0x4ad82c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2b2d19,value:_0x38d96b,digits:_0x3d927a}){const _0x4ecb66=_0x2b2d19['getAttribute']('footnotesListStyle'),_0x5a2a34=_0x2b2d19['getAttribute']('footnotesListStart'),_0xa258d=Math['floor'](_0x38d96b)+(_0x5a2a34??0x1)-0x1;switch(_0x4ecb66){case'decimal-leading-zero':return function(_0x3f5b6e,_0x225879){return String(_0x3f5b6e)['padStart'](_0x225879,'0');}(_0xa258d,Math['max'](0x2,_0x3d927a));case'lower-alpha':case'lower-latin':return Q(_0xa258d,!0x1);case'upper-alpha':case'upper-latin':return Q(_0xa258d,!0x0);case'lower-roman':return Y(_0xa258d,!0x1);case'upper-roman':return Y(_0xa258d,!0x0);case'arabic-indic':return String(_0xa258d)['replace'](/\d/g,_0x3c920d=>Z[Number(_0x3c920d)]);default:return String(_0xa258d);}}}function tt(_0x2fff9b){if('string'==typeof _0x2fff9b){const _0x1795fa=J[_0x2fff9b];if(_0x1795fa)return _0x1795fa;if(G['includes'](_0x2fff9b))return _0x2fff9b;}return null;}function et(_0x3df29b,_0x1d3c2a){const _0x32cf46=_0x1d3c2a['toViewElement'](_0x3df29b);return Array['from'](_0x32cf46['getChildren']())['find'](_0x27e960=>_0x27e960['is']('element','ol')&&_0x27e960['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x36048d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1cae8d();['keystrokes']=new _0x4277c1();['focusables']=new _0x3bdc05();['focusCycler'];constructor(_0x5be010,{styleButtonViews:_0x1f3171,styleGridAriaLabel:_0x25818b}){super(_0x5be010),(this['focusCycler']=new _0x47293d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1f3171,_0x25818b),[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 _0x524638 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x524638['element']);_0x1e5d73({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x3fdce5['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 _0x155967=_0x8a57bf=>_0x8a57bf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x155967),this['keystrokes']['set']('arrowleft',_0x155967),this['keystrokes']['set']('arrowup',_0x155967),this['keystrokes']['set']('arrowdown',_0x155967);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x27dd5e,_0x177500){const _0x25d251=new _0x36048d(this['locale']);return _0x25d251['children']=_0x25d251['createCollection'](),_0x25d251['children']['addMany'](_0x27dd5e),_0x25d251['setTemplate']({'tag':'div','attributes':{'aria-label':_0x177500,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x25d251['children']}),_0x25d251['children']['delegate']('execute')['to'](this),_0x25d251['focus']=function(){for(const _0x39cd1c of this['children'])if(_0x39cd1c instanceof _0x194ae9&&_0x39cd1c['isOn'])return void _0x39cd1c['focus']();this['children']['first']['focus']();},_0x25d251['focusTracker']=new _0x1cae8d(),_0x25d251['keystrokes']=new _0x4277c1(),_0x25d251['render'](),_0x25d251['keystrokes']['listenTo'](_0x25d251['element']),this['children']['add'](_0x25d251),_0x25d251;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xdbac6b=this['_createStartIndexPropertyView'](),_0x51ad55=[_0xdbac6b],_0x2b447e=new _0x53f78e(this['locale'],_0x51ad55);return _0x2b447e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2b447e['buttonView']['bind']('isEnabled')['toMany'](_0x51ad55,'isEnabled',(..._0x1eebce)=>_0x1eebce['some'](_0x3f5145=>_0x3f5145)),_0x2b447e['buttonView']['on']('change:isEnabled',(_0x9be4ca,_0x3e80c8,_0x12bea0)=>{_0x12bea0||(_0x2b447e['isCollapsed']=!0x0);}),this['children']['add'](_0x2b447e),[_0xdbac6b,_0x2b447e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xc830c9=new _0x227c14(this['locale'],_0x546812);return _0xc830c9['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xc830c9['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xc830c9['fieldView']['on']('input',()=>{const _0x27a6d3=_0xc830c9['fieldView']['element'],_0x165381=_0x27a6d3['valueAsNumber'];Number['isNaN'](_0x165381)?_0xc830c9['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x27a6d3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x165381}):_0xc830c9['errorText']=t(_0x165381<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xc830c9;}}class FootnotesPropertiesUI extends _0x1ab399{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2a47c2,_0xeae956];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3fe0a2}=this,{componentFactory:_0xe94b13}=_0x3fe0a2['ui'];_0x3fe0a2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xe94b13['add']('footnotesStyle',function(_0x1aab80){return _0x5731b0=>{const {t:t}=_0x5731b0,_0x198bc9=_0x1aab80['commands']['get']('footnotesStyle'),_0x52b246=_0x1e9529(_0x5731b0),{buttonView:_0x13a154}=_0x52b246;return _0x52b246['class']='ck-footnotes-styles-dropdown',_0x52b246['bind']('isEnabled')['to'](_0x198bc9,'isEnabled'),_0x13a154['set']({'label':t('Footnotes\x20style'),'icon':_0x411006,'tooltip':!0x0}),_0x52b246['once']('change:isOpen',()=>{const _0xfb5e24=function({editor:_0x1be789,dropdownView:_0x3b05d5}){const {t:t}=_0x1be789['locale'],_0x156410=t('Footnotes\x20definitions\x20styles'),_0x52c5f5=function(_0x5acb2c){const {t:t}=_0x5acb2c['locale'],_0x3ee937=_0x5acb2c['config']['get']('footnotes.footnotesProperties.listStyles'),_0xfc3ddb=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x57566a},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x42e939},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x560adf},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x4c4376},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x428998},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x309aa3},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x5e9b4d}];return _0x3ee937['map'](_0x519c67=>{const _0x5d6ce2=tt(_0x519c67),_0xdac8ad=_0xfc3ddb['find'](_0x21fd9d=>_0x21fd9d['style']===_0x5d6ce2);return function(_0x12e83a,_0x6d7486){const {locale:_0x5c7016}=_0x12e83a,{label:_0x1fd960,icon:_0xd28a40,tooltip:_0x29e096,style:_0x55c9cc}=_0x6d7486,_0x31a1e8=_0x12e83a['commands']['get']('footnotesStyle'),_0x5b5d68=new _0x194ae9(_0x5c7016);return _0x5b5d68['set']({'label':_0x1fd960,'icon':_0xd28a40,'tooltip':_0x29e096}),_0x5b5d68['bind']('isOn')['to'](_0x31a1e8,'value',_0x1dcc0a=>_0x1dcc0a===_0x55c9cc),_0x5b5d68['bind']('isEnabled')['to'](_0x31a1e8,'isEnabled'),_0x5b5d68['on']('execute',()=>{_0x12e83a['execute']('footnotesStyle',{'value':_0x55c9cc}),_0x12e83a['editing']['view']['focus']();}),_0x5b5d68;}(_0x5acb2c,_0xdac8ad);});}(_0x1be789),_0x477ad0=new FootnotesDefinitionsPropertiesView(_0x1be789['locale'],{'styleGridAriaLabel':_0x156410,'styleButtonViews':_0x52c5f5}),_0x1f1a46=_0x1be789['commands']['get']('footnotesStart');return _0x477ad0['startIndexFieldView']['bind']('isEnabled')['to'](_0x1f1a46),_0x477ad0['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1f1a46),_0x477ad0['on']('footnotesListStart',(_0x5b3781,_0xfa7dd6)=>{_0x1be789['execute']('footnotesStart',{'value':_0xfa7dd6['startIndex']});}),_0x477ad0['delegate']('execute')['to'](_0x3b05d5),_0x477ad0;}({'editor':_0x1aab80,'dropdownView':_0x52b246});_0x52b246['panelView']['children']['add'](_0xfb5e24);}),_0x52b246;};}(_0x3fe0a2));}['afterInit'](){const {editor:_0x14cb6e}=this,{t:t}=_0x14cb6e['locale'],_0x5dedea=_0x14cb6e['plugins']['get'](_0xeae956),{defaultPositions:_0x30eab4}=_0x4fcf39;_0x5dedea['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x14cb6e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x445393=>{let _0x22c761=_0x445393['getFirstPosition']()?.['parent'];return _0x22c761?.['is']('$text')&&(_0x22c761=_0x22c761['parent']),_0x22c761?.['is']('element')?_0x22c761['findAncestor'](M):null;},'positions':[_0x30eab4['southArrowNorth'],_0x30eab4['southArrowNorthMiddleWest'],_0x30eab4['southArrowNorthMiddleEast'],_0x30eab4['southArrowNorthWest'],_0x30eab4['southArrowNorthEast'],_0x30eab4['northArrowSouth'],_0x30eab4['northArrowSouthMiddleWest'],_0x30eab4['northArrowSouthMiddleEast'],_0x30eab4['northArrowSouthWest'],_0x30eab4['northArrowSouthEast'],_0x30eab4['viewportStickyNorth']]});}}class FootnotesProperties extends _0x1ab399{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':_0x477cb6=>0x1!=_0x477cb6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3dee9f=>{const {af:{dictionary:_0x43ed94,getPluralForm:_0x12c000}}={'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':_0x2f29d9=>0x1!=_0x2f29d9}};_0x3dee9f['af']||={'dictionary':{},'getPluralForm':null},_0x3dee9f['af']['dictionary']=Object['assign'](_0x3dee9f['af']['dictionary'],_0x43ed94),_0x3dee9f['af']['getPluralForm']=_0x12c000;})(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':_0x25dd6e=>0x0==_0x25dd6e?0x0:0x1==_0x25dd6e?0x1:0x2==_0x25dd6e?0x2:_0x25dd6e%0x64>=0x3&&_0x25dd6e%0x64<=0xa?0x3:_0x25dd6e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xbb8204=>{const {ar:{dictionary:_0x3e89e8,getPluralForm:_0x5aaf6f}}={'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':_0x5adcb4=>0x0==_0x5adcb4?0x0:0x1==_0x5adcb4?0x1:0x2==_0x5adcb4?0x2:_0x5adcb4%0x64>=0x3&&_0x5adcb4%0x64<=0xa?0x3:_0x5adcb4%0x64>=0xb?0x4:0x5}};_0xbb8204['ar']||={'dictionary':{},'getPluralForm':null},_0xbb8204['ar']['dictionary']=Object['assign'](_0xbb8204['ar']['dictionary'],_0x3e89e8),_0xbb8204['ar']['getPluralForm']=_0x5aaf6f;})(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':_0x3f3d0c=>0x1!=_0x3f3d0c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x167df4=>{const {ast:{dictionary:_0x9ccfdf,getPluralForm:_0x2cbfca}}={'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':_0x590487=>0x1!=_0x590487}};_0x167df4['ast']||={'dictionary':{},'getPluralForm':null},_0x167df4['ast']['dictionary']=Object['assign'](_0x167df4['ast']['dictionary'],_0x9ccfdf),_0x167df4['ast']['getPluralForm']=_0x2cbfca;})(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':_0x45120d=>0x1!=_0x45120d}};
|