@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251224.0 → 0.0.0-nightly-next-20251224.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x545b26,Command as _0x1b1587}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x288c07,isWidget as _0x241b9e,toWidgetEditable as _0x565261,WidgetToolbarRepository as _0x1ee8c5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5866be,logWarning as _0xe9f27b,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x541687,ClickObserver as _0xcc190a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x24fc68}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1b1751,ButtonView as _0x25042d,View as _0x16d4a3,ViewCollection as _0x1fb781,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x4c9005,BalloonPanelView as _0x310e65,createDropdown as _0x32c46f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2719f6,IconListStyleDecimal as _0x19fa1b,IconListStyleDecimalLeadingZero as _0xf34fe2,IconListStyleLowerRoman as _0x47c6fa,IconListStyleUpperRoman as _0x487e05,IconListStyleLowerLatin as _0x4c985c,IconListStyleUpperLatin as _0x442688}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x472c5b,_0x36aa43){this['_model']=_0x472c5b,this['_elementName']=_0x36aa43['elementName'],this['_getElementKey']=_0x36aa43['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2624fc){const _0x39197e=new Set(),_0x2e95c4=new Map();for(const _0x3ff167 of _0x2624fc){if('insert'===_0x3ff167['type']&&'$text'!==_0x3ff167['name']&&_0x3ff167['position']['nodeAfter']){const _0x5c38ec=this['_model']['createRangeOn'](_0x3ff167['position']['nodeAfter']);for(const _0x658194 of _0x5c38ec['getItems']()){if(!_0x658194['is']('element',this['_elementName']))continue;const _0x17e33f=this['_getElementKey'](_0x658194);_0x2e95c4['has'](_0x17e33f)||_0x2e95c4['set'](_0x17e33f,[]),_0x2e95c4['get'](_0x17e33f)['push'](_0x658194);}}if('remove'===_0x3ff167['type']&&_0x3ff167['name']===this['_elementName']){const _0x3a0b4a=this['_getElementKey']({'getAttribute':_0x59563e=>_0x3ff167['attributes']['get'](_0x59563e)});_0x39197e['add'](_0x3a0b4a);}}for(const [_0x1b14c1,_0x3fcc4d]of this['_trackedElements'])'$graveyard'===_0x3fcc4d['root']['rootName']&&_0x39197e['add'](_0x1b14c1);for(const _0x6d3d8 of _0x39197e)this['_trackedElements']['delete'](_0x6d3d8);for(const [_0x3ab43f,_0x1c7344]of _0x2e95c4)this['_trackedElements']['set'](_0x3ab43f,_0x1c7344[_0x1c7344['length']-0x1]);const _0x15d182=new Set();for(const [_0x1dd57e,_0x51bc87]of _0x2e95c4)_0x39197e['has'](_0x1dd57e)&&(_0x15d182['add'](_0x51bc87[0x0]),_0x51bc87['length']>0x1?_0x2e95c4['set'](_0x1dd57e,_0x51bc87['slice'](0x1)):_0x2e95c4['delete'](_0x1dd57e),_0x39197e['delete'](_0x1dd57e));return{'removed':Array['from'](_0x39197e),'inserted':Array['from'](_0x2e95c4['values']())['flat'](),'moved':Array['from'](_0x15d182)};}}class f extends _0x545b26{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x114fe8){super(_0x114fe8),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x176402=>_0x176402['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4589c5=>_0x4589c5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x440a80}=this,{model:_0xe84e5,data:_0x5579ed}=_0x440a80;_0xe84e5['document']['registerPostFixer'](_0x2bcaeb=>{const _0x5c0ec9=_0xe84e5['document']['differ']['getChanges']();let _0x16ead6=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2bcaeb,_0x5c0ec9)&&(_0x16ead6=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2bcaeb,_0x5c0ec9)&&(_0x16ead6=!0x0),this['_handleFootnoteReferencesChanges'](_0x2bcaeb,_0x5c0ec9)&&(_0x16ead6=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2bcaeb)&&(_0x16ead6=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2bcaeb)&&(_0x16ead6=!0x0),this['_sortFootnoteDefinitions'](_0x2bcaeb)&&(_0x16ead6=!0x0),_0x16ead6;}),this['listenTo'](_0xe84e5['document'],'change:data',()=>{_0xe84e5['enqueueChange']({'isUndoable':!0x1},_0x32fd2a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x32fd2a);});},{'priority':'low'}),this['listenTo'](_0x5579ed,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2d5ce4){return this['_footnotes']['find'](_0x422bac=>_0x422bac['id']===_0x2d5ce4)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x354697){this['_footnoteFormatter']=_0x354697;}['_updateFootnotesCounters'](_0x20f64c,_0x11347d=0x0){let _0x292e27=!0x1;for(let _0x25b395=_0x11347d;_0x25b395<this['_footnotes']['length'];_0x25b395++)this['_updateFootnoteRefCounter'](_0x20f64c,_0x25b395)&&(_0x292e27=!0x0);return _0x292e27;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1cb873,_0x42d4fa){const _0x1ccda2=_0x1cb873['createElement']('footnotesDefinitions',{});return _0x1cb873['append'](_0x1ccda2,_0x42d4fa),this['_footnotesDefinitions']=_0x1ccda2,_0x1ccda2;}['_ensureFootnotesDefinitionsContainerExists'](_0x2755d0){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5aa70b=this['_footnotes'][0x0]['reference']['root'],_0x53bb3c=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2755d0,_0x5aa70b);for(const _0x485af3 of this['_footnotes'])_0x485af3['definition']['parent']||_0x2755d0['insert'](_0x485af3['definition'],_0x53bb3c,'end');this['_updateFootnotesCounters'](_0x2755d0);}['_handleFootnotesDefinitionsObjectChanges'](_0x36c4ba,_0x2f67a4){let _0x22ea11=!0x1;const {inserted:_0x211e62,removed:_0x16f0f7,moved:_0x5db03d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2f67a4);if(_0x5db03d['length']&&(this['_footnotesDefinitions']=_0x5db03d[0x0]),_0x211e62['length']){if(_0x211e62['length']>0x1||this['_footnotesDefinitions']&&_0x211e62['some'](_0xd954f4=>_0xd954f4!==this['_footnotesDefinitions'])){const _0x4ecd82=_0x36c4ba['createElement']('footnotesDefinitions',{}),_0x490e96=[];this['_footnotesDefinitions']&&_0x490e96['push'](this['_footnotesDefinitions']),_0x490e96['push'](..._0x211e62),_0x36c4ba['insert'](_0x4ecd82,_0x490e96[0x0],'before');for(const _0x333c74 of _0x490e96)_0x36c4ba['move'](_0x36c4ba['createRangeIn'](_0x333c74),_0x36c4ba['createPositionAt'](_0x4ecd82,'end')),_0x36c4ba['remove'](_0x333c74);this['_footnotesDefinitions']=_0x4ecd82,this['_updateFootnotesCounters'](_0x36c4ba),_0x22ea11=!0x0;}else this['_footnotesDefinitions']=_0x211e62[0x0];}if(_0x16f0f7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1371a8 of this['_footnotes'])_0x36c4ba['remove'](_0x1371a8['reference']),_0x22ea11=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x22ea11;}['_handleFootnoteDefinitionsChanges'](_0x15d2c9,_0x46a2a0){let _0x53608=!0x1;const _0x565467=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x464b16,moved:_0x4509d2}=this['_footnoteDefsTracker']['getChanges'](_0x46a2a0);for(const _0x50091c of[..._0x4509d2,..._0x464b16]){const _0x2557c0=_0x50091c['getAttribute']('footnoteId'),_0x3310ef=this['getFootnote'](_0x2557c0);_0x3310ef&&(_0x3310ef['definition']=_0x50091c),_(_0x15d2c9,_0x565467,_0x50091c)&&(_0x53608=!0x0);}return _0x53608;}['_handleFootnoteReferencesChanges'](_0x5bfeb8,_0x1faccb){let _0x57bf4d=!0x1;const {removed:_0x213112,inserted:_0x47c146,moved:_0x16afca}=this['_footnoteRefsTracker']['getChanges'](_0x1faccb);for(const _0x2012bb of _0x213112)this['_handleRemoveFootnoteReferenceById'](_0x5bfeb8,_0x2012bb)&&(_0x57bf4d=!0x0);for(const _0x2c7052 of _0x47c146)this['_handleInsertedFootnoteReference'](_0x5bfeb8,_0x2c7052)&&(_0x57bf4d=!0x0);for(const _0x6de4e0 of _0x16afca)this['_handleMovedFootnoteReference'](_0x5bfeb8,_0x6de4e0)&&(_0x57bf4d=!0x0);return _0x57bf4d;}['_handleFootnotesDefinitionsObjectSync'](_0x3a00ed){if(!this['_footnotesDefinitions'])return!0x1;let _0x185331=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2347f9=[];for(const _0x465583 of this['_footnotesDefinitions']['getChildren']()){const _0x1bd19f=_0x465583['getAttribute']('footnoteId');this['getFootnote'](_0x1bd19f)||(_0x2347f9['unshift'](_0x465583),_0x185331=!0x0);}for(const _0x4cf2b8 of _0x2347f9)_0x3a00ed['remove'](_0x4cf2b8);}const _0x2d6704=new Set(),_0x48eaf2=[];for(const _0x1cfe10 of this['_footnotesDefinitions']['getChildren']()){const _0x256f30=_0x1cfe10['getAttribute']('footnoteId');_0x2d6704['has'](_0x256f30)?(_0x48eaf2['unshift'](_0x1cfe10),_0x185331=!0x0):_0x2d6704['add'](_0x256f30);}for(const _0x21138b of _0x48eaf2)_0x3a00ed['remove'](_0x21138b);return this['_footnotesDefinitions']['childCount']||(_0x3a00ed['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x185331=!0x0),_0x185331;}['_handleInsertedFootnoteReference'](_0x196077,_0xa01f76){if(this['_footnotes']['find'](_0x340b92=>_0x340b92['reference']===_0xa01f76))return!0x1;let _0x1cf18b=!0x1;const _0x4156ea=_0xa01f76['getAttribute']('footnoteId'),_0x1ba0f0=this['_footnotes']['findIndex'](_0x4648fd=>_0x4648fd['id']===_0x4156ea);-0x1!==_0x1ba0f0&&(_0x196077['remove'](this['_footnotes'][_0x1ba0f0]['reference']),this['_footnotes']['splice'](_0x1ba0f0,0x1),_0x1cf18b=!0x0);let _0x32b178=this['_footnotesDefinitions']?function(_0x225ef1,_0x350d84){for(const _0x550e87 of _0x225ef1['getChildren']())if(_0x550e87['getAttribute']('footnoteId')===_0x350d84)return _0x550e87;return null;}(this['_footnotesDefinitions'],_0x4156ea):null;_0x32b178||(_0x32b178=_0x196077['createElement']('footnoteDefinition',{'footnoteId':_0x4156ea}),this['_footnotesDefinitions']&&(_0x196077['insert'](_0x32b178,this['_footnotesDefinitions'],'end'),_0x1cf18b=!0x0));const _0x1db9d4={'id':_0x4156ea,'reference':_0xa01f76,'definition':_0x32b178},_0x414969=I(this['editor']['model'],this['_footnotes'],_0xa01f76);this['_footnotes']['splice'](_0x414969,0x0,_0x1db9d4);let _0x39f3cf=_0x414969;return-0x1!==_0x1ba0f0&&(_0x39f3cf=Math['min'](_0x414969,_0x1ba0f0)),this['_updateFootnotesCounters'](_0x196077,_0x39f3cf)&&(_0x1cf18b=!0x0),_0x1cf18b;}['_handleRemoveFootnoteReferenceById'](_0x39683f,_0x2ad331){const _0xd0477e=this['_footnotes']['findIndex'](_0x4323ae=>_0x4323ae['id']===_0x2ad331);if(-0x1===_0xd0477e)return!0x1;let _0x49338d=!0x1;const _0x5e60a5=this['_footnotes'][_0xd0477e];return'$graveyard'!==_0x5e60a5['definition']['root']['rootName']&&(_0x39683f['remove'](_0x5e60a5['definition']),_0x49338d=!0x0),this['_footnotes']['splice'](_0xd0477e,0x1),this['_updateFootnotesCounters'](_0x39683f,_0xd0477e)&&(_0x49338d=!0x0),_0x49338d;}['_handleMovedFootnoteReference'](_0x11d89f,_0x213017){const _0x2000f0=_0x213017['getAttribute']('footnoteId'),_0x2f2169=this['_footnotes']['findIndex'](_0x52abed=>_0x52abed['id']===_0x2000f0),_0x360c64=this['_footnotes'][_0x2f2169];let _0x4f6c89=!0x1;_0x360c64['reference']=_0x213017,this['_footnotes']['splice'](_0x2f2169,0x1);const _0x2af7ec=I(this['editor']['model'],this['_footnotes'],_0x213017);return this['_footnotes']['splice'](_0x2af7ec,0x0,_0x360c64),this['_updateFootnotesCounters'](_0x11d89f,Math['min'](_0x2f2169,_0x2af7ec))&&(_0x4f6c89=!0x0),_0x4f6c89;}['_updateFootnoteRefCounter'](_0x544838,_0x30800d){if(!this['_footnotesDefinitions'])return!0x1;const _0x2b573a=this['_footnotes'][_0x30800d];let _0x4ac6e3;return _0x4ac6e3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2b573a,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x30800d+0x1}):String(_0x30800d+0x1),_0x2b573a['reference']['getAttribute']('footnoteCounter')!=_0x4ac6e3&&(_0x544838['setAttribute']('footnoteCounter',_0x4ac6e3,_0x2b573a['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x34a5d4){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x559a8b,_0xac1653){if(_0x559a8b['length']!==_0xac1653['length'])return!0x1;for(let _0x31d815=0x0;_0x31d815<_0x559a8b['length'];_0x31d815++)if(_0x559a8b[_0x31d815]!==_0xac1653[_0x31d815])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3db640=>_0x3db640['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xa059a=>_0xa059a['getAttribute']('footnoteId'))))return!0x1;let _0x23dde1=!0x1;for(let _0x357814=0x0;_0x357814<this['_footnotes']['length'];_0x357814++){const _0x20888b=this['_footnotes'][_0x357814],_0x4f0e5d=_0x34a5d4['createPositionBefore'](_0x20888b['definition']),_0x29fd46=_0x34a5d4['createPositionAt'](this['_footnotesDefinitions'],_0x357814);_0x4f0e5d['isEqual'](_0x29fd46)||(_0x34a5d4['move'](_0x34a5d4['createRangeOn'](_0x20888b['definition']),_0x29fd46),_0x23dde1=!0x0);}return _0x23dde1;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2834c1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x45ff2a}=this['editor'];let _0x146f99=!0x1;for(let _0x444b97=0x0;_0x444b97<this['_footnotes']['length']-0x1;_0x444b97++){const _0x216575=this['_footnotes'][_0x444b97],_0x12cfbb=this['_footnotes'][_0x444b97+0x1],_0x1bb587=_0x45ff2a['createPositionBefore'](_0x216575['reference']),_0x48b968=_0x45ff2a['createPositionBefore'](_0x12cfbb['reference']);'after'===_0x1bb587['compareWith'](_0x48b968)&&(this['_handleMovedFootnoteReference'](_0x2834c1,_0x216575['reference']),_0x444b97=-0x1,_0x146f99=!0x0);}return _0x146f99;}}function _(_0x3d1308,_0x19e326,_0x167e64){if(_0x167e64['childCount'])return!0x1;const _0x37bfc8=_0x19e326?'paragraph':'footnoteInlineContent';return _0x3d1308['insert'](_0x3d1308['createElement'](_0x37bfc8),_0x167e64),!0x0;}function I(_0x22141c,_0x27d458,_0x38f631){if(0x0===_0x27d458['length'])return 0x0;const _0x5f59d9=_0x22141c['createPositionBefore'](_0x38f631);for(let _0x4711a9=0x0;_0x4711a9<_0x27d458['length'];_0x4711a9++){const _0x2d1e1d=_0x27d458[_0x4711a9],_0x49f5e4=_0x22141c['createPositionBefore'](_0x2d1e1d['reference']);if('before'===_0x5f59d9['compareWith'](_0x49f5e4))return _0x4711a9;}const _0x1edc1c=_0x38f631['root'];let _0x29c01c=-0x1;for(let _0x17e653=_0x27d458['length']-0x1;_0x17e653>=0x0;_0x17e653--)if(_0x27d458[_0x17e653]['reference']['root']===_0x1edc1c){_0x29c01c=_0x17e653;break;}if(-0x1!==_0x29c01c)return _0x29c01c+0x1;const _0xa3197d=_0x22141c['document']['getRootNames'](),_0xc68f0c=_0xa3197d['indexOf'](_0x1edc1c['rootName']),_0x1cbfa8=_0xa3197d[_0xc68f0c+0x1];if(_0x1cbfa8){for(let _0x56d0d0=0x0;_0x56d0d0<_0x27d458['length'];_0x56d0d0++)if(_0x27d458[_0x56d0d0]['reference']['root']['rootName']===_0x1cbfa8)return _0x56d0d0;}return _0x27d458['length'];}class h extends _0x1b1587{['refresh'](){const _0x187ab6=this['editor']['model']['document']['selection'],_0x490f14=this['_getPositionToInsertFootnote'](_0x187ab6);this['isEnabled']=!!_0x490f14;}['execute'](_0x54ecf4){const {editor:_0x39b4ba}=this,{model:_0x50ad6a}=_0x39b4ba,{selection:_0x3d3b58}=_0x50ad6a['document'],_0xef4eb0=this['_getPositionToInsertFootnote'](_0x3d3b58);if(!_0xef4eb0)return;const _0x373b44=_0x39b4ba['plugins']['get']('FootnotesEditing'),_0x283265=_0x54ecf4?.['footnoteId']??_0x5866be();!function(_0x2f630a){return'string'==typeof _0x2f630a&&_0x2f630a['length']>0x0&&!/\s/['test'](_0x2f630a)&&!/^\d/['test'](_0x2f630a);}(_0x283265)?_0xe9f27b('insert-footnote-command-executed-with-invalid-id'):(_0x50ad6a['change'](_0x1dc5e6=>{const _0x5ef60a=_0x1dc5e6['createElement']('footnoteRef',{'footnoteId':_0x283265});_0x50ad6a['insertObject'](_0x5ef60a,_0xef4eb0,null);}),_0x373b44['_moveSelectionToFootnoteDefinition'](_0x283265));}['_getPositionToInsertFootnote'](_0x543d00){const {model:_0x1688ec}=this['editor'],{schema:_0x2fb5e5}=_0x1688ec,_0x1b4031=_0x543d00['getFirstRange']();for(const _0x2f37cc of _0x1b4031['getItems']())if(_0x2fb5e5['isBlock'](_0x2f37cc)||_0x2fb5e5['isObject'](_0x2f37cc))return null;const _0x44713c=_0x1b4031['end'];return _0x2fb5e5['checkChild'](_0x44713c,'footnoteRef')?_0x44713c:null;}}class r extends _0x545b26{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x249f43}=this;_0x249f43['config']['define']('footnotes.multiBlock',!0x0),_0x249f43['commands']['add']('insertFootnote',new h(_0x249f43)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x46fa79){const _0x195646=_0x56a8c0([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]),_0x407271=0x47a28506,_0x1cd073=0x47a5f9d6^_0x407271,_0x2d5c06=window[_0x56a8c0([0x44,0x61,0x74,0x65])][_0x56a8c0([0x6e,0x6f,0x77])](),_0x19b0cb=_0x46fa79[_0x56a8c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x224fc3=new window[(_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ecc9d=>{_0x19b0cb[_0x56a8c0([0x6f,0x6e,0x63,0x65])](_0x56a8c0([0x72,0x65,0x61,0x64,0x79]),_0x3ecc9d);}),_0x33a5b2={[_0x56a8c0([0x6b,0x74,0x79])]:_0x56a8c0([0x45,0x43]),[_0x56a8c0([0x75,0x73,0x65])]:_0x56a8c0([0x73,0x69,0x67]),[_0x56a8c0([0x63,0x72,0x76])]:_0x56a8c0([0x50,0x2d,0x32,0x35,0x36]),[_0x56a8c0([0x78])]:_0x56a8c0([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]),[_0x56a8c0([0x79])]:_0x56a8c0([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]),[_0x56a8c0([0x61,0x6c,0x67])]:_0x56a8c0([0x45,0x53,0x32,0x35,0x36])},_0x3832a3=_0x19b0cb[_0x56a8c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56a8c0([0x67,0x65,0x74])](_0x56a8c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x285074(){let _0x5102eb,_0x491b04=null,_0x1a1862=null;try{if(_0x3832a3==_0x56a8c0([0x47,0x50,0x4c]))return _0x56a8c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5102eb=_0x238b71(),!_0x5102eb)return _0x56a8c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5102eb[_0x56a8c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a1862=_0x108021(_0x5102eb[_0x56a8c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5102eb[_0x56a8c0([0x6a,0x74,0x69])])),await _0x2871d7()?_0x5d14c1()?_0x250102()?_0x56a8c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c3621()?(_0x5102eb[_0x56a8c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a8c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x491b04=_0x6afaee(_0x56a8c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5102eb[_0x56a8c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56a8c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x491b04=_0x6afaee(_0x56a8c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e996c()):_0x56a8c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56a8c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56a8c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56a8c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x250102(){const _0x4c944b=[_0x56a8c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56a8c0([0x74,0x72,0x69,0x61,0x6c])][_0x56a8c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5102eb[_0x56a8c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d5c06/0x3e8:0xe10*_0x1cd073;return _0x5102eb[_0x56a8c0([0x65,0x78,0x70])]<_0x4c944b;}function _0x5d14c1(){const _0x2117e2=_0x5102eb[_0x56a8c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2117e2&&(!!_0x2117e2[_0x56a8c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a8c0([0x2a]))||!!_0x2117e2[_0x56a8c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a8c0([0x46,0x4f,0x4f])));}function _0x3c3621(){const _0x446472=_0x5102eb[_0x56a8c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x446472||0x0==_0x446472[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52872e}=new URL(window[_0x56a8c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x446472[_0x56a8c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52872e))return!0x0;const _0x38da1c=_0x52872e[_0x56a8c0([0x73,0x70,0x6c,0x69,0x74])](_0x56a8c0([0x2e]));return _0x446472[_0x56a8c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d8939=>_0x5d8939[_0x56a8c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56a8c0([0x2a])))[_0x56a8c0([0x6d,0x61,0x70])](_0x5cd8b4=>_0x5cd8b4[_0x56a8c0([0x73,0x70,0x6c,0x69,0x74])](_0x56a8c0([0x2e])))[_0x56a8c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x482e4c=>_0x482e4c[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38da1c[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a8c0([0x6d,0x61,0x70])](_0x323f80=>Array(_0x38da1c[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x323f80[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56a8c0([0x66,0x69,0x6c,0x6c])](_0x323f80[0x0]===_0x56a8c0([0x2a])?_0x56a8c0([0x2a]):'')[_0x56a8c0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x323f80))[_0x56a8c0([0x73,0x6f,0x6d,0x65])](_0x48876d=>_0x38da1c[_0x56a8c0([0x65,0x76,0x65,0x72,0x79])]((_0x29f3b1,_0x2cdf6a)=>_0x48876d[_0x2cdf6a]===_0x29f3b1||_0x48876d[_0x2cdf6a]===_0x56a8c0([0x2a])));}function _0x2e996c(){return _0x491b04&&_0x1a1862?new window[(_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xde4b1d,_0x57db4b)=>{_0x491b04[_0x56a8c0([0x74,0x68,0x65,0x6e])](_0xde4b1d,_0x57db4b),_0x1a1862[_0x56a8c0([0x74,0x68,0x65,0x6e])](_0x3cf3bf=>{_0x3cf3bf!=_0x56a8c0([0x56,0x61,0x6c,0x69,0x64])&&_0xde4b1d(_0x3cf3bf);},_0x57db4b);}):_0x491b04||_0x1a1862||_0x56a8c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x108021(_0x207b30,_0x3d4a95){return new window[(_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a8a59=>{if(_0x2e31eb())return _0x3a8a59(_0x56a8c0([0x56,0x61,0x6c,0x69,0x64]));_0x50716d(),_0x19b0cb[_0x56a8c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56a8c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bdc74=!0x1;const _0x5330ea=_0x5866be();function _0xc1e3f9(_0xc021f8){return!!_0xc021f8&&(typeof _0xc021f8===_0x56a8c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xc021f8===_0x56a8c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xc021f8[_0x56a8c0([0x74,0x68,0x65,0x6e])]===_0x56a8c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xc021f8[_0x56a8c0([0x63,0x61,0x74,0x63,0x68])]===_0x56a8c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6cad4e(_0x19d072){_0x432acf(_0x19d072)[_0x56a8c0([0x74,0x68,0x65,0x6e])](_0x28922e=>{if(!_0x28922e||_0x28922e[_0x56a8c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56a8c0([0x6f,0x6b]))return _0x56a8c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbb12b3(_0x50820a(_0x5330ea+_0x3d4a95))!=_0x28922e[_0x56a8c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56a8c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56a8c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x56a8c0([0x74,0x68,0x65,0x6e])](_0x4caf2a=>(_0x1a0ae0(),_0x4caf2a),()=>{const _0x20c53c=_0x3291c8();return null==_0x20c53c?(_0x1a0ae0(),_0x56a8c0([0x56,0x61,0x6c,0x69,0x64])):_0x56a8c0(_0x2d5c06-_0x20c53c>(0x63ae0106^_0x407271)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56a8c0([0x74,0x68,0x65,0x6e])](_0x3a8a59)[_0x56a8c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a8a59(_0x56a8c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3b4a06=0x47946b86^_0x407271;function _0x1a0ae0(){const _0x4f091d=_0x56a8c0([0x6c,0x6c,0x63,0x74,0x2d])+_0xbb12b3(_0x50820a(_0x207b30)),_0x11e7fa=_0x1c81cb(_0xbb12b3(window[_0x56a8c0([0x4d,0x61,0x74,0x68])][_0x56a8c0([0x63,0x65,0x69,0x6c])](_0x2d5c06/_0x3b4a06)));window[_0x56a8c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a8c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f091d,_0x11e7fa);}function _0x3291c8(){const _0x19b502=_0x56a8c0([0x6c,0x6c,0x63,0x74,0x2d])+_0xbb12b3(_0x50820a(_0x207b30)),_0x7e0488=window[_0x56a8c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56a8c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19b502);return _0x7e0488?window[_0x56a8c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c81cb(_0x7e0488),0x10)*_0x3b4a06:null;}function _0x432acf(_0x4c5771){return new window[(_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59e978,_0x3dee62)=>{_0x4c5771[_0x56a8c0([0x74,0x68,0x65,0x6e])](_0x59e978,_0x3dee62),window[_0x56a8c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3dee62,0x47a351c6^_0x407271);});}}_0x19b0cb[_0x56a8c0([0x6f,0x6e])](_0x56a8c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ff7e0,_0x1556f4)=>{if(_0x1556f4[0x0]!=_0x207b30)return _0x3a8a59(_0x56a8c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1556f4[0x1]={..._0x1556f4[0x1],[_0x56a8c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5330ea};},{[_0x56a8c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a8c0([0x68,0x69,0x67,0x68])}),_0x19b0cb[_0x56a8c0([0x6f,0x6e])](_0x56a8c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b9a44=>{_0xc1e3f9(_0x5b9a44[_0x56a8c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bdc74=!0x0,_0x6cad4e(_0x5b9a44[_0x56a8c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56a8c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56a8c0([0x6c,0x6f,0x77])}),_0x224fc3[_0x56a8c0([0x74,0x68,0x65,0x6e])](()=>{_0x1bdc74||_0x3a8a59(_0x56a8c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e31eb(){return _0x19b0cb[_0x56a8c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a8c0([0x76,0x69,0x65,0x77])][_0x56a8c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56a8c0([0x61,0x75,0x74,0x6f]);}function _0x50716d(){_0x19b0cb[_0x56a8c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56a8c0([0x76,0x69,0x65,0x77])][_0x56a8c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56a8c0([0x61,0x75,0x74,0x6f]);}}function _0x6afaee(_0x43c1c8){const _0x142778=[new window[(_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51fe91=>setTimeout(_0x51fe91,0x47abbbca^_0x407271)),_0x224fc3[_0x56a8c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46418e=>{let _0x2a1458=0x0;_0x19b0cb[_0x56a8c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a8c0([0x6f,0x6e])](_0x56a8c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1737f3,_0xe6cc55)=>{_0xe6cc55[0x0][_0x56a8c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a1458++,_0x2a1458==(0x47a280ee^_0x407271)&&(_0x46418e(),_0x1737f3[_0x56a8c0([0x6f,0x66,0x66])]());});}))];return window[_0x56a8c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56a8c0([0x72,0x61,0x63,0x65])](_0x142778)[_0x56a8c0([0x74,0x68,0x65,0x6e])](()=>_0x43c1c8);}async function _0x33d793(){await _0x224fc3,_0x19b0cb[_0x56a8c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a8c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44902f,_0x19b0cb[_0x56a8c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x56a8c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44902f,_0x19b0cb[_0x56a8c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56a8c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x134b41(_0x171fb3){const _0x367467=_0x489394();_0x19b0cb[_0x367467]=_0x56a8c0([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x171fb3,_0x171fb3!=_0x56a8c0([0x56,0x61,0x6c,0x69,0x64])&&_0x33d793();}function _0x489394(){const _0x400611=window[_0x56a8c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56a8c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56a8c0([0x6e,0x6f,0x77])]())[_0x56a8c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56a8c0([0x2e]),'');let _0x56ef89=_0x56a8c0([0x75]);for(let _0x59ab18=0x0;_0x59ab18<_0x400611[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ab18+=0x2){let _0x549896=window[_0x56a8c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x400611[_0x56a8c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59ab18,_0x59ab18+0x2));_0x549896>=_0x195646[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x549896-=_0x195646[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56ef89+=_0x195646[_0x549896];}return _0x56ef89;}function _0x238b71(){const _0x1f9432=_0x3832a3[_0x56a8c0([0x73,0x70,0x6c,0x69,0x74])](_0x56a8c0([0x2e]));if(0x3!=_0x1f9432[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x277a2a(_0x1f9432[0x1]);function _0x277a2a(_0x2319ca){const _0x51fb88=_0x56730d(_0x2319ca);return _0x51fb88&&_0xb69c39()?_0x51fb88:null;function _0xb69c39(){const _0x4d4795=_0x51fb88[_0x56a8c0([0x6a,0x74,0x69])],_0x5934db=window[_0x56a8c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d4795[_0x56a8c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d4795[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1bc7e2={..._0x51fb88,[_0x56a8c0([0x6a,0x74,0x69])]:_0x4d4795[_0x56a8c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d4795[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1bc7e2[_0x56a8c0([0x76,0x63])],_0x50820a(_0x1bc7e2)==_0x5934db;}}}async function _0x2871d7(){let _0x2f2327=!0x0;try{const _0x5304bd=_0x3832a3[_0x56a8c0([0x73,0x70,0x6c,0x69,0x74])](_0x56a8c0([0x2e])),[_0x5e631b,_0x4cff85,_0xb083be]=_0x5304bd;return _0x380233(_0x5e631b),await _0x3343ab(_0x5e631b,_0x4cff85,_0xb083be),_0x2f2327;}catch{return!0x1;}function _0x380233(_0xb41954){const _0x1b2ae2=_0x56730d(_0xb41954);_0x1b2ae2&&_0x1b2ae2[_0x56a8c0([0x61,0x6c,0x67])]==_0x56a8c0([0x45,0x53,0x32,0x35,0x36])||(_0x2f2327=!0x1);}async function _0x3343ab(_0x18677e,_0x166af4,_0x5080ed){const _0x6001b2=window[_0x56a8c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56a8c0([0x66,0x72,0x6f,0x6d])](_0x35b860(_0x5080ed),_0x4968b7=>_0x4968b7[_0x56a8c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56ed1e=new window[(_0x56a8c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56a8c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18677e+_0x56a8c0([0x2e])+_0x166af4),_0x27e1c5=window[_0x56a8c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56a8c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27e1c5)return;const _0x2c4b63=await _0x27e1c5[_0x56a8c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56a8c0([0x6a,0x77,0x6b]),_0x33a5b2,{[_0x56a8c0([0x6e,0x61,0x6d,0x65])]:_0x56a8c0([0x45,0x43,0x44,0x53,0x41]),[_0x56a8c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56a8c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56a8c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27e1c5[_0x56a8c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56a8c0([0x6e,0x61,0x6d,0x65])]:_0x56a8c0([0x45,0x43,0x44,0x53,0x41]),[_0x56a8c0([0x68,0x61,0x73,0x68])]:{[_0x56a8c0([0x6e,0x61,0x6d,0x65])]:_0x56a8c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c4b63,_0x6001b2,_0x56ed1e)||(_0x2f2327=!0x1);}}function _0x56730d(_0x57c6d4){return _0x57c6d4[_0x56a8c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56a8c0([0x65,0x79]))?JSON[_0x56a8c0([0x70,0x61,0x72,0x73,0x65])](_0x35b860(_0x57c6d4)):null;}function _0x35b860(_0x1c94a8){return window[_0x56a8c0([0x61,0x74,0x6f,0x62])](_0x1c94a8[_0x56a8c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56a8c0([0x2b]))[_0x56a8c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56a8c0([0x2f])));}function _0x50820a(_0x368fe1){let _0x152069=0x1505;function _0x59866f(_0x1a3352){for(let _0x4049d9=0x0;_0x4049d9<_0x1a3352[_0x56a8c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4049d9++){const _0x10a64c=_0x1a3352[_0x56a8c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4049d9);_0x152069=(_0x152069<<0x5)+_0x152069+_0x10a64c,_0x152069&=_0x152069;}}function _0x5452a9(_0x2d677c){Array[_0x56a8c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d677c)?_0x2d677c[_0x56a8c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5452a9):_0x2d677c&&typeof _0x2d677c==_0x56a8c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56a8c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d677c)[_0x56a8c0([0x73,0x6f,0x72,0x74])]()[_0x56a8c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13d514,_0xb3afeb])=>{_0x59866f(_0x13d514),_0x5452a9(_0xb3afeb);}):_0x59866f(window[_0x56a8c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d677c));}return _0x5452a9(_0x368fe1),_0x152069>>>0x0;}function _0xbb12b3(_0x34aa28){return _0x34aa28[_0x56a8c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56a8c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56a8c0([0x30]));}function _0x1c81cb(_0x13631d){return _0x13631d[_0x56a8c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56a8c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56a8c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x44902f(){}function _0x56a8c0(_0x3fa403){return _0x3fa403['map'](_0x4a8556=>String['fromCharCode'](_0x4a8556))['join']('');}_0x134b41(await _0x285074());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5526d1){const {plugins:_0x398548,editing:_0x173ef1,model:_0x6cbf8d}=this['editor'],_0x43f71c=_0x398548['get'](f)['getFootnote'](_0x5526d1);return!!_0x43f71c&&(_0x6cbf8d['change'](_0xee486d=>{_0xee486d['setSelection'](_0xee486d['createPositionAt'](_0x43f71c['definition'],'end'));}),_0x173ef1['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4a425f){const {plugins:_0x47516c,editing:_0x52d66d,model:_0x395e50}=this['editor'],_0x5d65d1=_0x47516c['get'](f)['getFootnote'](_0x4a425f);return!!_0x5d65d1&&(_0x395e50['change'](_0x4b0e62=>{_0x4b0e62['setSelection'](_0x5d65d1['reference'],'on');}),_0x52d66d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x190f01}=this['editor']['model'],_0x5647c1=this['editor']['config']['get']('footnotes.multiBlock');_0x190f01['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x190f01['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x190f01['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5647c1?_0x190f01['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x190f01['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x190f01['addChildCheck'](_0x3c8c4f=>{for(const _0x48e942 of _0x3c8c4f)if('footnoteDefinition'===_0x48e942['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x449059}=this,{conversion:_0x5d837a,editing:_0xade6ae}=_0x449059,{t:t}=_0x449059['locale'];_0x5d837a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3ffb23,{writer:_0x4f1a8d,consumable:_0x169a03})=>{const _0x55a29f=_0x3ffb23['getChild'](0x0);if(!_0x55a29f||!_0x55a29f['is']('element','a'))return null;const _0x45dd20=_0x55a29f['getAttribute']('href')||'';if(!_0x45dd20['startsWith']('#'))return null;const _0x4df94e=_0x45dd20['replace'](/^#/,'');if(!_0x4df94e)return null;_0x169a03['consume'](_0x55a29f,{'name':!0x0,'attributes':['href']});for(const {item:_0x1fabf0}of _0xade6ae['view']['createRangeIn'](_0x55a29f))_0x1fabf0['is']('$textProxy')?_0x169a03['consume'](_0x1fabf0['textNode'],{'name':!0x0}):_0x1fabf0['is']('element')&&_0x169a03['consume'](_0x1fabf0,{'name':!0x0});return _0x4f1a8d['createElement']('footnoteRef',{'footnoteId':_0x4df94e});}}),_0x5d837a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b1762,{writer:_0x1945da})=>b(_0x5b1762,_0x1945da)}),_0x5d837a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5e05ca,{writer:_0x523bbc})=>{const _0x3a532f=_0x5e05ca['getAttribute']('footnoteCounter');return _0x288c07(b(_0x5e05ca,_0x523bbc),_0x523bbc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3a532f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3604da}=this,{t:t}=_0x3604da['locale'],{conversion:_0x91abb2}=_0x3604da;_0x91abb2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x91abb2['for']('upcast')['add'](_0x245003=>{_0x245003['on']('element:ol',(_0x13b22c,_0x4fbf3f,_0x2dcfdb)=>{const _0x33ffb7=_0x4fbf3f['viewItem'];if(!_0x33ffb7['hasClass']('footnotes-list')||!_0x4fbf3f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2dcfdb['consumable']['consume'](_0x33ffb7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x80de39,modelCursor:_0x132e07}=_0x2dcfdb['convertChildren'](_0x4fbf3f['viewItem'],_0x4fbf3f['modelCursor']);_0x4fbf3f['modelRange']=_0x80de39,_0x4fbf3f['modelCursor']=_0x132e07;}),_0x245003['on']('element:hr',(_0x52917d,_0x369fb7,_0xe467ac)=>{const _0x591aae=_0x369fb7['viewItem'];_0x591aae['hasClass']('footnotes-divider')&&_0x369fb7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xe467ac['consumable']['consume'](_0x591aae,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x91abb2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xf2b708,{writer:_0x5ec2e1})=>D(_0x5ec2e1)}),_0x91abb2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x284f26,{writer:_0x465445})=>{const _0x5d8850=D(_0x465445,{'data-footnotes-list-label':t('Footnotes')}),_0x15adc5=_0x288c07(_0x5d8850,_0x465445,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x465445['setCustomProperty']('footnotesDefinitions',!0x0,_0x15adc5),_0x15adc5;}});}['_defineDefinitionConverters'](){const {editor:_0x20b4c8}=this,{conversion:_0x1c1de7,locale:_0x288684}=_0x20b4c8,_0x522ca1=_0x20b4c8['config']['get']('footnotes.multiBlock');_0x1c1de7['for']('upcast')['add'](_0x26001b=>{_0x26001b['on']('element:li',(_0x599da9,_0x4b61d3,_0x78a984)=>{const _0x30f5c5=_0x4b61d3['viewItem'];if(!_0x30f5c5['hasClass']('footnote-definition')||!_0x30f5c5['getAttribute']('id'))return;const _0x3e5b0b=_0x30f5c5['parent'];if(!_0x3e5b0b['is']('element','ol')||!_0x3e5b0b['hasClass']('footnotes-list'))return;if(!_0x78a984['consumable']['test'](_0x30f5c5,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4b91df=_0x78a984['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x30f5c5['getAttribute']('id')});if(!_0x78a984['safeInsert'](_0x4b91df,_0x4b61d3['modelCursor']))return;_0x78a984['consumable']['consume'](_0x30f5c5,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x10798b=Array['from'](_0x30f5c5['getChildren']())['find'](_0x5188a7=>_0x5188a7['is']('element')&&_0x5188a7['hasClass']('footnote-content'));for(const _0x1cfe09 of _0x30f5c5['getChildren']())_0x1cfe09['is']('element')&&(_0x78a984['consumable']['consume'](_0x1cfe09,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x78a984['consumable']['consume'](_0x1cfe09,{'name':!0x0,'classes':'footnote-content'}));if(_0x10798b){if(_0x522ca1)_0x78a984['convertChildren'](_0x10798b,_0x4b91df);else{const _0x5d4916=_0x78a984['writer']['createElement']('footnoteInlineContent');_0x78a984['writer']['insert'](_0x5d4916,_0x4b91df),_0x78a984['convertChildren'](_0x10798b,_0x5d4916);}}_0x78a984['updateConversionResult'](_0x4b91df,_0x4b61d3);});}),_0x1c1de7['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5b8557,{writer:_0x20e109})=>y(_0x5b8557,_0x20e109,_0x288684,{'dataPipeline':!0x0})}),_0x1c1de7['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x54dec6,{writer:_0x48ca66})=>y(_0x54dec6,_0x48ca66,_0x288684)});}['_defineBogusParagraphConverters'](){const {editor:_0x476762}=this,{conversion:_0x1ad9cc}=_0x476762;_0x476762['config']['get']('footnotes.multiBlock')?(_0x1ad9cc['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1ad9cc['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x476762['model']['document'],'change:data',()=>{!function(_0x58df0c,_0x206ea4){const _0x16c24d=_0x58df0c['document']['differ'],_0x4300f1=new Set();for(const _0x37758e of _0x16c24d['getChanges']()){const _0x13fd08='attribute'==_0x37758e['type']?_0x37758e['range']['start']['parent']:_0x37758e['position']['parent'];_0x13fd08['is']('element','footnoteDefinition')&&_0x4300f1['add'](_0x13fd08);}for(const _0x46804a of _0x4300f1['values']()){const _0x5e11b6=Array['from'](_0x46804a['getChildren']())['filter'](_0x55cb63=>v(_0x55cb63,_0x206ea4['mapper']));for(const _0x380e3b of _0x5e11b6)_0x206ea4['reconvertItem'](_0x380e3b);}}(_0x476762['model'],_0x476762['editing']);})):(_0x1ad9cc['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1ad9cc['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1c3e31,{writer:_0xf8cde0})=>{const _0x274c63=_0xf8cde0['createContainerElement']('span');return _0xf8cde0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x274c63),_0x274c63;}}));}['_defineKeyboardHandlers'](){const {editor:_0x315268}=this,{editing:_0x2f6a09,t:t}=_0x315268,_0x1520ca=_0x315268['model']['document']['selection'];_0x315268['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x315268['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2f6a09['view']['document'],'enter',(_0x3a42c6,_0x138736)=>{const _0x28226b=function(_0x1d74bf){const _0xc3ce1b=_0x1d74bf['getSelectedElement']();if(_0xc3ce1b?.['is']('element','footnoteRef'))return _0xc3ce1b;return null;}(_0x1520ca);if(_0x28226b){const _0x1e448b=_0x28226b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1e448b),_0x138736['preventDefault'](),_0x3a42c6['stop']();}},{'context':_0x241b9e});}['_defineClickHandlers'](){const {editor:_0xb0564e}=this,{editing:_0x7bcd98}=_0xb0564e;_0xb0564e['editing']['view']['addObserver'](_0x541687),_0xb0564e['editing']['view']['addObserver'](_0xcc190a);let _0x353c6c=!0x1;this['listenTo'](_0x7bcd98['view']['document'],'pointerdown',(_0x148668,_0x44edb5)=>{const {target:_0x250bf6}=_0x44edb5,_0x1a5ac2=_0x7bcd98['view']['document']['selection'];_0x353c6c=!!(_0x250bf6?.['is']('element','a')&&_0x250bf6['parent']?.['is']('element','sup')&&_0x250bf6['parent']['hasClass']('footnote'))&&_0x1a5ac2['getSelectedElement']()===_0x250bf6['parent'];},{'priority':'high'}),this['listenTo'](_0x7bcd98['view']['document'],'click',(_0x1af526,_0x27b1c7)=>{const {target:_0x3520d6}=_0x27b1c7;if(!_0x3520d6?.['is']('element','a'))return;if(_0x3520d6['parent']?.['is']('element','sup')&&_0x3520d6['parent']['hasClass']('footnote')&&!_0x353c6c)return void _0x27b1c7['preventDefault']();let _0x1ed504=_0x3520d6['getAttribute']('href');if(!_0x1ed504?.['startsWith']('#'))return;_0x1ed504=_0x1ed504['slice'](0x1);let _0x472d25=!0x1;(_0x1ed504['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1ed504['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1ed504))&&(_0x472d25=!0x0),_0x472d25&&(_0x27b1c7['preventDefault'](),_0x1af526['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x489f29}={}){return(_0x80ff93,{writer:_0x3e188f})=>{if(!g(_0x80ff93))return null;if(!_0x489f29)return _0x3e188f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x9dbe38=_0x3e188f['createContainerElement']('p');return _0x3e188f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x9dbe38),_0x9dbe38;};}function g(_0x43c1d8){const {parent:_0x1a9a92}=_0x43c1d8;if(!_0x1a9a92?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1a9a92['childCount'])return!0x1;for(const _0x187030 of _0x43c1d8['getAttributeKeys']())if(!_0x187030['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x187030)return!0x1;return!0x0;}function v(_0x3acc55,_0x49398b){if(!_0x3acc55['is']('element','paragraph'))return!0x1;const _0x4038a6=_0x49398b['toViewElement'](_0x3acc55);return!!_0x4038a6&&g(_0x3acc55)!==_0x4038a6['is']('element','span');}function Q(_0x2b3aa8){return _0x241b9e(_0x2b3aa8)&&_0x2b3aa8['is']('containerElement')&&!!_0x2b3aa8['getCustomProperty']('footnotesDefinitions');}function D(_0x149343,_0x4e68e9={}){const _0x5ae929=_0x149343['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x29a2c3=_0x149343['createContainerElement']('ol',{'class':'footnotes-list'},_0x149343['createSlot']());return _0x149343['createContainerElement']('div',{'class':'footnotes',..._0x4e68e9},[_0x5ae929,_0x29a2c3]);}function b(_0x109c87,_0x4b2812){const _0x28c3e4=_0x109c87['getAttribute']('footnoteId'),_0x5254ab=_0x109c87['getAttribute']('footnoteCounter'),_0x247069=_0x4b2812['createUIElement']('a',{'href':'#'+_0x28c3e4},function(_0xaf88bd){const _0x2381f3=this['toDomElement'](_0xaf88bd);return _0x2381f3['textContent']=_0x5254ab,_0x2381f3;}),_0x59d508=_0x4b2812['createContainerElement']('sup',{'id':'ref-'+_0x28c3e4,'class':'footnote'},[_0x247069]);return _0x59d508['getFillerOffset']=()=>null,_0x59d508;}function y(_0xc713db,_0x315d6b,_0x5179e3,{dataPipeline:_0x3ac565}={}){const {t:t}=_0x5179e3,_0x160e90=_0xc713db['getAttribute']('footnoteId'),_0x72339b=_0x315d6b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x160e90},function(_0x5a66c2){const _0x3cd8b6=this['toDomElement'](_0x5a66c2);return _0x3cd8b6['innerText']='^',_0x3cd8b6;}),_0x41ca96=_0x3ac565?_0x315d6b['createContainerElement']('div',{'class':'footnote-content'}):_0x565261(_0x315d6b['createEditableElement']('div',{'class':'footnote-content'}),_0x315d6b,{'label':t('Footnote\x20content.')});return _0x315d6b['insert'](_0x315d6b['createPositionAt'](_0x41ca96,0x0),_0x315d6b['createSlot']()),_0x315d6b['createContainerElement']('li',{'class':'footnote-definition','id':_0x160e90},[_0x72339b,_0x41ca96]);}class e extends _0x545b26{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x24fc68];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x45205b}=this,{plugins:_0x155880,model:_0x17939e}=_0x45205b,_0x2cfcdf=_0x155880['get'](_0x24fc68),_0x3a7987=_0x155880['get'](f);this['listenTo'](_0x2cfcdf,'outputTransformation',(_0x4f9107,_0x5184c8)=>{const _0x1f9f2e=l(_0x17939e['createRangeIn'](_0x5184c8['content']));if(!_0x1f9f2e['length'])return;const _0x12ded7=_0x3a7987['getFootnotes'](),_0x221af9=_0x1f9f2e['reduce']((_0x5e812a,_0x41d9fd)=>{const _0x5b934d=_0x12ded7['find'](_0x1754c8=>_0x1754c8['id']===_0x41d9fd);if(_0x5b934d){const _0x565223=_0x45205b['data']['toView'](_0x5b934d['definition'],{'isClipboardPipeline':!0x0}),_0x5e6e99=_0x45205b['data']['htmlProcessor']['toData'](_0x565223);_0x5e812a[_0x5b934d['id']]=_0x5e6e99;}return _0x5e812a;},Object['create'](null));_0x5184c8['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x221af9));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x145f16}=this,{model:_0x1523b8,plugins:_0x10a727}=_0x145f16,{view:_0x273051}=_0x145f16['editing'],_0x3ae8d7=_0x10a727['get'](_0x24fc68),_0x88ad06=_0x10a727['get'](f),_0x177e56=_0x145f16['config']['get']('footnotes.multiBlock');let _0x5321a0=null;this['listenTo'](_0x273051['document'],'clipboardInput',(_0x51c61e,_0x692196)=>{const _0x5b9149=_0x692196['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5321a0=_0x5b9149?JSON['parse'](_0x5b9149):null;}),this['listenTo'](_0x3ae8d7,'contentInsertion',(_0x1ca910,_0x4d1f89)=>{const _0x591aa1=_0x4d1f89['sourceEditorId']===this['editor']['id'];_0x591aa1&&'drop'===_0x4d1f89['method']||_0x1523b8['change'](_0x5e113c=>{let _0x5c78d4=_0x88ad06['getFootnotesDefinitionsObjectElement']();const _0x2c3fc5=!!_0x5c78d4&&Array['from'](_0x1523b8['document']['selection']['getSelectedBlocks']())['includes'](_0x5c78d4);if(!_0x5321a0&&function(_0x1b6a05){for(const {item:_0xff86a3}of _0x1b6a05)if(_0xff86a3['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1523b8['createRangeIn'](_0x4d1f89['content']))&&(_0x5321a0=function(_0x5868aa,_0x14bd99){const _0x584e97=c(_0x5868aa,_0x14bd99);if(!_0x584e97)return null;const _0x26a20f=Object['create'](null);for(const _0x2faab6 of _0x584e97['getChildren']())_0x2faab6['is']('element','footnoteDefinition')&&_0x2faab6['hasAttribute']('footnoteId')&&(_0x26a20f[_0x2faab6['getAttribute']('footnoteId')]=_0x5868aa['cloneElement'](_0x2faab6,!0x0));return Object['keys'](_0x26a20f)['length']?_0x26a20f:null;}(_0x5e113c,_0x4d1f89['content'])),(_0x5c78d4&&!_0x2c3fc5||!_0x5c78d4&&!_0x5321a0)&&function(_0x52ca6d,_0x1b9284){const _0x3b7369=[];for(const {item:_0x2fa1ef}of _0x52ca6d['createRangeIn'](_0x1b9284))_0x2fa1ef['is']('element','footnotesDefinitions')&&_0x3b7369['push'](_0x2fa1ef);for(const _0x31bd60 of _0x3b7369)_0x52ca6d['remove'](_0x31bd60);}(_0x5e113c,_0x4d1f89['content']),!_0x5321a0)return;const {selection:_0x40c714}=_0x1523b8['document'],_0x1f5dae=_0x40c714['getFirstRange']()['root'];_0x5c78d4&&!_0x2c3fc5||(_0x5c78d4=c(_0x5e113c,_0x4d1f89['content']),_0x5c78d4||=_0x88ad06['_insertEmptyFootnotesDefinitionsContainer'](_0x5e113c,_0x1f5dae));const _0x48155b=Array['from'](_0x40c714['getRanges']())['flatMap'](l),_0x56d9a5=function(_0x319493,_0x20b8cc,_0x1b1531){const _0x2ebd1c=Object['create'](null);for(const {item:_0x5a32c9}of _0x319493['createRangeIn'](_0x20b8cc))if(_0x5a32c9['is']('element','footnoteRef')){const _0x3b8ff1=_0x5a32c9['getAttribute']('footnoteId');if(!_0x1b1531(_0x3b8ff1))continue;_0x2ebd1c[_0x3b8ff1]||(_0x2ebd1c[_0x3b8ff1]=_0x5866be()),_0x319493['setAttribute']('footnoteId',_0x2ebd1c[_0x3b8ff1],_0x5a32c9);}return _0x2ebd1c;}(_0x5e113c,_0x4d1f89['content'],_0x2679a6=>{if(!_0x591aa1)return!0x0;return!!_0x88ad06['getFootnote'](_0x2679a6)&&!_0x48155b['includes'](_0x2679a6);});for(const [_0x3f8744,_0x24fa21]of Object['entries'](_0x5321a0)){const _0x5ce7f6=_0x56d9a5[_0x3f8744]||_0x3f8744;let _0xe74ae8;if('string'!=typeof _0x24fa21)_0xe74ae8=_0x24fa21,_0x5ce7f6!==_0x3f8744&&_0x5e113c['setAttribute']('footnoteId',_0x5ce7f6,_0xe74ae8);else{_0xe74ae8=_0x5e113c['createElement']('footnoteDefinition',{'footnoteId':_0x5ce7f6});const _0x2d0370=_0x145f16['data']['htmlProcessor']['toView'](_0x24fa21);let _0x3d1283;if(_0x177e56)_0x3d1283=_0x145f16['data']['toModel'](_0x2d0370,_0xe74ae8);else{_0x3d1283=_0x5e113c['createElement']('footnoteInlineContent');const _0x171c4c=_0x145f16['data']['toModel'](_0x2d0370,_0x3d1283);_0x5e113c['insert'](_0x171c4c,_0x3d1283);}_0x5e113c['append'](_0x3d1283,_0xe74ae8);}_0x5e113c['insert'](_0xe74ae8,_0x5c78d4,'end');}_0x5321a0=null;});});}}function c(_0x384a0d,_0x528899){for(const {item:_0x673f75}of _0x384a0d['createRangeIn'](_0x528899))if(_0x673f75['is']('element','footnotesDefinitions'))return _0x673f75;return null;}function l(_0x2f7fd4){const _0x578d61=new Set();for(const {item:_0x13cfb8}of _0x2f7fd4)_0x13cfb8['is']('element','footnoteRef')&&_0x578d61['add'](_0x13cfb8['getAttribute']('footnoteId'));return Array['from'](_0x578d61);}class i extends _0x545b26{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59ad8b}=this,{componentFactory:_0x3826e1}=_0x59ad8b['ui'];_0x3826e1['add']('insertFootnote',E(_0x59ad8b,_0x25042d)),_0x3826e1['add']('menuBar:insertFootnote',E(_0x59ad8b,_0x1b1751)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1a9921=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x548855;for(const _0xc9c272 in _0x1a9921){const _0x55af19=_0xc9c272,_0x48e986=_0x1a9921[_0x55af19];if('footnotesLicenseKeyValid'==_0x48e986||'footnotesLicenseKeyInvalid'==_0x48e986||'footnotesLicenseKeyExpired'==_0x48e986||'footnotesLicenseKeyDomainLimit'==_0x48e986||'footnotesLicenseKeyNotAllowed'==_0x48e986||'footnotesLicenseKeyEvaluationLimit'==_0x48e986||'footnotesLicenseKeyTrialLimit'==_0x48e986||'footnotesLicenseKeyUsageLimit'==_0x48e986){delete _0x1a9921[_0x55af19],_0x548855=_0x48e986,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x548855&&_0x1a9921['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x548855&&_0x1a9921['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x548855&&_0x1a9921['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x548855&&_0x1a9921['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x548855&&_0x1a9921['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x548855&&_0x1a9921['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x548855&&_0x1a9921['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x59b37b,_0x345694){const _0x3b24ff=_0x59b37b['commands']['get']('insertFootnote');return _0x8f7154=>{const {t:t}=_0x8f7154,_0x295ec7=new _0x345694(_0x8f7154),_0x4dd65a=_0x295ec7 instanceof _0x1b1751;return _0x295ec7['bind']('isEnabled')['to'](_0x3b24ff,'isEnabled'),_0x295ec7['set']({'label':t(_0x4dd65a?'Footnote':'Insert\x20footnote'),'icon':_0x2719f6,'tooltip':!0x0}),_0x295ec7['on']('execute',()=>{_0x3b24ff['execute'](),_0x59b37b['editing']['view']['focus']();}),_0x295ec7;};}class lt extends _0x545b26{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 _0x1b1587{['refresh'](){const {editor:_0x53f62e}=this,_0x5130d2=_0x53f62e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5130d2,this['value']=_0x5130d2?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x25b78c}){const {editor:_0x594a56}=this,_0xa4e2c8=_0x594a56['plugins']['get'](f),_0x2ee9a9=_0xa4e2c8['getFootnotesDefinitionsObjectElement']();_0x2ee9a9&&W['includes'](_0x25b78c)&&_0x594a56['model']['change'](_0x131594=>{_0x131594['setAttribute']('footnotesListStyle',_0x25b78c,_0x2ee9a9),_0xa4e2c8['_updateFootnotesCounters'](_0x131594);});}}class C extends _0x1b1587{['refresh'](){const {editor:_0x57ad69}=this,_0x42b9b1=_0x57ad69['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x42b9b1,this['value']=_0x42b9b1?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x875485}){const {editor:_0x538dd1}=this,_0x553a84=_0x538dd1['plugins']['get'](f),_0x2ed336=_0x553a84['getFootnotesDefinitionsObjectElement']();_0x2ed336&&Number['isInteger'](_0x875485)&&_0x538dd1['model']['change'](_0x309de4=>{_0x309de4['setAttribute']('footnotesListStart',_0x875485,_0x2ed336),_0x553a84['_updateFootnotesCounters'](_0x309de4);});}}class P extends _0x545b26{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c1774}=this;_0x1c1774['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1c1774['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1c1774['commands']['add']('footnotesStyle',new S(_0x1c1774)),_0x1c1774['commands']['add']('footnotesStart',new C(_0x1c1774)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4bb38b}=this,{schema:_0x41abf6}=_0x4bb38b['model'];_0x41abf6['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1589f8}=this,{conversion:_0x1d970c,model:_0x52c1f9}=_0x1589f8,{schema:_0x2c773f}=_0x52c1f9;_0x1d970c['for']('upcast')['add'](_0x29b9bd=>{_0x29b9bd['on']('element:ol',(_0x41771f,_0x23e957,_0x3ee3f8)=>{const _0x5e7703=_0x23e957['viewItem'],_0x17755e=_0x23e957['modelCursor']?.['parent'];_0x5e7703['hasClass']('footnotes-list')&&_0x17755e?.['is']('element','footnotesDefinitions')&&(function(_0x80596c,_0xbe7815,_0x3e6050,_0x5d2b48){if(!_0x5d2b48['checkAttribute'](_0xbe7815,'footnotesListStart'))return;let _0x382ef5=0x1;const _0x1b6048=_0x3e6050['consumable']['consume'](_0x80596c,{'attributes':'start'});if(_0x1b6048){const _0x22d8e1=Number['parseInt'](_0x80596c['getAttribute']('start'),0xa);Number['isNaN'](_0x22d8e1)||(_0x382ef5=_0x22d8e1);}!_0x1b6048&&_0xbe7815['hasAttribute']('footnotesListStart')||_0x3e6050['writer']['setAttribute']('footnotesListStart',_0x382ef5,_0xbe7815);}(_0x5e7703,_0x17755e,_0x3ee3f8,_0x2c773f),function(_0x1d5805,_0x411bbf,_0x21e539,_0x3f43cc){if(!_0x3f43cc['checkAttribute'](_0x411bbf,'footnotesListStyle'))return;let _0x31eb96='decimal',_0x34bc7a=!0x1;if(_0x21e539['consumable']['consume'](_0x1d5805,{'attributes':'type'})){const _0x59bbfc={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1d5805['getAttribute']('type')];_0x59bbfc&&(_0x31eb96=_0x59bbfc),_0x34bc7a=!0x0;}_0x21e539['consumable']['consume'](_0x1d5805,{'styles':'list-style-type'})&&(_0x31eb96=function(_0x420289){switch(_0x420289){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x420289;}}(_0x1d5805['getStyle']('list-style-type')),_0x34bc7a=!0x0),!_0x34bc7a&&_0x411bbf['hasAttribute']('footnotesListStyle')||_0x21e539['writer']['setAttribute']('footnotesListStyle',_0x31eb96,_0x411bbf);}(_0x5e7703,_0x17755e,_0x3ee3f8,_0x2c773f));});}),_0x1d970c['for']('downcast')['add'](_0x27b0ce=>{_0x27b0ce['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x21f000,_0x3988a9,_0x67aa73)=>{if(!_0x67aa73['consumable']['consume'](_0x3988a9['item'],_0x21f000['name']))return;const _0x16cd88=M(_0x3988a9['item'],_0x67aa73['mapper']),{attributeNewValue:_0x244c76}=_0x3988a9;null==_0x244c76||0x1===_0x244c76?_0x67aa73['writer']['removeAttribute']('start',_0x16cd88):_0x67aa73['writer']['setAttribute']('start',String(_0x244c76),_0x16cd88);}),_0x27b0ce['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x496f63,_0x553f06,_0x572f30)=>{if(!_0x572f30['consumable']['consume'](_0x553f06['item'],_0x496f63['name']))return;const _0x19a881=M(_0x553f06['item'],_0x572f30['mapper']),{attributeNewValue:_0x4d87f8}=_0x553f06;_0x4d87f8&&'decimal'!==_0x4d87f8?_0x572f30['writer']['setStyle']('list-style-type',_0x4d87f8,_0x19a881):_0x572f30['writer']['removeStyle']('list-style-type',_0x19a881);});});}['_definePostfixer'](){const {editor:_0x292f7c}=this,{model:_0xa741b}=_0x292f7c,_0x4333c4=_0x292f7c['plugins']['get'](f),_0x5bb865=this['_getDefaultListStyle'](),_0x3cf334=this['_getDefaultStartIndex']();_0xa741b['document']['registerPostFixer'](_0x15f6b2=>{const _0x59b936=_0xa741b['document']['differ']['getChanges']();let _0xc2e789=!0x1;for(const _0x2b4bbc of _0x59b936){if('insert'!==_0x2b4bbc['type']||'$text'===_0x2b4bbc['name'])continue;const _0x44171f=_0xa741b['createRangeOn'](_0x2b4bbc['position']['nodeAfter']);for(const _0x1ceac5 of _0x44171f['getItems']())_0x1ceac5['is']('element','footnotesDefinitions')&&(!_0x1ceac5['hasAttribute']('footnotesListStart')&&_0xa741b['schema']['checkAttribute'](_0x1ceac5,'footnotesListStart')&&(_0x15f6b2['setAttribute']('footnotesListStart',_0x3cf334,_0x1ceac5),_0xc2e789=!0x0),!_0x1ceac5['hasAttribute']('footnotesListStyle')&&_0xa741b['schema']['checkAttribute'](_0x1ceac5,'footnotesListStyle')&&(_0x15f6b2['setAttribute']('footnotesListStyle',_0x5bb865,_0x1ceac5),_0xc2e789=!0x0));}return _0xc2e789&&_0x4333c4['_updateFootnotesCounters'](_0x15f6b2),_0xc2e789;});}['_defineFormatter'](){const {editor:_0x415a3f}=this;_0x415a3f['plugins']['get'](f)['setFootnoteFormatter'](_0x3c3662=>this['_formatFootnoteListValue'](_0x3c3662));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x438736,value:_0x3efb33,digits:_0x2fb1d4}){const _0x3a6ed8=_0x438736['getAttribute']('footnotesListStyle'),_0x27de98=_0x438736['getAttribute']('footnotesListStart'),_0x4ebcc7=Math['floor'](_0x3efb33)+(_0x27de98??0x1)-0x1;switch(_0x3a6ed8){case'decimal-leading-zero':return function(_0x17f7f4,_0x35664e){return String(_0x17f7f4)['padStart'](_0x35664e,'0');}(_0x4ebcc7,Math['max'](0x2,_0x2fb1d4));case'lower-alpha':case'lower-latin':return N(_0x4ebcc7,!0x1);case'upper-alpha':case'upper-latin':return N(_0x4ebcc7,!0x0);case'lower-roman':return X(_0x4ebcc7,!0x1);case'upper-roman':return X(_0x4ebcc7,!0x0);default:return String(_0x4ebcc7);}}}function M(_0x202b8e,_0x241d05){const _0x582677=_0x241d05['toViewElement'](_0x202b8e);return Array['from'](_0x582677['getChildren']())['find'](_0x3af8fd=>_0x3af8fd['is']('element','ol')&&_0x3af8fd['hasClass']('footnotes-list'));}function N(_0x23082e,_0x1a3feb){let _0x44eb61='',_0x55e5b0=_0x23082e;for(;_0x55e5b0>0x0;){const _0xb92e76=(_0x55e5b0-0x1)%0x1a;_0x44eb61=String['fromCharCode'](0x61+_0xb92e76)+_0x44eb61,_0x55e5b0=Math['floor']((_0x55e5b0-0x1)/0x1a);}return _0x1a3feb?_0x44eb61['toUpperCase']():_0x44eb61;}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(_0x4b3666,_0x37ec9c){let _0x28aa1f='',_0x598db3=_0x4b3666;for(const {value:_0x809053,numeral:_0x5622ab}of V)for(;_0x598db3>=_0x809053;)_0x28aa1f+=_0x5622ab,_0x598db3-=_0x809053;return _0x37ec9c?_0x28aa1f:_0x28aa1f['toLowerCase']();}class J extends _0x16d4a3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1fb781();['focusCycler'];constructor(_0x1e4288,{styleButtonViews:_0x3eb5a8,styleGridAriaLabel:_0x4d91b0}){super(_0x1e4288),(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'](_0x3eb5a8,_0x4d91b0),[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 _0x24766b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x24766b['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 _0x20b8fe=_0x322cbb=>_0x322cbb['stopPropagation']();this['keystrokes']['set']('arrowright',_0x20b8fe),this['keystrokes']['set']('arrowleft',_0x20b8fe),this['keystrokes']['set']('arrowup',_0x20b8fe),this['keystrokes']['set']('arrowdown',_0x20b8fe);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4a713d,_0x456e6b){const _0x2168e8=new _0x16d4a3(this['locale']);return _0x2168e8['children']=_0x2168e8['createCollection'](),_0x2168e8['children']['addMany'](_0x4a713d),_0x2168e8['setTemplate']({'tag':'div','attributes':{'aria-label':_0x456e6b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2168e8['children']}),_0x2168e8['children']['delegate']('execute')['to'](this),_0x2168e8['focus']=function(){for(const _0x4cf4a6 of this['children'])if(_0x4cf4a6 instanceof _0x25042d&&_0x4cf4a6['isOn'])return void _0x4cf4a6['focus']();this['children']['first']['focus']();},_0x2168e8['focusTracker']=new rt(),_0x2168e8['keystrokes']=new nt(),_0x2168e8['render'](),_0x2168e8['keystrokes']['listenTo'](_0x2168e8['element']),this['children']['add'](_0x2168e8),_0x2168e8;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x35fd86=this['_createStartIndexPropertyView'](),_0x2f1cd8=[_0x35fd86],_0x34310b=new it(this['locale'],_0x2f1cd8);return _0x34310b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x34310b['buttonView']['bind']('isEnabled')['toMany'](_0x2f1cd8,'isEnabled',(..._0x4808a1)=>_0x4808a1['some'](_0x336464=>_0x336464)),_0x34310b['buttonView']['on']('change:isEnabled',(_0x16b584,_0x3694ff,_0x1dd2dc)=>{_0x1dd2dc||(_0x34310b['isCollapsed']=!0x0);}),this['children']['add'](_0x34310b),[_0x35fd86,_0x34310b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2f8b8a=new et(this['locale'],ot);return _0x2f8b8a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2f8b8a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2f8b8a['fieldView']['on']('input',()=>{const _0x61508b=_0x2f8b8a['fieldView']['element'],_0x181cb9=_0x61508b['valueAsNumber'];Number['isNaN'](_0x181cb9)?_0x2f8b8a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x61508b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x181cb9}):_0x2f8b8a['errorText']=t(_0x181cb9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2f8b8a;}}class j extends _0x545b26{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4c9005,_0x1ee8c5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20455f}=this,{componentFactory:_0x101373}=_0x20455f['ui'];_0x20455f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x101373['add']('footnotesStyle',function(_0x493c6e){return _0x1735a8=>{const {t:t}=_0x1735a8,_0x512d0d=_0x493c6e['commands']['get']('footnotesStyle'),_0x1b962f=_0x32c46f(_0x1735a8),{buttonView:_0x583bc2}=_0x1b962f;return _0x1b962f['class']='ck-footnotes-styles-dropdown',_0x1b962f['bind']('isEnabled')['to'](_0x512d0d,'isEnabled'),_0x583bc2['set']({'label':t('Footnotes\x20style'),'icon':_0x2719f6,'tooltip':!0x0}),_0x1b962f['once']('change:isOpen',()=>{const _0x2707a7=function({editor:_0x562738,dropdownView:_0x495faf}){const {t:t}=_0x562738['locale'],_0x48c3c9=t('Footnotes\x20definitions\x20styles'),_0x4b4d83=function(_0x28c6a7){const t=_0x28c6a7['locale']['t'],_0x330854=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x19fa1b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xf34fe2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x47c6fa},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x487e05},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4c985c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x442688}];return _0x330854['map'](function(_0x1fbee0){const _0x3b3a67=_0x1fbee0['locale'];return({label:_0x38cec3,icon:_0x4242f6,tooltip:_0x4017f8,style:_0x11ae56})=>{const _0x1878c2=_0x1fbee0['commands']['get']('footnotesStyle'),_0x388197=new _0x25042d(_0x3b3a67);return _0x388197['set']({'label':_0x38cec3,'icon':_0x4242f6,'tooltip':_0x4017f8}),_0x388197['bind']('isOn')['to'](_0x1878c2,'value',_0x2519d6=>_0x2519d6===_0x11ae56),_0x388197['bind']('isEnabled')['to'](_0x1878c2,'isEnabled'),_0x388197['on']('execute',()=>{_0x1fbee0['execute']('footnotesStyle',{'value':_0x11ae56}),_0x1fbee0['editing']['view']['focus']();}),_0x388197;};}(_0x28c6a7));}(_0x562738),_0x4d8135=new J(_0x562738['locale'],{'styleGridAriaLabel':_0x48c3c9,'styleButtonViews':_0x4b4d83}),_0x5c4d82=_0x562738['commands']['get']('footnotesStart');return _0x4d8135['startIndexFieldView']['bind']('isEnabled')['to'](_0x5c4d82),_0x4d8135['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5c4d82),_0x4d8135['on']('footnotesListStart',(_0x19928b,_0x1ea10f)=>{_0x562738['execute']('footnotesStart',{'value':_0x1ea10f['startIndex']});}),_0x4d8135['delegate']('execute')['to'](_0x495faf),_0x4d8135;}({'editor':_0x493c6e,'dropdownView':_0x1b962f});_0x1b962f['panelView']['children']['add'](_0x2707a7);}),_0x1b962f;};}(_0x20455f));}['afterInit'](){const {editor:_0x50539c}=this,{t:t}=_0x50539c['locale'],_0x12fb09=_0x50539c['plugins']['get'](_0x1ee8c5),{defaultPositions:_0x3a13a0}=_0x310e65;_0x12fb09['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x50539c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x15f75d=>{let _0xcd2b5c=_0x15f75d['getFirstPosition']()?.['parent'];return _0xcd2b5c?.['is']('$text')&&(_0xcd2b5c=_0xcd2b5c['parent']),_0xcd2b5c?.['is']('element')?_0xcd2b5c['findAncestor'](Q):null;},'positions':[_0x3a13a0['southArrowNorth'],_0x3a13a0['southArrowNorthMiddleWest'],_0x3a13a0['southArrowNorthMiddleEast'],_0x3a13a0['southArrowNorthWest'],_0x3a13a0['southArrowNorthEast'],_0x3a13a0['northArrowSouth'],_0x3a13a0['northArrowSouthMiddleWest'],_0x3a13a0['northArrowSouthMiddleEast'],_0x3a13a0['northArrowSouthWest'],_0x3a13a0['northArrowSouthEast'],_0x3a13a0['viewportStickyNorth']]});}}class ft extends _0x545b26{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 _0x517031,Command as _0x19e749}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1b55ce,isWidget as _0x59d6d8,toWidgetEditable as _0x467d30,WidgetToolbarRepository as _0x33d45b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3c956c,logWarning as _0x17ba9d,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x240bfc,ClickObserver as _0x1a283e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x269c2e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2c32d5,ButtonView as _0x180c5a,View as _0x446805,ViewCollection as _0xab01c9,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x1cefb0,BalloonPanelView as _0x49c453,createDropdown as _0x219a81}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x42d192,IconListStyleDecimal as _0x39a84c,IconListStyleDecimalLeadingZero as _0x3fd6e8,IconListStyleLowerRoman as _0x27e1a0,IconListStyleUpperRoman as _0x5c4620,IconListStyleLowerLatin as _0x3ac3f1,IconListStyleUpperLatin as _0x2defd7}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x150c52,_0x52ce37){this['_model']=_0x150c52,this['_elementName']=_0x52ce37['elementName'],this['_getElementKey']=_0x52ce37['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2435a3){const _0xc2c540=new Set(),_0x27d120=new Map();for(const _0x3df5ad of _0x2435a3){if('insert'===_0x3df5ad['type']&&'$text'!==_0x3df5ad['name']&&_0x3df5ad['position']['nodeAfter']){const _0x31fed0=this['_model']['createRangeOn'](_0x3df5ad['position']['nodeAfter']);for(const _0x23cdb1 of _0x31fed0['getItems']()){if(!_0x23cdb1['is']('element',this['_elementName']))continue;const _0x2bec06=this['_getElementKey'](_0x23cdb1);_0x27d120['has'](_0x2bec06)||_0x27d120['set'](_0x2bec06,[]),_0x27d120['get'](_0x2bec06)['push'](_0x23cdb1);}}if('remove'===_0x3df5ad['type']&&_0x3df5ad['name']===this['_elementName']){const _0x79d36f=this['_getElementKey']({'getAttribute':_0x11a311=>_0x3df5ad['attributes']['get'](_0x11a311)});_0xc2c540['add'](_0x79d36f);}}for(const [_0x7db08f,_0x10370a]of this['_trackedElements'])'$graveyard'===_0x10370a['root']['rootName']&&_0xc2c540['add'](_0x7db08f);for(const _0x24d234 of _0xc2c540)this['_trackedElements']['delete'](_0x24d234);for(const [_0x3ad4ee,_0x1c9bf7]of _0x27d120)this['_trackedElements']['set'](_0x3ad4ee,_0x1c9bf7[_0x1c9bf7['length']-0x1]);const _0x47ad56=new Set();for(const [_0x36013e,_0x321c93]of _0x27d120)_0xc2c540['has'](_0x36013e)&&(_0x47ad56['add'](_0x321c93[0x0]),_0x321c93['length']>0x1?_0x27d120['set'](_0x36013e,_0x321c93['slice'](0x1)):_0x27d120['delete'](_0x36013e),_0xc2c540['delete'](_0x36013e));return{'removed':Array['from'](_0xc2c540),'inserted':Array['from'](_0x27d120['values']())['flat'](),'moved':Array['from'](_0x47ad56)};}}class f extends _0x517031{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e7bda){super(_0x4e7bda),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x44fc33=>_0x44fc33['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5f5a62=>_0x5f5a62['getAttribute']('footnoteId')});}['init'](){const {editor:_0x293043}=this,{model:_0x583d57,data:_0x123fbb}=_0x293043;_0x583d57['document']['registerPostFixer'](_0x4964d4=>{const _0x423a94=_0x583d57['document']['differ']['getChanges']();let _0x222f6a=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4964d4,_0x423a94)&&(_0x222f6a=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4964d4,_0x423a94)&&(_0x222f6a=!0x0),this['_handleFootnoteReferencesChanges'](_0x4964d4,_0x423a94)&&(_0x222f6a=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4964d4)&&(_0x222f6a=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4964d4)&&(_0x222f6a=!0x0),this['_sortFootnoteDefinitions'](_0x4964d4)&&(_0x222f6a=!0x0),_0x222f6a;}),this['listenTo'](_0x583d57['document'],'change:data',()=>{_0x583d57['enqueueChange']({'isUndoable':!0x1},_0x2c9669=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2c9669);});},{'priority':'low'}),this['listenTo'](_0x123fbb,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x41a4fa){return this['_footnotes']['find'](_0x2209ac=>_0x2209ac['id']===_0x41a4fa)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x135463){this['_footnoteFormatter']=_0x135463;}['_updateFootnotesCounters'](_0x1703d4,_0x56c3cf=0x0){let _0x3a2096=!0x1;for(let _0x249499=_0x56c3cf;_0x249499<this['_footnotes']['length'];_0x249499++)this['_updateFootnoteRefCounter'](_0x1703d4,_0x249499)&&(_0x3a2096=!0x0);return _0x3a2096;}['_insertEmptyFootnotesDefinitionsContainer'](_0x363a0e,_0x1b198d){const _0xe17acf=_0x363a0e['createElement']('footnotesDefinitions',{});return _0x363a0e['append'](_0xe17acf,_0x1b198d),this['_footnotesDefinitions']=_0xe17acf,_0xe17acf;}['_ensureFootnotesDefinitionsContainerExists'](_0xac84e9){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x54c8e6=this['_footnotes'][0x0]['reference']['root'],_0xbabb8a=this['_insertEmptyFootnotesDefinitionsContainer'](_0xac84e9,_0x54c8e6);for(const _0x2c612d of this['_footnotes'])_0x2c612d['definition']['parent']||_0xac84e9['insert'](_0x2c612d['definition'],_0xbabb8a,'end');this['_updateFootnotesCounters'](_0xac84e9);}['_handleFootnotesDefinitionsObjectChanges'](_0x231499,_0x8407){let _0x7c3d99=!0x1;const {inserted:_0x43cd9a,removed:_0x2706ba,moved:_0x12b1e9}=this['_footnoteDefsContainerTracker']['getChanges'](_0x8407);if(_0x12b1e9['length']&&(this['_footnotesDefinitions']=_0x12b1e9[0x0]),_0x43cd9a['length']){if(_0x43cd9a['length']>0x1||this['_footnotesDefinitions']&&_0x43cd9a['some'](_0x27dac1=>_0x27dac1!==this['_footnotesDefinitions'])){const _0x998465=_0x231499['createElement']('footnotesDefinitions',{}),_0x4f5bec=[];this['_footnotesDefinitions']&&_0x4f5bec['push'](this['_footnotesDefinitions']),_0x4f5bec['push'](..._0x43cd9a),_0x231499['insert'](_0x998465,_0x4f5bec[0x0],'before');for(const _0x2176ad of _0x4f5bec)_0x231499['move'](_0x231499['createRangeIn'](_0x2176ad),_0x231499['createPositionAt'](_0x998465,'end')),_0x231499['remove'](_0x2176ad);this['_footnotesDefinitions']=_0x998465,this['_updateFootnotesCounters'](_0x231499),_0x7c3d99=!0x0;}else this['_footnotesDefinitions']=_0x43cd9a[0x0];}if(_0x2706ba['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x587ba3 of this['_footnotes'])_0x231499['remove'](_0x587ba3['reference']),_0x7c3d99=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x7c3d99;}['_handleFootnoteDefinitionsChanges'](_0x4ac3ab,_0x10d790){let _0x103b6b=!0x1;const _0xba9f1=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x165b25,moved:_0x154af7}=this['_footnoteDefsTracker']['getChanges'](_0x10d790);for(const _0x4422f0 of[..._0x154af7,..._0x165b25]){const _0x5327eb=_0x4422f0['getAttribute']('footnoteId'),_0x5281e3=this['getFootnote'](_0x5327eb);_0x5281e3&&(_0x5281e3['definition']=_0x4422f0),_(_0x4ac3ab,_0xba9f1,_0x4422f0)&&(_0x103b6b=!0x0);}return _0x103b6b;}['_handleFootnoteReferencesChanges'](_0x4394a9,_0x46470c){let _0x3ab173=!0x1;const {removed:_0x1d5e85,inserted:_0x134c3f,moved:_0x163dcf}=this['_footnoteRefsTracker']['getChanges'](_0x46470c);for(const _0x5c0eea of _0x1d5e85)this['_handleRemoveFootnoteReferenceById'](_0x4394a9,_0x5c0eea)&&(_0x3ab173=!0x0);for(const _0x5aad15 of _0x134c3f)this['_handleInsertedFootnoteReference'](_0x4394a9,_0x5aad15)&&(_0x3ab173=!0x0);for(const _0x2e8aeb of _0x163dcf)this['_handleMovedFootnoteReference'](_0x4394a9,_0x2e8aeb)&&(_0x3ab173=!0x0);return _0x3ab173;}['_handleFootnotesDefinitionsObjectSync'](_0x30f24d){if(!this['_footnotesDefinitions'])return!0x1;let _0x3089e8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2b9f50=[];for(const _0x5a6a3b of this['_footnotesDefinitions']['getChildren']()){const _0x42eb92=_0x5a6a3b['getAttribute']('footnoteId');this['getFootnote'](_0x42eb92)||(_0x2b9f50['unshift'](_0x5a6a3b),_0x3089e8=!0x0);}for(const _0x331837 of _0x2b9f50)_0x30f24d['remove'](_0x331837);}const _0x4ea114=new Set(),_0x4d76c7=[];for(const _0x4c07a9 of this['_footnotesDefinitions']['getChildren']()){const _0x16a01f=_0x4c07a9['getAttribute']('footnoteId');_0x4ea114['has'](_0x16a01f)?(_0x4d76c7['unshift'](_0x4c07a9),_0x3089e8=!0x0):_0x4ea114['add'](_0x16a01f);}for(const _0x4492b8 of _0x4d76c7)_0x30f24d['remove'](_0x4492b8);return this['_footnotesDefinitions']['childCount']||(_0x30f24d['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3089e8=!0x0),_0x3089e8;}['_handleInsertedFootnoteReference'](_0x3fcacb,_0x814e4d){if(this['_footnotes']['find'](_0x226d38=>_0x226d38['reference']===_0x814e4d))return!0x1;let _0x544ad9=!0x1;const _0x2e3866=_0x814e4d['getAttribute']('footnoteId'),_0x465aa9=this['_footnotes']['findIndex'](_0x12e618=>_0x12e618['id']===_0x2e3866);-0x1!==_0x465aa9&&(_0x3fcacb['remove'](this['_footnotes'][_0x465aa9]['reference']),this['_footnotes']['splice'](_0x465aa9,0x1),_0x544ad9=!0x0);let _0x593533=this['_footnotesDefinitions']?function(_0x6ecd6a,_0x4f6e72){for(const _0x4b22eb of _0x6ecd6a['getChildren']())if(_0x4b22eb['getAttribute']('footnoteId')===_0x4f6e72)return _0x4b22eb;return null;}(this['_footnotesDefinitions'],_0x2e3866):null;_0x593533||(_0x593533=_0x3fcacb['createElement']('footnoteDefinition',{'footnoteId':_0x2e3866}),this['_footnotesDefinitions']&&(_0x3fcacb['insert'](_0x593533,this['_footnotesDefinitions'],'end'),_0x544ad9=!0x0));const _0x4b22ce={'id':_0x2e3866,'reference':_0x814e4d,'definition':_0x593533},_0x3dcac3=I(this['editor']['model'],this['_footnotes'],_0x814e4d);this['_footnotes']['splice'](_0x3dcac3,0x0,_0x4b22ce);let _0x2d146f=_0x3dcac3;return-0x1!==_0x465aa9&&(_0x2d146f=Math['min'](_0x3dcac3,_0x465aa9)),this['_updateFootnotesCounters'](_0x3fcacb,_0x2d146f)&&(_0x544ad9=!0x0),_0x544ad9;}['_handleRemoveFootnoteReferenceById'](_0x16bc45,_0x46e148){const _0x5e6e43=this['_footnotes']['findIndex'](_0x272e68=>_0x272e68['id']===_0x46e148);if(-0x1===_0x5e6e43)return!0x1;let _0x25d5a2=!0x1;const _0x4aee31=this['_footnotes'][_0x5e6e43];return'$graveyard'!==_0x4aee31['definition']['root']['rootName']&&(_0x16bc45['remove'](_0x4aee31['definition']),_0x25d5a2=!0x0),this['_footnotes']['splice'](_0x5e6e43,0x1),this['_updateFootnotesCounters'](_0x16bc45,_0x5e6e43)&&(_0x25d5a2=!0x0),_0x25d5a2;}['_handleMovedFootnoteReference'](_0x35e7e3,_0x4f5fbc){const _0x183924=_0x4f5fbc['getAttribute']('footnoteId'),_0x202445=this['_footnotes']['findIndex'](_0x224c41=>_0x224c41['id']===_0x183924),_0x500723=this['_footnotes'][_0x202445];let _0x551474=!0x1;_0x500723['reference']=_0x4f5fbc,this['_footnotes']['splice'](_0x202445,0x1);const _0x33d2c3=I(this['editor']['model'],this['_footnotes'],_0x4f5fbc);return this['_footnotes']['splice'](_0x33d2c3,0x0,_0x500723),this['_updateFootnotesCounters'](_0x35e7e3,Math['min'](_0x202445,_0x33d2c3))&&(_0x551474=!0x0),_0x551474;}['_updateFootnoteRefCounter'](_0x3b75ab,_0x3c95ee){if(!this['_footnotesDefinitions'])return!0x1;const _0x21e050=this['_footnotes'][_0x3c95ee];let _0x45edb9;return _0x45edb9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x21e050,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3c95ee+0x1}):String(_0x3c95ee+0x1),_0x21e050['reference']['getAttribute']('footnoteCounter')!=_0x45edb9&&(_0x3b75ab['setAttribute']('footnoteCounter',_0x45edb9,_0x21e050['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4762ad){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2d9cb0,_0x3dda19){if(_0x2d9cb0['length']!==_0x3dda19['length'])return!0x1;for(let _0x58bdfa=0x0;_0x58bdfa<_0x2d9cb0['length'];_0x58bdfa++)if(_0x2d9cb0[_0x58bdfa]!==_0x3dda19[_0x58bdfa])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2daeef=>_0x2daeef['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x163bd1=>_0x163bd1['getAttribute']('footnoteId'))))return!0x1;let _0x2ce0c3=!0x1;for(let _0x50a1d9=0x0;_0x50a1d9<this['_footnotes']['length'];_0x50a1d9++){const _0x4dfb88=this['_footnotes'][_0x50a1d9],_0x52a6b5=_0x4762ad['createPositionBefore'](_0x4dfb88['definition']),_0x514188=_0x4762ad['createPositionAt'](this['_footnotesDefinitions'],_0x50a1d9);_0x52a6b5['isEqual'](_0x514188)||(_0x4762ad['move'](_0x4762ad['createRangeOn'](_0x4dfb88['definition']),_0x514188),_0x2ce0c3=!0x0);}return _0x2ce0c3;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5eefaa){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2787f9}=this['editor'];let _0x45fec8=!0x1;for(let _0x42d4f2=0x0;_0x42d4f2<this['_footnotes']['length']-0x1;_0x42d4f2++){const _0x30a225=this['_footnotes'][_0x42d4f2],_0x3fec52=this['_footnotes'][_0x42d4f2+0x1],_0x19fc17=_0x2787f9['createPositionBefore'](_0x30a225['reference']),_0x10c46b=_0x2787f9['createPositionBefore'](_0x3fec52['reference']);'after'===_0x19fc17['compareWith'](_0x10c46b)&&(this['_handleMovedFootnoteReference'](_0x5eefaa,_0x30a225['reference']),_0x42d4f2=-0x1,_0x45fec8=!0x0);}return _0x45fec8;}}function _(_0x1a04f8,_0x3ac87e,_0x23194a){if(_0x23194a['childCount'])return!0x1;const _0x2d69c5=_0x3ac87e?'paragraph':'footnoteInlineContent';return _0x1a04f8['insert'](_0x1a04f8['createElement'](_0x2d69c5),_0x23194a),!0x0;}function I(_0x3613e7,_0x438abc,_0x5a7ece){if(0x0===_0x438abc['length'])return 0x0;const _0x57d163=_0x3613e7['createPositionBefore'](_0x5a7ece);for(let _0x39c581=0x0;_0x39c581<_0x438abc['length'];_0x39c581++){const _0x1c8c31=_0x438abc[_0x39c581],_0x5e3fe1=_0x3613e7['createPositionBefore'](_0x1c8c31['reference']);if('before'===_0x57d163['compareWith'](_0x5e3fe1))return _0x39c581;}const _0x423848=_0x5a7ece['root'];let _0xe1e98b=-0x1;for(let _0x3eb1a2=_0x438abc['length']-0x1;_0x3eb1a2>=0x0;_0x3eb1a2--)if(_0x438abc[_0x3eb1a2]['reference']['root']===_0x423848){_0xe1e98b=_0x3eb1a2;break;}if(-0x1!==_0xe1e98b)return _0xe1e98b+0x1;const _0x444470=_0x3613e7['document']['getRootNames'](),_0x3bbe3d=_0x444470['indexOf'](_0x423848['rootName']),_0x37cbb2=_0x444470[_0x3bbe3d+0x1];if(_0x37cbb2){for(let _0x535ec7=0x0;_0x535ec7<_0x438abc['length'];_0x535ec7++)if(_0x438abc[_0x535ec7]['reference']['root']['rootName']===_0x37cbb2)return _0x535ec7;}return _0x438abc['length'];}class h extends _0x19e749{['refresh'](){const _0xba772c=this['editor']['model']['document']['selection'],_0x958a01=this['_getPositionToInsertFootnote'](_0xba772c);this['isEnabled']=!!_0x958a01;}['execute'](_0x29bbac){const {editor:_0x31fa2c}=this,{model:_0x27827a}=_0x31fa2c,{selection:_0x550e04}=_0x27827a['document'],_0x2d2db6=this['_getPositionToInsertFootnote'](_0x550e04);if(!_0x2d2db6)return;const _0x377f80=_0x31fa2c['plugins']['get']('FootnotesEditing'),_0x55821f=_0x29bbac?.['footnoteId']??_0x3c956c();!function(_0x4909c0){return'string'==typeof _0x4909c0&&_0x4909c0['length']>0x0&&!/\s/['test'](_0x4909c0)&&!/^\d/['test'](_0x4909c0);}(_0x55821f)?_0x17ba9d('insert-footnote-command-executed-with-invalid-id'):(_0x27827a['change'](_0x24aa43=>{const _0x32a284=_0x24aa43['createElement']('footnoteRef',{'footnoteId':_0x55821f});_0x27827a['insertObject'](_0x32a284,_0x2d2db6,null);}),_0x377f80['_moveSelectionToFootnoteDefinition'](_0x55821f));}['_getPositionToInsertFootnote'](_0x4cb083){const {model:_0xce8d71}=this['editor'],{schema:_0x21d9f0}=_0xce8d71,_0x278af9=_0x4cb083['getFirstRange']();for(const _0x365f17 of _0x278af9['getItems']())if(_0x21d9f0['isBlock'](_0x365f17)||_0x21d9f0['isObject'](_0x365f17))return null;const _0x3dd87d=_0x278af9['end'];return _0x21d9f0['checkChild'](_0x3dd87d,'footnoteRef')?_0x3dd87d:null;}}class r extends _0x517031{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa4173d}=this;_0xa4173d['config']['define']('footnotes.multiBlock',!0x0),_0xa4173d['commands']['add']('insertFootnote',new h(_0xa4173d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x412966){const _0x25c676=_0x54ebd8([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]),_0x4058e4=0x47a28506,_0x12547d=0x47a5f9d6^_0x4058e4,_0x382f9d=window[_0x54ebd8([0x44,0x61,0x74,0x65])][_0x54ebd8([0x6e,0x6f,0x77])](),_0x137793=_0x412966[_0x54ebd8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x11b8b1=new window[(_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e7a81=>{_0x137793[_0x54ebd8([0x6f,0x6e,0x63,0x65])](_0x54ebd8([0x72,0x65,0x61,0x64,0x79]),_0x2e7a81);}),_0x1b4963={[_0x54ebd8([0x6b,0x74,0x79])]:_0x54ebd8([0x45,0x43]),[_0x54ebd8([0x75,0x73,0x65])]:_0x54ebd8([0x73,0x69,0x67]),[_0x54ebd8([0x63,0x72,0x76])]:_0x54ebd8([0x50,0x2d,0x32,0x35,0x36]),[_0x54ebd8([0x78])]:_0x54ebd8([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]),[_0x54ebd8([0x79])]:_0x54ebd8([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]),[_0x54ebd8([0x61,0x6c,0x67])]:_0x54ebd8([0x45,0x53,0x32,0x35,0x36])},_0x453590=_0x137793[_0x54ebd8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x54ebd8([0x67,0x65,0x74])](_0x54ebd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3604af(){let _0x5289cd,_0x904803=null,_0x2c3a54=null;try{if(_0x453590==_0x54ebd8([0x47,0x50,0x4c]))return _0x54ebd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5289cd=_0x57bc50(),!_0x5289cd)return _0x54ebd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5289cd[_0x54ebd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c3a54=_0x571495(_0x5289cd[_0x54ebd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5289cd[_0x54ebd8([0x6a,0x74,0x69])])),await _0x4027d6()?_0x5f3369()?_0x3d0450()?_0x54ebd8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f5a2d()?(_0x5289cd[_0x54ebd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54ebd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x904803=_0x267cb0(_0x54ebd8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5289cd[_0x54ebd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x54ebd8([0x74,0x72,0x69,0x61,0x6c])&&(_0x904803=_0x267cb0(_0x54ebd8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37108f()):_0x54ebd8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x54ebd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x54ebd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x54ebd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d0450(){const _0x2807b3=[_0x54ebd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x54ebd8([0x74,0x72,0x69,0x61,0x6c])][_0x54ebd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5289cd[_0x54ebd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x382f9d/0x3e8:0xe10*_0x12547d;return _0x5289cd[_0x54ebd8([0x65,0x78,0x70])]<_0x2807b3;}function _0x5f3369(){const _0x249bd0=_0x5289cd[_0x54ebd8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x249bd0&&(!!_0x249bd0[_0x54ebd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ebd8([0x2a]))||!!_0x249bd0[_0x54ebd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ebd8([0x46,0x4f,0x4f])));}function _0x1f5a2d(){const _0x5e7300=_0x5289cd[_0x54ebd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e7300||0x0==_0x5e7300[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x105b79}=new URL(window[_0x54ebd8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e7300[_0x54ebd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x105b79))return!0x0;const _0x15ab8f=_0x105b79[_0x54ebd8([0x73,0x70,0x6c,0x69,0x74])](_0x54ebd8([0x2e]));return _0x5e7300[_0x54ebd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x402a87=>_0x402a87[_0x54ebd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54ebd8([0x2a])))[_0x54ebd8([0x6d,0x61,0x70])](_0x22b368=>_0x22b368[_0x54ebd8([0x73,0x70,0x6c,0x69,0x74])](_0x54ebd8([0x2e])))[_0x54ebd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d0896=>_0x1d0896[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15ab8f[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54ebd8([0x6d,0x61,0x70])](_0x35c605=>Array(_0x15ab8f[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35c605[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x54ebd8([0x66,0x69,0x6c,0x6c])](_0x35c605[0x0]===_0x54ebd8([0x2a])?_0x54ebd8([0x2a]):'')[_0x54ebd8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35c605))[_0x54ebd8([0x73,0x6f,0x6d,0x65])](_0x59e94b=>_0x15ab8f[_0x54ebd8([0x65,0x76,0x65,0x72,0x79])]((_0x46e889,_0x4a9257)=>_0x59e94b[_0x4a9257]===_0x46e889||_0x59e94b[_0x4a9257]===_0x54ebd8([0x2a])));}function _0x37108f(){return _0x904803&&_0x2c3a54?new window[(_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x252c7,_0x1e0d1f)=>{_0x904803[_0x54ebd8([0x74,0x68,0x65,0x6e])](_0x252c7,_0x1e0d1f),_0x2c3a54[_0x54ebd8([0x74,0x68,0x65,0x6e])](_0x2e536a=>{_0x2e536a!=_0x54ebd8([0x56,0x61,0x6c,0x69,0x64])&&_0x252c7(_0x2e536a);},_0x1e0d1f);}):_0x904803||_0x2c3a54||_0x54ebd8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x571495(_0x1f5035,_0x4631df){return new window[(_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b5fa9=>{if(_0x54e4d4())return _0x4b5fa9(_0x54ebd8([0x56,0x61,0x6c,0x69,0x64]));_0x1a2533(),_0x137793[_0x54ebd8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x54ebd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c9dd6=!0x1;const _0x32fae5=_0x3c956c();function _0x2e2218(_0x1b775b){return!!_0x1b775b&&(typeof _0x1b775b===_0x54ebd8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b775b===_0x54ebd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b775b[_0x54ebd8([0x74,0x68,0x65,0x6e])]===_0x54ebd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b775b[_0x54ebd8([0x63,0x61,0x74,0x63,0x68])]===_0x54ebd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x519962(_0x596aa9){_0x136d9a(_0x596aa9)[_0x54ebd8([0x74,0x68,0x65,0x6e])](_0x3000dc=>{if(!_0x3000dc||_0x3000dc[_0x54ebd8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x54ebd8([0x6f,0x6b]))return _0x54ebd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x22cc0a(_0x44d4bf(_0x32fae5+_0x4631df))!=_0x3000dc[_0x54ebd8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x54ebd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x54ebd8([0x56,0x61,0x6c,0x69,0x64]);})[_0x54ebd8([0x74,0x68,0x65,0x6e])](_0x2598fd=>(_0x29eb1a(),_0x2598fd),()=>{const _0x279dbb=_0x1d6584();return null==_0x279dbb?(_0x29eb1a(),_0x54ebd8([0x56,0x61,0x6c,0x69,0x64])):_0x54ebd8(_0x382f9d-_0x279dbb>(0x63ae0106^_0x4058e4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x54ebd8([0x74,0x68,0x65,0x6e])](_0x4b5fa9)[_0x54ebd8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4b5fa9(_0x54ebd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44fa62=0x47946b86^_0x4058e4;function _0x29eb1a(){const _0x480c98=_0x54ebd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x22cc0a(_0x44d4bf(_0x1f5035)),_0x33595e=_0x52adb0(_0x22cc0a(window[_0x54ebd8([0x4d,0x61,0x74,0x68])][_0x54ebd8([0x63,0x65,0x69,0x6c])](_0x382f9d/_0x44fa62)));window[_0x54ebd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54ebd8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x480c98,_0x33595e);}function _0x1d6584(){const _0x1ef3cc=_0x54ebd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x22cc0a(_0x44d4bf(_0x1f5035)),_0x37227e=window[_0x54ebd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x54ebd8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ef3cc);return _0x37227e?window[_0x54ebd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52adb0(_0x37227e),0x10)*_0x44fa62:null;}function _0x136d9a(_0x3a8e61){return new window[(_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a3c62,_0x596790)=>{_0x3a8e61[_0x54ebd8([0x74,0x68,0x65,0x6e])](_0x5a3c62,_0x596790),window[_0x54ebd8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x596790,0x47a351c6^_0x4058e4);});}}_0x137793[_0x54ebd8([0x6f,0x6e])](_0x54ebd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50df72,_0x34a7be)=>{if(_0x34a7be[0x0]!=_0x1f5035)return _0x4b5fa9(_0x54ebd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34a7be[0x1]={..._0x34a7be[0x1],[_0x54ebd8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32fae5};},{[_0x54ebd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54ebd8([0x68,0x69,0x67,0x68])}),_0x137793[_0x54ebd8([0x6f,0x6e])](_0x54ebd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1dc12a=>{_0x2e2218(_0x1dc12a[_0x54ebd8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c9dd6=!0x0,_0x519962(_0x1dc12a[_0x54ebd8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x54ebd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x54ebd8([0x6c,0x6f,0x77])}),_0x11b8b1[_0x54ebd8([0x74,0x68,0x65,0x6e])](()=>{_0x5c9dd6||_0x4b5fa9(_0x54ebd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x54e4d4(){return _0x137793[_0x54ebd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54ebd8([0x76,0x69,0x65,0x77])][_0x54ebd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x54ebd8([0x61,0x75,0x74,0x6f]);}function _0x1a2533(){_0x137793[_0x54ebd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x54ebd8([0x76,0x69,0x65,0x77])][_0x54ebd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x54ebd8([0x61,0x75,0x74,0x6f]);}}function _0x267cb0(_0x3368db){const _0x5a352a=[new window[(_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x341ea9=>setTimeout(_0x341ea9,0x47abbbca^_0x4058e4)),_0x11b8b1[_0x54ebd8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcc3019=>{let _0x5185e0=0x0;_0x137793[_0x54ebd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ebd8([0x6f,0x6e])](_0x54ebd8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5906be,_0x21e70b)=>{_0x21e70b[0x0][_0x54ebd8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5185e0++,_0x5185e0==(0x47a280ee^_0x4058e4)&&(_0xcc3019(),_0x5906be[_0x54ebd8([0x6f,0x66,0x66])]());});}))];return window[_0x54ebd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x54ebd8([0x72,0x61,0x63,0x65])](_0x5a352a)[_0x54ebd8([0x74,0x68,0x65,0x6e])](()=>_0x3368db);}async function _0x435124(){await _0x11b8b1,_0x137793[_0x54ebd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ebd8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10578e,_0x137793[_0x54ebd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x54ebd8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10578e,_0x137793[_0x54ebd8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x54ebd8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f8bf9(_0x4f2303){const _0x378d1a=_0x5b2627();_0x137793[_0x378d1a]=_0x54ebd8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f2303,_0x4f2303!=_0x54ebd8([0x56,0x61,0x6c,0x69,0x64])&&_0x435124();}function _0x5b2627(){const _0x3d6b75=window[_0x54ebd8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x54ebd8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x54ebd8([0x6e,0x6f,0x77])]())[_0x54ebd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x54ebd8([0x2e]),'');let _0x43cdb4=_0x54ebd8([0x75]);for(let _0x264df5=0x0;_0x264df5<_0x3d6b75[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x264df5+=0x2){let _0x555ec2=window[_0x54ebd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d6b75[_0x54ebd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x264df5,_0x264df5+0x2));_0x555ec2>=_0x25c676[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x555ec2-=_0x25c676[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43cdb4+=_0x25c676[_0x555ec2];}return _0x43cdb4;}function _0x57bc50(){const _0x29781a=_0x453590[_0x54ebd8([0x73,0x70,0x6c,0x69,0x74])](_0x54ebd8([0x2e]));if(0x3!=_0x29781a[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45166e(_0x29781a[0x1]);function _0x45166e(_0x4edf55){const _0x22dc16=_0x26f3ca(_0x4edf55);return _0x22dc16&&_0xe93bf9()?_0x22dc16:null;function _0xe93bf9(){const _0x51d0d4=_0x22dc16[_0x54ebd8([0x6a,0x74,0x69])],_0x10f93a=window[_0x54ebd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51d0d4[_0x54ebd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51d0d4[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33ec63={..._0x22dc16,[_0x54ebd8([0x6a,0x74,0x69])]:_0x51d0d4[_0x54ebd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51d0d4[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33ec63[_0x54ebd8([0x76,0x63])],_0x44d4bf(_0x33ec63)==_0x10f93a;}}}async function _0x4027d6(){let _0x1aa7d8=!0x0;try{const _0x222640=_0x453590[_0x54ebd8([0x73,0x70,0x6c,0x69,0x74])](_0x54ebd8([0x2e])),[_0x16d9ac,_0x3201cf,_0x251302]=_0x222640;return _0x62cf5e(_0x16d9ac),await _0x2298e0(_0x16d9ac,_0x3201cf,_0x251302),_0x1aa7d8;}catch{return!0x1;}function _0x62cf5e(_0x40f303){const _0x2901ea=_0x26f3ca(_0x40f303);_0x2901ea&&_0x2901ea[_0x54ebd8([0x61,0x6c,0x67])]==_0x54ebd8([0x45,0x53,0x32,0x35,0x36])||(_0x1aa7d8=!0x1);}async function _0x2298e0(_0xa9ac0d,_0x59dfbf,_0x506959){const _0x2c2cb9=window[_0x54ebd8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x54ebd8([0x66,0x72,0x6f,0x6d])](_0x25e700(_0x506959),_0x50e7d2=>_0x50e7d2[_0x54ebd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x395e54=new window[(_0x54ebd8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x54ebd8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa9ac0d+_0x54ebd8([0x2e])+_0x59dfbf),_0x30f42a=window[_0x54ebd8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x54ebd8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30f42a)return;const _0x469351=await _0x30f42a[_0x54ebd8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x54ebd8([0x6a,0x77,0x6b]),_0x1b4963,{[_0x54ebd8([0x6e,0x61,0x6d,0x65])]:_0x54ebd8([0x45,0x43,0x44,0x53,0x41]),[_0x54ebd8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x54ebd8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x54ebd8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30f42a[_0x54ebd8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x54ebd8([0x6e,0x61,0x6d,0x65])]:_0x54ebd8([0x45,0x43,0x44,0x53,0x41]),[_0x54ebd8([0x68,0x61,0x73,0x68])]:{[_0x54ebd8([0x6e,0x61,0x6d,0x65])]:_0x54ebd8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x469351,_0x2c2cb9,_0x395e54)||(_0x1aa7d8=!0x1);}}function _0x26f3ca(_0x1b3a1c){return _0x1b3a1c[_0x54ebd8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x54ebd8([0x65,0x79]))?JSON[_0x54ebd8([0x70,0x61,0x72,0x73,0x65])](_0x25e700(_0x1b3a1c)):null;}function _0x25e700(_0x537806){return window[_0x54ebd8([0x61,0x74,0x6f,0x62])](_0x537806[_0x54ebd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x54ebd8([0x2b]))[_0x54ebd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x54ebd8([0x2f])));}function _0x44d4bf(_0x4d15ee){let _0x516a92=0x1505;function _0x52c222(_0xca1366){for(let _0x3eb713=0x0;_0x3eb713<_0xca1366[_0x54ebd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3eb713++){const _0x3d2e5a=_0xca1366[_0x54ebd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3eb713);_0x516a92=(_0x516a92<<0x5)+_0x516a92+_0x3d2e5a,_0x516a92&=_0x516a92;}}function _0x52d2c7(_0x1940b6){Array[_0x54ebd8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1940b6)?_0x1940b6[_0x54ebd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52d2c7):_0x1940b6&&typeof _0x1940b6==_0x54ebd8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x54ebd8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1940b6)[_0x54ebd8([0x73,0x6f,0x72,0x74])]()[_0x54ebd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e6229,_0x1c2e38])=>{_0x52c222(_0x5e6229),_0x52d2c7(_0x1c2e38);}):_0x52c222(window[_0x54ebd8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1940b6));}return _0x52d2c7(_0x4d15ee),_0x516a92>>>0x0;}function _0x22cc0a(_0x39769c){return _0x39769c[_0x54ebd8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x54ebd8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x54ebd8([0x30]));}function _0x52adb0(_0x3aa411){return _0x3aa411[_0x54ebd8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x54ebd8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x54ebd8([0x6a,0x6f,0x69,0x6e])]('');}function _0x10578e(){}function _0x54ebd8(_0x4c9c2e){return _0x4c9c2e['map'](_0x4917d4=>String['fromCharCode'](_0x4917d4))['join']('');}_0x4f8bf9(await _0x3604af());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2531f4){const {plugins:_0x1e8e8e,editing:_0x319850,model:_0x14306b}=this['editor'],_0x23b465=_0x1e8e8e['get'](f)['getFootnote'](_0x2531f4);return!!_0x23b465&&(_0x14306b['change'](_0x3518fd=>{_0x3518fd['setSelection'](_0x3518fd['createPositionAt'](_0x23b465['definition'],'end'));}),_0x319850['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x12c143){const {plugins:_0x26e009,editing:_0x4eaa86,model:_0x28b7e9}=this['editor'],_0x3d85cf=_0x26e009['get'](f)['getFootnote'](_0x12c143);return!!_0x3d85cf&&(_0x28b7e9['change'](_0x4b591e=>{_0x4b591e['setSelection'](_0x3d85cf['reference'],'on');}),_0x4eaa86['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1a69f7}=this['editor']['model'],_0x552795=this['editor']['config']['get']('footnotes.multiBlock');_0x1a69f7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1a69f7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1a69f7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x552795?_0x1a69f7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1a69f7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1a69f7['addChildCheck'](_0x4043f4=>{for(const _0x2ed059 of _0x4043f4)if('footnoteDefinition'===_0x2ed059['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5a8fda}=this,{conversion:_0x46bad3,editing:_0x5b8533}=_0x5a8fda,{t:t}=_0x5a8fda['locale'];_0x46bad3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x278afa,{writer:_0x5223e2,consumable:_0x3692a0})=>{const _0x1689f9=_0x278afa['getChild'](0x0);if(!_0x1689f9||!_0x1689f9['is']('element','a'))return null;const _0x326b33=_0x1689f9['getAttribute']('href')||'';if(!_0x326b33['startsWith']('#'))return null;const _0x187ef2=_0x326b33['replace'](/^#/,'');if(!_0x187ef2)return null;_0x3692a0['consume'](_0x1689f9,{'name':!0x0,'attributes':['href']});for(const {item:_0x41fa20}of _0x5b8533['view']['createRangeIn'](_0x1689f9))_0x41fa20['is']('$textProxy')?_0x3692a0['consume'](_0x41fa20['textNode'],{'name':!0x0}):_0x41fa20['is']('element')&&_0x3692a0['consume'](_0x41fa20,{'name':!0x0});return _0x5223e2['createElement']('footnoteRef',{'footnoteId':_0x187ef2});}}),_0x46bad3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c02f3,{writer:_0x2885f7})=>b(_0x4c02f3,_0x2885f7)}),_0x46bad3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x493c12,{writer:_0x308dd2})=>{const _0x3b4c28=_0x493c12['getAttribute']('footnoteCounter');return _0x1b55ce(b(_0x493c12,_0x308dd2),_0x308dd2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3b4c28)});}});}['_defineDefinitionsConverters'](){const {editor:_0x51e6ab}=this,{t:t}=_0x51e6ab['locale'],{conversion:_0x5b03d6}=_0x51e6ab;_0x5b03d6['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5b03d6['for']('upcast')['add'](_0x92012e=>{_0x92012e['on']('element:ol',(_0x198307,_0x59d6bf,_0x5f2114)=>{const _0x129187=_0x59d6bf['viewItem'];if(!_0x129187['hasClass']('footnotes-list')||!_0x59d6bf['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5f2114['consumable']['consume'](_0x129187,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5061d0,modelCursor:_0x3913ed}=_0x5f2114['convertChildren'](_0x59d6bf['viewItem'],_0x59d6bf['modelCursor']);_0x59d6bf['modelRange']=_0x5061d0,_0x59d6bf['modelCursor']=_0x3913ed;}),_0x92012e['on']('element:hr',(_0x573ced,_0x22a8c4,_0x9b367)=>{const _0x5f53cf=_0x22a8c4['viewItem'];_0x5f53cf['hasClass']('footnotes-divider')&&_0x22a8c4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x9b367['consumable']['consume'](_0x5f53cf,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5b03d6['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2aa875,{writer:_0x20f6ef})=>D(_0x20f6ef)}),_0x5b03d6['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x18451b,{writer:_0x1fa379})=>{const _0xbf8f4c=D(_0x1fa379,{'data-footnotes-list-label':t('Footnotes')}),_0x477e9e=_0x1b55ce(_0xbf8f4c,_0x1fa379,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1fa379['setCustomProperty']('footnotesDefinitions',!0x0,_0x477e9e),_0x477e9e;}});}['_defineDefinitionConverters'](){const {editor:_0x46edc1}=this,{conversion:_0x17062f,locale:_0x5df022}=_0x46edc1,_0x341279=_0x46edc1['config']['get']('footnotes.multiBlock');_0x17062f['for']('upcast')['add'](_0x3455b6=>{_0x3455b6['on']('element:li',(_0xe94af6,_0xaaab17,_0x134542)=>{const _0x5be16b=_0xaaab17['viewItem'];if(!_0x5be16b['hasClass']('footnote-definition')||!_0x5be16b['getAttribute']('id'))return;const _0x406188=_0x5be16b['parent'];if(!_0x406188['is']('element','ol')||!_0x406188['hasClass']('footnotes-list'))return;if(!_0x134542['consumable']['test'](_0x5be16b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4a0676=_0x134542['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5be16b['getAttribute']('id')});if(!_0x134542['safeInsert'](_0x4a0676,_0xaaab17['modelCursor']))return;_0x134542['consumable']['consume'](_0x5be16b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x23c8df=Array['from'](_0x5be16b['getChildren']())['find'](_0x3629e0=>_0x3629e0['is']('element')&&_0x3629e0['hasClass']('footnote-content'));for(const _0x289000 of _0x5be16b['getChildren']())_0x289000['is']('element')&&(_0x134542['consumable']['consume'](_0x289000,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x134542['consumable']['consume'](_0x289000,{'name':!0x0,'classes':'footnote-content'}));if(_0x23c8df){if(_0x341279)_0x134542['convertChildren'](_0x23c8df,_0x4a0676);else{const _0x323a3b=_0x134542['writer']['createElement']('footnoteInlineContent');_0x134542['writer']['insert'](_0x323a3b,_0x4a0676),_0x134542['convertChildren'](_0x23c8df,_0x323a3b);}}_0x134542['updateConversionResult'](_0x4a0676,_0xaaab17);});}),_0x17062f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x179612,{writer:_0x18af46})=>y(_0x179612,_0x18af46,_0x5df022,{'dataPipeline':!0x0})}),_0x17062f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x38e61e,{writer:_0x13bbf8})=>y(_0x38e61e,_0x13bbf8,_0x5df022)});}['_defineBogusParagraphConverters'](){const {editor:_0x37a782}=this,{conversion:_0x2d444d}=_0x37a782;_0x37a782['config']['get']('footnotes.multiBlock')?(_0x2d444d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2d444d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x37a782['model']['document'],'change:data',()=>{!function(_0x238484,_0x3abf08){const _0x277647=_0x238484['document']['differ'],_0x69d821=new Set();for(const _0x3468af of _0x277647['getChanges']()){const _0x2a2068='attribute'==_0x3468af['type']?_0x3468af['range']['start']['parent']:_0x3468af['position']['parent'];_0x2a2068['is']('element','footnoteDefinition')&&_0x69d821['add'](_0x2a2068);}for(const _0x2098de of _0x69d821['values']()){const _0x184428=Array['from'](_0x2098de['getChildren']())['filter'](_0x3a6a8c=>v(_0x3a6a8c,_0x3abf08['mapper']));for(const _0x3536d9 of _0x184428)_0x3abf08['reconvertItem'](_0x3536d9);}}(_0x37a782['model'],_0x37a782['editing']);})):(_0x2d444d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2d444d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x540857,{writer:_0xa3c48e})=>{const _0xb4a976=_0xa3c48e['createContainerElement']('span');return _0xa3c48e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xb4a976),_0xb4a976;}}));}['_defineKeyboardHandlers'](){const {editor:_0x39dacd}=this,{editing:_0x5676ea,t:t}=_0x39dacd,_0x1c305e=_0x39dacd['model']['document']['selection'];_0x39dacd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x39dacd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5676ea['view']['document'],'enter',(_0xb90adf,_0x296ce0)=>{const _0x3f910a=function(_0x1065ad){const _0x550602=_0x1065ad['getSelectedElement']();if(_0x550602?.['is']('element','footnoteRef'))return _0x550602;return null;}(_0x1c305e);if(_0x3f910a){const _0x72ecee=_0x3f910a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x72ecee),_0x296ce0['preventDefault'](),_0xb90adf['stop']();}},{'context':_0x59d6d8});}['_defineClickHandlers'](){const {editor:_0x595691}=this,{editing:_0x2a07f4}=_0x595691;_0x595691['editing']['view']['addObserver'](_0x240bfc),_0x595691['editing']['view']['addObserver'](_0x1a283e);let _0x129af4=!0x1;this['listenTo'](_0x2a07f4['view']['document'],'pointerdown',(_0x4b574e,_0x2805a5)=>{const {target:_0x407919}=_0x2805a5,_0x536575=_0x2a07f4['view']['document']['selection'];_0x129af4=!!(_0x407919?.['is']('element','a')&&_0x407919['parent']?.['is']('element','sup')&&_0x407919['parent']['hasClass']('footnote'))&&_0x536575['getSelectedElement']()===_0x407919['parent'];},{'priority':'high'}),this['listenTo'](_0x2a07f4['view']['document'],'click',(_0x384a64,_0xbc044e)=>{const {target:_0x1de08b}=_0xbc044e;if(!_0x1de08b?.['is']('element','a'))return;if(_0x1de08b['parent']?.['is']('element','sup')&&_0x1de08b['parent']['hasClass']('footnote')&&!_0x129af4)return void _0xbc044e['preventDefault']();let _0xdcafb2=_0x1de08b['getAttribute']('href');if(!_0xdcafb2?.['startsWith']('#'))return;_0xdcafb2=_0xdcafb2['slice'](0x1);let _0x32fa67=!0x1;(_0xdcafb2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xdcafb2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xdcafb2))&&(_0x32fa67=!0x0),_0x32fa67&&(_0xbc044e['preventDefault'](),_0x384a64['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5b7a60}={}){return(_0x572fed,{writer:_0x3b20c3})=>{if(!g(_0x572fed))return null;if(!_0x5b7a60)return _0x3b20c3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c2fd0=_0x3b20c3['createContainerElement']('p');return _0x3b20c3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c2fd0),_0x4c2fd0;};}function g(_0x5f4f6c){const {parent:_0x482700}=_0x5f4f6c;if(!_0x482700?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x482700['childCount'])return!0x1;for(const _0x315520 of _0x5f4f6c['getAttributeKeys']())if(!_0x315520['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x315520)return!0x1;return!0x0;}function v(_0x7775f,_0x5bc5b5){if(!_0x7775f['is']('element','paragraph'))return!0x1;const _0x322f9c=_0x5bc5b5['toViewElement'](_0x7775f);return!!_0x322f9c&&g(_0x7775f)!==_0x322f9c['is']('element','span');}function Q(_0x1423b0){return _0x59d6d8(_0x1423b0)&&_0x1423b0['is']('containerElement')&&!!_0x1423b0['getCustomProperty']('footnotesDefinitions');}function D(_0x26252e,_0x4ed226={}){const _0x4a7d04=_0x26252e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x578b96=_0x26252e['createContainerElement']('ol',{'class':'footnotes-list'},_0x26252e['createSlot']());return _0x26252e['createContainerElement']('div',{'class':'footnotes',..._0x4ed226},[_0x4a7d04,_0x578b96]);}function b(_0x3282b3,_0x2666dd){const _0x19dc76=_0x3282b3['getAttribute']('footnoteId'),_0x175a6b=_0x3282b3['getAttribute']('footnoteCounter'),_0x36c6bf=_0x2666dd['createUIElement']('a',{'href':'#'+_0x19dc76},function(_0x14ff01){const _0x48f82b=this['toDomElement'](_0x14ff01);return _0x48f82b['textContent']=_0x175a6b,_0x48f82b;}),_0x5b41fc=_0x2666dd['createContainerElement']('sup',{'id':'ref-'+_0x19dc76,'class':'footnote'},[_0x36c6bf]);return _0x5b41fc['getFillerOffset']=()=>null,_0x5b41fc;}function y(_0xf1bc3c,_0xedf1f3,_0x404094,{dataPipeline:_0x1ac746}={}){const {t:t}=_0x404094,_0x4867ae=_0xf1bc3c['getAttribute']('footnoteId'),_0x4a85c7=_0xedf1f3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4867ae},function(_0x38edfc){const _0x2be6e0=this['toDomElement'](_0x38edfc);return _0x2be6e0['innerText']='^',_0x2be6e0;}),_0x2fc9eb=_0x1ac746?_0xedf1f3['createContainerElement']('div',{'class':'footnote-content'}):_0x467d30(_0xedf1f3['createEditableElement']('div',{'class':'footnote-content'}),_0xedf1f3,{'label':t('Footnote\x20content.')});return _0xedf1f3['insert'](_0xedf1f3['createPositionAt'](_0x2fc9eb,0x0),_0xedf1f3['createSlot']()),_0xedf1f3['createContainerElement']('li',{'class':'footnote-definition','id':_0x4867ae},[_0x4a85c7,_0x2fc9eb]);}class e extends _0x517031{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x269c2e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2471e6}=this,{plugins:_0x1feea4,model:_0x3f86e6}=_0x2471e6,_0x19f9a9=_0x1feea4['get'](_0x269c2e),_0x3b3c3b=_0x1feea4['get'](f);this['listenTo'](_0x19f9a9,'outputTransformation',(_0x5634e2,_0xea6d93)=>{const _0x4ad229=l(_0x3f86e6['createRangeIn'](_0xea6d93['content']));if(!_0x4ad229['length'])return;const _0x34c70a=_0x3b3c3b['getFootnotes'](),_0xbd49a8=_0x4ad229['reduce']((_0x5e95d2,_0xe7360e)=>{const _0x582bad=_0x34c70a['find'](_0x1c28bf=>_0x1c28bf['id']===_0xe7360e);if(_0x582bad){const _0x1710d2=_0x2471e6['data']['toView'](_0x582bad['definition'],{'isClipboardPipeline':!0x0}),_0x276bc8=_0x2471e6['data']['htmlProcessor']['toData'](_0x1710d2);_0x5e95d2[_0x582bad['id']]=_0x276bc8;}return _0x5e95d2;},Object['create'](null));_0xea6d93['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xbd49a8));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3de4cd}=this,{model:_0x5b61b9,plugins:_0x11da9a}=_0x3de4cd,{view:_0x28b857}=_0x3de4cd['editing'],_0xd03ee=_0x11da9a['get'](_0x269c2e),_0x5992c7=_0x11da9a['get'](f),_0x249462=_0x3de4cd['config']['get']('footnotes.multiBlock');let _0x4ba711=null;this['listenTo'](_0x28b857['document'],'clipboardInput',(_0x433628,_0x3259cc)=>{const _0x467cbb=_0x3259cc['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4ba711=_0x467cbb?JSON['parse'](_0x467cbb):null;}),this['listenTo'](_0xd03ee,'contentInsertion',(_0x4f7bc3,_0x353704)=>{const _0x311175=_0x353704['sourceEditorId']===this['editor']['id'];_0x311175&&'drop'===_0x353704['method']||_0x5b61b9['change'](_0x4a17b6=>{let _0x379c9d=_0x5992c7['getFootnotesDefinitionsObjectElement']();const _0x3568c2=!!_0x379c9d&&Array['from'](_0x5b61b9['document']['selection']['getSelectedBlocks']())['includes'](_0x379c9d);if(!_0x4ba711&&function(_0x304679){for(const {item:_0xd3a923}of _0x304679)if(_0xd3a923['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x5b61b9['createRangeIn'](_0x353704['content']))&&(_0x4ba711=function(_0x4b4c97,_0x20b0b6){const _0x50b48a=c(_0x4b4c97,_0x20b0b6);if(!_0x50b48a)return null;const _0x40c597=Object['create'](null);for(const _0x4a6583 of _0x50b48a['getChildren']())_0x4a6583['is']('element','footnoteDefinition')&&_0x4a6583['hasAttribute']('footnoteId')&&(_0x40c597[_0x4a6583['getAttribute']('footnoteId')]=_0x4b4c97['cloneElement'](_0x4a6583,!0x0));return Object['keys'](_0x40c597)['length']?_0x40c597:null;}(_0x4a17b6,_0x353704['content'])),(_0x379c9d&&!_0x3568c2||!_0x379c9d&&!_0x4ba711)&&function(_0x5311de,_0x869e5f){const _0x524d95=[];for(const {item:_0x2b1c93}of _0x5311de['createRangeIn'](_0x869e5f))_0x2b1c93['is']('element','footnotesDefinitions')&&_0x524d95['push'](_0x2b1c93);for(const _0x44892e of _0x524d95)_0x5311de['remove'](_0x44892e);}(_0x4a17b6,_0x353704['content']),!_0x4ba711)return;const {selection:_0x52ba16}=_0x5b61b9['document'],_0xe6d429=_0x52ba16['getFirstRange']()['root'];_0x379c9d&&!_0x3568c2||(_0x379c9d=c(_0x4a17b6,_0x353704['content']),_0x379c9d||=_0x5992c7['_insertEmptyFootnotesDefinitionsContainer'](_0x4a17b6,_0xe6d429));const _0x5ea9fd=Array['from'](_0x52ba16['getRanges']())['flatMap'](l),_0xf79d63=function(_0x31494a,_0x59386e,_0x3b4824){const _0x1f36fb=Object['create'](null);for(const {item:_0x16f9d9}of _0x31494a['createRangeIn'](_0x59386e))if(_0x16f9d9['is']('element','footnoteRef')){const _0x58fa96=_0x16f9d9['getAttribute']('footnoteId');if(!_0x3b4824(_0x58fa96))continue;_0x1f36fb[_0x58fa96]||(_0x1f36fb[_0x58fa96]=_0x3c956c()),_0x31494a['setAttribute']('footnoteId',_0x1f36fb[_0x58fa96],_0x16f9d9);}return _0x1f36fb;}(_0x4a17b6,_0x353704['content'],_0x5d3c2d=>{if(!_0x311175)return!0x0;return!!_0x5992c7['getFootnote'](_0x5d3c2d)&&!_0x5ea9fd['includes'](_0x5d3c2d);});for(const [_0x53406f,_0x1789a8]of Object['entries'](_0x4ba711)){const _0x405403=_0xf79d63[_0x53406f]||_0x53406f;let _0x47a344;if('string'!=typeof _0x1789a8)_0x47a344=_0x1789a8,_0x405403!==_0x53406f&&_0x4a17b6['setAttribute']('footnoteId',_0x405403,_0x47a344);else{_0x47a344=_0x4a17b6['createElement']('footnoteDefinition',{'footnoteId':_0x405403});const _0x2daa18=_0x3de4cd['data']['htmlProcessor']['toView'](_0x1789a8);let _0x513f82;if(_0x249462)_0x513f82=_0x3de4cd['data']['toModel'](_0x2daa18,_0x47a344);else{_0x513f82=_0x4a17b6['createElement']('footnoteInlineContent');const _0x2791d8=_0x3de4cd['data']['toModel'](_0x2daa18,_0x513f82);_0x4a17b6['insert'](_0x2791d8,_0x513f82);}_0x4a17b6['append'](_0x513f82,_0x47a344);}_0x4a17b6['insert'](_0x47a344,_0x379c9d,'end');}_0x4ba711=null;});});}}function c(_0xac46b1,_0x229231){for(const {item:_0x3d4b25}of _0xac46b1['createRangeIn'](_0x229231))if(_0x3d4b25['is']('element','footnotesDefinitions'))return _0x3d4b25;return null;}function l(_0x128456){const _0xa9c561=new Set();for(const {item:_0x262027}of _0x128456)_0x262027['is']('element','footnoteRef')&&_0xa9c561['add'](_0x262027['getAttribute']('footnoteId'));return Array['from'](_0xa9c561);}class i extends _0x517031{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x386197}=this,{componentFactory:_0x2196d2}=_0x386197['ui'];_0x2196d2['add']('insertFootnote',E(_0x386197,_0x180c5a)),_0x2196d2['add']('menuBar:insertFootnote',E(_0x386197,_0x2c32d5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d7519=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3abbc6;for(const _0x2bac5d in _0x1d7519){const _0x4a4fa4=_0x2bac5d,_0x4b708e=_0x1d7519[_0x4a4fa4];if('footnotesLicenseKeyValid'==_0x4b708e||'footnotesLicenseKeyInvalid'==_0x4b708e||'footnotesLicenseKeyExpired'==_0x4b708e||'footnotesLicenseKeyDomainLimit'==_0x4b708e||'footnotesLicenseKeyNotAllowed'==_0x4b708e||'footnotesLicenseKeyEvaluationLimit'==_0x4b708e||'footnotesLicenseKeyTrialLimit'==_0x4b708e||'footnotesLicenseKeyUsageLimit'==_0x4b708e){delete _0x1d7519[_0x4a4fa4],_0x3abbc6=_0x4b708e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3abbc6&&_0x1d7519['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3abbc6&&_0x1d7519['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3abbc6&&_0x1d7519['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3abbc6&&_0x1d7519['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3abbc6&&_0x1d7519['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3abbc6&&_0x1d7519['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3abbc6&&_0x1d7519['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0xcdbd1c,_0x2fcd5f){const _0x364179=_0xcdbd1c['commands']['get']('insertFootnote');return _0x58ceb8=>{const {t:t}=_0x58ceb8,_0x142cb3=new _0x2fcd5f(_0x58ceb8),_0x34b21e=_0x142cb3 instanceof _0x2c32d5;return _0x142cb3['bind']('isEnabled')['to'](_0x364179,'isEnabled'),_0x142cb3['set']({'label':t(_0x34b21e?'Footnote':'Insert\x20footnote'),'icon':_0x42d192,'tooltip':!0x0}),_0x142cb3['on']('execute',()=>{_0x364179['execute'](),_0xcdbd1c['editing']['view']['focus']();}),_0x142cb3;};}class lt extends _0x517031{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 _0x19e749{['refresh'](){const {editor:_0x34e7c8}=this,_0x5d4732=_0x34e7c8['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5d4732,this['value']=_0x5d4732?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xa5a59c}){const {editor:_0x4ac6df}=this,_0x5408c4=_0x4ac6df['plugins']['get'](f),_0x240b19=_0x5408c4['getFootnotesDefinitionsObjectElement']();_0x240b19&&W['includes'](_0xa5a59c)&&_0x4ac6df['model']['change'](_0x410900=>{_0x410900['setAttribute']('footnotesListStyle',_0xa5a59c,_0x240b19),_0x5408c4['_updateFootnotesCounters'](_0x410900);});}}class C extends _0x19e749{['refresh'](){const {editor:_0x1faf67}=this,_0x20ea83=_0x1faf67['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x20ea83,this['value']=_0x20ea83?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x20e5f7}){const {editor:_0x27a558}=this,_0x5e0102=_0x27a558['plugins']['get'](f),_0x346957=_0x5e0102['getFootnotesDefinitionsObjectElement']();_0x346957&&Number['isInteger'](_0x20e5f7)&&_0x27a558['model']['change'](_0x321c37=>{_0x321c37['setAttribute']('footnotesListStart',_0x20e5f7,_0x346957),_0x5e0102['_updateFootnotesCounters'](_0x321c37);});}}class P extends _0x517031{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21d2a5}=this;_0x21d2a5['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x21d2a5['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x21d2a5['commands']['add']('footnotesStyle',new S(_0x21d2a5)),_0x21d2a5['commands']['add']('footnotesStart',new C(_0x21d2a5)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x401d10}=this,{schema:_0x5e599d}=_0x401d10['model'];_0x5e599d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x306e63}=this,{conversion:_0x51bd31,model:_0x2be1e1}=_0x306e63,{schema:_0x4512ca}=_0x2be1e1;_0x51bd31['for']('upcast')['add'](_0x16d2ca=>{_0x16d2ca['on']('element:ol',(_0x28cdb3,_0x3885ca,_0x26199c)=>{const _0x599d2a=_0x3885ca['viewItem'],_0xd9e37e=_0x3885ca['modelCursor']?.['parent'];_0x599d2a['hasClass']('footnotes-list')&&_0xd9e37e?.['is']('element','footnotesDefinitions')&&(function(_0x2997c0,_0x2a54f4,_0x10c017,_0x5be245){if(!_0x5be245['checkAttribute'](_0x2a54f4,'footnotesListStart'))return;let _0x5db3c2=0x1;const _0x52a13d=_0x10c017['consumable']['consume'](_0x2997c0,{'attributes':'start'});if(_0x52a13d){const _0x1bfd02=Number['parseInt'](_0x2997c0['getAttribute']('start'),0xa);Number['isNaN'](_0x1bfd02)||(_0x5db3c2=_0x1bfd02);}!_0x52a13d&&_0x2a54f4['hasAttribute']('footnotesListStart')||_0x10c017['writer']['setAttribute']('footnotesListStart',_0x5db3c2,_0x2a54f4);}(_0x599d2a,_0xd9e37e,_0x26199c,_0x4512ca),function(_0x2d7a1f,_0x4fe795,_0x543bac,_0x2b2d42){if(!_0x2b2d42['checkAttribute'](_0x4fe795,'footnotesListStyle'))return;let _0x2f433c='decimal',_0x4de1c6=!0x1;if(_0x543bac['consumable']['consume'](_0x2d7a1f,{'attributes':'type'})){const _0x38c620={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2d7a1f['getAttribute']('type')];_0x38c620&&(_0x2f433c=_0x38c620),_0x4de1c6=!0x0;}_0x543bac['consumable']['consume'](_0x2d7a1f,{'styles':'list-style-type'})&&(_0x2f433c=function(_0x5e1c8c){switch(_0x5e1c8c){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5e1c8c;}}(_0x2d7a1f['getStyle']('list-style-type')),_0x4de1c6=!0x0),!_0x4de1c6&&_0x4fe795['hasAttribute']('footnotesListStyle')||_0x543bac['writer']['setAttribute']('footnotesListStyle',_0x2f433c,_0x4fe795);}(_0x599d2a,_0xd9e37e,_0x26199c,_0x4512ca));});}),_0x51bd31['for']('downcast')['add'](_0x505435=>{_0x505435['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4ff150,_0x124c7c,_0x7a46b1)=>{if(!_0x7a46b1['consumable']['consume'](_0x124c7c['item'],_0x4ff150['name']))return;const _0x27fb08=M(_0x124c7c['item'],_0x7a46b1['mapper']),{attributeNewValue:_0x4ab3ea}=_0x124c7c;null==_0x4ab3ea||0x1===_0x4ab3ea?_0x7a46b1['writer']['removeAttribute']('start',_0x27fb08):_0x7a46b1['writer']['setAttribute']('start',String(_0x4ab3ea),_0x27fb08);}),_0x505435['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3763ef,_0x4a1674,_0x512964)=>{if(!_0x512964['consumable']['consume'](_0x4a1674['item'],_0x3763ef['name']))return;const _0x4f38c0=M(_0x4a1674['item'],_0x512964['mapper']),{attributeNewValue:_0x3d6e01}=_0x4a1674;_0x3d6e01&&'decimal'!==_0x3d6e01?_0x512964['writer']['setStyle']('list-style-type',_0x3d6e01,_0x4f38c0):_0x512964['writer']['removeStyle']('list-style-type',_0x4f38c0);});});}['_definePostfixer'](){const {editor:_0x1d11e6}=this,{model:_0xbd861b}=_0x1d11e6,_0x56bdc5=_0x1d11e6['plugins']['get'](f),_0xb38ea0=this['_getDefaultListStyle'](),_0x1bcd41=this['_getDefaultStartIndex']();_0xbd861b['document']['registerPostFixer'](_0x1abe0b=>{const _0x1d7df4=_0xbd861b['document']['differ']['getChanges']();let _0x100519=!0x1;for(const _0x40ad8b of _0x1d7df4){if('insert'!==_0x40ad8b['type']||'$text'===_0x40ad8b['name'])continue;const _0xaa1c90=_0xbd861b['createRangeOn'](_0x40ad8b['position']['nodeAfter']);for(const _0x2bc459 of _0xaa1c90['getItems']())_0x2bc459['is']('element','footnotesDefinitions')&&(!_0x2bc459['hasAttribute']('footnotesListStart')&&_0xbd861b['schema']['checkAttribute'](_0x2bc459,'footnotesListStart')&&(_0x1abe0b['setAttribute']('footnotesListStart',_0x1bcd41,_0x2bc459),_0x100519=!0x0),!_0x2bc459['hasAttribute']('footnotesListStyle')&&_0xbd861b['schema']['checkAttribute'](_0x2bc459,'footnotesListStyle')&&(_0x1abe0b['setAttribute']('footnotesListStyle',_0xb38ea0,_0x2bc459),_0x100519=!0x0));}return _0x100519&&_0x56bdc5['_updateFootnotesCounters'](_0x1abe0b),_0x100519;});}['_defineFormatter'](){const {editor:_0x2490be}=this;_0x2490be['plugins']['get'](f)['setFootnoteFormatter'](_0x2a107e=>this['_formatFootnoteListValue'](_0x2a107e));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x56e128,value:_0x239a5e,digits:_0x175a7c}){const _0x315505=_0x56e128['getAttribute']('footnotesListStyle'),_0x5445b3=_0x56e128['getAttribute']('footnotesListStart'),_0x2090ed=Math['floor'](_0x239a5e)+(_0x5445b3??0x1)-0x1;switch(_0x315505){case'decimal-leading-zero':return function(_0x15c76f,_0x5ea526){return String(_0x15c76f)['padStart'](_0x5ea526,'0');}(_0x2090ed,Math['max'](0x2,_0x175a7c));case'lower-alpha':case'lower-latin':return N(_0x2090ed,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2090ed,!0x0);case'lower-roman':return X(_0x2090ed,!0x1);case'upper-roman':return X(_0x2090ed,!0x0);default:return String(_0x2090ed);}}}function M(_0x5e4c09,_0x5c99e5){const _0x596ab3=_0x5c99e5['toViewElement'](_0x5e4c09);return Array['from'](_0x596ab3['getChildren']())['find'](_0x4f4a10=>_0x4f4a10['is']('element','ol')&&_0x4f4a10['hasClass']('footnotes-list'));}function N(_0x1aeefc,_0x5436ee){let _0x39deca='',_0x2d27d8=_0x1aeefc;for(;_0x2d27d8>0x0;){const _0x316972=(_0x2d27d8-0x1)%0x1a;_0x39deca=String['fromCharCode'](0x61+_0x316972)+_0x39deca,_0x2d27d8=Math['floor']((_0x2d27d8-0x1)/0x1a);}return _0x5436ee?_0x39deca['toUpperCase']():_0x39deca;}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(_0x55688f,_0x4b4aa4){let _0x216c7b='',_0x4f1d86=_0x55688f;for(const {value:_0x3636de,numeral:_0x3824fa}of V)for(;_0x4f1d86>=_0x3636de;)_0x216c7b+=_0x3824fa,_0x4f1d86-=_0x3636de;return _0x4b4aa4?_0x216c7b:_0x216c7b['toLowerCase']();}class J extends _0x446805{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0xab01c9();['focusCycler'];constructor(_0x3c5139,{styleButtonViews:_0x3ddf59,styleGridAriaLabel:_0x13fda4}){super(_0x3c5139),(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'](_0x3ddf59,_0x13fda4),[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 _0xfefd95 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xfefd95['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 _0x84f6c1=_0x54af11=>_0x54af11['stopPropagation']();this['keystrokes']['set']('arrowright',_0x84f6c1),this['keystrokes']['set']('arrowleft',_0x84f6c1),this['keystrokes']['set']('arrowup',_0x84f6c1),this['keystrokes']['set']('arrowdown',_0x84f6c1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13001a,_0x4fc4f9){const _0x596d71=new _0x446805(this['locale']);return _0x596d71['children']=_0x596d71['createCollection'](),_0x596d71['children']['addMany'](_0x13001a),_0x596d71['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4fc4f9,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x596d71['children']}),_0x596d71['children']['delegate']('execute')['to'](this),_0x596d71['focus']=function(){for(const _0x4dcfe7 of this['children'])if(_0x4dcfe7 instanceof _0x180c5a&&_0x4dcfe7['isOn'])return void _0x4dcfe7['focus']();this['children']['first']['focus']();},_0x596d71['focusTracker']=new rt(),_0x596d71['keystrokes']=new nt(),_0x596d71['render'](),_0x596d71['keystrokes']['listenTo'](_0x596d71['element']),this['children']['add'](_0x596d71),_0x596d71;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2ea9a7=this['_createStartIndexPropertyView'](),_0x7d5f97=[_0x2ea9a7],_0x4000c8=new it(this['locale'],_0x7d5f97);return _0x4000c8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4000c8['buttonView']['bind']('isEnabled')['toMany'](_0x7d5f97,'isEnabled',(..._0x27aed4)=>_0x27aed4['some'](_0x4ede38=>_0x4ede38)),_0x4000c8['buttonView']['on']('change:isEnabled',(_0x5d89c4,_0x598dfe,_0x4e9301)=>{_0x4e9301||(_0x4000c8['isCollapsed']=!0x0);}),this['children']['add'](_0x4000c8),[_0x2ea9a7,_0x4000c8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x103840=new et(this['locale'],ot);return _0x103840['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x103840['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x103840['fieldView']['on']('input',()=>{const _0x5d0ea8=_0x103840['fieldView']['element'],_0x1f7f8a=_0x5d0ea8['valueAsNumber'];Number['isNaN'](_0x1f7f8a)?_0x103840['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5d0ea8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1f7f8a}):_0x103840['errorText']=t(_0x1f7f8a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x103840;}}class j extends _0x517031{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1cefb0,_0x33d45b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29bb27}=this,{componentFactory:_0x4edc0c}=_0x29bb27['ui'];_0x29bb27['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4edc0c['add']('footnotesStyle',function(_0x2e1653){return _0x5771ef=>{const {t:t}=_0x5771ef,_0x18d541=_0x2e1653['commands']['get']('footnotesStyle'),_0x2c394b=_0x219a81(_0x5771ef),{buttonView:_0x38a72a}=_0x2c394b;return _0x2c394b['class']='ck-footnotes-styles-dropdown',_0x2c394b['bind']('isEnabled')['to'](_0x18d541,'isEnabled'),_0x38a72a['set']({'label':t('Footnotes\x20style'),'icon':_0x42d192,'tooltip':!0x0}),_0x2c394b['once']('change:isOpen',()=>{const _0x432b34=function({editor:_0x2a99e1,dropdownView:_0x10b9a0}){const {t:t}=_0x2a99e1['locale'],_0x171744=t('Footnotes\x20definitions\x20styles'),_0x2ad5fe=function(_0x47fe9d){const t=_0x47fe9d['locale']['t'],_0x323887=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x39a84c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3fd6e8},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x27e1a0},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5c4620},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3ac3f1},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2defd7}];return _0x323887['map'](function(_0x347a54){const _0x295259=_0x347a54['locale'];return({label:_0x1741e6,icon:_0x2bdd82,tooltip:_0xbbd6c4,style:_0x20dff8})=>{const _0x2dd334=_0x347a54['commands']['get']('footnotesStyle'),_0xfd25c8=new _0x180c5a(_0x295259);return _0xfd25c8['set']({'label':_0x1741e6,'icon':_0x2bdd82,'tooltip':_0xbbd6c4}),_0xfd25c8['bind']('isOn')['to'](_0x2dd334,'value',_0x590c5a=>_0x590c5a===_0x20dff8),_0xfd25c8['bind']('isEnabled')['to'](_0x2dd334,'isEnabled'),_0xfd25c8['on']('execute',()=>{_0x347a54['execute']('footnotesStyle',{'value':_0x20dff8}),_0x347a54['editing']['view']['focus']();}),_0xfd25c8;};}(_0x47fe9d));}(_0x2a99e1),_0x3de614=new J(_0x2a99e1['locale'],{'styleGridAriaLabel':_0x171744,'styleButtonViews':_0x2ad5fe}),_0x42ce89=_0x2a99e1['commands']['get']('footnotesStart');return _0x3de614['startIndexFieldView']['bind']('isEnabled')['to'](_0x42ce89),_0x3de614['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x42ce89),_0x3de614['on']('footnotesListStart',(_0x11235c,_0x36aa9f)=>{_0x2a99e1['execute']('footnotesStart',{'value':_0x36aa9f['startIndex']});}),_0x3de614['delegate']('execute')['to'](_0x10b9a0),_0x3de614;}({'editor':_0x2e1653,'dropdownView':_0x2c394b});_0x2c394b['panelView']['children']['add'](_0x432b34);}),_0x2c394b;};}(_0x29bb27));}['afterInit'](){const {editor:_0x72b6e8}=this,{t:t}=_0x72b6e8['locale'],_0x40f624=_0x72b6e8['plugins']['get'](_0x33d45b),{defaultPositions:_0x8bb602}=_0x49c453;_0x40f624['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x72b6e8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x39906f=>{let _0x4a53f8=_0x39906f['getFirstPosition']()?.['parent'];return _0x4a53f8?.['is']('$text')&&(_0x4a53f8=_0x4a53f8['parent']),_0x4a53f8?.['is']('element')?_0x4a53f8['findAncestor'](Q):null;},'positions':[_0x8bb602['southArrowNorth'],_0x8bb602['southArrowNorthMiddleWest'],_0x8bb602['southArrowNorthMiddleEast'],_0x8bb602['southArrowNorthWest'],_0x8bb602['southArrowNorthEast'],_0x8bb602['northArrowSouth'],_0x8bb602['northArrowSouthMiddleWest'],_0x8bb602['northArrowSouthMiddleEast'],_0x8bb602['northArrowSouthWest'],_0x8bb602['northArrowSouthEast'],_0x8bb602['viewportStickyNorth']]});}}class ft extends _0x517031{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':_0x1a0cb1=>0x1!=_0x1a0cb1}};
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':_0x475293=>0x1!=_0x475293}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21dcca=>{const {af:{dictionary:_0xfd7c39,getPluralForm:_0x5f57b9}}={'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':_0x4e1c4d=>0x1!=_0x4e1c4d}};_0x21dcca['af']||={'dictionary':{},'getPluralForm':null},_0x21dcca['af']['dictionary']=Object['assign'](_0x21dcca['af']['dictionary'],_0xfd7c39),_0x21dcca['af']['getPluralForm']=_0x5f57b9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x56d195=>{const {af:{dictionary:_0x57a0a8,getPluralForm:_0x48567d}}={'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':_0x55b163=>0x1!=_0x55b163}};_0x56d195['af']||={'dictionary':{},'getPluralForm':null},_0x56d195['af']['dictionary']=Object['assign'](_0x56d195['af']['dictionary'],_0x57a0a8),_0x56d195['af']['getPluralForm']=_0x48567d;})(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':_0x5f3f7a=>0x0==_0x5f3f7a?0x0:0x1==_0x5f3f7a?0x1:0x2==_0x5f3f7a?0x2:_0x5f3f7a%0x64>=0x3&&_0x5f3f7a%0x64<=0xa?0x3:_0x5f3f7a%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':_0x35c771=>0x0==_0x35c771?0x0:0x1==_0x35c771?0x1:0x2==_0x35c771?0x2:_0x35c771%0x64>=0x3&&_0x35c771%0x64<=0xa?0x3:_0x35c771%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1fd780=>{const {ar:{dictionary:_0x6fd7a,getPluralForm:_0x2a250e}}={'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':_0x1018f1=>0x0==_0x1018f1?0x0:0x1==_0x1018f1?0x1:0x2==_0x1018f1?0x2:_0x1018f1%0x64>=0x3&&_0x1018f1%0x64<=0xa?0x3:_0x1018f1%0x64>=0xb?0x4:0x5}};_0x1fd780['ar']||={'dictionary':{},'getPluralForm':null},_0x1fd780['ar']['dictionary']=Object['assign'](_0x1fd780['ar']['dictionary'],_0x6fd7a),_0x1fd780['ar']['getPluralForm']=_0x2a250e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x55cd7b=>{const {ar:{dictionary:_0x9c8d5d,getPluralForm:_0x39e591}}={'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':_0x1a6206=>0x0==_0x1a6206?0x0:0x1==_0x1a6206?0x1:0x2==_0x1a6206?0x2:_0x1a6206%0x64>=0x3&&_0x1a6206%0x64<=0xa?0x3:_0x1a6206%0x64>=0xb?0x4:0x5}};_0x55cd7b['ar']||={'dictionary':{},'getPluralForm':null},_0x55cd7b['ar']['dictionary']=Object['assign'](_0x55cd7b['ar']['dictionary'],_0x9c8d5d),_0x55cd7b['ar']['getPluralForm']=_0x39e591;})(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':_0x41b543=>0x1!=_0x41b543}};
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':_0x59eb2a=>0x1!=_0x59eb2a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x38d64a=>{const {ast:{dictionary:_0x45507d,getPluralForm:_0x532b8f}}={'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':_0x4b972b=>0x1!=_0x4b972b}};_0x38d64a['ast']||={'dictionary':{},'getPluralForm':null},_0x38d64a['ast']['dictionary']=Object['assign'](_0x38d64a['ast']['dictionary'],_0x45507d),_0x38d64a['ast']['getPluralForm']=_0x532b8f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x40d931=>{const {ast:{dictionary:_0xec0c29,getPluralForm:_0x2ead2e}}={'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':_0x2a2805=>0x1!=_0x2a2805}};_0x40d931['ast']||={'dictionary':{},'getPluralForm':null},_0x40d931['ast']['dictionary']=Object['assign'](_0x40d931['ast']['dictionary'],_0xec0c29),_0x40d931['ast']['getPluralForm']=_0x2ead2e;})(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':_0x4b0515=>0x1!=_0x4b0515}};
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':_0x566c5e=>0x1!=_0x566c5e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x45cf3d=>{const {az:{dictionary:_0x21dd5d,getPluralForm:_0x34bbf4}}={'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':_0x2962ab=>0x1!=_0x2962ab}};_0x45cf3d['az']||={'dictionary':{},'getPluralForm':null},_0x45cf3d['az']['dictionary']=Object['assign'](_0x45cf3d['az']['dictionary'],_0x21dd5d),_0x45cf3d['az']['getPluralForm']=_0x34bbf4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3f0d7e=>{const {az:{dictionary:_0x319725,getPluralForm:_0x598679}}={'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':_0x172fe2=>0x1!=_0x172fe2}};_0x3f0d7e['az']||={'dictionary':{},'getPluralForm':null},_0x3f0d7e['az']['dictionary']=Object['assign'](_0x3f0d7e['az']['dictionary'],_0x319725),_0x3f0d7e['az']['getPluralForm']=_0x598679;})(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':_0x3c10b1=>_0x3c10b1%0xa==0x1&&_0x3c10b1%0x64!=0xb?0x0:_0x3c10b1%0xa>=0x2&&_0x3c10b1%0xa<=0x4&&(_0x3c10b1%0x64<0xa||_0x3c10b1%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':_0x4e8b6b=>_0x4e8b6b%0xa==0x1&&_0x4e8b6b%0x64!=0xb?0x0:_0x4e8b6b%0xa>=0x2&&_0x4e8b6b%0xa<=0x4&&(_0x4e8b6b%0x64<0xa||_0x4e8b6b%0x64>=0x14)?0x1:0x2}};