@ckeditor/ckeditor5-footnotes 48.1.0-alpha.0 → 48.1.0-alpha.1

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 _0x201f01,Command as _0x79aa54}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x30e370,isWidget as _0x50caf3,toWidgetEditable as _0x3112db,WidgetToolbarRepository as _0xd29fe5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xebcec8,logWarning as _0x151fe9,FocusTracker as _0x86b3df,KeystrokeHandler as _0xe2777a,global as _0x5e5f2a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4e8f04,ClickObserver as _0x20d417}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x430a7c}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x440c15,ButtonView as _0x3c07b7,View as _0x11aab1,ViewCollection as _0x192083,FocusCycler as _0x1ce4b,addKeyboardHandlingForGrid as _0x40e539,CollapsibleView as _0x5e7078,LabeledFieldView as _0x15ff17,createLabeledInputNumber as _0x3e63a8,ContextualBalloon as _0x384003,BalloonPanelView as _0x322851,createDropdown as _0x440108}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x260586,IconListStyleDecimal as _0x54fd38,IconListStyleDecimalLeadingZero as _0x4a679e,IconListStyleLowerRoman as _0x58d8f0,IconListStyleUpperRoman as _0xf71eb4,IconListStyleLowerLatin as _0x1f8397,IconListStyleUpperLatin as _0x285d7f,IconListStyleArabicIndic as _0x51f12f}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1533d2,_0x3a77fe){this['_model']=_0x1533d2,this['_elementName']=_0x3a77fe['elementName'],this['_getElementKey']=_0x3a77fe['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2ae009){const _0x26bae1=new Set(),_0x2d4662=new Map();for(const _0x188183 of _0x2ae009){if('insert'===_0x188183['type']&&'$text'!==_0x188183['name']&&_0x188183['position']['nodeAfter']){const _0x3cca25=this['_model']['createRangeOn'](_0x188183['position']['nodeAfter']);for(const _0x359093 of _0x3cca25['getItems']()){if(!_0x359093['is']('element',this['_elementName']))continue;const _0x5af769=this['_getElementKey'](_0x359093);_0x2d4662['has'](_0x5af769)||_0x2d4662['set'](_0x5af769,[]),_0x2d4662['get'](_0x5af769)['push'](_0x359093);}}if('remove'===_0x188183['type']&&_0x188183['name']===this['_elementName']){const _0x18e552=this['_getElementKey']({'getAttribute':_0xd2ee67=>_0x188183['attributes']['get'](_0xd2ee67)});_0x26bae1['add'](_0x18e552);}}for(const [_0x2f32e6,_0x29483a]of this['_trackedElements'])'$graveyard'===_0x29483a['root']['rootName']&&_0x26bae1['add'](_0x2f32e6);for(const _0x2e9723 of _0x26bae1)this['_trackedElements']['delete'](_0x2e9723);for(const [_0x423677,_0x1c1ea3]of _0x2d4662)this['_trackedElements']['set'](_0x423677,_0x1c1ea3[_0x1c1ea3['length']-0x1]);const _0x22c4e5=new Set();for(const [_0xbdfe9d,_0x44b05d]of _0x2d4662)_0x26bae1['has'](_0xbdfe9d)&&(_0x22c4e5['add'](_0x44b05d[0x0]),_0x44b05d['length']>0x1?_0x2d4662['set'](_0xbdfe9d,_0x44b05d['slice'](0x1)):_0x2d4662['delete'](_0xbdfe9d),_0x26bae1['delete'](_0xbdfe9d));return{'removed':Array['from'](_0x26bae1),'inserted':Array['from'](_0x2d4662['values']())['flat'](),'moved':Array['from'](_0x22c4e5)};}}class K extends _0x201f01{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x465716){super(_0x465716),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2a5e7f=>_0x2a5e7f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x17b900=>_0x17b900['getAttribute']('footnoteId')});}['init'](){const {editor:_0x37bd0d}=this,{model:_0x2a30db,data:_0x57961a}=_0x37bd0d;_0x2a30db['document']['registerPostFixer'](_0x5241ab=>{const _0x4817d3=_0x2a30db['document']['differ']['getChanges']();let _0x1188a3=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5241ab,_0x4817d3)&&(_0x1188a3=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5241ab,_0x4817d3)&&(_0x1188a3=!0x0),this['_handleFootnoteReferencesChanges'](_0x5241ab,_0x4817d3)&&(_0x1188a3=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5241ab)&&(_0x1188a3=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5241ab)&&(_0x1188a3=!0x0),this['_sortFootnoteDefinitions'](_0x5241ab)&&(_0x1188a3=!0x0),_0x1188a3;}),this['listenTo'](_0x2a30db['document'],'change:data',()=>{_0x2a30db['enqueueChange']({'isUndoable':!0x1},_0xf4bef9=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xf4bef9);});},{'priority':'low'}),this['listenTo'](_0x57961a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x37c29b){return this['_footnotes']['find'](_0x3a15c9=>_0x3a15c9['id']===_0x37c29b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4068de){this['_footnoteFormatter']=_0x4068de;}['_updateFootnotesCounters'](_0x4800e9,_0x599902=0x0){let _0x7faa5a=!0x1;for(let _0x5b29ef=_0x599902;_0x5b29ef<this['_footnotes']['length'];_0x5b29ef++)this['_updateFootnoteRefCounter'](_0x4800e9,_0x5b29ef)&&(_0x7faa5a=!0x0);return _0x7faa5a;}['_insertEmptyFootnotesDefinitionsContainer'](_0x57e8ae,_0x5e70e7){const _0xd09ff1=_0x57e8ae['createElement']('footnotesDefinitions',{});return _0x57e8ae['append'](_0xd09ff1,_0x5e70e7),this['_footnotesDefinitions']=_0xd09ff1,_0xd09ff1;}['_ensureFootnotesDefinitionsContainerExists'](_0x39f75a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3abe84=this['_footnotes'][0x0]['reference']['root'],_0x4304a5=this['_insertEmptyFootnotesDefinitionsContainer'](_0x39f75a,_0x3abe84);for(const _0x51716e of this['_footnotes'])_0x51716e['definition']['parent']||_0x39f75a['insert'](_0x51716e['definition'],_0x4304a5,'end');this['_updateFootnotesCounters'](_0x39f75a);}['_handleFootnotesDefinitionsObjectChanges'](_0x39cec4,_0x3f6ebc){let _0x2ff62f=!0x1;const {inserted:_0xf85482,removed:_0x1a43a3,moved:_0x1d3f89}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3f6ebc);if(_0x1d3f89['length']&&(this['_footnotesDefinitions']=_0x1d3f89[0x0]),_0xf85482['length']){if(_0xf85482['length']>0x1||this['_footnotesDefinitions']&&_0xf85482['some'](_0x168bd9=>_0x168bd9!==this['_footnotesDefinitions'])){const _0x11c802=_0x39cec4['createElement']('footnotesDefinitions',{}),_0x4ee87a=[];this['_footnotesDefinitions']&&_0x4ee87a['push'](this['_footnotesDefinitions']),_0x4ee87a['push'](..._0xf85482),_0x39cec4['insert'](_0x11c802,_0x4ee87a[0x0],'before');for(const _0x383531 of _0x4ee87a)_0x39cec4['move'](_0x39cec4['createRangeIn'](_0x383531),_0x39cec4['createPositionAt'](_0x11c802,'end')),_0x39cec4['remove'](_0x383531);this['_footnotesDefinitions']=_0x11c802,this['_updateFootnotesCounters'](_0x39cec4),_0x2ff62f=!0x0;}else this['_footnotesDefinitions']=_0xf85482[0x0];}if(_0x1a43a3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x22b78c of this['_footnotes'])_0x39cec4['remove'](_0x22b78c['reference']),_0x2ff62f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2ff62f;}['_handleFootnoteDefinitionsChanges'](_0x2e5280,_0x505e27){let _0x5ecc23=!0x1;const _0x3953c7=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x120ea1,moved:_0x24fd9a}=this['_footnoteDefsTracker']['getChanges'](_0x505e27);for(const _0x1799cd of[..._0x24fd9a,..._0x120ea1]){const _0x57d623=_0x1799cd['getAttribute']('footnoteId'),_0x5ade2d=this['getFootnote'](_0x57d623);_0x5ade2d&&(_0x5ade2d['definition']=_0x1799cd),j(_0x2e5280,_0x3953c7,_0x1799cd)&&(_0x5ecc23=!0x0);}return _0x5ecc23;}['_handleFootnoteReferencesChanges'](_0x1fde98,_0x35ed5e){let _0x747a58=!0x1;const {removed:_0x20fdd5,inserted:_0x5c7314,moved:_0x178742}=this['_footnoteRefsTracker']['getChanges'](_0x35ed5e);for(const _0x117229 of _0x20fdd5)this['_handleRemoveFootnoteReferenceById'](_0x1fde98,_0x117229)&&(_0x747a58=!0x0);for(const _0x35a86a of _0x5c7314)this['_handleInsertedFootnoteReference'](_0x1fde98,_0x35a86a)&&(_0x747a58=!0x0);for(const _0x406ee3 of _0x178742)this['_handleMovedFootnoteReference'](_0x1fde98,_0x406ee3)&&(_0x747a58=!0x0);return _0x747a58;}['_handleFootnotesDefinitionsObjectSync'](_0x1cc54c){if(!this['_footnotesDefinitions'])return!0x1;let _0x2ad323=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5a1477=[];for(const _0x3cf482 of this['_footnotesDefinitions']['getChildren']()){const _0x58972b=_0x3cf482['getAttribute']('footnoteId');this['getFootnote'](_0x58972b)||(_0x5a1477['unshift'](_0x3cf482),_0x2ad323=!0x0);}for(const _0x28058b of _0x5a1477)_0x1cc54c['remove'](_0x28058b);}const _0x135e24=new Set(),_0x21e939=[];for(const _0x5ea138 of this['_footnotesDefinitions']['getChildren']()){const _0x401c7e=_0x5ea138['getAttribute']('footnoteId');_0x135e24['has'](_0x401c7e)?(_0x21e939['unshift'](_0x5ea138),_0x2ad323=!0x0):_0x135e24['add'](_0x401c7e);}for(const _0x24fd72 of _0x21e939)_0x1cc54c['remove'](_0x24fd72);return this['_footnotesDefinitions']['childCount']||(_0x1cc54c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2ad323=!0x0),_0x2ad323;}['_handleInsertedFootnoteReference'](_0x578548,_0x4778ac){if(this['_footnotes']['find'](_0x57f3c9=>_0x57f3c9['reference']===_0x4778ac))return!0x1;let _0x44b007=!0x1;const _0x5c84df=_0x4778ac['getAttribute']('footnoteId'),_0x1b343a=this['_footnotes']['findIndex'](_0x29ef13=>_0x29ef13['id']===_0x5c84df);-0x1!==_0x1b343a&&(_0x578548['remove'](this['_footnotes'][_0x1b343a]['reference']),this['_footnotes']['splice'](_0x1b343a,0x1),_0x44b007=!0x0);let _0x5bed47=this['_footnotesDefinitions']?function(_0x482249,_0x256b8b){for(const _0x47698a of _0x482249['getChildren']())if(_0x47698a['getAttribute']('footnoteId')===_0x256b8b)return _0x47698a;return null;}(this['_footnotesDefinitions'],_0x5c84df):null;_0x5bed47||(_0x5bed47=_0x578548['createElement']('footnoteDefinition',{'footnoteId':_0x5c84df}),this['_footnotesDefinitions']&&(_0x578548['insert'](_0x5bed47,this['_footnotesDefinitions'],'end'),_0x44b007=!0x0));const _0x1f803b={'id':_0x5c84df,'reference':_0x4778ac,'definition':_0x5bed47},_0x296d2d=T(this['editor']['model'],this['_footnotes'],_0x4778ac);this['_footnotes']['splice'](_0x296d2d,0x0,_0x1f803b);let _0x3ca958=_0x296d2d;return-0x1!==_0x1b343a&&(_0x3ca958=Math['min'](_0x296d2d,_0x1b343a)),this['_updateFootnotesCounters'](_0x578548,_0x3ca958)&&(_0x44b007=!0x0),_0x44b007;}['_handleRemoveFootnoteReferenceById'](_0x2a027c,_0x15a26e){const _0x366bd9=this['_footnotes']['findIndex'](_0x5c5b96=>_0x5c5b96['id']===_0x15a26e);if(-0x1===_0x366bd9)return!0x1;let _0x51c2aa=!0x1;const _0x55ce2e=this['_footnotes'][_0x366bd9];return'$graveyard'!==_0x55ce2e['definition']['root']['rootName']&&(_0x2a027c['remove'](_0x55ce2e['definition']),_0x51c2aa=!0x0),this['_footnotes']['splice'](_0x366bd9,0x1),this['_updateFootnotesCounters'](_0x2a027c,_0x366bd9)&&(_0x51c2aa=!0x0),_0x51c2aa;}['_handleMovedFootnoteReference'](_0xc5d3c5,_0x486030){const _0x1051fc=_0x486030['getAttribute']('footnoteId'),_0x206119=this['_footnotes']['findIndex'](_0x22a646=>_0x22a646['id']===_0x1051fc),_0x4a645c=this['_footnotes'][_0x206119];let _0x9711c2=!0x1;_0x4a645c['reference']=_0x486030,this['_footnotes']['splice'](_0x206119,0x1);const _0x15f00b=T(this['editor']['model'],this['_footnotes'],_0x486030);return this['_footnotes']['splice'](_0x15f00b,0x0,_0x4a645c),this['_updateFootnotesCounters'](_0xc5d3c5,Math['min'](_0x206119,_0x15f00b))&&(_0x9711c2=!0x0),_0x9711c2;}['_updateFootnoteRefCounter'](_0x137394,_0x4744c9){if(!this['_footnotesDefinitions'])return!0x1;const _0x12889c=this['_footnotes'][_0x4744c9];let _0x55d49d;return _0x55d49d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x12889c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4744c9+0x1}):String(_0x4744c9+0x1),_0x12889c['reference']['getAttribute']('footnoteCounter')!=_0x55d49d&&(_0x137394['setAttribute']('footnoteCounter',_0x55d49d,_0x12889c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f0dd5){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4e632a,_0x556734){if(_0x4e632a['length']!==_0x556734['length'])return!0x1;for(let _0x5e9e92=0x0;_0x5e9e92<_0x4e632a['length'];_0x5e9e92++)if(_0x4e632a[_0x5e9e92]!==_0x556734[_0x5e9e92])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2ee0db=>_0x2ee0db['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1dade2=>_0x1dade2['getAttribute']('footnoteId'))))return!0x1;let _0x1f869d=!0x1;for(let _0x3847b5=0x0;_0x3847b5<this['_footnotes']['length'];_0x3847b5++){const _0x21190c=this['_footnotes'][_0x3847b5],_0x1e174e=_0x2f0dd5['createPositionBefore'](_0x21190c['definition']),_0x23ab41=_0x2f0dd5['createPositionAt'](this['_footnotesDefinitions'],_0x3847b5);_0x1e174e['isEqual'](_0x23ab41)||(_0x2f0dd5['move'](_0x2f0dd5['createRangeOn'](_0x21190c['definition']),_0x23ab41),_0x1f869d=!0x0);}return _0x1f869d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4ab54f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x9d8450}=this['editor'];let _0x45137f=!0x1;for(let _0x2d18a1=0x0;_0x2d18a1<this['_footnotes']['length']-0x1;_0x2d18a1++){const _0x2bb7bf=this['_footnotes'][_0x2d18a1],_0x161e13=this['_footnotes'][_0x2d18a1+0x1],_0x3f1da2=_0x9d8450['createPositionBefore'](_0x2bb7bf['reference']),_0x42b72c=_0x9d8450['createPositionBefore'](_0x161e13['reference']);'after'===_0x3f1da2['compareWith'](_0x42b72c)&&(this['_handleMovedFootnoteReference'](_0x4ab54f,_0x2bb7bf['reference']),_0x2d18a1=-0x1,_0x45137f=!0x0);}return _0x45137f;}}function j(_0x2c4751,_0x271cd7,_0x546163){if(_0x546163['childCount'])return!0x1;const _0x43c133=_0x271cd7?'paragraph':'footnoteInlineContent';return _0x2c4751['insert'](_0x2c4751['createElement'](_0x43c133),_0x546163),!0x0;}function T(_0x32a9e7,_0x4d464b,_0x5633c4){if(0x0===_0x4d464b['length'])return 0x0;const _0x434e28=_0x32a9e7['createPositionBefore'](_0x5633c4);for(let _0x49d6bc=0x0;_0x49d6bc<_0x4d464b['length'];_0x49d6bc++){const _0x307898=_0x4d464b[_0x49d6bc],_0x529ae3=_0x32a9e7['createPositionBefore'](_0x307898['reference']);if('before'===_0x434e28['compareWith'](_0x529ae3))return _0x49d6bc;}const _0x5b7d07=_0x5633c4['root'];let _0x17b29b=-0x1;for(let _0x307f59=_0x4d464b['length']-0x1;_0x307f59>=0x0;_0x307f59--)if(_0x4d464b[_0x307f59]['reference']['root']===_0x5b7d07){_0x17b29b=_0x307f59;break;}if(-0x1!==_0x17b29b)return _0x17b29b+0x1;const _0xd05919=_0x32a9e7['document']['getRootNames'](),_0x4d0cfb=_0xd05919['indexOf'](_0x5b7d07['rootName']),_0x25e07b=_0xd05919[_0x4d0cfb+0x1];if(_0x25e07b){for(let _0x120660=0x0;_0x120660<_0x4d464b['length'];_0x120660++)if(_0x4d464b[_0x120660]['reference']['root']['rootName']===_0x25e07b)return _0x120660;}return _0x4d464b['length'];}class V extends _0x79aa54{['refresh'](){const _0x20b255=this['editor']['model']['document']['selection'],_0x2a693a=this['_getPositionToInsertFootnote'](_0x20b255);this['isEnabled']=!!_0x2a693a;}['execute'](_0x549daf){const {editor:_0x2e198a}=this,{model:_0x58e4e1}=_0x2e198a,{selection:_0xce7021}=_0x58e4e1['document'],_0x4ecd51=this['_getPositionToInsertFootnote'](_0xce7021);if(!_0x4ecd51)return;const _0x5e5a5f=_0x2e198a['plugins']['get']('FootnotesEditing'),_0x3ca5f2=_0x549daf?.['footnoteId']??_0xebcec8();!function(_0x4f86f1){return'string'==typeof _0x4f86f1&&_0x4f86f1['length']>0x0&&!/\s/['test'](_0x4f86f1)&&!/^\d/['test'](_0x4f86f1);}(_0x3ca5f2)?_0x151fe9('insert-footnote-command-executed-with-invalid-id'):(_0x58e4e1['change'](_0x234b10=>{const _0x4ff863=_0x234b10['createElement']('footnoteRef',{'footnoteId':_0x3ca5f2});_0x58e4e1['insertObject'](_0x4ff863,_0x4ecd51,null);}),_0x5e5a5f['_moveSelectionToFootnoteDefinition'](_0x3ca5f2));}['_getPositionToInsertFootnote'](_0x1b7d22){const {model:_0x2068ea}=this['editor'],{schema:_0x32f9c4}=_0x2068ea,_0x3bb516=_0x1b7d22['getFirstRange']();for(const _0x49f2c0 of _0x3bb516['getItems']())if(_0x32f9c4['isBlock'](_0x49f2c0)||_0x32f9c4['isObject'](_0x49f2c0))return null;const _0x26cc5e=_0x3bb516['end'];return _0x32f9c4['checkChild'](_0x26cc5e,'footnoteRef')?_0x26cc5e:null;}}class $ extends _0x201f01{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1de204}=this;_0x1de204['config']['define']('footnotes.multiBlock',!0x0),_0x1de204['commands']['add']('insertFootnote',new V(_0x1de204)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4c0d2b){const _0x116db2=_0x23439e([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]),_0x5b6382=0x47a28506,_0x28446b=0x47a50c4e^_0x5b6382,_0x5d8e05=window[_0x23439e([0x44,0x61,0x74,0x65])][_0x23439e([0x6e,0x6f,0x77])](),_0x111df7=_0x4c0d2b[_0x23439e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5ca88b=new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16c84a=>{_0x111df7[_0x23439e([0x6f,0x6e,0x63,0x65])](_0x23439e([0x72,0x65,0x61,0x64,0x79]),_0x16c84a);}),_0x5ece0c={[_0x23439e([0x6b,0x74,0x79])]:_0x23439e([0x45,0x43]),[_0x23439e([0x75,0x73,0x65])]:_0x23439e([0x73,0x69,0x67]),[_0x23439e([0x63,0x72,0x76])]:_0x23439e([0x50,0x2d,0x32,0x35,0x36]),[_0x23439e([0x78])]:_0x23439e([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]),[_0x23439e([0x79])]:_0x23439e([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]),[_0x23439e([0x61,0x6c,0x67])]:_0x23439e([0x45,0x53,0x32,0x35,0x36])},_0x2ed218=_0x111df7[_0x23439e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x23439e([0x67,0x65,0x74])](_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a612b(){let _0x374b60,_0xdf7d9=null,_0x51ca4e=null;try{if(_0x2ed218==_0x23439e([0x47,0x50,0x4c]))return _0x23439e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x374b60=_0x31ce33(),!_0x374b60)return _0x23439e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x374b60[_0x23439e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51ca4e=_0x2f8012(_0x374b60[_0x23439e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x374b60[_0x23439e([0x6a,0x74,0x69])])),await _0x2e208a()?_0x262dda()?_0x4b8310()?_0x23439e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x182933()?(_0x374b60[_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x23439e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xdf7d9=_0x59e470(_0x23439e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e3df3()):_0x23439e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x23439e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x23439e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x23439e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b8310(){const _0x52c09e=[_0x23439e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x23439e([0x74,0x72,0x69,0x61,0x6c])][_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x374b60[_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d8e05/0x3e8:0xe10*_0x28446b;return _0x374b60[_0x23439e([0x65,0x78,0x70])]<_0x52c09e;}function _0x262dda(){const _0x42b606=_0x374b60[_0x23439e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42b606&&(!!_0x42b606[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23439e([0x2a]))||!!_0x42b606[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23439e([0x46,0x4f,0x4f])));}function _0x182933(){const _0x3297a1=_0x374b60[_0x23439e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3297a1||0x0==_0x3297a1[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b4564}=new URL(window[_0x23439e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3297a1[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4564))return!0x0;const _0x1c062f=_0x3b4564[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e]));return _0x3297a1[_0x23439e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8a6b8f=>_0x8a6b8f[_0x23439e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23439e([0x2a])))[_0x23439e([0x6d,0x61,0x70])](_0x39780d=>_0x39780d[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e])))[_0x23439e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28f26b=>_0x28f26b[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c062f[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23439e([0x6d,0x61,0x70])](_0x3266a2=>Array(_0x1c062f[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3266a2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x23439e([0x66,0x69,0x6c,0x6c])](_0x3266a2[0x0]===_0x23439e([0x2a])?_0x23439e([0x2a]):'')[_0x23439e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3266a2))[_0x23439e([0x73,0x6f,0x6d,0x65])](_0x58b035=>_0x1c062f[_0x23439e([0x65,0x76,0x65,0x72,0x79])]((_0xc64e5c,_0x2a6a1b)=>_0x58b035[_0x2a6a1b]===_0xc64e5c||_0x58b035[_0x2a6a1b]===_0x23439e([0x2a])));}function _0x1e3df3(){return _0xdf7d9&&_0x51ca4e?new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d5fd4,_0x4616d4)=>{_0xdf7d9[_0x23439e([0x74,0x68,0x65,0x6e])](_0x3d5fd4,_0x4616d4),_0x51ca4e[_0x23439e([0x74,0x68,0x65,0x6e])](_0x3a1896=>{_0x3a1896!=_0x23439e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d5fd4(_0x3a1896);},_0x4616d4);}):_0xdf7d9||_0x51ca4e||_0x23439e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f8012(_0x4b74f0,_0x2da3d6){return new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b3e2e=>{if(_0x3c21d2())return _0x2b3e2e(_0x23439e([0x56,0x61,0x6c,0x69,0x64]));_0x399431(),_0x111df7[_0x23439e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x23439e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xdb09f5=!0x1;const _0x24ceb8=_0xebcec8();function _0x483866(_0xd07d4b){return!!_0xd07d4b&&(typeof _0xd07d4b===_0x23439e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd07d4b===_0x23439e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd07d4b[_0x23439e([0x74,0x68,0x65,0x6e])]===_0x23439e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd07d4b[_0x23439e([0x63,0x61,0x74,0x63,0x68])]===_0x23439e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cfcbd(_0x5f28d3){_0xc4264(_0x5f28d3)[_0x23439e([0x74,0x68,0x65,0x6e])](_0x97cfa3=>{if(!_0x97cfa3||_0x97cfa3[_0x23439e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x23439e([0x6f,0x6b]))return _0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8acdd5(_0x4e3071(_0x24ceb8+_0x2da3d6))!=_0x97cfa3[_0x23439e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x23439e([0x56,0x61,0x6c,0x69,0x64]);})[_0x23439e([0x74,0x68,0x65,0x6e])](_0x299044=>(_0x5f4d54(),_0x299044),()=>{const _0xa8992c=_0x513c0d();return null==_0xa8992c?(_0x5f4d54(),_0x23439e([0x56,0x61,0x6c,0x69,0x64])):_0x23439e(_0x5d8e05-_0xa8992c>(0x63ae0106^_0x5b6382)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x23439e([0x74,0x68,0x65,0x6e])](_0x2b3e2e)[_0x23439e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b3e2e(_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c0297=0x47946b86^_0x5b6382;function _0x5f4d54(){const _0x40a0b4=_0x23439e([0x6c,0x6c,0x63,0x74,0x2d])+_0x8acdd5(_0x4e3071(_0x4b74f0)),_0x5b2cf1=_0x30fec6(_0x8acdd5(window[_0x23439e([0x4d,0x61,0x74,0x68])][_0x23439e([0x63,0x65,0x69,0x6c])](_0x5d8e05/_0x5c0297)));window[_0x23439e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23439e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40a0b4,_0x5b2cf1);}function _0x513c0d(){const _0x508e44=_0x23439e([0x6c,0x6c,0x63,0x74,0x2d])+_0x8acdd5(_0x4e3071(_0x4b74f0)),_0x453e6f=window[_0x23439e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x23439e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x508e44);return _0x453e6f?window[_0x23439e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30fec6(_0x453e6f),0x10)*_0x5c0297:null;}function _0xc4264(_0x30265e){return new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28f86b,_0x3cc617)=>{_0x30265e[_0x23439e([0x74,0x68,0x65,0x6e])](_0x28f86b,_0x3cc617),window[_0x23439e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cc617,0x47a351c6^_0x5b6382);});}}_0x111df7[_0x23439e([0x6f,0x6e])](_0x23439e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47a97f,_0x5bfe6a)=>{if(_0x5bfe6a[0x0]!=_0x4b74f0)return _0x2b3e2e(_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bfe6a[0x1]={..._0x5bfe6a[0x1],[_0x23439e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24ceb8};},{[_0x23439e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23439e([0x68,0x69,0x67,0x68])}),_0x111df7[_0x23439e([0x6f,0x6e])](_0x23439e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x580445=>{_0x483866(_0x580445[_0x23439e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xdb09f5=!0x0,_0x5cfcbd(_0x580445[_0x23439e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x23439e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x23439e([0x6c,0x6f,0x77])}),_0x5ca88b[_0x23439e([0x74,0x68,0x65,0x6e])](()=>{_0xdb09f5||_0x2b3e2e(_0x23439e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c21d2(){return _0x111df7[_0x23439e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23439e([0x76,0x69,0x65,0x77])][_0x23439e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x23439e([0x61,0x75,0x74,0x6f]);}function _0x399431(){_0x111df7[_0x23439e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23439e([0x76,0x69,0x65,0x77])][_0x23439e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23439e([0x61,0x75,0x74,0x6f]);}}function _0x59e470(_0x4f5f5f){const _0x221877=[new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecd386=>setTimeout(_0xecd386,0x47abbbca^_0x5b6382)),_0x5ca88b[_0x23439e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x224bee=>{let _0x4c235c=0x0;_0x111df7[_0x23439e([0x6d,0x6f,0x64,0x65,0x6c])][_0x23439e([0x6f,0x6e])](_0x23439e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x260670,_0x48c1b1)=>{_0x48c1b1[0x0][_0x23439e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c235c++,_0x4c235c==(0x47a280ee^_0x5b6382)&&(_0x224bee(),_0x260670[_0x23439e([0x6f,0x66,0x66])]());});}))];return window[_0x23439e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23439e([0x72,0x61,0x63,0x65])](_0x221877)[_0x23439e([0x74,0x68,0x65,0x6e])](()=>_0x4f5f5f);}async function _0x16a554(){await _0x5ca88b,_0x111df7[_0x23439e([0x6d,0x6f,0x64,0x65,0x6c])][_0x23439e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4683bd,_0x111df7[_0x23439e([0x6d,0x6f,0x64,0x65,0x6c])][_0x23439e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4683bd,_0x111df7[_0x23439e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23439e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x357770(_0x43f1e9){const _0x2df80e=_0xf08fee();_0x111df7[_0x2df80e]=_0x23439e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43f1e9,_0x43f1e9!=_0x23439e([0x56,0x61,0x6c,0x69,0x64])&&_0x16a554();}function _0xf08fee(){const _0x400cd2=window[_0x23439e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x23439e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23439e([0x6e,0x6f,0x77])]())[_0x23439e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23439e([0x2e]),'');let _0x1cc673=_0x23439e([0x75]);for(let _0x5759d4=0x0;_0x5759d4<_0x400cd2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5759d4+=0x2){let _0x7a2d0f=window[_0x23439e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x400cd2[_0x23439e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5759d4,_0x5759d4+0x2));_0x7a2d0f>=_0x116db2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7a2d0f-=_0x116db2[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cc673+=_0x116db2[_0x7a2d0f];}return _0x1cc673;}function _0x31ce33(){const _0x11a568=_0x2ed218[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e]));if(0x3!=_0x11a568[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x559ff4(_0x11a568[0x1]);function _0x559ff4(_0x38520f){const _0x306d84=_0x483b35(_0x38520f);return _0x306d84&&_0x5490b1()?_0x306d84:null;function _0x5490b1(){const _0x8e7cbd=_0x306d84[_0x23439e([0x6a,0x74,0x69])],_0x572113=window[_0x23439e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8e7cbd[_0x23439e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8e7cbd[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ddac0={..._0x306d84,[_0x23439e([0x6a,0x74,0x69])]:_0x8e7cbd[_0x23439e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8e7cbd[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ddac0[_0x23439e([0x76,0x63])],_0x4e3071(_0x5ddac0)==_0x572113;}}}async function _0x2e208a(){let _0x4214d5=!0x0;try{const _0x2cef63=_0x2ed218[_0x23439e([0x73,0x70,0x6c,0x69,0x74])](_0x23439e([0x2e])),[_0x2a5de1,_0x221f5b,_0x1d8223]=_0x2cef63;return _0x4bdda4(_0x2a5de1),await _0x1000d3(_0x2a5de1,_0x221f5b,_0x1d8223),_0x4214d5;}catch{return!0x1;}function _0x4bdda4(_0x13241a){const _0x493eb1=_0x483b35(_0x13241a);_0x493eb1&&_0x493eb1[_0x23439e([0x61,0x6c,0x67])]==_0x23439e([0x45,0x53,0x32,0x35,0x36])||(_0x4214d5=!0x1);}async function _0x1000d3(_0x3327a1,_0x189120,_0x17efac){const _0x3b21d3=window[_0x23439e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x23439e([0x66,0x72,0x6f,0x6d])](_0x6ae814(_0x17efac),_0xb5a91e=>_0xb5a91e[_0x23439e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36f64e=new window[(_0x23439e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x23439e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3327a1+_0x23439e([0x2e])+_0x189120),_0x392a03=window[_0x23439e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x23439e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x392a03)return;const _0x41e8bc=await _0x392a03[_0x23439e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x23439e([0x6a,0x77,0x6b]),_0x5ece0c,{[_0x23439e([0x6e,0x61,0x6d,0x65])]:_0x23439e([0x45,0x43,0x44,0x53,0x41]),[_0x23439e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x23439e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x23439e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x392a03[_0x23439e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x23439e([0x6e,0x61,0x6d,0x65])]:_0x23439e([0x45,0x43,0x44,0x53,0x41]),[_0x23439e([0x68,0x61,0x73,0x68])]:{[_0x23439e([0x6e,0x61,0x6d,0x65])]:_0x23439e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41e8bc,_0x3b21d3,_0x36f64e)||(_0x4214d5=!0x1);}}function _0x483b35(_0x4f49a4){return _0x4f49a4[_0x23439e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x23439e([0x65,0x79]))?JSON[_0x23439e([0x70,0x61,0x72,0x73,0x65])](_0x6ae814(_0x4f49a4)):null;}function _0x6ae814(_0x18204b){return window[_0x23439e([0x61,0x74,0x6f,0x62])](_0x18204b[_0x23439e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x23439e([0x2b]))[_0x23439e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x23439e([0x2f])));}function _0x4e3071(_0x1292ce){let _0x2a15b2=0x1505;function _0x47e7a7(_0x5e5ac7){for(let _0x1695e7=0x0;_0x1695e7<_0x5e5ac7[_0x23439e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1695e7++){const _0x395db7=_0x5e5ac7[_0x23439e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1695e7);_0x2a15b2=(_0x2a15b2<<0x5)+_0x2a15b2+_0x395db7,_0x2a15b2&=_0x2a15b2;}}function _0x4ebb5f(_0x208a9f){Array[_0x23439e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x208a9f)?_0x208a9f[_0x23439e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ebb5f):_0x208a9f&&typeof _0x208a9f==_0x23439e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x23439e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x208a9f)[_0x23439e([0x73,0x6f,0x72,0x74])]()[_0x23439e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32f637,_0x36d3ad])=>{_0x47e7a7(_0x32f637),_0x4ebb5f(_0x36d3ad);}):_0x47e7a7(window[_0x23439e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x208a9f));}return _0x4ebb5f(_0x1292ce),_0x2a15b2>>>0x0;}function _0x8acdd5(_0x1d9b04){return _0x1d9b04[_0x23439e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x23439e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x23439e([0x30]));}function _0x30fec6(_0x5a8293){return _0x5a8293[_0x23439e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x23439e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x23439e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4683bd(){}function _0x23439e(_0x249a11){return _0x249a11['map'](_0x36c256=>String['fromCharCode'](_0x36c256))['join']('');}_0x357770(await _0x3a612b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x59c83c){const {plugins:_0x800478,editing:_0x1a5476,model:_0xddeb8a}=this['editor'],_0x3974db=_0x800478['get'](K)['getFootnote'](_0x59c83c);return!!_0x3974db&&(_0xddeb8a['change'](_0x1d6e2c=>{_0x1d6e2c['setSelection'](_0x1d6e2c['createPositionAt'](_0x3974db['definition'],'end'));}),_0x1a5476['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x22b04b){const {plugins:_0x2f6def,editing:_0x3bed88,model:_0x3d15ce}=this['editor'],_0x3360e4=_0x2f6def['get'](K)['getFootnote'](_0x22b04b);return!!_0x3360e4&&(_0x3d15ce['change'](_0x5be896=>{_0x5be896['setSelection'](_0x3360e4['reference'],'on');}),_0x3bed88['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4b3332}=this['editor']['model'],_0x450aef=this['editor']['config']['get']('footnotes.multiBlock');_0x4b3332['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4b3332['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4b3332['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x450aef?_0x4b3332['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4b3332['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4b3332['addChildCheck'](_0x54f2e7=>{for(const _0x1d438b of _0x54f2e7)if('footnoteDefinition'===_0x1d438b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3ef7f5}=this,{conversion:_0xa1f84f,editing:_0x5ea99b}=_0x3ef7f5,{t:t}=_0x3ef7f5['locale'];_0xa1f84f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x336829,{writer:_0x1bf71f,consumable:_0x148005})=>{const _0x492ee3=_0x336829['getChild'](0x0);if(!_0x492ee3||!_0x492ee3['is']('element','a'))return null;const _0x28ac2a=_0x492ee3['getAttribute']('href')||'';if(!_0x28ac2a['startsWith']('#'))return null;const _0x356b44=_0x28ac2a['replace'](/^#/,'');if(!_0x356b44)return null;_0x148005['consume'](_0x492ee3,{'name':!0x0,'attributes':['href']});for(const {item:_0x449135}of _0x5ea99b['view']['createRangeIn'](_0x492ee3))_0x449135['is']('$textProxy')?_0x148005['consume'](_0x449135['textNode'],{'name':!0x0}):_0x449135['is']('element')&&_0x148005['consume'](_0x449135,{'name':!0x0});return _0x1bf71f['createElement']('footnoteRef',{'footnoteId':_0x356b44});}}),_0xa1f84f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2f2ec2,{writer:_0x1630f5})=>z(_0x2f2ec2,_0x1630f5)}),_0xa1f84f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x19844f,{writer:_0x35dca8})=>{const _0xe5c7e4=_0x19844f['getAttribute']('footnoteCounter');return _0x30e370(z(_0x19844f,_0x35dca8),_0x35dca8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xe5c7e4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x414b1a}=this,{t:t}=_0x414b1a['locale'],{conversion:_0x3ae8ab}=_0x414b1a;_0x3ae8ab['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3ae8ab['for']('upcast')['add'](_0x45b5b5=>{_0x45b5b5['on']('element:ol',(_0x5d4bbb,_0x5824e4,_0x4e9a7f)=>{const _0x34ad8=_0x5824e4['viewItem'];if(!_0x34ad8['hasClass']('footnotes-list')||!_0x5824e4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4e9a7f['consumable']['consume'](_0x34ad8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x8dc2a,modelCursor:_0x5a484d}=_0x4e9a7f['convertChildren'](_0x5824e4['viewItem'],_0x5824e4['modelCursor']);_0x5824e4['modelRange']=_0x8dc2a,_0x5824e4['modelCursor']=_0x5a484d;}),_0x45b5b5['on']('element:hr',(_0xc86785,_0x6bb68c,_0x2058bb)=>{const _0x1d0c17=_0x6bb68c['viewItem'];_0x1d0c17['hasClass']('footnotes-divider')&&_0x6bb68c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2058bb['consumable']['consume'](_0x1d0c17,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3ae8ab['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xb9147f,{writer:_0x393453})=>H(_0x393453)}),_0x3ae8ab['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xaa70fa,{writer:_0x33b0ce})=>{const _0x108d7e=H(_0x33b0ce,{'data-footnotes-list-label':t('Footnotes')}),_0x50965f=_0x30e370(_0x108d7e,_0x33b0ce,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x33b0ce['setCustomProperty']('footnotesDefinitions',!0x0,_0x50965f),_0x50965f;}});}['_defineDefinitionConverters'](){const {editor:_0x483d5f}=this,{conversion:_0x58ddf4,locale:_0x1b3095}=_0x483d5f,_0x4ab863=_0x483d5f['config']['get']('footnotes.multiBlock');_0x58ddf4['for']('upcast')['add'](_0x26e665=>{_0x26e665['on']('element:li',(_0x29ec19,_0x1f2f0b,_0x208317)=>{const _0x433b3a=_0x1f2f0b['viewItem'];if(!_0x433b3a['hasClass']('footnote-definition')||!_0x433b3a['getAttribute']('id'))return;const _0x5267b7=_0x433b3a['parent'];if(!_0x5267b7['is']('element','ol')||!_0x5267b7['hasClass']('footnotes-list'))return;if(!_0x208317['consumable']['test'](_0x433b3a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x367689=_0x208317['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x433b3a['getAttribute']('id')});if(!_0x208317['safeInsert'](_0x367689,_0x1f2f0b['modelCursor']))return;_0x208317['consumable']['consume'](_0x433b3a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x595e0e=Array['from'](_0x433b3a['getChildren']())['find'](_0xdcea9e=>_0xdcea9e['is']('element')&&_0xdcea9e['hasClass']('footnote-content'));for(const _0x28c474 of _0x433b3a['getChildren']())_0x28c474['is']('element')&&(_0x208317['consumable']['consume'](_0x28c474,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x208317['consumable']['consume'](_0x28c474,{'name':!0x0,'classes':'footnote-content'}));if(_0x595e0e){if(_0x4ab863)_0x208317['convertChildren'](_0x595e0e,_0x367689);else{const _0x1b0088=_0x208317['writer']['createElement']('footnoteInlineContent');_0x208317['writer']['insert'](_0x1b0088,_0x367689),_0x208317['convertChildren'](_0x595e0e,_0x1b0088);}}_0x208317['updateConversionResult'](_0x367689,_0x1f2f0b);});}),_0x58ddf4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5beb75,{writer:_0x41f780})=>X(_0x5beb75,_0x41f780,_0x1b3095,{'dataPipeline':!0x0})}),_0x58ddf4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26af05,{writer:_0x58d6de})=>X(_0x26af05,_0x58d6de,_0x1b3095)});}['_defineBogusParagraphConverters'](){const {editor:_0x20e4f8}=this,{conversion:_0x354ac7}=_0x20e4f8;_0x20e4f8['config']['get']('footnotes.multiBlock')?(_0x354ac7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x354ac7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x20e4f8['model']['document'],'change:data',()=>{!function(_0x3ecfd1,_0x4df4d8){const _0x594edd=_0x3ecfd1['document']['differ'],_0x2f4cd3=new Set();for(const _0x573e3d of _0x594edd['getChanges']()){const _0x1eef28='attribute'==_0x573e3d['type']?_0x573e3d['range']['start']['parent']:_0x573e3d['position']['parent'];_0x1eef28['is']('element','footnoteDefinition')&&_0x2f4cd3['add'](_0x1eef28);}for(const _0x544a8a of _0x2f4cd3['values']()){const _0x258b3d=Array['from'](_0x544a8a['getChildren']())['filter'](_0xa03b61=>U(_0xa03b61,_0x4df4d8['mapper']));for(const _0x4238b2 of _0x258b3d)_0x4df4d8['reconvertItem'](_0x4238b2);}}(_0x20e4f8['model'],_0x20e4f8['editing']);})):(_0x354ac7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x354ac7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5f039e,{writer:_0x54cff7})=>{const _0x336738=_0x54cff7['createContainerElement']('span');return _0x54cff7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x336738),_0x336738;}}));}['_defineKeyboardHandlers'](){const {editor:_0x960771}=this,{editing:_0x4dbaf5,t:t}=_0x960771,_0xb77102=_0x960771['model']['document']['selection'];_0x960771['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x960771['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4dbaf5['view']['document'],'enter',(_0x21d9ef,_0x6122)=>{const _0x3b964e=function(_0x2250b7){const _0x5f3b25=_0x2250b7['getSelectedElement']();if(_0x5f3b25?.['is']('element','footnoteRef'))return _0x5f3b25;return null;}(_0xb77102);if(_0x3b964e){const _0x4590c8=_0x3b964e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4590c8),_0x6122['preventDefault'](),_0x21d9ef['stop']();}},{'context':_0x50caf3});}['_defineClickHandlers'](){const {editor:_0x4f8f81}=this,{editing:_0x370bab}=_0x4f8f81;_0x4f8f81['editing']['view']['addObserver'](_0x4e8f04),_0x4f8f81['editing']['view']['addObserver'](_0x20d417);let _0x455bfc=!0x1;this['listenTo'](_0x370bab['view']['document'],'pointerdown',(_0x3f245c,_0x5b2fe5)=>{const {target:_0x99b401}=_0x5b2fe5,_0x3e49bb=_0x370bab['view']['document']['selection'];_0x455bfc=!!(_0x99b401?.['is']('element','a')&&_0x99b401['parent']?.['is']('element','sup')&&_0x99b401['parent']['hasClass']('footnote'))&&_0x3e49bb['getSelectedElement']()===_0x99b401['parent'];},{'priority':'high'}),this['listenTo'](_0x370bab['view']['document'],'click',(_0x5a0939,_0x59b27c)=>{const {target:_0x59f56f}=_0x59b27c;if(!_0x59f56f?.['is']('element','a'))return;if(_0x59f56f['parent']?.['is']('element','sup')&&_0x59f56f['parent']['hasClass']('footnote')&&!_0x455bfc)return void _0x59b27c['preventDefault']();let _0x919d5c=_0x59f56f['getAttribute']('href');if(!_0x919d5c?.['startsWith']('#'))return;_0x919d5c=_0x919d5c['slice'](0x1);let _0x5a1ccd=!0x1;(_0x919d5c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x919d5c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x919d5c))&&(_0x5a1ccd=!0x0),_0x5a1ccd&&(_0x59b27c['preventDefault'](),_0x5a0939['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x52e3d7}={}){return(_0x1cc3e5,{writer:_0x430b7f})=>{if(!M(_0x1cc3e5))return null;if(!_0x52e3d7)return _0x430b7f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xb782cd=_0x430b7f['createContainerElement']('p');return _0x430b7f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xb782cd),_0xb782cd;};}function M(_0x26b52d){const {parent:_0x44e00e}=_0x26b52d;if(!_0x44e00e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x44e00e['childCount'])return!0x1;for(const _0x5134ea of _0x26b52d['getAttributeKeys']())if(!_0x5134ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5134ea)return!0x1;return!0x0;}function U(_0x5d03ca,_0x5afd89){if(!_0x5d03ca['is']('element','paragraph'))return!0x1;const _0x218fae=_0x5afd89['toViewElement'](_0x5d03ca);return!!_0x218fae&&M(_0x5d03ca)!==_0x218fae['is']('element','span');}function q(_0x3d5f2f){return _0x50caf3(_0x3d5f2f)&&_0x3d5f2f['is']('containerElement')&&!!_0x3d5f2f['getCustomProperty']('footnotesDefinitions');}function H(_0x24222a,_0x3b8452={}){const _0x360c5e=_0x24222a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3f10d8=_0x24222a['createContainerElement']('ol',{'class':'footnotes-list'},_0x24222a['createSlot']());return _0x24222a['createContainerElement']('div',{'class':'footnotes',..._0x3b8452},[_0x360c5e,_0x3f10d8]);}function z(_0x1c74ae,_0x1d71b5){const _0x5a831c=_0x1c74ae['getAttribute']('footnoteId'),_0x5cad8f=_0x1c74ae['getAttribute']('footnoteCounter'),_0x1f68d4=_0x1d71b5['createUIElement']('a',{'href':'#'+_0x5a831c},function(_0xc510b9){const _0x5a722e=this['toDomElement'](_0xc510b9);return _0x5a722e['textContent']=_0x5cad8f,_0x5a722e;}),_0x2bbefd=_0x1d71b5['createContainerElement']('sup',{'id':'ref-'+_0x5a831c,'class':'footnote'},[_0x1f68d4]);return _0x2bbefd['getFillerOffset']=()=>null,_0x2bbefd;}function X(_0x22455c,_0x3a5973,_0x53bf2e,{dataPipeline:_0x295dd9}={}){const {t:t}=_0x53bf2e,_0x4a0c48=_0x22455c['getAttribute']('footnoteId'),_0x1c536a=_0x3a5973['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a0c48},function(_0x466243){const _0x2a4b9a=this['toDomElement'](_0x466243);return _0x2a4b9a['innerText']='^',_0x2a4b9a;}),_0x5aa589=_0x295dd9?_0x3a5973['createContainerElement']('div',{'class':'footnote-content'}):_0x3112db(_0x3a5973['createEditableElement']('div',{'class':'footnote-content'}),_0x3a5973,{'label':t('Footnote\x20content.')});return _0x3a5973['insert'](_0x3a5973['createPositionAt'](_0x5aa589,0x0),_0x3a5973['createSlot']()),_0x3a5973['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a0c48},[_0x1c536a,_0x5aa589]);}class J extends _0x201f01{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x430a7c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x598e4c}=this,{plugins:_0x777544,model:_0x4e539f}=_0x598e4c,_0x5cfe79=_0x777544['get'](_0x430a7c),_0x7e9758=_0x777544['get'](K);this['listenTo'](_0x5cfe79,'outputTransformation',(_0x4b96ed,_0x2f61a6)=>{const _0x29d618=Q(_0x4e539f['createRangeIn'](_0x2f61a6['content']));if(!_0x29d618['length'])return;const _0x184f2c=_0x7e9758['getFootnotes'](),_0x44d5d3=_0x29d618['reduce']((_0x3dce6b,_0x1a9869)=>{const _0x18a8bc=_0x184f2c['find'](_0x31d6d6=>_0x31d6d6['id']===_0x1a9869);if(_0x18a8bc){const _0x5f63d=_0x598e4c['data']['toView'](_0x18a8bc['definition'],{'isClipboardPipeline':!0x0}),_0x5aa980=_0x598e4c['data']['htmlProcessor']['toData'](_0x5f63d);_0x3dce6b[_0x18a8bc['id']]=_0x5aa980;}return _0x3dce6b;},Object['create'](null));_0x2f61a6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x44d5d3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x276d29}=this,{model:_0x7fbffb,plugins:_0x41ebed}=_0x276d29,{view:_0x38074c}=_0x276d29['editing'],_0x35e562=_0x41ebed['get'](_0x430a7c),_0x39200d=_0x41ebed['get'](K),_0xf86810=_0x276d29['config']['get']('footnotes.multiBlock');let _0xd7ce99=null;this['listenTo'](_0x38074c['document'],'clipboardInput',(_0x52aede,_0x2e3ea5)=>{const _0x36745e=_0x2e3ea5['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xd7ce99=_0x36745e?JSON['parse'](_0x36745e):null;}),this['listenTo'](_0x35e562,'contentInsertion',(_0x5950bd,_0x531d29)=>{const _0x209420=_0x531d29['sourceEditorId']===this['editor']['id'];_0x209420&&'drop'===_0x531d29['method']||_0x7fbffb['change'](_0x447d15=>{let _0x5b1605=_0x39200d['getFootnotesDefinitionsObjectElement']();const _0x49646b=!!_0x5b1605&&Array['from'](_0x7fbffb['document']['selection']['getSelectedBlocks']())['includes'](_0x5b1605);if(!_0xd7ce99&&function(_0x58f6f3){for(const {item:_0x39841d}of _0x58f6f3)if(_0x39841d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x7fbffb['createRangeIn'](_0x531d29['content']))&&(_0xd7ce99=function(_0x4f9f62,_0x5409fc){const _0x59c024=G(_0x4f9f62,_0x5409fc);if(!_0x59c024)return null;const _0x577924=Object['create'](null);for(const _0xb28351 of _0x59c024['getChildren']())_0xb28351['is']('element','footnoteDefinition')&&_0xb28351['hasAttribute']('footnoteId')&&(_0x577924[_0xb28351['getAttribute']('footnoteId')]=_0x4f9f62['cloneElement'](_0xb28351,!0x0));return Object['keys'](_0x577924)['length']?_0x577924:null;}(_0x447d15,_0x531d29['content'])),(_0x5b1605&&!_0x49646b||!_0x5b1605&&!_0xd7ce99)&&function(_0x20ec74,_0x36b79a){const _0x3a0b36=[];for(const {item:_0x5c229c}of _0x20ec74['createRangeIn'](_0x36b79a))_0x5c229c['is']('element','footnotesDefinitions')&&_0x3a0b36['push'](_0x5c229c);for(const _0x5e035f of _0x3a0b36)_0x20ec74['remove'](_0x5e035f);}(_0x447d15,_0x531d29['content']),!_0xd7ce99)return;const {selection:_0x1b6809}=_0x7fbffb['document'],_0x471b36=_0x1b6809['getFirstRange']()['root'];_0x5b1605&&!_0x49646b||(_0x5b1605=G(_0x447d15,_0x531d29['content']),_0x5b1605||=_0x39200d['_insertEmptyFootnotesDefinitionsContainer'](_0x447d15,_0x471b36));const _0x142e07=Array['from'](_0x1b6809['getRanges']())['flatMap'](Q),_0x1881f3=function(_0x2f0af0,_0x100955,_0x14e542){const _0x206984=Object['create'](null);for(const {item:_0x4e227f}of _0x2f0af0['createRangeIn'](_0x100955))if(_0x4e227f['is']('element','footnoteRef')){const _0x38d09f=_0x4e227f['getAttribute']('footnoteId');if(!_0x14e542(_0x38d09f))continue;_0x206984[_0x38d09f]||(_0x206984[_0x38d09f]=_0xebcec8()),_0x2f0af0['setAttribute']('footnoteId',_0x206984[_0x38d09f],_0x4e227f);}return _0x206984;}(_0x447d15,_0x531d29['content'],_0x2ac524=>{if(!_0x209420)return!0x0;return!!_0x39200d['getFootnote'](_0x2ac524)&&!_0x142e07['includes'](_0x2ac524);});for(const [_0x1be5dc,_0x309842]of Object['entries'](_0xd7ce99)){const _0xe350bc=_0x1881f3[_0x1be5dc]||_0x1be5dc;let _0x24fdc8;if('string'!=typeof _0x309842)_0x24fdc8=_0x309842,_0xe350bc!==_0x1be5dc&&_0x447d15['setAttribute']('footnoteId',_0xe350bc,_0x24fdc8);else{_0x24fdc8=_0x447d15['createElement']('footnoteDefinition',{'footnoteId':_0xe350bc});const _0x29118e=_0x276d29['data']['htmlProcessor']['toView'](_0x309842);let _0x165307;if(_0xf86810)_0x165307=_0x276d29['data']['toModel'](_0x29118e,_0x24fdc8);else{_0x165307=_0x447d15['createElement']('footnoteInlineContent');const _0x26ee3a=_0x276d29['data']['toModel'](_0x29118e,_0x165307);_0x447d15['insert'](_0x26ee3a,_0x165307);}_0x447d15['append'](_0x165307,_0x24fdc8);}_0x447d15['insert'](_0x24fdc8,_0x5b1605,'end');}_0xd7ce99=null;});});}}function G(_0x25e96e,_0x396bbd){for(const {item:_0x42c138}of _0x25e96e['createRangeIn'](_0x396bbd))if(_0x42c138['is']('element','footnotesDefinitions'))return _0x42c138;return null;}function Q(_0x4c4e7d){const _0x1ef833=new Set();for(const {item:_0x30bc2e}of _0x4c4e7d)_0x30bc2e['is']('element','footnoteRef')&&_0x1ef833['add'](_0x30bc2e['getAttribute']('footnoteId'));return Array['from'](_0x1ef833);}class W extends _0x201f01{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21832b}=this,{componentFactory:_0x269c08}=_0x21832b['ui'];_0x269c08['add']('insertFootnote',Y(_0x21832b,_0x3c07b7)),_0x269c08['add']('menuBar:insertFootnote',Y(_0x21832b,_0x440c15)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x41bd4d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x567a74;for(const _0x479127 in _0x41bd4d){const _0x4b333c=_0x479127,_0x1c0883=_0x41bd4d[_0x4b333c];if('footnotesLicenseKeyValid'==_0x1c0883||'footnotesLicenseKeyInvalid'==_0x1c0883||'footnotesLicenseKeyExpired'==_0x1c0883||'footnotesLicenseKeyDomainLimit'==_0x1c0883||'footnotesLicenseKeyNotAllowed'==_0x1c0883||'footnotesLicenseKeyEvaluationLimit'==_0x1c0883||'footnotesLicenseKeyUsageLimit'==_0x1c0883){delete _0x41bd4d[_0x4b333c],_0x567a74=_0x1c0883,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x567a74&&_0x41bd4d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x567a74&&_0x41bd4d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x567a74&&_0x41bd4d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x567a74&&_0x41bd4d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x567a74&&_0x41bd4d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x567a74&&_0x41bd4d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x46dec1,_0x1ce3e4){const _0x470788=_0x46dec1['commands']['get']('insertFootnote');return _0x56912a=>{const {t:t}=_0x56912a,_0x3f293d=new _0x1ce3e4(_0x56912a),_0xc3d711=_0x3f293d instanceof _0x440c15;return _0x3f293d['bind']('isEnabled')['to'](_0x470788,'isEnabled'),_0x3f293d['set']({'label':t(_0xc3d711?'Footnote':'Insert\x20footnote'),'icon':_0x260586,'tooltip':!0x0}),_0x3f293d['on']('execute',()=>{_0x470788['execute'](),_0x46dec1['editing']['view']['focus']();}),_0x3f293d;};}class Z extends _0x201f01{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 _0x79aa54{['refresh'](){const {editor:_0x599ecb}=this,_0x4a5b7e=_0x599ecb['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4a5b7e,this['value']=_0x4a5b7e?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x79011a}){const {editor:_0x2e1686}=this,_0x3c96ee=_0x2e1686['plugins']['get'](K),_0x546aaa=_0x3c96ee['getFootnotesDefinitionsObjectElement']();_0x546aaa&&ot['includes'](_0x79011a)&&_0x2e1686['model']['change'](_0x493bea=>{_0x493bea['setAttribute']('footnotesListStyle',_0x79011a,_0x546aaa),_0x3c96ee['_updateFootnotesCounters'](_0x493bea);});}}class it extends _0x79aa54{['refresh'](){const {editor:_0x1f817c}=this,_0x6b000b=_0x1f817c['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x6b000b,this['value']=_0x6b000b?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x481703}){const {editor:_0x593ea8}=this,_0x4b0bb8=_0x593ea8['plugins']['get'](K),_0x6b21b5=_0x4b0bb8['getFootnotesDefinitionsObjectElement']();_0x6b21b5&&Number['isInteger'](_0x481703)&&_0x593ea8['model']['change'](_0x53a7e3=>{_0x53a7e3['setAttribute']('footnotesListStart',_0x481703,_0x6b21b5),_0x4b0bb8['_updateFootnotesCounters'](_0x53a7e3);});}}function st(_0x151e6f,_0x63d220){let _0x5802e5='',_0x3c5750=_0x151e6f;for(;_0x3c5750>0x0;){const _0x11993d=(_0x3c5750-0x1)%0x1a;_0x5802e5=String['fromCharCode'](0x61+_0x11993d)+_0x5802e5,_0x3c5750=Math['floor']((_0x3c5750-0x1)/0x1a);}return _0x63d220?_0x5802e5['toUpperCase']():_0x5802e5;}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(_0x2e559c,_0x287bd3){let _0x192934='',_0x3f30cf=_0x2e559c;for(const {value:_0x5c0ce8,numeral:_0x4dc28a}of rt)for(;_0x3f30cf>=_0x5c0ce8;)_0x192934+=_0x4dc28a,_0x3f30cf-=_0x5c0ce8;return _0x287bd3?_0x192934:_0x192934['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x201f01{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ed5e8}=this;_0x5ed5e8['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5ed5e8['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5ed5e8['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x5ed5e8['commands']['add']('footnotesStyle',new nt(_0x5ed5e8)),_0x5ed5e8['commands']['add']('footnotesStart',new it(_0x5ed5e8)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x56b62e}=this,{schema:_0x3ab4db}=_0x56b62e['model'];_0x3ab4db['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x360af4}=this,{conversion:_0x1593a1,model:_0x355bf6}=_0x360af4,{schema:_0x3164c6}=_0x355bf6;_0x1593a1['for']('upcast')['add'](_0x4fd9c7=>{_0x4fd9c7['on']('element:ol',(_0x5edfa6,_0x31e079,_0x3cd4a3)=>{const _0x4e60cb=_0x31e079['viewItem'],_0x4ee571=_0x31e079['modelCursor']?.['parent'];_0x4e60cb['hasClass']('footnotes-list')&&_0x4ee571?.['is']('element','footnotesDefinitions')&&(function(_0x571872,_0x1e8437,_0x493f4f,_0x439514){if(!_0x439514['checkAttribute'](_0x1e8437,'footnotesListStart'))return;let _0x2e90a7=0x1;const _0x16f4ae=_0x493f4f['consumable']['consume'](_0x571872,{'attributes':'start'});if(_0x16f4ae){const _0x4e6896=Number['parseInt'](_0x571872['getAttribute']('start'),0xa);Number['isNaN'](_0x4e6896)||(_0x2e90a7=_0x4e6896);}!_0x16f4ae&&_0x1e8437['hasAttribute']('footnotesListStart')||_0x493f4f['writer']['setAttribute']('footnotesListStart',_0x2e90a7,_0x1e8437);}(_0x4e60cb,_0x4ee571,_0x3cd4a3,_0x3164c6),function(_0x39c42c,_0x5a3a1f,_0x56a5a1,_0x326752){if(!_0x326752['checkAttribute'](_0x5a3a1f,'footnotesListStyle'))return;let _0x279488='decimal',_0x26ae09=!0x1;if(_0x56a5a1['consumable']['consume'](_0x39c42c,{'attributes':'type'})){const _0x4fe6af={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x39c42c['getAttribute']('type')];_0x4fe6af&&(_0x279488=_0x4fe6af),_0x26ae09=!0x0;}if(_0x56a5a1['consumable']['consume'](_0x39c42c,{'styles':'list-style-type'})){const _0x4669eb=ct(_0x39c42c['getStyle']('list-style-type'));_0x4669eb&&(_0x279488=_0x4669eb),_0x26ae09=!0x0;}!_0x26ae09&&_0x5a3a1f['hasAttribute']('footnotesListStyle')||_0x56a5a1['writer']['setAttribute']('footnotesListStyle',_0x279488,_0x5a3a1f);}(_0x4e60cb,_0x4ee571,_0x3cd4a3,_0x3164c6));});}),_0x1593a1['for']('downcast')['add'](_0x2de700=>{_0x2de700['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4227b5,_0x1e71a8,_0x4a1b31)=>{if(!_0x4a1b31['consumable']['consume'](_0x1e71a8['item'],_0x4227b5['name']))return;const _0x25b9cc=ut(_0x1e71a8['item'],_0x4a1b31['mapper']),{attributeNewValue:_0x203335}=_0x1e71a8;null==_0x203335||0x1===_0x203335?_0x4a1b31['writer']['removeAttribute']('start',_0x25b9cc):_0x4a1b31['writer']['setAttribute']('start',String(_0x203335),_0x25b9cc);}),_0x2de700['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x46b623,_0x50f90d,_0x56818d)=>{if(!_0x56818d['consumable']['consume'](_0x50f90d['item'],_0x46b623['name']))return;const _0x1a0e59=ut(_0x50f90d['item'],_0x56818d['mapper']),{attributeNewValue:_0x92c0b}=_0x50f90d;_0x92c0b&&'decimal'!==_0x92c0b?_0x56818d['writer']['setStyle']('list-style-type',_0x92c0b,_0x1a0e59):_0x56818d['writer']['removeStyle']('list-style-type',_0x1a0e59);});});}['_definePostfixer'](){const {editor:_0x34b97a}=this,{model:_0x68718a}=_0x34b97a,_0x42068a=_0x34b97a['plugins']['get'](K),_0x370bcc=this['_getDefaultListStyle'](),_0x25ad21=this['_getDefaultStartIndex']();_0x68718a['document']['registerPostFixer'](_0x49d6c1=>{const _0xee08db=_0x68718a['document']['differ']['getChanges']();let _0xeb8181=!0x1;for(const _0x29363e of _0xee08db){if('insert'!==_0x29363e['type']||'$text'===_0x29363e['name'])continue;const _0x2c377a=_0x68718a['createRangeOn'](_0x29363e['position']['nodeAfter']);for(const _0x28c445 of _0x2c377a['getItems']())_0x28c445['is']('element','footnotesDefinitions')&&(!_0x28c445['hasAttribute']('footnotesListStart')&&_0x68718a['schema']['checkAttribute'](_0x28c445,'footnotesListStart')&&(_0x49d6c1['setAttribute']('footnotesListStart',_0x25ad21,_0x28c445),_0xeb8181=!0x0),!_0x28c445['hasAttribute']('footnotesListStyle')&&_0x68718a['schema']['checkAttribute'](_0x28c445,'footnotesListStyle')&&(_0x49d6c1['setAttribute']('footnotesListStyle',_0x370bcc,_0x28c445),_0xeb8181=!0x0));}return _0xeb8181&&_0x42068a['_updateFootnotesCounters'](_0x49d6c1),_0xeb8181;});}['_defineFormatter'](){const {editor:_0x1efc56}=this;_0x1efc56['plugins']['get'](K)['setFootnoteFormatter'](_0x34615b=>this['_formatFootnoteListValue'](_0x34615b));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xe67331,value:_0x482c06,digits:_0x3abe04}){const _0x1526f0=_0xe67331['getAttribute']('footnotesListStyle'),_0x54685a=_0xe67331['getAttribute']('footnotesListStart'),_0x1f88e4=Math['floor'](_0x482c06)+(_0x54685a??0x1)-0x1;switch(_0x1526f0){case'decimal-leading-zero':return function(_0x4643f4,_0x4c8769){return String(_0x4643f4)['padStart'](_0x4c8769,'0');}(_0x1f88e4,Math['max'](0x2,_0x3abe04));case'lower-alpha':case'lower-latin':return st(_0x1f88e4,!0x1);case'upper-alpha':case'upper-latin':return st(_0x1f88e4,!0x0);case'lower-roman':return lt(_0x1f88e4,!0x1);case'upper-roman':return lt(_0x1f88e4,!0x0);case'arabic-indic':return String(_0x1f88e4)['replace'](/\d/g,_0x4afb56=>ft[Number(_0x4afb56)]);default:return String(_0x1f88e4);}}}function ct(_0x14094d){if('string'==typeof _0x14094d){const _0x319c42=et[_0x14094d];if(_0x319c42)return _0x319c42;if(ot['includes'](_0x14094d))return _0x14094d;}return null;}function ut(_0x3745a2,_0x5aa8d1){const _0x5564b3=_0x5aa8d1['toViewElement'](_0x3745a2);return Array['from'](_0x5564b3['getChildren']())['find'](_0x251af1=>_0x251af1['is']('element','ol')&&_0x251af1['hasClass']('footnotes-list'));}class dt extends _0x11aab1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x86b3df();['keystrokes']=new _0xe2777a();['focusables']=new _0x192083();['focusCycler'];constructor(_0x424d01,{styleButtonViews:_0x59cfa4,styleGridAriaLabel:_0x5b6a29}){super(_0x424d01),(this['focusCycler']=new _0x1ce4b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x59cfa4,_0x5b6a29),[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 _0x52195c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x52195c['element']);_0x40e539({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x5e5f2a['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 _0x4f29f6=_0x427809=>_0x427809['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4f29f6),this['keystrokes']['set']('arrowleft',_0x4f29f6),this['keystrokes']['set']('arrowup',_0x4f29f6),this['keystrokes']['set']('arrowdown',_0x4f29f6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1f875e,_0x2e888e){const _0xdc9a7=new _0x11aab1(this['locale']);return _0xdc9a7['children']=_0xdc9a7['createCollection'](),_0xdc9a7['children']['addMany'](_0x1f875e),_0xdc9a7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2e888e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xdc9a7['children']}),_0xdc9a7['children']['delegate']('execute')['to'](this),_0xdc9a7['focus']=function(){for(const _0x429025 of this['children'])if(_0x429025 instanceof _0x3c07b7&&_0x429025['isOn'])return void _0x429025['focus']();this['children']['first']['focus']();},_0xdc9a7['focusTracker']=new _0x86b3df(),_0xdc9a7['keystrokes']=new _0xe2777a(),_0xdc9a7['render'](),_0xdc9a7['keystrokes']['listenTo'](_0xdc9a7['element']),this['children']['add'](_0xdc9a7),_0xdc9a7;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x15656a=this['_createStartIndexPropertyView'](),_0x4240a1=[_0x15656a],_0x1d7b0b=new _0x5e7078(this['locale'],_0x4240a1);return _0x1d7b0b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1d7b0b['buttonView']['bind']('isEnabled')['toMany'](_0x4240a1,'isEnabled',(..._0x4b383b)=>_0x4b383b['some'](_0x4dfd45=>_0x4dfd45)),_0x1d7b0b['buttonView']['on']('change:isEnabled',(_0x363d7a,_0xe4303f,_0x1827ea)=>{_0x1827ea||(_0x1d7b0b['isCollapsed']=!0x0);}),this['children']['add'](_0x1d7b0b),[_0x15656a,_0x1d7b0b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1e3548=new _0x15ff17(this['locale'],_0x3e63a8);return _0x1e3548['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1e3548['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1e3548['fieldView']['on']('input',()=>{const _0x720a8b=_0x1e3548['fieldView']['element'],_0x1e513a=_0x720a8b['valueAsNumber'];Number['isNaN'](_0x1e513a)?_0x1e3548['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x720a8b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1e513a}):_0x1e3548['errorText']=t(_0x1e513a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1e3548;}}class ht extends _0x201f01{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x384003,_0xd29fe5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x360631}=this,{componentFactory:_0x6e765}=_0x360631['ui'];_0x360631['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x6e765['add']('footnotesStyle',function(_0x1848e1){return _0x7b5923=>{const {t:t}=_0x7b5923,_0x218dd3=_0x1848e1['commands']['get']('footnotesStyle'),_0x2c02a8=_0x440108(_0x7b5923),{buttonView:_0x24fdeb}=_0x2c02a8;return _0x2c02a8['class']='ck-footnotes-styles-dropdown',_0x2c02a8['bind']('isEnabled')['to'](_0x218dd3,'isEnabled'),_0x24fdeb['set']({'label':t('Footnotes\x20style'),'icon':_0x260586,'tooltip':!0x0}),_0x2c02a8['once']('change:isOpen',()=>{const _0x206eb8=function({editor:_0x18e5f3,dropdownView:_0x486743}){const {t:t}=_0x18e5f3['locale'],_0x1d2282=t('Footnotes\x20definitions\x20styles'),_0x350731=function(_0x27561a){const {t:t}=_0x27561a['locale'],_0x37693e=_0x27561a['config']['get']('footnotes.footnotesProperties.listStyles'),_0x20e7f8=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x54fd38},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x4a679e},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x58d8f0},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0xf71eb4},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1f8397},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x285d7f},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x51f12f}];return _0x37693e['map'](_0x532e78=>{const _0x44ecb5=ct(_0x532e78),_0x3d88b0=_0x20e7f8['find'](_0x153225=>_0x153225['style']===_0x44ecb5);return function(_0x1604c5,_0x3b6f44){const {locale:_0x301b9b}=_0x1604c5,{label:_0x4144e5,icon:_0x16f1da,tooltip:_0x4d5d78,style:_0x4e127e}=_0x3b6f44,_0x392640=_0x1604c5['commands']['get']('footnotesStyle'),_0x359f1c=new _0x3c07b7(_0x301b9b);return _0x359f1c['set']({'label':_0x4144e5,'icon':_0x16f1da,'tooltip':_0x4d5d78}),_0x359f1c['bind']('isOn')['to'](_0x392640,'value',_0x390cd5=>_0x390cd5===_0x4e127e),_0x359f1c['bind']('isEnabled')['to'](_0x392640,'isEnabled'),_0x359f1c['on']('execute',()=>{_0x1604c5['execute']('footnotesStyle',{'value':_0x4e127e}),_0x1604c5['editing']['view']['focus']();}),_0x359f1c;}(_0x27561a,_0x3d88b0);});}(_0x18e5f3),_0x28ba8e=new dt(_0x18e5f3['locale'],{'styleGridAriaLabel':_0x1d2282,'styleButtonViews':_0x350731}),_0x182958=_0x18e5f3['commands']['get']('footnotesStart');return _0x28ba8e['startIndexFieldView']['bind']('isEnabled')['to'](_0x182958),_0x28ba8e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x182958),_0x28ba8e['on']('footnotesListStart',(_0x1c3bfd,_0x41832e)=>{_0x18e5f3['execute']('footnotesStart',{'value':_0x41832e['startIndex']});}),_0x28ba8e['delegate']('execute')['to'](_0x486743),_0x28ba8e;}({'editor':_0x1848e1,'dropdownView':_0x2c02a8});_0x2c02a8['panelView']['children']['add'](_0x206eb8);}),_0x2c02a8;};}(_0x360631));}['afterInit'](){const {editor:_0x4e73ed}=this,{t:t}=_0x4e73ed['locale'],_0x40aafd=_0x4e73ed['plugins']['get'](_0xd29fe5),{defaultPositions:_0x357e5d}=_0x322851;_0x40aafd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4e73ed['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x22964=>{let _0x511ef3=_0x22964['getFirstPosition']()?.['parent'];return _0x511ef3?.['is']('$text')&&(_0x511ef3=_0x511ef3['parent']),_0x511ef3?.['is']('element')?_0x511ef3['findAncestor'](q):null;},'positions':[_0x357e5d['southArrowNorth'],_0x357e5d['southArrowNorthMiddleWest'],_0x357e5d['southArrowNorthMiddleEast'],_0x357e5d['southArrowNorthWest'],_0x357e5d['southArrowNorthEast'],_0x357e5d['northArrowSouth'],_0x357e5d['northArrowSouthMiddleWest'],_0x357e5d['northArrowSouthMiddleEast'],_0x357e5d['northArrowSouthWest'],_0x357e5d['northArrowSouthEast'],_0x357e5d['viewportStickyNorth']]});}}class mt extends _0x201f01{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 _0x1bfd87,Command as _0x26c05f}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x22edd4,isWidget as _0x4dda3f,toWidgetEditable as _0x27d6fe,WidgetToolbarRepository as _0x3ad7a6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x4f7642,logWarning as _0x3b975d,FocusTracker as _0x2b380a,KeystrokeHandler as _0x13bd72,global as _0x19fb45}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x78af0f,ClickObserver as _0x5e186a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3d0ebf}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x34c2da,ButtonView as _0x2f133e,View as _0x5832dc,ViewCollection as _0x4c34cb,FocusCycler as _0xeb9140,addKeyboardHandlingForGrid as _0x4940bb,CollapsibleView as _0x409416,LabeledFieldView as _0x5b4340,createLabeledInputNumber as _0x375767,ContextualBalloon as _0x106e9e,BalloonPanelView as _0xe651a0,createDropdown as _0x3efd63}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x153218,IconListStyleDecimal as _0x45adc9,IconListStyleDecimalLeadingZero as _0x4626c1,IconListStyleLowerRoman as _0xcc25fe,IconListStyleUpperRoman as _0x22bb33,IconListStyleLowerLatin as _0x47e2e4,IconListStyleUpperLatin as _0x6a513f,IconListStyleArabicIndic as _0x266b44}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3c22ec,_0xfbc526){this['_model']=_0x3c22ec,this['_elementName']=_0xfbc526['elementName'],this['_getElementKey']=_0xfbc526['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3744f1){const _0x2dbd34=new Set(),_0x277c02=new Map();for(const _0xfff9e5 of _0x3744f1){if('insert'===_0xfff9e5['type']&&'$text'!==_0xfff9e5['name']&&_0xfff9e5['position']['nodeAfter']){const _0xfe998e=this['_model']['createRangeOn'](_0xfff9e5['position']['nodeAfter']);for(const _0x57b6ed of _0xfe998e['getItems']()){if(!_0x57b6ed['is']('element',this['_elementName']))continue;const _0x3f6d82=this['_getElementKey'](_0x57b6ed);_0x277c02['has'](_0x3f6d82)||_0x277c02['set'](_0x3f6d82,[]),_0x277c02['get'](_0x3f6d82)['push'](_0x57b6ed);}}if('remove'===_0xfff9e5['type']&&_0xfff9e5['name']===this['_elementName']){const _0x100e81=this['_getElementKey']({'getAttribute':_0xb6f196=>_0xfff9e5['attributes']['get'](_0xb6f196)});_0x2dbd34['add'](_0x100e81);}}for(const [_0x48d1c1,_0x587dd5]of this['_trackedElements'])'$graveyard'===_0x587dd5['root']['rootName']&&_0x2dbd34['add'](_0x48d1c1);for(const _0x4e287e of _0x2dbd34)this['_trackedElements']['delete'](_0x4e287e);for(const [_0xcc3165,_0x2f6173]of _0x277c02)this['_trackedElements']['set'](_0xcc3165,_0x2f6173[_0x2f6173['length']-0x1]);const _0x559cbb=new Set();for(const [_0x349c4a,_0x388d77]of _0x277c02)_0x2dbd34['has'](_0x349c4a)&&(_0x559cbb['add'](_0x388d77[0x0]),_0x388d77['length']>0x1?_0x277c02['set'](_0x349c4a,_0x388d77['slice'](0x1)):_0x277c02['delete'](_0x349c4a),_0x2dbd34['delete'](_0x349c4a));return{'removed':Array['from'](_0x2dbd34),'inserted':Array['from'](_0x277c02['values']())['flat'](),'moved':Array['from'](_0x559cbb)};}}class K extends _0x1bfd87{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3224c6){super(_0x3224c6),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4e1cef=>_0x4e1cef['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2e08bf=>_0x2e08bf['getAttribute']('footnoteId')});}['init'](){const {editor:_0x292fc1}=this,{model:_0x5980ca,data:_0x9475ac}=_0x292fc1;_0x5980ca['document']['registerPostFixer'](_0x16c811=>{const _0xbf34fa=_0x5980ca['document']['differ']['getChanges']();let _0x2cbb8f=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x16c811,_0xbf34fa)&&(_0x2cbb8f=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x16c811,_0xbf34fa)&&(_0x2cbb8f=!0x0),this['_handleFootnoteReferencesChanges'](_0x16c811,_0xbf34fa)&&(_0x2cbb8f=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x16c811)&&(_0x2cbb8f=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x16c811)&&(_0x2cbb8f=!0x0),this['_sortFootnoteDefinitions'](_0x16c811)&&(_0x2cbb8f=!0x0),_0x2cbb8f;}),this['listenTo'](_0x5980ca['document'],'change:data',()=>{_0x5980ca['enqueueChange']({'isUndoable':!0x1},_0x150730=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x150730);});},{'priority':'low'}),this['listenTo'](_0x9475ac,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x922b7){return this['_footnotes']['find'](_0x589c2f=>_0x589c2f['id']===_0x922b7)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4158ca){this['_footnoteFormatter']=_0x4158ca;}['_updateFootnotesCounters'](_0x126eb6,_0x5dc186=0x0){let _0x7c612b=!0x1;for(let _0x306ccc=_0x5dc186;_0x306ccc<this['_footnotes']['length'];_0x306ccc++)this['_updateFootnoteRefCounter'](_0x126eb6,_0x306ccc)&&(_0x7c612b=!0x0);return _0x7c612b;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5a1942,_0x37a93f){const _0xf9e57e=_0x5a1942['createElement']('footnotesDefinitions',{});return _0x5a1942['append'](_0xf9e57e,_0x37a93f),this['_footnotesDefinitions']=_0xf9e57e,_0xf9e57e;}['_ensureFootnotesDefinitionsContainerExists'](_0x27072b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x46386e=this['_footnotes'][0x0]['reference']['root'],_0x3be6fc=this['_insertEmptyFootnotesDefinitionsContainer'](_0x27072b,_0x46386e);for(const _0x1ea663 of this['_footnotes'])_0x1ea663['definition']['parent']||_0x27072b['insert'](_0x1ea663['definition'],_0x3be6fc,'end');this['_updateFootnotesCounters'](_0x27072b);}['_handleFootnotesDefinitionsObjectChanges'](_0x5aa46f,_0x578f44){let _0x1ffb80=!0x1;const {inserted:_0x8304e9,removed:_0x155368,moved:_0x111d11}=this['_footnoteDefsContainerTracker']['getChanges'](_0x578f44);if(_0x111d11['length']&&(this['_footnotesDefinitions']=_0x111d11[0x0]),_0x8304e9['length']){if(_0x8304e9['length']>0x1||this['_footnotesDefinitions']&&_0x8304e9['some'](_0x538535=>_0x538535!==this['_footnotesDefinitions'])){const _0x2d87c7=_0x5aa46f['createElement']('footnotesDefinitions',{}),_0xf5d09a=[];this['_footnotesDefinitions']&&_0xf5d09a['push'](this['_footnotesDefinitions']),_0xf5d09a['push'](..._0x8304e9),_0x5aa46f['insert'](_0x2d87c7,_0xf5d09a[0x0],'before');for(const _0x1eb507 of _0xf5d09a)_0x5aa46f['move'](_0x5aa46f['createRangeIn'](_0x1eb507),_0x5aa46f['createPositionAt'](_0x2d87c7,'end')),_0x5aa46f['remove'](_0x1eb507);this['_footnotesDefinitions']=_0x2d87c7,this['_updateFootnotesCounters'](_0x5aa46f),_0x1ffb80=!0x0;}else this['_footnotesDefinitions']=_0x8304e9[0x0];}if(_0x155368['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x274fce of this['_footnotes'])_0x5aa46f['remove'](_0x274fce['reference']),_0x1ffb80=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1ffb80;}['_handleFootnoteDefinitionsChanges'](_0x1acd93,_0xecfa8c){let _0x1f52da=!0x1;const _0x2b24dc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x40a7c5,moved:_0x43b214}=this['_footnoteDefsTracker']['getChanges'](_0xecfa8c);for(const _0x71acf6 of[..._0x43b214,..._0x40a7c5]){const _0x3d18e7=_0x71acf6['getAttribute']('footnoteId'),_0x441fbf=this['getFootnote'](_0x3d18e7);_0x441fbf&&(_0x441fbf['definition']=_0x71acf6),j(_0x1acd93,_0x2b24dc,_0x71acf6)&&(_0x1f52da=!0x0);}return _0x1f52da;}['_handleFootnoteReferencesChanges'](_0x5c652c,_0x368303){let _0x340991=!0x1;const {removed:_0x44d87d,inserted:_0x16cde5,moved:_0x29e2f6}=this['_footnoteRefsTracker']['getChanges'](_0x368303);for(const _0x1287cc of _0x44d87d)this['_handleRemoveFootnoteReferenceById'](_0x5c652c,_0x1287cc)&&(_0x340991=!0x0);for(const _0x283df6 of _0x16cde5)this['_handleInsertedFootnoteReference'](_0x5c652c,_0x283df6)&&(_0x340991=!0x0);for(const _0x58b1b2 of _0x29e2f6)this['_handleMovedFootnoteReference'](_0x5c652c,_0x58b1b2)&&(_0x340991=!0x0);return _0x340991;}['_handleFootnotesDefinitionsObjectSync'](_0x400839){if(!this['_footnotesDefinitions'])return!0x1;let _0x104e65=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x48ed73=[];for(const _0x37d2b6 of this['_footnotesDefinitions']['getChildren']()){const _0x14ba1b=_0x37d2b6['getAttribute']('footnoteId');this['getFootnote'](_0x14ba1b)||(_0x48ed73['unshift'](_0x37d2b6),_0x104e65=!0x0);}for(const _0x3d2cf8 of _0x48ed73)_0x400839['remove'](_0x3d2cf8);}const _0x5d1a54=new Set(),_0x1e8720=[];for(const _0x189aa9 of this['_footnotesDefinitions']['getChildren']()){const _0x4560a8=_0x189aa9['getAttribute']('footnoteId');_0x5d1a54['has'](_0x4560a8)?(_0x1e8720['unshift'](_0x189aa9),_0x104e65=!0x0):_0x5d1a54['add'](_0x4560a8);}for(const _0x23d411 of _0x1e8720)_0x400839['remove'](_0x23d411);return this['_footnotesDefinitions']['childCount']||(_0x400839['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x104e65=!0x0),_0x104e65;}['_handleInsertedFootnoteReference'](_0x6cc0eb,_0x1d3476){if(this['_footnotes']['find'](_0xe91f77=>_0xe91f77['reference']===_0x1d3476))return!0x1;let _0x1b555f=!0x1;const _0x1ac234=_0x1d3476['getAttribute']('footnoteId'),_0x36f654=this['_footnotes']['findIndex'](_0x34d3b2=>_0x34d3b2['id']===_0x1ac234);-0x1!==_0x36f654&&(_0x6cc0eb['remove'](this['_footnotes'][_0x36f654]['reference']),this['_footnotes']['splice'](_0x36f654,0x1),_0x1b555f=!0x0);let _0x63599c=this['_footnotesDefinitions']?function(_0x18560d,_0x5aed15){for(const _0x1b2f2e of _0x18560d['getChildren']())if(_0x1b2f2e['getAttribute']('footnoteId')===_0x5aed15)return _0x1b2f2e;return null;}(this['_footnotesDefinitions'],_0x1ac234):null;_0x63599c||(_0x63599c=_0x6cc0eb['createElement']('footnoteDefinition',{'footnoteId':_0x1ac234}),this['_footnotesDefinitions']&&(_0x6cc0eb['insert'](_0x63599c,this['_footnotesDefinitions'],'end'),_0x1b555f=!0x0));const _0x43642={'id':_0x1ac234,'reference':_0x1d3476,'definition':_0x63599c},_0x26d219=T(this['editor']['model'],this['_footnotes'],_0x1d3476);this['_footnotes']['splice'](_0x26d219,0x0,_0x43642);let _0x2eb91b=_0x26d219;return-0x1!==_0x36f654&&(_0x2eb91b=Math['min'](_0x26d219,_0x36f654)),this['_updateFootnotesCounters'](_0x6cc0eb,_0x2eb91b)&&(_0x1b555f=!0x0),_0x1b555f;}['_handleRemoveFootnoteReferenceById'](_0x51fa1a,_0x4c7070){const _0x6c651=this['_footnotes']['findIndex'](_0x49e532=>_0x49e532['id']===_0x4c7070);if(-0x1===_0x6c651)return!0x1;let _0x2d97ce=!0x1;const _0x286a5b=this['_footnotes'][_0x6c651];return'$graveyard'!==_0x286a5b['definition']['root']['rootName']&&(_0x51fa1a['remove'](_0x286a5b['definition']),_0x2d97ce=!0x0),this['_footnotes']['splice'](_0x6c651,0x1),this['_updateFootnotesCounters'](_0x51fa1a,_0x6c651)&&(_0x2d97ce=!0x0),_0x2d97ce;}['_handleMovedFootnoteReference'](_0xaa162e,_0x1d54b9){const _0x4df64a=_0x1d54b9['getAttribute']('footnoteId'),_0x5cdf4a=this['_footnotes']['findIndex'](_0xe0827f=>_0xe0827f['id']===_0x4df64a),_0x3b3d0d=this['_footnotes'][_0x5cdf4a];let _0x20c038=!0x1;_0x3b3d0d['reference']=_0x1d54b9,this['_footnotes']['splice'](_0x5cdf4a,0x1);const _0x1a18d9=T(this['editor']['model'],this['_footnotes'],_0x1d54b9);return this['_footnotes']['splice'](_0x1a18d9,0x0,_0x3b3d0d),this['_updateFootnotesCounters'](_0xaa162e,Math['min'](_0x5cdf4a,_0x1a18d9))&&(_0x20c038=!0x0),_0x20c038;}['_updateFootnoteRefCounter'](_0x50782d,_0x54d701){if(!this['_footnotesDefinitions'])return!0x1;const _0x5432e9=this['_footnotes'][_0x54d701];let _0x1d2092;return _0x1d2092=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5432e9,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x54d701+0x1}):String(_0x54d701+0x1),_0x5432e9['reference']['getAttribute']('footnoteCounter')!=_0x1d2092&&(_0x50782d['setAttribute']('footnoteCounter',_0x1d2092,_0x5432e9['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x557ca7){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x31a1e6,_0x7fa4){if(_0x31a1e6['length']!==_0x7fa4['length'])return!0x1;for(let _0x50a12e=0x0;_0x50a12e<_0x31a1e6['length'];_0x50a12e++)if(_0x31a1e6[_0x50a12e]!==_0x7fa4[_0x50a12e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x22e768=>_0x22e768['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x9232c5=>_0x9232c5['getAttribute']('footnoteId'))))return!0x1;let _0x4d857b=!0x1;for(let _0x42e968=0x0;_0x42e968<this['_footnotes']['length'];_0x42e968++){const _0x1bec09=this['_footnotes'][_0x42e968],_0x27cabf=_0x557ca7['createPositionBefore'](_0x1bec09['definition']),_0x321a8c=_0x557ca7['createPositionAt'](this['_footnotesDefinitions'],_0x42e968);_0x27cabf['isEqual'](_0x321a8c)||(_0x557ca7['move'](_0x557ca7['createRangeOn'](_0x1bec09['definition']),_0x321a8c),_0x4d857b=!0x0);}return _0x4d857b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x53f2d2){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3cb4f3}=this['editor'];let _0x53ce68=!0x1;for(let _0x536362=0x0;_0x536362<this['_footnotes']['length']-0x1;_0x536362++){const _0x3d8c2d=this['_footnotes'][_0x536362],_0x3cb0a2=this['_footnotes'][_0x536362+0x1],_0x10b224=_0x3cb4f3['createPositionBefore'](_0x3d8c2d['reference']),_0x550631=_0x3cb4f3['createPositionBefore'](_0x3cb0a2['reference']);'after'===_0x10b224['compareWith'](_0x550631)&&(this['_handleMovedFootnoteReference'](_0x53f2d2,_0x3d8c2d['reference']),_0x536362=-0x1,_0x53ce68=!0x0);}return _0x53ce68;}}function j(_0x3aedb9,_0x3d82a6,_0x5b2437){if(_0x5b2437['childCount'])return!0x1;const _0x4d923a=_0x3d82a6?'paragraph':'footnoteInlineContent';return _0x3aedb9['insert'](_0x3aedb9['createElement'](_0x4d923a),_0x5b2437),!0x0;}function T(_0x5f201b,_0x329575,_0x5d535f){if(0x0===_0x329575['length'])return 0x0;const _0x5b7407=_0x5f201b['createPositionBefore'](_0x5d535f);for(let _0x54f689=0x0;_0x54f689<_0x329575['length'];_0x54f689++){const _0x36dd6d=_0x329575[_0x54f689],_0x1150ef=_0x5f201b['createPositionBefore'](_0x36dd6d['reference']);if('before'===_0x5b7407['compareWith'](_0x1150ef))return _0x54f689;}const _0x3de254=_0x5d535f['root'];let _0x4f2872=-0x1;for(let _0x1eebc0=_0x329575['length']-0x1;_0x1eebc0>=0x0;_0x1eebc0--)if(_0x329575[_0x1eebc0]['reference']['root']===_0x3de254){_0x4f2872=_0x1eebc0;break;}if(-0x1!==_0x4f2872)return _0x4f2872+0x1;const _0x2b911e=_0x5f201b['document']['getRootNames'](),_0x29b3e1=_0x2b911e['indexOf'](_0x3de254['rootName']),_0x972d57=_0x2b911e[_0x29b3e1+0x1];if(_0x972d57){for(let _0x4fe325=0x0;_0x4fe325<_0x329575['length'];_0x4fe325++)if(_0x329575[_0x4fe325]['reference']['root']['rootName']===_0x972d57)return _0x4fe325;}return _0x329575['length'];}class V extends _0x26c05f{['refresh'](){const _0x1a6f27=this['editor']['model']['document']['selection'],_0x257da3=this['_getPositionToInsertFootnote'](_0x1a6f27);this['isEnabled']=!!_0x257da3;}['execute'](_0x5a8e71){const {editor:_0x56310b}=this,{model:_0x2b7444}=_0x56310b,{selection:_0x1bfba4}=_0x2b7444['document'],_0x292746=this['_getPositionToInsertFootnote'](_0x1bfba4);if(!_0x292746)return;const _0x47df64=_0x56310b['plugins']['get']('FootnotesEditing'),_0x5b7aee=_0x5a8e71?.['footnoteId']??_0x4f7642();!function(_0x492f4e){return'string'==typeof _0x492f4e&&_0x492f4e['length']>0x0&&!/\s/['test'](_0x492f4e)&&!/^\d/['test'](_0x492f4e);}(_0x5b7aee)?_0x3b975d('insert-footnote-command-executed-with-invalid-id'):(_0x2b7444['change'](_0x463797=>{const _0x3a0197=_0x463797['createElement']('footnoteRef',{'footnoteId':_0x5b7aee});_0x2b7444['insertObject'](_0x3a0197,_0x292746,null);}),_0x47df64['_moveSelectionToFootnoteDefinition'](_0x5b7aee));}['_getPositionToInsertFootnote'](_0x3279d7){const {model:_0x1462bd}=this['editor'],{schema:_0x167f15}=_0x1462bd,_0x57318c=_0x3279d7['getFirstRange']();for(const _0x19b0a7 of _0x57318c['getItems']())if(_0x167f15['isBlock'](_0x19b0a7)||_0x167f15['isObject'](_0x19b0a7))return null;const _0x2c6bff=_0x57318c['end'];return _0x167f15['checkChild'](_0x2c6bff,'footnoteRef')?_0x2c6bff:null;}}class $ extends _0x1bfd87{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a3e39}=this;_0x1a3e39['config']['define']('footnotes.multiBlock',!0x0),_0x1a3e39['commands']['add']('insertFootnote',new V(_0x1a3e39)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18eed3){const _0x312f58=_0x40bc79([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]),_0x24ecad=0x47a28506,_0x261a63=0x47a50c66^_0x24ecad,_0x1807df=window[_0x40bc79([0x44,0x61,0x74,0x65])][_0x40bc79([0x6e,0x6f,0x77])](),_0x3cecad=_0x18eed3[_0x40bc79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55f33d=new window[(_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54dd1f=>{_0x3cecad[_0x40bc79([0x6f,0x6e,0x63,0x65])](_0x40bc79([0x72,0x65,0x61,0x64,0x79]),_0x54dd1f);}),_0x581029={[_0x40bc79([0x6b,0x74,0x79])]:_0x40bc79([0x45,0x43]),[_0x40bc79([0x75,0x73,0x65])]:_0x40bc79([0x73,0x69,0x67]),[_0x40bc79([0x63,0x72,0x76])]:_0x40bc79([0x50,0x2d,0x32,0x35,0x36]),[_0x40bc79([0x78])]:_0x40bc79([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]),[_0x40bc79([0x79])]:_0x40bc79([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]),[_0x40bc79([0x61,0x6c,0x67])]:_0x40bc79([0x45,0x53,0x32,0x35,0x36])},_0x4e6b3e=_0x3cecad[_0x40bc79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40bc79([0x67,0x65,0x74])](_0x40bc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b5163(){let _0x57dcb3,_0x208956=null,_0x5276a7=null;try{if(_0x4e6b3e==_0x40bc79([0x47,0x50,0x4c]))return _0x40bc79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57dcb3=_0x4b68d8(),!_0x57dcb3)return _0x40bc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57dcb3[_0x40bc79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5276a7=_0x150f3f(_0x57dcb3[_0x40bc79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57dcb3[_0x40bc79([0x6a,0x74,0x69])])),await _0x2ed827()?_0xeb6e6d()?_0x4ee164()?_0x40bc79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x586308()?(_0x57dcb3[_0x40bc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40bc79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x208956=_0x2a3141(_0x40bc79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15c9ae()):_0x40bc79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40bc79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40bc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40bc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4ee164(){const _0x13b209=[_0x40bc79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40bc79([0x74,0x72,0x69,0x61,0x6c])][_0x40bc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57dcb3[_0x40bc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1807df/0x3e8:0xe10*_0x261a63;return _0x57dcb3[_0x40bc79([0x65,0x78,0x70])]<_0x13b209;}function _0xeb6e6d(){const _0x3a1d6d=_0x57dcb3[_0x40bc79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a1d6d&&(!!_0x3a1d6d[_0x40bc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40bc79([0x2a]))||!!_0x3a1d6d[_0x40bc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40bc79([0x46,0x4f,0x4f])));}function _0x586308(){const _0x1d2635=_0x57dcb3[_0x40bc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d2635||0x0==_0x1d2635[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3963b6}=new URL(window[_0x40bc79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1d2635[_0x40bc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3963b6))return!0x0;const _0x1edb05=_0x3963b6[_0x40bc79([0x73,0x70,0x6c,0x69,0x74])](_0x40bc79([0x2e]));return _0x1d2635[_0x40bc79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c115f=>_0x3c115f[_0x40bc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40bc79([0x2a])))[_0x40bc79([0x6d,0x61,0x70])](_0x317059=>_0x317059[_0x40bc79([0x73,0x70,0x6c,0x69,0x74])](_0x40bc79([0x2e])))[_0x40bc79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c193a=>_0x3c193a[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1edb05[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40bc79([0x6d,0x61,0x70])](_0x4c3d42=>Array(_0x1edb05[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c3d42[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40bc79([0x66,0x69,0x6c,0x6c])](_0x4c3d42[0x0]===_0x40bc79([0x2a])?_0x40bc79([0x2a]):'')[_0x40bc79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c3d42))[_0x40bc79([0x73,0x6f,0x6d,0x65])](_0x364949=>_0x1edb05[_0x40bc79([0x65,0x76,0x65,0x72,0x79])]((_0x550c1f,_0x4935a7)=>_0x364949[_0x4935a7]===_0x550c1f||_0x364949[_0x4935a7]===_0x40bc79([0x2a])));}function _0x15c9ae(){return _0x208956&&_0x5276a7?new window[(_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xebbd23,_0x5ece46)=>{_0x208956[_0x40bc79([0x74,0x68,0x65,0x6e])](_0xebbd23,_0x5ece46),_0x5276a7[_0x40bc79([0x74,0x68,0x65,0x6e])](_0x58852b=>{_0x58852b!=_0x40bc79([0x56,0x61,0x6c,0x69,0x64])&&_0xebbd23(_0x58852b);},_0x5ece46);}):_0x208956||_0x5276a7||_0x40bc79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x150f3f(_0x27dccf,_0xd4f125){return new window[(_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x169acc=>{if(_0x5adc3e())return _0x169acc(_0x40bc79([0x56,0x61,0x6c,0x69,0x64]));_0x26988e(),_0x3cecad[_0x40bc79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40bc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b3043=!0x1;const _0x53e74d=_0x4f7642();function _0x5e8618(_0x3f8d8f){return!!_0x3f8d8f&&(typeof _0x3f8d8f===_0x40bc79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f8d8f===_0x40bc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f8d8f[_0x40bc79([0x74,0x68,0x65,0x6e])]===_0x40bc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f8d8f[_0x40bc79([0x63,0x61,0x74,0x63,0x68])]===_0x40bc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38e64c(_0x50c1e9){_0x2cc85e(_0x50c1e9)[_0x40bc79([0x74,0x68,0x65,0x6e])](_0x38e558=>{if(!_0x38e558||_0x38e558[_0x40bc79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40bc79([0x6f,0x6b]))return _0x40bc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd0cf3e(_0x3dcaf0(_0x53e74d+_0xd4f125))!=_0x38e558[_0x40bc79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40bc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40bc79([0x56,0x61,0x6c,0x69,0x64]);})[_0x40bc79([0x74,0x68,0x65,0x6e])](_0x558287=>(_0x3ff4b5(),_0x558287),()=>{const _0x3986f7=_0x8a909c();return null==_0x3986f7?(_0x3ff4b5(),_0x40bc79([0x56,0x61,0x6c,0x69,0x64])):_0x40bc79(_0x1807df-_0x3986f7>(0x63ae0106^_0x24ecad)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40bc79([0x74,0x68,0x65,0x6e])](_0x169acc)[_0x40bc79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x169acc(_0x40bc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbec2b5=0x47946b86^_0x24ecad;function _0x3ff4b5(){const _0x3baa87=_0x40bc79([0x6c,0x6c,0x63,0x74,0x2d])+_0xd0cf3e(_0x3dcaf0(_0x27dccf)),_0x368bb5=_0x537872(_0xd0cf3e(window[_0x40bc79([0x4d,0x61,0x74,0x68])][_0x40bc79([0x63,0x65,0x69,0x6c])](_0x1807df/_0xbec2b5)));window[_0x40bc79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40bc79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3baa87,_0x368bb5);}function _0x8a909c(){const _0x551a8d=_0x40bc79([0x6c,0x6c,0x63,0x74,0x2d])+_0xd0cf3e(_0x3dcaf0(_0x27dccf)),_0x2731ce=window[_0x40bc79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40bc79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x551a8d);return _0x2731ce?window[_0x40bc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x537872(_0x2731ce),0x10)*_0xbec2b5:null;}function _0x2cc85e(_0xbe3ba2){return new window[(_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32fe68,_0x51012a)=>{_0xbe3ba2[_0x40bc79([0x74,0x68,0x65,0x6e])](_0x32fe68,_0x51012a),window[_0x40bc79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51012a,0x47a351c6^_0x24ecad);});}}_0x3cecad[_0x40bc79([0x6f,0x6e])](_0x40bc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f935d,_0x555de7)=>{if(_0x555de7[0x0]!=_0x27dccf)return _0x169acc(_0x40bc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x555de7[0x1]={..._0x555de7[0x1],[_0x40bc79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53e74d};},{[_0x40bc79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40bc79([0x68,0x69,0x67,0x68])}),_0x3cecad[_0x40bc79([0x6f,0x6e])](_0x40bc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d39ea=>{_0x5e8618(_0x3d39ea[_0x40bc79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b3043=!0x0,_0x38e64c(_0x3d39ea[_0x40bc79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40bc79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40bc79([0x6c,0x6f,0x77])}),_0x55f33d[_0x40bc79([0x74,0x68,0x65,0x6e])](()=>{_0x4b3043||_0x169acc(_0x40bc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5adc3e(){return _0x3cecad[_0x40bc79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40bc79([0x76,0x69,0x65,0x77])][_0x40bc79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40bc79([0x61,0x75,0x74,0x6f]);}function _0x26988e(){_0x3cecad[_0x40bc79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40bc79([0x76,0x69,0x65,0x77])][_0x40bc79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40bc79([0x61,0x75,0x74,0x6f]);}}function _0x2a3141(_0xbb303a){const _0x211f66=[new window[(_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3218d6=>setTimeout(_0x3218d6,0x47abbbca^_0x24ecad)),_0x55f33d[_0x40bc79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2621d5=>{let _0x5de8c8=0x0;_0x3cecad[_0x40bc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x40bc79([0x6f,0x6e])](_0x40bc79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ca2c8,_0x4a4233)=>{_0x4a4233[0x0][_0x40bc79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5de8c8++,_0x5de8c8==(0x47a280ee^_0x24ecad)&&(_0x2621d5(),_0x5ca2c8[_0x40bc79([0x6f,0x66,0x66])]());});}))];return window[_0x40bc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40bc79([0x72,0x61,0x63,0x65])](_0x211f66)[_0x40bc79([0x74,0x68,0x65,0x6e])](()=>_0xbb303a);}async function _0x278e5e(){await _0x55f33d,_0x3cecad[_0x40bc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x40bc79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x494c59,_0x3cecad[_0x40bc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x40bc79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x494c59,_0x3cecad[_0x40bc79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40bc79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x115901(_0x3153e2){const _0x47a090=_0x1a519d();_0x3cecad[_0x47a090]=_0x40bc79([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3153e2,_0x3153e2!=_0x40bc79([0x56,0x61,0x6c,0x69,0x64])&&_0x278e5e();}function _0x1a519d(){const _0x24870a=window[_0x40bc79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40bc79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40bc79([0x6e,0x6f,0x77])]())[_0x40bc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40bc79([0x2e]),'');let _0xb5090a=_0x40bc79([0x75]);for(let _0x3df81a=0x0;_0x3df81a<_0x24870a[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3df81a+=0x2){let _0x2da6dc=window[_0x40bc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24870a[_0x40bc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3df81a,_0x3df81a+0x2));_0x2da6dc>=_0x312f58[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2da6dc-=_0x312f58[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb5090a+=_0x312f58[_0x2da6dc];}return _0xb5090a;}function _0x4b68d8(){const _0x73ec05=_0x4e6b3e[_0x40bc79([0x73,0x70,0x6c,0x69,0x74])](_0x40bc79([0x2e]));if(0x3!=_0x73ec05[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ac687(_0x73ec05[0x1]);function _0x4ac687(_0x4f39f2){const _0x2f20cb=_0x4268d8(_0x4f39f2);return _0x2f20cb&&_0x1bddf5()?_0x2f20cb:null;function _0x1bddf5(){const _0x8f7504=_0x2f20cb[_0x40bc79([0x6a,0x74,0x69])],_0x5bce2f=window[_0x40bc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8f7504[_0x40bc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8f7504[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24de0b={..._0x2f20cb,[_0x40bc79([0x6a,0x74,0x69])]:_0x8f7504[_0x40bc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8f7504[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24de0b[_0x40bc79([0x76,0x63])],_0x3dcaf0(_0x24de0b)==_0x5bce2f;}}}async function _0x2ed827(){let _0x40e3f0=!0x0;try{const _0x370b3c=_0x4e6b3e[_0x40bc79([0x73,0x70,0x6c,0x69,0x74])](_0x40bc79([0x2e])),[_0x3b6f62,_0x2eb5a5,_0xc068ed]=_0x370b3c;return _0x302d61(_0x3b6f62),await _0x559cd4(_0x3b6f62,_0x2eb5a5,_0xc068ed),_0x40e3f0;}catch{return!0x1;}function _0x302d61(_0x396529){const _0x4c4a43=_0x4268d8(_0x396529);_0x4c4a43&&_0x4c4a43[_0x40bc79([0x61,0x6c,0x67])]==_0x40bc79([0x45,0x53,0x32,0x35,0x36])||(_0x40e3f0=!0x1);}async function _0x559cd4(_0x57907a,_0x13e05d,_0x358a4a){const _0x2482a8=window[_0x40bc79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40bc79([0x66,0x72,0x6f,0x6d])](_0x55ce76(_0x358a4a),_0x215949=>_0x215949[_0x40bc79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38ba0b=new window[(_0x40bc79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40bc79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57907a+_0x40bc79([0x2e])+_0x13e05d),_0x48ed4d=window[_0x40bc79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40bc79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48ed4d)return;const _0x366160=await _0x48ed4d[_0x40bc79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40bc79([0x6a,0x77,0x6b]),_0x581029,{[_0x40bc79([0x6e,0x61,0x6d,0x65])]:_0x40bc79([0x45,0x43,0x44,0x53,0x41]),[_0x40bc79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40bc79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40bc79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48ed4d[_0x40bc79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40bc79([0x6e,0x61,0x6d,0x65])]:_0x40bc79([0x45,0x43,0x44,0x53,0x41]),[_0x40bc79([0x68,0x61,0x73,0x68])]:{[_0x40bc79([0x6e,0x61,0x6d,0x65])]:_0x40bc79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x366160,_0x2482a8,_0x38ba0b)||(_0x40e3f0=!0x1);}}function _0x4268d8(_0x4c5fce){return _0x4c5fce[_0x40bc79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40bc79([0x65,0x79]))?JSON[_0x40bc79([0x70,0x61,0x72,0x73,0x65])](_0x55ce76(_0x4c5fce)):null;}function _0x55ce76(_0x4d2e14){return window[_0x40bc79([0x61,0x74,0x6f,0x62])](_0x4d2e14[_0x40bc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40bc79([0x2b]))[_0x40bc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40bc79([0x2f])));}function _0x3dcaf0(_0x17ba4e){let _0x730bd0=0x1505;function _0x4e30a3(_0x3f8541){for(let _0x468b5f=0x0;_0x468b5f<_0x3f8541[_0x40bc79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x468b5f++){const _0x153327=_0x3f8541[_0x40bc79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x468b5f);_0x730bd0=(_0x730bd0<<0x5)+_0x730bd0+_0x153327,_0x730bd0&=_0x730bd0;}}function _0x27903b(_0x4d6802){Array[_0x40bc79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d6802)?_0x4d6802[_0x40bc79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27903b):_0x4d6802&&typeof _0x4d6802==_0x40bc79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40bc79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d6802)[_0x40bc79([0x73,0x6f,0x72,0x74])]()[_0x40bc79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5526f1,_0x5edc73])=>{_0x4e30a3(_0x5526f1),_0x27903b(_0x5edc73);}):_0x4e30a3(window[_0x40bc79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d6802));}return _0x27903b(_0x17ba4e),_0x730bd0>>>0x0;}function _0xd0cf3e(_0x15e1e0){return _0x15e1e0[_0x40bc79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40bc79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40bc79([0x30]));}function _0x537872(_0x43a6fb){return _0x43a6fb[_0x40bc79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40bc79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40bc79([0x6a,0x6f,0x69,0x6e])]('');}function _0x494c59(){}function _0x40bc79(_0x22a5d7){return _0x22a5d7['map'](_0x45092b=>String['fromCharCode'](_0x45092b))['join']('');}_0x115901(await _0x2b5163());}(this);}['_moveSelectionToFootnoteDefinition'](_0x50ead2){const {plugins:_0x2263f9,editing:_0x1a2648,model:_0x10742e}=this['editor'],_0x37d01f=_0x2263f9['get'](K)['getFootnote'](_0x50ead2);return!!_0x37d01f&&(_0x10742e['change'](_0x5322e0=>{_0x5322e0['setSelection'](_0x5322e0['createPositionAt'](_0x37d01f['definition'],'end'));}),_0x1a2648['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x140f7d){const {plugins:_0x140b54,editing:_0x1958d7,model:_0x4b0d0e}=this['editor'],_0x1a3b38=_0x140b54['get'](K)['getFootnote'](_0x140f7d);return!!_0x1a3b38&&(_0x4b0d0e['change'](_0x1863d4=>{_0x1863d4['setSelection'](_0x1a3b38['reference'],'on');}),_0x1958d7['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4cfbcc}=this['editor']['model'],_0xf6468c=this['editor']['config']['get']('footnotes.multiBlock');_0x4cfbcc['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4cfbcc['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4cfbcc['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf6468c?_0x4cfbcc['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4cfbcc['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4cfbcc['addChildCheck'](_0x4f0dd0=>{for(const _0x7d56e0 of _0x4f0dd0)if('footnoteDefinition'===_0x7d56e0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4a8cfc}=this,{conversion:_0x109f0f,editing:_0x595cc4}=_0x4a8cfc,{t:t}=_0x4a8cfc['locale'];_0x109f0f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1b681c,{writer:_0x340996,consumable:_0x172445})=>{const _0x1a1cb0=_0x1b681c['getChild'](0x0);if(!_0x1a1cb0||!_0x1a1cb0['is']('element','a'))return null;const _0x41dc70=_0x1a1cb0['getAttribute']('href')||'';if(!_0x41dc70['startsWith']('#'))return null;const _0x49bc77=_0x41dc70['replace'](/^#/,'');if(!_0x49bc77)return null;_0x172445['consume'](_0x1a1cb0,{'name':!0x0,'attributes':['href']});for(const {item:_0x4291ea}of _0x595cc4['view']['createRangeIn'](_0x1a1cb0))_0x4291ea['is']('$textProxy')?_0x172445['consume'](_0x4291ea['textNode'],{'name':!0x0}):_0x4291ea['is']('element')&&_0x172445['consume'](_0x4291ea,{'name':!0x0});return _0x340996['createElement']('footnoteRef',{'footnoteId':_0x49bc77});}}),_0x109f0f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3abb45,{writer:_0x22684b})=>z(_0x3abb45,_0x22684b)}),_0x109f0f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x409e29,{writer:_0x591e07})=>{const _0x428f58=_0x409e29['getAttribute']('footnoteCounter');return _0x22edd4(z(_0x409e29,_0x591e07),_0x591e07,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x428f58)});}});}['_defineDefinitionsConverters'](){const {editor:_0x402a74}=this,{t:t}=_0x402a74['locale'],{conversion:_0x24a985}=_0x402a74;_0x24a985['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x24a985['for']('upcast')['add'](_0x406797=>{_0x406797['on']('element:ol',(_0xb395b4,_0x2f4bbc,_0x1228d1)=>{const _0xb6ef29=_0x2f4bbc['viewItem'];if(!_0xb6ef29['hasClass']('footnotes-list')||!_0x2f4bbc['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1228d1['consumable']['consume'](_0xb6ef29,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1b66d7,modelCursor:_0x20ca4f}=_0x1228d1['convertChildren'](_0x2f4bbc['viewItem'],_0x2f4bbc['modelCursor']);_0x2f4bbc['modelRange']=_0x1b66d7,_0x2f4bbc['modelCursor']=_0x20ca4f;}),_0x406797['on']('element:hr',(_0x15d630,_0x3236d8,_0x41e873)=>{const _0x54a489=_0x3236d8['viewItem'];_0x54a489['hasClass']('footnotes-divider')&&_0x3236d8['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x41e873['consumable']['consume'](_0x54a489,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x24a985['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2ee954,{writer:_0x362ac7})=>H(_0x362ac7)}),_0x24a985['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x110320,{writer:_0x291d9f})=>{const _0x4f7b44=H(_0x291d9f,{'data-footnotes-list-label':t('Footnotes')}),_0xd6e1c5=_0x22edd4(_0x4f7b44,_0x291d9f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x291d9f['setCustomProperty']('footnotesDefinitions',!0x0,_0xd6e1c5),_0xd6e1c5;}});}['_defineDefinitionConverters'](){const {editor:_0x230c4f}=this,{conversion:_0x1ffcbb,locale:_0x23b488}=_0x230c4f,_0x13796f=_0x230c4f['config']['get']('footnotes.multiBlock');_0x1ffcbb['for']('upcast')['add'](_0x18b60e=>{_0x18b60e['on']('element:li',(_0x4cd725,_0x45515c,_0x4514ad)=>{const _0x123d08=_0x45515c['viewItem'];if(!_0x123d08['hasClass']('footnote-definition')||!_0x123d08['getAttribute']('id'))return;const _0x49f34e=_0x123d08['parent'];if(!_0x49f34e['is']('element','ol')||!_0x49f34e['hasClass']('footnotes-list'))return;if(!_0x4514ad['consumable']['test'](_0x123d08,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1185f2=_0x4514ad['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x123d08['getAttribute']('id')});if(!_0x4514ad['safeInsert'](_0x1185f2,_0x45515c['modelCursor']))return;_0x4514ad['consumable']['consume'](_0x123d08,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xba30dd=Array['from'](_0x123d08['getChildren']())['find'](_0x4041dc=>_0x4041dc['is']('element')&&_0x4041dc['hasClass']('footnote-content'));for(const _0xe8be88 of _0x123d08['getChildren']())_0xe8be88['is']('element')&&(_0x4514ad['consumable']['consume'](_0xe8be88,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4514ad['consumable']['consume'](_0xe8be88,{'name':!0x0,'classes':'footnote-content'}));if(_0xba30dd){if(_0x13796f)_0x4514ad['convertChildren'](_0xba30dd,_0x1185f2);else{const _0x5a2d77=_0x4514ad['writer']['createElement']('footnoteInlineContent');_0x4514ad['writer']['insert'](_0x5a2d77,_0x1185f2),_0x4514ad['convertChildren'](_0xba30dd,_0x5a2d77);}}_0x4514ad['updateConversionResult'](_0x1185f2,_0x45515c);});}),_0x1ffcbb['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x120ffa,{writer:_0x446efa})=>X(_0x120ffa,_0x446efa,_0x23b488,{'dataPipeline':!0x0})}),_0x1ffcbb['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x272a4c,{writer:_0x5830bc})=>X(_0x272a4c,_0x5830bc,_0x23b488)});}['_defineBogusParagraphConverters'](){const {editor:_0x3aab9e}=this,{conversion:_0x1562c3}=_0x3aab9e;_0x3aab9e['config']['get']('footnotes.multiBlock')?(_0x1562c3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x1562c3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3aab9e['model']['document'],'change:data',()=>{!function(_0x3e17d8,_0x3b9d33){const _0x52ae67=_0x3e17d8['document']['differ'],_0x117d52=new Set();for(const _0x290100 of _0x52ae67['getChanges']()){const _0x5b20dc='attribute'==_0x290100['type']?_0x290100['range']['start']['parent']:_0x290100['position']['parent'];_0x5b20dc['is']('element','footnoteDefinition')&&_0x117d52['add'](_0x5b20dc);}for(const _0x3aaada of _0x117d52['values']()){const _0x3b1fc7=Array['from'](_0x3aaada['getChildren']())['filter'](_0x4ddded=>U(_0x4ddded,_0x3b9d33['mapper']));for(const _0x93a649 of _0x3b1fc7)_0x3b9d33['reconvertItem'](_0x93a649);}}(_0x3aab9e['model'],_0x3aab9e['editing']);})):(_0x1562c3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x1562c3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2366e7,{writer:_0x148a49})=>{const _0x5a8460=_0x148a49['createContainerElement']('span');return _0x148a49['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a8460),_0x5a8460;}}));}['_defineKeyboardHandlers'](){const {editor:_0x34a49d}=this,{editing:_0x3a12d8,t:t}=_0x34a49d,_0x1df565=_0x34a49d['model']['document']['selection'];_0x34a49d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x34a49d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3a12d8['view']['document'],'enter',(_0x200d31,_0x43af84)=>{const _0x16faed=function(_0x27aa50){const _0x5d06ba=_0x27aa50['getSelectedElement']();if(_0x5d06ba?.['is']('element','footnoteRef'))return _0x5d06ba;return null;}(_0x1df565);if(_0x16faed){const _0x76b634=_0x16faed['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x76b634),_0x43af84['preventDefault'](),_0x200d31['stop']();}},{'context':_0x4dda3f});}['_defineClickHandlers'](){const {editor:_0x3fe949}=this,{editing:_0x4c2280}=_0x3fe949;_0x3fe949['editing']['view']['addObserver'](_0x78af0f),_0x3fe949['editing']['view']['addObserver'](_0x5e186a);let _0x34f843=!0x1;this['listenTo'](_0x4c2280['view']['document'],'pointerdown',(_0xc35456,_0x727eeb)=>{const {target:_0x408c39}=_0x727eeb,_0x5bf6ec=_0x4c2280['view']['document']['selection'];_0x34f843=!!(_0x408c39?.['is']('element','a')&&_0x408c39['parent']?.['is']('element','sup')&&_0x408c39['parent']['hasClass']('footnote'))&&_0x5bf6ec['getSelectedElement']()===_0x408c39['parent'];},{'priority':'high'}),this['listenTo'](_0x4c2280['view']['document'],'click',(_0x2f8752,_0x1ae335)=>{const {target:_0x50311c}=_0x1ae335;if(!_0x50311c?.['is']('element','a'))return;if(_0x50311c['parent']?.['is']('element','sup')&&_0x50311c['parent']['hasClass']('footnote')&&!_0x34f843)return void _0x1ae335['preventDefault']();let _0x2928b7=_0x50311c['getAttribute']('href');if(!_0x2928b7?.['startsWith']('#'))return;_0x2928b7=_0x2928b7['slice'](0x1);let _0x10fdc7=!0x1;(_0x2928b7['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2928b7['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2928b7))&&(_0x10fdc7=!0x0),_0x10fdc7&&(_0x1ae335['preventDefault'](),_0x2f8752['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x553939}={}){return(_0x490093,{writer:_0x23e47b})=>{if(!M(_0x490093))return null;if(!_0x553939)return _0x23e47b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2b3908=_0x23e47b['createContainerElement']('p');return _0x23e47b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2b3908),_0x2b3908;};}function M(_0x5d5851){const {parent:_0x13bbb9}=_0x5d5851;if(!_0x13bbb9?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x13bbb9['childCount'])return!0x1;for(const _0x4fad99 of _0x5d5851['getAttributeKeys']())if(!_0x4fad99['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4fad99)return!0x1;return!0x0;}function U(_0x2ad8fb,_0x1f73be){if(!_0x2ad8fb['is']('element','paragraph'))return!0x1;const _0x3dd801=_0x1f73be['toViewElement'](_0x2ad8fb);return!!_0x3dd801&&M(_0x2ad8fb)!==_0x3dd801['is']('element','span');}function q(_0x1139be){return _0x4dda3f(_0x1139be)&&_0x1139be['is']('containerElement')&&!!_0x1139be['getCustomProperty']('footnotesDefinitions');}function H(_0x464dd9,_0x286a36={}){const _0x4c8b8f=_0x464dd9['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4801fd=_0x464dd9['createContainerElement']('ol',{'class':'footnotes-list'},_0x464dd9['createSlot']());return _0x464dd9['createContainerElement']('div',{'class':'footnotes',..._0x286a36},[_0x4c8b8f,_0x4801fd]);}function z(_0x24af7e,_0x2ab006){const _0x559b51=_0x24af7e['getAttribute']('footnoteId'),_0x387373=_0x24af7e['getAttribute']('footnoteCounter'),_0x2f409d=_0x2ab006['createUIElement']('a',{'href':'#'+_0x559b51},function(_0x2a6f2d){const _0x4b7698=this['toDomElement'](_0x2a6f2d);return _0x4b7698['textContent']=_0x387373,_0x4b7698;}),_0x381654=_0x2ab006['createContainerElement']('sup',{'id':'ref-'+_0x559b51,'class':'footnote'},[_0x2f409d]);return _0x381654['getFillerOffset']=()=>null,_0x381654;}function X(_0x2555d0,_0x31db02,_0x19d75c,{dataPipeline:_0x1bee4c}={}){const {t:t}=_0x19d75c,_0x5f0864=_0x2555d0['getAttribute']('footnoteId'),_0x4c914b=_0x31db02['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5f0864},function(_0x1c631a){const _0x2d9390=this['toDomElement'](_0x1c631a);return _0x2d9390['innerText']='^',_0x2d9390;}),_0x3bfec1=_0x1bee4c?_0x31db02['createContainerElement']('div',{'class':'footnote-content'}):_0x27d6fe(_0x31db02['createEditableElement']('div',{'class':'footnote-content'}),_0x31db02,{'label':t('Footnote\x20content.')});return _0x31db02['insert'](_0x31db02['createPositionAt'](_0x3bfec1,0x0),_0x31db02['createSlot']()),_0x31db02['createContainerElement']('li',{'class':'footnote-definition','id':_0x5f0864},[_0x4c914b,_0x3bfec1]);}class J extends _0x1bfd87{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x3d0ebf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4e66fd}=this,{plugins:_0x4793e4,model:_0x3c4353}=_0x4e66fd,_0xff6e82=_0x4793e4['get'](_0x3d0ebf),_0x1843ee=_0x4793e4['get'](K);this['listenTo'](_0xff6e82,'outputTransformation',(_0x126de4,_0x48916f)=>{const _0x4ade17=Q(_0x3c4353['createRangeIn'](_0x48916f['content']));if(!_0x4ade17['length'])return;const _0x165c0d=_0x1843ee['getFootnotes'](),_0x36bc2d=_0x4ade17['reduce']((_0x22e83d,_0x1157e4)=>{const _0x16f874=_0x165c0d['find'](_0x47b721=>_0x47b721['id']===_0x1157e4);if(_0x16f874){const _0x377f7d=_0x4e66fd['data']['toView'](_0x16f874['definition'],{'isClipboardPipeline':!0x0}),_0x3c99c5=_0x4e66fd['data']['htmlProcessor']['toData'](_0x377f7d);_0x22e83d[_0x16f874['id']]=_0x3c99c5;}return _0x22e83d;},Object['create'](null));_0x48916f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x36bc2d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x581e7e}=this,{model:_0x503439,plugins:_0x194243}=_0x581e7e,{view:_0xc86500}=_0x581e7e['editing'],_0x56a630=_0x194243['get'](_0x3d0ebf),_0x5bce36=_0x194243['get'](K),_0x498f93=_0x581e7e['config']['get']('footnotes.multiBlock');let _0xe6410c=null;this['listenTo'](_0xc86500['document'],'clipboardInput',(_0x1c7f2b,_0x207799)=>{const _0x17f73b=_0x207799['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xe6410c=_0x17f73b?JSON['parse'](_0x17f73b):null;}),this['listenTo'](_0x56a630,'contentInsertion',(_0x4aa2cc,_0x4c1f5a)=>{const _0x121ee2=_0x4c1f5a['sourceEditorId']===this['editor']['id'];_0x121ee2&&'drop'===_0x4c1f5a['method']||_0x503439['change'](_0x4693c0=>{let _0xac7250=_0x5bce36['getFootnotesDefinitionsObjectElement']();const _0x2dc67b=!!_0xac7250&&Array['from'](_0x503439['document']['selection']['getSelectedBlocks']())['includes'](_0xac7250);if(!_0xe6410c&&function(_0x319720){for(const {item:_0x55a98c}of _0x319720)if(_0x55a98c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x503439['createRangeIn'](_0x4c1f5a['content']))&&(_0xe6410c=function(_0x399f62,_0x3bca40){const _0x496f7d=G(_0x399f62,_0x3bca40);if(!_0x496f7d)return null;const _0x963fb1=Object['create'](null);for(const _0x35c208 of _0x496f7d['getChildren']())_0x35c208['is']('element','footnoteDefinition')&&_0x35c208['hasAttribute']('footnoteId')&&(_0x963fb1[_0x35c208['getAttribute']('footnoteId')]=_0x399f62['cloneElement'](_0x35c208,!0x0));return Object['keys'](_0x963fb1)['length']?_0x963fb1:null;}(_0x4693c0,_0x4c1f5a['content'])),(_0xac7250&&!_0x2dc67b||!_0xac7250&&!_0xe6410c)&&function(_0x528ea3,_0xf04047){const _0x3df0f4=[];for(const {item:_0x5a628d}of _0x528ea3['createRangeIn'](_0xf04047))_0x5a628d['is']('element','footnotesDefinitions')&&_0x3df0f4['push'](_0x5a628d);for(const _0x3b9010 of _0x3df0f4)_0x528ea3['remove'](_0x3b9010);}(_0x4693c0,_0x4c1f5a['content']),!_0xe6410c)return;const {selection:_0x5bde9d}=_0x503439['document'],_0x362184=_0x5bde9d['getFirstRange']()['root'];_0xac7250&&!_0x2dc67b||(_0xac7250=G(_0x4693c0,_0x4c1f5a['content']),_0xac7250||=_0x5bce36['_insertEmptyFootnotesDefinitionsContainer'](_0x4693c0,_0x362184));const _0x4a14cd=Array['from'](_0x5bde9d['getRanges']())['flatMap'](Q),_0x47a7f1=function(_0x559828,_0x4f2bc3,_0x4a1568){const _0x37be80=Object['create'](null);for(const {item:_0x325ef3}of _0x559828['createRangeIn'](_0x4f2bc3))if(_0x325ef3['is']('element','footnoteRef')){const _0x90d4e=_0x325ef3['getAttribute']('footnoteId');if(!_0x4a1568(_0x90d4e))continue;_0x37be80[_0x90d4e]||(_0x37be80[_0x90d4e]=_0x4f7642()),_0x559828['setAttribute']('footnoteId',_0x37be80[_0x90d4e],_0x325ef3);}return _0x37be80;}(_0x4693c0,_0x4c1f5a['content'],_0x5405ad=>{if(!_0x121ee2)return!0x0;return!!_0x5bce36['getFootnote'](_0x5405ad)&&!_0x4a14cd['includes'](_0x5405ad);});for(const [_0x504190,_0x124c50]of Object['entries'](_0xe6410c)){const _0x1bdd5a=_0x47a7f1[_0x504190]||_0x504190;let _0x16035d;if('string'!=typeof _0x124c50)_0x16035d=_0x124c50,_0x1bdd5a!==_0x504190&&_0x4693c0['setAttribute']('footnoteId',_0x1bdd5a,_0x16035d);else{_0x16035d=_0x4693c0['createElement']('footnoteDefinition',{'footnoteId':_0x1bdd5a});const _0x14033a=_0x581e7e['data']['htmlProcessor']['toView'](_0x124c50);let _0x411f70;if(_0x498f93)_0x411f70=_0x581e7e['data']['toModel'](_0x14033a,_0x16035d);else{_0x411f70=_0x4693c0['createElement']('footnoteInlineContent');const _0x306447=_0x581e7e['data']['toModel'](_0x14033a,_0x411f70);_0x4693c0['insert'](_0x306447,_0x411f70);}_0x4693c0['append'](_0x411f70,_0x16035d);}_0x4693c0['insert'](_0x16035d,_0xac7250,'end');}_0xe6410c=null;});});}}function G(_0x1f7b46,_0x3b9470){for(const {item:_0x3055be}of _0x1f7b46['createRangeIn'](_0x3b9470))if(_0x3055be['is']('element','footnotesDefinitions'))return _0x3055be;return null;}function Q(_0xbeb8e4){const _0x1ef7a3=new Set();for(const {item:_0xf4dfe4}of _0xbeb8e4)_0xf4dfe4['is']('element','footnoteRef')&&_0x1ef7a3['add'](_0xf4dfe4['getAttribute']('footnoteId'));return Array['from'](_0x1ef7a3);}class W extends _0x1bfd87{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x296d41}=this,{componentFactory:_0x5a52a8}=_0x296d41['ui'];_0x5a52a8['add']('insertFootnote',Y(_0x296d41,_0x2f133e)),_0x5a52a8['add']('menuBar:insertFootnote',Y(_0x296d41,_0x34c2da)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d263f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c2542;for(const _0xb50c72 in _0x2d263f){const _0x5c0c50=_0xb50c72,_0xd471fb=_0x2d263f[_0x5c0c50];if('footnotesLicenseKeyValid'==_0xd471fb||'footnotesLicenseKeyInvalid'==_0xd471fb||'footnotesLicenseKeyExpired'==_0xd471fb||'footnotesLicenseKeyDomainLimit'==_0xd471fb||'footnotesLicenseKeyNotAllowed'==_0xd471fb||'footnotesLicenseKeyEvaluationLimit'==_0xd471fb||'footnotesLicenseKeyUsageLimit'==_0xd471fb){delete _0x2d263f[_0x5c0c50],_0x3c2542=_0xd471fb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c2542&&_0x2d263f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c2542&&_0x2d263f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c2542&&_0x2d263f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c2542&&_0x2d263f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c2542&&_0x2d263f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c2542&&_0x2d263f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x217e1c,_0x2f6700){const _0x29e597=_0x217e1c['commands']['get']('insertFootnote');return _0x1b154f=>{const {t:t}=_0x1b154f,_0x3cc785=new _0x2f6700(_0x1b154f),_0x305055=_0x3cc785 instanceof _0x34c2da;return _0x3cc785['bind']('isEnabled')['to'](_0x29e597,'isEnabled'),_0x3cc785['set']({'label':t(_0x305055?'Footnote':'Insert\x20footnote'),'icon':_0x153218,'tooltip':!0x0}),_0x3cc785['on']('execute',()=>{_0x29e597['execute'](),_0x217e1c['editing']['view']['focus']();}),_0x3cc785;};}class Z extends _0x1bfd87{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 _0x26c05f{['refresh'](){const {editor:_0x5e1b6e}=this,_0x596a47=_0x5e1b6e['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x596a47,this['value']=_0x596a47?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x39d8dd}){const {editor:_0x55e6ee}=this,_0x171286=_0x55e6ee['plugins']['get'](K),_0x58555a=_0x171286['getFootnotesDefinitionsObjectElement']();_0x58555a&&ot['includes'](_0x39d8dd)&&_0x55e6ee['model']['change'](_0x49e487=>{_0x49e487['setAttribute']('footnotesListStyle',_0x39d8dd,_0x58555a),_0x171286['_updateFootnotesCounters'](_0x49e487);});}}class it extends _0x26c05f{['refresh'](){const {editor:_0x5b3745}=this,_0x424d38=_0x5b3745['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x424d38,this['value']=_0x424d38?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x25fdd2}){const {editor:_0x5dc572}=this,_0x36207c=_0x5dc572['plugins']['get'](K),_0x3155f7=_0x36207c['getFootnotesDefinitionsObjectElement']();_0x3155f7&&Number['isInteger'](_0x25fdd2)&&_0x5dc572['model']['change'](_0x23e19f=>{_0x23e19f['setAttribute']('footnotesListStart',_0x25fdd2,_0x3155f7),_0x36207c['_updateFootnotesCounters'](_0x23e19f);});}}function st(_0x3e9b79,_0x31c74e){let _0x45888d='',_0x4a6501=_0x3e9b79;for(;_0x4a6501>0x0;){const _0xc30a15=(_0x4a6501-0x1)%0x1a;_0x45888d=String['fromCharCode'](0x61+_0xc30a15)+_0x45888d,_0x4a6501=Math['floor']((_0x4a6501-0x1)/0x1a);}return _0x31c74e?_0x45888d['toUpperCase']():_0x45888d;}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(_0xc39bd3,_0x5952ef){let _0x32a952='',_0x5aef29=_0xc39bd3;for(const {value:_0x5c6c6d,numeral:_0x3a85c6}of rt)for(;_0x5aef29>=_0x5c6c6d;)_0x32a952+=_0x3a85c6,_0x5aef29-=_0x5c6c6d;return _0x5952ef?_0x32a952:_0x32a952['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x1bfd87{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x51d375}=this;_0x51d375['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x51d375['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x51d375['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x51d375['commands']['add']('footnotesStyle',new nt(_0x51d375)),_0x51d375['commands']['add']('footnotesStart',new it(_0x51d375)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x237eeb}=this,{schema:_0x2bfb6a}=_0x237eeb['model'];_0x2bfb6a['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3e81bc}=this,{conversion:_0x11bcf5,model:_0x46a801}=_0x3e81bc,{schema:_0xdbdc74}=_0x46a801;_0x11bcf5['for']('upcast')['add'](_0x2dc756=>{_0x2dc756['on']('element:ol',(_0x3c145b,_0x104c89,_0x3e8540)=>{const _0x1b5c79=_0x104c89['viewItem'],_0x1a2425=_0x104c89['modelCursor']?.['parent'];_0x1b5c79['hasClass']('footnotes-list')&&_0x1a2425?.['is']('element','footnotesDefinitions')&&(function(_0x38a430,_0x1367a3,_0x36d6ba,_0x24a3b1){if(!_0x24a3b1['checkAttribute'](_0x1367a3,'footnotesListStart'))return;let _0x57a1bb=0x1;const _0x519280=_0x36d6ba['consumable']['consume'](_0x38a430,{'attributes':'start'});if(_0x519280){const _0x986c84=Number['parseInt'](_0x38a430['getAttribute']('start'),0xa);Number['isNaN'](_0x986c84)||(_0x57a1bb=_0x986c84);}!_0x519280&&_0x1367a3['hasAttribute']('footnotesListStart')||_0x36d6ba['writer']['setAttribute']('footnotesListStart',_0x57a1bb,_0x1367a3);}(_0x1b5c79,_0x1a2425,_0x3e8540,_0xdbdc74),function(_0x23a749,_0x2317c8,_0x2e681f,_0x1b59fa){if(!_0x1b59fa['checkAttribute'](_0x2317c8,'footnotesListStyle'))return;let _0x107f6f='decimal',_0x1eacf1=!0x1;if(_0x2e681f['consumable']['consume'](_0x23a749,{'attributes':'type'})){const _0x412ae0={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x23a749['getAttribute']('type')];_0x412ae0&&(_0x107f6f=_0x412ae0),_0x1eacf1=!0x0;}if(_0x2e681f['consumable']['consume'](_0x23a749,{'styles':'list-style-type'})){const _0x2d99f9=ct(_0x23a749['getStyle']('list-style-type'));_0x2d99f9&&(_0x107f6f=_0x2d99f9),_0x1eacf1=!0x0;}!_0x1eacf1&&_0x2317c8['hasAttribute']('footnotesListStyle')||_0x2e681f['writer']['setAttribute']('footnotesListStyle',_0x107f6f,_0x2317c8);}(_0x1b5c79,_0x1a2425,_0x3e8540,_0xdbdc74));});}),_0x11bcf5['for']('downcast')['add'](_0x146909=>{_0x146909['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4a0450,_0xc1e804,_0x340880)=>{if(!_0x340880['consumable']['consume'](_0xc1e804['item'],_0x4a0450['name']))return;const _0x237e65=ut(_0xc1e804['item'],_0x340880['mapper']),{attributeNewValue:_0x3b460c}=_0xc1e804;null==_0x3b460c||0x1===_0x3b460c?_0x340880['writer']['removeAttribute']('start',_0x237e65):_0x340880['writer']['setAttribute']('start',String(_0x3b460c),_0x237e65);}),_0x146909['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3967ac,_0x45e02f,_0x752459)=>{if(!_0x752459['consumable']['consume'](_0x45e02f['item'],_0x3967ac['name']))return;const _0x3e96ad=ut(_0x45e02f['item'],_0x752459['mapper']),{attributeNewValue:_0x3d91e1}=_0x45e02f;_0x3d91e1&&'decimal'!==_0x3d91e1?_0x752459['writer']['setStyle']('list-style-type',_0x3d91e1,_0x3e96ad):_0x752459['writer']['removeStyle']('list-style-type',_0x3e96ad);});});}['_definePostfixer'](){const {editor:_0x4c0c7e}=this,{model:_0x3a1a45}=_0x4c0c7e,_0x5bafca=_0x4c0c7e['plugins']['get'](K),_0x634da4=this['_getDefaultListStyle'](),_0xd3a98f=this['_getDefaultStartIndex']();_0x3a1a45['document']['registerPostFixer'](_0xebb3fc=>{const _0x2148fc=_0x3a1a45['document']['differ']['getChanges']();let _0xb11b72=!0x1;for(const _0x3e072f of _0x2148fc){if('insert'!==_0x3e072f['type']||'$text'===_0x3e072f['name'])continue;const _0x4f6d67=_0x3a1a45['createRangeOn'](_0x3e072f['position']['nodeAfter']);for(const _0x52825e of _0x4f6d67['getItems']())_0x52825e['is']('element','footnotesDefinitions')&&(!_0x52825e['hasAttribute']('footnotesListStart')&&_0x3a1a45['schema']['checkAttribute'](_0x52825e,'footnotesListStart')&&(_0xebb3fc['setAttribute']('footnotesListStart',_0xd3a98f,_0x52825e),_0xb11b72=!0x0),!_0x52825e['hasAttribute']('footnotesListStyle')&&_0x3a1a45['schema']['checkAttribute'](_0x52825e,'footnotesListStyle')&&(_0xebb3fc['setAttribute']('footnotesListStyle',_0x634da4,_0x52825e),_0xb11b72=!0x0));}return _0xb11b72&&_0x5bafca['_updateFootnotesCounters'](_0xebb3fc),_0xb11b72;});}['_defineFormatter'](){const {editor:_0x437de8}=this;_0x437de8['plugins']['get'](K)['setFootnoteFormatter'](_0x4a6bc7=>this['_formatFootnoteListValue'](_0x4a6bc7));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x592be1,value:_0x420e65,digits:_0x1e4652}){const _0x8a01cd=_0x592be1['getAttribute']('footnotesListStyle'),_0x4ad981=_0x592be1['getAttribute']('footnotesListStart'),_0x4e9eaf=Math['floor'](_0x420e65)+(_0x4ad981??0x1)-0x1;switch(_0x8a01cd){case'decimal-leading-zero':return function(_0x50f709,_0x330ad7){return String(_0x50f709)['padStart'](_0x330ad7,'0');}(_0x4e9eaf,Math['max'](0x2,_0x1e4652));case'lower-alpha':case'lower-latin':return st(_0x4e9eaf,!0x1);case'upper-alpha':case'upper-latin':return st(_0x4e9eaf,!0x0);case'lower-roman':return lt(_0x4e9eaf,!0x1);case'upper-roman':return lt(_0x4e9eaf,!0x0);case'arabic-indic':return String(_0x4e9eaf)['replace'](/\d/g,_0x1e6d64=>ft[Number(_0x1e6d64)]);default:return String(_0x4e9eaf);}}}function ct(_0x582799){if('string'==typeof _0x582799){const _0x1f5a34=et[_0x582799];if(_0x1f5a34)return _0x1f5a34;if(ot['includes'](_0x582799))return _0x582799;}return null;}function ut(_0x18156f,_0x21e9fd){const _0x12f188=_0x21e9fd['toViewElement'](_0x18156f);return Array['from'](_0x12f188['getChildren']())['find'](_0x5368b2=>_0x5368b2['is']('element','ol')&&_0x5368b2['hasClass']('footnotes-list'));}class dt extends _0x5832dc{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2b380a();['keystrokes']=new _0x13bd72();['focusables']=new _0x4c34cb();['focusCycler'];constructor(_0x2b44a3,{styleButtonViews:_0x170b56,styleGridAriaLabel:_0x59e0cd}){super(_0x2b44a3),(this['focusCycler']=new _0xeb9140({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x170b56,_0x59e0cd),[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 _0x3d4196 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3d4196['element']);_0x4940bb({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x19fb45['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 _0x49aee0=_0x3c8d6a=>_0x3c8d6a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x49aee0),this['keystrokes']['set']('arrowleft',_0x49aee0),this['keystrokes']['set']('arrowup',_0x49aee0),this['keystrokes']['set']('arrowdown',_0x49aee0);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3b5390,_0x2117be){const _0x15008d=new _0x5832dc(this['locale']);return _0x15008d['children']=_0x15008d['createCollection'](),_0x15008d['children']['addMany'](_0x3b5390),_0x15008d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2117be,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x15008d['children']}),_0x15008d['children']['delegate']('execute')['to'](this),_0x15008d['focus']=function(){for(const _0x3ec10e of this['children'])if(_0x3ec10e instanceof _0x2f133e&&_0x3ec10e['isOn'])return void _0x3ec10e['focus']();this['children']['first']['focus']();},_0x15008d['focusTracker']=new _0x2b380a(),_0x15008d['keystrokes']=new _0x13bd72(),_0x15008d['render'](),_0x15008d['keystrokes']['listenTo'](_0x15008d['element']),this['children']['add'](_0x15008d),_0x15008d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3593d0=this['_createStartIndexPropertyView'](),_0x26e0a9=[_0x3593d0],_0x4d46d2=new _0x409416(this['locale'],_0x26e0a9);return _0x4d46d2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4d46d2['buttonView']['bind']('isEnabled')['toMany'](_0x26e0a9,'isEnabled',(..._0xe47433)=>_0xe47433['some'](_0x115bf9=>_0x115bf9)),_0x4d46d2['buttonView']['on']('change:isEnabled',(_0x673170,_0x45eb2f,_0x54805e)=>{_0x54805e||(_0x4d46d2['isCollapsed']=!0x0);}),this['children']['add'](_0x4d46d2),[_0x3593d0,_0x4d46d2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3a0592=new _0x5b4340(this['locale'],_0x375767);return _0x3a0592['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3a0592['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3a0592['fieldView']['on']('input',()=>{const _0x444ef3=_0x3a0592['fieldView']['element'],_0x6474b6=_0x444ef3['valueAsNumber'];Number['isNaN'](_0x6474b6)?_0x3a0592['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x444ef3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x6474b6}):_0x3a0592['errorText']=t(_0x6474b6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3a0592;}}class ht extends _0x1bfd87{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x106e9e,_0x3ad7a6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x55c04a}=this,{componentFactory:_0x206557}=_0x55c04a['ui'];_0x55c04a['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x206557['add']('footnotesStyle',function(_0x520028){return _0x2f805d=>{const {t:t}=_0x2f805d,_0x5d57a7=_0x520028['commands']['get']('footnotesStyle'),_0x252d59=_0x3efd63(_0x2f805d),{buttonView:_0x2dba35}=_0x252d59;return _0x252d59['class']='ck-footnotes-styles-dropdown',_0x252d59['bind']('isEnabled')['to'](_0x5d57a7,'isEnabled'),_0x2dba35['set']({'label':t('Footnotes\x20style'),'icon':_0x153218,'tooltip':!0x0}),_0x252d59['once']('change:isOpen',()=>{const _0x4321c5=function({editor:_0x5d766f,dropdownView:_0x1f8718}){const {t:t}=_0x5d766f['locale'],_0x50150f=t('Footnotes\x20definitions\x20styles'),_0x52bc18=function(_0x1ccb39){const {t:t}=_0x1ccb39['locale'],_0x33f1bb=_0x1ccb39['config']['get']('footnotes.footnotesProperties.listStyles'),_0xc0ee3b=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x45adc9},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x4626c1},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0xcc25fe},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x22bb33},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x47e2e4},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x6a513f},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x266b44}];return _0x33f1bb['map'](_0x3f58dd=>{const _0x392d38=ct(_0x3f58dd),_0x3fab4b=_0xc0ee3b['find'](_0x5750ed=>_0x5750ed['style']===_0x392d38);return function(_0x3f595d,_0x4a64be){const {locale:_0x9daaeb}=_0x3f595d,{label:_0x34b605,icon:_0x56d883,tooltip:_0x111e3e,style:_0x2d0613}=_0x4a64be,_0x46fdd9=_0x3f595d['commands']['get']('footnotesStyle'),_0x452497=new _0x2f133e(_0x9daaeb);return _0x452497['set']({'label':_0x34b605,'icon':_0x56d883,'tooltip':_0x111e3e}),_0x452497['bind']('isOn')['to'](_0x46fdd9,'value',_0x26707c=>_0x26707c===_0x2d0613),_0x452497['bind']('isEnabled')['to'](_0x46fdd9,'isEnabled'),_0x452497['on']('execute',()=>{_0x3f595d['execute']('footnotesStyle',{'value':_0x2d0613}),_0x3f595d['editing']['view']['focus']();}),_0x452497;}(_0x1ccb39,_0x3fab4b);});}(_0x5d766f),_0xe35918=new dt(_0x5d766f['locale'],{'styleGridAriaLabel':_0x50150f,'styleButtonViews':_0x52bc18}),_0x574cfb=_0x5d766f['commands']['get']('footnotesStart');return _0xe35918['startIndexFieldView']['bind']('isEnabled')['to'](_0x574cfb),_0xe35918['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x574cfb),_0xe35918['on']('footnotesListStart',(_0x3840bf,_0x18997c)=>{_0x5d766f['execute']('footnotesStart',{'value':_0x18997c['startIndex']});}),_0xe35918['delegate']('execute')['to'](_0x1f8718),_0xe35918;}({'editor':_0x520028,'dropdownView':_0x252d59});_0x252d59['panelView']['children']['add'](_0x4321c5);}),_0x252d59;};}(_0x55c04a));}['afterInit'](){const {editor:_0xeea201}=this,{t:t}=_0xeea201['locale'],_0x20a3e7=_0xeea201['plugins']['get'](_0x3ad7a6),{defaultPositions:_0x1d5926}=_0xe651a0;_0x20a3e7['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xeea201['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x165d91=>{let _0x3e204e=_0x165d91['getFirstPosition']()?.['parent'];return _0x3e204e?.['is']('$text')&&(_0x3e204e=_0x3e204e['parent']),_0x3e204e?.['is']('element')?_0x3e204e['findAncestor'](q):null;},'positions':[_0x1d5926['southArrowNorth'],_0x1d5926['southArrowNorthMiddleWest'],_0x1d5926['southArrowNorthMiddleEast'],_0x1d5926['southArrowNorthWest'],_0x1d5926['southArrowNorthEast'],_0x1d5926['northArrowSouth'],_0x1d5926['northArrowSouthMiddleWest'],_0x1d5926['northArrowSouthMiddleEast'],_0x1d5926['northArrowSouthWest'],_0x1d5926['northArrowSouthEast'],_0x1d5926['viewportStickyNorth']]});}}class mt extends _0x1bfd87{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':_0x147f5f=>0x1!=_0x147f5f}};
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':_0x531573=>0x1!=_0x531573}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a9e34=>{const {af:{dictionary:_0x487b77,getPluralForm:_0x14bbed}}={'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':_0x31a135=>0x1!=_0x31a135}};_0x2a9e34['af']||={'dictionary':{},'getPluralForm':null},_0x2a9e34['af']['dictionary']=Object['assign'](_0x2a9e34['af']['dictionary'],_0x487b77),_0x2a9e34['af']['getPluralForm']=_0x14bbed;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b6c0e=>{const {af:{dictionary:_0x2f057a,getPluralForm:_0x4b1a87}}={'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':_0x360e0e=>0x1!=_0x360e0e}};_0x3b6c0e['af']||={'dictionary':{},'getPluralForm':null},_0x3b6c0e['af']['dictionary']=Object['assign'](_0x3b6c0e['af']['dictionary'],_0x2f057a),_0x3b6c0e['af']['getPluralForm']=_0x4b1a87;})(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':_0x1994ce=>0x0==_0x1994ce?0x0:0x1==_0x1994ce?0x1:0x2==_0x1994ce?0x2:_0x1994ce%0x64>=0x3&&_0x1994ce%0x64<=0xa?0x3:_0x1994ce%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':_0x57f589=>0x0==_0x57f589?0x0:0x1==_0x57f589?0x1:0x2==_0x57f589?0x2:_0x57f589%0x64>=0x3&&_0x57f589%0x64<=0xa?0x3:_0x57f589%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ae1ba=>{const {ar:{dictionary:_0x4ae6f1,getPluralForm:_0x478735}}={'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':_0x919f15=>0x0==_0x919f15?0x0:0x1==_0x919f15?0x1:0x2==_0x919f15?0x2:_0x919f15%0x64>=0x3&&_0x919f15%0x64<=0xa?0x3:_0x919f15%0x64>=0xb?0x4:0x5}};_0x2ae1ba['ar']||={'dictionary':{},'getPluralForm':null},_0x2ae1ba['ar']['dictionary']=Object['assign'](_0x2ae1ba['ar']['dictionary'],_0x4ae6f1),_0x2ae1ba['ar']['getPluralForm']=_0x478735;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d5565=>{const {ar:{dictionary:_0x460385,getPluralForm:_0x24e414}}={'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':_0x139390=>0x0==_0x139390?0x0:0x1==_0x139390?0x1:0x2==_0x139390?0x2:_0x139390%0x64>=0x3&&_0x139390%0x64<=0xa?0x3:_0x139390%0x64>=0xb?0x4:0x5}};_0x4d5565['ar']||={'dictionary':{},'getPluralForm':null},_0x4d5565['ar']['dictionary']=Object['assign'](_0x4d5565['ar']['dictionary'],_0x460385),_0x4d5565['ar']['getPluralForm']=_0x24e414;})(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':_0x51676b=>0x1!=_0x51676b}};
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':_0x52deb9=>0x1!=_0x52deb9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23d6a3=>{const {ast:{dictionary:_0x3d0590,getPluralForm:_0x905b20}}={'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':_0x17b155=>0x1!=_0x17b155}};_0x23d6a3['ast']||={'dictionary':{},'getPluralForm':null},_0x23d6a3['ast']['dictionary']=Object['assign'](_0x23d6a3['ast']['dictionary'],_0x3d0590),_0x23d6a3['ast']['getPluralForm']=_0x905b20;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ada05=>{const {ast:{dictionary:_0x562840,getPluralForm:_0x57a6bb}}={'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':_0x30e426=>0x1!=_0x30e426}};_0x2ada05['ast']||={'dictionary':{},'getPluralForm':null},_0x2ada05['ast']['dictionary']=Object['assign'](_0x2ada05['ast']['dictionary'],_0x562840),_0x2ada05['ast']['getPluralForm']=_0x57a6bb;})(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':_0x103c3c=>0x1!=_0x103c3c}};
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':_0xf081c9=>0x1!=_0xf081c9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x56521f=>{const {az:{dictionary:_0x32e09e,getPluralForm:_0x1761e3}}={'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':_0x304464=>0x1!=_0x304464}};_0x56521f['az']||={'dictionary':{},'getPluralForm':null},_0x56521f['az']['dictionary']=Object['assign'](_0x56521f['az']['dictionary'],_0x32e09e),_0x56521f['az']['getPluralForm']=_0x1761e3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5588f5=>{const {az:{dictionary:_0x3384bd,getPluralForm:_0x5d29ae}}={'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':_0x125f2a=>0x1!=_0x125f2a}};_0x5588f5['az']||={'dictionary':{},'getPluralForm':null},_0x5588f5['az']['dictionary']=Object['assign'](_0x5588f5['az']['dictionary'],_0x3384bd),_0x5588f5['az']['getPluralForm']=_0x5d29ae;})(window['CKEDITOR_TRANSLATIONS']||={});