@ckeditor/ckeditor5-footnotes 48.0.0-alpha.7 → 48.0.0-alpha.9

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.
Files changed (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4c3489,Command as _0x2688ac}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x368cfd,isWidget as _0x388b1e,toWidgetEditable as _0x5362cf,WidgetToolbarRepository as _0x4b39c6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3ca75b,logWarning as _0x552da5,FocusTracker as _0x1e1fdd,KeystrokeHandler as _0x57e564,global as _0x13cef6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5423a8,ClickObserver as _0x468122}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x16860b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0xaebc3d,ButtonView as _0x2053cf,View as _0xe6344f,ViewCollection as _0x1af976,FocusCycler as _0x4cb744,addKeyboardHandlingForGrid as _0x2de94a,CollapsibleView as _0x54e51c,LabeledFieldView as _0x140ed9,createLabeledInputNumber as _0x75393a,ContextualBalloon as _0xcc3adb,BalloonPanelView as _0x2af2d2,createDropdown as _0xa6e23c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x227093,IconListStyleDecimal as _0x55199d,IconListStyleDecimalLeadingZero as _0x1003bd,IconListStyleLowerRoman as _0x574eef,IconListStyleUpperRoman as _0x40e35e,IconListStyleLowerLatin as _0x213207,IconListStyleUpperLatin as _0x359965,IconListStyleArabicIndic as _0x400749}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x122d10,_0x211e45){this['_model']=_0x122d10,this['_elementName']=_0x211e45['elementName'],this['_getElementKey']=_0x211e45['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xd14d16){const _0x5a561a=new Set(),_0x45813d=new Map();for(const _0x4ef3b5 of _0xd14d16){if('insert'===_0x4ef3b5['type']&&'$text'!==_0x4ef3b5['name']&&_0x4ef3b5['position']['nodeAfter']){const _0x509025=this['_model']['createRangeOn'](_0x4ef3b5['position']['nodeAfter']);for(const _0x4dfdc8 of _0x509025['getItems']()){if(!_0x4dfdc8['is']('element',this['_elementName']))continue;const _0x581784=this['_getElementKey'](_0x4dfdc8);_0x45813d['has'](_0x581784)||_0x45813d['set'](_0x581784,[]),_0x45813d['get'](_0x581784)['push'](_0x4dfdc8);}}if('remove'===_0x4ef3b5['type']&&_0x4ef3b5['name']===this['_elementName']){const _0x2e1296=this['_getElementKey']({'getAttribute':_0x61437c=>_0x4ef3b5['attributes']['get'](_0x61437c)});_0x5a561a['add'](_0x2e1296);}}for(const [_0x576354,_0x1d3d6d]of this['_trackedElements'])'$graveyard'===_0x1d3d6d['root']['rootName']&&_0x5a561a['add'](_0x576354);for(const _0x11fa12 of _0x5a561a)this['_trackedElements']['delete'](_0x11fa12);for(const [_0x4e4183,_0x1eb3db]of _0x45813d)this['_trackedElements']['set'](_0x4e4183,_0x1eb3db[_0x1eb3db['length']-0x1]);const _0x5b14fb=new Set();for(const [_0x58a14e,_0x16e8ae]of _0x45813d)_0x5a561a['has'](_0x58a14e)&&(_0x5b14fb['add'](_0x16e8ae[0x0]),_0x16e8ae['length']>0x1?_0x45813d['set'](_0x58a14e,_0x16e8ae['slice'](0x1)):_0x45813d['delete'](_0x58a14e),_0x5a561a['delete'](_0x58a14e));return{'removed':Array['from'](_0x5a561a),'inserted':Array['from'](_0x45813d['values']())['flat'](),'moved':Array['from'](_0x5b14fb)};}}class K extends _0x4c3489{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4bbe0c){super(_0x4bbe0c),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2d9ee4=>_0x2d9ee4['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x23b187=>_0x23b187['getAttribute']('footnoteId')});}['init'](){const {editor:_0x49f741}=this,{model:_0x3ae668,data:_0x5d4499}=_0x49f741;_0x3ae668['document']['registerPostFixer'](_0x45bee0=>{const _0xa7fec0=_0x3ae668['document']['differ']['getChanges']();let _0x3e8ed6=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x45bee0,_0xa7fec0)&&(_0x3e8ed6=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x45bee0,_0xa7fec0)&&(_0x3e8ed6=!0x0),this['_handleFootnoteReferencesChanges'](_0x45bee0,_0xa7fec0)&&(_0x3e8ed6=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x45bee0)&&(_0x3e8ed6=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x45bee0)&&(_0x3e8ed6=!0x0),this['_sortFootnoteDefinitions'](_0x45bee0)&&(_0x3e8ed6=!0x0),_0x3e8ed6;}),this['listenTo'](_0x3ae668['document'],'change:data',()=>{_0x3ae668['enqueueChange']({'isUndoable':!0x1},_0x49342b=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x49342b);});},{'priority':'low'}),this['listenTo'](_0x5d4499,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3170e2){return this['_footnotes']['find'](_0x4f631b=>_0x4f631b['id']===_0x3170e2)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x848014){this['_footnoteFormatter']=_0x848014;}['_updateFootnotesCounters'](_0x32c7e0,_0x40729d=0x0){let _0x14ac49=!0x1;for(let _0x46acca=_0x40729d;_0x46acca<this['_footnotes']['length'];_0x46acca++)this['_updateFootnoteRefCounter'](_0x32c7e0,_0x46acca)&&(_0x14ac49=!0x0);return _0x14ac49;}['_insertEmptyFootnotesDefinitionsContainer'](_0x333065,_0x5dfc95){const _0x3a32d0=_0x333065['createElement']('footnotesDefinitions',{});return _0x333065['append'](_0x3a32d0,_0x5dfc95),this['_footnotesDefinitions']=_0x3a32d0,_0x3a32d0;}['_ensureFootnotesDefinitionsContainerExists'](_0x161551){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3ed21b=this['_footnotes'][0x0]['reference']['root'],_0xf223f5=this['_insertEmptyFootnotesDefinitionsContainer'](_0x161551,_0x3ed21b);for(const _0x3258fb of this['_footnotes'])_0x3258fb['definition']['parent']||_0x161551['insert'](_0x3258fb['definition'],_0xf223f5,'end');this['_updateFootnotesCounters'](_0x161551);}['_handleFootnotesDefinitionsObjectChanges'](_0x47ef66,_0xa4e42b){let _0x59707b=!0x1;const {inserted:_0x32466a,removed:_0x3f252c,moved:_0x120001}=this['_footnoteDefsContainerTracker']['getChanges'](_0xa4e42b);if(_0x120001['length']&&(this['_footnotesDefinitions']=_0x120001[0x0]),_0x32466a['length']){if(_0x32466a['length']>0x1||this['_footnotesDefinitions']&&_0x32466a['some'](_0x31bfcf=>_0x31bfcf!==this['_footnotesDefinitions'])){const _0x48bc8e=_0x47ef66['createElement']('footnotesDefinitions',{}),_0x5b25f0=[];this['_footnotesDefinitions']&&_0x5b25f0['push'](this['_footnotesDefinitions']),_0x5b25f0['push'](..._0x32466a),_0x47ef66['insert'](_0x48bc8e,_0x5b25f0[0x0],'before');for(const _0x1d04a8 of _0x5b25f0)_0x47ef66['move'](_0x47ef66['createRangeIn'](_0x1d04a8),_0x47ef66['createPositionAt'](_0x48bc8e,'end')),_0x47ef66['remove'](_0x1d04a8);this['_footnotesDefinitions']=_0x48bc8e,this['_updateFootnotesCounters'](_0x47ef66),_0x59707b=!0x0;}else this['_footnotesDefinitions']=_0x32466a[0x0];}if(_0x3f252c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4610a0 of this['_footnotes'])_0x47ef66['remove'](_0x4610a0['reference']),_0x59707b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x59707b;}['_handleFootnoteDefinitionsChanges'](_0x49024f,_0x3b563e){let _0x50fcb7=!0x1;const _0x2d6a71=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x41c035,moved:_0x4b11bf}=this['_footnoteDefsTracker']['getChanges'](_0x3b563e);for(const _0x10eb4d of[..._0x4b11bf,..._0x41c035]){const _0x39c2b9=_0x10eb4d['getAttribute']('footnoteId'),_0x23f7c6=this['getFootnote'](_0x39c2b9);_0x23f7c6&&(_0x23f7c6['definition']=_0x10eb4d),j(_0x49024f,_0x2d6a71,_0x10eb4d)&&(_0x50fcb7=!0x0);}return _0x50fcb7;}['_handleFootnoteReferencesChanges'](_0x4ca7f1,_0x13e450){let _0x32567f=!0x1;const {removed:_0x355204,inserted:_0x5b2fc3,moved:_0x210414}=this['_footnoteRefsTracker']['getChanges'](_0x13e450);for(const _0x3652dc of _0x355204)this['_handleRemoveFootnoteReferenceById'](_0x4ca7f1,_0x3652dc)&&(_0x32567f=!0x0);for(const _0x1610fa of _0x5b2fc3)this['_handleInsertedFootnoteReference'](_0x4ca7f1,_0x1610fa)&&(_0x32567f=!0x0);for(const _0x9a5c19 of _0x210414)this['_handleMovedFootnoteReference'](_0x4ca7f1,_0x9a5c19)&&(_0x32567f=!0x0);return _0x32567f;}['_handleFootnotesDefinitionsObjectSync'](_0x35ee22){if(!this['_footnotesDefinitions'])return!0x1;let _0x56ef3e=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4b8ac7=[];for(const _0x1c3d40 of this['_footnotesDefinitions']['getChildren']()){const _0x395d99=_0x1c3d40['getAttribute']('footnoteId');this['getFootnote'](_0x395d99)||(_0x4b8ac7['unshift'](_0x1c3d40),_0x56ef3e=!0x0);}for(const _0x2c9d83 of _0x4b8ac7)_0x35ee22['remove'](_0x2c9d83);}const _0x1b53a4=new Set(),_0x5a8ac6=[];for(const _0x1dcc7f of this['_footnotesDefinitions']['getChildren']()){const _0x133835=_0x1dcc7f['getAttribute']('footnoteId');_0x1b53a4['has'](_0x133835)?(_0x5a8ac6['unshift'](_0x1dcc7f),_0x56ef3e=!0x0):_0x1b53a4['add'](_0x133835);}for(const _0x264119 of _0x5a8ac6)_0x35ee22['remove'](_0x264119);return this['_footnotesDefinitions']['childCount']||(_0x35ee22['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x56ef3e=!0x0),_0x56ef3e;}['_handleInsertedFootnoteReference'](_0x2ba785,_0x406226){if(this['_footnotes']['find'](_0x564305=>_0x564305['reference']===_0x406226))return!0x1;let _0x20e51a=!0x1;const _0x3aba8b=_0x406226['getAttribute']('footnoteId'),_0x24a8d2=this['_footnotes']['findIndex'](_0x143ea1=>_0x143ea1['id']===_0x3aba8b);-0x1!==_0x24a8d2&&(_0x2ba785['remove'](this['_footnotes'][_0x24a8d2]['reference']),this['_footnotes']['splice'](_0x24a8d2,0x1),_0x20e51a=!0x0);let _0x4fd9b4=this['_footnotesDefinitions']?function(_0x50e294,_0x4f9bbb){for(const _0x4edd5f of _0x50e294['getChildren']())if(_0x4edd5f['getAttribute']('footnoteId')===_0x4f9bbb)return _0x4edd5f;return null;}(this['_footnotesDefinitions'],_0x3aba8b):null;_0x4fd9b4||(_0x4fd9b4=_0x2ba785['createElement']('footnoteDefinition',{'footnoteId':_0x3aba8b}),this['_footnotesDefinitions']&&(_0x2ba785['insert'](_0x4fd9b4,this['_footnotesDefinitions'],'end'),_0x20e51a=!0x0));const _0x2ca151={'id':_0x3aba8b,'reference':_0x406226,'definition':_0x4fd9b4},_0x3797a5=T(this['editor']['model'],this['_footnotes'],_0x406226);this['_footnotes']['splice'](_0x3797a5,0x0,_0x2ca151);let _0x5b3174=_0x3797a5;return-0x1!==_0x24a8d2&&(_0x5b3174=Math['min'](_0x3797a5,_0x24a8d2)),this['_updateFootnotesCounters'](_0x2ba785,_0x5b3174)&&(_0x20e51a=!0x0),_0x20e51a;}['_handleRemoveFootnoteReferenceById'](_0x3f295e,_0x185862){const _0x3173c7=this['_footnotes']['findIndex'](_0x1edb1c=>_0x1edb1c['id']===_0x185862);if(-0x1===_0x3173c7)return!0x1;let _0x2e4f7d=!0x1;const _0x326dcf=this['_footnotes'][_0x3173c7];return'$graveyard'!==_0x326dcf['definition']['root']['rootName']&&(_0x3f295e['remove'](_0x326dcf['definition']),_0x2e4f7d=!0x0),this['_footnotes']['splice'](_0x3173c7,0x1),this['_updateFootnotesCounters'](_0x3f295e,_0x3173c7)&&(_0x2e4f7d=!0x0),_0x2e4f7d;}['_handleMovedFootnoteReference'](_0x3b0fb8,_0x2b739d){const _0x227421=_0x2b739d['getAttribute']('footnoteId'),_0x2ea86b=this['_footnotes']['findIndex'](_0x1b8e30=>_0x1b8e30['id']===_0x227421),_0x284530=this['_footnotes'][_0x2ea86b];let _0x40f004=!0x1;_0x284530['reference']=_0x2b739d,this['_footnotes']['splice'](_0x2ea86b,0x1);const _0x16230c=T(this['editor']['model'],this['_footnotes'],_0x2b739d);return this['_footnotes']['splice'](_0x16230c,0x0,_0x284530),this['_updateFootnotesCounters'](_0x3b0fb8,Math['min'](_0x2ea86b,_0x16230c))&&(_0x40f004=!0x0),_0x40f004;}['_updateFootnoteRefCounter'](_0x358797,_0x5ade8e){if(!this['_footnotesDefinitions'])return!0x1;const _0xc457ae=this['_footnotes'][_0x5ade8e];let _0x1a0cd7;return _0x1a0cd7=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xc457ae,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5ade8e+0x1}):String(_0x5ade8e+0x1),_0xc457ae['reference']['getAttribute']('footnoteCounter')!=_0x1a0cd7&&(_0x358797['setAttribute']('footnoteCounter',_0x1a0cd7,_0xc457ae['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xffae0a){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5786a7,_0x202edf){if(_0x5786a7['length']!==_0x202edf['length'])return!0x1;for(let _0x34442d=0x0;_0x34442d<_0x5786a7['length'];_0x34442d++)if(_0x5786a7[_0x34442d]!==_0x202edf[_0x34442d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2ac182=>_0x2ac182['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5621f6=>_0x5621f6['getAttribute']('footnoteId'))))return!0x1;let _0x391f03=!0x1;for(let _0x536ca5=0x0;_0x536ca5<this['_footnotes']['length'];_0x536ca5++){const _0x52a6f9=this['_footnotes'][_0x536ca5],_0x5e2047=_0xffae0a['createPositionBefore'](_0x52a6f9['definition']),_0x4bef03=_0xffae0a['createPositionAt'](this['_footnotesDefinitions'],_0x536ca5);_0x5e2047['isEqual'](_0x4bef03)||(_0xffae0a['move'](_0xffae0a['createRangeOn'](_0x52a6f9['definition']),_0x4bef03),_0x391f03=!0x0);}return _0x391f03;}['_ensureFootnotesReferencesHaveProperOrder'](_0x52ae68){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3d1dc3}=this['editor'];let _0x48973e=!0x1;for(let _0x20e91b=0x0;_0x20e91b<this['_footnotes']['length']-0x1;_0x20e91b++){const _0x4bd5cb=this['_footnotes'][_0x20e91b],_0xdfe0f1=this['_footnotes'][_0x20e91b+0x1],_0x3f0646=_0x3d1dc3['createPositionBefore'](_0x4bd5cb['reference']),_0x2de6ff=_0x3d1dc3['createPositionBefore'](_0xdfe0f1['reference']);'after'===_0x3f0646['compareWith'](_0x2de6ff)&&(this['_handleMovedFootnoteReference'](_0x52ae68,_0x4bd5cb['reference']),_0x20e91b=-0x1,_0x48973e=!0x0);}return _0x48973e;}}function j(_0x72e63b,_0x49aa9e,_0x346192){if(_0x346192['childCount'])return!0x1;const _0x314912=_0x49aa9e?'paragraph':'footnoteInlineContent';return _0x72e63b['insert'](_0x72e63b['createElement'](_0x314912),_0x346192),!0x0;}function T(_0x5f2ed7,_0x5e0646,_0x1ebb88){if(0x0===_0x5e0646['length'])return 0x0;const _0x28befb=_0x5f2ed7['createPositionBefore'](_0x1ebb88);for(let _0xf0fcd6=0x0;_0xf0fcd6<_0x5e0646['length'];_0xf0fcd6++){const _0x251f4b=_0x5e0646[_0xf0fcd6],_0x35bf52=_0x5f2ed7['createPositionBefore'](_0x251f4b['reference']);if('before'===_0x28befb['compareWith'](_0x35bf52))return _0xf0fcd6;}const _0x33c239=_0x1ebb88['root'];let _0x55e14e=-0x1;for(let _0x3afe25=_0x5e0646['length']-0x1;_0x3afe25>=0x0;_0x3afe25--)if(_0x5e0646[_0x3afe25]['reference']['root']===_0x33c239){_0x55e14e=_0x3afe25;break;}if(-0x1!==_0x55e14e)return _0x55e14e+0x1;const _0x236593=_0x5f2ed7['document']['getRootNames'](),_0x179bb0=_0x236593['indexOf'](_0x33c239['rootName']),_0x40a5d6=_0x236593[_0x179bb0+0x1];if(_0x40a5d6){for(let _0x1da3ca=0x0;_0x1da3ca<_0x5e0646['length'];_0x1da3ca++)if(_0x5e0646[_0x1da3ca]['reference']['root']['rootName']===_0x40a5d6)return _0x1da3ca;}return _0x5e0646['length'];}class V extends _0x2688ac{['refresh'](){const _0x306594=this['editor']['model']['document']['selection'],_0x571a8d=this['_getPositionToInsertFootnote'](_0x306594);this['isEnabled']=!!_0x571a8d;}['execute'](_0x82e7db){const {editor:_0xdb36d9}=this,{model:_0x13c304}=_0xdb36d9,{selection:_0x243070}=_0x13c304['document'],_0x59e062=this['_getPositionToInsertFootnote'](_0x243070);if(!_0x59e062)return;const _0x3bb59b=_0xdb36d9['plugins']['get']('FootnotesEditing'),_0x2ce2b2=_0x82e7db?.['footnoteId']??_0x3ca75b();!function(_0x52b26f){return'string'==typeof _0x52b26f&&_0x52b26f['length']>0x0&&!/\s/['test'](_0x52b26f)&&!/^\d/['test'](_0x52b26f);}(_0x2ce2b2)?_0x552da5('insert-footnote-command-executed-with-invalid-id'):(_0x13c304['change'](_0x5c9c38=>{const _0x4a4999=_0x5c9c38['createElement']('footnoteRef',{'footnoteId':_0x2ce2b2});_0x13c304['insertObject'](_0x4a4999,_0x59e062,null);}),_0x3bb59b['_moveSelectionToFootnoteDefinition'](_0x2ce2b2));}['_getPositionToInsertFootnote'](_0x2fee4c){const {model:_0x47f367}=this['editor'],{schema:_0x56a9a6}=_0x47f367,_0xb3749a=_0x2fee4c['getFirstRange']();for(const _0x3a0d6b of _0xb3749a['getItems']())if(_0x56a9a6['isBlock'](_0x3a0d6b)||_0x56a9a6['isObject'](_0x3a0d6b))return null;const _0x357480=_0xb3749a['end'];return _0x56a9a6['checkChild'](_0x357480,'footnoteRef')?_0x357480:null;}}class $ extends _0x4c3489{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x408f06}=this;_0x408f06['config']['define']('footnotes.multiBlock',!0x0),_0x408f06['commands']['add']('insertFootnote',new V(_0x408f06)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3dd3c2){const _0x1504d5=_0x355dcb([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]),_0xf6f140=0x47a28506,_0x5780f2=0x47a50076^_0xf6f140,_0x35aa02=window[_0x355dcb([0x44,0x61,0x74,0x65])][_0x355dcb([0x6e,0x6f,0x77])](),_0x48b32f=_0x3dd3c2[_0x355dcb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c334=new window[(_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35aa6f=>{_0x48b32f[_0x355dcb([0x6f,0x6e,0x63,0x65])](_0x355dcb([0x72,0x65,0x61,0x64,0x79]),_0x35aa6f);}),_0x1c484d={[_0x355dcb([0x6b,0x74,0x79])]:_0x355dcb([0x45,0x43]),[_0x355dcb([0x75,0x73,0x65])]:_0x355dcb([0x73,0x69,0x67]),[_0x355dcb([0x63,0x72,0x76])]:_0x355dcb([0x50,0x2d,0x32,0x35,0x36]),[_0x355dcb([0x78])]:_0x355dcb([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]),[_0x355dcb([0x79])]:_0x355dcb([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]),[_0x355dcb([0x61,0x6c,0x67])]:_0x355dcb([0x45,0x53,0x32,0x35,0x36])},_0x1025ae=_0x48b32f[_0x355dcb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x355dcb([0x67,0x65,0x74])](_0x355dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa6e257(){let _0x436610,_0x5d0459=null,_0x198c11=null;try{if(_0x1025ae==_0x355dcb([0x47,0x50,0x4c]))return _0x355dcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x436610=_0xb62b0b(),!_0x436610)return _0x355dcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x436610[_0x355dcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x198c11=_0x544e1f(_0x436610[_0x355dcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x436610[_0x355dcb([0x6a,0x74,0x69])])),await _0x5baa89()?_0x456931()?_0x3f8c85()?_0x355dcb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50ac04()?(_0x436610[_0x355dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355dcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d0459=_0x5ac22b(_0x355dcb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6c4b3e()):_0x355dcb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x355dcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x355dcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x355dcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f8c85(){const _0x4fc80f=[_0x355dcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x355dcb([0x74,0x72,0x69,0x61,0x6c])][_0x355dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x436610[_0x355dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35aa02/0x3e8:0xe10*_0x5780f2;return _0x436610[_0x355dcb([0x65,0x78,0x70])]<_0x4fc80f;}function _0x456931(){const _0x38b7ef=_0x436610[_0x355dcb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38b7ef&&(!!_0x38b7ef[_0x355dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355dcb([0x2a]))||!!_0x38b7ef[_0x355dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355dcb([0x46,0x4f,0x4f])));}function _0x50ac04(){const _0x3aa661=_0x436610[_0x355dcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3aa661||0x0==_0x3aa661[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e567b}=new URL(window[_0x355dcb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3aa661[_0x355dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e567b))return!0x0;const _0x3c1904=_0x2e567b[_0x355dcb([0x73,0x70,0x6c,0x69,0x74])](_0x355dcb([0x2e]));return _0x3aa661[_0x355dcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53f04f=>_0x53f04f[_0x355dcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355dcb([0x2a])))[_0x355dcb([0x6d,0x61,0x70])](_0x26b1df=>_0x26b1df[_0x355dcb([0x73,0x70,0x6c,0x69,0x74])](_0x355dcb([0x2e])))[_0x355dcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a3e90=>_0x3a3e90[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c1904[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355dcb([0x6d,0x61,0x70])](_0x25aed7=>Array(_0x3c1904[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25aed7[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355dcb([0x66,0x69,0x6c,0x6c])](_0x25aed7[0x0]===_0x355dcb([0x2a])?_0x355dcb([0x2a]):'')[_0x355dcb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25aed7))[_0x355dcb([0x73,0x6f,0x6d,0x65])](_0x47f8e5=>_0x3c1904[_0x355dcb([0x65,0x76,0x65,0x72,0x79])]((_0x4de9d0,_0x1db2d0)=>_0x47f8e5[_0x1db2d0]===_0x4de9d0||_0x47f8e5[_0x1db2d0]===_0x355dcb([0x2a])));}function _0x6c4b3e(){return _0x5d0459&&_0x198c11?new window[(_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x976fa4,_0x3e0c1e)=>{_0x5d0459[_0x355dcb([0x74,0x68,0x65,0x6e])](_0x976fa4,_0x3e0c1e),_0x198c11[_0x355dcb([0x74,0x68,0x65,0x6e])](_0x3e15d8=>{_0x3e15d8!=_0x355dcb([0x56,0x61,0x6c,0x69,0x64])&&_0x976fa4(_0x3e15d8);},_0x3e0c1e);}):_0x5d0459||_0x198c11||_0x355dcb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x544e1f(_0x5995a0,_0x30959b){return new window[(_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdbf0cd=>{if(_0x197c46())return _0xdbf0cd(_0x355dcb([0x56,0x61,0x6c,0x69,0x64]));_0x30b074(),_0x48b32f[_0x355dcb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x355dcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ce51e=!0x1;const _0xe3a515=_0x3ca75b();function _0x4b607a(_0x563430){return!!_0x563430&&(typeof _0x563430===_0x355dcb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x563430===_0x355dcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x563430[_0x355dcb([0x74,0x68,0x65,0x6e])]===_0x355dcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x563430[_0x355dcb([0x63,0x61,0x74,0x63,0x68])]===_0x355dcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x20a015(_0x22a168){_0x4bd471(_0x22a168)[_0x355dcb([0x74,0x68,0x65,0x6e])](_0x52523f=>{if(!_0x52523f||_0x52523f[_0x355dcb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x355dcb([0x6f,0x6b]))return _0x355dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e1a85(_0x240845(_0xe3a515+_0x30959b))!=_0x52523f[_0x355dcb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x355dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x355dcb([0x56,0x61,0x6c,0x69,0x64]);})[_0x355dcb([0x74,0x68,0x65,0x6e])](_0x593267=>(_0x2ee139(),_0x593267),()=>{const _0x26f155=_0x5f2161();return null==_0x26f155?(_0x2ee139(),_0x355dcb([0x56,0x61,0x6c,0x69,0x64])):_0x355dcb(_0x35aa02-_0x26f155>(0x63ae0106^_0xf6f140)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x355dcb([0x74,0x68,0x65,0x6e])](_0xdbf0cd)[_0x355dcb([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdbf0cd(_0x355dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ca60c=0x47946b86^_0xf6f140;function _0x2ee139(){const _0x4c9636=_0x355dcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e1a85(_0x240845(_0x5995a0)),_0x4321e6=_0x517add(_0x4e1a85(window[_0x355dcb([0x4d,0x61,0x74,0x68])][_0x355dcb([0x63,0x65,0x69,0x6c])](_0x35aa02/_0x2ca60c)));window[_0x355dcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355dcb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c9636,_0x4321e6);}function _0x5f2161(){const _0x2eaa8e=_0x355dcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e1a85(_0x240845(_0x5995a0)),_0x4b7d69=window[_0x355dcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355dcb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2eaa8e);return _0x4b7d69?window[_0x355dcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x517add(_0x4b7d69),0x10)*_0x2ca60c:null;}function _0x4bd471(_0x467d46){return new window[(_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434cee,_0x33c8a8)=>{_0x467d46[_0x355dcb([0x74,0x68,0x65,0x6e])](_0x434cee,_0x33c8a8),window[_0x355dcb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33c8a8,0x47a351c6^_0xf6f140);});}}_0x48b32f[_0x355dcb([0x6f,0x6e])](_0x355dcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54af16,_0x3ef579)=>{if(_0x3ef579[0x0]!=_0x5995a0)return _0xdbf0cd(_0x355dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ef579[0x1]={..._0x3ef579[0x1],[_0x355dcb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe3a515};},{[_0x355dcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355dcb([0x68,0x69,0x67,0x68])}),_0x48b32f[_0x355dcb([0x6f,0x6e])](_0x355dcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ef769=>{_0x4b607a(_0x5ef769[_0x355dcb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ce51e=!0x0,_0x20a015(_0x5ef769[_0x355dcb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x355dcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355dcb([0x6c,0x6f,0x77])}),_0x1c334[_0x355dcb([0x74,0x68,0x65,0x6e])](()=>{_0x1ce51e||_0xdbf0cd(_0x355dcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x197c46(){return _0x48b32f[_0x355dcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355dcb([0x76,0x69,0x65,0x77])][_0x355dcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x355dcb([0x61,0x75,0x74,0x6f]);}function _0x30b074(){_0x48b32f[_0x355dcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355dcb([0x76,0x69,0x65,0x77])][_0x355dcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x355dcb([0x61,0x75,0x74,0x6f]);}}function _0x5ac22b(_0x26b43b){const _0x3a9451=[new window[(_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429b2e=>setTimeout(_0x429b2e,0x47abbbca^_0xf6f140)),_0x1c334[_0x355dcb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54e2e9=>{let _0x52b0e6=0x0;_0x48b32f[_0x355dcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x355dcb([0x6f,0x6e])](_0x355dcb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x217369,_0x2ba5f9)=>{_0x2ba5f9[0x0][_0x355dcb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52b0e6++,_0x52b0e6==(0x47a280ee^_0xf6f140)&&(_0x54e2e9(),_0x217369[_0x355dcb([0x6f,0x66,0x66])]());});}))];return window[_0x355dcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x355dcb([0x72,0x61,0x63,0x65])](_0x3a9451)[_0x355dcb([0x74,0x68,0x65,0x6e])](()=>_0x26b43b);}async function _0x29798b(){await _0x1c334,_0x48b32f[_0x355dcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x355dcb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a06d0,_0x48b32f[_0x355dcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x355dcb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a06d0,_0x48b32f[_0x355dcb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x355dcb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d1b6e(_0x53efc9){const _0x4ec42a=_0x44c29f();_0x48b32f[_0x4ec42a]=_0x355dcb([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53efc9,_0x53efc9!=_0x355dcb([0x56,0x61,0x6c,0x69,0x64])&&_0x29798b();}function _0x44c29f(){const _0x2d2af3=window[_0x355dcb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x355dcb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x355dcb([0x6e,0x6f,0x77])]())[_0x355dcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x355dcb([0x2e]),'');let _0x84e421=_0x355dcb([0x75]);for(let _0x1b7ed0=0x0;_0x1b7ed0<_0x2d2af3[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b7ed0+=0x2){let _0x191beb=window[_0x355dcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d2af3[_0x355dcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b7ed0,_0x1b7ed0+0x2));_0x191beb>=_0x1504d5[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x191beb-=_0x1504d5[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x84e421+=_0x1504d5[_0x191beb];}return _0x84e421;}function _0xb62b0b(){const _0x27ac6e=_0x1025ae[_0x355dcb([0x73,0x70,0x6c,0x69,0x74])](_0x355dcb([0x2e]));if(0x3!=_0x27ac6e[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4205ae(_0x27ac6e[0x1]);function _0x4205ae(_0x154380){const _0x433d9f=_0x4f1027(_0x154380);return _0x433d9f&&_0x22def2()?_0x433d9f:null;function _0x22def2(){const _0x1be06d=_0x433d9f[_0x355dcb([0x6a,0x74,0x69])],_0x4a1830=window[_0x355dcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1be06d[_0x355dcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be06d[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20b0e3={..._0x433d9f,[_0x355dcb([0x6a,0x74,0x69])]:_0x1be06d[_0x355dcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1be06d[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20b0e3[_0x355dcb([0x76,0x63])],_0x240845(_0x20b0e3)==_0x4a1830;}}}async function _0x5baa89(){let _0x2266e6=!0x0;try{const _0x25faba=_0x1025ae[_0x355dcb([0x73,0x70,0x6c,0x69,0x74])](_0x355dcb([0x2e])),[_0x24e7cb,_0x436bbc,_0xc04dd7]=_0x25faba;return _0x542e9e(_0x24e7cb),await _0xe938b(_0x24e7cb,_0x436bbc,_0xc04dd7),_0x2266e6;}catch{return!0x1;}function _0x542e9e(_0x28bd04){const _0x3da968=_0x4f1027(_0x28bd04);_0x3da968&&_0x3da968[_0x355dcb([0x61,0x6c,0x67])]==_0x355dcb([0x45,0x53,0x32,0x35,0x36])||(_0x2266e6=!0x1);}async function _0xe938b(_0x1e2beb,_0x228976,_0x113818){const _0x4a0791=window[_0x355dcb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x355dcb([0x66,0x72,0x6f,0x6d])](_0x501e7f(_0x113818),_0x4970f6=>_0x4970f6[_0x355dcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56bcd6=new window[(_0x355dcb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x355dcb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e2beb+_0x355dcb([0x2e])+_0x228976),_0x34ef70=window[_0x355dcb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x355dcb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x34ef70)return;const _0x2837b3=await _0x34ef70[_0x355dcb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x355dcb([0x6a,0x77,0x6b]),_0x1c484d,{[_0x355dcb([0x6e,0x61,0x6d,0x65])]:_0x355dcb([0x45,0x43,0x44,0x53,0x41]),[_0x355dcb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x355dcb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x355dcb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x34ef70[_0x355dcb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x355dcb([0x6e,0x61,0x6d,0x65])]:_0x355dcb([0x45,0x43,0x44,0x53,0x41]),[_0x355dcb([0x68,0x61,0x73,0x68])]:{[_0x355dcb([0x6e,0x61,0x6d,0x65])]:_0x355dcb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2837b3,_0x4a0791,_0x56bcd6)||(_0x2266e6=!0x1);}}function _0x4f1027(_0x4ae2a0){return _0x4ae2a0[_0x355dcb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x355dcb([0x65,0x79]))?JSON[_0x355dcb([0x70,0x61,0x72,0x73,0x65])](_0x501e7f(_0x4ae2a0)):null;}function _0x501e7f(_0x5b7605){return window[_0x355dcb([0x61,0x74,0x6f,0x62])](_0x5b7605[_0x355dcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x355dcb([0x2b]))[_0x355dcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x355dcb([0x2f])));}function _0x240845(_0xd68691){let _0x1ec605=0x1505;function _0xa75f55(_0x34924a){for(let _0x54d11d=0x0;_0x54d11d<_0x34924a[_0x355dcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54d11d++){const _0x59b39f=_0x34924a[_0x355dcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54d11d);_0x1ec605=(_0x1ec605<<0x5)+_0x1ec605+_0x59b39f,_0x1ec605&=_0x1ec605;}}function _0x12098e(_0x910462){Array[_0x355dcb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x910462)?_0x910462[_0x355dcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12098e):_0x910462&&typeof _0x910462==_0x355dcb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x355dcb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x910462)[_0x355dcb([0x73,0x6f,0x72,0x74])]()[_0x355dcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa574b3,_0x37a1a4])=>{_0xa75f55(_0xa574b3),_0x12098e(_0x37a1a4);}):_0xa75f55(window[_0x355dcb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x910462));}return _0x12098e(_0xd68691),_0x1ec605>>>0x0;}function _0x4e1a85(_0x384efa){return _0x384efa[_0x355dcb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x355dcb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x355dcb([0x30]));}function _0x517add(_0x44add1){return _0x44add1[_0x355dcb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x355dcb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x355dcb([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a06d0(){}function _0x355dcb(_0x380ec7){return _0x380ec7['map'](_0x5a29a1=>String['fromCharCode'](_0x5a29a1))['join']('');}_0x1d1b6e(await _0xa6e257());}(this);}['_moveSelectionToFootnoteDefinition'](_0x29d33c){const {plugins:_0x5bd0f8,editing:_0x20b471,model:_0x53ece8}=this['editor'],_0x32861c=_0x5bd0f8['get'](K)['getFootnote'](_0x29d33c);return!!_0x32861c&&(_0x53ece8['change'](_0x3143af=>{_0x3143af['setSelection'](_0x3143af['createPositionAt'](_0x32861c['definition'],'end'));}),_0x20b471['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x361218){const {plugins:_0x323b48,editing:_0x230506,model:_0x57c8b1}=this['editor'],_0x273a95=_0x323b48['get'](K)['getFootnote'](_0x361218);return!!_0x273a95&&(_0x57c8b1['change'](_0x28ee07=>{_0x28ee07['setSelection'](_0x273a95['reference'],'on');}),_0x230506['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2c6777}=this['editor']['model'],_0x45a933=this['editor']['config']['get']('footnotes.multiBlock');_0x2c6777['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2c6777['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2c6777['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x45a933?_0x2c6777['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2c6777['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2c6777['addChildCheck'](_0x1520ae=>{for(const _0x428cf4 of _0x1520ae)if('footnoteDefinition'===_0x428cf4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2b0e71}=this,{conversion:_0xa19318,editing:_0x4a4f3a}=_0x2b0e71,{t:t}=_0x2b0e71['locale'];_0xa19318['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4bb8be,{writer:_0x7b15c3,consumable:_0x5b87d7})=>{const _0x456dd8=_0x4bb8be['getChild'](0x0);if(!_0x456dd8||!_0x456dd8['is']('element','a'))return null;const _0x18cd3d=_0x456dd8['getAttribute']('href')||'';if(!_0x18cd3d['startsWith']('#'))return null;const _0x2b2247=_0x18cd3d['replace'](/^#/,'');if(!_0x2b2247)return null;_0x5b87d7['consume'](_0x456dd8,{'name':!0x0,'attributes':['href']});for(const {item:_0x57af76}of _0x4a4f3a['view']['createRangeIn'](_0x456dd8))_0x57af76['is']('$textProxy')?_0x5b87d7['consume'](_0x57af76['textNode'],{'name':!0x0}):_0x57af76['is']('element')&&_0x5b87d7['consume'](_0x57af76,{'name':!0x0});return _0x7b15c3['createElement']('footnoteRef',{'footnoteId':_0x2b2247});}}),_0xa19318['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x419d83,{writer:_0x2338c8})=>z(_0x419d83,_0x2338c8)}),_0xa19318['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x454a55,{writer:_0x3e1672})=>{const _0x43d473=_0x454a55['getAttribute']('footnoteCounter');return _0x368cfd(z(_0x454a55,_0x3e1672),_0x3e1672,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x43d473)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3332e9}=this,{t:t}=_0x3332e9['locale'],{conversion:_0x301750}=_0x3332e9;_0x301750['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x301750['for']('upcast')['add'](_0x14d3ea=>{_0x14d3ea['on']('element:ol',(_0xceb175,_0x502863,_0x4ac07e)=>{const _0x387720=_0x502863['viewItem'];if(!_0x387720['hasClass']('footnotes-list')||!_0x502863['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4ac07e['consumable']['consume'](_0x387720,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x552962,modelCursor:_0x219a1a}=_0x4ac07e['convertChildren'](_0x502863['viewItem'],_0x502863['modelCursor']);_0x502863['modelRange']=_0x552962,_0x502863['modelCursor']=_0x219a1a;}),_0x14d3ea['on']('element:hr',(_0x6862f2,_0xe1b3cd,_0x2357fe)=>{const _0x4b7d34=_0xe1b3cd['viewItem'];_0x4b7d34['hasClass']('footnotes-divider')&&_0xe1b3cd['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2357fe['consumable']['consume'](_0x4b7d34,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x301750['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x236b99,{writer:_0x355644})=>H(_0x355644)}),_0x301750['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x29ede9,{writer:_0x461f84})=>{const _0x35dd7f=H(_0x461f84,{'data-footnotes-list-label':t('Footnotes')}),_0x589f23=_0x368cfd(_0x35dd7f,_0x461f84,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x461f84['setCustomProperty']('footnotesDefinitions',!0x0,_0x589f23),_0x589f23;}});}['_defineDefinitionConverters'](){const {editor:_0x416211}=this,{conversion:_0x5aa8d7,locale:_0x6bc7e}=_0x416211,_0x31ca2c=_0x416211['config']['get']('footnotes.multiBlock');_0x5aa8d7['for']('upcast')['add'](_0x561273=>{_0x561273['on']('element:li',(_0x54bde0,_0xe66b2c,_0x1f93bc)=>{const _0x51dc08=_0xe66b2c['viewItem'];if(!_0x51dc08['hasClass']('footnote-definition')||!_0x51dc08['getAttribute']('id'))return;const _0x25632c=_0x51dc08['parent'];if(!_0x25632c['is']('element','ol')||!_0x25632c['hasClass']('footnotes-list'))return;if(!_0x1f93bc['consumable']['test'](_0x51dc08,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x146031=_0x1f93bc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x51dc08['getAttribute']('id')});if(!_0x1f93bc['safeInsert'](_0x146031,_0xe66b2c['modelCursor']))return;_0x1f93bc['consumable']['consume'](_0x51dc08,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1f9b1e=Array['from'](_0x51dc08['getChildren']())['find'](_0x213ad4=>_0x213ad4['is']('element')&&_0x213ad4['hasClass']('footnote-content'));for(const _0x588bc5 of _0x51dc08['getChildren']())_0x588bc5['is']('element')&&(_0x1f93bc['consumable']['consume'](_0x588bc5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f93bc['consumable']['consume'](_0x588bc5,{'name':!0x0,'classes':'footnote-content'}));if(_0x1f9b1e){if(_0x31ca2c)_0x1f93bc['convertChildren'](_0x1f9b1e,_0x146031);else{const _0x1c25f7=_0x1f93bc['writer']['createElement']('footnoteInlineContent');_0x1f93bc['writer']['insert'](_0x1c25f7,_0x146031),_0x1f93bc['convertChildren'](_0x1f9b1e,_0x1c25f7);}}_0x1f93bc['updateConversionResult'](_0x146031,_0xe66b2c);});}),_0x5aa8d7['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x408ff3,{writer:_0x1ab9e4})=>X(_0x408ff3,_0x1ab9e4,_0x6bc7e,{'dataPipeline':!0x0})}),_0x5aa8d7['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26a87b,{writer:_0x1f8fa2})=>X(_0x26a87b,_0x1f8fa2,_0x6bc7e)});}['_defineBogusParagraphConverters'](){const {editor:_0x31d0b2}=this,{conversion:_0x2f16c8}=_0x31d0b2;_0x31d0b2['config']['get']('footnotes.multiBlock')?(_0x2f16c8['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x2f16c8['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x31d0b2['model']['document'],'change:data',()=>{!function(_0x4f978c,_0x49cf56){const _0x54a9f3=_0x4f978c['document']['differ'],_0x17833b=new Set();for(const _0x1db23d of _0x54a9f3['getChanges']()){const _0x46c563='attribute'==_0x1db23d['type']?_0x1db23d['range']['start']['parent']:_0x1db23d['position']['parent'];_0x46c563['is']('element','footnoteDefinition')&&_0x17833b['add'](_0x46c563);}for(const _0x27b9c7 of _0x17833b['values']()){const _0x5868ae=Array['from'](_0x27b9c7['getChildren']())['filter'](_0x5ced2e=>U(_0x5ced2e,_0x49cf56['mapper']));for(const _0x2c5259 of _0x5868ae)_0x49cf56['reconvertItem'](_0x2c5259);}}(_0x31d0b2['model'],_0x31d0b2['editing']);})):(_0x2f16c8['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x2f16c8['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5828bd,{writer:_0x4fa00c})=>{const _0x4868fe=_0x4fa00c['createContainerElement']('span');return _0x4fa00c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4868fe),_0x4868fe;}}));}['_defineKeyboardHandlers'](){const {editor:_0x32bfce}=this,{editing:_0x183a0a,t:t}=_0x32bfce,_0x2903fd=_0x32bfce['model']['document']['selection'];_0x32bfce['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x32bfce['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x183a0a['view']['document'],'enter',(_0x3d9b67,_0x21bcc8)=>{const _0x1da462=function(_0x284da8){const _0x73402d=_0x284da8['getSelectedElement']();if(_0x73402d?.['is']('element','footnoteRef'))return _0x73402d;return null;}(_0x2903fd);if(_0x1da462){const _0x4a0765=_0x1da462['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4a0765),_0x21bcc8['preventDefault'](),_0x3d9b67['stop']();}},{'context':_0x388b1e});}['_defineClickHandlers'](){const {editor:_0x1a09c7}=this,{editing:_0x45143c}=_0x1a09c7;_0x1a09c7['editing']['view']['addObserver'](_0x5423a8),_0x1a09c7['editing']['view']['addObserver'](_0x468122);let _0x225cea=!0x1;this['listenTo'](_0x45143c['view']['document'],'pointerdown',(_0x49e481,_0x2c133f)=>{const {target:_0x1fb910}=_0x2c133f,_0x5a8841=_0x45143c['view']['document']['selection'];_0x225cea=!!(_0x1fb910?.['is']('element','a')&&_0x1fb910['parent']?.['is']('element','sup')&&_0x1fb910['parent']['hasClass']('footnote'))&&_0x5a8841['getSelectedElement']()===_0x1fb910['parent'];},{'priority':'high'}),this['listenTo'](_0x45143c['view']['document'],'click',(_0x59180a,_0x1462d7)=>{const {target:_0x34d2e5}=_0x1462d7;if(!_0x34d2e5?.['is']('element','a'))return;if(_0x34d2e5['parent']?.['is']('element','sup')&&_0x34d2e5['parent']['hasClass']('footnote')&&!_0x225cea)return void _0x1462d7['preventDefault']();let _0x4eabfc=_0x34d2e5['getAttribute']('href');if(!_0x4eabfc?.['startsWith']('#'))return;_0x4eabfc=_0x4eabfc['slice'](0x1);let _0x4ad696=!0x1;(_0x4eabfc['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4eabfc['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4eabfc))&&(_0x4ad696=!0x0),_0x4ad696&&(_0x1462d7['preventDefault'](),_0x59180a['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x36a19b}={}){return(_0x3f55ac,{writer:_0x155e5f})=>{if(!M(_0x3f55ac))return null;if(!_0x36a19b)return _0x155e5f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x584cac=_0x155e5f['createContainerElement']('p');return _0x155e5f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x584cac),_0x584cac;};}function M(_0x535022){const {parent:_0x398d1c}=_0x535022;if(!_0x398d1c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x398d1c['childCount'])return!0x1;for(const _0x752519 of _0x535022['getAttributeKeys']())if(!_0x752519['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x752519)return!0x1;return!0x0;}function U(_0x5958eb,_0x1fe078){if(!_0x5958eb['is']('element','paragraph'))return!0x1;const _0x466ca5=_0x1fe078['toViewElement'](_0x5958eb);return!!_0x466ca5&&M(_0x5958eb)!==_0x466ca5['is']('element','span');}function q(_0x786f78){return _0x388b1e(_0x786f78)&&_0x786f78['is']('containerElement')&&!!_0x786f78['getCustomProperty']('footnotesDefinitions');}function H(_0x2de1d7,_0xa68cff={}){const _0x3b572d=_0x2de1d7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5956a9=_0x2de1d7['createContainerElement']('ol',{'class':'footnotes-list'},_0x2de1d7['createSlot']());return _0x2de1d7['createContainerElement']('div',{'class':'footnotes',..._0xa68cff},[_0x3b572d,_0x5956a9]);}function z(_0x5c148f,_0x15041c){const _0x368a8a=_0x5c148f['getAttribute']('footnoteId'),_0x381e17=_0x5c148f['getAttribute']('footnoteCounter'),_0x3fe1ff=_0x15041c['createUIElement']('a',{'href':'#'+_0x368a8a},function(_0x562fc7){const _0x33f074=this['toDomElement'](_0x562fc7);return _0x33f074['textContent']=_0x381e17,_0x33f074;}),_0x86dc7b=_0x15041c['createContainerElement']('sup',{'id':'ref-'+_0x368a8a,'class':'footnote'},[_0x3fe1ff]);return _0x86dc7b['getFillerOffset']=()=>null,_0x86dc7b;}function X(_0x38b0f8,_0x4ee9a6,_0x56042d,{dataPipeline:_0x123571}={}){const {t:t}=_0x56042d,_0x43ed62=_0x38b0f8['getAttribute']('footnoteId'),_0x477f19=_0x4ee9a6['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x43ed62},function(_0x311ee8){const _0x41e16c=this['toDomElement'](_0x311ee8);return _0x41e16c['innerText']='^',_0x41e16c;}),_0x33f7c7=_0x123571?_0x4ee9a6['createContainerElement']('div',{'class':'footnote-content'}):_0x5362cf(_0x4ee9a6['createEditableElement']('div',{'class':'footnote-content'}),_0x4ee9a6,{'label':t('Footnote\x20content.')});return _0x4ee9a6['insert'](_0x4ee9a6['createPositionAt'](_0x33f7c7,0x0),_0x4ee9a6['createSlot']()),_0x4ee9a6['createContainerElement']('li',{'class':'footnote-definition','id':_0x43ed62},[_0x477f19,_0x33f7c7]);}class J extends _0x4c3489{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x16860b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2d4e3f}=this,{plugins:_0x36885f,model:_0x5c3a78}=_0x2d4e3f,_0x132183=_0x36885f['get'](_0x16860b),_0x2890c4=_0x36885f['get'](K);this['listenTo'](_0x132183,'outputTransformation',(_0x4cfea5,_0x3b2a6d)=>{const _0x3007ae=Q(_0x5c3a78['createRangeIn'](_0x3b2a6d['content']));if(!_0x3007ae['length'])return;const _0xbd4f4=_0x2890c4['getFootnotes'](),_0x141e3b=_0x3007ae['reduce']((_0xb7a777,_0x34483f)=>{const _0x3dd53b=_0xbd4f4['find'](_0x440026=>_0x440026['id']===_0x34483f);if(_0x3dd53b){const _0x3893ec=_0x2d4e3f['data']['toView'](_0x3dd53b['definition'],{'isClipboardPipeline':!0x0}),_0x372f7d=_0x2d4e3f['data']['htmlProcessor']['toData'](_0x3893ec);_0xb7a777[_0x3dd53b['id']]=_0x372f7d;}return _0xb7a777;},Object['create'](null));_0x3b2a6d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x141e3b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x45926a}=this,{model:_0x2b8557,plugins:_0x41aac6}=_0x45926a,{view:_0x5f2b2c}=_0x45926a['editing'],_0x41bdab=_0x41aac6['get'](_0x16860b),_0x4fed17=_0x41aac6['get'](K),_0x70a4e3=_0x45926a['config']['get']('footnotes.multiBlock');let _0xd8f3c3=null;this['listenTo'](_0x5f2b2c['document'],'clipboardInput',(_0x32e3a7,_0xf0975a)=>{const _0x1a147d=_0xf0975a['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xd8f3c3=_0x1a147d?JSON['parse'](_0x1a147d):null;}),this['listenTo'](_0x41bdab,'contentInsertion',(_0x49a927,_0x2882af)=>{const _0x108e05=_0x2882af['sourceEditorId']===this['editor']['id'];_0x108e05&&'drop'===_0x2882af['method']||_0x2b8557['change'](_0x1229a=>{let _0x1a6dff=_0x4fed17['getFootnotesDefinitionsObjectElement']();const _0xb70277=!!_0x1a6dff&&Array['from'](_0x2b8557['document']['selection']['getSelectedBlocks']())['includes'](_0x1a6dff);if(!_0xd8f3c3&&function(_0x1ee801){for(const {item:_0x234387}of _0x1ee801)if(_0x234387['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2b8557['createRangeIn'](_0x2882af['content']))&&(_0xd8f3c3=function(_0x26825c,_0x45388f){const _0x2afd8c=G(_0x26825c,_0x45388f);if(!_0x2afd8c)return null;const _0x3f4cfb=Object['create'](null);for(const _0x4271d7 of _0x2afd8c['getChildren']())_0x4271d7['is']('element','footnoteDefinition')&&_0x4271d7['hasAttribute']('footnoteId')&&(_0x3f4cfb[_0x4271d7['getAttribute']('footnoteId')]=_0x26825c['cloneElement'](_0x4271d7,!0x0));return Object['keys'](_0x3f4cfb)['length']?_0x3f4cfb:null;}(_0x1229a,_0x2882af['content'])),(_0x1a6dff&&!_0xb70277||!_0x1a6dff&&!_0xd8f3c3)&&function(_0x38a1d0,_0x1f44da){const _0x10c585=[];for(const {item:_0x44fd18}of _0x38a1d0['createRangeIn'](_0x1f44da))_0x44fd18['is']('element','footnotesDefinitions')&&_0x10c585['push'](_0x44fd18);for(const _0x445c74 of _0x10c585)_0x38a1d0['remove'](_0x445c74);}(_0x1229a,_0x2882af['content']),!_0xd8f3c3)return;const {selection:_0x1c8f32}=_0x2b8557['document'],_0x5b96fb=_0x1c8f32['getFirstRange']()['root'];_0x1a6dff&&!_0xb70277||(_0x1a6dff=G(_0x1229a,_0x2882af['content']),_0x1a6dff||=_0x4fed17['_insertEmptyFootnotesDefinitionsContainer'](_0x1229a,_0x5b96fb));const _0x18677b=Array['from'](_0x1c8f32['getRanges']())['flatMap'](Q),_0xcd56e8=function(_0x33d3c3,_0x3d283d,_0x1ed7f8){const _0x201979=Object['create'](null);for(const {item:_0xa97039}of _0x33d3c3['createRangeIn'](_0x3d283d))if(_0xa97039['is']('element','footnoteRef')){const _0x547bb5=_0xa97039['getAttribute']('footnoteId');if(!_0x1ed7f8(_0x547bb5))continue;_0x201979[_0x547bb5]||(_0x201979[_0x547bb5]=_0x3ca75b()),_0x33d3c3['setAttribute']('footnoteId',_0x201979[_0x547bb5],_0xa97039);}return _0x201979;}(_0x1229a,_0x2882af['content'],_0x3d81e4=>{if(!_0x108e05)return!0x0;return!!_0x4fed17['getFootnote'](_0x3d81e4)&&!_0x18677b['includes'](_0x3d81e4);});for(const [_0x1384b8,_0x39f611]of Object['entries'](_0xd8f3c3)){const _0x27df92=_0xcd56e8[_0x1384b8]||_0x1384b8;let _0x437b0b;if('string'!=typeof _0x39f611)_0x437b0b=_0x39f611,_0x27df92!==_0x1384b8&&_0x1229a['setAttribute']('footnoteId',_0x27df92,_0x437b0b);else{_0x437b0b=_0x1229a['createElement']('footnoteDefinition',{'footnoteId':_0x27df92});const _0x3e2c72=_0x45926a['data']['htmlProcessor']['toView'](_0x39f611);let _0x20ad28;if(_0x70a4e3)_0x20ad28=_0x45926a['data']['toModel'](_0x3e2c72,_0x437b0b);else{_0x20ad28=_0x1229a['createElement']('footnoteInlineContent');const _0x10ddc3=_0x45926a['data']['toModel'](_0x3e2c72,_0x20ad28);_0x1229a['insert'](_0x10ddc3,_0x20ad28);}_0x1229a['append'](_0x20ad28,_0x437b0b);}_0x1229a['insert'](_0x437b0b,_0x1a6dff,'end');}_0xd8f3c3=null;});});}}function G(_0x27bf1f,_0x2d354c){for(const {item:_0x1d06dc}of _0x27bf1f['createRangeIn'](_0x2d354c))if(_0x1d06dc['is']('element','footnotesDefinitions'))return _0x1d06dc;return null;}function Q(_0x46274a){const _0x1a2287=new Set();for(const {item:_0x13d041}of _0x46274a)_0x13d041['is']('element','footnoteRef')&&_0x1a2287['add'](_0x13d041['getAttribute']('footnoteId'));return Array['from'](_0x1a2287);}class W extends _0x4c3489{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x576901}=this,{componentFactory:_0x47df87}=_0x576901['ui'];_0x47df87['add']('insertFootnote',Y(_0x576901,_0x2053cf)),_0x47df87['add']('menuBar:insertFootnote',Y(_0x576901,_0xaebc3d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a8c4b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a60ba;for(const _0x31a328 in _0x1a8c4b){const _0x2e7bd3=_0x31a328,_0x50cfef=_0x1a8c4b[_0x2e7bd3];if('footnotesLicenseKeyValid'==_0x50cfef||'footnotesLicenseKeyInvalid'==_0x50cfef||'footnotesLicenseKeyExpired'==_0x50cfef||'footnotesLicenseKeyDomainLimit'==_0x50cfef||'footnotesLicenseKeyNotAllowed'==_0x50cfef||'footnotesLicenseKeyEvaluationLimit'==_0x50cfef||'footnotesLicenseKeyUsageLimit'==_0x50cfef){delete _0x1a8c4b[_0x2e7bd3],_0x3a60ba=_0x50cfef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3a60ba&&_0x1a8c4b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3a60ba&&_0x1a8c4b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3a60ba&&_0x1a8c4b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3a60ba&&_0x1a8c4b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3a60ba&&_0x1a8c4b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3a60ba&&_0x1a8c4b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x208ff2,_0x40e38b){const _0x5ad06c=_0x208ff2['commands']['get']('insertFootnote');return _0x543ca5=>{const {t:t}=_0x543ca5,_0x26aac6=new _0x40e38b(_0x543ca5),_0xb9de09=_0x26aac6 instanceof _0xaebc3d;return _0x26aac6['bind']('isEnabled')['to'](_0x5ad06c,'isEnabled'),_0x26aac6['set']({'label':t(_0xb9de09?'Footnote':'Insert\x20footnote'),'icon':_0x227093,'tooltip':!0x0}),_0x26aac6['on']('execute',()=>{_0x5ad06c['execute'](),_0x208ff2['editing']['view']['focus']();}),_0x26aac6;};}class Z extends _0x4c3489{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 _0x2688ac{['refresh'](){const {editor:_0x997f7}=this,_0x11b94f=_0x997f7['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x11b94f,this['value']=_0x11b94f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2a2f49}){const {editor:_0x5257fc}=this,_0x20e3f0=_0x5257fc['plugins']['get'](K),_0x5c7b8c=_0x20e3f0['getFootnotesDefinitionsObjectElement']();_0x5c7b8c&&ot['includes'](_0x2a2f49)&&_0x5257fc['model']['change'](_0x4c85cf=>{_0x4c85cf['setAttribute']('footnotesListStyle',_0x2a2f49,_0x5c7b8c),_0x20e3f0['_updateFootnotesCounters'](_0x4c85cf);});}}class it extends _0x2688ac{['refresh'](){const {editor:_0xf78615}=this,_0x3db456=_0xf78615['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3db456,this['value']=_0x3db456?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4b580d}){const {editor:_0x1ee3b2}=this,_0x39a182=_0x1ee3b2['plugins']['get'](K),_0x5ede8b=_0x39a182['getFootnotesDefinitionsObjectElement']();_0x5ede8b&&Number['isInteger'](_0x4b580d)&&_0x1ee3b2['model']['change'](_0x315344=>{_0x315344['setAttribute']('footnotesListStart',_0x4b580d,_0x5ede8b),_0x39a182['_updateFootnotesCounters'](_0x315344);});}}function st(_0x3acc6b,_0x1a8086){let _0x50b220='',_0x39e323=_0x3acc6b;for(;_0x39e323>0x0;){const _0x4c6ead=(_0x39e323-0x1)%0x1a;_0x50b220=String['fromCharCode'](0x61+_0x4c6ead)+_0x50b220,_0x39e323=Math['floor']((_0x39e323-0x1)/0x1a);}return _0x1a8086?_0x50b220['toUpperCase']():_0x50b220;}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(_0x2f28fd,_0x55f8fa){let _0x407932='',_0x12796e=_0x2f28fd;for(const {value:_0x351db7,numeral:_0x5287f3}of rt)for(;_0x12796e>=_0x351db7;)_0x407932+=_0x5287f3,_0x12796e-=_0x351db7;return _0x55f8fa?_0x407932:_0x407932['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x4c3489{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a1ddc}=this;_0x2a1ddc['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2a1ddc['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2a1ddc['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x2a1ddc['commands']['add']('footnotesStyle',new nt(_0x2a1ddc)),_0x2a1ddc['commands']['add']('footnotesStart',new it(_0x2a1ddc)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1ade33}=this,{schema:_0x1948f2}=_0x1ade33['model'];_0x1948f2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5330b7}=this,{conversion:_0x24f3f3,model:_0x36f6c0}=_0x5330b7,{schema:_0x5440fa}=_0x36f6c0;_0x24f3f3['for']('upcast')['add'](_0x49eed2=>{_0x49eed2['on']('element:ol',(_0x2ff344,_0x2fe0fb,_0x3f3876)=>{const _0xa6cdd3=_0x2fe0fb['viewItem'],_0x1a73ff=_0x2fe0fb['modelCursor']?.['parent'];_0xa6cdd3['hasClass']('footnotes-list')&&_0x1a73ff?.['is']('element','footnotesDefinitions')&&(function(_0x42bb2f,_0x86ba1d,_0x59d213,_0x3557f5){if(!_0x3557f5['checkAttribute'](_0x86ba1d,'footnotesListStart'))return;let _0x1025c2=0x1;const _0x57ae28=_0x59d213['consumable']['consume'](_0x42bb2f,{'attributes':'start'});if(_0x57ae28){const _0x28ec64=Number['parseInt'](_0x42bb2f['getAttribute']('start'),0xa);Number['isNaN'](_0x28ec64)||(_0x1025c2=_0x28ec64);}!_0x57ae28&&_0x86ba1d['hasAttribute']('footnotesListStart')||_0x59d213['writer']['setAttribute']('footnotesListStart',_0x1025c2,_0x86ba1d);}(_0xa6cdd3,_0x1a73ff,_0x3f3876,_0x5440fa),function(_0x37a4b4,_0x3ad1d3,_0x18925d,_0x22a52b){if(!_0x22a52b['checkAttribute'](_0x3ad1d3,'footnotesListStyle'))return;let _0x4c72b6='decimal',_0x7a5faa=!0x1;if(_0x18925d['consumable']['consume'](_0x37a4b4,{'attributes':'type'})){const _0x54d0cd={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x37a4b4['getAttribute']('type')];_0x54d0cd&&(_0x4c72b6=_0x54d0cd),_0x7a5faa=!0x0;}if(_0x18925d['consumable']['consume'](_0x37a4b4,{'styles':'list-style-type'})){const _0x460fee=ct(_0x37a4b4['getStyle']('list-style-type'));_0x460fee&&(_0x4c72b6=_0x460fee),_0x7a5faa=!0x0;}!_0x7a5faa&&_0x3ad1d3['hasAttribute']('footnotesListStyle')||_0x18925d['writer']['setAttribute']('footnotesListStyle',_0x4c72b6,_0x3ad1d3);}(_0xa6cdd3,_0x1a73ff,_0x3f3876,_0x5440fa));});}),_0x24f3f3['for']('downcast')['add'](_0xb5f790=>{_0xb5f790['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5dc91d,_0x4d8c22,_0x3e2add)=>{if(!_0x3e2add['consumable']['consume'](_0x4d8c22['item'],_0x5dc91d['name']))return;const _0x219e4c=ut(_0x4d8c22['item'],_0x3e2add['mapper']),{attributeNewValue:_0x3d03b8}=_0x4d8c22;null==_0x3d03b8||0x1===_0x3d03b8?_0x3e2add['writer']['removeAttribute']('start',_0x219e4c):_0x3e2add['writer']['setAttribute']('start',String(_0x3d03b8),_0x219e4c);}),_0xb5f790['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x166516,_0x1d048d,_0x2500eb)=>{if(!_0x2500eb['consumable']['consume'](_0x1d048d['item'],_0x166516['name']))return;const _0x16a864=ut(_0x1d048d['item'],_0x2500eb['mapper']),{attributeNewValue:_0x2a8311}=_0x1d048d;_0x2a8311&&'decimal'!==_0x2a8311?_0x2500eb['writer']['setStyle']('list-style-type',_0x2a8311,_0x16a864):_0x2500eb['writer']['removeStyle']('list-style-type',_0x16a864);});});}['_definePostfixer'](){const {editor:_0x1356a8}=this,{model:_0x30d573}=_0x1356a8,_0x273c9f=_0x1356a8['plugins']['get'](K),_0x3fc1bb=this['_getDefaultListStyle'](),_0x5aed23=this['_getDefaultStartIndex']();_0x30d573['document']['registerPostFixer'](_0x3b708d=>{const _0x38d56d=_0x30d573['document']['differ']['getChanges']();let _0x227495=!0x1;for(const _0x2e9088 of _0x38d56d){if('insert'!==_0x2e9088['type']||'$text'===_0x2e9088['name'])continue;const _0x16e720=_0x30d573['createRangeOn'](_0x2e9088['position']['nodeAfter']);for(const _0x521ed4 of _0x16e720['getItems']())_0x521ed4['is']('element','footnotesDefinitions')&&(!_0x521ed4['hasAttribute']('footnotesListStart')&&_0x30d573['schema']['checkAttribute'](_0x521ed4,'footnotesListStart')&&(_0x3b708d['setAttribute']('footnotesListStart',_0x5aed23,_0x521ed4),_0x227495=!0x0),!_0x521ed4['hasAttribute']('footnotesListStyle')&&_0x30d573['schema']['checkAttribute'](_0x521ed4,'footnotesListStyle')&&(_0x3b708d['setAttribute']('footnotesListStyle',_0x3fc1bb,_0x521ed4),_0x227495=!0x0));}return _0x227495&&_0x273c9f['_updateFootnotesCounters'](_0x3b708d),_0x227495;});}['_defineFormatter'](){const {editor:_0x13485c}=this;_0x13485c['plugins']['get'](K)['setFootnoteFormatter'](_0xbb6257=>this['_formatFootnoteListValue'](_0xbb6257));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x283e16,value:_0x5b1897,digits:_0x432fd9}){const _0x5827a0=_0x283e16['getAttribute']('footnotesListStyle'),_0x4fa606=_0x283e16['getAttribute']('footnotesListStart'),_0x128850=Math['floor'](_0x5b1897)+(_0x4fa606??0x1)-0x1;switch(_0x5827a0){case'decimal-leading-zero':return function(_0x32bec0,_0x55fc0b){return String(_0x32bec0)['padStart'](_0x55fc0b,'0');}(_0x128850,Math['max'](0x2,_0x432fd9));case'lower-alpha':case'lower-latin':return st(_0x128850,!0x1);case'upper-alpha':case'upper-latin':return st(_0x128850,!0x0);case'lower-roman':return lt(_0x128850,!0x1);case'upper-roman':return lt(_0x128850,!0x0);case'arabic-indic':return String(_0x128850)['replace'](/\d/g,_0x11a7d5=>ft[Number(_0x11a7d5)]);default:return String(_0x128850);}}}function ct(_0x30e2a5){if('string'==typeof _0x30e2a5){const _0x2fd2a2=et[_0x30e2a5];if(_0x2fd2a2)return _0x2fd2a2;if(ot['includes'](_0x30e2a5))return _0x30e2a5;}return null;}function ut(_0xdf9f48,_0x407122){const _0x43c5a9=_0x407122['toViewElement'](_0xdf9f48);return Array['from'](_0x43c5a9['getChildren']())['find'](_0x455e82=>_0x455e82['is']('element','ol')&&_0x455e82['hasClass']('footnotes-list'));}class dt extends _0xe6344f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1e1fdd();['keystrokes']=new _0x57e564();['focusables']=new _0x1af976();['focusCycler'];constructor(_0x23fb69,{styleButtonViews:_0x610870,styleGridAriaLabel:_0x6450be}){super(_0x23fb69),(this['focusCycler']=new _0x4cb744({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x610870,_0x6450be),[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 _0x4d4f21 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4d4f21['element']);_0x2de94a({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x13cef6['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 _0x48a8f2=_0xcecb9b=>_0xcecb9b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x48a8f2),this['keystrokes']['set']('arrowleft',_0x48a8f2),this['keystrokes']['set']('arrowup',_0x48a8f2),this['keystrokes']['set']('arrowdown',_0x48a8f2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x28a50f,_0x1bde5d){const _0x27a133=new _0xe6344f(this['locale']);return _0x27a133['children']=_0x27a133['createCollection'](),_0x27a133['children']['addMany'](_0x28a50f),_0x27a133['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1bde5d,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x27a133['children']}),_0x27a133['children']['delegate']('execute')['to'](this),_0x27a133['focus']=function(){for(const _0x32f979 of this['children'])if(_0x32f979 instanceof _0x2053cf&&_0x32f979['isOn'])return void _0x32f979['focus']();this['children']['first']['focus']();},_0x27a133['focusTracker']=new _0x1e1fdd(),_0x27a133['keystrokes']=new _0x57e564(),_0x27a133['render'](),_0x27a133['keystrokes']['listenTo'](_0x27a133['element']),this['children']['add'](_0x27a133),_0x27a133;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x164349=this['_createStartIndexPropertyView'](),_0x99e6e4=[_0x164349],_0xf91a23=new _0x54e51c(this['locale'],_0x99e6e4);return _0xf91a23['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xf91a23['buttonView']['bind']('isEnabled')['toMany'](_0x99e6e4,'isEnabled',(..._0x509414)=>_0x509414['some'](_0x5ef649=>_0x5ef649)),_0xf91a23['buttonView']['on']('change:isEnabled',(_0xfc4e70,_0x503916,_0x58556b)=>{_0x58556b||(_0xf91a23['isCollapsed']=!0x0);}),this['children']['add'](_0xf91a23),[_0x164349,_0xf91a23];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x55ab80=new _0x140ed9(this['locale'],_0x75393a);return _0x55ab80['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x55ab80['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x55ab80['fieldView']['on']('input',()=>{const _0x2d7e94=_0x55ab80['fieldView']['element'],_0x58e71c=_0x2d7e94['valueAsNumber'];Number['isNaN'](_0x58e71c)?_0x55ab80['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2d7e94['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x58e71c}):_0x55ab80['errorText']=t(_0x58e71c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x55ab80;}}class ht extends _0x4c3489{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xcc3adb,_0x4b39c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1ae5b9}=this,{componentFactory:_0x40ae89}=_0x1ae5b9['ui'];_0x1ae5b9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x40ae89['add']('footnotesStyle',function(_0x2b3c29){return _0x569c73=>{const {t:t}=_0x569c73,_0x37d9ad=_0x2b3c29['commands']['get']('footnotesStyle'),_0x4c9c3e=_0xa6e23c(_0x569c73),{buttonView:_0x2ce07f}=_0x4c9c3e;return _0x4c9c3e['class']='ck-footnotes-styles-dropdown',_0x4c9c3e['bind']('isEnabled')['to'](_0x37d9ad,'isEnabled'),_0x2ce07f['set']({'label':t('Footnotes\x20style'),'icon':_0x227093,'tooltip':!0x0}),_0x4c9c3e['once']('change:isOpen',()=>{const _0x336624=function({editor:_0x555d8b,dropdownView:_0x41f955}){const {t:t}=_0x555d8b['locale'],_0x3cc4f4=t('Footnotes\x20definitions\x20styles'),_0x3916b4=function(_0x538b0a){const {t:t}=_0x538b0a['locale'],_0xa91c3c=_0x538b0a['config']['get']('footnotes.footnotesProperties.listStyles'),_0x557d7c=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x55199d},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x1003bd},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x574eef},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x40e35e},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x213207},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x359965},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x400749}];return _0xa91c3c['map'](_0xd21419=>{const _0x277762=ct(_0xd21419),_0xd70084=_0x557d7c['find'](_0x45ac76=>_0x45ac76['style']===_0x277762);return function(_0x3cd20e,_0xe55b86){const {locale:_0x48a6a1}=_0x3cd20e,{label:_0x4134b1,icon:_0x43b817,tooltip:_0x2d0210,style:_0x1baae8}=_0xe55b86,_0x27a90f=_0x3cd20e['commands']['get']('footnotesStyle'),_0x4c9eba=new _0x2053cf(_0x48a6a1);return _0x4c9eba['set']({'label':_0x4134b1,'icon':_0x43b817,'tooltip':_0x2d0210}),_0x4c9eba['bind']('isOn')['to'](_0x27a90f,'value',_0x4318c8=>_0x4318c8===_0x1baae8),_0x4c9eba['bind']('isEnabled')['to'](_0x27a90f,'isEnabled'),_0x4c9eba['on']('execute',()=>{_0x3cd20e['execute']('footnotesStyle',{'value':_0x1baae8}),_0x3cd20e['editing']['view']['focus']();}),_0x4c9eba;}(_0x538b0a,_0xd70084);});}(_0x555d8b),_0x592e5b=new dt(_0x555d8b['locale'],{'styleGridAriaLabel':_0x3cc4f4,'styleButtonViews':_0x3916b4}),_0x3f6617=_0x555d8b['commands']['get']('footnotesStart');return _0x592e5b['startIndexFieldView']['bind']('isEnabled')['to'](_0x3f6617),_0x592e5b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3f6617),_0x592e5b['on']('footnotesListStart',(_0x5923db,_0x22ee24)=>{_0x555d8b['execute']('footnotesStart',{'value':_0x22ee24['startIndex']});}),_0x592e5b['delegate']('execute')['to'](_0x41f955),_0x592e5b;}({'editor':_0x2b3c29,'dropdownView':_0x4c9c3e});_0x4c9c3e['panelView']['children']['add'](_0x336624);}),_0x4c9c3e;};}(_0x1ae5b9));}['afterInit'](){const {editor:_0x1d5612}=this,{t:t}=_0x1d5612['locale'],_0x767f35=_0x1d5612['plugins']['get'](_0x4b39c6),{defaultPositions:_0x39e9f3}=_0x2af2d2;_0x767f35['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1d5612['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xdbe103=>{let _0x4a11d1=_0xdbe103['getFirstPosition']()?.['parent'];return _0x4a11d1?.['is']('$text')&&(_0x4a11d1=_0x4a11d1['parent']),_0x4a11d1?.['is']('element')?_0x4a11d1['findAncestor'](q):null;},'positions':[_0x39e9f3['southArrowNorth'],_0x39e9f3['southArrowNorthMiddleWest'],_0x39e9f3['southArrowNorthMiddleEast'],_0x39e9f3['southArrowNorthWest'],_0x39e9f3['southArrowNorthEast'],_0x39e9f3['northArrowSouth'],_0x39e9f3['northArrowSouthMiddleWest'],_0x39e9f3['northArrowSouthMiddleEast'],_0x39e9f3['northArrowSouthWest'],_0x39e9f3['northArrowSouthEast'],_0x39e9f3['viewportStickyNorth']]});}}class mt extends _0x4c3489{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 _0x10a974,Command as _0x1446aa}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1638db,isWidget as _0x24b1f5,toWidgetEditable as _0x173caa,WidgetToolbarRepository as _0x5ba845}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x4e9b21,logWarning as _0x2042d3,FocusTracker as _0x2e7671,KeystrokeHandler as _0x2080cf,global as _0x15d1bd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2b774e,ClickObserver as _0x4e6ce3}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x688237}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x12ad2d,ButtonView as _0x25550d,View as _0x41b2c1,ViewCollection as _0x5f3ce6,FocusCycler as _0x108e3b,addKeyboardHandlingForGrid as _0x21f3c4,CollapsibleView as _0x6f3420,LabeledFieldView as _0x331b7f,createLabeledInputNumber as _0x3d1741,ContextualBalloon as _0x3f9bf6,BalloonPanelView as _0x316520,createDropdown as _0x225231}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x28d1aa,IconListStyleDecimal as _0x566504,IconListStyleDecimalLeadingZero as _0x489b35,IconListStyleLowerRoman as _0x194f73,IconListStyleUpperRoman as _0x3633a9,IconListStyleLowerLatin as _0x17b3e9,IconListStyleUpperLatin as _0x2fb709,IconListStyleArabicIndic as _0xe292db}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1095a8,_0x4a31db){this['_model']=_0x1095a8,this['_elementName']=_0x4a31db['elementName'],this['_getElementKey']=_0x4a31db['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x20a51d){const _0x537d8a=new Set(),_0x54e434=new Map();for(const _0x14771e of _0x20a51d){if('insert'===_0x14771e['type']&&'$text'!==_0x14771e['name']&&_0x14771e['position']['nodeAfter']){const _0x5bb66d=this['_model']['createRangeOn'](_0x14771e['position']['nodeAfter']);for(const _0x16090c of _0x5bb66d['getItems']()){if(!_0x16090c['is']('element',this['_elementName']))continue;const _0x558d86=this['_getElementKey'](_0x16090c);_0x54e434['has'](_0x558d86)||_0x54e434['set'](_0x558d86,[]),_0x54e434['get'](_0x558d86)['push'](_0x16090c);}}if('remove'===_0x14771e['type']&&_0x14771e['name']===this['_elementName']){const _0x395d3f=this['_getElementKey']({'getAttribute':_0x5c3821=>_0x14771e['attributes']['get'](_0x5c3821)});_0x537d8a['add'](_0x395d3f);}}for(const [_0x21c37a,_0x47d10e]of this['_trackedElements'])'$graveyard'===_0x47d10e['root']['rootName']&&_0x537d8a['add'](_0x21c37a);for(const _0x2b594c of _0x537d8a)this['_trackedElements']['delete'](_0x2b594c);for(const [_0x2dad1a,_0x59cff4]of _0x54e434)this['_trackedElements']['set'](_0x2dad1a,_0x59cff4[_0x59cff4['length']-0x1]);const _0x4d26f1=new Set();for(const [_0x2bd78f,_0x2d222f]of _0x54e434)_0x537d8a['has'](_0x2bd78f)&&(_0x4d26f1['add'](_0x2d222f[0x0]),_0x2d222f['length']>0x1?_0x54e434['set'](_0x2bd78f,_0x2d222f['slice'](0x1)):_0x54e434['delete'](_0x2bd78f),_0x537d8a['delete'](_0x2bd78f));return{'removed':Array['from'](_0x537d8a),'inserted':Array['from'](_0x54e434['values']())['flat'](),'moved':Array['from'](_0x4d26f1)};}}class K extends _0x10a974{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x926677){super(_0x926677),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x300e9f=>_0x300e9f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x186e93=>_0x186e93['getAttribute']('footnoteId')});}['init'](){const {editor:_0x2db080}=this,{model:_0x1a3b3d,data:_0x517486}=_0x2db080;_0x1a3b3d['document']['registerPostFixer'](_0x4bb8b6=>{const _0x4557f4=_0x1a3b3d['document']['differ']['getChanges']();let _0x500fa8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4bb8b6,_0x4557f4)&&(_0x500fa8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4bb8b6,_0x4557f4)&&(_0x500fa8=!0x0),this['_handleFootnoteReferencesChanges'](_0x4bb8b6,_0x4557f4)&&(_0x500fa8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4bb8b6)&&(_0x500fa8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4bb8b6)&&(_0x500fa8=!0x0),this['_sortFootnoteDefinitions'](_0x4bb8b6)&&(_0x500fa8=!0x0),_0x500fa8;}),this['listenTo'](_0x1a3b3d['document'],'change:data',()=>{_0x1a3b3d['enqueueChange']({'isUndoable':!0x1},_0x48d1be=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x48d1be);});},{'priority':'low'}),this['listenTo'](_0x517486,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x72b42e){return this['_footnotes']['find'](_0x176f1c=>_0x176f1c['id']===_0x72b42e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x21c88d){this['_footnoteFormatter']=_0x21c88d;}['_updateFootnotesCounters'](_0x4a71b7,_0x2176ff=0x0){let _0xc904b1=!0x1;for(let _0x3ec8aa=_0x2176ff;_0x3ec8aa<this['_footnotes']['length'];_0x3ec8aa++)this['_updateFootnoteRefCounter'](_0x4a71b7,_0x3ec8aa)&&(_0xc904b1=!0x0);return _0xc904b1;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3f7d9d,_0x29857c){const _0x6dd7f=_0x3f7d9d['createElement']('footnotesDefinitions',{});return _0x3f7d9d['append'](_0x6dd7f,_0x29857c),this['_footnotesDefinitions']=_0x6dd7f,_0x6dd7f;}['_ensureFootnotesDefinitionsContainerExists'](_0x564afd){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3b7eef=this['_footnotes'][0x0]['reference']['root'],_0x774a3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x564afd,_0x3b7eef);for(const _0x478ea8 of this['_footnotes'])_0x478ea8['definition']['parent']||_0x564afd['insert'](_0x478ea8['definition'],_0x774a3,'end');this['_updateFootnotesCounters'](_0x564afd);}['_handleFootnotesDefinitionsObjectChanges'](_0x21896c,_0x1e9f29){let _0x1a5f82=!0x1;const {inserted:_0x4d1636,removed:_0x199497,moved:_0x47f02d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1e9f29);if(_0x47f02d['length']&&(this['_footnotesDefinitions']=_0x47f02d[0x0]),_0x4d1636['length']){if(_0x4d1636['length']>0x1||this['_footnotesDefinitions']&&_0x4d1636['some'](_0x145b3a=>_0x145b3a!==this['_footnotesDefinitions'])){const _0x470ad1=_0x21896c['createElement']('footnotesDefinitions',{}),_0xd11995=[];this['_footnotesDefinitions']&&_0xd11995['push'](this['_footnotesDefinitions']),_0xd11995['push'](..._0x4d1636),_0x21896c['insert'](_0x470ad1,_0xd11995[0x0],'before');for(const _0x3771f6 of _0xd11995)_0x21896c['move'](_0x21896c['createRangeIn'](_0x3771f6),_0x21896c['createPositionAt'](_0x470ad1,'end')),_0x21896c['remove'](_0x3771f6);this['_footnotesDefinitions']=_0x470ad1,this['_updateFootnotesCounters'](_0x21896c),_0x1a5f82=!0x0;}else this['_footnotesDefinitions']=_0x4d1636[0x0];}if(_0x199497['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x167b2f of this['_footnotes'])_0x21896c['remove'](_0x167b2f['reference']),_0x1a5f82=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1a5f82;}['_handleFootnoteDefinitionsChanges'](_0x2f3c6d,_0x5c5870){let _0x21ac13=!0x1;const _0x19b961=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x31e092,moved:_0x5089a9}=this['_footnoteDefsTracker']['getChanges'](_0x5c5870);for(const _0x330a78 of[..._0x5089a9,..._0x31e092]){const _0x5603d0=_0x330a78['getAttribute']('footnoteId'),_0x5b3bb2=this['getFootnote'](_0x5603d0);_0x5b3bb2&&(_0x5b3bb2['definition']=_0x330a78),j(_0x2f3c6d,_0x19b961,_0x330a78)&&(_0x21ac13=!0x0);}return _0x21ac13;}['_handleFootnoteReferencesChanges'](_0x79abdd,_0x73836e){let _0x5097a5=!0x1;const {removed:_0x552ae0,inserted:_0x35a609,moved:_0x31f919}=this['_footnoteRefsTracker']['getChanges'](_0x73836e);for(const _0x4613a9 of _0x552ae0)this['_handleRemoveFootnoteReferenceById'](_0x79abdd,_0x4613a9)&&(_0x5097a5=!0x0);for(const _0x197d8c of _0x35a609)this['_handleInsertedFootnoteReference'](_0x79abdd,_0x197d8c)&&(_0x5097a5=!0x0);for(const _0x19efc5 of _0x31f919)this['_handleMovedFootnoteReference'](_0x79abdd,_0x19efc5)&&(_0x5097a5=!0x0);return _0x5097a5;}['_handleFootnotesDefinitionsObjectSync'](_0x3fa69e){if(!this['_footnotesDefinitions'])return!0x1;let _0x57fb39=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xec31fd=[];for(const _0x154221 of this['_footnotesDefinitions']['getChildren']()){const _0x25eb02=_0x154221['getAttribute']('footnoteId');this['getFootnote'](_0x25eb02)||(_0xec31fd['unshift'](_0x154221),_0x57fb39=!0x0);}for(const _0xf1bc91 of _0xec31fd)_0x3fa69e['remove'](_0xf1bc91);}const _0x4a43e7=new Set(),_0x3b6bb0=[];for(const _0xcc9c1b of this['_footnotesDefinitions']['getChildren']()){const _0x4342d9=_0xcc9c1b['getAttribute']('footnoteId');_0x4a43e7['has'](_0x4342d9)?(_0x3b6bb0['unshift'](_0xcc9c1b),_0x57fb39=!0x0):_0x4a43e7['add'](_0x4342d9);}for(const _0x159c05 of _0x3b6bb0)_0x3fa69e['remove'](_0x159c05);return this['_footnotesDefinitions']['childCount']||(_0x3fa69e['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x57fb39=!0x0),_0x57fb39;}['_handleInsertedFootnoteReference'](_0x30c74a,_0x52dc75){if(this['_footnotes']['find'](_0x103f27=>_0x103f27['reference']===_0x52dc75))return!0x1;let _0x231045=!0x1;const _0x1f93c0=_0x52dc75['getAttribute']('footnoteId'),_0x5dd3ac=this['_footnotes']['findIndex'](_0x1b78eb=>_0x1b78eb['id']===_0x1f93c0);-0x1!==_0x5dd3ac&&(_0x30c74a['remove'](this['_footnotes'][_0x5dd3ac]['reference']),this['_footnotes']['splice'](_0x5dd3ac,0x1),_0x231045=!0x0);let _0x581906=this['_footnotesDefinitions']?function(_0x1cd82a,_0xd432ca){for(const _0x4d5633 of _0x1cd82a['getChildren']())if(_0x4d5633['getAttribute']('footnoteId')===_0xd432ca)return _0x4d5633;return null;}(this['_footnotesDefinitions'],_0x1f93c0):null;_0x581906||(_0x581906=_0x30c74a['createElement']('footnoteDefinition',{'footnoteId':_0x1f93c0}),this['_footnotesDefinitions']&&(_0x30c74a['insert'](_0x581906,this['_footnotesDefinitions'],'end'),_0x231045=!0x0));const _0x5c0efe={'id':_0x1f93c0,'reference':_0x52dc75,'definition':_0x581906},_0x523365=T(this['editor']['model'],this['_footnotes'],_0x52dc75);this['_footnotes']['splice'](_0x523365,0x0,_0x5c0efe);let _0x20d2c5=_0x523365;return-0x1!==_0x5dd3ac&&(_0x20d2c5=Math['min'](_0x523365,_0x5dd3ac)),this['_updateFootnotesCounters'](_0x30c74a,_0x20d2c5)&&(_0x231045=!0x0),_0x231045;}['_handleRemoveFootnoteReferenceById'](_0x172900,_0x534e8d){const _0x24a01f=this['_footnotes']['findIndex'](_0x54dd42=>_0x54dd42['id']===_0x534e8d);if(-0x1===_0x24a01f)return!0x1;let _0x48ba4a=!0x1;const _0x30ad62=this['_footnotes'][_0x24a01f];return'$graveyard'!==_0x30ad62['definition']['root']['rootName']&&(_0x172900['remove'](_0x30ad62['definition']),_0x48ba4a=!0x0),this['_footnotes']['splice'](_0x24a01f,0x1),this['_updateFootnotesCounters'](_0x172900,_0x24a01f)&&(_0x48ba4a=!0x0),_0x48ba4a;}['_handleMovedFootnoteReference'](_0x3c46e8,_0x4c431a){const _0x10704c=_0x4c431a['getAttribute']('footnoteId'),_0x2cebc7=this['_footnotes']['findIndex'](_0x357c8e=>_0x357c8e['id']===_0x10704c),_0x50891e=this['_footnotes'][_0x2cebc7];let _0x271554=!0x1;_0x50891e['reference']=_0x4c431a,this['_footnotes']['splice'](_0x2cebc7,0x1);const _0x49b31b=T(this['editor']['model'],this['_footnotes'],_0x4c431a);return this['_footnotes']['splice'](_0x49b31b,0x0,_0x50891e),this['_updateFootnotesCounters'](_0x3c46e8,Math['min'](_0x2cebc7,_0x49b31b))&&(_0x271554=!0x0),_0x271554;}['_updateFootnoteRefCounter'](_0xacedba,_0x4ce271){if(!this['_footnotesDefinitions'])return!0x1;const _0x1256c9=this['_footnotes'][_0x4ce271];let _0x1f9a94;return _0x1f9a94=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1256c9,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4ce271+0x1}):String(_0x4ce271+0x1),_0x1256c9['reference']['getAttribute']('footnoteCounter')!=_0x1f9a94&&(_0xacedba['setAttribute']('footnoteCounter',_0x1f9a94,_0x1256c9['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5df5be){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2deaf4,_0x363d1e){if(_0x2deaf4['length']!==_0x363d1e['length'])return!0x1;for(let _0x23a4bd=0x0;_0x23a4bd<_0x2deaf4['length'];_0x23a4bd++)if(_0x2deaf4[_0x23a4bd]!==_0x363d1e[_0x23a4bd])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x44839d=>_0x44839d['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1a8346=>_0x1a8346['getAttribute']('footnoteId'))))return!0x1;let _0x5269bc=!0x1;for(let _0x2e21dc=0x0;_0x2e21dc<this['_footnotes']['length'];_0x2e21dc++){const _0xf33610=this['_footnotes'][_0x2e21dc],_0x546e9f=_0x5df5be['createPositionBefore'](_0xf33610['definition']),_0xac29aa=_0x5df5be['createPositionAt'](this['_footnotesDefinitions'],_0x2e21dc);_0x546e9f['isEqual'](_0xac29aa)||(_0x5df5be['move'](_0x5df5be['createRangeOn'](_0xf33610['definition']),_0xac29aa),_0x5269bc=!0x0);}return _0x5269bc;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1a421c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x58f4a6}=this['editor'];let _0x10d2bd=!0x1;for(let _0x16dab7=0x0;_0x16dab7<this['_footnotes']['length']-0x1;_0x16dab7++){const _0x9aa498=this['_footnotes'][_0x16dab7],_0x25cd6e=this['_footnotes'][_0x16dab7+0x1],_0x391ce7=_0x58f4a6['createPositionBefore'](_0x9aa498['reference']),_0x2a7e86=_0x58f4a6['createPositionBefore'](_0x25cd6e['reference']);'after'===_0x391ce7['compareWith'](_0x2a7e86)&&(this['_handleMovedFootnoteReference'](_0x1a421c,_0x9aa498['reference']),_0x16dab7=-0x1,_0x10d2bd=!0x0);}return _0x10d2bd;}}function j(_0x4cff64,_0x587b2f,_0x3151f1){if(_0x3151f1['childCount'])return!0x1;const _0x4c26dc=_0x587b2f?'paragraph':'footnoteInlineContent';return _0x4cff64['insert'](_0x4cff64['createElement'](_0x4c26dc),_0x3151f1),!0x0;}function T(_0x552ab9,_0x358904,_0x4100f8){if(0x0===_0x358904['length'])return 0x0;const _0x201b7c=_0x552ab9['createPositionBefore'](_0x4100f8);for(let _0x5092ec=0x0;_0x5092ec<_0x358904['length'];_0x5092ec++){const _0x405f01=_0x358904[_0x5092ec],_0x129923=_0x552ab9['createPositionBefore'](_0x405f01['reference']);if('before'===_0x201b7c['compareWith'](_0x129923))return _0x5092ec;}const _0x20c1bd=_0x4100f8['root'];let _0x1e5979=-0x1;for(let _0x4b877d=_0x358904['length']-0x1;_0x4b877d>=0x0;_0x4b877d--)if(_0x358904[_0x4b877d]['reference']['root']===_0x20c1bd){_0x1e5979=_0x4b877d;break;}if(-0x1!==_0x1e5979)return _0x1e5979+0x1;const _0x547c4b=_0x552ab9['document']['getRootNames'](),_0x339152=_0x547c4b['indexOf'](_0x20c1bd['rootName']),_0x4af9f8=_0x547c4b[_0x339152+0x1];if(_0x4af9f8){for(let _0x2f01e1=0x0;_0x2f01e1<_0x358904['length'];_0x2f01e1++)if(_0x358904[_0x2f01e1]['reference']['root']['rootName']===_0x4af9f8)return _0x2f01e1;}return _0x358904['length'];}class V extends _0x1446aa{['refresh'](){const _0x2e5a19=this['editor']['model']['document']['selection'],_0x2daaa7=this['_getPositionToInsertFootnote'](_0x2e5a19);this['isEnabled']=!!_0x2daaa7;}['execute'](_0x18c9a2){const {editor:_0x5deef0}=this,{model:_0x5e4bc2}=_0x5deef0,{selection:_0x701d69}=_0x5e4bc2['document'],_0x18ce4e=this['_getPositionToInsertFootnote'](_0x701d69);if(!_0x18ce4e)return;const _0x34ad17=_0x5deef0['plugins']['get']('FootnotesEditing'),_0x54913d=_0x18c9a2?.['footnoteId']??_0x4e9b21();!function(_0x169663){return'string'==typeof _0x169663&&_0x169663['length']>0x0&&!/\s/['test'](_0x169663)&&!/^\d/['test'](_0x169663);}(_0x54913d)?_0x2042d3('insert-footnote-command-executed-with-invalid-id'):(_0x5e4bc2['change'](_0x24184a=>{const _0x4405f0=_0x24184a['createElement']('footnoteRef',{'footnoteId':_0x54913d});_0x5e4bc2['insertObject'](_0x4405f0,_0x18ce4e,null);}),_0x34ad17['_moveSelectionToFootnoteDefinition'](_0x54913d));}['_getPositionToInsertFootnote'](_0x11ed96){const {model:_0x574a4e}=this['editor'],{schema:_0x3ad18c}=_0x574a4e,_0x171455=_0x11ed96['getFirstRange']();for(const _0x29a23f of _0x171455['getItems']())if(_0x3ad18c['isBlock'](_0x29a23f)||_0x3ad18c['isObject'](_0x29a23f))return null;const _0x17b075=_0x171455['end'];return _0x3ad18c['checkChild'](_0x17b075,'footnoteRef')?_0x17b075:null;}}class $ extends _0x10a974{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e693b}=this;_0x1e693b['config']['define']('footnotes.multiBlock',!0x0),_0x1e693b['commands']['add']('insertFootnote',new V(_0x1e693b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4e2c0f){const _0xea0948=_0x2b01e1([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]),_0x21bf4d=0x47a28506,_0x5501b8=0x47a500a6^_0x21bf4d,_0x2f515a=window[_0x2b01e1([0x44,0x61,0x74,0x65])][_0x2b01e1([0x6e,0x6f,0x77])](),_0x5a47bf=_0x4e2c0f[_0x2b01e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592386=new window[(_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a28e3=>{_0x5a47bf[_0x2b01e1([0x6f,0x6e,0x63,0x65])](_0x2b01e1([0x72,0x65,0x61,0x64,0x79]),_0x3a28e3);}),_0x1faba7={[_0x2b01e1([0x6b,0x74,0x79])]:_0x2b01e1([0x45,0x43]),[_0x2b01e1([0x75,0x73,0x65])]:_0x2b01e1([0x73,0x69,0x67]),[_0x2b01e1([0x63,0x72,0x76])]:_0x2b01e1([0x50,0x2d,0x32,0x35,0x36]),[_0x2b01e1([0x78])]:_0x2b01e1([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]),[_0x2b01e1([0x79])]:_0x2b01e1([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]),[_0x2b01e1([0x61,0x6c,0x67])]:_0x2b01e1([0x45,0x53,0x32,0x35,0x36])},_0x551dfd=_0x5a47bf[_0x2b01e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b01e1([0x67,0x65,0x74])](_0x2b01e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x343a05(){let _0x5d7659,_0x194308=null,_0x773204=null;try{if(_0x551dfd==_0x2b01e1([0x47,0x50,0x4c]))return _0x2b01e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d7659=_0x49abe5(),!_0x5d7659)return _0x2b01e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d7659[_0x2b01e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x773204=_0x18da74(_0x5d7659[_0x2b01e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d7659[_0x2b01e1([0x6a,0x74,0x69])])),await _0x120427()?_0x3d0faf()?_0x11f7ef()?_0x2b01e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x564d69()?(_0x5d7659[_0x2b01e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b01e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x194308=_0x59ef90(_0x2b01e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24a921()):_0x2b01e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b01e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b01e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b01e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11f7ef(){const _0x2a0ed6=[_0x2b01e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b01e1([0x74,0x72,0x69,0x61,0x6c])][_0x2b01e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7659[_0x2b01e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f515a/0x3e8:0xe10*_0x5501b8;return _0x5d7659[_0x2b01e1([0x65,0x78,0x70])]<_0x2a0ed6;}function _0x3d0faf(){const _0x55bc6f=_0x5d7659[_0x2b01e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55bc6f&&(!!_0x55bc6f[_0x2b01e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b01e1([0x2a]))||!!_0x55bc6f[_0x2b01e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b01e1([0x46,0x4f,0x4f])));}function _0x564d69(){const _0x5f412c=_0x5d7659[_0x2b01e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f412c||0x0==_0x5f412c[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x144158}=new URL(window[_0x2b01e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f412c[_0x2b01e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x144158))return!0x0;const _0x3cda9a=_0x144158[_0x2b01e1([0x73,0x70,0x6c,0x69,0x74])](_0x2b01e1([0x2e]));return _0x5f412c[_0x2b01e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x463d14=>_0x463d14[_0x2b01e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b01e1([0x2a])))[_0x2b01e1([0x6d,0x61,0x70])](_0x5f4610=>_0x5f4610[_0x2b01e1([0x73,0x70,0x6c,0x69,0x74])](_0x2b01e1([0x2e])))[_0x2b01e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e9dad=>_0x1e9dad[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cda9a[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b01e1([0x6d,0x61,0x70])](_0x4e3c8e=>Array(_0x3cda9a[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e3c8e[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b01e1([0x66,0x69,0x6c,0x6c])](_0x4e3c8e[0x0]===_0x2b01e1([0x2a])?_0x2b01e1([0x2a]):'')[_0x2b01e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e3c8e))[_0x2b01e1([0x73,0x6f,0x6d,0x65])](_0x46415a=>_0x3cda9a[_0x2b01e1([0x65,0x76,0x65,0x72,0x79])]((_0x1ed54b,_0x3c0ea8)=>_0x46415a[_0x3c0ea8]===_0x1ed54b||_0x46415a[_0x3c0ea8]===_0x2b01e1([0x2a])));}function _0x24a921(){return _0x194308&&_0x773204?new window[(_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45bfcf,_0x1f14b5)=>{_0x194308[_0x2b01e1([0x74,0x68,0x65,0x6e])](_0x45bfcf,_0x1f14b5),_0x773204[_0x2b01e1([0x74,0x68,0x65,0x6e])](_0x1821d0=>{_0x1821d0!=_0x2b01e1([0x56,0x61,0x6c,0x69,0x64])&&_0x45bfcf(_0x1821d0);},_0x1f14b5);}):_0x194308||_0x773204||_0x2b01e1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x18da74(_0x1dacd6,_0x2ea52e){return new window[(_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd63c0a=>{if(_0x5b34dc())return _0xd63c0a(_0x2b01e1([0x56,0x61,0x6c,0x69,0x64]));_0x5a8a09(),_0x5a47bf[_0x2b01e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b01e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c5327=!0x1;const _0x563a6a=_0x4e9b21();function _0x5879c6(_0x29b009){return!!_0x29b009&&(typeof _0x29b009===_0x2b01e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29b009===_0x2b01e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29b009[_0x2b01e1([0x74,0x68,0x65,0x6e])]===_0x2b01e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29b009[_0x2b01e1([0x63,0x61,0x74,0x63,0x68])]===_0x2b01e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x279b99(_0x432042){_0x22454f(_0x432042)[_0x2b01e1([0x74,0x68,0x65,0x6e])](_0x47e394=>{if(!_0x47e394||_0x47e394[_0x2b01e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b01e1([0x6f,0x6b]))return _0x2b01e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4faf9f(_0x4e9497(_0x563a6a+_0x2ea52e))!=_0x47e394[_0x2b01e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b01e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b01e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b01e1([0x74,0x68,0x65,0x6e])](_0x1fdcb6=>(_0x7ff7fb(),_0x1fdcb6),()=>{const _0x4040ca=_0xd605d8();return null==_0x4040ca?(_0x7ff7fb(),_0x2b01e1([0x56,0x61,0x6c,0x69,0x64])):_0x2b01e1(_0x2f515a-_0x4040ca>(0x63ae0106^_0x21bf4d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b01e1([0x74,0x68,0x65,0x6e])](_0xd63c0a)[_0x2b01e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd63c0a(_0x2b01e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23a9bb=0x47946b86^_0x21bf4d;function _0x7ff7fb(){const _0x3515e6=_0x2b01e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4faf9f(_0x4e9497(_0x1dacd6)),_0x13ef40=_0x3c6f87(_0x4faf9f(window[_0x2b01e1([0x4d,0x61,0x74,0x68])][_0x2b01e1([0x63,0x65,0x69,0x6c])](_0x2f515a/_0x23a9bb)));window[_0x2b01e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b01e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3515e6,_0x13ef40);}function _0xd605d8(){const _0x39bf1f=_0x2b01e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4faf9f(_0x4e9497(_0x1dacd6)),_0x3c201d=window[_0x2b01e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b01e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39bf1f);return _0x3c201d?window[_0x2b01e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6f87(_0x3c201d),0x10)*_0x23a9bb:null;}function _0x22454f(_0x46bc18){return new window[(_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1880c5,_0x1dbfa8)=>{_0x46bc18[_0x2b01e1([0x74,0x68,0x65,0x6e])](_0x1880c5,_0x1dbfa8),window[_0x2b01e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1dbfa8,0x47a351c6^_0x21bf4d);});}}_0x5a47bf[_0x2b01e1([0x6f,0x6e])](_0x2b01e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x109ff3,_0x27ed60)=>{if(_0x27ed60[0x0]!=_0x1dacd6)return _0xd63c0a(_0x2b01e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27ed60[0x1]={..._0x27ed60[0x1],[_0x2b01e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x563a6a};},{[_0x2b01e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b01e1([0x68,0x69,0x67,0x68])}),_0x5a47bf[_0x2b01e1([0x6f,0x6e])](_0x2b01e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2956db=>{_0x5879c6(_0x2956db[_0x2b01e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c5327=!0x0,_0x279b99(_0x2956db[_0x2b01e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b01e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b01e1([0x6c,0x6f,0x77])}),_0x592386[_0x2b01e1([0x74,0x68,0x65,0x6e])](()=>{_0x1c5327||_0xd63c0a(_0x2b01e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b34dc(){return _0x5a47bf[_0x2b01e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b01e1([0x76,0x69,0x65,0x77])][_0x2b01e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b01e1([0x61,0x75,0x74,0x6f]);}function _0x5a8a09(){_0x5a47bf[_0x2b01e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b01e1([0x76,0x69,0x65,0x77])][_0x2b01e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b01e1([0x61,0x75,0x74,0x6f]);}}function _0x59ef90(_0x52796c){const _0x178f9d=[new window[(_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fa2fb=>setTimeout(_0x2fa2fb,0x47abbbca^_0x21bf4d)),_0x592386[_0x2b01e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49ca69=>{let _0x3e7cbd=0x0;_0x5a47bf[_0x2b01e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b01e1([0x6f,0x6e])](_0x2b01e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c12b6,_0x10c578)=>{_0x10c578[0x0][_0x2b01e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e7cbd++,_0x3e7cbd==(0x47a280ee^_0x21bf4d)&&(_0x49ca69(),_0x1c12b6[_0x2b01e1([0x6f,0x66,0x66])]());});}))];return window[_0x2b01e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b01e1([0x72,0x61,0x63,0x65])](_0x178f9d)[_0x2b01e1([0x74,0x68,0x65,0x6e])](()=>_0x52796c);}async function _0x15f72a(){await _0x592386,_0x5a47bf[_0x2b01e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b01e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5108ed,_0x5a47bf[_0x2b01e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b01e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5108ed,_0x5a47bf[_0x2b01e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b01e1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20d0d1(_0x38a36c){const _0x2419d4=_0x3fa40d();_0x5a47bf[_0x2419d4]=_0x2b01e1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x38a36c,_0x38a36c!=_0x2b01e1([0x56,0x61,0x6c,0x69,0x64])&&_0x15f72a();}function _0x3fa40d(){const _0x3858c7=window[_0x2b01e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b01e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b01e1([0x6e,0x6f,0x77])]())[_0x2b01e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b01e1([0x2e]),'');let _0x5239b6=_0x2b01e1([0x75]);for(let _0xd184ad=0x0;_0xd184ad<_0x3858c7[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd184ad+=0x2){let _0x530e1a=window[_0x2b01e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3858c7[_0x2b01e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd184ad,_0xd184ad+0x2));_0x530e1a>=_0xea0948[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x530e1a-=_0xea0948[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5239b6+=_0xea0948[_0x530e1a];}return _0x5239b6;}function _0x49abe5(){const _0x34cc9b=_0x551dfd[_0x2b01e1([0x73,0x70,0x6c,0x69,0x74])](_0x2b01e1([0x2e]));if(0x3!=_0x34cc9b[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x457939(_0x34cc9b[0x1]);function _0x457939(_0x153a0b){const _0x314d57=_0xacba66(_0x153a0b);return _0x314d57&&_0x56a0df()?_0x314d57:null;function _0x56a0df(){const _0x246778=_0x314d57[_0x2b01e1([0x6a,0x74,0x69])],_0x5006ba=window[_0x2b01e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x246778[_0x2b01e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x246778[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x405ebb={..._0x314d57,[_0x2b01e1([0x6a,0x74,0x69])]:_0x246778[_0x2b01e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x246778[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x405ebb[_0x2b01e1([0x76,0x63])],_0x4e9497(_0x405ebb)==_0x5006ba;}}}async function _0x120427(){let _0x4068dd=!0x0;try{const _0x782890=_0x551dfd[_0x2b01e1([0x73,0x70,0x6c,0x69,0x74])](_0x2b01e1([0x2e])),[_0x305586,_0x5b8028,_0x4ff141]=_0x782890;return _0x222ca8(_0x305586),await _0x4dc8fc(_0x305586,_0x5b8028,_0x4ff141),_0x4068dd;}catch{return!0x1;}function _0x222ca8(_0x54d058){const _0x57e5d2=_0xacba66(_0x54d058);_0x57e5d2&&_0x57e5d2[_0x2b01e1([0x61,0x6c,0x67])]==_0x2b01e1([0x45,0x53,0x32,0x35,0x36])||(_0x4068dd=!0x1);}async function _0x4dc8fc(_0x34fa92,_0x5517bb,_0x164a29){const _0x2b74c2=window[_0x2b01e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b01e1([0x66,0x72,0x6f,0x6d])](_0x1e34c5(_0x164a29),_0xd08eb2=>_0xd08eb2[_0x2b01e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2170f5=new window[(_0x2b01e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b01e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x34fa92+_0x2b01e1([0x2e])+_0x5517bb),_0x436b6b=window[_0x2b01e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b01e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x436b6b)return;const _0x1a4e45=await _0x436b6b[_0x2b01e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b01e1([0x6a,0x77,0x6b]),_0x1faba7,{[_0x2b01e1([0x6e,0x61,0x6d,0x65])]:_0x2b01e1([0x45,0x43,0x44,0x53,0x41]),[_0x2b01e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b01e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b01e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x436b6b[_0x2b01e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b01e1([0x6e,0x61,0x6d,0x65])]:_0x2b01e1([0x45,0x43,0x44,0x53,0x41]),[_0x2b01e1([0x68,0x61,0x73,0x68])]:{[_0x2b01e1([0x6e,0x61,0x6d,0x65])]:_0x2b01e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a4e45,_0x2b74c2,_0x2170f5)||(_0x4068dd=!0x1);}}function _0xacba66(_0x3cef34){return _0x3cef34[_0x2b01e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b01e1([0x65,0x79]))?JSON[_0x2b01e1([0x70,0x61,0x72,0x73,0x65])](_0x1e34c5(_0x3cef34)):null;}function _0x1e34c5(_0x342e99){return window[_0x2b01e1([0x61,0x74,0x6f,0x62])](_0x342e99[_0x2b01e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b01e1([0x2b]))[_0x2b01e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b01e1([0x2f])));}function _0x4e9497(_0x29e5b7){let _0xa8794f=0x1505;function _0x5743a9(_0x45ea30){for(let _0x1bfd08=0x0;_0x1bfd08<_0x45ea30[_0x2b01e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bfd08++){const _0x185dca=_0x45ea30[_0x2b01e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bfd08);_0xa8794f=(_0xa8794f<<0x5)+_0xa8794f+_0x185dca,_0xa8794f&=_0xa8794f;}}function _0x4e6044(_0x57c6a5){Array[_0x2b01e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57c6a5)?_0x57c6a5[_0x2b01e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e6044):_0x57c6a5&&typeof _0x57c6a5==_0x2b01e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b01e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57c6a5)[_0x2b01e1([0x73,0x6f,0x72,0x74])]()[_0x2b01e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38d9a9,_0x574b62])=>{_0x5743a9(_0x38d9a9),_0x4e6044(_0x574b62);}):_0x5743a9(window[_0x2b01e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57c6a5));}return _0x4e6044(_0x29e5b7),_0xa8794f>>>0x0;}function _0x4faf9f(_0x49bd82){return _0x49bd82[_0x2b01e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b01e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b01e1([0x30]));}function _0x3c6f87(_0x545533){return _0x545533[_0x2b01e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b01e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b01e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x5108ed(){}function _0x2b01e1(_0xf74488){return _0xf74488['map'](_0x10ccc9=>String['fromCharCode'](_0x10ccc9))['join']('');}_0x20d0d1(await _0x343a05());}(this);}['_moveSelectionToFootnoteDefinition'](_0xe17da9){const {plugins:_0x1c48c3,editing:_0x2b06f9,model:_0x37c8da}=this['editor'],_0x39b0a0=_0x1c48c3['get'](K)['getFootnote'](_0xe17da9);return!!_0x39b0a0&&(_0x37c8da['change'](_0xc02a69=>{_0xc02a69['setSelection'](_0xc02a69['createPositionAt'](_0x39b0a0['definition'],'end'));}),_0x2b06f9['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1ac310){const {plugins:_0x59f697,editing:_0x94d1ec,model:_0x1c498c}=this['editor'],_0x10fbd4=_0x59f697['get'](K)['getFootnote'](_0x1ac310);return!!_0x10fbd4&&(_0x1c498c['change'](_0xd1b6e9=>{_0xd1b6e9['setSelection'](_0x10fbd4['reference'],'on');}),_0x94d1ec['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x119433}=this['editor']['model'],_0x338ae5=this['editor']['config']['get']('footnotes.multiBlock');_0x119433['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x119433['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x119433['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x338ae5?_0x119433['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x119433['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x119433['addChildCheck'](_0xc033b3=>{for(const _0x196199 of _0xc033b3)if('footnoteDefinition'===_0x196199['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3d4541}=this,{conversion:_0x23461b,editing:_0x17e007}=_0x3d4541,{t:t}=_0x3d4541['locale'];_0x23461b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x225d80,{writer:_0x5c83fe,consumable:_0x56c61e})=>{const _0xf55baa=_0x225d80['getChild'](0x0);if(!_0xf55baa||!_0xf55baa['is']('element','a'))return null;const _0x36c981=_0xf55baa['getAttribute']('href')||'';if(!_0x36c981['startsWith']('#'))return null;const _0x236027=_0x36c981['replace'](/^#/,'');if(!_0x236027)return null;_0x56c61e['consume'](_0xf55baa,{'name':!0x0,'attributes':['href']});for(const {item:_0xea6a42}of _0x17e007['view']['createRangeIn'](_0xf55baa))_0xea6a42['is']('$textProxy')?_0x56c61e['consume'](_0xea6a42['textNode'],{'name':!0x0}):_0xea6a42['is']('element')&&_0x56c61e['consume'](_0xea6a42,{'name':!0x0});return _0x5c83fe['createElement']('footnoteRef',{'footnoteId':_0x236027});}}),_0x23461b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x365f49,{writer:_0x143486})=>z(_0x365f49,_0x143486)}),_0x23461b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x532ca1,{writer:_0x3ea461})=>{const _0x1797b3=_0x532ca1['getAttribute']('footnoteCounter');return _0x1638db(z(_0x532ca1,_0x3ea461),_0x3ea461,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1797b3)});}});}['_defineDefinitionsConverters'](){const {editor:_0xefa3b1}=this,{t:t}=_0xefa3b1['locale'],{conversion:_0x29035b}=_0xefa3b1;_0x29035b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x29035b['for']('upcast')['add'](_0x3c4075=>{_0x3c4075['on']('element:ol',(_0x42e1a3,_0x2e1fe8,_0xf71e04)=>{const _0x3aa389=_0x2e1fe8['viewItem'];if(!_0x3aa389['hasClass']('footnotes-list')||!_0x2e1fe8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xf71e04['consumable']['consume'](_0x3aa389,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5c4b04,modelCursor:_0x4a45f0}=_0xf71e04['convertChildren'](_0x2e1fe8['viewItem'],_0x2e1fe8['modelCursor']);_0x2e1fe8['modelRange']=_0x5c4b04,_0x2e1fe8['modelCursor']=_0x4a45f0;}),_0x3c4075['on']('element:hr',(_0x3b1a22,_0x4bc966,_0x3eb233)=>{const _0x4183a8=_0x4bc966['viewItem'];_0x4183a8['hasClass']('footnotes-divider')&&_0x4bc966['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3eb233['consumable']['consume'](_0x4183a8,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x29035b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5018ef,{writer:_0x56339f})=>H(_0x56339f)}),_0x29035b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc28421,{writer:_0x564b9e})=>{const _0xe7767f=H(_0x564b9e,{'data-footnotes-list-label':t('Footnotes')}),_0x5f16e8=_0x1638db(_0xe7767f,_0x564b9e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x564b9e['setCustomProperty']('footnotesDefinitions',!0x0,_0x5f16e8),_0x5f16e8;}});}['_defineDefinitionConverters'](){const {editor:_0x137f04}=this,{conversion:_0x58961c,locale:_0x74e92a}=_0x137f04,_0x27af0e=_0x137f04['config']['get']('footnotes.multiBlock');_0x58961c['for']('upcast')['add'](_0x4fc305=>{_0x4fc305['on']('element:li',(_0x16cbf4,_0x4f390e,_0x43a138)=>{const _0x5ec3fa=_0x4f390e['viewItem'];if(!_0x5ec3fa['hasClass']('footnote-definition')||!_0x5ec3fa['getAttribute']('id'))return;const _0x52a814=_0x5ec3fa['parent'];if(!_0x52a814['is']('element','ol')||!_0x52a814['hasClass']('footnotes-list'))return;if(!_0x43a138['consumable']['test'](_0x5ec3fa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2e44c9=_0x43a138['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5ec3fa['getAttribute']('id')});if(!_0x43a138['safeInsert'](_0x2e44c9,_0x4f390e['modelCursor']))return;_0x43a138['consumable']['consume'](_0x5ec3fa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x334dcd=Array['from'](_0x5ec3fa['getChildren']())['find'](_0x51a2e4=>_0x51a2e4['is']('element')&&_0x51a2e4['hasClass']('footnote-content'));for(const _0x49247d of _0x5ec3fa['getChildren']())_0x49247d['is']('element')&&(_0x43a138['consumable']['consume'](_0x49247d,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x43a138['consumable']['consume'](_0x49247d,{'name':!0x0,'classes':'footnote-content'}));if(_0x334dcd){if(_0x27af0e)_0x43a138['convertChildren'](_0x334dcd,_0x2e44c9);else{const _0x57244c=_0x43a138['writer']['createElement']('footnoteInlineContent');_0x43a138['writer']['insert'](_0x57244c,_0x2e44c9),_0x43a138['convertChildren'](_0x334dcd,_0x57244c);}}_0x43a138['updateConversionResult'](_0x2e44c9,_0x4f390e);});}),_0x58961c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1d055a,{writer:_0x28a735})=>X(_0x1d055a,_0x28a735,_0x74e92a,{'dataPipeline':!0x0})}),_0x58961c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x39a883,{writer:_0x316a90})=>X(_0x39a883,_0x316a90,_0x74e92a)});}['_defineBogusParagraphConverters'](){const {editor:_0x16123a}=this,{conversion:_0x1483b9}=_0x16123a;_0x16123a['config']['get']('footnotes.multiBlock')?(_0x1483b9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x1483b9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x16123a['model']['document'],'change:data',()=>{!function(_0x663c92,_0x11f33a){const _0x469f1d=_0x663c92['document']['differ'],_0xe1ea88=new Set();for(const _0x39a151 of _0x469f1d['getChanges']()){const _0x37db93='attribute'==_0x39a151['type']?_0x39a151['range']['start']['parent']:_0x39a151['position']['parent'];_0x37db93['is']('element','footnoteDefinition')&&_0xe1ea88['add'](_0x37db93);}for(const _0x46cbb6 of _0xe1ea88['values']()){const _0x1cf18b=Array['from'](_0x46cbb6['getChildren']())['filter'](_0x8fe1ac=>U(_0x8fe1ac,_0x11f33a['mapper']));for(const _0x1e81de of _0x1cf18b)_0x11f33a['reconvertItem'](_0x1e81de);}}(_0x16123a['model'],_0x16123a['editing']);})):(_0x1483b9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x1483b9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4550c9,{writer:_0x50c419})=>{const _0x3a7b5c=_0x50c419['createContainerElement']('span');return _0x50c419['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3a7b5c),_0x3a7b5c;}}));}['_defineKeyboardHandlers'](){const {editor:_0xc8d7b5}=this,{editing:_0x3f30e1,t:t}=_0xc8d7b5,_0x110fe0=_0xc8d7b5['model']['document']['selection'];_0xc8d7b5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xc8d7b5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3f30e1['view']['document'],'enter',(_0x2c1df1,_0x57db17)=>{const _0x1b1d95=function(_0x23cf1d){const _0x291f29=_0x23cf1d['getSelectedElement']();if(_0x291f29?.['is']('element','footnoteRef'))return _0x291f29;return null;}(_0x110fe0);if(_0x1b1d95){const _0x3c830b=_0x1b1d95['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3c830b),_0x57db17['preventDefault'](),_0x2c1df1['stop']();}},{'context':_0x24b1f5});}['_defineClickHandlers'](){const {editor:_0x17efe0}=this,{editing:_0x1bf637}=_0x17efe0;_0x17efe0['editing']['view']['addObserver'](_0x2b774e),_0x17efe0['editing']['view']['addObserver'](_0x4e6ce3);let _0x3a37a0=!0x1;this['listenTo'](_0x1bf637['view']['document'],'pointerdown',(_0x2d45ee,_0x9c0eb1)=>{const {target:_0x1e559b}=_0x9c0eb1,_0x5802b8=_0x1bf637['view']['document']['selection'];_0x3a37a0=!!(_0x1e559b?.['is']('element','a')&&_0x1e559b['parent']?.['is']('element','sup')&&_0x1e559b['parent']['hasClass']('footnote'))&&_0x5802b8['getSelectedElement']()===_0x1e559b['parent'];},{'priority':'high'}),this['listenTo'](_0x1bf637['view']['document'],'click',(_0x4d401d,_0x21ba30)=>{const {target:_0x802c8b}=_0x21ba30;if(!_0x802c8b?.['is']('element','a'))return;if(_0x802c8b['parent']?.['is']('element','sup')&&_0x802c8b['parent']['hasClass']('footnote')&&!_0x3a37a0)return void _0x21ba30['preventDefault']();let _0x3c8b93=_0x802c8b['getAttribute']('href');if(!_0x3c8b93?.['startsWith']('#'))return;_0x3c8b93=_0x3c8b93['slice'](0x1);let _0x1a2079=!0x1;(_0x3c8b93['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3c8b93['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3c8b93))&&(_0x1a2079=!0x0),_0x1a2079&&(_0x21ba30['preventDefault'](),_0x4d401d['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x1b53be}={}){return(_0x23f2e5,{writer:_0x40acb9})=>{if(!M(_0x23f2e5))return null;if(!_0x1b53be)return _0x40acb9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2bcd51=_0x40acb9['createContainerElement']('p');return _0x40acb9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2bcd51),_0x2bcd51;};}function M(_0xc4785){const {parent:_0x4e2d3e}=_0xc4785;if(!_0x4e2d3e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4e2d3e['childCount'])return!0x1;for(const _0x557c8d of _0xc4785['getAttributeKeys']())if(!_0x557c8d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x557c8d)return!0x1;return!0x0;}function U(_0x24720f,_0x288a07){if(!_0x24720f['is']('element','paragraph'))return!0x1;const _0x3f64ac=_0x288a07['toViewElement'](_0x24720f);return!!_0x3f64ac&&M(_0x24720f)!==_0x3f64ac['is']('element','span');}function q(_0xed80ea){return _0x24b1f5(_0xed80ea)&&_0xed80ea['is']('containerElement')&&!!_0xed80ea['getCustomProperty']('footnotesDefinitions');}function H(_0x3e8ed8,_0x4bece0={}){const _0xafe09=_0x3e8ed8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x541e5d=_0x3e8ed8['createContainerElement']('ol',{'class':'footnotes-list'},_0x3e8ed8['createSlot']());return _0x3e8ed8['createContainerElement']('div',{'class':'footnotes',..._0x4bece0},[_0xafe09,_0x541e5d]);}function z(_0x171e1b,_0x316552){const _0xc359f1=_0x171e1b['getAttribute']('footnoteId'),_0x591e7b=_0x171e1b['getAttribute']('footnoteCounter'),_0xc2ba84=_0x316552['createUIElement']('a',{'href':'#'+_0xc359f1},function(_0x189f0f){const _0x3f4156=this['toDomElement'](_0x189f0f);return _0x3f4156['textContent']=_0x591e7b,_0x3f4156;}),_0x437f3d=_0x316552['createContainerElement']('sup',{'id':'ref-'+_0xc359f1,'class':'footnote'},[_0xc2ba84]);return _0x437f3d['getFillerOffset']=()=>null,_0x437f3d;}function X(_0x4cc01c,_0x21f156,_0x3a8e53,{dataPipeline:_0x16260e}={}){const {t:t}=_0x3a8e53,_0x5f26e9=_0x4cc01c['getAttribute']('footnoteId'),_0x5111b6=_0x21f156['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5f26e9},function(_0x22c2f2){const _0x3b00b8=this['toDomElement'](_0x22c2f2);return _0x3b00b8['innerText']='^',_0x3b00b8;}),_0x170b05=_0x16260e?_0x21f156['createContainerElement']('div',{'class':'footnote-content'}):_0x173caa(_0x21f156['createEditableElement']('div',{'class':'footnote-content'}),_0x21f156,{'label':t('Footnote\x20content.')});return _0x21f156['insert'](_0x21f156['createPositionAt'](_0x170b05,0x0),_0x21f156['createSlot']()),_0x21f156['createContainerElement']('li',{'class':'footnote-definition','id':_0x5f26e9},[_0x5111b6,_0x170b05]);}class J extends _0x10a974{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x688237];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xd7013a}=this,{plugins:_0x206d56,model:_0x5a9ee3}=_0xd7013a,_0x52ee28=_0x206d56['get'](_0x688237),_0x243b61=_0x206d56['get'](K);this['listenTo'](_0x52ee28,'outputTransformation',(_0x3382af,_0x3bda1d)=>{const _0x7b10d7=Q(_0x5a9ee3['createRangeIn'](_0x3bda1d['content']));if(!_0x7b10d7['length'])return;const _0x96f130=_0x243b61['getFootnotes'](),_0x29849d=_0x7b10d7['reduce']((_0x313ad3,_0x3c8bb7)=>{const _0x52df67=_0x96f130['find'](_0x1944bb=>_0x1944bb['id']===_0x3c8bb7);if(_0x52df67){const _0x1cd22b=_0xd7013a['data']['toView'](_0x52df67['definition'],{'isClipboardPipeline':!0x0}),_0x19255c=_0xd7013a['data']['htmlProcessor']['toData'](_0x1cd22b);_0x313ad3[_0x52df67['id']]=_0x19255c;}return _0x313ad3;},Object['create'](null));_0x3bda1d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x29849d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x19d9e7}=this,{model:_0x3e7e56,plugins:_0x35947e}=_0x19d9e7,{view:_0x4d9346}=_0x19d9e7['editing'],_0x506845=_0x35947e['get'](_0x688237),_0x2600b8=_0x35947e['get'](K),_0x5d0ade=_0x19d9e7['config']['get']('footnotes.multiBlock');let _0x1a3d9f=null;this['listenTo'](_0x4d9346['document'],'clipboardInput',(_0x2611d8,_0x431de3)=>{const _0x59b0e0=_0x431de3['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1a3d9f=_0x59b0e0?JSON['parse'](_0x59b0e0):null;}),this['listenTo'](_0x506845,'contentInsertion',(_0xed3d43,_0x37c048)=>{const _0x3aae85=_0x37c048['sourceEditorId']===this['editor']['id'];_0x3aae85&&'drop'===_0x37c048['method']||_0x3e7e56['change'](_0x416d55=>{let _0x154e97=_0x2600b8['getFootnotesDefinitionsObjectElement']();const _0x68e9ec=!!_0x154e97&&Array['from'](_0x3e7e56['document']['selection']['getSelectedBlocks']())['includes'](_0x154e97);if(!_0x1a3d9f&&function(_0x5026a5){for(const {item:_0x13a30b}of _0x5026a5)if(_0x13a30b['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3e7e56['createRangeIn'](_0x37c048['content']))&&(_0x1a3d9f=function(_0x237f85,_0x61e6c3){const _0x2614ba=G(_0x237f85,_0x61e6c3);if(!_0x2614ba)return null;const _0x452746=Object['create'](null);for(const _0x480fb5 of _0x2614ba['getChildren']())_0x480fb5['is']('element','footnoteDefinition')&&_0x480fb5['hasAttribute']('footnoteId')&&(_0x452746[_0x480fb5['getAttribute']('footnoteId')]=_0x237f85['cloneElement'](_0x480fb5,!0x0));return Object['keys'](_0x452746)['length']?_0x452746:null;}(_0x416d55,_0x37c048['content'])),(_0x154e97&&!_0x68e9ec||!_0x154e97&&!_0x1a3d9f)&&function(_0x21f7c8,_0x35f8d6){const _0x46be81=[];for(const {item:_0x5b64a9}of _0x21f7c8['createRangeIn'](_0x35f8d6))_0x5b64a9['is']('element','footnotesDefinitions')&&_0x46be81['push'](_0x5b64a9);for(const _0x5f0360 of _0x46be81)_0x21f7c8['remove'](_0x5f0360);}(_0x416d55,_0x37c048['content']),!_0x1a3d9f)return;const {selection:_0x4652c0}=_0x3e7e56['document'],_0x3d06a6=_0x4652c0['getFirstRange']()['root'];_0x154e97&&!_0x68e9ec||(_0x154e97=G(_0x416d55,_0x37c048['content']),_0x154e97||=_0x2600b8['_insertEmptyFootnotesDefinitionsContainer'](_0x416d55,_0x3d06a6));const _0x3139d5=Array['from'](_0x4652c0['getRanges']())['flatMap'](Q),_0x278ad4=function(_0x389d9d,_0x7cfbcf,_0x26baa2){const _0x1d6563=Object['create'](null);for(const {item:_0x194885}of _0x389d9d['createRangeIn'](_0x7cfbcf))if(_0x194885['is']('element','footnoteRef')){const _0x3ab1c5=_0x194885['getAttribute']('footnoteId');if(!_0x26baa2(_0x3ab1c5))continue;_0x1d6563[_0x3ab1c5]||(_0x1d6563[_0x3ab1c5]=_0x4e9b21()),_0x389d9d['setAttribute']('footnoteId',_0x1d6563[_0x3ab1c5],_0x194885);}return _0x1d6563;}(_0x416d55,_0x37c048['content'],_0xafc00a=>{if(!_0x3aae85)return!0x0;return!!_0x2600b8['getFootnote'](_0xafc00a)&&!_0x3139d5['includes'](_0xafc00a);});for(const [_0x1b02a0,_0xbcb8c8]of Object['entries'](_0x1a3d9f)){const _0x2ad246=_0x278ad4[_0x1b02a0]||_0x1b02a0;let _0x24b40a;if('string'!=typeof _0xbcb8c8)_0x24b40a=_0xbcb8c8,_0x2ad246!==_0x1b02a0&&_0x416d55['setAttribute']('footnoteId',_0x2ad246,_0x24b40a);else{_0x24b40a=_0x416d55['createElement']('footnoteDefinition',{'footnoteId':_0x2ad246});const _0x1b5daa=_0x19d9e7['data']['htmlProcessor']['toView'](_0xbcb8c8);let _0xc11e82;if(_0x5d0ade)_0xc11e82=_0x19d9e7['data']['toModel'](_0x1b5daa,_0x24b40a);else{_0xc11e82=_0x416d55['createElement']('footnoteInlineContent');const _0x35a389=_0x19d9e7['data']['toModel'](_0x1b5daa,_0xc11e82);_0x416d55['insert'](_0x35a389,_0xc11e82);}_0x416d55['append'](_0xc11e82,_0x24b40a);}_0x416d55['insert'](_0x24b40a,_0x154e97,'end');}_0x1a3d9f=null;});});}}function G(_0x2a1270,_0x38e72e){for(const {item:_0x223170}of _0x2a1270['createRangeIn'](_0x38e72e))if(_0x223170['is']('element','footnotesDefinitions'))return _0x223170;return null;}function Q(_0x59970c){const _0x14f5ba=new Set();for(const {item:_0x9cac18}of _0x59970c)_0x9cac18['is']('element','footnoteRef')&&_0x14f5ba['add'](_0x9cac18['getAttribute']('footnoteId'));return Array['from'](_0x14f5ba);}class W extends _0x10a974{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x816fcd}=this,{componentFactory:_0x41306a}=_0x816fcd['ui'];_0x41306a['add']('insertFootnote',Y(_0x816fcd,_0x25550d)),_0x41306a['add']('menuBar:insertFootnote',Y(_0x816fcd,_0x12ad2d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5040f9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1491a8;for(const _0x102df5 in _0x5040f9){const _0x2fcbc1=_0x102df5,_0x247600=_0x5040f9[_0x2fcbc1];if('footnotesLicenseKeyValid'==_0x247600||'footnotesLicenseKeyInvalid'==_0x247600||'footnotesLicenseKeyExpired'==_0x247600||'footnotesLicenseKeyDomainLimit'==_0x247600||'footnotesLicenseKeyNotAllowed'==_0x247600||'footnotesLicenseKeyEvaluationLimit'==_0x247600||'footnotesLicenseKeyUsageLimit'==_0x247600){delete _0x5040f9[_0x2fcbc1],_0x1491a8=_0x247600,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1491a8&&_0x5040f9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1491a8&&_0x5040f9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1491a8&&_0x5040f9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1491a8&&_0x5040f9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1491a8&&_0x5040f9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1491a8&&_0x5040f9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x9b4d59,_0x1be9a8){const _0x555ab2=_0x9b4d59['commands']['get']('insertFootnote');return _0x5db4bd=>{const {t:t}=_0x5db4bd,_0x4d1d22=new _0x1be9a8(_0x5db4bd),_0x217455=_0x4d1d22 instanceof _0x12ad2d;return _0x4d1d22['bind']('isEnabled')['to'](_0x555ab2,'isEnabled'),_0x4d1d22['set']({'label':t(_0x217455?'Footnote':'Insert\x20footnote'),'icon':_0x28d1aa,'tooltip':!0x0}),_0x4d1d22['on']('execute',()=>{_0x555ab2['execute'](),_0x9b4d59['editing']['view']['focus']();}),_0x4d1d22;};}class Z extends _0x10a974{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 _0x1446aa{['refresh'](){const {editor:_0xf384e5}=this,_0x103183=_0xf384e5['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x103183,this['value']=_0x103183?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4ada16}){const {editor:_0x12b405}=this,_0x1bf619=_0x12b405['plugins']['get'](K),_0x74dd50=_0x1bf619['getFootnotesDefinitionsObjectElement']();_0x74dd50&&ot['includes'](_0x4ada16)&&_0x12b405['model']['change'](_0x21aec2=>{_0x21aec2['setAttribute']('footnotesListStyle',_0x4ada16,_0x74dd50),_0x1bf619['_updateFootnotesCounters'](_0x21aec2);});}}class it extends _0x1446aa{['refresh'](){const {editor:_0xea35a2}=this,_0x2a03df=_0xea35a2['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a03df,this['value']=_0x2a03df?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x42520a}){const {editor:_0x1d4a91}=this,_0x3cbeda=_0x1d4a91['plugins']['get'](K),_0x37ee34=_0x3cbeda['getFootnotesDefinitionsObjectElement']();_0x37ee34&&Number['isInteger'](_0x42520a)&&_0x1d4a91['model']['change'](_0xdc4c58=>{_0xdc4c58['setAttribute']('footnotesListStart',_0x42520a,_0x37ee34),_0x3cbeda['_updateFootnotesCounters'](_0xdc4c58);});}}function st(_0x310b75,_0x427c01){let _0x4050a6='',_0x17ed72=_0x310b75;for(;_0x17ed72>0x0;){const _0x59b5e4=(_0x17ed72-0x1)%0x1a;_0x4050a6=String['fromCharCode'](0x61+_0x59b5e4)+_0x4050a6,_0x17ed72=Math['floor']((_0x17ed72-0x1)/0x1a);}return _0x427c01?_0x4050a6['toUpperCase']():_0x4050a6;}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(_0x199ca8,_0x2fb179){let _0x5e96a4='',_0x30ea7f=_0x199ca8;for(const {value:_0x485c61,numeral:_0x46ecd6}of rt)for(;_0x30ea7f>=_0x485c61;)_0x5e96a4+=_0x46ecd6,_0x30ea7f-=_0x485c61;return _0x2fb179?_0x5e96a4:_0x5e96a4['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x10a974{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35d357}=this;_0x35d357['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x35d357['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x35d357['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x35d357['commands']['add']('footnotesStyle',new nt(_0x35d357)),_0x35d357['commands']['add']('footnotesStart',new it(_0x35d357)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x173cf9}=this,{schema:_0x35d570}=_0x173cf9['model'];_0x35d570['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x23bba8}=this,{conversion:_0x4fa8f1,model:_0x50e5f8}=_0x23bba8,{schema:_0x707007}=_0x50e5f8;_0x4fa8f1['for']('upcast')['add'](_0x487671=>{_0x487671['on']('element:ol',(_0x49152b,_0x39f88b,_0x1e414f)=>{const _0x162733=_0x39f88b['viewItem'],_0x28b66f=_0x39f88b['modelCursor']?.['parent'];_0x162733['hasClass']('footnotes-list')&&_0x28b66f?.['is']('element','footnotesDefinitions')&&(function(_0x5ed226,_0x5961f3,_0x2dd823,_0x126f60){if(!_0x126f60['checkAttribute'](_0x5961f3,'footnotesListStart'))return;let _0x269ca3=0x1;const _0xeedd86=_0x2dd823['consumable']['consume'](_0x5ed226,{'attributes':'start'});if(_0xeedd86){const _0x2e4e22=Number['parseInt'](_0x5ed226['getAttribute']('start'),0xa);Number['isNaN'](_0x2e4e22)||(_0x269ca3=_0x2e4e22);}!_0xeedd86&&_0x5961f3['hasAttribute']('footnotesListStart')||_0x2dd823['writer']['setAttribute']('footnotesListStart',_0x269ca3,_0x5961f3);}(_0x162733,_0x28b66f,_0x1e414f,_0x707007),function(_0x26f1bf,_0x1e16e6,_0x2ee4df,_0x5c97de){if(!_0x5c97de['checkAttribute'](_0x1e16e6,'footnotesListStyle'))return;let _0x2bd202='decimal',_0x2ad099=!0x1;if(_0x2ee4df['consumable']['consume'](_0x26f1bf,{'attributes':'type'})){const _0x29cee0={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x26f1bf['getAttribute']('type')];_0x29cee0&&(_0x2bd202=_0x29cee0),_0x2ad099=!0x0;}if(_0x2ee4df['consumable']['consume'](_0x26f1bf,{'styles':'list-style-type'})){const _0x2b4192=ct(_0x26f1bf['getStyle']('list-style-type'));_0x2b4192&&(_0x2bd202=_0x2b4192),_0x2ad099=!0x0;}!_0x2ad099&&_0x1e16e6['hasAttribute']('footnotesListStyle')||_0x2ee4df['writer']['setAttribute']('footnotesListStyle',_0x2bd202,_0x1e16e6);}(_0x162733,_0x28b66f,_0x1e414f,_0x707007));});}),_0x4fa8f1['for']('downcast')['add'](_0x61b777=>{_0x61b777['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x44b8c9,_0x12a3c3,_0x5d3bb4)=>{if(!_0x5d3bb4['consumable']['consume'](_0x12a3c3['item'],_0x44b8c9['name']))return;const _0x453513=ut(_0x12a3c3['item'],_0x5d3bb4['mapper']),{attributeNewValue:_0x3f68bc}=_0x12a3c3;null==_0x3f68bc||0x1===_0x3f68bc?_0x5d3bb4['writer']['removeAttribute']('start',_0x453513):_0x5d3bb4['writer']['setAttribute']('start',String(_0x3f68bc),_0x453513);}),_0x61b777['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x19a754,_0x3b7706,_0x421db0)=>{if(!_0x421db0['consumable']['consume'](_0x3b7706['item'],_0x19a754['name']))return;const _0x1d98f1=ut(_0x3b7706['item'],_0x421db0['mapper']),{attributeNewValue:_0x143528}=_0x3b7706;_0x143528&&'decimal'!==_0x143528?_0x421db0['writer']['setStyle']('list-style-type',_0x143528,_0x1d98f1):_0x421db0['writer']['removeStyle']('list-style-type',_0x1d98f1);});});}['_definePostfixer'](){const {editor:_0x3bdde8}=this,{model:_0x410c49}=_0x3bdde8,_0x3badbf=_0x3bdde8['plugins']['get'](K),_0x4ef9d9=this['_getDefaultListStyle'](),_0x558bca=this['_getDefaultStartIndex']();_0x410c49['document']['registerPostFixer'](_0x4b488e=>{const _0x5a9320=_0x410c49['document']['differ']['getChanges']();let _0x433471=!0x1;for(const _0xf08817 of _0x5a9320){if('insert'!==_0xf08817['type']||'$text'===_0xf08817['name'])continue;const _0x5c5393=_0x410c49['createRangeOn'](_0xf08817['position']['nodeAfter']);for(const _0x47b655 of _0x5c5393['getItems']())_0x47b655['is']('element','footnotesDefinitions')&&(!_0x47b655['hasAttribute']('footnotesListStart')&&_0x410c49['schema']['checkAttribute'](_0x47b655,'footnotesListStart')&&(_0x4b488e['setAttribute']('footnotesListStart',_0x558bca,_0x47b655),_0x433471=!0x0),!_0x47b655['hasAttribute']('footnotesListStyle')&&_0x410c49['schema']['checkAttribute'](_0x47b655,'footnotesListStyle')&&(_0x4b488e['setAttribute']('footnotesListStyle',_0x4ef9d9,_0x47b655),_0x433471=!0x0));}return _0x433471&&_0x3badbf['_updateFootnotesCounters'](_0x4b488e),_0x433471;});}['_defineFormatter'](){const {editor:_0x16a682}=this;_0x16a682['plugins']['get'](K)['setFootnoteFormatter'](_0xcd0277=>this['_formatFootnoteListValue'](_0xcd0277));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x563ea8,value:_0x3baea8,digits:_0x577867}){const _0x32f63c=_0x563ea8['getAttribute']('footnotesListStyle'),_0x187de3=_0x563ea8['getAttribute']('footnotesListStart'),_0x9d4bfe=Math['floor'](_0x3baea8)+(_0x187de3??0x1)-0x1;switch(_0x32f63c){case'decimal-leading-zero':return function(_0x54ef25,_0x425fd1){return String(_0x54ef25)['padStart'](_0x425fd1,'0');}(_0x9d4bfe,Math['max'](0x2,_0x577867));case'lower-alpha':case'lower-latin':return st(_0x9d4bfe,!0x1);case'upper-alpha':case'upper-latin':return st(_0x9d4bfe,!0x0);case'lower-roman':return lt(_0x9d4bfe,!0x1);case'upper-roman':return lt(_0x9d4bfe,!0x0);case'arabic-indic':return String(_0x9d4bfe)['replace'](/\d/g,_0xb5d01f=>ft[Number(_0xb5d01f)]);default:return String(_0x9d4bfe);}}}function ct(_0x54303e){if('string'==typeof _0x54303e){const _0x162929=et[_0x54303e];if(_0x162929)return _0x162929;if(ot['includes'](_0x54303e))return _0x54303e;}return null;}function ut(_0x1fbfcb,_0x44556c){const _0x536de2=_0x44556c['toViewElement'](_0x1fbfcb);return Array['from'](_0x536de2['getChildren']())['find'](_0x50a64f=>_0x50a64f['is']('element','ol')&&_0x50a64f['hasClass']('footnotes-list'));}class dt extends _0x41b2c1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2e7671();['keystrokes']=new _0x2080cf();['focusables']=new _0x5f3ce6();['focusCycler'];constructor(_0x5c4047,{styleButtonViews:_0x58ce33,styleGridAriaLabel:_0x4a3659}){super(_0x5c4047),(this['focusCycler']=new _0x108e3b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x58ce33,_0x4a3659),[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 _0x2e239c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2e239c['element']);_0x21f3c4({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x15d1bd['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 _0x19ba76=_0x13153b=>_0x13153b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x19ba76),this['keystrokes']['set']('arrowleft',_0x19ba76),this['keystrokes']['set']('arrowup',_0x19ba76),this['keystrokes']['set']('arrowdown',_0x19ba76);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x244272,_0x45f3f9){const _0x2f9152=new _0x41b2c1(this['locale']);return _0x2f9152['children']=_0x2f9152['createCollection'](),_0x2f9152['children']['addMany'](_0x244272),_0x2f9152['setTemplate']({'tag':'div','attributes':{'aria-label':_0x45f3f9,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2f9152['children']}),_0x2f9152['children']['delegate']('execute')['to'](this),_0x2f9152['focus']=function(){for(const _0x7def8d of this['children'])if(_0x7def8d instanceof _0x25550d&&_0x7def8d['isOn'])return void _0x7def8d['focus']();this['children']['first']['focus']();},_0x2f9152['focusTracker']=new _0x2e7671(),_0x2f9152['keystrokes']=new _0x2080cf(),_0x2f9152['render'](),_0x2f9152['keystrokes']['listenTo'](_0x2f9152['element']),this['children']['add'](_0x2f9152),_0x2f9152;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3f2b2a=this['_createStartIndexPropertyView'](),_0x3aede0=[_0x3f2b2a],_0x40b866=new _0x6f3420(this['locale'],_0x3aede0);return _0x40b866['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x40b866['buttonView']['bind']('isEnabled')['toMany'](_0x3aede0,'isEnabled',(..._0x675b5e)=>_0x675b5e['some'](_0x14e2fc=>_0x14e2fc)),_0x40b866['buttonView']['on']('change:isEnabled',(_0x5af20b,_0x2f3f54,_0x5afca1)=>{_0x5afca1||(_0x40b866['isCollapsed']=!0x0);}),this['children']['add'](_0x40b866),[_0x3f2b2a,_0x40b866];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3f0a87=new _0x331b7f(this['locale'],_0x3d1741);return _0x3f0a87['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3f0a87['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3f0a87['fieldView']['on']('input',()=>{const _0xa4c6b=_0x3f0a87['fieldView']['element'],_0x33c8db=_0xa4c6b['valueAsNumber'];Number['isNaN'](_0x33c8db)?_0x3f0a87['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xa4c6b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x33c8db}):_0x3f0a87['errorText']=t(_0x33c8db<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3f0a87;}}class ht extends _0x10a974{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3f9bf6,_0x5ba845];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x460995}=this,{componentFactory:_0xaa9a34}=_0x460995['ui'];_0x460995['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xaa9a34['add']('footnotesStyle',function(_0x3dc814){return _0x4f8f50=>{const {t:t}=_0x4f8f50,_0xf64ed2=_0x3dc814['commands']['get']('footnotesStyle'),_0x2a76c1=_0x225231(_0x4f8f50),{buttonView:_0x500099}=_0x2a76c1;return _0x2a76c1['class']='ck-footnotes-styles-dropdown',_0x2a76c1['bind']('isEnabled')['to'](_0xf64ed2,'isEnabled'),_0x500099['set']({'label':t('Footnotes\x20style'),'icon':_0x28d1aa,'tooltip':!0x0}),_0x2a76c1['once']('change:isOpen',()=>{const _0x54753c=function({editor:_0x42d392,dropdownView:_0x506dd6}){const {t:t}=_0x42d392['locale'],_0x60062d=t('Footnotes\x20definitions\x20styles'),_0x52412d=function(_0xa143ef){const {t:t}=_0xa143ef['locale'],_0xac8709=_0xa143ef['config']['get']('footnotes.footnotesProperties.listStyles'),_0x30e4ef=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x566504},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x489b35},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x194f73},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3633a9},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x17b3e9},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x2fb709},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xe292db}];return _0xac8709['map'](_0xfea4bd=>{const _0x124756=ct(_0xfea4bd),_0x55e426=_0x30e4ef['find'](_0x2a8e51=>_0x2a8e51['style']===_0x124756);return function(_0x128e83,_0x388262){const {locale:_0x3dfc91}=_0x128e83,{label:_0x1d9b2f,icon:_0x45ad88,tooltip:_0x16dd24,style:_0x500572}=_0x388262,_0x1799dc=_0x128e83['commands']['get']('footnotesStyle'),_0x505a84=new _0x25550d(_0x3dfc91);return _0x505a84['set']({'label':_0x1d9b2f,'icon':_0x45ad88,'tooltip':_0x16dd24}),_0x505a84['bind']('isOn')['to'](_0x1799dc,'value',_0x441d40=>_0x441d40===_0x500572),_0x505a84['bind']('isEnabled')['to'](_0x1799dc,'isEnabled'),_0x505a84['on']('execute',()=>{_0x128e83['execute']('footnotesStyle',{'value':_0x500572}),_0x128e83['editing']['view']['focus']();}),_0x505a84;}(_0xa143ef,_0x55e426);});}(_0x42d392),_0x441215=new dt(_0x42d392['locale'],{'styleGridAriaLabel':_0x60062d,'styleButtonViews':_0x52412d}),_0xd96065=_0x42d392['commands']['get']('footnotesStart');return _0x441215['startIndexFieldView']['bind']('isEnabled')['to'](_0xd96065),_0x441215['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xd96065),_0x441215['on']('footnotesListStart',(_0x5d89c4,_0x22f749)=>{_0x42d392['execute']('footnotesStart',{'value':_0x22f749['startIndex']});}),_0x441215['delegate']('execute')['to'](_0x506dd6),_0x441215;}({'editor':_0x3dc814,'dropdownView':_0x2a76c1});_0x2a76c1['panelView']['children']['add'](_0x54753c);}),_0x2a76c1;};}(_0x460995));}['afterInit'](){const {editor:_0x3fa0de}=this,{t:t}=_0x3fa0de['locale'],_0x2b2362=_0x3fa0de['plugins']['get'](_0x5ba845),{defaultPositions:_0x396dde}=_0x316520;_0x2b2362['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3fa0de['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5effbb=>{let _0x3ea7ef=_0x5effbb['getFirstPosition']()?.['parent'];return _0x3ea7ef?.['is']('$text')&&(_0x3ea7ef=_0x3ea7ef['parent']),_0x3ea7ef?.['is']('element')?_0x3ea7ef['findAncestor'](q):null;},'positions':[_0x396dde['southArrowNorth'],_0x396dde['southArrowNorthMiddleWest'],_0x396dde['southArrowNorthMiddleEast'],_0x396dde['southArrowNorthWest'],_0x396dde['southArrowNorthEast'],_0x396dde['northArrowSouth'],_0x396dde['northArrowSouthMiddleWest'],_0x396dde['northArrowSouthMiddleEast'],_0x396dde['northArrowSouthWest'],_0x396dde['northArrowSouthEast'],_0x396dde['viewportStickyNorth']]});}}class mt extends _0x10a974{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};
@@ -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':_0x20b938=>0x1!=_0x20b938}};
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':_0x56b8c8=>0x1!=_0x56b8c8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5f6fa3=>{const {af:{dictionary:_0x5b3bc5,getPluralForm:_0x4c28bb}}={'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':_0x332822=>0x1!=_0x332822}};_0x5f6fa3['af']||={'dictionary':{},'getPluralForm':null},_0x5f6fa3['af']['dictionary']=Object['assign'](_0x5f6fa3['af']['dictionary'],_0x5b3bc5),_0x5f6fa3['af']['getPluralForm']=_0x4c28bb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x446a41=>{const {af:{dictionary:_0x2b157b,getPluralForm:_0x5dd1d7}}={'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':_0x154d0d=>0x1!=_0x154d0d}};_0x446a41['af']||={'dictionary':{},'getPluralForm':null},_0x446a41['af']['dictionary']=Object['assign'](_0x446a41['af']['dictionary'],_0x2b157b),_0x446a41['af']['getPluralForm']=_0x5dd1d7;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x246413=>0x0==_0x246413?0x0:0x1==_0x246413?0x1:0x2==_0x246413?0x2:_0x246413%0x64>=0x3&&_0x246413%0x64<=0xa?0x3:_0x246413%0x64>=0xb?0x4:0x5}};
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':_0x17965f=>0x0==_0x17965f?0x0:0x1==_0x17965f?0x1:0x2==_0x17965f?0x2:_0x17965f%0x64>=0x3&&_0x17965f%0x64<=0xa?0x3:_0x17965f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e7d19=>{const {ar:{dictionary:_0x31da83,getPluralForm:_0x207547}}={'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':_0x4c600b=>0x0==_0x4c600b?0x0:0x1==_0x4c600b?0x1:0x2==_0x4c600b?0x2:_0x4c600b%0x64>=0x3&&_0x4c600b%0x64<=0xa?0x3:_0x4c600b%0x64>=0xb?0x4:0x5}};_0x4e7d19['ar']||={'dictionary':{},'getPluralForm':null},_0x4e7d19['ar']['dictionary']=Object['assign'](_0x4e7d19['ar']['dictionary'],_0x31da83),_0x4e7d19['ar']['getPluralForm']=_0x207547;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x379b6d=>{const {ar:{dictionary:_0x173039,getPluralForm:_0x225522}}={'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':_0x243cb5=>0x0==_0x243cb5?0x0:0x1==_0x243cb5?0x1:0x2==_0x243cb5?0x2:_0x243cb5%0x64>=0x3&&_0x243cb5%0x64<=0xa?0x3:_0x243cb5%0x64>=0xb?0x4:0x5}};_0x379b6d['ar']||={'dictionary':{},'getPluralForm':null},_0x379b6d['ar']['dictionary']=Object['assign'](_0x379b6d['ar']['dictionary'],_0x173039),_0x379b6d['ar']['getPluralForm']=_0x225522;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x1d478c=>0x1!=_0x1d478c}};
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':_0x9f5cd5=>0x1!=_0x9f5cd5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x39ee29=>{const {ast:{dictionary:_0x3d76fc,getPluralForm:_0x396d8b}}={'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':_0x299826=>0x1!=_0x299826}};_0x39ee29['ast']||={'dictionary':{},'getPluralForm':null},_0x39ee29['ast']['dictionary']=Object['assign'](_0x39ee29['ast']['dictionary'],_0x3d76fc),_0x39ee29['ast']['getPluralForm']=_0x396d8b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38ba7e=>{const {ast:{dictionary:_0x4ae868,getPluralForm:_0x345da9}}={'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':_0x4a2cb2=>0x1!=_0x4a2cb2}};_0x38ba7e['ast']||={'dictionary':{},'getPluralForm':null},_0x38ba7e['ast']['dictionary']=Object['assign'](_0x38ba7e['ast']['dictionary'],_0x4ae868),_0x38ba7e['ast']['getPluralForm']=_0x345da9;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x2a3e84=>0x1!=_0x2a3e84}};
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':_0x25c602=>0x1!=_0x25c602}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe25fc6=>{const {az:{dictionary:_0x3ccaac,getPluralForm:_0x29de9a}}={'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':_0x27053b=>0x1!=_0x27053b}};_0xe25fc6['az']||={'dictionary':{},'getPluralForm':null},_0xe25fc6['az']['dictionary']=Object['assign'](_0xe25fc6['az']['dictionary'],_0x3ccaac),_0xe25fc6['az']['getPluralForm']=_0x29de9a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5744ea=>{const {az:{dictionary:_0x25006a,getPluralForm:_0x2d38a1}}={'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':_0x5eaf3f=>0x1!=_0x5eaf3f}};_0x5744ea['az']||={'dictionary':{},'getPluralForm':null},_0x5744ea['az']['dictionary']=Object['assign'](_0x5744ea['az']['dictionary'],_0x25006a),_0x5744ea['az']['getPluralForm']=_0x2d38a1;})(window['CKEDITOR_TRANSLATIONS']||={});