@ckeditor/ckeditor5-footnotes 47.4.0-alpha.3 → 47.4.0-alpha.5

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 _0x19eda0,Command as _0x351006}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x46d9c5,isWidget as _0x3b059c,toWidgetEditable as _0x180e5a,WidgetToolbarRepository as _0x4b86aa}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xe68562,logWarning as _0x5aa102,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x33c070,ClickObserver as _0x37eab0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3fef1b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1b55b4,ButtonView as _0x1fc42c,View as _0x350447,ViewCollection as _0x1ec22f,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0xce7b1e,BalloonPanelView as _0x410fb1,createDropdown as _0x3b9fda}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5a8fbf,IconListStyleDecimal as _0x2cca65,IconListStyleDecimalLeadingZero as _0x4d1f84,IconListStyleLowerRoman as _0x3b622a,IconListStyleUpperRoman as _0x521d19,IconListStyleLowerLatin as _0x4179bf,IconListStyleUpperLatin as _0x15bfb3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4b4de4,_0x80e2e3){this['_model']=_0x4b4de4,this['_elementName']=_0x80e2e3['elementName'],this['_getElementKey']=_0x80e2e3['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x401925){const _0x20b90f=new Set(),_0x5c78d7=new Map();for(const _0x3f8f5c of _0x401925){if('insert'===_0x3f8f5c['type']&&'$text'!==_0x3f8f5c['name']&&_0x3f8f5c['position']['nodeAfter']){const _0xb8cc09=this['_model']['createRangeOn'](_0x3f8f5c['position']['nodeAfter']);for(const _0x4460f2 of _0xb8cc09['getItems']()){if(!_0x4460f2['is']('element',this['_elementName']))continue;const _0x85873c=this['_getElementKey'](_0x4460f2);_0x5c78d7['has'](_0x85873c)||_0x5c78d7['set'](_0x85873c,[]),_0x5c78d7['get'](_0x85873c)['push'](_0x4460f2);}}if('remove'===_0x3f8f5c['type']&&_0x3f8f5c['name']===this['_elementName']){const _0x57b319=this['_getElementKey']({'getAttribute':_0x5a5989=>_0x3f8f5c['attributes']['get'](_0x5a5989)});_0x20b90f['add'](_0x57b319);}}for(const [_0x226124,_0x1dcafb]of this['_trackedElements'])'$graveyard'===_0x1dcafb['root']['rootName']&&_0x20b90f['add'](_0x226124);for(const _0x3acb0a of _0x20b90f)this['_trackedElements']['delete'](_0x3acb0a);for(const [_0x1a2b8e,_0x23e0e1]of _0x5c78d7)this['_trackedElements']['set'](_0x1a2b8e,_0x23e0e1[_0x23e0e1['length']-0x1]);const _0x76dab3=new Set();for(const [_0x27d3dc,_0x484ce0]of _0x5c78d7)_0x20b90f['has'](_0x27d3dc)&&(_0x76dab3['add'](_0x484ce0[0x0]),_0x484ce0['length']>0x1?_0x5c78d7['set'](_0x27d3dc,_0x484ce0['slice'](0x1)):_0x5c78d7['delete'](_0x27d3dc),_0x20b90f['delete'](_0x27d3dc));return{'removed':Array['from'](_0x20b90f),'inserted':Array['from'](_0x5c78d7['values']())['flat'](),'moved':Array['from'](_0x76dab3)};}}class f extends _0x19eda0{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x56e833){super(_0x56e833),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x360554=>_0x360554['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x115fba=>_0x115fba['getAttribute']('footnoteId')});}['init'](){const {editor:_0x31b014}=this,{model:_0x3e8865,data:_0x414844}=_0x31b014;_0x3e8865['document']['registerPostFixer'](_0x2de95f=>{const _0x3fbfcc=_0x3e8865['document']['differ']['getChanges']();let _0x136565=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2de95f,_0x3fbfcc)&&(_0x136565=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2de95f,_0x3fbfcc)&&(_0x136565=!0x0),this['_handleFootnoteReferencesChanges'](_0x2de95f,_0x3fbfcc)&&(_0x136565=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2de95f)&&(_0x136565=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2de95f)&&(_0x136565=!0x0),this['_sortFootnoteDefinitions'](_0x2de95f)&&(_0x136565=!0x0),_0x136565;}),this['listenTo'](_0x3e8865['document'],'change:data',()=>{_0x3e8865['enqueueChange']({'isUndoable':!0x1},_0x2ab0af=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2ab0af);});},{'priority':'low'}),this['listenTo'](_0x414844,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x13d65b){return this['_footnotes']['find'](_0x54b88c=>_0x54b88c['id']===_0x13d65b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3a6126){this['_footnoteFormatter']=_0x3a6126;}['_updateFootnotesCounters'](_0x620e84,_0x492a4e=0x0){let _0x2e7119=!0x1;for(let _0x4b0702=_0x492a4e;_0x4b0702<this['_footnotes']['length'];_0x4b0702++)this['_updateFootnoteRefCounter'](_0x620e84,_0x4b0702)&&(_0x2e7119=!0x0);return _0x2e7119;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5d48b2,_0x280952){const _0x3c4b79=_0x5d48b2['createElement']('footnotesDefinitions',{});return _0x5d48b2['append'](_0x3c4b79,_0x280952),this['_footnotesDefinitions']=_0x3c4b79,_0x3c4b79;}['_ensureFootnotesDefinitionsContainerExists'](_0x15e066){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x46b8fb=this['_footnotes'][0x0]['reference']['root'],_0x4b8607=this['_insertEmptyFootnotesDefinitionsContainer'](_0x15e066,_0x46b8fb);for(const _0x1943a7 of this['_footnotes'])_0x1943a7['definition']['parent']||_0x15e066['insert'](_0x1943a7['definition'],_0x4b8607,'end');this['_updateFootnotesCounters'](_0x15e066);}['_handleFootnotesDefinitionsObjectChanges'](_0x40c29b,_0x54ce9f){let _0xcd2768=!0x1;const {inserted:_0x1109b5,removed:_0x42a7b7,moved:_0x25d631}=this['_footnoteDefsContainerTracker']['getChanges'](_0x54ce9f);if(_0x25d631['length']&&(this['_footnotesDefinitions']=_0x25d631[0x0]),_0x1109b5['length']){if(_0x1109b5['length']>0x1||this['_footnotesDefinitions']&&_0x1109b5['some'](_0x156fdd=>_0x156fdd!==this['_footnotesDefinitions'])){const _0x1a6f41=_0x40c29b['createElement']('footnotesDefinitions',{}),_0x108658=[];this['_footnotesDefinitions']&&_0x108658['push'](this['_footnotesDefinitions']),_0x108658['push'](..._0x1109b5),_0x40c29b['insert'](_0x1a6f41,_0x108658[0x0],'before');for(const _0x1d0062 of _0x108658)_0x40c29b['move'](_0x40c29b['createRangeIn'](_0x1d0062),_0x40c29b['createPositionAt'](_0x1a6f41,'end')),_0x40c29b['remove'](_0x1d0062);this['_footnotesDefinitions']=_0x1a6f41,this['_updateFootnotesCounters'](_0x40c29b),_0xcd2768=!0x0;}else this['_footnotesDefinitions']=_0x1109b5[0x0];}if(_0x42a7b7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x32c6ba of this['_footnotes'])_0x40c29b['remove'](_0x32c6ba['reference']),_0xcd2768=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xcd2768;}['_handleFootnoteDefinitionsChanges'](_0x5a3739,_0x360b50){let _0x452707=!0x1;const _0x2b65c2=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x36a186,moved:_0x5777ea}=this['_footnoteDefsTracker']['getChanges'](_0x360b50);for(const _0x646437 of[..._0x5777ea,..._0x36a186]){const _0x4b7d96=_0x646437['getAttribute']('footnoteId'),_0x4ea124=this['getFootnote'](_0x4b7d96);_0x4ea124&&(_0x4ea124['definition']=_0x646437),_(_0x5a3739,_0x2b65c2,_0x646437)&&(_0x452707=!0x0);}return _0x452707;}['_handleFootnoteReferencesChanges'](_0x5066b9,_0x25707b){let _0x4fe643=!0x1;const {removed:_0x8f6e9d,inserted:_0x3c6ada,moved:_0x59162c}=this['_footnoteRefsTracker']['getChanges'](_0x25707b);for(const _0x41580d of _0x8f6e9d)this['_handleRemoveFootnoteReferenceById'](_0x5066b9,_0x41580d)&&(_0x4fe643=!0x0);for(const _0x4352be of _0x3c6ada)this['_handleInsertedFootnoteReference'](_0x5066b9,_0x4352be)&&(_0x4fe643=!0x0);for(const _0x345412 of _0x59162c)this['_handleMovedFootnoteReference'](_0x5066b9,_0x345412)&&(_0x4fe643=!0x0);return _0x4fe643;}['_handleFootnotesDefinitionsObjectSync'](_0x164496){if(!this['_footnotesDefinitions'])return!0x1;let _0x5b2d7d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x21c12b=[];for(const _0x1e7bd2 of this['_footnotesDefinitions']['getChildren']()){const _0x50740e=_0x1e7bd2['getAttribute']('footnoteId');this['getFootnote'](_0x50740e)||(_0x21c12b['unshift'](_0x1e7bd2),_0x5b2d7d=!0x0);}for(const _0x538b29 of _0x21c12b)_0x164496['remove'](_0x538b29);}const _0x41df0f=new Set(),_0x252efd=[];for(const _0x200aac of this['_footnotesDefinitions']['getChildren']()){const _0xe67469=_0x200aac['getAttribute']('footnoteId');_0x41df0f['has'](_0xe67469)?(_0x252efd['unshift'](_0x200aac),_0x5b2d7d=!0x0):_0x41df0f['add'](_0xe67469);}for(const _0x4da757 of _0x252efd)_0x164496['remove'](_0x4da757);return this['_footnotesDefinitions']['childCount']||(_0x164496['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5b2d7d=!0x0),_0x5b2d7d;}['_handleInsertedFootnoteReference'](_0x214d68,_0x58afd5){if(this['_footnotes']['find'](_0x268caf=>_0x268caf['reference']===_0x58afd5))return!0x1;let _0x5e6ee7=!0x1;const _0x4d9fe9=_0x58afd5['getAttribute']('footnoteId'),_0x520cd0=this['_footnotes']['findIndex'](_0x1a39cc=>_0x1a39cc['id']===_0x4d9fe9);-0x1!==_0x520cd0&&(_0x214d68['remove'](this['_footnotes'][_0x520cd0]['reference']),this['_footnotes']['splice'](_0x520cd0,0x1),_0x5e6ee7=!0x0);let _0x3bf0b3=this['_footnotesDefinitions']?function(_0x1cbad2,_0x25046d){for(const _0x6e1c2 of _0x1cbad2['getChildren']())if(_0x6e1c2['getAttribute']('footnoteId')===_0x25046d)return _0x6e1c2;return null;}(this['_footnotesDefinitions'],_0x4d9fe9):null;_0x3bf0b3||(_0x3bf0b3=_0x214d68['createElement']('footnoteDefinition',{'footnoteId':_0x4d9fe9}),this['_footnotesDefinitions']&&(_0x214d68['insert'](_0x3bf0b3,this['_footnotesDefinitions'],'end'),_0x5e6ee7=!0x0));const _0x4f164b={'id':_0x4d9fe9,'reference':_0x58afd5,'definition':_0x3bf0b3},_0xedea11=I(this['editor']['model'],this['_footnotes'],_0x58afd5);this['_footnotes']['splice'](_0xedea11,0x0,_0x4f164b);let _0x274281=_0xedea11;return-0x1!==_0x520cd0&&(_0x274281=Math['min'](_0xedea11,_0x520cd0)),this['_updateFootnotesCounters'](_0x214d68,_0x274281)&&(_0x5e6ee7=!0x0),_0x5e6ee7;}['_handleRemoveFootnoteReferenceById'](_0x2c4d49,_0x1c9ee4){const _0x281a99=this['_footnotes']['findIndex'](_0x2744d7=>_0x2744d7['id']===_0x1c9ee4);if(-0x1===_0x281a99)return!0x1;let _0x556462=!0x1;const _0x4ce5a1=this['_footnotes'][_0x281a99];return'$graveyard'!==_0x4ce5a1['definition']['root']['rootName']&&(_0x2c4d49['remove'](_0x4ce5a1['definition']),_0x556462=!0x0),this['_footnotes']['splice'](_0x281a99,0x1),this['_updateFootnotesCounters'](_0x2c4d49,_0x281a99)&&(_0x556462=!0x0),_0x556462;}['_handleMovedFootnoteReference'](_0x593c41,_0x1db67b){const _0x31b254=_0x1db67b['getAttribute']('footnoteId'),_0xffe4b9=this['_footnotes']['findIndex'](_0x50b5c2=>_0x50b5c2['id']===_0x31b254),_0x1017c2=this['_footnotes'][_0xffe4b9];let _0x5c6c41=!0x1;_0x1017c2['reference']=_0x1db67b,this['_footnotes']['splice'](_0xffe4b9,0x1);const _0x25b2f5=I(this['editor']['model'],this['_footnotes'],_0x1db67b);return this['_footnotes']['splice'](_0x25b2f5,0x0,_0x1017c2),this['_updateFootnotesCounters'](_0x593c41,Math['min'](_0xffe4b9,_0x25b2f5))&&(_0x5c6c41=!0x0),_0x5c6c41;}['_updateFootnoteRefCounter'](_0x3db630,_0x354e6e){if(!this['_footnotesDefinitions'])return!0x1;const _0x1c085d=this['_footnotes'][_0x354e6e];let _0xc5149c;return _0xc5149c=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1c085d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x354e6e+0x1}):String(_0x354e6e+0x1),_0x1c085d['reference']['getAttribute']('footnoteCounter')!=_0xc5149c&&(_0x3db630['setAttribute']('footnoteCounter',_0xc5149c,_0x1c085d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x6d36f1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x571781,_0x23d9d4){if(_0x571781['length']!==_0x23d9d4['length'])return!0x1;for(let _0xa20913=0x0;_0xa20913<_0x571781['length'];_0xa20913++)if(_0x571781[_0xa20913]!==_0x23d9d4[_0xa20913])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1886da=>_0x1886da['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x20f7c3=>_0x20f7c3['getAttribute']('footnoteId'))))return!0x1;let _0x4afc76=!0x1;for(let _0x29e90c=0x0;_0x29e90c<this['_footnotes']['length'];_0x29e90c++){const _0xacf9ae=this['_footnotes'][_0x29e90c],_0x3ec5e0=_0x6d36f1['createPositionBefore'](_0xacf9ae['definition']),_0x179448=_0x6d36f1['createPositionAt'](this['_footnotesDefinitions'],_0x29e90c);_0x3ec5e0['isEqual'](_0x179448)||(_0x6d36f1['move'](_0x6d36f1['createRangeOn'](_0xacf9ae['definition']),_0x179448),_0x4afc76=!0x0);}return _0x4afc76;}['_ensureFootnotesReferencesHaveProperOrder'](_0x39a2b1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x464a8b}=this['editor'];let _0x24beec=!0x1;for(let _0x41d3ab=0x0;_0x41d3ab<this['_footnotes']['length']-0x1;_0x41d3ab++){const _0x54ade2=this['_footnotes'][_0x41d3ab],_0xdd86a2=this['_footnotes'][_0x41d3ab+0x1],_0x2cdcca=_0x464a8b['createPositionBefore'](_0x54ade2['reference']),_0x4f43e7=_0x464a8b['createPositionBefore'](_0xdd86a2['reference']);'after'===_0x2cdcca['compareWith'](_0x4f43e7)&&(this['_handleMovedFootnoteReference'](_0x39a2b1,_0x54ade2['reference']),_0x41d3ab=-0x1,_0x24beec=!0x0);}return _0x24beec;}}function _(_0x592612,_0x2c5dc3,_0x1acb21){if(_0x1acb21['childCount'])return!0x1;const _0x10fcdb=_0x2c5dc3?'paragraph':'footnoteInlineContent';return _0x592612['insert'](_0x592612['createElement'](_0x10fcdb),_0x1acb21),!0x0;}function I(_0x119e33,_0x4b90fd,_0x13be05){if(0x0===_0x4b90fd['length'])return 0x0;const _0x1a082c=_0x119e33['createPositionBefore'](_0x13be05);for(let _0x38607d=0x0;_0x38607d<_0x4b90fd['length'];_0x38607d++){const _0x56e4d3=_0x4b90fd[_0x38607d],_0x4c76cd=_0x119e33['createPositionBefore'](_0x56e4d3['reference']);if('before'===_0x1a082c['compareWith'](_0x4c76cd))return _0x38607d;}const _0x13b3de=_0x13be05['root'];let _0x189abb=-0x1;for(let _0x4dd45e=_0x4b90fd['length']-0x1;_0x4dd45e>=0x0;_0x4dd45e--)if(_0x4b90fd[_0x4dd45e]['reference']['root']===_0x13b3de){_0x189abb=_0x4dd45e;break;}if(-0x1!==_0x189abb)return _0x189abb+0x1;const _0x23319c=_0x119e33['document']['getRootNames'](),_0x3d6f7d=_0x23319c['indexOf'](_0x13b3de['rootName']),_0x30523e=_0x23319c[_0x3d6f7d+0x1];if(_0x30523e){for(let _0x3f2d43=0x0;_0x3f2d43<_0x4b90fd['length'];_0x3f2d43++)if(_0x4b90fd[_0x3f2d43]['reference']['root']['rootName']===_0x30523e)return _0x3f2d43;}return _0x4b90fd['length'];}class h extends _0x351006{['refresh'](){const _0x38c387=this['editor']['model']['document']['selection'],_0x4b8557=this['_getPositionToInsertFootnote'](_0x38c387);this['isEnabled']=!!_0x4b8557;}['execute'](_0x3f6ac8){const {editor:_0x253f61}=this,{model:_0x56c9f8}=_0x253f61,{selection:_0x3ac66e}=_0x56c9f8['document'],_0x332a6a=this['_getPositionToInsertFootnote'](_0x3ac66e);if(!_0x332a6a)return;const _0x13e4e7=_0x253f61['plugins']['get']('FootnotesEditing'),_0x325793=_0x3f6ac8?.['footnoteId']??_0xe68562();!function(_0x5a0154){return'string'==typeof _0x5a0154&&_0x5a0154['length']>0x0&&!/\s/['test'](_0x5a0154)&&!/^\d/['test'](_0x5a0154);}(_0x325793)?_0x5aa102('insert-footnote-command-executed-with-invalid-id'):(_0x56c9f8['change'](_0x2c7b62=>{const _0x567f64=_0x2c7b62['createElement']('footnoteRef',{'footnoteId':_0x325793});_0x56c9f8['insertObject'](_0x567f64,_0x332a6a,null);}),_0x13e4e7['_moveSelectionToFootnoteDefinition'](_0x325793));}['_getPositionToInsertFootnote'](_0x568fea){const {model:_0x33183a}=this['editor'],{schema:_0x2ee7b3}=_0x33183a,_0x5b8908=_0x568fea['getFirstRange']();for(const _0x53fc73 of _0x5b8908['getItems']())if(_0x2ee7b3['isBlock'](_0x53fc73)||_0x2ee7b3['isObject'](_0x53fc73))return null;const _0x56c86c=_0x5b8908['end'];return _0x2ee7b3['checkChild'](_0x56c86c,'footnoteRef')?_0x56c86c:null;}}class r extends _0x19eda0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fd911}=this;_0x1fd911['config']['define']('footnotes.multiBlock',!0x0),_0x1fd911['commands']['add']('insertFootnote',new h(_0x1fd911)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x97e799){const _0x55e8ba=_0xdf3085([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]),_0x1a5a46=0x47a28506,_0x5ddad6=0x47a5fb86^_0x1a5a46,_0xab1153=window[_0xdf3085([0x44,0x61,0x74,0x65])][_0xdf3085([0x6e,0x6f,0x77])](),_0xdb8519=_0x97e799[_0xdf3085([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e04ba=new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e420=>{_0xdb8519[_0xdf3085([0x6f,0x6e,0x63,0x65])](_0xdf3085([0x72,0x65,0x61,0x64,0x79]),_0x34e420);}),_0x37c533={[_0xdf3085([0x6b,0x74,0x79])]:_0xdf3085([0x45,0x43]),[_0xdf3085([0x75,0x73,0x65])]:_0xdf3085([0x73,0x69,0x67]),[_0xdf3085([0x63,0x72,0x76])]:_0xdf3085([0x50,0x2d,0x32,0x35,0x36]),[_0xdf3085([0x78])]:_0xdf3085([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]),[_0xdf3085([0x79])]:_0xdf3085([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]),[_0xdf3085([0x61,0x6c,0x67])]:_0xdf3085([0x45,0x53,0x32,0x35,0x36])},_0x4d0960=_0xdb8519[_0xdf3085([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdf3085([0x67,0x65,0x74])](_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4275c0(){let _0x4579f7,_0x17c046=null,_0x5381fb=null;try{if(_0x4d0960==_0xdf3085([0x47,0x50,0x4c]))return _0xdf3085([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4579f7=_0x560b3f(),!_0x4579f7)return _0xdf3085([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4579f7[_0xdf3085([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5381fb=_0x5a577b(_0x4579f7[_0xdf3085([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4579f7[_0xdf3085([0x6a,0x74,0x69])])),await _0x58cd94()?_0xd737db()?_0x242cb5()?_0xdf3085([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e5477()?(_0x4579f7[_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdf3085([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17c046=_0x3bdcc7(_0xdf3085([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f7b4e()):_0xdf3085([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdf3085([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdf3085([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdf3085([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x242cb5(){const _0x54b4c2=[_0xdf3085([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdf3085([0x74,0x72,0x69,0x61,0x6c])][_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4579f7[_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xab1153/0x3e8:0xe10*_0x5ddad6;return _0x4579f7[_0xdf3085([0x65,0x78,0x70])]<_0x54b4c2;}function _0xd737db(){const _0x5ddb5b=_0x4579f7[_0xdf3085([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ddb5b&&(!!_0x5ddb5b[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf3085([0x2a]))||!!_0x5ddb5b[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf3085([0x46,0x4f,0x4f])));}function _0x2e5477(){const _0x37c73c=_0x4579f7[_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37c73c||0x0==_0x37c73c[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e25d1}=new URL(window[_0xdf3085([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37c73c[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e25d1))return!0x0;const _0x428882=_0x5e25d1[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e]));return _0x37c73c[_0xdf3085([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5087d4=>_0x5087d4[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf3085([0x2a])))[_0xdf3085([0x6d,0x61,0x70])](_0x5e7a32=>_0x5e7a32[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e])))[_0xdf3085([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f0ad0=>_0x3f0ad0[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x428882[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf3085([0x6d,0x61,0x70])](_0x1a581f=>Array(_0x428882[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a581f[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf3085([0x66,0x69,0x6c,0x6c])](_0x1a581f[0x0]===_0xdf3085([0x2a])?_0xdf3085([0x2a]):'')[_0xdf3085([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a581f))[_0xdf3085([0x73,0x6f,0x6d,0x65])](_0x43bf1b=>_0x428882[_0xdf3085([0x65,0x76,0x65,0x72,0x79])]((_0x557dfb,_0x2f9862)=>_0x43bf1b[_0x2f9862]===_0x557dfb||_0x43bf1b[_0x2f9862]===_0xdf3085([0x2a])));}function _0x3f7b4e(){return _0x17c046&&_0x5381fb?new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17e96a,_0x294b22)=>{_0x17c046[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x17e96a,_0x294b22),_0x5381fb[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x1960d0=>{_0x1960d0!=_0xdf3085([0x56,0x61,0x6c,0x69,0x64])&&_0x17e96a(_0x1960d0);},_0x294b22);}):_0x17c046||_0x5381fb||_0xdf3085([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a577b(_0xda64a2,_0x3c9840){return new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd73376=>{if(_0x25fb34())return _0xd73376(_0xdf3085([0x56,0x61,0x6c,0x69,0x64]));_0xd9dc1d(),_0xdb8519[_0xdf3085([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdf3085([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x367db1=!0x1;const _0x33afdf=_0xe68562();function _0x62c779(_0x6f40f3){return!!_0x6f40f3&&(typeof _0x6f40f3===_0xdf3085([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6f40f3===_0xdf3085([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6f40f3[_0xdf3085([0x74,0x68,0x65,0x6e])]===_0xdf3085([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6f40f3[_0xdf3085([0x63,0x61,0x74,0x63,0x68])]===_0xdf3085([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ac6ea(_0x51d0ed){_0x489598(_0x51d0ed)[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x408245=>{if(!_0x408245||_0x408245[_0xdf3085([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdf3085([0x6f,0x6b]))return _0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d2d44(_0x5544e3(_0x33afdf+_0x3c9840))!=_0x408245[_0xdf3085([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdf3085([0x56,0x61,0x6c,0x69,0x64]);})[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x245255=>(_0x50b53a(),_0x245255),()=>{const _0x1693ac=_0x289ed8();return null==_0x1693ac?(_0x50b53a(),_0xdf3085([0x56,0x61,0x6c,0x69,0x64])):_0xdf3085(_0xab1153-_0x1693ac>(0x63ae0106^_0x1a5a46)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdf3085([0x74,0x68,0x65,0x6e])](_0xd73376)[_0xdf3085([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd73376(_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfb9126=0x47946b86^_0x1a5a46;function _0x50b53a(){const _0x4b50fa=_0xdf3085([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d2d44(_0x5544e3(_0xda64a2)),_0x2952d5=_0x1ed57e(_0x1d2d44(window[_0xdf3085([0x4d,0x61,0x74,0x68])][_0xdf3085([0x63,0x65,0x69,0x6c])](_0xab1153/_0xfb9126)));window[_0xdf3085([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf3085([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b50fa,_0x2952d5);}function _0x289ed8(){const _0xd3cfd2=_0xdf3085([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d2d44(_0x5544e3(_0xda64a2)),_0x6b25d7=window[_0xdf3085([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf3085([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd3cfd2);return _0x6b25d7?window[_0xdf3085([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ed57e(_0x6b25d7),0x10)*_0xfb9126:null;}function _0x489598(_0x229e11){return new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aadd0,_0x5402ff)=>{_0x229e11[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x4aadd0,_0x5402ff),window[_0xdf3085([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5402ff,0x47a351c6^_0x1a5a46);});}}_0xdb8519[_0xdf3085([0x6f,0x6e])](_0xdf3085([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58cc70,_0x252bd1)=>{if(_0x252bd1[0x0]!=_0xda64a2)return _0xd73376(_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x252bd1[0x1]={..._0x252bd1[0x1],[_0xdf3085([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33afdf};},{[_0xdf3085([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf3085([0x68,0x69,0x67,0x68])}),_0xdb8519[_0xdf3085([0x6f,0x6e])](_0xdf3085([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56d7f4=>{_0x62c779(_0x56d7f4[_0xdf3085([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x367db1=!0x0,_0x4ac6ea(_0x56d7f4[_0xdf3085([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdf3085([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf3085([0x6c,0x6f,0x77])}),_0x5e04ba[_0xdf3085([0x74,0x68,0x65,0x6e])](()=>{_0x367db1||_0xd73376(_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25fb34(){return _0xdb8519[_0xdf3085([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf3085([0x76,0x69,0x65,0x77])][_0xdf3085([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdf3085([0x61,0x75,0x74,0x6f]);}function _0xd9dc1d(){_0xdb8519[_0xdf3085([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf3085([0x76,0x69,0x65,0x77])][_0xdf3085([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdf3085([0x61,0x75,0x74,0x6f]);}}function _0x3bdcc7(_0x2fa7f0){const _0x1ca4fb=[new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c7e70=>setTimeout(_0x2c7e70,0x47abbbca^_0x1a5a46)),_0x5e04ba[_0xdf3085([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42cd64=>{let _0x58491e=0x0;_0xdb8519[_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf3085([0x6f,0x6e])](_0xdf3085([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ba61d,_0x3cb4f8)=>{_0x3cb4f8[0x0][_0xdf3085([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58491e++,_0x58491e==(0x47a280ee^_0x1a5a46)&&(_0x42cd64(),_0x5ba61d[_0xdf3085([0x6f,0x66,0x66])]());});}))];return window[_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdf3085([0x72,0x61,0x63,0x65])](_0x1ca4fb)[_0xdf3085([0x74,0x68,0x65,0x6e])](()=>_0x2fa7f0);}async function _0x463950(){await _0x5e04ba,_0xdb8519[_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf3085([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x332251,_0xdb8519[_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf3085([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x332251,_0xdb8519[_0xdf3085([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e88a2(_0x2b4f88){const _0x239105=_0x553e11();_0xdb8519[_0x239105]=_0xdf3085([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b4f88,_0x2b4f88!=_0xdf3085([0x56,0x61,0x6c,0x69,0x64])&&_0x463950();}function _0x553e11(){const _0x559edd=window[_0xdf3085([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdf3085([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdf3085([0x6e,0x6f,0x77])]())[_0xdf3085([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdf3085([0x2e]),'');let _0x39f14a=_0xdf3085([0x75]);for(let _0x5ad9f2=0x0;_0x5ad9f2<_0x559edd[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ad9f2+=0x2){let _0xbb05d0=window[_0xdf3085([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x559edd[_0xdf3085([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ad9f2,_0x5ad9f2+0x2));_0xbb05d0>=_0x55e8ba[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbb05d0-=_0x55e8ba[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39f14a+=_0x55e8ba[_0xbb05d0];}return _0x39f14a;}function _0x560b3f(){const _0x323029=_0x4d0960[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e]));if(0x3!=_0x323029[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x485e50(_0x323029[0x1]);function _0x485e50(_0x127db8){const _0x19172b=_0x4e1ec6(_0x127db8);return _0x19172b&&_0x1a77ae()?_0x19172b:null;function _0x1a77ae(){const _0x34c81c=_0x19172b[_0xdf3085([0x6a,0x74,0x69])],_0x32fdf5=window[_0xdf3085([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34c81c[_0xdf3085([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34c81c[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x493106={..._0x19172b,[_0xdf3085([0x6a,0x74,0x69])]:_0x34c81c[_0xdf3085([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34c81c[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x493106[_0xdf3085([0x76,0x63])],_0x5544e3(_0x493106)==_0x32fdf5;}}}async function _0x58cd94(){let _0x4613d2=!0x0;try{const _0x2f3b95=_0x4d0960[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e])),[_0x160760,_0x592e26,_0x41c320]=_0x2f3b95;return _0x2bcfcc(_0x160760),await _0x579591(_0x160760,_0x592e26,_0x41c320),_0x4613d2;}catch{return!0x1;}function _0x2bcfcc(_0x245da8){const _0x466863=_0x4e1ec6(_0x245da8);_0x466863&&_0x466863[_0xdf3085([0x61,0x6c,0x67])]==_0xdf3085([0x45,0x53,0x32,0x35,0x36])||(_0x4613d2=!0x1);}async function _0x579591(_0x2a3fb3,_0x2cbfe9,_0x4bead8){const _0x583b91=window[_0xdf3085([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdf3085([0x66,0x72,0x6f,0x6d])](_0x27e683(_0x4bead8),_0x2f8378=>_0x2f8378[_0xdf3085([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dc387=new window[(_0xdf3085([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdf3085([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a3fb3+_0xdf3085([0x2e])+_0x2cbfe9),_0x1a60b5=window[_0xdf3085([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdf3085([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a60b5)return;const _0x57af7e=await _0x1a60b5[_0xdf3085([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdf3085([0x6a,0x77,0x6b]),_0x37c533,{[_0xdf3085([0x6e,0x61,0x6d,0x65])]:_0xdf3085([0x45,0x43,0x44,0x53,0x41]),[_0xdf3085([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdf3085([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdf3085([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a60b5[_0xdf3085([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdf3085([0x6e,0x61,0x6d,0x65])]:_0xdf3085([0x45,0x43,0x44,0x53,0x41]),[_0xdf3085([0x68,0x61,0x73,0x68])]:{[_0xdf3085([0x6e,0x61,0x6d,0x65])]:_0xdf3085([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57af7e,_0x583b91,_0x4dc387)||(_0x4613d2=!0x1);}}function _0x4e1ec6(_0x269e87){return _0x269e87[_0xdf3085([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdf3085([0x65,0x79]))?JSON[_0xdf3085([0x70,0x61,0x72,0x73,0x65])](_0x27e683(_0x269e87)):null;}function _0x27e683(_0x942cb){return window[_0xdf3085([0x61,0x74,0x6f,0x62])](_0x942cb[_0xdf3085([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdf3085([0x2b]))[_0xdf3085([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdf3085([0x2f])));}function _0x5544e3(_0x2e96fb){let _0x5f05c8=0x1505;function _0x1a56fa(_0x79a812){for(let _0x1cfcbe=0x0;_0x1cfcbe<_0x79a812[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cfcbe++){const _0x32eee9=_0x79a812[_0xdf3085([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cfcbe);_0x5f05c8=(_0x5f05c8<<0x5)+_0x5f05c8+_0x32eee9,_0x5f05c8&=_0x5f05c8;}}function _0x1a72c6(_0x7efaf9){Array[_0xdf3085([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7efaf9)?_0x7efaf9[_0xdf3085([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a72c6):_0x7efaf9&&typeof _0x7efaf9==_0xdf3085([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdf3085([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7efaf9)[_0xdf3085([0x73,0x6f,0x72,0x74])]()[_0xdf3085([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c9411,_0x487e83])=>{_0x1a56fa(_0x3c9411),_0x1a72c6(_0x487e83);}):_0x1a56fa(window[_0xdf3085([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7efaf9));}return _0x1a72c6(_0x2e96fb),_0x5f05c8>>>0x0;}function _0x1d2d44(_0x561b4c){return _0x561b4c[_0xdf3085([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdf3085([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdf3085([0x30]));}function _0x1ed57e(_0xff70f){return _0xff70f[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdf3085([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdf3085([0x6a,0x6f,0x69,0x6e])]('');}function _0x332251(){}function _0xdf3085(_0x3c6e69){return _0x3c6e69['map'](_0x468776=>String['fromCharCode'](_0x468776))['join']('');}_0x5e88a2(await _0x4275c0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x18f139){const {plugins:_0x51bf06,editing:_0x259cc1,model:_0x391d0e}=this['editor'],_0x97a63a=_0x51bf06['get'](f)['getFootnote'](_0x18f139);return!!_0x97a63a&&(_0x391d0e['change'](_0x301ecc=>{_0x301ecc['setSelection'](_0x301ecc['createPositionAt'](_0x97a63a['definition'],'end'));}),_0x259cc1['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x190455){const {plugins:_0x172909,editing:_0x4b6c43,model:_0x12562c}=this['editor'],_0x502a88=_0x172909['get'](f)['getFootnote'](_0x190455);return!!_0x502a88&&(_0x12562c['change'](_0x280035=>{_0x280035['setSelection'](_0x502a88['reference'],'on');}),_0x4b6c43['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xaa6b86}=this['editor']['model'],_0x390a82=this['editor']['config']['get']('footnotes.multiBlock');_0xaa6b86['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xaa6b86['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xaa6b86['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x390a82?_0xaa6b86['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xaa6b86['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xaa6b86['addChildCheck'](_0x5906f4=>{for(const _0x2712d2 of _0x5906f4)if('footnoteDefinition'===_0x2712d2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x500f20}=this,{conversion:_0x4b2c9f,editing:_0x58b464}=_0x500f20,{t:t}=_0x500f20['locale'];_0x4b2c9f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x38837e,{writer:_0x5d575f,consumable:_0x1008ba})=>{const _0x3473ec=_0x38837e['getChild'](0x0);if(!_0x3473ec||!_0x3473ec['is']('element','a'))return null;const _0x2f696b=_0x3473ec['getAttribute']('href')||'';if(!_0x2f696b['startsWith']('#'))return null;const _0x3ba948=_0x2f696b['replace'](/^#/,'');if(!_0x3ba948)return null;_0x1008ba['consume'](_0x3473ec,{'name':!0x0,'attributes':['href']});for(const {item:_0x26413c}of _0x58b464['view']['createRangeIn'](_0x3473ec))_0x26413c['is']('$textProxy')?_0x1008ba['consume'](_0x26413c['textNode'],{'name':!0x0}):_0x26413c['is']('element')&&_0x1008ba['consume'](_0x26413c,{'name':!0x0});return _0x5d575f['createElement']('footnoteRef',{'footnoteId':_0x3ba948});}}),_0x4b2c9f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x40afba,{writer:_0x4ba1a3})=>b(_0x40afba,_0x4ba1a3)}),_0x4b2c9f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xb5ca3d,{writer:_0x4281f8})=>{const _0x248371=_0xb5ca3d['getAttribute']('footnoteCounter');return _0x46d9c5(b(_0xb5ca3d,_0x4281f8),_0x4281f8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x248371)});}});}['_defineDefinitionsConverters'](){const {editor:_0x13ee6b}=this,{t:t}=_0x13ee6b['locale'],{conversion:_0x3b1a48}=_0x13ee6b;_0x3b1a48['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3b1a48['for']('upcast')['add'](_0x1e2680=>{_0x1e2680['on']('element:ol',(_0x20f405,_0x4b3d05,_0x3820cf)=>{const _0x475213=_0x4b3d05['viewItem'];if(!_0x475213['hasClass']('footnotes-list')||!_0x4b3d05['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3820cf['consumable']['consume'](_0x475213,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2c154c,modelCursor:_0x5c543a}=_0x3820cf['convertChildren'](_0x4b3d05['viewItem'],_0x4b3d05['modelCursor']);_0x4b3d05['modelRange']=_0x2c154c,_0x4b3d05['modelCursor']=_0x5c543a;}),_0x1e2680['on']('element:hr',(_0x4c646e,_0x248d23,_0x4a4c17)=>{const _0x5c7c54=_0x248d23['viewItem'];_0x5c7c54['hasClass']('footnotes-divider')&&_0x248d23['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4a4c17['consumable']['consume'](_0x5c7c54,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3b1a48['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2ac95d,{writer:_0x2cfde7})=>D(_0x2cfde7)}),_0x3b1a48['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3ed7a6,{writer:_0x2708d0})=>{const _0x15c322=D(_0x2708d0,{'data-footnotes-list-label':t('Footnotes')}),_0x339db1=_0x46d9c5(_0x15c322,_0x2708d0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2708d0['setCustomProperty']('footnotesDefinitions',!0x0,_0x339db1),_0x339db1;}});}['_defineDefinitionConverters'](){const {editor:_0x47a994}=this,{conversion:_0x4b3375,locale:_0x28a4ca}=_0x47a994,_0x495c19=_0x47a994['config']['get']('footnotes.multiBlock');_0x4b3375['for']('upcast')['add'](_0x3edbf4=>{_0x3edbf4['on']('element:li',(_0x216e8d,_0x2625d9,_0x1fa155)=>{const _0x152055=_0x2625d9['viewItem'];if(!_0x152055['hasClass']('footnote-definition')||!_0x152055['getAttribute']('id'))return;const _0x17fecf=_0x152055['parent'];if(!_0x17fecf['is']('element','ol')||!_0x17fecf['hasClass']('footnotes-list'))return;if(!_0x1fa155['consumable']['test'](_0x152055,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3e72ca=_0x1fa155['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x152055['getAttribute']('id')});if(!_0x1fa155['safeInsert'](_0x3e72ca,_0x2625d9['modelCursor']))return;_0x1fa155['consumable']['consume'](_0x152055,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x475bc1=Array['from'](_0x152055['getChildren']())['find'](_0x35230e=>_0x35230e['is']('element')&&_0x35230e['hasClass']('footnote-content'));for(const _0x41c6c9 of _0x152055['getChildren']())_0x41c6c9['is']('element')&&(_0x1fa155['consumable']['consume'](_0x41c6c9,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1fa155['consumable']['consume'](_0x41c6c9,{'name':!0x0,'classes':'footnote-content'}));if(_0x475bc1){if(_0x495c19)_0x1fa155['convertChildren'](_0x475bc1,_0x3e72ca);else{const _0x2bba68=_0x1fa155['writer']['createElement']('footnoteInlineContent');_0x1fa155['writer']['insert'](_0x2bba68,_0x3e72ca),_0x1fa155['convertChildren'](_0x475bc1,_0x2bba68);}}_0x1fa155['updateConversionResult'](_0x3e72ca,_0x2625d9);});}),_0x4b3375['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4c47f6,{writer:_0x48abb0})=>y(_0x4c47f6,_0x48abb0,_0x28a4ca,{'dataPipeline':!0x0})}),_0x4b3375['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1d2c5a,{writer:_0x59d8aa})=>y(_0x1d2c5a,_0x59d8aa,_0x28a4ca)});}['_defineBogusParagraphConverters'](){const {editor:_0x822fea}=this,{conversion:_0x492fe7}=_0x822fea;_0x822fea['config']['get']('footnotes.multiBlock')?(_0x492fe7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x492fe7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x822fea['model']['document'],'change:data',()=>{!function(_0x4b7ddd,_0x5f5d1d){const _0x162a88=_0x4b7ddd['document']['differ'],_0x492b55=new Set();for(const _0x46101f of _0x162a88['getChanges']()){const _0x1a21b6='attribute'==_0x46101f['type']?_0x46101f['range']['start']['parent']:_0x46101f['position']['parent'];_0x1a21b6['is']('element','footnoteDefinition')&&_0x492b55['add'](_0x1a21b6);}for(const _0x38044b of _0x492b55['values']()){const _0x36a522=Array['from'](_0x38044b['getChildren']())['filter'](_0x24a86f=>v(_0x24a86f,_0x5f5d1d['mapper']));for(const _0x560045 of _0x36a522)_0x5f5d1d['reconvertItem'](_0x560045);}}(_0x822fea['model'],_0x822fea['editing']);})):(_0x492fe7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x492fe7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x36212a,{writer:_0x50d137})=>{const _0x53855f=_0x50d137['createContainerElement']('span');return _0x50d137['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x53855f),_0x53855f;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1c03ca}=this,{editing:_0x1f4ba3,t:t}=_0x1c03ca,_0x294f56=_0x1c03ca['model']['document']['selection'];_0x1c03ca['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1c03ca['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1f4ba3['view']['document'],'enter',(_0x57e11f,_0x5987d4)=>{const _0x1b03e3=function(_0x3fa73a){const _0x2a60ac=_0x3fa73a['getSelectedElement']();if(_0x2a60ac?.['is']('element','footnoteRef'))return _0x2a60ac;return null;}(_0x294f56);if(_0x1b03e3){const _0x1e9be0=_0x1b03e3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1e9be0),_0x5987d4['preventDefault'](),_0x57e11f['stop']();}},{'context':_0x3b059c});}['_defineClickHandlers'](){const {editor:_0x4231ce}=this,{editing:_0x49232e}=_0x4231ce;_0x4231ce['editing']['view']['addObserver'](_0x33c070),_0x4231ce['editing']['view']['addObserver'](_0x37eab0);let _0x3fcff5=!0x1;this['listenTo'](_0x49232e['view']['document'],'pointerdown',(_0x174ce7,_0x125fdc)=>{const {target:_0x476a92}=_0x125fdc,_0x4e074b=_0x49232e['view']['document']['selection'];_0x3fcff5=!!(_0x476a92?.['is']('element','a')&&_0x476a92['parent']?.['is']('element','sup')&&_0x476a92['parent']['hasClass']('footnote'))&&_0x4e074b['getSelectedElement']()===_0x476a92['parent'];},{'priority':'high'}),this['listenTo'](_0x49232e['view']['document'],'click',(_0x283188,_0x388ca0)=>{const {target:_0x342df5}=_0x388ca0;if(!_0x342df5?.['is']('element','a'))return;if(_0x342df5['parent']?.['is']('element','sup')&&_0x342df5['parent']['hasClass']('footnote')&&!_0x3fcff5)return void _0x388ca0['preventDefault']();let _0x4fdab1=_0x342df5['getAttribute']('href');if(!_0x4fdab1?.['startsWith']('#'))return;_0x4fdab1=_0x4fdab1['slice'](0x1);let _0x4ad8f2=!0x1;(_0x4fdab1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4fdab1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4fdab1))&&(_0x4ad8f2=!0x0),_0x4ad8f2&&(_0x388ca0['preventDefault'](),_0x283188['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x163ced}={}){return(_0x8cdac,{writer:_0x23ae3d})=>{if(!g(_0x8cdac))return null;if(!_0x163ced)return _0x23ae3d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4cd075=_0x23ae3d['createContainerElement']('p');return _0x23ae3d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4cd075),_0x4cd075;};}function g(_0x5ae1e9){const {parent:_0x16dde0}=_0x5ae1e9;if(!_0x16dde0?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x16dde0['childCount'])return!0x1;for(const _0x3aa6 of _0x5ae1e9['getAttributeKeys']())if(!_0x3aa6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3aa6)return!0x1;return!0x0;}function v(_0xb8a2d9,_0x183a8a){if(!_0xb8a2d9['is']('element','paragraph'))return!0x1;const _0x533f3e=_0x183a8a['toViewElement'](_0xb8a2d9);return!!_0x533f3e&&g(_0xb8a2d9)!==_0x533f3e['is']('element','span');}function Q(_0x33de29){return _0x3b059c(_0x33de29)&&_0x33de29['is']('containerElement')&&!!_0x33de29['getCustomProperty']('footnotesDefinitions');}function D(_0x53be40,_0x4dfe88={}){const _0x1ff9b5=_0x53be40['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x48f71c=_0x53be40['createContainerElement']('ol',{'class':'footnotes-list'},_0x53be40['createSlot']());return _0x53be40['createContainerElement']('div',{'class':'footnotes',..._0x4dfe88},[_0x1ff9b5,_0x48f71c]);}function b(_0x5dcd9c,_0x23d8f5){const _0x36ce0f=_0x5dcd9c['getAttribute']('footnoteId'),_0x4e180c=_0x5dcd9c['getAttribute']('footnoteCounter'),_0x455861=_0x23d8f5['createUIElement']('a',{'href':'#'+_0x36ce0f},function(_0x1df7cd){const _0x43fc46=this['toDomElement'](_0x1df7cd);return _0x43fc46['textContent']=_0x4e180c,_0x43fc46;}),_0x5c4517=_0x23d8f5['createContainerElement']('sup',{'id':'ref-'+_0x36ce0f,'class':'footnote'},[_0x455861]);return _0x5c4517['getFillerOffset']=()=>null,_0x5c4517;}function y(_0x2465c5,_0x32502d,_0x9ffc79,{dataPipeline:_0x556db4}={}){const {t:t}=_0x9ffc79,_0x5dc00c=_0x2465c5['getAttribute']('footnoteId'),_0x3f66f1=_0x32502d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5dc00c},function(_0x547088){const _0x22cfc0=this['toDomElement'](_0x547088);return _0x22cfc0['innerText']='^',_0x22cfc0;}),_0x54f031=_0x556db4?_0x32502d['createContainerElement']('div',{'class':'footnote-content'}):_0x180e5a(_0x32502d['createEditableElement']('div',{'class':'footnote-content'}),_0x32502d,{'label':t('Footnote\x20content.')});return _0x32502d['insert'](_0x32502d['createPositionAt'](_0x54f031,0x0),_0x32502d['createSlot']()),_0x32502d['createContainerElement']('li',{'class':'footnote-definition','id':_0x5dc00c},[_0x3f66f1,_0x54f031]);}class e extends _0x19eda0{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3fef1b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5c0aa2}=this,{plugins:_0x55e309,model:_0x2dcf7b}=_0x5c0aa2,_0x667eab=_0x55e309['get'](_0x3fef1b),_0x6aaff9=_0x55e309['get'](f);this['listenTo'](_0x667eab,'outputTransformation',(_0x4e7251,_0x2d4528)=>{const _0x4ec1de=l(_0x2dcf7b['createRangeIn'](_0x2d4528['content']));if(!_0x4ec1de['length'])return;const _0x346aae=_0x6aaff9['getFootnotes'](),_0x3d66d7=_0x4ec1de['reduce']((_0x4d5b43,_0x2628b9)=>{const _0x31d473=_0x346aae['find'](_0xcc3719=>_0xcc3719['id']===_0x2628b9);if(_0x31d473){const _0x5b10fc=_0x5c0aa2['data']['toView'](_0x31d473['definition'],{'isClipboardPipeline':!0x0}),_0x4f951c=_0x5c0aa2['data']['htmlProcessor']['toData'](_0x5b10fc);_0x4d5b43[_0x31d473['id']]=_0x4f951c;}return _0x4d5b43;},Object['create'](null));_0x2d4528['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3d66d7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5a39ec}=this,{model:_0x4a15de,plugins:_0x4a865a}=_0x5a39ec,{view:_0x3db6ae}=_0x5a39ec['editing'],_0x485978=_0x4a865a['get'](_0x3fef1b),_0x242972=_0x4a865a['get'](f),_0x44e0ee=_0x5a39ec['config']['get']('footnotes.multiBlock');let _0x2205b4=null;this['listenTo'](_0x3db6ae['document'],'clipboardInput',(_0x4773d0,_0x41d969)=>{const _0x21e5c9=_0x41d969['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2205b4=_0x21e5c9?JSON['parse'](_0x21e5c9):null;}),this['listenTo'](_0x485978,'contentInsertion',(_0x3b9dbb,_0x13b622)=>{const _0x4d4233=_0x13b622['sourceEditorId']===this['editor']['id'];_0x4d4233&&'drop'===_0x13b622['method']||_0x4a15de['change'](_0x392c45=>{let _0x3064f6=_0x242972['getFootnotesDefinitionsObjectElement']();const _0x102f8f=!!_0x3064f6&&Array['from'](_0x4a15de['document']['selection']['getSelectedBlocks']())['includes'](_0x3064f6);if(!_0x2205b4&&function(_0xd98060){for(const {item:_0x2a1405}of _0xd98060)if(_0x2a1405['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4a15de['createRangeIn'](_0x13b622['content']))&&(_0x2205b4=function(_0x393f3f,_0x35ea49){const _0x31833f=c(_0x393f3f,_0x35ea49);if(!_0x31833f)return null;const _0x46edd4=Object['create'](null);for(const _0x497d8b of _0x31833f['getChildren']())_0x497d8b['is']('element','footnoteDefinition')&&_0x497d8b['hasAttribute']('footnoteId')&&(_0x46edd4[_0x497d8b['getAttribute']('footnoteId')]=_0x393f3f['cloneElement'](_0x497d8b,!0x0));return Object['keys'](_0x46edd4)['length']?_0x46edd4:null;}(_0x392c45,_0x13b622['content'])),(_0x3064f6&&!_0x102f8f||!_0x3064f6&&!_0x2205b4)&&function(_0x2ae0fb,_0x5dd47e){const _0x255d3e=[];for(const {item:_0x22349c}of _0x2ae0fb['createRangeIn'](_0x5dd47e))_0x22349c['is']('element','footnotesDefinitions')&&_0x255d3e['push'](_0x22349c);for(const _0x510d4e of _0x255d3e)_0x2ae0fb['remove'](_0x510d4e);}(_0x392c45,_0x13b622['content']),!_0x2205b4)return;const {selection:_0x4b7466}=_0x4a15de['document'],_0x137454=_0x4b7466['getFirstRange']()['root'];_0x3064f6&&!_0x102f8f||(_0x3064f6=c(_0x392c45,_0x13b622['content']),_0x3064f6||=_0x242972['_insertEmptyFootnotesDefinitionsContainer'](_0x392c45,_0x137454));const _0x4e4740=Array['from'](_0x4b7466['getRanges']())['flatMap'](l),_0x17b74c=function(_0x30aaac,_0x44a83e,_0x4aa2f6){const _0x14f28d=Object['create'](null);for(const {item:_0xd7b9d1}of _0x30aaac['createRangeIn'](_0x44a83e))if(_0xd7b9d1['is']('element','footnoteRef')){const _0xd3acd6=_0xd7b9d1['getAttribute']('footnoteId');if(!_0x4aa2f6(_0xd3acd6))continue;_0x14f28d[_0xd3acd6]||(_0x14f28d[_0xd3acd6]=_0xe68562()),_0x30aaac['setAttribute']('footnoteId',_0x14f28d[_0xd3acd6],_0xd7b9d1);}return _0x14f28d;}(_0x392c45,_0x13b622['content'],_0x49318b=>{if(!_0x4d4233)return!0x0;return!!_0x242972['getFootnote'](_0x49318b)&&!_0x4e4740['includes'](_0x49318b);});for(const [_0x46791b,_0x41e564]of Object['entries'](_0x2205b4)){const _0xb882dd=_0x17b74c[_0x46791b]||_0x46791b;let _0x227bae;if('string'!=typeof _0x41e564)_0x227bae=_0x41e564,_0xb882dd!==_0x46791b&&_0x392c45['setAttribute']('footnoteId',_0xb882dd,_0x227bae);else{_0x227bae=_0x392c45['createElement']('footnoteDefinition',{'footnoteId':_0xb882dd});const _0x92ea8a=_0x5a39ec['data']['htmlProcessor']['toView'](_0x41e564);let _0x27ec88;if(_0x44e0ee)_0x27ec88=_0x5a39ec['data']['toModel'](_0x92ea8a,_0x227bae);else{_0x27ec88=_0x392c45['createElement']('footnoteInlineContent');const _0x3cbb62=_0x5a39ec['data']['toModel'](_0x92ea8a,_0x27ec88);_0x392c45['insert'](_0x3cbb62,_0x27ec88);}_0x392c45['append'](_0x27ec88,_0x227bae);}_0x392c45['insert'](_0x227bae,_0x3064f6,'end');}_0x2205b4=null;});});}}function c(_0x5a8a0b,_0x39dfbc){for(const {item:_0x20d144}of _0x5a8a0b['createRangeIn'](_0x39dfbc))if(_0x20d144['is']('element','footnotesDefinitions'))return _0x20d144;return null;}function l(_0x2ec7b2){const _0x538dcf=new Set();for(const {item:_0x4f09a0}of _0x2ec7b2)_0x4f09a0['is']('element','footnoteRef')&&_0x538dcf['add'](_0x4f09a0['getAttribute']('footnoteId'));return Array['from'](_0x538dcf);}class i extends _0x19eda0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c233d}=this,{componentFactory:_0x3eace9}=_0x5c233d['ui'];_0x3eace9['add']('insertFootnote',E(_0x5c233d,_0x1fc42c)),_0x3eace9['add']('menuBar:insertFootnote',E(_0x5c233d,_0x1b55b4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x40978a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d4c25;for(const _0xa6efb8 in _0x40978a){const _0x28845a=_0xa6efb8,_0x1da36c=_0x40978a[_0x28845a];if('footnotesLicenseKeyValid'==_0x1da36c||'footnotesLicenseKeyInvalid'==_0x1da36c||'footnotesLicenseKeyExpired'==_0x1da36c||'footnotesLicenseKeyDomainLimit'==_0x1da36c||'footnotesLicenseKeyNotAllowed'==_0x1da36c||'footnotesLicenseKeyEvaluationLimit'==_0x1da36c||'footnotesLicenseKeyUsageLimit'==_0x1da36c){delete _0x40978a[_0x28845a],_0x1d4c25=_0x1da36c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1d4c25&&_0x40978a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1d4c25&&_0x40978a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1d4c25&&_0x40978a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1d4c25&&_0x40978a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1d4c25&&_0x40978a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1d4c25&&_0x40978a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x36bbf6,_0x24fbd9){const _0x2b8cfe=_0x36bbf6['commands']['get']('insertFootnote');return _0x4e8f77=>{const {t:t}=_0x4e8f77,_0xaa0810=new _0x24fbd9(_0x4e8f77),_0x5b71a0=_0xaa0810 instanceof _0x1b55b4;return _0xaa0810['bind']('isEnabled')['to'](_0x2b8cfe,'isEnabled'),_0xaa0810['set']({'label':t(_0x5b71a0?'Footnote':'Insert\x20footnote'),'icon':_0x5a8fbf,'tooltip':!0x0}),_0xaa0810['on']('execute',()=>{_0x2b8cfe['execute'](),_0x36bbf6['editing']['view']['focus']();}),_0xaa0810;};}class lt extends _0x19eda0{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 _0x351006{['refresh'](){const {editor:_0x4a1ab0}=this,_0x3bf4c6=_0x4a1ab0['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3bf4c6,this['value']=_0x3bf4c6?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1444bb}){const {editor:_0x27109e}=this,_0x16c956=_0x27109e['plugins']['get'](f),_0x13616a=_0x16c956['getFootnotesDefinitionsObjectElement']();_0x13616a&&W['includes'](_0x1444bb)&&_0x27109e['model']['change'](_0x184aad=>{_0x184aad['setAttribute']('footnotesListStyle',_0x1444bb,_0x13616a),_0x16c956['_updateFootnotesCounters'](_0x184aad);});}}class C extends _0x351006{['refresh'](){const {editor:_0x5d34d5}=this,_0x4b79cc=_0x5d34d5['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4b79cc,this['value']=_0x4b79cc?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3d8273}){const {editor:_0x4255cb}=this,_0x351695=_0x4255cb['plugins']['get'](f),_0x109b3e=_0x351695['getFootnotesDefinitionsObjectElement']();_0x109b3e&&Number['isInteger'](_0x3d8273)&&_0x4255cb['model']['change'](_0x4f7baf=>{_0x4f7baf['setAttribute']('footnotesListStart',_0x3d8273,_0x109b3e),_0x351695['_updateFootnotesCounters'](_0x4f7baf);});}}class P extends _0x19eda0{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe5c6e5}=this;_0xe5c6e5['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xe5c6e5['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xe5c6e5['commands']['add']('footnotesStyle',new S(_0xe5c6e5)),_0xe5c6e5['commands']['add']('footnotesStart',new C(_0xe5c6e5)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4a1454}=this,{schema:_0x586254}=_0x4a1454['model'];_0x586254['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4d1f54}=this,{conversion:_0x15151f,model:_0x3e5a20}=_0x4d1f54,{schema:_0x737c64}=_0x3e5a20;_0x15151f['for']('upcast')['add'](_0x876a58=>{_0x876a58['on']('element:ol',(_0x862359,_0x94337a,_0x313cc9)=>{const _0x37af4c=_0x94337a['viewItem'],_0x1f4574=_0x94337a['modelCursor']?.['parent'];_0x37af4c['hasClass']('footnotes-list')&&_0x1f4574?.['is']('element','footnotesDefinitions')&&(function(_0x361240,_0x4c3dfa,_0x452d39,_0x23253f){if(!_0x23253f['checkAttribute'](_0x4c3dfa,'footnotesListStart'))return;let _0x186225=0x1;const _0x13ffca=_0x452d39['consumable']['consume'](_0x361240,{'attributes':'start'});if(_0x13ffca){const _0x4c6b68=Number['parseInt'](_0x361240['getAttribute']('start'),0xa);Number['isNaN'](_0x4c6b68)||(_0x186225=_0x4c6b68);}!_0x13ffca&&_0x4c3dfa['hasAttribute']('footnotesListStart')||_0x452d39['writer']['setAttribute']('footnotesListStart',_0x186225,_0x4c3dfa);}(_0x37af4c,_0x1f4574,_0x313cc9,_0x737c64),function(_0x5afdcd,_0x154146,_0x5dfa9e,_0x3f727b){if(!_0x3f727b['checkAttribute'](_0x154146,'footnotesListStyle'))return;let _0x3d833b='decimal',_0x376571=!0x1;if(_0x5dfa9e['consumable']['consume'](_0x5afdcd,{'attributes':'type'})){const _0x5743ea={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5afdcd['getAttribute']('type')];_0x5743ea&&(_0x3d833b=_0x5743ea),_0x376571=!0x0;}_0x5dfa9e['consumable']['consume'](_0x5afdcd,{'styles':'list-style-type'})&&(_0x3d833b=function(_0x1c6c1a){switch(_0x1c6c1a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1c6c1a;}}(_0x5afdcd['getStyle']('list-style-type')),_0x376571=!0x0),!_0x376571&&_0x154146['hasAttribute']('footnotesListStyle')||_0x5dfa9e['writer']['setAttribute']('footnotesListStyle',_0x3d833b,_0x154146);}(_0x37af4c,_0x1f4574,_0x313cc9,_0x737c64));});}),_0x15151f['for']('downcast')['add'](_0x87cd33=>{_0x87cd33['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1b9bc4,_0xe9d9cc,_0x12d2fd)=>{if(!_0x12d2fd['consumable']['consume'](_0xe9d9cc['item'],_0x1b9bc4['name']))return;const _0xa5226c=M(_0xe9d9cc['item'],_0x12d2fd['mapper']),{attributeNewValue:_0x3675f5}=_0xe9d9cc;null==_0x3675f5||0x1===_0x3675f5?_0x12d2fd['writer']['removeAttribute']('start',_0xa5226c):_0x12d2fd['writer']['setAttribute']('start',String(_0x3675f5),_0xa5226c);}),_0x87cd33['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2253a8,_0x29cc42,_0x20df12)=>{if(!_0x20df12['consumable']['consume'](_0x29cc42['item'],_0x2253a8['name']))return;const _0x465b82=M(_0x29cc42['item'],_0x20df12['mapper']),{attributeNewValue:_0x456461}=_0x29cc42;_0x456461&&'decimal'!==_0x456461?_0x20df12['writer']['setStyle']('list-style-type',_0x456461,_0x465b82):_0x20df12['writer']['removeStyle']('list-style-type',_0x465b82);});});}['_definePostfixer'](){const {editor:_0x571497}=this,{model:_0x5cf4e8}=_0x571497,_0x3792e1=_0x571497['plugins']['get'](f),_0x2ca5f5=this['_getDefaultListStyle'](),_0x7258f1=this['_getDefaultStartIndex']();_0x5cf4e8['document']['registerPostFixer'](_0x1747cf=>{const _0x466dde=_0x5cf4e8['document']['differ']['getChanges']();let _0x23e343=!0x1;for(const _0x1d40de of _0x466dde){if('insert'!==_0x1d40de['type']||'$text'===_0x1d40de['name'])continue;const _0x1b6f96=_0x5cf4e8['createRangeOn'](_0x1d40de['position']['nodeAfter']);for(const _0x530afd of _0x1b6f96['getItems']())_0x530afd['is']('element','footnotesDefinitions')&&(!_0x530afd['hasAttribute']('footnotesListStart')&&_0x5cf4e8['schema']['checkAttribute'](_0x530afd,'footnotesListStart')&&(_0x1747cf['setAttribute']('footnotesListStart',_0x7258f1,_0x530afd),_0x23e343=!0x0),!_0x530afd['hasAttribute']('footnotesListStyle')&&_0x5cf4e8['schema']['checkAttribute'](_0x530afd,'footnotesListStyle')&&(_0x1747cf['setAttribute']('footnotesListStyle',_0x2ca5f5,_0x530afd),_0x23e343=!0x0));}return _0x23e343&&_0x3792e1['_updateFootnotesCounters'](_0x1747cf),_0x23e343;});}['_defineFormatter'](){const {editor:_0x381337}=this;_0x381337['plugins']['get'](f)['setFootnoteFormatter'](_0x5dfcff=>this['_formatFootnoteListValue'](_0x5dfcff));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x28018d,value:_0x198d17,digits:_0x4a054d}){const _0xa18f=_0x28018d['getAttribute']('footnotesListStyle'),_0x3b08fd=_0x28018d['getAttribute']('footnotesListStart'),_0x21dd42=Math['floor'](_0x198d17)+(_0x3b08fd??0x1)-0x1;switch(_0xa18f){case'decimal-leading-zero':return function(_0x3d88d8,_0x573d76){return String(_0x3d88d8)['padStart'](_0x573d76,'0');}(_0x21dd42,Math['max'](0x2,_0x4a054d));case'lower-alpha':case'lower-latin':return N(_0x21dd42,!0x1);case'upper-alpha':case'upper-latin':return N(_0x21dd42,!0x0);case'lower-roman':return X(_0x21dd42,!0x1);case'upper-roman':return X(_0x21dd42,!0x0);default:return String(_0x21dd42);}}}function M(_0x4009f2,_0x89c46f){const _0x1eac6c=_0x89c46f['toViewElement'](_0x4009f2);return Array['from'](_0x1eac6c['getChildren']())['find'](_0x188a55=>_0x188a55['is']('element','ol')&&_0x188a55['hasClass']('footnotes-list'));}function N(_0x55b47f,_0x284fda){let _0x8e16cb='',_0x3967af=_0x55b47f;for(;_0x3967af>0x0;){const _0x15981b=(_0x3967af-0x1)%0x1a;_0x8e16cb=String['fromCharCode'](0x61+_0x15981b)+_0x8e16cb,_0x3967af=Math['floor']((_0x3967af-0x1)/0x1a);}return _0x284fda?_0x8e16cb['toUpperCase']():_0x8e16cb;}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(_0x241738,_0x92f841){let _0x5501d7='',_0x2b8e23=_0x241738;for(const {value:_0x53aeee,numeral:_0x1d88ed}of V)for(;_0x2b8e23>=_0x53aeee;)_0x5501d7+=_0x1d88ed,_0x2b8e23-=_0x53aeee;return _0x92f841?_0x5501d7:_0x5501d7['toLowerCase']();}class J extends _0x350447{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1ec22f();['focusCycler'];constructor(_0x3177ce,{styleButtonViews:_0x4299d8,styleGridAriaLabel:_0x4a970f}){super(_0x3177ce),(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'](_0x4299d8,_0x4a970f),[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 _0x32941d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x32941d['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 _0x166c18=_0x343715=>_0x343715['stopPropagation']();this['keystrokes']['set']('arrowright',_0x166c18),this['keystrokes']['set']('arrowleft',_0x166c18),this['keystrokes']['set']('arrowup',_0x166c18),this['keystrokes']['set']('arrowdown',_0x166c18);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5e7dd1,_0x3880f8){const _0x367d7c=new _0x350447(this['locale']);return _0x367d7c['children']=_0x367d7c['createCollection'](),_0x367d7c['children']['addMany'](_0x5e7dd1),_0x367d7c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3880f8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x367d7c['children']}),_0x367d7c['children']['delegate']('execute')['to'](this),_0x367d7c['focus']=function(){for(const _0x58144a of this['children'])if(_0x58144a instanceof _0x1fc42c&&_0x58144a['isOn'])return void _0x58144a['focus']();this['children']['first']['focus']();},_0x367d7c['focusTracker']=new rt(),_0x367d7c['keystrokes']=new nt(),_0x367d7c['render'](),_0x367d7c['keystrokes']['listenTo'](_0x367d7c['element']),this['children']['add'](_0x367d7c),_0x367d7c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x32b918=this['_createStartIndexPropertyView'](),_0x14d015=[_0x32b918],_0x242da0=new it(this['locale'],_0x14d015);return _0x242da0['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x242da0['buttonView']['bind']('isEnabled')['toMany'](_0x14d015,'isEnabled',(..._0x1ed019)=>_0x1ed019['some'](_0x58a55f=>_0x58a55f)),_0x242da0['buttonView']['on']('change:isEnabled',(_0x341e6d,_0x3bed0a,_0x534a50)=>{_0x534a50||(_0x242da0['isCollapsed']=!0x0);}),this['children']['add'](_0x242da0),[_0x32b918,_0x242da0];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2e87ed=new et(this['locale'],ot);return _0x2e87ed['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2e87ed['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2e87ed['fieldView']['on']('input',()=>{const _0x4d2273=_0x2e87ed['fieldView']['element'],_0xf7b6a9=_0x4d2273['valueAsNumber'];Number['isNaN'](_0xf7b6a9)?_0x2e87ed['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4d2273['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xf7b6a9}):_0x2e87ed['errorText']=t(_0xf7b6a9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2e87ed;}}class j extends _0x19eda0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xce7b1e,_0x4b86aa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa4c0d7}=this,{componentFactory:_0x129169}=_0xa4c0d7['ui'];_0xa4c0d7['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x129169['add']('footnotesStyle',function(_0x51aefd){return _0x51f68a=>{const {t:t}=_0x51f68a,_0x4324b2=_0x51aefd['commands']['get']('footnotesStyle'),_0x4ab1a9=_0x3b9fda(_0x51f68a),{buttonView:_0x3e8334}=_0x4ab1a9;return _0x4ab1a9['class']='ck-footnotes-styles-dropdown',_0x4ab1a9['bind']('isEnabled')['to'](_0x4324b2,'isEnabled'),_0x3e8334['set']({'label':t('Footnotes\x20style'),'icon':_0x5a8fbf,'tooltip':!0x0}),_0x4ab1a9['once']('change:isOpen',()=>{const _0x145910=function({editor:_0x4247a0,dropdownView:_0x11a8e3}){const {t:t}=_0x4247a0['locale'],_0x62841b=t('Footnotes\x20definitions\x20styles'),_0x5809f3=function(_0x4e867a){const t=_0x4e867a['locale']['t'],_0x47ffd4=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2cca65},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d1f84},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3b622a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x521d19},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4179bf},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x15bfb3}];return _0x47ffd4['map'](function(_0x495dfa){const _0x2cd051=_0x495dfa['locale'];return({label:_0x59d556,icon:_0x168429,tooltip:_0x4d9aec,style:_0x24e46b})=>{const _0xdde630=_0x495dfa['commands']['get']('footnotesStyle'),_0x23e16e=new _0x1fc42c(_0x2cd051);return _0x23e16e['set']({'label':_0x59d556,'icon':_0x168429,'tooltip':_0x4d9aec}),_0x23e16e['bind']('isOn')['to'](_0xdde630,'value',_0x503ba9=>_0x503ba9===_0x24e46b),_0x23e16e['bind']('isEnabled')['to'](_0xdde630,'isEnabled'),_0x23e16e['on']('execute',()=>{_0x495dfa['execute']('footnotesStyle',{'value':_0x24e46b}),_0x495dfa['editing']['view']['focus']();}),_0x23e16e;};}(_0x4e867a));}(_0x4247a0),_0x304b0e=new J(_0x4247a0['locale'],{'styleGridAriaLabel':_0x62841b,'styleButtonViews':_0x5809f3}),_0x488c18=_0x4247a0['commands']['get']('footnotesStart');return _0x304b0e['startIndexFieldView']['bind']('isEnabled')['to'](_0x488c18),_0x304b0e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x488c18),_0x304b0e['on']('footnotesListStart',(_0x38cc2b,_0x5b9f27)=>{_0x4247a0['execute']('footnotesStart',{'value':_0x5b9f27['startIndex']});}),_0x304b0e['delegate']('execute')['to'](_0x11a8e3),_0x304b0e;}({'editor':_0x51aefd,'dropdownView':_0x4ab1a9});_0x4ab1a9['panelView']['children']['add'](_0x145910);}),_0x4ab1a9;};}(_0xa4c0d7));}['afterInit'](){const {editor:_0x3e6170}=this,{t:t}=_0x3e6170['locale'],_0x451612=_0x3e6170['plugins']['get'](_0x4b86aa),{defaultPositions:_0x3beea3}=_0x410fb1;_0x451612['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3e6170['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3e9945=>{let _0x3d8a69=_0x3e9945['getFirstPosition']()?.['parent'];return _0x3d8a69?.['is']('$text')&&(_0x3d8a69=_0x3d8a69['parent']),_0x3d8a69?.['is']('element')?_0x3d8a69['findAncestor'](Q):null;},'positions':[_0x3beea3['southArrowNorth'],_0x3beea3['southArrowNorthMiddleWest'],_0x3beea3['southArrowNorthMiddleEast'],_0x3beea3['southArrowNorthWest'],_0x3beea3['southArrowNorthEast'],_0x3beea3['northArrowSouth'],_0x3beea3['northArrowSouthMiddleWest'],_0x3beea3['northArrowSouthMiddleEast'],_0x3beea3['northArrowSouthWest'],_0x3beea3['northArrowSouthEast'],_0x3beea3['viewportStickyNorth']]});}}class ft extends _0x19eda0{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 _0x349802,Command as _0x2110dd}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x537c3e,isWidget as _0x351b54,toWidgetEditable as _0xe0b609,WidgetToolbarRepository as _0x4455ce}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2e5f04,logWarning as _0x5d3530,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x38980f,ClickObserver as _0x4d05aa}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1a0391}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x51fb0a,ButtonView as _0xa42a82,View as _0x3a8c93,ViewCollection as _0x2aec16,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x1571f7,BalloonPanelView as _0x6ed29,createDropdown as _0x2b7949}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x253764,IconListStyleDecimal as _0x1cc222,IconListStyleDecimalLeadingZero as _0x37a66c,IconListStyleLowerRoman as _0x38bc6f,IconListStyleUpperRoman as _0x5b8e00,IconListStyleLowerLatin as _0x300a50,IconListStyleUpperLatin as _0x5f0855}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4e609e,_0x51728c){this['_model']=_0x4e609e,this['_elementName']=_0x51728c['elementName'],this['_getElementKey']=_0x51728c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3edbc1){const _0x50a85e=new Set(),_0x102bf2=new Map();for(const _0x41dc2c of _0x3edbc1){if('insert'===_0x41dc2c['type']&&'$text'!==_0x41dc2c['name']&&_0x41dc2c['position']['nodeAfter']){const _0x496786=this['_model']['createRangeOn'](_0x41dc2c['position']['nodeAfter']);for(const _0x53445c of _0x496786['getItems']()){if(!_0x53445c['is']('element',this['_elementName']))continue;const _0x43761e=this['_getElementKey'](_0x53445c);_0x102bf2['has'](_0x43761e)||_0x102bf2['set'](_0x43761e,[]),_0x102bf2['get'](_0x43761e)['push'](_0x53445c);}}if('remove'===_0x41dc2c['type']&&_0x41dc2c['name']===this['_elementName']){const _0x59f139=this['_getElementKey']({'getAttribute':_0x40f72b=>_0x41dc2c['attributes']['get'](_0x40f72b)});_0x50a85e['add'](_0x59f139);}}for(const [_0x5add2a,_0x3a578d]of this['_trackedElements'])'$graveyard'===_0x3a578d['root']['rootName']&&_0x50a85e['add'](_0x5add2a);for(const _0x1b6354 of _0x50a85e)this['_trackedElements']['delete'](_0x1b6354);for(const [_0x46a68f,_0x260dec]of _0x102bf2)this['_trackedElements']['set'](_0x46a68f,_0x260dec[_0x260dec['length']-0x1]);const _0x5cb0f0=new Set();for(const [_0xc06666,_0x957b01]of _0x102bf2)_0x50a85e['has'](_0xc06666)&&(_0x5cb0f0['add'](_0x957b01[0x0]),_0x957b01['length']>0x1?_0x102bf2['set'](_0xc06666,_0x957b01['slice'](0x1)):_0x102bf2['delete'](_0xc06666),_0x50a85e['delete'](_0xc06666));return{'removed':Array['from'](_0x50a85e),'inserted':Array['from'](_0x102bf2['values']())['flat'](),'moved':Array['from'](_0x5cb0f0)};}}class f extends _0x349802{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x436050){super(_0x436050),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x397247=>_0x397247['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2f1926=>_0x2f1926['getAttribute']('footnoteId')});}['init'](){const {editor:_0x16c689}=this,{model:_0x11c71a,data:_0x1abafe}=_0x16c689;_0x11c71a['document']['registerPostFixer'](_0x458605=>{const _0x287a69=_0x11c71a['document']['differ']['getChanges']();let _0x4b6ec5=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x458605,_0x287a69)&&(_0x4b6ec5=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x458605,_0x287a69)&&(_0x4b6ec5=!0x0),this['_handleFootnoteReferencesChanges'](_0x458605,_0x287a69)&&(_0x4b6ec5=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x458605)&&(_0x4b6ec5=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x458605)&&(_0x4b6ec5=!0x0),this['_sortFootnoteDefinitions'](_0x458605)&&(_0x4b6ec5=!0x0),_0x4b6ec5;}),this['listenTo'](_0x11c71a['document'],'change:data',()=>{_0x11c71a['enqueueChange']({'isUndoable':!0x1},_0x47caad=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x47caad);});},{'priority':'low'}),this['listenTo'](_0x1abafe,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x11c540){return this['_footnotes']['find'](_0x532f62=>_0x532f62['id']===_0x11c540)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x405dc0){this['_footnoteFormatter']=_0x405dc0;}['_updateFootnotesCounters'](_0x33587b,_0x161ba7=0x0){let _0x63d21f=!0x1;for(let _0x4386bd=_0x161ba7;_0x4386bd<this['_footnotes']['length'];_0x4386bd++)this['_updateFootnoteRefCounter'](_0x33587b,_0x4386bd)&&(_0x63d21f=!0x0);return _0x63d21f;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1e275e,_0x4796b3){const _0x5439d3=_0x1e275e['createElement']('footnotesDefinitions',{});return _0x1e275e['append'](_0x5439d3,_0x4796b3),this['_footnotesDefinitions']=_0x5439d3,_0x5439d3;}['_ensureFootnotesDefinitionsContainerExists'](_0x189aac){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1d8deb=this['_footnotes'][0x0]['reference']['root'],_0x54818e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x189aac,_0x1d8deb);for(const _0x4f99d5 of this['_footnotes'])_0x4f99d5['definition']['parent']||_0x189aac['insert'](_0x4f99d5['definition'],_0x54818e,'end');this['_updateFootnotesCounters'](_0x189aac);}['_handleFootnotesDefinitionsObjectChanges'](_0x10cd84,_0x3f32f1){let _0xb815af=!0x1;const {inserted:_0xf5d363,removed:_0xd764bb,moved:_0x576392}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3f32f1);if(_0x576392['length']&&(this['_footnotesDefinitions']=_0x576392[0x0]),_0xf5d363['length']){if(_0xf5d363['length']>0x1||this['_footnotesDefinitions']&&_0xf5d363['some'](_0x421a70=>_0x421a70!==this['_footnotesDefinitions'])){const _0x5d53c2=_0x10cd84['createElement']('footnotesDefinitions',{}),_0xb60f9a=[];this['_footnotesDefinitions']&&_0xb60f9a['push'](this['_footnotesDefinitions']),_0xb60f9a['push'](..._0xf5d363),_0x10cd84['insert'](_0x5d53c2,_0xb60f9a[0x0],'before');for(const _0x5efddb of _0xb60f9a)_0x10cd84['move'](_0x10cd84['createRangeIn'](_0x5efddb),_0x10cd84['createPositionAt'](_0x5d53c2,'end')),_0x10cd84['remove'](_0x5efddb);this['_footnotesDefinitions']=_0x5d53c2,this['_updateFootnotesCounters'](_0x10cd84),_0xb815af=!0x0;}else this['_footnotesDefinitions']=_0xf5d363[0x0];}if(_0xd764bb['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4cf45b of this['_footnotes'])_0x10cd84['remove'](_0x4cf45b['reference']),_0xb815af=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xb815af;}['_handleFootnoteDefinitionsChanges'](_0x281073,_0x8218ac){let _0x137041=!0x1;const _0x10a829=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1dd81c,moved:_0xc80d0e}=this['_footnoteDefsTracker']['getChanges'](_0x8218ac);for(const _0x5e20c4 of[..._0xc80d0e,..._0x1dd81c]){const _0x2cc3b8=_0x5e20c4['getAttribute']('footnoteId'),_0x554029=this['getFootnote'](_0x2cc3b8);_0x554029&&(_0x554029['definition']=_0x5e20c4),_(_0x281073,_0x10a829,_0x5e20c4)&&(_0x137041=!0x0);}return _0x137041;}['_handleFootnoteReferencesChanges'](_0x5ea670,_0x595f08){let _0xfa698e=!0x1;const {removed:_0x4e097d,inserted:_0x5e8257,moved:_0x21a71f}=this['_footnoteRefsTracker']['getChanges'](_0x595f08);for(const _0x2ec338 of _0x4e097d)this['_handleRemoveFootnoteReferenceById'](_0x5ea670,_0x2ec338)&&(_0xfa698e=!0x0);for(const _0xc04bbf of _0x5e8257)this['_handleInsertedFootnoteReference'](_0x5ea670,_0xc04bbf)&&(_0xfa698e=!0x0);for(const _0x3c7c69 of _0x21a71f)this['_handleMovedFootnoteReference'](_0x5ea670,_0x3c7c69)&&(_0xfa698e=!0x0);return _0xfa698e;}['_handleFootnotesDefinitionsObjectSync'](_0x4e317b){if(!this['_footnotesDefinitions'])return!0x1;let _0x2ddc85=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xdfe1f9=[];for(const _0x23d6f3 of this['_footnotesDefinitions']['getChildren']()){const _0xd6d672=_0x23d6f3['getAttribute']('footnoteId');this['getFootnote'](_0xd6d672)||(_0xdfe1f9['unshift'](_0x23d6f3),_0x2ddc85=!0x0);}for(const _0xc364c3 of _0xdfe1f9)_0x4e317b['remove'](_0xc364c3);}const _0x494aab=new Set(),_0x19a431=[];for(const _0x5bd009 of this['_footnotesDefinitions']['getChildren']()){const _0x3a0130=_0x5bd009['getAttribute']('footnoteId');_0x494aab['has'](_0x3a0130)?(_0x19a431['unshift'](_0x5bd009),_0x2ddc85=!0x0):_0x494aab['add'](_0x3a0130);}for(const _0x2abc84 of _0x19a431)_0x4e317b['remove'](_0x2abc84);return this['_footnotesDefinitions']['childCount']||(_0x4e317b['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2ddc85=!0x0),_0x2ddc85;}['_handleInsertedFootnoteReference'](_0x3c0009,_0x2dcb15){if(this['_footnotes']['find'](_0x5ee2ac=>_0x5ee2ac['reference']===_0x2dcb15))return!0x1;let _0x2cb5fe=!0x1;const _0x20b31d=_0x2dcb15['getAttribute']('footnoteId'),_0x1d1c05=this['_footnotes']['findIndex'](_0x45b598=>_0x45b598['id']===_0x20b31d);-0x1!==_0x1d1c05&&(_0x3c0009['remove'](this['_footnotes'][_0x1d1c05]['reference']),this['_footnotes']['splice'](_0x1d1c05,0x1),_0x2cb5fe=!0x0);let _0xbc9290=this['_footnotesDefinitions']?function(_0x5c45b9,_0x87f569){for(const _0x227fc9 of _0x5c45b9['getChildren']())if(_0x227fc9['getAttribute']('footnoteId')===_0x87f569)return _0x227fc9;return null;}(this['_footnotesDefinitions'],_0x20b31d):null;_0xbc9290||(_0xbc9290=_0x3c0009['createElement']('footnoteDefinition',{'footnoteId':_0x20b31d}),this['_footnotesDefinitions']&&(_0x3c0009['insert'](_0xbc9290,this['_footnotesDefinitions'],'end'),_0x2cb5fe=!0x0));const _0x44fa3d={'id':_0x20b31d,'reference':_0x2dcb15,'definition':_0xbc9290},_0x21a467=I(this['editor']['model'],this['_footnotes'],_0x2dcb15);this['_footnotes']['splice'](_0x21a467,0x0,_0x44fa3d);let _0x7c78b5=_0x21a467;return-0x1!==_0x1d1c05&&(_0x7c78b5=Math['min'](_0x21a467,_0x1d1c05)),this['_updateFootnotesCounters'](_0x3c0009,_0x7c78b5)&&(_0x2cb5fe=!0x0),_0x2cb5fe;}['_handleRemoveFootnoteReferenceById'](_0x1aa0d4,_0x10c90f){const _0x33c4b9=this['_footnotes']['findIndex'](_0x40677b=>_0x40677b['id']===_0x10c90f);if(-0x1===_0x33c4b9)return!0x1;let _0x5c091d=!0x1;const _0x5ef4c2=this['_footnotes'][_0x33c4b9];return'$graveyard'!==_0x5ef4c2['definition']['root']['rootName']&&(_0x1aa0d4['remove'](_0x5ef4c2['definition']),_0x5c091d=!0x0),this['_footnotes']['splice'](_0x33c4b9,0x1),this['_updateFootnotesCounters'](_0x1aa0d4,_0x33c4b9)&&(_0x5c091d=!0x0),_0x5c091d;}['_handleMovedFootnoteReference'](_0x338014,_0x126ee5){const _0x4265a5=_0x126ee5['getAttribute']('footnoteId'),_0x50600c=this['_footnotes']['findIndex'](_0x458d83=>_0x458d83['id']===_0x4265a5),_0x25cb00=this['_footnotes'][_0x50600c];let _0x219cbb=!0x1;_0x25cb00['reference']=_0x126ee5,this['_footnotes']['splice'](_0x50600c,0x1);const _0x33db5f=I(this['editor']['model'],this['_footnotes'],_0x126ee5);return this['_footnotes']['splice'](_0x33db5f,0x0,_0x25cb00),this['_updateFootnotesCounters'](_0x338014,Math['min'](_0x50600c,_0x33db5f))&&(_0x219cbb=!0x0),_0x219cbb;}['_updateFootnoteRefCounter'](_0x77e17b,_0x3c5414){if(!this['_footnotesDefinitions'])return!0x1;const _0xe59f45=this['_footnotes'][_0x3c5414];let _0x1c8167;return _0x1c8167=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xe59f45,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3c5414+0x1}):String(_0x3c5414+0x1),_0xe59f45['reference']['getAttribute']('footnoteCounter')!=_0x1c8167&&(_0x77e17b['setAttribute']('footnoteCounter',_0x1c8167,_0xe59f45['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5600d0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3504db,_0x269f07){if(_0x3504db['length']!==_0x269f07['length'])return!0x1;for(let _0x190273=0x0;_0x190273<_0x3504db['length'];_0x190273++)if(_0x3504db[_0x190273]!==_0x269f07[_0x190273])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3233f4=>_0x3233f4['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x479ec0=>_0x479ec0['getAttribute']('footnoteId'))))return!0x1;let _0x52111e=!0x1;for(let _0x4a542e=0x0;_0x4a542e<this['_footnotes']['length'];_0x4a542e++){const _0x5608b3=this['_footnotes'][_0x4a542e],_0x38b492=_0x5600d0['createPositionBefore'](_0x5608b3['definition']),_0x5015c3=_0x5600d0['createPositionAt'](this['_footnotesDefinitions'],_0x4a542e);_0x38b492['isEqual'](_0x5015c3)||(_0x5600d0['move'](_0x5600d0['createRangeOn'](_0x5608b3['definition']),_0x5015c3),_0x52111e=!0x0);}return _0x52111e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x506867){if(!this['_footnotes']['length'])return!0x1;const {model:_0x25abed}=this['editor'];let _0x4141a7=!0x1;for(let _0x41b700=0x0;_0x41b700<this['_footnotes']['length']-0x1;_0x41b700++){const _0x290695=this['_footnotes'][_0x41b700],_0x5d9594=this['_footnotes'][_0x41b700+0x1],_0x14e02b=_0x25abed['createPositionBefore'](_0x290695['reference']),_0x2ac0b8=_0x25abed['createPositionBefore'](_0x5d9594['reference']);'after'===_0x14e02b['compareWith'](_0x2ac0b8)&&(this['_handleMovedFootnoteReference'](_0x506867,_0x290695['reference']),_0x41b700=-0x1,_0x4141a7=!0x0);}return _0x4141a7;}}function _(_0x484349,_0x369b80,_0xa4a5f1){if(_0xa4a5f1['childCount'])return!0x1;const _0x4e9fdd=_0x369b80?'paragraph':'footnoteInlineContent';return _0x484349['insert'](_0x484349['createElement'](_0x4e9fdd),_0xa4a5f1),!0x0;}function I(_0x1f93eb,_0x23f7da,_0x2aba67){if(0x0===_0x23f7da['length'])return 0x0;const _0x27953e=_0x1f93eb['createPositionBefore'](_0x2aba67);for(let _0x53bd1e=0x0;_0x53bd1e<_0x23f7da['length'];_0x53bd1e++){const _0x215171=_0x23f7da[_0x53bd1e],_0x339768=_0x1f93eb['createPositionBefore'](_0x215171['reference']);if('before'===_0x27953e['compareWith'](_0x339768))return _0x53bd1e;}const _0x2dd74f=_0x2aba67['root'];let _0x178ed5=-0x1;for(let _0x70ff0c=_0x23f7da['length']-0x1;_0x70ff0c>=0x0;_0x70ff0c--)if(_0x23f7da[_0x70ff0c]['reference']['root']===_0x2dd74f){_0x178ed5=_0x70ff0c;break;}if(-0x1!==_0x178ed5)return _0x178ed5+0x1;const _0x2d0102=_0x1f93eb['document']['getRootNames'](),_0x18a175=_0x2d0102['indexOf'](_0x2dd74f['rootName']),_0x29308c=_0x2d0102[_0x18a175+0x1];if(_0x29308c){for(let _0x4e3e55=0x0;_0x4e3e55<_0x23f7da['length'];_0x4e3e55++)if(_0x23f7da[_0x4e3e55]['reference']['root']['rootName']===_0x29308c)return _0x4e3e55;}return _0x23f7da['length'];}class h extends _0x2110dd{['refresh'](){const _0x853ad2=this['editor']['model']['document']['selection'],_0x2e51f8=this['_getPositionToInsertFootnote'](_0x853ad2);this['isEnabled']=!!_0x2e51f8;}['execute'](_0x2b558f){const {editor:_0x30c270}=this,{model:_0x58a924}=_0x30c270,{selection:_0x4fd5d7}=_0x58a924['document'],_0x2d294d=this['_getPositionToInsertFootnote'](_0x4fd5d7);if(!_0x2d294d)return;const _0x397276=_0x30c270['plugins']['get']('FootnotesEditing'),_0x4dbfa6=_0x2b558f?.['footnoteId']??_0x2e5f04();!function(_0x28975a){return'string'==typeof _0x28975a&&_0x28975a['length']>0x0&&!/\s/['test'](_0x28975a)&&!/^\d/['test'](_0x28975a);}(_0x4dbfa6)?_0x5d3530('insert-footnote-command-executed-with-invalid-id'):(_0x58a924['change'](_0x44b452=>{const _0x53504b=_0x44b452['createElement']('footnoteRef',{'footnoteId':_0x4dbfa6});_0x58a924['insertObject'](_0x53504b,_0x2d294d,null);}),_0x397276['_moveSelectionToFootnoteDefinition'](_0x4dbfa6));}['_getPositionToInsertFootnote'](_0x5f0255){const {model:_0x2dd246}=this['editor'],{schema:_0x192e8f}=_0x2dd246,_0x25a751=_0x5f0255['getFirstRange']();for(const _0x772943 of _0x25a751['getItems']())if(_0x192e8f['isBlock'](_0x772943)||_0x192e8f['isObject'](_0x772943))return null;const _0x57ce7c=_0x25a751['end'];return _0x192e8f['checkChild'](_0x57ce7c,'footnoteRef')?_0x57ce7c:null;}}class r extends _0x349802{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x592f48}=this;_0x592f48['config']['define']('footnotes.multiBlock',!0x0),_0x592f48['commands']['add']('insertFootnote',new h(_0x592f48)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x386c38){const _0x15be92=_0x36cd4c([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]),_0xad2382=0x47a28506,_0x1ebc2d=0x47a5fbb6^_0xad2382,_0x323463=window[_0x36cd4c([0x44,0x61,0x74,0x65])][_0x36cd4c([0x6e,0x6f,0x77])](),_0x400a98=_0x386c38[_0x36cd4c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4bea52=new window[(_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10277c=>{_0x400a98[_0x36cd4c([0x6f,0x6e,0x63,0x65])](_0x36cd4c([0x72,0x65,0x61,0x64,0x79]),_0x10277c);}),_0x582a5a={[_0x36cd4c([0x6b,0x74,0x79])]:_0x36cd4c([0x45,0x43]),[_0x36cd4c([0x75,0x73,0x65])]:_0x36cd4c([0x73,0x69,0x67]),[_0x36cd4c([0x63,0x72,0x76])]:_0x36cd4c([0x50,0x2d,0x32,0x35,0x36]),[_0x36cd4c([0x78])]:_0x36cd4c([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]),[_0x36cd4c([0x79])]:_0x36cd4c([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]),[_0x36cd4c([0x61,0x6c,0x67])]:_0x36cd4c([0x45,0x53,0x32,0x35,0x36])},_0x3c836d=_0x400a98[_0x36cd4c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36cd4c([0x67,0x65,0x74])](_0x36cd4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x46c5eb(){let _0xdf8ca2,_0x5e4317=null,_0x55cc52=null;try{if(_0x3c836d==_0x36cd4c([0x47,0x50,0x4c]))return _0x36cd4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xdf8ca2=_0x5a48d6(),!_0xdf8ca2)return _0x36cd4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xdf8ca2[_0x36cd4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x55cc52=_0x15ac9c(_0xdf8ca2[_0x36cd4c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xdf8ca2[_0x36cd4c([0x6a,0x74,0x69])])),await _0x208f47()?_0x70e92f()?_0x35e79d()?_0x36cd4c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xddf19f()?(_0xdf8ca2[_0x36cd4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36cd4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e4317=_0x1505c4(_0x36cd4c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4adffe()):_0x36cd4c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36cd4c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36cd4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36cd4c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35e79d(){const _0x411799=[_0x36cd4c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36cd4c([0x74,0x72,0x69,0x61,0x6c])][_0x36cd4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf8ca2[_0x36cd4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x323463/0x3e8:0xe10*_0x1ebc2d;return _0xdf8ca2[_0x36cd4c([0x65,0x78,0x70])]<_0x411799;}function _0x70e92f(){const _0x38044c=_0xdf8ca2[_0x36cd4c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38044c&&(!!_0x38044c[_0x36cd4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cd4c([0x2a]))||!!_0x38044c[_0x36cd4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cd4c([0x46,0x4f,0x4f])));}function _0xddf19f(){const _0x5b2031=_0xdf8ca2[_0x36cd4c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b2031||0x0==_0x5b2031[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4635d0}=new URL(window[_0x36cd4c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b2031[_0x36cd4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4635d0))return!0x0;const _0x28d6c9=_0x4635d0[_0x36cd4c([0x73,0x70,0x6c,0x69,0x74])](_0x36cd4c([0x2e]));return _0x5b2031[_0x36cd4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49ce53=>_0x49ce53[_0x36cd4c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36cd4c([0x2a])))[_0x36cd4c([0x6d,0x61,0x70])](_0x2b2469=>_0x2b2469[_0x36cd4c([0x73,0x70,0x6c,0x69,0x74])](_0x36cd4c([0x2e])))[_0x36cd4c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5319b8=>_0x5319b8[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x28d6c9[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36cd4c([0x6d,0x61,0x70])](_0xaca9b=>Array(_0x28d6c9[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xaca9b[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36cd4c([0x66,0x69,0x6c,0x6c])](_0xaca9b[0x0]===_0x36cd4c([0x2a])?_0x36cd4c([0x2a]):'')[_0x36cd4c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xaca9b))[_0x36cd4c([0x73,0x6f,0x6d,0x65])](_0x2df5be=>_0x28d6c9[_0x36cd4c([0x65,0x76,0x65,0x72,0x79])]((_0x2071c8,_0x49aebf)=>_0x2df5be[_0x49aebf]===_0x2071c8||_0x2df5be[_0x49aebf]===_0x36cd4c([0x2a])));}function _0x4adffe(){return _0x5e4317&&_0x55cc52?new window[(_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbb89f3,_0x3fff1a)=>{_0x5e4317[_0x36cd4c([0x74,0x68,0x65,0x6e])](_0xbb89f3,_0x3fff1a),_0x55cc52[_0x36cd4c([0x74,0x68,0x65,0x6e])](_0x49d2f0=>{_0x49d2f0!=_0x36cd4c([0x56,0x61,0x6c,0x69,0x64])&&_0xbb89f3(_0x49d2f0);},_0x3fff1a);}):_0x5e4317||_0x55cc52||_0x36cd4c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15ac9c(_0x4b5481,_0x438a1d){return new window[(_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30aefb=>{if(_0x3775e0())return _0x30aefb(_0x36cd4c([0x56,0x61,0x6c,0x69,0x64]));_0x215951(),_0x400a98[_0x36cd4c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36cd4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15589e=!0x1;const _0xdf7194=_0x2e5f04();function _0x3edc4b(_0x318371){return!!_0x318371&&(typeof _0x318371===_0x36cd4c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x318371===_0x36cd4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x318371[_0x36cd4c([0x74,0x68,0x65,0x6e])]===_0x36cd4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x318371[_0x36cd4c([0x63,0x61,0x74,0x63,0x68])]===_0x36cd4c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8f94b2(_0x570384){_0xc27a98(_0x570384)[_0x36cd4c([0x74,0x68,0x65,0x6e])](_0x3e7a1e=>{if(!_0x3e7a1e||_0x3e7a1e[_0x36cd4c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36cd4c([0x6f,0x6b]))return _0x36cd4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c2a7c(_0x5ac460(_0xdf7194+_0x438a1d))!=_0x3e7a1e[_0x36cd4c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36cd4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36cd4c([0x56,0x61,0x6c,0x69,0x64]);})[_0x36cd4c([0x74,0x68,0x65,0x6e])](_0x55198d=>(_0x3b0861(),_0x55198d),()=>{const _0xf53e7b=_0x34c941();return null==_0xf53e7b?(_0x3b0861(),_0x36cd4c([0x56,0x61,0x6c,0x69,0x64])):_0x36cd4c(_0x323463-_0xf53e7b>(0x63ae0106^_0xad2382)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36cd4c([0x74,0x68,0x65,0x6e])](_0x30aefb)[_0x36cd4c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30aefb(_0x36cd4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ef3b9=0x47946b86^_0xad2382;function _0x3b0861(){const _0x5bc285=_0x36cd4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c2a7c(_0x5ac460(_0x4b5481)),_0x465dcc=_0x3bd7b7(_0x2c2a7c(window[_0x36cd4c([0x4d,0x61,0x74,0x68])][_0x36cd4c([0x63,0x65,0x69,0x6c])](_0x323463/_0x3ef3b9)));window[_0x36cd4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36cd4c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bc285,_0x465dcc);}function _0x34c941(){const _0x3ca214=_0x36cd4c([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c2a7c(_0x5ac460(_0x4b5481)),_0x3abb40=window[_0x36cd4c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36cd4c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ca214);return _0x3abb40?window[_0x36cd4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bd7b7(_0x3abb40),0x10)*_0x3ef3b9:null;}function _0xc27a98(_0x568b44){return new window[(_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x230962,_0x18f5a7)=>{_0x568b44[_0x36cd4c([0x74,0x68,0x65,0x6e])](_0x230962,_0x18f5a7),window[_0x36cd4c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18f5a7,0x47a351c6^_0xad2382);});}}_0x400a98[_0x36cd4c([0x6f,0x6e])](_0x36cd4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2237eb,_0x3123d1)=>{if(_0x3123d1[0x0]!=_0x4b5481)return _0x30aefb(_0x36cd4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3123d1[0x1]={..._0x3123d1[0x1],[_0x36cd4c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdf7194};},{[_0x36cd4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36cd4c([0x68,0x69,0x67,0x68])}),_0x400a98[_0x36cd4c([0x6f,0x6e])](_0x36cd4c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x14c304=>{_0x3edc4b(_0x14c304[_0x36cd4c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15589e=!0x0,_0x8f94b2(_0x14c304[_0x36cd4c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36cd4c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36cd4c([0x6c,0x6f,0x77])}),_0x4bea52[_0x36cd4c([0x74,0x68,0x65,0x6e])](()=>{_0x15589e||_0x30aefb(_0x36cd4c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3775e0(){return _0x400a98[_0x36cd4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36cd4c([0x76,0x69,0x65,0x77])][_0x36cd4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36cd4c([0x61,0x75,0x74,0x6f]);}function _0x215951(){_0x400a98[_0x36cd4c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36cd4c([0x76,0x69,0x65,0x77])][_0x36cd4c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36cd4c([0x61,0x75,0x74,0x6f]);}}function _0x1505c4(_0x5f34e2){const _0x1c7e94=[new window[(_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c73d3=>setTimeout(_0x1c73d3,0x47abbbca^_0xad2382)),_0x4bea52[_0x36cd4c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40082d=>{let _0x2bd92c=0x0;_0x400a98[_0x36cd4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x36cd4c([0x6f,0x6e])](_0x36cd4c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3dd6c8,_0x262f25)=>{_0x262f25[0x0][_0x36cd4c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bd92c++,_0x2bd92c==(0x47a280ee^_0xad2382)&&(_0x40082d(),_0x3dd6c8[_0x36cd4c([0x6f,0x66,0x66])]());});}))];return window[_0x36cd4c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36cd4c([0x72,0x61,0x63,0x65])](_0x1c7e94)[_0x36cd4c([0x74,0x68,0x65,0x6e])](()=>_0x5f34e2);}async function _0x25a3eb(){await _0x4bea52,_0x400a98[_0x36cd4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x36cd4c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5da3b4,_0x400a98[_0x36cd4c([0x6d,0x6f,0x64,0x65,0x6c])][_0x36cd4c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5da3b4,_0x400a98[_0x36cd4c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36cd4c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfcc99e(_0x42caa1){const _0x2767eb=_0x3c1c86();_0x400a98[_0x2767eb]=_0x36cd4c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x42caa1,_0x42caa1!=_0x36cd4c([0x56,0x61,0x6c,0x69,0x64])&&_0x25a3eb();}function _0x3c1c86(){const _0x26bf66=window[_0x36cd4c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36cd4c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36cd4c([0x6e,0x6f,0x77])]())[_0x36cd4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36cd4c([0x2e]),'');let _0x2d824c=_0x36cd4c([0x75]);for(let _0x1e8000=0x0;_0x1e8000<_0x26bf66[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e8000+=0x2){let _0x24ffc4=window[_0x36cd4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26bf66[_0x36cd4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e8000,_0x1e8000+0x2));_0x24ffc4>=_0x15be92[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24ffc4-=_0x15be92[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d824c+=_0x15be92[_0x24ffc4];}return _0x2d824c;}function _0x5a48d6(){const _0x4560ab=_0x3c836d[_0x36cd4c([0x73,0x70,0x6c,0x69,0x74])](_0x36cd4c([0x2e]));if(0x3!=_0x4560ab[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45fffe(_0x4560ab[0x1]);function _0x45fffe(_0x3f9dc3){const _0xb1df3=_0xd4fe82(_0x3f9dc3);return _0xb1df3&&_0x2950c2()?_0xb1df3:null;function _0x2950c2(){const _0x22e63e=_0xb1df3[_0x36cd4c([0x6a,0x74,0x69])],_0x2cc96c=window[_0x36cd4c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22e63e[_0x36cd4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22e63e[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x348e72={..._0xb1df3,[_0x36cd4c([0x6a,0x74,0x69])]:_0x22e63e[_0x36cd4c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x22e63e[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x348e72[_0x36cd4c([0x76,0x63])],_0x5ac460(_0x348e72)==_0x2cc96c;}}}async function _0x208f47(){let _0x21f74e=!0x0;try{const _0x4b7ca1=_0x3c836d[_0x36cd4c([0x73,0x70,0x6c,0x69,0x74])](_0x36cd4c([0x2e])),[_0x49e943,_0x45966d,_0x8ba7a2]=_0x4b7ca1;return _0x4530db(_0x49e943),await _0x27f756(_0x49e943,_0x45966d,_0x8ba7a2),_0x21f74e;}catch{return!0x1;}function _0x4530db(_0x36ce18){const _0x2be415=_0xd4fe82(_0x36ce18);_0x2be415&&_0x2be415[_0x36cd4c([0x61,0x6c,0x67])]==_0x36cd4c([0x45,0x53,0x32,0x35,0x36])||(_0x21f74e=!0x1);}async function _0x27f756(_0x12e69c,_0x3d4202,_0xd0d468){const _0x15c712=window[_0x36cd4c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36cd4c([0x66,0x72,0x6f,0x6d])](_0x5c2df4(_0xd0d468),_0x51ccd5=>_0x51ccd5[_0x36cd4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b7419=new window[(_0x36cd4c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36cd4c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12e69c+_0x36cd4c([0x2e])+_0x3d4202),_0x1d08b8=window[_0x36cd4c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36cd4c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d08b8)return;const _0x3b750d=await _0x1d08b8[_0x36cd4c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36cd4c([0x6a,0x77,0x6b]),_0x582a5a,{[_0x36cd4c([0x6e,0x61,0x6d,0x65])]:_0x36cd4c([0x45,0x43,0x44,0x53,0x41]),[_0x36cd4c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36cd4c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36cd4c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d08b8[_0x36cd4c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36cd4c([0x6e,0x61,0x6d,0x65])]:_0x36cd4c([0x45,0x43,0x44,0x53,0x41]),[_0x36cd4c([0x68,0x61,0x73,0x68])]:{[_0x36cd4c([0x6e,0x61,0x6d,0x65])]:_0x36cd4c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b750d,_0x15c712,_0x3b7419)||(_0x21f74e=!0x1);}}function _0xd4fe82(_0x53d4c8){return _0x53d4c8[_0x36cd4c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36cd4c([0x65,0x79]))?JSON[_0x36cd4c([0x70,0x61,0x72,0x73,0x65])](_0x5c2df4(_0x53d4c8)):null;}function _0x5c2df4(_0x413cc6){return window[_0x36cd4c([0x61,0x74,0x6f,0x62])](_0x413cc6[_0x36cd4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36cd4c([0x2b]))[_0x36cd4c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36cd4c([0x2f])));}function _0x5ac460(_0x3a66be){let _0x426e2f=0x1505;function _0x49d1a6(_0x1b4fb8){for(let _0x5b6d47=0x0;_0x5b6d47<_0x1b4fb8[_0x36cd4c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b6d47++){const _0xb7e449=_0x1b4fb8[_0x36cd4c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b6d47);_0x426e2f=(_0x426e2f<<0x5)+_0x426e2f+_0xb7e449,_0x426e2f&=_0x426e2f;}}function _0x2657a9(_0x4eea98){Array[_0x36cd4c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4eea98)?_0x4eea98[_0x36cd4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2657a9):_0x4eea98&&typeof _0x4eea98==_0x36cd4c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36cd4c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4eea98)[_0x36cd4c([0x73,0x6f,0x72,0x74])]()[_0x36cd4c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x62a1bd,_0x3087b6])=>{_0x49d1a6(_0x62a1bd),_0x2657a9(_0x3087b6);}):_0x49d1a6(window[_0x36cd4c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4eea98));}return _0x2657a9(_0x3a66be),_0x426e2f>>>0x0;}function _0x2c2a7c(_0x3ab6cd){return _0x3ab6cd[_0x36cd4c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36cd4c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36cd4c([0x30]));}function _0x3bd7b7(_0x8a7210){return _0x8a7210[_0x36cd4c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36cd4c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36cd4c([0x6a,0x6f,0x69,0x6e])]('');}function _0x5da3b4(){}function _0x36cd4c(_0x497494){return _0x497494['map'](_0x3ffd67=>String['fromCharCode'](_0x3ffd67))['join']('');}_0xfcc99e(await _0x46c5eb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x13ae1e){const {plugins:_0x2ba878,editing:_0xa0cb76,model:_0x5322b2}=this['editor'],_0x5eb5a5=_0x2ba878['get'](f)['getFootnote'](_0x13ae1e);return!!_0x5eb5a5&&(_0x5322b2['change'](_0x551fb2=>{_0x551fb2['setSelection'](_0x551fb2['createPositionAt'](_0x5eb5a5['definition'],'end'));}),_0xa0cb76['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x547ad9){const {plugins:_0x5d378c,editing:_0x1cdc7a,model:_0x55a956}=this['editor'],_0x3adcdf=_0x5d378c['get'](f)['getFootnote'](_0x547ad9);return!!_0x3adcdf&&(_0x55a956['change'](_0x50c25a=>{_0x50c25a['setSelection'](_0x3adcdf['reference'],'on');}),_0x1cdc7a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x54798e}=this['editor']['model'],_0x5a39f5=this['editor']['config']['get']('footnotes.multiBlock');_0x54798e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x54798e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x54798e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5a39f5?_0x54798e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x54798e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x54798e['addChildCheck'](_0x29f6f3=>{for(const _0x854bab of _0x29f6f3)if('footnoteDefinition'===_0x854bab['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x14ff02}=this,{conversion:_0x462209,editing:_0x40520c}=_0x14ff02,{t:t}=_0x14ff02['locale'];_0x462209['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3ec2f8,{writer:_0x299023,consumable:_0x574dc5})=>{const _0x2572f9=_0x3ec2f8['getChild'](0x0);if(!_0x2572f9||!_0x2572f9['is']('element','a'))return null;const _0x17d054=_0x2572f9['getAttribute']('href')||'';if(!_0x17d054['startsWith']('#'))return null;const _0x437b2f=_0x17d054['replace'](/^#/,'');if(!_0x437b2f)return null;_0x574dc5['consume'](_0x2572f9,{'name':!0x0,'attributes':['href']});for(const {item:_0x1cb7d0}of _0x40520c['view']['createRangeIn'](_0x2572f9))_0x1cb7d0['is']('$textProxy')?_0x574dc5['consume'](_0x1cb7d0['textNode'],{'name':!0x0}):_0x1cb7d0['is']('element')&&_0x574dc5['consume'](_0x1cb7d0,{'name':!0x0});return _0x299023['createElement']('footnoteRef',{'footnoteId':_0x437b2f});}}),_0x462209['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x15e3ba,{writer:_0x2a5b03})=>b(_0x15e3ba,_0x2a5b03)}),_0x462209['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x320f9a,{writer:_0x55f819})=>{const _0x194863=_0x320f9a['getAttribute']('footnoteCounter');return _0x537c3e(b(_0x320f9a,_0x55f819),_0x55f819,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x194863)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5a2a8c}=this,{t:t}=_0x5a2a8c['locale'],{conversion:_0x440cac}=_0x5a2a8c;_0x440cac['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x440cac['for']('upcast')['add'](_0x5bf6d6=>{_0x5bf6d6['on']('element:ol',(_0x340c1c,_0x4686dd,_0x20b355)=>{const _0x1dbab2=_0x4686dd['viewItem'];if(!_0x1dbab2['hasClass']('footnotes-list')||!_0x4686dd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x20b355['consumable']['consume'](_0x1dbab2,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x10c6df,modelCursor:_0x4e3ec7}=_0x20b355['convertChildren'](_0x4686dd['viewItem'],_0x4686dd['modelCursor']);_0x4686dd['modelRange']=_0x10c6df,_0x4686dd['modelCursor']=_0x4e3ec7;}),_0x5bf6d6['on']('element:hr',(_0x247c90,_0x386682,_0x4102e9)=>{const _0xe5ecef=_0x386682['viewItem'];_0xe5ecef['hasClass']('footnotes-divider')&&_0x386682['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4102e9['consumable']['consume'](_0xe5ecef,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x440cac['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x14a0f1,{writer:_0x37e6db})=>D(_0x37e6db)}),_0x440cac['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d96c5,{writer:_0x4cdf1b})=>{const _0x1f575f=D(_0x4cdf1b,{'data-footnotes-list-label':t('Footnotes')}),_0x492371=_0x537c3e(_0x1f575f,_0x4cdf1b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4cdf1b['setCustomProperty']('footnotesDefinitions',!0x0,_0x492371),_0x492371;}});}['_defineDefinitionConverters'](){const {editor:_0xec8816}=this,{conversion:_0x18f089,locale:_0x2a23c4}=_0xec8816,_0x55ceae=_0xec8816['config']['get']('footnotes.multiBlock');_0x18f089['for']('upcast')['add'](_0x5c0cfe=>{_0x5c0cfe['on']('element:li',(_0x2af8ab,_0x2effae,_0x20d2a5)=>{const _0x2ff659=_0x2effae['viewItem'];if(!_0x2ff659['hasClass']('footnote-definition')||!_0x2ff659['getAttribute']('id'))return;const _0x35cba6=_0x2ff659['parent'];if(!_0x35cba6['is']('element','ol')||!_0x35cba6['hasClass']('footnotes-list'))return;if(!_0x20d2a5['consumable']['test'](_0x2ff659,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3af6cd=_0x20d2a5['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2ff659['getAttribute']('id')});if(!_0x20d2a5['safeInsert'](_0x3af6cd,_0x2effae['modelCursor']))return;_0x20d2a5['consumable']['consume'](_0x2ff659,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2f8471=Array['from'](_0x2ff659['getChildren']())['find'](_0x17226c=>_0x17226c['is']('element')&&_0x17226c['hasClass']('footnote-content'));for(const _0x2d0360 of _0x2ff659['getChildren']())_0x2d0360['is']('element')&&(_0x20d2a5['consumable']['consume'](_0x2d0360,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x20d2a5['consumable']['consume'](_0x2d0360,{'name':!0x0,'classes':'footnote-content'}));if(_0x2f8471){if(_0x55ceae)_0x20d2a5['convertChildren'](_0x2f8471,_0x3af6cd);else{const _0x5cf787=_0x20d2a5['writer']['createElement']('footnoteInlineContent');_0x20d2a5['writer']['insert'](_0x5cf787,_0x3af6cd),_0x20d2a5['convertChildren'](_0x2f8471,_0x5cf787);}}_0x20d2a5['updateConversionResult'](_0x3af6cd,_0x2effae);});}),_0x18f089['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4218fe,{writer:_0x71c200})=>y(_0x4218fe,_0x71c200,_0x2a23c4,{'dataPipeline':!0x0})}),_0x18f089['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xc9977a,{writer:_0x19a487})=>y(_0xc9977a,_0x19a487,_0x2a23c4)});}['_defineBogusParagraphConverters'](){const {editor:_0x4a1004}=this,{conversion:_0x1a7967}=_0x4a1004;_0x4a1004['config']['get']('footnotes.multiBlock')?(_0x1a7967['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1a7967['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4a1004['model']['document'],'change:data',()=>{!function(_0x5cbf3c,_0x44272f){const _0x20e06c=_0x5cbf3c['document']['differ'],_0x52a916=new Set();for(const _0xa9b3b7 of _0x20e06c['getChanges']()){const _0x2fe818='attribute'==_0xa9b3b7['type']?_0xa9b3b7['range']['start']['parent']:_0xa9b3b7['position']['parent'];_0x2fe818['is']('element','footnoteDefinition')&&_0x52a916['add'](_0x2fe818);}for(const _0x3f045c of _0x52a916['values']()){const _0x2b2fb9=Array['from'](_0x3f045c['getChildren']())['filter'](_0x3dcc8e=>v(_0x3dcc8e,_0x44272f['mapper']));for(const _0x2a2117 of _0x2b2fb9)_0x44272f['reconvertItem'](_0x2a2117);}}(_0x4a1004['model'],_0x4a1004['editing']);})):(_0x1a7967['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1a7967['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4f6c3d,{writer:_0x343e9e})=>{const _0x2539e0=_0x343e9e['createContainerElement']('span');return _0x343e9e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2539e0),_0x2539e0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5c8dcb}=this,{editing:_0x47a17d,t:t}=_0x5c8dcb,_0x3d7069=_0x5c8dcb['model']['document']['selection'];_0x5c8dcb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5c8dcb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x47a17d['view']['document'],'enter',(_0x3b69d7,_0x2d458b)=>{const _0x4e3374=function(_0x492bdb){const _0x3bb3f3=_0x492bdb['getSelectedElement']();if(_0x3bb3f3?.['is']('element','footnoteRef'))return _0x3bb3f3;return null;}(_0x3d7069);if(_0x4e3374){const _0x46c56e=_0x4e3374['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x46c56e),_0x2d458b['preventDefault'](),_0x3b69d7['stop']();}},{'context':_0x351b54});}['_defineClickHandlers'](){const {editor:_0x3c3edf}=this,{editing:_0x23b95c}=_0x3c3edf;_0x3c3edf['editing']['view']['addObserver'](_0x38980f),_0x3c3edf['editing']['view']['addObserver'](_0x4d05aa);let _0x4e9eed=!0x1;this['listenTo'](_0x23b95c['view']['document'],'pointerdown',(_0x25e170,_0x456c15)=>{const {target:_0x3f27e0}=_0x456c15,_0x209da7=_0x23b95c['view']['document']['selection'];_0x4e9eed=!!(_0x3f27e0?.['is']('element','a')&&_0x3f27e0['parent']?.['is']('element','sup')&&_0x3f27e0['parent']['hasClass']('footnote'))&&_0x209da7['getSelectedElement']()===_0x3f27e0['parent'];},{'priority':'high'}),this['listenTo'](_0x23b95c['view']['document'],'click',(_0x4c252d,_0x317eae)=>{const {target:_0x5e5344}=_0x317eae;if(!_0x5e5344?.['is']('element','a'))return;if(_0x5e5344['parent']?.['is']('element','sup')&&_0x5e5344['parent']['hasClass']('footnote')&&!_0x4e9eed)return void _0x317eae['preventDefault']();let _0x2c5393=_0x5e5344['getAttribute']('href');if(!_0x2c5393?.['startsWith']('#'))return;_0x2c5393=_0x2c5393['slice'](0x1);let _0xf64182=!0x1;(_0x2c5393['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2c5393['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2c5393))&&(_0xf64182=!0x0),_0xf64182&&(_0x317eae['preventDefault'](),_0x4c252d['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2e4cf8}={}){return(_0x59e27c,{writer:_0x61b49a})=>{if(!g(_0x59e27c))return null;if(!_0x2e4cf8)return _0x61b49a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x427ad5=_0x61b49a['createContainerElement']('p');return _0x61b49a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x427ad5),_0x427ad5;};}function g(_0x2fb53a){const {parent:_0x381e3a}=_0x2fb53a;if(!_0x381e3a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x381e3a['childCount'])return!0x1;for(const _0x3f9c8b of _0x2fb53a['getAttributeKeys']())if(!_0x3f9c8b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3f9c8b)return!0x1;return!0x0;}function v(_0x22b6ef,_0x4eba3c){if(!_0x22b6ef['is']('element','paragraph'))return!0x1;const _0x47e535=_0x4eba3c['toViewElement'](_0x22b6ef);return!!_0x47e535&&g(_0x22b6ef)!==_0x47e535['is']('element','span');}function Q(_0xed5131){return _0x351b54(_0xed5131)&&_0xed5131['is']('containerElement')&&!!_0xed5131['getCustomProperty']('footnotesDefinitions');}function D(_0x1fff82,_0x394885={}){const _0x33bd1a=_0x1fff82['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1208bf=_0x1fff82['createContainerElement']('ol',{'class':'footnotes-list'},_0x1fff82['createSlot']());return _0x1fff82['createContainerElement']('div',{'class':'footnotes',..._0x394885},[_0x33bd1a,_0x1208bf]);}function b(_0x3de80e,_0x3512b4){const _0x695c97=_0x3de80e['getAttribute']('footnoteId'),_0x351207=_0x3de80e['getAttribute']('footnoteCounter'),_0x41d78a=_0x3512b4['createUIElement']('a',{'href':'#'+_0x695c97},function(_0x59b34b){const _0x11d2ae=this['toDomElement'](_0x59b34b);return _0x11d2ae['textContent']=_0x351207,_0x11d2ae;}),_0x18afa2=_0x3512b4['createContainerElement']('sup',{'id':'ref-'+_0x695c97,'class':'footnote'},[_0x41d78a]);return _0x18afa2['getFillerOffset']=()=>null,_0x18afa2;}function y(_0x25dcbb,_0x4d68e5,_0x347466,{dataPipeline:_0x5cd81e}={}){const {t:t}=_0x347466,_0x576ce0=_0x25dcbb['getAttribute']('footnoteId'),_0x1fcdd9=_0x4d68e5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x576ce0},function(_0x218e8f){const _0x537202=this['toDomElement'](_0x218e8f);return _0x537202['innerText']='^',_0x537202;}),_0x1f368f=_0x5cd81e?_0x4d68e5['createContainerElement']('div',{'class':'footnote-content'}):_0xe0b609(_0x4d68e5['createEditableElement']('div',{'class':'footnote-content'}),_0x4d68e5,{'label':t('Footnote\x20content.')});return _0x4d68e5['insert'](_0x4d68e5['createPositionAt'](_0x1f368f,0x0),_0x4d68e5['createSlot']()),_0x4d68e5['createContainerElement']('li',{'class':'footnote-definition','id':_0x576ce0},[_0x1fcdd9,_0x1f368f]);}class e extends _0x349802{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1a0391];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2a22f8}=this,{plugins:_0x1ac0e5,model:_0x46331c}=_0x2a22f8,_0xa05b50=_0x1ac0e5['get'](_0x1a0391),_0x1bb297=_0x1ac0e5['get'](f);this['listenTo'](_0xa05b50,'outputTransformation',(_0x5f8e71,_0x9a658)=>{const _0x51a591=l(_0x46331c['createRangeIn'](_0x9a658['content']));if(!_0x51a591['length'])return;const _0xd37e24=_0x1bb297['getFootnotes'](),_0x4cadb9=_0x51a591['reduce']((_0x54f37a,_0x4e4386)=>{const _0x9f7204=_0xd37e24['find'](_0x59490a=>_0x59490a['id']===_0x4e4386);if(_0x9f7204){const _0x59c337=_0x2a22f8['data']['toView'](_0x9f7204['definition'],{'isClipboardPipeline':!0x0}),_0x490ce2=_0x2a22f8['data']['htmlProcessor']['toData'](_0x59c337);_0x54f37a[_0x9f7204['id']]=_0x490ce2;}return _0x54f37a;},Object['create'](null));_0x9a658['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4cadb9));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x6080a4}=this,{model:_0xee134,plugins:_0x1fbd96}=_0x6080a4,{view:_0x4a0b37}=_0x6080a4['editing'],_0x2132a6=_0x1fbd96['get'](_0x1a0391),_0x5953c9=_0x1fbd96['get'](f),_0x1fba76=_0x6080a4['config']['get']('footnotes.multiBlock');let _0x23ea3c=null;this['listenTo'](_0x4a0b37['document'],'clipboardInput',(_0x26c2e6,_0x12200a)=>{const _0x9c46d0=_0x12200a['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x23ea3c=_0x9c46d0?JSON['parse'](_0x9c46d0):null;}),this['listenTo'](_0x2132a6,'contentInsertion',(_0x5b0e35,_0x223b11)=>{const _0x36abc8=_0x223b11['sourceEditorId']===this['editor']['id'];_0x36abc8&&'drop'===_0x223b11['method']||_0xee134['change'](_0x2297e2=>{let _0x477b48=_0x5953c9['getFootnotesDefinitionsObjectElement']();const _0x451d75=!!_0x477b48&&Array['from'](_0xee134['document']['selection']['getSelectedBlocks']())['includes'](_0x477b48);if(!_0x23ea3c&&function(_0x47ffe5){for(const {item:_0x416f4f}of _0x47ffe5)if(_0x416f4f['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0xee134['createRangeIn'](_0x223b11['content']))&&(_0x23ea3c=function(_0x5aa51e,_0x111b42){const _0x54fd84=c(_0x5aa51e,_0x111b42);if(!_0x54fd84)return null;const _0x20c32a=Object['create'](null);for(const _0x175576 of _0x54fd84['getChildren']())_0x175576['is']('element','footnoteDefinition')&&_0x175576['hasAttribute']('footnoteId')&&(_0x20c32a[_0x175576['getAttribute']('footnoteId')]=_0x5aa51e['cloneElement'](_0x175576,!0x0));return Object['keys'](_0x20c32a)['length']?_0x20c32a:null;}(_0x2297e2,_0x223b11['content'])),(_0x477b48&&!_0x451d75||!_0x477b48&&!_0x23ea3c)&&function(_0x54a676,_0xe81aef){const _0x3d3f6e=[];for(const {item:_0x1231d5}of _0x54a676['createRangeIn'](_0xe81aef))_0x1231d5['is']('element','footnotesDefinitions')&&_0x3d3f6e['push'](_0x1231d5);for(const _0x419e10 of _0x3d3f6e)_0x54a676['remove'](_0x419e10);}(_0x2297e2,_0x223b11['content']),!_0x23ea3c)return;const {selection:_0x5279d5}=_0xee134['document'],_0x7066e4=_0x5279d5['getFirstRange']()['root'];_0x477b48&&!_0x451d75||(_0x477b48=c(_0x2297e2,_0x223b11['content']),_0x477b48||=_0x5953c9['_insertEmptyFootnotesDefinitionsContainer'](_0x2297e2,_0x7066e4));const _0x19ee7a=Array['from'](_0x5279d5['getRanges']())['flatMap'](l),_0x3a829e=function(_0x596d4e,_0x11d7a0,_0x2ff816){const _0x2369ef=Object['create'](null);for(const {item:_0x1f2818}of _0x596d4e['createRangeIn'](_0x11d7a0))if(_0x1f2818['is']('element','footnoteRef')){const _0x2f743b=_0x1f2818['getAttribute']('footnoteId');if(!_0x2ff816(_0x2f743b))continue;_0x2369ef[_0x2f743b]||(_0x2369ef[_0x2f743b]=_0x2e5f04()),_0x596d4e['setAttribute']('footnoteId',_0x2369ef[_0x2f743b],_0x1f2818);}return _0x2369ef;}(_0x2297e2,_0x223b11['content'],_0x2a7532=>{if(!_0x36abc8)return!0x0;return!!_0x5953c9['getFootnote'](_0x2a7532)&&!_0x19ee7a['includes'](_0x2a7532);});for(const [_0x3d24eb,_0x16c50f]of Object['entries'](_0x23ea3c)){const _0x32fada=_0x3a829e[_0x3d24eb]||_0x3d24eb;let _0x4b1fc3;if('string'!=typeof _0x16c50f)_0x4b1fc3=_0x16c50f,_0x32fada!==_0x3d24eb&&_0x2297e2['setAttribute']('footnoteId',_0x32fada,_0x4b1fc3);else{_0x4b1fc3=_0x2297e2['createElement']('footnoteDefinition',{'footnoteId':_0x32fada});const _0x5d7084=_0x6080a4['data']['htmlProcessor']['toView'](_0x16c50f);let _0x3725d8;if(_0x1fba76)_0x3725d8=_0x6080a4['data']['toModel'](_0x5d7084,_0x4b1fc3);else{_0x3725d8=_0x2297e2['createElement']('footnoteInlineContent');const _0x2b2731=_0x6080a4['data']['toModel'](_0x5d7084,_0x3725d8);_0x2297e2['insert'](_0x2b2731,_0x3725d8);}_0x2297e2['append'](_0x3725d8,_0x4b1fc3);}_0x2297e2['insert'](_0x4b1fc3,_0x477b48,'end');}_0x23ea3c=null;});});}}function c(_0x52ae7b,_0x4e2a4e){for(const {item:_0x4c6355}of _0x52ae7b['createRangeIn'](_0x4e2a4e))if(_0x4c6355['is']('element','footnotesDefinitions'))return _0x4c6355;return null;}function l(_0x41d7a1){const _0x428c17=new Set();for(const {item:_0x2dc76e}of _0x41d7a1)_0x2dc76e['is']('element','footnoteRef')&&_0x428c17['add'](_0x2dc76e['getAttribute']('footnoteId'));return Array['from'](_0x428c17);}class i extends _0x349802{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x351223}=this,{componentFactory:_0x32d235}=_0x351223['ui'];_0x32d235['add']('insertFootnote',E(_0x351223,_0xa42a82)),_0x32d235['add']('menuBar:insertFootnote',E(_0x351223,_0x51fb0a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5be7e3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b2b50;for(const _0x1e849a in _0x5be7e3){const _0x531296=_0x1e849a,_0x293e62=_0x5be7e3[_0x531296];if('footnotesLicenseKeyValid'==_0x293e62||'footnotesLicenseKeyInvalid'==_0x293e62||'footnotesLicenseKeyExpired'==_0x293e62||'footnotesLicenseKeyDomainLimit'==_0x293e62||'footnotesLicenseKeyNotAllowed'==_0x293e62||'footnotesLicenseKeyEvaluationLimit'==_0x293e62||'footnotesLicenseKeyUsageLimit'==_0x293e62){delete _0x5be7e3[_0x531296],_0x2b2b50=_0x293e62,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2b2b50&&_0x5be7e3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2b2b50&&_0x5be7e3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2b2b50&&_0x5be7e3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2b2b50&&_0x5be7e3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2b2b50&&_0x5be7e3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2b2b50&&_0x5be7e3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x21fc20,_0x6867f3){const _0x1299e4=_0x21fc20['commands']['get']('insertFootnote');return _0x2bba28=>{const {t:t}=_0x2bba28,_0x54ed5e=new _0x6867f3(_0x2bba28),_0x4fd2cd=_0x54ed5e instanceof _0x51fb0a;return _0x54ed5e['bind']('isEnabled')['to'](_0x1299e4,'isEnabled'),_0x54ed5e['set']({'label':t(_0x4fd2cd?'Footnote':'Insert\x20footnote'),'icon':_0x253764,'tooltip':!0x0}),_0x54ed5e['on']('execute',()=>{_0x1299e4['execute'](),_0x21fc20['editing']['view']['focus']();}),_0x54ed5e;};}class lt extends _0x349802{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 _0x2110dd{['refresh'](){const {editor:_0x1c3157}=this,_0xc78bbe=_0x1c3157['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xc78bbe,this['value']=_0xc78bbe?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x78103d}){const {editor:_0x4d780a}=this,_0xa72ed9=_0x4d780a['plugins']['get'](f),_0x512ff6=_0xa72ed9['getFootnotesDefinitionsObjectElement']();_0x512ff6&&W['includes'](_0x78103d)&&_0x4d780a['model']['change'](_0x35296=>{_0x35296['setAttribute']('footnotesListStyle',_0x78103d,_0x512ff6),_0xa72ed9['_updateFootnotesCounters'](_0x35296);});}}class C extends _0x2110dd{['refresh'](){const {editor:_0x3fc41a}=this,_0x143610=_0x3fc41a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x143610,this['value']=_0x143610?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x74a147}){const {editor:_0x3e8a06}=this,_0x418b5d=_0x3e8a06['plugins']['get'](f),_0xcef2a2=_0x418b5d['getFootnotesDefinitionsObjectElement']();_0xcef2a2&&Number['isInteger'](_0x74a147)&&_0x3e8a06['model']['change'](_0x2f7ccd=>{_0x2f7ccd['setAttribute']('footnotesListStart',_0x74a147,_0xcef2a2),_0x418b5d['_updateFootnotesCounters'](_0x2f7ccd);});}}class P extends _0x349802{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ef417}=this;_0x5ef417['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5ef417['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5ef417['commands']['add']('footnotesStyle',new S(_0x5ef417)),_0x5ef417['commands']['add']('footnotesStart',new C(_0x5ef417)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2ed74a}=this,{schema:_0x4325de}=_0x2ed74a['model'];_0x4325de['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x227aa3}=this,{conversion:_0x82a6a7,model:_0x22d953}=_0x227aa3,{schema:_0x5dab00}=_0x22d953;_0x82a6a7['for']('upcast')['add'](_0x172085=>{_0x172085['on']('element:ol',(_0x3ab197,_0x5346d3,_0x49cc5f)=>{const _0x906082=_0x5346d3['viewItem'],_0x9e5bad=_0x5346d3['modelCursor']?.['parent'];_0x906082['hasClass']('footnotes-list')&&_0x9e5bad?.['is']('element','footnotesDefinitions')&&(function(_0x27ad72,_0x56edef,_0xffb906,_0x2e4b9f){if(!_0x2e4b9f['checkAttribute'](_0x56edef,'footnotesListStart'))return;let _0x4f67f3=0x1;const _0x39a801=_0xffb906['consumable']['consume'](_0x27ad72,{'attributes':'start'});if(_0x39a801){const _0x523aee=Number['parseInt'](_0x27ad72['getAttribute']('start'),0xa);Number['isNaN'](_0x523aee)||(_0x4f67f3=_0x523aee);}!_0x39a801&&_0x56edef['hasAttribute']('footnotesListStart')||_0xffb906['writer']['setAttribute']('footnotesListStart',_0x4f67f3,_0x56edef);}(_0x906082,_0x9e5bad,_0x49cc5f,_0x5dab00),function(_0x63e647,_0x494cd1,_0xc1ea9e,_0xce5749){if(!_0xce5749['checkAttribute'](_0x494cd1,'footnotesListStyle'))return;let _0x54ccdf='decimal',_0x318d3d=!0x1;if(_0xc1ea9e['consumable']['consume'](_0x63e647,{'attributes':'type'})){const _0x5e071b={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x63e647['getAttribute']('type')];_0x5e071b&&(_0x54ccdf=_0x5e071b),_0x318d3d=!0x0;}_0xc1ea9e['consumable']['consume'](_0x63e647,{'styles':'list-style-type'})&&(_0x54ccdf=function(_0x516979){switch(_0x516979){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x516979;}}(_0x63e647['getStyle']('list-style-type')),_0x318d3d=!0x0),!_0x318d3d&&_0x494cd1['hasAttribute']('footnotesListStyle')||_0xc1ea9e['writer']['setAttribute']('footnotesListStyle',_0x54ccdf,_0x494cd1);}(_0x906082,_0x9e5bad,_0x49cc5f,_0x5dab00));});}),_0x82a6a7['for']('downcast')['add'](_0x7d00ae=>{_0x7d00ae['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1e2024,_0x5065c0,_0x4b8619)=>{if(!_0x4b8619['consumable']['consume'](_0x5065c0['item'],_0x1e2024['name']))return;const _0x10afbf=M(_0x5065c0['item'],_0x4b8619['mapper']),{attributeNewValue:_0x18dc0c}=_0x5065c0;null==_0x18dc0c||0x1===_0x18dc0c?_0x4b8619['writer']['removeAttribute']('start',_0x10afbf):_0x4b8619['writer']['setAttribute']('start',String(_0x18dc0c),_0x10afbf);}),_0x7d00ae['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x30cecc,_0xaa65a4,_0x37564c)=>{if(!_0x37564c['consumable']['consume'](_0xaa65a4['item'],_0x30cecc['name']))return;const _0x1ab74b=M(_0xaa65a4['item'],_0x37564c['mapper']),{attributeNewValue:_0x2056c3}=_0xaa65a4;_0x2056c3&&'decimal'!==_0x2056c3?_0x37564c['writer']['setStyle']('list-style-type',_0x2056c3,_0x1ab74b):_0x37564c['writer']['removeStyle']('list-style-type',_0x1ab74b);});});}['_definePostfixer'](){const {editor:_0x56a90b}=this,{model:_0x358e8e}=_0x56a90b,_0x4de18d=_0x56a90b['plugins']['get'](f),_0x58af9e=this['_getDefaultListStyle'](),_0x749cf8=this['_getDefaultStartIndex']();_0x358e8e['document']['registerPostFixer'](_0x886d7e=>{const _0x3b234e=_0x358e8e['document']['differ']['getChanges']();let _0x578328=!0x1;for(const _0x7e70f8 of _0x3b234e){if('insert'!==_0x7e70f8['type']||'$text'===_0x7e70f8['name'])continue;const _0x11117f=_0x358e8e['createRangeOn'](_0x7e70f8['position']['nodeAfter']);for(const _0x55a0ee of _0x11117f['getItems']())_0x55a0ee['is']('element','footnotesDefinitions')&&(!_0x55a0ee['hasAttribute']('footnotesListStart')&&_0x358e8e['schema']['checkAttribute'](_0x55a0ee,'footnotesListStart')&&(_0x886d7e['setAttribute']('footnotesListStart',_0x749cf8,_0x55a0ee),_0x578328=!0x0),!_0x55a0ee['hasAttribute']('footnotesListStyle')&&_0x358e8e['schema']['checkAttribute'](_0x55a0ee,'footnotesListStyle')&&(_0x886d7e['setAttribute']('footnotesListStyle',_0x58af9e,_0x55a0ee),_0x578328=!0x0));}return _0x578328&&_0x4de18d['_updateFootnotesCounters'](_0x886d7e),_0x578328;});}['_defineFormatter'](){const {editor:_0x42404e}=this;_0x42404e['plugins']['get'](f)['setFootnoteFormatter'](_0x47896e=>this['_formatFootnoteListValue'](_0x47896e));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x399233,value:_0x252357,digits:_0x21d061}){const _0x34fafe=_0x399233['getAttribute']('footnotesListStyle'),_0x5e28b8=_0x399233['getAttribute']('footnotesListStart'),_0x1b946e=Math['floor'](_0x252357)+(_0x5e28b8??0x1)-0x1;switch(_0x34fafe){case'decimal-leading-zero':return function(_0x55280e,_0x1961a2){return String(_0x55280e)['padStart'](_0x1961a2,'0');}(_0x1b946e,Math['max'](0x2,_0x21d061));case'lower-alpha':case'lower-latin':return N(_0x1b946e,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1b946e,!0x0);case'lower-roman':return X(_0x1b946e,!0x1);case'upper-roman':return X(_0x1b946e,!0x0);default:return String(_0x1b946e);}}}function M(_0x201841,_0x4aba73){const _0x488b96=_0x4aba73['toViewElement'](_0x201841);return Array['from'](_0x488b96['getChildren']())['find'](_0x54c606=>_0x54c606['is']('element','ol')&&_0x54c606['hasClass']('footnotes-list'));}function N(_0x10dceb,_0x5a6a58){let _0x5e5b7e='',_0x397aac=_0x10dceb;for(;_0x397aac>0x0;){const _0x39ec60=(_0x397aac-0x1)%0x1a;_0x5e5b7e=String['fromCharCode'](0x61+_0x39ec60)+_0x5e5b7e,_0x397aac=Math['floor']((_0x397aac-0x1)/0x1a);}return _0x5a6a58?_0x5e5b7e['toUpperCase']():_0x5e5b7e;}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(_0x217e98,_0x18b1ee){let _0x418c88='',_0x4bff51=_0x217e98;for(const {value:_0x1d8d81,numeral:_0x574e3c}of V)for(;_0x4bff51>=_0x1d8d81;)_0x418c88+=_0x574e3c,_0x4bff51-=_0x1d8d81;return _0x18b1ee?_0x418c88:_0x418c88['toLowerCase']();}class J extends _0x3a8c93{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2aec16();['focusCycler'];constructor(_0x401594,{styleButtonViews:_0x5edc50,styleGridAriaLabel:_0x3ca581}){super(_0x401594),(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'](_0x5edc50,_0x3ca581),[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 _0x4664cb of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4664cb['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 _0x4146f3=_0x33d95d=>_0x33d95d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4146f3),this['keystrokes']['set']('arrowleft',_0x4146f3),this['keystrokes']['set']('arrowup',_0x4146f3),this['keystrokes']['set']('arrowdown',_0x4146f3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x44c705,_0x2f6124){const _0x136fe2=new _0x3a8c93(this['locale']);return _0x136fe2['children']=_0x136fe2['createCollection'](),_0x136fe2['children']['addMany'](_0x44c705),_0x136fe2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2f6124,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x136fe2['children']}),_0x136fe2['children']['delegate']('execute')['to'](this),_0x136fe2['focus']=function(){for(const _0x3d0013 of this['children'])if(_0x3d0013 instanceof _0xa42a82&&_0x3d0013['isOn'])return void _0x3d0013['focus']();this['children']['first']['focus']();},_0x136fe2['focusTracker']=new rt(),_0x136fe2['keystrokes']=new nt(),_0x136fe2['render'](),_0x136fe2['keystrokes']['listenTo'](_0x136fe2['element']),this['children']['add'](_0x136fe2),_0x136fe2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x29312d=this['_createStartIndexPropertyView'](),_0x17c204=[_0x29312d],_0x45be8a=new it(this['locale'],_0x17c204);return _0x45be8a['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x45be8a['buttonView']['bind']('isEnabled')['toMany'](_0x17c204,'isEnabled',(..._0x3ed166)=>_0x3ed166['some'](_0x3ec221=>_0x3ec221)),_0x45be8a['buttonView']['on']('change:isEnabled',(_0x35091b,_0x22730c,_0x136b97)=>{_0x136b97||(_0x45be8a['isCollapsed']=!0x0);}),this['children']['add'](_0x45be8a),[_0x29312d,_0x45be8a];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xf2c16b=new et(this['locale'],ot);return _0xf2c16b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xf2c16b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xf2c16b['fieldView']['on']('input',()=>{const _0x1f2f1a=_0xf2c16b['fieldView']['element'],_0x136c17=_0x1f2f1a['valueAsNumber'];Number['isNaN'](_0x136c17)?_0xf2c16b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1f2f1a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x136c17}):_0xf2c16b['errorText']=t(_0x136c17<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xf2c16b;}}class j extends _0x349802{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1571f7,_0x4455ce];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2da154}=this,{componentFactory:_0x42ac84}=_0x2da154['ui'];_0x2da154['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x42ac84['add']('footnotesStyle',function(_0x48af93){return _0x10321d=>{const {t:t}=_0x10321d,_0x403e29=_0x48af93['commands']['get']('footnotesStyle'),_0x1e9da7=_0x2b7949(_0x10321d),{buttonView:_0x188da0}=_0x1e9da7;return _0x1e9da7['class']='ck-footnotes-styles-dropdown',_0x1e9da7['bind']('isEnabled')['to'](_0x403e29,'isEnabled'),_0x188da0['set']({'label':t('Footnotes\x20style'),'icon':_0x253764,'tooltip':!0x0}),_0x1e9da7['once']('change:isOpen',()=>{const _0x233e04=function({editor:_0x4ffb8f,dropdownView:_0x40ef55}){const {t:t}=_0x4ffb8f['locale'],_0xfc98e4=t('Footnotes\x20definitions\x20styles'),_0x2a7a6a=function(_0x7eeeed){const t=_0x7eeeed['locale']['t'],_0x503b96=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1cc222},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x37a66c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x38bc6f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5b8e00},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x300a50},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5f0855}];return _0x503b96['map'](function(_0x2b6704){const _0x393752=_0x2b6704['locale'];return({label:_0x59143f,icon:_0x3984d3,tooltip:_0x26d296,style:_0x4abb8b})=>{const _0x22747c=_0x2b6704['commands']['get']('footnotesStyle'),_0xaedc4c=new _0xa42a82(_0x393752);return _0xaedc4c['set']({'label':_0x59143f,'icon':_0x3984d3,'tooltip':_0x26d296}),_0xaedc4c['bind']('isOn')['to'](_0x22747c,'value',_0x431725=>_0x431725===_0x4abb8b),_0xaedc4c['bind']('isEnabled')['to'](_0x22747c,'isEnabled'),_0xaedc4c['on']('execute',()=>{_0x2b6704['execute']('footnotesStyle',{'value':_0x4abb8b}),_0x2b6704['editing']['view']['focus']();}),_0xaedc4c;};}(_0x7eeeed));}(_0x4ffb8f),_0x43b627=new J(_0x4ffb8f['locale'],{'styleGridAriaLabel':_0xfc98e4,'styleButtonViews':_0x2a7a6a}),_0x549bfb=_0x4ffb8f['commands']['get']('footnotesStart');return _0x43b627['startIndexFieldView']['bind']('isEnabled')['to'](_0x549bfb),_0x43b627['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x549bfb),_0x43b627['on']('footnotesListStart',(_0x1f5381,_0x4562f2)=>{_0x4ffb8f['execute']('footnotesStart',{'value':_0x4562f2['startIndex']});}),_0x43b627['delegate']('execute')['to'](_0x40ef55),_0x43b627;}({'editor':_0x48af93,'dropdownView':_0x1e9da7});_0x1e9da7['panelView']['children']['add'](_0x233e04);}),_0x1e9da7;};}(_0x2da154));}['afterInit'](){const {editor:_0x508fbc}=this,{t:t}=_0x508fbc['locale'],_0x3fee8a=_0x508fbc['plugins']['get'](_0x4455ce),{defaultPositions:_0x362c6f}=_0x6ed29;_0x3fee8a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x508fbc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x532914=>{let _0x427d30=_0x532914['getFirstPosition']()?.['parent'];return _0x427d30?.['is']('$text')&&(_0x427d30=_0x427d30['parent']),_0x427d30?.['is']('element')?_0x427d30['findAncestor'](Q):null;},'positions':[_0x362c6f['southArrowNorth'],_0x362c6f['southArrowNorthMiddleWest'],_0x362c6f['southArrowNorthMiddleEast'],_0x362c6f['southArrowNorthWest'],_0x362c6f['southArrowNorthEast'],_0x362c6f['northArrowSouth'],_0x362c6f['northArrowSouthMiddleWest'],_0x362c6f['northArrowSouthMiddleEast'],_0x362c6f['northArrowSouthWest'],_0x362c6f['northArrowSouthEast'],_0x362c6f['viewportStickyNorth']]});}}class ft extends _0x349802{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x13a6c4=>0x1!=_0x13a6c4}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2fb129=>0x1!=_0x2fb129}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5e2e64=>{const {af:{dictionary:_0x19cf82,getPluralForm:_0x433a3d}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4a826e=>0x1!=_0x4a826e}};_0x5e2e64['af']||={'dictionary':{},'getPluralForm':null},_0x5e2e64['af']['dictionary']=Object['assign'](_0x5e2e64['af']['dictionary'],_0x19cf82),_0x5e2e64['af']['getPluralForm']=_0x433a3d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x566ae5=>{const {af:{dictionary:_0x381d67,getPluralForm:_0x1538d1}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1fe85e=>0x1!=_0x1fe85e}};_0x566ae5['af']||={'dictionary':{},'getPluralForm':null},_0x566ae5['af']['dictionary']=Object['assign'](_0x566ae5['af']['dictionary'],_0x381d67),_0x566ae5['af']['getPluralForm']=_0x1538d1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x2f5ed4=>0x0==_0x2f5ed4?0x0:0x1==_0x2f5ed4?0x1:0x2==_0x2f5ed4?0x2:_0x2f5ed4%0x64>=0x3&&_0x2f5ed4%0x64<=0xa?0x3:_0x2f5ed4%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x37a0a0=>0x0==_0x37a0a0?0x0:0x1==_0x37a0a0?0x1:0x2==_0x37a0a0?0x2:_0x37a0a0%0x64>=0x3&&_0x37a0a0%0x64<=0xa?0x3:_0x37a0a0%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6bdbd8=>{const {ar:{dictionary:_0x3939fc,getPluralForm:_0x14f48c}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x223ebd=>0x0==_0x223ebd?0x0:0x1==_0x223ebd?0x1:0x2==_0x223ebd?0x2:_0x223ebd%0x64>=0x3&&_0x223ebd%0x64<=0xa?0x3:_0x223ebd%0x64>=0xb?0x4:0x5}};_0x6bdbd8['ar']||={'dictionary':{},'getPluralForm':null},_0x6bdbd8['ar']['dictionary']=Object['assign'](_0x6bdbd8['ar']['dictionary'],_0x3939fc),_0x6bdbd8['ar']['getPluralForm']=_0x14f48c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x17805c=>{const {ar:{dictionary:_0x1f865f,getPluralForm:_0x3db604}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x274d5b=>0x0==_0x274d5b?0x0:0x1==_0x274d5b?0x1:0x2==_0x274d5b?0x2:_0x274d5b%0x64>=0x3&&_0x274d5b%0x64<=0xa?0x3:_0x274d5b%0x64>=0xb?0x4:0x5}};_0x17805c['ar']||={'dictionary':{},'getPluralForm':null},_0x17805c['ar']['dictionary']=Object['assign'](_0x17805c['ar']['dictionary'],_0x1f865f),_0x17805c['ar']['getPluralForm']=_0x3db604;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xda58b1=>0x1!=_0xda58b1}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4b0a58=>0x1!=_0x4b0a58}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2974c5=>{const {ast:{dictionary:_0x39ee00,getPluralForm:_0x259895}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xf4d0fd=>0x1!=_0xf4d0fd}};_0x2974c5['ast']||={'dictionary':{},'getPluralForm':null},_0x2974c5['ast']['dictionary']=Object['assign'](_0x2974c5['ast']['dictionary'],_0x39ee00),_0x2974c5['ast']['getPluralForm']=_0x259895;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a9db8=>{const {ast:{dictionary:_0x1eff52,getPluralForm:_0x3aca25}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x20054c=>0x1!=_0x20054c}};_0x1a9db8['ast']||={'dictionary':{},'getPluralForm':null},_0x1a9db8['ast']['dictionary']=Object['assign'](_0x1a9db8['ast']['dictionary'],_0x1eff52),_0x1a9db8['ast']['getPluralForm']=_0x3aca25;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x52ea29=>0x1!=_0x52ea29}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x122eff=>0x1!=_0x122eff}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2ee736=>{const {az:{dictionary:_0x1a6793,getPluralForm:_0x245dd9}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4da60f=>0x1!=_0x4da60f}};_0x2ee736['az']||={'dictionary':{},'getPluralForm':null},_0x2ee736['az']['dictionary']=Object['assign'](_0x2ee736['az']['dictionary'],_0x1a6793),_0x2ee736['az']['getPluralForm']=_0x245dd9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xb4bef4=>{const {az:{dictionary:_0x4b956,getPluralForm:_0x4c348d}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2a6ae8=>0x1!=_0x2a6ae8}};_0xb4bef4['az']||={'dictionary':{},'getPluralForm':null},_0xb4bef4['az']['dictionary']=Object['assign'](_0xb4bef4['az']['dictionary'],_0x4b956),_0xb4bef4['az']['getPluralForm']=_0x4c348d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1c8247=>_0x1c8247%0xa==0x1&&_0x1c8247%0x64!=0xb?0x0:_0x1c8247%0xa>=0x2&&_0x1c8247%0xa<=0x4&&(_0x1c8247%0x64<0xa||_0x1c8247%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x18e960=>_0x18e960%0xa==0x1&&_0x18e960%0x64!=0xb?0x0:_0x18e960%0xa>=0x2&&_0x18e960%0xa<=0x4&&(_0x18e960%0x64<0xa||_0x18e960%0x64>=0x14)?0x1:0x2}};