@ckeditor/ckeditor5-footnotes 47.6.0-alpha.8 → 47.6.0

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 _0x3e194b,Command as _0x36ceb6}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2f5330,isWidget as _0x3a7929,toWidgetEditable as _0x424716,WidgetToolbarRepository as _0xae027d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x54b846,logWarning as _0x4e28cd,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5a057d,ClickObserver as _0x5ed0e5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0xd0d93b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x25de61,ButtonView as _0x3f8f0b,View as _0x383d4a,ViewCollection as _0x27a1a6,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x4e3945,BalloonPanelView as _0x5755cb,createDropdown as _0x383a20}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4f34ba,IconListStyleDecimal as _0x4d8bb2,IconListStyleDecimalLeadingZero as _0x4c2644,IconListStyleLowerRoman as _0xfe3070,IconListStyleUpperRoman as _0x115e01,IconListStyleLowerLatin as _0x50182f,IconListStyleUpperLatin as _0x1774b3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x209650,_0x8fab59){this['_model']=_0x209650,this['_elementName']=_0x8fab59['elementName'],this['_getElementKey']=_0x8fab59['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x88fc32){const _0x58a7aa=new Set(),_0x18f15d=new Map();for(const _0x545b69 of _0x88fc32){if('insert'===_0x545b69['type']&&'$text'!==_0x545b69['name']&&_0x545b69['position']['nodeAfter']){const _0x597ec9=this['_model']['createRangeOn'](_0x545b69['position']['nodeAfter']);for(const _0x362b51 of _0x597ec9['getItems']()){if(!_0x362b51['is']('element',this['_elementName']))continue;const _0x13524d=this['_getElementKey'](_0x362b51);_0x18f15d['has'](_0x13524d)||_0x18f15d['set'](_0x13524d,[]),_0x18f15d['get'](_0x13524d)['push'](_0x362b51);}}if('remove'===_0x545b69['type']&&_0x545b69['name']===this['_elementName']){const _0x321619=this['_getElementKey']({'getAttribute':_0x2d8868=>_0x545b69['attributes']['get'](_0x2d8868)});_0x58a7aa['add'](_0x321619);}}for(const [_0x5a6e96,_0x572cc7]of this['_trackedElements'])'$graveyard'===_0x572cc7['root']['rootName']&&_0x58a7aa['add'](_0x5a6e96);for(const _0x33b902 of _0x58a7aa)this['_trackedElements']['delete'](_0x33b902);for(const [_0x1d491d,_0x168c1d]of _0x18f15d)this['_trackedElements']['set'](_0x1d491d,_0x168c1d[_0x168c1d['length']-0x1]);const _0x51da93=new Set();for(const [_0x113d32,_0x5a31c7]of _0x18f15d)_0x58a7aa['has'](_0x113d32)&&(_0x51da93['add'](_0x5a31c7[0x0]),_0x5a31c7['length']>0x1?_0x18f15d['set'](_0x113d32,_0x5a31c7['slice'](0x1)):_0x18f15d['delete'](_0x113d32),_0x58a7aa['delete'](_0x113d32));return{'removed':Array['from'](_0x58a7aa),'inserted':Array['from'](_0x18f15d['values']())['flat'](),'moved':Array['from'](_0x51da93)};}}class f extends _0x3e194b{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2bf468){super(_0x2bf468),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x59da3e=>_0x59da3e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2f72a6=>_0x2f72a6['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1e1609}=this,{model:_0x5b713e,data:_0x6643dc}=_0x1e1609;_0x5b713e['document']['registerPostFixer'](_0x2dff90=>{const _0xa33fa9=_0x5b713e['document']['differ']['getChanges']();let _0x430285=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2dff90,_0xa33fa9)&&(_0x430285=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2dff90,_0xa33fa9)&&(_0x430285=!0x0),this['_handleFootnoteReferencesChanges'](_0x2dff90,_0xa33fa9)&&(_0x430285=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2dff90)&&(_0x430285=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2dff90)&&(_0x430285=!0x0),this['_sortFootnoteDefinitions'](_0x2dff90)&&(_0x430285=!0x0),_0x430285;}),this['listenTo'](_0x5b713e['document'],'change:data',()=>{_0x5b713e['enqueueChange']({'isUndoable':!0x1},_0x5b06f0=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5b06f0);});},{'priority':'low'}),this['listenTo'](_0x6643dc,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x480058){return this['_footnotes']['find'](_0x2e80c4=>_0x2e80c4['id']===_0x480058)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2b706f){this['_footnoteFormatter']=_0x2b706f;}['_updateFootnotesCounters'](_0x1b7225,_0x5bc3b4=0x0){let _0x5c66fa=!0x1;for(let _0x366373=_0x5bc3b4;_0x366373<this['_footnotes']['length'];_0x366373++)this['_updateFootnoteRefCounter'](_0x1b7225,_0x366373)&&(_0x5c66fa=!0x0);return _0x5c66fa;}['_insertEmptyFootnotesDefinitionsContainer'](_0x46a58f,_0x1ddbb0){const _0xf04300=_0x46a58f['createElement']('footnotesDefinitions',{});return _0x46a58f['append'](_0xf04300,_0x1ddbb0),this['_footnotesDefinitions']=_0xf04300,_0xf04300;}['_ensureFootnotesDefinitionsContainerExists'](_0x2b5454){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x278f73=this['_footnotes'][0x0]['reference']['root'],_0x288931=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2b5454,_0x278f73);for(const _0x435424 of this['_footnotes'])_0x435424['definition']['parent']||_0x2b5454['insert'](_0x435424['definition'],_0x288931,'end');this['_updateFootnotesCounters'](_0x2b5454);}['_handleFootnotesDefinitionsObjectChanges'](_0x59d69d,_0x199de3){let _0x3b2505=!0x1;const {inserted:_0x42b10d,removed:_0x160afc,moved:_0x396dbb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x199de3);if(_0x396dbb['length']&&(this['_footnotesDefinitions']=_0x396dbb[0x0]),_0x42b10d['length']){if(_0x42b10d['length']>0x1||this['_footnotesDefinitions']&&_0x42b10d['some'](_0xa1f661=>_0xa1f661!==this['_footnotesDefinitions'])){const _0x208d64=_0x59d69d['createElement']('footnotesDefinitions',{}),_0x262b35=[];this['_footnotesDefinitions']&&_0x262b35['push'](this['_footnotesDefinitions']),_0x262b35['push'](..._0x42b10d),_0x59d69d['insert'](_0x208d64,_0x262b35[0x0],'before');for(const _0x1ba29f of _0x262b35)_0x59d69d['move'](_0x59d69d['createRangeIn'](_0x1ba29f),_0x59d69d['createPositionAt'](_0x208d64,'end')),_0x59d69d['remove'](_0x1ba29f);this['_footnotesDefinitions']=_0x208d64,this['_updateFootnotesCounters'](_0x59d69d),_0x3b2505=!0x0;}else this['_footnotesDefinitions']=_0x42b10d[0x0];}if(_0x160afc['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4ae107 of this['_footnotes'])_0x59d69d['remove'](_0x4ae107['reference']),_0x3b2505=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3b2505;}['_handleFootnoteDefinitionsChanges'](_0x30248c,_0x412036){let _0x466764=!0x1;const _0x37ebdc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3703a6,moved:_0x8f142c}=this['_footnoteDefsTracker']['getChanges'](_0x412036);for(const _0x52ba84 of[..._0x8f142c,..._0x3703a6]){const _0x16fe50=_0x52ba84['getAttribute']('footnoteId'),_0x4584db=this['getFootnote'](_0x16fe50);_0x4584db&&(_0x4584db['definition']=_0x52ba84),_(_0x30248c,_0x37ebdc,_0x52ba84)&&(_0x466764=!0x0);}return _0x466764;}['_handleFootnoteReferencesChanges'](_0x3e4188,_0x130d7b){let _0x12375b=!0x1;const {removed:_0x1e96d4,inserted:_0x288418,moved:_0x30041a}=this['_footnoteRefsTracker']['getChanges'](_0x130d7b);for(const _0x5b82af of _0x1e96d4)this['_handleRemoveFootnoteReferenceById'](_0x3e4188,_0x5b82af)&&(_0x12375b=!0x0);for(const _0x12abce of _0x288418)this['_handleInsertedFootnoteReference'](_0x3e4188,_0x12abce)&&(_0x12375b=!0x0);for(const _0x83cd97 of _0x30041a)this['_handleMovedFootnoteReference'](_0x3e4188,_0x83cd97)&&(_0x12375b=!0x0);return _0x12375b;}['_handleFootnotesDefinitionsObjectSync'](_0x598c1c){if(!this['_footnotesDefinitions'])return!0x1;let _0x5bc93b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x18d970=[];for(const _0x2068cf of this['_footnotesDefinitions']['getChildren']()){const _0x4a9644=_0x2068cf['getAttribute']('footnoteId');this['getFootnote'](_0x4a9644)||(_0x18d970['unshift'](_0x2068cf),_0x5bc93b=!0x0);}for(const _0x2f6c4c of _0x18d970)_0x598c1c['remove'](_0x2f6c4c);}const _0x2354e4=new Set(),_0x820e13=[];for(const _0x4045fd of this['_footnotesDefinitions']['getChildren']()){const _0x554646=_0x4045fd['getAttribute']('footnoteId');_0x2354e4['has'](_0x554646)?(_0x820e13['unshift'](_0x4045fd),_0x5bc93b=!0x0):_0x2354e4['add'](_0x554646);}for(const _0x22af54 of _0x820e13)_0x598c1c['remove'](_0x22af54);return this['_footnotesDefinitions']['childCount']||(_0x598c1c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5bc93b=!0x0),_0x5bc93b;}['_handleInsertedFootnoteReference'](_0x54c719,_0x3923e7){if(this['_footnotes']['find'](_0x4a7771=>_0x4a7771['reference']===_0x3923e7))return!0x1;let _0x1fb449=!0x1;const _0x275ea7=_0x3923e7['getAttribute']('footnoteId'),_0x326345=this['_footnotes']['findIndex'](_0x488817=>_0x488817['id']===_0x275ea7);-0x1!==_0x326345&&(_0x54c719['remove'](this['_footnotes'][_0x326345]['reference']),this['_footnotes']['splice'](_0x326345,0x1),_0x1fb449=!0x0);let _0x459e54=this['_footnotesDefinitions']?function(_0x1fc132,_0x1044c9){for(const _0x33aa43 of _0x1fc132['getChildren']())if(_0x33aa43['getAttribute']('footnoteId')===_0x1044c9)return _0x33aa43;return null;}(this['_footnotesDefinitions'],_0x275ea7):null;_0x459e54||(_0x459e54=_0x54c719['createElement']('footnoteDefinition',{'footnoteId':_0x275ea7}),this['_footnotesDefinitions']&&(_0x54c719['insert'](_0x459e54,this['_footnotesDefinitions'],'end'),_0x1fb449=!0x0));const _0x427731={'id':_0x275ea7,'reference':_0x3923e7,'definition':_0x459e54},_0x216521=I(this['editor']['model'],this['_footnotes'],_0x3923e7);this['_footnotes']['splice'](_0x216521,0x0,_0x427731);let _0x1592c5=_0x216521;return-0x1!==_0x326345&&(_0x1592c5=Math['min'](_0x216521,_0x326345)),this['_updateFootnotesCounters'](_0x54c719,_0x1592c5)&&(_0x1fb449=!0x0),_0x1fb449;}['_handleRemoveFootnoteReferenceById'](_0x37d77d,_0x46e910){const _0x295be2=this['_footnotes']['findIndex'](_0x63c65a=>_0x63c65a['id']===_0x46e910);if(-0x1===_0x295be2)return!0x1;let _0x430bb5=!0x1;const _0x1eb729=this['_footnotes'][_0x295be2];return'$graveyard'!==_0x1eb729['definition']['root']['rootName']&&(_0x37d77d['remove'](_0x1eb729['definition']),_0x430bb5=!0x0),this['_footnotes']['splice'](_0x295be2,0x1),this['_updateFootnotesCounters'](_0x37d77d,_0x295be2)&&(_0x430bb5=!0x0),_0x430bb5;}['_handleMovedFootnoteReference'](_0xc20d89,_0x303684){const _0x580e6a=_0x303684['getAttribute']('footnoteId'),_0x3808d0=this['_footnotes']['findIndex'](_0x5cae57=>_0x5cae57['id']===_0x580e6a),_0x10b978=this['_footnotes'][_0x3808d0];let _0x305643=!0x1;_0x10b978['reference']=_0x303684,this['_footnotes']['splice'](_0x3808d0,0x1);const _0x1ebc44=I(this['editor']['model'],this['_footnotes'],_0x303684);return this['_footnotes']['splice'](_0x1ebc44,0x0,_0x10b978),this['_updateFootnotesCounters'](_0xc20d89,Math['min'](_0x3808d0,_0x1ebc44))&&(_0x305643=!0x0),_0x305643;}['_updateFootnoteRefCounter'](_0x2d7cf4,_0x59e969){if(!this['_footnotesDefinitions'])return!0x1;const _0x151b61=this['_footnotes'][_0x59e969];let _0x3b94ca;return _0x3b94ca=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x151b61,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x59e969+0x1}):String(_0x59e969+0x1),_0x151b61['reference']['getAttribute']('footnoteCounter')!=_0x3b94ca&&(_0x2d7cf4['setAttribute']('footnoteCounter',_0x3b94ca,_0x151b61['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5b40a9){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x515ae0,_0x17ca5e){if(_0x515ae0['length']!==_0x17ca5e['length'])return!0x1;for(let _0x3724c6=0x0;_0x3724c6<_0x515ae0['length'];_0x3724c6++)if(_0x515ae0[_0x3724c6]!==_0x17ca5e[_0x3724c6])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1fbd0a=>_0x1fbd0a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x10354b=>_0x10354b['getAttribute']('footnoteId'))))return!0x1;let _0x54a133=!0x1;for(let _0x5b4f3a=0x0;_0x5b4f3a<this['_footnotes']['length'];_0x5b4f3a++){const _0xdc6be4=this['_footnotes'][_0x5b4f3a],_0xaefb0a=_0x5b40a9['createPositionBefore'](_0xdc6be4['definition']),_0x46569d=_0x5b40a9['createPositionAt'](this['_footnotesDefinitions'],_0x5b4f3a);_0xaefb0a['isEqual'](_0x46569d)||(_0x5b40a9['move'](_0x5b40a9['createRangeOn'](_0xdc6be4['definition']),_0x46569d),_0x54a133=!0x0);}return _0x54a133;}['_ensureFootnotesReferencesHaveProperOrder'](_0x451260){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3d4be8}=this['editor'];let _0x59d973=!0x1;for(let _0x52db6e=0x0;_0x52db6e<this['_footnotes']['length']-0x1;_0x52db6e++){const _0x481c3e=this['_footnotes'][_0x52db6e],_0x59d429=this['_footnotes'][_0x52db6e+0x1],_0x99bc41=_0x3d4be8['createPositionBefore'](_0x481c3e['reference']),_0x350824=_0x3d4be8['createPositionBefore'](_0x59d429['reference']);'after'===_0x99bc41['compareWith'](_0x350824)&&(this['_handleMovedFootnoteReference'](_0x451260,_0x481c3e['reference']),_0x52db6e=-0x1,_0x59d973=!0x0);}return _0x59d973;}}function _(_0x59d1c0,_0x5ce754,_0x2cd104){if(_0x2cd104['childCount'])return!0x1;const _0xbcd6a5=_0x5ce754?'paragraph':'footnoteInlineContent';return _0x59d1c0['insert'](_0x59d1c0['createElement'](_0xbcd6a5),_0x2cd104),!0x0;}function I(_0x346840,_0x1db2e4,_0x513b54){if(0x0===_0x1db2e4['length'])return 0x0;const _0x3e47c8=_0x346840['createPositionBefore'](_0x513b54);for(let _0x3d586f=0x0;_0x3d586f<_0x1db2e4['length'];_0x3d586f++){const _0xd23599=_0x1db2e4[_0x3d586f],_0xf80159=_0x346840['createPositionBefore'](_0xd23599['reference']);if('before'===_0x3e47c8['compareWith'](_0xf80159))return _0x3d586f;}const _0x396fd3=_0x513b54['root'];let _0x5f3ef1=-0x1;for(let _0xe2bbbc=_0x1db2e4['length']-0x1;_0xe2bbbc>=0x0;_0xe2bbbc--)if(_0x1db2e4[_0xe2bbbc]['reference']['root']===_0x396fd3){_0x5f3ef1=_0xe2bbbc;break;}if(-0x1!==_0x5f3ef1)return _0x5f3ef1+0x1;const _0x3f392c=_0x346840['document']['getRootNames'](),_0x5d0561=_0x3f392c['indexOf'](_0x396fd3['rootName']),_0x2bc26b=_0x3f392c[_0x5d0561+0x1];if(_0x2bc26b){for(let _0x18ca52=0x0;_0x18ca52<_0x1db2e4['length'];_0x18ca52++)if(_0x1db2e4[_0x18ca52]['reference']['root']['rootName']===_0x2bc26b)return _0x18ca52;}return _0x1db2e4['length'];}class h extends _0x36ceb6{['refresh'](){const _0x9f776a=this['editor']['model']['document']['selection'],_0xfd8bc8=this['_getPositionToInsertFootnote'](_0x9f776a);this['isEnabled']=!!_0xfd8bc8;}['execute'](_0x4420ea){const {editor:_0x1a6957}=this,{model:_0x3624fc}=_0x1a6957,{selection:_0x1c1690}=_0x3624fc['document'],_0x217ce3=this['_getPositionToInsertFootnote'](_0x1c1690);if(!_0x217ce3)return;const _0x460118=_0x1a6957['plugins']['get']('FootnotesEditing'),_0x5e48ff=_0x4420ea?.['footnoteId']??_0x54b846();!function(_0x3f2e0b){return'string'==typeof _0x3f2e0b&&_0x3f2e0b['length']>0x0&&!/\s/['test'](_0x3f2e0b)&&!/^\d/['test'](_0x3f2e0b);}(_0x5e48ff)?_0x4e28cd('insert-footnote-command-executed-with-invalid-id'):(_0x3624fc['change'](_0x5192c6=>{const _0x1de086=_0x5192c6['createElement']('footnoteRef',{'footnoteId':_0x5e48ff});_0x3624fc['insertObject'](_0x1de086,_0x217ce3,null);}),_0x460118['_moveSelectionToFootnoteDefinition'](_0x5e48ff));}['_getPositionToInsertFootnote'](_0x3b9be8){const {model:_0x69a68b}=this['editor'],{schema:_0x2733cf}=_0x69a68b,_0x187b9c=_0x3b9be8['getFirstRange']();for(const _0x3e702a of _0x187b9c['getItems']())if(_0x2733cf['isBlock'](_0x3e702a)||_0x2733cf['isObject'](_0x3e702a))return null;const _0x1bd7b8=_0x187b9c['end'];return _0x2733cf['checkChild'](_0x1bd7b8,'footnoteRef')?_0x1bd7b8:null;}}class r extends _0x3e194b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x431b61}=this;_0x431b61['config']['define']('footnotes.multiBlock',!0x0),_0x431b61['commands']['add']('insertFootnote',new h(_0x431b61)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5c5020){const _0x5b5ccd=_0x25054c([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]),_0xca9783=0x47a28506,_0x4f02ea=0x47a50666^_0xca9783,_0x9108e0=window[_0x25054c([0x44,0x61,0x74,0x65])][_0x25054c([0x6e,0x6f,0x77])](),_0x45beec=_0x5c5020[_0x25054c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x7f5371=new window[(_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b507=>{_0x45beec[_0x25054c([0x6f,0x6e,0x63,0x65])](_0x25054c([0x72,0x65,0x61,0x64,0x79]),_0x50b507);}),_0x3bb4a0={[_0x25054c([0x6b,0x74,0x79])]:_0x25054c([0x45,0x43]),[_0x25054c([0x75,0x73,0x65])]:_0x25054c([0x73,0x69,0x67]),[_0x25054c([0x63,0x72,0x76])]:_0x25054c([0x50,0x2d,0x32,0x35,0x36]),[_0x25054c([0x78])]:_0x25054c([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]),[_0x25054c([0x79])]:_0x25054c([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]),[_0x25054c([0x61,0x6c,0x67])]:_0x25054c([0x45,0x53,0x32,0x35,0x36])},_0x1aee28=_0x45beec[_0x25054c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25054c([0x67,0x65,0x74])](_0x25054c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7b0598(){let _0x2e51bc,_0x35513b=null,_0x8a27fc=null;try{if(_0x1aee28==_0x25054c([0x47,0x50,0x4c]))return _0x25054c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e51bc=_0x4df54e(),!_0x2e51bc)return _0x25054c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e51bc[_0x25054c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8a27fc=_0x50a055(_0x2e51bc[_0x25054c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e51bc[_0x25054c([0x6a,0x74,0x69])])),await _0x16a819()?_0x51d194()?_0x3b53bf()?_0x25054c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd2a08f()?(_0x2e51bc[_0x25054c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25054c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35513b=_0x3bcd81(_0x25054c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x418365()):_0x25054c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25054c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25054c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25054c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b53bf(){const _0x2537b9=[_0x25054c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25054c([0x74,0x72,0x69,0x61,0x6c])][_0x25054c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e51bc[_0x25054c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9108e0/0x3e8:0xe10*_0x4f02ea;return _0x2e51bc[_0x25054c([0x65,0x78,0x70])]<_0x2537b9;}function _0x51d194(){const _0x78e968=_0x2e51bc[_0x25054c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x78e968&&(!!_0x78e968[_0x25054c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25054c([0x2a]))||!!_0x78e968[_0x25054c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25054c([0x46,0x4f,0x4f])));}function _0xd2a08f(){const _0x3d27b7=_0x2e51bc[_0x25054c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d27b7||0x0==_0x3d27b7[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x95886b}=new URL(window[_0x25054c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3d27b7[_0x25054c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95886b))return!0x0;const _0x3f697d=_0x95886b[_0x25054c([0x73,0x70,0x6c,0x69,0x74])](_0x25054c([0x2e]));return _0x3d27b7[_0x25054c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x480fe2=>_0x480fe2[_0x25054c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25054c([0x2a])))[_0x25054c([0x6d,0x61,0x70])](_0x1211ea=>_0x1211ea[_0x25054c([0x73,0x70,0x6c,0x69,0x74])](_0x25054c([0x2e])))[_0x25054c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x78532e=>_0x78532e[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3f697d[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25054c([0x6d,0x61,0x70])](_0x34e402=>Array(_0x3f697d[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34e402[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25054c([0x66,0x69,0x6c,0x6c])](_0x34e402[0x0]===_0x25054c([0x2a])?_0x25054c([0x2a]):'')[_0x25054c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34e402))[_0x25054c([0x73,0x6f,0x6d,0x65])](_0x5b7ca4=>_0x3f697d[_0x25054c([0x65,0x76,0x65,0x72,0x79])]((_0x33e0c0,_0x61df99)=>_0x5b7ca4[_0x61df99]===_0x33e0c0||_0x5b7ca4[_0x61df99]===_0x25054c([0x2a])));}function _0x418365(){return _0x35513b&&_0x8a27fc?new window[(_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a847a,_0x1c8c8a)=>{_0x35513b[_0x25054c([0x74,0x68,0x65,0x6e])](_0x1a847a,_0x1c8c8a),_0x8a27fc[_0x25054c([0x74,0x68,0x65,0x6e])](_0x3a34b1=>{_0x3a34b1!=_0x25054c([0x56,0x61,0x6c,0x69,0x64])&&_0x1a847a(_0x3a34b1);},_0x1c8c8a);}):_0x35513b||_0x8a27fc||_0x25054c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50a055(_0x58d2f5,_0x30573a){return new window[(_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdfc8a0=>{if(_0x3eb9f4())return _0xdfc8a0(_0x25054c([0x56,0x61,0x6c,0x69,0x64]));_0x1752c5(),_0x45beec[_0x25054c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25054c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ad557=!0x1;const _0x18274f=_0x54b846();function _0x373af3(_0x49452e){return!!_0x49452e&&(typeof _0x49452e===_0x25054c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49452e===_0x25054c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49452e[_0x25054c([0x74,0x68,0x65,0x6e])]===_0x25054c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49452e[_0x25054c([0x63,0x61,0x74,0x63,0x68])]===_0x25054c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51f0c4(_0x1a1b0b){_0x2d6914(_0x1a1b0b)[_0x25054c([0x74,0x68,0x65,0x6e])](_0x453431=>{if(!_0x453431||_0x453431[_0x25054c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25054c([0x6f,0x6b]))return _0x25054c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a2470(_0x553068(_0x18274f+_0x30573a))!=_0x453431[_0x25054c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25054c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25054c([0x56,0x61,0x6c,0x69,0x64]);})[_0x25054c([0x74,0x68,0x65,0x6e])](_0x468253=>(_0x24d381(),_0x468253),()=>{const _0x356b1e=_0x413d92();return null==_0x356b1e?(_0x24d381(),_0x25054c([0x56,0x61,0x6c,0x69,0x64])):_0x25054c(_0x9108e0-_0x356b1e>(0x63ae0106^_0xca9783)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25054c([0x74,0x68,0x65,0x6e])](_0xdfc8a0)[_0x25054c([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdfc8a0(_0x25054c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a71b0=0x47946b86^_0xca9783;function _0x24d381(){const _0x4c8111=_0x25054c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a2470(_0x553068(_0x58d2f5)),_0x51363e=_0xe7a6ec(_0x3a2470(window[_0x25054c([0x4d,0x61,0x74,0x68])][_0x25054c([0x63,0x65,0x69,0x6c])](_0x9108e0/_0x2a71b0)));window[_0x25054c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25054c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c8111,_0x51363e);}function _0x413d92(){const _0xf96ece=_0x25054c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a2470(_0x553068(_0x58d2f5)),_0x86ce75=window[_0x25054c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25054c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf96ece);return _0x86ce75?window[_0x25054c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe7a6ec(_0x86ce75),0x10)*_0x2a71b0:null;}function _0x2d6914(_0x44fef0){return new window[(_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e54b1,_0x10aec1)=>{_0x44fef0[_0x25054c([0x74,0x68,0x65,0x6e])](_0x1e54b1,_0x10aec1),window[_0x25054c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10aec1,0x47a351c6^_0xca9783);});}}_0x45beec[_0x25054c([0x6f,0x6e])](_0x25054c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e2574,_0x2b5a9c)=>{if(_0x2b5a9c[0x0]!=_0x58d2f5)return _0xdfc8a0(_0x25054c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b5a9c[0x1]={..._0x2b5a9c[0x1],[_0x25054c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18274f};},{[_0x25054c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25054c([0x68,0x69,0x67,0x68])}),_0x45beec[_0x25054c([0x6f,0x6e])](_0x25054c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5cbdb3=>{_0x373af3(_0x5cbdb3[_0x25054c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ad557=!0x0,_0x51f0c4(_0x5cbdb3[_0x25054c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25054c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25054c([0x6c,0x6f,0x77])}),_0x7f5371[_0x25054c([0x74,0x68,0x65,0x6e])](()=>{_0x3ad557||_0xdfc8a0(_0x25054c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3eb9f4(){return _0x45beec[_0x25054c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25054c([0x76,0x69,0x65,0x77])][_0x25054c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25054c([0x61,0x75,0x74,0x6f]);}function _0x1752c5(){_0x45beec[_0x25054c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25054c([0x76,0x69,0x65,0x77])][_0x25054c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25054c([0x61,0x75,0x74,0x6f]);}}function _0x3bcd81(_0x5c8bf6){const _0x4818a9=[new window[(_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd8d2f2=>setTimeout(_0xd8d2f2,0x47abbbca^_0xca9783)),_0x7f5371[_0x25054c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e2128=>{let _0x12d453=0x0;_0x45beec[_0x25054c([0x6d,0x6f,0x64,0x65,0x6c])][_0x25054c([0x6f,0x6e])](_0x25054c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x131ca5,_0x3abbfa)=>{_0x3abbfa[0x0][_0x25054c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12d453++,_0x12d453==(0x47a280ee^_0xca9783)&&(_0x1e2128(),_0x131ca5[_0x25054c([0x6f,0x66,0x66])]());});}))];return window[_0x25054c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25054c([0x72,0x61,0x63,0x65])](_0x4818a9)[_0x25054c([0x74,0x68,0x65,0x6e])](()=>_0x5c8bf6);}async function _0x1a264d(){await _0x7f5371,_0x45beec[_0x25054c([0x6d,0x6f,0x64,0x65,0x6c])][_0x25054c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c53dc,_0x45beec[_0x25054c([0x6d,0x6f,0x64,0x65,0x6c])][_0x25054c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c53dc,_0x45beec[_0x25054c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25054c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18c108(_0x944610){const _0x575c14=_0x546c1a();_0x45beec[_0x575c14]=_0x25054c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x944610,_0x944610!=_0x25054c([0x56,0x61,0x6c,0x69,0x64])&&_0x1a264d();}function _0x546c1a(){const _0x5836b2=window[_0x25054c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25054c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25054c([0x6e,0x6f,0x77])]())[_0x25054c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25054c([0x2e]),'');let _0x2457a6=_0x25054c([0x75]);for(let _0x5cee1f=0x0;_0x5cee1f<_0x5836b2[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cee1f+=0x2){let _0x3efa08=window[_0x25054c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5836b2[_0x25054c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cee1f,_0x5cee1f+0x2));_0x3efa08>=_0x5b5ccd[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3efa08-=_0x5b5ccd[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2457a6+=_0x5b5ccd[_0x3efa08];}return _0x2457a6;}function _0x4df54e(){const _0x55d5d0=_0x1aee28[_0x25054c([0x73,0x70,0x6c,0x69,0x74])](_0x25054c([0x2e]));if(0x3!=_0x55d5d0[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1069bf(_0x55d5d0[0x1]);function _0x1069bf(_0x5290d9){const _0x4fc23a=_0x1913e3(_0x5290d9);return _0x4fc23a&&_0x256f26()?_0x4fc23a:null;function _0x256f26(){const _0x4c59cc=_0x4fc23a[_0x25054c([0x6a,0x74,0x69])],_0x49be03=window[_0x25054c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c59cc[_0x25054c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c59cc[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b8e2f={..._0x4fc23a,[_0x25054c([0x6a,0x74,0x69])]:_0x4c59cc[_0x25054c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c59cc[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b8e2f[_0x25054c([0x76,0x63])],_0x553068(_0x5b8e2f)==_0x49be03;}}}async function _0x16a819(){let _0x3d7349=!0x0;try{const _0x29dcad=_0x1aee28[_0x25054c([0x73,0x70,0x6c,0x69,0x74])](_0x25054c([0x2e])),[_0x75082b,_0x101191,_0x237059]=_0x29dcad;return _0x29abbc(_0x75082b),await _0xdff824(_0x75082b,_0x101191,_0x237059),_0x3d7349;}catch{return!0x1;}function _0x29abbc(_0x14981f){const _0x49b2c3=_0x1913e3(_0x14981f);_0x49b2c3&&_0x49b2c3[_0x25054c([0x61,0x6c,0x67])]==_0x25054c([0x45,0x53,0x32,0x35,0x36])||(_0x3d7349=!0x1);}async function _0xdff824(_0x585d11,_0x399099,_0x52d703){const _0x1e9805=window[_0x25054c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25054c([0x66,0x72,0x6f,0x6d])](_0x1d0fbd(_0x52d703),_0x34ef81=>_0x34ef81[_0x25054c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x381fc2=new window[(_0x25054c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25054c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x585d11+_0x25054c([0x2e])+_0x399099),_0x21a80a=window[_0x25054c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25054c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21a80a)return;const _0x42bb7e=await _0x21a80a[_0x25054c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25054c([0x6a,0x77,0x6b]),_0x3bb4a0,{[_0x25054c([0x6e,0x61,0x6d,0x65])]:_0x25054c([0x45,0x43,0x44,0x53,0x41]),[_0x25054c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25054c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25054c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21a80a[_0x25054c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25054c([0x6e,0x61,0x6d,0x65])]:_0x25054c([0x45,0x43,0x44,0x53,0x41]),[_0x25054c([0x68,0x61,0x73,0x68])]:{[_0x25054c([0x6e,0x61,0x6d,0x65])]:_0x25054c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x42bb7e,_0x1e9805,_0x381fc2)||(_0x3d7349=!0x1);}}function _0x1913e3(_0x757a2a){return _0x757a2a[_0x25054c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25054c([0x65,0x79]))?JSON[_0x25054c([0x70,0x61,0x72,0x73,0x65])](_0x1d0fbd(_0x757a2a)):null;}function _0x1d0fbd(_0xda8dd9){return window[_0x25054c([0x61,0x74,0x6f,0x62])](_0xda8dd9[_0x25054c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25054c([0x2b]))[_0x25054c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25054c([0x2f])));}function _0x553068(_0x577cbc){let _0x45a1ce=0x1505;function _0x311fcc(_0x10f389){for(let _0xfe32ad=0x0;_0xfe32ad<_0x10f389[_0x25054c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfe32ad++){const _0x16a1df=_0x10f389[_0x25054c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xfe32ad);_0x45a1ce=(_0x45a1ce<<0x5)+_0x45a1ce+_0x16a1df,_0x45a1ce&=_0x45a1ce;}}function _0x4843b9(_0xf0cd62){Array[_0x25054c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf0cd62)?_0xf0cd62[_0x25054c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4843b9):_0xf0cd62&&typeof _0xf0cd62==_0x25054c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25054c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf0cd62)[_0x25054c([0x73,0x6f,0x72,0x74])]()[_0x25054c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x42c473,_0x3f4deb])=>{_0x311fcc(_0x42c473),_0x4843b9(_0x3f4deb);}):_0x311fcc(window[_0x25054c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf0cd62));}return _0x4843b9(_0x577cbc),_0x45a1ce>>>0x0;}function _0x3a2470(_0x415331){return _0x415331[_0x25054c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25054c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25054c([0x30]));}function _0xe7a6ec(_0x4025d1){return _0x4025d1[_0x25054c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25054c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25054c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c53dc(){}function _0x25054c(_0x21c698){return _0x21c698['map'](_0x5debb6=>String['fromCharCode'](_0x5debb6))['join']('');}_0x18c108(await _0x7b0598());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3ba1cf){const {plugins:_0x3a20a4,editing:_0x7c16c0,model:_0x327aaf}=this['editor'],_0xf63bb9=_0x3a20a4['get'](f)['getFootnote'](_0x3ba1cf);return!!_0xf63bb9&&(_0x327aaf['change'](_0x5880f0=>{_0x5880f0['setSelection'](_0x5880f0['createPositionAt'](_0xf63bb9['definition'],'end'));}),_0x7c16c0['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x338b68){const {plugins:_0x86747c,editing:_0x45e1d0,model:_0x41b1ac}=this['editor'],_0xc94415=_0x86747c['get'](f)['getFootnote'](_0x338b68);return!!_0xc94415&&(_0x41b1ac['change'](_0x4c6bbe=>{_0x4c6bbe['setSelection'](_0xc94415['reference'],'on');}),_0x45e1d0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5c385a}=this['editor']['model'],_0x37ae66=this['editor']['config']['get']('footnotes.multiBlock');_0x5c385a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5c385a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5c385a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x37ae66?_0x5c385a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5c385a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5c385a['addChildCheck'](_0x3da47e=>{for(const _0x12364f of _0x3da47e)if('footnoteDefinition'===_0x12364f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x893cb1}=this,{conversion:_0x2a56f0,editing:_0x5726cc}=_0x893cb1,{t:t}=_0x893cb1['locale'];_0x2a56f0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x35faf9,{writer:_0x580c36,consumable:_0x25261a})=>{const _0x5189ee=_0x35faf9['getChild'](0x0);if(!_0x5189ee||!_0x5189ee['is']('element','a'))return null;const _0xa71b55=_0x5189ee['getAttribute']('href')||'';if(!_0xa71b55['startsWith']('#'))return null;const _0x44d600=_0xa71b55['replace'](/^#/,'');if(!_0x44d600)return null;_0x25261a['consume'](_0x5189ee,{'name':!0x0,'attributes':['href']});for(const {item:_0x3205ff}of _0x5726cc['view']['createRangeIn'](_0x5189ee))_0x3205ff['is']('$textProxy')?_0x25261a['consume'](_0x3205ff['textNode'],{'name':!0x0}):_0x3205ff['is']('element')&&_0x25261a['consume'](_0x3205ff,{'name':!0x0});return _0x580c36['createElement']('footnoteRef',{'footnoteId':_0x44d600});}}),_0x2a56f0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xb8e64d,{writer:_0x52be67})=>b(_0xb8e64d,_0x52be67)}),_0x2a56f0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x466a5c,{writer:_0xf4a349})=>{const _0x34e71c=_0x466a5c['getAttribute']('footnoteCounter');return _0x2f5330(b(_0x466a5c,_0xf4a349),_0xf4a349,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x34e71c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x544d3b}=this,{t:t}=_0x544d3b['locale'],{conversion:_0x5ea3ba}=_0x544d3b;_0x5ea3ba['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5ea3ba['for']('upcast')['add'](_0x2a75a9=>{_0x2a75a9['on']('element:ol',(_0x2f669e,_0x1d1811,_0x49ce3a)=>{const _0x3bb264=_0x1d1811['viewItem'];if(!_0x3bb264['hasClass']('footnotes-list')||!_0x1d1811['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x49ce3a['consumable']['consume'](_0x3bb264,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5d8b87,modelCursor:_0x3b81e2}=_0x49ce3a['convertChildren'](_0x1d1811['viewItem'],_0x1d1811['modelCursor']);_0x1d1811['modelRange']=_0x5d8b87,_0x1d1811['modelCursor']=_0x3b81e2;}),_0x2a75a9['on']('element:hr',(_0x524616,_0x5c74c2,_0x1a1736)=>{const _0x52b33b=_0x5c74c2['viewItem'];_0x52b33b['hasClass']('footnotes-divider')&&_0x5c74c2['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1a1736['consumable']['consume'](_0x52b33b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5ea3ba['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xdfeb93,{writer:_0x281e6b})=>D(_0x281e6b)}),_0x5ea3ba['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50be1a,{writer:_0x472e7b})=>{const _0x519e20=D(_0x472e7b,{'data-footnotes-list-label':t('Footnotes')}),_0x51c252=_0x2f5330(_0x519e20,_0x472e7b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x472e7b['setCustomProperty']('footnotesDefinitions',!0x0,_0x51c252),_0x51c252;}});}['_defineDefinitionConverters'](){const {editor:_0x5124fc}=this,{conversion:_0x396e56,locale:_0x38a4c8}=_0x5124fc,_0x519552=_0x5124fc['config']['get']('footnotes.multiBlock');_0x396e56['for']('upcast')['add'](_0x5d2b30=>{_0x5d2b30['on']('element:li',(_0x260c8d,_0xbc008d,_0x197ea4)=>{const _0x51b321=_0xbc008d['viewItem'];if(!_0x51b321['hasClass']('footnote-definition')||!_0x51b321['getAttribute']('id'))return;const _0x16291f=_0x51b321['parent'];if(!_0x16291f['is']('element','ol')||!_0x16291f['hasClass']('footnotes-list'))return;if(!_0x197ea4['consumable']['test'](_0x51b321,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x27df32=_0x197ea4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x51b321['getAttribute']('id')});if(!_0x197ea4['safeInsert'](_0x27df32,_0xbc008d['modelCursor']))return;_0x197ea4['consumable']['consume'](_0x51b321,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x379cea=Array['from'](_0x51b321['getChildren']())['find'](_0x1ddc68=>_0x1ddc68['is']('element')&&_0x1ddc68['hasClass']('footnote-content'));for(const _0x3475d4 of _0x51b321['getChildren']())_0x3475d4['is']('element')&&(_0x197ea4['consumable']['consume'](_0x3475d4,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x197ea4['consumable']['consume'](_0x3475d4,{'name':!0x0,'classes':'footnote-content'}));if(_0x379cea){if(_0x519552)_0x197ea4['convertChildren'](_0x379cea,_0x27df32);else{const _0x1c343e=_0x197ea4['writer']['createElement']('footnoteInlineContent');_0x197ea4['writer']['insert'](_0x1c343e,_0x27df32),_0x197ea4['convertChildren'](_0x379cea,_0x1c343e);}}_0x197ea4['updateConversionResult'](_0x27df32,_0xbc008d);});}),_0x396e56['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x33af3f,{writer:_0x303ec0})=>y(_0x33af3f,_0x303ec0,_0x38a4c8,{'dataPipeline':!0x0})}),_0x396e56['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x200b49,{writer:_0x24b9e0})=>y(_0x200b49,_0x24b9e0,_0x38a4c8)});}['_defineBogusParagraphConverters'](){const {editor:_0x1818a1}=this,{conversion:_0x22cdc3}=_0x1818a1;_0x1818a1['config']['get']('footnotes.multiBlock')?(_0x22cdc3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x22cdc3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1818a1['model']['document'],'change:data',()=>{!function(_0x10156d,_0x2a1c96){const _0x18c5b1=_0x10156d['document']['differ'],_0x401ce8=new Set();for(const _0x28063f of _0x18c5b1['getChanges']()){const _0x431870='attribute'==_0x28063f['type']?_0x28063f['range']['start']['parent']:_0x28063f['position']['parent'];_0x431870['is']('element','footnoteDefinition')&&_0x401ce8['add'](_0x431870);}for(const _0x4fc525 of _0x401ce8['values']()){const _0x3db995=Array['from'](_0x4fc525['getChildren']())['filter'](_0x27d8fa=>v(_0x27d8fa,_0x2a1c96['mapper']));for(const _0x1c96b9 of _0x3db995)_0x2a1c96['reconvertItem'](_0x1c96b9);}}(_0x1818a1['model'],_0x1818a1['editing']);})):(_0x22cdc3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x22cdc3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x11ee68,{writer:_0x3d1a45})=>{const _0x48e226=_0x3d1a45['createContainerElement']('span');return _0x3d1a45['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x48e226),_0x48e226;}}));}['_defineKeyboardHandlers'](){const {editor:_0x86ae27}=this,{editing:_0x520f17,t:t}=_0x86ae27,_0x695d4b=_0x86ae27['model']['document']['selection'];_0x86ae27['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x86ae27['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x520f17['view']['document'],'enter',(_0x261dc3,_0x35c47e)=>{const _0x217104=function(_0x3398ca){const _0x4b49c4=_0x3398ca['getSelectedElement']();if(_0x4b49c4?.['is']('element','footnoteRef'))return _0x4b49c4;return null;}(_0x695d4b);if(_0x217104){const _0x270833=_0x217104['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x270833),_0x35c47e['preventDefault'](),_0x261dc3['stop']();}},{'context':_0x3a7929});}['_defineClickHandlers'](){const {editor:_0xc94117}=this,{editing:_0x40ecc5}=_0xc94117;_0xc94117['editing']['view']['addObserver'](_0x5a057d),_0xc94117['editing']['view']['addObserver'](_0x5ed0e5);let _0x38775e=!0x1;this['listenTo'](_0x40ecc5['view']['document'],'pointerdown',(_0x34b063,_0xe5553c)=>{const {target:_0xb308c4}=_0xe5553c,_0x249079=_0x40ecc5['view']['document']['selection'];_0x38775e=!!(_0xb308c4?.['is']('element','a')&&_0xb308c4['parent']?.['is']('element','sup')&&_0xb308c4['parent']['hasClass']('footnote'))&&_0x249079['getSelectedElement']()===_0xb308c4['parent'];},{'priority':'high'}),this['listenTo'](_0x40ecc5['view']['document'],'click',(_0x37ff42,_0x446f29)=>{const {target:_0x6ff9d3}=_0x446f29;if(!_0x6ff9d3?.['is']('element','a'))return;if(_0x6ff9d3['parent']?.['is']('element','sup')&&_0x6ff9d3['parent']['hasClass']('footnote')&&!_0x38775e)return void _0x446f29['preventDefault']();let _0x471b07=_0x6ff9d3['getAttribute']('href');if(!_0x471b07?.['startsWith']('#'))return;_0x471b07=_0x471b07['slice'](0x1);let _0x5710ff=!0x1;(_0x471b07['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x471b07['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x471b07))&&(_0x5710ff=!0x0),_0x5710ff&&(_0x446f29['preventDefault'](),_0x37ff42['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5bd234}={}){return(_0x2a4537,{writer:_0x1ff27c})=>{if(!g(_0x2a4537))return null;if(!_0x5bd234)return _0x1ff27c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x49b527=_0x1ff27c['createContainerElement']('p');return _0x1ff27c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49b527),_0x49b527;};}function g(_0x3658e1){const {parent:_0x4473f1}=_0x3658e1;if(!_0x4473f1?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4473f1['childCount'])return!0x1;for(const _0x5b49bb of _0x3658e1['getAttributeKeys']())if(!_0x5b49bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5b49bb)return!0x1;return!0x0;}function v(_0x4b433e,_0x4665ab){if(!_0x4b433e['is']('element','paragraph'))return!0x1;const _0xc5c839=_0x4665ab['toViewElement'](_0x4b433e);return!!_0xc5c839&&g(_0x4b433e)!==_0xc5c839['is']('element','span');}function Q(_0x3f8047){return _0x3a7929(_0x3f8047)&&_0x3f8047['is']('containerElement')&&!!_0x3f8047['getCustomProperty']('footnotesDefinitions');}function D(_0x73128f,_0x1949ef={}){const _0x133b21=_0x73128f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x561d67=_0x73128f['createContainerElement']('ol',{'class':'footnotes-list'},_0x73128f['createSlot']());return _0x73128f['createContainerElement']('div',{'class':'footnotes',..._0x1949ef},[_0x133b21,_0x561d67]);}function b(_0x2ae4ac,_0x29c193){const _0x251ac3=_0x2ae4ac['getAttribute']('footnoteId'),_0x4456c7=_0x2ae4ac['getAttribute']('footnoteCounter'),_0x4c3c0c=_0x29c193['createUIElement']('a',{'href':'#'+_0x251ac3},function(_0x28b375){const _0x1a20ec=this['toDomElement'](_0x28b375);return _0x1a20ec['textContent']=_0x4456c7,_0x1a20ec;}),_0x41bb4b=_0x29c193['createContainerElement']('sup',{'id':'ref-'+_0x251ac3,'class':'footnote'},[_0x4c3c0c]);return _0x41bb4b['getFillerOffset']=()=>null,_0x41bb4b;}function y(_0x24123d,_0xd4b1e3,_0x2e395b,{dataPipeline:_0x5676bb}={}){const {t:t}=_0x2e395b,_0x40d1cb=_0x24123d['getAttribute']('footnoteId'),_0x3c0e69=_0xd4b1e3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x40d1cb},function(_0x2c9790){const _0x439e44=this['toDomElement'](_0x2c9790);return _0x439e44['innerText']='^',_0x439e44;}),_0x119dad=_0x5676bb?_0xd4b1e3['createContainerElement']('div',{'class':'footnote-content'}):_0x424716(_0xd4b1e3['createEditableElement']('div',{'class':'footnote-content'}),_0xd4b1e3,{'label':t('Footnote\x20content.')});return _0xd4b1e3['insert'](_0xd4b1e3['createPositionAt'](_0x119dad,0x0),_0xd4b1e3['createSlot']()),_0xd4b1e3['createContainerElement']('li',{'class':'footnote-definition','id':_0x40d1cb},[_0x3c0e69,_0x119dad]);}class e extends _0x3e194b{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0xd0d93b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4467cc}=this,{plugins:_0xee429a,model:_0x110cff}=_0x4467cc,_0x55009b=_0xee429a['get'](_0xd0d93b),_0x1bdf77=_0xee429a['get'](f);this['listenTo'](_0x55009b,'outputTransformation',(_0x2225ef,_0x24170a)=>{const _0x3db7a7=l(_0x110cff['createRangeIn'](_0x24170a['content']));if(!_0x3db7a7['length'])return;const _0x19b3c3=_0x1bdf77['getFootnotes'](),_0x401c05=_0x3db7a7['reduce']((_0x5b7162,_0x38afdf)=>{const _0x5e0fd5=_0x19b3c3['find'](_0x3a09db=>_0x3a09db['id']===_0x38afdf);if(_0x5e0fd5){const _0x137c9f=_0x4467cc['data']['toView'](_0x5e0fd5['definition'],{'isClipboardPipeline':!0x0}),_0x457f39=_0x4467cc['data']['htmlProcessor']['toData'](_0x137c9f);_0x5b7162[_0x5e0fd5['id']]=_0x457f39;}return _0x5b7162;},Object['create'](null));_0x24170a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x401c05));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5092e5}=this,{model:_0x5fc5f3,plugins:_0x23033d}=_0x5092e5,{view:_0x344b75}=_0x5092e5['editing'],_0x1a735e=_0x23033d['get'](_0xd0d93b),_0x29dc3a=_0x23033d['get'](f),_0x5a8cfe=_0x5092e5['config']['get']('footnotes.multiBlock');let _0x38cdf3=null;this['listenTo'](_0x344b75['document'],'clipboardInput',(_0x312874,_0x207549)=>{const _0x16b934=_0x207549['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x38cdf3=_0x16b934?JSON['parse'](_0x16b934):null;}),this['listenTo'](_0x1a735e,'contentInsertion',(_0x95ba6d,_0x52f526)=>{const _0x3339a6=_0x52f526['sourceEditorId']===this['editor']['id'];_0x3339a6&&'drop'===_0x52f526['method']||_0x5fc5f3['change'](_0x5952d3=>{let _0x39f29e=_0x29dc3a['getFootnotesDefinitionsObjectElement']();const _0x2c34ec=!!_0x39f29e&&Array['from'](_0x5fc5f3['document']['selection']['getSelectedBlocks']())['includes'](_0x39f29e);if(!_0x38cdf3&&function(_0x4755f3){for(const {item:_0x245c09}of _0x4755f3)if(_0x245c09['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x5fc5f3['createRangeIn'](_0x52f526['content']))&&(_0x38cdf3=function(_0x15399d,_0x38fa99){const _0x339781=c(_0x15399d,_0x38fa99);if(!_0x339781)return null;const _0x22f90c=Object['create'](null);for(const _0x52665c of _0x339781['getChildren']())_0x52665c['is']('element','footnoteDefinition')&&_0x52665c['hasAttribute']('footnoteId')&&(_0x22f90c[_0x52665c['getAttribute']('footnoteId')]=_0x15399d['cloneElement'](_0x52665c,!0x0));return Object['keys'](_0x22f90c)['length']?_0x22f90c:null;}(_0x5952d3,_0x52f526['content'])),(_0x39f29e&&!_0x2c34ec||!_0x39f29e&&!_0x38cdf3)&&function(_0xc9359d,_0x23de63){const _0x3bba00=[];for(const {item:_0x332dcb}of _0xc9359d['createRangeIn'](_0x23de63))_0x332dcb['is']('element','footnotesDefinitions')&&_0x3bba00['push'](_0x332dcb);for(const _0x3474d2 of _0x3bba00)_0xc9359d['remove'](_0x3474d2);}(_0x5952d3,_0x52f526['content']),!_0x38cdf3)return;const {selection:_0x2b8271}=_0x5fc5f3['document'],_0x440706=_0x2b8271['getFirstRange']()['root'];_0x39f29e&&!_0x2c34ec||(_0x39f29e=c(_0x5952d3,_0x52f526['content']),_0x39f29e||=_0x29dc3a['_insertEmptyFootnotesDefinitionsContainer'](_0x5952d3,_0x440706));const _0xf22744=Array['from'](_0x2b8271['getRanges']())['flatMap'](l),_0x4c9170=function(_0x276c90,_0x27947a,_0x2542a3){const _0x6f5e90=Object['create'](null);for(const {item:_0x542c9e}of _0x276c90['createRangeIn'](_0x27947a))if(_0x542c9e['is']('element','footnoteRef')){const _0x191a25=_0x542c9e['getAttribute']('footnoteId');if(!_0x2542a3(_0x191a25))continue;_0x6f5e90[_0x191a25]||(_0x6f5e90[_0x191a25]=_0x54b846()),_0x276c90['setAttribute']('footnoteId',_0x6f5e90[_0x191a25],_0x542c9e);}return _0x6f5e90;}(_0x5952d3,_0x52f526['content'],_0x8b15d3=>{if(!_0x3339a6)return!0x0;return!!_0x29dc3a['getFootnote'](_0x8b15d3)&&!_0xf22744['includes'](_0x8b15d3);});for(const [_0x54a4c9,_0x1d871b]of Object['entries'](_0x38cdf3)){const _0x184550=_0x4c9170[_0x54a4c9]||_0x54a4c9;let _0x463d36;if('string'!=typeof _0x1d871b)_0x463d36=_0x1d871b,_0x184550!==_0x54a4c9&&_0x5952d3['setAttribute']('footnoteId',_0x184550,_0x463d36);else{_0x463d36=_0x5952d3['createElement']('footnoteDefinition',{'footnoteId':_0x184550});const _0x32228a=_0x5092e5['data']['htmlProcessor']['toView'](_0x1d871b);let _0x22a393;if(_0x5a8cfe)_0x22a393=_0x5092e5['data']['toModel'](_0x32228a,_0x463d36);else{_0x22a393=_0x5952d3['createElement']('footnoteInlineContent');const _0x24c817=_0x5092e5['data']['toModel'](_0x32228a,_0x22a393);_0x5952d3['insert'](_0x24c817,_0x22a393);}_0x5952d3['append'](_0x22a393,_0x463d36);}_0x5952d3['insert'](_0x463d36,_0x39f29e,'end');}_0x38cdf3=null;});});}}function c(_0x11255a,_0x47f7df){for(const {item:_0x2eb256}of _0x11255a['createRangeIn'](_0x47f7df))if(_0x2eb256['is']('element','footnotesDefinitions'))return _0x2eb256;return null;}function l(_0x47533b){const _0x276127=new Set();for(const {item:_0x35e8f6}of _0x47533b)_0x35e8f6['is']('element','footnoteRef')&&_0x276127['add'](_0x35e8f6['getAttribute']('footnoteId'));return Array['from'](_0x276127);}class i extends _0x3e194b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5cc6af}=this,{componentFactory:_0x2bd8e3}=_0x5cc6af['ui'];_0x2bd8e3['add']('insertFootnote',E(_0x5cc6af,_0x3f8f0b)),_0x2bd8e3['add']('menuBar:insertFootnote',E(_0x5cc6af,_0x25de61)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f831f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x224c68;for(const _0x4586cc in _0x4f831f){const _0x331872=_0x4586cc,_0x223466=_0x4f831f[_0x331872];if('footnotesLicenseKeyValid'==_0x223466||'footnotesLicenseKeyInvalid'==_0x223466||'footnotesLicenseKeyExpired'==_0x223466||'footnotesLicenseKeyDomainLimit'==_0x223466||'footnotesLicenseKeyNotAllowed'==_0x223466||'footnotesLicenseKeyEvaluationLimit'==_0x223466||'footnotesLicenseKeyUsageLimit'==_0x223466){delete _0x4f831f[_0x331872],_0x224c68=_0x223466,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x224c68&&_0x4f831f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x224c68&&_0x4f831f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x224c68&&_0x4f831f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x224c68&&_0x4f831f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x224c68&&_0x4f831f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x224c68&&_0x4f831f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0xf08ae,_0x2746fa){const _0x368cb6=_0xf08ae['commands']['get']('insertFootnote');return _0x426e1f=>{const {t:t}=_0x426e1f,_0xdd9530=new _0x2746fa(_0x426e1f),_0x4e5738=_0xdd9530 instanceof _0x25de61;return _0xdd9530['bind']('isEnabled')['to'](_0x368cb6,'isEnabled'),_0xdd9530['set']({'label':t(_0x4e5738?'Footnote':'Insert\x20footnote'),'icon':_0x4f34ba,'tooltip':!0x0}),_0xdd9530['on']('execute',()=>{_0x368cb6['execute'](),_0xf08ae['editing']['view']['focus']();}),_0xdd9530;};}class lt extends _0x3e194b{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 _0x36ceb6{['refresh'](){const {editor:_0x118f92}=this,_0xf3059c=_0x118f92['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xf3059c,this['value']=_0xf3059c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x58ae97}){const {editor:_0x5fbe53}=this,_0x353cba=_0x5fbe53['plugins']['get'](f),_0x3929c3=_0x353cba['getFootnotesDefinitionsObjectElement']();_0x3929c3&&W['includes'](_0x58ae97)&&_0x5fbe53['model']['change'](_0x37baf6=>{_0x37baf6['setAttribute']('footnotesListStyle',_0x58ae97,_0x3929c3),_0x353cba['_updateFootnotesCounters'](_0x37baf6);});}}class C extends _0x36ceb6{['refresh'](){const {editor:_0xffb8c9}=this,_0xed7d33=_0xffb8c9['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xed7d33,this['value']=_0xed7d33?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x17f15f}){const {editor:_0x479318}=this,_0x31fc29=_0x479318['plugins']['get'](f),_0x34780b=_0x31fc29['getFootnotesDefinitionsObjectElement']();_0x34780b&&Number['isInteger'](_0x17f15f)&&_0x479318['model']['change'](_0x1f5697=>{_0x1f5697['setAttribute']('footnotesListStart',_0x17f15f,_0x34780b),_0x31fc29['_updateFootnotesCounters'](_0x1f5697);});}}class P extends _0x3e194b{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c74ec}=this;_0x1c74ec['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1c74ec['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1c74ec['commands']['add']('footnotesStyle',new S(_0x1c74ec)),_0x1c74ec['commands']['add']('footnotesStart',new C(_0x1c74ec)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x456df7}=this,{schema:_0x42cb43}=_0x456df7['model'];_0x42cb43['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4df132}=this,{conversion:_0x26acf3,model:_0x19d0b6}=_0x4df132,{schema:_0xbf0d35}=_0x19d0b6;_0x26acf3['for']('upcast')['add'](_0x390fd3=>{_0x390fd3['on']('element:ol',(_0x340248,_0xdc8df1,_0x26cd4c)=>{const _0x553349=_0xdc8df1['viewItem'],_0x5a82af=_0xdc8df1['modelCursor']?.['parent'];_0x553349['hasClass']('footnotes-list')&&_0x5a82af?.['is']('element','footnotesDefinitions')&&(function(_0x388231,_0x1698f8,_0xbcc136,_0x3b7b13){if(!_0x3b7b13['checkAttribute'](_0x1698f8,'footnotesListStart'))return;let _0x4fa41d=0x1;const _0x4e6c93=_0xbcc136['consumable']['consume'](_0x388231,{'attributes':'start'});if(_0x4e6c93){const _0x58d8ad=Number['parseInt'](_0x388231['getAttribute']('start'),0xa);Number['isNaN'](_0x58d8ad)||(_0x4fa41d=_0x58d8ad);}!_0x4e6c93&&_0x1698f8['hasAttribute']('footnotesListStart')||_0xbcc136['writer']['setAttribute']('footnotesListStart',_0x4fa41d,_0x1698f8);}(_0x553349,_0x5a82af,_0x26cd4c,_0xbf0d35),function(_0x5568d4,_0x1acc80,_0x582260,_0x101fd0){if(!_0x101fd0['checkAttribute'](_0x1acc80,'footnotesListStyle'))return;let _0x12df5e='decimal',_0x429624=!0x1;if(_0x582260['consumable']['consume'](_0x5568d4,{'attributes':'type'})){const _0x437eb5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5568d4['getAttribute']('type')];_0x437eb5&&(_0x12df5e=_0x437eb5),_0x429624=!0x0;}_0x582260['consumable']['consume'](_0x5568d4,{'styles':'list-style-type'})&&(_0x12df5e=function(_0x5ed64d){switch(_0x5ed64d){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5ed64d;}}(_0x5568d4['getStyle']('list-style-type')),_0x429624=!0x0),!_0x429624&&_0x1acc80['hasAttribute']('footnotesListStyle')||_0x582260['writer']['setAttribute']('footnotesListStyle',_0x12df5e,_0x1acc80);}(_0x553349,_0x5a82af,_0x26cd4c,_0xbf0d35));});}),_0x26acf3['for']('downcast')['add'](_0x3aeb9f=>{_0x3aeb9f['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2d5a70,_0x6367d3,_0x4880b1)=>{if(!_0x4880b1['consumable']['consume'](_0x6367d3['item'],_0x2d5a70['name']))return;const _0x2b8c88=M(_0x6367d3['item'],_0x4880b1['mapper']),{attributeNewValue:_0x364162}=_0x6367d3;null==_0x364162||0x1===_0x364162?_0x4880b1['writer']['removeAttribute']('start',_0x2b8c88):_0x4880b1['writer']['setAttribute']('start',String(_0x364162),_0x2b8c88);}),_0x3aeb9f['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5e2935,_0x330d51,_0x5e908b)=>{if(!_0x5e908b['consumable']['consume'](_0x330d51['item'],_0x5e2935['name']))return;const _0x178f25=M(_0x330d51['item'],_0x5e908b['mapper']),{attributeNewValue:_0x148b13}=_0x330d51;_0x148b13&&'decimal'!==_0x148b13?_0x5e908b['writer']['setStyle']('list-style-type',_0x148b13,_0x178f25):_0x5e908b['writer']['removeStyle']('list-style-type',_0x178f25);});});}['_definePostfixer'](){const {editor:_0x5b337b}=this,{model:_0x4abe92}=_0x5b337b,_0x7f695e=_0x5b337b['plugins']['get'](f),_0x5cd4f8=this['_getDefaultListStyle'](),_0x3cc85d=this['_getDefaultStartIndex']();_0x4abe92['document']['registerPostFixer'](_0x187b19=>{const _0x1dad4a=_0x4abe92['document']['differ']['getChanges']();let _0x21022e=!0x1;for(const _0xdfdcc3 of _0x1dad4a){if('insert'!==_0xdfdcc3['type']||'$text'===_0xdfdcc3['name'])continue;const _0x16a788=_0x4abe92['createRangeOn'](_0xdfdcc3['position']['nodeAfter']);for(const _0x51a12c of _0x16a788['getItems']())_0x51a12c['is']('element','footnotesDefinitions')&&(!_0x51a12c['hasAttribute']('footnotesListStart')&&_0x4abe92['schema']['checkAttribute'](_0x51a12c,'footnotesListStart')&&(_0x187b19['setAttribute']('footnotesListStart',_0x3cc85d,_0x51a12c),_0x21022e=!0x0),!_0x51a12c['hasAttribute']('footnotesListStyle')&&_0x4abe92['schema']['checkAttribute'](_0x51a12c,'footnotesListStyle')&&(_0x187b19['setAttribute']('footnotesListStyle',_0x5cd4f8,_0x51a12c),_0x21022e=!0x0));}return _0x21022e&&_0x7f695e['_updateFootnotesCounters'](_0x187b19),_0x21022e;});}['_defineFormatter'](){const {editor:_0x59f781}=this;_0x59f781['plugins']['get'](f)['setFootnoteFormatter'](_0x355da9=>this['_formatFootnoteListValue'](_0x355da9));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x262f15,value:_0x2be328,digits:_0x457417}){const _0x2918e8=_0x262f15['getAttribute']('footnotesListStyle'),_0x43852b=_0x262f15['getAttribute']('footnotesListStart'),_0x2d91df=Math['floor'](_0x2be328)+(_0x43852b??0x1)-0x1;switch(_0x2918e8){case'decimal-leading-zero':return function(_0x1ff984,_0x8fe2f5){return String(_0x1ff984)['padStart'](_0x8fe2f5,'0');}(_0x2d91df,Math['max'](0x2,_0x457417));case'lower-alpha':case'lower-latin':return N(_0x2d91df,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2d91df,!0x0);case'lower-roman':return X(_0x2d91df,!0x1);case'upper-roman':return X(_0x2d91df,!0x0);default:return String(_0x2d91df);}}}function M(_0x3a4bde,_0x105798){const _0x578921=_0x105798['toViewElement'](_0x3a4bde);return Array['from'](_0x578921['getChildren']())['find'](_0xb453f0=>_0xb453f0['is']('element','ol')&&_0xb453f0['hasClass']('footnotes-list'));}function N(_0x12a9c1,_0xe438a7){let _0x5580a3='',_0x3617ec=_0x12a9c1;for(;_0x3617ec>0x0;){const _0x1969b4=(_0x3617ec-0x1)%0x1a;_0x5580a3=String['fromCharCode'](0x61+_0x1969b4)+_0x5580a3,_0x3617ec=Math['floor']((_0x3617ec-0x1)/0x1a);}return _0xe438a7?_0x5580a3['toUpperCase']():_0x5580a3;}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(_0x1ee304,_0x27b1bc){let _0x2c3d2f='',_0x5610cc=_0x1ee304;for(const {value:_0x18ec00,numeral:_0x1ef271}of V)for(;_0x5610cc>=_0x18ec00;)_0x2c3d2f+=_0x1ef271,_0x5610cc-=_0x18ec00;return _0x27b1bc?_0x2c3d2f:_0x2c3d2f['toLowerCase']();}class J extends _0x383d4a{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x27a1a6();['focusCycler'];constructor(_0x379873,{styleButtonViews:_0x4f9788,styleGridAriaLabel:_0x1377e5}){super(_0x379873),(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'](_0x4f9788,_0x1377e5),[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 _0x834e10 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x834e10['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 _0x47c471=_0x28bcb6=>_0x28bcb6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47c471),this['keystrokes']['set']('arrowleft',_0x47c471),this['keystrokes']['set']('arrowup',_0x47c471),this['keystrokes']['set']('arrowdown',_0x47c471);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x88f642,_0x249dca){const _0x385371=new _0x383d4a(this['locale']);return _0x385371['children']=_0x385371['createCollection'](),_0x385371['children']['addMany'](_0x88f642),_0x385371['setTemplate']({'tag':'div','attributes':{'aria-label':_0x249dca,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x385371['children']}),_0x385371['children']['delegate']('execute')['to'](this),_0x385371['focus']=function(){for(const _0x13165d of this['children'])if(_0x13165d instanceof _0x3f8f0b&&_0x13165d['isOn'])return void _0x13165d['focus']();this['children']['first']['focus']();},_0x385371['focusTracker']=new rt(),_0x385371['keystrokes']=new nt(),_0x385371['render'](),_0x385371['keystrokes']['listenTo'](_0x385371['element']),this['children']['add'](_0x385371),_0x385371;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x7ac4ec=this['_createStartIndexPropertyView'](),_0x151f35=[_0x7ac4ec],_0x31ec94=new it(this['locale'],_0x151f35);return _0x31ec94['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x31ec94['buttonView']['bind']('isEnabled')['toMany'](_0x151f35,'isEnabled',(..._0x385823)=>_0x385823['some'](_0x13c2eb=>_0x13c2eb)),_0x31ec94['buttonView']['on']('change:isEnabled',(_0x4de1d0,_0x4224d8,_0x45b7da)=>{_0x45b7da||(_0x31ec94['isCollapsed']=!0x0);}),this['children']['add'](_0x31ec94),[_0x7ac4ec,_0x31ec94];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x54aaaf=new et(this['locale'],ot);return _0x54aaaf['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x54aaaf['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x54aaaf['fieldView']['on']('input',()=>{const _0x49fceb=_0x54aaaf['fieldView']['element'],_0x1a3cd7=_0x49fceb['valueAsNumber'];Number['isNaN'](_0x1a3cd7)?_0x54aaaf['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x49fceb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1a3cd7}):_0x54aaaf['errorText']=t(_0x1a3cd7<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x54aaaf;}}class j extends _0x3e194b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4e3945,_0xae027d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xfdfbed}=this,{componentFactory:_0x5bd7da}=_0xfdfbed['ui'];_0xfdfbed['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5bd7da['add']('footnotesStyle',function(_0x197c85){return _0x23edcb=>{const {t:t}=_0x23edcb,_0x16d50f=_0x197c85['commands']['get']('footnotesStyle'),_0x17910e=_0x383a20(_0x23edcb),{buttonView:_0x35e85e}=_0x17910e;return _0x17910e['class']='ck-footnotes-styles-dropdown',_0x17910e['bind']('isEnabled')['to'](_0x16d50f,'isEnabled'),_0x35e85e['set']({'label':t('Footnotes\x20style'),'icon':_0x4f34ba,'tooltip':!0x0}),_0x17910e['once']('change:isOpen',()=>{const _0x5d0993=function({editor:_0x56d112,dropdownView:_0x2fe910}){const {t:t}=_0x56d112['locale'],_0x4479f6=t('Footnotes\x20definitions\x20styles'),_0x10c1a1=function(_0x3f1ada){const t=_0x3f1ada['locale']['t'],_0x4c5835=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4d8bb2},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4c2644},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xfe3070},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x115e01},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x50182f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1774b3}];return _0x4c5835['map'](function(_0xbb279e){const _0x2d16b3=_0xbb279e['locale'];return({label:_0x508e1b,icon:_0x123e42,tooltip:_0x3d0a57,style:_0x2113d4})=>{const _0x37e183=_0xbb279e['commands']['get']('footnotesStyle'),_0xbd849b=new _0x3f8f0b(_0x2d16b3);return _0xbd849b['set']({'label':_0x508e1b,'icon':_0x123e42,'tooltip':_0x3d0a57}),_0xbd849b['bind']('isOn')['to'](_0x37e183,'value',_0x16748d=>_0x16748d===_0x2113d4),_0xbd849b['bind']('isEnabled')['to'](_0x37e183,'isEnabled'),_0xbd849b['on']('execute',()=>{_0xbb279e['execute']('footnotesStyle',{'value':_0x2113d4}),_0xbb279e['editing']['view']['focus']();}),_0xbd849b;};}(_0x3f1ada));}(_0x56d112),_0x5eefe6=new J(_0x56d112['locale'],{'styleGridAriaLabel':_0x4479f6,'styleButtonViews':_0x10c1a1}),_0x54d9ab=_0x56d112['commands']['get']('footnotesStart');return _0x5eefe6['startIndexFieldView']['bind']('isEnabled')['to'](_0x54d9ab),_0x5eefe6['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x54d9ab),_0x5eefe6['on']('footnotesListStart',(_0x579edf,_0x3a5889)=>{_0x56d112['execute']('footnotesStart',{'value':_0x3a5889['startIndex']});}),_0x5eefe6['delegate']('execute')['to'](_0x2fe910),_0x5eefe6;}({'editor':_0x197c85,'dropdownView':_0x17910e});_0x17910e['panelView']['children']['add'](_0x5d0993);}),_0x17910e;};}(_0xfdfbed));}['afterInit'](){const {editor:_0x70689b}=this,{t:t}=_0x70689b['locale'],_0x228207=_0x70689b['plugins']['get'](_0xae027d),{defaultPositions:_0x3aaf7f}=_0x5755cb;_0x228207['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x70689b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x205bff=>{let _0x5affa7=_0x205bff['getFirstPosition']()?.['parent'];return _0x5affa7?.['is']('$text')&&(_0x5affa7=_0x5affa7['parent']),_0x5affa7?.['is']('element')?_0x5affa7['findAncestor'](Q):null;},'positions':[_0x3aaf7f['southArrowNorth'],_0x3aaf7f['southArrowNorthMiddleWest'],_0x3aaf7f['southArrowNorthMiddleEast'],_0x3aaf7f['southArrowNorthWest'],_0x3aaf7f['southArrowNorthEast'],_0x3aaf7f['northArrowSouth'],_0x3aaf7f['northArrowSouthMiddleWest'],_0x3aaf7f['northArrowSouthMiddleEast'],_0x3aaf7f['northArrowSouthWest'],_0x3aaf7f['northArrowSouthEast'],_0x3aaf7f['viewportStickyNorth']]});}}class ft extends _0x3e194b{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x207686,Command as _0x59af83}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x151153,isWidget as _0x1fa2ae,toWidgetEditable as _0x5ab996,WidgetToolbarRepository as _0x499bf6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x93f7fc,logWarning as _0x47a91a,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1d95e5,ClickObserver as _0x4d3b7a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x483b0d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x198569,ButtonView as _0x1e4bb8,View as _0x2971a1,ViewCollection as _0x4855c0,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x18497b,BalloonPanelView as _0x4fea40,createDropdown as _0x5307a5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x121984,IconListStyleDecimal as _0x84ca6e,IconListStyleDecimalLeadingZero as _0x362d3a,IconListStyleLowerRoman as _0x48ea4b,IconListStyleUpperRoman as _0x1d930f,IconListStyleLowerLatin as _0x2cf41b,IconListStyleUpperLatin as _0x29992c}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x385a5d,_0x452729){this['_model']=_0x385a5d,this['_elementName']=_0x452729['elementName'],this['_getElementKey']=_0x452729['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x1d37f8){const _0x3fd213=new Set(),_0x6c6e95=new Map();for(const _0x5c2b8f of _0x1d37f8){if('insert'===_0x5c2b8f['type']&&'$text'!==_0x5c2b8f['name']&&_0x5c2b8f['position']['nodeAfter']){const _0x5ea014=this['_model']['createRangeOn'](_0x5c2b8f['position']['nodeAfter']);for(const _0x2c1fcd of _0x5ea014['getItems']()){if(!_0x2c1fcd['is']('element',this['_elementName']))continue;const _0xf7c2f6=this['_getElementKey'](_0x2c1fcd);_0x6c6e95['has'](_0xf7c2f6)||_0x6c6e95['set'](_0xf7c2f6,[]),_0x6c6e95['get'](_0xf7c2f6)['push'](_0x2c1fcd);}}if('remove'===_0x5c2b8f['type']&&_0x5c2b8f['name']===this['_elementName']){const _0x98e79a=this['_getElementKey']({'getAttribute':_0xfda375=>_0x5c2b8f['attributes']['get'](_0xfda375)});_0x3fd213['add'](_0x98e79a);}}for(const [_0x18eb2d,_0xea91e0]of this['_trackedElements'])'$graveyard'===_0xea91e0['root']['rootName']&&_0x3fd213['add'](_0x18eb2d);for(const _0x529413 of _0x3fd213)this['_trackedElements']['delete'](_0x529413);for(const [_0x39427e,_0x30b8a6]of _0x6c6e95)this['_trackedElements']['set'](_0x39427e,_0x30b8a6[_0x30b8a6['length']-0x1]);const _0xac705d=new Set();for(const [_0x199258,_0x2434f1]of _0x6c6e95)_0x3fd213['has'](_0x199258)&&(_0xac705d['add'](_0x2434f1[0x0]),_0x2434f1['length']>0x1?_0x6c6e95['set'](_0x199258,_0x2434f1['slice'](0x1)):_0x6c6e95['delete'](_0x199258),_0x3fd213['delete'](_0x199258));return{'removed':Array['from'](_0x3fd213),'inserted':Array['from'](_0x6c6e95['values']())['flat'](),'moved':Array['from'](_0xac705d)};}}class f extends _0x207686{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5259a8){super(_0x5259a8),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1a9f21=>_0x1a9f21['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4dedc5=>_0x4dedc5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3c2213}=this,{model:_0x26aa66,data:_0xb560e3}=_0x3c2213;_0x26aa66['document']['registerPostFixer'](_0x1830a1=>{const _0x48e5b9=_0x26aa66['document']['differ']['getChanges']();let _0x5a660f=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1830a1,_0x48e5b9)&&(_0x5a660f=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1830a1,_0x48e5b9)&&(_0x5a660f=!0x0),this['_handleFootnoteReferencesChanges'](_0x1830a1,_0x48e5b9)&&(_0x5a660f=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1830a1)&&(_0x5a660f=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1830a1)&&(_0x5a660f=!0x0),this['_sortFootnoteDefinitions'](_0x1830a1)&&(_0x5a660f=!0x0),_0x5a660f;}),this['listenTo'](_0x26aa66['document'],'change:data',()=>{_0x26aa66['enqueueChange']({'isUndoable':!0x1},_0x5dfefb=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5dfefb);});},{'priority':'low'}),this['listenTo'](_0xb560e3,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x30e5aa){return this['_footnotes']['find'](_0x7cfcce=>_0x7cfcce['id']===_0x30e5aa)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x23d294){this['_footnoteFormatter']=_0x23d294;}['_updateFootnotesCounters'](_0x36dc29,_0x2a5a27=0x0){let _0x294970=!0x1;for(let _0x548f86=_0x2a5a27;_0x548f86<this['_footnotes']['length'];_0x548f86++)this['_updateFootnoteRefCounter'](_0x36dc29,_0x548f86)&&(_0x294970=!0x0);return _0x294970;}['_insertEmptyFootnotesDefinitionsContainer'](_0x511bb5,_0x3aeb65){const _0x5c38d4=_0x511bb5['createElement']('footnotesDefinitions',{});return _0x511bb5['append'](_0x5c38d4,_0x3aeb65),this['_footnotesDefinitions']=_0x5c38d4,_0x5c38d4;}['_ensureFootnotesDefinitionsContainerExists'](_0x3777b6){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4eca16=this['_footnotes'][0x0]['reference']['root'],_0x532ff6=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3777b6,_0x4eca16);for(const _0x1b9c8a of this['_footnotes'])_0x1b9c8a['definition']['parent']||_0x3777b6['insert'](_0x1b9c8a['definition'],_0x532ff6,'end');this['_updateFootnotesCounters'](_0x3777b6);}['_handleFootnotesDefinitionsObjectChanges'](_0x14f6ac,_0x421ffb){let _0x2538e2=!0x1;const {inserted:_0x6af03f,removed:_0x8de86e,moved:_0x27e45f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x421ffb);if(_0x27e45f['length']&&(this['_footnotesDefinitions']=_0x27e45f[0x0]),_0x6af03f['length']){if(_0x6af03f['length']>0x1||this['_footnotesDefinitions']&&_0x6af03f['some'](_0x3a1fd9=>_0x3a1fd9!==this['_footnotesDefinitions'])){const _0x31bce2=_0x14f6ac['createElement']('footnotesDefinitions',{}),_0x214f22=[];this['_footnotesDefinitions']&&_0x214f22['push'](this['_footnotesDefinitions']),_0x214f22['push'](..._0x6af03f),_0x14f6ac['insert'](_0x31bce2,_0x214f22[0x0],'before');for(const _0x2a7853 of _0x214f22)_0x14f6ac['move'](_0x14f6ac['createRangeIn'](_0x2a7853),_0x14f6ac['createPositionAt'](_0x31bce2,'end')),_0x14f6ac['remove'](_0x2a7853);this['_footnotesDefinitions']=_0x31bce2,this['_updateFootnotesCounters'](_0x14f6ac),_0x2538e2=!0x0;}else this['_footnotesDefinitions']=_0x6af03f[0x0];}if(_0x8de86e['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1b6157 of this['_footnotes'])_0x14f6ac['remove'](_0x1b6157['reference']),_0x2538e2=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2538e2;}['_handleFootnoteDefinitionsChanges'](_0x45c5ca,_0x588337){let _0x842685=!0x1;const _0x23621d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4873ac,moved:_0x48cba0}=this['_footnoteDefsTracker']['getChanges'](_0x588337);for(const _0x3ed969 of[..._0x48cba0,..._0x4873ac]){const _0x721f72=_0x3ed969['getAttribute']('footnoteId'),_0x39a0c9=this['getFootnote'](_0x721f72);_0x39a0c9&&(_0x39a0c9['definition']=_0x3ed969),_(_0x45c5ca,_0x23621d,_0x3ed969)&&(_0x842685=!0x0);}return _0x842685;}['_handleFootnoteReferencesChanges'](_0x28a85c,_0x174b73){let _0x8dd64=!0x1;const {removed:_0x57ae9f,inserted:_0x50db88,moved:_0x41413e}=this['_footnoteRefsTracker']['getChanges'](_0x174b73);for(const _0x590492 of _0x57ae9f)this['_handleRemoveFootnoteReferenceById'](_0x28a85c,_0x590492)&&(_0x8dd64=!0x0);for(const _0x55e0f2 of _0x50db88)this['_handleInsertedFootnoteReference'](_0x28a85c,_0x55e0f2)&&(_0x8dd64=!0x0);for(const _0x1898c1 of _0x41413e)this['_handleMovedFootnoteReference'](_0x28a85c,_0x1898c1)&&(_0x8dd64=!0x0);return _0x8dd64;}['_handleFootnotesDefinitionsObjectSync'](_0x37ded2){if(!this['_footnotesDefinitions'])return!0x1;let _0x2058dc=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x50b968=[];for(const _0x4d91aa of this['_footnotesDefinitions']['getChildren']()){const _0x34041a=_0x4d91aa['getAttribute']('footnoteId');this['getFootnote'](_0x34041a)||(_0x50b968['unshift'](_0x4d91aa),_0x2058dc=!0x0);}for(const _0x20680d of _0x50b968)_0x37ded2['remove'](_0x20680d);}const _0x1ffb6a=new Set(),_0x2fa49f=[];for(const _0x4cb2c4 of this['_footnotesDefinitions']['getChildren']()){const _0x243235=_0x4cb2c4['getAttribute']('footnoteId');_0x1ffb6a['has'](_0x243235)?(_0x2fa49f['unshift'](_0x4cb2c4),_0x2058dc=!0x0):_0x1ffb6a['add'](_0x243235);}for(const _0x5203c2 of _0x2fa49f)_0x37ded2['remove'](_0x5203c2);return this['_footnotesDefinitions']['childCount']||(_0x37ded2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2058dc=!0x0),_0x2058dc;}['_handleInsertedFootnoteReference'](_0x14a845,_0xc62237){if(this['_footnotes']['find'](_0x473705=>_0x473705['reference']===_0xc62237))return!0x1;let _0x20a7e5=!0x1;const _0x5d8984=_0xc62237['getAttribute']('footnoteId'),_0x26fb36=this['_footnotes']['findIndex'](_0xf0fe15=>_0xf0fe15['id']===_0x5d8984);-0x1!==_0x26fb36&&(_0x14a845['remove'](this['_footnotes'][_0x26fb36]['reference']),this['_footnotes']['splice'](_0x26fb36,0x1),_0x20a7e5=!0x0);let _0x54b3a4=this['_footnotesDefinitions']?function(_0x466423,_0x3d7b29){for(const _0x44eff5 of _0x466423['getChildren']())if(_0x44eff5['getAttribute']('footnoteId')===_0x3d7b29)return _0x44eff5;return null;}(this['_footnotesDefinitions'],_0x5d8984):null;_0x54b3a4||(_0x54b3a4=_0x14a845['createElement']('footnoteDefinition',{'footnoteId':_0x5d8984}),this['_footnotesDefinitions']&&(_0x14a845['insert'](_0x54b3a4,this['_footnotesDefinitions'],'end'),_0x20a7e5=!0x0));const _0x13d374={'id':_0x5d8984,'reference':_0xc62237,'definition':_0x54b3a4},_0x45e709=I(this['editor']['model'],this['_footnotes'],_0xc62237);this['_footnotes']['splice'](_0x45e709,0x0,_0x13d374);let _0x14d49f=_0x45e709;return-0x1!==_0x26fb36&&(_0x14d49f=Math['min'](_0x45e709,_0x26fb36)),this['_updateFootnotesCounters'](_0x14a845,_0x14d49f)&&(_0x20a7e5=!0x0),_0x20a7e5;}['_handleRemoveFootnoteReferenceById'](_0x2f1e92,_0x8cde01){const _0xc36b04=this['_footnotes']['findIndex'](_0x560a27=>_0x560a27['id']===_0x8cde01);if(-0x1===_0xc36b04)return!0x1;let _0x20e0c4=!0x1;const _0x58f1a1=this['_footnotes'][_0xc36b04];return'$graveyard'!==_0x58f1a1['definition']['root']['rootName']&&(_0x2f1e92['remove'](_0x58f1a1['definition']),_0x20e0c4=!0x0),this['_footnotes']['splice'](_0xc36b04,0x1),this['_updateFootnotesCounters'](_0x2f1e92,_0xc36b04)&&(_0x20e0c4=!0x0),_0x20e0c4;}['_handleMovedFootnoteReference'](_0x20c5d3,_0xd677e0){const _0x461e35=_0xd677e0['getAttribute']('footnoteId'),_0x128425=this['_footnotes']['findIndex'](_0x2ead74=>_0x2ead74['id']===_0x461e35),_0x58dd88=this['_footnotes'][_0x128425];let _0x15e56f=!0x1;_0x58dd88['reference']=_0xd677e0,this['_footnotes']['splice'](_0x128425,0x1);const _0x2a2aa2=I(this['editor']['model'],this['_footnotes'],_0xd677e0);return this['_footnotes']['splice'](_0x2a2aa2,0x0,_0x58dd88),this['_updateFootnotesCounters'](_0x20c5d3,Math['min'](_0x128425,_0x2a2aa2))&&(_0x15e56f=!0x0),_0x15e56f;}['_updateFootnoteRefCounter'](_0x1f04c1,_0x15499f){if(!this['_footnotesDefinitions'])return!0x1;const _0x210d20=this['_footnotes'][_0x15499f];let _0x38a55b;return _0x38a55b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x210d20,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x15499f+0x1}):String(_0x15499f+0x1),_0x210d20['reference']['getAttribute']('footnoteCounter')!=_0x38a55b&&(_0x1f04c1['setAttribute']('footnoteCounter',_0x38a55b,_0x210d20['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4326ff){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x307df4,_0x2f80a9){if(_0x307df4['length']!==_0x2f80a9['length'])return!0x1;for(let _0x4cea94=0x0;_0x4cea94<_0x307df4['length'];_0x4cea94++)if(_0x307df4[_0x4cea94]!==_0x2f80a9[_0x4cea94])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x387255=>_0x387255['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4c5ba9=>_0x4c5ba9['getAttribute']('footnoteId'))))return!0x1;let _0x376de8=!0x1;for(let _0x3e976d=0x0;_0x3e976d<this['_footnotes']['length'];_0x3e976d++){const _0x20e76c=this['_footnotes'][_0x3e976d],_0x16b3b8=_0x4326ff['createPositionBefore'](_0x20e76c['definition']),_0x40d861=_0x4326ff['createPositionAt'](this['_footnotesDefinitions'],_0x3e976d);_0x16b3b8['isEqual'](_0x40d861)||(_0x4326ff['move'](_0x4326ff['createRangeOn'](_0x20e76c['definition']),_0x40d861),_0x376de8=!0x0);}return _0x376de8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4a416e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4fe2af}=this['editor'];let _0x800328=!0x1;for(let _0x543d73=0x0;_0x543d73<this['_footnotes']['length']-0x1;_0x543d73++){const _0x792fc2=this['_footnotes'][_0x543d73],_0x5c3d43=this['_footnotes'][_0x543d73+0x1],_0x3ba79f=_0x4fe2af['createPositionBefore'](_0x792fc2['reference']),_0x53ea15=_0x4fe2af['createPositionBefore'](_0x5c3d43['reference']);'after'===_0x3ba79f['compareWith'](_0x53ea15)&&(this['_handleMovedFootnoteReference'](_0x4a416e,_0x792fc2['reference']),_0x543d73=-0x1,_0x800328=!0x0);}return _0x800328;}}function _(_0x43cf7f,_0x3c5284,_0x29a8a6){if(_0x29a8a6['childCount'])return!0x1;const _0x5939a1=_0x3c5284?'paragraph':'footnoteInlineContent';return _0x43cf7f['insert'](_0x43cf7f['createElement'](_0x5939a1),_0x29a8a6),!0x0;}function I(_0x364280,_0x17cb98,_0x1a8f06){if(0x0===_0x17cb98['length'])return 0x0;const _0x3c7bca=_0x364280['createPositionBefore'](_0x1a8f06);for(let _0x4a47fa=0x0;_0x4a47fa<_0x17cb98['length'];_0x4a47fa++){const _0x489cc0=_0x17cb98[_0x4a47fa],_0x38b495=_0x364280['createPositionBefore'](_0x489cc0['reference']);if('before'===_0x3c7bca['compareWith'](_0x38b495))return _0x4a47fa;}const _0x31315e=_0x1a8f06['root'];let _0xd17b9d=-0x1;for(let _0x16d6da=_0x17cb98['length']-0x1;_0x16d6da>=0x0;_0x16d6da--)if(_0x17cb98[_0x16d6da]['reference']['root']===_0x31315e){_0xd17b9d=_0x16d6da;break;}if(-0x1!==_0xd17b9d)return _0xd17b9d+0x1;const _0x43adaf=_0x364280['document']['getRootNames'](),_0x5932f7=_0x43adaf['indexOf'](_0x31315e['rootName']),_0x4c5a37=_0x43adaf[_0x5932f7+0x1];if(_0x4c5a37){for(let _0xc25259=0x0;_0xc25259<_0x17cb98['length'];_0xc25259++)if(_0x17cb98[_0xc25259]['reference']['root']['rootName']===_0x4c5a37)return _0xc25259;}return _0x17cb98['length'];}class h extends _0x59af83{['refresh'](){const _0xda051b=this['editor']['model']['document']['selection'],_0x228b23=this['_getPositionToInsertFootnote'](_0xda051b);this['isEnabled']=!!_0x228b23;}['execute'](_0x2ae71f){const {editor:_0x5f03d5}=this,{model:_0x4adad7}=_0x5f03d5,{selection:_0x4bfa53}=_0x4adad7['document'],_0x579439=this['_getPositionToInsertFootnote'](_0x4bfa53);if(!_0x579439)return;const _0x5057f4=_0x5f03d5['plugins']['get']('FootnotesEditing'),_0x1d8b93=_0x2ae71f?.['footnoteId']??_0x93f7fc();!function(_0x53c65e){return'string'==typeof _0x53c65e&&_0x53c65e['length']>0x0&&!/\s/['test'](_0x53c65e)&&!/^\d/['test'](_0x53c65e);}(_0x1d8b93)?_0x47a91a('insert-footnote-command-executed-with-invalid-id'):(_0x4adad7['change'](_0x2af671=>{const _0x40f1de=_0x2af671['createElement']('footnoteRef',{'footnoteId':_0x1d8b93});_0x4adad7['insertObject'](_0x40f1de,_0x579439,null);}),_0x5057f4['_moveSelectionToFootnoteDefinition'](_0x1d8b93));}['_getPositionToInsertFootnote'](_0x11e570){const {model:_0x57215c}=this['editor'],{schema:_0x2ee95d}=_0x57215c,_0x4ef66d=_0x11e570['getFirstRange']();for(const _0x317c07 of _0x4ef66d['getItems']())if(_0x2ee95d['isBlock'](_0x317c07)||_0x2ee95d['isObject'](_0x317c07))return null;const _0x46a308=_0x4ef66d['end'];return _0x2ee95d['checkChild'](_0x46a308,'footnoteRef')?_0x46a308:null;}}class r extends _0x207686{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a278c}=this;_0x1a278c['config']['define']('footnotes.multiBlock',!0x0),_0x1a278c['commands']['add']('insertFootnote',new h(_0x1a278c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x445e17){const _0x259202=_0x17669b([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]),_0xb5894e=0x47a28506,_0x55bfe5=0x47a50666^_0xb5894e,_0x5d0960=window[_0x17669b([0x44,0x61,0x74,0x65])][_0x17669b([0x6e,0x6f,0x77])](),_0x2cd0df=_0x445e17[_0x17669b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43da4e=new window[(_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x293f64=>{_0x2cd0df[_0x17669b([0x6f,0x6e,0x63,0x65])](_0x17669b([0x72,0x65,0x61,0x64,0x79]),_0x293f64);}),_0x205138={[_0x17669b([0x6b,0x74,0x79])]:_0x17669b([0x45,0x43]),[_0x17669b([0x75,0x73,0x65])]:_0x17669b([0x73,0x69,0x67]),[_0x17669b([0x63,0x72,0x76])]:_0x17669b([0x50,0x2d,0x32,0x35,0x36]),[_0x17669b([0x78])]:_0x17669b([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]),[_0x17669b([0x79])]:_0x17669b([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]),[_0x17669b([0x61,0x6c,0x67])]:_0x17669b([0x45,0x53,0x32,0x35,0x36])},_0x58397c=_0x2cd0df[_0x17669b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17669b([0x67,0x65,0x74])](_0x17669b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf63e7f(){let _0x2fff4b,_0x510017=null,_0x583c66=null;try{if(_0x58397c==_0x17669b([0x47,0x50,0x4c]))return _0x17669b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fff4b=_0x4d719d(),!_0x2fff4b)return _0x17669b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fff4b[_0x17669b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x583c66=_0x40f905(_0x2fff4b[_0x17669b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fff4b[_0x17669b([0x6a,0x74,0x69])])),await _0x33a94b()?_0xd4541e()?_0x4c029c()?_0x17669b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1df982()?(_0x2fff4b[_0x17669b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17669b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x510017=_0x28af23(_0x17669b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xfb3686()):_0x17669b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17669b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17669b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17669b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c029c(){const _0x3b1cc0=[_0x17669b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17669b([0x74,0x72,0x69,0x61,0x6c])][_0x17669b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fff4b[_0x17669b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d0960/0x3e8:0xe10*_0x55bfe5;return _0x2fff4b[_0x17669b([0x65,0x78,0x70])]<_0x3b1cc0;}function _0xd4541e(){const _0x4de27c=_0x2fff4b[_0x17669b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4de27c&&(!!_0x4de27c[_0x17669b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17669b([0x2a]))||!!_0x4de27c[_0x17669b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17669b([0x46,0x4f,0x4f])));}function _0x1df982(){const _0x508e8b=_0x2fff4b[_0x17669b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x508e8b||0x0==_0x508e8b[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27f997}=new URL(window[_0x17669b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x508e8b[_0x17669b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27f997))return!0x0;const _0x57e976=_0x27f997[_0x17669b([0x73,0x70,0x6c,0x69,0x74])](_0x17669b([0x2e]));return _0x508e8b[_0x17669b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bc2f6=>_0x3bc2f6[_0x17669b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17669b([0x2a])))[_0x17669b([0x6d,0x61,0x70])](_0x37fe25=>_0x37fe25[_0x17669b([0x73,0x70,0x6c,0x69,0x74])](_0x17669b([0x2e])))[_0x17669b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b6d99=>_0x2b6d99[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57e976[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17669b([0x6d,0x61,0x70])](_0x4ee369=>Array(_0x57e976[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ee369[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17669b([0x66,0x69,0x6c,0x6c])](_0x4ee369[0x0]===_0x17669b([0x2a])?_0x17669b([0x2a]):'')[_0x17669b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ee369))[_0x17669b([0x73,0x6f,0x6d,0x65])](_0x1b8f15=>_0x57e976[_0x17669b([0x65,0x76,0x65,0x72,0x79])]((_0x2729f5,_0x3b8521)=>_0x1b8f15[_0x3b8521]===_0x2729f5||_0x1b8f15[_0x3b8521]===_0x17669b([0x2a])));}function _0xfb3686(){return _0x510017&&_0x583c66?new window[(_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xba43bd,_0x28b59e)=>{_0x510017[_0x17669b([0x74,0x68,0x65,0x6e])](_0xba43bd,_0x28b59e),_0x583c66[_0x17669b([0x74,0x68,0x65,0x6e])](_0x473a82=>{_0x473a82!=_0x17669b([0x56,0x61,0x6c,0x69,0x64])&&_0xba43bd(_0x473a82);},_0x28b59e);}):_0x510017||_0x583c66||_0x17669b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40f905(_0xe89111,_0x32b6e3){return new window[(_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e9f1e=>{if(_0x3a4922())return _0x5e9f1e(_0x17669b([0x56,0x61,0x6c,0x69,0x64]));_0x10c76e(),_0x2cd0df[_0x17669b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17669b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2af65e=!0x1;const _0x210536=_0x93f7fc();function _0x1cdddb(_0xaa27ec){return!!_0xaa27ec&&(typeof _0xaa27ec===_0x17669b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaa27ec===_0x17669b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaa27ec[_0x17669b([0x74,0x68,0x65,0x6e])]===_0x17669b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaa27ec[_0x17669b([0x63,0x61,0x74,0x63,0x68])]===_0x17669b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a3316(_0x5298fe){_0x490eec(_0x5298fe)[_0x17669b([0x74,0x68,0x65,0x6e])](_0x161a00=>{if(!_0x161a00||_0x161a00[_0x17669b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17669b([0x6f,0x6b]))return _0x17669b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44c98c(_0x56c39f(_0x210536+_0x32b6e3))!=_0x161a00[_0x17669b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17669b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17669b([0x56,0x61,0x6c,0x69,0x64]);})[_0x17669b([0x74,0x68,0x65,0x6e])](_0x4351d8=>(_0x850978(),_0x4351d8),()=>{const _0x2fb9fd=_0x549b4f();return null==_0x2fb9fd?(_0x850978(),_0x17669b([0x56,0x61,0x6c,0x69,0x64])):_0x17669b(_0x5d0960-_0x2fb9fd>(0x63ae0106^_0xb5894e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17669b([0x74,0x68,0x65,0x6e])](_0x5e9f1e)[_0x17669b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5e9f1e(_0x17669b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ca537=0x47946b86^_0xb5894e;function _0x850978(){const _0xbae624=_0x17669b([0x6c,0x6c,0x63,0x74,0x2d])+_0x44c98c(_0x56c39f(_0xe89111)),_0x3f5615=_0x12cac0(_0x44c98c(window[_0x17669b([0x4d,0x61,0x74,0x68])][_0x17669b([0x63,0x65,0x69,0x6c])](_0x5d0960/_0x3ca537)));window[_0x17669b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17669b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbae624,_0x3f5615);}function _0x549b4f(){const _0x525002=_0x17669b([0x6c,0x6c,0x63,0x74,0x2d])+_0x44c98c(_0x56c39f(_0xe89111)),_0x1c8cb8=window[_0x17669b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17669b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x525002);return _0x1c8cb8?window[_0x17669b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12cac0(_0x1c8cb8),0x10)*_0x3ca537:null;}function _0x490eec(_0x39e9e5){return new window[(_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x113522,_0x9174a5)=>{_0x39e9e5[_0x17669b([0x74,0x68,0x65,0x6e])](_0x113522,_0x9174a5),window[_0x17669b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9174a5,0x47a351c6^_0xb5894e);});}}_0x2cd0df[_0x17669b([0x6f,0x6e])](_0x17669b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x328d4e,_0x1f0eae)=>{if(_0x1f0eae[0x0]!=_0xe89111)return _0x5e9f1e(_0x17669b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f0eae[0x1]={..._0x1f0eae[0x1],[_0x17669b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x210536};},{[_0x17669b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17669b([0x68,0x69,0x67,0x68])}),_0x2cd0df[_0x17669b([0x6f,0x6e])](_0x17669b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x39b57b=>{_0x1cdddb(_0x39b57b[_0x17669b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2af65e=!0x0,_0x5a3316(_0x39b57b[_0x17669b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17669b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17669b([0x6c,0x6f,0x77])}),_0x43da4e[_0x17669b([0x74,0x68,0x65,0x6e])](()=>{_0x2af65e||_0x5e9f1e(_0x17669b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a4922(){return _0x2cd0df[_0x17669b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17669b([0x76,0x69,0x65,0x77])][_0x17669b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17669b([0x61,0x75,0x74,0x6f]);}function _0x10c76e(){_0x2cd0df[_0x17669b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17669b([0x76,0x69,0x65,0x77])][_0x17669b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17669b([0x61,0x75,0x74,0x6f]);}}function _0x28af23(_0x3a8995){const _0x54536c=[new window[(_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ff62=>setTimeout(_0x44ff62,0x47abbbca^_0xb5894e)),_0x43da4e[_0x17669b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6c7ea7=>{let _0x52fae6=0x0;_0x2cd0df[_0x17669b([0x6d,0x6f,0x64,0x65,0x6c])][_0x17669b([0x6f,0x6e])](_0x17669b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x160936,_0x430b72)=>{_0x430b72[0x0][_0x17669b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52fae6++,_0x52fae6==(0x47a280ee^_0xb5894e)&&(_0x6c7ea7(),_0x160936[_0x17669b([0x6f,0x66,0x66])]());});}))];return window[_0x17669b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17669b([0x72,0x61,0x63,0x65])](_0x54536c)[_0x17669b([0x74,0x68,0x65,0x6e])](()=>_0x3a8995);}async function _0x586ccd(){await _0x43da4e,_0x2cd0df[_0x17669b([0x6d,0x6f,0x64,0x65,0x6c])][_0x17669b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11d67b,_0x2cd0df[_0x17669b([0x6d,0x6f,0x64,0x65,0x6c])][_0x17669b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11d67b,_0x2cd0df[_0x17669b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17669b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25b1c0(_0x3baa94){const _0x41ef67=_0x415c58();_0x2cd0df[_0x41ef67]=_0x17669b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3baa94,_0x3baa94!=_0x17669b([0x56,0x61,0x6c,0x69,0x64])&&_0x586ccd();}function _0x415c58(){const _0x59e94d=window[_0x17669b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17669b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17669b([0x6e,0x6f,0x77])]())[_0x17669b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17669b([0x2e]),'');let _0x38e595=_0x17669b([0x75]);for(let _0x3e51e4=0x0;_0x3e51e4<_0x59e94d[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e51e4+=0x2){let _0x19ca84=window[_0x17669b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59e94d[_0x17669b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e51e4,_0x3e51e4+0x2));_0x19ca84>=_0x259202[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19ca84-=_0x259202[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38e595+=_0x259202[_0x19ca84];}return _0x38e595;}function _0x4d719d(){const _0x2acc29=_0x58397c[_0x17669b([0x73,0x70,0x6c,0x69,0x74])](_0x17669b([0x2e]));if(0x3!=_0x2acc29[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56fec1(_0x2acc29[0x1]);function _0x56fec1(_0x28267d){const _0x1a3e00=_0x5cfd11(_0x28267d);return _0x1a3e00&&_0x1c1bad()?_0x1a3e00:null;function _0x1c1bad(){const _0x4ca450=_0x1a3e00[_0x17669b([0x6a,0x74,0x69])],_0x28508f=window[_0x17669b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca450[_0x17669b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ca450[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4dc72e={..._0x1a3e00,[_0x17669b([0x6a,0x74,0x69])]:_0x4ca450[_0x17669b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4ca450[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4dc72e[_0x17669b([0x76,0x63])],_0x56c39f(_0x4dc72e)==_0x28508f;}}}async function _0x33a94b(){let _0x3c3020=!0x0;try{const _0x1e0752=_0x58397c[_0x17669b([0x73,0x70,0x6c,0x69,0x74])](_0x17669b([0x2e])),[_0x56f67f,_0xd91e68,_0x3d49a7]=_0x1e0752;return _0x34e21a(_0x56f67f),await _0xa261c2(_0x56f67f,_0xd91e68,_0x3d49a7),_0x3c3020;}catch{return!0x1;}function _0x34e21a(_0x4b1f3a){const _0x497f0f=_0x5cfd11(_0x4b1f3a);_0x497f0f&&_0x497f0f[_0x17669b([0x61,0x6c,0x67])]==_0x17669b([0x45,0x53,0x32,0x35,0x36])||(_0x3c3020=!0x1);}async function _0xa261c2(_0x419a32,_0x6b055b,_0x22d36e){const _0x2d00b7=window[_0x17669b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17669b([0x66,0x72,0x6f,0x6d])](_0x5a00ea(_0x22d36e),_0x4a3392=>_0x4a3392[_0x17669b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x368b74=new window[(_0x17669b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17669b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x419a32+_0x17669b([0x2e])+_0x6b055b),_0x1db11a=window[_0x17669b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17669b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1db11a)return;const _0x338336=await _0x1db11a[_0x17669b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17669b([0x6a,0x77,0x6b]),_0x205138,{[_0x17669b([0x6e,0x61,0x6d,0x65])]:_0x17669b([0x45,0x43,0x44,0x53,0x41]),[_0x17669b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17669b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17669b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1db11a[_0x17669b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17669b([0x6e,0x61,0x6d,0x65])]:_0x17669b([0x45,0x43,0x44,0x53,0x41]),[_0x17669b([0x68,0x61,0x73,0x68])]:{[_0x17669b([0x6e,0x61,0x6d,0x65])]:_0x17669b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x338336,_0x2d00b7,_0x368b74)||(_0x3c3020=!0x1);}}function _0x5cfd11(_0x2bcf75){return _0x2bcf75[_0x17669b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17669b([0x65,0x79]))?JSON[_0x17669b([0x70,0x61,0x72,0x73,0x65])](_0x5a00ea(_0x2bcf75)):null;}function _0x5a00ea(_0x5a3657){return window[_0x17669b([0x61,0x74,0x6f,0x62])](_0x5a3657[_0x17669b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17669b([0x2b]))[_0x17669b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17669b([0x2f])));}function _0x56c39f(_0x8eb19c){let _0x580063=0x1505;function _0x71b4ee(_0x47d3ea){for(let _0x45673e=0x0;_0x45673e<_0x47d3ea[_0x17669b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45673e++){const _0x20d56d=_0x47d3ea[_0x17669b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45673e);_0x580063=(_0x580063<<0x5)+_0x580063+_0x20d56d,_0x580063&=_0x580063;}}function _0x472576(_0x4f647c){Array[_0x17669b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f647c)?_0x4f647c[_0x17669b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x472576):_0x4f647c&&typeof _0x4f647c==_0x17669b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17669b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f647c)[_0x17669b([0x73,0x6f,0x72,0x74])]()[_0x17669b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28e77a,_0x474489])=>{_0x71b4ee(_0x28e77a),_0x472576(_0x474489);}):_0x71b4ee(window[_0x17669b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f647c));}return _0x472576(_0x8eb19c),_0x580063>>>0x0;}function _0x44c98c(_0x572778){return _0x572778[_0x17669b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17669b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17669b([0x30]));}function _0x12cac0(_0x15930b){return _0x15930b[_0x17669b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17669b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17669b([0x6a,0x6f,0x69,0x6e])]('');}function _0x11d67b(){}function _0x17669b(_0x196547){return _0x196547['map'](_0x26c778=>String['fromCharCode'](_0x26c778))['join']('');}_0x25b1c0(await _0xf63e7f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1e7b41){const {plugins:_0x4d3a75,editing:_0x5279ee,model:_0x2297a7}=this['editor'],_0x5743d6=_0x4d3a75['get'](f)['getFootnote'](_0x1e7b41);return!!_0x5743d6&&(_0x2297a7['change'](_0x28a993=>{_0x28a993['setSelection'](_0x28a993['createPositionAt'](_0x5743d6['definition'],'end'));}),_0x5279ee['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5b4927){const {plugins:_0x3d30ef,editing:_0x3848ff,model:_0x4dfa20}=this['editor'],_0x2dd40d=_0x3d30ef['get'](f)['getFootnote'](_0x5b4927);return!!_0x2dd40d&&(_0x4dfa20['change'](_0x2bb5f1=>{_0x2bb5f1['setSelection'](_0x2dd40d['reference'],'on');}),_0x3848ff['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x287f58}=this['editor']['model'],_0x230789=this['editor']['config']['get']('footnotes.multiBlock');_0x287f58['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x287f58['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x287f58['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x230789?_0x287f58['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x287f58['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x287f58['addChildCheck'](_0x54897f=>{for(const _0x490d31 of _0x54897f)if('footnoteDefinition'===_0x490d31['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2f6251}=this,{conversion:_0x4bd40c,editing:_0x4ca52d}=_0x2f6251,{t:t}=_0x2f6251['locale'];_0x4bd40c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x287c17,{writer:_0xb1535,consumable:_0x36854a})=>{const _0x54c0e9=_0x287c17['getChild'](0x0);if(!_0x54c0e9||!_0x54c0e9['is']('element','a'))return null;const _0x242924=_0x54c0e9['getAttribute']('href')||'';if(!_0x242924['startsWith']('#'))return null;const _0x24782a=_0x242924['replace'](/^#/,'');if(!_0x24782a)return null;_0x36854a['consume'](_0x54c0e9,{'name':!0x0,'attributes':['href']});for(const {item:_0x3d3b94}of _0x4ca52d['view']['createRangeIn'](_0x54c0e9))_0x3d3b94['is']('$textProxy')?_0x36854a['consume'](_0x3d3b94['textNode'],{'name':!0x0}):_0x3d3b94['is']('element')&&_0x36854a['consume'](_0x3d3b94,{'name':!0x0});return _0xb1535['createElement']('footnoteRef',{'footnoteId':_0x24782a});}}),_0x4bd40c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x395a83,{writer:_0x1b57b8})=>b(_0x395a83,_0x1b57b8)}),_0x4bd40c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12b984,{writer:_0x572ac3})=>{const _0x218a57=_0x12b984['getAttribute']('footnoteCounter');return _0x151153(b(_0x12b984,_0x572ac3),_0x572ac3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x218a57)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5f1e9a}=this,{t:t}=_0x5f1e9a['locale'],{conversion:_0x576c45}=_0x5f1e9a;_0x576c45['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x576c45['for']('upcast')['add'](_0x31b6e5=>{_0x31b6e5['on']('element:ol',(_0x515034,_0x234cfd,_0x3bdc9a)=>{const _0x145d45=_0x234cfd['viewItem'];if(!_0x145d45['hasClass']('footnotes-list')||!_0x234cfd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3bdc9a['consumable']['consume'](_0x145d45,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x457b74,modelCursor:_0x1eabec}=_0x3bdc9a['convertChildren'](_0x234cfd['viewItem'],_0x234cfd['modelCursor']);_0x234cfd['modelRange']=_0x457b74,_0x234cfd['modelCursor']=_0x1eabec;}),_0x31b6e5['on']('element:hr',(_0x2b13f3,_0x1e603c,_0x162f52)=>{const _0x572cfa=_0x1e603c['viewItem'];_0x572cfa['hasClass']('footnotes-divider')&&_0x1e603c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x162f52['consumable']['consume'](_0x572cfa,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x576c45['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e38f1,{writer:_0x4f8acd})=>D(_0x4f8acd)}),_0x576c45['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2020a8,{writer:_0x118ce4})=>{const _0x1134d9=D(_0x118ce4,{'data-footnotes-list-label':t('Footnotes')}),_0x54052e=_0x151153(_0x1134d9,_0x118ce4,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x118ce4['setCustomProperty']('footnotesDefinitions',!0x0,_0x54052e),_0x54052e;}});}['_defineDefinitionConverters'](){const {editor:_0x341bc6}=this,{conversion:_0x3a0927,locale:_0x2041b3}=_0x341bc6,_0xca90f2=_0x341bc6['config']['get']('footnotes.multiBlock');_0x3a0927['for']('upcast')['add'](_0x31097d=>{_0x31097d['on']('element:li',(_0x43a7d6,_0x76a72c,_0x57bdb0)=>{const _0x5c6074=_0x76a72c['viewItem'];if(!_0x5c6074['hasClass']('footnote-definition')||!_0x5c6074['getAttribute']('id'))return;const _0x12aa15=_0x5c6074['parent'];if(!_0x12aa15['is']('element','ol')||!_0x12aa15['hasClass']('footnotes-list'))return;if(!_0x57bdb0['consumable']['test'](_0x5c6074,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3b1a3e=_0x57bdb0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5c6074['getAttribute']('id')});if(!_0x57bdb0['safeInsert'](_0x3b1a3e,_0x76a72c['modelCursor']))return;_0x57bdb0['consumable']['consume'](_0x5c6074,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4eb620=Array['from'](_0x5c6074['getChildren']())['find'](_0x3ae2c4=>_0x3ae2c4['is']('element')&&_0x3ae2c4['hasClass']('footnote-content'));for(const _0x287f95 of _0x5c6074['getChildren']())_0x287f95['is']('element')&&(_0x57bdb0['consumable']['consume'](_0x287f95,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x57bdb0['consumable']['consume'](_0x287f95,{'name':!0x0,'classes':'footnote-content'}));if(_0x4eb620){if(_0xca90f2)_0x57bdb0['convertChildren'](_0x4eb620,_0x3b1a3e);else{const _0xee1c71=_0x57bdb0['writer']['createElement']('footnoteInlineContent');_0x57bdb0['writer']['insert'](_0xee1c71,_0x3b1a3e),_0x57bdb0['convertChildren'](_0x4eb620,_0xee1c71);}}_0x57bdb0['updateConversionResult'](_0x3b1a3e,_0x76a72c);});}),_0x3a0927['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x14423b,{writer:_0x10937a})=>y(_0x14423b,_0x10937a,_0x2041b3,{'dataPipeline':!0x0})}),_0x3a0927['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x49b2a0,{writer:_0x21c5e8})=>y(_0x49b2a0,_0x21c5e8,_0x2041b3)});}['_defineBogusParagraphConverters'](){const {editor:_0x39f06d}=this,{conversion:_0x2cdd0e}=_0x39f06d;_0x39f06d['config']['get']('footnotes.multiBlock')?(_0x2cdd0e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2cdd0e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x39f06d['model']['document'],'change:data',()=>{!function(_0x4a3e12,_0xdd18e0){const _0x398e0b=_0x4a3e12['document']['differ'],_0x35d0de=new Set();for(const _0x519165 of _0x398e0b['getChanges']()){const _0x20af1f='attribute'==_0x519165['type']?_0x519165['range']['start']['parent']:_0x519165['position']['parent'];_0x20af1f['is']('element','footnoteDefinition')&&_0x35d0de['add'](_0x20af1f);}for(const _0x54336c of _0x35d0de['values']()){const _0x5e8918=Array['from'](_0x54336c['getChildren']())['filter'](_0xa30db2=>v(_0xa30db2,_0xdd18e0['mapper']));for(const _0x398853 of _0x5e8918)_0xdd18e0['reconvertItem'](_0x398853);}}(_0x39f06d['model'],_0x39f06d['editing']);})):(_0x2cdd0e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2cdd0e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x18a857,{writer:_0xd4779f})=>{const _0x48b0d8=_0xd4779f['createContainerElement']('span');return _0xd4779f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x48b0d8),_0x48b0d8;}}));}['_defineKeyboardHandlers'](){const {editor:_0x32e8e2}=this,{editing:_0x116f87,t:t}=_0x32e8e2,_0x50b411=_0x32e8e2['model']['document']['selection'];_0x32e8e2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x32e8e2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x116f87['view']['document'],'enter',(_0x138756,_0x3200aa)=>{const _0x198f66=function(_0xf5c87a){const _0x153c47=_0xf5c87a['getSelectedElement']();if(_0x153c47?.['is']('element','footnoteRef'))return _0x153c47;return null;}(_0x50b411);if(_0x198f66){const _0x3308c0=_0x198f66['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3308c0),_0x3200aa['preventDefault'](),_0x138756['stop']();}},{'context':_0x1fa2ae});}['_defineClickHandlers'](){const {editor:_0x1bc3f4}=this,{editing:_0x4ee289}=_0x1bc3f4;_0x1bc3f4['editing']['view']['addObserver'](_0x1d95e5),_0x1bc3f4['editing']['view']['addObserver'](_0x4d3b7a);let _0x6aa96d=!0x1;this['listenTo'](_0x4ee289['view']['document'],'pointerdown',(_0x4791e0,_0x4583fc)=>{const {target:_0x1273d8}=_0x4583fc,_0x3db406=_0x4ee289['view']['document']['selection'];_0x6aa96d=!!(_0x1273d8?.['is']('element','a')&&_0x1273d8['parent']?.['is']('element','sup')&&_0x1273d8['parent']['hasClass']('footnote'))&&_0x3db406['getSelectedElement']()===_0x1273d8['parent'];},{'priority':'high'}),this['listenTo'](_0x4ee289['view']['document'],'click',(_0x56974b,_0x283c4b)=>{const {target:_0xc92f86}=_0x283c4b;if(!_0xc92f86?.['is']('element','a'))return;if(_0xc92f86['parent']?.['is']('element','sup')&&_0xc92f86['parent']['hasClass']('footnote')&&!_0x6aa96d)return void _0x283c4b['preventDefault']();let _0xb9d63f=_0xc92f86['getAttribute']('href');if(!_0xb9d63f?.['startsWith']('#'))return;_0xb9d63f=_0xb9d63f['slice'](0x1);let _0x10ba78=!0x1;(_0xb9d63f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xb9d63f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xb9d63f))&&(_0x10ba78=!0x0),_0x10ba78&&(_0x283c4b['preventDefault'](),_0x56974b['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5b05eb}={}){return(_0x327d5f,{writer:_0x3fccd5})=>{if(!g(_0x327d5f))return null;if(!_0x5b05eb)return _0x3fccd5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3db4b7=_0x3fccd5['createContainerElement']('p');return _0x3fccd5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3db4b7),_0x3db4b7;};}function g(_0x188357){const {parent:_0x2391bd}=_0x188357;if(!_0x2391bd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2391bd['childCount'])return!0x1;for(const _0x35220b of _0x188357['getAttributeKeys']())if(!_0x35220b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x35220b)return!0x1;return!0x0;}function v(_0x19697c,_0x4f2475){if(!_0x19697c['is']('element','paragraph'))return!0x1;const _0x10c36c=_0x4f2475['toViewElement'](_0x19697c);return!!_0x10c36c&&g(_0x19697c)!==_0x10c36c['is']('element','span');}function Q(_0x3af573){return _0x1fa2ae(_0x3af573)&&_0x3af573['is']('containerElement')&&!!_0x3af573['getCustomProperty']('footnotesDefinitions');}function D(_0x382c93,_0x1b4122={}){const _0x15df8e=_0x382c93['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x467d24=_0x382c93['createContainerElement']('ol',{'class':'footnotes-list'},_0x382c93['createSlot']());return _0x382c93['createContainerElement']('div',{'class':'footnotes',..._0x1b4122},[_0x15df8e,_0x467d24]);}function b(_0x113c7e,_0x2a1e7e){const _0x66ea56=_0x113c7e['getAttribute']('footnoteId'),_0x5c24f5=_0x113c7e['getAttribute']('footnoteCounter'),_0x3c0191=_0x2a1e7e['createUIElement']('a',{'href':'#'+_0x66ea56},function(_0x64b6bd){const _0x268a31=this['toDomElement'](_0x64b6bd);return _0x268a31['textContent']=_0x5c24f5,_0x268a31;}),_0x1b5d20=_0x2a1e7e['createContainerElement']('sup',{'id':'ref-'+_0x66ea56,'class':'footnote'},[_0x3c0191]);return _0x1b5d20['getFillerOffset']=()=>null,_0x1b5d20;}function y(_0x5901e3,_0x4774c1,_0x1b0fda,{dataPipeline:_0x3a581a}={}){const {t:t}=_0x1b0fda,_0x59964c=_0x5901e3['getAttribute']('footnoteId'),_0x5cd581=_0x4774c1['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x59964c},function(_0x3e9936){const _0x463861=this['toDomElement'](_0x3e9936);return _0x463861['innerText']='^',_0x463861;}),_0x52c95e=_0x3a581a?_0x4774c1['createContainerElement']('div',{'class':'footnote-content'}):_0x5ab996(_0x4774c1['createEditableElement']('div',{'class':'footnote-content'}),_0x4774c1,{'label':t('Footnote\x20content.')});return _0x4774c1['insert'](_0x4774c1['createPositionAt'](_0x52c95e,0x0),_0x4774c1['createSlot']()),_0x4774c1['createContainerElement']('li',{'class':'footnote-definition','id':_0x59964c},[_0x5cd581,_0x52c95e]);}class e extends _0x207686{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x483b0d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3cbca4}=this,{plugins:_0x3c2468,model:_0x3706fe}=_0x3cbca4,_0x2489c8=_0x3c2468['get'](_0x483b0d),_0x61477=_0x3c2468['get'](f);this['listenTo'](_0x2489c8,'outputTransformation',(_0x20ba1a,_0x5a744d)=>{const _0x35a108=l(_0x3706fe['createRangeIn'](_0x5a744d['content']));if(!_0x35a108['length'])return;const _0x22a4c1=_0x61477['getFootnotes'](),_0x18964f=_0x35a108['reduce']((_0x18ec90,_0x3020eb)=>{const _0x454a6a=_0x22a4c1['find'](_0x3a4d8e=>_0x3a4d8e['id']===_0x3020eb);if(_0x454a6a){const _0x1faaad=_0x3cbca4['data']['toView'](_0x454a6a['definition'],{'isClipboardPipeline':!0x0}),_0x45f51f=_0x3cbca4['data']['htmlProcessor']['toData'](_0x1faaad);_0x18ec90[_0x454a6a['id']]=_0x45f51f;}return _0x18ec90;},Object['create'](null));_0x5a744d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x18964f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x13e25f}=this,{model:_0x14d020,plugins:_0x527269}=_0x13e25f,{view:_0x3e601f}=_0x13e25f['editing'],_0x21b327=_0x527269['get'](_0x483b0d),_0x4830d9=_0x527269['get'](f),_0x5c6a5a=_0x13e25f['config']['get']('footnotes.multiBlock');let _0x782c8e=null;this['listenTo'](_0x3e601f['document'],'clipboardInput',(_0x455b5,_0x318b8e)=>{const _0x2ddc5e=_0x318b8e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x782c8e=_0x2ddc5e?JSON['parse'](_0x2ddc5e):null;}),this['listenTo'](_0x21b327,'contentInsertion',(_0x1199ad,_0x3bc8f5)=>{const _0x36c7a4=_0x3bc8f5['sourceEditorId']===this['editor']['id'];_0x36c7a4&&'drop'===_0x3bc8f5['method']||_0x14d020['change'](_0x2ffb00=>{let _0x261537=_0x4830d9['getFootnotesDefinitionsObjectElement']();const _0x17a209=!!_0x261537&&Array['from'](_0x14d020['document']['selection']['getSelectedBlocks']())['includes'](_0x261537);if(!_0x782c8e&&function(_0x493ec1){for(const {item:_0x14a627}of _0x493ec1)if(_0x14a627['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x14d020['createRangeIn'](_0x3bc8f5['content']))&&(_0x782c8e=function(_0x389b3c,_0x5d8408){const _0x304273=c(_0x389b3c,_0x5d8408);if(!_0x304273)return null;const _0xefc2b3=Object['create'](null);for(const _0x3cf54c of _0x304273['getChildren']())_0x3cf54c['is']('element','footnoteDefinition')&&_0x3cf54c['hasAttribute']('footnoteId')&&(_0xefc2b3[_0x3cf54c['getAttribute']('footnoteId')]=_0x389b3c['cloneElement'](_0x3cf54c,!0x0));return Object['keys'](_0xefc2b3)['length']?_0xefc2b3:null;}(_0x2ffb00,_0x3bc8f5['content'])),(_0x261537&&!_0x17a209||!_0x261537&&!_0x782c8e)&&function(_0x26c6ee,_0x1a1d5d){const _0x12eac3=[];for(const {item:_0x151bb1}of _0x26c6ee['createRangeIn'](_0x1a1d5d))_0x151bb1['is']('element','footnotesDefinitions')&&_0x12eac3['push'](_0x151bb1);for(const _0x209a0c of _0x12eac3)_0x26c6ee['remove'](_0x209a0c);}(_0x2ffb00,_0x3bc8f5['content']),!_0x782c8e)return;const {selection:_0x292948}=_0x14d020['document'],_0x9e5465=_0x292948['getFirstRange']()['root'];_0x261537&&!_0x17a209||(_0x261537=c(_0x2ffb00,_0x3bc8f5['content']),_0x261537||=_0x4830d9['_insertEmptyFootnotesDefinitionsContainer'](_0x2ffb00,_0x9e5465));const _0x5be9ad=Array['from'](_0x292948['getRanges']())['flatMap'](l),_0x3e0d6=function(_0x763e57,_0x1857c4,_0x120cb9){const _0x996864=Object['create'](null);for(const {item:_0x2a02a2}of _0x763e57['createRangeIn'](_0x1857c4))if(_0x2a02a2['is']('element','footnoteRef')){const _0x22c7b9=_0x2a02a2['getAttribute']('footnoteId');if(!_0x120cb9(_0x22c7b9))continue;_0x996864[_0x22c7b9]||(_0x996864[_0x22c7b9]=_0x93f7fc()),_0x763e57['setAttribute']('footnoteId',_0x996864[_0x22c7b9],_0x2a02a2);}return _0x996864;}(_0x2ffb00,_0x3bc8f5['content'],_0x49e710=>{if(!_0x36c7a4)return!0x0;return!!_0x4830d9['getFootnote'](_0x49e710)&&!_0x5be9ad['includes'](_0x49e710);});for(const [_0x39a3e1,_0x321d41]of Object['entries'](_0x782c8e)){const _0x46c281=_0x3e0d6[_0x39a3e1]||_0x39a3e1;let _0xd63e48;if('string'!=typeof _0x321d41)_0xd63e48=_0x321d41,_0x46c281!==_0x39a3e1&&_0x2ffb00['setAttribute']('footnoteId',_0x46c281,_0xd63e48);else{_0xd63e48=_0x2ffb00['createElement']('footnoteDefinition',{'footnoteId':_0x46c281});const _0x56183c=_0x13e25f['data']['htmlProcessor']['toView'](_0x321d41);let _0x4b2b25;if(_0x5c6a5a)_0x4b2b25=_0x13e25f['data']['toModel'](_0x56183c,_0xd63e48);else{_0x4b2b25=_0x2ffb00['createElement']('footnoteInlineContent');const _0x8abba4=_0x13e25f['data']['toModel'](_0x56183c,_0x4b2b25);_0x2ffb00['insert'](_0x8abba4,_0x4b2b25);}_0x2ffb00['append'](_0x4b2b25,_0xd63e48);}_0x2ffb00['insert'](_0xd63e48,_0x261537,'end');}_0x782c8e=null;});});}}function c(_0x2541da,_0x150274){for(const {item:_0x43cff2}of _0x2541da['createRangeIn'](_0x150274))if(_0x43cff2['is']('element','footnotesDefinitions'))return _0x43cff2;return null;}function l(_0x30566c){const _0x545b3b=new Set();for(const {item:_0x1131f7}of _0x30566c)_0x1131f7['is']('element','footnoteRef')&&_0x545b3b['add'](_0x1131f7['getAttribute']('footnoteId'));return Array['from'](_0x545b3b);}class i extends _0x207686{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1571cf}=this,{componentFactory:_0x4d57e6}=_0x1571cf['ui'];_0x4d57e6['add']('insertFootnote',E(_0x1571cf,_0x1e4bb8)),_0x4d57e6['add']('menuBar:insertFootnote',E(_0x1571cf,_0x198569)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34be6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x43cd72;for(const _0x5e0253 in _0x34be6){const _0x59b3c3=_0x5e0253,_0x28afa8=_0x34be6[_0x59b3c3];if('footnotesLicenseKeyValid'==_0x28afa8||'footnotesLicenseKeyInvalid'==_0x28afa8||'footnotesLicenseKeyExpired'==_0x28afa8||'footnotesLicenseKeyDomainLimit'==_0x28afa8||'footnotesLicenseKeyNotAllowed'==_0x28afa8||'footnotesLicenseKeyEvaluationLimit'==_0x28afa8||'footnotesLicenseKeyUsageLimit'==_0x28afa8){delete _0x34be6[_0x59b3c3],_0x43cd72=_0x28afa8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x43cd72&&_0x34be6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x43cd72&&_0x34be6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x43cd72&&_0x34be6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x43cd72&&_0x34be6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x43cd72&&_0x34be6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x43cd72&&_0x34be6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1916fe,_0x8d5e00){const _0x2097c8=_0x1916fe['commands']['get']('insertFootnote');return _0x3d2f62=>{const {t:t}=_0x3d2f62,_0x5ebd30=new _0x8d5e00(_0x3d2f62),_0x28228a=_0x5ebd30 instanceof _0x198569;return _0x5ebd30['bind']('isEnabled')['to'](_0x2097c8,'isEnabled'),_0x5ebd30['set']({'label':t(_0x28228a?'Footnote':'Insert\x20footnote'),'icon':_0x121984,'tooltip':!0x0}),_0x5ebd30['on']('execute',()=>{_0x2097c8['execute'](),_0x1916fe['editing']['view']['focus']();}),_0x5ebd30;};}class lt extends _0x207686{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 _0x59af83{['refresh'](){const {editor:_0x2c0196}=this,_0x1cc04a=_0x2c0196['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1cc04a,this['value']=_0x1cc04a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1da274}){const {editor:_0x4f0e4f}=this,_0x2c9b5a=_0x4f0e4f['plugins']['get'](f),_0x5b4cef=_0x2c9b5a['getFootnotesDefinitionsObjectElement']();_0x5b4cef&&W['includes'](_0x1da274)&&_0x4f0e4f['model']['change'](_0x5d7df5=>{_0x5d7df5['setAttribute']('footnotesListStyle',_0x1da274,_0x5b4cef),_0x2c9b5a['_updateFootnotesCounters'](_0x5d7df5);});}}class C extends _0x59af83{['refresh'](){const {editor:_0x27b020}=this,_0xd9543f=_0x27b020['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd9543f,this['value']=_0xd9543f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x40e2f7}){const {editor:_0x5b5258}=this,_0x1e49f8=_0x5b5258['plugins']['get'](f),_0x1978b5=_0x1e49f8['getFootnotesDefinitionsObjectElement']();_0x1978b5&&Number['isInteger'](_0x40e2f7)&&_0x5b5258['model']['change'](_0x25d5b4=>{_0x25d5b4['setAttribute']('footnotesListStart',_0x40e2f7,_0x1978b5),_0x1e49f8['_updateFootnotesCounters'](_0x25d5b4);});}}class P extends _0x207686{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x225d16}=this;_0x225d16['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x225d16['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x225d16['commands']['add']('footnotesStyle',new S(_0x225d16)),_0x225d16['commands']['add']('footnotesStart',new C(_0x225d16)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5a6826}=this,{schema:_0x309668}=_0x5a6826['model'];_0x309668['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x240e0b}=this,{conversion:_0x12043e,model:_0x3bff06}=_0x240e0b,{schema:_0x425d93}=_0x3bff06;_0x12043e['for']('upcast')['add'](_0x10a895=>{_0x10a895['on']('element:ol',(_0x223468,_0x1f8745,_0x43330b)=>{const _0x39003d=_0x1f8745['viewItem'],_0x50b491=_0x1f8745['modelCursor']?.['parent'];_0x39003d['hasClass']('footnotes-list')&&_0x50b491?.['is']('element','footnotesDefinitions')&&(function(_0x378546,_0x517b31,_0x3fe98c,_0x339084){if(!_0x339084['checkAttribute'](_0x517b31,'footnotesListStart'))return;let _0x7eadbc=0x1;const _0x20c5a2=_0x3fe98c['consumable']['consume'](_0x378546,{'attributes':'start'});if(_0x20c5a2){const _0x531b16=Number['parseInt'](_0x378546['getAttribute']('start'),0xa);Number['isNaN'](_0x531b16)||(_0x7eadbc=_0x531b16);}!_0x20c5a2&&_0x517b31['hasAttribute']('footnotesListStart')||_0x3fe98c['writer']['setAttribute']('footnotesListStart',_0x7eadbc,_0x517b31);}(_0x39003d,_0x50b491,_0x43330b,_0x425d93),function(_0x2544ed,_0x25fabb,_0x1ae5ef,_0xfdf3d0){if(!_0xfdf3d0['checkAttribute'](_0x25fabb,'footnotesListStyle'))return;let _0x119ddc='decimal',_0x9199bb=!0x1;if(_0x1ae5ef['consumable']['consume'](_0x2544ed,{'attributes':'type'})){const _0x274c2a={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2544ed['getAttribute']('type')];_0x274c2a&&(_0x119ddc=_0x274c2a),_0x9199bb=!0x0;}_0x1ae5ef['consumable']['consume'](_0x2544ed,{'styles':'list-style-type'})&&(_0x119ddc=function(_0x5c78ba){switch(_0x5c78ba){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5c78ba;}}(_0x2544ed['getStyle']('list-style-type')),_0x9199bb=!0x0),!_0x9199bb&&_0x25fabb['hasAttribute']('footnotesListStyle')||_0x1ae5ef['writer']['setAttribute']('footnotesListStyle',_0x119ddc,_0x25fabb);}(_0x39003d,_0x50b491,_0x43330b,_0x425d93));});}),_0x12043e['for']('downcast')['add'](_0x3d9e69=>{_0x3d9e69['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2fa0b7,_0x19fc2f,_0x7bb7df)=>{if(!_0x7bb7df['consumable']['consume'](_0x19fc2f['item'],_0x2fa0b7['name']))return;const _0x40ca1d=M(_0x19fc2f['item'],_0x7bb7df['mapper']),{attributeNewValue:_0x1152b4}=_0x19fc2f;null==_0x1152b4||0x1===_0x1152b4?_0x7bb7df['writer']['removeAttribute']('start',_0x40ca1d):_0x7bb7df['writer']['setAttribute']('start',String(_0x1152b4),_0x40ca1d);}),_0x3d9e69['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5e7938,_0x1d93de,_0x1c6692)=>{if(!_0x1c6692['consumable']['consume'](_0x1d93de['item'],_0x5e7938['name']))return;const _0x58edad=M(_0x1d93de['item'],_0x1c6692['mapper']),{attributeNewValue:_0x4181d4}=_0x1d93de;_0x4181d4&&'decimal'!==_0x4181d4?_0x1c6692['writer']['setStyle']('list-style-type',_0x4181d4,_0x58edad):_0x1c6692['writer']['removeStyle']('list-style-type',_0x58edad);});});}['_definePostfixer'](){const {editor:_0x351b3c}=this,{model:_0x159871}=_0x351b3c,_0x3261c9=_0x351b3c['plugins']['get'](f),_0x5d9fa7=this['_getDefaultListStyle'](),_0x351936=this['_getDefaultStartIndex']();_0x159871['document']['registerPostFixer'](_0x150967=>{const _0x58c1cd=_0x159871['document']['differ']['getChanges']();let _0xeb27a4=!0x1;for(const _0x2458a1 of _0x58c1cd){if('insert'!==_0x2458a1['type']||'$text'===_0x2458a1['name'])continue;const _0x3f8d98=_0x159871['createRangeOn'](_0x2458a1['position']['nodeAfter']);for(const _0x34a8bd of _0x3f8d98['getItems']())_0x34a8bd['is']('element','footnotesDefinitions')&&(!_0x34a8bd['hasAttribute']('footnotesListStart')&&_0x159871['schema']['checkAttribute'](_0x34a8bd,'footnotesListStart')&&(_0x150967['setAttribute']('footnotesListStart',_0x351936,_0x34a8bd),_0xeb27a4=!0x0),!_0x34a8bd['hasAttribute']('footnotesListStyle')&&_0x159871['schema']['checkAttribute'](_0x34a8bd,'footnotesListStyle')&&(_0x150967['setAttribute']('footnotesListStyle',_0x5d9fa7,_0x34a8bd),_0xeb27a4=!0x0));}return _0xeb27a4&&_0x3261c9['_updateFootnotesCounters'](_0x150967),_0xeb27a4;});}['_defineFormatter'](){const {editor:_0x139761}=this;_0x139761['plugins']['get'](f)['setFootnoteFormatter'](_0x574883=>this['_formatFootnoteListValue'](_0x574883));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2dba5e,value:_0x4f3d78,digits:_0x35c344}){const _0x22522d=_0x2dba5e['getAttribute']('footnotesListStyle'),_0x33c354=_0x2dba5e['getAttribute']('footnotesListStart'),_0x5a78be=Math['floor'](_0x4f3d78)+(_0x33c354??0x1)-0x1;switch(_0x22522d){case'decimal-leading-zero':return function(_0x5760b3,_0x50cbab){return String(_0x5760b3)['padStart'](_0x50cbab,'0');}(_0x5a78be,Math['max'](0x2,_0x35c344));case'lower-alpha':case'lower-latin':return N(_0x5a78be,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5a78be,!0x0);case'lower-roman':return X(_0x5a78be,!0x1);case'upper-roman':return X(_0x5a78be,!0x0);default:return String(_0x5a78be);}}}function M(_0x166193,_0xb31881){const _0x4ac478=_0xb31881['toViewElement'](_0x166193);return Array['from'](_0x4ac478['getChildren']())['find'](_0x258d82=>_0x258d82['is']('element','ol')&&_0x258d82['hasClass']('footnotes-list'));}function N(_0x53e414,_0x4c2eee){let _0x285deb='',_0x1e0186=_0x53e414;for(;_0x1e0186>0x0;){const _0x91d3b5=(_0x1e0186-0x1)%0x1a;_0x285deb=String['fromCharCode'](0x61+_0x91d3b5)+_0x285deb,_0x1e0186=Math['floor']((_0x1e0186-0x1)/0x1a);}return _0x4c2eee?_0x285deb['toUpperCase']():_0x285deb;}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(_0x560ca4,_0x1c0a72){let _0x3ed1b1='',_0x35ffaa=_0x560ca4;for(const {value:_0x5b6eee,numeral:_0x3b8be3}of V)for(;_0x35ffaa>=_0x5b6eee;)_0x3ed1b1+=_0x3b8be3,_0x35ffaa-=_0x5b6eee;return _0x1c0a72?_0x3ed1b1:_0x3ed1b1['toLowerCase']();}class J extends _0x2971a1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4855c0();['focusCycler'];constructor(_0x38fc2d,{styleButtonViews:_0x4606c6,styleGridAriaLabel:_0x1aa5de}){super(_0x38fc2d),(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'](_0x4606c6,_0x1aa5de),[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 _0x317713 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x317713['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 _0x20c138=_0x5338e7=>_0x5338e7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x20c138),this['keystrokes']['set']('arrowleft',_0x20c138),this['keystrokes']['set']('arrowup',_0x20c138),this['keystrokes']['set']('arrowdown',_0x20c138);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1644e2,_0x339ea3){const _0x10fae3=new _0x2971a1(this['locale']);return _0x10fae3['children']=_0x10fae3['createCollection'](),_0x10fae3['children']['addMany'](_0x1644e2),_0x10fae3['setTemplate']({'tag':'div','attributes':{'aria-label':_0x339ea3,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x10fae3['children']}),_0x10fae3['children']['delegate']('execute')['to'](this),_0x10fae3['focus']=function(){for(const _0x4ff35a of this['children'])if(_0x4ff35a instanceof _0x1e4bb8&&_0x4ff35a['isOn'])return void _0x4ff35a['focus']();this['children']['first']['focus']();},_0x10fae3['focusTracker']=new rt(),_0x10fae3['keystrokes']=new nt(),_0x10fae3['render'](),_0x10fae3['keystrokes']['listenTo'](_0x10fae3['element']),this['children']['add'](_0x10fae3),_0x10fae3;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x43ebb5=this['_createStartIndexPropertyView'](),_0x2e43e2=[_0x43ebb5],_0x5e5d31=new it(this['locale'],_0x2e43e2);return _0x5e5d31['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5e5d31['buttonView']['bind']('isEnabled')['toMany'](_0x2e43e2,'isEnabled',(..._0xeaa6b0)=>_0xeaa6b0['some'](_0x4847cd=>_0x4847cd)),_0x5e5d31['buttonView']['on']('change:isEnabled',(_0x3b0e8f,_0x51d5b8,_0x3d7277)=>{_0x3d7277||(_0x5e5d31['isCollapsed']=!0x0);}),this['children']['add'](_0x5e5d31),[_0x43ebb5,_0x5e5d31];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x30efc1=new et(this['locale'],ot);return _0x30efc1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x30efc1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x30efc1['fieldView']['on']('input',()=>{const _0xc4fa00=_0x30efc1['fieldView']['element'],_0x17e794=_0xc4fa00['valueAsNumber'];Number['isNaN'](_0x17e794)?_0x30efc1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xc4fa00['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x17e794}):_0x30efc1['errorText']=t(_0x17e794<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x30efc1;}}class j extends _0x207686{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x18497b,_0x499bf6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5927ad}=this,{componentFactory:_0x21cde6}=_0x5927ad['ui'];_0x5927ad['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x21cde6['add']('footnotesStyle',function(_0xdf5e5a){return _0x49650c=>{const {t:t}=_0x49650c,_0x48f31f=_0xdf5e5a['commands']['get']('footnotesStyle'),_0xe73f2e=_0x5307a5(_0x49650c),{buttonView:_0x6fd78b}=_0xe73f2e;return _0xe73f2e['class']='ck-footnotes-styles-dropdown',_0xe73f2e['bind']('isEnabled')['to'](_0x48f31f,'isEnabled'),_0x6fd78b['set']({'label':t('Footnotes\x20style'),'icon':_0x121984,'tooltip':!0x0}),_0xe73f2e['once']('change:isOpen',()=>{const _0x555d71=function({editor:_0x69699f,dropdownView:_0x3e183f}){const {t:t}=_0x69699f['locale'],_0x22ffa8=t('Footnotes\x20definitions\x20styles'),_0x19cbcf=function(_0x201cd4){const t=_0x201cd4['locale']['t'],_0x61334c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x84ca6e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x362d3a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x48ea4b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1d930f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2cf41b},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x29992c}];return _0x61334c['map'](function(_0x494ad1){const _0x5743f4=_0x494ad1['locale'];return({label:_0x428a3b,icon:_0x575b64,tooltip:_0x471dfb,style:_0x396ea0})=>{const _0x49e2f2=_0x494ad1['commands']['get']('footnotesStyle'),_0x49ff6c=new _0x1e4bb8(_0x5743f4);return _0x49ff6c['set']({'label':_0x428a3b,'icon':_0x575b64,'tooltip':_0x471dfb}),_0x49ff6c['bind']('isOn')['to'](_0x49e2f2,'value',_0x5455ca=>_0x5455ca===_0x396ea0),_0x49ff6c['bind']('isEnabled')['to'](_0x49e2f2,'isEnabled'),_0x49ff6c['on']('execute',()=>{_0x494ad1['execute']('footnotesStyle',{'value':_0x396ea0}),_0x494ad1['editing']['view']['focus']();}),_0x49ff6c;};}(_0x201cd4));}(_0x69699f),_0x1a56d3=new J(_0x69699f['locale'],{'styleGridAriaLabel':_0x22ffa8,'styleButtonViews':_0x19cbcf}),_0xe84b73=_0x69699f['commands']['get']('footnotesStart');return _0x1a56d3['startIndexFieldView']['bind']('isEnabled')['to'](_0xe84b73),_0x1a56d3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xe84b73),_0x1a56d3['on']('footnotesListStart',(_0x143130,_0x2b6b13)=>{_0x69699f['execute']('footnotesStart',{'value':_0x2b6b13['startIndex']});}),_0x1a56d3['delegate']('execute')['to'](_0x3e183f),_0x1a56d3;}({'editor':_0xdf5e5a,'dropdownView':_0xe73f2e});_0xe73f2e['panelView']['children']['add'](_0x555d71);}),_0xe73f2e;};}(_0x5927ad));}['afterInit'](){const {editor:_0x5e725f}=this,{t:t}=_0x5e725f['locale'],_0x504b33=_0x5e725f['plugins']['get'](_0x499bf6),{defaultPositions:_0x75884}=_0x4fea40;_0x504b33['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5e725f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2dded4=>{let _0x3aac51=_0x2dded4['getFirstPosition']()?.['parent'];return _0x3aac51?.['is']('$text')&&(_0x3aac51=_0x3aac51['parent']),_0x3aac51?.['is']('element')?_0x3aac51['findAncestor'](Q):null;},'positions':[_0x75884['southArrowNorth'],_0x75884['southArrowNorthMiddleWest'],_0x75884['southArrowNorthMiddleEast'],_0x75884['southArrowNorthWest'],_0x75884['southArrowNorthEast'],_0x75884['northArrowSouth'],_0x75884['northArrowSouthMiddleWest'],_0x75884['northArrowSouthMiddleEast'],_0x75884['northArrowSouthWest'],_0x75884['northArrowSouthEast'],_0x75884['viewportStickyNorth']]});}}class ft extends _0x207686{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x40c7b5=>0x1!=_0x40c7b5}};
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':_0x5706a8=>0x1!=_0x5706a8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x19f838=>{const {af:{dictionary:_0x167865,getPluralForm:_0x37ae21}}={'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':_0x2e450e=>0x1!=_0x2e450e}};_0x19f838['af']||={'dictionary':{},'getPluralForm':null},_0x19f838['af']['dictionary']=Object['assign'](_0x19f838['af']['dictionary'],_0x167865),_0x19f838['af']['getPluralForm']=_0x37ae21;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe0e020=>{const {af:{dictionary:_0x3d34ea,getPluralForm:_0xfc6a3f}}={'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':_0x20b8b9=>0x1!=_0x20b8b9}};_0xe0e020['af']||={'dictionary':{},'getPluralForm':null},_0xe0e020['af']['dictionary']=Object['assign'](_0xe0e020['af']['dictionary'],_0x3d34ea),_0xe0e020['af']['getPluralForm']=_0xfc6a3f;})(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':_0x182ae8=>0x0==_0x182ae8?0x0:0x1==_0x182ae8?0x1:0x2==_0x182ae8?0x2:_0x182ae8%0x64>=0x3&&_0x182ae8%0x64<=0xa?0x3:_0x182ae8%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':_0xe8f454=>0x0==_0xe8f454?0x0:0x1==_0xe8f454?0x1:0x2==_0xe8f454?0x2:_0xe8f454%0x64>=0x3&&_0xe8f454%0x64<=0xa?0x3:_0xe8f454%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x35cdf4=>{const {ar:{dictionary:_0x18351d,getPluralForm:_0x592203}}={'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':_0x4b9ede=>0x0==_0x4b9ede?0x0:0x1==_0x4b9ede?0x1:0x2==_0x4b9ede?0x2:_0x4b9ede%0x64>=0x3&&_0x4b9ede%0x64<=0xa?0x3:_0x4b9ede%0x64>=0xb?0x4:0x5}};_0x35cdf4['ar']||={'dictionary':{},'getPluralForm':null},_0x35cdf4['ar']['dictionary']=Object['assign'](_0x35cdf4['ar']['dictionary'],_0x18351d),_0x35cdf4['ar']['getPluralForm']=_0x592203;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x37c722=>{const {ar:{dictionary:_0x12eb2b,getPluralForm:_0x4eb75c}}={'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':_0x41834c=>0x0==_0x41834c?0x0:0x1==_0x41834c?0x1:0x2==_0x41834c?0x2:_0x41834c%0x64>=0x3&&_0x41834c%0x64<=0xa?0x3:_0x41834c%0x64>=0xb?0x4:0x5}};_0x37c722['ar']||={'dictionary':{},'getPluralForm':null},_0x37c722['ar']['dictionary']=Object['assign'](_0x37c722['ar']['dictionary'],_0x12eb2b),_0x37c722['ar']['getPluralForm']=_0x4eb75c;})(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':_0x419a0f=>0x1!=_0x419a0f}};
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':_0xa6735a=>0x1!=_0xa6735a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x442669=>{const {ast:{dictionary:_0x5a63d7,getPluralForm:_0x5de2e1}}={'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':_0x1df319=>0x1!=_0x1df319}};_0x442669['ast']||={'dictionary':{},'getPluralForm':null},_0x442669['ast']['dictionary']=Object['assign'](_0x442669['ast']['dictionary'],_0x5a63d7),_0x442669['ast']['getPluralForm']=_0x5de2e1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xe95fe1=>{const {ast:{dictionary:_0x2a6529,getPluralForm:_0x17f208}}={'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':_0x2e2fe3=>0x1!=_0x2e2fe3}};_0xe95fe1['ast']||={'dictionary':{},'getPluralForm':null},_0xe95fe1['ast']['dictionary']=Object['assign'](_0xe95fe1['ast']['dictionary'],_0x2a6529),_0xe95fe1['ast']['getPluralForm']=_0x17f208;})(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':_0xd89379=>0x1!=_0xd89379}};
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':_0x5c546e=>0x1!=_0x5c546e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x56588b=>{const {az:{dictionary:_0x45f843,getPluralForm:_0x13b856}}={'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':_0xcd51e5=>0x1!=_0xcd51e5}};_0x56588b['az']||={'dictionary':{},'getPluralForm':null},_0x56588b['az']['dictionary']=Object['assign'](_0x56588b['az']['dictionary'],_0x45f843),_0x56588b['az']['getPluralForm']=_0x13b856;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2558a0=>{const {az:{dictionary:_0x54710b,getPluralForm:_0xbac366}}={'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':_0x4166ac=>0x1!=_0x4166ac}};_0x2558a0['az']||={'dictionary':{},'getPluralForm':null},_0x2558a0['az']['dictionary']=Object['assign'](_0x2558a0['az']['dictionary'],_0x54710b),_0x2558a0['az']['getPluralForm']=_0xbac366;})(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':_0x344ace=>_0x344ace%0xa==0x1&&_0x344ace%0x64!=0xb?0x0:_0x344ace%0xa>=0x2&&_0x344ace%0xa<=0x4&&(_0x344ace%0x64<0xa||_0x344ace%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':_0x1059bc=>_0x1059bc%0xa==0x1&&_0x1059bc%0x64!=0xb?0x0:_0x1059bc%0xa>=0x2&&_0x1059bc%0xa<=0x4&&(_0x1059bc%0x64<0xa||_0x1059bc%0x64>=0x14)?0x1:0x2}};