@ckeditor/ckeditor5-footnotes 47.4.0 → 47.5.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +10 -10
  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 _0x28ad1a,Command as _0x5958dd}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x405142,isWidget as _0xf54cfb,toWidgetEditable as _0x26e123,WidgetToolbarRepository as _0x46b3ea}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1ab937,logWarning as _0x45e170,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x43b852,ClickObserver as _0xef81ac}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x9bd623}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4770d4,ButtonView as _0x386d83,View as _0x36d4e0,ViewCollection as _0x121f84,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0xdfabb8,BalloonPanelView as _0x3b35f0,createDropdown as _0x297dae}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3c632d,IconListStyleDecimal as _0x45c6ef,IconListStyleDecimalLeadingZero as _0x2fdb02,IconListStyleLowerRoman as _0x2fd9e2,IconListStyleUpperRoman as _0x511099,IconListStyleLowerLatin as _0x45b2e7,IconListStyleUpperLatin as _0x12d59a}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3cde04,_0x170f5e){this['_model']=_0x3cde04,this['_elementName']=_0x170f5e['elementName'],this['_getElementKey']=_0x170f5e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x15b2e0){const _0x3dc075=new Set(),_0x539e02=new Map();for(const _0x3daa50 of _0x15b2e0){if('insert'===_0x3daa50['type']&&'$text'!==_0x3daa50['name']&&_0x3daa50['position']['nodeAfter']){const _0x427016=this['_model']['createRangeOn'](_0x3daa50['position']['nodeAfter']);for(const _0x2d55ac of _0x427016['getItems']()){if(!_0x2d55ac['is']('element',this['_elementName']))continue;const _0x34312a=this['_getElementKey'](_0x2d55ac);_0x539e02['has'](_0x34312a)||_0x539e02['set'](_0x34312a,[]),_0x539e02['get'](_0x34312a)['push'](_0x2d55ac);}}if('remove'===_0x3daa50['type']&&_0x3daa50['name']===this['_elementName']){const _0x34633a=this['_getElementKey']({'getAttribute':_0x318347=>_0x3daa50['attributes']['get'](_0x318347)});_0x3dc075['add'](_0x34633a);}}for(const [_0x2ff0d8,_0x30bf89]of this['_trackedElements'])'$graveyard'===_0x30bf89['root']['rootName']&&_0x3dc075['add'](_0x2ff0d8);for(const _0x5babe5 of _0x3dc075)this['_trackedElements']['delete'](_0x5babe5);for(const [_0x22d388,_0x23822e]of _0x539e02)this['_trackedElements']['set'](_0x22d388,_0x23822e[_0x23822e['length']-0x1]);const _0x1124d9=new Set();for(const [_0x32851d,_0x47b793]of _0x539e02)_0x3dc075['has'](_0x32851d)&&(_0x1124d9['add'](_0x47b793[0x0]),_0x47b793['length']>0x1?_0x539e02['set'](_0x32851d,_0x47b793['slice'](0x1)):_0x539e02['delete'](_0x32851d),_0x3dc075['delete'](_0x32851d));return{'removed':Array['from'](_0x3dc075),'inserted':Array['from'](_0x539e02['values']())['flat'](),'moved':Array['from'](_0x1124d9)};}}class f extends _0x28ad1a{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ed50f){super(_0x2ed50f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x20bb66=>_0x20bb66['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2c2b9f=>_0x2c2b9f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x22a848}=this,{model:_0x44f8cc,data:_0x2f17f9}=_0x22a848;_0x44f8cc['document']['registerPostFixer'](_0x63cfa8=>{const _0x3f2021=_0x44f8cc['document']['differ']['getChanges']();let _0x1b01d3=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x63cfa8,_0x3f2021)&&(_0x1b01d3=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x63cfa8,_0x3f2021)&&(_0x1b01d3=!0x0),this['_handleFootnoteReferencesChanges'](_0x63cfa8,_0x3f2021)&&(_0x1b01d3=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x63cfa8)&&(_0x1b01d3=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x63cfa8)&&(_0x1b01d3=!0x0),this['_sortFootnoteDefinitions'](_0x63cfa8)&&(_0x1b01d3=!0x0),_0x1b01d3;}),this['listenTo'](_0x44f8cc['document'],'change:data',()=>{_0x44f8cc['enqueueChange']({'isUndoable':!0x1},_0x12a011=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x12a011);});},{'priority':'low'}),this['listenTo'](_0x2f17f9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4057ac){return this['_footnotes']['find'](_0x234fbf=>_0x234fbf['id']===_0x4057ac)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5e4a8e){this['_footnoteFormatter']=_0x5e4a8e;}['_updateFootnotesCounters'](_0x1a5d73,_0x46e7ac=0x0){let _0x396d67=!0x1;for(let _0x4cfefa=_0x46e7ac;_0x4cfefa<this['_footnotes']['length'];_0x4cfefa++)this['_updateFootnoteRefCounter'](_0x1a5d73,_0x4cfefa)&&(_0x396d67=!0x0);return _0x396d67;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1351a4,_0x10c5d4){const _0x493107=_0x1351a4['createElement']('footnotesDefinitions',{});return _0x1351a4['append'](_0x493107,_0x10c5d4),this['_footnotesDefinitions']=_0x493107,_0x493107;}['_ensureFootnotesDefinitionsContainerExists'](_0x1bc8da){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x9f1838=this['_footnotes'][0x0]['reference']['root'],_0x102e6d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1bc8da,_0x9f1838);for(const _0x1a16fa of this['_footnotes'])_0x1a16fa['definition']['parent']||_0x1bc8da['insert'](_0x1a16fa['definition'],_0x102e6d,'end');this['_updateFootnotesCounters'](_0x1bc8da);}['_handleFootnotesDefinitionsObjectChanges'](_0x67c91,_0x1a1ea5){let _0x4d29b1=!0x1;const {inserted:_0x3c3570,removed:_0x311f15,moved:_0xbdc6cc}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1a1ea5);if(_0xbdc6cc['length']&&(this['_footnotesDefinitions']=_0xbdc6cc[0x0]),_0x3c3570['length']){if(_0x3c3570['length']>0x1||this['_footnotesDefinitions']&&_0x3c3570['some'](_0x36b037=>_0x36b037!==this['_footnotesDefinitions'])){const _0x445564=_0x67c91['createElement']('footnotesDefinitions',{}),_0x35cf51=[];this['_footnotesDefinitions']&&_0x35cf51['push'](this['_footnotesDefinitions']),_0x35cf51['push'](..._0x3c3570),_0x67c91['insert'](_0x445564,_0x35cf51[0x0],'before');for(const _0x3d8e85 of _0x35cf51)_0x67c91['move'](_0x67c91['createRangeIn'](_0x3d8e85),_0x67c91['createPositionAt'](_0x445564,'end')),_0x67c91['remove'](_0x3d8e85);this['_footnotesDefinitions']=_0x445564,this['_updateFootnotesCounters'](_0x67c91),_0x4d29b1=!0x0;}else this['_footnotesDefinitions']=_0x3c3570[0x0];}if(_0x311f15['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2e0d65 of this['_footnotes'])_0x67c91['remove'](_0x2e0d65['reference']),_0x4d29b1=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4d29b1;}['_handleFootnoteDefinitionsChanges'](_0x17d400,_0x4a76ed){let _0xd752e2=!0x1;const _0x4436d5=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4b9c22,moved:_0x172850}=this['_footnoteDefsTracker']['getChanges'](_0x4a76ed);for(const _0x102a11 of[..._0x172850,..._0x4b9c22]){const _0x3655c9=_0x102a11['getAttribute']('footnoteId'),_0x449bd0=this['getFootnote'](_0x3655c9);_0x449bd0&&(_0x449bd0['definition']=_0x102a11),_(_0x17d400,_0x4436d5,_0x102a11)&&(_0xd752e2=!0x0);}return _0xd752e2;}['_handleFootnoteReferencesChanges'](_0x26b595,_0x2bdda2){let _0xbe4610=!0x1;const {removed:_0x562551,inserted:_0x25940a,moved:_0x36942c}=this['_footnoteRefsTracker']['getChanges'](_0x2bdda2);for(const _0x177dd3 of _0x562551)this['_handleRemoveFootnoteReferenceById'](_0x26b595,_0x177dd3)&&(_0xbe4610=!0x0);for(const _0x299229 of _0x25940a)this['_handleInsertedFootnoteReference'](_0x26b595,_0x299229)&&(_0xbe4610=!0x0);for(const _0x5b2944 of _0x36942c)this['_handleMovedFootnoteReference'](_0x26b595,_0x5b2944)&&(_0xbe4610=!0x0);return _0xbe4610;}['_handleFootnotesDefinitionsObjectSync'](_0x33394c){if(!this['_footnotesDefinitions'])return!0x1;let _0x4a30c6=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5bc239=[];for(const _0x4b5408 of this['_footnotesDefinitions']['getChildren']()){const _0x4fb00f=_0x4b5408['getAttribute']('footnoteId');this['getFootnote'](_0x4fb00f)||(_0x5bc239['unshift'](_0x4b5408),_0x4a30c6=!0x0);}for(const _0xe8a7da of _0x5bc239)_0x33394c['remove'](_0xe8a7da);}const _0x1d1f4f=new Set(),_0x400659=[];for(const _0x201690 of this['_footnotesDefinitions']['getChildren']()){const _0x14984b=_0x201690['getAttribute']('footnoteId');_0x1d1f4f['has'](_0x14984b)?(_0x400659['unshift'](_0x201690),_0x4a30c6=!0x0):_0x1d1f4f['add'](_0x14984b);}for(const _0x585d90 of _0x400659)_0x33394c['remove'](_0x585d90);return this['_footnotesDefinitions']['childCount']||(_0x33394c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4a30c6=!0x0),_0x4a30c6;}['_handleInsertedFootnoteReference'](_0x5b220b,_0x5198d2){if(this['_footnotes']['find'](_0x8a70ac=>_0x8a70ac['reference']===_0x5198d2))return!0x1;let _0x4f1a43=!0x1;const _0x20bb7f=_0x5198d2['getAttribute']('footnoteId'),_0x465914=this['_footnotes']['findIndex'](_0x55a912=>_0x55a912['id']===_0x20bb7f);-0x1!==_0x465914&&(_0x5b220b['remove'](this['_footnotes'][_0x465914]['reference']),this['_footnotes']['splice'](_0x465914,0x1),_0x4f1a43=!0x0);let _0x38163c=this['_footnotesDefinitions']?function(_0x57a29d,_0x5674cb){for(const _0x464196 of _0x57a29d['getChildren']())if(_0x464196['getAttribute']('footnoteId')===_0x5674cb)return _0x464196;return null;}(this['_footnotesDefinitions'],_0x20bb7f):null;_0x38163c||(_0x38163c=_0x5b220b['createElement']('footnoteDefinition',{'footnoteId':_0x20bb7f}),this['_footnotesDefinitions']&&(_0x5b220b['insert'](_0x38163c,this['_footnotesDefinitions'],'end'),_0x4f1a43=!0x0));const _0x54aa43={'id':_0x20bb7f,'reference':_0x5198d2,'definition':_0x38163c},_0x361401=I(this['editor']['model'],this['_footnotes'],_0x5198d2);this['_footnotes']['splice'](_0x361401,0x0,_0x54aa43);let _0x3790bf=_0x361401;return-0x1!==_0x465914&&(_0x3790bf=Math['min'](_0x361401,_0x465914)),this['_updateFootnotesCounters'](_0x5b220b,_0x3790bf)&&(_0x4f1a43=!0x0),_0x4f1a43;}['_handleRemoveFootnoteReferenceById'](_0x342df9,_0x51383a){const _0x35f414=this['_footnotes']['findIndex'](_0x4318a5=>_0x4318a5['id']===_0x51383a);if(-0x1===_0x35f414)return!0x1;let _0x31fc3c=!0x1;const _0x172ab3=this['_footnotes'][_0x35f414];return'$graveyard'!==_0x172ab3['definition']['root']['rootName']&&(_0x342df9['remove'](_0x172ab3['definition']),_0x31fc3c=!0x0),this['_footnotes']['splice'](_0x35f414,0x1),this['_updateFootnotesCounters'](_0x342df9,_0x35f414)&&(_0x31fc3c=!0x0),_0x31fc3c;}['_handleMovedFootnoteReference'](_0x5717de,_0x4743ce){const _0x46a6f5=_0x4743ce['getAttribute']('footnoteId'),_0x1f7db6=this['_footnotes']['findIndex'](_0x400675=>_0x400675['id']===_0x46a6f5),_0x1153fe=this['_footnotes'][_0x1f7db6];let _0x378773=!0x1;_0x1153fe['reference']=_0x4743ce,this['_footnotes']['splice'](_0x1f7db6,0x1);const _0x1cf82a=I(this['editor']['model'],this['_footnotes'],_0x4743ce);return this['_footnotes']['splice'](_0x1cf82a,0x0,_0x1153fe),this['_updateFootnotesCounters'](_0x5717de,Math['min'](_0x1f7db6,_0x1cf82a))&&(_0x378773=!0x0),_0x378773;}['_updateFootnoteRefCounter'](_0x6d68e0,_0x4eeec5){if(!this['_footnotesDefinitions'])return!0x1;const _0x4807ec=this['_footnotes'][_0x4eeec5];let _0x301068;return _0x301068=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4807ec,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4eeec5+0x1}):String(_0x4eeec5+0x1),_0x4807ec['reference']['getAttribute']('footnoteCounter')!=_0x301068&&(_0x6d68e0['setAttribute']('footnoteCounter',_0x301068,_0x4807ec['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4aa10d){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x297bb4,_0x4cc2e5){if(_0x297bb4['length']!==_0x4cc2e5['length'])return!0x1;for(let _0x2b60dd=0x0;_0x2b60dd<_0x297bb4['length'];_0x2b60dd++)if(_0x297bb4[_0x2b60dd]!==_0x4cc2e5[_0x2b60dd])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x384b6b=>_0x384b6b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2c5107=>_0x2c5107['getAttribute']('footnoteId'))))return!0x1;let _0x5b55f6=!0x1;for(let _0x15ac8c=0x0;_0x15ac8c<this['_footnotes']['length'];_0x15ac8c++){const _0x3d95a6=this['_footnotes'][_0x15ac8c],_0x2f74f2=_0x4aa10d['createPositionBefore'](_0x3d95a6['definition']),_0x217691=_0x4aa10d['createPositionAt'](this['_footnotesDefinitions'],_0x15ac8c);_0x2f74f2['isEqual'](_0x217691)||(_0x4aa10d['move'](_0x4aa10d['createRangeOn'](_0x3d95a6['definition']),_0x217691),_0x5b55f6=!0x0);}return _0x5b55f6;}['_ensureFootnotesReferencesHaveProperOrder'](_0x189a37){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2d6f6e}=this['editor'];let _0x244115=!0x1;for(let _0x214924=0x0;_0x214924<this['_footnotes']['length']-0x1;_0x214924++){const _0x208879=this['_footnotes'][_0x214924],_0x561c7c=this['_footnotes'][_0x214924+0x1],_0x4bf9f9=_0x2d6f6e['createPositionBefore'](_0x208879['reference']),_0x4235f8=_0x2d6f6e['createPositionBefore'](_0x561c7c['reference']);'after'===_0x4bf9f9['compareWith'](_0x4235f8)&&(this['_handleMovedFootnoteReference'](_0x189a37,_0x208879['reference']),_0x214924=-0x1,_0x244115=!0x0);}return _0x244115;}}function _(_0x26f5fb,_0x547ded,_0x50c12e){if(_0x50c12e['childCount'])return!0x1;const _0x5e40ee=_0x547ded?'paragraph':'footnoteInlineContent';return _0x26f5fb['insert'](_0x26f5fb['createElement'](_0x5e40ee),_0x50c12e),!0x0;}function I(_0x32e346,_0xfa9e21,_0x5b7419){if(0x0===_0xfa9e21['length'])return 0x0;const _0x8ffc9f=_0x32e346['createPositionBefore'](_0x5b7419);for(let _0xaf7995=0x0;_0xaf7995<_0xfa9e21['length'];_0xaf7995++){const _0x516855=_0xfa9e21[_0xaf7995],_0x177fe4=_0x32e346['createPositionBefore'](_0x516855['reference']);if('before'===_0x8ffc9f['compareWith'](_0x177fe4))return _0xaf7995;}const _0x11376a=_0x5b7419['root'];let _0xc055a7=-0x1;for(let _0x573549=_0xfa9e21['length']-0x1;_0x573549>=0x0;_0x573549--)if(_0xfa9e21[_0x573549]['reference']['root']===_0x11376a){_0xc055a7=_0x573549;break;}if(-0x1!==_0xc055a7)return _0xc055a7+0x1;const _0x42681c=_0x32e346['document']['getRootNames'](),_0xa19060=_0x42681c['indexOf'](_0x11376a['rootName']),_0x235691=_0x42681c[_0xa19060+0x1];if(_0x235691){for(let _0x300093=0x0;_0x300093<_0xfa9e21['length'];_0x300093++)if(_0xfa9e21[_0x300093]['reference']['root']['rootName']===_0x235691)return _0x300093;}return _0xfa9e21['length'];}class h extends _0x5958dd{['refresh'](){const _0xa2f7e2=this['editor']['model']['document']['selection'],_0x57873b=this['_getPositionToInsertFootnote'](_0xa2f7e2);this['isEnabled']=!!_0x57873b;}['execute'](_0x33b9ef){const {editor:_0x4a71cd}=this,{model:_0x1a51c7}=_0x4a71cd,{selection:_0x40e9d9}=_0x1a51c7['document'],_0x5dcb94=this['_getPositionToInsertFootnote'](_0x40e9d9);if(!_0x5dcb94)return;const _0x1d9d08=_0x4a71cd['plugins']['get']('FootnotesEditing'),_0x415aad=_0x33b9ef?.['footnoteId']??_0x1ab937();!function(_0x3aebc9){return'string'==typeof _0x3aebc9&&_0x3aebc9['length']>0x0&&!/\s/['test'](_0x3aebc9)&&!/^\d/['test'](_0x3aebc9);}(_0x415aad)?_0x45e170('insert-footnote-command-executed-with-invalid-id'):(_0x1a51c7['change'](_0x3f35fd=>{const _0x4ef75e=_0x3f35fd['createElement']('footnoteRef',{'footnoteId':_0x415aad});_0x1a51c7['insertObject'](_0x4ef75e,_0x5dcb94,null);}),_0x1d9d08['_moveSelectionToFootnoteDefinition'](_0x415aad));}['_getPositionToInsertFootnote'](_0x5e6835){const {model:_0x443f2a}=this['editor'],{schema:_0x1a4252}=_0x443f2a,_0x5aa1b0=_0x5e6835['getFirstRange']();for(const _0x4fcd53 of _0x5aa1b0['getItems']())if(_0x1a4252['isBlock'](_0x4fcd53)||_0x1a4252['isObject'](_0x4fcd53))return null;const _0x45004f=_0x5aa1b0['end'];return _0x1a4252['checkChild'](_0x45004f,'footnoteRef')?_0x45004f:null;}}class r extends _0x28ad1a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31f1af}=this;_0x31f1af['config']['define']('footnotes.multiBlock',!0x0),_0x31f1af['commands']['add']('insertFootnote',new h(_0x31f1af)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3720ec){const _0x219d10=_0xe0ebb6([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]),_0x46dd1f=0x47a28506,_0x1b7a6d=0x47a5fbce^_0x46dd1f,_0x14330c=window[_0xe0ebb6([0x44,0x61,0x74,0x65])][_0xe0ebb6([0x6e,0x6f,0x77])](),_0x2f1fa7=_0x3720ec[_0xe0ebb6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x347f70=new window[(_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe6f244=>{_0x2f1fa7[_0xe0ebb6([0x6f,0x6e,0x63,0x65])](_0xe0ebb6([0x72,0x65,0x61,0x64,0x79]),_0xe6f244);}),_0x2bc2a2={[_0xe0ebb6([0x6b,0x74,0x79])]:_0xe0ebb6([0x45,0x43]),[_0xe0ebb6([0x75,0x73,0x65])]:_0xe0ebb6([0x73,0x69,0x67]),[_0xe0ebb6([0x63,0x72,0x76])]:_0xe0ebb6([0x50,0x2d,0x32,0x35,0x36]),[_0xe0ebb6([0x78])]:_0xe0ebb6([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]),[_0xe0ebb6([0x79])]:_0xe0ebb6([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]),[_0xe0ebb6([0x61,0x6c,0x67])]:_0xe0ebb6([0x45,0x53,0x32,0x35,0x36])},_0x553e95=_0x2f1fa7[_0xe0ebb6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe0ebb6([0x67,0x65,0x74])](_0xe0ebb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe20372(){let _0x161bdf,_0x497b83=null,_0x43a7f4=null;try{if(_0x553e95==_0xe0ebb6([0x47,0x50,0x4c]))return _0xe0ebb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x161bdf=_0x49c3d9(),!_0x161bdf)return _0xe0ebb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x161bdf[_0xe0ebb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43a7f4=_0x4f299f(_0x161bdf[_0xe0ebb6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x161bdf[_0xe0ebb6([0x6a,0x74,0x69])])),await _0x5aa891()?_0x2361cd()?_0x5593f7()?_0xe0ebb6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x710867()?(_0x161bdf[_0xe0ebb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe0ebb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x497b83=_0x12bf4b(_0xe0ebb6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31af84()):_0xe0ebb6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe0ebb6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe0ebb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe0ebb6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5593f7(){const _0x1b1267=[_0xe0ebb6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe0ebb6([0x74,0x72,0x69,0x61,0x6c])][_0xe0ebb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x161bdf[_0xe0ebb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14330c/0x3e8:0xe10*_0x1b7a6d;return _0x161bdf[_0xe0ebb6([0x65,0x78,0x70])]<_0x1b1267;}function _0x2361cd(){const _0x274213=_0x161bdf[_0xe0ebb6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x274213&&(!!_0x274213[_0xe0ebb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe0ebb6([0x2a]))||!!_0x274213[_0xe0ebb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe0ebb6([0x46,0x4f,0x4f])));}function _0x710867(){const _0x2898c8=_0x161bdf[_0xe0ebb6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2898c8||0x0==_0x2898c8[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15fb2d}=new URL(window[_0xe0ebb6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2898c8[_0xe0ebb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15fb2d))return!0x0;const _0x574fc6=_0x15fb2d[_0xe0ebb6([0x73,0x70,0x6c,0x69,0x74])](_0xe0ebb6([0x2e]));return _0x2898c8[_0xe0ebb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb39dbf=>_0xb39dbf[_0xe0ebb6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe0ebb6([0x2a])))[_0xe0ebb6([0x6d,0x61,0x70])](_0x4d7bd2=>_0x4d7bd2[_0xe0ebb6([0x73,0x70,0x6c,0x69,0x74])](_0xe0ebb6([0x2e])))[_0xe0ebb6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fabc2=>_0x4fabc2[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x574fc6[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe0ebb6([0x6d,0x61,0x70])](_0x4f8a88=>Array(_0x574fc6[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f8a88[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe0ebb6([0x66,0x69,0x6c,0x6c])](_0x4f8a88[0x0]===_0xe0ebb6([0x2a])?_0xe0ebb6([0x2a]):'')[_0xe0ebb6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f8a88))[_0xe0ebb6([0x73,0x6f,0x6d,0x65])](_0x1270ff=>_0x574fc6[_0xe0ebb6([0x65,0x76,0x65,0x72,0x79])]((_0x60ad94,_0xa02373)=>_0x1270ff[_0xa02373]===_0x60ad94||_0x1270ff[_0xa02373]===_0xe0ebb6([0x2a])));}function _0x31af84(){return _0x497b83&&_0x43a7f4?new window[(_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15694c,_0x170103)=>{_0x497b83[_0xe0ebb6([0x74,0x68,0x65,0x6e])](_0x15694c,_0x170103),_0x43a7f4[_0xe0ebb6([0x74,0x68,0x65,0x6e])](_0x295b1b=>{_0x295b1b!=_0xe0ebb6([0x56,0x61,0x6c,0x69,0x64])&&_0x15694c(_0x295b1b);},_0x170103);}):_0x497b83||_0x43a7f4||_0xe0ebb6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f299f(_0x480db7,_0x1a7f98){return new window[(_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36c693=>{if(_0x206b35())return _0x36c693(_0xe0ebb6([0x56,0x61,0x6c,0x69,0x64]));_0xc2747c(),_0x2f1fa7[_0xe0ebb6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe0ebb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x356087=!0x1;const _0x45820a=_0x1ab937();function _0x232ae8(_0x34ce34){return!!_0x34ce34&&(typeof _0x34ce34===_0xe0ebb6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34ce34===_0xe0ebb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34ce34[_0xe0ebb6([0x74,0x68,0x65,0x6e])]===_0xe0ebb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34ce34[_0xe0ebb6([0x63,0x61,0x74,0x63,0x68])]===_0xe0ebb6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xab29a2(_0x4dd6ad){_0x568743(_0x4dd6ad)[_0xe0ebb6([0x74,0x68,0x65,0x6e])](_0x41b75f=>{if(!_0x41b75f||_0x41b75f[_0xe0ebb6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe0ebb6([0x6f,0x6b]))return _0xe0ebb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5730ce(_0x2b6c5b(_0x45820a+_0x1a7f98))!=_0x41b75f[_0xe0ebb6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe0ebb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe0ebb6([0x56,0x61,0x6c,0x69,0x64]);})[_0xe0ebb6([0x74,0x68,0x65,0x6e])](_0x4b5188=>(_0x5e70bd(),_0x4b5188),()=>{const _0x5bbdd1=_0x447db9();return null==_0x5bbdd1?(_0x5e70bd(),_0xe0ebb6([0x56,0x61,0x6c,0x69,0x64])):_0xe0ebb6(_0x14330c-_0x5bbdd1>(0x63ae0106^_0x46dd1f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe0ebb6([0x74,0x68,0x65,0x6e])](_0x36c693)[_0xe0ebb6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x36c693(_0xe0ebb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59840c=0x47946b86^_0x46dd1f;function _0x5e70bd(){const _0x4c01da=_0xe0ebb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5730ce(_0x2b6c5b(_0x480db7)),_0x5bba4d=_0x504ef9(_0x5730ce(window[_0xe0ebb6([0x4d,0x61,0x74,0x68])][_0xe0ebb6([0x63,0x65,0x69,0x6c])](_0x14330c/_0x59840c)));window[_0xe0ebb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe0ebb6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c01da,_0x5bba4d);}function _0x447db9(){const _0x513973=_0xe0ebb6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5730ce(_0x2b6c5b(_0x480db7)),_0x38fdf4=window[_0xe0ebb6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe0ebb6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x513973);return _0x38fdf4?window[_0xe0ebb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x504ef9(_0x38fdf4),0x10)*_0x59840c:null;}function _0x568743(_0x24a68e){return new window[(_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15ad6c,_0x64a213)=>{_0x24a68e[_0xe0ebb6([0x74,0x68,0x65,0x6e])](_0x15ad6c,_0x64a213),window[_0xe0ebb6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x64a213,0x47a351c6^_0x46dd1f);});}}_0x2f1fa7[_0xe0ebb6([0x6f,0x6e])](_0xe0ebb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xeaa13a,_0x579df4)=>{if(_0x579df4[0x0]!=_0x480db7)return _0x36c693(_0xe0ebb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x579df4[0x1]={..._0x579df4[0x1],[_0xe0ebb6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45820a};},{[_0xe0ebb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe0ebb6([0x68,0x69,0x67,0x68])}),_0x2f1fa7[_0xe0ebb6([0x6f,0x6e])](_0xe0ebb6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbbab21=>{_0x232ae8(_0xbbab21[_0xe0ebb6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x356087=!0x0,_0xab29a2(_0xbbab21[_0xe0ebb6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe0ebb6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe0ebb6([0x6c,0x6f,0x77])}),_0x347f70[_0xe0ebb6([0x74,0x68,0x65,0x6e])](()=>{_0x356087||_0x36c693(_0xe0ebb6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x206b35(){return _0x2f1fa7[_0xe0ebb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe0ebb6([0x76,0x69,0x65,0x77])][_0xe0ebb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe0ebb6([0x61,0x75,0x74,0x6f]);}function _0xc2747c(){_0x2f1fa7[_0xe0ebb6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe0ebb6([0x76,0x69,0x65,0x77])][_0xe0ebb6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe0ebb6([0x61,0x75,0x74,0x6f]);}}function _0x12bf4b(_0x29c13e){const _0x5eddfb=[new window[(_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x572de0=>setTimeout(_0x572de0,0x47abbbca^_0x46dd1f)),_0x347f70[_0xe0ebb6([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e7324=>{let _0x343599=0x0;_0x2f1fa7[_0xe0ebb6([0x6d,0x6f,0x64,0x65,0x6c])][_0xe0ebb6([0x6f,0x6e])](_0xe0ebb6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49db1c,_0x15fc65)=>{_0x15fc65[0x0][_0xe0ebb6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x343599++,_0x343599==(0x47a280ee^_0x46dd1f)&&(_0x3e7324(),_0x49db1c[_0xe0ebb6([0x6f,0x66,0x66])]());});}))];return window[_0xe0ebb6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe0ebb6([0x72,0x61,0x63,0x65])](_0x5eddfb)[_0xe0ebb6([0x74,0x68,0x65,0x6e])](()=>_0x29c13e);}async function _0x522eb7(){await _0x347f70,_0x2f1fa7[_0xe0ebb6([0x6d,0x6f,0x64,0x65,0x6c])][_0xe0ebb6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xda0562,_0x2f1fa7[_0xe0ebb6([0x6d,0x6f,0x64,0x65,0x6c])][_0xe0ebb6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xda0562,_0x2f1fa7[_0xe0ebb6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe0ebb6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1219c4(_0x20ca78){const _0x505fe6=_0x5bf642();_0x2f1fa7[_0x505fe6]=_0xe0ebb6([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20ca78,_0x20ca78!=_0xe0ebb6([0x56,0x61,0x6c,0x69,0x64])&&_0x522eb7();}function _0x5bf642(){const _0x5c9f32=window[_0xe0ebb6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe0ebb6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe0ebb6([0x6e,0x6f,0x77])]())[_0xe0ebb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe0ebb6([0x2e]),'');let _0x539193=_0xe0ebb6([0x75]);for(let _0x9803ec=0x0;_0x9803ec<_0x5c9f32[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9803ec+=0x2){let _0x2d3fea=window[_0xe0ebb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c9f32[_0xe0ebb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9803ec,_0x9803ec+0x2));_0x2d3fea>=_0x219d10[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d3fea-=_0x219d10[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x539193+=_0x219d10[_0x2d3fea];}return _0x539193;}function _0x49c3d9(){const _0x5b85b6=_0x553e95[_0xe0ebb6([0x73,0x70,0x6c,0x69,0x74])](_0xe0ebb6([0x2e]));if(0x3!=_0x5b85b6[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c5663(_0x5b85b6[0x1]);function _0x3c5663(_0x38371d){const _0x391958=_0xdcd297(_0x38371d);return _0x391958&&_0x6fa3a5()?_0x391958:null;function _0x6fa3a5(){const _0x1b6355=_0x391958[_0xe0ebb6([0x6a,0x74,0x69])],_0x416b0b=window[_0xe0ebb6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b6355[_0xe0ebb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b6355[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d0c8d={..._0x391958,[_0xe0ebb6([0x6a,0x74,0x69])]:_0x1b6355[_0xe0ebb6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b6355[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d0c8d[_0xe0ebb6([0x76,0x63])],_0x2b6c5b(_0x4d0c8d)==_0x416b0b;}}}async function _0x5aa891(){let _0x46e5d3=!0x0;try{const _0x3fae45=_0x553e95[_0xe0ebb6([0x73,0x70,0x6c,0x69,0x74])](_0xe0ebb6([0x2e])),[_0x160bb5,_0x1ab6b8,_0xcce21f]=_0x3fae45;return _0x20b851(_0x160bb5),await _0x4a70ae(_0x160bb5,_0x1ab6b8,_0xcce21f),_0x46e5d3;}catch{return!0x1;}function _0x20b851(_0x563aea){const _0x3a2a0d=_0xdcd297(_0x563aea);_0x3a2a0d&&_0x3a2a0d[_0xe0ebb6([0x61,0x6c,0x67])]==_0xe0ebb6([0x45,0x53,0x32,0x35,0x36])||(_0x46e5d3=!0x1);}async function _0x4a70ae(_0x1af075,_0x4ff14c,_0x4667e7){const _0x1c4135=window[_0xe0ebb6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe0ebb6([0x66,0x72,0x6f,0x6d])](_0x2364f4(_0x4667e7),_0xf53afe=>_0xf53afe[_0xe0ebb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d19da=new window[(_0xe0ebb6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe0ebb6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1af075+_0xe0ebb6([0x2e])+_0x4ff14c),_0x597d7f=window[_0xe0ebb6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe0ebb6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x597d7f)return;const _0x32b5fa=await _0x597d7f[_0xe0ebb6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe0ebb6([0x6a,0x77,0x6b]),_0x2bc2a2,{[_0xe0ebb6([0x6e,0x61,0x6d,0x65])]:_0xe0ebb6([0x45,0x43,0x44,0x53,0x41]),[_0xe0ebb6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe0ebb6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe0ebb6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x597d7f[_0xe0ebb6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe0ebb6([0x6e,0x61,0x6d,0x65])]:_0xe0ebb6([0x45,0x43,0x44,0x53,0x41]),[_0xe0ebb6([0x68,0x61,0x73,0x68])]:{[_0xe0ebb6([0x6e,0x61,0x6d,0x65])]:_0xe0ebb6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32b5fa,_0x1c4135,_0x2d19da)||(_0x46e5d3=!0x1);}}function _0xdcd297(_0x206a7f){return _0x206a7f[_0xe0ebb6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe0ebb6([0x65,0x79]))?JSON[_0xe0ebb6([0x70,0x61,0x72,0x73,0x65])](_0x2364f4(_0x206a7f)):null;}function _0x2364f4(_0x33fda0){return window[_0xe0ebb6([0x61,0x74,0x6f,0x62])](_0x33fda0[_0xe0ebb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe0ebb6([0x2b]))[_0xe0ebb6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe0ebb6([0x2f])));}function _0x2b6c5b(_0x6c9649){let _0x3777dd=0x1505;function _0x38b12b(_0xa9a202){for(let _0x107593=0x0;_0x107593<_0xa9a202[_0xe0ebb6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x107593++){const _0x4a1256=_0xa9a202[_0xe0ebb6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x107593);_0x3777dd=(_0x3777dd<<0x5)+_0x3777dd+_0x4a1256,_0x3777dd&=_0x3777dd;}}function _0x5f0ff1(_0x10216e){Array[_0xe0ebb6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10216e)?_0x10216e[_0xe0ebb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f0ff1):_0x10216e&&typeof _0x10216e==_0xe0ebb6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe0ebb6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10216e)[_0xe0ebb6([0x73,0x6f,0x72,0x74])]()[_0xe0ebb6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ef582,_0x8cd6c7])=>{_0x38b12b(_0x5ef582),_0x5f0ff1(_0x8cd6c7);}):_0x38b12b(window[_0xe0ebb6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10216e));}return _0x5f0ff1(_0x6c9649),_0x3777dd>>>0x0;}function _0x5730ce(_0x265a87){return _0x265a87[_0xe0ebb6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe0ebb6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe0ebb6([0x30]));}function _0x504ef9(_0x59062d){return _0x59062d[_0xe0ebb6([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe0ebb6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe0ebb6([0x6a,0x6f,0x69,0x6e])]('');}function _0xda0562(){}function _0xe0ebb6(_0x1d58c8){return _0x1d58c8['map'](_0xad237e=>String['fromCharCode'](_0xad237e))['join']('');}_0x1219c4(await _0xe20372());}(this);}['_moveSelectionToFootnoteDefinition'](_0x53ed46){const {plugins:_0x963b9,editing:_0x15accf,model:_0x2fe0b4}=this['editor'],_0x3b6d70=_0x963b9['get'](f)['getFootnote'](_0x53ed46);return!!_0x3b6d70&&(_0x2fe0b4['change'](_0x4ae48a=>{_0x4ae48a['setSelection'](_0x4ae48a['createPositionAt'](_0x3b6d70['definition'],'end'));}),_0x15accf['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x276b77){const {plugins:_0x17db92,editing:_0x6b99c8,model:_0x835613}=this['editor'],_0x98290=_0x17db92['get'](f)['getFootnote'](_0x276b77);return!!_0x98290&&(_0x835613['change'](_0x5a845b=>{_0x5a845b['setSelection'](_0x98290['reference'],'on');}),_0x6b99c8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1fb0b8}=this['editor']['model'],_0x228f81=this['editor']['config']['get']('footnotes.multiBlock');_0x1fb0b8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1fb0b8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1fb0b8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x228f81?_0x1fb0b8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1fb0b8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1fb0b8['addChildCheck'](_0x3da2f0=>{for(const _0x4074c0 of _0x3da2f0)if('footnoteDefinition'===_0x4074c0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2c2495}=this,{conversion:_0xca0be,editing:_0x3287c7}=_0x2c2495,{t:t}=_0x2c2495['locale'];_0xca0be['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xcb1658,{writer:_0x2107fa,consumable:_0x24df64})=>{const _0x1efe2a=_0xcb1658['getChild'](0x0);if(!_0x1efe2a||!_0x1efe2a['is']('element','a'))return null;const _0x2a6519=_0x1efe2a['getAttribute']('href')||'';if(!_0x2a6519['startsWith']('#'))return null;const _0x2b20bd=_0x2a6519['replace'](/^#/,'');if(!_0x2b20bd)return null;_0x24df64['consume'](_0x1efe2a,{'name':!0x0,'attributes':['href']});for(const {item:_0x18f35d}of _0x3287c7['view']['createRangeIn'](_0x1efe2a))_0x18f35d['is']('$textProxy')?_0x24df64['consume'](_0x18f35d['textNode'],{'name':!0x0}):_0x18f35d['is']('element')&&_0x24df64['consume'](_0x18f35d,{'name':!0x0});return _0x2107fa['createElement']('footnoteRef',{'footnoteId':_0x2b20bd});}}),_0xca0be['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3c06cc,{writer:_0x2fe39e})=>b(_0x3c06cc,_0x2fe39e)}),_0xca0be['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x551a17,{writer:_0x1f5ada})=>{const _0x453a50=_0x551a17['getAttribute']('footnoteCounter');return _0x405142(b(_0x551a17,_0x1f5ada),_0x1f5ada,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x453a50)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5efc36}=this,{t:t}=_0x5efc36['locale'],{conversion:_0x8c10de}=_0x5efc36;_0x8c10de['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x8c10de['for']('upcast')['add'](_0x127ce8=>{_0x127ce8['on']('element:ol',(_0xdc4420,_0x334128,_0x1c4ef8)=>{const _0x5368ee=_0x334128['viewItem'];if(!_0x5368ee['hasClass']('footnotes-list')||!_0x334128['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1c4ef8['consumable']['consume'](_0x5368ee,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1bf772,modelCursor:_0x5a37cb}=_0x1c4ef8['convertChildren'](_0x334128['viewItem'],_0x334128['modelCursor']);_0x334128['modelRange']=_0x1bf772,_0x334128['modelCursor']=_0x5a37cb;}),_0x127ce8['on']('element:hr',(_0x185edf,_0x379e74,_0x56b97f)=>{const _0x54155d=_0x379e74['viewItem'];_0x54155d['hasClass']('footnotes-divider')&&_0x379e74['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x56b97f['consumable']['consume'](_0x54155d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x8c10de['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x144f4c,{writer:_0x5353bb})=>D(_0x5353bb)}),_0x8c10de['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1a6773,{writer:_0x5c9729})=>{const _0x28cb2f=D(_0x5c9729,{'data-footnotes-list-label':t('Footnotes')}),_0x23d529=_0x405142(_0x28cb2f,_0x5c9729,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5c9729['setCustomProperty']('footnotesDefinitions',!0x0,_0x23d529),_0x23d529;}});}['_defineDefinitionConverters'](){const {editor:_0xe95795}=this,{conversion:_0x2afb3d,locale:_0x446b9c}=_0xe95795,_0x1d06c0=_0xe95795['config']['get']('footnotes.multiBlock');_0x2afb3d['for']('upcast')['add'](_0x46beb1=>{_0x46beb1['on']('element:li',(_0x4f2b02,_0x24df7a,_0x1e9aa7)=>{const _0x20b854=_0x24df7a['viewItem'];if(!_0x20b854['hasClass']('footnote-definition')||!_0x20b854['getAttribute']('id'))return;const _0xbfe084=_0x20b854['parent'];if(!_0xbfe084['is']('element','ol')||!_0xbfe084['hasClass']('footnotes-list'))return;if(!_0x1e9aa7['consumable']['test'](_0x20b854,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x284e41=_0x1e9aa7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x20b854['getAttribute']('id')});if(!_0x1e9aa7['safeInsert'](_0x284e41,_0x24df7a['modelCursor']))return;_0x1e9aa7['consumable']['consume'](_0x20b854,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x126177=Array['from'](_0x20b854['getChildren']())['find'](_0x10600b=>_0x10600b['is']('element')&&_0x10600b['hasClass']('footnote-content'));for(const _0x4a43f5 of _0x20b854['getChildren']())_0x4a43f5['is']('element')&&(_0x1e9aa7['consumable']['consume'](_0x4a43f5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1e9aa7['consumable']['consume'](_0x4a43f5,{'name':!0x0,'classes':'footnote-content'}));if(_0x126177){if(_0x1d06c0)_0x1e9aa7['convertChildren'](_0x126177,_0x284e41);else{const _0x5762da=_0x1e9aa7['writer']['createElement']('footnoteInlineContent');_0x1e9aa7['writer']['insert'](_0x5762da,_0x284e41),_0x1e9aa7['convertChildren'](_0x126177,_0x5762da);}}_0x1e9aa7['updateConversionResult'](_0x284e41,_0x24df7a);});}),_0x2afb3d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4ae993,{writer:_0x5cb251})=>y(_0x4ae993,_0x5cb251,_0x446b9c,{'dataPipeline':!0x0})}),_0x2afb3d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f0090,{writer:_0x20eb0a})=>y(_0x2f0090,_0x20eb0a,_0x446b9c)});}['_defineBogusParagraphConverters'](){const {editor:_0x422130}=this,{conversion:_0x1f9d48}=_0x422130;_0x422130['config']['get']('footnotes.multiBlock')?(_0x1f9d48['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1f9d48['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x422130['model']['document'],'change:data',()=>{!function(_0x3c9bda,_0x15009c){const _0x13c71b=_0x3c9bda['document']['differ'],_0x46e813=new Set();for(const _0x1177a1 of _0x13c71b['getChanges']()){const _0x12a9fc='attribute'==_0x1177a1['type']?_0x1177a1['range']['start']['parent']:_0x1177a1['position']['parent'];_0x12a9fc['is']('element','footnoteDefinition')&&_0x46e813['add'](_0x12a9fc);}for(const _0x599ce8 of _0x46e813['values']()){const _0x4f1d5c=Array['from'](_0x599ce8['getChildren']())['filter'](_0x18123e=>v(_0x18123e,_0x15009c['mapper']));for(const _0x30b71c of _0x4f1d5c)_0x15009c['reconvertItem'](_0x30b71c);}}(_0x422130['model'],_0x422130['editing']);})):(_0x1f9d48['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1f9d48['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2d3388,{writer:_0x8de8e2})=>{const _0x5781da=_0x8de8e2['createContainerElement']('span');return _0x8de8e2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5781da),_0x5781da;}}));}['_defineKeyboardHandlers'](){const {editor:_0x50c849}=this,{editing:_0x3f8b2b,t:t}=_0x50c849,_0xfd7bd8=_0x50c849['model']['document']['selection'];_0x50c849['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x50c849['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3f8b2b['view']['document'],'enter',(_0x3f2d55,_0x36a018)=>{const _0x49f464=function(_0x1fb7c2){const _0x5f5488=_0x1fb7c2['getSelectedElement']();if(_0x5f5488?.['is']('element','footnoteRef'))return _0x5f5488;return null;}(_0xfd7bd8);if(_0x49f464){const _0x3ea80f=_0x49f464['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3ea80f),_0x36a018['preventDefault'](),_0x3f2d55['stop']();}},{'context':_0xf54cfb});}['_defineClickHandlers'](){const {editor:_0x47a930}=this,{editing:_0x17280b}=_0x47a930;_0x47a930['editing']['view']['addObserver'](_0x43b852),_0x47a930['editing']['view']['addObserver'](_0xef81ac);let _0x46996d=!0x1;this['listenTo'](_0x17280b['view']['document'],'pointerdown',(_0x2feb2f,_0xaa3967)=>{const {target:_0xd3495f}=_0xaa3967,_0x458a0d=_0x17280b['view']['document']['selection'];_0x46996d=!!(_0xd3495f?.['is']('element','a')&&_0xd3495f['parent']?.['is']('element','sup')&&_0xd3495f['parent']['hasClass']('footnote'))&&_0x458a0d['getSelectedElement']()===_0xd3495f['parent'];},{'priority':'high'}),this['listenTo'](_0x17280b['view']['document'],'click',(_0x339847,_0x5bb4c2)=>{const {target:_0x41ec74}=_0x5bb4c2;if(!_0x41ec74?.['is']('element','a'))return;if(_0x41ec74['parent']?.['is']('element','sup')&&_0x41ec74['parent']['hasClass']('footnote')&&!_0x46996d)return void _0x5bb4c2['preventDefault']();let _0x395181=_0x41ec74['getAttribute']('href');if(!_0x395181?.['startsWith']('#'))return;_0x395181=_0x395181['slice'](0x1);let _0x1b3180=!0x1;(_0x395181['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x395181['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x395181))&&(_0x1b3180=!0x0),_0x1b3180&&(_0x5bb4c2['preventDefault'](),_0x339847['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x126e80}={}){return(_0x4f6760,{writer:_0x269eb2})=>{if(!g(_0x4f6760))return null;if(!_0x126e80)return _0x269eb2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x58d1e0=_0x269eb2['createContainerElement']('p');return _0x269eb2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x58d1e0),_0x58d1e0;};}function g(_0x3ddb40){const {parent:_0x18c1e3}=_0x3ddb40;if(!_0x18c1e3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x18c1e3['childCount'])return!0x1;for(const _0x33206d of _0x3ddb40['getAttributeKeys']())if(!_0x33206d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x33206d)return!0x1;return!0x0;}function v(_0x1ba55d,_0x4b4ca4){if(!_0x1ba55d['is']('element','paragraph'))return!0x1;const _0x5cd640=_0x4b4ca4['toViewElement'](_0x1ba55d);return!!_0x5cd640&&g(_0x1ba55d)!==_0x5cd640['is']('element','span');}function H(_0x45ef1b){return _0xf54cfb(_0x45ef1b)&&_0x45ef1b['is']('containerElement')&&!!_0x45ef1b['getCustomProperty']('footnotesDefinitions');}function D(_0x222d53,_0x1e033b={}){const _0x34373c=_0x222d53['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2f01ed=_0x222d53['createContainerElement']('ol',{'class':'footnotes-list'},_0x222d53['createSlot']());return _0x222d53['createContainerElement']('div',{'class':'footnotes',..._0x1e033b},[_0x34373c,_0x2f01ed]);}function b(_0x161398,_0x184110){const _0xca572a=_0x161398['getAttribute']('footnoteId'),_0x25c9ab=_0x161398['getAttribute']('footnoteCounter'),_0x50754a=_0x184110['createUIElement']('a',{'href':'#'+_0xca572a},function(_0x374f9f){const _0x2eca9c=this['toDomElement'](_0x374f9f);return _0x2eca9c['textContent']=_0x25c9ab,_0x2eca9c;}),_0x23c5e1=_0x184110['createContainerElement']('sup',{'id':'ref-'+_0xca572a,'class':'footnote'},[_0x50754a]);return _0x23c5e1['getFillerOffset']=()=>null,_0x23c5e1;}function y(_0x4ea9b7,_0xc70fbf,_0x14da9e,{dataPipeline:_0x156a66}={}){const {t:t}=_0x14da9e,_0x18e694=_0x4ea9b7['getAttribute']('footnoteId'),_0x21062b=_0xc70fbf['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x18e694},function(_0x1e80b4){const _0xd8753e=this['toDomElement'](_0x1e80b4);return _0xd8753e['innerText']='^',_0xd8753e;}),_0x231deb=_0x156a66?_0xc70fbf['createContainerElement']('div',{'class':'footnote-content'}):_0x26e123(_0xc70fbf['createEditableElement']('div',{'class':'footnote-content'}),_0xc70fbf,{'label':t('Footnote\x20content.')});return _0xc70fbf['insert'](_0xc70fbf['createPositionAt'](_0x231deb,0x0),_0xc70fbf['createSlot']()),_0xc70fbf['createContainerElement']('li',{'class':'footnote-definition','id':_0x18e694},[_0x21062b,_0x231deb]);}class e extends _0x28ad1a{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x9bd623];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x22dd89}=this,{plugins:_0x4e980a,model:_0x58ebea}=_0x22dd89,_0x5f3574=_0x4e980a['get'](_0x9bd623),_0x35b1fa=_0x4e980a['get'](f);this['listenTo'](_0x5f3574,'outputTransformation',(_0x43ab5c,_0x1277ec)=>{const _0x4f7e28=l(_0x58ebea['createRangeIn'](_0x1277ec['content']));if(!_0x4f7e28['length'])return;const _0xdb609a=_0x35b1fa['getFootnotes'](),_0xc3464b=_0x4f7e28['reduce']((_0x1dc44f,_0x23656c)=>{const _0x1c494b=_0xdb609a['find'](_0x21b99a=>_0x21b99a['id']===_0x23656c);if(_0x1c494b){const _0x560a7d=_0x22dd89['data']['toView'](_0x1c494b['definition'],{'isClipboardPipeline':!0x0}),_0x2e3b95=_0x22dd89['data']['htmlProcessor']['toData'](_0x560a7d);_0x1dc44f[_0x1c494b['id']]=_0x2e3b95;}return _0x1dc44f;},Object['create'](null));_0x1277ec['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xc3464b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x20d00c}=this,{model:_0x2bd059,plugins:_0x4b5bd8}=_0x20d00c,{view:_0x5deb28}=_0x20d00c['editing'],_0x1e553b=_0x4b5bd8['get'](_0x9bd623),_0x5bd2a8=_0x4b5bd8['get'](f),_0x1e8b9e=_0x20d00c['config']['get']('footnotes.multiBlock');let _0x535b47=null;this['listenTo'](_0x5deb28['document'],'clipboardInput',(_0x42453c,_0x274468)=>{const _0xc6a294=_0x274468['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x535b47=_0xc6a294?JSON['parse'](_0xc6a294):null;}),this['listenTo'](_0x1e553b,'contentInsertion',(_0xb0ac58,_0x551487)=>{const _0x3549dd=_0x551487['sourceEditorId']===this['editor']['id'];_0x3549dd&&'drop'===_0x551487['method']||_0x2bd059['change'](_0x4920bb=>{let _0x2399e1=_0x5bd2a8['getFootnotesDefinitionsObjectElement']();const _0x1e723f=!!_0x2399e1&&Array['from'](_0x2bd059['document']['selection']['getSelectedBlocks']())['includes'](_0x2399e1);if(!_0x535b47&&function(_0x1ec493){for(const {item:_0x5e09f4}of _0x1ec493)if(_0x5e09f4['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2bd059['createRangeIn'](_0x551487['content']))&&(_0x535b47=function(_0x2113e0,_0x15e62b){const _0x13dfd4=c(_0x2113e0,_0x15e62b);if(!_0x13dfd4)return null;const _0x3485ca=Object['create'](null);for(const _0x3d0d72 of _0x13dfd4['getChildren']())_0x3d0d72['is']('element','footnoteDefinition')&&_0x3d0d72['hasAttribute']('footnoteId')&&(_0x3485ca[_0x3d0d72['getAttribute']('footnoteId')]=_0x2113e0['cloneElement'](_0x3d0d72,!0x0));return Object['keys'](_0x3485ca)['length']?_0x3485ca:null;}(_0x4920bb,_0x551487['content'])),(_0x2399e1&&!_0x1e723f||!_0x2399e1&&!_0x535b47)&&function(_0xc42973,_0x4b10bf){const _0x2c0512=[];for(const {item:_0x24a632}of _0xc42973['createRangeIn'](_0x4b10bf))_0x24a632['is']('element','footnotesDefinitions')&&_0x2c0512['push'](_0x24a632);for(const _0x2a088b of _0x2c0512)_0xc42973['remove'](_0x2a088b);}(_0x4920bb,_0x551487['content']),!_0x535b47)return;const {selection:_0x41bc7f}=_0x2bd059['document'],_0x3c4f61=_0x41bc7f['getFirstRange']()['root'];_0x2399e1&&!_0x1e723f||(_0x2399e1=c(_0x4920bb,_0x551487['content']),_0x2399e1||=_0x5bd2a8['_insertEmptyFootnotesDefinitionsContainer'](_0x4920bb,_0x3c4f61));const _0x501848=Array['from'](_0x41bc7f['getRanges']())['flatMap'](l),_0x13c831=function(_0x1a062f,_0x30d644,_0x53d8ab){const _0x23cbc0=Object['create'](null);for(const {item:_0x4352b9}of _0x1a062f['createRangeIn'](_0x30d644))if(_0x4352b9['is']('element','footnoteRef')){const _0x5a6e61=_0x4352b9['getAttribute']('footnoteId');if(!_0x53d8ab(_0x5a6e61))continue;_0x23cbc0[_0x5a6e61]||(_0x23cbc0[_0x5a6e61]=_0x1ab937()),_0x1a062f['setAttribute']('footnoteId',_0x23cbc0[_0x5a6e61],_0x4352b9);}return _0x23cbc0;}(_0x4920bb,_0x551487['content'],_0x52e86e=>{if(!_0x3549dd)return!0x0;return!!_0x5bd2a8['getFootnote'](_0x52e86e)&&!_0x501848['includes'](_0x52e86e);});for(const [_0x1237a2,_0x1b6e7c]of Object['entries'](_0x535b47)){const _0x14b627=_0x13c831[_0x1237a2]||_0x1237a2;let _0x1f4a41;if('string'!=typeof _0x1b6e7c)_0x1f4a41=_0x1b6e7c,_0x14b627!==_0x1237a2&&_0x4920bb['setAttribute']('footnoteId',_0x14b627,_0x1f4a41);else{_0x1f4a41=_0x4920bb['createElement']('footnoteDefinition',{'footnoteId':_0x14b627});const _0x1527f1=_0x20d00c['data']['htmlProcessor']['toView'](_0x1b6e7c);let _0x441fa9;if(_0x1e8b9e)_0x441fa9=_0x20d00c['data']['toModel'](_0x1527f1,_0x1f4a41);else{_0x441fa9=_0x4920bb['createElement']('footnoteInlineContent');const _0x3c10a2=_0x20d00c['data']['toModel'](_0x1527f1,_0x441fa9);_0x4920bb['insert'](_0x3c10a2,_0x441fa9);}_0x4920bb['append'](_0x441fa9,_0x1f4a41);}_0x4920bb['insert'](_0x1f4a41,_0x2399e1,'end');}_0x535b47=null;});});}}function c(_0x21faca,_0xb4fcf1){for(const {item:_0x237d67}of _0x21faca['createRangeIn'](_0xb4fcf1))if(_0x237d67['is']('element','footnotesDefinitions'))return _0x237d67;return null;}function l(_0x872246){const _0x3cc338=new Set();for(const {item:_0x4b4816}of _0x872246)_0x4b4816['is']('element','footnoteRef')&&_0x3cc338['add'](_0x4b4816['getAttribute']('footnoteId'));return Array['from'](_0x3cc338);}class i extends _0x28ad1a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33f9b5}=this,{componentFactory:_0x31cc45}=_0x33f9b5['ui'];_0x31cc45['add']('insertFootnote',E(_0x33f9b5,_0x386d83)),_0x31cc45['add']('menuBar:insertFootnote',E(_0x33f9b5,_0x4770d4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x494f07=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e601d;for(const _0x17c6d4 in _0x494f07){const _0x546782=_0x17c6d4,_0xca2642=_0x494f07[_0x546782];if('footnotesLicenseKeyValid'==_0xca2642||'footnotesLicenseKeyInvalid'==_0xca2642||'footnotesLicenseKeyExpired'==_0xca2642||'footnotesLicenseKeyDomainLimit'==_0xca2642||'footnotesLicenseKeyNotAllowed'==_0xca2642||'footnotesLicenseKeyEvaluationLimit'==_0xca2642||'footnotesLicenseKeyUsageLimit'==_0xca2642){delete _0x494f07[_0x546782],_0x2e601d=_0xca2642,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2e601d&&_0x494f07['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2e601d&&_0x494f07['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2e601d&&_0x494f07['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2e601d&&_0x494f07['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2e601d&&_0x494f07['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2e601d&&_0x494f07['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x10ae98,_0x39e71a){const _0x463c82=_0x10ae98['commands']['get']('insertFootnote');return _0x2801d4=>{const {t:t}=_0x2801d4,_0x530887=new _0x39e71a(_0x2801d4),_0x49fa65=_0x530887 instanceof _0x4770d4;return _0x530887['bind']('isEnabled')['to'](_0x463c82,'isEnabled'),_0x530887['set']({'label':t(_0x49fa65?'Footnote':'Insert\x20footnote'),'icon':_0x3c632d,'tooltip':!0x0}),_0x530887['on']('execute',()=>{_0x463c82['execute'](),_0x10ae98['editing']['view']['focus']();}),_0x530887;};}class lt extends _0x28ad1a{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 _0x5958dd{['refresh'](){const {editor:_0x5e6f98}=this,_0x3d24ee=_0x5e6f98['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3d24ee,this['value']=_0x3d24ee?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4c0969}){const {editor:_0x333f2a}=this,_0x1ca573=_0x333f2a['plugins']['get'](f),_0x54af32=_0x1ca573['getFootnotesDefinitionsObjectElement']();_0x54af32&&W['includes'](_0x4c0969)&&_0x333f2a['model']['change'](_0x5ddc9a=>{_0x5ddc9a['setAttribute']('footnotesListStyle',_0x4c0969,_0x54af32),_0x1ca573['_updateFootnotesCounters'](_0x5ddc9a);});}}class C extends _0x5958dd{['refresh'](){const {editor:_0x56a12b}=this,_0x1d2d1c=_0x56a12b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1d2d1c,this['value']=_0x1d2d1c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4982c2}){const {editor:_0x2d13aa}=this,_0x2a7f05=_0x2d13aa['plugins']['get'](f),_0x1daf9d=_0x2a7f05['getFootnotesDefinitionsObjectElement']();_0x1daf9d&&Number['isInteger'](_0x4982c2)&&_0x2d13aa['model']['change'](_0x152c9f=>{_0x152c9f['setAttribute']('footnotesListStart',_0x4982c2,_0x1daf9d),_0x2a7f05['_updateFootnotesCounters'](_0x152c9f);});}}class P extends _0x28ad1a{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x522ffb}=this;_0x522ffb['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x522ffb['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x522ffb['commands']['add']('footnotesStyle',new S(_0x522ffb)),_0x522ffb['commands']['add']('footnotesStart',new C(_0x522ffb)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x329680}=this,{schema:_0x49e315}=_0x329680['model'];_0x49e315['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4503b5}=this,{conversion:_0x37761f,model:_0x397af9}=_0x4503b5,{schema:_0x3f3fa2}=_0x397af9;_0x37761f['for']('upcast')['add'](_0x5de886=>{_0x5de886['on']('element:ol',(_0x534f6e,_0x4dd329,_0x32c052)=>{const _0x168564=_0x4dd329['viewItem'],_0x3f7245=_0x4dd329['modelCursor']?.['parent'];_0x168564['hasClass']('footnotes-list')&&_0x3f7245?.['is']('element','footnotesDefinitions')&&(function(_0x1e131f,_0x514041,_0xe6596b,_0x55fe18){if(!_0x55fe18['checkAttribute'](_0x514041,'footnotesListStart'))return;let _0x59bd7c=0x1;const _0x5b4eb7=_0xe6596b['consumable']['consume'](_0x1e131f,{'attributes':'start'});if(_0x5b4eb7){const _0x110525=Number['parseInt'](_0x1e131f['getAttribute']('start'),0xa);Number['isNaN'](_0x110525)||(_0x59bd7c=_0x110525);}!_0x5b4eb7&&_0x514041['hasAttribute']('footnotesListStart')||_0xe6596b['writer']['setAttribute']('footnotesListStart',_0x59bd7c,_0x514041);}(_0x168564,_0x3f7245,_0x32c052,_0x3f3fa2),function(_0xc93e6d,_0x293245,_0x4041b3,_0x5a99e7){if(!_0x5a99e7['checkAttribute'](_0x293245,'footnotesListStyle'))return;let _0x36cca7='decimal',_0x3b205a=!0x1;if(_0x4041b3['consumable']['consume'](_0xc93e6d,{'attributes':'type'})){const _0x1aafc2={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xc93e6d['getAttribute']('type')];_0x1aafc2&&(_0x36cca7=_0x1aafc2),_0x3b205a=!0x0;}_0x4041b3['consumable']['consume'](_0xc93e6d,{'styles':'list-style-type'})&&(_0x36cca7=function(_0x19b9d0){switch(_0x19b9d0){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x19b9d0;}}(_0xc93e6d['getStyle']('list-style-type')),_0x3b205a=!0x0),!_0x3b205a&&_0x293245['hasAttribute']('footnotesListStyle')||_0x4041b3['writer']['setAttribute']('footnotesListStyle',_0x36cca7,_0x293245);}(_0x168564,_0x3f7245,_0x32c052,_0x3f3fa2));});}),_0x37761f['for']('downcast')['add'](_0x2522c2=>{_0x2522c2['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x182f72,_0x550a94,_0x349ad3)=>{if(!_0x349ad3['consumable']['consume'](_0x550a94['item'],_0x182f72['name']))return;const _0x20a354=M(_0x550a94['item'],_0x349ad3['mapper']),{attributeNewValue:_0x9b6224}=_0x550a94;null==_0x9b6224||0x1===_0x9b6224?_0x349ad3['writer']['removeAttribute']('start',_0x20a354):_0x349ad3['writer']['setAttribute']('start',String(_0x9b6224),_0x20a354);}),_0x2522c2['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x322227,_0x409834,_0x4eb153)=>{if(!_0x4eb153['consumable']['consume'](_0x409834['item'],_0x322227['name']))return;const _0x515006=M(_0x409834['item'],_0x4eb153['mapper']),{attributeNewValue:_0x47a9bd}=_0x409834;_0x47a9bd&&'decimal'!==_0x47a9bd?_0x4eb153['writer']['setStyle']('list-style-type',_0x47a9bd,_0x515006):_0x4eb153['writer']['removeStyle']('list-style-type',_0x515006);});});}['_definePostfixer'](){const {editor:_0x101230}=this,{model:_0x42a4a3}=_0x101230,_0x165616=_0x101230['plugins']['get'](f),_0x551782=this['_getDefaultListStyle'](),_0x16f505=this['_getDefaultStartIndex']();_0x42a4a3['document']['registerPostFixer'](_0x38e152=>{const _0x47c43a=_0x42a4a3['document']['differ']['getChanges']();let _0x2c5629=!0x1;for(const _0x491833 of _0x47c43a){if('insert'!==_0x491833['type']||'$text'===_0x491833['name'])continue;const _0x24cb84=_0x42a4a3['createRangeOn'](_0x491833['position']['nodeAfter']);for(const _0x2e7b48 of _0x24cb84['getItems']())_0x2e7b48['is']('element','footnotesDefinitions')&&(!_0x2e7b48['hasAttribute']('footnotesListStart')&&_0x42a4a3['schema']['checkAttribute'](_0x2e7b48,'footnotesListStart')&&(_0x38e152['setAttribute']('footnotesListStart',_0x16f505,_0x2e7b48),_0x2c5629=!0x0),!_0x2e7b48['hasAttribute']('footnotesListStyle')&&_0x42a4a3['schema']['checkAttribute'](_0x2e7b48,'footnotesListStyle')&&(_0x38e152['setAttribute']('footnotesListStyle',_0x551782,_0x2e7b48),_0x2c5629=!0x0));}return _0x2c5629&&_0x165616['_updateFootnotesCounters'](_0x38e152),_0x2c5629;});}['_defineFormatter'](){const {editor:_0x5ce2e0}=this;_0x5ce2e0['plugins']['get'](f)['setFootnoteFormatter'](_0x520173=>this['_formatFootnoteListValue'](_0x520173));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3f61e3,value:_0x4086e6,digits:_0x663000}){const _0x27c502=_0x3f61e3['getAttribute']('footnotesListStyle'),_0x51955c=_0x3f61e3['getAttribute']('footnotesListStart'),_0x4d6d53=Math['floor'](_0x4086e6)+(_0x51955c??0x1)-0x1;switch(_0x27c502){case'decimal-leading-zero':return function(_0x266811,_0x1660fe){return String(_0x266811)['padStart'](_0x1660fe,'0');}(_0x4d6d53,Math['max'](0x2,_0x663000));case'lower-alpha':case'lower-latin':return N(_0x4d6d53,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4d6d53,!0x0);case'lower-roman':return X(_0x4d6d53,!0x1);case'upper-roman':return X(_0x4d6d53,!0x0);default:return String(_0x4d6d53);}}}function M(_0x2c1c79,_0x458ddc){const _0x4541fd=_0x458ddc['toViewElement'](_0x2c1c79);return Array['from'](_0x4541fd['getChildren']())['find'](_0x37e8a1=>_0x37e8a1['is']('element','ol')&&_0x37e8a1['hasClass']('footnotes-list'));}function N(_0x1e2417,_0x38f76f){let _0x372756='',_0x4fb997=_0x1e2417;for(;_0x4fb997>0x0;){const _0x1dfcc1=(_0x4fb997-0x1)%0x1a;_0x372756=String['fromCharCode'](0x61+_0x1dfcc1)+_0x372756,_0x4fb997=Math['floor']((_0x4fb997-0x1)/0x1a);}return _0x38f76f?_0x372756['toUpperCase']():_0x372756;}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(_0x301727,_0x5ad1b9){let _0x4e7e9b='',_0x398cb6=_0x301727;for(const {value:_0x588a98,numeral:_0x6dad77}of V)for(;_0x398cb6>=_0x588a98;)_0x4e7e9b+=_0x6dad77,_0x398cb6-=_0x588a98;return _0x5ad1b9?_0x4e7e9b:_0x4e7e9b['toLowerCase']();}class $ extends _0x36d4e0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x121f84();['focusCycler'];constructor(_0x52e8f7,{styleButtonViews:_0x114033,styleGridAriaLabel:_0x520304}){super(_0x52e8f7),(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'](_0x114033,_0x520304),[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 _0x1aa335 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1aa335['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 _0x2f4135=_0x171589=>_0x171589['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2f4135),this['keystrokes']['set']('arrowleft',_0x2f4135),this['keystrokes']['set']('arrowup',_0x2f4135),this['keystrokes']['set']('arrowdown',_0x2f4135);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3df5f5,_0x2436cc){const _0x3de333=new _0x36d4e0(this['locale']);return _0x3de333['children']=_0x3de333['createCollection'](),_0x3de333['children']['addMany'](_0x3df5f5),_0x3de333['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2436cc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3de333['children']}),_0x3de333['children']['delegate']('execute')['to'](this),_0x3de333['focus']=function(){for(const _0xb06d44 of this['children'])if(_0xb06d44 instanceof _0x386d83&&_0xb06d44['isOn'])return void _0xb06d44['focus']();this['children']['first']['focus']();},_0x3de333['focusTracker']=new rt(),_0x3de333['keystrokes']=new nt(),_0x3de333['render'](),_0x3de333['keystrokes']['listenTo'](_0x3de333['element']),this['children']['add'](_0x3de333),_0x3de333;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x203103=this['_createStartIndexPropertyView'](),_0x50512f=[_0x203103],_0x37443b=new it(this['locale'],_0x50512f);return _0x37443b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x37443b['buttonView']['bind']('isEnabled')['toMany'](_0x50512f,'isEnabled',(..._0x1a9019)=>_0x1a9019['some'](_0xd4fc67=>_0xd4fc67)),_0x37443b['buttonView']['on']('change:isEnabled',(_0x4f66f6,_0x4bad6c,_0x42467e)=>{_0x42467e||(_0x37443b['isCollapsed']=!0x0);}),this['children']['add'](_0x37443b),[_0x203103,_0x37443b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x35bf2a=new et(this['locale'],ot);return _0x35bf2a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x35bf2a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x35bf2a['fieldView']['on']('input',()=>{const _0x1f45df=_0x35bf2a['fieldView']['element'],_0x513646=_0x1f45df['valueAsNumber'];Number['isNaN'](_0x513646)?_0x35bf2a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1f45df['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x513646}):_0x35bf2a['errorText']=t(_0x513646<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x35bf2a;}}class j extends _0x28ad1a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xdfabb8,_0x46b3ea];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x34b664}=this,{componentFactory:_0xbbfeea}=_0x34b664['ui'];_0x34b664['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xbbfeea['add']('footnotesStyle',function(_0x3b756d){return _0x329e88=>{const {t:t}=_0x329e88,_0x4f612c=_0x3b756d['commands']['get']('footnotesStyle'),_0x189049=_0x297dae(_0x329e88),{buttonView:_0x44d72c}=_0x189049;return _0x189049['class']='ck-footnotes-styles-dropdown',_0x189049['bind']('isEnabled')['to'](_0x4f612c,'isEnabled'),_0x44d72c['set']({'label':t('Footnotes\x20style'),'icon':_0x3c632d,'tooltip':!0x0}),_0x189049['once']('change:isOpen',()=>{const _0x5ec140=function({editor:_0x3baf16,dropdownView:_0x34e06c}){const {t:t}=_0x3baf16['locale'],_0x4d7896=t('Footnotes\x20definitions\x20styles'),_0x55daff=function(_0x99f590){const t=_0x99f590['locale']['t'],_0x34cc0f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x45c6ef},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2fdb02},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2fd9e2},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x511099},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x45b2e7},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x12d59a}];return _0x34cc0f['map'](function(_0x5c4360){const _0x4af989=_0x5c4360['locale'];return({label:_0xe082ee,icon:_0x51954e,tooltip:_0x3bea38,style:_0x49da0d})=>{const _0x329409=_0x5c4360['commands']['get']('footnotesStyle'),_0x18f45e=new _0x386d83(_0x4af989);return _0x18f45e['set']({'label':_0xe082ee,'icon':_0x51954e,'tooltip':_0x3bea38}),_0x18f45e['bind']('isOn')['to'](_0x329409,'value',_0x1e6573=>_0x1e6573===_0x49da0d),_0x18f45e['bind']('isEnabled')['to'](_0x329409,'isEnabled'),_0x18f45e['on']('execute',()=>{_0x5c4360['execute']('footnotesStyle',{'value':_0x49da0d}),_0x5c4360['editing']['view']['focus']();}),_0x18f45e;};}(_0x99f590));}(_0x3baf16),_0x2899d2=new $(_0x3baf16['locale'],{'styleGridAriaLabel':_0x4d7896,'styleButtonViews':_0x55daff}),_0x18c1b6=_0x3baf16['commands']['get']('footnotesStart');return _0x2899d2['startIndexFieldView']['bind']('isEnabled')['to'](_0x18c1b6),_0x2899d2['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x18c1b6),_0x2899d2['on']('footnotesListStart',(_0x4208ef,_0x4cc022)=>{_0x3baf16['execute']('footnotesStart',{'value':_0x4cc022['startIndex']});}),_0x2899d2['delegate']('execute')['to'](_0x34e06c),_0x2899d2;}({'editor':_0x3b756d,'dropdownView':_0x189049});_0x189049['panelView']['children']['add'](_0x5ec140);}),_0x189049;};}(_0x34b664));}['afterInit'](){const {editor:_0x211a33}=this,{t:t}=_0x211a33['locale'],_0x6568f7=_0x211a33['plugins']['get'](_0x46b3ea),{defaultPositions:_0x3e13a5}=_0x3b35f0;_0x6568f7['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x211a33['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x594191=>{let _0x45fddd=_0x594191['getFirstPosition']()?.['parent'];return _0x45fddd?.['is']('$text')&&(_0x45fddd=_0x45fddd['parent']),_0x45fddd?.['is']('element')?_0x45fddd['findAncestor'](H):null;},'positions':[_0x3e13a5['southArrowNorth'],_0x3e13a5['southArrowNorthMiddleWest'],_0x3e13a5['southArrowNorthMiddleEast'],_0x3e13a5['southArrowNorthWest'],_0x3e13a5['southArrowNorthEast'],_0x3e13a5['northArrowSouth'],_0x3e13a5['northArrowSouthMiddleWest'],_0x3e13a5['northArrowSouthMiddleEast'],_0x3e13a5['northArrowSouthWest'],_0x3e13a5['northArrowSouthEast'],_0x3e13a5['viewportStickyNorth']]});}}class ft extends _0x28ad1a{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 _0x3f52fc,Command as _0x1e4072}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1de484,isWidget as _0x240692,toWidgetEditable as _0x802c48,WidgetToolbarRepository as _0x134680}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x52a576,logWarning as _0x1888f9,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x720d13,ClickObserver as _0x45a883}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0xb71dcf}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x279556,ButtonView as _0x4d4276,View as _0x3ddcbc,ViewCollection as _0x4652f3,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x240cbd,BalloonPanelView as _0x3e0fbd,createDropdown as _0x3041af}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x29f193,IconListStyleDecimal as _0x5461d3,IconListStyleDecimalLeadingZero as _0xaad9cd,IconListStyleLowerRoman as _0x1b53fa,IconListStyleUpperRoman as _0x4be16e,IconListStyleLowerLatin as _0x2497de,IconListStyleUpperLatin as _0x26ffe0}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x49d9b1,_0x12dd7d){this['_model']=_0x49d9b1,this['_elementName']=_0x12dd7d['elementName'],this['_getElementKey']=_0x12dd7d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4d5cf5){const _0x234e17=new Set(),_0xfafc27=new Map();for(const _0x10dadb of _0x4d5cf5){if('insert'===_0x10dadb['type']&&'$text'!==_0x10dadb['name']&&_0x10dadb['position']['nodeAfter']){const _0x1274e5=this['_model']['createRangeOn'](_0x10dadb['position']['nodeAfter']);for(const _0x2de435 of _0x1274e5['getItems']()){if(!_0x2de435['is']('element',this['_elementName']))continue;const _0x1a69c5=this['_getElementKey'](_0x2de435);_0xfafc27['has'](_0x1a69c5)||_0xfafc27['set'](_0x1a69c5,[]),_0xfafc27['get'](_0x1a69c5)['push'](_0x2de435);}}if('remove'===_0x10dadb['type']&&_0x10dadb['name']===this['_elementName']){const _0x3db920=this['_getElementKey']({'getAttribute':_0x511d59=>_0x10dadb['attributes']['get'](_0x511d59)});_0x234e17['add'](_0x3db920);}}for(const [_0x2ff408,_0x13c837]of this['_trackedElements'])'$graveyard'===_0x13c837['root']['rootName']&&_0x234e17['add'](_0x2ff408);for(const _0x3f07e3 of _0x234e17)this['_trackedElements']['delete'](_0x3f07e3);for(const [_0xcf357d,_0x4b2efc]of _0xfafc27)this['_trackedElements']['set'](_0xcf357d,_0x4b2efc[_0x4b2efc['length']-0x1]);const _0x2e8ac4=new Set();for(const [_0x1c23e8,_0x3b1cbb]of _0xfafc27)_0x234e17['has'](_0x1c23e8)&&(_0x2e8ac4['add'](_0x3b1cbb[0x0]),_0x3b1cbb['length']>0x1?_0xfafc27['set'](_0x1c23e8,_0x3b1cbb['slice'](0x1)):_0xfafc27['delete'](_0x1c23e8),_0x234e17['delete'](_0x1c23e8));return{'removed':Array['from'](_0x234e17),'inserted':Array['from'](_0xfafc27['values']())['flat'](),'moved':Array['from'](_0x2e8ac4)};}}class f extends _0x3f52fc{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2fe29f){super(_0x2fe29f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5672f9=>_0x5672f9['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xcc4cf1=>_0xcc4cf1['getAttribute']('footnoteId')});}['init'](){const {editor:_0x38d30b}=this,{model:_0x26a9c7,data:_0x165d5a}=_0x38d30b;_0x26a9c7['document']['registerPostFixer'](_0x3b7178=>{const _0x5c51d5=_0x26a9c7['document']['differ']['getChanges']();let _0x4ec099=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3b7178,_0x5c51d5)&&(_0x4ec099=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3b7178,_0x5c51d5)&&(_0x4ec099=!0x0),this['_handleFootnoteReferencesChanges'](_0x3b7178,_0x5c51d5)&&(_0x4ec099=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3b7178)&&(_0x4ec099=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3b7178)&&(_0x4ec099=!0x0),this['_sortFootnoteDefinitions'](_0x3b7178)&&(_0x4ec099=!0x0),_0x4ec099;}),this['listenTo'](_0x26a9c7['document'],'change:data',()=>{_0x26a9c7['enqueueChange']({'isUndoable':!0x1},_0x19ca8a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x19ca8a);});},{'priority':'low'}),this['listenTo'](_0x165d5a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x45e1b6){return this['_footnotes']['find'](_0xe281ff=>_0xe281ff['id']===_0x45e1b6)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x12ca0f){this['_footnoteFormatter']=_0x12ca0f;}['_updateFootnotesCounters'](_0x50deda,_0x53206f=0x0){let _0x4ea894=!0x1;for(let _0x1683b4=_0x53206f;_0x1683b4<this['_footnotes']['length'];_0x1683b4++)this['_updateFootnoteRefCounter'](_0x50deda,_0x1683b4)&&(_0x4ea894=!0x0);return _0x4ea894;}['_insertEmptyFootnotesDefinitionsContainer'](_0x368bc0,_0x177dca){const _0xf856f4=_0x368bc0['createElement']('footnotesDefinitions',{});return _0x368bc0['append'](_0xf856f4,_0x177dca),this['_footnotesDefinitions']=_0xf856f4,_0xf856f4;}['_ensureFootnotesDefinitionsContainerExists'](_0x23166e){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4d25c3=this['_footnotes'][0x0]['reference']['root'],_0x446ef7=this['_insertEmptyFootnotesDefinitionsContainer'](_0x23166e,_0x4d25c3);for(const _0x4eff45 of this['_footnotes'])_0x4eff45['definition']['parent']||_0x23166e['insert'](_0x4eff45['definition'],_0x446ef7,'end');this['_updateFootnotesCounters'](_0x23166e);}['_handleFootnotesDefinitionsObjectChanges'](_0x45a83f,_0x374630){let _0x4ca746=!0x1;const {inserted:_0x1ebc74,removed:_0x32abc1,moved:_0x295621}=this['_footnoteDefsContainerTracker']['getChanges'](_0x374630);if(_0x295621['length']&&(this['_footnotesDefinitions']=_0x295621[0x0]),_0x1ebc74['length']){if(_0x1ebc74['length']>0x1||this['_footnotesDefinitions']&&_0x1ebc74['some'](_0x28c7bf=>_0x28c7bf!==this['_footnotesDefinitions'])){const _0x33b3cb=_0x45a83f['createElement']('footnotesDefinitions',{}),_0x41914f=[];this['_footnotesDefinitions']&&_0x41914f['push'](this['_footnotesDefinitions']),_0x41914f['push'](..._0x1ebc74),_0x45a83f['insert'](_0x33b3cb,_0x41914f[0x0],'before');for(const _0x1cd15e of _0x41914f)_0x45a83f['move'](_0x45a83f['createRangeIn'](_0x1cd15e),_0x45a83f['createPositionAt'](_0x33b3cb,'end')),_0x45a83f['remove'](_0x1cd15e);this['_footnotesDefinitions']=_0x33b3cb,this['_updateFootnotesCounters'](_0x45a83f),_0x4ca746=!0x0;}else this['_footnotesDefinitions']=_0x1ebc74[0x0];}if(_0x32abc1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x26a859 of this['_footnotes'])_0x45a83f['remove'](_0x26a859['reference']),_0x4ca746=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4ca746;}['_handleFootnoteDefinitionsChanges'](_0x5a08a6,_0x358bb4){let _0x4f7760=!0x1;const _0x7b8424=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x31c5e,moved:_0x5d2030}=this['_footnoteDefsTracker']['getChanges'](_0x358bb4);for(const _0x178798 of[..._0x5d2030,..._0x31c5e]){const _0x3ddbc1=_0x178798['getAttribute']('footnoteId'),_0x7cb433=this['getFootnote'](_0x3ddbc1);_0x7cb433&&(_0x7cb433['definition']=_0x178798),_(_0x5a08a6,_0x7b8424,_0x178798)&&(_0x4f7760=!0x0);}return _0x4f7760;}['_handleFootnoteReferencesChanges'](_0x175ba2,_0xdcfb1){let _0x31a86d=!0x1;const {removed:_0x236675,inserted:_0x43ccca,moved:_0x46b0e8}=this['_footnoteRefsTracker']['getChanges'](_0xdcfb1);for(const _0x5c10d4 of _0x236675)this['_handleRemoveFootnoteReferenceById'](_0x175ba2,_0x5c10d4)&&(_0x31a86d=!0x0);for(const _0x5e4581 of _0x43ccca)this['_handleInsertedFootnoteReference'](_0x175ba2,_0x5e4581)&&(_0x31a86d=!0x0);for(const _0x3f9b88 of _0x46b0e8)this['_handleMovedFootnoteReference'](_0x175ba2,_0x3f9b88)&&(_0x31a86d=!0x0);return _0x31a86d;}['_handleFootnotesDefinitionsObjectSync'](_0x3a5094){if(!this['_footnotesDefinitions'])return!0x1;let _0x1271a5=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x51d04b=[];for(const _0x5c9dbc of this['_footnotesDefinitions']['getChildren']()){const _0xb6b2cc=_0x5c9dbc['getAttribute']('footnoteId');this['getFootnote'](_0xb6b2cc)||(_0x51d04b['unshift'](_0x5c9dbc),_0x1271a5=!0x0);}for(const _0x1f2dac of _0x51d04b)_0x3a5094['remove'](_0x1f2dac);}const _0x36079f=new Set(),_0x364d1a=[];for(const _0x51167b of this['_footnotesDefinitions']['getChildren']()){const _0x202cf0=_0x51167b['getAttribute']('footnoteId');_0x36079f['has'](_0x202cf0)?(_0x364d1a['unshift'](_0x51167b),_0x1271a5=!0x0):_0x36079f['add'](_0x202cf0);}for(const _0x29564a of _0x364d1a)_0x3a5094['remove'](_0x29564a);return this['_footnotesDefinitions']['childCount']||(_0x3a5094['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1271a5=!0x0),_0x1271a5;}['_handleInsertedFootnoteReference'](_0x6a2245,_0x1a82d4){if(this['_footnotes']['find'](_0x492981=>_0x492981['reference']===_0x1a82d4))return!0x1;let _0x2de7b5=!0x1;const _0x2fef5e=_0x1a82d4['getAttribute']('footnoteId'),_0x17ab6b=this['_footnotes']['findIndex'](_0x34d3c8=>_0x34d3c8['id']===_0x2fef5e);-0x1!==_0x17ab6b&&(_0x6a2245['remove'](this['_footnotes'][_0x17ab6b]['reference']),this['_footnotes']['splice'](_0x17ab6b,0x1),_0x2de7b5=!0x0);let _0x31efb1=this['_footnotesDefinitions']?function(_0x3249d3,_0x555ed6){for(const _0xe107e0 of _0x3249d3['getChildren']())if(_0xe107e0['getAttribute']('footnoteId')===_0x555ed6)return _0xe107e0;return null;}(this['_footnotesDefinitions'],_0x2fef5e):null;_0x31efb1||(_0x31efb1=_0x6a2245['createElement']('footnoteDefinition',{'footnoteId':_0x2fef5e}),this['_footnotesDefinitions']&&(_0x6a2245['insert'](_0x31efb1,this['_footnotesDefinitions'],'end'),_0x2de7b5=!0x0));const _0x1a378e={'id':_0x2fef5e,'reference':_0x1a82d4,'definition':_0x31efb1},_0x1c3b91=I(this['editor']['model'],this['_footnotes'],_0x1a82d4);this['_footnotes']['splice'](_0x1c3b91,0x0,_0x1a378e);let _0x46d87d=_0x1c3b91;return-0x1!==_0x17ab6b&&(_0x46d87d=Math['min'](_0x1c3b91,_0x17ab6b)),this['_updateFootnotesCounters'](_0x6a2245,_0x46d87d)&&(_0x2de7b5=!0x0),_0x2de7b5;}['_handleRemoveFootnoteReferenceById'](_0x5451c7,_0x138f63){const _0xaa6e6f=this['_footnotes']['findIndex'](_0x4b8404=>_0x4b8404['id']===_0x138f63);if(-0x1===_0xaa6e6f)return!0x1;let _0x4d94e9=!0x1;const _0x44066a=this['_footnotes'][_0xaa6e6f];return'$graveyard'!==_0x44066a['definition']['root']['rootName']&&(_0x5451c7['remove'](_0x44066a['definition']),_0x4d94e9=!0x0),this['_footnotes']['splice'](_0xaa6e6f,0x1),this['_updateFootnotesCounters'](_0x5451c7,_0xaa6e6f)&&(_0x4d94e9=!0x0),_0x4d94e9;}['_handleMovedFootnoteReference'](_0x182505,_0x420d0c){const _0x581a10=_0x420d0c['getAttribute']('footnoteId'),_0x1c05a0=this['_footnotes']['findIndex'](_0x49bcf6=>_0x49bcf6['id']===_0x581a10),_0xc565d8=this['_footnotes'][_0x1c05a0];let _0x466dfb=!0x1;_0xc565d8['reference']=_0x420d0c,this['_footnotes']['splice'](_0x1c05a0,0x1);const _0x12421e=I(this['editor']['model'],this['_footnotes'],_0x420d0c);return this['_footnotes']['splice'](_0x12421e,0x0,_0xc565d8),this['_updateFootnotesCounters'](_0x182505,Math['min'](_0x1c05a0,_0x12421e))&&(_0x466dfb=!0x0),_0x466dfb;}['_updateFootnoteRefCounter'](_0xe87af8,_0x558c51){if(!this['_footnotesDefinitions'])return!0x1;const _0x4a09e2=this['_footnotes'][_0x558c51];let _0x1770f0;return _0x1770f0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4a09e2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x558c51+0x1}):String(_0x558c51+0x1),_0x4a09e2['reference']['getAttribute']('footnoteCounter')!=_0x1770f0&&(_0xe87af8['setAttribute']('footnoteCounter',_0x1770f0,_0x4a09e2['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4e51e3){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x39798e,_0x22f473){if(_0x39798e['length']!==_0x22f473['length'])return!0x1;for(let _0x34846c=0x0;_0x34846c<_0x39798e['length'];_0x34846c++)if(_0x39798e[_0x34846c]!==_0x22f473[_0x34846c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2f47e4=>_0x2f47e4['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1741f0=>_0x1741f0['getAttribute']('footnoteId'))))return!0x1;let _0x316385=!0x1;for(let _0x5a0511=0x0;_0x5a0511<this['_footnotes']['length'];_0x5a0511++){const _0x2b2454=this['_footnotes'][_0x5a0511],_0x6993d7=_0x4e51e3['createPositionBefore'](_0x2b2454['definition']),_0x208161=_0x4e51e3['createPositionAt'](this['_footnotesDefinitions'],_0x5a0511);_0x6993d7['isEqual'](_0x208161)||(_0x4e51e3['move'](_0x4e51e3['createRangeOn'](_0x2b2454['definition']),_0x208161),_0x316385=!0x0);}return _0x316385;}['_ensureFootnotesReferencesHaveProperOrder'](_0x449d82){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3bc356}=this['editor'];let _0xb71b5a=!0x1;for(let _0x71b1fe=0x0;_0x71b1fe<this['_footnotes']['length']-0x1;_0x71b1fe++){const _0x115da1=this['_footnotes'][_0x71b1fe],_0x501b24=this['_footnotes'][_0x71b1fe+0x1],_0x2ee8b6=_0x3bc356['createPositionBefore'](_0x115da1['reference']),_0x256d6d=_0x3bc356['createPositionBefore'](_0x501b24['reference']);'after'===_0x2ee8b6['compareWith'](_0x256d6d)&&(this['_handleMovedFootnoteReference'](_0x449d82,_0x115da1['reference']),_0x71b1fe=-0x1,_0xb71b5a=!0x0);}return _0xb71b5a;}}function _(_0x197ccc,_0xa4bb3d,_0x131879){if(_0x131879['childCount'])return!0x1;const _0x523299=_0xa4bb3d?'paragraph':'footnoteInlineContent';return _0x197ccc['insert'](_0x197ccc['createElement'](_0x523299),_0x131879),!0x0;}function I(_0x159bd4,_0x16b3e3,_0x1f8081){if(0x0===_0x16b3e3['length'])return 0x0;const _0x5d4495=_0x159bd4['createPositionBefore'](_0x1f8081);for(let _0x1a135c=0x0;_0x1a135c<_0x16b3e3['length'];_0x1a135c++){const _0xa24b7f=_0x16b3e3[_0x1a135c],_0x3d9638=_0x159bd4['createPositionBefore'](_0xa24b7f['reference']);if('before'===_0x5d4495['compareWith'](_0x3d9638))return _0x1a135c;}const _0x55f768=_0x1f8081['root'];let _0x54b94b=-0x1;for(let _0x59bf6f=_0x16b3e3['length']-0x1;_0x59bf6f>=0x0;_0x59bf6f--)if(_0x16b3e3[_0x59bf6f]['reference']['root']===_0x55f768){_0x54b94b=_0x59bf6f;break;}if(-0x1!==_0x54b94b)return _0x54b94b+0x1;const _0x130a2a=_0x159bd4['document']['getRootNames'](),_0x8282ad=_0x130a2a['indexOf'](_0x55f768['rootName']),_0x3e297e=_0x130a2a[_0x8282ad+0x1];if(_0x3e297e){for(let _0x5e7027=0x0;_0x5e7027<_0x16b3e3['length'];_0x5e7027++)if(_0x16b3e3[_0x5e7027]['reference']['root']['rootName']===_0x3e297e)return _0x5e7027;}return _0x16b3e3['length'];}class h extends _0x1e4072{['refresh'](){const _0x821c80=this['editor']['model']['document']['selection'],_0x36d747=this['_getPositionToInsertFootnote'](_0x821c80);this['isEnabled']=!!_0x36d747;}['execute'](_0x9a97cf){const {editor:_0x4b1ff0}=this,{model:_0x3b599b}=_0x4b1ff0,{selection:_0x501f1a}=_0x3b599b['document'],_0x49846a=this['_getPositionToInsertFootnote'](_0x501f1a);if(!_0x49846a)return;const _0x2bf186=_0x4b1ff0['plugins']['get']('FootnotesEditing'),_0x36a2d8=_0x9a97cf?.['footnoteId']??_0x52a576();!function(_0x123f9e){return'string'==typeof _0x123f9e&&_0x123f9e['length']>0x0&&!/\s/['test'](_0x123f9e)&&!/^\d/['test'](_0x123f9e);}(_0x36a2d8)?_0x1888f9('insert-footnote-command-executed-with-invalid-id'):(_0x3b599b['change'](_0x3dcc3e=>{const _0x8f8c7c=_0x3dcc3e['createElement']('footnoteRef',{'footnoteId':_0x36a2d8});_0x3b599b['insertObject'](_0x8f8c7c,_0x49846a,null);}),_0x2bf186['_moveSelectionToFootnoteDefinition'](_0x36a2d8));}['_getPositionToInsertFootnote'](_0xf6db4d){const {model:_0x4afc67}=this['editor'],{schema:_0x5d6d55}=_0x4afc67,_0x5b1a74=_0xf6db4d['getFirstRange']();for(const _0x2620ba of _0x5b1a74['getItems']())if(_0x5d6d55['isBlock'](_0x2620ba)||_0x5d6d55['isObject'](_0x2620ba))return null;const _0x505180=_0x5b1a74['end'];return _0x5d6d55['checkChild'](_0x505180,'footnoteRef')?_0x505180:null;}}class r extends _0x3f52fc{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3166ff}=this;_0x3166ff['config']['define']('footnotes.multiBlock',!0x0),_0x3166ff['commands']['add']('insertFootnote',new h(_0x3166ff)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4989b7){const _0xbc358=_0x4d15d9([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]),_0xc88d71=0x47a28506,_0x38751a=0x47a505de^_0xc88d71,_0x2b42cb=window[_0x4d15d9([0x44,0x61,0x74,0x65])][_0x4d15d9([0x6e,0x6f,0x77])](),_0x599885=_0x4989b7[_0x4d15d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5cf57f=new window[(_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf23e9=>{_0x599885[_0x4d15d9([0x6f,0x6e,0x63,0x65])](_0x4d15d9([0x72,0x65,0x61,0x64,0x79]),_0xdf23e9);}),_0xd77929={[_0x4d15d9([0x6b,0x74,0x79])]:_0x4d15d9([0x45,0x43]),[_0x4d15d9([0x75,0x73,0x65])]:_0x4d15d9([0x73,0x69,0x67]),[_0x4d15d9([0x63,0x72,0x76])]:_0x4d15d9([0x50,0x2d,0x32,0x35,0x36]),[_0x4d15d9([0x78])]:_0x4d15d9([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]),[_0x4d15d9([0x79])]:_0x4d15d9([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]),[_0x4d15d9([0x61,0x6c,0x67])]:_0x4d15d9([0x45,0x53,0x32,0x35,0x36])},_0x1dfdec=_0x599885[_0x4d15d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d15d9([0x67,0x65,0x74])](_0x4d15d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48d4c0(){let _0x2b34ab,_0x1073d8=null,_0x39a65d=null;try{if(_0x1dfdec==_0x4d15d9([0x47,0x50,0x4c]))return _0x4d15d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b34ab=_0x652b7d(),!_0x2b34ab)return _0x4d15d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b34ab[_0x4d15d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39a65d=_0x13b9d9(_0x2b34ab[_0x4d15d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b34ab[_0x4d15d9([0x6a,0x74,0x69])])),await _0x11c02f()?_0x56c29d()?_0xde96c8()?_0x4d15d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2cf42b()?(_0x2b34ab[_0x4d15d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d15d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1073d8=_0x2d82cd(_0x4d15d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ee440()):_0x4d15d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d15d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d15d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d15d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xde96c8(){const _0x13ba79=[_0x4d15d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d15d9([0x74,0x72,0x69,0x61,0x6c])][_0x4d15d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b34ab[_0x4d15d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2b42cb/0x3e8:0xe10*_0x38751a;return _0x2b34ab[_0x4d15d9([0x65,0x78,0x70])]<_0x13ba79;}function _0x56c29d(){const _0x530b02=_0x2b34ab[_0x4d15d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x530b02&&(!!_0x530b02[_0x4d15d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d15d9([0x2a]))||!!_0x530b02[_0x4d15d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d15d9([0x46,0x4f,0x4f])));}function _0x2cf42b(){const _0x2d9fec=_0x2b34ab[_0x4d15d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d9fec||0x0==_0x2d9fec[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1677de}=new URL(window[_0x4d15d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d9fec[_0x4d15d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1677de))return!0x0;const _0x253cdc=_0x1677de[_0x4d15d9([0x73,0x70,0x6c,0x69,0x74])](_0x4d15d9([0x2e]));return _0x2d9fec[_0x4d15d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30cc9b=>_0x30cc9b[_0x4d15d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d15d9([0x2a])))[_0x4d15d9([0x6d,0x61,0x70])](_0x1f4208=>_0x1f4208[_0x4d15d9([0x73,0x70,0x6c,0x69,0x74])](_0x4d15d9([0x2e])))[_0x4d15d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3648b7=>_0x3648b7[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x253cdc[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d15d9([0x6d,0x61,0x70])](_0x2fb373=>Array(_0x253cdc[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2fb373[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d15d9([0x66,0x69,0x6c,0x6c])](_0x2fb373[0x0]===_0x4d15d9([0x2a])?_0x4d15d9([0x2a]):'')[_0x4d15d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2fb373))[_0x4d15d9([0x73,0x6f,0x6d,0x65])](_0x4a40af=>_0x253cdc[_0x4d15d9([0x65,0x76,0x65,0x72,0x79])]((_0x23babf,_0x2614d4)=>_0x4a40af[_0x2614d4]===_0x23babf||_0x4a40af[_0x2614d4]===_0x4d15d9([0x2a])));}function _0x3ee440(){return _0x1073d8&&_0x39a65d?new window[(_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59557e,_0x56bcda)=>{_0x1073d8[_0x4d15d9([0x74,0x68,0x65,0x6e])](_0x59557e,_0x56bcda),_0x39a65d[_0x4d15d9([0x74,0x68,0x65,0x6e])](_0x5a6b3b=>{_0x5a6b3b!=_0x4d15d9([0x56,0x61,0x6c,0x69,0x64])&&_0x59557e(_0x5a6b3b);},_0x56bcda);}):_0x1073d8||_0x39a65d||_0x4d15d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x13b9d9(_0x1d2757,_0x58509a){return new window[(_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50928b=>{if(_0x5e72ee())return _0x50928b(_0x4d15d9([0x56,0x61,0x6c,0x69,0x64]));_0x1aff38(),_0x599885[_0x4d15d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d15d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x126f70=!0x1;const _0x4cf24c=_0x52a576();function _0x41a054(_0x513f71){return!!_0x513f71&&(typeof _0x513f71===_0x4d15d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x513f71===_0x4d15d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x513f71[_0x4d15d9([0x74,0x68,0x65,0x6e])]===_0x4d15d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x513f71[_0x4d15d9([0x63,0x61,0x74,0x63,0x68])]===_0x4d15d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x526ea2(_0x193e72){_0x151689(_0x193e72)[_0x4d15d9([0x74,0x68,0x65,0x6e])](_0x670caf=>{if(!_0x670caf||_0x670caf[_0x4d15d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d15d9([0x6f,0x6b]))return _0x4d15d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22eefb(_0x223f92(_0x4cf24c+_0x58509a))!=_0x670caf[_0x4d15d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d15d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d15d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d15d9([0x74,0x68,0x65,0x6e])](_0x11adbf=>(_0x136645(),_0x11adbf),()=>{const _0x484bd6=_0x388b00();return null==_0x484bd6?(_0x136645(),_0x4d15d9([0x56,0x61,0x6c,0x69,0x64])):_0x4d15d9(_0x2b42cb-_0x484bd6>(0x63ae0106^_0xc88d71)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d15d9([0x74,0x68,0x65,0x6e])](_0x50928b)[_0x4d15d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50928b(_0x4d15d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b8335=0x47946b86^_0xc88d71;function _0x136645(){const _0x8f9e21=_0x4d15d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x22eefb(_0x223f92(_0x1d2757)),_0x36db7f=_0x330fb5(_0x22eefb(window[_0x4d15d9([0x4d,0x61,0x74,0x68])][_0x4d15d9([0x63,0x65,0x69,0x6c])](_0x2b42cb/_0x1b8335)));window[_0x4d15d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d15d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8f9e21,_0x36db7f);}function _0x388b00(){const _0x50283e=_0x4d15d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x22eefb(_0x223f92(_0x1d2757)),_0x3eb650=window[_0x4d15d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d15d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50283e);return _0x3eb650?window[_0x4d15d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x330fb5(_0x3eb650),0x10)*_0x1b8335:null;}function _0x151689(_0x47005d){return new window[(_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fc77f,_0x2bc123)=>{_0x47005d[_0x4d15d9([0x74,0x68,0x65,0x6e])](_0x4fc77f,_0x2bc123),window[_0x4d15d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bc123,0x47a351c6^_0xc88d71);});}}_0x599885[_0x4d15d9([0x6f,0x6e])](_0x4d15d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x41be7f,_0x162488)=>{if(_0x162488[0x0]!=_0x1d2757)return _0x50928b(_0x4d15d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x162488[0x1]={..._0x162488[0x1],[_0x4d15d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cf24c};},{[_0x4d15d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d15d9([0x68,0x69,0x67,0x68])}),_0x599885[_0x4d15d9([0x6f,0x6e])](_0x4d15d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a5dff=>{_0x41a054(_0x4a5dff[_0x4d15d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x126f70=!0x0,_0x526ea2(_0x4a5dff[_0x4d15d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d15d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d15d9([0x6c,0x6f,0x77])}),_0x5cf57f[_0x4d15d9([0x74,0x68,0x65,0x6e])](()=>{_0x126f70||_0x50928b(_0x4d15d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e72ee(){return _0x599885[_0x4d15d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d15d9([0x76,0x69,0x65,0x77])][_0x4d15d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d15d9([0x61,0x75,0x74,0x6f]);}function _0x1aff38(){_0x599885[_0x4d15d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d15d9([0x76,0x69,0x65,0x77])][_0x4d15d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d15d9([0x61,0x75,0x74,0x6f]);}}function _0x2d82cd(_0xbf6c53){const _0x42d4ab=[new window[(_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a1991=>setTimeout(_0x3a1991,0x47abbbca^_0xc88d71)),_0x5cf57f[_0x4d15d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46ae54=>{let _0x5653bf=0x0;_0x599885[_0x4d15d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d15d9([0x6f,0x6e])](_0x4d15d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x427fd8,_0x927ebc)=>{_0x927ebc[0x0][_0x4d15d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5653bf++,_0x5653bf==(0x47a280ee^_0xc88d71)&&(_0x46ae54(),_0x427fd8[_0x4d15d9([0x6f,0x66,0x66])]());});}))];return window[_0x4d15d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d15d9([0x72,0x61,0x63,0x65])](_0x42d4ab)[_0x4d15d9([0x74,0x68,0x65,0x6e])](()=>_0xbf6c53);}async function _0x3c80eb(){await _0x5cf57f,_0x599885[_0x4d15d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d15d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xffde29,_0x599885[_0x4d15d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d15d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xffde29,_0x599885[_0x4d15d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d15d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ab443(_0x5242bf){const _0x343f95=_0x49c51d();_0x599885[_0x343f95]=_0x4d15d9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5242bf,_0x5242bf!=_0x4d15d9([0x56,0x61,0x6c,0x69,0x64])&&_0x3c80eb();}function _0x49c51d(){const _0x1c7638=window[_0x4d15d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d15d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d15d9([0x6e,0x6f,0x77])]())[_0x4d15d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d15d9([0x2e]),'');let _0x3fbae0=_0x4d15d9([0x75]);for(let _0x74394e=0x0;_0x74394e<_0x1c7638[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74394e+=0x2){let _0x20b0c4=window[_0x4d15d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c7638[_0x4d15d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x74394e,_0x74394e+0x2));_0x20b0c4>=_0xbc358[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x20b0c4-=_0xbc358[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fbae0+=_0xbc358[_0x20b0c4];}return _0x3fbae0;}function _0x652b7d(){const _0x3fe098=_0x1dfdec[_0x4d15d9([0x73,0x70,0x6c,0x69,0x74])](_0x4d15d9([0x2e]));if(0x3!=_0x3fe098[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4b58fe(_0x3fe098[0x1]);function _0x4b58fe(_0x26ead5){const _0x34202a=_0x1a08cf(_0x26ead5);return _0x34202a&&_0x465e46()?_0x34202a:null;function _0x465e46(){const _0x4b89ee=_0x34202a[_0x4d15d9([0x6a,0x74,0x69])],_0x47d284=window[_0x4d15d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b89ee[_0x4d15d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b89ee[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a5f33={..._0x34202a,[_0x4d15d9([0x6a,0x74,0x69])]:_0x4b89ee[_0x4d15d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b89ee[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a5f33[_0x4d15d9([0x76,0x63])],_0x223f92(_0x2a5f33)==_0x47d284;}}}async function _0x11c02f(){let _0x2e3680=!0x0;try{const _0x13ac9d=_0x1dfdec[_0x4d15d9([0x73,0x70,0x6c,0x69,0x74])](_0x4d15d9([0x2e])),[_0x5e1f1f,_0x321081,_0x5f0c5f]=_0x13ac9d;return _0x2449c2(_0x5e1f1f),await _0xd3139a(_0x5e1f1f,_0x321081,_0x5f0c5f),_0x2e3680;}catch{return!0x1;}function _0x2449c2(_0x411a0a){const _0xfcd8ec=_0x1a08cf(_0x411a0a);_0xfcd8ec&&_0xfcd8ec[_0x4d15d9([0x61,0x6c,0x67])]==_0x4d15d9([0x45,0x53,0x32,0x35,0x36])||(_0x2e3680=!0x1);}async function _0xd3139a(_0x51d5d1,_0x3a9b18,_0x178c19){const _0x2d8cd7=window[_0x4d15d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d15d9([0x66,0x72,0x6f,0x6d])](_0x36a607(_0x178c19),_0x12c789=>_0x12c789[_0x4d15d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5252ba=new window[(_0x4d15d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d15d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51d5d1+_0x4d15d9([0x2e])+_0x3a9b18),_0x4d0fe0=window[_0x4d15d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d15d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d0fe0)return;const _0x4cce0c=await _0x4d0fe0[_0x4d15d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d15d9([0x6a,0x77,0x6b]),_0xd77929,{[_0x4d15d9([0x6e,0x61,0x6d,0x65])]:_0x4d15d9([0x45,0x43,0x44,0x53,0x41]),[_0x4d15d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d15d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d15d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d0fe0[_0x4d15d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d15d9([0x6e,0x61,0x6d,0x65])]:_0x4d15d9([0x45,0x43,0x44,0x53,0x41]),[_0x4d15d9([0x68,0x61,0x73,0x68])]:{[_0x4d15d9([0x6e,0x61,0x6d,0x65])]:_0x4d15d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cce0c,_0x2d8cd7,_0x5252ba)||(_0x2e3680=!0x1);}}function _0x1a08cf(_0x1e7151){return _0x1e7151[_0x4d15d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d15d9([0x65,0x79]))?JSON[_0x4d15d9([0x70,0x61,0x72,0x73,0x65])](_0x36a607(_0x1e7151)):null;}function _0x36a607(_0xb53e45){return window[_0x4d15d9([0x61,0x74,0x6f,0x62])](_0xb53e45[_0x4d15d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d15d9([0x2b]))[_0x4d15d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d15d9([0x2f])));}function _0x223f92(_0x3d0fd4){let _0x594767=0x1505;function _0x3e5862(_0x3dea8d){for(let _0x4a5f25=0x0;_0x4a5f25<_0x3dea8d[_0x4d15d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a5f25++){const _0x1a219e=_0x3dea8d[_0x4d15d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a5f25);_0x594767=(_0x594767<<0x5)+_0x594767+_0x1a219e,_0x594767&=_0x594767;}}function _0x62f739(_0x5c5314){Array[_0x4d15d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c5314)?_0x5c5314[_0x4d15d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x62f739):_0x5c5314&&typeof _0x5c5314==_0x4d15d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d15d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c5314)[_0x4d15d9([0x73,0x6f,0x72,0x74])]()[_0x4d15d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f0a59,_0x379199])=>{_0x3e5862(_0x2f0a59),_0x62f739(_0x379199);}):_0x3e5862(window[_0x4d15d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c5314));}return _0x62f739(_0x3d0fd4),_0x594767>>>0x0;}function _0x22eefb(_0x2e7876){return _0x2e7876[_0x4d15d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d15d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d15d9([0x30]));}function _0x330fb5(_0x504b6b){return _0x504b6b[_0x4d15d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d15d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d15d9([0x6a,0x6f,0x69,0x6e])]('');}function _0xffde29(){}function _0x4d15d9(_0x404735){return _0x404735['map'](_0x35d5d8=>String['fromCharCode'](_0x35d5d8))['join']('');}_0x5ab443(await _0x48d4c0());}(this);}['_moveSelectionToFootnoteDefinition'](_0xea95f8){const {plugins:_0x242d2a,editing:_0x51d023,model:_0x39e856}=this['editor'],_0x1ee75e=_0x242d2a['get'](f)['getFootnote'](_0xea95f8);return!!_0x1ee75e&&(_0x39e856['change'](_0x40a343=>{_0x40a343['setSelection'](_0x40a343['createPositionAt'](_0x1ee75e['definition'],'end'));}),_0x51d023['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x8653c9){const {plugins:_0x53b3bd,editing:_0x54c095,model:_0xe1fded}=this['editor'],_0x347302=_0x53b3bd['get'](f)['getFootnote'](_0x8653c9);return!!_0x347302&&(_0xe1fded['change'](_0x328ee8=>{_0x328ee8['setSelection'](_0x347302['reference'],'on');}),_0x54c095['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1ac7cc}=this['editor']['model'],_0x2681a9=this['editor']['config']['get']('footnotes.multiBlock');_0x1ac7cc['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1ac7cc['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1ac7cc['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2681a9?_0x1ac7cc['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1ac7cc['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1ac7cc['addChildCheck'](_0x5609e8=>{for(const _0x19ef61 of _0x5609e8)if('footnoteDefinition'===_0x19ef61['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x33e04d}=this,{conversion:_0x30a295,editing:_0x18ad08}=_0x33e04d,{t:t}=_0x33e04d['locale'];_0x30a295['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b9081,{writer:_0x2d76a1,consumable:_0x26cf9e})=>{const _0x10430f=_0x3b9081['getChild'](0x0);if(!_0x10430f||!_0x10430f['is']('element','a'))return null;const _0x454fc8=_0x10430f['getAttribute']('href')||'';if(!_0x454fc8['startsWith']('#'))return null;const _0x382b25=_0x454fc8['replace'](/^#/,'');if(!_0x382b25)return null;_0x26cf9e['consume'](_0x10430f,{'name':!0x0,'attributes':['href']});for(const {item:_0x486a2c}of _0x18ad08['view']['createRangeIn'](_0x10430f))_0x486a2c['is']('$textProxy')?_0x26cf9e['consume'](_0x486a2c['textNode'],{'name':!0x0}):_0x486a2c['is']('element')&&_0x26cf9e['consume'](_0x486a2c,{'name':!0x0});return _0x2d76a1['createElement']('footnoteRef',{'footnoteId':_0x382b25});}}),_0x30a295['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2b5240,{writer:_0x1f067b})=>b(_0x2b5240,_0x1f067b)}),_0x30a295['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x443405,{writer:_0x118fe4})=>{const _0xea15b9=_0x443405['getAttribute']('footnoteCounter');return _0x1de484(b(_0x443405,_0x118fe4),_0x118fe4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xea15b9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x20bc28}=this,{t:t}=_0x20bc28['locale'],{conversion:_0xe5647c}=_0x20bc28;_0xe5647c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xe5647c['for']('upcast')['add'](_0x3e8469=>{_0x3e8469['on']('element:ol',(_0xb82602,_0x4625bf,_0x30ac6d)=>{const _0x3ac948=_0x4625bf['viewItem'];if(!_0x3ac948['hasClass']('footnotes-list')||!_0x4625bf['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x30ac6d['consumable']['consume'](_0x3ac948,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x294466,modelCursor:_0x1686aa}=_0x30ac6d['convertChildren'](_0x4625bf['viewItem'],_0x4625bf['modelCursor']);_0x4625bf['modelRange']=_0x294466,_0x4625bf['modelCursor']=_0x1686aa;}),_0x3e8469['on']('element:hr',(_0x3134df,_0x512243,_0x2184ab)=>{const _0x246f45=_0x512243['viewItem'];_0x246f45['hasClass']('footnotes-divider')&&_0x512243['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2184ab['consumable']['consume'](_0x246f45,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xe5647c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x196268,{writer:_0x2c1a1c})=>D(_0x2c1a1c)}),_0xe5647c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x596c8d,{writer:_0x1af3a2})=>{const _0x447736=D(_0x1af3a2,{'data-footnotes-list-label':t('Footnotes')}),_0x21696d=_0x1de484(_0x447736,_0x1af3a2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1af3a2['setCustomProperty']('footnotesDefinitions',!0x0,_0x21696d),_0x21696d;}});}['_defineDefinitionConverters'](){const {editor:_0xee624d}=this,{conversion:_0x53d829,locale:_0x395822}=_0xee624d,_0x329f99=_0xee624d['config']['get']('footnotes.multiBlock');_0x53d829['for']('upcast')['add'](_0x1d4eb8=>{_0x1d4eb8['on']('element:li',(_0xd2351c,_0x2a4a82,_0x402290)=>{const _0x93ef9f=_0x2a4a82['viewItem'];if(!_0x93ef9f['hasClass']('footnote-definition')||!_0x93ef9f['getAttribute']('id'))return;const _0x3bea4d=_0x93ef9f['parent'];if(!_0x3bea4d['is']('element','ol')||!_0x3bea4d['hasClass']('footnotes-list'))return;if(!_0x402290['consumable']['test'](_0x93ef9f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2c88f0=_0x402290['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x93ef9f['getAttribute']('id')});if(!_0x402290['safeInsert'](_0x2c88f0,_0x2a4a82['modelCursor']))return;_0x402290['consumable']['consume'](_0x93ef9f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x20aa94=Array['from'](_0x93ef9f['getChildren']())['find'](_0x14b1cb=>_0x14b1cb['is']('element')&&_0x14b1cb['hasClass']('footnote-content'));for(const _0x560ec9 of _0x93ef9f['getChildren']())_0x560ec9['is']('element')&&(_0x402290['consumable']['consume'](_0x560ec9,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x402290['consumable']['consume'](_0x560ec9,{'name':!0x0,'classes':'footnote-content'}));if(_0x20aa94){if(_0x329f99)_0x402290['convertChildren'](_0x20aa94,_0x2c88f0);else{const _0x24234f=_0x402290['writer']['createElement']('footnoteInlineContent');_0x402290['writer']['insert'](_0x24234f,_0x2c88f0),_0x402290['convertChildren'](_0x20aa94,_0x24234f);}}_0x402290['updateConversionResult'](_0x2c88f0,_0x2a4a82);});}),_0x53d829['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c882b,{writer:_0x7e22ed})=>y(_0x3c882b,_0x7e22ed,_0x395822,{'dataPipeline':!0x0})}),_0x53d829['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1f1be0,{writer:_0x3b48e5})=>y(_0x1f1be0,_0x3b48e5,_0x395822)});}['_defineBogusParagraphConverters'](){const {editor:_0x5abbcd}=this,{conversion:_0x682ff4}=_0x5abbcd;_0x5abbcd['config']['get']('footnotes.multiBlock')?(_0x682ff4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x682ff4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5abbcd['model']['document'],'change:data',()=>{!function(_0x5d6271,_0x467c76){const _0x19e520=_0x5d6271['document']['differ'],_0x4e92fb=new Set();for(const _0x57c879 of _0x19e520['getChanges']()){const _0x46a586='attribute'==_0x57c879['type']?_0x57c879['range']['start']['parent']:_0x57c879['position']['parent'];_0x46a586['is']('element','footnoteDefinition')&&_0x4e92fb['add'](_0x46a586);}for(const _0x51bf59 of _0x4e92fb['values']()){const _0x4f5eea=Array['from'](_0x51bf59['getChildren']())['filter'](_0x506f89=>v(_0x506f89,_0x467c76['mapper']));for(const _0x359377 of _0x4f5eea)_0x467c76['reconvertItem'](_0x359377);}}(_0x5abbcd['model'],_0x5abbcd['editing']);})):(_0x682ff4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x682ff4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x308a32,{writer:_0x51a9fb})=>{const _0x1848e=_0x51a9fb['createContainerElement']('span');return _0x51a9fb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1848e),_0x1848e;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb0f6ac}=this,{editing:_0x859f57,t:t}=_0xb0f6ac,_0x407fa2=_0xb0f6ac['model']['document']['selection'];_0xb0f6ac['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb0f6ac['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x859f57['view']['document'],'enter',(_0x54dc6,_0x26f5d2)=>{const _0x1f5876=function(_0x47a115){const _0x5f1d8d=_0x47a115['getSelectedElement']();if(_0x5f1d8d?.['is']('element','footnoteRef'))return _0x5f1d8d;return null;}(_0x407fa2);if(_0x1f5876){const _0x15a93f=_0x1f5876['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x15a93f),_0x26f5d2['preventDefault'](),_0x54dc6['stop']();}},{'context':_0x240692});}['_defineClickHandlers'](){const {editor:_0x190cb3}=this,{editing:_0x3cb981}=_0x190cb3;_0x190cb3['editing']['view']['addObserver'](_0x720d13),_0x190cb3['editing']['view']['addObserver'](_0x45a883);let _0x214d68=!0x1;this['listenTo'](_0x3cb981['view']['document'],'pointerdown',(_0x964240,_0x241cb2)=>{const {target:_0x5a53fe}=_0x241cb2,_0xdc90c9=_0x3cb981['view']['document']['selection'];_0x214d68=!!(_0x5a53fe?.['is']('element','a')&&_0x5a53fe['parent']?.['is']('element','sup')&&_0x5a53fe['parent']['hasClass']('footnote'))&&_0xdc90c9['getSelectedElement']()===_0x5a53fe['parent'];},{'priority':'high'}),this['listenTo'](_0x3cb981['view']['document'],'click',(_0x1ef0a1,_0xdefc8)=>{const {target:_0x42f6a0}=_0xdefc8;if(!_0x42f6a0?.['is']('element','a'))return;if(_0x42f6a0['parent']?.['is']('element','sup')&&_0x42f6a0['parent']['hasClass']('footnote')&&!_0x214d68)return void _0xdefc8['preventDefault']();let _0x3549fb=_0x42f6a0['getAttribute']('href');if(!_0x3549fb?.['startsWith']('#'))return;_0x3549fb=_0x3549fb['slice'](0x1);let _0x4debc8=!0x1;(_0x3549fb['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3549fb['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3549fb))&&(_0x4debc8=!0x0),_0x4debc8&&(_0xdefc8['preventDefault'](),_0x1ef0a1['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x721bf7}={}){return(_0x42849d,{writer:_0x293eff})=>{if(!g(_0x42849d))return null;if(!_0x721bf7)return _0x293eff['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x254a54=_0x293eff['createContainerElement']('p');return _0x293eff['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x254a54),_0x254a54;};}function g(_0x252359){const {parent:_0x1b9f80}=_0x252359;if(!_0x1b9f80?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1b9f80['childCount'])return!0x1;for(const _0x5a39f5 of _0x252359['getAttributeKeys']())if(!_0x5a39f5['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5a39f5)return!0x1;return!0x0;}function v(_0x16f91c,_0x5d0635){if(!_0x16f91c['is']('element','paragraph'))return!0x1;const _0x2eb2fc=_0x5d0635['toViewElement'](_0x16f91c);return!!_0x2eb2fc&&g(_0x16f91c)!==_0x2eb2fc['is']('element','span');}function Q(_0x104396){return _0x240692(_0x104396)&&_0x104396['is']('containerElement')&&!!_0x104396['getCustomProperty']('footnotesDefinitions');}function D(_0x40baea,_0x15ada8={}){const _0x23ff28=_0x40baea['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4dcc16=_0x40baea['createContainerElement']('ol',{'class':'footnotes-list'},_0x40baea['createSlot']());return _0x40baea['createContainerElement']('div',{'class':'footnotes',..._0x15ada8},[_0x23ff28,_0x4dcc16]);}function b(_0x15a9e3,_0x42259d){const _0x3effc9=_0x15a9e3['getAttribute']('footnoteId'),_0x423964=_0x15a9e3['getAttribute']('footnoteCounter'),_0x71e64a=_0x42259d['createUIElement']('a',{'href':'#'+_0x3effc9},function(_0x5b33bd){const _0x4f57ba=this['toDomElement'](_0x5b33bd);return _0x4f57ba['textContent']=_0x423964,_0x4f57ba;}),_0x14bc02=_0x42259d['createContainerElement']('sup',{'id':'ref-'+_0x3effc9,'class':'footnote'},[_0x71e64a]);return _0x14bc02['getFillerOffset']=()=>null,_0x14bc02;}function y(_0x2bc85b,_0x400169,_0x50f0b5,{dataPipeline:_0x55b4fa}={}){const {t:t}=_0x50f0b5,_0x1d10e5=_0x2bc85b['getAttribute']('footnoteId'),_0x33270f=_0x400169['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d10e5},function(_0x22aa9a){const _0x2ce939=this['toDomElement'](_0x22aa9a);return _0x2ce939['innerText']='^',_0x2ce939;}),_0x9dbff7=_0x55b4fa?_0x400169['createContainerElement']('div',{'class':'footnote-content'}):_0x802c48(_0x400169['createEditableElement']('div',{'class':'footnote-content'}),_0x400169,{'label':t('Footnote\x20content.')});return _0x400169['insert'](_0x400169['createPositionAt'](_0x9dbff7,0x0),_0x400169['createSlot']()),_0x400169['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d10e5},[_0x33270f,_0x9dbff7]);}class e extends _0x3f52fc{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0xb71dcf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x720b93}=this,{plugins:_0x4e0d46,model:_0x3213f2}=_0x720b93,_0x30d90c=_0x4e0d46['get'](_0xb71dcf),_0x3c2de9=_0x4e0d46['get'](f);this['listenTo'](_0x30d90c,'outputTransformation',(_0xc64093,_0x19b0fc)=>{const _0x5cff3f=l(_0x3213f2['createRangeIn'](_0x19b0fc['content']));if(!_0x5cff3f['length'])return;const _0x15f722=_0x3c2de9['getFootnotes'](),_0x31c9d2=_0x5cff3f['reduce']((_0x3e8fe6,_0x44689d)=>{const _0x743e10=_0x15f722['find'](_0x58e0ab=>_0x58e0ab['id']===_0x44689d);if(_0x743e10){const _0x557593=_0x720b93['data']['toView'](_0x743e10['definition'],{'isClipboardPipeline':!0x0}),_0x11eae5=_0x720b93['data']['htmlProcessor']['toData'](_0x557593);_0x3e8fe6[_0x743e10['id']]=_0x11eae5;}return _0x3e8fe6;},Object['create'](null));_0x19b0fc['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x31c9d2));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x52e6d8}=this,{model:_0x342448,plugins:_0x16f911}=_0x52e6d8,{view:_0x3e14f5}=_0x52e6d8['editing'],_0x42de21=_0x16f911['get'](_0xb71dcf),_0x4e2df3=_0x16f911['get'](f),_0x7eff39=_0x52e6d8['config']['get']('footnotes.multiBlock');let _0x8afea8=null;this['listenTo'](_0x3e14f5['document'],'clipboardInput',(_0x33d819,_0x3fea01)=>{const _0xae1573=_0x3fea01['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x8afea8=_0xae1573?JSON['parse'](_0xae1573):null;}),this['listenTo'](_0x42de21,'contentInsertion',(_0x9fed5b,_0x8d4aad)=>{const _0x361448=_0x8d4aad['sourceEditorId']===this['editor']['id'];_0x361448&&'drop'===_0x8d4aad['method']||_0x342448['change'](_0x12fd8c=>{let _0x63a3cd=_0x4e2df3['getFootnotesDefinitionsObjectElement']();const _0x241863=!!_0x63a3cd&&Array['from'](_0x342448['document']['selection']['getSelectedBlocks']())['includes'](_0x63a3cd);if(!_0x8afea8&&function(_0x3675cf){for(const {item:_0x430530}of _0x3675cf)if(_0x430530['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x342448['createRangeIn'](_0x8d4aad['content']))&&(_0x8afea8=function(_0x3eeff0,_0x39ab3f){const _0x10756b=c(_0x3eeff0,_0x39ab3f);if(!_0x10756b)return null;const _0x1e6ff8=Object['create'](null);for(const _0x36d7d1 of _0x10756b['getChildren']())_0x36d7d1['is']('element','footnoteDefinition')&&_0x36d7d1['hasAttribute']('footnoteId')&&(_0x1e6ff8[_0x36d7d1['getAttribute']('footnoteId')]=_0x3eeff0['cloneElement'](_0x36d7d1,!0x0));return Object['keys'](_0x1e6ff8)['length']?_0x1e6ff8:null;}(_0x12fd8c,_0x8d4aad['content'])),(_0x63a3cd&&!_0x241863||!_0x63a3cd&&!_0x8afea8)&&function(_0x47f35c,_0x280a96){const _0x22d68c=[];for(const {item:_0x18dcb6}of _0x47f35c['createRangeIn'](_0x280a96))_0x18dcb6['is']('element','footnotesDefinitions')&&_0x22d68c['push'](_0x18dcb6);for(const _0x57ed95 of _0x22d68c)_0x47f35c['remove'](_0x57ed95);}(_0x12fd8c,_0x8d4aad['content']),!_0x8afea8)return;const {selection:_0x167260}=_0x342448['document'],_0x29d6c2=_0x167260['getFirstRange']()['root'];_0x63a3cd&&!_0x241863||(_0x63a3cd=c(_0x12fd8c,_0x8d4aad['content']),_0x63a3cd||=_0x4e2df3['_insertEmptyFootnotesDefinitionsContainer'](_0x12fd8c,_0x29d6c2));const _0x26d562=Array['from'](_0x167260['getRanges']())['flatMap'](l),_0x141d0c=function(_0x19ec63,_0x569849,_0xfebd34){const _0x4cba66=Object['create'](null);for(const {item:_0x225743}of _0x19ec63['createRangeIn'](_0x569849))if(_0x225743['is']('element','footnoteRef')){const _0x10d930=_0x225743['getAttribute']('footnoteId');if(!_0xfebd34(_0x10d930))continue;_0x4cba66[_0x10d930]||(_0x4cba66[_0x10d930]=_0x52a576()),_0x19ec63['setAttribute']('footnoteId',_0x4cba66[_0x10d930],_0x225743);}return _0x4cba66;}(_0x12fd8c,_0x8d4aad['content'],_0x27ce2c=>{if(!_0x361448)return!0x0;return!!_0x4e2df3['getFootnote'](_0x27ce2c)&&!_0x26d562['includes'](_0x27ce2c);});for(const [_0x38fdc0,_0x3711b8]of Object['entries'](_0x8afea8)){const _0x410207=_0x141d0c[_0x38fdc0]||_0x38fdc0;let _0x33b41b;if('string'!=typeof _0x3711b8)_0x33b41b=_0x3711b8,_0x410207!==_0x38fdc0&&_0x12fd8c['setAttribute']('footnoteId',_0x410207,_0x33b41b);else{_0x33b41b=_0x12fd8c['createElement']('footnoteDefinition',{'footnoteId':_0x410207});const _0x1b651d=_0x52e6d8['data']['htmlProcessor']['toView'](_0x3711b8);let _0x379f61;if(_0x7eff39)_0x379f61=_0x52e6d8['data']['toModel'](_0x1b651d,_0x33b41b);else{_0x379f61=_0x12fd8c['createElement']('footnoteInlineContent');const _0x22f130=_0x52e6d8['data']['toModel'](_0x1b651d,_0x379f61);_0x12fd8c['insert'](_0x22f130,_0x379f61);}_0x12fd8c['append'](_0x379f61,_0x33b41b);}_0x12fd8c['insert'](_0x33b41b,_0x63a3cd,'end');}_0x8afea8=null;});});}}function c(_0x2e0b37,_0x1e7032){for(const {item:_0x438537}of _0x2e0b37['createRangeIn'](_0x1e7032))if(_0x438537['is']('element','footnotesDefinitions'))return _0x438537;return null;}function l(_0x3740b8){const _0x19599a=new Set();for(const {item:_0x18d815}of _0x3740b8)_0x18d815['is']('element','footnoteRef')&&_0x19599a['add'](_0x18d815['getAttribute']('footnoteId'));return Array['from'](_0x19599a);}class i extends _0x3f52fc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a7f64}=this,{componentFactory:_0x459a98}=_0x5a7f64['ui'];_0x459a98['add']('insertFootnote',E(_0x5a7f64,_0x4d4276)),_0x459a98['add']('menuBar:insertFootnote',E(_0x5a7f64,_0x279556)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xfd8c7c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34d9be;for(const _0x2352c1 in _0xfd8c7c){const _0x54452c=_0x2352c1,_0x43f070=_0xfd8c7c[_0x54452c];if('footnotesLicenseKeyValid'==_0x43f070||'footnotesLicenseKeyInvalid'==_0x43f070||'footnotesLicenseKeyExpired'==_0x43f070||'footnotesLicenseKeyDomainLimit'==_0x43f070||'footnotesLicenseKeyNotAllowed'==_0x43f070||'footnotesLicenseKeyEvaluationLimit'==_0x43f070||'footnotesLicenseKeyUsageLimit'==_0x43f070){delete _0xfd8c7c[_0x54452c],_0x34d9be=_0x43f070,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x34d9be&&_0xfd8c7c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x34d9be&&_0xfd8c7c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x34d9be&&_0xfd8c7c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x34d9be&&_0xfd8c7c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x34d9be&&_0xfd8c7c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x34d9be&&_0xfd8c7c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x2b2a2f,_0xbdf40e){const _0x51fedb=_0x2b2a2f['commands']['get']('insertFootnote');return _0x228ef0=>{const {t:t}=_0x228ef0,_0x7334a6=new _0xbdf40e(_0x228ef0),_0x37ee34=_0x7334a6 instanceof _0x279556;return _0x7334a6['bind']('isEnabled')['to'](_0x51fedb,'isEnabled'),_0x7334a6['set']({'label':t(_0x37ee34?'Footnote':'Insert\x20footnote'),'icon':_0x29f193,'tooltip':!0x0}),_0x7334a6['on']('execute',()=>{_0x51fedb['execute'](),_0x2b2a2f['editing']['view']['focus']();}),_0x7334a6;};}class lt extends _0x3f52fc{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 _0x1e4072{['refresh'](){const {editor:_0x3d10fc}=this,_0x1eb6d0=_0x3d10fc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1eb6d0,this['value']=_0x1eb6d0?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x22f7df}){const {editor:_0x912840}=this,_0x12cf91=_0x912840['plugins']['get'](f),_0x5a1a7d=_0x12cf91['getFootnotesDefinitionsObjectElement']();_0x5a1a7d&&W['includes'](_0x22f7df)&&_0x912840['model']['change'](_0xaaadee=>{_0xaaadee['setAttribute']('footnotesListStyle',_0x22f7df,_0x5a1a7d),_0x12cf91['_updateFootnotesCounters'](_0xaaadee);});}}class C extends _0x1e4072{['refresh'](){const {editor:_0x796b38}=this,_0x1cbf00=_0x796b38['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1cbf00,this['value']=_0x1cbf00?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x165ce5}){const {editor:_0x2ac610}=this,_0x5af6ec=_0x2ac610['plugins']['get'](f),_0xf63e7e=_0x5af6ec['getFootnotesDefinitionsObjectElement']();_0xf63e7e&&Number['isInteger'](_0x165ce5)&&_0x2ac610['model']['change'](_0x2346df=>{_0x2346df['setAttribute']('footnotesListStart',_0x165ce5,_0xf63e7e),_0x5af6ec['_updateFootnotesCounters'](_0x2346df);});}}class P extends _0x3f52fc{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6a5651}=this;_0x6a5651['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x6a5651['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x6a5651['commands']['add']('footnotesStyle',new S(_0x6a5651)),_0x6a5651['commands']['add']('footnotesStart',new C(_0x6a5651)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3e3bd6}=this,{schema:_0x3487b2}=_0x3e3bd6['model'];_0x3487b2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x47686c}=this,{conversion:_0x2d17ad,model:_0x53d62a}=_0x47686c,{schema:_0xfcc926}=_0x53d62a;_0x2d17ad['for']('upcast')['add'](_0x12e750=>{_0x12e750['on']('element:ol',(_0x11fd53,_0x305f1d,_0xcc0002)=>{const _0x5791a8=_0x305f1d['viewItem'],_0x36c1a1=_0x305f1d['modelCursor']?.['parent'];_0x5791a8['hasClass']('footnotes-list')&&_0x36c1a1?.['is']('element','footnotesDefinitions')&&(function(_0x7b7956,_0x1b51b5,_0x1f1007,_0xf074ce){if(!_0xf074ce['checkAttribute'](_0x1b51b5,'footnotesListStart'))return;let _0x478ba3=0x1;const _0x18669f=_0x1f1007['consumable']['consume'](_0x7b7956,{'attributes':'start'});if(_0x18669f){const _0x902e70=Number['parseInt'](_0x7b7956['getAttribute']('start'),0xa);Number['isNaN'](_0x902e70)||(_0x478ba3=_0x902e70);}!_0x18669f&&_0x1b51b5['hasAttribute']('footnotesListStart')||_0x1f1007['writer']['setAttribute']('footnotesListStart',_0x478ba3,_0x1b51b5);}(_0x5791a8,_0x36c1a1,_0xcc0002,_0xfcc926),function(_0x4fb970,_0x53802b,_0x4e4dc5,_0x11866b){if(!_0x11866b['checkAttribute'](_0x53802b,'footnotesListStyle'))return;let _0xeeac93='decimal',_0xbc6f94=!0x1;if(_0x4e4dc5['consumable']['consume'](_0x4fb970,{'attributes':'type'})){const _0x53a5de={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4fb970['getAttribute']('type')];_0x53a5de&&(_0xeeac93=_0x53a5de),_0xbc6f94=!0x0;}_0x4e4dc5['consumable']['consume'](_0x4fb970,{'styles':'list-style-type'})&&(_0xeeac93=function(_0x2393fd){switch(_0x2393fd){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x2393fd;}}(_0x4fb970['getStyle']('list-style-type')),_0xbc6f94=!0x0),!_0xbc6f94&&_0x53802b['hasAttribute']('footnotesListStyle')||_0x4e4dc5['writer']['setAttribute']('footnotesListStyle',_0xeeac93,_0x53802b);}(_0x5791a8,_0x36c1a1,_0xcc0002,_0xfcc926));});}),_0x2d17ad['for']('downcast')['add'](_0x5297ba=>{_0x5297ba['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x418c3d,_0x108ee6,_0x304191)=>{if(!_0x304191['consumable']['consume'](_0x108ee6['item'],_0x418c3d['name']))return;const _0x5e6110=M(_0x108ee6['item'],_0x304191['mapper']),{attributeNewValue:_0x5eefdc}=_0x108ee6;null==_0x5eefdc||0x1===_0x5eefdc?_0x304191['writer']['removeAttribute']('start',_0x5e6110):_0x304191['writer']['setAttribute']('start',String(_0x5eefdc),_0x5e6110);}),_0x5297ba['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x32d962,_0x35dffd,_0x5e15e3)=>{if(!_0x5e15e3['consumable']['consume'](_0x35dffd['item'],_0x32d962['name']))return;const _0xd1a16b=M(_0x35dffd['item'],_0x5e15e3['mapper']),{attributeNewValue:_0x4e704a}=_0x35dffd;_0x4e704a&&'decimal'!==_0x4e704a?_0x5e15e3['writer']['setStyle']('list-style-type',_0x4e704a,_0xd1a16b):_0x5e15e3['writer']['removeStyle']('list-style-type',_0xd1a16b);});});}['_definePostfixer'](){const {editor:_0xf7e488}=this,{model:_0xa712de}=_0xf7e488,_0x5ef657=_0xf7e488['plugins']['get'](f),_0x4ec90a=this['_getDefaultListStyle'](),_0x2cb134=this['_getDefaultStartIndex']();_0xa712de['document']['registerPostFixer'](_0x272ae3=>{const _0xaf9699=_0xa712de['document']['differ']['getChanges']();let _0x43aa0c=!0x1;for(const _0x5f40e1 of _0xaf9699){if('insert'!==_0x5f40e1['type']||'$text'===_0x5f40e1['name'])continue;const _0x199afc=_0xa712de['createRangeOn'](_0x5f40e1['position']['nodeAfter']);for(const _0x3c502e of _0x199afc['getItems']())_0x3c502e['is']('element','footnotesDefinitions')&&(!_0x3c502e['hasAttribute']('footnotesListStart')&&_0xa712de['schema']['checkAttribute'](_0x3c502e,'footnotesListStart')&&(_0x272ae3['setAttribute']('footnotesListStart',_0x2cb134,_0x3c502e),_0x43aa0c=!0x0),!_0x3c502e['hasAttribute']('footnotesListStyle')&&_0xa712de['schema']['checkAttribute'](_0x3c502e,'footnotesListStyle')&&(_0x272ae3['setAttribute']('footnotesListStyle',_0x4ec90a,_0x3c502e),_0x43aa0c=!0x0));}return _0x43aa0c&&_0x5ef657['_updateFootnotesCounters'](_0x272ae3),_0x43aa0c;});}['_defineFormatter'](){const {editor:_0x4b2792}=this;_0x4b2792['plugins']['get'](f)['setFootnoteFormatter'](_0x4109fa=>this['_formatFootnoteListValue'](_0x4109fa));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x53e6dd,value:_0x290fe5,digits:_0x23e7be}){const _0x3ede2c=_0x53e6dd['getAttribute']('footnotesListStyle'),_0x21e4dd=_0x53e6dd['getAttribute']('footnotesListStart'),_0x1cdb28=Math['floor'](_0x290fe5)+(_0x21e4dd??0x1)-0x1;switch(_0x3ede2c){case'decimal-leading-zero':return function(_0x46c19d,_0xd6df1a){return String(_0x46c19d)['padStart'](_0xd6df1a,'0');}(_0x1cdb28,Math['max'](0x2,_0x23e7be));case'lower-alpha':case'lower-latin':return N(_0x1cdb28,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1cdb28,!0x0);case'lower-roman':return X(_0x1cdb28,!0x1);case'upper-roman':return X(_0x1cdb28,!0x0);default:return String(_0x1cdb28);}}}function M(_0xf5d4bd,_0x46b5c3){const _0x8d5552=_0x46b5c3['toViewElement'](_0xf5d4bd);return Array['from'](_0x8d5552['getChildren']())['find'](_0x5a473c=>_0x5a473c['is']('element','ol')&&_0x5a473c['hasClass']('footnotes-list'));}function N(_0x23a9fb,_0x12c020){let _0x3cf637='',_0x1ccbaf=_0x23a9fb;for(;_0x1ccbaf>0x0;){const _0x3ee050=(_0x1ccbaf-0x1)%0x1a;_0x3cf637=String['fromCharCode'](0x61+_0x3ee050)+_0x3cf637,_0x1ccbaf=Math['floor']((_0x1ccbaf-0x1)/0x1a);}return _0x12c020?_0x3cf637['toUpperCase']():_0x3cf637;}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(_0x451d2f,_0x70505c){let _0x20588a='',_0x41c771=_0x451d2f;for(const {value:_0x1fb348,numeral:_0x216bb6}of V)for(;_0x41c771>=_0x1fb348;)_0x20588a+=_0x216bb6,_0x41c771-=_0x1fb348;return _0x70505c?_0x20588a:_0x20588a['toLowerCase']();}class J extends _0x3ddcbc{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4652f3();['focusCycler'];constructor(_0xed818,{styleButtonViews:_0x5170fd,styleGridAriaLabel:_0x5d7ace}){super(_0xed818),(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'](_0x5170fd,_0x5d7ace),[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 _0x2cc259 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2cc259['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 _0x363612=_0x304ff8=>_0x304ff8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x363612),this['keystrokes']['set']('arrowleft',_0x363612),this['keystrokes']['set']('arrowup',_0x363612),this['keystrokes']['set']('arrowdown',_0x363612);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13e36d,_0x5dce27){const _0xc1168f=new _0x3ddcbc(this['locale']);return _0xc1168f['children']=_0xc1168f['createCollection'](),_0xc1168f['children']['addMany'](_0x13e36d),_0xc1168f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5dce27,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xc1168f['children']}),_0xc1168f['children']['delegate']('execute')['to'](this),_0xc1168f['focus']=function(){for(const _0x504711 of this['children'])if(_0x504711 instanceof _0x4d4276&&_0x504711['isOn'])return void _0x504711['focus']();this['children']['first']['focus']();},_0xc1168f['focusTracker']=new rt(),_0xc1168f['keystrokes']=new nt(),_0xc1168f['render'](),_0xc1168f['keystrokes']['listenTo'](_0xc1168f['element']),this['children']['add'](_0xc1168f),_0xc1168f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1fb73f=this['_createStartIndexPropertyView'](),_0x13ae89=[_0x1fb73f],_0x334f1f=new it(this['locale'],_0x13ae89);return _0x334f1f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x334f1f['buttonView']['bind']('isEnabled')['toMany'](_0x13ae89,'isEnabled',(..._0x4fd806)=>_0x4fd806['some'](_0x36f44b=>_0x36f44b)),_0x334f1f['buttonView']['on']('change:isEnabled',(_0x150629,_0x514c0f,_0x51ee23)=>{_0x51ee23||(_0x334f1f['isCollapsed']=!0x0);}),this['children']['add'](_0x334f1f),[_0x1fb73f,_0x334f1f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4fad86=new et(this['locale'],ot);return _0x4fad86['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4fad86['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4fad86['fieldView']['on']('input',()=>{const _0x176f37=_0x4fad86['fieldView']['element'],_0x1f30e0=_0x176f37['valueAsNumber'];Number['isNaN'](_0x1f30e0)?_0x4fad86['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x176f37['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1f30e0}):_0x4fad86['errorText']=t(_0x1f30e0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4fad86;}}class j extends _0x3f52fc{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x240cbd,_0x134680];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x208cef}=this,{componentFactory:_0x35c551}=_0x208cef['ui'];_0x208cef['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x35c551['add']('footnotesStyle',function(_0x381987){return _0x4b137c=>{const {t:t}=_0x4b137c,_0x4c831e=_0x381987['commands']['get']('footnotesStyle'),_0x429cce=_0x3041af(_0x4b137c),{buttonView:_0x57ad98}=_0x429cce;return _0x429cce['class']='ck-footnotes-styles-dropdown',_0x429cce['bind']('isEnabled')['to'](_0x4c831e,'isEnabled'),_0x57ad98['set']({'label':t('Footnotes\x20style'),'icon':_0x29f193,'tooltip':!0x0}),_0x429cce['once']('change:isOpen',()=>{const _0x33964d=function({editor:_0x3166a4,dropdownView:_0x5573ec}){const {t:t}=_0x3166a4['locale'],_0x37087b=t('Footnotes\x20definitions\x20styles'),_0x1e81f5=function(_0x50b7c5){const t=_0x50b7c5['locale']['t'],_0x661398=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5461d3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xaad9cd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1b53fa},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4be16e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2497de},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x26ffe0}];return _0x661398['map'](function(_0x51ddb6){const _0x46a906=_0x51ddb6['locale'];return({label:_0x233cb9,icon:_0x3bd610,tooltip:_0x3e8368,style:_0x335b95})=>{const _0x20c89e=_0x51ddb6['commands']['get']('footnotesStyle'),_0x50e5f9=new _0x4d4276(_0x46a906);return _0x50e5f9['set']({'label':_0x233cb9,'icon':_0x3bd610,'tooltip':_0x3e8368}),_0x50e5f9['bind']('isOn')['to'](_0x20c89e,'value',_0x4fb097=>_0x4fb097===_0x335b95),_0x50e5f9['bind']('isEnabled')['to'](_0x20c89e,'isEnabled'),_0x50e5f9['on']('execute',()=>{_0x51ddb6['execute']('footnotesStyle',{'value':_0x335b95}),_0x51ddb6['editing']['view']['focus']();}),_0x50e5f9;};}(_0x50b7c5));}(_0x3166a4),_0x5ee77a=new J(_0x3166a4['locale'],{'styleGridAriaLabel':_0x37087b,'styleButtonViews':_0x1e81f5}),_0x4ccc26=_0x3166a4['commands']['get']('footnotesStart');return _0x5ee77a['startIndexFieldView']['bind']('isEnabled')['to'](_0x4ccc26),_0x5ee77a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4ccc26),_0x5ee77a['on']('footnotesListStart',(_0x43a0aa,_0x1039e3)=>{_0x3166a4['execute']('footnotesStart',{'value':_0x1039e3['startIndex']});}),_0x5ee77a['delegate']('execute')['to'](_0x5573ec),_0x5ee77a;}({'editor':_0x381987,'dropdownView':_0x429cce});_0x429cce['panelView']['children']['add'](_0x33964d);}),_0x429cce;};}(_0x208cef));}['afterInit'](){const {editor:_0x5181d3}=this,{t:t}=_0x5181d3['locale'],_0x1ab049=_0x5181d3['plugins']['get'](_0x134680),{defaultPositions:_0x150cc8}=_0x3e0fbd;_0x1ab049['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5181d3['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2abf34=>{let _0x3102d6=_0x2abf34['getFirstPosition']()?.['parent'];return _0x3102d6?.['is']('$text')&&(_0x3102d6=_0x3102d6['parent']),_0x3102d6?.['is']('element')?_0x3102d6['findAncestor'](Q):null;},'positions':[_0x150cc8['southArrowNorth'],_0x150cc8['southArrowNorthMiddleWest'],_0x150cc8['southArrowNorthMiddleEast'],_0x150cc8['southArrowNorthWest'],_0x150cc8['southArrowNorthEast'],_0x150cc8['northArrowSouth'],_0x150cc8['northArrowSouthMiddleWest'],_0x150cc8['northArrowSouthMiddleEast'],_0x150cc8['northArrowSouthWest'],_0x150cc8['northArrowSouthEast'],_0x150cc8['viewportStickyNorth']]});}}class ft extends _0x3f52fc{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':_0x2fb129=>0x1!=_0x2fb129}};
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':_0x525c28=>0x1!=_0x525c28}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x5b06e8=>{const {af:{dictionary:_0x52c7d0,getPluralForm:_0x1256a7}}={'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':_0x4fa53c=>0x1!=_0x4fa53c}};_0x5b06e8['af']||={'dictionary':{},'getPluralForm':null},_0x5b06e8['af']['dictionary']=Object['assign'](_0x5b06e8['af']['dictionary'],_0x52c7d0),_0x5b06e8['af']['getPluralForm']=_0x1256a7;})(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':_0x37a0a0=>0x0==_0x37a0a0?0x0:0x1==_0x37a0a0?0x1:0x2==_0x37a0a0?0x2:_0x37a0a0%0x64>=0x3&&_0x37a0a0%0x64<=0xa?0x3:_0x37a0a0%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':_0x5414e4=>0x0==_0x5414e4?0x0:0x1==_0x5414e4?0x1:0x2==_0x5414e4?0x2:_0x5414e4%0x64>=0x3&&_0x5414e4%0x64<=0xa?0x3:_0x5414e4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x579016=>{const {ar:{dictionary:_0x4a7753,getPluralForm:_0x3f8f2a}}={'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':_0x25ccf8=>0x0==_0x25ccf8?0x0:0x1==_0x25ccf8?0x1:0x2==_0x25ccf8?0x2:_0x25ccf8%0x64>=0x3&&_0x25ccf8%0x64<=0xa?0x3:_0x25ccf8%0x64>=0xb?0x4:0x5}};_0x579016['ar']||={'dictionary':{},'getPluralForm':null},_0x579016['ar']['dictionary']=Object['assign'](_0x579016['ar']['dictionary'],_0x4a7753),_0x579016['ar']['getPluralForm']=_0x3f8f2a;})(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':_0x4b0a58=>0x1!=_0x4b0a58}};
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':_0x21b2e6=>0x1!=_0x21b2e6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x19dfcc=>{const {ast:{dictionary:_0x27fe80,getPluralForm:_0x460f34}}={'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':_0x251cab=>0x1!=_0x251cab}};_0x19dfcc['ast']||={'dictionary':{},'getPluralForm':null},_0x19dfcc['ast']['dictionary']=Object['assign'](_0x19dfcc['ast']['dictionary'],_0x27fe80),_0x19dfcc['ast']['getPluralForm']=_0x460f34;})(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':_0x122eff=>0x1!=_0x122eff}};
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':_0xf9302b=>0x1!=_0xf9302b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']||={});
23
+ (_0x27609d=>{const {az:{dictionary:_0x386e4c,getPluralForm:_0x7fe5f0}}={'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':_0x2eee64=>0x1!=_0x2eee64}};_0x27609d['az']||={'dictionary':{},'getPluralForm':null},_0x27609d['az']['dictionary']=Object['assign'](_0x27609d['az']['dictionary'],_0x386e4c),_0x27609d['az']['getPluralForm']=_0x7fe5f0;})(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':_0x18e960=>_0x18e960%0xa==0x1&&_0x18e960%0x64!=0xb?0x0:_0x18e960%0xa>=0x2&&_0x18e960%0xa<=0x4&&(_0x18e960%0x64<0xa||_0x18e960%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':_0x4c42b0=>_0x4c42b0%0xa==0x1&&_0x4c42b0%0x64!=0xb?0x0:_0x4c42b0%0xa>=0x2&&_0x4c42b0%0xa<=0x4&&(_0x4c42b0%0x64<0xa||_0x4c42b0%0x64>=0x14)?0x1:0x2}};