@ckeditor/ckeditor5-footnotes 47.7.2 → 47.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4fc131,Command as _0x49231e}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x6dea39,isWidget as _0x51fd9c,toWidgetEditable as _0xad0cde,WidgetToolbarRepository as _0x320c08}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x243e9b,logWarning as _0x3c5e13,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x21a1b6,ClickObserver as _0x4110ad}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3a748a}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5a2cd9,ButtonView as _0x8e371f,View as _0x4e6711,ViewCollection as _0x2a57cc,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x53c815,BalloonPanelView as _0x4fdc30,createDropdown as _0x1ee889}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x37a0a9,IconListStyleDecimal as _0x4af244,IconListStyleDecimalLeadingZero as _0x5bc590,IconListStyleLowerRoman as _0x1a3ea7,IconListStyleUpperRoman as _0x381784,IconListStyleLowerLatin as _0x35b866,IconListStyleUpperLatin as _0x2745ed}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3c8359,_0x429366){this['_model']=_0x3c8359,this['_elementName']=_0x429366['elementName'],this['_getElementKey']=_0x429366['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x336ce9){const _0xb1784b=new Set(),_0x2ffbb3=new Map();for(const _0x1014d8 of _0x336ce9){if('insert'===_0x1014d8['type']&&'$text'!==_0x1014d8['name']&&_0x1014d8['position']['nodeAfter']){const _0x10c57b=this['_model']['createRangeOn'](_0x1014d8['position']['nodeAfter']);for(const _0x2ee8ad of _0x10c57b['getItems']()){if(!_0x2ee8ad['is']('element',this['_elementName']))continue;const _0x5e05cc=this['_getElementKey'](_0x2ee8ad);_0x2ffbb3['has'](_0x5e05cc)||_0x2ffbb3['set'](_0x5e05cc,[]),_0x2ffbb3['get'](_0x5e05cc)['push'](_0x2ee8ad);}}if('remove'===_0x1014d8['type']&&_0x1014d8['name']===this['_elementName']){const _0xfa8280=this['_getElementKey']({'getAttribute':_0x5baef5=>_0x1014d8['attributes']['get'](_0x5baef5)});_0xb1784b['add'](_0xfa8280);}}for(const [_0x2edf12,_0x505b64]of this['_trackedElements'])'$graveyard'===_0x505b64['root']['rootName']&&_0xb1784b['add'](_0x2edf12);for(const _0x5b5449 of _0xb1784b)this['_trackedElements']['delete'](_0x5b5449);for(const [_0x105607,_0x3887b5]of _0x2ffbb3)this['_trackedElements']['set'](_0x105607,_0x3887b5[_0x3887b5['length']-0x1]);const _0x30e852=new Set();for(const [_0x2c9cb1,_0x21d613]of _0x2ffbb3)_0xb1784b['has'](_0x2c9cb1)&&(_0x30e852['add'](_0x21d613[0x0]),_0x21d613['length']>0x1?_0x2ffbb3['set'](_0x2c9cb1,_0x21d613['slice'](0x1)):_0x2ffbb3['delete'](_0x2c9cb1),_0xb1784b['delete'](_0x2c9cb1));return{'removed':Array['from'](_0xb1784b),'inserted':Array['from'](_0x2ffbb3['values']())['flat'](),'moved':Array['from'](_0x30e852)};}}class f extends _0x4fc131{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ba2ba){super(_0x1ba2ba),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x59d9c0=>_0x59d9c0['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1b5197=>_0x1b5197['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3bed84}=this,{model:_0x18559b,data:_0x3654cf}=_0x3bed84;_0x18559b['document']['registerPostFixer'](_0x2091e7=>{const _0x7cc5d5=_0x18559b['document']['differ']['getChanges']();let _0x2f2163=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2091e7,_0x7cc5d5)&&(_0x2f2163=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2091e7,_0x7cc5d5)&&(_0x2f2163=!0x0),this['_handleFootnoteReferencesChanges'](_0x2091e7,_0x7cc5d5)&&(_0x2f2163=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2091e7)&&(_0x2f2163=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2091e7)&&(_0x2f2163=!0x0),this['_sortFootnoteDefinitions'](_0x2091e7)&&(_0x2f2163=!0x0),_0x2f2163;}),this['listenTo'](_0x18559b['document'],'change:data',()=>{_0x18559b['enqueueChange']({'isUndoable':!0x1},_0x52a600=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x52a600);});},{'priority':'low'}),this['listenTo'](_0x3654cf,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4a1ccf){return this['_footnotes']['find'](_0x230d86=>_0x230d86['id']===_0x4a1ccf)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x579862){this['_footnoteFormatter']=_0x579862;}['_updateFootnotesCounters'](_0xae4bd2,_0x4d3c99=0x0){let _0x4844e4=!0x1;for(let _0x345f53=_0x4d3c99;_0x345f53<this['_footnotes']['length'];_0x345f53++)this['_updateFootnoteRefCounter'](_0xae4bd2,_0x345f53)&&(_0x4844e4=!0x0);return _0x4844e4;}['_insertEmptyFootnotesDefinitionsContainer'](_0x443491,_0x15e277){const _0x5a6f0d=_0x443491['createElement']('footnotesDefinitions',{});return _0x443491['append'](_0x5a6f0d,_0x15e277),this['_footnotesDefinitions']=_0x5a6f0d,_0x5a6f0d;}['_ensureFootnotesDefinitionsContainerExists'](_0x550933){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x10f5d6=this['_footnotes'][0x0]['reference']['root'],_0x257ed9=this['_insertEmptyFootnotesDefinitionsContainer'](_0x550933,_0x10f5d6);for(const _0x3a2d5b of this['_footnotes'])_0x3a2d5b['definition']['parent']||_0x550933['insert'](_0x3a2d5b['definition'],_0x257ed9,'end');this['_updateFootnotesCounters'](_0x550933);}['_handleFootnotesDefinitionsObjectChanges'](_0x5714ca,_0x3b23c6){let _0x132f1d=!0x1;const {inserted:_0x151e66,removed:_0x4a9527,moved:_0x4bc621}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3b23c6);if(_0x4bc621['length']&&(this['_footnotesDefinitions']=_0x4bc621[0x0]),_0x151e66['length']){if(_0x151e66['length']>0x1||this['_footnotesDefinitions']&&_0x151e66['some'](_0x3742bb=>_0x3742bb!==this['_footnotesDefinitions'])){const _0x4dcec0=_0x5714ca['createElement']('footnotesDefinitions',{}),_0x117853=[];this['_footnotesDefinitions']&&_0x117853['push'](this['_footnotesDefinitions']),_0x117853['push'](..._0x151e66),_0x5714ca['insert'](_0x4dcec0,_0x117853[0x0],'before');for(const _0x44e431 of _0x117853)_0x5714ca['move'](_0x5714ca['createRangeIn'](_0x44e431),_0x5714ca['createPositionAt'](_0x4dcec0,'end')),_0x5714ca['remove'](_0x44e431);this['_footnotesDefinitions']=_0x4dcec0,this['_updateFootnotesCounters'](_0x5714ca),_0x132f1d=!0x0;}else this['_footnotesDefinitions']=_0x151e66[0x0];}if(_0x4a9527['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3fa051 of this['_footnotes'])_0x5714ca['remove'](_0x3fa051['reference']),_0x132f1d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x132f1d;}['_handleFootnoteDefinitionsChanges'](_0x380678,_0x40fd22){let _0x4b81f6=!0x1;const _0x1ec67d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3548d5,moved:_0x551b48}=this['_footnoteDefsTracker']['getChanges'](_0x40fd22);for(const _0x3ea8cb of[..._0x551b48,..._0x3548d5]){const _0x5310f5=_0x3ea8cb['getAttribute']('footnoteId'),_0x9a77dc=this['getFootnote'](_0x5310f5);_0x9a77dc&&(_0x9a77dc['definition']=_0x3ea8cb),_(_0x380678,_0x1ec67d,_0x3ea8cb)&&(_0x4b81f6=!0x0);}return _0x4b81f6;}['_handleFootnoteReferencesChanges'](_0x14ad4f,_0x682f81){let _0x46d4b=!0x1;const {removed:_0x327ac0,inserted:_0x493340,moved:_0x41615e}=this['_footnoteRefsTracker']['getChanges'](_0x682f81);for(const _0x439411 of _0x327ac0)this['_handleRemoveFootnoteReferenceById'](_0x14ad4f,_0x439411)&&(_0x46d4b=!0x0);for(const _0x54e1f6 of _0x493340)this['_handleInsertedFootnoteReference'](_0x14ad4f,_0x54e1f6)&&(_0x46d4b=!0x0);for(const _0x5a8b49 of _0x41615e)this['_handleMovedFootnoteReference'](_0x14ad4f,_0x5a8b49)&&(_0x46d4b=!0x0);return _0x46d4b;}['_handleFootnotesDefinitionsObjectSync'](_0xd295e5){if(!this['_footnotesDefinitions'])return!0x1;let _0x2f4825=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5e428c=[];for(const _0x1a0ce8 of this['_footnotesDefinitions']['getChildren']()){const _0x3822f6=_0x1a0ce8['getAttribute']('footnoteId');this['getFootnote'](_0x3822f6)||(_0x5e428c['unshift'](_0x1a0ce8),_0x2f4825=!0x0);}for(const _0x201b96 of _0x5e428c)_0xd295e5['remove'](_0x201b96);}const _0x22bf73=new Set(),_0x5c3057=[];for(const _0x4579b0 of this['_footnotesDefinitions']['getChildren']()){const _0x27a238=_0x4579b0['getAttribute']('footnoteId');_0x22bf73['has'](_0x27a238)?(_0x5c3057['unshift'](_0x4579b0),_0x2f4825=!0x0):_0x22bf73['add'](_0x27a238);}for(const _0x29946b of _0x5c3057)_0xd295e5['remove'](_0x29946b);return this['_footnotesDefinitions']['childCount']||(_0xd295e5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2f4825=!0x0),_0x2f4825;}['_handleInsertedFootnoteReference'](_0x4ab3b2,_0x5c4b56){if(this['_footnotes']['find'](_0x4154e2=>_0x4154e2['reference']===_0x5c4b56))return!0x1;let _0x468d16=!0x1;const _0x1668cd=_0x5c4b56['getAttribute']('footnoteId'),_0xc4bbbe=this['_footnotes']['findIndex'](_0x51d25c=>_0x51d25c['id']===_0x1668cd);-0x1!==_0xc4bbbe&&(_0x4ab3b2['remove'](this['_footnotes'][_0xc4bbbe]['reference']),this['_footnotes']['splice'](_0xc4bbbe,0x1),_0x468d16=!0x0);let _0x448cf7=this['_footnotesDefinitions']?function(_0x168792,_0x3e76e4){for(const _0x3f7548 of _0x168792['getChildren']())if(_0x3f7548['getAttribute']('footnoteId')===_0x3e76e4)return _0x3f7548;return null;}(this['_footnotesDefinitions'],_0x1668cd):null;_0x448cf7||(_0x448cf7=_0x4ab3b2['createElement']('footnoteDefinition',{'footnoteId':_0x1668cd}),this['_footnotesDefinitions']&&(_0x4ab3b2['insert'](_0x448cf7,this['_footnotesDefinitions'],'end'),_0x468d16=!0x0));const _0x596251={'id':_0x1668cd,'reference':_0x5c4b56,'definition':_0x448cf7},_0x8196ec=I(this['editor']['model'],this['_footnotes'],_0x5c4b56);this['_footnotes']['splice'](_0x8196ec,0x0,_0x596251);let _0x2fbd3e=_0x8196ec;return-0x1!==_0xc4bbbe&&(_0x2fbd3e=Math['min'](_0x8196ec,_0xc4bbbe)),this['_updateFootnotesCounters'](_0x4ab3b2,_0x2fbd3e)&&(_0x468d16=!0x0),_0x468d16;}['_handleRemoveFootnoteReferenceById'](_0x5e77e8,_0x438e2e){const _0x122a85=this['_footnotes']['findIndex'](_0x349603=>_0x349603['id']===_0x438e2e);if(-0x1===_0x122a85)return!0x1;let _0x367632=!0x1;const _0x37d557=this['_footnotes'][_0x122a85];return'$graveyard'!==_0x37d557['definition']['root']['rootName']&&(_0x5e77e8['remove'](_0x37d557['definition']),_0x367632=!0x0),this['_footnotes']['splice'](_0x122a85,0x1),this['_updateFootnotesCounters'](_0x5e77e8,_0x122a85)&&(_0x367632=!0x0),_0x367632;}['_handleMovedFootnoteReference'](_0x534bc7,_0x365318){const _0x5a2af6=_0x365318['getAttribute']('footnoteId'),_0x2302c1=this['_footnotes']['findIndex'](_0x525d42=>_0x525d42['id']===_0x5a2af6),_0x243a90=this['_footnotes'][_0x2302c1];let _0x1731b8=!0x1;_0x243a90['reference']=_0x365318,this['_footnotes']['splice'](_0x2302c1,0x1);const _0x2cf894=I(this['editor']['model'],this['_footnotes'],_0x365318);return this['_footnotes']['splice'](_0x2cf894,0x0,_0x243a90),this['_updateFootnotesCounters'](_0x534bc7,Math['min'](_0x2302c1,_0x2cf894))&&(_0x1731b8=!0x0),_0x1731b8;}['_updateFootnoteRefCounter'](_0x97b603,_0x218f62){if(!this['_footnotesDefinitions'])return!0x1;const _0x2907e6=this['_footnotes'][_0x218f62];let _0x648b07;return _0x648b07=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2907e6,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x218f62+0x1}):String(_0x218f62+0x1),_0x2907e6['reference']['getAttribute']('footnoteCounter')!=_0x648b07&&(_0x97b603['setAttribute']('footnoteCounter',_0x648b07,_0x2907e6['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x39bfa0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x21c025,_0x1e80ba){if(_0x21c025['length']!==_0x1e80ba['length'])return!0x1;for(let _0x1be5f5=0x0;_0x1be5f5<_0x21c025['length'];_0x1be5f5++)if(_0x21c025[_0x1be5f5]!==_0x1e80ba[_0x1be5f5])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1067eb=>_0x1067eb['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xc16fa=>_0xc16fa['getAttribute']('footnoteId'))))return!0x1;let _0x58a1b7=!0x1;for(let _0x34f9c8=0x0;_0x34f9c8<this['_footnotes']['length'];_0x34f9c8++){const _0x5f0e60=this['_footnotes'][_0x34f9c8],_0x563c5e=_0x39bfa0['createPositionBefore'](_0x5f0e60['definition']),_0x5ac6c4=_0x39bfa0['createPositionAt'](this['_footnotesDefinitions'],_0x34f9c8);_0x563c5e['isEqual'](_0x5ac6c4)||(_0x39bfa0['move'](_0x39bfa0['createRangeOn'](_0x5f0e60['definition']),_0x5ac6c4),_0x58a1b7=!0x0);}return _0x58a1b7;}['_ensureFootnotesReferencesHaveProperOrder'](_0xbf0e94){if(!this['_footnotes']['length'])return!0x1;const {model:_0x26921a}=this['editor'];let _0x257976=!0x1;for(let _0x5ac170=0x0;_0x5ac170<this['_footnotes']['length']-0x1;_0x5ac170++){const _0x10dbe2=this['_footnotes'][_0x5ac170],_0x3c4b89=this['_footnotes'][_0x5ac170+0x1],_0x482513=_0x26921a['createPositionBefore'](_0x10dbe2['reference']),_0x49fc25=_0x26921a['createPositionBefore'](_0x3c4b89['reference']);'after'===_0x482513['compareWith'](_0x49fc25)&&(this['_handleMovedFootnoteReference'](_0xbf0e94,_0x10dbe2['reference']),_0x5ac170=-0x1,_0x257976=!0x0);}return _0x257976;}}function _(_0x964541,_0x43a1e2,_0x528c1e){if(_0x528c1e['childCount'])return!0x1;const _0x2b9eaa=_0x43a1e2?'paragraph':'footnoteInlineContent';return _0x964541['insert'](_0x964541['createElement'](_0x2b9eaa),_0x528c1e),!0x0;}function I(_0x364ce7,_0x58e0ce,_0x36e109){if(0x0===_0x58e0ce['length'])return 0x0;const _0x4065a3=_0x364ce7['createPositionBefore'](_0x36e109);for(let _0x3402a2=0x0;_0x3402a2<_0x58e0ce['length'];_0x3402a2++){const _0x4e236a=_0x58e0ce[_0x3402a2],_0x576afe=_0x364ce7['createPositionBefore'](_0x4e236a['reference']);if('before'===_0x4065a3['compareWith'](_0x576afe))return _0x3402a2;}const _0xc5f01=_0x36e109['root'];let _0xf1b786=-0x1;for(let _0x2dc972=_0x58e0ce['length']-0x1;_0x2dc972>=0x0;_0x2dc972--)if(_0x58e0ce[_0x2dc972]['reference']['root']===_0xc5f01){_0xf1b786=_0x2dc972;break;}if(-0x1!==_0xf1b786)return _0xf1b786+0x1;const _0x112c31=_0x364ce7['document']['getRootNames'](),_0x55d47e=_0x112c31['indexOf'](_0xc5f01['rootName']),_0x1e10be=_0x112c31[_0x55d47e+0x1];if(_0x1e10be){for(let _0x215f4b=0x0;_0x215f4b<_0x58e0ce['length'];_0x215f4b++)if(_0x58e0ce[_0x215f4b]['reference']['root']['rootName']===_0x1e10be)return _0x215f4b;}return _0x58e0ce['length'];}class h extends _0x49231e{['refresh'](){const _0x58a16b=this['editor']['model']['document']['selection'],_0x24568d=this['_getPositionToInsertFootnote'](_0x58a16b);this['isEnabled']=!!_0x24568d;}['execute'](_0xf51d90){const {editor:_0x53fcb1}=this,{model:_0x470c54}=_0x53fcb1,{selection:_0x174b90}=_0x470c54['document'],_0x537045=this['_getPositionToInsertFootnote'](_0x174b90);if(!_0x537045)return;const _0x34812b=_0x53fcb1['plugins']['get']('FootnotesEditing'),_0x2137f7=_0xf51d90?.['footnoteId']??_0x243e9b();!function(_0x1f52ae){return'string'==typeof _0x1f52ae&&_0x1f52ae['length']>0x0&&!/\s/['test'](_0x1f52ae)&&!/^\d/['test'](_0x1f52ae);}(_0x2137f7)?_0x3c5e13('insert-footnote-command-executed-with-invalid-id'):(_0x470c54['change'](_0x23ae5b=>{const _0x24ade7=_0x23ae5b['createElement']('footnoteRef',{'footnoteId':_0x2137f7});_0x470c54['insertObject'](_0x24ade7,_0x537045,null);}),_0x34812b['_moveSelectionToFootnoteDefinition'](_0x2137f7));}['_getPositionToInsertFootnote'](_0x763408){const {model:_0x535d7e}=this['editor'],{schema:_0x312490}=_0x535d7e,_0x1a4298=_0x763408['getFirstRange']();for(const _0x4f544a of _0x1a4298['getItems']())if(_0x312490['isBlock'](_0x4f544a)||_0x312490['isObject'](_0x4f544a))return null;const _0x3e8b40=_0x1a4298['end'];return _0x312490['checkChild'](_0x3e8b40,'footnoteRef')?_0x3e8b40:null;}}class r extends _0x4fc131{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x38cec2}=this;_0x38cec2['config']['define']('footnotes.multiBlock',!0x0),_0x38cec2['commands']['add']('insertFootnote',new h(_0x38cec2)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4b8ab5){const _0x1e725d=_0x1a20e1([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]),_0x152eb8=0x47a28506,_0x42ffce=0x47a50f6e^_0x152eb8,_0x390ad6=window[_0x1a20e1([0x44,0x61,0x74,0x65])][_0x1a20e1([0x6e,0x6f,0x77])](),_0x3e7e5d=_0x4b8ab5[_0x1a20e1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1761dd=new window[(_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b0d6a=>{_0x3e7e5d[_0x1a20e1([0x6f,0x6e,0x63,0x65])](_0x1a20e1([0x72,0x65,0x61,0x64,0x79]),_0x3b0d6a);}),_0x465ade={[_0x1a20e1([0x6b,0x74,0x79])]:_0x1a20e1([0x45,0x43]),[_0x1a20e1([0x75,0x73,0x65])]:_0x1a20e1([0x73,0x69,0x67]),[_0x1a20e1([0x63,0x72,0x76])]:_0x1a20e1([0x50,0x2d,0x32,0x35,0x36]),[_0x1a20e1([0x78])]:_0x1a20e1([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]),[_0x1a20e1([0x79])]:_0x1a20e1([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]),[_0x1a20e1([0x61,0x6c,0x67])]:_0x1a20e1([0x45,0x53,0x32,0x35,0x36])},_0x516660=_0x3e7e5d[_0x1a20e1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1a20e1([0x67,0x65,0x74])](_0x1a20e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xadd256(){let _0x8aa184,_0x4331e0=null,_0xeb152a=null;try{if(_0x516660==_0x1a20e1([0x47,0x50,0x4c]))return _0x1a20e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8aa184=_0x1ca154(),!_0x8aa184)return _0x1a20e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8aa184[_0x1a20e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xeb152a=_0x1fc862(_0x8aa184[_0x1a20e1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8aa184[_0x1a20e1([0x6a,0x74,0x69])])),await _0x1858a0()?_0x44cef2()?_0x569db4()?_0x1a20e1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x154f22()?(_0x8aa184[_0x1a20e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1a20e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4331e0=_0x3e8c32(_0x1a20e1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34b0ea()):_0x1a20e1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1a20e1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1a20e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1a20e1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x569db4(){const _0x4b0036=[_0x1a20e1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1a20e1([0x74,0x72,0x69,0x61,0x6c])][_0x1a20e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8aa184[_0x1a20e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x390ad6/0x3e8:0xe10*_0x42ffce;return _0x8aa184[_0x1a20e1([0x65,0x78,0x70])]<_0x4b0036;}function _0x44cef2(){const _0x1734fd=_0x8aa184[_0x1a20e1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1734fd&&(!!_0x1734fd[_0x1a20e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a20e1([0x2a]))||!!_0x1734fd[_0x1a20e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a20e1([0x46,0x4f,0x4f])));}function _0x154f22(){const _0x48f3ad=_0x8aa184[_0x1a20e1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48f3ad||0x0==_0x48f3ad[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x485b65}=new URL(window[_0x1a20e1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48f3ad[_0x1a20e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x485b65))return!0x0;const _0x399c95=_0x485b65[_0x1a20e1([0x73,0x70,0x6c,0x69,0x74])](_0x1a20e1([0x2e]));return _0x48f3ad[_0x1a20e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x436ba1=>_0x436ba1[_0x1a20e1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a20e1([0x2a])))[_0x1a20e1([0x6d,0x61,0x70])](_0x1b30d1=>_0x1b30d1[_0x1a20e1([0x73,0x70,0x6c,0x69,0x74])](_0x1a20e1([0x2e])))[_0x1a20e1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d2c9c=>_0x4d2c9c[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x399c95[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a20e1([0x6d,0x61,0x70])](_0x324a05=>Array(_0x399c95[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x324a05[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1a20e1([0x66,0x69,0x6c,0x6c])](_0x324a05[0x0]===_0x1a20e1([0x2a])?_0x1a20e1([0x2a]):'')[_0x1a20e1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x324a05))[_0x1a20e1([0x73,0x6f,0x6d,0x65])](_0x4c194b=>_0x399c95[_0x1a20e1([0x65,0x76,0x65,0x72,0x79])]((_0x562e81,_0x56a29d)=>_0x4c194b[_0x56a29d]===_0x562e81||_0x4c194b[_0x56a29d]===_0x1a20e1([0x2a])));}function _0x34b0ea(){return _0x4331e0&&_0xeb152a?new window[(_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4908a7,_0x405e0e)=>{_0x4331e0[_0x1a20e1([0x74,0x68,0x65,0x6e])](_0x4908a7,_0x405e0e),_0xeb152a[_0x1a20e1([0x74,0x68,0x65,0x6e])](_0x164542=>{_0x164542!=_0x1a20e1([0x56,0x61,0x6c,0x69,0x64])&&_0x4908a7(_0x164542);},_0x405e0e);}):_0x4331e0||_0xeb152a||_0x1a20e1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1fc862(_0x3e00cc,_0x420a78){return new window[(_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fcc1e=>{if(_0x56812f())return _0x3fcc1e(_0x1a20e1([0x56,0x61,0x6c,0x69,0x64]));_0x2573f(),_0x3e7e5d[_0x1a20e1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1a20e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x441b68=!0x1;const _0xecce4a=_0x243e9b();function _0x33a880(_0x2edffc){return!!_0x2edffc&&(typeof _0x2edffc===_0x1a20e1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2edffc===_0x1a20e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2edffc[_0x1a20e1([0x74,0x68,0x65,0x6e])]===_0x1a20e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2edffc[_0x1a20e1([0x63,0x61,0x74,0x63,0x68])]===_0x1a20e1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1da076(_0x54a839){_0x5d768e(_0x54a839)[_0x1a20e1([0x74,0x68,0x65,0x6e])](_0x3ad516=>{if(!_0x3ad516||_0x3ad516[_0x1a20e1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1a20e1([0x6f,0x6b]))return _0x1a20e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4fd005(_0x240395(_0xecce4a+_0x420a78))!=_0x3ad516[_0x1a20e1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1a20e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1a20e1([0x56,0x61,0x6c,0x69,0x64]);})[_0x1a20e1([0x74,0x68,0x65,0x6e])](_0x55e54d=>(_0x2eb174(),_0x55e54d),()=>{const _0x190305=_0x1b55cf();return null==_0x190305?(_0x2eb174(),_0x1a20e1([0x56,0x61,0x6c,0x69,0x64])):_0x1a20e1(_0x390ad6-_0x190305>(0x63ae0106^_0x152eb8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1a20e1([0x74,0x68,0x65,0x6e])](_0x3fcc1e)[_0x1a20e1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fcc1e(_0x1a20e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14a5fd=0x47946b86^_0x152eb8;function _0x2eb174(){const _0x34528b=_0x1a20e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fd005(_0x240395(_0x3e00cc)),_0x30d9be=_0x5a9e7c(_0x4fd005(window[_0x1a20e1([0x4d,0x61,0x74,0x68])][_0x1a20e1([0x63,0x65,0x69,0x6c])](_0x390ad6/_0x14a5fd)));window[_0x1a20e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a20e1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34528b,_0x30d9be);}function _0x1b55cf(){const _0x3702f6=_0x1a20e1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fd005(_0x240395(_0x3e00cc)),_0x232357=window[_0x1a20e1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1a20e1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3702f6);return _0x232357?window[_0x1a20e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a9e7c(_0x232357),0x10)*_0x14a5fd:null;}function _0x5d768e(_0xe3c8fd){return new window[(_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41bcdf,_0x287687)=>{_0xe3c8fd[_0x1a20e1([0x74,0x68,0x65,0x6e])](_0x41bcdf,_0x287687),window[_0x1a20e1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x287687,0x47a351c6^_0x152eb8);});}}_0x3e7e5d[_0x1a20e1([0x6f,0x6e])](_0x1a20e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3bc012,_0x364fc3)=>{if(_0x364fc3[0x0]!=_0x3e00cc)return _0x3fcc1e(_0x1a20e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x364fc3[0x1]={..._0x364fc3[0x1],[_0x1a20e1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xecce4a};},{[_0x1a20e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a20e1([0x68,0x69,0x67,0x68])}),_0x3e7e5d[_0x1a20e1([0x6f,0x6e])](_0x1a20e1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x57e99e=>{_0x33a880(_0x57e99e[_0x1a20e1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x441b68=!0x0,_0x1da076(_0x57e99e[_0x1a20e1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1a20e1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1a20e1([0x6c,0x6f,0x77])}),_0x1761dd[_0x1a20e1([0x74,0x68,0x65,0x6e])](()=>{_0x441b68||_0x3fcc1e(_0x1a20e1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56812f(){return _0x3e7e5d[_0x1a20e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a20e1([0x76,0x69,0x65,0x77])][_0x1a20e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1a20e1([0x61,0x75,0x74,0x6f]);}function _0x2573f(){_0x3e7e5d[_0x1a20e1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1a20e1([0x76,0x69,0x65,0x77])][_0x1a20e1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1a20e1([0x61,0x75,0x74,0x6f]);}}function _0x3e8c32(_0x53e33f){const _0x41e6a0=[new window[(_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f322c=>setTimeout(_0x3f322c,0x47abbbca^_0x152eb8)),_0x1761dd[_0x1a20e1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x316843=>{let _0x4524c9=0x0;_0x3e7e5d[_0x1a20e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a20e1([0x6f,0x6e])](_0x1a20e1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21a05f,_0x52cc7f)=>{_0x52cc7f[0x0][_0x1a20e1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4524c9++,_0x4524c9==(0x47a280ee^_0x152eb8)&&(_0x316843(),_0x21a05f[_0x1a20e1([0x6f,0x66,0x66])]());});}))];return window[_0x1a20e1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1a20e1([0x72,0x61,0x63,0x65])](_0x41e6a0)[_0x1a20e1([0x74,0x68,0x65,0x6e])](()=>_0x53e33f);}async function _0x15d231(){await _0x1761dd,_0x3e7e5d[_0x1a20e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a20e1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x378f5e,_0x3e7e5d[_0x1a20e1([0x6d,0x6f,0x64,0x65,0x6c])][_0x1a20e1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x378f5e,_0x3e7e5d[_0x1a20e1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1a20e1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2640d1(_0x3a9e82){const _0xec7fcc=_0x57c601();_0x3e7e5d[_0xec7fcc]=_0x1a20e1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a9e82,_0x3a9e82!=_0x1a20e1([0x56,0x61,0x6c,0x69,0x64])&&_0x15d231();}function _0x57c601(){const _0x275806=window[_0x1a20e1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1a20e1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1a20e1([0x6e,0x6f,0x77])]())[_0x1a20e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1a20e1([0x2e]),'');let _0xf58222=_0x1a20e1([0x75]);for(let _0x16fc5c=0x0;_0x16fc5c<_0x275806[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16fc5c+=0x2){let _0x158a5f=window[_0x1a20e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x275806[_0x1a20e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16fc5c,_0x16fc5c+0x2));_0x158a5f>=_0x1e725d[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x158a5f-=_0x1e725d[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf58222+=_0x1e725d[_0x158a5f];}return _0xf58222;}function _0x1ca154(){const _0x587886=_0x516660[_0x1a20e1([0x73,0x70,0x6c,0x69,0x74])](_0x1a20e1([0x2e]));if(0x3!=_0x587886[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x7aa0f9(_0x587886[0x1]);function _0x7aa0f9(_0x259462){const _0x125fc0=_0x5a84ed(_0x259462);return _0x125fc0&&_0x23c2a0()?_0x125fc0:null;function _0x23c2a0(){const _0x3847db=_0x125fc0[_0x1a20e1([0x6a,0x74,0x69])],_0x4aa7f5=window[_0x1a20e1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3847db[_0x1a20e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3847db[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x296d9f={..._0x125fc0,[_0x1a20e1([0x6a,0x74,0x69])]:_0x3847db[_0x1a20e1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3847db[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x296d9f[_0x1a20e1([0x76,0x63])],_0x240395(_0x296d9f)==_0x4aa7f5;}}}async function _0x1858a0(){let _0x6a4c4b=!0x0;try{const _0x13a445=_0x516660[_0x1a20e1([0x73,0x70,0x6c,0x69,0x74])](_0x1a20e1([0x2e])),[_0x265dea,_0x237787,_0xff084f]=_0x13a445;return _0x6f1894(_0x265dea),await _0x1defeb(_0x265dea,_0x237787,_0xff084f),_0x6a4c4b;}catch{return!0x1;}function _0x6f1894(_0x3454df){const _0x3f9689=_0x5a84ed(_0x3454df);_0x3f9689&&_0x3f9689[_0x1a20e1([0x61,0x6c,0x67])]==_0x1a20e1([0x45,0x53,0x32,0x35,0x36])||(_0x6a4c4b=!0x1);}async function _0x1defeb(_0x3eb203,_0xfb9ef2,_0xd5d13d){const _0x3ce4df=window[_0x1a20e1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1a20e1([0x66,0x72,0x6f,0x6d])](_0x7717e6(_0xd5d13d),_0x3f5dc9=>_0x3f5dc9[_0x1a20e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d08b0=new window[(_0x1a20e1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1a20e1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3eb203+_0x1a20e1([0x2e])+_0xfb9ef2),_0x3730c5=window[_0x1a20e1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1a20e1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3730c5)return;const _0xd5134e=await _0x3730c5[_0x1a20e1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1a20e1([0x6a,0x77,0x6b]),_0x465ade,{[_0x1a20e1([0x6e,0x61,0x6d,0x65])]:_0x1a20e1([0x45,0x43,0x44,0x53,0x41]),[_0x1a20e1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1a20e1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1a20e1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3730c5[_0x1a20e1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1a20e1([0x6e,0x61,0x6d,0x65])]:_0x1a20e1([0x45,0x43,0x44,0x53,0x41]),[_0x1a20e1([0x68,0x61,0x73,0x68])]:{[_0x1a20e1([0x6e,0x61,0x6d,0x65])]:_0x1a20e1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd5134e,_0x3ce4df,_0x1d08b0)||(_0x6a4c4b=!0x1);}}function _0x5a84ed(_0x88165){return _0x88165[_0x1a20e1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1a20e1([0x65,0x79]))?JSON[_0x1a20e1([0x70,0x61,0x72,0x73,0x65])](_0x7717e6(_0x88165)):null;}function _0x7717e6(_0x596369){return window[_0x1a20e1([0x61,0x74,0x6f,0x62])](_0x596369[_0x1a20e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1a20e1([0x2b]))[_0x1a20e1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1a20e1([0x2f])));}function _0x240395(_0x1bf672){let _0x3b81f2=0x1505;function _0x665275(_0x228208){for(let _0x4c1f5a=0x0;_0x4c1f5a<_0x228208[_0x1a20e1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c1f5a++){const _0x2288a6=_0x228208[_0x1a20e1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c1f5a);_0x3b81f2=(_0x3b81f2<<0x5)+_0x3b81f2+_0x2288a6,_0x3b81f2&=_0x3b81f2;}}function _0x585064(_0x5cba47){Array[_0x1a20e1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5cba47)?_0x5cba47[_0x1a20e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x585064):_0x5cba47&&typeof _0x5cba47==_0x1a20e1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1a20e1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5cba47)[_0x1a20e1([0x73,0x6f,0x72,0x74])]()[_0x1a20e1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a66c7,_0x5a55a9])=>{_0x665275(_0x2a66c7),_0x585064(_0x5a55a9);}):_0x665275(window[_0x1a20e1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5cba47));}return _0x585064(_0x1bf672),_0x3b81f2>>>0x0;}function _0x4fd005(_0x688606){return _0x688606[_0x1a20e1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1a20e1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1a20e1([0x30]));}function _0x5a9e7c(_0x29496d){return _0x29496d[_0x1a20e1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1a20e1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1a20e1([0x6a,0x6f,0x69,0x6e])]('');}function _0x378f5e(){}function _0x1a20e1(_0x4fe7a3){return _0x4fe7a3['map'](_0x5e3721=>String['fromCharCode'](_0x5e3721))['join']('');}_0x2640d1(await _0xadd256());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1d0764){const {plugins:_0xa5e1b5,editing:_0x560065,model:_0x175dae}=this['editor'],_0x525131=_0xa5e1b5['get'](f)['getFootnote'](_0x1d0764);return!!_0x525131&&(_0x175dae['change'](_0x1def13=>{_0x1def13['setSelection'](_0x1def13['createPositionAt'](_0x525131['definition'],'end'));}),_0x560065['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5d2060){const {plugins:_0xee602a,editing:_0x4ac9c5,model:_0x10dfd5}=this['editor'],_0x5eae6d=_0xee602a['get'](f)['getFootnote'](_0x5d2060);return!!_0x5eae6d&&(_0x10dfd5['change'](_0x4d2782=>{_0x4d2782['setSelection'](_0x5eae6d['reference'],'on');}),_0x4ac9c5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5ee1e2}=this['editor']['model'],_0x69a927=this['editor']['config']['get']('footnotes.multiBlock');_0x5ee1e2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5ee1e2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5ee1e2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x69a927?_0x5ee1e2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5ee1e2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5ee1e2['addChildCheck'](_0x255f65=>{for(const _0x4ab9f3 of _0x255f65)if('footnoteDefinition'===_0x4ab9f3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x280816}=this,{conversion:_0x56a1cb,editing:_0x50a5e4}=_0x280816,{t:t}=_0x280816['locale'];_0x56a1cb['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3553a3,{writer:_0x536335,consumable:_0x9add23})=>{const _0x29a6dd=_0x3553a3['getChild'](0x0);if(!_0x29a6dd||!_0x29a6dd['is']('element','a'))return null;const _0x53f3d3=_0x29a6dd['getAttribute']('href')||'';if(!_0x53f3d3['startsWith']('#'))return null;const _0x25986a=_0x53f3d3['replace'](/^#/,'');if(!_0x25986a)return null;_0x9add23['consume'](_0x29a6dd,{'name':!0x0,'attributes':['href']});for(const {item:_0x5f1db8}of _0x50a5e4['view']['createRangeIn'](_0x29a6dd))_0x5f1db8['is']('$textProxy')?_0x9add23['consume'](_0x5f1db8['textNode'],{'name':!0x0}):_0x5f1db8['is']('element')&&_0x9add23['consume'](_0x5f1db8,{'name':!0x0});return _0x536335['createElement']('footnoteRef',{'footnoteId':_0x25986a});}}),_0x56a1cb['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x56fb3f,{writer:_0x527f38})=>b(_0x56fb3f,_0x527f38)}),_0x56a1cb['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5964d2,{writer:_0x52c815})=>{const _0x13a3be=_0x5964d2['getAttribute']('footnoteCounter');return _0x6dea39(b(_0x5964d2,_0x52c815),_0x52c815,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x13a3be)});}});}['_defineDefinitionsConverters'](){const {editor:_0x462530}=this,{t:t}=_0x462530['locale'],{conversion:_0x48421a}=_0x462530;_0x48421a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x48421a['for']('upcast')['add'](_0x3ee859=>{_0x3ee859['on']('element:ol',(_0x568988,_0x55281c,_0x361b63)=>{const _0x12220b=_0x55281c['viewItem'];if(!_0x12220b['hasClass']('footnotes-list')||!_0x55281c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x361b63['consumable']['consume'](_0x12220b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5640ea,modelCursor:_0x373431}=_0x361b63['convertChildren'](_0x55281c['viewItem'],_0x55281c['modelCursor']);_0x55281c['modelRange']=_0x5640ea,_0x55281c['modelCursor']=_0x373431;}),_0x3ee859['on']('element:hr',(_0x43fce4,_0x46c9b6,_0x58cef6)=>{const _0x8f1289=_0x46c9b6['viewItem'];_0x8f1289['hasClass']('footnotes-divider')&&_0x46c9b6['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x58cef6['consumable']['consume'](_0x8f1289,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x48421a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e5ec1,{writer:_0x584d57})=>D(_0x584d57)}),_0x48421a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x495c03,{writer:_0x582950})=>{const _0x866b21=D(_0x582950,{'data-footnotes-list-label':t('Footnotes')}),_0x3e85dc=_0x6dea39(_0x866b21,_0x582950,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x582950['setCustomProperty']('footnotesDefinitions',!0x0,_0x3e85dc),_0x3e85dc;}});}['_defineDefinitionConverters'](){const {editor:_0x1a89a9}=this,{conversion:_0x71470a,locale:_0x5bb3bb}=_0x1a89a9,_0x127444=_0x1a89a9['config']['get']('footnotes.multiBlock');_0x71470a['for']('upcast')['add'](_0xd1cc43=>{_0xd1cc43['on']('element:li',(_0xb45cc2,_0x2923ce,_0xfca3a4)=>{const _0x354adf=_0x2923ce['viewItem'];if(!_0x354adf['hasClass']('footnote-definition')||!_0x354adf['getAttribute']('id'))return;const _0x2eeeb7=_0x354adf['parent'];if(!_0x2eeeb7['is']('element','ol')||!_0x2eeeb7['hasClass']('footnotes-list'))return;if(!_0xfca3a4['consumable']['test'](_0x354adf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x311960=_0xfca3a4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x354adf['getAttribute']('id')});if(!_0xfca3a4['safeInsert'](_0x311960,_0x2923ce['modelCursor']))return;_0xfca3a4['consumable']['consume'](_0x354adf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x38ef5b=Array['from'](_0x354adf['getChildren']())['find'](_0x1711ed=>_0x1711ed['is']('element')&&_0x1711ed['hasClass']('footnote-content'));for(const _0x38de53 of _0x354adf['getChildren']())_0x38de53['is']('element')&&(_0xfca3a4['consumable']['consume'](_0x38de53,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xfca3a4['consumable']['consume'](_0x38de53,{'name':!0x0,'classes':'footnote-content'}));if(_0x38ef5b){if(_0x127444)_0xfca3a4['convertChildren'](_0x38ef5b,_0x311960);else{const _0xf6240d=_0xfca3a4['writer']['createElement']('footnoteInlineContent');_0xfca3a4['writer']['insert'](_0xf6240d,_0x311960),_0xfca3a4['convertChildren'](_0x38ef5b,_0xf6240d);}}_0xfca3a4['updateConversionResult'](_0x311960,_0x2923ce);});}),_0x71470a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d6bdf,{writer:_0x50f122})=>y(_0x2d6bdf,_0x50f122,_0x5bb3bb,{'dataPipeline':!0x0})}),_0x71470a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xcf1331,{writer:_0x1624ae})=>y(_0xcf1331,_0x1624ae,_0x5bb3bb)});}['_defineBogusParagraphConverters'](){const {editor:_0x11ec41}=this,{conversion:_0x40dfc7}=_0x11ec41;_0x11ec41['config']['get']('footnotes.multiBlock')?(_0x40dfc7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x40dfc7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x11ec41['model']['document'],'change:data',()=>{!function(_0x1a09c2,_0x3c3ba4){const _0x13f2e0=_0x1a09c2['document']['differ'],_0x5f3519=new Set();for(const _0x4b19f3 of _0x13f2e0['getChanges']()){const _0x35a92f='attribute'==_0x4b19f3['type']?_0x4b19f3['range']['start']['parent']:_0x4b19f3['position']['parent'];_0x35a92f['is']('element','footnoteDefinition')&&_0x5f3519['add'](_0x35a92f);}for(const _0x1ad533 of _0x5f3519['values']()){const _0x58a274=Array['from'](_0x1ad533['getChildren']())['filter'](_0x423dd5=>v(_0x423dd5,_0x3c3ba4['mapper']));for(const _0x1d178f of _0x58a274)_0x3c3ba4['reconvertItem'](_0x1d178f);}}(_0x11ec41['model'],_0x11ec41['editing']);})):(_0x40dfc7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x40dfc7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x9614a1,{writer:_0xeb804})=>{const _0x2798be=_0xeb804['createContainerElement']('span');return _0xeb804['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2798be),_0x2798be;}}));}['_defineKeyboardHandlers'](){const {editor:_0x339597}=this,{editing:_0x17f558,t:t}=_0x339597,_0x1254a6=_0x339597['model']['document']['selection'];_0x339597['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x339597['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x17f558['view']['document'],'enter',(_0x54a020,_0x1c8e03)=>{const _0x2560b9=function(_0x59a0bf){const _0x7261eb=_0x59a0bf['getSelectedElement']();if(_0x7261eb?.['is']('element','footnoteRef'))return _0x7261eb;return null;}(_0x1254a6);if(_0x2560b9){const _0x1875fc=_0x2560b9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1875fc),_0x1c8e03['preventDefault'](),_0x54a020['stop']();}},{'context':_0x51fd9c});}['_defineClickHandlers'](){const {editor:_0x9807c2}=this,{editing:_0x34188}=_0x9807c2;_0x9807c2['editing']['view']['addObserver'](_0x21a1b6),_0x9807c2['editing']['view']['addObserver'](_0x4110ad);let _0x587410=!0x1;this['listenTo'](_0x34188['view']['document'],'pointerdown',(_0x9ca67d,_0x42791b)=>{const {target:_0x539158}=_0x42791b,_0x1523f5=_0x34188['view']['document']['selection'];_0x587410=!!(_0x539158?.['is']('element','a')&&_0x539158['parent']?.['is']('element','sup')&&_0x539158['parent']['hasClass']('footnote'))&&_0x1523f5['getSelectedElement']()===_0x539158['parent'];},{'priority':'high'}),this['listenTo'](_0x34188['view']['document'],'click',(_0x5061aa,_0x2a3c8e)=>{const {target:_0x1cacc6}=_0x2a3c8e;if(!_0x1cacc6?.['is']('element','a'))return;if(_0x1cacc6['parent']?.['is']('element','sup')&&_0x1cacc6['parent']['hasClass']('footnote')&&!_0x587410)return void _0x2a3c8e['preventDefault']();let _0x34440f=_0x1cacc6['getAttribute']('href');if(!_0x34440f?.['startsWith']('#'))return;_0x34440f=_0x34440f['slice'](0x1);let _0x5287c4=!0x1;(_0x34440f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x34440f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x34440f))&&(_0x5287c4=!0x0),_0x5287c4&&(_0x2a3c8e['preventDefault'](),_0x5061aa['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2b80ba}={}){return(_0x1ece89,{writer:_0x5b9d62})=>{if(!g(_0x1ece89))return null;if(!_0x2b80ba)return _0x5b9d62['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4b620d=_0x5b9d62['createContainerElement']('p');return _0x5b9d62['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4b620d),_0x4b620d;};}function g(_0x499228){const {parent:_0x4fda13}=_0x499228;if(!_0x4fda13?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4fda13['childCount'])return!0x1;for(const _0x326f27 of _0x499228['getAttributeKeys']())if(!_0x326f27['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x326f27)return!0x1;return!0x0;}function v(_0x456b25,_0x3afa85){if(!_0x456b25['is']('element','paragraph'))return!0x1;const _0x390d5a=_0x3afa85['toViewElement'](_0x456b25);return!!_0x390d5a&&g(_0x456b25)!==_0x390d5a['is']('element','span');}function Q(_0x1803c1){return _0x51fd9c(_0x1803c1)&&_0x1803c1['is']('containerElement')&&!!_0x1803c1['getCustomProperty']('footnotesDefinitions');}function D(_0x1889ca,_0x5144a8={}){const _0x1e9550=_0x1889ca['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x35accf=_0x1889ca['createContainerElement']('ol',{'class':'footnotes-list'},_0x1889ca['createSlot']());return _0x1889ca['createContainerElement']('div',{'class':'footnotes',..._0x5144a8},[_0x1e9550,_0x35accf]);}function b(_0x7991dd,_0x2ec7ec){const _0x45d491=_0x7991dd['getAttribute']('footnoteId'),_0x4c5b5c=_0x7991dd['getAttribute']('footnoteCounter'),_0x4da445=_0x2ec7ec['createUIElement']('a',{'href':'#'+_0x45d491},function(_0x1414f3){const _0x38f566=this['toDomElement'](_0x1414f3);return _0x38f566['textContent']=_0x4c5b5c,_0x38f566;}),_0x4dc573=_0x2ec7ec['createContainerElement']('sup',{'id':'ref-'+_0x45d491,'class':'footnote'},[_0x4da445]);return _0x4dc573['getFillerOffset']=()=>null,_0x4dc573;}function y(_0x9ee281,_0x2aac55,_0x591999,{dataPipeline:_0x2971da}={}){const {t:t}=_0x591999,_0xcafe55=_0x9ee281['getAttribute']('footnoteId'),_0x435ffc=_0x2aac55['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xcafe55},function(_0x310e43){const _0x103a9c=this['toDomElement'](_0x310e43);return _0x103a9c['innerText']='^',_0x103a9c;}),_0x1b63b3=_0x2971da?_0x2aac55['createContainerElement']('div',{'class':'footnote-content'}):_0xad0cde(_0x2aac55['createEditableElement']('div',{'class':'footnote-content'}),_0x2aac55,{'label':t('Footnote\x20content.')});return _0x2aac55['insert'](_0x2aac55['createPositionAt'](_0x1b63b3,0x0),_0x2aac55['createSlot']()),_0x2aac55['createContainerElement']('li',{'class':'footnote-definition','id':_0xcafe55},[_0x435ffc,_0x1b63b3]);}class e extends _0x4fc131{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3a748a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x46b66f}=this,{plugins:_0x58f75d,model:_0x1c5ac8}=_0x46b66f,_0x228bc5=_0x58f75d['get'](_0x3a748a),_0x9a7b75=_0x58f75d['get'](f);this['listenTo'](_0x228bc5,'outputTransformation',(_0x47631c,_0x32957b)=>{const _0x210542=l(_0x1c5ac8['createRangeIn'](_0x32957b['content']));if(!_0x210542['length'])return;const _0xe82d9d=_0x9a7b75['getFootnotes'](),_0x25794a=_0x210542['reduce']((_0x58d7ac,_0x5bde3f)=>{const _0x56a91d=_0xe82d9d['find'](_0x9991b7=>_0x9991b7['id']===_0x5bde3f);if(_0x56a91d){const _0x4a493b=_0x46b66f['data']['toView'](_0x56a91d['definition'],{'isClipboardPipeline':!0x0}),_0x320805=_0x46b66f['data']['htmlProcessor']['toData'](_0x4a493b);_0x58d7ac[_0x56a91d['id']]=_0x320805;}return _0x58d7ac;},Object['create'](null));_0x32957b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x25794a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x159acc}=this,{model:_0x43095f,plugins:_0x1c3d95}=_0x159acc,{view:_0x4987d1}=_0x159acc['editing'],_0x2e8449=_0x1c3d95['get'](_0x3a748a),_0x435db1=_0x1c3d95['get'](f),_0x3b6a25=_0x159acc['config']['get']('footnotes.multiBlock');let _0x190ade=null;this['listenTo'](_0x4987d1['document'],'clipboardInput',(_0x2076d4,_0x33af9f)=>{const _0x3f2c0e=_0x33af9f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x190ade=_0x3f2c0e?JSON['parse'](_0x3f2c0e):null;}),this['listenTo'](_0x2e8449,'contentInsertion',(_0x21cb02,_0x1b3d5b)=>{const _0x477333=_0x1b3d5b['sourceEditorId']===this['editor']['id'];_0x477333&&'drop'===_0x1b3d5b['method']||_0x43095f['change'](_0x141049=>{let _0x10b585=_0x435db1['getFootnotesDefinitionsObjectElement']();const _0x7c835e=!!_0x10b585&&Array['from'](_0x43095f['document']['selection']['getSelectedBlocks']())['includes'](_0x10b585);if(!_0x190ade&&function(_0x300d35){for(const {item:_0x241a22}of _0x300d35)if(_0x241a22['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x43095f['createRangeIn'](_0x1b3d5b['content']))&&(_0x190ade=function(_0x41609f,_0x245a4d){const _0x285436=c(_0x41609f,_0x245a4d);if(!_0x285436)return null;const _0x2c5459=Object['create'](null);for(const _0x50eb79 of _0x285436['getChildren']())_0x50eb79['is']('element','footnoteDefinition')&&_0x50eb79['hasAttribute']('footnoteId')&&(_0x2c5459[_0x50eb79['getAttribute']('footnoteId')]=_0x41609f['cloneElement'](_0x50eb79,!0x0));return Object['keys'](_0x2c5459)['length']?_0x2c5459:null;}(_0x141049,_0x1b3d5b['content'])),(_0x10b585&&!_0x7c835e||!_0x10b585&&!_0x190ade)&&function(_0x78da20,_0x4185ef){const _0x1f9bb3=[];for(const {item:_0x22c143}of _0x78da20['createRangeIn'](_0x4185ef))_0x22c143['is']('element','footnotesDefinitions')&&_0x1f9bb3['push'](_0x22c143);for(const _0x1492fc of _0x1f9bb3)_0x78da20['remove'](_0x1492fc);}(_0x141049,_0x1b3d5b['content']),!_0x190ade)return;const {selection:_0x542d68}=_0x43095f['document'],_0x13e45d=_0x542d68['getFirstRange']()['root'];_0x10b585&&!_0x7c835e||(_0x10b585=c(_0x141049,_0x1b3d5b['content']),_0x10b585||=_0x435db1['_insertEmptyFootnotesDefinitionsContainer'](_0x141049,_0x13e45d));const _0x1f9961=Array['from'](_0x542d68['getRanges']())['flatMap'](l),_0x5ddad4=function(_0x947166,_0x14ec29,_0x1daa19){const _0x171ef4=Object['create'](null);for(const {item:_0x1371dd}of _0x947166['createRangeIn'](_0x14ec29))if(_0x1371dd['is']('element','footnoteRef')){const _0x511d19=_0x1371dd['getAttribute']('footnoteId');if(!_0x1daa19(_0x511d19))continue;_0x171ef4[_0x511d19]||(_0x171ef4[_0x511d19]=_0x243e9b()),_0x947166['setAttribute']('footnoteId',_0x171ef4[_0x511d19],_0x1371dd);}return _0x171ef4;}(_0x141049,_0x1b3d5b['content'],_0x2c1439=>{if(!_0x477333)return!0x0;return!!_0x435db1['getFootnote'](_0x2c1439)&&!_0x1f9961['includes'](_0x2c1439);});for(const [_0x7b2b65,_0xb34590]of Object['entries'](_0x190ade)){const _0x15509d=_0x5ddad4[_0x7b2b65]||_0x7b2b65;let _0x1e795c;if('string'!=typeof _0xb34590)_0x1e795c=_0xb34590,_0x15509d!==_0x7b2b65&&_0x141049['setAttribute']('footnoteId',_0x15509d,_0x1e795c);else{_0x1e795c=_0x141049['createElement']('footnoteDefinition',{'footnoteId':_0x15509d});const _0x357036=_0x159acc['data']['htmlProcessor']['toView'](_0xb34590);let _0x6a4a4e;if(_0x3b6a25)_0x6a4a4e=_0x159acc['data']['toModel'](_0x357036,_0x1e795c);else{_0x6a4a4e=_0x141049['createElement']('footnoteInlineContent');const _0x3a7d0a=_0x159acc['data']['toModel'](_0x357036,_0x6a4a4e);_0x141049['insert'](_0x3a7d0a,_0x6a4a4e);}_0x141049['append'](_0x6a4a4e,_0x1e795c);}_0x141049['insert'](_0x1e795c,_0x10b585,'end');}_0x190ade=null;});});}}function c(_0x36ba52,_0x751a4e){for(const {item:_0x21b8c0}of _0x36ba52['createRangeIn'](_0x751a4e))if(_0x21b8c0['is']('element','footnotesDefinitions'))return _0x21b8c0;return null;}function l(_0x490f6e){const _0x959c39=new Set();for(const {item:_0x733d5d}of _0x490f6e)_0x733d5d['is']('element','footnoteRef')&&_0x959c39['add'](_0x733d5d['getAttribute']('footnoteId'));return Array['from'](_0x959c39);}class i extends _0x4fc131{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2521b7}=this,{componentFactory:_0xd97081}=_0x2521b7['ui'];_0xd97081['add']('insertFootnote',E(_0x2521b7,_0x8e371f)),_0xd97081['add']('menuBar:insertFootnote',E(_0x2521b7,_0x5a2cd9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x228ad0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfa11a3;for(const _0x5e93c5 in _0x228ad0){const _0x1e5f7b=_0x5e93c5,_0x15d18b=_0x228ad0[_0x1e5f7b];if('footnotesLicenseKeyValid'==_0x15d18b||'footnotesLicenseKeyInvalid'==_0x15d18b||'footnotesLicenseKeyExpired'==_0x15d18b||'footnotesLicenseKeyDomainLimit'==_0x15d18b||'footnotesLicenseKeyNotAllowed'==_0x15d18b||'footnotesLicenseKeyEvaluationLimit'==_0x15d18b||'footnotesLicenseKeyUsageLimit'==_0x15d18b){delete _0x228ad0[_0x1e5f7b],_0xfa11a3=_0x15d18b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xfa11a3&&_0x228ad0['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xfa11a3&&_0x228ad0['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xfa11a3&&_0x228ad0['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xfa11a3&&_0x228ad0['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xfa11a3&&_0x228ad0['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xfa11a3&&_0x228ad0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3d4e37,_0xb7c980){const _0x2258d8=_0x3d4e37['commands']['get']('insertFootnote');return _0x49d264=>{const {t:t}=_0x49d264,_0x2ddc5d=new _0xb7c980(_0x49d264),_0x6f6873=_0x2ddc5d instanceof _0x5a2cd9;return _0x2ddc5d['bind']('isEnabled')['to'](_0x2258d8,'isEnabled'),_0x2ddc5d['set']({'label':t(_0x6f6873?'Footnote':'Insert\x20footnote'),'icon':_0x37a0a9,'tooltip':!0x0}),_0x2ddc5d['on']('execute',()=>{_0x2258d8['execute'](),_0x3d4e37['editing']['view']['focus']();}),_0x2ddc5d;};}class Footnotes extends _0x4fc131{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 _0x49231e{['refresh'](){const {editor:_0x20decb}=this,_0x997140=_0x20decb['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x997140,this['value']=_0x997140?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2ab2e0}){const {editor:_0x2dc703}=this,_0xd6048e=_0x2dc703['plugins']['get'](f),_0x20d3c7=_0xd6048e['getFootnotesDefinitionsObjectElement']();_0x20d3c7&&W['includes'](_0x2ab2e0)&&_0x2dc703['model']['change'](_0x4b06f1=>{_0x4b06f1['setAttribute']('footnotesListStyle',_0x2ab2e0,_0x20d3c7),_0xd6048e['_updateFootnotesCounters'](_0x4b06f1);});}}class C extends _0x49231e{['refresh'](){const {editor:_0x47f3e9}=this,_0x117924=_0x47f3e9['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x117924,this['value']=_0x117924?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x569d8e}){const {editor:_0x35e4f9}=this,_0x1ba1b5=_0x35e4f9['plugins']['get'](f),_0x301214=_0x1ba1b5['getFootnotesDefinitionsObjectElement']();_0x301214&&Number['isInteger'](_0x569d8e)&&_0x35e4f9['model']['change'](_0x305bd2=>{_0x305bd2['setAttribute']('footnotesListStart',_0x569d8e,_0x301214),_0x1ba1b5['_updateFootnotesCounters'](_0x305bd2);});}}class P extends _0x4fc131{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58d8d1}=this;_0x58d8d1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x58d8d1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x58d8d1['commands']['add']('footnotesStyle',new S(_0x58d8d1)),_0x58d8d1['commands']['add']('footnotesStart',new C(_0x58d8d1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x157e52}=this,{schema:_0x17b939}=_0x157e52['model'];_0x17b939['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x12d893}=this,{conversion:_0x4d3e3c,model:_0x4cf4e5}=_0x12d893,{schema:_0x525d58}=_0x4cf4e5;_0x4d3e3c['for']('upcast')['add'](_0x52a405=>{_0x52a405['on']('element:ol',(_0x1c973a,_0x4297ff,_0x158951)=>{const _0x2d727e=_0x4297ff['viewItem'],_0x1cb413=_0x4297ff['modelCursor']?.['parent'];_0x2d727e['hasClass']('footnotes-list')&&_0x1cb413?.['is']('element','footnotesDefinitions')&&(function(_0x3f7f78,_0x161d2a,_0xdec999,_0x1e9721){if(!_0x1e9721['checkAttribute'](_0x161d2a,'footnotesListStart'))return;let _0x23c9c9=0x1;const _0xdbcde8=_0xdec999['consumable']['consume'](_0x3f7f78,{'attributes':'start'});if(_0xdbcde8){const _0x231a2a=Number['parseInt'](_0x3f7f78['getAttribute']('start'),0xa);Number['isNaN'](_0x231a2a)||(_0x23c9c9=_0x231a2a);}!_0xdbcde8&&_0x161d2a['hasAttribute']('footnotesListStart')||_0xdec999['writer']['setAttribute']('footnotesListStart',_0x23c9c9,_0x161d2a);}(_0x2d727e,_0x1cb413,_0x158951,_0x525d58),function(_0x1db115,_0x3b5996,_0x1569b4,_0x53fba4){if(!_0x53fba4['checkAttribute'](_0x3b5996,'footnotesListStyle'))return;let _0x2cddc9='decimal',_0x3436bc=!0x1;if(_0x1569b4['consumable']['consume'](_0x1db115,{'attributes':'type'})){const _0x570695={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1db115['getAttribute']('type')];_0x570695&&(_0x2cddc9=_0x570695),_0x3436bc=!0x0;}_0x1569b4['consumable']['consume'](_0x1db115,{'styles':'list-style-type'})&&(_0x2cddc9=function(_0x184295){switch(_0x184295){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x184295;}}(_0x1db115['getStyle']('list-style-type')),_0x3436bc=!0x0),!_0x3436bc&&_0x3b5996['hasAttribute']('footnotesListStyle')||_0x1569b4['writer']['setAttribute']('footnotesListStyle',_0x2cddc9,_0x3b5996);}(_0x2d727e,_0x1cb413,_0x158951,_0x525d58));});}),_0x4d3e3c['for']('downcast')['add'](_0xa005a0=>{_0xa005a0['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5a1cbb,_0x1b582b,_0xe89553)=>{if(!_0xe89553['consumable']['consume'](_0x1b582b['item'],_0x5a1cbb['name']))return;const _0x5364cb=M(_0x1b582b['item'],_0xe89553['mapper']),{attributeNewValue:_0x3e05ee}=_0x1b582b;null==_0x3e05ee||0x1===_0x3e05ee?_0xe89553['writer']['removeAttribute']('start',_0x5364cb):_0xe89553['writer']['setAttribute']('start',String(_0x3e05ee),_0x5364cb);}),_0xa005a0['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x45afce,_0x339ab1,_0x289350)=>{if(!_0x289350['consumable']['consume'](_0x339ab1['item'],_0x45afce['name']))return;const _0x33e267=M(_0x339ab1['item'],_0x289350['mapper']),{attributeNewValue:_0xe576c3}=_0x339ab1;_0xe576c3&&'decimal'!==_0xe576c3?_0x289350['writer']['setStyle']('list-style-type',_0xe576c3,_0x33e267):_0x289350['writer']['removeStyle']('list-style-type',_0x33e267);});});}['_definePostfixer'](){const {editor:_0x52b91c}=this,{model:_0x62e472}=_0x52b91c,_0x557e02=_0x52b91c['plugins']['get'](f),_0x2aa95e=this['_getDefaultListStyle'](),_0x128420=this['_getDefaultStartIndex']();_0x62e472['document']['registerPostFixer'](_0xcab2bf=>{const _0x45e55a=_0x62e472['document']['differ']['getChanges']();let _0x421678=!0x1;for(const _0x4ad156 of _0x45e55a){if('insert'!==_0x4ad156['type']||'$text'===_0x4ad156['name'])continue;const _0x324daf=_0x62e472['createRangeOn'](_0x4ad156['position']['nodeAfter']);for(const _0x59daa6 of _0x324daf['getItems']())_0x59daa6['is']('element','footnotesDefinitions')&&(!_0x59daa6['hasAttribute']('footnotesListStart')&&_0x62e472['schema']['checkAttribute'](_0x59daa6,'footnotesListStart')&&(_0xcab2bf['setAttribute']('footnotesListStart',_0x128420,_0x59daa6),_0x421678=!0x0),!_0x59daa6['hasAttribute']('footnotesListStyle')&&_0x62e472['schema']['checkAttribute'](_0x59daa6,'footnotesListStyle')&&(_0xcab2bf['setAttribute']('footnotesListStyle',_0x2aa95e,_0x59daa6),_0x421678=!0x0));}return _0x421678&&_0x557e02['_updateFootnotesCounters'](_0xcab2bf),_0x421678;});}['_defineFormatter'](){const {editor:_0x5df90f}=this;_0x5df90f['plugins']['get'](f)['setFootnoteFormatter'](_0xd25c9a=>this['_formatFootnoteListValue'](_0xd25c9a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5e2676,value:_0x3c25d9,digits:_0x3481ed}){const _0x45763c=_0x5e2676['getAttribute']('footnotesListStyle'),_0x3e9840=_0x5e2676['getAttribute']('footnotesListStart'),_0x3fbbd4=Math['floor'](_0x3c25d9)+(_0x3e9840??0x1)-0x1;switch(_0x45763c){case'decimal-leading-zero':return function(_0x4d72d0,_0x14ba49){return String(_0x4d72d0)['padStart'](_0x14ba49,'0');}(_0x3fbbd4,Math['max'](0x2,_0x3481ed));case'lower-alpha':case'lower-latin':return N(_0x3fbbd4,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3fbbd4,!0x0);case'lower-roman':return X(_0x3fbbd4,!0x1);case'upper-roman':return X(_0x3fbbd4,!0x0);default:return String(_0x3fbbd4);}}}function M(_0x5d6663,_0x562321){const _0x4f1058=_0x562321['toViewElement'](_0x5d6663);return Array['from'](_0x4f1058['getChildren']())['find'](_0x300fd1=>_0x300fd1['is']('element','ol')&&_0x300fd1['hasClass']('footnotes-list'));}function N(_0x2bd66f,_0x30cfa3){let _0x4dc912='',_0x5438cd=_0x2bd66f;for(;_0x5438cd>0x0;){const _0x17df76=(_0x5438cd-0x1)%0x1a;_0x4dc912=String['fromCharCode'](0x61+_0x17df76)+_0x4dc912,_0x5438cd=Math['floor']((_0x5438cd-0x1)/0x1a);}return _0x30cfa3?_0x4dc912['toUpperCase']():_0x4dc912;}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(_0x11cb54,_0x30626f){let _0x138846='',_0x27cb2d=_0x11cb54;for(const {value:_0x4dede2,numeral:_0x1783dc}of V)for(;_0x27cb2d>=_0x4dede2;)_0x138846+=_0x1783dc,_0x27cb2d-=_0x4dede2;return _0x30626f?_0x138846:_0x138846['toLowerCase']();}class J extends _0x4e6711{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2a57cc();['focusCycler'];constructor(_0xd756e1,{styleButtonViews:_0x463c89,styleGridAriaLabel:_0x34a593}){super(_0xd756e1),(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'](_0x463c89,_0x34a593),[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 _0x368fa6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x368fa6['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 _0x2f8e98=_0x1bd328=>_0x1bd328['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2f8e98),this['keystrokes']['set']('arrowleft',_0x2f8e98),this['keystrokes']['set']('arrowup',_0x2f8e98),this['keystrokes']['set']('arrowdown',_0x2f8e98);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x46a9f6,_0x5d5699){const _0x58b24e=new _0x4e6711(this['locale']);return _0x58b24e['children']=_0x58b24e['createCollection'](),_0x58b24e['children']['addMany'](_0x46a9f6),_0x58b24e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5d5699,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x58b24e['children']}),_0x58b24e['children']['delegate']('execute')['to'](this),_0x58b24e['focus']=function(){for(const _0x497d41 of this['children'])if(_0x497d41 instanceof _0x8e371f&&_0x497d41['isOn'])return void _0x497d41['focus']();this['children']['first']['focus']();},_0x58b24e['focusTracker']=new rt(),_0x58b24e['keystrokes']=new nt(),_0x58b24e['render'](),_0x58b24e['keystrokes']['listenTo'](_0x58b24e['element']),this['children']['add'](_0x58b24e),_0x58b24e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1e25de=this['_createStartIndexPropertyView'](),_0x5e0971=[_0x1e25de],_0x4c54da=new it(this['locale'],_0x5e0971);return _0x4c54da['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4c54da['buttonView']['bind']('isEnabled')['toMany'](_0x5e0971,'isEnabled',(..._0x4f421e)=>_0x4f421e['some'](_0x4b497e=>_0x4b497e)),_0x4c54da['buttonView']['on']('change:isEnabled',(_0x23e0f3,_0x5c1838,_0x3d9a76)=>{_0x3d9a76||(_0x4c54da['isCollapsed']=!0x0);}),this['children']['add'](_0x4c54da),[_0x1e25de,_0x4c54da];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xc731b6=new et(this['locale'],ot);return _0xc731b6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xc731b6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xc731b6['fieldView']['on']('input',()=>{const _0x23c5c6=_0xc731b6['fieldView']['element'],_0x336c84=_0x23c5c6['valueAsNumber'];Number['isNaN'](_0x336c84)?_0xc731b6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x23c5c6['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x336c84}):_0xc731b6['errorText']=t(_0x336c84<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xc731b6;}}class j extends _0x4fc131{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x53c815,_0x320c08];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f0ced}=this,{componentFactory:_0x342982}=_0x1f0ced['ui'];_0x1f0ced['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x342982['add']('footnotesStyle',function(_0x705e8e){return _0x488ac9=>{const {t:t}=_0x488ac9,_0x42f7e9=_0x705e8e['commands']['get']('footnotesStyle'),_0x554fc7=_0x1ee889(_0x488ac9),{buttonView:_0x59df55}=_0x554fc7;return _0x554fc7['class']='ck-footnotes-styles-dropdown',_0x554fc7['bind']('isEnabled')['to'](_0x42f7e9,'isEnabled'),_0x59df55['set']({'label':t('Footnotes\x20style'),'icon':_0x37a0a9,'tooltip':!0x0}),_0x554fc7['once']('change:isOpen',()=>{const _0x45ecc4=function({editor:_0x55cfae,dropdownView:_0x385abd}){const {t:t}=_0x55cfae['locale'],_0x216688=t('Footnotes\x20definitions\x20styles'),_0x39e981=function(_0x48a4fc){const t=_0x48a4fc['locale']['t'],_0x42d8d5=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4af244},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5bc590},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1a3ea7},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x381784},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x35b866},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2745ed}];return _0x42d8d5['map'](function(_0xf44a78){const _0x2d9140=_0xf44a78['locale'];return({label:_0x301d8c,icon:_0x31e7a3,tooltip:_0x1c7048,style:_0x102090})=>{const _0x2f4d4e=_0xf44a78['commands']['get']('footnotesStyle'),_0x19207b=new _0x8e371f(_0x2d9140);return _0x19207b['set']({'label':_0x301d8c,'icon':_0x31e7a3,'tooltip':_0x1c7048}),_0x19207b['bind']('isOn')['to'](_0x2f4d4e,'value',_0xd4b940=>_0xd4b940===_0x102090),_0x19207b['bind']('isEnabled')['to'](_0x2f4d4e,'isEnabled'),_0x19207b['on']('execute',()=>{_0xf44a78['execute']('footnotesStyle',{'value':_0x102090}),_0xf44a78['editing']['view']['focus']();}),_0x19207b;};}(_0x48a4fc));}(_0x55cfae),_0x50bc3d=new J(_0x55cfae['locale'],{'styleGridAriaLabel':_0x216688,'styleButtonViews':_0x39e981}),_0x38b8ba=_0x55cfae['commands']['get']('footnotesStart');return _0x50bc3d['startIndexFieldView']['bind']('isEnabled')['to'](_0x38b8ba),_0x50bc3d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x38b8ba),_0x50bc3d['on']('footnotesListStart',(_0x2124ff,_0x3930da)=>{_0x55cfae['execute']('footnotesStart',{'value':_0x3930da['startIndex']});}),_0x50bc3d['delegate']('execute')['to'](_0x385abd),_0x50bc3d;}({'editor':_0x705e8e,'dropdownView':_0x554fc7});_0x554fc7['panelView']['children']['add'](_0x45ecc4);}),_0x554fc7;};}(_0x1f0ced));}['afterInit'](){const {editor:_0x362625}=this,{t:t}=_0x362625['locale'],_0xcdf63c=_0x362625['plugins']['get'](_0x320c08),{defaultPositions:_0x492423}=_0x4fdc30;_0xcdf63c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x362625['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1ca07b=>{let _0x9475b2=_0x1ca07b['getFirstPosition']()?.['parent'];return _0x9475b2?.['is']('$text')&&(_0x9475b2=_0x9475b2['parent']),_0x9475b2?.['is']('element')?_0x9475b2['findAncestor'](Q):null;},'positions':[_0x492423['southArrowNorth'],_0x492423['southArrowNorthMiddleWest'],_0x492423['southArrowNorthMiddleEast'],_0x492423['southArrowNorthWest'],_0x492423['southArrowNorthEast'],_0x492423['northArrowSouth'],_0x492423['northArrowSouthMiddleWest'],_0x492423['northArrowSouthMiddleEast'],_0x492423['northArrowSouthWest'],_0x492423['northArrowSouthEast'],_0x492423['viewportStickyNorth']]});}}class FootnotesProperties extends _0x4fc131{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,e as FootnotesClipboard,r as FootnotesEditing,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 _0x5eef3a,Command as _0x5a84dd}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4dd0e7,isWidget as _0x1b76a7,toWidgetEditable as _0x262056,WidgetToolbarRepository as _0x53b2d1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5f2866,logWarning as _0x261dc6,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x126484,ClickObserver as _0x1bb1bb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x43dc7}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x29cc8e,ButtonView as _0x102878,View as _0x13063b,ViewCollection as _0x547d20,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x5e8486,BalloonPanelView as _0xccd4af,createDropdown as _0x479d13}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3be64b,IconListStyleDecimal as _0x2fc05c,IconListStyleDecimalLeadingZero as _0x1fc526,IconListStyleLowerRoman as _0x21e02a,IconListStyleUpperRoman as _0x23e3fc,IconListStyleLowerLatin as _0x23fc09,IconListStyleUpperLatin as _0xf2e337}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x522763,_0xd49087){this['_model']=_0x522763,this['_elementName']=_0xd49087['elementName'],this['_getElementKey']=_0xd49087['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x44b236){const _0x3b26eb=new Set(),_0x27afdd=new Map();for(const _0x41aef7 of _0x44b236){if('insert'===_0x41aef7['type']&&'$text'!==_0x41aef7['name']&&_0x41aef7['position']['nodeAfter']){const _0x5d237d=this['_model']['createRangeOn'](_0x41aef7['position']['nodeAfter']);for(const _0x335f5d of _0x5d237d['getItems']()){if(!_0x335f5d['is']('element',this['_elementName']))continue;const _0x2b2b4a=this['_getElementKey'](_0x335f5d);_0x27afdd['has'](_0x2b2b4a)||_0x27afdd['set'](_0x2b2b4a,[]),_0x27afdd['get'](_0x2b2b4a)['push'](_0x335f5d);}}if('remove'===_0x41aef7['type']&&_0x41aef7['name']===this['_elementName']){const _0x282ba3=this['_getElementKey']({'getAttribute':_0x3b8ebe=>_0x41aef7['attributes']['get'](_0x3b8ebe)});_0x3b26eb['add'](_0x282ba3);}}for(const [_0x18db20,_0x2d42c2]of this['_trackedElements'])'$graveyard'===_0x2d42c2['root']['rootName']&&_0x3b26eb['add'](_0x18db20);for(const _0x25f6d0 of _0x3b26eb)this['_trackedElements']['delete'](_0x25f6d0);for(const [_0x110e1b,_0x2a0c44]of _0x27afdd)this['_trackedElements']['set'](_0x110e1b,_0x2a0c44[_0x2a0c44['length']-0x1]);const _0x2c360e=new Set();for(const [_0x546eec,_0x5f4861]of _0x27afdd)_0x3b26eb['has'](_0x546eec)&&(_0x2c360e['add'](_0x5f4861[0x0]),_0x5f4861['length']>0x1?_0x27afdd['set'](_0x546eec,_0x5f4861['slice'](0x1)):_0x27afdd['delete'](_0x546eec),_0x3b26eb['delete'](_0x546eec));return{'removed':Array['from'](_0x3b26eb),'inserted':Array['from'](_0x27afdd['values']())['flat'](),'moved':Array['from'](_0x2c360e)};}}class f extends _0x5eef3a{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4081a6){super(_0x4081a6),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2fe22a=>_0x2fe22a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x51947f=>_0x51947f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3136b2}=this,{model:_0x370260,data:_0x1e0491}=_0x3136b2;_0x370260['document']['registerPostFixer'](_0x2bbf22=>{const _0x26a5f7=_0x370260['document']['differ']['getChanges']();let _0x15f026=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2bbf22,_0x26a5f7)&&(_0x15f026=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2bbf22,_0x26a5f7)&&(_0x15f026=!0x0),this['_handleFootnoteReferencesChanges'](_0x2bbf22,_0x26a5f7)&&(_0x15f026=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2bbf22)&&(_0x15f026=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2bbf22)&&(_0x15f026=!0x0),this['_sortFootnoteDefinitions'](_0x2bbf22)&&(_0x15f026=!0x0),_0x15f026;}),this['listenTo'](_0x370260['document'],'change:data',()=>{_0x370260['enqueueChange']({'isUndoable':!0x1},_0x4d8523=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4d8523);});},{'priority':'low'}),this['listenTo'](_0x1e0491,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x32cf99){return this['_footnotes']['find'](_0x62e759=>_0x62e759['id']===_0x32cf99)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x437894){this['_footnoteFormatter']=_0x437894;}['_updateFootnotesCounters'](_0x48aeb5,_0x9c8482=0x0){let _0x56ba09=!0x1;for(let _0x170284=_0x9c8482;_0x170284<this['_footnotes']['length'];_0x170284++)this['_updateFootnoteRefCounter'](_0x48aeb5,_0x170284)&&(_0x56ba09=!0x0);return _0x56ba09;}['_insertEmptyFootnotesDefinitionsContainer'](_0x525931,_0x286084){const _0xd56e69=_0x525931['createElement']('footnotesDefinitions',{});return _0x525931['append'](_0xd56e69,_0x286084),this['_footnotesDefinitions']=_0xd56e69,_0xd56e69;}['_ensureFootnotesDefinitionsContainerExists'](_0x4e3d7b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2d7292=this['_footnotes'][0x0]['reference']['root'],_0x31a38a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4e3d7b,_0x2d7292);for(const _0x2e3c0f of this['_footnotes'])_0x2e3c0f['definition']['parent']||_0x4e3d7b['insert'](_0x2e3c0f['definition'],_0x31a38a,'end');this['_updateFootnotesCounters'](_0x4e3d7b);}['_handleFootnotesDefinitionsObjectChanges'](_0x44f41c,_0x216d4e){let _0x4a3794=!0x1;const {inserted:_0x3c37bf,removed:_0x3dff41,moved:_0x285933}=this['_footnoteDefsContainerTracker']['getChanges'](_0x216d4e);if(_0x285933['length']&&(this['_footnotesDefinitions']=_0x285933[0x0]),_0x3c37bf['length']){if(_0x3c37bf['length']>0x1||this['_footnotesDefinitions']&&_0x3c37bf['some'](_0x6a4133=>_0x6a4133!==this['_footnotesDefinitions'])){const _0x4affc3=_0x44f41c['createElement']('footnotesDefinitions',{}),_0x48cf74=[];this['_footnotesDefinitions']&&_0x48cf74['push'](this['_footnotesDefinitions']),_0x48cf74['push'](..._0x3c37bf),_0x44f41c['insert'](_0x4affc3,_0x48cf74[0x0],'before');for(const _0x578659 of _0x48cf74)_0x44f41c['move'](_0x44f41c['createRangeIn'](_0x578659),_0x44f41c['createPositionAt'](_0x4affc3,'end')),_0x44f41c['remove'](_0x578659);this['_footnotesDefinitions']=_0x4affc3,this['_updateFootnotesCounters'](_0x44f41c),_0x4a3794=!0x0;}else this['_footnotesDefinitions']=_0x3c37bf[0x0];}if(_0x3dff41['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x496160 of this['_footnotes'])_0x44f41c['remove'](_0x496160['reference']),_0x4a3794=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4a3794;}['_handleFootnoteDefinitionsChanges'](_0x5b632b,_0x541d2a){let _0x4f1d98=!0x1;const _0x556a89=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x13c027,moved:_0x2f9e91}=this['_footnoteDefsTracker']['getChanges'](_0x541d2a);for(const _0x319b01 of[..._0x2f9e91,..._0x13c027]){const _0x4d57e2=_0x319b01['getAttribute']('footnoteId'),_0x48503b=this['getFootnote'](_0x4d57e2);_0x48503b&&(_0x48503b['definition']=_0x319b01),_(_0x5b632b,_0x556a89,_0x319b01)&&(_0x4f1d98=!0x0);}return _0x4f1d98;}['_handleFootnoteReferencesChanges'](_0x53f900,_0x1bfd95){let _0x112eda=!0x1;const {removed:_0xe07587,inserted:_0x10fa6d,moved:_0x301bc6}=this['_footnoteRefsTracker']['getChanges'](_0x1bfd95);for(const _0x564612 of _0xe07587)this['_handleRemoveFootnoteReferenceById'](_0x53f900,_0x564612)&&(_0x112eda=!0x0);for(const _0xb20993 of _0x10fa6d)this['_handleInsertedFootnoteReference'](_0x53f900,_0xb20993)&&(_0x112eda=!0x0);for(const _0xa05b3e of _0x301bc6)this['_handleMovedFootnoteReference'](_0x53f900,_0xa05b3e)&&(_0x112eda=!0x0);return _0x112eda;}['_handleFootnotesDefinitionsObjectSync'](_0x225fab){if(!this['_footnotesDefinitions'])return!0x1;let _0x5de4d8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4de64d=[];for(const _0xa364bc of this['_footnotesDefinitions']['getChildren']()){const _0xdb3b04=_0xa364bc['getAttribute']('footnoteId');this['getFootnote'](_0xdb3b04)||(_0x4de64d['unshift'](_0xa364bc),_0x5de4d8=!0x0);}for(const _0x4903e3 of _0x4de64d)_0x225fab['remove'](_0x4903e3);}const _0x225ea7=new Set(),_0x5359e9=[];for(const _0x491fde of this['_footnotesDefinitions']['getChildren']()){const _0x571c47=_0x491fde['getAttribute']('footnoteId');_0x225ea7['has'](_0x571c47)?(_0x5359e9['unshift'](_0x491fde),_0x5de4d8=!0x0):_0x225ea7['add'](_0x571c47);}for(const _0x50a57c of _0x5359e9)_0x225fab['remove'](_0x50a57c);return this['_footnotesDefinitions']['childCount']||(_0x225fab['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5de4d8=!0x0),_0x5de4d8;}['_handleInsertedFootnoteReference'](_0x5737c0,_0x52d276){if(this['_footnotes']['find'](_0x1be2a4=>_0x1be2a4['reference']===_0x52d276))return!0x1;let _0x442b39=!0x1;const _0xdfc367=_0x52d276['getAttribute']('footnoteId'),_0x3aec70=this['_footnotes']['findIndex'](_0x44cf51=>_0x44cf51['id']===_0xdfc367);-0x1!==_0x3aec70&&(_0x5737c0['remove'](this['_footnotes'][_0x3aec70]['reference']),this['_footnotes']['splice'](_0x3aec70,0x1),_0x442b39=!0x0);let _0x531cb0=this['_footnotesDefinitions']?function(_0x4361a1,_0x7aa36a){for(const _0x26106b of _0x4361a1['getChildren']())if(_0x26106b['getAttribute']('footnoteId')===_0x7aa36a)return _0x26106b;return null;}(this['_footnotesDefinitions'],_0xdfc367):null;_0x531cb0||(_0x531cb0=_0x5737c0['createElement']('footnoteDefinition',{'footnoteId':_0xdfc367}),this['_footnotesDefinitions']&&(_0x5737c0['insert'](_0x531cb0,this['_footnotesDefinitions'],'end'),_0x442b39=!0x0));const _0x278f69={'id':_0xdfc367,'reference':_0x52d276,'definition':_0x531cb0},_0x42ed6a=I(this['editor']['model'],this['_footnotes'],_0x52d276);this['_footnotes']['splice'](_0x42ed6a,0x0,_0x278f69);let _0x46eff6=_0x42ed6a;return-0x1!==_0x3aec70&&(_0x46eff6=Math['min'](_0x42ed6a,_0x3aec70)),this['_updateFootnotesCounters'](_0x5737c0,_0x46eff6)&&(_0x442b39=!0x0),_0x442b39;}['_handleRemoveFootnoteReferenceById'](_0x4c55e9,_0x385e07){const _0x33c71e=this['_footnotes']['findIndex'](_0x16c24a=>_0x16c24a['id']===_0x385e07);if(-0x1===_0x33c71e)return!0x1;let _0x4c73cc=!0x1;const _0x2676a3=this['_footnotes'][_0x33c71e];return'$graveyard'!==_0x2676a3['definition']['root']['rootName']&&(_0x4c55e9['remove'](_0x2676a3['definition']),_0x4c73cc=!0x0),this['_footnotes']['splice'](_0x33c71e,0x1),this['_updateFootnotesCounters'](_0x4c55e9,_0x33c71e)&&(_0x4c73cc=!0x0),_0x4c73cc;}['_handleMovedFootnoteReference'](_0x52077f,_0x512988){const _0x2e45a6=_0x512988['getAttribute']('footnoteId'),_0x51cdd1=this['_footnotes']['findIndex'](_0x161565=>_0x161565['id']===_0x2e45a6),_0x569f2e=this['_footnotes'][_0x51cdd1];let _0x3c8cd1=!0x1;_0x569f2e['reference']=_0x512988,this['_footnotes']['splice'](_0x51cdd1,0x1);const _0xd65d53=I(this['editor']['model'],this['_footnotes'],_0x512988);return this['_footnotes']['splice'](_0xd65d53,0x0,_0x569f2e),this['_updateFootnotesCounters'](_0x52077f,Math['min'](_0x51cdd1,_0xd65d53))&&(_0x3c8cd1=!0x0),_0x3c8cd1;}['_updateFootnoteRefCounter'](_0x183c45,_0x194c01){if(!this['_footnotesDefinitions'])return!0x1;const _0x35612d=this['_footnotes'][_0x194c01];let _0x4831cb;return _0x4831cb=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x35612d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x194c01+0x1}):String(_0x194c01+0x1),_0x35612d['reference']['getAttribute']('footnoteCounter')!=_0x4831cb&&(_0x183c45['setAttribute']('footnoteCounter',_0x4831cb,_0x35612d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3b94dd){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x54b2ca,_0xbb3435){if(_0x54b2ca['length']!==_0xbb3435['length'])return!0x1;for(let _0x3df694=0x0;_0x3df694<_0x54b2ca['length'];_0x3df694++)if(_0x54b2ca[_0x3df694]!==_0xbb3435[_0x3df694])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x77b818=>_0x77b818['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x42a688=>_0x42a688['getAttribute']('footnoteId'))))return!0x1;let _0x472efc=!0x1;for(let _0x59ec4b=0x0;_0x59ec4b<this['_footnotes']['length'];_0x59ec4b++){const _0x18e77c=this['_footnotes'][_0x59ec4b],_0x1d1dbe=_0x3b94dd['createPositionBefore'](_0x18e77c['definition']),_0x2c75c1=_0x3b94dd['createPositionAt'](this['_footnotesDefinitions'],_0x59ec4b);_0x1d1dbe['isEqual'](_0x2c75c1)||(_0x3b94dd['move'](_0x3b94dd['createRangeOn'](_0x18e77c['definition']),_0x2c75c1),_0x472efc=!0x0);}return _0x472efc;}['_ensureFootnotesReferencesHaveProperOrder'](_0x358998){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3281d6}=this['editor'];let _0x8d832d=!0x1;for(let _0x441630=0x0;_0x441630<this['_footnotes']['length']-0x1;_0x441630++){const _0x11fbe2=this['_footnotes'][_0x441630],_0x191b36=this['_footnotes'][_0x441630+0x1],_0x2d8b7b=_0x3281d6['createPositionBefore'](_0x11fbe2['reference']),_0x25415d=_0x3281d6['createPositionBefore'](_0x191b36['reference']);'after'===_0x2d8b7b['compareWith'](_0x25415d)&&(this['_handleMovedFootnoteReference'](_0x358998,_0x11fbe2['reference']),_0x441630=-0x1,_0x8d832d=!0x0);}return _0x8d832d;}}function _(_0x1d5c04,_0x42a3c4,_0x4e7ea7){if(_0x4e7ea7['childCount'])return!0x1;const _0x11032d=_0x42a3c4?'paragraph':'footnoteInlineContent';return _0x1d5c04['insert'](_0x1d5c04['createElement'](_0x11032d),_0x4e7ea7),!0x0;}function I(_0x1aa141,_0x5e9da7,_0x19c9d4){if(0x0===_0x5e9da7['length'])return 0x0;const _0x39f1ac=_0x1aa141['createPositionBefore'](_0x19c9d4);for(let _0x546380=0x0;_0x546380<_0x5e9da7['length'];_0x546380++){const _0x54e991=_0x5e9da7[_0x546380],_0x39580b=_0x1aa141['createPositionBefore'](_0x54e991['reference']);if('before'===_0x39f1ac['compareWith'](_0x39580b))return _0x546380;}const _0x1efc24=_0x19c9d4['root'];let _0x7aff7a=-0x1;for(let _0xea986d=_0x5e9da7['length']-0x1;_0xea986d>=0x0;_0xea986d--)if(_0x5e9da7[_0xea986d]['reference']['root']===_0x1efc24){_0x7aff7a=_0xea986d;break;}if(-0x1!==_0x7aff7a)return _0x7aff7a+0x1;const _0x3b13b7=_0x1aa141['document']['getRootNames'](),_0xf65b41=_0x3b13b7['indexOf'](_0x1efc24['rootName']),_0x3c9cf0=_0x3b13b7[_0xf65b41+0x1];if(_0x3c9cf0){for(let _0x5369ec=0x0;_0x5369ec<_0x5e9da7['length'];_0x5369ec++)if(_0x5e9da7[_0x5369ec]['reference']['root']['rootName']===_0x3c9cf0)return _0x5369ec;}return _0x5e9da7['length'];}class h extends _0x5a84dd{['refresh'](){const _0x3a8f4b=this['editor']['model']['document']['selection'],_0x40f066=this['_getPositionToInsertFootnote'](_0x3a8f4b);this['isEnabled']=!!_0x40f066;}['execute'](_0xdcff79){const {editor:_0x45bb21}=this,{model:_0x4ff333}=_0x45bb21,{selection:_0xfc247d}=_0x4ff333['document'],_0x460540=this['_getPositionToInsertFootnote'](_0xfc247d);if(!_0x460540)return;const _0x15e0ac=_0x45bb21['plugins']['get']('FootnotesEditing'),_0x5ae108=_0xdcff79?.['footnoteId']??_0x5f2866();!function(_0xdaecef){return'string'==typeof _0xdaecef&&_0xdaecef['length']>0x0&&!/\s/['test'](_0xdaecef)&&!/^\d/['test'](_0xdaecef);}(_0x5ae108)?_0x261dc6('insert-footnote-command-executed-with-invalid-id'):(_0x4ff333['change'](_0x435798=>{const _0x23152b=_0x435798['createElement']('footnoteRef',{'footnoteId':_0x5ae108});_0x4ff333['insertObject'](_0x23152b,_0x460540,null);}),_0x15e0ac['_moveSelectionToFootnoteDefinition'](_0x5ae108));}['_getPositionToInsertFootnote'](_0x3627dd){const {model:_0x5977fd}=this['editor'],{schema:_0x17ecec}=_0x5977fd,_0x41cea2=_0x3627dd['getFirstRange']();for(const _0x2bf856 of _0x41cea2['getItems']())if(_0x17ecec['isBlock'](_0x2bf856)||_0x17ecec['isObject'](_0x2bf856))return null;const _0x1e2d7=_0x41cea2['end'];return _0x17ecec['checkChild'](_0x1e2d7,'footnoteRef')?_0x1e2d7:null;}}class r extends _0x5eef3a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x49f47c}=this;_0x49f47c['config']['define']('footnotes.multiBlock',!0x0),_0x49f47c['commands']['add']('insertFootnote',new h(_0x49f47c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x44f3c6){const _0x95af8f=_0x178070([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]),_0x5d958e=0x47a28506,_0x434176=0x47a50ac6^_0x5d958e,_0x45a9f1=window[_0x178070([0x44,0x61,0x74,0x65])][_0x178070([0x6e,0x6f,0x77])](),_0x320c2e=_0x44f3c6[_0x178070([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x8b6b08=new window[(_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47add8=>{_0x320c2e[_0x178070([0x6f,0x6e,0x63,0x65])](_0x178070([0x72,0x65,0x61,0x64,0x79]),_0x47add8);}),_0x5a1204={[_0x178070([0x6b,0x74,0x79])]:_0x178070([0x45,0x43]),[_0x178070([0x75,0x73,0x65])]:_0x178070([0x73,0x69,0x67]),[_0x178070([0x63,0x72,0x76])]:_0x178070([0x50,0x2d,0x32,0x35,0x36]),[_0x178070([0x78])]:_0x178070([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]),[_0x178070([0x79])]:_0x178070([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]),[_0x178070([0x61,0x6c,0x67])]:_0x178070([0x45,0x53,0x32,0x35,0x36])},_0x239e6b=_0x320c2e[_0x178070([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x178070([0x67,0x65,0x74])](_0x178070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x328dca(){let _0x485024,_0x91edbf=null,_0x262fc7=null;try{if(_0x239e6b==_0x178070([0x47,0x50,0x4c]))return _0x178070([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x485024=_0x54b8e0(),!_0x485024)return _0x178070([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x485024[_0x178070([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x262fc7=_0x23cb50(_0x485024[_0x178070([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x485024[_0x178070([0x6a,0x74,0x69])])),await _0x36b0ef()?_0xd0e4ec()?_0x122a16()?_0x178070([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20111c()?(_0x485024[_0x178070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x178070([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x91edbf=_0x2c49fa(_0x178070([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49503f()):_0x178070([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x178070([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x178070([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x178070([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x122a16(){const _0x2779a1=[_0x178070([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x178070([0x74,0x72,0x69,0x61,0x6c])][_0x178070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x485024[_0x178070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45a9f1/0x3e8:0xe10*_0x434176;return _0x485024[_0x178070([0x65,0x78,0x70])]<_0x2779a1;}function _0xd0e4ec(){const _0x4f8eb8=_0x485024[_0x178070([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4f8eb8&&(!!_0x4f8eb8[_0x178070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x178070([0x2a]))||!!_0x4f8eb8[_0x178070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x178070([0x46,0x4f,0x4f])));}function _0x20111c(){const _0x558fc5=_0x485024[_0x178070([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x558fc5||0x0==_0x558fc5[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e5bf2}=new URL(window[_0x178070([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x558fc5[_0x178070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e5bf2))return!0x0;const _0x54403c=_0x3e5bf2[_0x178070([0x73,0x70,0x6c,0x69,0x74])](_0x178070([0x2e]));return _0x558fc5[_0x178070([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3254fc=>_0x3254fc[_0x178070([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x178070([0x2a])))[_0x178070([0x6d,0x61,0x70])](_0x1808b4=>_0x1808b4[_0x178070([0x73,0x70,0x6c,0x69,0x74])](_0x178070([0x2e])))[_0x178070([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4384eb=>_0x4384eb[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x54403c[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x178070([0x6d,0x61,0x70])](_0xaab344=>Array(_0x54403c[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xaab344[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x178070([0x66,0x69,0x6c,0x6c])](_0xaab344[0x0]===_0x178070([0x2a])?_0x178070([0x2a]):'')[_0x178070([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xaab344))[_0x178070([0x73,0x6f,0x6d,0x65])](_0x89fc5d=>_0x54403c[_0x178070([0x65,0x76,0x65,0x72,0x79])]((_0x1e4e01,_0x34e323)=>_0x89fc5d[_0x34e323]===_0x1e4e01||_0x89fc5d[_0x34e323]===_0x178070([0x2a])));}function _0x49503f(){return _0x91edbf&&_0x262fc7?new window[(_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ecca4,_0xaafd84)=>{_0x91edbf[_0x178070([0x74,0x68,0x65,0x6e])](_0x5ecca4,_0xaafd84),_0x262fc7[_0x178070([0x74,0x68,0x65,0x6e])](_0x2ec378=>{_0x2ec378!=_0x178070([0x56,0x61,0x6c,0x69,0x64])&&_0x5ecca4(_0x2ec378);},_0xaafd84);}):_0x91edbf||_0x262fc7||_0x178070([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23cb50(_0x54ca16,_0x567dc2){return new window[(_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf93f56=>{if(_0x19e2ec())return _0xf93f56(_0x178070([0x56,0x61,0x6c,0x69,0x64]));_0x42aa06(),_0x320c2e[_0x178070([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x178070([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfb0e85=!0x1;const _0xd5a4d7=_0x5f2866();function _0x36481f(_0x20b990){return!!_0x20b990&&(typeof _0x20b990===_0x178070([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20b990===_0x178070([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20b990[_0x178070([0x74,0x68,0x65,0x6e])]===_0x178070([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20b990[_0x178070([0x63,0x61,0x74,0x63,0x68])]===_0x178070([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x369c65(_0x44bd91){_0x51ea3b(_0x44bd91)[_0x178070([0x74,0x68,0x65,0x6e])](_0xf91b50=>{if(!_0xf91b50||_0xf91b50[_0x178070([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x178070([0x6f,0x6b]))return _0x178070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e0c9(_0x13a631(_0xd5a4d7+_0x567dc2))!=_0xf91b50[_0x178070([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x178070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x178070([0x56,0x61,0x6c,0x69,0x64]);})[_0x178070([0x74,0x68,0x65,0x6e])](_0x56603e=>(_0x190d5b(),_0x56603e),()=>{const _0x8df6ca=_0x1291f7();return null==_0x8df6ca?(_0x190d5b(),_0x178070([0x56,0x61,0x6c,0x69,0x64])):_0x178070(_0x45a9f1-_0x8df6ca>(0x63ae0106^_0x5d958e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x178070([0x74,0x68,0x65,0x6e])](_0xf93f56)[_0x178070([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf93f56(_0x178070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x47ce7=0x47946b86^_0x5d958e;function _0x190d5b(){const _0x24e0a9=_0x178070([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e0c9(_0x13a631(_0x54ca16)),_0x1bd6dd=_0x8fbc66(_0x5e0c9(window[_0x178070([0x4d,0x61,0x74,0x68])][_0x178070([0x63,0x65,0x69,0x6c])](_0x45a9f1/_0x47ce7)));window[_0x178070([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x178070([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24e0a9,_0x1bd6dd);}function _0x1291f7(){const _0x37e0cc=_0x178070([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e0c9(_0x13a631(_0x54ca16)),_0x27ca4d=window[_0x178070([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x178070([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37e0cc);return _0x27ca4d?window[_0x178070([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8fbc66(_0x27ca4d),0x10)*_0x47ce7:null;}function _0x51ea3b(_0x4d4c05){return new window[(_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44074c,_0x3cc2f7)=>{_0x4d4c05[_0x178070([0x74,0x68,0x65,0x6e])](_0x44074c,_0x3cc2f7),window[_0x178070([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3cc2f7,0x47a351c6^_0x5d958e);});}}_0x320c2e[_0x178070([0x6f,0x6e])](_0x178070([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f0c4e,_0x3ad63f)=>{if(_0x3ad63f[0x0]!=_0x54ca16)return _0xf93f56(_0x178070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ad63f[0x1]={..._0x3ad63f[0x1],[_0x178070([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd5a4d7};},{[_0x178070([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x178070([0x68,0x69,0x67,0x68])}),_0x320c2e[_0x178070([0x6f,0x6e])](_0x178070([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x111a18=>{_0x36481f(_0x111a18[_0x178070([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfb0e85=!0x0,_0x369c65(_0x111a18[_0x178070([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x178070([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x178070([0x6c,0x6f,0x77])}),_0x8b6b08[_0x178070([0x74,0x68,0x65,0x6e])](()=>{_0xfb0e85||_0xf93f56(_0x178070([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19e2ec(){return _0x320c2e[_0x178070([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x178070([0x76,0x69,0x65,0x77])][_0x178070([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x178070([0x61,0x75,0x74,0x6f]);}function _0x42aa06(){_0x320c2e[_0x178070([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x178070([0x76,0x69,0x65,0x77])][_0x178070([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x178070([0x61,0x75,0x74,0x6f]);}}function _0x2c49fa(_0x3ea5e9){const _0x4938cb=[new window[(_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x522e27=>setTimeout(_0x522e27,0x47abbbca^_0x5d958e)),_0x8b6b08[_0x178070([0x74,0x68,0x65,0x6e])](()=>new window[(_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454fc0=>{let _0x4821f4=0x0;_0x320c2e[_0x178070([0x6d,0x6f,0x64,0x65,0x6c])][_0x178070([0x6f,0x6e])](_0x178070([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x251182,_0x1733d9)=>{_0x1733d9[0x0][_0x178070([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4821f4++,_0x4821f4==(0x47a280ee^_0x5d958e)&&(_0x454fc0(),_0x251182[_0x178070([0x6f,0x66,0x66])]());});}))];return window[_0x178070([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x178070([0x72,0x61,0x63,0x65])](_0x4938cb)[_0x178070([0x74,0x68,0x65,0x6e])](()=>_0x3ea5e9);}async function _0x519388(){await _0x8b6b08,_0x320c2e[_0x178070([0x6d,0x6f,0x64,0x65,0x6c])][_0x178070([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a29d8,_0x320c2e[_0x178070([0x6d,0x6f,0x64,0x65,0x6c])][_0x178070([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a29d8,_0x320c2e[_0x178070([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x178070([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x472739(_0x3e996d){const _0x3a6d6e=_0x10b74f();_0x320c2e[_0x3a6d6e]=_0x178070([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e996d,_0x3e996d!=_0x178070([0x56,0x61,0x6c,0x69,0x64])&&_0x519388();}function _0x10b74f(){const _0x3901f1=window[_0x178070([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x178070([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x178070([0x6e,0x6f,0x77])]())[_0x178070([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x178070([0x2e]),'');let _0x24236f=_0x178070([0x75]);for(let _0x294be3=0x0;_0x294be3<_0x3901f1[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x294be3+=0x2){let _0x607a17=window[_0x178070([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3901f1[_0x178070([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x294be3,_0x294be3+0x2));_0x607a17>=_0x95af8f[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x607a17-=_0x95af8f[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24236f+=_0x95af8f[_0x607a17];}return _0x24236f;}function _0x54b8e0(){const _0x4c6335=_0x239e6b[_0x178070([0x73,0x70,0x6c,0x69,0x74])](_0x178070([0x2e]));if(0x3!=_0x4c6335[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13fe78(_0x4c6335[0x1]);function _0x13fe78(_0x459fc5){const _0x442479=_0x12af69(_0x459fc5);return _0x442479&&_0xa1b289()?_0x442479:null;function _0xa1b289(){const _0x12d246=_0x442479[_0x178070([0x6a,0x74,0x69])],_0x3cef87=window[_0x178070([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12d246[_0x178070([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12d246[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xdec027={..._0x442479,[_0x178070([0x6a,0x74,0x69])]:_0x12d246[_0x178070([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12d246[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xdec027[_0x178070([0x76,0x63])],_0x13a631(_0xdec027)==_0x3cef87;}}}async function _0x36b0ef(){let _0x5372b0=!0x0;try{const _0x3e2aa2=_0x239e6b[_0x178070([0x73,0x70,0x6c,0x69,0x74])](_0x178070([0x2e])),[_0x593fc1,_0x1f715d,_0xb8a9ba]=_0x3e2aa2;return _0x3c9a86(_0x593fc1),await _0x150a70(_0x593fc1,_0x1f715d,_0xb8a9ba),_0x5372b0;}catch{return!0x1;}function _0x3c9a86(_0x4dcdd2){const _0x115a98=_0x12af69(_0x4dcdd2);_0x115a98&&_0x115a98[_0x178070([0x61,0x6c,0x67])]==_0x178070([0x45,0x53,0x32,0x35,0x36])||(_0x5372b0=!0x1);}async function _0x150a70(_0x473c29,_0x571c8a,_0x2dca37){const _0x337fd2=window[_0x178070([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x178070([0x66,0x72,0x6f,0x6d])](_0x2dd2fe(_0x2dca37),_0xed946c=>_0xed946c[_0x178070([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56d36c=new window[(_0x178070([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x178070([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x473c29+_0x178070([0x2e])+_0x571c8a),_0xd78b6b=window[_0x178070([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x178070([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd78b6b)return;const _0x16ce88=await _0xd78b6b[_0x178070([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x178070([0x6a,0x77,0x6b]),_0x5a1204,{[_0x178070([0x6e,0x61,0x6d,0x65])]:_0x178070([0x45,0x43,0x44,0x53,0x41]),[_0x178070([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x178070([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x178070([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd78b6b[_0x178070([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x178070([0x6e,0x61,0x6d,0x65])]:_0x178070([0x45,0x43,0x44,0x53,0x41]),[_0x178070([0x68,0x61,0x73,0x68])]:{[_0x178070([0x6e,0x61,0x6d,0x65])]:_0x178070([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x16ce88,_0x337fd2,_0x56d36c)||(_0x5372b0=!0x1);}}function _0x12af69(_0x363557){return _0x363557[_0x178070([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x178070([0x65,0x79]))?JSON[_0x178070([0x70,0x61,0x72,0x73,0x65])](_0x2dd2fe(_0x363557)):null;}function _0x2dd2fe(_0x10a8f5){return window[_0x178070([0x61,0x74,0x6f,0x62])](_0x10a8f5[_0x178070([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x178070([0x2b]))[_0x178070([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x178070([0x2f])));}function _0x13a631(_0x5bf0f1){let _0x4f6ec1=0x1505;function _0x11d32b(_0x5b292a){for(let _0x2733e6=0x0;_0x2733e6<_0x5b292a[_0x178070([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2733e6++){const _0x47892e=_0x5b292a[_0x178070([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2733e6);_0x4f6ec1=(_0x4f6ec1<<0x5)+_0x4f6ec1+_0x47892e,_0x4f6ec1&=_0x4f6ec1;}}function _0x39666d(_0x56d863){Array[_0x178070([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56d863)?_0x56d863[_0x178070([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x39666d):_0x56d863&&typeof _0x56d863==_0x178070([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x178070([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56d863)[_0x178070([0x73,0x6f,0x72,0x74])]()[_0x178070([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a8e51,_0x9c7e30])=>{_0x11d32b(_0x3a8e51),_0x39666d(_0x9c7e30);}):_0x11d32b(window[_0x178070([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56d863));}return _0x39666d(_0x5bf0f1),_0x4f6ec1>>>0x0;}function _0x5e0c9(_0x52e658){return _0x52e658[_0x178070([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x178070([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x178070([0x30]));}function _0x8fbc66(_0x17450f){return _0x17450f[_0x178070([0x73,0x70,0x6c,0x69,0x74])]('')[_0x178070([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x178070([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a29d8(){}function _0x178070(_0x218732){return _0x218732['map'](_0x5e835b=>String['fromCharCode'](_0x5e835b))['join']('');}_0x472739(await _0x328dca());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3db643){const {plugins:_0x47f51c,editing:_0x20e5b7,model:_0x544530}=this['editor'],_0x32fd69=_0x47f51c['get'](f)['getFootnote'](_0x3db643);return!!_0x32fd69&&(_0x544530['change'](_0x11b111=>{_0x11b111['setSelection'](_0x11b111['createPositionAt'](_0x32fd69['definition'],'end'));}),_0x20e5b7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4ddb9b){const {plugins:_0x7e12c3,editing:_0x1f6cc,model:_0xbf05a5}=this['editor'],_0x29a9ea=_0x7e12c3['get'](f)['getFootnote'](_0x4ddb9b);return!!_0x29a9ea&&(_0xbf05a5['change'](_0x3a8b70=>{_0x3a8b70['setSelection'](_0x29a9ea['reference'],'on');}),_0x1f6cc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x57c7c3}=this['editor']['model'],_0x51a1a1=this['editor']['config']['get']('footnotes.multiBlock');_0x57c7c3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x57c7c3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x57c7c3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x51a1a1?_0x57c7c3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x57c7c3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x57c7c3['addChildCheck'](_0x50eae9=>{for(const _0x28a8ea of _0x50eae9)if('footnoteDefinition'===_0x28a8ea['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xa7edd1}=this,{conversion:_0x25cb78,editing:_0x1cc58e}=_0xa7edd1,{t:t}=_0xa7edd1['locale'];_0x25cb78['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x569497,{writer:_0x22eda5,consumable:_0x55e4c6})=>{const _0x214503=_0x569497['getChild'](0x0);if(!_0x214503||!_0x214503['is']('element','a'))return null;const _0xf59df4=_0x214503['getAttribute']('href')||'';if(!_0xf59df4['startsWith']('#'))return null;const _0x53f8ee=_0xf59df4['replace'](/^#/,'');if(!_0x53f8ee)return null;_0x55e4c6['consume'](_0x214503,{'name':!0x0,'attributes':['href']});for(const {item:_0x51bb89}of _0x1cc58e['view']['createRangeIn'](_0x214503))_0x51bb89['is']('$textProxy')?_0x55e4c6['consume'](_0x51bb89['textNode'],{'name':!0x0}):_0x51bb89['is']('element')&&_0x55e4c6['consume'](_0x51bb89,{'name':!0x0});return _0x22eda5['createElement']('footnoteRef',{'footnoteId':_0x53f8ee});}}),_0x25cb78['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x41e7b7,{writer:_0x3b03fc})=>b(_0x41e7b7,_0x3b03fc)}),_0x25cb78['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b6e8d,{writer:_0xa42722})=>{const _0x49631f=_0x3b6e8d['getAttribute']('footnoteCounter');return _0x4dd0e7(b(_0x3b6e8d,_0xa42722),_0xa42722,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x49631f)});}});}['_defineDefinitionsConverters'](){const {editor:_0xd7eab}=this,{t:t}=_0xd7eab['locale'],{conversion:_0x50c03f}=_0xd7eab;_0x50c03f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x50c03f['for']('upcast')['add'](_0x6994a4=>{_0x6994a4['on']('element:ol',(_0x18c8f7,_0x19023e,_0x50f0c1)=>{const _0x3c523d=_0x19023e['viewItem'];if(!_0x3c523d['hasClass']('footnotes-list')||!_0x19023e['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x50f0c1['consumable']['consume'](_0x3c523d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x50a6c4,modelCursor:_0x411d84}=_0x50f0c1['convertChildren'](_0x19023e['viewItem'],_0x19023e['modelCursor']);_0x19023e['modelRange']=_0x50a6c4,_0x19023e['modelCursor']=_0x411d84;}),_0x6994a4['on']('element:hr',(_0x3d7c89,_0x326847,_0x33139a)=>{const _0xc343cb=_0x326847['viewItem'];_0xc343cb['hasClass']('footnotes-divider')&&_0x326847['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x33139a['consumable']['consume'](_0xc343cb,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x50c03f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1f90e9,{writer:_0x289662})=>D(_0x289662)}),_0x50c03f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x245b29,{writer:_0x45ffaa})=>{const _0x2d0f8e=D(_0x45ffaa,{'data-footnotes-list-label':t('Footnotes')}),_0x31cf5e=_0x4dd0e7(_0x2d0f8e,_0x45ffaa,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x45ffaa['setCustomProperty']('footnotesDefinitions',!0x0,_0x31cf5e),_0x31cf5e;}});}['_defineDefinitionConverters'](){const {editor:_0x41f8aa}=this,{conversion:_0x4ed676,locale:_0x11e709}=_0x41f8aa,_0x5859d1=_0x41f8aa['config']['get']('footnotes.multiBlock');_0x4ed676['for']('upcast')['add'](_0x414e7b=>{_0x414e7b['on']('element:li',(_0xcc1ff0,_0x9369cb,_0x2dbfb6)=>{const _0x50dbdc=_0x9369cb['viewItem'];if(!_0x50dbdc['hasClass']('footnote-definition')||!_0x50dbdc['getAttribute']('id'))return;const _0x29cba1=_0x50dbdc['parent'];if(!_0x29cba1['is']('element','ol')||!_0x29cba1['hasClass']('footnotes-list'))return;if(!_0x2dbfb6['consumable']['test'](_0x50dbdc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x25d0dd=_0x2dbfb6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x50dbdc['getAttribute']('id')});if(!_0x2dbfb6['safeInsert'](_0x25d0dd,_0x9369cb['modelCursor']))return;_0x2dbfb6['consumable']['consume'](_0x50dbdc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x23f307=Array['from'](_0x50dbdc['getChildren']())['find'](_0x35c319=>_0x35c319['is']('element')&&_0x35c319['hasClass']('footnote-content'));for(const _0xaf109a of _0x50dbdc['getChildren']())_0xaf109a['is']('element')&&(_0x2dbfb6['consumable']['consume'](_0xaf109a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2dbfb6['consumable']['consume'](_0xaf109a,{'name':!0x0,'classes':'footnote-content'}));if(_0x23f307){if(_0x5859d1)_0x2dbfb6['convertChildren'](_0x23f307,_0x25d0dd);else{const _0x30d345=_0x2dbfb6['writer']['createElement']('footnoteInlineContent');_0x2dbfb6['writer']['insert'](_0x30d345,_0x25d0dd),_0x2dbfb6['convertChildren'](_0x23f307,_0x30d345);}}_0x2dbfb6['updateConversionResult'](_0x25d0dd,_0x9369cb);});}),_0x4ed676['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5bebe,{writer:_0x1b2087})=>y(_0x5bebe,_0x1b2087,_0x11e709,{'dataPipeline':!0x0})}),_0x4ed676['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1a722a,{writer:_0x574b52})=>y(_0x1a722a,_0x574b52,_0x11e709)});}['_defineBogusParagraphConverters'](){const {editor:_0x45514e}=this,{conversion:_0x2fc5ae}=_0x45514e;_0x45514e['config']['get']('footnotes.multiBlock')?(_0x2fc5ae['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2fc5ae['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x45514e['model']['document'],'change:data',()=>{!function(_0x2f1cec,_0x1e1b9c){const _0x2e12e4=_0x2f1cec['document']['differ'],_0x51cb22=new Set();for(const _0x2a963e of _0x2e12e4['getChanges']()){const _0xd86ac0='attribute'==_0x2a963e['type']?_0x2a963e['range']['start']['parent']:_0x2a963e['position']['parent'];_0xd86ac0['is']('element','footnoteDefinition')&&_0x51cb22['add'](_0xd86ac0);}for(const _0x55d003 of _0x51cb22['values']()){const _0x3ec892=Array['from'](_0x55d003['getChildren']())['filter'](_0x527673=>v(_0x527673,_0x1e1b9c['mapper']));for(const _0x24acbd of _0x3ec892)_0x1e1b9c['reconvertItem'](_0x24acbd);}}(_0x45514e['model'],_0x45514e['editing']);})):(_0x2fc5ae['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2fc5ae['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2aec2d,{writer:_0x4977f5})=>{const _0x29c7b5=_0x4977f5['createContainerElement']('span');return _0x4977f5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29c7b5),_0x29c7b5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2e5495}=this,{editing:_0x4cb7f8,t:t}=_0x2e5495,_0x15fe23=_0x2e5495['model']['document']['selection'];_0x2e5495['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2e5495['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4cb7f8['view']['document'],'enter',(_0x2c08fe,_0x2301f5)=>{const _0x2bcf9=function(_0x9f97cd){const _0x213b60=_0x9f97cd['getSelectedElement']();if(_0x213b60?.['is']('element','footnoteRef'))return _0x213b60;return null;}(_0x15fe23);if(_0x2bcf9){const _0x1f168f=_0x2bcf9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1f168f),_0x2301f5['preventDefault'](),_0x2c08fe['stop']();}},{'context':_0x1b76a7});}['_defineClickHandlers'](){const {editor:_0x138db0}=this,{editing:_0x58d275}=_0x138db0;_0x138db0['editing']['view']['addObserver'](_0x126484),_0x138db0['editing']['view']['addObserver'](_0x1bb1bb);let _0x4d0bc4=!0x1;this['listenTo'](_0x58d275['view']['document'],'pointerdown',(_0x4d3fd7,_0xa9c537)=>{const {target:_0x252b62}=_0xa9c537,_0x291ddc=_0x58d275['view']['document']['selection'];_0x4d0bc4=!!(_0x252b62?.['is']('element','a')&&_0x252b62['parent']?.['is']('element','sup')&&_0x252b62['parent']['hasClass']('footnote'))&&_0x291ddc['getSelectedElement']()===_0x252b62['parent'];},{'priority':'high'}),this['listenTo'](_0x58d275['view']['document'],'click',(_0x4f1729,_0x21cc85)=>{const {target:_0x4e0706}=_0x21cc85;if(!_0x4e0706?.['is']('element','a'))return;if(_0x4e0706['parent']?.['is']('element','sup')&&_0x4e0706['parent']['hasClass']('footnote')&&!_0x4d0bc4)return void _0x21cc85['preventDefault']();let _0x5d2d88=_0x4e0706['getAttribute']('href');if(!_0x5d2d88?.['startsWith']('#'))return;_0x5d2d88=_0x5d2d88['slice'](0x1);let _0xc9da66=!0x1;(_0x5d2d88['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5d2d88['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5d2d88))&&(_0xc9da66=!0x0),_0xc9da66&&(_0x21cc85['preventDefault'](),_0x4f1729['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x35cb02}={}){return(_0x1a72a8,{writer:_0x2b0fe8})=>{if(!g(_0x1a72a8))return null;if(!_0x35cb02)return _0x2b0fe8['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2af569=_0x2b0fe8['createContainerElement']('p');return _0x2b0fe8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2af569),_0x2af569;};}function g(_0x286004){const {parent:_0x56b0c4}=_0x286004;if(!_0x56b0c4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x56b0c4['childCount'])return!0x1;for(const _0x1cd120 of _0x286004['getAttributeKeys']())if(!_0x1cd120['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1cd120)return!0x1;return!0x0;}function v(_0x4036a2,_0x2a2b07){if(!_0x4036a2['is']('element','paragraph'))return!0x1;const _0x18fc35=_0x2a2b07['toViewElement'](_0x4036a2);return!!_0x18fc35&&g(_0x4036a2)!==_0x18fc35['is']('element','span');}function Q(_0x16a776){return _0x1b76a7(_0x16a776)&&_0x16a776['is']('containerElement')&&!!_0x16a776['getCustomProperty']('footnotesDefinitions');}function D(_0xfb92a5,_0x24b0ac={}){const _0x28e3b9=_0xfb92a5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x286825=_0xfb92a5['createContainerElement']('ol',{'class':'footnotes-list'},_0xfb92a5['createSlot']());return _0xfb92a5['createContainerElement']('div',{'class':'footnotes',..._0x24b0ac},[_0x28e3b9,_0x286825]);}function b(_0x4a47cf,_0x3b0d1b){const _0x5f3c32=_0x4a47cf['getAttribute']('footnoteId'),_0xe61263=_0x4a47cf['getAttribute']('footnoteCounter'),_0x4b860e=_0x3b0d1b['createUIElement']('a',{'href':'#'+_0x5f3c32},function(_0x2dc606){const _0xce73b5=this['toDomElement'](_0x2dc606);return _0xce73b5['textContent']=_0xe61263,_0xce73b5;}),_0x13a193=_0x3b0d1b['createContainerElement']('sup',{'id':'ref-'+_0x5f3c32,'class':'footnote'},[_0x4b860e]);return _0x13a193['getFillerOffset']=()=>null,_0x13a193;}function y(_0x1af3dd,_0x37b8e0,_0x59b8e8,{dataPipeline:_0x4873d9}={}){const {t:t}=_0x59b8e8,_0x4ab545=_0x1af3dd['getAttribute']('footnoteId'),_0x20bc99=_0x37b8e0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4ab545},function(_0x49aaa3){const _0x33b107=this['toDomElement'](_0x49aaa3);return _0x33b107['innerText']='^',_0x33b107;}),_0x25355a=_0x4873d9?_0x37b8e0['createContainerElement']('div',{'class':'footnote-content'}):_0x262056(_0x37b8e0['createEditableElement']('div',{'class':'footnote-content'}),_0x37b8e0,{'label':t('Footnote\x20content.')});return _0x37b8e0['insert'](_0x37b8e0['createPositionAt'](_0x25355a,0x0),_0x37b8e0['createSlot']()),_0x37b8e0['createContainerElement']('li',{'class':'footnote-definition','id':_0x4ab545},[_0x20bc99,_0x25355a]);}class e extends _0x5eef3a{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x43dc7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5a25ac}=this,{plugins:_0x473faa,model:_0x49ab04}=_0x5a25ac,_0x37e5c8=_0x473faa['get'](_0x43dc7),_0x566c30=_0x473faa['get'](f);this['listenTo'](_0x37e5c8,'outputTransformation',(_0x444623,_0x5d8967)=>{const _0x51c1cc=l(_0x49ab04['createRangeIn'](_0x5d8967['content']));if(!_0x51c1cc['length'])return;const _0x5f28c8=_0x566c30['getFootnotes'](),_0x1c25f3=_0x51c1cc['reduce']((_0x3a091b,_0x346d7e)=>{const _0x1bb2c4=_0x5f28c8['find'](_0x13d97d=>_0x13d97d['id']===_0x346d7e);if(_0x1bb2c4){const _0x376e8c=_0x5a25ac['data']['toView'](_0x1bb2c4['definition'],{'isClipboardPipeline':!0x0}),_0x5b297a=_0x5a25ac['data']['htmlProcessor']['toData'](_0x376e8c);_0x3a091b[_0x1bb2c4['id']]=_0x5b297a;}return _0x3a091b;},Object['create'](null));_0x5d8967['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1c25f3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x19d86e}=this,{model:_0x2026d8,plugins:_0x1770bf}=_0x19d86e,{view:_0x298b0b}=_0x19d86e['editing'],_0x2a3279=_0x1770bf['get'](_0x43dc7),_0x21b783=_0x1770bf['get'](f),_0x202995=_0x19d86e['config']['get']('footnotes.multiBlock');let _0x1c9fc2=null;this['listenTo'](_0x298b0b['document'],'clipboardInput',(_0x358307,_0x3f8c0a)=>{const _0x347f08=_0x3f8c0a['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1c9fc2=_0x347f08?JSON['parse'](_0x347f08):null;}),this['listenTo'](_0x2a3279,'contentInsertion',(_0x5580dc,_0x2205a3)=>{const _0x51f563=_0x2205a3['sourceEditorId']===this['editor']['id'];_0x51f563&&'drop'===_0x2205a3['method']||_0x2026d8['change'](_0x28d040=>{let _0x588aee=_0x21b783['getFootnotesDefinitionsObjectElement']();const _0x6c33d5=!!_0x588aee&&Array['from'](_0x2026d8['document']['selection']['getSelectedBlocks']())['includes'](_0x588aee);if(!_0x1c9fc2&&function(_0x18ffba){for(const {item:_0xd05184}of _0x18ffba)if(_0xd05184['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2026d8['createRangeIn'](_0x2205a3['content']))&&(_0x1c9fc2=function(_0x248fea,_0x3b18cd){const _0xfccc4d=c(_0x248fea,_0x3b18cd);if(!_0xfccc4d)return null;const _0x2321c1=Object['create'](null);for(const _0x58fe0f of _0xfccc4d['getChildren']())_0x58fe0f['is']('element','footnoteDefinition')&&_0x58fe0f['hasAttribute']('footnoteId')&&(_0x2321c1[_0x58fe0f['getAttribute']('footnoteId')]=_0x248fea['cloneElement'](_0x58fe0f,!0x0));return Object['keys'](_0x2321c1)['length']?_0x2321c1:null;}(_0x28d040,_0x2205a3['content'])),(_0x588aee&&!_0x6c33d5||!_0x588aee&&!_0x1c9fc2)&&function(_0x51ed6b,_0x1f1229){const _0x3ffbbd=[];for(const {item:_0x51e1ad}of _0x51ed6b['createRangeIn'](_0x1f1229))_0x51e1ad['is']('element','footnotesDefinitions')&&_0x3ffbbd['push'](_0x51e1ad);for(const _0x5b3e60 of _0x3ffbbd)_0x51ed6b['remove'](_0x5b3e60);}(_0x28d040,_0x2205a3['content']),!_0x1c9fc2)return;const {selection:_0x4f52d9}=_0x2026d8['document'],_0x320022=_0x4f52d9['getFirstRange']()['root'];_0x588aee&&!_0x6c33d5||(_0x588aee=c(_0x28d040,_0x2205a3['content']),_0x588aee||=_0x21b783['_insertEmptyFootnotesDefinitionsContainer'](_0x28d040,_0x320022));const _0x474745=Array['from'](_0x4f52d9['getRanges']())['flatMap'](l),_0x245dac=function(_0x512777,_0x1d8a41,_0x45d193){const _0x269f3f=Object['create'](null);for(const {item:_0x1a80b8}of _0x512777['createRangeIn'](_0x1d8a41))if(_0x1a80b8['is']('element','footnoteRef')){const _0x344f08=_0x1a80b8['getAttribute']('footnoteId');if(!_0x45d193(_0x344f08))continue;_0x269f3f[_0x344f08]||(_0x269f3f[_0x344f08]=_0x5f2866()),_0x512777['setAttribute']('footnoteId',_0x269f3f[_0x344f08],_0x1a80b8);}return _0x269f3f;}(_0x28d040,_0x2205a3['content'],_0xbe1ff2=>{if(!_0x51f563)return!0x0;return!!_0x21b783['getFootnote'](_0xbe1ff2)&&!_0x474745['includes'](_0xbe1ff2);});for(const [_0x24bdc7,_0x12bad6]of Object['entries'](_0x1c9fc2)){const _0x2a1671=_0x245dac[_0x24bdc7]||_0x24bdc7;let _0x13be66;if('string'!=typeof _0x12bad6)_0x13be66=_0x12bad6,_0x2a1671!==_0x24bdc7&&_0x28d040['setAttribute']('footnoteId',_0x2a1671,_0x13be66);else{_0x13be66=_0x28d040['createElement']('footnoteDefinition',{'footnoteId':_0x2a1671});const _0x2f9690=_0x19d86e['data']['htmlProcessor']['toView'](_0x12bad6);let _0x281e9b;if(_0x202995)_0x281e9b=_0x19d86e['data']['toModel'](_0x2f9690,_0x13be66);else{_0x281e9b=_0x28d040['createElement']('footnoteInlineContent');const _0x214f0a=_0x19d86e['data']['toModel'](_0x2f9690,_0x281e9b);_0x28d040['insert'](_0x214f0a,_0x281e9b);}_0x28d040['append'](_0x281e9b,_0x13be66);}_0x28d040['insert'](_0x13be66,_0x588aee,'end');}_0x1c9fc2=null;});});}}function c(_0x5a8374,_0x22dfb6){for(const {item:_0x503eea}of _0x5a8374['createRangeIn'](_0x22dfb6))if(_0x503eea['is']('element','footnotesDefinitions'))return _0x503eea;return null;}function l(_0x31aebc){const _0x5e609e=new Set();for(const {item:_0x3bb970}of _0x31aebc)_0x3bb970['is']('element','footnoteRef')&&_0x5e609e['add'](_0x3bb970['getAttribute']('footnoteId'));return Array['from'](_0x5e609e);}class i extends _0x5eef3a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b2707}=this,{componentFactory:_0x4618a0}=_0x2b2707['ui'];_0x4618a0['add']('insertFootnote',E(_0x2b2707,_0x102878)),_0x4618a0['add']('menuBar:insertFootnote',E(_0x2b2707,_0x29cc8e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ebd52=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3651a2;for(const _0x55a433 in _0x1ebd52){const _0x34cf9d=_0x55a433,_0x21021b=_0x1ebd52[_0x34cf9d];if('footnotesLicenseKeyValid'==_0x21021b||'footnotesLicenseKeyInvalid'==_0x21021b||'footnotesLicenseKeyExpired'==_0x21021b||'footnotesLicenseKeyDomainLimit'==_0x21021b||'footnotesLicenseKeyNotAllowed'==_0x21021b||'footnotesLicenseKeyEvaluationLimit'==_0x21021b||'footnotesLicenseKeyUsageLimit'==_0x21021b){delete _0x1ebd52[_0x34cf9d],_0x3651a2=_0x21021b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3651a2&&_0x1ebd52['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3651a2&&_0x1ebd52['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3651a2&&_0x1ebd52['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3651a2&&_0x1ebd52['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3651a2&&_0x1ebd52['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3651a2&&_0x1ebd52['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x554324,_0x3b3a70){const _0x2e5503=_0x554324['commands']['get']('insertFootnote');return _0x327ecc=>{const {t:t}=_0x327ecc,_0x4d424d=new _0x3b3a70(_0x327ecc),_0x1c3451=_0x4d424d instanceof _0x29cc8e;return _0x4d424d['bind']('isEnabled')['to'](_0x2e5503,'isEnabled'),_0x4d424d['set']({'label':t(_0x1c3451?'Footnote':'Insert\x20footnote'),'icon':_0x3be64b,'tooltip':!0x0}),_0x4d424d['on']('execute',()=>{_0x2e5503['execute'](),_0x554324['editing']['view']['focus']();}),_0x4d424d;};}class Footnotes extends _0x5eef3a{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 _0x5a84dd{['refresh'](){const {editor:_0x59c037}=this,_0xa6faab=_0x59c037['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xa6faab,this['value']=_0xa6faab?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x31e30d}){const {editor:_0x48d919}=this,_0x3d14b6=_0x48d919['plugins']['get'](f),_0x418490=_0x3d14b6['getFootnotesDefinitionsObjectElement']();_0x418490&&W['includes'](_0x31e30d)&&_0x48d919['model']['change'](_0x384806=>{_0x384806['setAttribute']('footnotesListStyle',_0x31e30d,_0x418490),_0x3d14b6['_updateFootnotesCounters'](_0x384806);});}}class C extends _0x5a84dd{['refresh'](){const {editor:_0x2eb13d}=this,_0x42cf35=_0x2eb13d['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x42cf35,this['value']=_0x42cf35?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3c30fd}){const {editor:_0x562824}=this,_0x2cdb1c=_0x562824['plugins']['get'](f),_0x163c5b=_0x2cdb1c['getFootnotesDefinitionsObjectElement']();_0x163c5b&&Number['isInteger'](_0x3c30fd)&&_0x562824['model']['change'](_0xd19574=>{_0xd19574['setAttribute']('footnotesListStart',_0x3c30fd,_0x163c5b),_0x2cdb1c['_updateFootnotesCounters'](_0xd19574);});}}class P extends _0x5eef3a{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3cbfa1}=this;_0x3cbfa1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3cbfa1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3cbfa1['commands']['add']('footnotesStyle',new S(_0x3cbfa1)),_0x3cbfa1['commands']['add']('footnotesStart',new C(_0x3cbfa1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5676c3}=this,{schema:_0x2023aa}=_0x5676c3['model'];_0x2023aa['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x589a13}=this,{conversion:_0x4872d3,model:_0x23ebec}=_0x589a13,{schema:_0x478a91}=_0x23ebec;_0x4872d3['for']('upcast')['add'](_0x2f98ad=>{_0x2f98ad['on']('element:ol',(_0x300f4d,_0x25e263,_0x276238)=>{const _0x352e1c=_0x25e263['viewItem'],_0x397899=_0x25e263['modelCursor']?.['parent'];_0x352e1c['hasClass']('footnotes-list')&&_0x397899?.['is']('element','footnotesDefinitions')&&(function(_0xa9dd24,_0x140b06,_0x5bd1e5,_0x34592f){if(!_0x34592f['checkAttribute'](_0x140b06,'footnotesListStart'))return;let _0x190e9d=0x1;const _0x465a9a=_0x5bd1e5['consumable']['consume'](_0xa9dd24,{'attributes':'start'});if(_0x465a9a){const _0x2b3610=Number['parseInt'](_0xa9dd24['getAttribute']('start'),0xa);Number['isNaN'](_0x2b3610)||(_0x190e9d=_0x2b3610);}!_0x465a9a&&_0x140b06['hasAttribute']('footnotesListStart')||_0x5bd1e5['writer']['setAttribute']('footnotesListStart',_0x190e9d,_0x140b06);}(_0x352e1c,_0x397899,_0x276238,_0x478a91),function(_0x56cb9f,_0x562df0,_0x47e654,_0x523f31){if(!_0x523f31['checkAttribute'](_0x562df0,'footnotesListStyle'))return;let _0x53d1c6='decimal',_0x178caf=!0x1;if(_0x47e654['consumable']['consume'](_0x56cb9f,{'attributes':'type'})){const _0x4de382={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x56cb9f['getAttribute']('type')];_0x4de382&&(_0x53d1c6=_0x4de382),_0x178caf=!0x0;}_0x47e654['consumable']['consume'](_0x56cb9f,{'styles':'list-style-type'})&&(_0x53d1c6=function(_0x40d016){switch(_0x40d016){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x40d016;}}(_0x56cb9f['getStyle']('list-style-type')),_0x178caf=!0x0),!_0x178caf&&_0x562df0['hasAttribute']('footnotesListStyle')||_0x47e654['writer']['setAttribute']('footnotesListStyle',_0x53d1c6,_0x562df0);}(_0x352e1c,_0x397899,_0x276238,_0x478a91));});}),_0x4872d3['for']('downcast')['add'](_0xe32921=>{_0xe32921['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x7a8fe8,_0x3b89d3,_0x1c2b75)=>{if(!_0x1c2b75['consumable']['consume'](_0x3b89d3['item'],_0x7a8fe8['name']))return;const _0xe9a47=M(_0x3b89d3['item'],_0x1c2b75['mapper']),{attributeNewValue:_0x532ffc}=_0x3b89d3;null==_0x532ffc||0x1===_0x532ffc?_0x1c2b75['writer']['removeAttribute']('start',_0xe9a47):_0x1c2b75['writer']['setAttribute']('start',String(_0x532ffc),_0xe9a47);}),_0xe32921['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3d0599,_0x36f733,_0x1c1af5)=>{if(!_0x1c1af5['consumable']['consume'](_0x36f733['item'],_0x3d0599['name']))return;const _0x518b21=M(_0x36f733['item'],_0x1c1af5['mapper']),{attributeNewValue:_0x40159b}=_0x36f733;_0x40159b&&'decimal'!==_0x40159b?_0x1c1af5['writer']['setStyle']('list-style-type',_0x40159b,_0x518b21):_0x1c1af5['writer']['removeStyle']('list-style-type',_0x518b21);});});}['_definePostfixer'](){const {editor:_0xc444b2}=this,{model:_0x2dd12d}=_0xc444b2,_0x42ebb2=_0xc444b2['plugins']['get'](f),_0x238e37=this['_getDefaultListStyle'](),_0x40a77b=this['_getDefaultStartIndex']();_0x2dd12d['document']['registerPostFixer'](_0x124bff=>{const _0x1a88c5=_0x2dd12d['document']['differ']['getChanges']();let _0x55e7c7=!0x1;for(const _0x4414d4 of _0x1a88c5){if('insert'!==_0x4414d4['type']||'$text'===_0x4414d4['name'])continue;const _0x5cf73b=_0x2dd12d['createRangeOn'](_0x4414d4['position']['nodeAfter']);for(const _0x45a0f8 of _0x5cf73b['getItems']())_0x45a0f8['is']('element','footnotesDefinitions')&&(!_0x45a0f8['hasAttribute']('footnotesListStart')&&_0x2dd12d['schema']['checkAttribute'](_0x45a0f8,'footnotesListStart')&&(_0x124bff['setAttribute']('footnotesListStart',_0x40a77b,_0x45a0f8),_0x55e7c7=!0x0),!_0x45a0f8['hasAttribute']('footnotesListStyle')&&_0x2dd12d['schema']['checkAttribute'](_0x45a0f8,'footnotesListStyle')&&(_0x124bff['setAttribute']('footnotesListStyle',_0x238e37,_0x45a0f8),_0x55e7c7=!0x0));}return _0x55e7c7&&_0x42ebb2['_updateFootnotesCounters'](_0x124bff),_0x55e7c7;});}['_defineFormatter'](){const {editor:_0x13c022}=this;_0x13c022['plugins']['get'](f)['setFootnoteFormatter'](_0x3a6d71=>this['_formatFootnoteListValue'](_0x3a6d71));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x430870,value:_0x4ea0a5,digits:_0x1e0c7e}){const _0x321105=_0x430870['getAttribute']('footnotesListStyle'),_0xa6f9c7=_0x430870['getAttribute']('footnotesListStart'),_0x11e56d=Math['floor'](_0x4ea0a5)+(_0xa6f9c7??0x1)-0x1;switch(_0x321105){case'decimal-leading-zero':return function(_0x130d81,_0x157436){return String(_0x130d81)['padStart'](_0x157436,'0');}(_0x11e56d,Math['max'](0x2,_0x1e0c7e));case'lower-alpha':case'lower-latin':return N(_0x11e56d,!0x1);case'upper-alpha':case'upper-latin':return N(_0x11e56d,!0x0);case'lower-roman':return X(_0x11e56d,!0x1);case'upper-roman':return X(_0x11e56d,!0x0);default:return String(_0x11e56d);}}}function M(_0x3dfd2b,_0xa69bae){const _0x2d363e=_0xa69bae['toViewElement'](_0x3dfd2b);return Array['from'](_0x2d363e['getChildren']())['find'](_0x5be1cc=>_0x5be1cc['is']('element','ol')&&_0x5be1cc['hasClass']('footnotes-list'));}function N(_0x58423d,_0x472a9f){let _0x27ff27='',_0x6c62dd=_0x58423d;for(;_0x6c62dd>0x0;){const _0x3fa06c=(_0x6c62dd-0x1)%0x1a;_0x27ff27=String['fromCharCode'](0x61+_0x3fa06c)+_0x27ff27,_0x6c62dd=Math['floor']((_0x6c62dd-0x1)/0x1a);}return _0x472a9f?_0x27ff27['toUpperCase']():_0x27ff27;}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(_0x182b0e,_0x4b7ffc){let _0x446bad='',_0xd448f8=_0x182b0e;for(const {value:_0x38d52d,numeral:_0x4b5736}of V)for(;_0xd448f8>=_0x38d52d;)_0x446bad+=_0x4b5736,_0xd448f8-=_0x38d52d;return _0x4b7ffc?_0x446bad:_0x446bad['toLowerCase']();}class J extends _0x13063b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x547d20();['focusCycler'];constructor(_0x35cecd,{styleButtonViews:_0x3d8a99,styleGridAriaLabel:_0x403250}){super(_0x35cecd),(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'](_0x3d8a99,_0x403250),[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 _0x4d54f8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4d54f8['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 _0x2bec57=_0x64565=>_0x64565['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2bec57),this['keystrokes']['set']('arrowleft',_0x2bec57),this['keystrokes']['set']('arrowup',_0x2bec57),this['keystrokes']['set']('arrowdown',_0x2bec57);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x272b7a,_0x53d350){const _0x7ff77d=new _0x13063b(this['locale']);return _0x7ff77d['children']=_0x7ff77d['createCollection'](),_0x7ff77d['children']['addMany'](_0x272b7a),_0x7ff77d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x53d350,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x7ff77d['children']}),_0x7ff77d['children']['delegate']('execute')['to'](this),_0x7ff77d['focus']=function(){for(const _0x3a208d of this['children'])if(_0x3a208d instanceof _0x102878&&_0x3a208d['isOn'])return void _0x3a208d['focus']();this['children']['first']['focus']();},_0x7ff77d['focusTracker']=new rt(),_0x7ff77d['keystrokes']=new nt(),_0x7ff77d['render'](),_0x7ff77d['keystrokes']['listenTo'](_0x7ff77d['element']),this['children']['add'](_0x7ff77d),_0x7ff77d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4e525f=this['_createStartIndexPropertyView'](),_0x5a46b1=[_0x4e525f],_0x45a245=new it(this['locale'],_0x5a46b1);return _0x45a245['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x45a245['buttonView']['bind']('isEnabled')['toMany'](_0x5a46b1,'isEnabled',(..._0x5cffa1)=>_0x5cffa1['some'](_0x41c867=>_0x41c867)),_0x45a245['buttonView']['on']('change:isEnabled',(_0x2c3ce3,_0x42b078,_0x2299bd)=>{_0x2299bd||(_0x45a245['isCollapsed']=!0x0);}),this['children']['add'](_0x45a245),[_0x4e525f,_0x45a245];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xc4296b=new et(this['locale'],ot);return _0xc4296b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xc4296b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xc4296b['fieldView']['on']('input',()=>{const _0x53912d=_0xc4296b['fieldView']['element'],_0x39c4a2=_0x53912d['valueAsNumber'];Number['isNaN'](_0x39c4a2)?_0xc4296b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x53912d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x39c4a2}):_0xc4296b['errorText']=t(_0x39c4a2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xc4296b;}}class j extends _0x5eef3a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5e8486,_0x53b2d1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5f43a9}=this,{componentFactory:_0x1431c2}=_0x5f43a9['ui'];_0x5f43a9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1431c2['add']('footnotesStyle',function(_0x2579c8){return _0x489c9f=>{const {t:t}=_0x489c9f,_0x263311=_0x2579c8['commands']['get']('footnotesStyle'),_0xd5892f=_0x479d13(_0x489c9f),{buttonView:_0x44304b}=_0xd5892f;return _0xd5892f['class']='ck-footnotes-styles-dropdown',_0xd5892f['bind']('isEnabled')['to'](_0x263311,'isEnabled'),_0x44304b['set']({'label':t('Footnotes\x20style'),'icon':_0x3be64b,'tooltip':!0x0}),_0xd5892f['once']('change:isOpen',()=>{const _0x2c41df=function({editor:_0x1680a2,dropdownView:_0x5d05df}){const {t:t}=_0x1680a2['locale'],_0x3475bf=t('Footnotes\x20definitions\x20styles'),_0xca605c=function(_0x157287){const t=_0x157287['locale']['t'],_0x58fee7=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2fc05c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1fc526},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x21e02a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x23e3fc},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x23fc09},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xf2e337}];return _0x58fee7['map'](function(_0x11eaea){const _0x150a28=_0x11eaea['locale'];return({label:_0xe5592a,icon:_0x42a7d1,tooltip:_0x106658,style:_0x29ad88})=>{const _0x569f34=_0x11eaea['commands']['get']('footnotesStyle'),_0x4a637e=new _0x102878(_0x150a28);return _0x4a637e['set']({'label':_0xe5592a,'icon':_0x42a7d1,'tooltip':_0x106658}),_0x4a637e['bind']('isOn')['to'](_0x569f34,'value',_0x59923f=>_0x59923f===_0x29ad88),_0x4a637e['bind']('isEnabled')['to'](_0x569f34,'isEnabled'),_0x4a637e['on']('execute',()=>{_0x11eaea['execute']('footnotesStyle',{'value':_0x29ad88}),_0x11eaea['editing']['view']['focus']();}),_0x4a637e;};}(_0x157287));}(_0x1680a2),_0x2c1b0b=new J(_0x1680a2['locale'],{'styleGridAriaLabel':_0x3475bf,'styleButtonViews':_0xca605c}),_0x476f9f=_0x1680a2['commands']['get']('footnotesStart');return _0x2c1b0b['startIndexFieldView']['bind']('isEnabled')['to'](_0x476f9f),_0x2c1b0b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x476f9f),_0x2c1b0b['on']('footnotesListStart',(_0x407336,_0x221994)=>{_0x1680a2['execute']('footnotesStart',{'value':_0x221994['startIndex']});}),_0x2c1b0b['delegate']('execute')['to'](_0x5d05df),_0x2c1b0b;}({'editor':_0x2579c8,'dropdownView':_0xd5892f});_0xd5892f['panelView']['children']['add'](_0x2c41df);}),_0xd5892f;};}(_0x5f43a9));}['afterInit'](){const {editor:_0x3c8e9b}=this,{t:t}=_0x3c8e9b['locale'],_0x451160=_0x3c8e9b['plugins']['get'](_0x53b2d1),{defaultPositions:_0xeb9840}=_0xccd4af;_0x451160['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3c8e9b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1f2b1d=>{let _0x53caed=_0x1f2b1d['getFirstPosition']()?.['parent'];return _0x53caed?.['is']('$text')&&(_0x53caed=_0x53caed['parent']),_0x53caed?.['is']('element')?_0x53caed['findAncestor'](Q):null;},'positions':[_0xeb9840['southArrowNorth'],_0xeb9840['southArrowNorthMiddleWest'],_0xeb9840['southArrowNorthMiddleEast'],_0xeb9840['southArrowNorthWest'],_0xeb9840['southArrowNorthEast'],_0xeb9840['northArrowSouth'],_0xeb9840['northArrowSouthMiddleWest'],_0xeb9840['northArrowSouthMiddleEast'],_0xeb9840['northArrowSouthWest'],_0xeb9840['northArrowSouthEast'],_0xeb9840['viewportStickyNorth']]});}}class FootnotesProperties extends _0x5eef3a{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,e as FootnotesClipboard,r as FootnotesEditing,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':_0x61e8d2=>0x1!=_0x61e8d2}};
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':_0x521420=>0x1!=_0x521420}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x86ef9=>{const {af:{dictionary:_0x1cb19e,getPluralForm:_0x2d4f4a}}={'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':_0x470c9b=>0x1!=_0x470c9b}};_0x86ef9['af']||={'dictionary':{},'getPluralForm':null},_0x86ef9['af']['dictionary']=Object['assign'](_0x86ef9['af']['dictionary'],_0x1cb19e),_0x86ef9['af']['getPluralForm']=_0x2d4f4a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4b7be9=>{const {af:{dictionary:_0x109262,getPluralForm:_0x529ef3}}={'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':_0x1dd676=>0x1!=_0x1dd676}};_0x4b7be9['af']||={'dictionary':{},'getPluralForm':null},_0x4b7be9['af']['dictionary']=Object['assign'](_0x4b7be9['af']['dictionary'],_0x109262),_0x4b7be9['af']['getPluralForm']=_0x529ef3;})(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':_0x552bf5=>0x0==_0x552bf5?0x0:0x1==_0x552bf5?0x1:0x2==_0x552bf5?0x2:_0x552bf5%0x64>=0x3&&_0x552bf5%0x64<=0xa?0x3:_0x552bf5%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':_0x287cb1=>0x0==_0x287cb1?0x0:0x1==_0x287cb1?0x1:0x2==_0x287cb1?0x2:_0x287cb1%0x64>=0x3&&_0x287cb1%0x64<=0xa?0x3:_0x287cb1%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xab25b8=>{const {ar:{dictionary:_0x54a531,getPluralForm:_0x3e4adb}}={'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':_0x111786=>0x0==_0x111786?0x0:0x1==_0x111786?0x1:0x2==_0x111786?0x2:_0x111786%0x64>=0x3&&_0x111786%0x64<=0xa?0x3:_0x111786%0x64>=0xb?0x4:0x5}};_0xab25b8['ar']||={'dictionary':{},'getPluralForm':null},_0xab25b8['ar']['dictionary']=Object['assign'](_0xab25b8['ar']['dictionary'],_0x54a531),_0xab25b8['ar']['getPluralForm']=_0x3e4adb;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x24f4f5=>{const {ar:{dictionary:_0x3db1e9,getPluralForm:_0xacd147}}={'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':_0xa8f1=>0x0==_0xa8f1?0x0:0x1==_0xa8f1?0x1:0x2==_0xa8f1?0x2:_0xa8f1%0x64>=0x3&&_0xa8f1%0x64<=0xa?0x3:_0xa8f1%0x64>=0xb?0x4:0x5}};_0x24f4f5['ar']||={'dictionary':{},'getPluralForm':null},_0x24f4f5['ar']['dictionary']=Object['assign'](_0x24f4f5['ar']['dictionary'],_0x3db1e9),_0x24f4f5['ar']['getPluralForm']=_0xacd147;})(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':_0x5b1aaa=>0x1!=_0x5b1aaa}};
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':_0x3bff85=>0x1!=_0x3bff85}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x29287c=>{const {ast:{dictionary:_0x328db7,getPluralForm:_0x356f87}}={'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':_0x19e378=>0x1!=_0x19e378}};_0x29287c['ast']||={'dictionary':{},'getPluralForm':null},_0x29287c['ast']['dictionary']=Object['assign'](_0x29287c['ast']['dictionary'],_0x328db7),_0x29287c['ast']['getPluralForm']=_0x356f87;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x619fd8=>{const {ast:{dictionary:_0x45953a,getPluralForm:_0x24563a}}={'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':_0x1b941e=>0x1!=_0x1b941e}};_0x619fd8['ast']||={'dictionary':{},'getPluralForm':null},_0x619fd8['ast']['dictionary']=Object['assign'](_0x619fd8['ast']['dictionary'],_0x45953a),_0x619fd8['ast']['getPluralForm']=_0x24563a;})(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':_0xfa136b=>0x1!=_0xfa136b}};
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':_0x1168cf=>0x1!=_0x1168cf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x373956=>{const {az:{dictionary:_0x4f178d,getPluralForm:_0x4806ae}}={'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':_0x10c87b=>0x1!=_0x10c87b}};_0x373956['az']||={'dictionary':{},'getPluralForm':null},_0x373956['az']['dictionary']=Object['assign'](_0x373956['az']['dictionary'],_0x4f178d),_0x373956['az']['getPluralForm']=_0x4806ae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e13c2=>{const {az:{dictionary:_0x106439,getPluralForm:_0x468379}}={'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':_0x3edbba=>0x1!=_0x3edbba}};_0x5e13c2['az']||={'dictionary':{},'getPluralForm':null},_0x5e13c2['az']['dictionary']=Object['assign'](_0x5e13c2['az']['dictionary'],_0x106439),_0x5e13c2['az']['getPluralForm']=_0x468379;})(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':_0x1d989e=>_0x1d989e%0xa==0x1&&_0x1d989e%0x64!=0xb?0x0:_0x1d989e%0xa>=0x2&&_0x1d989e%0xa<=0x4&&(_0x1d989e%0x64<0xa||_0x1d989e%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':_0x1308dc=>_0x1308dc%0xa==0x1&&_0x1308dc%0x64!=0xb?0x0:_0x1308dc%0xa>=0x2&&_0x1308dc%0xa<=0x4&&(_0x1308dc%0x64<0xa||_0x1308dc%0x64>=0x14)?0x1:0x2}};