@ckeditor/ckeditor5-footnotes 47.4.0-alpha.4 → 47.4.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 _0x30fa3c,Command as _0x53f55f}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x165f1f,isWidget as _0x93b993,toWidgetEditable as _0x271e10,WidgetToolbarRepository as _0x3ff51c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x50c6d8,logWarning as _0x56e64d,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3c84aa,ClickObserver as _0x217c58}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x496109}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x209317,ButtonView as _0x10acff,View as _0x2be6a4,ViewCollection as _0xb04a7c,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x4bc115,BalloonPanelView as _0x489f81,createDropdown as _0x4817e6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x990c6a,IconListStyleDecimal as _0x328fab,IconListStyleDecimalLeadingZero as _0x3b0897,IconListStyleLowerRoman as _0x2843c8,IconListStyleUpperRoman as _0x16d554,IconListStyleLowerLatin as _0x33d01d,IconListStyleUpperLatin as _0x5d9648}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x30a427,_0x4e2b14){this['_model']=_0x30a427,this['_elementName']=_0x4e2b14['elementName'],this['_getElementKey']=_0x4e2b14['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x52d6c5){const _0x4893bc=new Set(),_0x2c5a6e=new Map();for(const _0xe2bf1f of _0x52d6c5){if('insert'===_0xe2bf1f['type']&&'$text'!==_0xe2bf1f['name']&&_0xe2bf1f['position']['nodeAfter']){const _0x31ac54=this['_model']['createRangeOn'](_0xe2bf1f['position']['nodeAfter']);for(const _0x48d1a8 of _0x31ac54['getItems']()){if(!_0x48d1a8['is']('element',this['_elementName']))continue;const _0x5cac32=this['_getElementKey'](_0x48d1a8);_0x2c5a6e['has'](_0x5cac32)||_0x2c5a6e['set'](_0x5cac32,[]),_0x2c5a6e['get'](_0x5cac32)['push'](_0x48d1a8);}}if('remove'===_0xe2bf1f['type']&&_0xe2bf1f['name']===this['_elementName']){const _0x2fd3de=this['_getElementKey']({'getAttribute':_0x36e23d=>_0xe2bf1f['attributes']['get'](_0x36e23d)});_0x4893bc['add'](_0x2fd3de);}}for(const [_0x1b66e5,_0xe68021]of this['_trackedElements'])'$graveyard'===_0xe68021['root']['rootName']&&_0x4893bc['add'](_0x1b66e5);for(const _0x40eda1 of _0x4893bc)this['_trackedElements']['delete'](_0x40eda1);for(const [_0x556e35,_0x19e9fc]of _0x2c5a6e)this['_trackedElements']['set'](_0x556e35,_0x19e9fc[_0x19e9fc['length']-0x1]);const _0x4a5948=new Set();for(const [_0x39802a,_0x2792bc]of _0x2c5a6e)_0x4893bc['has'](_0x39802a)&&(_0x4a5948['add'](_0x2792bc[0x0]),_0x2792bc['length']>0x1?_0x2c5a6e['set'](_0x39802a,_0x2792bc['slice'](0x1)):_0x2c5a6e['delete'](_0x39802a),_0x4893bc['delete'](_0x39802a));return{'removed':Array['from'](_0x4893bc),'inserted':Array['from'](_0x2c5a6e['values']())['flat'](),'moved':Array['from'](_0x4a5948)};}}class f extends _0x30fa3c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5c6639){super(_0x5c6639),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x45fcb7=>_0x45fcb7['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x58b0a0=>_0x58b0a0['getAttribute']('footnoteId')});}['init'](){const {editor:_0x437966}=this,{model:_0x1e09ec,data:_0x24d2ee}=_0x437966;_0x1e09ec['document']['registerPostFixer'](_0xc6317a=>{const _0x2b3dc3=_0x1e09ec['document']['differ']['getChanges']();let _0x2f4854=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc6317a,_0x2b3dc3)&&(_0x2f4854=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc6317a,_0x2b3dc3)&&(_0x2f4854=!0x0),this['_handleFootnoteReferencesChanges'](_0xc6317a,_0x2b3dc3)&&(_0x2f4854=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc6317a)&&(_0x2f4854=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc6317a)&&(_0x2f4854=!0x0),this['_sortFootnoteDefinitions'](_0xc6317a)&&(_0x2f4854=!0x0),_0x2f4854;}),this['listenTo'](_0x1e09ec['document'],'change:data',()=>{_0x1e09ec['enqueueChange']({'isUndoable':!0x1},_0x29991c=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x29991c);});},{'priority':'low'}),this['listenTo'](_0x24d2ee,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x254ac0){return this['_footnotes']['find'](_0xcc97cf=>_0xcc97cf['id']===_0x254ac0)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x6fed66){this['_footnoteFormatter']=_0x6fed66;}['_updateFootnotesCounters'](_0x5c2d10,_0x4e3ea2=0x0){let _0x272987=!0x1;for(let _0x1b4ed6=_0x4e3ea2;_0x1b4ed6<this['_footnotes']['length'];_0x1b4ed6++)this['_updateFootnoteRefCounter'](_0x5c2d10,_0x1b4ed6)&&(_0x272987=!0x0);return _0x272987;}['_insertEmptyFootnotesDefinitionsContainer'](_0x49fe5b,_0x13794a){const _0x554316=_0x49fe5b['createElement']('footnotesDefinitions',{});return _0x49fe5b['append'](_0x554316,_0x13794a),this['_footnotesDefinitions']=_0x554316,_0x554316;}['_ensureFootnotesDefinitionsContainerExists'](_0x557d25){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x42eb59=this['_footnotes'][0x0]['reference']['root'],_0xa7a0ba=this['_insertEmptyFootnotesDefinitionsContainer'](_0x557d25,_0x42eb59);for(const _0x2db60c of this['_footnotes'])_0x2db60c['definition']['parent']||_0x557d25['insert'](_0x2db60c['definition'],_0xa7a0ba,'end');this['_updateFootnotesCounters'](_0x557d25);}['_handleFootnotesDefinitionsObjectChanges'](_0x38c7fb,_0x222d30){let _0xa267e8=!0x1;const {inserted:_0x492a4b,removed:_0x357e92,moved:_0x325f87}=this['_footnoteDefsContainerTracker']['getChanges'](_0x222d30);if(_0x325f87['length']&&(this['_footnotesDefinitions']=_0x325f87[0x0]),_0x492a4b['length']){if(_0x492a4b['length']>0x1||this['_footnotesDefinitions']&&_0x492a4b['some'](_0x15bae6=>_0x15bae6!==this['_footnotesDefinitions'])){const _0x4e8db1=_0x38c7fb['createElement']('footnotesDefinitions',{}),_0x4bfc31=[];this['_footnotesDefinitions']&&_0x4bfc31['push'](this['_footnotesDefinitions']),_0x4bfc31['push'](..._0x492a4b),_0x38c7fb['insert'](_0x4e8db1,_0x4bfc31[0x0],'before');for(const _0x4c0e57 of _0x4bfc31)_0x38c7fb['move'](_0x38c7fb['createRangeIn'](_0x4c0e57),_0x38c7fb['createPositionAt'](_0x4e8db1,'end')),_0x38c7fb['remove'](_0x4c0e57);this['_footnotesDefinitions']=_0x4e8db1,this['_updateFootnotesCounters'](_0x38c7fb),_0xa267e8=!0x0;}else this['_footnotesDefinitions']=_0x492a4b[0x0];}if(_0x357e92['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1c45eb of this['_footnotes'])_0x38c7fb['remove'](_0x1c45eb['reference']),_0xa267e8=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xa267e8;}['_handleFootnoteDefinitionsChanges'](_0x3abd98,_0x45aba0){let _0xa74cb8=!0x1;const _0x5a6692=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1c7ddd,moved:_0x19e58f}=this['_footnoteDefsTracker']['getChanges'](_0x45aba0);for(const _0x3bb222 of[..._0x19e58f,..._0x1c7ddd]){const _0x31c385=_0x3bb222['getAttribute']('footnoteId'),_0x3396bd=this['getFootnote'](_0x31c385);_0x3396bd&&(_0x3396bd['definition']=_0x3bb222),_(_0x3abd98,_0x5a6692,_0x3bb222)&&(_0xa74cb8=!0x0);}return _0xa74cb8;}['_handleFootnoteReferencesChanges'](_0x3b5584,_0x49f665){let _0x18d3d3=!0x1;const {removed:_0xe3b796,inserted:_0x594efd,moved:_0x1d455e}=this['_footnoteRefsTracker']['getChanges'](_0x49f665);for(const _0x45526d of _0xe3b796)this['_handleRemoveFootnoteReferenceById'](_0x3b5584,_0x45526d)&&(_0x18d3d3=!0x0);for(const _0x2342a6 of _0x594efd)this['_handleInsertedFootnoteReference'](_0x3b5584,_0x2342a6)&&(_0x18d3d3=!0x0);for(const _0x100f9b of _0x1d455e)this['_handleMovedFootnoteReference'](_0x3b5584,_0x100f9b)&&(_0x18d3d3=!0x0);return _0x18d3d3;}['_handleFootnotesDefinitionsObjectSync'](_0x3b9f20){if(!this['_footnotesDefinitions'])return!0x1;let _0x352a0b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4dd48a=[];for(const _0x487d5a of this['_footnotesDefinitions']['getChildren']()){const _0x39a77f=_0x487d5a['getAttribute']('footnoteId');this['getFootnote'](_0x39a77f)||(_0x4dd48a['unshift'](_0x487d5a),_0x352a0b=!0x0);}for(const _0xc4b969 of _0x4dd48a)_0x3b9f20['remove'](_0xc4b969);}const _0x5939ab=new Set(),_0x2d1095=[];for(const _0x2da707 of this['_footnotesDefinitions']['getChildren']()){const _0x37ba8d=_0x2da707['getAttribute']('footnoteId');_0x5939ab['has'](_0x37ba8d)?(_0x2d1095['unshift'](_0x2da707),_0x352a0b=!0x0):_0x5939ab['add'](_0x37ba8d);}for(const _0x10d2fc of _0x2d1095)_0x3b9f20['remove'](_0x10d2fc);return this['_footnotesDefinitions']['childCount']||(_0x3b9f20['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x352a0b=!0x0),_0x352a0b;}['_handleInsertedFootnoteReference'](_0x5d6faf,_0x4d4e41){if(this['_footnotes']['find'](_0x52605d=>_0x52605d['reference']===_0x4d4e41))return!0x1;let _0xcf3325=!0x1;const _0x1a6160=_0x4d4e41['getAttribute']('footnoteId'),_0x3ff53a=this['_footnotes']['findIndex'](_0x2e65f2=>_0x2e65f2['id']===_0x1a6160);-0x1!==_0x3ff53a&&(_0x5d6faf['remove'](this['_footnotes'][_0x3ff53a]['reference']),this['_footnotes']['splice'](_0x3ff53a,0x1),_0xcf3325=!0x0);let _0x448479=this['_footnotesDefinitions']?function(_0x2d6efe,_0x413aa0){for(const _0x3a0743 of _0x2d6efe['getChildren']())if(_0x3a0743['getAttribute']('footnoteId')===_0x413aa0)return _0x3a0743;return null;}(this['_footnotesDefinitions'],_0x1a6160):null;_0x448479||(_0x448479=_0x5d6faf['createElement']('footnoteDefinition',{'footnoteId':_0x1a6160}),this['_footnotesDefinitions']&&(_0x5d6faf['insert'](_0x448479,this['_footnotesDefinitions'],'end'),_0xcf3325=!0x0));const _0x7fd91d={'id':_0x1a6160,'reference':_0x4d4e41,'definition':_0x448479},_0x2e69ce=I(this['editor']['model'],this['_footnotes'],_0x4d4e41);this['_footnotes']['splice'](_0x2e69ce,0x0,_0x7fd91d);let _0x521654=_0x2e69ce;return-0x1!==_0x3ff53a&&(_0x521654=Math['min'](_0x2e69ce,_0x3ff53a)),this['_updateFootnotesCounters'](_0x5d6faf,_0x521654)&&(_0xcf3325=!0x0),_0xcf3325;}['_handleRemoveFootnoteReferenceById'](_0x434dd8,_0x261991){const _0x14d834=this['_footnotes']['findIndex'](_0x547a1c=>_0x547a1c['id']===_0x261991);if(-0x1===_0x14d834)return!0x1;let _0x5c0112=!0x1;const _0xb8f11d=this['_footnotes'][_0x14d834];return'$graveyard'!==_0xb8f11d['definition']['root']['rootName']&&(_0x434dd8['remove'](_0xb8f11d['definition']),_0x5c0112=!0x0),this['_footnotes']['splice'](_0x14d834,0x1),this['_updateFootnotesCounters'](_0x434dd8,_0x14d834)&&(_0x5c0112=!0x0),_0x5c0112;}['_handleMovedFootnoteReference'](_0x210191,_0x201918){const _0x2bdb2f=_0x201918['getAttribute']('footnoteId'),_0x3dc3ba=this['_footnotes']['findIndex'](_0x2cdc04=>_0x2cdc04['id']===_0x2bdb2f),_0x1f5b9b=this['_footnotes'][_0x3dc3ba];let _0x50f7a8=!0x1;_0x1f5b9b['reference']=_0x201918,this['_footnotes']['splice'](_0x3dc3ba,0x1);const _0x4d1629=I(this['editor']['model'],this['_footnotes'],_0x201918);return this['_footnotes']['splice'](_0x4d1629,0x0,_0x1f5b9b),this['_updateFootnotesCounters'](_0x210191,Math['min'](_0x3dc3ba,_0x4d1629))&&(_0x50f7a8=!0x0),_0x50f7a8;}['_updateFootnoteRefCounter'](_0xfa0731,_0x568558){if(!this['_footnotesDefinitions'])return!0x1;const _0x296c11=this['_footnotes'][_0x568558];let _0x137eb8;return _0x137eb8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x296c11,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x568558+0x1}):String(_0x568558+0x1),_0x296c11['reference']['getAttribute']('footnoteCounter')!=_0x137eb8&&(_0xfa0731['setAttribute']('footnoteCounter',_0x137eb8,_0x296c11['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xae8bbc){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x262e42,_0x235b4d){if(_0x262e42['length']!==_0x235b4d['length'])return!0x1;for(let _0x43ad41=0x0;_0x43ad41<_0x262e42['length'];_0x43ad41++)if(_0x262e42[_0x43ad41]!==_0x235b4d[_0x43ad41])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x134d2b=>_0x134d2b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x59b5dd=>_0x59b5dd['getAttribute']('footnoteId'))))return!0x1;let _0x32d4f8=!0x1;for(let _0x5c97e2=0x0;_0x5c97e2<this['_footnotes']['length'];_0x5c97e2++){const _0x58af21=this['_footnotes'][_0x5c97e2],_0x59bdb6=_0xae8bbc['createPositionBefore'](_0x58af21['definition']),_0xb5d73d=_0xae8bbc['createPositionAt'](this['_footnotesDefinitions'],_0x5c97e2);_0x59bdb6['isEqual'](_0xb5d73d)||(_0xae8bbc['move'](_0xae8bbc['createRangeOn'](_0x58af21['definition']),_0xb5d73d),_0x32d4f8=!0x0);}return _0x32d4f8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x267938){if(!this['_footnotes']['length'])return!0x1;const {model:_0x120890}=this['editor'];let _0x10b7c4=!0x1;for(let _0x4154a9=0x0;_0x4154a9<this['_footnotes']['length']-0x1;_0x4154a9++){const _0x130783=this['_footnotes'][_0x4154a9],_0x453d96=this['_footnotes'][_0x4154a9+0x1],_0x57fbe2=_0x120890['createPositionBefore'](_0x130783['reference']),_0x525cc3=_0x120890['createPositionBefore'](_0x453d96['reference']);'after'===_0x57fbe2['compareWith'](_0x525cc3)&&(this['_handleMovedFootnoteReference'](_0x267938,_0x130783['reference']),_0x4154a9=-0x1,_0x10b7c4=!0x0);}return _0x10b7c4;}}function _(_0x550b71,_0x4227f4,_0x344eab){if(_0x344eab['childCount'])return!0x1;const _0x43485e=_0x4227f4?'paragraph':'footnoteInlineContent';return _0x550b71['insert'](_0x550b71['createElement'](_0x43485e),_0x344eab),!0x0;}function I(_0x4cc027,_0x1ddad2,_0x49a480){if(0x0===_0x1ddad2['length'])return 0x0;const _0x1c287e=_0x4cc027['createPositionBefore'](_0x49a480);for(let _0x373622=0x0;_0x373622<_0x1ddad2['length'];_0x373622++){const _0x7eb7a2=_0x1ddad2[_0x373622],_0x132a4a=_0x4cc027['createPositionBefore'](_0x7eb7a2['reference']);if('before'===_0x1c287e['compareWith'](_0x132a4a))return _0x373622;}const _0x1520b7=_0x49a480['root'];let _0x46ed92=-0x1;for(let _0x336dd2=_0x1ddad2['length']-0x1;_0x336dd2>=0x0;_0x336dd2--)if(_0x1ddad2[_0x336dd2]['reference']['root']===_0x1520b7){_0x46ed92=_0x336dd2;break;}if(-0x1!==_0x46ed92)return _0x46ed92+0x1;const _0x5907a3=_0x4cc027['document']['getRootNames'](),_0x14ebeb=_0x5907a3['indexOf'](_0x1520b7['rootName']),_0xd6dd51=_0x5907a3[_0x14ebeb+0x1];if(_0xd6dd51){for(let _0x26739d=0x0;_0x26739d<_0x1ddad2['length'];_0x26739d++)if(_0x1ddad2[_0x26739d]['reference']['root']['rootName']===_0xd6dd51)return _0x26739d;}return _0x1ddad2['length'];}class h extends _0x53f55f{['refresh'](){const _0x562515=this['editor']['model']['document']['selection'],_0x41580f=this['_getPositionToInsertFootnote'](_0x562515);this['isEnabled']=!!_0x41580f;}['execute'](_0x514af0){const {editor:_0x40e083}=this,{model:_0x2d21b5}=_0x40e083,{selection:_0x5d7100}=_0x2d21b5['document'],_0x15667c=this['_getPositionToInsertFootnote'](_0x5d7100);if(!_0x15667c)return;const _0x150430=_0x40e083['plugins']['get']('FootnotesEditing'),_0x6f8b8=_0x514af0?.['footnoteId']??_0x50c6d8();!function(_0x27b650){return'string'==typeof _0x27b650&&_0x27b650['length']>0x0&&!/\s/['test'](_0x27b650)&&!/^\d/['test'](_0x27b650);}(_0x6f8b8)?_0x56e64d('insert-footnote-command-executed-with-invalid-id'):(_0x2d21b5['change'](_0x229b4f=>{const _0xeba82b=_0x229b4f['createElement']('footnoteRef',{'footnoteId':_0x6f8b8});_0x2d21b5['insertObject'](_0xeba82b,_0x15667c,null);}),_0x150430['_moveSelectionToFootnoteDefinition'](_0x6f8b8));}['_getPositionToInsertFootnote'](_0xc1c02a){const {model:_0x5ad661}=this['editor'],{schema:_0x339fad}=_0x5ad661,_0x1aa2da=_0xc1c02a['getFirstRange']();for(const _0x2d949b of _0x1aa2da['getItems']())if(_0x339fad['isBlock'](_0x2d949b)||_0x339fad['isObject'](_0x2d949b))return null;const _0x2020ab=_0x1aa2da['end'];return _0x339fad['checkChild'](_0x2020ab,'footnoteRef')?_0x2020ab:null;}}class r extends _0x30fa3c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b8ba4}=this;_0x5b8ba4['config']['define']('footnotes.multiBlock',!0x0),_0x5b8ba4['commands']['add']('insertFootnote',new h(_0x5b8ba4)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x207ab1){const _0xe8e90d=_0x2f29dc([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]),_0x2118c8=0x47a28506,_0x3723b8=0x47a5fb9e^_0x2118c8,_0x47952f=window[_0x2f29dc([0x44,0x61,0x74,0x65])][_0x2f29dc([0x6e,0x6f,0x77])](),_0x389acd=_0x207ab1[_0x2f29dc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1744fa=new window[(_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x485802=>{_0x389acd[_0x2f29dc([0x6f,0x6e,0x63,0x65])](_0x2f29dc([0x72,0x65,0x61,0x64,0x79]),_0x485802);}),_0x4a76e4={[_0x2f29dc([0x6b,0x74,0x79])]:_0x2f29dc([0x45,0x43]),[_0x2f29dc([0x75,0x73,0x65])]:_0x2f29dc([0x73,0x69,0x67]),[_0x2f29dc([0x63,0x72,0x76])]:_0x2f29dc([0x50,0x2d,0x32,0x35,0x36]),[_0x2f29dc([0x78])]:_0x2f29dc([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]),[_0x2f29dc([0x79])]:_0x2f29dc([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]),[_0x2f29dc([0x61,0x6c,0x67])]:_0x2f29dc([0x45,0x53,0x32,0x35,0x36])},_0xf234fc=_0x389acd[_0x2f29dc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2f29dc([0x67,0x65,0x74])](_0x2f29dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3cb0e0(){let _0x14cc83,_0x5c6457=null,_0x5f3538=null;try{if(_0xf234fc==_0x2f29dc([0x47,0x50,0x4c]))return _0x2f29dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14cc83=_0x407437(),!_0x14cc83)return _0x2f29dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14cc83[_0x2f29dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f3538=_0x3c6bd6(_0x14cc83[_0x2f29dc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14cc83[_0x2f29dc([0x6a,0x74,0x69])])),await _0x3c294b()?_0x5a7fd8()?_0x4e8525()?_0x2f29dc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1286a7()?(_0x14cc83[_0x2f29dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2f29dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c6457=_0x24e548(_0x2f29dc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6b417f()):_0x2f29dc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2f29dc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2f29dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2f29dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e8525(){const _0x15caea=[_0x2f29dc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2f29dc([0x74,0x72,0x69,0x61,0x6c])][_0x2f29dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14cc83[_0x2f29dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47952f/0x3e8:0xe10*_0x3723b8;return _0x14cc83[_0x2f29dc([0x65,0x78,0x70])]<_0x15caea;}function _0x5a7fd8(){const _0x51284d=_0x14cc83[_0x2f29dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51284d&&(!!_0x51284d[_0x2f29dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f29dc([0x2a]))||!!_0x51284d[_0x2f29dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f29dc([0x46,0x4f,0x4f])));}function _0x1286a7(){const _0x11855e=_0x14cc83[_0x2f29dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11855e||0x0==_0x11855e[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x233f5f}=new URL(window[_0x2f29dc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11855e[_0x2f29dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x233f5f))return!0x0;const _0x46d642=_0x233f5f[_0x2f29dc([0x73,0x70,0x6c,0x69,0x74])](_0x2f29dc([0x2e]));return _0x11855e[_0x2f29dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4be7e6=>_0x4be7e6[_0x2f29dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f29dc([0x2a])))[_0x2f29dc([0x6d,0x61,0x70])](_0x15c73c=>_0x15c73c[_0x2f29dc([0x73,0x70,0x6c,0x69,0x74])](_0x2f29dc([0x2e])))[_0x2f29dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4edbdf=>_0x4edbdf[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46d642[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f29dc([0x6d,0x61,0x70])](_0x4c0e0e=>Array(_0x46d642[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c0e0e[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2f29dc([0x66,0x69,0x6c,0x6c])](_0x4c0e0e[0x0]===_0x2f29dc([0x2a])?_0x2f29dc([0x2a]):'')[_0x2f29dc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c0e0e))[_0x2f29dc([0x73,0x6f,0x6d,0x65])](_0x7cc32f=>_0x46d642[_0x2f29dc([0x65,0x76,0x65,0x72,0x79])]((_0x20e362,_0xc3111a)=>_0x7cc32f[_0xc3111a]===_0x20e362||_0x7cc32f[_0xc3111a]===_0x2f29dc([0x2a])));}function _0x6b417f(){return _0x5c6457&&_0x5f3538?new window[(_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31e4c6,_0x16f6fe)=>{_0x5c6457[_0x2f29dc([0x74,0x68,0x65,0x6e])](_0x31e4c6,_0x16f6fe),_0x5f3538[_0x2f29dc([0x74,0x68,0x65,0x6e])](_0x57c7e2=>{_0x57c7e2!=_0x2f29dc([0x56,0x61,0x6c,0x69,0x64])&&_0x31e4c6(_0x57c7e2);},_0x16f6fe);}):_0x5c6457||_0x5f3538||_0x2f29dc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c6bd6(_0x45e0d7,_0x4980ba){return new window[(_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b078b=>{if(_0x114c0c())return _0x2b078b(_0x2f29dc([0x56,0x61,0x6c,0x69,0x64]));_0x371a43(),_0x389acd[_0x2f29dc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2f29dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf36869=!0x1;const _0x6c6eec=_0x50c6d8();function _0x3f441a(_0x516c68){return!!_0x516c68&&(typeof _0x516c68===_0x2f29dc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x516c68===_0x2f29dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x516c68[_0x2f29dc([0x74,0x68,0x65,0x6e])]===_0x2f29dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x516c68[_0x2f29dc([0x63,0x61,0x74,0x63,0x68])]===_0x2f29dc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ebac8(_0x1867cf){_0x4e9cb1(_0x1867cf)[_0x2f29dc([0x74,0x68,0x65,0x6e])](_0x39a407=>{if(!_0x39a407||_0x39a407[_0x2f29dc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2f29dc([0x6f,0x6b]))return _0x2f29dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13b951(_0x56fb6e(_0x6c6eec+_0x4980ba))!=_0x39a407[_0x2f29dc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2f29dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2f29dc([0x56,0x61,0x6c,0x69,0x64]);})[_0x2f29dc([0x74,0x68,0x65,0x6e])](_0x27c657=>(_0x6bbfb0(),_0x27c657),()=>{const _0x271330=_0x28bd2f();return null==_0x271330?(_0x6bbfb0(),_0x2f29dc([0x56,0x61,0x6c,0x69,0x64])):_0x2f29dc(_0x47952f-_0x271330>(0x63ae0106^_0x2118c8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2f29dc([0x74,0x68,0x65,0x6e])](_0x2b078b)[_0x2f29dc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b078b(_0x2f29dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32e728=0x47946b86^_0x2118c8;function _0x6bbfb0(){const _0xcf9538=_0x2f29dc([0x6c,0x6c,0x63,0x74,0x2d])+_0x13b951(_0x56fb6e(_0x45e0d7)),_0x28b2eb=_0x496f90(_0x13b951(window[_0x2f29dc([0x4d,0x61,0x74,0x68])][_0x2f29dc([0x63,0x65,0x69,0x6c])](_0x47952f/_0x32e728)));window[_0x2f29dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f29dc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcf9538,_0x28b2eb);}function _0x28bd2f(){const _0x2ee077=_0x2f29dc([0x6c,0x6c,0x63,0x74,0x2d])+_0x13b951(_0x56fb6e(_0x45e0d7)),_0x421765=window[_0x2f29dc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2f29dc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ee077);return _0x421765?window[_0x2f29dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x496f90(_0x421765),0x10)*_0x32e728:null;}function _0x4e9cb1(_0x387604){return new window[(_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1079bf,_0x56dbd6)=>{_0x387604[_0x2f29dc([0x74,0x68,0x65,0x6e])](_0x1079bf,_0x56dbd6),window[_0x2f29dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x56dbd6,0x47a351c6^_0x2118c8);});}}_0x389acd[_0x2f29dc([0x6f,0x6e])](_0x2f29dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x449ef7,_0x22fa6a)=>{if(_0x22fa6a[0x0]!=_0x45e0d7)return _0x2b078b(_0x2f29dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x22fa6a[0x1]={..._0x22fa6a[0x1],[_0x2f29dc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x6c6eec};},{[_0x2f29dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f29dc([0x68,0x69,0x67,0x68])}),_0x389acd[_0x2f29dc([0x6f,0x6e])](_0x2f29dc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a16db=>{_0x3f441a(_0x2a16db[_0x2f29dc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf36869=!0x0,_0x4ebac8(_0x2a16db[_0x2f29dc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2f29dc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2f29dc([0x6c,0x6f,0x77])}),_0x1744fa[_0x2f29dc([0x74,0x68,0x65,0x6e])](()=>{_0xf36869||_0x2b078b(_0x2f29dc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x114c0c(){return _0x389acd[_0x2f29dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f29dc([0x76,0x69,0x65,0x77])][_0x2f29dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2f29dc([0x61,0x75,0x74,0x6f]);}function _0x371a43(){_0x389acd[_0x2f29dc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2f29dc([0x76,0x69,0x65,0x77])][_0x2f29dc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2f29dc([0x61,0x75,0x74,0x6f]);}}function _0x24e548(_0x27f62d){const _0x20aa5a=[new window[(_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c5967=>setTimeout(_0x4c5967,0x47abbbca^_0x2118c8)),_0x1744fa[_0x2f29dc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27154f=>{let _0x568b10=0x0;_0x389acd[_0x2f29dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f29dc([0x6f,0x6e])](_0x2f29dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5160a5,_0x5b42e4)=>{_0x5b42e4[0x0][_0x2f29dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x568b10++,_0x568b10==(0x47a280ee^_0x2118c8)&&(_0x27154f(),_0x5160a5[_0x2f29dc([0x6f,0x66,0x66])]());});}))];return window[_0x2f29dc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2f29dc([0x72,0x61,0x63,0x65])](_0x20aa5a)[_0x2f29dc([0x74,0x68,0x65,0x6e])](()=>_0x27f62d);}async function _0x56822a(){await _0x1744fa,_0x389acd[_0x2f29dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f29dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42fe4f,_0x389acd[_0x2f29dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x2f29dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42fe4f,_0x389acd[_0x2f29dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2f29dc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56de6a(_0x4c3e27){const _0x1508f0=_0x629001();_0x389acd[_0x1508f0]=_0x2f29dc([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c3e27,_0x4c3e27!=_0x2f29dc([0x56,0x61,0x6c,0x69,0x64])&&_0x56822a();}function _0x629001(){const _0x35220d=window[_0x2f29dc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2f29dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2f29dc([0x6e,0x6f,0x77])]())[_0x2f29dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2f29dc([0x2e]),'');let _0x20eb03=_0x2f29dc([0x75]);for(let _0x660505=0x0;_0x660505<_0x35220d[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x660505+=0x2){let _0xba169f=window[_0x2f29dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35220d[_0x2f29dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x660505,_0x660505+0x2));_0xba169f>=_0xe8e90d[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xba169f-=_0xe8e90d[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20eb03+=_0xe8e90d[_0xba169f];}return _0x20eb03;}function _0x407437(){const _0x243bd0=_0xf234fc[_0x2f29dc([0x73,0x70,0x6c,0x69,0x74])](_0x2f29dc([0x2e]));if(0x3!=_0x243bd0[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa87d83(_0x243bd0[0x1]);function _0xa87d83(_0x24ebc9){const _0x2ac67f=_0x23286c(_0x24ebc9);return _0x2ac67f&&_0x52993a()?_0x2ac67f:null;function _0x52993a(){const _0x3e3efa=_0x2ac67f[_0x2f29dc([0x6a,0x74,0x69])],_0x1c5728=window[_0x2f29dc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e3efa[_0x2f29dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e3efa[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37d934={..._0x2ac67f,[_0x2f29dc([0x6a,0x74,0x69])]:_0x3e3efa[_0x2f29dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e3efa[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37d934[_0x2f29dc([0x76,0x63])],_0x56fb6e(_0x37d934)==_0x1c5728;}}}async function _0x3c294b(){let _0x85bee=!0x0;try{const _0x32e527=_0xf234fc[_0x2f29dc([0x73,0x70,0x6c,0x69,0x74])](_0x2f29dc([0x2e])),[_0x2f313c,_0x1cd567,_0x43df17]=_0x32e527;return _0x5d1b71(_0x2f313c),await _0x4a7c78(_0x2f313c,_0x1cd567,_0x43df17),_0x85bee;}catch{return!0x1;}function _0x5d1b71(_0x48739a){const _0x5a31be=_0x23286c(_0x48739a);_0x5a31be&&_0x5a31be[_0x2f29dc([0x61,0x6c,0x67])]==_0x2f29dc([0x45,0x53,0x32,0x35,0x36])||(_0x85bee=!0x1);}async function _0x4a7c78(_0x43e070,_0x2fa39f,_0x5933c8){const _0x147ec6=window[_0x2f29dc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2f29dc([0x66,0x72,0x6f,0x6d])](_0x11f3fb(_0x5933c8),_0x126e6e=>_0x126e6e[_0x2f29dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbea034=new window[(_0x2f29dc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2f29dc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x43e070+_0x2f29dc([0x2e])+_0x2fa39f),_0x3c390d=window[_0x2f29dc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2f29dc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3c390d)return;const _0x1f9f36=await _0x3c390d[_0x2f29dc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2f29dc([0x6a,0x77,0x6b]),_0x4a76e4,{[_0x2f29dc([0x6e,0x61,0x6d,0x65])]:_0x2f29dc([0x45,0x43,0x44,0x53,0x41]),[_0x2f29dc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2f29dc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2f29dc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3c390d[_0x2f29dc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2f29dc([0x6e,0x61,0x6d,0x65])]:_0x2f29dc([0x45,0x43,0x44,0x53,0x41]),[_0x2f29dc([0x68,0x61,0x73,0x68])]:{[_0x2f29dc([0x6e,0x61,0x6d,0x65])]:_0x2f29dc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f9f36,_0x147ec6,_0xbea034)||(_0x85bee=!0x1);}}function _0x23286c(_0x10776f){return _0x10776f[_0x2f29dc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2f29dc([0x65,0x79]))?JSON[_0x2f29dc([0x70,0x61,0x72,0x73,0x65])](_0x11f3fb(_0x10776f)):null;}function _0x11f3fb(_0x1a4f9e){return window[_0x2f29dc([0x61,0x74,0x6f,0x62])](_0x1a4f9e[_0x2f29dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2f29dc([0x2b]))[_0x2f29dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2f29dc([0x2f])));}function _0x56fb6e(_0x3e9bba){let _0x5db261=0x1505;function _0x19b6df(_0x3d626d){for(let _0x15c617=0x0;_0x15c617<_0x3d626d[_0x2f29dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15c617++){const _0x6bf594=_0x3d626d[_0x2f29dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15c617);_0x5db261=(_0x5db261<<0x5)+_0x5db261+_0x6bf594,_0x5db261&=_0x5db261;}}function _0x1e8663(_0x27f180){Array[_0x2f29dc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27f180)?_0x27f180[_0x2f29dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e8663):_0x27f180&&typeof _0x27f180==_0x2f29dc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2f29dc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27f180)[_0x2f29dc([0x73,0x6f,0x72,0x74])]()[_0x2f29dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36fb64,_0x46278b])=>{_0x19b6df(_0x36fb64),_0x1e8663(_0x46278b);}):_0x19b6df(window[_0x2f29dc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27f180));}return _0x1e8663(_0x3e9bba),_0x5db261>>>0x0;}function _0x13b951(_0x342175){return _0x342175[_0x2f29dc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2f29dc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2f29dc([0x30]));}function _0x496f90(_0x4a4432){return _0x4a4432[_0x2f29dc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2f29dc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2f29dc([0x6a,0x6f,0x69,0x6e])]('');}function _0x42fe4f(){}function _0x2f29dc(_0x21c460){return _0x21c460['map'](_0x10f62b=>String['fromCharCode'](_0x10f62b))['join']('');}_0x56de6a(await _0x3cb0e0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x45ab38){const {plugins:_0x2bcd14,editing:_0x19c0a2,model:_0x6c99f3}=this['editor'],_0x3d9334=_0x2bcd14['get'](f)['getFootnote'](_0x45ab38);return!!_0x3d9334&&(_0x6c99f3['change'](_0x1fc8e8=>{_0x1fc8e8['setSelection'](_0x1fc8e8['createPositionAt'](_0x3d9334['definition'],'end'));}),_0x19c0a2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x342121){const {plugins:_0x3a4f85,editing:_0x5e00eb,model:_0x41b295}=this['editor'],_0x4bacde=_0x3a4f85['get'](f)['getFootnote'](_0x342121);return!!_0x4bacde&&(_0x41b295['change'](_0x307928=>{_0x307928['setSelection'](_0x4bacde['reference'],'on');}),_0x5e00eb['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3f4aed}=this['editor']['model'],_0xbce372=this['editor']['config']['get']('footnotes.multiBlock');_0x3f4aed['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3f4aed['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3f4aed['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xbce372?_0x3f4aed['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3f4aed['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3f4aed['addChildCheck'](_0x5aecb3=>{for(const _0x1001ac of _0x5aecb3)if('footnoteDefinition'===_0x1001ac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xc0287b}=this,{conversion:_0x143788,editing:_0x35dd00}=_0xc0287b,{t:t}=_0xc0287b['locale'];_0x143788['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x49b837,{writer:_0x5ac879,consumable:_0x3e0252})=>{const _0xaa0431=_0x49b837['getChild'](0x0);if(!_0xaa0431||!_0xaa0431['is']('element','a'))return null;const _0x4f4fa3=_0xaa0431['getAttribute']('href')||'';if(!_0x4f4fa3['startsWith']('#'))return null;const _0xd95820=_0x4f4fa3['replace'](/^#/,'');if(!_0xd95820)return null;_0x3e0252['consume'](_0xaa0431,{'name':!0x0,'attributes':['href']});for(const {item:_0x3e01bd}of _0x35dd00['view']['createRangeIn'](_0xaa0431))_0x3e01bd['is']('$textProxy')?_0x3e0252['consume'](_0x3e01bd['textNode'],{'name':!0x0}):_0x3e01bd['is']('element')&&_0x3e0252['consume'](_0x3e01bd,{'name':!0x0});return _0x5ac879['createElement']('footnoteRef',{'footnoteId':_0xd95820});}}),_0x143788['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x554d73,{writer:_0x4287e7})=>b(_0x554d73,_0x4287e7)}),_0x143788['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1fa6f4,{writer:_0x13ff4d})=>{const _0x2b4cad=_0x1fa6f4['getAttribute']('footnoteCounter');return _0x165f1f(b(_0x1fa6f4,_0x13ff4d),_0x13ff4d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2b4cad)});}});}['_defineDefinitionsConverters'](){const {editor:_0x319a05}=this,{t:t}=_0x319a05['locale'],{conversion:_0x15ccf3}=_0x319a05;_0x15ccf3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x15ccf3['for']('upcast')['add'](_0x7767d1=>{_0x7767d1['on']('element:ol',(_0x5bd35e,_0x15854f,_0x607069)=>{const _0x528b5e=_0x15854f['viewItem'];if(!_0x528b5e['hasClass']('footnotes-list')||!_0x15854f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x607069['consumable']['consume'](_0x528b5e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x305ed6,modelCursor:_0x34cabf}=_0x607069['convertChildren'](_0x15854f['viewItem'],_0x15854f['modelCursor']);_0x15854f['modelRange']=_0x305ed6,_0x15854f['modelCursor']=_0x34cabf;}),_0x7767d1['on']('element:hr',(_0x50d38d,_0x52bfb9,_0x162512)=>{const _0x52e42d=_0x52bfb9['viewItem'];_0x52e42d['hasClass']('footnotes-divider')&&_0x52bfb9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x162512['consumable']['consume'](_0x52e42d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x15ccf3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e42ca,{writer:_0x36af20})=>D(_0x36af20)}),_0x15ccf3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4aa0c1,{writer:_0x38ccb3})=>{const _0x56cc9e=D(_0x38ccb3,{'data-footnotes-list-label':t('Footnotes')}),_0x185fb8=_0x165f1f(_0x56cc9e,_0x38ccb3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x38ccb3['setCustomProperty']('footnotesDefinitions',!0x0,_0x185fb8),_0x185fb8;}});}['_defineDefinitionConverters'](){const {editor:_0x30ca67}=this,{conversion:_0x139884,locale:_0x47c0c4}=_0x30ca67,_0x5a6663=_0x30ca67['config']['get']('footnotes.multiBlock');_0x139884['for']('upcast')['add'](_0x30b25d=>{_0x30b25d['on']('element:li',(_0x52113c,_0x314977,_0x56ab89)=>{const _0x418be1=_0x314977['viewItem'];if(!_0x418be1['hasClass']('footnote-definition')||!_0x418be1['getAttribute']('id'))return;const _0x40ea21=_0x418be1['parent'];if(!_0x40ea21['is']('element','ol')||!_0x40ea21['hasClass']('footnotes-list'))return;if(!_0x56ab89['consumable']['test'](_0x418be1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x259a53=_0x56ab89['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x418be1['getAttribute']('id')});if(!_0x56ab89['safeInsert'](_0x259a53,_0x314977['modelCursor']))return;_0x56ab89['consumable']['consume'](_0x418be1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x34664c=Array['from'](_0x418be1['getChildren']())['find'](_0x1d3fa3=>_0x1d3fa3['is']('element')&&_0x1d3fa3['hasClass']('footnote-content'));for(const _0x3f9aa1 of _0x418be1['getChildren']())_0x3f9aa1['is']('element')&&(_0x56ab89['consumable']['consume'](_0x3f9aa1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x56ab89['consumable']['consume'](_0x3f9aa1,{'name':!0x0,'classes':'footnote-content'}));if(_0x34664c){if(_0x5a6663)_0x56ab89['convertChildren'](_0x34664c,_0x259a53);else{const _0x643cab=_0x56ab89['writer']['createElement']('footnoteInlineContent');_0x56ab89['writer']['insert'](_0x643cab,_0x259a53),_0x56ab89['convertChildren'](_0x34664c,_0x643cab);}}_0x56ab89['updateConversionResult'](_0x259a53,_0x314977);});}),_0x139884['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x24b802,{writer:_0x229726})=>y(_0x24b802,_0x229726,_0x47c0c4,{'dataPipeline':!0x0})}),_0x139884['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x392f7c,{writer:_0x291779})=>y(_0x392f7c,_0x291779,_0x47c0c4)});}['_defineBogusParagraphConverters'](){const {editor:_0x5a0963}=this,{conversion:_0x2eb636}=_0x5a0963;_0x5a0963['config']['get']('footnotes.multiBlock')?(_0x2eb636['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2eb636['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5a0963['model']['document'],'change:data',()=>{!function(_0x24cab5,_0x3d498b){const _0x5b23b8=_0x24cab5['document']['differ'],_0x45a0cf=new Set();for(const _0x158e97 of _0x5b23b8['getChanges']()){const _0x39d934='attribute'==_0x158e97['type']?_0x158e97['range']['start']['parent']:_0x158e97['position']['parent'];_0x39d934['is']('element','footnoteDefinition')&&_0x45a0cf['add'](_0x39d934);}for(const _0x82ded8 of _0x45a0cf['values']()){const _0x133299=Array['from'](_0x82ded8['getChildren']())['filter'](_0xad0cab=>v(_0xad0cab,_0x3d498b['mapper']));for(const _0x1c199b of _0x133299)_0x3d498b['reconvertItem'](_0x1c199b);}}(_0x5a0963['model'],_0x5a0963['editing']);})):(_0x2eb636['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2eb636['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1701e8,{writer:_0x414e51})=>{const _0x55542e=_0x414e51['createContainerElement']('span');return _0x414e51['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55542e),_0x55542e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x52c186}=this,{editing:_0x4f8c9f,t:t}=_0x52c186,_0x31852e=_0x52c186['model']['document']['selection'];_0x52c186['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x52c186['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4f8c9f['view']['document'],'enter',(_0x578375,_0x18c30e)=>{const _0x12a87d=function(_0x5c07aa){const _0x36a339=_0x5c07aa['getSelectedElement']();if(_0x36a339?.['is']('element','footnoteRef'))return _0x36a339;return null;}(_0x31852e);if(_0x12a87d){const _0x1893f2=_0x12a87d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1893f2),_0x18c30e['preventDefault'](),_0x578375['stop']();}},{'context':_0x93b993});}['_defineClickHandlers'](){const {editor:_0x1518a0}=this,{editing:_0x3a4e55}=_0x1518a0;_0x1518a0['editing']['view']['addObserver'](_0x3c84aa),_0x1518a0['editing']['view']['addObserver'](_0x217c58);let _0x6a1d04=!0x1;this['listenTo'](_0x3a4e55['view']['document'],'pointerdown',(_0x1bde41,_0x3af03a)=>{const {target:_0xc38d4f}=_0x3af03a,_0x3efc0d=_0x3a4e55['view']['document']['selection'];_0x6a1d04=!!(_0xc38d4f?.['is']('element','a')&&_0xc38d4f['parent']?.['is']('element','sup')&&_0xc38d4f['parent']['hasClass']('footnote'))&&_0x3efc0d['getSelectedElement']()===_0xc38d4f['parent'];},{'priority':'high'}),this['listenTo'](_0x3a4e55['view']['document'],'click',(_0x87c666,_0x585b8f)=>{const {target:_0x3e858b}=_0x585b8f;if(!_0x3e858b?.['is']('element','a'))return;if(_0x3e858b['parent']?.['is']('element','sup')&&_0x3e858b['parent']['hasClass']('footnote')&&!_0x6a1d04)return void _0x585b8f['preventDefault']();let _0x19810a=_0x3e858b['getAttribute']('href');if(!_0x19810a?.['startsWith']('#'))return;_0x19810a=_0x19810a['slice'](0x1);let _0x2ad5d8=!0x1;(_0x19810a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x19810a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x19810a))&&(_0x2ad5d8=!0x0),_0x2ad5d8&&(_0x585b8f['preventDefault'](),_0x87c666['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2c9f91}={}){return(_0x282ac1,{writer:_0x4a734d})=>{if(!g(_0x282ac1))return null;if(!_0x2c9f91)return _0x4a734d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x11ee86=_0x4a734d['createContainerElement']('p');return _0x4a734d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11ee86),_0x11ee86;};}function g(_0x328e5a){const {parent:_0x2b94a8}=_0x328e5a;if(!_0x2b94a8?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2b94a8['childCount'])return!0x1;for(const _0x5c3e9c of _0x328e5a['getAttributeKeys']())if(!_0x5c3e9c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c3e9c)return!0x1;return!0x0;}function v(_0x54b12b,_0x4c9bea){if(!_0x54b12b['is']('element','paragraph'))return!0x1;const _0xab36f=_0x4c9bea['toViewElement'](_0x54b12b);return!!_0xab36f&&g(_0x54b12b)!==_0xab36f['is']('element','span');}function Q(_0x361c40){return _0x93b993(_0x361c40)&&_0x361c40['is']('containerElement')&&!!_0x361c40['getCustomProperty']('footnotesDefinitions');}function D(_0x43c2f2,_0x29d53e={}){const _0xc971e4=_0x43c2f2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x39ab4b=_0x43c2f2['createContainerElement']('ol',{'class':'footnotes-list'},_0x43c2f2['createSlot']());return _0x43c2f2['createContainerElement']('div',{'class':'footnotes',..._0x29d53e},[_0xc971e4,_0x39ab4b]);}function b(_0x580fb1,_0x20601e){const _0x2e579b=_0x580fb1['getAttribute']('footnoteId'),_0x56aa14=_0x580fb1['getAttribute']('footnoteCounter'),_0x3cd425=_0x20601e['createUIElement']('a',{'href':'#'+_0x2e579b},function(_0x47e80c){const _0x66da53=this['toDomElement'](_0x47e80c);return _0x66da53['textContent']=_0x56aa14,_0x66da53;}),_0x58f3ec=_0x20601e['createContainerElement']('sup',{'id':'ref-'+_0x2e579b,'class':'footnote'},[_0x3cd425]);return _0x58f3ec['getFillerOffset']=()=>null,_0x58f3ec;}function y(_0x4c04dc,_0x40eb54,_0x15522d,{dataPipeline:_0x11d34b}={}){const {t:t}=_0x15522d,_0x2c2c8e=_0x4c04dc['getAttribute']('footnoteId'),_0x3681f3=_0x40eb54['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2c2c8e},function(_0x1ea95c){const _0x195bb3=this['toDomElement'](_0x1ea95c);return _0x195bb3['innerText']='^',_0x195bb3;}),_0x260a89=_0x11d34b?_0x40eb54['createContainerElement']('div',{'class':'footnote-content'}):_0x271e10(_0x40eb54['createEditableElement']('div',{'class':'footnote-content'}),_0x40eb54,{'label':t('Footnote\x20content.')});return _0x40eb54['insert'](_0x40eb54['createPositionAt'](_0x260a89,0x0),_0x40eb54['createSlot']()),_0x40eb54['createContainerElement']('li',{'class':'footnote-definition','id':_0x2c2c8e},[_0x3681f3,_0x260a89]);}class e extends _0x30fa3c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x496109];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x41ddc6}=this,{plugins:_0x2160b7,model:_0x583b80}=_0x41ddc6,_0x370c7d=_0x2160b7['get'](_0x496109),_0x163654=_0x2160b7['get'](f);this['listenTo'](_0x370c7d,'outputTransformation',(_0x65a4e1,_0x2cf4b2)=>{const _0x33b695=l(_0x583b80['createRangeIn'](_0x2cf4b2['content']));if(!_0x33b695['length'])return;const _0x27affb=_0x163654['getFootnotes'](),_0xcda6dd=_0x33b695['reduce']((_0x35cb67,_0x56152a)=>{const _0x5f1b3f=_0x27affb['find'](_0x148c05=>_0x148c05['id']===_0x56152a);if(_0x5f1b3f){const _0x146bda=_0x41ddc6['data']['toView'](_0x5f1b3f['definition'],{'isClipboardPipeline':!0x0}),_0x59153f=_0x41ddc6['data']['htmlProcessor']['toData'](_0x146bda);_0x35cb67[_0x5f1b3f['id']]=_0x59153f;}return _0x35cb67;},Object['create'](null));_0x2cf4b2['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xcda6dd));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x18235c}=this,{model:_0x4e947d,plugins:_0x226f4d}=_0x18235c,{view:_0x52563d}=_0x18235c['editing'],_0x321c67=_0x226f4d['get'](_0x496109),_0x2c46c2=_0x226f4d['get'](f),_0x458f7e=_0x18235c['config']['get']('footnotes.multiBlock');let _0x53df85=null;this['listenTo'](_0x52563d['document'],'clipboardInput',(_0x2e946a,_0x4e2274)=>{const _0x1172c2=_0x4e2274['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x53df85=_0x1172c2?JSON['parse'](_0x1172c2):null;}),this['listenTo'](_0x321c67,'contentInsertion',(_0x125027,_0x251402)=>{const _0x5d2c7d=_0x251402['sourceEditorId']===this['editor']['id'];_0x5d2c7d&&'drop'===_0x251402['method']||_0x4e947d['change'](_0x17cd95=>{let _0x24b9a0=_0x2c46c2['getFootnotesDefinitionsObjectElement']();const _0x3aeb99=!!_0x24b9a0&&Array['from'](_0x4e947d['document']['selection']['getSelectedBlocks']())['includes'](_0x24b9a0);if(!_0x53df85&&function(_0x5da671){for(const {item:_0x5571f}of _0x5da671)if(_0x5571f['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4e947d['createRangeIn'](_0x251402['content']))&&(_0x53df85=function(_0x2c9e56,_0x3490b1){const _0x74d610=c(_0x2c9e56,_0x3490b1);if(!_0x74d610)return null;const _0x206671=Object['create'](null);for(const _0x552339 of _0x74d610['getChildren']())_0x552339['is']('element','footnoteDefinition')&&_0x552339['hasAttribute']('footnoteId')&&(_0x206671[_0x552339['getAttribute']('footnoteId')]=_0x2c9e56['cloneElement'](_0x552339,!0x0));return Object['keys'](_0x206671)['length']?_0x206671:null;}(_0x17cd95,_0x251402['content'])),(_0x24b9a0&&!_0x3aeb99||!_0x24b9a0&&!_0x53df85)&&function(_0x3586d2,_0x43c7df){const _0x899237=[];for(const {item:_0x2b1903}of _0x3586d2['createRangeIn'](_0x43c7df))_0x2b1903['is']('element','footnotesDefinitions')&&_0x899237['push'](_0x2b1903);for(const _0x563086 of _0x899237)_0x3586d2['remove'](_0x563086);}(_0x17cd95,_0x251402['content']),!_0x53df85)return;const {selection:_0x3cb6bc}=_0x4e947d['document'],_0x1556a2=_0x3cb6bc['getFirstRange']()['root'];_0x24b9a0&&!_0x3aeb99||(_0x24b9a0=c(_0x17cd95,_0x251402['content']),_0x24b9a0||=_0x2c46c2['_insertEmptyFootnotesDefinitionsContainer'](_0x17cd95,_0x1556a2));const _0x408087=Array['from'](_0x3cb6bc['getRanges']())['flatMap'](l),_0x31c391=function(_0x499444,_0x428e66,_0x4b149f){const _0x2a7cf0=Object['create'](null);for(const {item:_0x3439c1}of _0x499444['createRangeIn'](_0x428e66))if(_0x3439c1['is']('element','footnoteRef')){const _0x354449=_0x3439c1['getAttribute']('footnoteId');if(!_0x4b149f(_0x354449))continue;_0x2a7cf0[_0x354449]||(_0x2a7cf0[_0x354449]=_0x50c6d8()),_0x499444['setAttribute']('footnoteId',_0x2a7cf0[_0x354449],_0x3439c1);}return _0x2a7cf0;}(_0x17cd95,_0x251402['content'],_0xac0b07=>{if(!_0x5d2c7d)return!0x0;return!!_0x2c46c2['getFootnote'](_0xac0b07)&&!_0x408087['includes'](_0xac0b07);});for(const [_0xbbf43e,_0x81f611]of Object['entries'](_0x53df85)){const _0x372b1e=_0x31c391[_0xbbf43e]||_0xbbf43e;let _0x75f40;if('string'!=typeof _0x81f611)_0x75f40=_0x81f611,_0x372b1e!==_0xbbf43e&&_0x17cd95['setAttribute']('footnoteId',_0x372b1e,_0x75f40);else{_0x75f40=_0x17cd95['createElement']('footnoteDefinition',{'footnoteId':_0x372b1e});const _0x433409=_0x18235c['data']['htmlProcessor']['toView'](_0x81f611);let _0x4b931e;if(_0x458f7e)_0x4b931e=_0x18235c['data']['toModel'](_0x433409,_0x75f40);else{_0x4b931e=_0x17cd95['createElement']('footnoteInlineContent');const _0x33511d=_0x18235c['data']['toModel'](_0x433409,_0x4b931e);_0x17cd95['insert'](_0x33511d,_0x4b931e);}_0x17cd95['append'](_0x4b931e,_0x75f40);}_0x17cd95['insert'](_0x75f40,_0x24b9a0,'end');}_0x53df85=null;});});}}function c(_0x212f5c,_0x5ee772){for(const {item:_0x5b2965}of _0x212f5c['createRangeIn'](_0x5ee772))if(_0x5b2965['is']('element','footnotesDefinitions'))return _0x5b2965;return null;}function l(_0x5bea4f){const _0x483014=new Set();for(const {item:_0x4b81e1}of _0x5bea4f)_0x4b81e1['is']('element','footnoteRef')&&_0x483014['add'](_0x4b81e1['getAttribute']('footnoteId'));return Array['from'](_0x483014);}class i extends _0x30fa3c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x595d98}=this,{componentFactory:_0x5c8619}=_0x595d98['ui'];_0x5c8619['add']('insertFootnote',E(_0x595d98,_0x10acff)),_0x5c8619['add']('menuBar:insertFootnote',E(_0x595d98,_0x209317)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8650be=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x975bcc;for(const _0x11052a in _0x8650be){const _0x589788=_0x11052a,_0x442d90=_0x8650be[_0x589788];if('footnotesLicenseKeyValid'==_0x442d90||'footnotesLicenseKeyInvalid'==_0x442d90||'footnotesLicenseKeyExpired'==_0x442d90||'footnotesLicenseKeyDomainLimit'==_0x442d90||'footnotesLicenseKeyNotAllowed'==_0x442d90||'footnotesLicenseKeyEvaluationLimit'==_0x442d90||'footnotesLicenseKeyUsageLimit'==_0x442d90){delete _0x8650be[_0x589788],_0x975bcc=_0x442d90,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x975bcc&&_0x8650be['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x975bcc&&_0x8650be['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x975bcc&&_0x8650be['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x975bcc&&_0x8650be['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x975bcc&&_0x8650be['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x975bcc&&_0x8650be['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x59000f,_0x4956ec){const _0x2e5261=_0x59000f['commands']['get']('insertFootnote');return _0x5bbe26=>{const {t:t}=_0x5bbe26,_0x1d652e=new _0x4956ec(_0x5bbe26),_0x5269b3=_0x1d652e instanceof _0x209317;return _0x1d652e['bind']('isEnabled')['to'](_0x2e5261,'isEnabled'),_0x1d652e['set']({'label':t(_0x5269b3?'Footnote':'Insert\x20footnote'),'icon':_0x990c6a,'tooltip':!0x0}),_0x1d652e['on']('execute',()=>{_0x2e5261['execute'](),_0x59000f['editing']['view']['focus']();}),_0x1d652e;};}class lt extends _0x30fa3c{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 _0x53f55f{['refresh'](){const {editor:_0x2b7852}=this,_0x29ee7e=_0x2b7852['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x29ee7e,this['value']=_0x29ee7e?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4a9387}){const {editor:_0x44221d}=this,_0x504e3c=_0x44221d['plugins']['get'](f),_0x20baa2=_0x504e3c['getFootnotesDefinitionsObjectElement']();_0x20baa2&&W['includes'](_0x4a9387)&&_0x44221d['model']['change'](_0x1945cc=>{_0x1945cc['setAttribute']('footnotesListStyle',_0x4a9387,_0x20baa2),_0x504e3c['_updateFootnotesCounters'](_0x1945cc);});}}class C extends _0x53f55f{['refresh'](){const {editor:_0x33e562}=this,_0x28a5a5=_0x33e562['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x28a5a5,this['value']=_0x28a5a5?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xa05136}){const {editor:_0x49927e}=this,_0x4b1d69=_0x49927e['plugins']['get'](f),_0x300bf8=_0x4b1d69['getFootnotesDefinitionsObjectElement']();_0x300bf8&&Number['isInteger'](_0xa05136)&&_0x49927e['model']['change'](_0x19834a=>{_0x19834a['setAttribute']('footnotesListStart',_0xa05136,_0x300bf8),_0x4b1d69['_updateFootnotesCounters'](_0x19834a);});}}class P extends _0x30fa3c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c9ec1}=this;_0x3c9ec1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3c9ec1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3c9ec1['commands']['add']('footnotesStyle',new S(_0x3c9ec1)),_0x3c9ec1['commands']['add']('footnotesStart',new C(_0x3c9ec1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x31fa2f}=this,{schema:_0x35abe5}=_0x31fa2f['model'];_0x35abe5['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1e4666}=this,{conversion:_0x2b139b,model:_0x5761d5}=_0x1e4666,{schema:_0x5f1594}=_0x5761d5;_0x2b139b['for']('upcast')['add'](_0xfdcac0=>{_0xfdcac0['on']('element:ol',(_0x6c21c2,_0x1858e9,_0x1bac1b)=>{const _0x587b7a=_0x1858e9['viewItem'],_0x2eb9ff=_0x1858e9['modelCursor']?.['parent'];_0x587b7a['hasClass']('footnotes-list')&&_0x2eb9ff?.['is']('element','footnotesDefinitions')&&(function(_0xa689d6,_0x55e782,_0x4d8a54,_0x619fe6){if(!_0x619fe6['checkAttribute'](_0x55e782,'footnotesListStart'))return;let _0x3efa7e=0x1;const _0x13c75a=_0x4d8a54['consumable']['consume'](_0xa689d6,{'attributes':'start'});if(_0x13c75a){const _0x25e83b=Number['parseInt'](_0xa689d6['getAttribute']('start'),0xa);Number['isNaN'](_0x25e83b)||(_0x3efa7e=_0x25e83b);}!_0x13c75a&&_0x55e782['hasAttribute']('footnotesListStart')||_0x4d8a54['writer']['setAttribute']('footnotesListStart',_0x3efa7e,_0x55e782);}(_0x587b7a,_0x2eb9ff,_0x1bac1b,_0x5f1594),function(_0x2b40e0,_0x45a82d,_0x14417f,_0x4a035c){if(!_0x4a035c['checkAttribute'](_0x45a82d,'footnotesListStyle'))return;let _0x4956e7='decimal',_0x1e09de=!0x1;if(_0x14417f['consumable']['consume'](_0x2b40e0,{'attributes':'type'})){const _0x11d7f5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2b40e0['getAttribute']('type')];_0x11d7f5&&(_0x4956e7=_0x11d7f5),_0x1e09de=!0x0;}_0x14417f['consumable']['consume'](_0x2b40e0,{'styles':'list-style-type'})&&(_0x4956e7=function(_0x43c92b){switch(_0x43c92b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x43c92b;}}(_0x2b40e0['getStyle']('list-style-type')),_0x1e09de=!0x0),!_0x1e09de&&_0x45a82d['hasAttribute']('footnotesListStyle')||_0x14417f['writer']['setAttribute']('footnotesListStyle',_0x4956e7,_0x45a82d);}(_0x587b7a,_0x2eb9ff,_0x1bac1b,_0x5f1594));});}),_0x2b139b['for']('downcast')['add'](_0x417edd=>{_0x417edd['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x24f36c,_0x443325,_0x3d82f1)=>{if(!_0x3d82f1['consumable']['consume'](_0x443325['item'],_0x24f36c['name']))return;const _0x4d854c=M(_0x443325['item'],_0x3d82f1['mapper']),{attributeNewValue:_0x3a3f74}=_0x443325;null==_0x3a3f74||0x1===_0x3a3f74?_0x3d82f1['writer']['removeAttribute']('start',_0x4d854c):_0x3d82f1['writer']['setAttribute']('start',String(_0x3a3f74),_0x4d854c);}),_0x417edd['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x472b75,_0x18b085,_0x1d5938)=>{if(!_0x1d5938['consumable']['consume'](_0x18b085['item'],_0x472b75['name']))return;const _0x5042e3=M(_0x18b085['item'],_0x1d5938['mapper']),{attributeNewValue:_0x3e78fa}=_0x18b085;_0x3e78fa&&'decimal'!==_0x3e78fa?_0x1d5938['writer']['setStyle']('list-style-type',_0x3e78fa,_0x5042e3):_0x1d5938['writer']['removeStyle']('list-style-type',_0x5042e3);});});}['_definePostfixer'](){const {editor:_0x2f2c1f}=this,{model:_0x155c9c}=_0x2f2c1f,_0x345059=_0x2f2c1f['plugins']['get'](f),_0x2ce3e6=this['_getDefaultListStyle'](),_0x12d51c=this['_getDefaultStartIndex']();_0x155c9c['document']['registerPostFixer'](_0x350448=>{const _0x17ca0e=_0x155c9c['document']['differ']['getChanges']();let _0x2921c4=!0x1;for(const _0x229fde of _0x17ca0e){if('insert'!==_0x229fde['type']||'$text'===_0x229fde['name'])continue;const _0x4b283e=_0x155c9c['createRangeOn'](_0x229fde['position']['nodeAfter']);for(const _0x161b0e of _0x4b283e['getItems']())_0x161b0e['is']('element','footnotesDefinitions')&&(!_0x161b0e['hasAttribute']('footnotesListStart')&&_0x155c9c['schema']['checkAttribute'](_0x161b0e,'footnotesListStart')&&(_0x350448['setAttribute']('footnotesListStart',_0x12d51c,_0x161b0e),_0x2921c4=!0x0),!_0x161b0e['hasAttribute']('footnotesListStyle')&&_0x155c9c['schema']['checkAttribute'](_0x161b0e,'footnotesListStyle')&&(_0x350448['setAttribute']('footnotesListStyle',_0x2ce3e6,_0x161b0e),_0x2921c4=!0x0));}return _0x2921c4&&_0x345059['_updateFootnotesCounters'](_0x350448),_0x2921c4;});}['_defineFormatter'](){const {editor:_0x1ba60f}=this;_0x1ba60f['plugins']['get'](f)['setFootnoteFormatter'](_0x27491d=>this['_formatFootnoteListValue'](_0x27491d));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x56895f,value:_0x5d00bf,digits:_0xd35c75}){const _0x246ac7=_0x56895f['getAttribute']('footnotesListStyle'),_0x3ee6c2=_0x56895f['getAttribute']('footnotesListStart'),_0x7382a5=Math['floor'](_0x5d00bf)+(_0x3ee6c2??0x1)-0x1;switch(_0x246ac7){case'decimal-leading-zero':return function(_0x3d963a,_0x2a7470){return String(_0x3d963a)['padStart'](_0x2a7470,'0');}(_0x7382a5,Math['max'](0x2,_0xd35c75));case'lower-alpha':case'lower-latin':return N(_0x7382a5,!0x1);case'upper-alpha':case'upper-latin':return N(_0x7382a5,!0x0);case'lower-roman':return X(_0x7382a5,!0x1);case'upper-roman':return X(_0x7382a5,!0x0);default:return String(_0x7382a5);}}}function M(_0xac08b6,_0x4c16e3){const _0x4f1b76=_0x4c16e3['toViewElement'](_0xac08b6);return Array['from'](_0x4f1b76['getChildren']())['find'](_0x3938c7=>_0x3938c7['is']('element','ol')&&_0x3938c7['hasClass']('footnotes-list'));}function N(_0x5a655b,_0x5e94b5){let _0x1d648d='',_0x22e39f=_0x5a655b;for(;_0x22e39f>0x0;){const _0x299878=(_0x22e39f-0x1)%0x1a;_0x1d648d=String['fromCharCode'](0x61+_0x299878)+_0x1d648d,_0x22e39f=Math['floor']((_0x22e39f-0x1)/0x1a);}return _0x5e94b5?_0x1d648d['toUpperCase']():_0x1d648d;}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(_0x494c81,_0x16b4b1){let _0x2407d7='',_0x1aadd3=_0x494c81;for(const {value:_0x1b4696,numeral:_0x409838}of V)for(;_0x1aadd3>=_0x1b4696;)_0x2407d7+=_0x409838,_0x1aadd3-=_0x1b4696;return _0x16b4b1?_0x2407d7:_0x2407d7['toLowerCase']();}class J extends _0x2be6a4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0xb04a7c();['focusCycler'];constructor(_0x57fbda,{styleButtonViews:_0x3ec609,styleGridAriaLabel:_0xe68ea3}){super(_0x57fbda),(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'](_0x3ec609,_0xe68ea3),[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 _0x741240 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x741240['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 _0x854b96=_0x4054d7=>_0x4054d7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x854b96),this['keystrokes']['set']('arrowleft',_0x854b96),this['keystrokes']['set']('arrowup',_0x854b96),this['keystrokes']['set']('arrowdown',_0x854b96);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5a871b,_0x49d99e){const _0x569dc9=new _0x2be6a4(this['locale']);return _0x569dc9['children']=_0x569dc9['createCollection'](),_0x569dc9['children']['addMany'](_0x5a871b),_0x569dc9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x49d99e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x569dc9['children']}),_0x569dc9['children']['delegate']('execute')['to'](this),_0x569dc9['focus']=function(){for(const _0x3d3dd9 of this['children'])if(_0x3d3dd9 instanceof _0x10acff&&_0x3d3dd9['isOn'])return void _0x3d3dd9['focus']();this['children']['first']['focus']();},_0x569dc9['focusTracker']=new rt(),_0x569dc9['keystrokes']=new nt(),_0x569dc9['render'](),_0x569dc9['keystrokes']['listenTo'](_0x569dc9['element']),this['children']['add'](_0x569dc9),_0x569dc9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x483957=this['_createStartIndexPropertyView'](),_0x48f397=[_0x483957],_0x2e087e=new it(this['locale'],_0x48f397);return _0x2e087e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2e087e['buttonView']['bind']('isEnabled')['toMany'](_0x48f397,'isEnabled',(..._0xc20a34)=>_0xc20a34['some'](_0x5d83af=>_0x5d83af)),_0x2e087e['buttonView']['on']('change:isEnabled',(_0x43344,_0x30955a,_0x33ea10)=>{_0x33ea10||(_0x2e087e['isCollapsed']=!0x0);}),this['children']['add'](_0x2e087e),[_0x483957,_0x2e087e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xe4bc56=new et(this['locale'],ot);return _0xe4bc56['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xe4bc56['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xe4bc56['fieldView']['on']('input',()=>{const _0x3b5464=_0xe4bc56['fieldView']['element'],_0x3585c3=_0x3b5464['valueAsNumber'];Number['isNaN'](_0x3585c3)?_0xe4bc56['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3b5464['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3585c3}):_0xe4bc56['errorText']=t(_0x3585c3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xe4bc56;}}class j extends _0x30fa3c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4bc115,_0x3ff51c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b4b16}=this,{componentFactory:_0x5ae8bc}=_0x2b4b16['ui'];_0x2b4b16['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5ae8bc['add']('footnotesStyle',function(_0xfe437b){return _0x313139=>{const {t:t}=_0x313139,_0x4a4bd1=_0xfe437b['commands']['get']('footnotesStyle'),_0xf42969=_0x4817e6(_0x313139),{buttonView:_0x2c3239}=_0xf42969;return _0xf42969['class']='ck-footnotes-styles-dropdown',_0xf42969['bind']('isEnabled')['to'](_0x4a4bd1,'isEnabled'),_0x2c3239['set']({'label':t('Footnotes\x20style'),'icon':_0x990c6a,'tooltip':!0x0}),_0xf42969['once']('change:isOpen',()=>{const _0x245c1e=function({editor:_0x245849,dropdownView:_0x369e49}){const {t:t}=_0x245849['locale'],_0x4b264c=t('Footnotes\x20definitions\x20styles'),_0x1b8cba=function(_0x42ed10){const t=_0x42ed10['locale']['t'],_0x1ff1d3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x328fab},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3b0897},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2843c8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x16d554},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x33d01d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5d9648}];return _0x1ff1d3['map'](function(_0x5abe64){const _0xfa104d=_0x5abe64['locale'];return({label:_0x4f6678,icon:_0x22a51f,tooltip:_0x26ecae,style:_0x339781})=>{const _0x467542=_0x5abe64['commands']['get']('footnotesStyle'),_0x1f975f=new _0x10acff(_0xfa104d);return _0x1f975f['set']({'label':_0x4f6678,'icon':_0x22a51f,'tooltip':_0x26ecae}),_0x1f975f['bind']('isOn')['to'](_0x467542,'value',_0x14b467=>_0x14b467===_0x339781),_0x1f975f['bind']('isEnabled')['to'](_0x467542,'isEnabled'),_0x1f975f['on']('execute',()=>{_0x5abe64['execute']('footnotesStyle',{'value':_0x339781}),_0x5abe64['editing']['view']['focus']();}),_0x1f975f;};}(_0x42ed10));}(_0x245849),_0x4da223=new J(_0x245849['locale'],{'styleGridAriaLabel':_0x4b264c,'styleButtonViews':_0x1b8cba}),_0x284bda=_0x245849['commands']['get']('footnotesStart');return _0x4da223['startIndexFieldView']['bind']('isEnabled')['to'](_0x284bda),_0x4da223['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x284bda),_0x4da223['on']('footnotesListStart',(_0x5dae30,_0x461a72)=>{_0x245849['execute']('footnotesStart',{'value':_0x461a72['startIndex']});}),_0x4da223['delegate']('execute')['to'](_0x369e49),_0x4da223;}({'editor':_0xfe437b,'dropdownView':_0xf42969});_0xf42969['panelView']['children']['add'](_0x245c1e);}),_0xf42969;};}(_0x2b4b16));}['afterInit'](){const {editor:_0x1aee5f}=this,{t:t}=_0x1aee5f['locale'],_0x46917d=_0x1aee5f['plugins']['get'](_0x3ff51c),{defaultPositions:_0x5d4a81}=_0x489f81;_0x46917d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1aee5f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x566dc0=>{let _0x3f4f47=_0x566dc0['getFirstPosition']()?.['parent'];return _0x3f4f47?.['is']('$text')&&(_0x3f4f47=_0x3f4f47['parent']),_0x3f4f47?.['is']('element')?_0x3f4f47['findAncestor'](Q):null;},'positions':[_0x5d4a81['southArrowNorth'],_0x5d4a81['southArrowNorthMiddleWest'],_0x5d4a81['southArrowNorthMiddleEast'],_0x5d4a81['southArrowNorthWest'],_0x5d4a81['southArrowNorthEast'],_0x5d4a81['northArrowSouth'],_0x5d4a81['northArrowSouthMiddleWest'],_0x5d4a81['northArrowSouthMiddleEast'],_0x5d4a81['northArrowSouthWest'],_0x5d4a81['northArrowSouthEast'],_0x5d4a81['viewportStickyNorth']]});}}class ft extends _0x30fa3c{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 _0xbda463,Command as _0x7b2849}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x25beaf,isWidget as _0x20247d,toWidgetEditable as _0x3848fd,WidgetToolbarRepository as _0x3c578e}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2aee84,logWarning as _0x26e2ed,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x26a296,ClickObserver as _0x3c2747}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1d5283}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x37aab7,ButtonView as _0x228e8a,View as _0x3afb27,ViewCollection as _0x31d3b1,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x1a9cc0,BalloonPanelView as _0x2cd6ae,createDropdown as _0x2bbf50}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x33a085,IconListStyleDecimal as _0x427384,IconListStyleDecimalLeadingZero as _0xe96110,IconListStyleLowerRoman as _0x5667cf,IconListStyleUpperRoman as _0x42d2a1,IconListStyleLowerLatin as _0x30bb87,IconListStyleUpperLatin as _0xe98f80}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xcfc255,_0x3b884d){this['_model']=_0xcfc255,this['_elementName']=_0x3b884d['elementName'],this['_getElementKey']=_0x3b884d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x312fea){const _0x1c54ee=new Set(),_0x180110=new Map();for(const _0x11e398 of _0x312fea){if('insert'===_0x11e398['type']&&'$text'!==_0x11e398['name']&&_0x11e398['position']['nodeAfter']){const _0x3a13c1=this['_model']['createRangeOn'](_0x11e398['position']['nodeAfter']);for(const _0x23563c of _0x3a13c1['getItems']()){if(!_0x23563c['is']('element',this['_elementName']))continue;const _0x1c1ab4=this['_getElementKey'](_0x23563c);_0x180110['has'](_0x1c1ab4)||_0x180110['set'](_0x1c1ab4,[]),_0x180110['get'](_0x1c1ab4)['push'](_0x23563c);}}if('remove'===_0x11e398['type']&&_0x11e398['name']===this['_elementName']){const _0x2f09d8=this['_getElementKey']({'getAttribute':_0x3b0204=>_0x11e398['attributes']['get'](_0x3b0204)});_0x1c54ee['add'](_0x2f09d8);}}for(const [_0x12b83d,_0x300d5b]of this['_trackedElements'])'$graveyard'===_0x300d5b['root']['rootName']&&_0x1c54ee['add'](_0x12b83d);for(const _0x4faafe of _0x1c54ee)this['_trackedElements']['delete'](_0x4faafe);for(const [_0x3b86b7,_0x515aa9]of _0x180110)this['_trackedElements']['set'](_0x3b86b7,_0x515aa9[_0x515aa9['length']-0x1]);const _0x4f1359=new Set();for(const [_0x3f7748,_0x32ad1a]of _0x180110)_0x1c54ee['has'](_0x3f7748)&&(_0x4f1359['add'](_0x32ad1a[0x0]),_0x32ad1a['length']>0x1?_0x180110['set'](_0x3f7748,_0x32ad1a['slice'](0x1)):_0x180110['delete'](_0x3f7748),_0x1c54ee['delete'](_0x3f7748));return{'removed':Array['from'](_0x1c54ee),'inserted':Array['from'](_0x180110['values']())['flat'](),'moved':Array['from'](_0x4f1359)};}}class f extends _0xbda463{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2e76a2){super(_0x2e76a2),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x315e33=>_0x315e33['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x145c81=>_0x145c81['getAttribute']('footnoteId')});}['init'](){const {editor:_0x400e62}=this,{model:_0x5d3b03,data:_0x5dccdc}=_0x400e62;_0x5d3b03['document']['registerPostFixer'](_0x3c9180=>{const _0x133279=_0x5d3b03['document']['differ']['getChanges']();let _0x738cf=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3c9180,_0x133279)&&(_0x738cf=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3c9180,_0x133279)&&(_0x738cf=!0x0),this['_handleFootnoteReferencesChanges'](_0x3c9180,_0x133279)&&(_0x738cf=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3c9180)&&(_0x738cf=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3c9180)&&(_0x738cf=!0x0),this['_sortFootnoteDefinitions'](_0x3c9180)&&(_0x738cf=!0x0),_0x738cf;}),this['listenTo'](_0x5d3b03['document'],'change:data',()=>{_0x5d3b03['enqueueChange']({'isUndoable':!0x1},_0x2cdea3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2cdea3);});},{'priority':'low'}),this['listenTo'](_0x5dccdc,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x55e41f){return this['_footnotes']['find'](_0x35a287=>_0x35a287['id']===_0x55e41f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xa2a941){this['_footnoteFormatter']=_0xa2a941;}['_updateFootnotesCounters'](_0x2e4a7f,_0x4d07a7=0x0){let _0x81fca9=!0x1;for(let _0x145f28=_0x4d07a7;_0x145f28<this['_footnotes']['length'];_0x145f28++)this['_updateFootnoteRefCounter'](_0x2e4a7f,_0x145f28)&&(_0x81fca9=!0x0);return _0x81fca9;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4d0a2f,_0x54260c){const _0x1c5870=_0x4d0a2f['createElement']('footnotesDefinitions',{});return _0x4d0a2f['append'](_0x1c5870,_0x54260c),this['_footnotesDefinitions']=_0x1c5870,_0x1c5870;}['_ensureFootnotesDefinitionsContainerExists'](_0x431803){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x440004=this['_footnotes'][0x0]['reference']['root'],_0x580795=this['_insertEmptyFootnotesDefinitionsContainer'](_0x431803,_0x440004);for(const _0x3445ca of this['_footnotes'])_0x3445ca['definition']['parent']||_0x431803['insert'](_0x3445ca['definition'],_0x580795,'end');this['_updateFootnotesCounters'](_0x431803);}['_handleFootnotesDefinitionsObjectChanges'](_0x3fd83a,_0x115e3b){let _0x11e157=!0x1;const {inserted:_0x16b0f5,removed:_0x27adda,moved:_0x49c9c3}=this['_footnoteDefsContainerTracker']['getChanges'](_0x115e3b);if(_0x49c9c3['length']&&(this['_footnotesDefinitions']=_0x49c9c3[0x0]),_0x16b0f5['length']){if(_0x16b0f5['length']>0x1||this['_footnotesDefinitions']&&_0x16b0f5['some'](_0x73ea6c=>_0x73ea6c!==this['_footnotesDefinitions'])){const _0x37c219=_0x3fd83a['createElement']('footnotesDefinitions',{}),_0x3fc041=[];this['_footnotesDefinitions']&&_0x3fc041['push'](this['_footnotesDefinitions']),_0x3fc041['push'](..._0x16b0f5),_0x3fd83a['insert'](_0x37c219,_0x3fc041[0x0],'before');for(const _0x7f960e of _0x3fc041)_0x3fd83a['move'](_0x3fd83a['createRangeIn'](_0x7f960e),_0x3fd83a['createPositionAt'](_0x37c219,'end')),_0x3fd83a['remove'](_0x7f960e);this['_footnotesDefinitions']=_0x37c219,this['_updateFootnotesCounters'](_0x3fd83a),_0x11e157=!0x0;}else this['_footnotesDefinitions']=_0x16b0f5[0x0];}if(_0x27adda['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x33edc7 of this['_footnotes'])_0x3fd83a['remove'](_0x33edc7['reference']),_0x11e157=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x11e157;}['_handleFootnoteDefinitionsChanges'](_0x58678b,_0x35e9cc){let _0x50a835=!0x1;const _0x2e3143=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5ea625,moved:_0x32da37}=this['_footnoteDefsTracker']['getChanges'](_0x35e9cc);for(const _0x3eb9c4 of[..._0x32da37,..._0x5ea625]){const _0x2557e4=_0x3eb9c4['getAttribute']('footnoteId'),_0x1b2248=this['getFootnote'](_0x2557e4);_0x1b2248&&(_0x1b2248['definition']=_0x3eb9c4),_(_0x58678b,_0x2e3143,_0x3eb9c4)&&(_0x50a835=!0x0);}return _0x50a835;}['_handleFootnoteReferencesChanges'](_0x188b55,_0x26e5ba){let _0x17cea3=!0x1;const {removed:_0x1b77fc,inserted:_0x4222e0,moved:_0x3917b3}=this['_footnoteRefsTracker']['getChanges'](_0x26e5ba);for(const _0x5fd1e7 of _0x1b77fc)this['_handleRemoveFootnoteReferenceById'](_0x188b55,_0x5fd1e7)&&(_0x17cea3=!0x0);for(const _0x470358 of _0x4222e0)this['_handleInsertedFootnoteReference'](_0x188b55,_0x470358)&&(_0x17cea3=!0x0);for(const _0x3c65f4 of _0x3917b3)this['_handleMovedFootnoteReference'](_0x188b55,_0x3c65f4)&&(_0x17cea3=!0x0);return _0x17cea3;}['_handleFootnotesDefinitionsObjectSync'](_0x11f5d0){if(!this['_footnotesDefinitions'])return!0x1;let _0x582695=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x10dbbb=[];for(const _0x4b4b71 of this['_footnotesDefinitions']['getChildren']()){const _0x40d544=_0x4b4b71['getAttribute']('footnoteId');this['getFootnote'](_0x40d544)||(_0x10dbbb['unshift'](_0x4b4b71),_0x582695=!0x0);}for(const _0x368c5e of _0x10dbbb)_0x11f5d0['remove'](_0x368c5e);}const _0x5c9548=new Set(),_0x17a6a0=[];for(const _0x1af725 of this['_footnotesDefinitions']['getChildren']()){const _0x15854a=_0x1af725['getAttribute']('footnoteId');_0x5c9548['has'](_0x15854a)?(_0x17a6a0['unshift'](_0x1af725),_0x582695=!0x0):_0x5c9548['add'](_0x15854a);}for(const _0x58cd80 of _0x17a6a0)_0x11f5d0['remove'](_0x58cd80);return this['_footnotesDefinitions']['childCount']||(_0x11f5d0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x582695=!0x0),_0x582695;}['_handleInsertedFootnoteReference'](_0x4868cd,_0x34711b){if(this['_footnotes']['find'](_0x3d1e5f=>_0x3d1e5f['reference']===_0x34711b))return!0x1;let _0x504b2f=!0x1;const _0x487a6c=_0x34711b['getAttribute']('footnoteId'),_0x5b00be=this['_footnotes']['findIndex'](_0xbae65f=>_0xbae65f['id']===_0x487a6c);-0x1!==_0x5b00be&&(_0x4868cd['remove'](this['_footnotes'][_0x5b00be]['reference']),this['_footnotes']['splice'](_0x5b00be,0x1),_0x504b2f=!0x0);let _0x2e3c45=this['_footnotesDefinitions']?function(_0x3893df,_0x354574){for(const _0x4e0576 of _0x3893df['getChildren']())if(_0x4e0576['getAttribute']('footnoteId')===_0x354574)return _0x4e0576;return null;}(this['_footnotesDefinitions'],_0x487a6c):null;_0x2e3c45||(_0x2e3c45=_0x4868cd['createElement']('footnoteDefinition',{'footnoteId':_0x487a6c}),this['_footnotesDefinitions']&&(_0x4868cd['insert'](_0x2e3c45,this['_footnotesDefinitions'],'end'),_0x504b2f=!0x0));const _0x236ab8={'id':_0x487a6c,'reference':_0x34711b,'definition':_0x2e3c45},_0x2cf543=I(this['editor']['model'],this['_footnotes'],_0x34711b);this['_footnotes']['splice'](_0x2cf543,0x0,_0x236ab8);let _0x52234c=_0x2cf543;return-0x1!==_0x5b00be&&(_0x52234c=Math['min'](_0x2cf543,_0x5b00be)),this['_updateFootnotesCounters'](_0x4868cd,_0x52234c)&&(_0x504b2f=!0x0),_0x504b2f;}['_handleRemoveFootnoteReferenceById'](_0x4be2c9,_0x171513){const _0x165e1f=this['_footnotes']['findIndex'](_0x419b1c=>_0x419b1c['id']===_0x171513);if(-0x1===_0x165e1f)return!0x1;let _0x294fa9=!0x1;const _0x4b9848=this['_footnotes'][_0x165e1f];return'$graveyard'!==_0x4b9848['definition']['root']['rootName']&&(_0x4be2c9['remove'](_0x4b9848['definition']),_0x294fa9=!0x0),this['_footnotes']['splice'](_0x165e1f,0x1),this['_updateFootnotesCounters'](_0x4be2c9,_0x165e1f)&&(_0x294fa9=!0x0),_0x294fa9;}['_handleMovedFootnoteReference'](_0x29fe0a,_0x435aa3){const _0x578fbf=_0x435aa3['getAttribute']('footnoteId'),_0x11900d=this['_footnotes']['findIndex'](_0x34897f=>_0x34897f['id']===_0x578fbf),_0x177ed6=this['_footnotes'][_0x11900d];let _0x4f5158=!0x1;_0x177ed6['reference']=_0x435aa3,this['_footnotes']['splice'](_0x11900d,0x1);const _0xf89bb5=I(this['editor']['model'],this['_footnotes'],_0x435aa3);return this['_footnotes']['splice'](_0xf89bb5,0x0,_0x177ed6),this['_updateFootnotesCounters'](_0x29fe0a,Math['min'](_0x11900d,_0xf89bb5))&&(_0x4f5158=!0x0),_0x4f5158;}['_updateFootnoteRefCounter'](_0x10002b,_0x358949){if(!this['_footnotesDefinitions'])return!0x1;const _0x2a48eb=this['_footnotes'][_0x358949];let _0x5824dd;return _0x5824dd=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2a48eb,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x358949+0x1}):String(_0x358949+0x1),_0x2a48eb['reference']['getAttribute']('footnoteCounter')!=_0x5824dd&&(_0x10002b['setAttribute']('footnoteCounter',_0x5824dd,_0x2a48eb['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1c6e8a){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x6a9de6,_0x10b7ab){if(_0x6a9de6['length']!==_0x10b7ab['length'])return!0x1;for(let _0x5c34a8=0x0;_0x5c34a8<_0x6a9de6['length'];_0x5c34a8++)if(_0x6a9de6[_0x5c34a8]!==_0x10b7ab[_0x5c34a8])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5ec94c=>_0x5ec94c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x537f2d=>_0x537f2d['getAttribute']('footnoteId'))))return!0x1;let _0x40bbff=!0x1;for(let _0x5f7d75=0x0;_0x5f7d75<this['_footnotes']['length'];_0x5f7d75++){const _0x52fb13=this['_footnotes'][_0x5f7d75],_0x4a1012=_0x1c6e8a['createPositionBefore'](_0x52fb13['definition']),_0x494549=_0x1c6e8a['createPositionAt'](this['_footnotesDefinitions'],_0x5f7d75);_0x4a1012['isEqual'](_0x494549)||(_0x1c6e8a['move'](_0x1c6e8a['createRangeOn'](_0x52fb13['definition']),_0x494549),_0x40bbff=!0x0);}return _0x40bbff;}['_ensureFootnotesReferencesHaveProperOrder'](_0x40cab1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4c2713}=this['editor'];let _0x2b4d27=!0x1;for(let _0x166119=0x0;_0x166119<this['_footnotes']['length']-0x1;_0x166119++){const _0x4ba6a9=this['_footnotes'][_0x166119],_0x74bbb5=this['_footnotes'][_0x166119+0x1],_0x4230b3=_0x4c2713['createPositionBefore'](_0x4ba6a9['reference']),_0x3091e9=_0x4c2713['createPositionBefore'](_0x74bbb5['reference']);'after'===_0x4230b3['compareWith'](_0x3091e9)&&(this['_handleMovedFootnoteReference'](_0x40cab1,_0x4ba6a9['reference']),_0x166119=-0x1,_0x2b4d27=!0x0);}return _0x2b4d27;}}function _(_0x53e25b,_0x4951df,_0x4d7899){if(_0x4d7899['childCount'])return!0x1;const _0x3335a1=_0x4951df?'paragraph':'footnoteInlineContent';return _0x53e25b['insert'](_0x53e25b['createElement'](_0x3335a1),_0x4d7899),!0x0;}function I(_0x29b0d8,_0x59f634,_0x2a8cfd){if(0x0===_0x59f634['length'])return 0x0;const _0x5833ca=_0x29b0d8['createPositionBefore'](_0x2a8cfd);for(let _0x4e6f61=0x0;_0x4e6f61<_0x59f634['length'];_0x4e6f61++){const _0x16f5ba=_0x59f634[_0x4e6f61],_0x2cb3b7=_0x29b0d8['createPositionBefore'](_0x16f5ba['reference']);if('before'===_0x5833ca['compareWith'](_0x2cb3b7))return _0x4e6f61;}const _0x1dd6e6=_0x2a8cfd['root'];let _0x453c07=-0x1;for(let _0x3f8eda=_0x59f634['length']-0x1;_0x3f8eda>=0x0;_0x3f8eda--)if(_0x59f634[_0x3f8eda]['reference']['root']===_0x1dd6e6){_0x453c07=_0x3f8eda;break;}if(-0x1!==_0x453c07)return _0x453c07+0x1;const _0x165182=_0x29b0d8['document']['getRootNames'](),_0x376e62=_0x165182['indexOf'](_0x1dd6e6['rootName']),_0x43f440=_0x165182[_0x376e62+0x1];if(_0x43f440){for(let _0x346cbc=0x0;_0x346cbc<_0x59f634['length'];_0x346cbc++)if(_0x59f634[_0x346cbc]['reference']['root']['rootName']===_0x43f440)return _0x346cbc;}return _0x59f634['length'];}class h extends _0x7b2849{['refresh'](){const _0x59e816=this['editor']['model']['document']['selection'],_0x3699bc=this['_getPositionToInsertFootnote'](_0x59e816);this['isEnabled']=!!_0x3699bc;}['execute'](_0x4a0465){const {editor:_0x433cf5}=this,{model:_0xd66bd7}=_0x433cf5,{selection:_0x5905e4}=_0xd66bd7['document'],_0x54c878=this['_getPositionToInsertFootnote'](_0x5905e4);if(!_0x54c878)return;const _0x203046=_0x433cf5['plugins']['get']('FootnotesEditing'),_0x4a9a06=_0x4a0465?.['footnoteId']??_0x2aee84();!function(_0xe0419a){return'string'==typeof _0xe0419a&&_0xe0419a['length']>0x0&&!/\s/['test'](_0xe0419a)&&!/^\d/['test'](_0xe0419a);}(_0x4a9a06)?_0x26e2ed('insert-footnote-command-executed-with-invalid-id'):(_0xd66bd7['change'](_0x17d02a=>{const _0x57184b=_0x17d02a['createElement']('footnoteRef',{'footnoteId':_0x4a9a06});_0xd66bd7['insertObject'](_0x57184b,_0x54c878,null);}),_0x203046['_moveSelectionToFootnoteDefinition'](_0x4a9a06));}['_getPositionToInsertFootnote'](_0x403596){const {model:_0x3992f8}=this['editor'],{schema:_0x4c4e2e}=_0x3992f8,_0x363093=_0x403596['getFirstRange']();for(const _0x31046d of _0x363093['getItems']())if(_0x4c4e2e['isBlock'](_0x31046d)||_0x4c4e2e['isObject'](_0x31046d))return null;const _0x57ac47=_0x363093['end'];return _0x4c4e2e['checkChild'](_0x57ac47,'footnoteRef')?_0x57ac47:null;}}class r extends _0xbda463{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x448c25}=this;_0x448c25['config']['define']('footnotes.multiBlock',!0x0),_0x448c25['commands']['add']('insertFootnote',new h(_0x448c25)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x27b461){const _0x236aa6=_0x3081a3([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]),_0xdb3df7=0x47a28506,_0xa144b9=0x47a5fbce^_0xdb3df7,_0x16f412=window[_0x3081a3([0x44,0x61,0x74,0x65])][_0x3081a3([0x6e,0x6f,0x77])](),_0x10c3a1=_0x27b461[_0x3081a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x101a6f=new window[(_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4df9ef=>{_0x10c3a1[_0x3081a3([0x6f,0x6e,0x63,0x65])](_0x3081a3([0x72,0x65,0x61,0x64,0x79]),_0x4df9ef);}),_0x2e03b7={[_0x3081a3([0x6b,0x74,0x79])]:_0x3081a3([0x45,0x43]),[_0x3081a3([0x75,0x73,0x65])]:_0x3081a3([0x73,0x69,0x67]),[_0x3081a3([0x63,0x72,0x76])]:_0x3081a3([0x50,0x2d,0x32,0x35,0x36]),[_0x3081a3([0x78])]:_0x3081a3([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]),[_0x3081a3([0x79])]:_0x3081a3([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]),[_0x3081a3([0x61,0x6c,0x67])]:_0x3081a3([0x45,0x53,0x32,0x35,0x36])},_0x43469c=_0x10c3a1[_0x3081a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3081a3([0x67,0x65,0x74])](_0x3081a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29e85f(){let _0x2a612e,_0x34f491=null,_0x3e47e5=null;try{if(_0x43469c==_0x3081a3([0x47,0x50,0x4c]))return _0x3081a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a612e=_0x5c7e14(),!_0x2a612e)return _0x3081a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a612e[_0x3081a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e47e5=_0x256bf7(_0x2a612e[_0x3081a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a612e[_0x3081a3([0x6a,0x74,0x69])])),await _0x1e70df()?_0x5b595()?_0x5f3bb6()?_0x3081a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa3df86()?(_0x2a612e[_0x3081a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3081a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34f491=_0x138408(_0x3081a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x491568()):_0x3081a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3081a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3081a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3081a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f3bb6(){const _0x3c06ae=[_0x3081a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3081a3([0x74,0x72,0x69,0x61,0x6c])][_0x3081a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a612e[_0x3081a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16f412/0x3e8:0xe10*_0xa144b9;return _0x2a612e[_0x3081a3([0x65,0x78,0x70])]<_0x3c06ae;}function _0x5b595(){const _0x120c00=_0x2a612e[_0x3081a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x120c00&&(!!_0x120c00[_0x3081a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3081a3([0x2a]))||!!_0x120c00[_0x3081a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3081a3([0x46,0x4f,0x4f])));}function _0xa3df86(){const _0x4c5c12=_0x2a612e[_0x3081a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c5c12||0x0==_0x4c5c12[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x382b9e}=new URL(window[_0x3081a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c5c12[_0x3081a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x382b9e))return!0x0;const _0x56eee3=_0x382b9e[_0x3081a3([0x73,0x70,0x6c,0x69,0x74])](_0x3081a3([0x2e]));return _0x4c5c12[_0x3081a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e5709=>_0x1e5709[_0x3081a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3081a3([0x2a])))[_0x3081a3([0x6d,0x61,0x70])](_0x26784f=>_0x26784f[_0x3081a3([0x73,0x70,0x6c,0x69,0x74])](_0x3081a3([0x2e])))[_0x3081a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4309e0=>_0x4309e0[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56eee3[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3081a3([0x6d,0x61,0x70])](_0x63b729=>Array(_0x56eee3[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x63b729[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3081a3([0x66,0x69,0x6c,0x6c])](_0x63b729[0x0]===_0x3081a3([0x2a])?_0x3081a3([0x2a]):'')[_0x3081a3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x63b729))[_0x3081a3([0x73,0x6f,0x6d,0x65])](_0x3f609e=>_0x56eee3[_0x3081a3([0x65,0x76,0x65,0x72,0x79])]((_0x148f26,_0x527dba)=>_0x3f609e[_0x527dba]===_0x148f26||_0x3f609e[_0x527dba]===_0x3081a3([0x2a])));}function _0x491568(){return _0x34f491&&_0x3e47e5?new window[(_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37caf7,_0x27da37)=>{_0x34f491[_0x3081a3([0x74,0x68,0x65,0x6e])](_0x37caf7,_0x27da37),_0x3e47e5[_0x3081a3([0x74,0x68,0x65,0x6e])](_0x154040=>{_0x154040!=_0x3081a3([0x56,0x61,0x6c,0x69,0x64])&&_0x37caf7(_0x154040);},_0x27da37);}):_0x34f491||_0x3e47e5||_0x3081a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x256bf7(_0x147dc1,_0x52a06d){return new window[(_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x539e35=>{if(_0x307cf4())return _0x539e35(_0x3081a3([0x56,0x61,0x6c,0x69,0x64]));_0x5d8ded(),_0x10c3a1[_0x3081a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3081a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d61ea=!0x1;const _0x20b3fb=_0x2aee84();function _0x4a216a(_0xd806fa){return!!_0xd806fa&&(typeof _0xd806fa===_0x3081a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd806fa===_0x3081a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd806fa[_0x3081a3([0x74,0x68,0x65,0x6e])]===_0x3081a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd806fa[_0x3081a3([0x63,0x61,0x74,0x63,0x68])]===_0x3081a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x214b19(_0xd15440){_0x373ebe(_0xd15440)[_0x3081a3([0x74,0x68,0x65,0x6e])](_0x307297=>{if(!_0x307297||_0x307297[_0x3081a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3081a3([0x6f,0x6b]))return _0x3081a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x522262(_0x238d5f(_0x20b3fb+_0x52a06d))!=_0x307297[_0x3081a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3081a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3081a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x3081a3([0x74,0x68,0x65,0x6e])](_0x329a1f=>(_0xd38813(),_0x329a1f),()=>{const _0x6120c4=_0x51d5bc();return null==_0x6120c4?(_0xd38813(),_0x3081a3([0x56,0x61,0x6c,0x69,0x64])):_0x3081a3(_0x16f412-_0x6120c4>(0x63ae0106^_0xdb3df7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3081a3([0x74,0x68,0x65,0x6e])](_0x539e35)[_0x3081a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x539e35(_0x3081a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46b4ca=0x47946b86^_0xdb3df7;function _0xd38813(){const _0x474a7f=_0x3081a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x522262(_0x238d5f(_0x147dc1)),_0x12063c=_0x434a5b(_0x522262(window[_0x3081a3([0x4d,0x61,0x74,0x68])][_0x3081a3([0x63,0x65,0x69,0x6c])](_0x16f412/_0x46b4ca)));window[_0x3081a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3081a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x474a7f,_0x12063c);}function _0x51d5bc(){const _0x3b0bb3=_0x3081a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x522262(_0x238d5f(_0x147dc1)),_0x364ca8=window[_0x3081a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3081a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b0bb3);return _0x364ca8?window[_0x3081a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x434a5b(_0x364ca8),0x10)*_0x46b4ca:null;}function _0x373ebe(_0x1eb26d){return new window[(_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24b976,_0x377502)=>{_0x1eb26d[_0x3081a3([0x74,0x68,0x65,0x6e])](_0x24b976,_0x377502),window[_0x3081a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x377502,0x47a351c6^_0xdb3df7);});}}_0x10c3a1[_0x3081a3([0x6f,0x6e])](_0x3081a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5e4dcf,_0x39c54f)=>{if(_0x39c54f[0x0]!=_0x147dc1)return _0x539e35(_0x3081a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39c54f[0x1]={..._0x39c54f[0x1],[_0x3081a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x20b3fb};},{[_0x3081a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3081a3([0x68,0x69,0x67,0x68])}),_0x10c3a1[_0x3081a3([0x6f,0x6e])](_0x3081a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3884e6=>{_0x4a216a(_0x3884e6[_0x3081a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d61ea=!0x0,_0x214b19(_0x3884e6[_0x3081a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3081a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3081a3([0x6c,0x6f,0x77])}),_0x101a6f[_0x3081a3([0x74,0x68,0x65,0x6e])](()=>{_0x5d61ea||_0x539e35(_0x3081a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x307cf4(){return _0x10c3a1[_0x3081a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3081a3([0x76,0x69,0x65,0x77])][_0x3081a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3081a3([0x61,0x75,0x74,0x6f]);}function _0x5d8ded(){_0x10c3a1[_0x3081a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3081a3([0x76,0x69,0x65,0x77])][_0x3081a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3081a3([0x61,0x75,0x74,0x6f]);}}function _0x138408(_0x13b57e){const _0x48868f=[new window[(_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d36cb=>setTimeout(_0x3d36cb,0x47abbbca^_0xdb3df7)),_0x101a6f[_0x3081a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d4446=>{let _0x4f6bc5=0x0;_0x10c3a1[_0x3081a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3081a3([0x6f,0x6e])](_0x3081a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5be6d9,_0x4c21dc)=>{_0x4c21dc[0x0][_0x3081a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f6bc5++,_0x4f6bc5==(0x47a280ee^_0xdb3df7)&&(_0x2d4446(),_0x5be6d9[_0x3081a3([0x6f,0x66,0x66])]());});}))];return window[_0x3081a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3081a3([0x72,0x61,0x63,0x65])](_0x48868f)[_0x3081a3([0x74,0x68,0x65,0x6e])](()=>_0x13b57e);}async function _0x105975(){await _0x101a6f,_0x10c3a1[_0x3081a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3081a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fed84,_0x10c3a1[_0x3081a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x3081a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fed84,_0x10c3a1[_0x3081a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3081a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4416f4(_0x124c81){const _0x50b616=_0xe137b();_0x10c3a1[_0x50b616]=_0x3081a3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x124c81,_0x124c81!=_0x3081a3([0x56,0x61,0x6c,0x69,0x64])&&_0x105975();}function _0xe137b(){const _0x418897=window[_0x3081a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3081a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3081a3([0x6e,0x6f,0x77])]())[_0x3081a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3081a3([0x2e]),'');let _0x4c362c=_0x3081a3([0x75]);for(let _0x5e5e82=0x0;_0x5e5e82<_0x418897[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e5e82+=0x2){let _0x50dbae=window[_0x3081a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x418897[_0x3081a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e5e82,_0x5e5e82+0x2));_0x50dbae>=_0x236aa6[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50dbae-=_0x236aa6[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c362c+=_0x236aa6[_0x50dbae];}return _0x4c362c;}function _0x5c7e14(){const _0x5d7f8f=_0x43469c[_0x3081a3([0x73,0x70,0x6c,0x69,0x74])](_0x3081a3([0x2e]));if(0x3!=_0x5d7f8f[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1357c0(_0x5d7f8f[0x1]);function _0x1357c0(_0x283375){const _0x209b18=_0x59fb72(_0x283375);return _0x209b18&&_0x5c3036()?_0x209b18:null;function _0x5c3036(){const _0x3ab756=_0x209b18[_0x3081a3([0x6a,0x74,0x69])],_0x8e4723=window[_0x3081a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ab756[_0x3081a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ab756[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf09719={..._0x209b18,[_0x3081a3([0x6a,0x74,0x69])]:_0x3ab756[_0x3081a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ab756[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf09719[_0x3081a3([0x76,0x63])],_0x238d5f(_0xf09719)==_0x8e4723;}}}async function _0x1e70df(){let _0x1a4058=!0x0;try{const _0x453a94=_0x43469c[_0x3081a3([0x73,0x70,0x6c,0x69,0x74])](_0x3081a3([0x2e])),[_0x5768ff,_0x4a17d1,_0x3bbe80]=_0x453a94;return _0x2d095a(_0x5768ff),await _0x4a1293(_0x5768ff,_0x4a17d1,_0x3bbe80),_0x1a4058;}catch{return!0x1;}function _0x2d095a(_0x5929f1){const _0x3a200f=_0x59fb72(_0x5929f1);_0x3a200f&&_0x3a200f[_0x3081a3([0x61,0x6c,0x67])]==_0x3081a3([0x45,0x53,0x32,0x35,0x36])||(_0x1a4058=!0x1);}async function _0x4a1293(_0x10e871,_0x34e399,_0x37dd2f){const _0x51326f=window[_0x3081a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3081a3([0x66,0x72,0x6f,0x6d])](_0x3dd7a0(_0x37dd2f),_0x148a6c=>_0x148a6c[_0x3081a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3669a6=new window[(_0x3081a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3081a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10e871+_0x3081a3([0x2e])+_0x34e399),_0x517491=window[_0x3081a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3081a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x517491)return;const _0x4ec0b5=await _0x517491[_0x3081a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3081a3([0x6a,0x77,0x6b]),_0x2e03b7,{[_0x3081a3([0x6e,0x61,0x6d,0x65])]:_0x3081a3([0x45,0x43,0x44,0x53,0x41]),[_0x3081a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3081a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3081a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x517491[_0x3081a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3081a3([0x6e,0x61,0x6d,0x65])]:_0x3081a3([0x45,0x43,0x44,0x53,0x41]),[_0x3081a3([0x68,0x61,0x73,0x68])]:{[_0x3081a3([0x6e,0x61,0x6d,0x65])]:_0x3081a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ec0b5,_0x51326f,_0x3669a6)||(_0x1a4058=!0x1);}}function _0x59fb72(_0x5ee941){return _0x5ee941[_0x3081a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3081a3([0x65,0x79]))?JSON[_0x3081a3([0x70,0x61,0x72,0x73,0x65])](_0x3dd7a0(_0x5ee941)):null;}function _0x3dd7a0(_0x36927b){return window[_0x3081a3([0x61,0x74,0x6f,0x62])](_0x36927b[_0x3081a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3081a3([0x2b]))[_0x3081a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3081a3([0x2f])));}function _0x238d5f(_0x2a4f66){let _0x4fa652=0x1505;function _0x3b8411(_0x422a49){for(let _0x4e13ef=0x0;_0x4e13ef<_0x422a49[_0x3081a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e13ef++){const _0x3e41d4=_0x422a49[_0x3081a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e13ef);_0x4fa652=(_0x4fa652<<0x5)+_0x4fa652+_0x3e41d4,_0x4fa652&=_0x4fa652;}}function _0x34ee27(_0x38efa2){Array[_0x3081a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38efa2)?_0x38efa2[_0x3081a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34ee27):_0x38efa2&&typeof _0x38efa2==_0x3081a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3081a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38efa2)[_0x3081a3([0x73,0x6f,0x72,0x74])]()[_0x3081a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x213738,_0x29cdf0])=>{_0x3b8411(_0x213738),_0x34ee27(_0x29cdf0);}):_0x3b8411(window[_0x3081a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38efa2));}return _0x34ee27(_0x2a4f66),_0x4fa652>>>0x0;}function _0x522262(_0x5b0918){return _0x5b0918[_0x3081a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3081a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3081a3([0x30]));}function _0x434a5b(_0x23240c){return _0x23240c[_0x3081a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3081a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3081a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fed84(){}function _0x3081a3(_0xabde28){return _0xabde28['map'](_0x17bd17=>String['fromCharCode'](_0x17bd17))['join']('');}_0x4416f4(await _0x29e85f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4e2b65){const {plugins:_0x4aa793,editing:_0xec3269,model:_0x315f1b}=this['editor'],_0x3d3ad8=_0x4aa793['get'](f)['getFootnote'](_0x4e2b65);return!!_0x3d3ad8&&(_0x315f1b['change'](_0xe90408=>{_0xe90408['setSelection'](_0xe90408['createPositionAt'](_0x3d3ad8['definition'],'end'));}),_0xec3269['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5b3046){const {plugins:_0x18746b,editing:_0x11bd99,model:_0x5a03d3}=this['editor'],_0x3a8701=_0x18746b['get'](f)['getFootnote'](_0x5b3046);return!!_0x3a8701&&(_0x5a03d3['change'](_0x3b319e=>{_0x3b319e['setSelection'](_0x3a8701['reference'],'on');}),_0x11bd99['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1b74b7}=this['editor']['model'],_0x3e61b5=this['editor']['config']['get']('footnotes.multiBlock');_0x1b74b7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1b74b7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1b74b7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3e61b5?_0x1b74b7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1b74b7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1b74b7['addChildCheck'](_0xa8f139=>{for(const _0x38939f of _0xa8f139)if('footnoteDefinition'===_0x38939f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1a15a2}=this,{conversion:_0x3d0ee4,editing:_0x33c7b2}=_0x1a15a2,{t:t}=_0x1a15a2['locale'];_0x3d0ee4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xb6ecb5,{writer:_0x57d821,consumable:_0x3384aa})=>{const _0x173629=_0xb6ecb5['getChild'](0x0);if(!_0x173629||!_0x173629['is']('element','a'))return null;const _0x38ea6d=_0x173629['getAttribute']('href')||'';if(!_0x38ea6d['startsWith']('#'))return null;const _0x2aaa73=_0x38ea6d['replace'](/^#/,'');if(!_0x2aaa73)return null;_0x3384aa['consume'](_0x173629,{'name':!0x0,'attributes':['href']});for(const {item:_0xfd0e6d}of _0x33c7b2['view']['createRangeIn'](_0x173629))_0xfd0e6d['is']('$textProxy')?_0x3384aa['consume'](_0xfd0e6d['textNode'],{'name':!0x0}):_0xfd0e6d['is']('element')&&_0x3384aa['consume'](_0xfd0e6d,{'name':!0x0});return _0x57d821['createElement']('footnoteRef',{'footnoteId':_0x2aaa73});}}),_0x3d0ee4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3c476b,{writer:_0x598028})=>b(_0x3c476b,_0x598028)}),_0x3d0ee4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ed0f9,{writer:_0x2bcfbd})=>{const _0x9641da=_0x2ed0f9['getAttribute']('footnoteCounter');return _0x25beaf(b(_0x2ed0f9,_0x2bcfbd),_0x2bcfbd,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x9641da)});}});}['_defineDefinitionsConverters'](){const {editor:_0x537163}=this,{t:t}=_0x537163['locale'],{conversion:_0x17052c}=_0x537163;_0x17052c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x17052c['for']('upcast')['add'](_0x1ea347=>{_0x1ea347['on']('element:ol',(_0x3fbd89,_0x3063af,_0x35662b)=>{const _0x6e5043=_0x3063af['viewItem'];if(!_0x6e5043['hasClass']('footnotes-list')||!_0x3063af['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35662b['consumable']['consume'](_0x6e5043,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x55e87b,modelCursor:_0x5be155}=_0x35662b['convertChildren'](_0x3063af['viewItem'],_0x3063af['modelCursor']);_0x3063af['modelRange']=_0x55e87b,_0x3063af['modelCursor']=_0x5be155;}),_0x1ea347['on']('element:hr',(_0x5a13f5,_0x179412,_0x301de2)=>{const _0x1e998b=_0x179412['viewItem'];_0x1e998b['hasClass']('footnotes-divider')&&_0x179412['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x301de2['consumable']['consume'](_0x1e998b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x17052c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x521193,{writer:_0x36534f})=>D(_0x36534f)}),_0x17052c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24f959,{writer:_0x54cfd5})=>{const _0x2fe5d9=D(_0x54cfd5,{'data-footnotes-list-label':t('Footnotes')}),_0x181126=_0x25beaf(_0x2fe5d9,_0x54cfd5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x54cfd5['setCustomProperty']('footnotesDefinitions',!0x0,_0x181126),_0x181126;}});}['_defineDefinitionConverters'](){const {editor:_0x2e8fb8}=this,{conversion:_0x1b8dfd,locale:_0x487881}=_0x2e8fb8,_0x544d84=_0x2e8fb8['config']['get']('footnotes.multiBlock');_0x1b8dfd['for']('upcast')['add'](_0x1d8a36=>{_0x1d8a36['on']('element:li',(_0x2a6d25,_0x39d96f,_0x5457be)=>{const _0x5eebae=_0x39d96f['viewItem'];if(!_0x5eebae['hasClass']('footnote-definition')||!_0x5eebae['getAttribute']('id'))return;const _0x329074=_0x5eebae['parent'];if(!_0x329074['is']('element','ol')||!_0x329074['hasClass']('footnotes-list'))return;if(!_0x5457be['consumable']['test'](_0x5eebae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x506ce5=_0x5457be['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5eebae['getAttribute']('id')});if(!_0x5457be['safeInsert'](_0x506ce5,_0x39d96f['modelCursor']))return;_0x5457be['consumable']['consume'](_0x5eebae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x50acc9=Array['from'](_0x5eebae['getChildren']())['find'](_0x9480da=>_0x9480da['is']('element')&&_0x9480da['hasClass']('footnote-content'));for(const _0x533cc3 of _0x5eebae['getChildren']())_0x533cc3['is']('element')&&(_0x5457be['consumable']['consume'](_0x533cc3,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5457be['consumable']['consume'](_0x533cc3,{'name':!0x0,'classes':'footnote-content'}));if(_0x50acc9){if(_0x544d84)_0x5457be['convertChildren'](_0x50acc9,_0x506ce5);else{const _0x10000e=_0x5457be['writer']['createElement']('footnoteInlineContent');_0x5457be['writer']['insert'](_0x10000e,_0x506ce5),_0x5457be['convertChildren'](_0x50acc9,_0x10000e);}}_0x5457be['updateConversionResult'](_0x506ce5,_0x39d96f);});}),_0x1b8dfd['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47df21,{writer:_0x2d0c68})=>y(_0x47df21,_0x2d0c68,_0x487881,{'dataPipeline':!0x0})}),_0x1b8dfd['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2453aa,{writer:_0x1c377f})=>y(_0x2453aa,_0x1c377f,_0x487881)});}['_defineBogusParagraphConverters'](){const {editor:_0x485260}=this,{conversion:_0x15591f}=_0x485260;_0x485260['config']['get']('footnotes.multiBlock')?(_0x15591f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x15591f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x485260['model']['document'],'change:data',()=>{!function(_0xaf2659,_0x3170af){const _0x27bfd1=_0xaf2659['document']['differ'],_0x5ecc02=new Set();for(const _0x3cf4f9 of _0x27bfd1['getChanges']()){const _0x211d9e='attribute'==_0x3cf4f9['type']?_0x3cf4f9['range']['start']['parent']:_0x3cf4f9['position']['parent'];_0x211d9e['is']('element','footnoteDefinition')&&_0x5ecc02['add'](_0x211d9e);}for(const _0x52a82a of _0x5ecc02['values']()){const _0x325f33=Array['from'](_0x52a82a['getChildren']())['filter'](_0x2efd44=>v(_0x2efd44,_0x3170af['mapper']));for(const _0x4d377c of _0x325f33)_0x3170af['reconvertItem'](_0x4d377c);}}(_0x485260['model'],_0x485260['editing']);})):(_0x15591f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x15591f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5ea50e,{writer:_0x3131d1})=>{const _0x49a9bf=_0x3131d1['createContainerElement']('span');return _0x3131d1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49a9bf),_0x49a9bf;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4007fa}=this,{editing:_0x3394eb,t:t}=_0x4007fa,_0x29c824=_0x4007fa['model']['document']['selection'];_0x4007fa['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4007fa['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3394eb['view']['document'],'enter',(_0x2ed0e5,_0x3c8774)=>{const _0x1bd2e2=function(_0xd1dc05){const _0x755b3=_0xd1dc05['getSelectedElement']();if(_0x755b3?.['is']('element','footnoteRef'))return _0x755b3;return null;}(_0x29c824);if(_0x1bd2e2){const _0x1b8517=_0x1bd2e2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1b8517),_0x3c8774['preventDefault'](),_0x2ed0e5['stop']();}},{'context':_0x20247d});}['_defineClickHandlers'](){const {editor:_0x1810fd}=this,{editing:_0x4e05cb}=_0x1810fd;_0x1810fd['editing']['view']['addObserver'](_0x26a296),_0x1810fd['editing']['view']['addObserver'](_0x3c2747);let _0x8586b6=!0x1;this['listenTo'](_0x4e05cb['view']['document'],'pointerdown',(_0x5875e7,_0x5217cf)=>{const {target:_0x361d91}=_0x5217cf,_0x50fdd9=_0x4e05cb['view']['document']['selection'];_0x8586b6=!!(_0x361d91?.['is']('element','a')&&_0x361d91['parent']?.['is']('element','sup')&&_0x361d91['parent']['hasClass']('footnote'))&&_0x50fdd9['getSelectedElement']()===_0x361d91['parent'];},{'priority':'high'}),this['listenTo'](_0x4e05cb['view']['document'],'click',(_0x4a2b64,_0x4e34de)=>{const {target:_0x32ab8c}=_0x4e34de;if(!_0x32ab8c?.['is']('element','a'))return;if(_0x32ab8c['parent']?.['is']('element','sup')&&_0x32ab8c['parent']['hasClass']('footnote')&&!_0x8586b6)return void _0x4e34de['preventDefault']();let _0x2cba89=_0x32ab8c['getAttribute']('href');if(!_0x2cba89?.['startsWith']('#'))return;_0x2cba89=_0x2cba89['slice'](0x1);let _0x30c2fe=!0x1;(_0x2cba89['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2cba89['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2cba89))&&(_0x30c2fe=!0x0),_0x30c2fe&&(_0x4e34de['preventDefault'](),_0x4a2b64['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x57c40f}={}){return(_0x5b9ba8,{writer:_0x25e695})=>{if(!g(_0x5b9ba8))return null;if(!_0x57c40f)return _0x25e695['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1b09ff=_0x25e695['createContainerElement']('p');return _0x25e695['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1b09ff),_0x1b09ff;};}function g(_0x31f7ec){const {parent:_0x27a18f}=_0x31f7ec;if(!_0x27a18f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x27a18f['childCount'])return!0x1;for(const _0x58d754 of _0x31f7ec['getAttributeKeys']())if(!_0x58d754['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x58d754)return!0x1;return!0x0;}function v(_0xfca681,_0x2a4bb7){if(!_0xfca681['is']('element','paragraph'))return!0x1;const _0x21742c=_0x2a4bb7['toViewElement'](_0xfca681);return!!_0x21742c&&g(_0xfca681)!==_0x21742c['is']('element','span');}function Q(_0x469d1){return _0x20247d(_0x469d1)&&_0x469d1['is']('containerElement')&&!!_0x469d1['getCustomProperty']('footnotesDefinitions');}function D(_0xdbfe04,_0x521617={}){const _0x386084=_0xdbfe04['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2d4a66=_0xdbfe04['createContainerElement']('ol',{'class':'footnotes-list'},_0xdbfe04['createSlot']());return _0xdbfe04['createContainerElement']('div',{'class':'footnotes',..._0x521617},[_0x386084,_0x2d4a66]);}function b(_0x173d84,_0x95516e){const _0x118045=_0x173d84['getAttribute']('footnoteId'),_0x274387=_0x173d84['getAttribute']('footnoteCounter'),_0x50dc6a=_0x95516e['createUIElement']('a',{'href':'#'+_0x118045},function(_0x171083){const _0x3eb39b=this['toDomElement'](_0x171083);return _0x3eb39b['textContent']=_0x274387,_0x3eb39b;}),_0x5d02f9=_0x95516e['createContainerElement']('sup',{'id':'ref-'+_0x118045,'class':'footnote'},[_0x50dc6a]);return _0x5d02f9['getFillerOffset']=()=>null,_0x5d02f9;}function y(_0x3d03eb,_0x8fdce,_0x557b77,{dataPipeline:_0x208d7a}={}){const {t:t}=_0x557b77,_0x3e0472=_0x3d03eb['getAttribute']('footnoteId'),_0x45abba=_0x8fdce['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3e0472},function(_0x3cb697){const _0x344cba=this['toDomElement'](_0x3cb697);return _0x344cba['innerText']='^',_0x344cba;}),_0x2fb18c=_0x208d7a?_0x8fdce['createContainerElement']('div',{'class':'footnote-content'}):_0x3848fd(_0x8fdce['createEditableElement']('div',{'class':'footnote-content'}),_0x8fdce,{'label':t('Footnote\x20content.')});return _0x8fdce['insert'](_0x8fdce['createPositionAt'](_0x2fb18c,0x0),_0x8fdce['createSlot']()),_0x8fdce['createContainerElement']('li',{'class':'footnote-definition','id':_0x3e0472},[_0x45abba,_0x2fb18c]);}class e extends _0xbda463{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1d5283];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x850971}=this,{plugins:_0x1897f4,model:_0x25ad85}=_0x850971,_0x5d837b=_0x1897f4['get'](_0x1d5283),_0x346536=_0x1897f4['get'](f);this['listenTo'](_0x5d837b,'outputTransformation',(_0x9a2aa5,_0x1f09c6)=>{const _0x419625=l(_0x25ad85['createRangeIn'](_0x1f09c6['content']));if(!_0x419625['length'])return;const _0x2f9f6a=_0x346536['getFootnotes'](),_0x445f80=_0x419625['reduce']((_0x1d99c9,_0x3690de)=>{const _0x211bb8=_0x2f9f6a['find'](_0x584ab4=>_0x584ab4['id']===_0x3690de);if(_0x211bb8){const _0x438839=_0x850971['data']['toView'](_0x211bb8['definition'],{'isClipboardPipeline':!0x0}),_0x1fcd05=_0x850971['data']['htmlProcessor']['toData'](_0x438839);_0x1d99c9[_0x211bb8['id']]=_0x1fcd05;}return _0x1d99c9;},Object['create'](null));_0x1f09c6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x445f80));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x318cb0}=this,{model:_0x2dc797,plugins:_0x2457e4}=_0x318cb0,{view:_0x367c44}=_0x318cb0['editing'],_0x353d78=_0x2457e4['get'](_0x1d5283),_0x5f14c5=_0x2457e4['get'](f),_0x4897fc=_0x318cb0['config']['get']('footnotes.multiBlock');let _0x30155f=null;this['listenTo'](_0x367c44['document'],'clipboardInput',(_0x3bbf19,_0x2fcdea)=>{const _0x1ad19e=_0x2fcdea['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x30155f=_0x1ad19e?JSON['parse'](_0x1ad19e):null;}),this['listenTo'](_0x353d78,'contentInsertion',(_0x1172e1,_0x1168e1)=>{const _0x30345a=_0x1168e1['sourceEditorId']===this['editor']['id'];_0x30345a&&'drop'===_0x1168e1['method']||_0x2dc797['change'](_0x73c11c=>{let _0x5a5f24=_0x5f14c5['getFootnotesDefinitionsObjectElement']();const _0xc9ef99=!!_0x5a5f24&&Array['from'](_0x2dc797['document']['selection']['getSelectedBlocks']())['includes'](_0x5a5f24);if(!_0x30155f&&function(_0x3aa636){for(const {item:_0x27702e}of _0x3aa636)if(_0x27702e['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2dc797['createRangeIn'](_0x1168e1['content']))&&(_0x30155f=function(_0x103213,_0x421990){const _0x32edde=c(_0x103213,_0x421990);if(!_0x32edde)return null;const _0x53906b=Object['create'](null);for(const _0x139611 of _0x32edde['getChildren']())_0x139611['is']('element','footnoteDefinition')&&_0x139611['hasAttribute']('footnoteId')&&(_0x53906b[_0x139611['getAttribute']('footnoteId')]=_0x103213['cloneElement'](_0x139611,!0x0));return Object['keys'](_0x53906b)['length']?_0x53906b:null;}(_0x73c11c,_0x1168e1['content'])),(_0x5a5f24&&!_0xc9ef99||!_0x5a5f24&&!_0x30155f)&&function(_0xebe47a,_0x550c86){const _0x5a3dd5=[];for(const {item:_0xe2c811}of _0xebe47a['createRangeIn'](_0x550c86))_0xe2c811['is']('element','footnotesDefinitions')&&_0x5a3dd5['push'](_0xe2c811);for(const _0x1c07dc of _0x5a3dd5)_0xebe47a['remove'](_0x1c07dc);}(_0x73c11c,_0x1168e1['content']),!_0x30155f)return;const {selection:_0x4f24d8}=_0x2dc797['document'],_0x5b16ab=_0x4f24d8['getFirstRange']()['root'];_0x5a5f24&&!_0xc9ef99||(_0x5a5f24=c(_0x73c11c,_0x1168e1['content']),_0x5a5f24||=_0x5f14c5['_insertEmptyFootnotesDefinitionsContainer'](_0x73c11c,_0x5b16ab));const _0x17f83f=Array['from'](_0x4f24d8['getRanges']())['flatMap'](l),_0x5a34bc=function(_0x2d46e3,_0xf03201,_0x5ebdb5){const _0x158db8=Object['create'](null);for(const {item:_0x26fbd4}of _0x2d46e3['createRangeIn'](_0xf03201))if(_0x26fbd4['is']('element','footnoteRef')){const _0x48f16f=_0x26fbd4['getAttribute']('footnoteId');if(!_0x5ebdb5(_0x48f16f))continue;_0x158db8[_0x48f16f]||(_0x158db8[_0x48f16f]=_0x2aee84()),_0x2d46e3['setAttribute']('footnoteId',_0x158db8[_0x48f16f],_0x26fbd4);}return _0x158db8;}(_0x73c11c,_0x1168e1['content'],_0x5eb06b=>{if(!_0x30345a)return!0x0;return!!_0x5f14c5['getFootnote'](_0x5eb06b)&&!_0x17f83f['includes'](_0x5eb06b);});for(const [_0x21d4e1,_0x4a56b6]of Object['entries'](_0x30155f)){const _0x44b540=_0x5a34bc[_0x21d4e1]||_0x21d4e1;let _0x3d0a4b;if('string'!=typeof _0x4a56b6)_0x3d0a4b=_0x4a56b6,_0x44b540!==_0x21d4e1&&_0x73c11c['setAttribute']('footnoteId',_0x44b540,_0x3d0a4b);else{_0x3d0a4b=_0x73c11c['createElement']('footnoteDefinition',{'footnoteId':_0x44b540});const _0x43251e=_0x318cb0['data']['htmlProcessor']['toView'](_0x4a56b6);let _0x56d839;if(_0x4897fc)_0x56d839=_0x318cb0['data']['toModel'](_0x43251e,_0x3d0a4b);else{_0x56d839=_0x73c11c['createElement']('footnoteInlineContent');const _0x356b1f=_0x318cb0['data']['toModel'](_0x43251e,_0x56d839);_0x73c11c['insert'](_0x356b1f,_0x56d839);}_0x73c11c['append'](_0x56d839,_0x3d0a4b);}_0x73c11c['insert'](_0x3d0a4b,_0x5a5f24,'end');}_0x30155f=null;});});}}function c(_0x4c9146,_0x483756){for(const {item:_0x579de2}of _0x4c9146['createRangeIn'](_0x483756))if(_0x579de2['is']('element','footnotesDefinitions'))return _0x579de2;return null;}function l(_0x389969){const _0x1157b7=new Set();for(const {item:_0x34c424}of _0x389969)_0x34c424['is']('element','footnoteRef')&&_0x1157b7['add'](_0x34c424['getAttribute']('footnoteId'));return Array['from'](_0x1157b7);}class i extends _0xbda463{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13ed8c}=this,{componentFactory:_0x114208}=_0x13ed8c['ui'];_0x114208['add']('insertFootnote',E(_0x13ed8c,_0x228e8a)),_0x114208['add']('menuBar:insertFootnote',E(_0x13ed8c,_0x37aab7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x42b0f6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa2e070;for(const _0x3b42a1 in _0x42b0f6){const _0x32553c=_0x3b42a1,_0x2fd598=_0x42b0f6[_0x32553c];if('footnotesLicenseKeyValid'==_0x2fd598||'footnotesLicenseKeyInvalid'==_0x2fd598||'footnotesLicenseKeyExpired'==_0x2fd598||'footnotesLicenseKeyDomainLimit'==_0x2fd598||'footnotesLicenseKeyNotAllowed'==_0x2fd598||'footnotesLicenseKeyEvaluationLimit'==_0x2fd598||'footnotesLicenseKeyUsageLimit'==_0x2fd598){delete _0x42b0f6[_0x32553c],_0xa2e070=_0x2fd598,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xa2e070&&_0x42b0f6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xa2e070&&_0x42b0f6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xa2e070&&_0x42b0f6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xa2e070&&_0x42b0f6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xa2e070&&_0x42b0f6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xa2e070&&_0x42b0f6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4fe48e,_0x556d8c){const _0x3ea0b3=_0x4fe48e['commands']['get']('insertFootnote');return _0x22e25b=>{const {t:t}=_0x22e25b,_0x23409b=new _0x556d8c(_0x22e25b),_0xf676d5=_0x23409b instanceof _0x37aab7;return _0x23409b['bind']('isEnabled')['to'](_0x3ea0b3,'isEnabled'),_0x23409b['set']({'label':t(_0xf676d5?'Footnote':'Insert\x20footnote'),'icon':_0x33a085,'tooltip':!0x0}),_0x23409b['on']('execute',()=>{_0x3ea0b3['execute'](),_0x4fe48e['editing']['view']['focus']();}),_0x23409b;};}class lt extends _0xbda463{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 _0x7b2849{['refresh'](){const {editor:_0xae2133}=this,_0x21ce6d=_0xae2133['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x21ce6d,this['value']=_0x21ce6d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3e7732}){const {editor:_0x8e40c5}=this,_0x4f523b=_0x8e40c5['plugins']['get'](f),_0x3fc3bc=_0x4f523b['getFootnotesDefinitionsObjectElement']();_0x3fc3bc&&W['includes'](_0x3e7732)&&_0x8e40c5['model']['change'](_0x565539=>{_0x565539['setAttribute']('footnotesListStyle',_0x3e7732,_0x3fc3bc),_0x4f523b['_updateFootnotesCounters'](_0x565539);});}}class C extends _0x7b2849{['refresh'](){const {editor:_0x2471bc}=this,_0x3dd496=_0x2471bc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3dd496,this['value']=_0x3dd496?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x516ed8}){const {editor:_0x17a62d}=this,_0x37bb43=_0x17a62d['plugins']['get'](f),_0x539714=_0x37bb43['getFootnotesDefinitionsObjectElement']();_0x539714&&Number['isInteger'](_0x516ed8)&&_0x17a62d['model']['change'](_0x45c388=>{_0x45c388['setAttribute']('footnotesListStart',_0x516ed8,_0x539714),_0x37bb43['_updateFootnotesCounters'](_0x45c388);});}}class P extends _0xbda463{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x303a21}=this;_0x303a21['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x303a21['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x303a21['commands']['add']('footnotesStyle',new S(_0x303a21)),_0x303a21['commands']['add']('footnotesStart',new C(_0x303a21)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x26cf41}=this,{schema:_0x194738}=_0x26cf41['model'];_0x194738['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x455296}=this,{conversion:_0x46eaa2,model:_0x52b040}=_0x455296,{schema:_0x1d1c6a}=_0x52b040;_0x46eaa2['for']('upcast')['add'](_0x599bff=>{_0x599bff['on']('element:ol',(_0x2365ae,_0x4b3a23,_0x2df20a)=>{const _0x390ce8=_0x4b3a23['viewItem'],_0x27d907=_0x4b3a23['modelCursor']?.['parent'];_0x390ce8['hasClass']('footnotes-list')&&_0x27d907?.['is']('element','footnotesDefinitions')&&(function(_0xd7dd1,_0x3fa5aa,_0x414d9d,_0x405aef){if(!_0x405aef['checkAttribute'](_0x3fa5aa,'footnotesListStart'))return;let _0xcb92de=0x1;const _0x198687=_0x414d9d['consumable']['consume'](_0xd7dd1,{'attributes':'start'});if(_0x198687){const _0x5c8bb0=Number['parseInt'](_0xd7dd1['getAttribute']('start'),0xa);Number['isNaN'](_0x5c8bb0)||(_0xcb92de=_0x5c8bb0);}!_0x198687&&_0x3fa5aa['hasAttribute']('footnotesListStart')||_0x414d9d['writer']['setAttribute']('footnotesListStart',_0xcb92de,_0x3fa5aa);}(_0x390ce8,_0x27d907,_0x2df20a,_0x1d1c6a),function(_0x2fb234,_0x1db463,_0x5d1d4f,_0x5d8122){if(!_0x5d8122['checkAttribute'](_0x1db463,'footnotesListStyle'))return;let _0x4f1e32='decimal',_0x4b7307=!0x1;if(_0x5d1d4f['consumable']['consume'](_0x2fb234,{'attributes':'type'})){const _0x26b2ad={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2fb234['getAttribute']('type')];_0x26b2ad&&(_0x4f1e32=_0x26b2ad),_0x4b7307=!0x0;}_0x5d1d4f['consumable']['consume'](_0x2fb234,{'styles':'list-style-type'})&&(_0x4f1e32=function(_0x20b233){switch(_0x20b233){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x20b233;}}(_0x2fb234['getStyle']('list-style-type')),_0x4b7307=!0x0),!_0x4b7307&&_0x1db463['hasAttribute']('footnotesListStyle')||_0x5d1d4f['writer']['setAttribute']('footnotesListStyle',_0x4f1e32,_0x1db463);}(_0x390ce8,_0x27d907,_0x2df20a,_0x1d1c6a));});}),_0x46eaa2['for']('downcast')['add'](_0x23b2ea=>{_0x23b2ea['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x368b37,_0x500883,_0x4dc8bf)=>{if(!_0x4dc8bf['consumable']['consume'](_0x500883['item'],_0x368b37['name']))return;const _0x5bb8f1=M(_0x500883['item'],_0x4dc8bf['mapper']),{attributeNewValue:_0x4e5319}=_0x500883;null==_0x4e5319||0x1===_0x4e5319?_0x4dc8bf['writer']['removeAttribute']('start',_0x5bb8f1):_0x4dc8bf['writer']['setAttribute']('start',String(_0x4e5319),_0x5bb8f1);}),_0x23b2ea['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x259d0e,_0x366b4b,_0x5d719c)=>{if(!_0x5d719c['consumable']['consume'](_0x366b4b['item'],_0x259d0e['name']))return;const _0x3d2e48=M(_0x366b4b['item'],_0x5d719c['mapper']),{attributeNewValue:_0x209d4d}=_0x366b4b;_0x209d4d&&'decimal'!==_0x209d4d?_0x5d719c['writer']['setStyle']('list-style-type',_0x209d4d,_0x3d2e48):_0x5d719c['writer']['removeStyle']('list-style-type',_0x3d2e48);});});}['_definePostfixer'](){const {editor:_0x50d2d3}=this,{model:_0x498803}=_0x50d2d3,_0x3b5834=_0x50d2d3['plugins']['get'](f),_0x5af9ff=this['_getDefaultListStyle'](),_0x1efca1=this['_getDefaultStartIndex']();_0x498803['document']['registerPostFixer'](_0x36a5c=>{const _0x27cca0=_0x498803['document']['differ']['getChanges']();let _0x5b9323=!0x1;for(const _0x4a1887 of _0x27cca0){if('insert'!==_0x4a1887['type']||'$text'===_0x4a1887['name'])continue;const _0x180f0f=_0x498803['createRangeOn'](_0x4a1887['position']['nodeAfter']);for(const _0x3d6e51 of _0x180f0f['getItems']())_0x3d6e51['is']('element','footnotesDefinitions')&&(!_0x3d6e51['hasAttribute']('footnotesListStart')&&_0x498803['schema']['checkAttribute'](_0x3d6e51,'footnotesListStart')&&(_0x36a5c['setAttribute']('footnotesListStart',_0x1efca1,_0x3d6e51),_0x5b9323=!0x0),!_0x3d6e51['hasAttribute']('footnotesListStyle')&&_0x498803['schema']['checkAttribute'](_0x3d6e51,'footnotesListStyle')&&(_0x36a5c['setAttribute']('footnotesListStyle',_0x5af9ff,_0x3d6e51),_0x5b9323=!0x0));}return _0x5b9323&&_0x3b5834['_updateFootnotesCounters'](_0x36a5c),_0x5b9323;});}['_defineFormatter'](){const {editor:_0x5a48ed}=this;_0x5a48ed['plugins']['get'](f)['setFootnoteFormatter'](_0x2153a0=>this['_formatFootnoteListValue'](_0x2153a0));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x458681,value:_0x3c463d,digits:_0x5eaf23}){const _0x1c0bce=_0x458681['getAttribute']('footnotesListStyle'),_0x5e62d9=_0x458681['getAttribute']('footnotesListStart'),_0x58626c=Math['floor'](_0x3c463d)+(_0x5e62d9??0x1)-0x1;switch(_0x1c0bce){case'decimal-leading-zero':return function(_0x33755d,_0xeafe15){return String(_0x33755d)['padStart'](_0xeafe15,'0');}(_0x58626c,Math['max'](0x2,_0x5eaf23));case'lower-alpha':case'lower-latin':return N(_0x58626c,!0x1);case'upper-alpha':case'upper-latin':return N(_0x58626c,!0x0);case'lower-roman':return X(_0x58626c,!0x1);case'upper-roman':return X(_0x58626c,!0x0);default:return String(_0x58626c);}}}function M(_0x5befcb,_0x326e3c){const _0x32ecd0=_0x326e3c['toViewElement'](_0x5befcb);return Array['from'](_0x32ecd0['getChildren']())['find'](_0x26d577=>_0x26d577['is']('element','ol')&&_0x26d577['hasClass']('footnotes-list'));}function N(_0x640d5b,_0x7c48b6){let _0x2ac831='',_0x19cd4e=_0x640d5b;for(;_0x19cd4e>0x0;){const _0xa7168b=(_0x19cd4e-0x1)%0x1a;_0x2ac831=String['fromCharCode'](0x61+_0xa7168b)+_0x2ac831,_0x19cd4e=Math['floor']((_0x19cd4e-0x1)/0x1a);}return _0x7c48b6?_0x2ac831['toUpperCase']():_0x2ac831;}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(_0x375bb0,_0x40d5ab){let _0x1c3f19='',_0x474147=_0x375bb0;for(const {value:_0x444612,numeral:_0x3e7e06}of V)for(;_0x474147>=_0x444612;)_0x1c3f19+=_0x3e7e06,_0x474147-=_0x444612;return _0x40d5ab?_0x1c3f19:_0x1c3f19['toLowerCase']();}class J extends _0x3afb27{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x31d3b1();['focusCycler'];constructor(_0xb9e02f,{styleButtonViews:_0x52484e,styleGridAriaLabel:_0x4f16e3}){super(_0xb9e02f),(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'](_0x52484e,_0x4f16e3),[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 _0x46624c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x46624c['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 _0x2bb72e=_0x22f8f3=>_0x22f8f3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2bb72e),this['keystrokes']['set']('arrowleft',_0x2bb72e),this['keystrokes']['set']('arrowup',_0x2bb72e),this['keystrokes']['set']('arrowdown',_0x2bb72e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2c9a1d,_0x3fec60){const _0x2c6166=new _0x3afb27(this['locale']);return _0x2c6166['children']=_0x2c6166['createCollection'](),_0x2c6166['children']['addMany'](_0x2c9a1d),_0x2c6166['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3fec60,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2c6166['children']}),_0x2c6166['children']['delegate']('execute')['to'](this),_0x2c6166['focus']=function(){for(const _0x3cf0dd of this['children'])if(_0x3cf0dd instanceof _0x228e8a&&_0x3cf0dd['isOn'])return void _0x3cf0dd['focus']();this['children']['first']['focus']();},_0x2c6166['focusTracker']=new rt(),_0x2c6166['keystrokes']=new nt(),_0x2c6166['render'](),_0x2c6166['keystrokes']['listenTo'](_0x2c6166['element']),this['children']['add'](_0x2c6166),_0x2c6166;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x392f5b=this['_createStartIndexPropertyView'](),_0x368279=[_0x392f5b],_0x4725fa=new it(this['locale'],_0x368279);return _0x4725fa['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4725fa['buttonView']['bind']('isEnabled')['toMany'](_0x368279,'isEnabled',(..._0x48c666)=>_0x48c666['some'](_0x51bddd=>_0x51bddd)),_0x4725fa['buttonView']['on']('change:isEnabled',(_0x4b90d6,_0x2ce2f5,_0x1f08b3)=>{_0x1f08b3||(_0x4725fa['isCollapsed']=!0x0);}),this['children']['add'](_0x4725fa),[_0x392f5b,_0x4725fa];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2c31e1=new et(this['locale'],ot);return _0x2c31e1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2c31e1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2c31e1['fieldView']['on']('input',()=>{const _0x29cca2=_0x2c31e1['fieldView']['element'],_0x55360d=_0x29cca2['valueAsNumber'];Number['isNaN'](_0x55360d)?_0x2c31e1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x29cca2['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x55360d}):_0x2c31e1['errorText']=t(_0x55360d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2c31e1;}}class j extends _0xbda463{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1a9cc0,_0x3c578e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ae279}=this,{componentFactory:_0x42aa7c}=_0x2ae279['ui'];_0x2ae279['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x42aa7c['add']('footnotesStyle',function(_0x12bd94){return _0x423688=>{const {t:t}=_0x423688,_0x3e0196=_0x12bd94['commands']['get']('footnotesStyle'),_0x30f035=_0x2bbf50(_0x423688),{buttonView:_0x2dd9ec}=_0x30f035;return _0x30f035['class']='ck-footnotes-styles-dropdown',_0x30f035['bind']('isEnabled')['to'](_0x3e0196,'isEnabled'),_0x2dd9ec['set']({'label':t('Footnotes\x20style'),'icon':_0x33a085,'tooltip':!0x0}),_0x30f035['once']('change:isOpen',()=>{const _0x4ecf4b=function({editor:_0x49f25a,dropdownView:_0x2a54ba}){const {t:t}=_0x49f25a['locale'],_0x3b0737=t('Footnotes\x20definitions\x20styles'),_0x585e83=function(_0x49cc1d){const t=_0x49cc1d['locale']['t'],_0x12fa7e=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x427384},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xe96110},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5667cf},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x42d2a1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x30bb87},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xe98f80}];return _0x12fa7e['map'](function(_0x56daf9){const _0x3e68ef=_0x56daf9['locale'];return({label:_0x23e33b,icon:_0x583af1,tooltip:_0x250b4f,style:_0x1fbe57})=>{const _0x489c71=_0x56daf9['commands']['get']('footnotesStyle'),_0x3bd8a2=new _0x228e8a(_0x3e68ef);return _0x3bd8a2['set']({'label':_0x23e33b,'icon':_0x583af1,'tooltip':_0x250b4f}),_0x3bd8a2['bind']('isOn')['to'](_0x489c71,'value',_0x463499=>_0x463499===_0x1fbe57),_0x3bd8a2['bind']('isEnabled')['to'](_0x489c71,'isEnabled'),_0x3bd8a2['on']('execute',()=>{_0x56daf9['execute']('footnotesStyle',{'value':_0x1fbe57}),_0x56daf9['editing']['view']['focus']();}),_0x3bd8a2;};}(_0x49cc1d));}(_0x49f25a),_0x4256a0=new J(_0x49f25a['locale'],{'styleGridAriaLabel':_0x3b0737,'styleButtonViews':_0x585e83}),_0x30ae9b=_0x49f25a['commands']['get']('footnotesStart');return _0x4256a0['startIndexFieldView']['bind']('isEnabled')['to'](_0x30ae9b),_0x4256a0['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x30ae9b),_0x4256a0['on']('footnotesListStart',(_0x26636d,_0x5c4b5f)=>{_0x49f25a['execute']('footnotesStart',{'value':_0x5c4b5f['startIndex']});}),_0x4256a0['delegate']('execute')['to'](_0x2a54ba),_0x4256a0;}({'editor':_0x12bd94,'dropdownView':_0x30f035});_0x30f035['panelView']['children']['add'](_0x4ecf4b);}),_0x30f035;};}(_0x2ae279));}['afterInit'](){const {editor:_0x297ae4}=this,{t:t}=_0x297ae4['locale'],_0x3eb61d=_0x297ae4['plugins']['get'](_0x3c578e),{defaultPositions:_0x377a6c}=_0x2cd6ae;_0x3eb61d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x297ae4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3a9907=>{let _0x1c4b1c=_0x3a9907['getFirstPosition']()?.['parent'];return _0x1c4b1c?.['is']('$text')&&(_0x1c4b1c=_0x1c4b1c['parent']),_0x1c4b1c?.['is']('element')?_0x1c4b1c['findAncestor'](Q):null;},'positions':[_0x377a6c['southArrowNorth'],_0x377a6c['southArrowNorthMiddleWest'],_0x377a6c['southArrowNorthMiddleEast'],_0x377a6c['southArrowNorthWest'],_0x377a6c['southArrowNorthEast'],_0x377a6c['northArrowSouth'],_0x377a6c['northArrowSouthMiddleWest'],_0x377a6c['northArrowSouthMiddleEast'],_0x377a6c['northArrowSouthWest'],_0x377a6c['northArrowSouthEast'],_0x377a6c['viewportStickyNorth']]});}}class ft extends _0xbda463{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':_0x13a6c4=>0x1!=_0x13a6c4}};
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':_0x2fb129=>0x1!=_0x2fb129}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e2e64=>{const {af:{dictionary:_0x19cf82,getPluralForm:_0x433a3d}}={'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':_0x4a826e=>0x1!=_0x4a826e}};_0x5e2e64['af']||={'dictionary':{},'getPluralForm':null},_0x5e2e64['af']['dictionary']=Object['assign'](_0x5e2e64['af']['dictionary'],_0x19cf82),_0x5e2e64['af']['getPluralForm']=_0x433a3d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x566ae5=>{const {af:{dictionary:_0x381d67,getPluralForm:_0x1538d1}}={'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':_0x1fe85e=>0x1!=_0x1fe85e}};_0x566ae5['af']||={'dictionary':{},'getPluralForm':null},_0x566ae5['af']['dictionary']=Object['assign'](_0x566ae5['af']['dictionary'],_0x381d67),_0x566ae5['af']['getPluralForm']=_0x1538d1;})(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':_0x2f5ed4=>0x0==_0x2f5ed4?0x0:0x1==_0x2f5ed4?0x1:0x2==_0x2f5ed4?0x2:_0x2f5ed4%0x64>=0x3&&_0x2f5ed4%0x64<=0xa?0x3:_0x2f5ed4%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':_0x37a0a0=>0x0==_0x37a0a0?0x0:0x1==_0x37a0a0?0x1:0x2==_0x37a0a0?0x2:_0x37a0a0%0x64>=0x3&&_0x37a0a0%0x64<=0xa?0x3:_0x37a0a0%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6bdbd8=>{const {ar:{dictionary:_0x3939fc,getPluralForm:_0x14f48c}}={'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':_0x223ebd=>0x0==_0x223ebd?0x0:0x1==_0x223ebd?0x1:0x2==_0x223ebd?0x2:_0x223ebd%0x64>=0x3&&_0x223ebd%0x64<=0xa?0x3:_0x223ebd%0x64>=0xb?0x4:0x5}};_0x6bdbd8['ar']||={'dictionary':{},'getPluralForm':null},_0x6bdbd8['ar']['dictionary']=Object['assign'](_0x6bdbd8['ar']['dictionary'],_0x3939fc),_0x6bdbd8['ar']['getPluralForm']=_0x14f48c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17805c=>{const {ar:{dictionary:_0x1f865f,getPluralForm:_0x3db604}}={'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':_0x274d5b=>0x0==_0x274d5b?0x0:0x1==_0x274d5b?0x1:0x2==_0x274d5b?0x2:_0x274d5b%0x64>=0x3&&_0x274d5b%0x64<=0xa?0x3:_0x274d5b%0x64>=0xb?0x4:0x5}};_0x17805c['ar']||={'dictionary':{},'getPluralForm':null},_0x17805c['ar']['dictionary']=Object['assign'](_0x17805c['ar']['dictionary'],_0x1f865f),_0x17805c['ar']['getPluralForm']=_0x3db604;})(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':_0xda58b1=>0x1!=_0xda58b1}};
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':_0x4b0a58=>0x1!=_0x4b0a58}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2974c5=>{const {ast:{dictionary:_0x39ee00,getPluralForm:_0x259895}}={'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':_0xf4d0fd=>0x1!=_0xf4d0fd}};_0x2974c5['ast']||={'dictionary':{},'getPluralForm':null},_0x2974c5['ast']['dictionary']=Object['assign'](_0x2974c5['ast']['dictionary'],_0x39ee00),_0x2974c5['ast']['getPluralForm']=_0x259895;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a9db8=>{const {ast:{dictionary:_0x1eff52,getPluralForm:_0x3aca25}}={'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':_0x20054c=>0x1!=_0x20054c}};_0x1a9db8['ast']||={'dictionary':{},'getPluralForm':null},_0x1a9db8['ast']['dictionary']=Object['assign'](_0x1a9db8['ast']['dictionary'],_0x1eff52),_0x1a9db8['ast']['getPluralForm']=_0x3aca25;})(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':_0x52ea29=>0x1!=_0x52ea29}};
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':_0x122eff=>0x1!=_0x122eff}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ee736=>{const {az:{dictionary:_0x1a6793,getPluralForm:_0x245dd9}}={'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':_0x4da60f=>0x1!=_0x4da60f}};_0x2ee736['az']||={'dictionary':{},'getPluralForm':null},_0x2ee736['az']['dictionary']=Object['assign'](_0x2ee736['az']['dictionary'],_0x1a6793),_0x2ee736['az']['getPluralForm']=_0x245dd9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb4bef4=>{const {az:{dictionary:_0x4b956,getPluralForm:_0x4c348d}}={'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':_0x2a6ae8=>0x1!=_0x2a6ae8}};_0xb4bef4['az']||={'dictionary':{},'getPluralForm':null},_0xb4bef4['az']['dictionary']=Object['assign'](_0xb4bef4['az']['dictionary'],_0x4b956),_0xb4bef4['az']['getPluralForm']=_0x4c348d;})(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':_0x1c8247=>_0x1c8247%0xa==0x1&&_0x1c8247%0x64!=0xb?0x0:_0x1c8247%0xa>=0x2&&_0x1c8247%0xa<=0x4&&(_0x1c8247%0x64<0xa||_0x1c8247%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':_0x18e960=>_0x18e960%0xa==0x1&&_0x18e960%0x64!=0xb?0x0:_0x18e960%0xa>=0x2&&_0x18e960%0xa<=0x4&&(_0x18e960%0x64<0xa||_0x18e960%0x64>=0x14)?0x1:0x2}};