@ckeditor/ckeditor5-footnotes 47.5.0 → 47.6.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 (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xae5732,Command as _0x5cd0a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2ebadd,isWidget as _0x521fba,toWidgetEditable as _0x4e1011,WidgetToolbarRepository as _0x2ddc4e}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2d21b2,logWarning as _0x29b645,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4fcbb1,ClickObserver as _0x515eea}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x26db3c}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4c9c5c,ButtonView as _0x2c789d,View as _0x4d57b7,ViewCollection as _0x34c837,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x43a948,BalloonPanelView as _0x1e73bb,createDropdown as _0x188bd8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x58d7dc,IconListStyleDecimal as _0x3b6cef,IconListStyleDecimalLeadingZero as _0x45b2ce,IconListStyleLowerRoman as _0x252eff,IconListStyleUpperRoman as _0x23435e,IconListStyleLowerLatin as _0x317e32,IconListStyleUpperLatin as _0x1ff7c8}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3abb7c,_0x238b15){this['_model']=_0x3abb7c,this['_elementName']=_0x238b15['elementName'],this['_getElementKey']=_0x238b15['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x1474dc){const _0x383063=new Set(),_0x2cfb17=new Map();for(const _0x339e18 of _0x1474dc){if('insert'===_0x339e18['type']&&'$text'!==_0x339e18['name']&&_0x339e18['position']['nodeAfter']){const _0xccd4ce=this['_model']['createRangeOn'](_0x339e18['position']['nodeAfter']);for(const _0x4b0605 of _0xccd4ce['getItems']()){if(!_0x4b0605['is']('element',this['_elementName']))continue;const _0x375de4=this['_getElementKey'](_0x4b0605);_0x2cfb17['has'](_0x375de4)||_0x2cfb17['set'](_0x375de4,[]),_0x2cfb17['get'](_0x375de4)['push'](_0x4b0605);}}if('remove'===_0x339e18['type']&&_0x339e18['name']===this['_elementName']){const _0xc5035c=this['_getElementKey']({'getAttribute':_0x37bc3a=>_0x339e18['attributes']['get'](_0x37bc3a)});_0x383063['add'](_0xc5035c);}}for(const [_0x2050ea,_0x2001e1]of this['_trackedElements'])'$graveyard'===_0x2001e1['root']['rootName']&&_0x383063['add'](_0x2050ea);for(const _0x3460ba of _0x383063)this['_trackedElements']['delete'](_0x3460ba);for(const [_0x513032,_0x2f87e2]of _0x2cfb17)this['_trackedElements']['set'](_0x513032,_0x2f87e2[_0x2f87e2['length']-0x1]);const _0x227e76=new Set();for(const [_0x46cd38,_0x36a134]of _0x2cfb17)_0x383063['has'](_0x46cd38)&&(_0x227e76['add'](_0x36a134[0x0]),_0x36a134['length']>0x1?_0x2cfb17['set'](_0x46cd38,_0x36a134['slice'](0x1)):_0x2cfb17['delete'](_0x46cd38),_0x383063['delete'](_0x46cd38));return{'removed':Array['from'](_0x383063),'inserted':Array['from'](_0x2cfb17['values']())['flat'](),'moved':Array['from'](_0x227e76)};}}class f extends _0xae5732{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44b476){super(_0x44b476),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4b0310=>_0x4b0310['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1101e3=>_0x1101e3['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5dea37}=this,{model:_0x2cdcc9,data:_0x5541b6}=_0x5dea37;_0x2cdcc9['document']['registerPostFixer'](_0x163d22=>{const _0x58dbc4=_0x2cdcc9['document']['differ']['getChanges']();let _0x1fe70b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x163d22,_0x58dbc4)&&(_0x1fe70b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x163d22,_0x58dbc4)&&(_0x1fe70b=!0x0),this['_handleFootnoteReferencesChanges'](_0x163d22,_0x58dbc4)&&(_0x1fe70b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x163d22)&&(_0x1fe70b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x163d22)&&(_0x1fe70b=!0x0),this['_sortFootnoteDefinitions'](_0x163d22)&&(_0x1fe70b=!0x0),_0x1fe70b;}),this['listenTo'](_0x2cdcc9['document'],'change:data',()=>{_0x2cdcc9['enqueueChange']({'isUndoable':!0x1},_0x5560a9=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5560a9);});},{'priority':'low'}),this['listenTo'](_0x5541b6,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2cd269){return this['_footnotes']['find'](_0x5ee9ae=>_0x5ee9ae['id']===_0x2cd269)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5f0bf3){this['_footnoteFormatter']=_0x5f0bf3;}['_updateFootnotesCounters'](_0x331c76,_0xf8f2d8=0x0){let _0x2c32fd=!0x1;for(let _0x1b8e55=_0xf8f2d8;_0x1b8e55<this['_footnotes']['length'];_0x1b8e55++)this['_updateFootnoteRefCounter'](_0x331c76,_0x1b8e55)&&(_0x2c32fd=!0x0);return _0x2c32fd;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e5f39,_0x4a5edc){const _0x3c6672=_0x3e5f39['createElement']('footnotesDefinitions',{});return _0x3e5f39['append'](_0x3c6672,_0x4a5edc),this['_footnotesDefinitions']=_0x3c6672,_0x3c6672;}['_ensureFootnotesDefinitionsContainerExists'](_0x111c4e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x36e331=this['_footnotes'][0x0]['reference']['root'],_0x2aa1c1=this['_insertEmptyFootnotesDefinitionsContainer'](_0x111c4e,_0x36e331);for(const _0x8db537 of this['_footnotes'])_0x8db537['definition']['parent']||_0x111c4e['insert'](_0x8db537['definition'],_0x2aa1c1,'end');this['_updateFootnotesCounters'](_0x111c4e);}['_handleFootnotesDefinitionsObjectChanges'](_0x94f7ca,_0x2e7aa6){let _0x27b2b2=!0x1;const {inserted:_0x40ee6b,removed:_0x472457,moved:_0x35be31}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2e7aa6);if(_0x35be31['length']&&(this['_footnotesDefinitions']=_0x35be31[0x0]),_0x40ee6b['length']){if(_0x40ee6b['length']>0x1||this['_footnotesDefinitions']&&_0x40ee6b['some'](_0x549093=>_0x549093!==this['_footnotesDefinitions'])){const _0x3b708a=_0x94f7ca['createElement']('footnotesDefinitions',{}),_0x1116fd=[];this['_footnotesDefinitions']&&_0x1116fd['push'](this['_footnotesDefinitions']),_0x1116fd['push'](..._0x40ee6b),_0x94f7ca['insert'](_0x3b708a,_0x1116fd[0x0],'before');for(const _0x57e8d4 of _0x1116fd)_0x94f7ca['move'](_0x94f7ca['createRangeIn'](_0x57e8d4),_0x94f7ca['createPositionAt'](_0x3b708a,'end')),_0x94f7ca['remove'](_0x57e8d4);this['_footnotesDefinitions']=_0x3b708a,this['_updateFootnotesCounters'](_0x94f7ca),_0x27b2b2=!0x0;}else this['_footnotesDefinitions']=_0x40ee6b[0x0];}if(_0x472457['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x368943 of this['_footnotes'])_0x94f7ca['remove'](_0x368943['reference']),_0x27b2b2=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x27b2b2;}['_handleFootnoteDefinitionsChanges'](_0x2fc62e,_0x49d9b5){let _0x459124=!0x1;const _0x30539e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3e4636,moved:_0x7b7f4a}=this['_footnoteDefsTracker']['getChanges'](_0x49d9b5);for(const _0x3d40b1 of[..._0x7b7f4a,..._0x3e4636]){const _0x1a84ee=_0x3d40b1['getAttribute']('footnoteId'),_0x2c23c6=this['getFootnote'](_0x1a84ee);_0x2c23c6&&(_0x2c23c6['definition']=_0x3d40b1),_(_0x2fc62e,_0x30539e,_0x3d40b1)&&(_0x459124=!0x0);}return _0x459124;}['_handleFootnoteReferencesChanges'](_0x2d6c92,_0x2b7c9f){let _0x1060e4=!0x1;const {removed:_0x56bcec,inserted:_0x4e78cd,moved:_0x17426e}=this['_footnoteRefsTracker']['getChanges'](_0x2b7c9f);for(const _0x5641eb of _0x56bcec)this['_handleRemoveFootnoteReferenceById'](_0x2d6c92,_0x5641eb)&&(_0x1060e4=!0x0);for(const _0x1d4a80 of _0x4e78cd)this['_handleInsertedFootnoteReference'](_0x2d6c92,_0x1d4a80)&&(_0x1060e4=!0x0);for(const _0x14dac3 of _0x17426e)this['_handleMovedFootnoteReference'](_0x2d6c92,_0x14dac3)&&(_0x1060e4=!0x0);return _0x1060e4;}['_handleFootnotesDefinitionsObjectSync'](_0x43b24c){if(!this['_footnotesDefinitions'])return!0x1;let _0x4ab1ef=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xe0dee3=[];for(const _0x4e1cec of this['_footnotesDefinitions']['getChildren']()){const _0x212004=_0x4e1cec['getAttribute']('footnoteId');this['getFootnote'](_0x212004)||(_0xe0dee3['unshift'](_0x4e1cec),_0x4ab1ef=!0x0);}for(const _0x6ac432 of _0xe0dee3)_0x43b24c['remove'](_0x6ac432);}const _0x3ad447=new Set(),_0x1fcd18=[];for(const _0x2d4779 of this['_footnotesDefinitions']['getChildren']()){const _0x107f60=_0x2d4779['getAttribute']('footnoteId');_0x3ad447['has'](_0x107f60)?(_0x1fcd18['unshift'](_0x2d4779),_0x4ab1ef=!0x0):_0x3ad447['add'](_0x107f60);}for(const _0x4b9eae of _0x1fcd18)_0x43b24c['remove'](_0x4b9eae);return this['_footnotesDefinitions']['childCount']||(_0x43b24c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4ab1ef=!0x0),_0x4ab1ef;}['_handleInsertedFootnoteReference'](_0x238d6c,_0x1e3720){if(this['_footnotes']['find'](_0x301bb9=>_0x301bb9['reference']===_0x1e3720))return!0x1;let _0x2266b2=!0x1;const _0x192e44=_0x1e3720['getAttribute']('footnoteId'),_0x11743b=this['_footnotes']['findIndex'](_0x4d0c3a=>_0x4d0c3a['id']===_0x192e44);-0x1!==_0x11743b&&(_0x238d6c['remove'](this['_footnotes'][_0x11743b]['reference']),this['_footnotes']['splice'](_0x11743b,0x1),_0x2266b2=!0x0);let _0x51c927=this['_footnotesDefinitions']?function(_0x283174,_0xc1b6c9){for(const _0x5b32b5 of _0x283174['getChildren']())if(_0x5b32b5['getAttribute']('footnoteId')===_0xc1b6c9)return _0x5b32b5;return null;}(this['_footnotesDefinitions'],_0x192e44):null;_0x51c927||(_0x51c927=_0x238d6c['createElement']('footnoteDefinition',{'footnoteId':_0x192e44}),this['_footnotesDefinitions']&&(_0x238d6c['insert'](_0x51c927,this['_footnotesDefinitions'],'end'),_0x2266b2=!0x0));const _0x18cc53={'id':_0x192e44,'reference':_0x1e3720,'definition':_0x51c927},_0x417d8c=I(this['editor']['model'],this['_footnotes'],_0x1e3720);this['_footnotes']['splice'](_0x417d8c,0x0,_0x18cc53);let _0x9d3244=_0x417d8c;return-0x1!==_0x11743b&&(_0x9d3244=Math['min'](_0x417d8c,_0x11743b)),this['_updateFootnotesCounters'](_0x238d6c,_0x9d3244)&&(_0x2266b2=!0x0),_0x2266b2;}['_handleRemoveFootnoteReferenceById'](_0x1f97ba,_0x12dc2a){const _0x16794b=this['_footnotes']['findIndex'](_0x47f652=>_0x47f652['id']===_0x12dc2a);if(-0x1===_0x16794b)return!0x1;let _0xe6c772=!0x1;const _0x3ea59d=this['_footnotes'][_0x16794b];return'$graveyard'!==_0x3ea59d['definition']['root']['rootName']&&(_0x1f97ba['remove'](_0x3ea59d['definition']),_0xe6c772=!0x0),this['_footnotes']['splice'](_0x16794b,0x1),this['_updateFootnotesCounters'](_0x1f97ba,_0x16794b)&&(_0xe6c772=!0x0),_0xe6c772;}['_handleMovedFootnoteReference'](_0x332472,_0x29dca9){const _0x47d412=_0x29dca9['getAttribute']('footnoteId'),_0x27f83a=this['_footnotes']['findIndex'](_0x161c83=>_0x161c83['id']===_0x47d412),_0xb26dd2=this['_footnotes'][_0x27f83a];let _0x1df451=!0x1;_0xb26dd2['reference']=_0x29dca9,this['_footnotes']['splice'](_0x27f83a,0x1);const _0x42d85e=I(this['editor']['model'],this['_footnotes'],_0x29dca9);return this['_footnotes']['splice'](_0x42d85e,0x0,_0xb26dd2),this['_updateFootnotesCounters'](_0x332472,Math['min'](_0x27f83a,_0x42d85e))&&(_0x1df451=!0x0),_0x1df451;}['_updateFootnoteRefCounter'](_0xa8233e,_0x355ce7){if(!this['_footnotesDefinitions'])return!0x1;const _0x50776b=this['_footnotes'][_0x355ce7];let _0x215886;return _0x215886=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x50776b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x355ce7+0x1}):String(_0x355ce7+0x1),_0x50776b['reference']['getAttribute']('footnoteCounter')!=_0x215886&&(_0xa8233e['setAttribute']('footnoteCounter',_0x215886,_0x50776b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4b76fe){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3f42dc,_0x2ff43b){if(_0x3f42dc['length']!==_0x2ff43b['length'])return!0x1;for(let _0x33e2bc=0x0;_0x33e2bc<_0x3f42dc['length'];_0x33e2bc++)if(_0x3f42dc[_0x33e2bc]!==_0x2ff43b[_0x33e2bc])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x20444e=>_0x20444e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x13ad2e=>_0x13ad2e['getAttribute']('footnoteId'))))return!0x1;let _0x3a2d9b=!0x1;for(let _0x416bef=0x0;_0x416bef<this['_footnotes']['length'];_0x416bef++){const _0x283842=this['_footnotes'][_0x416bef],_0x5c55bf=_0x4b76fe['createPositionBefore'](_0x283842['definition']),_0x2ab92e=_0x4b76fe['createPositionAt'](this['_footnotesDefinitions'],_0x416bef);_0x5c55bf['isEqual'](_0x2ab92e)||(_0x4b76fe['move'](_0x4b76fe['createRangeOn'](_0x283842['definition']),_0x2ab92e),_0x3a2d9b=!0x0);}return _0x3a2d9b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x574d5d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x55e273}=this['editor'];let _0x4a5b59=!0x1;for(let _0x4546a3=0x0;_0x4546a3<this['_footnotes']['length']-0x1;_0x4546a3++){const _0x4111b8=this['_footnotes'][_0x4546a3],_0x2fe61e=this['_footnotes'][_0x4546a3+0x1],_0x27f62d=_0x55e273['createPositionBefore'](_0x4111b8['reference']),_0x31190e=_0x55e273['createPositionBefore'](_0x2fe61e['reference']);'after'===_0x27f62d['compareWith'](_0x31190e)&&(this['_handleMovedFootnoteReference'](_0x574d5d,_0x4111b8['reference']),_0x4546a3=-0x1,_0x4a5b59=!0x0);}return _0x4a5b59;}}function _(_0x5c9969,_0x17a93f,_0x2408c0){if(_0x2408c0['childCount'])return!0x1;const _0xd32cfa=_0x17a93f?'paragraph':'footnoteInlineContent';return _0x5c9969['insert'](_0x5c9969['createElement'](_0xd32cfa),_0x2408c0),!0x0;}function I(_0xb5d3f3,_0x14a908,_0x4dc363){if(0x0===_0x14a908['length'])return 0x0;const _0x234073=_0xb5d3f3['createPositionBefore'](_0x4dc363);for(let _0x48a67a=0x0;_0x48a67a<_0x14a908['length'];_0x48a67a++){const _0x211995=_0x14a908[_0x48a67a],_0x40fc8d=_0xb5d3f3['createPositionBefore'](_0x211995['reference']);if('before'===_0x234073['compareWith'](_0x40fc8d))return _0x48a67a;}const _0x2ea116=_0x4dc363['root'];let _0x395197=-0x1;for(let _0x4fa6ee=_0x14a908['length']-0x1;_0x4fa6ee>=0x0;_0x4fa6ee--)if(_0x14a908[_0x4fa6ee]['reference']['root']===_0x2ea116){_0x395197=_0x4fa6ee;break;}if(-0x1!==_0x395197)return _0x395197+0x1;const _0x47f531=_0xb5d3f3['document']['getRootNames'](),_0x365d89=_0x47f531['indexOf'](_0x2ea116['rootName']),_0x401286=_0x47f531[_0x365d89+0x1];if(_0x401286){for(let _0x3cfa03=0x0;_0x3cfa03<_0x14a908['length'];_0x3cfa03++)if(_0x14a908[_0x3cfa03]['reference']['root']['rootName']===_0x401286)return _0x3cfa03;}return _0x14a908['length'];}class h extends _0x5cd0a0{['refresh'](){const _0x2dc024=this['editor']['model']['document']['selection'],_0x413363=this['_getPositionToInsertFootnote'](_0x2dc024);this['isEnabled']=!!_0x413363;}['execute'](_0x160e39){const {editor:_0x48265f}=this,{model:_0x335240}=_0x48265f,{selection:_0x27803d}=_0x335240['document'],_0x510597=this['_getPositionToInsertFootnote'](_0x27803d);if(!_0x510597)return;const _0x5aca4f=_0x48265f['plugins']['get']('FootnotesEditing'),_0x181269=_0x160e39?.['footnoteId']??_0x2d21b2();!function(_0x2385f7){return'string'==typeof _0x2385f7&&_0x2385f7['length']>0x0&&!/\s/['test'](_0x2385f7)&&!/^\d/['test'](_0x2385f7);}(_0x181269)?_0x29b645('insert-footnote-command-executed-with-invalid-id'):(_0x335240['change'](_0x299df4=>{const _0x3da85b=_0x299df4['createElement']('footnoteRef',{'footnoteId':_0x181269});_0x335240['insertObject'](_0x3da85b,_0x510597,null);}),_0x5aca4f['_moveSelectionToFootnoteDefinition'](_0x181269));}['_getPositionToInsertFootnote'](_0x54a1fd){const {model:_0x561c1a}=this['editor'],{schema:_0x4530d1}=_0x561c1a,_0x369fb3=_0x54a1fd['getFirstRange']();for(const _0x4eb9ad of _0x369fb3['getItems']())if(_0x4530d1['isBlock'](_0x4eb9ad)||_0x4530d1['isObject'](_0x4eb9ad))return null;const _0x57cf29=_0x369fb3['end'];return _0x4530d1['checkChild'](_0x57cf29,'footnoteRef')?_0x57cf29:null;}}class r extends _0xae5732{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d9113}=this;_0x4d9113['config']['define']('footnotes.multiBlock',!0x0),_0x4d9113['commands']['add']('insertFootnote',new h(_0x4d9113)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xc6feb0){const _0x12f065=_0x3cc1bb([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]),_0x5a42b5=0x47a28506,_0x349c03=0x47a5046e^_0x5a42b5,_0x106260=window[_0x3cc1bb([0x44,0x61,0x74,0x65])][_0x3cc1bb([0x6e,0x6f,0x77])](),_0x3dc3f7=_0xc6feb0[_0x3cc1bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xfcb1f6=new window[(_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c73b0=>{_0x3dc3f7[_0x3cc1bb([0x6f,0x6e,0x63,0x65])](_0x3cc1bb([0x72,0x65,0x61,0x64,0x79]),_0x3c73b0);}),_0x5537eb={[_0x3cc1bb([0x6b,0x74,0x79])]:_0x3cc1bb([0x45,0x43]),[_0x3cc1bb([0x75,0x73,0x65])]:_0x3cc1bb([0x73,0x69,0x67]),[_0x3cc1bb([0x63,0x72,0x76])]:_0x3cc1bb([0x50,0x2d,0x32,0x35,0x36]),[_0x3cc1bb([0x78])]:_0x3cc1bb([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]),[_0x3cc1bb([0x79])]:_0x3cc1bb([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]),[_0x3cc1bb([0x61,0x6c,0x67])]:_0x3cc1bb([0x45,0x53,0x32,0x35,0x36])},_0x36223a=_0x3dc3f7[_0x3cc1bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3cc1bb([0x67,0x65,0x74])](_0x3cc1bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8db74b(){let _0x41f2aa,_0x5299cb=null,_0x12ff85=null;try{if(_0x36223a==_0x3cc1bb([0x47,0x50,0x4c]))return _0x3cc1bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41f2aa=_0x45e84e(),!_0x41f2aa)return _0x3cc1bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41f2aa[_0x3cc1bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12ff85=_0x1dba5a(_0x41f2aa[_0x3cc1bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41f2aa[_0x3cc1bb([0x6a,0x74,0x69])])),await _0x24cd63()?_0x1a5553()?_0x5b17b3()?_0x3cc1bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x192338()?(_0x41f2aa[_0x3cc1bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cc1bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5299cb=_0x366335(_0x3cc1bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x57eeda()):_0x3cc1bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3cc1bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3cc1bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3cc1bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b17b3(){const _0x3968ec=[_0x3cc1bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3cc1bb([0x74,0x72,0x69,0x61,0x6c])][_0x3cc1bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41f2aa[_0x3cc1bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x106260/0x3e8:0xe10*_0x349c03;return _0x41f2aa[_0x3cc1bb([0x65,0x78,0x70])]<_0x3968ec;}function _0x1a5553(){const _0x587b56=_0x41f2aa[_0x3cc1bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x587b56&&(!!_0x587b56[_0x3cc1bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc1bb([0x2a]))||!!_0x587b56[_0x3cc1bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc1bb([0x46,0x4f,0x4f])));}function _0x192338(){const _0x270790=_0x41f2aa[_0x3cc1bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x270790||0x0==_0x270790[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x164ac6}=new URL(window[_0x3cc1bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x270790[_0x3cc1bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164ac6))return!0x0;const _0xb2f831=_0x164ac6[_0x3cc1bb([0x73,0x70,0x6c,0x69,0x74])](_0x3cc1bb([0x2e]));return _0x270790[_0x3cc1bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x221737=>_0x221737[_0x3cc1bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc1bb([0x2a])))[_0x3cc1bb([0x6d,0x61,0x70])](_0x2b06e2=>_0x2b06e2[_0x3cc1bb([0x73,0x70,0x6c,0x69,0x74])](_0x3cc1bb([0x2e])))[_0x3cc1bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ee4d4=>_0x3ee4d4[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb2f831[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cc1bb([0x6d,0x61,0x70])](_0x1a2323=>Array(_0xb2f831[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a2323[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cc1bb([0x66,0x69,0x6c,0x6c])](_0x1a2323[0x0]===_0x3cc1bb([0x2a])?_0x3cc1bb([0x2a]):'')[_0x3cc1bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a2323))[_0x3cc1bb([0x73,0x6f,0x6d,0x65])](_0x247aad=>_0xb2f831[_0x3cc1bb([0x65,0x76,0x65,0x72,0x79])]((_0x3bf6dd,_0x17654c)=>_0x247aad[_0x17654c]===_0x3bf6dd||_0x247aad[_0x17654c]===_0x3cc1bb([0x2a])));}function _0x57eeda(){return _0x5299cb&&_0x12ff85?new window[(_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5196ea,_0x4c95d5)=>{_0x5299cb[_0x3cc1bb([0x74,0x68,0x65,0x6e])](_0x5196ea,_0x4c95d5),_0x12ff85[_0x3cc1bb([0x74,0x68,0x65,0x6e])](_0x42df7a=>{_0x42df7a!=_0x3cc1bb([0x56,0x61,0x6c,0x69,0x64])&&_0x5196ea(_0x42df7a);},_0x4c95d5);}):_0x5299cb||_0x12ff85||_0x3cc1bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dba5a(_0x5d5c52,_0x125246){return new window[(_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e7ddc=>{if(_0x3472df())return _0x4e7ddc(_0x3cc1bb([0x56,0x61,0x6c,0x69,0x64]));_0x249c29(),_0x3dc3f7[_0x3cc1bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3cc1bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20326d=!0x1;const _0x27cb0b=_0x2d21b2();function _0x21995b(_0x49efd8){return!!_0x49efd8&&(typeof _0x49efd8===_0x3cc1bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49efd8===_0x3cc1bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49efd8[_0x3cc1bb([0x74,0x68,0x65,0x6e])]===_0x3cc1bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49efd8[_0x3cc1bb([0x63,0x61,0x74,0x63,0x68])]===_0x3cc1bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x353832(_0x19d031){_0x4fb877(_0x19d031)[_0x3cc1bb([0x74,0x68,0x65,0x6e])](_0x520e27=>{if(!_0x520e27||_0x520e27[_0x3cc1bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3cc1bb([0x6f,0x6b]))return _0x3cc1bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x8a0a4f(_0x5089c7(_0x27cb0b+_0x125246))!=_0x520e27[_0x3cc1bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3cc1bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3cc1bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x3cc1bb([0x74,0x68,0x65,0x6e])](_0x322ac8=>(_0x2e1475(),_0x322ac8),()=>{const _0x5ed74e=_0x2fd160();return null==_0x5ed74e?(_0x2e1475(),_0x3cc1bb([0x56,0x61,0x6c,0x69,0x64])):_0x3cc1bb(_0x106260-_0x5ed74e>(0x63ae0106^_0x5a42b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3cc1bb([0x74,0x68,0x65,0x6e])](_0x4e7ddc)[_0x3cc1bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e7ddc(_0x3cc1bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x23a6f0=0x47946b86^_0x5a42b5;function _0x2e1475(){const _0x4345ee=_0x3cc1bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x8a0a4f(_0x5089c7(_0x5d5c52)),_0x5308fd=_0x1811ef(_0x8a0a4f(window[_0x3cc1bb([0x4d,0x61,0x74,0x68])][_0x3cc1bb([0x63,0x65,0x69,0x6c])](_0x106260/_0x23a6f0)));window[_0x3cc1bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cc1bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4345ee,_0x5308fd);}function _0x2fd160(){const _0x475818=_0x3cc1bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x8a0a4f(_0x5089c7(_0x5d5c52)),_0x699e13=window[_0x3cc1bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cc1bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x475818);return _0x699e13?window[_0x3cc1bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1811ef(_0x699e13),0x10)*_0x23a6f0:null;}function _0x4fb877(_0x366bdf){return new window[(_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x47ec33,_0x849e10)=>{_0x366bdf[_0x3cc1bb([0x74,0x68,0x65,0x6e])](_0x47ec33,_0x849e10),window[_0x3cc1bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x849e10,0x47a351c6^_0x5a42b5);});}}_0x3dc3f7[_0x3cc1bb([0x6f,0x6e])](_0x3cc1bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ac17d,_0x1ba845)=>{if(_0x1ba845[0x0]!=_0x5d5c52)return _0x4e7ddc(_0x3cc1bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ba845[0x1]={..._0x1ba845[0x1],[_0x3cc1bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27cb0b};},{[_0x3cc1bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cc1bb([0x68,0x69,0x67,0x68])}),_0x3dc3f7[_0x3cc1bb([0x6f,0x6e])](_0x3cc1bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x188459=>{_0x21995b(_0x188459[_0x3cc1bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20326d=!0x0,_0x353832(_0x188459[_0x3cc1bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3cc1bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cc1bb([0x6c,0x6f,0x77])}),_0xfcb1f6[_0x3cc1bb([0x74,0x68,0x65,0x6e])](()=>{_0x20326d||_0x4e7ddc(_0x3cc1bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3472df(){return _0x3dc3f7[_0x3cc1bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cc1bb([0x76,0x69,0x65,0x77])][_0x3cc1bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3cc1bb([0x61,0x75,0x74,0x6f]);}function _0x249c29(){_0x3dc3f7[_0x3cc1bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cc1bb([0x76,0x69,0x65,0x77])][_0x3cc1bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3cc1bb([0x61,0x75,0x74,0x6f]);}}function _0x366335(_0x382ee0){const _0x3f18a1=[new window[(_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45ee63=>setTimeout(_0x45ee63,0x47abbbca^_0x5a42b5)),_0xfcb1f6[_0x3cc1bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46f308=>{let _0x592815=0x0;_0x3dc3f7[_0x3cc1bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc1bb([0x6f,0x6e])](_0x3cc1bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fabcb,_0x1d1a26)=>{_0x1d1a26[0x0][_0x3cc1bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x592815++,_0x592815==(0x47a280ee^_0x5a42b5)&&(_0x46f308(),_0x1fabcb[_0x3cc1bb([0x6f,0x66,0x66])]());});}))];return window[_0x3cc1bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3cc1bb([0x72,0x61,0x63,0x65])](_0x3f18a1)[_0x3cc1bb([0x74,0x68,0x65,0x6e])](()=>_0x382ee0);}async function _0x323f08(){await _0xfcb1f6,_0x3dc3f7[_0x3cc1bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc1bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x455ac8,_0x3dc3f7[_0x3cc1bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc1bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x455ac8,_0x3dc3f7[_0x3cc1bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc1bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27b1dc(_0x58777f){const _0x3915c0=_0x2ffa1b();_0x3dc3f7[_0x3915c0]=_0x3cc1bb([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58777f,_0x58777f!=_0x3cc1bb([0x56,0x61,0x6c,0x69,0x64])&&_0x323f08();}function _0x2ffa1b(){const _0x1e9032=window[_0x3cc1bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3cc1bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cc1bb([0x6e,0x6f,0x77])]())[_0x3cc1bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cc1bb([0x2e]),'');let _0x4e136a=_0x3cc1bb([0x75]);for(let _0x597751=0x0;_0x597751<_0x1e9032[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x597751+=0x2){let _0x3960a1=window[_0x3cc1bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e9032[_0x3cc1bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x597751,_0x597751+0x2));_0x3960a1>=_0x12f065[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3960a1-=_0x12f065[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e136a+=_0x12f065[_0x3960a1];}return _0x4e136a;}function _0x45e84e(){const _0x276e79=_0x36223a[_0x3cc1bb([0x73,0x70,0x6c,0x69,0x74])](_0x3cc1bb([0x2e]));if(0x3!=_0x276e79[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33eb9b(_0x276e79[0x1]);function _0x33eb9b(_0x31f08b){const _0x3f9316=_0x324bab(_0x31f08b);return _0x3f9316&&_0x4455ef()?_0x3f9316:null;function _0x4455ef(){const _0x543278=_0x3f9316[_0x3cc1bb([0x6a,0x74,0x69])],_0x2286c9=window[_0x3cc1bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x543278[_0x3cc1bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x543278[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35ab4e={..._0x3f9316,[_0x3cc1bb([0x6a,0x74,0x69])]:_0x543278[_0x3cc1bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x543278[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35ab4e[_0x3cc1bb([0x76,0x63])],_0x5089c7(_0x35ab4e)==_0x2286c9;}}}async function _0x24cd63(){let _0x3a0882=!0x0;try{const _0x15d367=_0x36223a[_0x3cc1bb([0x73,0x70,0x6c,0x69,0x74])](_0x3cc1bb([0x2e])),[_0x370abc,_0x514bbe,_0x3dc73b]=_0x15d367;return _0x3159d4(_0x370abc),await _0xb33d53(_0x370abc,_0x514bbe,_0x3dc73b),_0x3a0882;}catch{return!0x1;}function _0x3159d4(_0x417cfb){const _0x134ad1=_0x324bab(_0x417cfb);_0x134ad1&&_0x134ad1[_0x3cc1bb([0x61,0x6c,0x67])]==_0x3cc1bb([0x45,0x53,0x32,0x35,0x36])||(_0x3a0882=!0x1);}async function _0xb33d53(_0x2f3d6b,_0x53bdaa,_0x3d6e75){const _0x484e54=window[_0x3cc1bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3cc1bb([0x66,0x72,0x6f,0x6d])](_0x5e8257(_0x3d6e75),_0x30d07d=>_0x30d07d[_0x3cc1bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47d448=new window[(_0x3cc1bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3cc1bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2f3d6b+_0x3cc1bb([0x2e])+_0x53bdaa),_0x147db5=window[_0x3cc1bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3cc1bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x147db5)return;const _0x569805=await _0x147db5[_0x3cc1bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3cc1bb([0x6a,0x77,0x6b]),_0x5537eb,{[_0x3cc1bb([0x6e,0x61,0x6d,0x65])]:_0x3cc1bb([0x45,0x43,0x44,0x53,0x41]),[_0x3cc1bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3cc1bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3cc1bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x147db5[_0x3cc1bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3cc1bb([0x6e,0x61,0x6d,0x65])]:_0x3cc1bb([0x45,0x43,0x44,0x53,0x41]),[_0x3cc1bb([0x68,0x61,0x73,0x68])]:{[_0x3cc1bb([0x6e,0x61,0x6d,0x65])]:_0x3cc1bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x569805,_0x484e54,_0x47d448)||(_0x3a0882=!0x1);}}function _0x324bab(_0xdf703){return _0xdf703[_0x3cc1bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3cc1bb([0x65,0x79]))?JSON[_0x3cc1bb([0x70,0x61,0x72,0x73,0x65])](_0x5e8257(_0xdf703)):null;}function _0x5e8257(_0x3486b6){return window[_0x3cc1bb([0x61,0x74,0x6f,0x62])](_0x3486b6[_0x3cc1bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3cc1bb([0x2b]))[_0x3cc1bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3cc1bb([0x2f])));}function _0x5089c7(_0x563887){let _0x464536=0x1505;function _0x57f1cb(_0x15cca1){for(let _0x1d64ca=0x0;_0x1d64ca<_0x15cca1[_0x3cc1bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d64ca++){const _0x41e35e=_0x15cca1[_0x3cc1bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d64ca);_0x464536=(_0x464536<<0x5)+_0x464536+_0x41e35e,_0x464536&=_0x464536;}}function _0x190ac9(_0x361bad){Array[_0x3cc1bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x361bad)?_0x361bad[_0x3cc1bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x190ac9):_0x361bad&&typeof _0x361bad==_0x3cc1bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3cc1bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x361bad)[_0x3cc1bb([0x73,0x6f,0x72,0x74])]()[_0x3cc1bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9328e8,_0x142966])=>{_0x57f1cb(_0x9328e8),_0x190ac9(_0x142966);}):_0x57f1cb(window[_0x3cc1bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x361bad));}return _0x190ac9(_0x563887),_0x464536>>>0x0;}function _0x8a0a4f(_0x4cb4d1){return _0x4cb4d1[_0x3cc1bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3cc1bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3cc1bb([0x30]));}function _0x1811ef(_0x3f4078){return _0x3f4078[_0x3cc1bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3cc1bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3cc1bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x455ac8(){}function _0x3cc1bb(_0x51cab3){return _0x51cab3['map'](_0x139663=>String['fromCharCode'](_0x139663))['join']('');}_0x27b1dc(await _0x8db74b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b8501){const {plugins:_0x5daedf,editing:_0x476b4f,model:_0x47a99a}=this['editor'],_0x496c01=_0x5daedf['get'](f)['getFootnote'](_0x4b8501);return!!_0x496c01&&(_0x47a99a['change'](_0x37f416=>{_0x37f416['setSelection'](_0x37f416['createPositionAt'](_0x496c01['definition'],'end'));}),_0x476b4f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xba6aa5){const {plugins:_0x2f52c4,editing:_0x9fe79d,model:_0x5b5df7}=this['editor'],_0x561750=_0x2f52c4['get'](f)['getFootnote'](_0xba6aa5);return!!_0x561750&&(_0x5b5df7['change'](_0x373701=>{_0x373701['setSelection'](_0x561750['reference'],'on');}),_0x9fe79d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x9be18e}=this['editor']['model'],_0x502b6b=this['editor']['config']['get']('footnotes.multiBlock');_0x9be18e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x9be18e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x9be18e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x502b6b?_0x9be18e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x9be18e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x9be18e['addChildCheck'](_0x5e3f08=>{for(const _0x19a559 of _0x5e3f08)if('footnoteDefinition'===_0x19a559['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x42382a}=this,{conversion:_0x2855cb,editing:_0x47ce60}=_0x42382a,{t:t}=_0x42382a['locale'];_0x2855cb['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2aa644,{writer:_0x258769,consumable:_0x3cb4f2})=>{const _0x41ec1e=_0x2aa644['getChild'](0x0);if(!_0x41ec1e||!_0x41ec1e['is']('element','a'))return null;const _0x2867a5=_0x41ec1e['getAttribute']('href')||'';if(!_0x2867a5['startsWith']('#'))return null;const _0x32ad9d=_0x2867a5['replace'](/^#/,'');if(!_0x32ad9d)return null;_0x3cb4f2['consume'](_0x41ec1e,{'name':!0x0,'attributes':['href']});for(const {item:_0x36a535}of _0x47ce60['view']['createRangeIn'](_0x41ec1e))_0x36a535['is']('$textProxy')?_0x3cb4f2['consume'](_0x36a535['textNode'],{'name':!0x0}):_0x36a535['is']('element')&&_0x3cb4f2['consume'](_0x36a535,{'name':!0x0});return _0x258769['createElement']('footnoteRef',{'footnoteId':_0x32ad9d});}}),_0x2855cb['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c21fe,{writer:_0xb24fbf})=>b(_0x2c21fe,_0xb24fbf)}),_0x2855cb['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x43127d,{writer:_0x23a6ac})=>{const _0xa8fda8=_0x43127d['getAttribute']('footnoteCounter');return _0x2ebadd(b(_0x43127d,_0x23a6ac),_0x23a6ac,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xa8fda8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5a1ed4}=this,{t:t}=_0x5a1ed4['locale'],{conversion:_0x3a8ae3}=_0x5a1ed4;_0x3a8ae3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3a8ae3['for']('upcast')['add'](_0x4e99c7=>{_0x4e99c7['on']('element:ol',(_0x53da71,_0x4e3c79,_0x1bb9b1)=>{const _0x4b3dbb=_0x4e3c79['viewItem'];if(!_0x4b3dbb['hasClass']('footnotes-list')||!_0x4e3c79['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1bb9b1['consumable']['consume'](_0x4b3dbb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x37d616,modelCursor:_0x2d0664}=_0x1bb9b1['convertChildren'](_0x4e3c79['viewItem'],_0x4e3c79['modelCursor']);_0x4e3c79['modelRange']=_0x37d616,_0x4e3c79['modelCursor']=_0x2d0664;}),_0x4e99c7['on']('element:hr',(_0x4542a5,_0x3f3f64,_0x50883f)=>{const _0x137b1b=_0x3f3f64['viewItem'];_0x137b1b['hasClass']('footnotes-divider')&&_0x3f3f64['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x50883f['consumable']['consume'](_0x137b1b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3a8ae3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xab0cb0,{writer:_0x528292})=>D(_0x528292)}),_0x3a8ae3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x511ebd,{writer:_0x11da47})=>{const _0x287a79=D(_0x11da47,{'data-footnotes-list-label':t('Footnotes')}),_0x1c90b=_0x2ebadd(_0x287a79,_0x11da47,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x11da47['setCustomProperty']('footnotesDefinitions',!0x0,_0x1c90b),_0x1c90b;}});}['_defineDefinitionConverters'](){const {editor:_0x4aede9}=this,{conversion:_0x13aafa,locale:_0x426a7a}=_0x4aede9,_0x520d1e=_0x4aede9['config']['get']('footnotes.multiBlock');_0x13aafa['for']('upcast')['add'](_0x2e6ff7=>{_0x2e6ff7['on']('element:li',(_0xf50343,_0x3ac376,_0x3ab053)=>{const _0x3949b1=_0x3ac376['viewItem'];if(!_0x3949b1['hasClass']('footnote-definition')||!_0x3949b1['getAttribute']('id'))return;const _0x2cb139=_0x3949b1['parent'];if(!_0x2cb139['is']('element','ol')||!_0x2cb139['hasClass']('footnotes-list'))return;if(!_0x3ab053['consumable']['test'](_0x3949b1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x350473=_0x3ab053['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3949b1['getAttribute']('id')});if(!_0x3ab053['safeInsert'](_0x350473,_0x3ac376['modelCursor']))return;_0x3ab053['consumable']['consume'](_0x3949b1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x18cec7=Array['from'](_0x3949b1['getChildren']())['find'](_0x9d3b48=>_0x9d3b48['is']('element')&&_0x9d3b48['hasClass']('footnote-content'));for(const _0x38c2a1 of _0x3949b1['getChildren']())_0x38c2a1['is']('element')&&(_0x3ab053['consumable']['consume'](_0x38c2a1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3ab053['consumable']['consume'](_0x38c2a1,{'name':!0x0,'classes':'footnote-content'}));if(_0x18cec7){if(_0x520d1e)_0x3ab053['convertChildren'](_0x18cec7,_0x350473);else{const _0x4b3f77=_0x3ab053['writer']['createElement']('footnoteInlineContent');_0x3ab053['writer']['insert'](_0x4b3f77,_0x350473),_0x3ab053['convertChildren'](_0x18cec7,_0x4b3f77);}}_0x3ab053['updateConversionResult'](_0x350473,_0x3ac376);});}),_0x13aafa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x211666,{writer:_0xfb107c})=>y(_0x211666,_0xfb107c,_0x426a7a,{'dataPipeline':!0x0})}),_0x13aafa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18dca3,{writer:_0x2219e0})=>y(_0x18dca3,_0x2219e0,_0x426a7a)});}['_defineBogusParagraphConverters'](){const {editor:_0x5d14e8}=this,{conversion:_0x49e1e0}=_0x5d14e8;_0x5d14e8['config']['get']('footnotes.multiBlock')?(_0x49e1e0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x49e1e0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5d14e8['model']['document'],'change:data',()=>{!function(_0x473f0e,_0x2ced49){const _0x4c0a1a=_0x473f0e['document']['differ'],_0x2841cd=new Set();for(const _0xa9f37e of _0x4c0a1a['getChanges']()){const _0x321add='attribute'==_0xa9f37e['type']?_0xa9f37e['range']['start']['parent']:_0xa9f37e['position']['parent'];_0x321add['is']('element','footnoteDefinition')&&_0x2841cd['add'](_0x321add);}for(const _0x43da68 of _0x2841cd['values']()){const _0x257960=Array['from'](_0x43da68['getChildren']())['filter'](_0x540a0c=>v(_0x540a0c,_0x2ced49['mapper']));for(const _0x394e4a of _0x257960)_0x2ced49['reconvertItem'](_0x394e4a);}}(_0x5d14e8['model'],_0x5d14e8['editing']);})):(_0x49e1e0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x49e1e0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1ae4b7,{writer:_0x682dce})=>{const _0x2ebd92=_0x682dce['createContainerElement']('span');return _0x682dce['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2ebd92),_0x2ebd92;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2f121b}=this,{editing:_0xd0867d,t:t}=_0x2f121b,_0x302738=_0x2f121b['model']['document']['selection'];_0x2f121b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2f121b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xd0867d['view']['document'],'enter',(_0x565713,_0x473ecb)=>{const _0x3bd2ec=function(_0x2b8376){const _0x91eb6e=_0x2b8376['getSelectedElement']();if(_0x91eb6e?.['is']('element','footnoteRef'))return _0x91eb6e;return null;}(_0x302738);if(_0x3bd2ec){const _0x148992=_0x3bd2ec['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x148992),_0x473ecb['preventDefault'](),_0x565713['stop']();}},{'context':_0x521fba});}['_defineClickHandlers'](){const {editor:_0x39a73a}=this,{editing:_0x34efdc}=_0x39a73a;_0x39a73a['editing']['view']['addObserver'](_0x4fcbb1),_0x39a73a['editing']['view']['addObserver'](_0x515eea);let _0x47d4b0=!0x1;this['listenTo'](_0x34efdc['view']['document'],'pointerdown',(_0x3a774a,_0x94b200)=>{const {target:_0x14ae4f}=_0x94b200,_0x3b9d59=_0x34efdc['view']['document']['selection'];_0x47d4b0=!!(_0x14ae4f?.['is']('element','a')&&_0x14ae4f['parent']?.['is']('element','sup')&&_0x14ae4f['parent']['hasClass']('footnote'))&&_0x3b9d59['getSelectedElement']()===_0x14ae4f['parent'];},{'priority':'high'}),this['listenTo'](_0x34efdc['view']['document'],'click',(_0x13c8a1,_0x5056c3)=>{const {target:_0x21dd57}=_0x5056c3;if(!_0x21dd57?.['is']('element','a'))return;if(_0x21dd57['parent']?.['is']('element','sup')&&_0x21dd57['parent']['hasClass']('footnote')&&!_0x47d4b0)return void _0x5056c3['preventDefault']();let _0x41973f=_0x21dd57['getAttribute']('href');if(!_0x41973f?.['startsWith']('#'))return;_0x41973f=_0x41973f['slice'](0x1);let _0x21139e=!0x1;(_0x41973f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x41973f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x41973f))&&(_0x21139e=!0x0),_0x21139e&&(_0x5056c3['preventDefault'](),_0x13c8a1['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x536364}={}){return(_0x17d5c1,{writer:_0x1b8fe9})=>{if(!g(_0x17d5c1))return null;if(!_0x536364)return _0x1b8fe9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4279c0=_0x1b8fe9['createContainerElement']('p');return _0x1b8fe9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4279c0),_0x4279c0;};}function g(_0x43fa28){const {parent:_0x1870ca}=_0x43fa28;if(!_0x1870ca?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1870ca['childCount'])return!0x1;for(const _0x44a7e0 of _0x43fa28['getAttributeKeys']())if(!_0x44a7e0['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x44a7e0)return!0x1;return!0x0;}function v(_0x401efa,_0x13e72d){if(!_0x401efa['is']('element','paragraph'))return!0x1;const _0x219e76=_0x13e72d['toViewElement'](_0x401efa);return!!_0x219e76&&g(_0x401efa)!==_0x219e76['is']('element','span');}function Q(_0xf4c67f){return _0x521fba(_0xf4c67f)&&_0xf4c67f['is']('containerElement')&&!!_0xf4c67f['getCustomProperty']('footnotesDefinitions');}function D(_0x4ad6cf,_0xecb68e={}){const _0x5d0c01=_0x4ad6cf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x44f473=_0x4ad6cf['createContainerElement']('ol',{'class':'footnotes-list'},_0x4ad6cf['createSlot']());return _0x4ad6cf['createContainerElement']('div',{'class':'footnotes',..._0xecb68e},[_0x5d0c01,_0x44f473]);}function b(_0x27297e,_0x4ad165){const _0x376c11=_0x27297e['getAttribute']('footnoteId'),_0x29c6f8=_0x27297e['getAttribute']('footnoteCounter'),_0x4106df=_0x4ad165['createUIElement']('a',{'href':'#'+_0x376c11},function(_0x132ab6){const _0x17ca05=this['toDomElement'](_0x132ab6);return _0x17ca05['textContent']=_0x29c6f8,_0x17ca05;}),_0x18e9dc=_0x4ad165['createContainerElement']('sup',{'id':'ref-'+_0x376c11,'class':'footnote'},[_0x4106df]);return _0x18e9dc['getFillerOffset']=()=>null,_0x18e9dc;}function y(_0x633ab2,_0x41b074,_0x11ba97,{dataPipeline:_0xfd75b8}={}){const {t:t}=_0x11ba97,_0x14ae1b=_0x633ab2['getAttribute']('footnoteId'),_0x5a7d1f=_0x41b074['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x14ae1b},function(_0x5bf2ed){const _0x22e0f2=this['toDomElement'](_0x5bf2ed);return _0x22e0f2['innerText']='^',_0x22e0f2;}),_0x2af36b=_0xfd75b8?_0x41b074['createContainerElement']('div',{'class':'footnote-content'}):_0x4e1011(_0x41b074['createEditableElement']('div',{'class':'footnote-content'}),_0x41b074,{'label':t('Footnote\x20content.')});return _0x41b074['insert'](_0x41b074['createPositionAt'](_0x2af36b,0x0),_0x41b074['createSlot']()),_0x41b074['createContainerElement']('li',{'class':'footnote-definition','id':_0x14ae1b},[_0x5a7d1f,_0x2af36b]);}class e extends _0xae5732{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x26db3c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x154a8d}=this,{plugins:_0x47b702,model:_0x309892}=_0x154a8d,_0x3dabde=_0x47b702['get'](_0x26db3c),_0xfcdd98=_0x47b702['get'](f);this['listenTo'](_0x3dabde,'outputTransformation',(_0x232118,_0xc7a8c6)=>{const _0x1003dd=l(_0x309892['createRangeIn'](_0xc7a8c6['content']));if(!_0x1003dd['length'])return;const _0x46bd88=_0xfcdd98['getFootnotes'](),_0x31fe19=_0x1003dd['reduce']((_0x4b4926,_0x4dbdf6)=>{const _0x6bbdac=_0x46bd88['find'](_0x3b6b3a=>_0x3b6b3a['id']===_0x4dbdf6);if(_0x6bbdac){const _0x5b84c1=_0x154a8d['data']['toView'](_0x6bbdac['definition'],{'isClipboardPipeline':!0x0}),_0x525738=_0x154a8d['data']['htmlProcessor']['toData'](_0x5b84c1);_0x4b4926[_0x6bbdac['id']]=_0x525738;}return _0x4b4926;},Object['create'](null));_0xc7a8c6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x31fe19));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x49e5d5}=this,{model:_0x3b14f5,plugins:_0x1e88e4}=_0x49e5d5,{view:_0x1f9bf7}=_0x49e5d5['editing'],_0x1f3de9=_0x1e88e4['get'](_0x26db3c),_0x3c1908=_0x1e88e4['get'](f),_0x2ea31f=_0x49e5d5['config']['get']('footnotes.multiBlock');let _0x1443d2=null;this['listenTo'](_0x1f9bf7['document'],'clipboardInput',(_0x4b0eb8,_0x4b9c6e)=>{const _0x19e0b2=_0x4b9c6e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1443d2=_0x19e0b2?JSON['parse'](_0x19e0b2):null;}),this['listenTo'](_0x1f3de9,'contentInsertion',(_0x2426dd,_0x5917f5)=>{const _0x5ce816=_0x5917f5['sourceEditorId']===this['editor']['id'];_0x5ce816&&'drop'===_0x5917f5['method']||_0x3b14f5['change'](_0x17db8f=>{let _0x1cf48d=_0x3c1908['getFootnotesDefinitionsObjectElement']();const _0x3445eb=!!_0x1cf48d&&Array['from'](_0x3b14f5['document']['selection']['getSelectedBlocks']())['includes'](_0x1cf48d);if(!_0x1443d2&&function(_0x2c5d30){for(const {item:_0x303424}of _0x2c5d30)if(_0x303424['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3b14f5['createRangeIn'](_0x5917f5['content']))&&(_0x1443d2=function(_0x51966c,_0x366b61){const _0x1536dd=c(_0x51966c,_0x366b61);if(!_0x1536dd)return null;const _0x59fb89=Object['create'](null);for(const _0x10eec5 of _0x1536dd['getChildren']())_0x10eec5['is']('element','footnoteDefinition')&&_0x10eec5['hasAttribute']('footnoteId')&&(_0x59fb89[_0x10eec5['getAttribute']('footnoteId')]=_0x51966c['cloneElement'](_0x10eec5,!0x0));return Object['keys'](_0x59fb89)['length']?_0x59fb89:null;}(_0x17db8f,_0x5917f5['content'])),(_0x1cf48d&&!_0x3445eb||!_0x1cf48d&&!_0x1443d2)&&function(_0x4150f7,_0x3d7033){const _0x369f9b=[];for(const {item:_0x4f9e03}of _0x4150f7['createRangeIn'](_0x3d7033))_0x4f9e03['is']('element','footnotesDefinitions')&&_0x369f9b['push'](_0x4f9e03);for(const _0x25786f of _0x369f9b)_0x4150f7['remove'](_0x25786f);}(_0x17db8f,_0x5917f5['content']),!_0x1443d2)return;const {selection:_0x526224}=_0x3b14f5['document'],_0x109b74=_0x526224['getFirstRange']()['root'];_0x1cf48d&&!_0x3445eb||(_0x1cf48d=c(_0x17db8f,_0x5917f5['content']),_0x1cf48d||=_0x3c1908['_insertEmptyFootnotesDefinitionsContainer'](_0x17db8f,_0x109b74));const _0x59bbad=Array['from'](_0x526224['getRanges']())['flatMap'](l),_0x5e7f1b=function(_0xe24b38,_0x569a7f,_0xad8d23){const _0x3e9639=Object['create'](null);for(const {item:_0x43253f}of _0xe24b38['createRangeIn'](_0x569a7f))if(_0x43253f['is']('element','footnoteRef')){const _0x2dbfb6=_0x43253f['getAttribute']('footnoteId');if(!_0xad8d23(_0x2dbfb6))continue;_0x3e9639[_0x2dbfb6]||(_0x3e9639[_0x2dbfb6]=_0x2d21b2()),_0xe24b38['setAttribute']('footnoteId',_0x3e9639[_0x2dbfb6],_0x43253f);}return _0x3e9639;}(_0x17db8f,_0x5917f5['content'],_0x396f8d=>{if(!_0x5ce816)return!0x0;return!!_0x3c1908['getFootnote'](_0x396f8d)&&!_0x59bbad['includes'](_0x396f8d);});for(const [_0x439b74,_0x133077]of Object['entries'](_0x1443d2)){const _0x58eefe=_0x5e7f1b[_0x439b74]||_0x439b74;let _0x210865;if('string'!=typeof _0x133077)_0x210865=_0x133077,_0x58eefe!==_0x439b74&&_0x17db8f['setAttribute']('footnoteId',_0x58eefe,_0x210865);else{_0x210865=_0x17db8f['createElement']('footnoteDefinition',{'footnoteId':_0x58eefe});const _0x2e19b6=_0x49e5d5['data']['htmlProcessor']['toView'](_0x133077);let _0x44a84b;if(_0x2ea31f)_0x44a84b=_0x49e5d5['data']['toModel'](_0x2e19b6,_0x210865);else{_0x44a84b=_0x17db8f['createElement']('footnoteInlineContent');const _0x1363a2=_0x49e5d5['data']['toModel'](_0x2e19b6,_0x44a84b);_0x17db8f['insert'](_0x1363a2,_0x44a84b);}_0x17db8f['append'](_0x44a84b,_0x210865);}_0x17db8f['insert'](_0x210865,_0x1cf48d,'end');}_0x1443d2=null;});});}}function c(_0x5446b7,_0x1bd941){for(const {item:_0x2c79ed}of _0x5446b7['createRangeIn'](_0x1bd941))if(_0x2c79ed['is']('element','footnotesDefinitions'))return _0x2c79ed;return null;}function l(_0x397d12){const _0x467b3a=new Set();for(const {item:_0x55c3b3}of _0x397d12)_0x55c3b3['is']('element','footnoteRef')&&_0x467b3a['add'](_0x55c3b3['getAttribute']('footnoteId'));return Array['from'](_0x467b3a);}class i extends _0xae5732{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xeb2864}=this,{componentFactory:_0x39dc79}=_0xeb2864['ui'];_0x39dc79['add']('insertFootnote',E(_0xeb2864,_0x2c789d)),_0x39dc79['add']('menuBar:insertFootnote',E(_0xeb2864,_0x4c9c5c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1dfb6d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5c73fc;for(const _0x5566eb in _0x1dfb6d){const _0x124821=_0x5566eb,_0x5e950f=_0x1dfb6d[_0x124821];if('footnotesLicenseKeyValid'==_0x5e950f||'footnotesLicenseKeyInvalid'==_0x5e950f||'footnotesLicenseKeyExpired'==_0x5e950f||'footnotesLicenseKeyDomainLimit'==_0x5e950f||'footnotesLicenseKeyNotAllowed'==_0x5e950f||'footnotesLicenseKeyEvaluationLimit'==_0x5e950f||'footnotesLicenseKeyUsageLimit'==_0x5e950f){delete _0x1dfb6d[_0x124821],_0x5c73fc=_0x5e950f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5c73fc&&_0x1dfb6d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5c73fc&&_0x1dfb6d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5c73fc&&_0x1dfb6d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5c73fc&&_0x1dfb6d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5c73fc&&_0x1dfb6d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5c73fc&&_0x1dfb6d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x913e9b,_0x256f44){const _0x50b96e=_0x913e9b['commands']['get']('insertFootnote');return _0x5540ac=>{const {t:t}=_0x5540ac,_0x220ace=new _0x256f44(_0x5540ac),_0x4c4bf5=_0x220ace instanceof _0x4c9c5c;return _0x220ace['bind']('isEnabled')['to'](_0x50b96e,'isEnabled'),_0x220ace['set']({'label':t(_0x4c4bf5?'Footnote':'Insert\x20footnote'),'icon':_0x58d7dc,'tooltip':!0x0}),_0x220ace['on']('execute',()=>{_0x50b96e['execute'](),_0x913e9b['editing']['view']['focus']();}),_0x220ace;};}class lt extends _0xae5732{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x5cd0a0{['refresh'](){const {editor:_0x158013}=this,_0x137d35=_0x158013['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x137d35,this['value']=_0x137d35?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1aa100}){const {editor:_0x405306}=this,_0x2bb27e=_0x405306['plugins']['get'](f),_0x578ecf=_0x2bb27e['getFootnotesDefinitionsObjectElement']();_0x578ecf&&W['includes'](_0x1aa100)&&_0x405306['model']['change'](_0x1b62ba=>{_0x1b62ba['setAttribute']('footnotesListStyle',_0x1aa100,_0x578ecf),_0x2bb27e['_updateFootnotesCounters'](_0x1b62ba);});}}class C extends _0x5cd0a0{['refresh'](){const {editor:_0x44fd0c}=this,_0x1f6e0b=_0x44fd0c['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1f6e0b,this['value']=_0x1f6e0b?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x374348}){const {editor:_0x1f61dc}=this,_0x35ff9d=_0x1f61dc['plugins']['get'](f),_0x32845a=_0x35ff9d['getFootnotesDefinitionsObjectElement']();_0x32845a&&Number['isInteger'](_0x374348)&&_0x1f61dc['model']['change'](_0x132fcf=>{_0x132fcf['setAttribute']('footnotesListStart',_0x374348,_0x32845a),_0x35ff9d['_updateFootnotesCounters'](_0x132fcf);});}}class P extends _0xae5732{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b6fe7}=this;_0x1b6fe7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1b6fe7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1b6fe7['commands']['add']('footnotesStyle',new S(_0x1b6fe7)),_0x1b6fe7['commands']['add']('footnotesStart',new C(_0x1b6fe7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x249c54}=this,{schema:_0x3a22a1}=_0x249c54['model'];_0x3a22a1['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x44b596}=this,{conversion:_0x33fefb,model:_0xd7515f}=_0x44b596,{schema:_0x391776}=_0xd7515f;_0x33fefb['for']('upcast')['add'](_0x2acb87=>{_0x2acb87['on']('element:ol',(_0x55ee56,_0x5c29c5,_0x77f22)=>{const _0x134da0=_0x5c29c5['viewItem'],_0x57aa83=_0x5c29c5['modelCursor']?.['parent'];_0x134da0['hasClass']('footnotes-list')&&_0x57aa83?.['is']('element','footnotesDefinitions')&&(function(_0x4d783e,_0x3c5383,_0x539494,_0x428633){if(!_0x428633['checkAttribute'](_0x3c5383,'footnotesListStart'))return;let _0x261471=0x1;const _0x1576a5=_0x539494['consumable']['consume'](_0x4d783e,{'attributes':'start'});if(_0x1576a5){const _0xe7f47a=Number['parseInt'](_0x4d783e['getAttribute']('start'),0xa);Number['isNaN'](_0xe7f47a)||(_0x261471=_0xe7f47a);}!_0x1576a5&&_0x3c5383['hasAttribute']('footnotesListStart')||_0x539494['writer']['setAttribute']('footnotesListStart',_0x261471,_0x3c5383);}(_0x134da0,_0x57aa83,_0x77f22,_0x391776),function(_0x58c427,_0x5c57e7,_0x250259,_0x22b07f){if(!_0x22b07f['checkAttribute'](_0x5c57e7,'footnotesListStyle'))return;let _0xc708f0='decimal',_0x12e61c=!0x1;if(_0x250259['consumable']['consume'](_0x58c427,{'attributes':'type'})){const _0x4c71d9={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x58c427['getAttribute']('type')];_0x4c71d9&&(_0xc708f0=_0x4c71d9),_0x12e61c=!0x0;}_0x250259['consumable']['consume'](_0x58c427,{'styles':'list-style-type'})&&(_0xc708f0=function(_0x5e8d45){switch(_0x5e8d45){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5e8d45;}}(_0x58c427['getStyle']('list-style-type')),_0x12e61c=!0x0),!_0x12e61c&&_0x5c57e7['hasAttribute']('footnotesListStyle')||_0x250259['writer']['setAttribute']('footnotesListStyle',_0xc708f0,_0x5c57e7);}(_0x134da0,_0x57aa83,_0x77f22,_0x391776));});}),_0x33fefb['for']('downcast')['add'](_0x357f22=>{_0x357f22['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3c683a,_0x3b3b62,_0x4ebe12)=>{if(!_0x4ebe12['consumable']['consume'](_0x3b3b62['item'],_0x3c683a['name']))return;const _0x5df1ad=M(_0x3b3b62['item'],_0x4ebe12['mapper']),{attributeNewValue:_0x8a76cc}=_0x3b3b62;null==_0x8a76cc||0x1===_0x8a76cc?_0x4ebe12['writer']['removeAttribute']('start',_0x5df1ad):_0x4ebe12['writer']['setAttribute']('start',String(_0x8a76cc),_0x5df1ad);}),_0x357f22['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x10c31d,_0x10c9b3,_0x4c33bf)=>{if(!_0x4c33bf['consumable']['consume'](_0x10c9b3['item'],_0x10c31d['name']))return;const _0x786bed=M(_0x10c9b3['item'],_0x4c33bf['mapper']),{attributeNewValue:_0x83012c}=_0x10c9b3;_0x83012c&&'decimal'!==_0x83012c?_0x4c33bf['writer']['setStyle']('list-style-type',_0x83012c,_0x786bed):_0x4c33bf['writer']['removeStyle']('list-style-type',_0x786bed);});});}['_definePostfixer'](){const {editor:_0x1f5840}=this,{model:_0x306843}=_0x1f5840,_0xbbe8d8=_0x1f5840['plugins']['get'](f),_0x609844=this['_getDefaultListStyle'](),_0x2f3453=this['_getDefaultStartIndex']();_0x306843['document']['registerPostFixer'](_0x2126aa=>{const _0x210104=_0x306843['document']['differ']['getChanges']();let _0xc156ef=!0x1;for(const _0x366006 of _0x210104){if('insert'!==_0x366006['type']||'$text'===_0x366006['name'])continue;const _0x4d0e10=_0x306843['createRangeOn'](_0x366006['position']['nodeAfter']);for(const _0x1e9057 of _0x4d0e10['getItems']())_0x1e9057['is']('element','footnotesDefinitions')&&(!_0x1e9057['hasAttribute']('footnotesListStart')&&_0x306843['schema']['checkAttribute'](_0x1e9057,'footnotesListStart')&&(_0x2126aa['setAttribute']('footnotesListStart',_0x2f3453,_0x1e9057),_0xc156ef=!0x0),!_0x1e9057['hasAttribute']('footnotesListStyle')&&_0x306843['schema']['checkAttribute'](_0x1e9057,'footnotesListStyle')&&(_0x2126aa['setAttribute']('footnotesListStyle',_0x609844,_0x1e9057),_0xc156ef=!0x0));}return _0xc156ef&&_0xbbe8d8['_updateFootnotesCounters'](_0x2126aa),_0xc156ef;});}['_defineFormatter'](){const {editor:_0x3e071b}=this;_0x3e071b['plugins']['get'](f)['setFootnoteFormatter'](_0x5e3987=>this['_formatFootnoteListValue'](_0x5e3987));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5d2d59,value:_0xa2b257,digits:_0x502c80}){const _0x42bad5=_0x5d2d59['getAttribute']('footnotesListStyle'),_0x1a7283=_0x5d2d59['getAttribute']('footnotesListStart'),_0x325311=Math['floor'](_0xa2b257)+(_0x1a7283??0x1)-0x1;switch(_0x42bad5){case'decimal-leading-zero':return function(_0x1a6c23,_0x190906){return String(_0x1a6c23)['padStart'](_0x190906,'0');}(_0x325311,Math['max'](0x2,_0x502c80));case'lower-alpha':case'lower-latin':return N(_0x325311,!0x1);case'upper-alpha':case'upper-latin':return N(_0x325311,!0x0);case'lower-roman':return X(_0x325311,!0x1);case'upper-roman':return X(_0x325311,!0x0);default:return String(_0x325311);}}}function M(_0x5b5548,_0x2361d2){const _0x3f8392=_0x2361d2['toViewElement'](_0x5b5548);return Array['from'](_0x3f8392['getChildren']())['find'](_0x28b692=>_0x28b692['is']('element','ol')&&_0x28b692['hasClass']('footnotes-list'));}function N(_0x34511a,_0x3fcc8){let _0x5e08bc='',_0x1e21e7=_0x34511a;for(;_0x1e21e7>0x0;){const _0x44abbc=(_0x1e21e7-0x1)%0x1a;_0x5e08bc=String['fromCharCode'](0x61+_0x44abbc)+_0x5e08bc,_0x1e21e7=Math['floor']((_0x1e21e7-0x1)/0x1a);}return _0x3fcc8?_0x5e08bc['toUpperCase']():_0x5e08bc;}const V=[{'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 X(_0x123510,_0x2439e1){let _0x23c1ae='',_0x5627e1=_0x123510;for(const {value:_0xd757d,numeral:_0x1eedfa}of V)for(;_0x5627e1>=_0xd757d;)_0x23c1ae+=_0x1eedfa,_0x5627e1-=_0xd757d;return _0x2439e1?_0x23c1ae:_0x23c1ae['toLowerCase']();}class J extends _0x4d57b7{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x34c837();['focusCycler'];constructor(_0x3ad4db,{styleButtonViews:_0x376531,styleGridAriaLabel:_0x55d043}){super(_0x3ad4db),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x376531,_0x55d043),[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 _0x8c43c5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x8c43c5['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x39eb6b=_0x29a9bf=>_0x29a9bf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x39eb6b),this['keystrokes']['set']('arrowleft',_0x39eb6b),this['keystrokes']['set']('arrowup',_0x39eb6b),this['keystrokes']['set']('arrowdown',_0x39eb6b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1f0abb,_0x577ff5){const _0x3aebe7=new _0x4d57b7(this['locale']);return _0x3aebe7['children']=_0x3aebe7['createCollection'](),_0x3aebe7['children']['addMany'](_0x1f0abb),_0x3aebe7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x577ff5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3aebe7['children']}),_0x3aebe7['children']['delegate']('execute')['to'](this),_0x3aebe7['focus']=function(){for(const _0x57a0cd of this['children'])if(_0x57a0cd instanceof _0x2c789d&&_0x57a0cd['isOn'])return void _0x57a0cd['focus']();this['children']['first']['focus']();},_0x3aebe7['focusTracker']=new rt(),_0x3aebe7['keystrokes']=new nt(),_0x3aebe7['render'](),_0x3aebe7['keystrokes']['listenTo'](_0x3aebe7['element']),this['children']['add'](_0x3aebe7),_0x3aebe7;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x16f324=this['_createStartIndexPropertyView'](),_0x158c32=[_0x16f324],_0x222d63=new it(this['locale'],_0x158c32);return _0x222d63['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x222d63['buttonView']['bind']('isEnabled')['toMany'](_0x158c32,'isEnabled',(..._0x294ff7)=>_0x294ff7['some'](_0x3ce634=>_0x3ce634)),_0x222d63['buttonView']['on']('change:isEnabled',(_0x593e16,_0xd0a3c0,_0x368fe3)=>{_0x368fe3||(_0x222d63['isCollapsed']=!0x0);}),this['children']['add'](_0x222d63),[_0x16f324,_0x222d63];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x40a3ef=new et(this['locale'],ot);return _0x40a3ef['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x40a3ef['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x40a3ef['fieldView']['on']('input',()=>{const _0x35a7db=_0x40a3ef['fieldView']['element'],_0x5f11ed=_0x35a7db['valueAsNumber'];Number['isNaN'](_0x5f11ed)?_0x40a3ef['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x35a7db['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5f11ed}):_0x40a3ef['errorText']=t(_0x5f11ed<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x40a3ef;}}class j extends _0xae5732{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x43a948,_0x2ddc4e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1dc6a4}=this,{componentFactory:_0x81c20a}=_0x1dc6a4['ui'];_0x1dc6a4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x81c20a['add']('footnotesStyle',function(_0x1c1013){return _0x2bd1a6=>{const {t:t}=_0x2bd1a6,_0x244681=_0x1c1013['commands']['get']('footnotesStyle'),_0x13100e=_0x188bd8(_0x2bd1a6),{buttonView:_0x235c91}=_0x13100e;return _0x13100e['class']='ck-footnotes-styles-dropdown',_0x13100e['bind']('isEnabled')['to'](_0x244681,'isEnabled'),_0x235c91['set']({'label':t('Footnotes\x20style'),'icon':_0x58d7dc,'tooltip':!0x0}),_0x13100e['once']('change:isOpen',()=>{const _0x34c9fd=function({editor:_0x38eca0,dropdownView:_0x234808}){const {t:t}=_0x38eca0['locale'],_0x573098=t('Footnotes\x20definitions\x20styles'),_0x325f3b=function(_0x2d71c0){const t=_0x2d71c0['locale']['t'],_0x4c803d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3b6cef},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x45b2ce},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x252eff},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x23435e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x317e32},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1ff7c8}];return _0x4c803d['map'](function(_0x475817){const _0x5f3ba6=_0x475817['locale'];return({label:_0x1fc306,icon:_0x4d638f,tooltip:_0x5d421b,style:_0x4324fd})=>{const _0x135959=_0x475817['commands']['get']('footnotesStyle'),_0x5304ce=new _0x2c789d(_0x5f3ba6);return _0x5304ce['set']({'label':_0x1fc306,'icon':_0x4d638f,'tooltip':_0x5d421b}),_0x5304ce['bind']('isOn')['to'](_0x135959,'value',_0x3ec595=>_0x3ec595===_0x4324fd),_0x5304ce['bind']('isEnabled')['to'](_0x135959,'isEnabled'),_0x5304ce['on']('execute',()=>{_0x475817['execute']('footnotesStyle',{'value':_0x4324fd}),_0x475817['editing']['view']['focus']();}),_0x5304ce;};}(_0x2d71c0));}(_0x38eca0),_0x4983ac=new J(_0x38eca0['locale'],{'styleGridAriaLabel':_0x573098,'styleButtonViews':_0x325f3b}),_0x215967=_0x38eca0['commands']['get']('footnotesStart');return _0x4983ac['startIndexFieldView']['bind']('isEnabled')['to'](_0x215967),_0x4983ac['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x215967),_0x4983ac['on']('footnotesListStart',(_0x201c3a,_0x29e079)=>{_0x38eca0['execute']('footnotesStart',{'value':_0x29e079['startIndex']});}),_0x4983ac['delegate']('execute')['to'](_0x234808),_0x4983ac;}({'editor':_0x1c1013,'dropdownView':_0x13100e});_0x13100e['panelView']['children']['add'](_0x34c9fd);}),_0x13100e;};}(_0x1dc6a4));}['afterInit'](){const {editor:_0x3c181e}=this,{t:t}=_0x3c181e['locale'],_0x38b414=_0x3c181e['plugins']['get'](_0x2ddc4e),{defaultPositions:_0x48ae73}=_0x1e73bb;_0x38b414['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3c181e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2c7c36=>{let _0x6f7d8c=_0x2c7c36['getFirstPosition']()?.['parent'];return _0x6f7d8c?.['is']('$text')&&(_0x6f7d8c=_0x6f7d8c['parent']),_0x6f7d8c?.['is']('element')?_0x6f7d8c['findAncestor'](Q):null;},'positions':[_0x48ae73['southArrowNorth'],_0x48ae73['southArrowNorthMiddleWest'],_0x48ae73['southArrowNorthMiddleEast'],_0x48ae73['southArrowNorthWest'],_0x48ae73['southArrowNorthEast'],_0x48ae73['northArrowSouth'],_0x48ae73['northArrowSouthMiddleWest'],_0x48ae73['northArrowSouthMiddleEast'],_0x48ae73['northArrowSouthWest'],_0x48ae73['northArrowSouthEast'],_0x48ae73['viewportStickyNorth']]});}}class ft extends _0xae5732{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x18b5ec,Command as _0x4bbd41}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3ce59c,isWidget as _0xd956bf,toWidgetEditable as _0x550531,WidgetToolbarRepository as _0x5a928e}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x578702,logWarning as _0x3e5fcb,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x493d93,ClickObserver as _0x31e545}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x33d5c4}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x224e71,ButtonView as _0x53ca0b,View as _0x2ac156,ViewCollection as _0x3a6238,FocusCycler as _0x8c8759,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1129cb,BalloonPanelView as _0x414a7c,createDropdown as _0x15a034}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3e6764,IconListStyleDecimal as _0x35a41d,IconListStyleDecimalLeadingZero as _0x15854c,IconListStyleLowerRoman as _0x39d07d,IconListStyleUpperRoman as _0x34c7a6,IconListStyleLowerLatin as _0x640933,IconListStyleUpperLatin as _0x5d0855}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2eb84c,_0x10f77c){this['_model']=_0x2eb84c,this['_elementName']=_0x10f77c['elementName'],this['_getElementKey']=_0x10f77c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2437cc){const _0x494ce8=new Set(),_0x554aac=new Map();for(const _0x3cc8ff of _0x2437cc){if('insert'===_0x3cc8ff['type']&&'$text'!==_0x3cc8ff['name']&&_0x3cc8ff['position']['nodeAfter']){const _0x3fd430=this['_model']['createRangeOn'](_0x3cc8ff['position']['nodeAfter']);for(const _0x57aa78 of _0x3fd430['getItems']()){if(!_0x57aa78['is']('element',this['_elementName']))continue;const _0x19f502=this['_getElementKey'](_0x57aa78);_0x554aac['has'](_0x19f502)||_0x554aac['set'](_0x19f502,[]),_0x554aac['get'](_0x19f502)['push'](_0x57aa78);}}if('remove'===_0x3cc8ff['type']&&_0x3cc8ff['name']===this['_elementName']){const _0x365e6b=this['_getElementKey']({'getAttribute':_0x369dc2=>_0x3cc8ff['attributes']['get'](_0x369dc2)});_0x494ce8['add'](_0x365e6b);}}for(const [_0xb92daf,_0x1770df]of this['_trackedElements'])'$graveyard'===_0x1770df['root']['rootName']&&_0x494ce8['add'](_0xb92daf);for(const _0x51fcc7 of _0x494ce8)this['_trackedElements']['delete'](_0x51fcc7);for(const [_0x5657cb,_0x4abb32]of _0x554aac)this['_trackedElements']['set'](_0x5657cb,_0x4abb32[_0x4abb32['length']-0x1]);const _0x5c7df4=new Set();for(const [_0x1e2f40,_0x36b741]of _0x554aac)_0x494ce8['has'](_0x1e2f40)&&(_0x5c7df4['add'](_0x36b741[0x0]),_0x36b741['length']>0x1?_0x554aac['set'](_0x1e2f40,_0x36b741['slice'](0x1)):_0x554aac['delete'](_0x1e2f40),_0x494ce8['delete'](_0x1e2f40));return{'removed':Array['from'](_0x494ce8),'inserted':Array['from'](_0x554aac['values']())['flat'](),'moved':Array['from'](_0x5c7df4)};}}class f extends _0x18b5ec{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10f4eb){super(_0x10f4eb),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4d87de=>_0x4d87de['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x245349=>_0x245349['getAttribute']('footnoteId')});}['init'](){const {editor:_0x249b46}=this,{model:_0x4ace44,data:_0x22d611}=_0x249b46;_0x4ace44['document']['registerPostFixer'](_0x401ff7=>{const _0x4bfed1=_0x4ace44['document']['differ']['getChanges']();let _0x3c80d1=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x401ff7,_0x4bfed1)&&(_0x3c80d1=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x401ff7,_0x4bfed1)&&(_0x3c80d1=!0x0),this['_handleFootnoteReferencesChanges'](_0x401ff7,_0x4bfed1)&&(_0x3c80d1=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x401ff7)&&(_0x3c80d1=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x401ff7)&&(_0x3c80d1=!0x0),this['_sortFootnoteDefinitions'](_0x401ff7)&&(_0x3c80d1=!0x0),_0x3c80d1;}),this['listenTo'](_0x4ace44['document'],'change:data',()=>{_0x4ace44['enqueueChange']({'isUndoable':!0x1},_0x451991=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x451991);});},{'priority':'low'}),this['listenTo'](_0x22d611,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5006d4){return this['_footnotes']['find'](_0x51d84b=>_0x51d84b['id']===_0x5006d4)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x54aeff){this['_footnoteFormatter']=_0x54aeff;}['_updateFootnotesCounters'](_0x432f77,_0x255ee0=0x0){let _0x444572=!0x1;for(let _0x3bdc4c=_0x255ee0;_0x3bdc4c<this['_footnotes']['length'];_0x3bdc4c++)this['_updateFootnoteRefCounter'](_0x432f77,_0x3bdc4c)&&(_0x444572=!0x0);return _0x444572;}['_insertEmptyFootnotesDefinitionsContainer'](_0x7ae57e,_0xb769aa){const _0x49d2d8=_0x7ae57e['createElement']('footnotesDefinitions',{});return _0x7ae57e['append'](_0x49d2d8,_0xb769aa),this['_footnotesDefinitions']=_0x49d2d8,_0x49d2d8;}['_ensureFootnotesDefinitionsContainerExists'](_0x578b7b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x273f3a=this['_footnotes'][0x0]['reference']['root'],_0x3ea167=this['_insertEmptyFootnotesDefinitionsContainer'](_0x578b7b,_0x273f3a);for(const _0x48701f of this['_footnotes'])_0x48701f['definition']['parent']||_0x578b7b['insert'](_0x48701f['definition'],_0x3ea167,'end');this['_updateFootnotesCounters'](_0x578b7b);}['_handleFootnotesDefinitionsObjectChanges'](_0x41bf96,_0x2df1c1){let _0xc8e377=!0x1;const {inserted:_0x49a4a7,removed:_0x2ff236,moved:_0x269cd6}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2df1c1);if(_0x269cd6['length']&&(this['_footnotesDefinitions']=_0x269cd6[0x0]),_0x49a4a7['length']){if(_0x49a4a7['length']>0x1||this['_footnotesDefinitions']&&_0x49a4a7['some'](_0x429aeb=>_0x429aeb!==this['_footnotesDefinitions'])){const _0x4679e1=_0x41bf96['createElement']('footnotesDefinitions',{}),_0x3e3d27=[];this['_footnotesDefinitions']&&_0x3e3d27['push'](this['_footnotesDefinitions']),_0x3e3d27['push'](..._0x49a4a7),_0x41bf96['insert'](_0x4679e1,_0x3e3d27[0x0],'before');for(const _0x3361ec of _0x3e3d27)_0x41bf96['move'](_0x41bf96['createRangeIn'](_0x3361ec),_0x41bf96['createPositionAt'](_0x4679e1,'end')),_0x41bf96['remove'](_0x3361ec);this['_footnotesDefinitions']=_0x4679e1,this['_updateFootnotesCounters'](_0x41bf96),_0xc8e377=!0x0;}else this['_footnotesDefinitions']=_0x49a4a7[0x0];}if(_0x2ff236['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4dc7a5 of this['_footnotes'])_0x41bf96['remove'](_0x4dc7a5['reference']),_0xc8e377=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xc8e377;}['_handleFootnoteDefinitionsChanges'](_0x16dfb2,_0x4a30d3){let _0x4a2d52=!0x1;const _0x4281b0=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x297fca,moved:_0x28f255}=this['_footnoteDefsTracker']['getChanges'](_0x4a30d3);for(const _0x12a7a7 of[..._0x28f255,..._0x297fca]){const _0x251d2e=_0x12a7a7['getAttribute']('footnoteId'),_0x4c41f9=this['getFootnote'](_0x251d2e);_0x4c41f9&&(_0x4c41f9['definition']=_0x12a7a7),_(_0x16dfb2,_0x4281b0,_0x12a7a7)&&(_0x4a2d52=!0x0);}return _0x4a2d52;}['_handleFootnoteReferencesChanges'](_0x11e048,_0x4a4040){let _0x577f45=!0x1;const {removed:_0x28a010,inserted:_0x2c2ae2,moved:_0x2ae9d9}=this['_footnoteRefsTracker']['getChanges'](_0x4a4040);for(const _0x3279e6 of _0x28a010)this['_handleRemoveFootnoteReferenceById'](_0x11e048,_0x3279e6)&&(_0x577f45=!0x0);for(const _0x50198c of _0x2c2ae2)this['_handleInsertedFootnoteReference'](_0x11e048,_0x50198c)&&(_0x577f45=!0x0);for(const _0x33ead9 of _0x2ae9d9)this['_handleMovedFootnoteReference'](_0x11e048,_0x33ead9)&&(_0x577f45=!0x0);return _0x577f45;}['_handleFootnotesDefinitionsObjectSync'](_0x102a88){if(!this['_footnotesDefinitions'])return!0x1;let _0x3c9941=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2075ee=[];for(const _0x12783a of this['_footnotesDefinitions']['getChildren']()){const _0xbf77c9=_0x12783a['getAttribute']('footnoteId');this['getFootnote'](_0xbf77c9)||(_0x2075ee['unshift'](_0x12783a),_0x3c9941=!0x0);}for(const _0x22e4e5 of _0x2075ee)_0x102a88['remove'](_0x22e4e5);}const _0xbff73e=new Set(),_0x5884c4=[];for(const _0x5bfd2c of this['_footnotesDefinitions']['getChildren']()){const _0x58a375=_0x5bfd2c['getAttribute']('footnoteId');_0xbff73e['has'](_0x58a375)?(_0x5884c4['unshift'](_0x5bfd2c),_0x3c9941=!0x0):_0xbff73e['add'](_0x58a375);}for(const _0x27b74f of _0x5884c4)_0x102a88['remove'](_0x27b74f);return this['_footnotesDefinitions']['childCount']||(_0x102a88['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3c9941=!0x0),_0x3c9941;}['_handleInsertedFootnoteReference'](_0x2185cb,_0x323d10){if(this['_footnotes']['find'](_0x12c858=>_0x12c858['reference']===_0x323d10))return!0x1;let _0x1cb521=!0x1;const _0x5ad6ff=_0x323d10['getAttribute']('footnoteId'),_0x560c28=this['_footnotes']['findIndex'](_0x5bb4c9=>_0x5bb4c9['id']===_0x5ad6ff);-0x1!==_0x560c28&&(_0x2185cb['remove'](this['_footnotes'][_0x560c28]['reference']),this['_footnotes']['splice'](_0x560c28,0x1),_0x1cb521=!0x0);let _0x4ade56=this['_footnotesDefinitions']?function(_0x23b4ee,_0x4c9931){for(const _0x547d03 of _0x23b4ee['getChildren']())if(_0x547d03['getAttribute']('footnoteId')===_0x4c9931)return _0x547d03;return null;}(this['_footnotesDefinitions'],_0x5ad6ff):null;_0x4ade56||(_0x4ade56=_0x2185cb['createElement']('footnoteDefinition',{'footnoteId':_0x5ad6ff}),this['_footnotesDefinitions']&&(_0x2185cb['insert'](_0x4ade56,this['_footnotesDefinitions'],'end'),_0x1cb521=!0x0));const _0x4aac43={'id':_0x5ad6ff,'reference':_0x323d10,'definition':_0x4ade56},_0x7df9f=I(this['editor']['model'],this['_footnotes'],_0x323d10);this['_footnotes']['splice'](_0x7df9f,0x0,_0x4aac43);let _0x1bcb30=_0x7df9f;return-0x1!==_0x560c28&&(_0x1bcb30=Math['min'](_0x7df9f,_0x560c28)),this['_updateFootnotesCounters'](_0x2185cb,_0x1bcb30)&&(_0x1cb521=!0x0),_0x1cb521;}['_handleRemoveFootnoteReferenceById'](_0x77114b,_0x3eb4df){const _0x240e55=this['_footnotes']['findIndex'](_0x1ecd59=>_0x1ecd59['id']===_0x3eb4df);if(-0x1===_0x240e55)return!0x1;let _0x1d2505=!0x1;const _0x44f788=this['_footnotes'][_0x240e55];return'$graveyard'!==_0x44f788['definition']['root']['rootName']&&(_0x77114b['remove'](_0x44f788['definition']),_0x1d2505=!0x0),this['_footnotes']['splice'](_0x240e55,0x1),this['_updateFootnotesCounters'](_0x77114b,_0x240e55)&&(_0x1d2505=!0x0),_0x1d2505;}['_handleMovedFootnoteReference'](_0x372ce7,_0xa83b13){const _0x4be24f=_0xa83b13['getAttribute']('footnoteId'),_0x30ccb7=this['_footnotes']['findIndex'](_0xb3fd90=>_0xb3fd90['id']===_0x4be24f),_0x365fa4=this['_footnotes'][_0x30ccb7];let _0x4fb14e=!0x1;_0x365fa4['reference']=_0xa83b13,this['_footnotes']['splice'](_0x30ccb7,0x1);const _0x852b45=I(this['editor']['model'],this['_footnotes'],_0xa83b13);return this['_footnotes']['splice'](_0x852b45,0x0,_0x365fa4),this['_updateFootnotesCounters'](_0x372ce7,Math['min'](_0x30ccb7,_0x852b45))&&(_0x4fb14e=!0x0),_0x4fb14e;}['_updateFootnoteRefCounter'](_0x1a20e5,_0x5246a5){if(!this['_footnotesDefinitions'])return!0x1;const _0x59ff2d=this['_footnotes'][_0x5246a5];let _0x449a68;return _0x449a68=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x59ff2d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5246a5+0x1}):String(_0x5246a5+0x1),_0x59ff2d['reference']['getAttribute']('footnoteCounter')!=_0x449a68&&(_0x1a20e5['setAttribute']('footnoteCounter',_0x449a68,_0x59ff2d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x39a961){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x59683a,_0x5af2d6){if(_0x59683a['length']!==_0x5af2d6['length'])return!0x1;for(let _0x27b1e1=0x0;_0x27b1e1<_0x59683a['length'];_0x27b1e1++)if(_0x59683a[_0x27b1e1]!==_0x5af2d6[_0x27b1e1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x46d93e=>_0x46d93e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4a934c=>_0x4a934c['getAttribute']('footnoteId'))))return!0x1;let _0x23a38e=!0x1;for(let _0x8f4e61=0x0;_0x8f4e61<this['_footnotes']['length'];_0x8f4e61++){const _0x3fe36a=this['_footnotes'][_0x8f4e61],_0x163205=_0x39a961['createPositionBefore'](_0x3fe36a['definition']),_0x304027=_0x39a961['createPositionAt'](this['_footnotesDefinitions'],_0x8f4e61);_0x163205['isEqual'](_0x304027)||(_0x39a961['move'](_0x39a961['createRangeOn'](_0x3fe36a['definition']),_0x304027),_0x23a38e=!0x0);}return _0x23a38e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x44bc4c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x16bbac}=this['editor'];let _0x350179=!0x1;for(let _0x417d71=0x0;_0x417d71<this['_footnotes']['length']-0x1;_0x417d71++){const _0x3c2804=this['_footnotes'][_0x417d71],_0x4f4f19=this['_footnotes'][_0x417d71+0x1],_0x160463=_0x16bbac['createPositionBefore'](_0x3c2804['reference']),_0x23f6d1=_0x16bbac['createPositionBefore'](_0x4f4f19['reference']);'after'===_0x160463['compareWith'](_0x23f6d1)&&(this['_handleMovedFootnoteReference'](_0x44bc4c,_0x3c2804['reference']),_0x417d71=-0x1,_0x350179=!0x0);}return _0x350179;}}function _(_0x30a263,_0x157157,_0x1121f2){if(_0x1121f2['childCount'])return!0x1;const _0x3f60e9=_0x157157?'paragraph':'footnoteInlineContent';return _0x30a263['insert'](_0x30a263['createElement'](_0x3f60e9),_0x1121f2),!0x0;}function I(_0x225b5f,_0x4c662f,_0x57561f){if(0x0===_0x4c662f['length'])return 0x0;const _0x4c77ad=_0x225b5f['createPositionBefore'](_0x57561f);for(let _0x2efa08=0x0;_0x2efa08<_0x4c662f['length'];_0x2efa08++){const _0x31a9ff=_0x4c662f[_0x2efa08],_0x21a13c=_0x225b5f['createPositionBefore'](_0x31a9ff['reference']);if('before'===_0x4c77ad['compareWith'](_0x21a13c))return _0x2efa08;}const _0x1d8296=_0x57561f['root'];let _0x27bfd0=-0x1;for(let _0x5ef2cb=_0x4c662f['length']-0x1;_0x5ef2cb>=0x0;_0x5ef2cb--)if(_0x4c662f[_0x5ef2cb]['reference']['root']===_0x1d8296){_0x27bfd0=_0x5ef2cb;break;}if(-0x1!==_0x27bfd0)return _0x27bfd0+0x1;const _0x2769a0=_0x225b5f['document']['getRootNames'](),_0x4785d4=_0x2769a0['indexOf'](_0x1d8296['rootName']),_0x52ab49=_0x2769a0[_0x4785d4+0x1];if(_0x52ab49){for(let _0x414448=0x0;_0x414448<_0x4c662f['length'];_0x414448++)if(_0x4c662f[_0x414448]['reference']['root']['rootName']===_0x52ab49)return _0x414448;}return _0x4c662f['length'];}class h extends _0x4bbd41{['refresh'](){const _0x475396=this['editor']['model']['document']['selection'],_0xf4b4df=this['_getPositionToInsertFootnote'](_0x475396);this['isEnabled']=!!_0xf4b4df;}['execute'](_0x1d1c50){const {editor:_0x12763d}=this,{model:_0x29357a}=_0x12763d,{selection:_0x4eb70e}=_0x29357a['document'],_0x528da3=this['_getPositionToInsertFootnote'](_0x4eb70e);if(!_0x528da3)return;const _0x3d771f=_0x12763d['plugins']['get']('FootnotesEditing'),_0x44f6bd=_0x1d1c50?.['footnoteId']??_0x578702();!function(_0x52e7c6){return'string'==typeof _0x52e7c6&&_0x52e7c6['length']>0x0&&!/\s/['test'](_0x52e7c6)&&!/^\d/['test'](_0x52e7c6);}(_0x44f6bd)?_0x3e5fcb('insert-footnote-command-executed-with-invalid-id'):(_0x29357a['change'](_0x407d8f=>{const _0x1aea4d=_0x407d8f['createElement']('footnoteRef',{'footnoteId':_0x44f6bd});_0x29357a['insertObject'](_0x1aea4d,_0x528da3,null);}),_0x3d771f['_moveSelectionToFootnoteDefinition'](_0x44f6bd));}['_getPositionToInsertFootnote'](_0x5991fb){const {model:_0x4dbdc4}=this['editor'],{schema:_0x3cabc3}=_0x4dbdc4,_0x1ddceb=_0x5991fb['getFirstRange']();for(const _0x575212 of _0x1ddceb['getItems']())if(_0x3cabc3['isBlock'](_0x575212)||_0x3cabc3['isObject'](_0x575212))return null;const _0x5cbd76=_0x1ddceb['end'];return _0x3cabc3['checkChild'](_0x5cbd76,'footnoteRef')?_0x5cbd76:null;}}class r extends _0x18b5ec{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13cad0}=this;_0x13cad0['config']['define']('footnotes.multiBlock',!0x0),_0x13cad0['commands']['add']('insertFootnote',new h(_0x13cad0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x316177){const _0x4b1cdb=_0xabba3e([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]),_0x21fbe6=0x47a28506,_0x4eb509=0x47a507d6^_0x21fbe6,_0x5bb673=window[_0xabba3e([0x44,0x61,0x74,0x65])][_0xabba3e([0x6e,0x6f,0x77])](),_0x136749=_0x316177[_0xabba3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d16fd=new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3238de=>{_0x136749[_0xabba3e([0x6f,0x6e,0x63,0x65])](_0xabba3e([0x72,0x65,0x61,0x64,0x79]),_0x3238de);}),_0x21723c={[_0xabba3e([0x6b,0x74,0x79])]:_0xabba3e([0x45,0x43]),[_0xabba3e([0x75,0x73,0x65])]:_0xabba3e([0x73,0x69,0x67]),[_0xabba3e([0x63,0x72,0x76])]:_0xabba3e([0x50,0x2d,0x32,0x35,0x36]),[_0xabba3e([0x78])]:_0xabba3e([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]),[_0xabba3e([0x79])]:_0xabba3e([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]),[_0xabba3e([0x61,0x6c,0x67])]:_0xabba3e([0x45,0x53,0x32,0x35,0x36])},_0x5b54b1=_0x136749[_0xabba3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xabba3e([0x67,0x65,0x74])](_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e14aa(){let _0x4d47ff,_0x41a0c0=null,_0x39c011=null;try{if(_0x5b54b1==_0xabba3e([0x47,0x50,0x4c]))return _0xabba3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d47ff=_0x41c9a1(),!_0x4d47ff)return _0xabba3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d47ff[_0xabba3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39c011=_0x9f4f65(_0x4d47ff[_0xabba3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d47ff[_0xabba3e([0x6a,0x74,0x69])])),await _0x1b71f7()?_0x1382fc()?_0x293bf9()?_0xabba3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2af11d()?(_0x4d47ff[_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xabba3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41a0c0=_0x36fa49(_0xabba3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ef66b()):_0xabba3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xabba3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xabba3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xabba3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x293bf9(){const _0xc74ce6=[_0xabba3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xabba3e([0x74,0x72,0x69,0x61,0x6c])][_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d47ff[_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bb673/0x3e8:0xe10*_0x4eb509;return _0x4d47ff[_0xabba3e([0x65,0x78,0x70])]<_0xc74ce6;}function _0x1382fc(){const _0x57051a=_0x4d47ff[_0xabba3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57051a&&(!!_0x57051a[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabba3e([0x2a]))||!!_0x57051a[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabba3e([0x46,0x4f,0x4f])));}function _0x2af11d(){const _0x18dbb9=_0x4d47ff[_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18dbb9||0x0==_0x18dbb9[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22e406}=new URL(window[_0xabba3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18dbb9[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22e406))return!0x0;const _0x4db7d5=_0x22e406[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e]));return _0x18dbb9[_0xabba3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8b70f=>_0x8b70f[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabba3e([0x2a])))[_0xabba3e([0x6d,0x61,0x70])](_0x2551e7=>_0x2551e7[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e])))[_0xabba3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x216281=>_0x216281[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4db7d5[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xabba3e([0x6d,0x61,0x70])](_0x4f54ea=>Array(_0x4db7d5[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f54ea[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xabba3e([0x66,0x69,0x6c,0x6c])](_0x4f54ea[0x0]===_0xabba3e([0x2a])?_0xabba3e([0x2a]):'')[_0xabba3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f54ea))[_0xabba3e([0x73,0x6f,0x6d,0x65])](_0x2b5adf=>_0x4db7d5[_0xabba3e([0x65,0x76,0x65,0x72,0x79])]((_0x43ff09,_0x3f8da0)=>_0x2b5adf[_0x3f8da0]===_0x43ff09||_0x2b5adf[_0x3f8da0]===_0xabba3e([0x2a])));}function _0x2ef66b(){return _0x41a0c0&&_0x39c011?new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264582,_0x3b73c1)=>{_0x41a0c0[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x264582,_0x3b73c1),_0x39c011[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x54a21f=>{_0x54a21f!=_0xabba3e([0x56,0x61,0x6c,0x69,0x64])&&_0x264582(_0x54a21f);},_0x3b73c1);}):_0x41a0c0||_0x39c011||_0xabba3e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9f4f65(_0x2129bd,_0x3af948){return new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4ebfd=>{if(_0x19d3fd())return _0xd4ebfd(_0xabba3e([0x56,0x61,0x6c,0x69,0x64]));_0x3b1155(),_0x136749[_0xabba3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xabba3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f879b=!0x1;const _0x36054f=_0x578702();function _0x5511d2(_0x366dcd){return!!_0x366dcd&&(typeof _0x366dcd===_0xabba3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x366dcd===_0xabba3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x366dcd[_0xabba3e([0x74,0x68,0x65,0x6e])]===_0xabba3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x366dcd[_0xabba3e([0x63,0x61,0x74,0x63,0x68])]===_0xabba3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ebd74(_0x2a01a2){_0x8ef90f(_0x2a01a2)[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x160341=>{if(!_0x160341||_0x160341[_0xabba3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xabba3e([0x6f,0x6b]))return _0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x512e49(_0x4b32c2(_0x36054f+_0x3af948))!=_0x160341[_0xabba3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xabba3e([0x56,0x61,0x6c,0x69,0x64]);})[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x2e15d3=>(_0xcd3f08(),_0x2e15d3),()=>{const _0x390b54=_0x46cdad();return null==_0x390b54?(_0xcd3f08(),_0xabba3e([0x56,0x61,0x6c,0x69,0x64])):_0xabba3e(_0x5bb673-_0x390b54>(0x63ae0106^_0x21fbe6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xabba3e([0x74,0x68,0x65,0x6e])](_0xd4ebfd)[_0xabba3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd4ebfd(_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f20f5=0x47946b86^_0x21fbe6;function _0xcd3f08(){const _0x5b3b57=_0xabba3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x512e49(_0x4b32c2(_0x2129bd)),_0x31c4f5=_0x55915a(_0x512e49(window[_0xabba3e([0x4d,0x61,0x74,0x68])][_0xabba3e([0x63,0x65,0x69,0x6c])](_0x5bb673/_0x4f20f5)));window[_0xabba3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xabba3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b3b57,_0x31c4f5);}function _0x46cdad(){const _0x2cd934=_0xabba3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x512e49(_0x4b32c2(_0x2129bd)),_0x10eac4=window[_0xabba3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xabba3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cd934);return _0x10eac4?window[_0xabba3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55915a(_0x10eac4),0x10)*_0x4f20f5:null;}function _0x8ef90f(_0x514874){return new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e9f16,_0x3fdaba)=>{_0x514874[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x2e9f16,_0x3fdaba),window[_0xabba3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fdaba,0x47a351c6^_0x21fbe6);});}}_0x136749[_0xabba3e([0x6f,0x6e])](_0xabba3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5be303,_0x4bdf8d)=>{if(_0x4bdf8d[0x0]!=_0x2129bd)return _0xd4ebfd(_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bdf8d[0x1]={..._0x4bdf8d[0x1],[_0xabba3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36054f};},{[_0xabba3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xabba3e([0x68,0x69,0x67,0x68])}),_0x136749[_0xabba3e([0x6f,0x6e])](_0xabba3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c0e16=>{_0x5511d2(_0x4c0e16[_0xabba3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f879b=!0x0,_0x2ebd74(_0x4c0e16[_0xabba3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xabba3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xabba3e([0x6c,0x6f,0x77])}),_0x1d16fd[_0xabba3e([0x74,0x68,0x65,0x6e])](()=>{_0x1f879b||_0xd4ebfd(_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19d3fd(){return _0x136749[_0xabba3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xabba3e([0x76,0x69,0x65,0x77])][_0xabba3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xabba3e([0x61,0x75,0x74,0x6f]);}function _0x3b1155(){_0x136749[_0xabba3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xabba3e([0x76,0x69,0x65,0x77])][_0xabba3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xabba3e([0x61,0x75,0x74,0x6f]);}}function _0x36fa49(_0x202e47){const _0x160b1=[new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6c80=>setTimeout(_0x2f6c80,0x47abbbca^_0x21fbe6)),_0x1d16fd[_0xabba3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x147f2c=>{let _0x4c24cc=0x0;_0x136749[_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c])][_0xabba3e([0x6f,0x6e])](_0xabba3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4388b9,_0x2a80b3)=>{_0x2a80b3[0x0][_0xabba3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c24cc++,_0x4c24cc==(0x47a280ee^_0x21fbe6)&&(_0x147f2c(),_0x4388b9[_0xabba3e([0x6f,0x66,0x66])]());});}))];return window[_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xabba3e([0x72,0x61,0x63,0x65])](_0x160b1)[_0xabba3e([0x74,0x68,0x65,0x6e])](()=>_0x202e47);}async function _0x35a8f2(){await _0x1d16fd,_0x136749[_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c])][_0xabba3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29c6da,_0x136749[_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c])][_0xabba3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29c6da,_0x136749[_0xabba3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a9bc5(_0x196c27){const _0x541b40=_0x2faca3();_0x136749[_0x541b40]=_0xabba3e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x196c27,_0x196c27!=_0xabba3e([0x56,0x61,0x6c,0x69,0x64])&&_0x35a8f2();}function _0x2faca3(){const _0xda817d=window[_0xabba3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xabba3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xabba3e([0x6e,0x6f,0x77])]())[_0xabba3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xabba3e([0x2e]),'');let _0x5518a8=_0xabba3e([0x75]);for(let _0x523db5=0x0;_0x523db5<_0xda817d[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523db5+=0x2){let _0x2cba5a=window[_0xabba3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xda817d[_0xabba3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x523db5,_0x523db5+0x2));_0x2cba5a>=_0x4b1cdb[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cba5a-=_0x4b1cdb[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5518a8+=_0x4b1cdb[_0x2cba5a];}return _0x5518a8;}function _0x41c9a1(){const _0x481e0=_0x5b54b1[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e]));if(0x3!=_0x481e0[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e6e46(_0x481e0[0x1]);function _0x5e6e46(_0x496024){const _0x5b40d5=_0x4766c1(_0x496024);return _0x5b40d5&&_0x78eec4()?_0x5b40d5:null;function _0x78eec4(){const _0x8ce741=_0x5b40d5[_0xabba3e([0x6a,0x74,0x69])],_0x3ca1ca=window[_0xabba3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8ce741[_0xabba3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8ce741[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cf915={..._0x5b40d5,[_0xabba3e([0x6a,0x74,0x69])]:_0x8ce741[_0xabba3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8ce741[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cf915[_0xabba3e([0x76,0x63])],_0x4b32c2(_0x3cf915)==_0x3ca1ca;}}}async function _0x1b71f7(){let _0x45fd00=!0x0;try{const _0x387018=_0x5b54b1[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e])),[_0x3f6d1c,_0x4009a1,_0x43b6dd]=_0x387018;return _0x37c036(_0x3f6d1c),await _0x254c67(_0x3f6d1c,_0x4009a1,_0x43b6dd),_0x45fd00;}catch{return!0x1;}function _0x37c036(_0xddac9b){const _0x3eb961=_0x4766c1(_0xddac9b);_0x3eb961&&_0x3eb961[_0xabba3e([0x61,0x6c,0x67])]==_0xabba3e([0x45,0x53,0x32,0x35,0x36])||(_0x45fd00=!0x1);}async function _0x254c67(_0x25c896,_0x2856b7,_0x49abcc){const _0x14b79f=window[_0xabba3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xabba3e([0x66,0x72,0x6f,0x6d])](_0x1621a6(_0x49abcc),_0x57c14f=>_0x57c14f[_0xabba3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57d14e=new window[(_0xabba3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xabba3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25c896+_0xabba3e([0x2e])+_0x2856b7),_0x4ff4a6=window[_0xabba3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xabba3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ff4a6)return;const _0x52c60b=await _0x4ff4a6[_0xabba3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xabba3e([0x6a,0x77,0x6b]),_0x21723c,{[_0xabba3e([0x6e,0x61,0x6d,0x65])]:_0xabba3e([0x45,0x43,0x44,0x53,0x41]),[_0xabba3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xabba3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xabba3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ff4a6[_0xabba3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xabba3e([0x6e,0x61,0x6d,0x65])]:_0xabba3e([0x45,0x43,0x44,0x53,0x41]),[_0xabba3e([0x68,0x61,0x73,0x68])]:{[_0xabba3e([0x6e,0x61,0x6d,0x65])]:_0xabba3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52c60b,_0x14b79f,_0x57d14e)||(_0x45fd00=!0x1);}}function _0x4766c1(_0x515eb2){return _0x515eb2[_0xabba3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xabba3e([0x65,0x79]))?JSON[_0xabba3e([0x70,0x61,0x72,0x73,0x65])](_0x1621a6(_0x515eb2)):null;}function _0x1621a6(_0x274aef){return window[_0xabba3e([0x61,0x74,0x6f,0x62])](_0x274aef[_0xabba3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xabba3e([0x2b]))[_0xabba3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xabba3e([0x2f])));}function _0x4b32c2(_0x221652){let _0x28c3cc=0x1505;function _0x127d76(_0x349b35){for(let _0x2b405f=0x0;_0x2b405f<_0x349b35[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b405f++){const _0x54f8cd=_0x349b35[_0xabba3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b405f);_0x28c3cc=(_0x28c3cc<<0x5)+_0x28c3cc+_0x54f8cd,_0x28c3cc&=_0x28c3cc;}}function _0xa43e37(_0x4cc05b){Array[_0xabba3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cc05b)?_0x4cc05b[_0xabba3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa43e37):_0x4cc05b&&typeof _0x4cc05b==_0xabba3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xabba3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cc05b)[_0xabba3e([0x73,0x6f,0x72,0x74])]()[_0xabba3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21c265,_0x12dc5b])=>{_0x127d76(_0x21c265),_0xa43e37(_0x12dc5b);}):_0x127d76(window[_0xabba3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cc05b));}return _0xa43e37(_0x221652),_0x28c3cc>>>0x0;}function _0x512e49(_0x5cf7e3){return _0x5cf7e3[_0xabba3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xabba3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xabba3e([0x30]));}function _0x55915a(_0x1b3cc3){return _0x1b3cc3[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xabba3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xabba3e([0x6a,0x6f,0x69,0x6e])]('');}function _0x29c6da(){}function _0xabba3e(_0x36e364){return _0x36e364['map'](_0x5ce39e=>String['fromCharCode'](_0x5ce39e))['join']('');}_0x4a9bc5(await _0x3e14aa());}(this);}['_moveSelectionToFootnoteDefinition'](_0x179d15){const {plugins:_0x5b668d,editing:_0x1f9210,model:_0x38dd46}=this['editor'],_0x202004=_0x5b668d['get'](f)['getFootnote'](_0x179d15);return!!_0x202004&&(_0x38dd46['change'](_0x4a3003=>{_0x4a3003['setSelection'](_0x4a3003['createPositionAt'](_0x202004['definition'],'end'));}),_0x1f9210['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x299822){const {plugins:_0x270bcf,editing:_0x34378d,model:_0x536c43}=this['editor'],_0x57c55e=_0x270bcf['get'](f)['getFootnote'](_0x299822);return!!_0x57c55e&&(_0x536c43['change'](_0x393c50=>{_0x393c50['setSelection'](_0x57c55e['reference'],'on');}),_0x34378d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x551796}=this['editor']['model'],_0x1dcdff=this['editor']['config']['get']('footnotes.multiBlock');_0x551796['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x551796['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x551796['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1dcdff?_0x551796['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x551796['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x551796['addChildCheck'](_0x5cf695=>{for(const _0x564b50 of _0x5cf695)if('footnoteDefinition'===_0x564b50['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2e2cad}=this,{conversion:_0x48a476,editing:_0xff1b04}=_0x2e2cad,{t:t}=_0x2e2cad['locale'];_0x48a476['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x15701b,{writer:_0x459427,consumable:_0x44acfa})=>{const _0x4b5d39=_0x15701b['getChild'](0x0);if(!_0x4b5d39||!_0x4b5d39['is']('element','a'))return null;const _0x12cf42=_0x4b5d39['getAttribute']('href')||'';if(!_0x12cf42['startsWith']('#'))return null;const _0x2d65d1=_0x12cf42['replace'](/^#/,'');if(!_0x2d65d1)return null;_0x44acfa['consume'](_0x4b5d39,{'name':!0x0,'attributes':['href']});for(const {item:_0x5976d7}of _0xff1b04['view']['createRangeIn'](_0x4b5d39))_0x5976d7['is']('$textProxy')?_0x44acfa['consume'](_0x5976d7['textNode'],{'name':!0x0}):_0x5976d7['is']('element')&&_0x44acfa['consume'](_0x5976d7,{'name':!0x0});return _0x459427['createElement']('footnoteRef',{'footnoteId':_0x2d65d1});}}),_0x48a476['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xfbf063,{writer:_0x3d4ca3})=>b(_0xfbf063,_0x3d4ca3)}),_0x48a476['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2d3eb9,{writer:_0x520149})=>{const _0x587e3e=_0x2d3eb9['getAttribute']('footnoteCounter');return _0x3ce59c(b(_0x2d3eb9,_0x520149),_0x520149,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x587e3e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x263f50}=this,{t:t}=_0x263f50['locale'],{conversion:_0x2d5695}=_0x263f50;_0x2d5695['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2d5695['for']('upcast')['add'](_0x3561a4=>{_0x3561a4['on']('element:ol',(_0x442993,_0x4efee3,_0xfe9dd3)=>{const _0x57f2a2=_0x4efee3['viewItem'];if(!_0x57f2a2['hasClass']('footnotes-list')||!_0x4efee3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xfe9dd3['consumable']['consume'](_0x57f2a2,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x292938,modelCursor:_0x49843f}=_0xfe9dd3['convertChildren'](_0x4efee3['viewItem'],_0x4efee3['modelCursor']);_0x4efee3['modelRange']=_0x292938,_0x4efee3['modelCursor']=_0x49843f;}),_0x3561a4['on']('element:hr',(_0x2c3007,_0x5085d3,_0x1dd8a7)=>{const _0x4fe2ec=_0x5085d3['viewItem'];_0x4fe2ec['hasClass']('footnotes-divider')&&_0x5085d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1dd8a7['consumable']['consume'](_0x4fe2ec,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2d5695['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x117e9f,{writer:_0x143ac2})=>D(_0x143ac2)}),_0x2d5695['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a16a6,{writer:_0x5da7a9})=>{const _0x308b5b=D(_0x5da7a9,{'data-footnotes-list-label':t('Footnotes')}),_0x234ba7=_0x3ce59c(_0x308b5b,_0x5da7a9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5da7a9['setCustomProperty']('footnotesDefinitions',!0x0,_0x234ba7),_0x234ba7;}});}['_defineDefinitionConverters'](){const {editor:_0x18c93e}=this,{conversion:_0x32bc84,locale:_0x8d0192}=_0x18c93e,_0x4bc8d6=_0x18c93e['config']['get']('footnotes.multiBlock');_0x32bc84['for']('upcast')['add'](_0x46d778=>{_0x46d778['on']('element:li',(_0x25b8a0,_0x19a654,_0x1eb4b8)=>{const _0x535d17=_0x19a654['viewItem'];if(!_0x535d17['hasClass']('footnote-definition')||!_0x535d17['getAttribute']('id'))return;const _0x2fe0e6=_0x535d17['parent'];if(!_0x2fe0e6['is']('element','ol')||!_0x2fe0e6['hasClass']('footnotes-list'))return;if(!_0x1eb4b8['consumable']['test'](_0x535d17,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x52d33b=_0x1eb4b8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x535d17['getAttribute']('id')});if(!_0x1eb4b8['safeInsert'](_0x52d33b,_0x19a654['modelCursor']))return;_0x1eb4b8['consumable']['consume'](_0x535d17,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x378a3f=Array['from'](_0x535d17['getChildren']())['find'](_0x5a9828=>_0x5a9828['is']('element')&&_0x5a9828['hasClass']('footnote-content'));for(const _0x288f97 of _0x535d17['getChildren']())_0x288f97['is']('element')&&(_0x1eb4b8['consumable']['consume'](_0x288f97,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1eb4b8['consumable']['consume'](_0x288f97,{'name':!0x0,'classes':'footnote-content'}));if(_0x378a3f){if(_0x4bc8d6)_0x1eb4b8['convertChildren'](_0x378a3f,_0x52d33b);else{const _0xf5094=_0x1eb4b8['writer']['createElement']('footnoteInlineContent');_0x1eb4b8['writer']['insert'](_0xf5094,_0x52d33b),_0x1eb4b8['convertChildren'](_0x378a3f,_0xf5094);}}_0x1eb4b8['updateConversionResult'](_0x52d33b,_0x19a654);});}),_0x32bc84['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52f549,{writer:_0x4b7bbb})=>y(_0x52f549,_0x4b7bbb,_0x8d0192,{'dataPipeline':!0x0})}),_0x32bc84['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4866d9,{writer:_0x16971c})=>y(_0x4866d9,_0x16971c,_0x8d0192)});}['_defineBogusParagraphConverters'](){const {editor:_0x20c6f2}=this,{conversion:_0x2e4418}=_0x20c6f2;_0x20c6f2['config']['get']('footnotes.multiBlock')?(_0x2e4418['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2e4418['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x20c6f2['model']['document'],'change:data',()=>{!function(_0x576cc4,_0x4ff2f1){const _0x5eb065=_0x576cc4['document']['differ'],_0x2be09b=new Set();for(const _0x2283f3 of _0x5eb065['getChanges']()){const _0x2f3fde='attribute'==_0x2283f3['type']?_0x2283f3['range']['start']['parent']:_0x2283f3['position']['parent'];_0x2f3fde['is']('element','footnoteDefinition')&&_0x2be09b['add'](_0x2f3fde);}for(const _0x2ff067 of _0x2be09b['values']()){const _0x59ce19=Array['from'](_0x2ff067['getChildren']())['filter'](_0x55e9f7=>v(_0x55e9f7,_0x4ff2f1['mapper']));for(const _0x3a5bbc of _0x59ce19)_0x4ff2f1['reconvertItem'](_0x3a5bbc);}}(_0x20c6f2['model'],_0x20c6f2['editing']);})):(_0x2e4418['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2e4418['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x313e52,{writer:_0x281d70})=>{const _0x409619=_0x281d70['createContainerElement']('span');return _0x281d70['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x409619),_0x409619;}}));}['_defineKeyboardHandlers'](){const {editor:_0x34fbf1}=this,{editing:_0xe35436,t:t}=_0x34fbf1,_0xce492b=_0x34fbf1['model']['document']['selection'];_0x34fbf1['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x34fbf1['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xe35436['view']['document'],'enter',(_0x249d5c,_0x160e66)=>{const _0x2f8802=function(_0x37b4e6){const _0xad05c5=_0x37b4e6['getSelectedElement']();if(_0xad05c5?.['is']('element','footnoteRef'))return _0xad05c5;return null;}(_0xce492b);if(_0x2f8802){const _0x42c357=_0x2f8802['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x42c357),_0x160e66['preventDefault'](),_0x249d5c['stop']();}},{'context':_0xd956bf});}['_defineClickHandlers'](){const {editor:_0x14c706}=this,{editing:_0x308cfd}=_0x14c706;_0x14c706['editing']['view']['addObserver'](_0x493d93),_0x14c706['editing']['view']['addObserver'](_0x31e545);let _0x1a0e31=!0x1;this['listenTo'](_0x308cfd['view']['document'],'pointerdown',(_0x14ef9f,_0x482bea)=>{const {target:_0x506c1a}=_0x482bea,_0x109f91=_0x308cfd['view']['document']['selection'];_0x1a0e31=!!(_0x506c1a?.['is']('element','a')&&_0x506c1a['parent']?.['is']('element','sup')&&_0x506c1a['parent']['hasClass']('footnote'))&&_0x109f91['getSelectedElement']()===_0x506c1a['parent'];},{'priority':'high'}),this['listenTo'](_0x308cfd['view']['document'],'click',(_0x113534,_0x4713b6)=>{const {target:_0x3d34bd}=_0x4713b6;if(!_0x3d34bd?.['is']('element','a'))return;if(_0x3d34bd['parent']?.['is']('element','sup')&&_0x3d34bd['parent']['hasClass']('footnote')&&!_0x1a0e31)return void _0x4713b6['preventDefault']();let _0x3dc460=_0x3d34bd['getAttribute']('href');if(!_0x3dc460?.['startsWith']('#'))return;_0x3dc460=_0x3dc460['slice'](0x1);let _0x4d4db6=!0x1;(_0x3dc460['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3dc460['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3dc460))&&(_0x4d4db6=!0x0),_0x4d4db6&&(_0x4713b6['preventDefault'](),_0x113534['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x42405d}={}){return(_0x4af203,{writer:_0x35e63b})=>{if(!g(_0x4af203))return null;if(!_0x42405d)return _0x35e63b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5a5cf2=_0x35e63b['createContainerElement']('p');return _0x35e63b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a5cf2),_0x5a5cf2;};}function g(_0x4c1f08){const {parent:_0x31354d}=_0x4c1f08;if(!_0x31354d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x31354d['childCount'])return!0x1;for(const _0x480684 of _0x4c1f08['getAttributeKeys']())if(!_0x480684['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x480684)return!0x1;return!0x0;}function v(_0x2ae2fc,_0x4489df){if(!_0x2ae2fc['is']('element','paragraph'))return!0x1;const _0x1953fb=_0x4489df['toViewElement'](_0x2ae2fc);return!!_0x1953fb&&g(_0x2ae2fc)!==_0x1953fb['is']('element','span');}function Q(_0x246d96){return _0xd956bf(_0x246d96)&&_0x246d96['is']('containerElement')&&!!_0x246d96['getCustomProperty']('footnotesDefinitions');}function D(_0x3931aa,_0x337a0d={}){const _0x50bd43=_0x3931aa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x54c648=_0x3931aa['createContainerElement']('ol',{'class':'footnotes-list'},_0x3931aa['createSlot']());return _0x3931aa['createContainerElement']('div',{'class':'footnotes',..._0x337a0d},[_0x50bd43,_0x54c648]);}function b(_0x6c2331,_0x522a0e){const _0x3eaab7=_0x6c2331['getAttribute']('footnoteId'),_0x37cc7b=_0x6c2331['getAttribute']('footnoteCounter'),_0x31b02e=_0x522a0e['createUIElement']('a',{'href':'#'+_0x3eaab7},function(_0x3d1246){const _0x40c2cb=this['toDomElement'](_0x3d1246);return _0x40c2cb['textContent']=_0x37cc7b,_0x40c2cb;}),_0x2fa597=_0x522a0e['createContainerElement']('sup',{'id':'ref-'+_0x3eaab7,'class':'footnote'},[_0x31b02e]);return _0x2fa597['getFillerOffset']=()=>null,_0x2fa597;}function y(_0x141831,_0xa81c21,_0x555244,{dataPipeline:_0x1ead09}={}){const {t:t}=_0x555244,_0x1b1840=_0x141831['getAttribute']('footnoteId'),_0x33b9ca=_0xa81c21['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1b1840},function(_0x22bbab){const _0x24ac5c=this['toDomElement'](_0x22bbab);return _0x24ac5c['innerText']='^',_0x24ac5c;}),_0x24f24f=_0x1ead09?_0xa81c21['createContainerElement']('div',{'class':'footnote-content'}):_0x550531(_0xa81c21['createEditableElement']('div',{'class':'footnote-content'}),_0xa81c21,{'label':t('Footnote\x20content.')});return _0xa81c21['insert'](_0xa81c21['createPositionAt'](_0x24f24f,0x0),_0xa81c21['createSlot']()),_0xa81c21['createContainerElement']('li',{'class':'footnote-definition','id':_0x1b1840},[_0x33b9ca,_0x24f24f]);}class e extends _0x18b5ec{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x33d5c4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x56b7cb}=this,{plugins:_0x4c34bb,model:_0x3119e1}=_0x56b7cb,_0x4c805a=_0x4c34bb['get'](_0x33d5c4),_0x377ed1=_0x4c34bb['get'](f);this['listenTo'](_0x4c805a,'outputTransformation',(_0x43768e,_0x2d1239)=>{const _0x4302ab=l(_0x3119e1['createRangeIn'](_0x2d1239['content']));if(!_0x4302ab['length'])return;const _0x554b2f=_0x377ed1['getFootnotes'](),_0x4cdacf=_0x4302ab['reduce']((_0x4b2f2a,_0x3928ae)=>{const _0x489eec=_0x554b2f['find'](_0x49f3df=>_0x49f3df['id']===_0x3928ae);if(_0x489eec){const _0x262794=_0x56b7cb['data']['toView'](_0x489eec['definition'],{'isClipboardPipeline':!0x0}),_0x37cb5d=_0x56b7cb['data']['htmlProcessor']['toData'](_0x262794);_0x4b2f2a[_0x489eec['id']]=_0x37cb5d;}return _0x4b2f2a;},Object['create'](null));_0x2d1239['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4cdacf));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x19a571}=this,{model:_0x1227f1,plugins:_0x580307}=_0x19a571,{view:_0x5799a3}=_0x19a571['editing'],_0x5867ed=_0x580307['get'](_0x33d5c4),_0x3ad59c=_0x580307['get'](f),_0x135022=_0x19a571['config']['get']('footnotes.multiBlock');let _0x43ca0d=null;this['listenTo'](_0x5799a3['document'],'clipboardInput',(_0x1339bb,_0x56c9c9)=>{const _0x415ac5=_0x56c9c9['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x43ca0d=_0x415ac5?JSON['parse'](_0x415ac5):null;}),this['listenTo'](_0x5867ed,'contentInsertion',(_0x181cee,_0x190d4b)=>{const _0x5e25eb=_0x190d4b['sourceEditorId']===this['editor']['id'];_0x5e25eb&&'drop'===_0x190d4b['method']||_0x1227f1['change'](_0x2c0791=>{let _0x403c5b=_0x3ad59c['getFootnotesDefinitionsObjectElement']();const _0x36cbd4=!!_0x403c5b&&Array['from'](_0x1227f1['document']['selection']['getSelectedBlocks']())['includes'](_0x403c5b);if(!_0x43ca0d&&function(_0x431823){for(const {item:_0x2ecd87}of _0x431823)if(_0x2ecd87['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1227f1['createRangeIn'](_0x190d4b['content']))&&(_0x43ca0d=function(_0x6837c0,_0x2cdf2c){const _0xca6892=c(_0x6837c0,_0x2cdf2c);if(!_0xca6892)return null;const _0x16885f=Object['create'](null);for(const _0xacb1e5 of _0xca6892['getChildren']())_0xacb1e5['is']('element','footnoteDefinition')&&_0xacb1e5['hasAttribute']('footnoteId')&&(_0x16885f[_0xacb1e5['getAttribute']('footnoteId')]=_0x6837c0['cloneElement'](_0xacb1e5,!0x0));return Object['keys'](_0x16885f)['length']?_0x16885f:null;}(_0x2c0791,_0x190d4b['content'])),(_0x403c5b&&!_0x36cbd4||!_0x403c5b&&!_0x43ca0d)&&function(_0x89c025,_0x192bda){const _0x5129d8=[];for(const {item:_0xe7659e}of _0x89c025['createRangeIn'](_0x192bda))_0xe7659e['is']('element','footnotesDefinitions')&&_0x5129d8['push'](_0xe7659e);for(const _0x30aeb3 of _0x5129d8)_0x89c025['remove'](_0x30aeb3);}(_0x2c0791,_0x190d4b['content']),!_0x43ca0d)return;const {selection:_0x44d43}=_0x1227f1['document'],_0x241808=_0x44d43['getFirstRange']()['root'];_0x403c5b&&!_0x36cbd4||(_0x403c5b=c(_0x2c0791,_0x190d4b['content']),_0x403c5b||=_0x3ad59c['_insertEmptyFootnotesDefinitionsContainer'](_0x2c0791,_0x241808));const _0x58a432=Array['from'](_0x44d43['getRanges']())['flatMap'](l),_0x7a5c3c=function(_0x368942,_0x5ad567,_0x551688){const _0x533aa8=Object['create'](null);for(const {item:_0x1fe7ee}of _0x368942['createRangeIn'](_0x5ad567))if(_0x1fe7ee['is']('element','footnoteRef')){const _0x13b6ec=_0x1fe7ee['getAttribute']('footnoteId');if(!_0x551688(_0x13b6ec))continue;_0x533aa8[_0x13b6ec]||(_0x533aa8[_0x13b6ec]=_0x578702()),_0x368942['setAttribute']('footnoteId',_0x533aa8[_0x13b6ec],_0x1fe7ee);}return _0x533aa8;}(_0x2c0791,_0x190d4b['content'],_0x498601=>{if(!_0x5e25eb)return!0x0;return!!_0x3ad59c['getFootnote'](_0x498601)&&!_0x58a432['includes'](_0x498601);});for(const [_0x304a34,_0x5c96c6]of Object['entries'](_0x43ca0d)){const _0x433d74=_0x7a5c3c[_0x304a34]||_0x304a34;let _0x5aaff7;if('string'!=typeof _0x5c96c6)_0x5aaff7=_0x5c96c6,_0x433d74!==_0x304a34&&_0x2c0791['setAttribute']('footnoteId',_0x433d74,_0x5aaff7);else{_0x5aaff7=_0x2c0791['createElement']('footnoteDefinition',{'footnoteId':_0x433d74});const _0x1c0248=_0x19a571['data']['htmlProcessor']['toView'](_0x5c96c6);let _0x493ac4;if(_0x135022)_0x493ac4=_0x19a571['data']['toModel'](_0x1c0248,_0x5aaff7);else{_0x493ac4=_0x2c0791['createElement']('footnoteInlineContent');const _0x370adb=_0x19a571['data']['toModel'](_0x1c0248,_0x493ac4);_0x2c0791['insert'](_0x370adb,_0x493ac4);}_0x2c0791['append'](_0x493ac4,_0x5aaff7);}_0x2c0791['insert'](_0x5aaff7,_0x403c5b,'end');}_0x43ca0d=null;});});}}function c(_0xdd8f77,_0x6f3c2a){for(const {item:_0x54d729}of _0xdd8f77['createRangeIn'](_0x6f3c2a))if(_0x54d729['is']('element','footnotesDefinitions'))return _0x54d729;return null;}function l(_0x38d88e){const _0x59f0d1=new Set();for(const {item:_0xa7cb96}of _0x38d88e)_0xa7cb96['is']('element','footnoteRef')&&_0x59f0d1['add'](_0xa7cb96['getAttribute']('footnoteId'));return Array['from'](_0x59f0d1);}class i extends _0x18b5ec{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53b808}=this,{componentFactory:_0x12fa1e}=_0x53b808['ui'];_0x12fa1e['add']('insertFootnote',E(_0x53b808,_0x53ca0b)),_0x12fa1e['add']('menuBar:insertFootnote',E(_0x53b808,_0x224e71)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d1769=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f2155;for(const _0x4ae405 in _0x5d1769){const _0x3dcf0e=_0x4ae405,_0x59657e=_0x5d1769[_0x3dcf0e];if('footnotesLicenseKeyValid'==_0x59657e||'footnotesLicenseKeyInvalid'==_0x59657e||'footnotesLicenseKeyExpired'==_0x59657e||'footnotesLicenseKeyDomainLimit'==_0x59657e||'footnotesLicenseKeyNotAllowed'==_0x59657e||'footnotesLicenseKeyEvaluationLimit'==_0x59657e||'footnotesLicenseKeyUsageLimit'==_0x59657e){delete _0x5d1769[_0x3dcf0e],_0x4f2155=_0x59657e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4f2155&&_0x5d1769['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4f2155&&_0x5d1769['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4f2155&&_0x5d1769['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4f2155&&_0x5d1769['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4f2155&&_0x5d1769['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4f2155&&_0x5d1769['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4b2a0d,_0x5ea042){const _0x3c150f=_0x4b2a0d['commands']['get']('insertFootnote');return _0x4a4f3f=>{const {t:t}=_0x4a4f3f,_0x4dc1b9=new _0x5ea042(_0x4a4f3f),_0x4af577=_0x4dc1b9 instanceof _0x224e71;return _0x4dc1b9['bind']('isEnabled')['to'](_0x3c150f,'isEnabled'),_0x4dc1b9['set']({'label':t(_0x4af577?'Footnote':'Insert\x20footnote'),'icon':_0x3e6764,'tooltip':!0x0}),_0x4dc1b9['on']('execute',()=>{_0x3c150f['execute'](),_0x4b2a0d['editing']['view']['focus']();}),_0x4dc1b9;};}class lt extends _0x18b5ec{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const ct=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x4bbd41{['refresh'](){const {editor:_0x3de5fd}=this,_0x2bbcae=_0x3de5fd['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bbcae,this['value']=_0x2bbcae?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4cf06d}){const {editor:_0x55b29d}=this,_0x2e94ca=_0x55b29d['plugins']['get'](f),_0x1f2f9e=_0x2e94ca['getFootnotesDefinitionsObjectElement']();_0x1f2f9e&&ct['includes'](_0x4cf06d)&&_0x55b29d['model']['change'](_0xc87e2c=>{_0xc87e2c['setAttribute']('footnotesListStyle',_0x4cf06d,_0x1f2f9e),_0x2e94ca['_updateFootnotesCounters'](_0xc87e2c);});}}class C extends _0x4bbd41{['refresh'](){const {editor:_0xb4cdab}=this,_0x1b2c29=_0xb4cdab['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1b2c29,this['value']=_0x1b2c29?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1cd954}){const {editor:_0x2fe551}=this,_0x5cce84=_0x2fe551['plugins']['get'](f),_0x236287=_0x5cce84['getFootnotesDefinitionsObjectElement']();_0x236287&&Number['isInteger'](_0x1cd954)&&_0x2fe551['model']['change'](_0x3172a3=>{_0x3172a3['setAttribute']('footnotesListStart',_0x1cd954,_0x236287),_0x5cce84['_updateFootnotesCounters'](_0x3172a3);});}}class P extends _0x18b5ec{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47c3d7}=this;_0x47c3d7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x47c3d7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x47c3d7['commands']['add']('footnotesStyle',new S(_0x47c3d7)),_0x47c3d7['commands']['add']('footnotesStart',new C(_0x47c3d7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1530ca}=this,{schema:_0x33fe34}=_0x1530ca['model'];_0x33fe34['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x21e4b4}=this,{conversion:_0x5c4f0a,model:_0x47ef05}=_0x21e4b4,{schema:_0x3f4a1e}=_0x47ef05;_0x5c4f0a['for']('upcast')['add'](_0x11e0ff=>{_0x11e0ff['on']('element:ol',(_0x34f2de,_0x12e418,_0x3e2f38)=>{const _0x184d35=_0x12e418['viewItem'],_0x4dbd90=_0x12e418['modelCursor']?.['parent'];_0x184d35['hasClass']('footnotes-list')&&_0x4dbd90?.['is']('element','footnotesDefinitions')&&(function(_0x507fae,_0x1811cd,_0x3a7798,_0x55c869){if(!_0x55c869['checkAttribute'](_0x1811cd,'footnotesListStart'))return;let _0x34e6d3=0x1;const _0x33bdb0=_0x3a7798['consumable']['consume'](_0x507fae,{'attributes':'start'});if(_0x33bdb0){const _0x329f6f=Number['parseInt'](_0x507fae['getAttribute']('start'),0xa);Number['isNaN'](_0x329f6f)||(_0x34e6d3=_0x329f6f);}!_0x33bdb0&&_0x1811cd['hasAttribute']('footnotesListStart')||_0x3a7798['writer']['setAttribute']('footnotesListStart',_0x34e6d3,_0x1811cd);}(_0x184d35,_0x4dbd90,_0x3e2f38,_0x3f4a1e),function(_0x1f8843,_0x3e51ff,_0x2ba71a,_0x23c873){if(!_0x23c873['checkAttribute'](_0x3e51ff,'footnotesListStyle'))return;let _0xc83aaa='decimal',_0x3d8095=!0x1;if(_0x2ba71a['consumable']['consume'](_0x1f8843,{'attributes':'type'})){const _0x406422={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1f8843['getAttribute']('type')];_0x406422&&(_0xc83aaa=_0x406422),_0x3d8095=!0x0;}_0x2ba71a['consumable']['consume'](_0x1f8843,{'styles':'list-style-type'})&&(_0xc83aaa=function(_0x3a1299){switch(_0x3a1299){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3a1299;}}(_0x1f8843['getStyle']('list-style-type')),_0x3d8095=!0x0),!_0x3d8095&&_0x3e51ff['hasAttribute']('footnotesListStyle')||_0x2ba71a['writer']['setAttribute']('footnotesListStyle',_0xc83aaa,_0x3e51ff);}(_0x184d35,_0x4dbd90,_0x3e2f38,_0x3f4a1e));});}),_0x5c4f0a['for']('downcast')['add'](_0x404488=>{_0x404488['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x33a8d7,_0x24d462,_0x1abc4d)=>{if(!_0x1abc4d['consumable']['consume'](_0x24d462['item'],_0x33a8d7['name']))return;const _0x3ed8d2=M(_0x24d462['item'],_0x1abc4d['mapper']),{attributeNewValue:_0x1800f9}=_0x24d462;null==_0x1800f9||0x1===_0x1800f9?_0x1abc4d['writer']['removeAttribute']('start',_0x3ed8d2):_0x1abc4d['writer']['setAttribute']('start',String(_0x1800f9),_0x3ed8d2);}),_0x404488['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x20c00c,_0x17e0c0,_0x4d241d)=>{if(!_0x4d241d['consumable']['consume'](_0x17e0c0['item'],_0x20c00c['name']))return;const _0x2f03da=M(_0x17e0c0['item'],_0x4d241d['mapper']),{attributeNewValue:_0x547059}=_0x17e0c0;_0x547059&&'decimal'!==_0x547059?_0x4d241d['writer']['setStyle']('list-style-type',_0x547059,_0x2f03da):_0x4d241d['writer']['removeStyle']('list-style-type',_0x2f03da);});});}['_definePostfixer'](){const {editor:_0x552b43}=this,{model:_0x5aa1aa}=_0x552b43,_0x5845ad=_0x552b43['plugins']['get'](f),_0x2c1fe6=this['_getDefaultListStyle'](),_0x4c895e=this['_getDefaultStartIndex']();_0x5aa1aa['document']['registerPostFixer'](_0x36f5c1=>{const _0xe3a4e8=_0x5aa1aa['document']['differ']['getChanges']();let _0x33d53b=!0x1;for(const _0xbfa617 of _0xe3a4e8){if('insert'!==_0xbfa617['type']||'$text'===_0xbfa617['name'])continue;const _0x19a160=_0x5aa1aa['createRangeOn'](_0xbfa617['position']['nodeAfter']);for(const _0x39e522 of _0x19a160['getItems']())_0x39e522['is']('element','footnotesDefinitions')&&(!_0x39e522['hasAttribute']('footnotesListStart')&&_0x5aa1aa['schema']['checkAttribute'](_0x39e522,'footnotesListStart')&&(_0x36f5c1['setAttribute']('footnotesListStart',_0x4c895e,_0x39e522),_0x33d53b=!0x0),!_0x39e522['hasAttribute']('footnotesListStyle')&&_0x5aa1aa['schema']['checkAttribute'](_0x39e522,'footnotesListStyle')&&(_0x36f5c1['setAttribute']('footnotesListStyle',_0x2c1fe6,_0x39e522),_0x33d53b=!0x0));}return _0x33d53b&&_0x5845ad['_updateFootnotesCounters'](_0x36f5c1),_0x33d53b;});}['_defineFormatter'](){const {editor:_0x17d583}=this;_0x17d583['plugins']['get'](f)['setFootnoteFormatter'](_0x58aca5=>this['_formatFootnoteListValue'](_0x58aca5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2bfc8f,value:_0x53e0dc,digits:_0x20cd26}){const _0xd69d3=_0x2bfc8f['getAttribute']('footnotesListStyle'),_0x1093de=_0x2bfc8f['getAttribute']('footnotesListStart'),_0x509ecc=Math['floor'](_0x53e0dc)+(_0x1093de??0x1)-0x1;switch(_0xd69d3){case'decimal-leading-zero':return function(_0x219da8,_0x9d72fb){return String(_0x219da8)['padStart'](_0x9d72fb,'0');}(_0x509ecc,Math['max'](0x2,_0x20cd26));case'lower-alpha':case'lower-latin':return N(_0x509ecc,!0x1);case'upper-alpha':case'upper-latin':return N(_0x509ecc,!0x0);case'lower-roman':return X(_0x509ecc,!0x1);case'upper-roman':return X(_0x509ecc,!0x0);default:return String(_0x509ecc);}}}function M(_0x3e483a,_0x1bfbad){const _0x304685=_0x1bfbad['toViewElement'](_0x3e483a);return Array['from'](_0x304685['getChildren']())['find'](_0x9ef0d7=>_0x9ef0d7['is']('element','ol')&&_0x9ef0d7['hasClass']('footnotes-list'));}function N(_0x30d16b,_0x5020de){let _0x4a3525='',_0x322424=_0x30d16b;for(;_0x322424>0x0;){const _0x51428=(_0x322424-0x1)%0x1a;_0x4a3525=String['fromCharCode'](0x61+_0x51428)+_0x4a3525,_0x322424=Math['floor']((_0x322424-0x1)/0x1a);}return _0x5020de?_0x4a3525['toUpperCase']():_0x4a3525;}const V=[{'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 X(_0xfc9b25,_0x46ff02){let _0x3a6b57='',_0x4122bc=_0xfc9b25;for(const {value:_0xa95b6d,numeral:_0x5bb57a}of V)for(;_0x4122bc>=_0xa95b6d;)_0x3a6b57+=_0x5bb57a,_0x4122bc-=_0xa95b6d;return _0x46ff02?_0x3a6b57:_0x3a6b57['toLowerCase']();}class J extends _0x2ac156{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3a6238();['focusCycler'];constructor(_0x4b7a6e,{styleButtonViews:_0x1aa834,styleGridAriaLabel:_0x190e4d}){super(_0x4b7a6e),(this['focusCycler']=new _0x8c8759({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1aa834,_0x190e4d),[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 _0xfdb9f2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xfdb9f2['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0xd2dfbb=_0x599093=>_0x599093['stopPropagation']();this['keystrokes']['set']('arrowright',_0xd2dfbb),this['keystrokes']['set']('arrowleft',_0xd2dfbb),this['keystrokes']['set']('arrowup',_0xd2dfbb),this['keystrokes']['set']('arrowdown',_0xd2dfbb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x28d6c5,_0x4cc66e){const _0xd5557a=new _0x2ac156(this['locale']);return _0xd5557a['children']=_0xd5557a['createCollection'](),_0xd5557a['children']['addMany'](_0x28d6c5),_0xd5557a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4cc66e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd5557a['children']}),_0xd5557a['children']['delegate']('execute')['to'](this),_0xd5557a['focus']=function(){for(const _0x1c5768 of this['children'])if(_0x1c5768 instanceof _0x53ca0b&&_0x1c5768['isOn'])return void _0x1c5768['focus']();this['children']['first']['focus']();},_0xd5557a['focusTracker']=new ot(),_0xd5557a['keystrokes']=new rt(),_0xd5557a['render'](),_0xd5557a['keystrokes']['listenTo'](_0xd5557a['element']),this['children']['add'](_0xd5557a),_0xd5557a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1d929d=this['_createStartIndexPropertyView'](),_0x1167bc=[_0x1d929d],_0x1c4f51=new st(this['locale'],_0x1167bc);return _0x1c4f51['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1c4f51['buttonView']['bind']('isEnabled')['toMany'](_0x1167bc,'isEnabled',(..._0xc558c0)=>_0xc558c0['some'](_0x49e428=>_0x49e428)),_0x1c4f51['buttonView']['on']('change:isEnabled',(_0xfc741d,_0x11d165,_0x3e42bb)=>{_0x3e42bb||(_0x1c4f51['isCollapsed']=!0x0);}),this['children']['add'](_0x1c4f51),[_0x1d929d,_0x1c4f51];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x39cd15=new it(this['locale'],et);return _0x39cd15['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x39cd15['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x39cd15['fieldView']['on']('input',()=>{const _0x254b67=_0x39cd15['fieldView']['element'],_0x420dac=_0x254b67['valueAsNumber'];Number['isNaN'](_0x420dac)?_0x39cd15['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x254b67['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x420dac}):_0x39cd15['errorText']=t(_0x420dac<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x39cd15;}}class j extends _0x18b5ec{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1129cb,_0x5a928e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41d9de}=this,{componentFactory:_0xe464c4}=_0x41d9de['ui'];_0x41d9de['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xe464c4['add']('footnotesStyle',function(_0x1cef7a){return _0x280271=>{const {t:t}=_0x280271,_0x286520=_0x1cef7a['commands']['get']('footnotesStyle'),_0x2a7a11=_0x15a034(_0x280271),{buttonView:_0x4b11ce}=_0x2a7a11;return _0x2a7a11['class']='ck-footnotes-styles-dropdown',_0x2a7a11['bind']('isEnabled')['to'](_0x286520,'isEnabled'),_0x4b11ce['set']({'label':t('Footnotes\x20style'),'icon':_0x3e6764,'tooltip':!0x0}),_0x2a7a11['once']('change:isOpen',()=>{const _0x25d2e5=function({editor:_0x1a229d,dropdownView:_0x22599c}){const {t:t}=_0x1a229d['locale'],_0x8cd5a7=t('Footnotes\x20definitions\x20styles'),_0x4cd25a=function(_0x5d2779){const t=_0x5d2779['locale']['t'],_0x310881=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x35a41d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x15854c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x39d07d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x34c7a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x640933},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5d0855}];return _0x310881['map'](function(_0x2e2f63){const _0x3ea0c6=_0x2e2f63['locale'];return({label:_0x2202b9,icon:_0x4e1c39,tooltip:_0x456248,style:_0x1f3bba})=>{const _0x447ca7=_0x2e2f63['commands']['get']('footnotesStyle'),_0x129f7b=new _0x53ca0b(_0x3ea0c6);return _0x129f7b['set']({'label':_0x2202b9,'icon':_0x4e1c39,'tooltip':_0x456248}),_0x129f7b['bind']('isOn')['to'](_0x447ca7,'value',_0x2a955c=>_0x2a955c===_0x1f3bba),_0x129f7b['bind']('isEnabled')['to'](_0x447ca7,'isEnabled'),_0x129f7b['on']('execute',()=>{_0x2e2f63['execute']('footnotesStyle',{'value':_0x1f3bba}),_0x2e2f63['editing']['view']['focus']();}),_0x129f7b;};}(_0x5d2779));}(_0x1a229d),_0x44ca74=new J(_0x1a229d['locale'],{'styleGridAriaLabel':_0x8cd5a7,'styleButtonViews':_0x4cd25a}),_0xc8cca5=_0x1a229d['commands']['get']('footnotesStart');return _0x44ca74['startIndexFieldView']['bind']('isEnabled')['to'](_0xc8cca5),_0x44ca74['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xc8cca5),_0x44ca74['on']('footnotesListStart',(_0x368c8b,_0x3e5168)=>{_0x1a229d['execute']('footnotesStart',{'value':_0x3e5168['startIndex']});}),_0x44ca74['delegate']('execute')['to'](_0x22599c),_0x44ca74;}({'editor':_0x1cef7a,'dropdownView':_0x2a7a11});_0x2a7a11['panelView']['children']['add'](_0x25d2e5);}),_0x2a7a11;};}(_0x41d9de));}['afterInit'](){const {editor:_0x5762d7}=this,{t:t}=_0x5762d7['locale'],_0x12aae0=_0x5762d7['plugins']['get'](_0x5a928e),{defaultPositions:_0x30857e}=_0x414a7c;_0x12aae0['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5762d7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x434d6e=>{let _0x38900c=_0x434d6e['getFirstPosition']()?.['parent'];return _0x38900c?.['is']('$text')&&(_0x38900c=_0x38900c['parent']),_0x38900c?.['is']('element')?_0x38900c['findAncestor'](Q):null;},'positions':[_0x30857e['southArrowNorth'],_0x30857e['southArrowNorthMiddleWest'],_0x30857e['southArrowNorthMiddleEast'],_0x30857e['southArrowNorthWest'],_0x30857e['southArrowNorthEast'],_0x30857e['northArrowSouth'],_0x30857e['northArrowSouthMiddleWest'],_0x30857e['northArrowSouthMiddleEast'],_0x30857e['northArrowSouthWest'],_0x30857e['northArrowSouthEast'],_0x30857e['viewportStickyNorth']]});}}class ft extends _0x18b5ec{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h 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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x276b3a=>0x1!=_0x276b3a}};
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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2fc777=>0x1!=_0x2fc777}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x187861=>{const {af:{dictionary:_0x3f9050,getPluralForm:_0x10b66f}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x4a18ed=>0x1!=_0x4a18ed}};_0x187861['af']||={'dictionary':{},'getPluralForm':null},_0x187861['af']['dictionary']=Object['assign'](_0x187861['af']['dictionary'],_0x3f9050),_0x187861['af']['getPluralForm']=_0x10b66f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24ffad=>{const {af:{dictionary:_0x3b2d59,getPluralForm:_0x4d1e09}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x49758e=>0x1!=_0x49758e}};_0x24ffad['af']||={'dictionary':{},'getPluralForm':null},_0x24ffad['af']['dictionary']=Object['assign'](_0x24ffad['af']['dictionary'],_0x3b2d59),_0x24ffad['af']['getPluralForm']=_0x4d1e09;})(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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x413495=>0x0==_0x413495?0x0:0x1==_0x413495?0x1:0x2==_0x413495?0x2:_0x413495%0x64>=0x3&&_0x413495%0x64<=0xa?0x3:_0x413495%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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x495c7e=>0x0==_0x495c7e?0x0:0x1==_0x495c7e?0x1:0x2==_0x495c7e?0x2:_0x495c7e%0x64>=0x3&&_0x495c7e%0x64<=0xa?0x3:_0x495c7e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55f11f=>{const {ar:{dictionary:_0x342e9f,getPluralForm:_0x4d36de}}={'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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x52b883=>0x0==_0x52b883?0x0:0x1==_0x52b883?0x1:0x2==_0x52b883?0x2:_0x52b883%0x64>=0x3&&_0x52b883%0x64<=0xa?0x3:_0x52b883%0x64>=0xb?0x4:0x5}};_0x55f11f['ar']||={'dictionary':{},'getPluralForm':null},_0x55f11f['ar']['dictionary']=Object['assign'](_0x55f11f['ar']['dictionary'],_0x342e9f),_0x55f11f['ar']['getPluralForm']=_0x4d36de;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x440b9e=>{const {ar:{dictionary:_0x3f754e,getPluralForm:_0x5db83c}}={'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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x1633a4=>0x0==_0x1633a4?0x0:0x1==_0x1633a4?0x1:0x2==_0x1633a4?0x2:_0x1633a4%0x64>=0x3&&_0x1633a4%0x64<=0xa?0x3:_0x1633a4%0x64>=0xb?0x4:0x5}};_0x440b9e['ar']||={'dictionary':{},'getPluralForm':null},_0x440b9e['ar']['dictionary']=Object['assign'](_0x440b9e['ar']['dictionary'],_0x3f754e),_0x440b9e['ar']['getPluralForm']=_0x5db83c;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x24a614=>0x1!=_0x24a614}};
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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x5531da=>0x1!=_0x5531da}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b84be=>{const {ast:{dictionary:_0x4014c6,getPluralForm:_0x1d828e}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x3cd2ef=>0x1!=_0x3cd2ef}};_0x4b84be['ast']||={'dictionary':{},'getPluralForm':null},_0x4b84be['ast']['dictionary']=Object['assign'](_0x4b84be['ast']['dictionary'],_0x4014c6),_0x4b84be['ast']['getPluralForm']=_0x1d828e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x345b1e=>{const {ast:{dictionary:_0x4778ab,getPluralForm:_0x471c52}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2fdeea=>0x1!=_0x2fdeea}};_0x345b1e['ast']||={'dictionary':{},'getPluralForm':null},_0x345b1e['ast']['dictionary']=Object['assign'](_0x345b1e['ast']['dictionary'],_0x4778ab),_0x345b1e['ast']['getPluralForm']=_0x471c52;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0xc80418=>0x1!=_0xc80418}};
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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x44f614=>0x1!=_0x44f614}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x172a84=>{const {az:{dictionary:_0x23c928,getPluralForm:_0x774e62}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x11c824=>0x1!=_0x11c824}};_0x172a84['az']||={'dictionary':{},'getPluralForm':null},_0x172a84['az']['dictionary']=Object['assign'](_0x172a84['az']['dictionary'],_0x23c928),_0x172a84['az']['getPluralForm']=_0x774e62;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x409199=>{const {az:{dictionary:_0x439dbf,getPluralForm:_0x179cbd}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x929902=>0x1!=_0x929902}};_0x409199['az']||={'dictionary':{},'getPluralForm':null},_0x409199['az']['dictionary']=Object['assign'](_0x409199['az']['dictionary'],_0x439dbf),_0x409199['az']['getPluralForm']=_0x179cbd;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x490db6=>_0x490db6%0xa==0x1&&_0x490db6%0x64!=0xb?0x0:_0x490db6%0xa>=0x2&&_0x490db6%0xa<=0x4&&(_0x490db6%0x64<0xa||_0x490db6%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x5bde3b=>_0x5bde3b%0xa==0x1&&_0x5bde3b%0x64!=0xb?0x0:_0x5bde3b%0xa>=0x2&&_0x5bde3b%0xa<=0x4&&(_0x5bde3b%0x64<0xa||_0x5bde3b%0x64>=0x14)?0x1:0x2}};