@ckeditor/ckeditor5-footnotes 47.6.0-alpha.5 → 47.6.0-alpha.7

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 _0x2dee8d,Command as _0x205420}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4e1ffb,isWidget as _0x771be9,toWidgetEditable as _0x539763,WidgetToolbarRepository as _0x110d6b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x31d406,logWarning as _0x241123,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xfb04ef,ClickObserver as _0x3014ca}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4e45ad}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x407016,ButtonView as _0x36348e,View as _0x3049a9,ViewCollection as _0x185df6,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x4d827c,BalloonPanelView as _0x378aff,createDropdown as _0x2d7959}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x332de3,IconListStyleDecimal as _0x526c46,IconListStyleDecimalLeadingZero as _0x16043a,IconListStyleLowerRoman as _0x4be428,IconListStyleUpperRoman as _0x4e694c,IconListStyleLowerLatin as _0x37d3b2,IconListStyleUpperLatin as _0x27e6de}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x12709d,_0x111107){this['_model']=_0x12709d,this['_elementName']=_0x111107['elementName'],this['_getElementKey']=_0x111107['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5e06e8){const _0x55d1b2=new Set(),_0xb5c05c=new Map();for(const _0x1c6eb3 of _0x5e06e8){if('insert'===_0x1c6eb3['type']&&'$text'!==_0x1c6eb3['name']&&_0x1c6eb3['position']['nodeAfter']){const _0x4da4ec=this['_model']['createRangeOn'](_0x1c6eb3['position']['nodeAfter']);for(const _0x4884fa of _0x4da4ec['getItems']()){if(!_0x4884fa['is']('element',this['_elementName']))continue;const _0x52cfa6=this['_getElementKey'](_0x4884fa);_0xb5c05c['has'](_0x52cfa6)||_0xb5c05c['set'](_0x52cfa6,[]),_0xb5c05c['get'](_0x52cfa6)['push'](_0x4884fa);}}if('remove'===_0x1c6eb3['type']&&_0x1c6eb3['name']===this['_elementName']){const _0x1999f7=this['_getElementKey']({'getAttribute':_0x473529=>_0x1c6eb3['attributes']['get'](_0x473529)});_0x55d1b2['add'](_0x1999f7);}}for(const [_0x5433bb,_0x24d5ef]of this['_trackedElements'])'$graveyard'===_0x24d5ef['root']['rootName']&&_0x55d1b2['add'](_0x5433bb);for(const _0x721e1e of _0x55d1b2)this['_trackedElements']['delete'](_0x721e1e);for(const [_0xc3c8ed,_0x5a2c3a]of _0xb5c05c)this['_trackedElements']['set'](_0xc3c8ed,_0x5a2c3a[_0x5a2c3a['length']-0x1]);const _0x150b62=new Set();for(const [_0x1274c7,_0x184b2e]of _0xb5c05c)_0x55d1b2['has'](_0x1274c7)&&(_0x150b62['add'](_0x184b2e[0x0]),_0x184b2e['length']>0x1?_0xb5c05c['set'](_0x1274c7,_0x184b2e['slice'](0x1)):_0xb5c05c['delete'](_0x1274c7),_0x55d1b2['delete'](_0x1274c7));return{'removed':Array['from'](_0x55d1b2),'inserted':Array['from'](_0xb5c05c['values']())['flat'](),'moved':Array['from'](_0x150b62)};}}class f extends _0x2dee8d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x14d5f0){super(_0x14d5f0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4c858d=>_0x4c858d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5ad648=>_0x5ad648['getAttribute']('footnoteId')});}['init'](){const {editor:_0x10138c}=this,{model:_0x4d291c,data:_0x5d8426}=_0x10138c;_0x4d291c['document']['registerPostFixer'](_0x38c1db=>{const _0x460f7d=_0x4d291c['document']['differ']['getChanges']();let _0x4426c2=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x38c1db,_0x460f7d)&&(_0x4426c2=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x38c1db,_0x460f7d)&&(_0x4426c2=!0x0),this['_handleFootnoteReferencesChanges'](_0x38c1db,_0x460f7d)&&(_0x4426c2=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x38c1db)&&(_0x4426c2=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x38c1db)&&(_0x4426c2=!0x0),this['_sortFootnoteDefinitions'](_0x38c1db)&&(_0x4426c2=!0x0),_0x4426c2;}),this['listenTo'](_0x4d291c['document'],'change:data',()=>{_0x4d291c['enqueueChange']({'isUndoable':!0x1},_0x4a04c6=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4a04c6);});},{'priority':'low'}),this['listenTo'](_0x5d8426,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x348fdc){return this['_footnotes']['find'](_0x57bf00=>_0x57bf00['id']===_0x348fdc)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4047ae){this['_footnoteFormatter']=_0x4047ae;}['_updateFootnotesCounters'](_0x53ec63,_0x5cd62f=0x0){let _0x14d672=!0x1;for(let _0x1120b8=_0x5cd62f;_0x1120b8<this['_footnotes']['length'];_0x1120b8++)this['_updateFootnoteRefCounter'](_0x53ec63,_0x1120b8)&&(_0x14d672=!0x0);return _0x14d672;}['_insertEmptyFootnotesDefinitionsContainer'](_0x522c6a,_0x199661){const _0x3c2da5=_0x522c6a['createElement']('footnotesDefinitions',{});return _0x522c6a['append'](_0x3c2da5,_0x199661),this['_footnotesDefinitions']=_0x3c2da5,_0x3c2da5;}['_ensureFootnotesDefinitionsContainerExists'](_0x2f8340){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x43ef4d=this['_footnotes'][0x0]['reference']['root'],_0x4ad6a2=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2f8340,_0x43ef4d);for(const _0x19f6bc of this['_footnotes'])_0x19f6bc['definition']['parent']||_0x2f8340['insert'](_0x19f6bc['definition'],_0x4ad6a2,'end');this['_updateFootnotesCounters'](_0x2f8340);}['_handleFootnotesDefinitionsObjectChanges'](_0x3b78a3,_0x14a0fb){let _0x42fa72=!0x1;const {inserted:_0x2ba800,removed:_0x126741,moved:_0x175de5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x14a0fb);if(_0x175de5['length']&&(this['_footnotesDefinitions']=_0x175de5[0x0]),_0x2ba800['length']){if(_0x2ba800['length']>0x1||this['_footnotesDefinitions']&&_0x2ba800['some'](_0x2a9d33=>_0x2a9d33!==this['_footnotesDefinitions'])){const _0x29fa16=_0x3b78a3['createElement']('footnotesDefinitions',{}),_0x5c4d56=[];this['_footnotesDefinitions']&&_0x5c4d56['push'](this['_footnotesDefinitions']),_0x5c4d56['push'](..._0x2ba800),_0x3b78a3['insert'](_0x29fa16,_0x5c4d56[0x0],'before');for(const _0x13060 of _0x5c4d56)_0x3b78a3['move'](_0x3b78a3['createRangeIn'](_0x13060),_0x3b78a3['createPositionAt'](_0x29fa16,'end')),_0x3b78a3['remove'](_0x13060);this['_footnotesDefinitions']=_0x29fa16,this['_updateFootnotesCounters'](_0x3b78a3),_0x42fa72=!0x0;}else this['_footnotesDefinitions']=_0x2ba800[0x0];}if(_0x126741['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3beaa9 of this['_footnotes'])_0x3b78a3['remove'](_0x3beaa9['reference']),_0x42fa72=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x42fa72;}['_handleFootnoteDefinitionsChanges'](_0x1b0944,_0x544a5d){let _0x5d1fad=!0x1;const _0x1def4f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4331e8,moved:_0x188dfc}=this['_footnoteDefsTracker']['getChanges'](_0x544a5d);for(const _0x190630 of[..._0x188dfc,..._0x4331e8]){const _0x4a9b67=_0x190630['getAttribute']('footnoteId'),_0x26ec45=this['getFootnote'](_0x4a9b67);_0x26ec45&&(_0x26ec45['definition']=_0x190630),_(_0x1b0944,_0x1def4f,_0x190630)&&(_0x5d1fad=!0x0);}return _0x5d1fad;}['_handleFootnoteReferencesChanges'](_0x458e05,_0x33e845){let _0x26a639=!0x1;const {removed:_0x2dfe4f,inserted:_0x568081,moved:_0x582e57}=this['_footnoteRefsTracker']['getChanges'](_0x33e845);for(const _0x36bb00 of _0x2dfe4f)this['_handleRemoveFootnoteReferenceById'](_0x458e05,_0x36bb00)&&(_0x26a639=!0x0);for(const _0x582db3 of _0x568081)this['_handleInsertedFootnoteReference'](_0x458e05,_0x582db3)&&(_0x26a639=!0x0);for(const _0x9b8473 of _0x582e57)this['_handleMovedFootnoteReference'](_0x458e05,_0x9b8473)&&(_0x26a639=!0x0);return _0x26a639;}['_handleFootnotesDefinitionsObjectSync'](_0x4ab1c0){if(!this['_footnotesDefinitions'])return!0x1;let _0x5ac97b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2b941c=[];for(const _0x3ce226 of this['_footnotesDefinitions']['getChildren']()){const _0x576acf=_0x3ce226['getAttribute']('footnoteId');this['getFootnote'](_0x576acf)||(_0x2b941c['unshift'](_0x3ce226),_0x5ac97b=!0x0);}for(const _0x581410 of _0x2b941c)_0x4ab1c0['remove'](_0x581410);}const _0x16ccbc=new Set(),_0x55b8f1=[];for(const _0xa768a3 of this['_footnotesDefinitions']['getChildren']()){const _0xf73422=_0xa768a3['getAttribute']('footnoteId');_0x16ccbc['has'](_0xf73422)?(_0x55b8f1['unshift'](_0xa768a3),_0x5ac97b=!0x0):_0x16ccbc['add'](_0xf73422);}for(const _0x64b0ec of _0x55b8f1)_0x4ab1c0['remove'](_0x64b0ec);return this['_footnotesDefinitions']['childCount']||(_0x4ab1c0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5ac97b=!0x0),_0x5ac97b;}['_handleInsertedFootnoteReference'](_0x16237f,_0x8ba3de){if(this['_footnotes']['find'](_0x25c06e=>_0x25c06e['reference']===_0x8ba3de))return!0x1;let _0x24773=!0x1;const _0xefcbbd=_0x8ba3de['getAttribute']('footnoteId'),_0x40db3f=this['_footnotes']['findIndex'](_0x10db2b=>_0x10db2b['id']===_0xefcbbd);-0x1!==_0x40db3f&&(_0x16237f['remove'](this['_footnotes'][_0x40db3f]['reference']),this['_footnotes']['splice'](_0x40db3f,0x1),_0x24773=!0x0);let _0x3f0f08=this['_footnotesDefinitions']?function(_0x46ff05,_0x2ce812){for(const _0x57a282 of _0x46ff05['getChildren']())if(_0x57a282['getAttribute']('footnoteId')===_0x2ce812)return _0x57a282;return null;}(this['_footnotesDefinitions'],_0xefcbbd):null;_0x3f0f08||(_0x3f0f08=_0x16237f['createElement']('footnoteDefinition',{'footnoteId':_0xefcbbd}),this['_footnotesDefinitions']&&(_0x16237f['insert'](_0x3f0f08,this['_footnotesDefinitions'],'end'),_0x24773=!0x0));const _0x163f4c={'id':_0xefcbbd,'reference':_0x8ba3de,'definition':_0x3f0f08},_0x3a83d7=I(this['editor']['model'],this['_footnotes'],_0x8ba3de);this['_footnotes']['splice'](_0x3a83d7,0x0,_0x163f4c);let _0x4330e7=_0x3a83d7;return-0x1!==_0x40db3f&&(_0x4330e7=Math['min'](_0x3a83d7,_0x40db3f)),this['_updateFootnotesCounters'](_0x16237f,_0x4330e7)&&(_0x24773=!0x0),_0x24773;}['_handleRemoveFootnoteReferenceById'](_0x45fad3,_0x1b202a){const _0xbc237b=this['_footnotes']['findIndex'](_0x27ea4c=>_0x27ea4c['id']===_0x1b202a);if(-0x1===_0xbc237b)return!0x1;let _0x9b8464=!0x1;const _0x33c44a=this['_footnotes'][_0xbc237b];return'$graveyard'!==_0x33c44a['definition']['root']['rootName']&&(_0x45fad3['remove'](_0x33c44a['definition']),_0x9b8464=!0x0),this['_footnotes']['splice'](_0xbc237b,0x1),this['_updateFootnotesCounters'](_0x45fad3,_0xbc237b)&&(_0x9b8464=!0x0),_0x9b8464;}['_handleMovedFootnoteReference'](_0x350106,_0x3c5446){const _0x5f2591=_0x3c5446['getAttribute']('footnoteId'),_0x2539c9=this['_footnotes']['findIndex'](_0x35bb63=>_0x35bb63['id']===_0x5f2591),_0x5ba5d3=this['_footnotes'][_0x2539c9];let _0x2bed48=!0x1;_0x5ba5d3['reference']=_0x3c5446,this['_footnotes']['splice'](_0x2539c9,0x1);const _0x5642c7=I(this['editor']['model'],this['_footnotes'],_0x3c5446);return this['_footnotes']['splice'](_0x5642c7,0x0,_0x5ba5d3),this['_updateFootnotesCounters'](_0x350106,Math['min'](_0x2539c9,_0x5642c7))&&(_0x2bed48=!0x0),_0x2bed48;}['_updateFootnoteRefCounter'](_0x5b82e3,_0x1ce8f0){if(!this['_footnotesDefinitions'])return!0x1;const _0x4f4a4f=this['_footnotes'][_0x1ce8f0];let _0x1eddf0;return _0x1eddf0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4f4a4f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1ce8f0+0x1}):String(_0x1ce8f0+0x1),_0x4f4a4f['reference']['getAttribute']('footnoteCounter')!=_0x1eddf0&&(_0x5b82e3['setAttribute']('footnoteCounter',_0x1eddf0,_0x4f4a4f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3a49ae){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4d24c8,_0x1eac3e){if(_0x4d24c8['length']!==_0x1eac3e['length'])return!0x1;for(let _0x333b81=0x0;_0x333b81<_0x4d24c8['length'];_0x333b81++)if(_0x4d24c8[_0x333b81]!==_0x1eac3e[_0x333b81])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xc272ba=>_0xc272ba['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x14ca9f=>_0x14ca9f['getAttribute']('footnoteId'))))return!0x1;let _0x2272e7=!0x1;for(let _0xac49d=0x0;_0xac49d<this['_footnotes']['length'];_0xac49d++){const _0x34117c=this['_footnotes'][_0xac49d],_0x5cb722=_0x3a49ae['createPositionBefore'](_0x34117c['definition']),_0x29a7f0=_0x3a49ae['createPositionAt'](this['_footnotesDefinitions'],_0xac49d);_0x5cb722['isEqual'](_0x29a7f0)||(_0x3a49ae['move'](_0x3a49ae['createRangeOn'](_0x34117c['definition']),_0x29a7f0),_0x2272e7=!0x0);}return _0x2272e7;}['_ensureFootnotesReferencesHaveProperOrder'](_0x21d31c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x38eab3}=this['editor'];let _0x5d8b27=!0x1;for(let _0x32fe5f=0x0;_0x32fe5f<this['_footnotes']['length']-0x1;_0x32fe5f++){const _0x586065=this['_footnotes'][_0x32fe5f],_0x1718f7=this['_footnotes'][_0x32fe5f+0x1],_0x2819e8=_0x38eab3['createPositionBefore'](_0x586065['reference']),_0x42b6b0=_0x38eab3['createPositionBefore'](_0x1718f7['reference']);'after'===_0x2819e8['compareWith'](_0x42b6b0)&&(this['_handleMovedFootnoteReference'](_0x21d31c,_0x586065['reference']),_0x32fe5f=-0x1,_0x5d8b27=!0x0);}return _0x5d8b27;}}function _(_0x3b75c2,_0x47980d,_0x191150){if(_0x191150['childCount'])return!0x1;const _0x236d29=_0x47980d?'paragraph':'footnoteInlineContent';return _0x3b75c2['insert'](_0x3b75c2['createElement'](_0x236d29),_0x191150),!0x0;}function I(_0x3d9074,_0x3adca7,_0x477647){if(0x0===_0x3adca7['length'])return 0x0;const _0x31cc89=_0x3d9074['createPositionBefore'](_0x477647);for(let _0x1330e8=0x0;_0x1330e8<_0x3adca7['length'];_0x1330e8++){const _0x44f37a=_0x3adca7[_0x1330e8],_0x39a28b=_0x3d9074['createPositionBefore'](_0x44f37a['reference']);if('before'===_0x31cc89['compareWith'](_0x39a28b))return _0x1330e8;}const _0x465ca5=_0x477647['root'];let _0x46cbeb=-0x1;for(let _0x168bf0=_0x3adca7['length']-0x1;_0x168bf0>=0x0;_0x168bf0--)if(_0x3adca7[_0x168bf0]['reference']['root']===_0x465ca5){_0x46cbeb=_0x168bf0;break;}if(-0x1!==_0x46cbeb)return _0x46cbeb+0x1;const _0x5ccd9c=_0x3d9074['document']['getRootNames'](),_0x306c8c=_0x5ccd9c['indexOf'](_0x465ca5['rootName']),_0x3c2db8=_0x5ccd9c[_0x306c8c+0x1];if(_0x3c2db8){for(let _0x4db78f=0x0;_0x4db78f<_0x3adca7['length'];_0x4db78f++)if(_0x3adca7[_0x4db78f]['reference']['root']['rootName']===_0x3c2db8)return _0x4db78f;}return _0x3adca7['length'];}class h extends _0x205420{['refresh'](){const _0x19d7a2=this['editor']['model']['document']['selection'],_0x9d3cba=this['_getPositionToInsertFootnote'](_0x19d7a2);this['isEnabled']=!!_0x9d3cba;}['execute'](_0x1025a2){const {editor:_0x5af8e0}=this,{model:_0x4bcee2}=_0x5af8e0,{selection:_0x104ea8}=_0x4bcee2['document'],_0x24377c=this['_getPositionToInsertFootnote'](_0x104ea8);if(!_0x24377c)return;const _0x9d98ab=_0x5af8e0['plugins']['get']('FootnotesEditing'),_0x118785=_0x1025a2?.['footnoteId']??_0x31d406();!function(_0x13fdd5){return'string'==typeof _0x13fdd5&&_0x13fdd5['length']>0x0&&!/\s/['test'](_0x13fdd5)&&!/^\d/['test'](_0x13fdd5);}(_0x118785)?_0x241123('insert-footnote-command-executed-with-invalid-id'):(_0x4bcee2['change'](_0x9c54e6=>{const _0x252cc4=_0x9c54e6['createElement']('footnoteRef',{'footnoteId':_0x118785});_0x4bcee2['insertObject'](_0x252cc4,_0x24377c,null);}),_0x9d98ab['_moveSelectionToFootnoteDefinition'](_0x118785));}['_getPositionToInsertFootnote'](_0x451f6f){const {model:_0x3f7e27}=this['editor'],{schema:_0x5412d2}=_0x3f7e27,_0x481945=_0x451f6f['getFirstRange']();for(const _0x3855a4 of _0x481945['getItems']())if(_0x5412d2['isBlock'](_0x3855a4)||_0x5412d2['isObject'](_0x3855a4))return null;const _0x28c648=_0x481945['end'];return _0x5412d2['checkChild'](_0x28c648,'footnoteRef')?_0x28c648:null;}}class r extends _0x2dee8d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x43059b}=this;_0x43059b['config']['define']('footnotes.multiBlock',!0x0),_0x43059b['commands']['add']('insertFootnote',new h(_0x43059b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4e728c){const _0x638516=_0x1aebc9([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]),_0x36b93e=0x47a28506,_0x550a51=0x47a50636^_0x36b93e,_0x3fc3da=window[_0x1aebc9([0x44,0x61,0x74,0x65])][_0x1aebc9([0x6e,0x6f,0x77])](),_0x4e3219=_0x4e728c[_0x1aebc9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x432e89=new window[(_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d5451=>{_0x4e3219[_0x1aebc9([0x6f,0x6e,0x63,0x65])](_0x1aebc9([0x72,0x65,0x61,0x64,0x79]),_0x1d5451);}),_0x509803={[_0x1aebc9([0x6b,0x74,0x79])]:_0x1aebc9([0x45,0x43]),[_0x1aebc9([0x75,0x73,0x65])]:_0x1aebc9([0x73,0x69,0x67]),[_0x1aebc9([0x63,0x72,0x76])]:_0x1aebc9([0x50,0x2d,0x32,0x35,0x36]),[_0x1aebc9([0x78])]:_0x1aebc9([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]),[_0x1aebc9([0x79])]:_0x1aebc9([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]),[_0x1aebc9([0x61,0x6c,0x67])]:_0x1aebc9([0x45,0x53,0x32,0x35,0x36])},_0x333fe0=_0x4e3219[_0x1aebc9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1aebc9([0x67,0x65,0x74])](_0x1aebc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10cb2c(){let _0x35e5b1,_0x23c3cb=null,_0x27b6fe=null;try{if(_0x333fe0==_0x1aebc9([0x47,0x50,0x4c]))return _0x1aebc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35e5b1=_0x1a63ea(),!_0x35e5b1)return _0x1aebc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35e5b1[_0x1aebc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x27b6fe=_0x587970(_0x35e5b1[_0x1aebc9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35e5b1[_0x1aebc9([0x6a,0x74,0x69])])),await _0x287ce0()?_0x1f471b()?_0x10d8d5()?_0x1aebc9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x131d90()?(_0x35e5b1[_0x1aebc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1aebc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x23c3cb=_0x19f272(_0x1aebc9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x15a26d()):_0x1aebc9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1aebc9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1aebc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1aebc9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x10d8d5(){const _0x95d941=[_0x1aebc9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1aebc9([0x74,0x72,0x69,0x61,0x6c])][_0x1aebc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35e5b1[_0x1aebc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3fc3da/0x3e8:0xe10*_0x550a51;return _0x35e5b1[_0x1aebc9([0x65,0x78,0x70])]<_0x95d941;}function _0x1f471b(){const _0x1ced00=_0x35e5b1[_0x1aebc9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ced00&&(!!_0x1ced00[_0x1aebc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aebc9([0x2a]))||!!_0x1ced00[_0x1aebc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aebc9([0x46,0x4f,0x4f])));}function _0x131d90(){const _0x49cb43=_0x35e5b1[_0x1aebc9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x49cb43||0x0==_0x49cb43[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53f769}=new URL(window[_0x1aebc9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x49cb43[_0x1aebc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53f769))return!0x0;const _0x3a4f2f=_0x53f769[_0x1aebc9([0x73,0x70,0x6c,0x69,0x74])](_0x1aebc9([0x2e]));return _0x49cb43[_0x1aebc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42457a=>_0x42457a[_0x1aebc9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aebc9([0x2a])))[_0x1aebc9([0x6d,0x61,0x70])](_0xad2ccb=>_0xad2ccb[_0x1aebc9([0x73,0x70,0x6c,0x69,0x74])](_0x1aebc9([0x2e])))[_0x1aebc9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55538d=>_0x55538d[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3a4f2f[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aebc9([0x6d,0x61,0x70])](_0x59bef2=>Array(_0x3a4f2f[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59bef2[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1aebc9([0x66,0x69,0x6c,0x6c])](_0x59bef2[0x0]===_0x1aebc9([0x2a])?_0x1aebc9([0x2a]):'')[_0x1aebc9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59bef2))[_0x1aebc9([0x73,0x6f,0x6d,0x65])](_0xae7a3a=>_0x3a4f2f[_0x1aebc9([0x65,0x76,0x65,0x72,0x79])]((_0x1a2891,_0x38dd9c)=>_0xae7a3a[_0x38dd9c]===_0x1a2891||_0xae7a3a[_0x38dd9c]===_0x1aebc9([0x2a])));}function _0x15a26d(){return _0x23c3cb&&_0x27b6fe?new window[(_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f5fe1,_0x12c6d9)=>{_0x23c3cb[_0x1aebc9([0x74,0x68,0x65,0x6e])](_0x3f5fe1,_0x12c6d9),_0x27b6fe[_0x1aebc9([0x74,0x68,0x65,0x6e])](_0x4bd0ca=>{_0x4bd0ca!=_0x1aebc9([0x56,0x61,0x6c,0x69,0x64])&&_0x3f5fe1(_0x4bd0ca);},_0x12c6d9);}):_0x23c3cb||_0x27b6fe||_0x1aebc9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x587970(_0x52193a,_0x26c0de){return new window[(_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c454e=>{if(_0x112ed2())return _0x4c454e(_0x1aebc9([0x56,0x61,0x6c,0x69,0x64]));_0x9fdd51(),_0x4e3219[_0x1aebc9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1aebc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x322c2a=!0x1;const _0x4a1f4b=_0x31d406();function _0x502065(_0x50c88f){return!!_0x50c88f&&(typeof _0x50c88f===_0x1aebc9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x50c88f===_0x1aebc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x50c88f[_0x1aebc9([0x74,0x68,0x65,0x6e])]===_0x1aebc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x50c88f[_0x1aebc9([0x63,0x61,0x74,0x63,0x68])]===_0x1aebc9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb4a061(_0x24fe08){_0x4d815b(_0x24fe08)[_0x1aebc9([0x74,0x68,0x65,0x6e])](_0x4acd70=>{if(!_0x4acd70||_0x4acd70[_0x1aebc9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1aebc9([0x6f,0x6b]))return _0x1aebc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x347681(_0x3de6aa(_0x4a1f4b+_0x26c0de))!=_0x4acd70[_0x1aebc9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1aebc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1aebc9([0x56,0x61,0x6c,0x69,0x64]);})[_0x1aebc9([0x74,0x68,0x65,0x6e])](_0xb566e0=>(_0x3546dc(),_0xb566e0),()=>{const _0x377d08=_0xa2803d();return null==_0x377d08?(_0x3546dc(),_0x1aebc9([0x56,0x61,0x6c,0x69,0x64])):_0x1aebc9(_0x3fc3da-_0x377d08>(0x63ae0106^_0x36b93e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1aebc9([0x74,0x68,0x65,0x6e])](_0x4c454e)[_0x1aebc9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c454e(_0x1aebc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e70b5=0x47946b86^_0x36b93e;function _0x3546dc(){const _0x50e8ee=_0x1aebc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x347681(_0x3de6aa(_0x52193a)),_0x51b275=_0x3a7409(_0x347681(window[_0x1aebc9([0x4d,0x61,0x74,0x68])][_0x1aebc9([0x63,0x65,0x69,0x6c])](_0x3fc3da/_0x1e70b5)));window[_0x1aebc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aebc9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50e8ee,_0x51b275);}function _0xa2803d(){const _0x419671=_0x1aebc9([0x6c,0x6c,0x63,0x74,0x2d])+_0x347681(_0x3de6aa(_0x52193a)),_0x261d04=window[_0x1aebc9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1aebc9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x419671);return _0x261d04?window[_0x1aebc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a7409(_0x261d04),0x10)*_0x1e70b5:null;}function _0x4d815b(_0x11e9a4){return new window[(_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4742cf,_0x434ee5)=>{_0x11e9a4[_0x1aebc9([0x74,0x68,0x65,0x6e])](_0x4742cf,_0x434ee5),window[_0x1aebc9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x434ee5,0x47a351c6^_0x36b93e);});}}_0x4e3219[_0x1aebc9([0x6f,0x6e])](_0x1aebc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x56e0fa,_0x4747f8)=>{if(_0x4747f8[0x0]!=_0x52193a)return _0x4c454e(_0x1aebc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4747f8[0x1]={..._0x4747f8[0x1],[_0x1aebc9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a1f4b};},{[_0x1aebc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aebc9([0x68,0x69,0x67,0x68])}),_0x4e3219[_0x1aebc9([0x6f,0x6e])](_0x1aebc9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f04ab=>{_0x502065(_0x5f04ab[_0x1aebc9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x322c2a=!0x0,_0xb4a061(_0x5f04ab[_0x1aebc9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1aebc9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1aebc9([0x6c,0x6f,0x77])}),_0x432e89[_0x1aebc9([0x74,0x68,0x65,0x6e])](()=>{_0x322c2a||_0x4c454e(_0x1aebc9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x112ed2(){return _0x4e3219[_0x1aebc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aebc9([0x76,0x69,0x65,0x77])][_0x1aebc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1aebc9([0x61,0x75,0x74,0x6f]);}function _0x9fdd51(){_0x4e3219[_0x1aebc9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1aebc9([0x76,0x69,0x65,0x77])][_0x1aebc9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1aebc9([0x61,0x75,0x74,0x6f]);}}function _0x19f272(_0x4771c1){const _0x3f62dd=[new window[(_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb3238=>setTimeout(_0xfb3238,0x47abbbca^_0x36b93e)),_0x432e89[_0x1aebc9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xec5acb=>{let _0x274403=0x0;_0x4e3219[_0x1aebc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aebc9([0x6f,0x6e])](_0x1aebc9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x570c6a,_0x413d7f)=>{_0x413d7f[0x0][_0x1aebc9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x274403++,_0x274403==(0x47a280ee^_0x36b93e)&&(_0xec5acb(),_0x570c6a[_0x1aebc9([0x6f,0x66,0x66])]());});}))];return window[_0x1aebc9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1aebc9([0x72,0x61,0x63,0x65])](_0x3f62dd)[_0x1aebc9([0x74,0x68,0x65,0x6e])](()=>_0x4771c1);}async function _0x5a3216(){await _0x432e89,_0x4e3219[_0x1aebc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aebc9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x258714,_0x4e3219[_0x1aebc9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1aebc9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x258714,_0x4e3219[_0x1aebc9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1aebc9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x156cf0(_0x270e1e){const _0xf42b13=_0x3c18de();_0x4e3219[_0xf42b13]=_0x1aebc9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x270e1e,_0x270e1e!=_0x1aebc9([0x56,0x61,0x6c,0x69,0x64])&&_0x5a3216();}function _0x3c18de(){const _0x44d546=window[_0x1aebc9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1aebc9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1aebc9([0x6e,0x6f,0x77])]())[_0x1aebc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1aebc9([0x2e]),'');let _0x5b84c5=_0x1aebc9([0x75]);for(let _0x51ba89=0x0;_0x51ba89<_0x44d546[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51ba89+=0x2){let _0x6a8568=window[_0x1aebc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44d546[_0x1aebc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51ba89,_0x51ba89+0x2));_0x6a8568>=_0x638516[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6a8568-=_0x638516[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b84c5+=_0x638516[_0x6a8568];}return _0x5b84c5;}function _0x1a63ea(){const _0x2ff795=_0x333fe0[_0x1aebc9([0x73,0x70,0x6c,0x69,0x74])](_0x1aebc9([0x2e]));if(0x3!=_0x2ff795[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33bf8e(_0x2ff795[0x1]);function _0x33bf8e(_0x1fd6d6){const _0x35a522=_0x26fec5(_0x1fd6d6);return _0x35a522&&_0x10893e()?_0x35a522:null;function _0x10893e(){const _0x3c95e5=_0x35a522[_0x1aebc9([0x6a,0x74,0x69])],_0xed05c4=window[_0x1aebc9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c95e5[_0x1aebc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c95e5[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51d4de={..._0x35a522,[_0x1aebc9([0x6a,0x74,0x69])]:_0x3c95e5[_0x1aebc9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c95e5[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51d4de[_0x1aebc9([0x76,0x63])],_0x3de6aa(_0x51d4de)==_0xed05c4;}}}async function _0x287ce0(){let _0x547754=!0x0;try{const _0x10c5f3=_0x333fe0[_0x1aebc9([0x73,0x70,0x6c,0x69,0x74])](_0x1aebc9([0x2e])),[_0x2c9717,_0x2edb7f,_0x334ee0]=_0x10c5f3;return _0x17ea76(_0x2c9717),await _0x907105(_0x2c9717,_0x2edb7f,_0x334ee0),_0x547754;}catch{return!0x1;}function _0x17ea76(_0xb314ad){const _0x1fe9df=_0x26fec5(_0xb314ad);_0x1fe9df&&_0x1fe9df[_0x1aebc9([0x61,0x6c,0x67])]==_0x1aebc9([0x45,0x53,0x32,0x35,0x36])||(_0x547754=!0x1);}async function _0x907105(_0x27c309,_0x35861a,_0x1e2d42){const _0x373b1c=window[_0x1aebc9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1aebc9([0x66,0x72,0x6f,0x6d])](_0x3c07a2(_0x1e2d42),_0x276fba=>_0x276fba[_0x1aebc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cec3f=new window[(_0x1aebc9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1aebc9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27c309+_0x1aebc9([0x2e])+_0x35861a),_0x2c9454=window[_0x1aebc9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1aebc9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c9454)return;const _0x435335=await _0x2c9454[_0x1aebc9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1aebc9([0x6a,0x77,0x6b]),_0x509803,{[_0x1aebc9([0x6e,0x61,0x6d,0x65])]:_0x1aebc9([0x45,0x43,0x44,0x53,0x41]),[_0x1aebc9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1aebc9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1aebc9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c9454[_0x1aebc9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1aebc9([0x6e,0x61,0x6d,0x65])]:_0x1aebc9([0x45,0x43,0x44,0x53,0x41]),[_0x1aebc9([0x68,0x61,0x73,0x68])]:{[_0x1aebc9([0x6e,0x61,0x6d,0x65])]:_0x1aebc9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x435335,_0x373b1c,_0x3cec3f)||(_0x547754=!0x1);}}function _0x26fec5(_0x283295){return _0x283295[_0x1aebc9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1aebc9([0x65,0x79]))?JSON[_0x1aebc9([0x70,0x61,0x72,0x73,0x65])](_0x3c07a2(_0x283295)):null;}function _0x3c07a2(_0x258b62){return window[_0x1aebc9([0x61,0x74,0x6f,0x62])](_0x258b62[_0x1aebc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1aebc9([0x2b]))[_0x1aebc9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1aebc9([0x2f])));}function _0x3de6aa(_0x20158a){let _0x49335a=0x1505;function _0x110a78(_0x300556){for(let _0x16cff2=0x0;_0x16cff2<_0x300556[_0x1aebc9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16cff2++){const _0x1df825=_0x300556[_0x1aebc9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16cff2);_0x49335a=(_0x49335a<<0x5)+_0x49335a+_0x1df825,_0x49335a&=_0x49335a;}}function _0x4ca0cf(_0x41880b){Array[_0x1aebc9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41880b)?_0x41880b[_0x1aebc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca0cf):_0x41880b&&typeof _0x41880b==_0x1aebc9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1aebc9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41880b)[_0x1aebc9([0x73,0x6f,0x72,0x74])]()[_0x1aebc9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x454949,_0x5209af])=>{_0x110a78(_0x454949),_0x4ca0cf(_0x5209af);}):_0x110a78(window[_0x1aebc9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41880b));}return _0x4ca0cf(_0x20158a),_0x49335a>>>0x0;}function _0x347681(_0x2537d9){return _0x2537d9[_0x1aebc9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1aebc9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1aebc9([0x30]));}function _0x3a7409(_0x5748a2){return _0x5748a2[_0x1aebc9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1aebc9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1aebc9([0x6a,0x6f,0x69,0x6e])]('');}function _0x258714(){}function _0x1aebc9(_0x3a00cd){return _0x3a00cd['map'](_0x75a01b=>String['fromCharCode'](_0x75a01b))['join']('');}_0x156cf0(await _0x10cb2c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x147f7d){const {plugins:_0x22531a,editing:_0x258fc6,model:_0x34318e}=this['editor'],_0x3ac5c0=_0x22531a['get'](f)['getFootnote'](_0x147f7d);return!!_0x3ac5c0&&(_0x34318e['change'](_0x332e81=>{_0x332e81['setSelection'](_0x332e81['createPositionAt'](_0x3ac5c0['definition'],'end'));}),_0x258fc6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x31e77d){const {plugins:_0x26d300,editing:_0x5271bc,model:_0x1b8b8a}=this['editor'],_0x47a24b=_0x26d300['get'](f)['getFootnote'](_0x31e77d);return!!_0x47a24b&&(_0x1b8b8a['change'](_0x1268bf=>{_0x1268bf['setSelection'](_0x47a24b['reference'],'on');}),_0x5271bc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x7e2def}=this['editor']['model'],_0x1ed89f=this['editor']['config']['get']('footnotes.multiBlock');_0x7e2def['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x7e2def['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x7e2def['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1ed89f?_0x7e2def['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x7e2def['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x7e2def['addChildCheck'](_0x4f587e=>{for(const _0x446e8f of _0x4f587e)if('footnoteDefinition'===_0x446e8f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3b8ca3}=this,{conversion:_0xde8599,editing:_0x51ddca}=_0x3b8ca3,{t:t}=_0x3b8ca3['locale'];_0xde8599['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x470b8d,{writer:_0x284fcb,consumable:_0x5dac54})=>{const _0x4b90c9=_0x470b8d['getChild'](0x0);if(!_0x4b90c9||!_0x4b90c9['is']('element','a'))return null;const _0x4df573=_0x4b90c9['getAttribute']('href')||'';if(!_0x4df573['startsWith']('#'))return null;const _0x41b957=_0x4df573['replace'](/^#/,'');if(!_0x41b957)return null;_0x5dac54['consume'](_0x4b90c9,{'name':!0x0,'attributes':['href']});for(const {item:_0x3825d8}of _0x51ddca['view']['createRangeIn'](_0x4b90c9))_0x3825d8['is']('$textProxy')?_0x5dac54['consume'](_0x3825d8['textNode'],{'name':!0x0}):_0x3825d8['is']('element')&&_0x5dac54['consume'](_0x3825d8,{'name':!0x0});return _0x284fcb['createElement']('footnoteRef',{'footnoteId':_0x41b957});}}),_0xde8599['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x14d3b4,{writer:_0xf9fb53})=>b(_0x14d3b4,_0xf9fb53)}),_0xde8599['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2af882,{writer:_0xad8faa})=>{const _0x382914=_0x2af882['getAttribute']('footnoteCounter');return _0x4e1ffb(b(_0x2af882,_0xad8faa),_0xad8faa,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x382914)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2f440f}=this,{t:t}=_0x2f440f['locale'],{conversion:_0x2f77a3}=_0x2f440f;_0x2f77a3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2f77a3['for']('upcast')['add'](_0x2f6cd4=>{_0x2f6cd4['on']('element:ol',(_0xdd1699,_0x5de4a4,_0x21f98f)=>{const _0x45b6c1=_0x5de4a4['viewItem'];if(!_0x45b6c1['hasClass']('footnotes-list')||!_0x5de4a4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x21f98f['consumable']['consume'](_0x45b6c1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x15362d,modelCursor:_0x1f03e5}=_0x21f98f['convertChildren'](_0x5de4a4['viewItem'],_0x5de4a4['modelCursor']);_0x5de4a4['modelRange']=_0x15362d,_0x5de4a4['modelCursor']=_0x1f03e5;}),_0x2f6cd4['on']('element:hr',(_0x7d4802,_0x4ee233,_0x462750)=>{const _0x2092c4=_0x4ee233['viewItem'];_0x2092c4['hasClass']('footnotes-divider')&&_0x4ee233['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x462750['consumable']['consume'](_0x2092c4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2f77a3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38e35d,{writer:_0x569cd5})=>D(_0x569cd5)}),_0x2f77a3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x137758,{writer:_0x64f115})=>{const _0x542d94=D(_0x64f115,{'data-footnotes-list-label':t('Footnotes')}),_0x803484=_0x4e1ffb(_0x542d94,_0x64f115,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x64f115['setCustomProperty']('footnotesDefinitions',!0x0,_0x803484),_0x803484;}});}['_defineDefinitionConverters'](){const {editor:_0x164e77}=this,{conversion:_0x117450,locale:_0x1958b0}=_0x164e77,_0x2db811=_0x164e77['config']['get']('footnotes.multiBlock');_0x117450['for']('upcast')['add'](_0x214396=>{_0x214396['on']('element:li',(_0x4ebde8,_0x470ecd,_0x1fe5fc)=>{const _0x3b53ce=_0x470ecd['viewItem'];if(!_0x3b53ce['hasClass']('footnote-definition')||!_0x3b53ce['getAttribute']('id'))return;const _0x30d08a=_0x3b53ce['parent'];if(!_0x30d08a['is']('element','ol')||!_0x30d08a['hasClass']('footnotes-list'))return;if(!_0x1fe5fc['consumable']['test'](_0x3b53ce,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x68fad5=_0x1fe5fc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3b53ce['getAttribute']('id')});if(!_0x1fe5fc['safeInsert'](_0x68fad5,_0x470ecd['modelCursor']))return;_0x1fe5fc['consumable']['consume'](_0x3b53ce,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4f24d9=Array['from'](_0x3b53ce['getChildren']())['find'](_0x5b6686=>_0x5b6686['is']('element')&&_0x5b6686['hasClass']('footnote-content'));for(const _0x1cdeec of _0x3b53ce['getChildren']())_0x1cdeec['is']('element')&&(_0x1fe5fc['consumable']['consume'](_0x1cdeec,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1fe5fc['consumable']['consume'](_0x1cdeec,{'name':!0x0,'classes':'footnote-content'}));if(_0x4f24d9){if(_0x2db811)_0x1fe5fc['convertChildren'](_0x4f24d9,_0x68fad5);else{const _0x33cff9=_0x1fe5fc['writer']['createElement']('footnoteInlineContent');_0x1fe5fc['writer']['insert'](_0x33cff9,_0x68fad5),_0x1fe5fc['convertChildren'](_0x4f24d9,_0x33cff9);}}_0x1fe5fc['updateConversionResult'](_0x68fad5,_0x470ecd);});}),_0x117450['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x565d70,{writer:_0x4365ff})=>y(_0x565d70,_0x4365ff,_0x1958b0,{'dataPipeline':!0x0})}),_0x117450['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5cb1a7,{writer:_0x396451})=>y(_0x5cb1a7,_0x396451,_0x1958b0)});}['_defineBogusParagraphConverters'](){const {editor:_0x3efc1e}=this,{conversion:_0x2eed19}=_0x3efc1e;_0x3efc1e['config']['get']('footnotes.multiBlock')?(_0x2eed19['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2eed19['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3efc1e['model']['document'],'change:data',()=>{!function(_0x1dc400,_0x3a59f4){const _0x49f9bb=_0x1dc400['document']['differ'],_0x18c813=new Set();for(const _0x4e27ea of _0x49f9bb['getChanges']()){const _0x58438b='attribute'==_0x4e27ea['type']?_0x4e27ea['range']['start']['parent']:_0x4e27ea['position']['parent'];_0x58438b['is']('element','footnoteDefinition')&&_0x18c813['add'](_0x58438b);}for(const _0xb277bc of _0x18c813['values']()){const _0x5085a0=Array['from'](_0xb277bc['getChildren']())['filter'](_0x457178=>v(_0x457178,_0x3a59f4['mapper']));for(const _0x2d99be of _0x5085a0)_0x3a59f4['reconvertItem'](_0x2d99be);}}(_0x3efc1e['model'],_0x3efc1e['editing']);})):(_0x2eed19['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2eed19['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x45d60c,{writer:_0x17a39e})=>{const _0x55603b=_0x17a39e['createContainerElement']('span');return _0x17a39e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55603b),_0x55603b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x452cf7}=this,{editing:_0x12734c,t:t}=_0x452cf7,_0x5c1e1a=_0x452cf7['model']['document']['selection'];_0x452cf7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x452cf7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12734c['view']['document'],'enter',(_0x36cc51,_0x2ec33a)=>{const _0xedb259=function(_0x27d8a4){const _0x47e834=_0x27d8a4['getSelectedElement']();if(_0x47e834?.['is']('element','footnoteRef'))return _0x47e834;return null;}(_0x5c1e1a);if(_0xedb259){const _0x582e72=_0xedb259['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x582e72),_0x2ec33a['preventDefault'](),_0x36cc51['stop']();}},{'context':_0x771be9});}['_defineClickHandlers'](){const {editor:_0x595cbf}=this,{editing:_0x3b281b}=_0x595cbf;_0x595cbf['editing']['view']['addObserver'](_0xfb04ef),_0x595cbf['editing']['view']['addObserver'](_0x3014ca);let _0x117588=!0x1;this['listenTo'](_0x3b281b['view']['document'],'pointerdown',(_0x25c2ff,_0x25b4b5)=>{const {target:_0x1f3df8}=_0x25b4b5,_0x211f42=_0x3b281b['view']['document']['selection'];_0x117588=!!(_0x1f3df8?.['is']('element','a')&&_0x1f3df8['parent']?.['is']('element','sup')&&_0x1f3df8['parent']['hasClass']('footnote'))&&_0x211f42['getSelectedElement']()===_0x1f3df8['parent'];},{'priority':'high'}),this['listenTo'](_0x3b281b['view']['document'],'click',(_0x433df2,_0x1c9740)=>{const {target:_0x55087c}=_0x1c9740;if(!_0x55087c?.['is']('element','a'))return;if(_0x55087c['parent']?.['is']('element','sup')&&_0x55087c['parent']['hasClass']('footnote')&&!_0x117588)return void _0x1c9740['preventDefault']();let _0x594f0d=_0x55087c['getAttribute']('href');if(!_0x594f0d?.['startsWith']('#'))return;_0x594f0d=_0x594f0d['slice'](0x1);let _0x3b4ceb=!0x1;(_0x594f0d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x594f0d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x594f0d))&&(_0x3b4ceb=!0x0),_0x3b4ceb&&(_0x1c9740['preventDefault'](),_0x433df2['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5ddc6f}={}){return(_0x12831b,{writer:_0x58a455})=>{if(!g(_0x12831b))return null;if(!_0x5ddc6f)return _0x58a455['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x533600=_0x58a455['createContainerElement']('p');return _0x58a455['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x533600),_0x533600;};}function g(_0x191b08){const {parent:_0x53ee00}=_0x191b08;if(!_0x53ee00?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x53ee00['childCount'])return!0x1;for(const _0x3382bd of _0x191b08['getAttributeKeys']())if(!_0x3382bd['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3382bd)return!0x1;return!0x0;}function v(_0x4d66e4,_0x247c81){if(!_0x4d66e4['is']('element','paragraph'))return!0x1;const _0x4d1e01=_0x247c81['toViewElement'](_0x4d66e4);return!!_0x4d1e01&&g(_0x4d66e4)!==_0x4d1e01['is']('element','span');}function Q(_0x30d25d){return _0x771be9(_0x30d25d)&&_0x30d25d['is']('containerElement')&&!!_0x30d25d['getCustomProperty']('footnotesDefinitions');}function D(_0x3ac00f,_0x6e1cb0={}){const _0x32ee5a=_0x3ac00f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5f1387=_0x3ac00f['createContainerElement']('ol',{'class':'footnotes-list'},_0x3ac00f['createSlot']());return _0x3ac00f['createContainerElement']('div',{'class':'footnotes',..._0x6e1cb0},[_0x32ee5a,_0x5f1387]);}function b(_0x2a8e0e,_0x5ecc1f){const _0x8a5782=_0x2a8e0e['getAttribute']('footnoteId'),_0x2c8309=_0x2a8e0e['getAttribute']('footnoteCounter'),_0x53ff86=_0x5ecc1f['createUIElement']('a',{'href':'#'+_0x8a5782},function(_0x11b901){const _0x5a6c64=this['toDomElement'](_0x11b901);return _0x5a6c64['textContent']=_0x2c8309,_0x5a6c64;}),_0x5e8649=_0x5ecc1f['createContainerElement']('sup',{'id':'ref-'+_0x8a5782,'class':'footnote'},[_0x53ff86]);return _0x5e8649['getFillerOffset']=()=>null,_0x5e8649;}function y(_0x575450,_0x2d5cb,_0x22fe9f,{dataPipeline:_0x12b7c9}={}){const {t:t}=_0x22fe9f,_0x20beec=_0x575450['getAttribute']('footnoteId'),_0x42f05d=_0x2d5cb['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x20beec},function(_0x420fa0){const _0x5a22dd=this['toDomElement'](_0x420fa0);return _0x5a22dd['innerText']='^',_0x5a22dd;}),_0x42a3d2=_0x12b7c9?_0x2d5cb['createContainerElement']('div',{'class':'footnote-content'}):_0x539763(_0x2d5cb['createEditableElement']('div',{'class':'footnote-content'}),_0x2d5cb,{'label':t('Footnote\x20content.')});return _0x2d5cb['insert'](_0x2d5cb['createPositionAt'](_0x42a3d2,0x0),_0x2d5cb['createSlot']()),_0x2d5cb['createContainerElement']('li',{'class':'footnote-definition','id':_0x20beec},[_0x42f05d,_0x42a3d2]);}class e extends _0x2dee8d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4e45ad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3d32d3}=this,{plugins:_0x3f9e15,model:_0x112415}=_0x3d32d3,_0x30b867=_0x3f9e15['get'](_0x4e45ad),_0x3f8b8e=_0x3f9e15['get'](f);this['listenTo'](_0x30b867,'outputTransformation',(_0x211867,_0x4d28f4)=>{const _0x75cde1=l(_0x112415['createRangeIn'](_0x4d28f4['content']));if(!_0x75cde1['length'])return;const _0x5ef649=_0x3f8b8e['getFootnotes'](),_0x1910ea=_0x75cde1['reduce']((_0x576cce,_0x226ed4)=>{const _0x18a260=_0x5ef649['find'](_0x32518b=>_0x32518b['id']===_0x226ed4);if(_0x18a260){const _0x1d0c43=_0x3d32d3['data']['toView'](_0x18a260['definition'],{'isClipboardPipeline':!0x0}),_0x576913=_0x3d32d3['data']['htmlProcessor']['toData'](_0x1d0c43);_0x576cce[_0x18a260['id']]=_0x576913;}return _0x576cce;},Object['create'](null));_0x4d28f4['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1910ea));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x350c9c}=this,{model:_0x4a43b5,plugins:_0x1f5ce2}=_0x350c9c,{view:_0x324d4b}=_0x350c9c['editing'],_0x1bccbe=_0x1f5ce2['get'](_0x4e45ad),_0x3f4fc8=_0x1f5ce2['get'](f),_0x4af001=_0x350c9c['config']['get']('footnotes.multiBlock');let _0x597900=null;this['listenTo'](_0x324d4b['document'],'clipboardInput',(_0x40c7c2,_0x49ca8c)=>{const _0x3bf343=_0x49ca8c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x597900=_0x3bf343?JSON['parse'](_0x3bf343):null;}),this['listenTo'](_0x1bccbe,'contentInsertion',(_0xdde5ef,_0x16f8b1)=>{const _0x279918=_0x16f8b1['sourceEditorId']===this['editor']['id'];_0x279918&&'drop'===_0x16f8b1['method']||_0x4a43b5['change'](_0x365104=>{let _0x25e39b=_0x3f4fc8['getFootnotesDefinitionsObjectElement']();const _0x38d2c1=!!_0x25e39b&&Array['from'](_0x4a43b5['document']['selection']['getSelectedBlocks']())['includes'](_0x25e39b);if(!_0x597900&&function(_0x2765cd){for(const {item:_0x7131e2}of _0x2765cd)if(_0x7131e2['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4a43b5['createRangeIn'](_0x16f8b1['content']))&&(_0x597900=function(_0x191115,_0x1c86ab){const _0x140992=c(_0x191115,_0x1c86ab);if(!_0x140992)return null;const _0x49feaf=Object['create'](null);for(const _0x478d04 of _0x140992['getChildren']())_0x478d04['is']('element','footnoteDefinition')&&_0x478d04['hasAttribute']('footnoteId')&&(_0x49feaf[_0x478d04['getAttribute']('footnoteId')]=_0x191115['cloneElement'](_0x478d04,!0x0));return Object['keys'](_0x49feaf)['length']?_0x49feaf:null;}(_0x365104,_0x16f8b1['content'])),(_0x25e39b&&!_0x38d2c1||!_0x25e39b&&!_0x597900)&&function(_0x39ddaf,_0x590eb4){const _0x47d0c9=[];for(const {item:_0x182509}of _0x39ddaf['createRangeIn'](_0x590eb4))_0x182509['is']('element','footnotesDefinitions')&&_0x47d0c9['push'](_0x182509);for(const _0xb212c3 of _0x47d0c9)_0x39ddaf['remove'](_0xb212c3);}(_0x365104,_0x16f8b1['content']),!_0x597900)return;const {selection:_0x1c8cfc}=_0x4a43b5['document'],_0x1a3d22=_0x1c8cfc['getFirstRange']()['root'];_0x25e39b&&!_0x38d2c1||(_0x25e39b=c(_0x365104,_0x16f8b1['content']),_0x25e39b||=_0x3f4fc8['_insertEmptyFootnotesDefinitionsContainer'](_0x365104,_0x1a3d22));const _0x4742e9=Array['from'](_0x1c8cfc['getRanges']())['flatMap'](l),_0x17a3cb=function(_0x5a0f43,_0x6be44a,_0x46bd32){const _0x47d93c=Object['create'](null);for(const {item:_0x4976f8}of _0x5a0f43['createRangeIn'](_0x6be44a))if(_0x4976f8['is']('element','footnoteRef')){const _0x410bdd=_0x4976f8['getAttribute']('footnoteId');if(!_0x46bd32(_0x410bdd))continue;_0x47d93c[_0x410bdd]||(_0x47d93c[_0x410bdd]=_0x31d406()),_0x5a0f43['setAttribute']('footnoteId',_0x47d93c[_0x410bdd],_0x4976f8);}return _0x47d93c;}(_0x365104,_0x16f8b1['content'],_0xd80ef0=>{if(!_0x279918)return!0x0;return!!_0x3f4fc8['getFootnote'](_0xd80ef0)&&!_0x4742e9['includes'](_0xd80ef0);});for(const [_0x20d67a,_0x3e2769]of Object['entries'](_0x597900)){const _0x2310ca=_0x17a3cb[_0x20d67a]||_0x20d67a;let _0x267a0d;if('string'!=typeof _0x3e2769)_0x267a0d=_0x3e2769,_0x2310ca!==_0x20d67a&&_0x365104['setAttribute']('footnoteId',_0x2310ca,_0x267a0d);else{_0x267a0d=_0x365104['createElement']('footnoteDefinition',{'footnoteId':_0x2310ca});const _0x16b0eb=_0x350c9c['data']['htmlProcessor']['toView'](_0x3e2769);let _0x3596b9;if(_0x4af001)_0x3596b9=_0x350c9c['data']['toModel'](_0x16b0eb,_0x267a0d);else{_0x3596b9=_0x365104['createElement']('footnoteInlineContent');const _0x3e8605=_0x350c9c['data']['toModel'](_0x16b0eb,_0x3596b9);_0x365104['insert'](_0x3e8605,_0x3596b9);}_0x365104['append'](_0x3596b9,_0x267a0d);}_0x365104['insert'](_0x267a0d,_0x25e39b,'end');}_0x597900=null;});});}}function c(_0x1e7fca,_0x361392){for(const {item:_0x33ab02}of _0x1e7fca['createRangeIn'](_0x361392))if(_0x33ab02['is']('element','footnotesDefinitions'))return _0x33ab02;return null;}function l(_0x471245){const _0x1d5757=new Set();for(const {item:_0x502bdc}of _0x471245)_0x502bdc['is']('element','footnoteRef')&&_0x1d5757['add'](_0x502bdc['getAttribute']('footnoteId'));return Array['from'](_0x1d5757);}class i extends _0x2dee8d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x413e8f}=this,{componentFactory:_0x39f3d2}=_0x413e8f['ui'];_0x39f3d2['add']('insertFootnote',E(_0x413e8f,_0x36348e)),_0x39f3d2['add']('menuBar:insertFootnote',E(_0x413e8f,_0x407016)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x17a738=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x59e770;for(const _0x3b7335 in _0x17a738){const _0x48b220=_0x3b7335,_0x4852c5=_0x17a738[_0x48b220];if('footnotesLicenseKeyValid'==_0x4852c5||'footnotesLicenseKeyInvalid'==_0x4852c5||'footnotesLicenseKeyExpired'==_0x4852c5||'footnotesLicenseKeyDomainLimit'==_0x4852c5||'footnotesLicenseKeyNotAllowed'==_0x4852c5||'footnotesLicenseKeyEvaluationLimit'==_0x4852c5||'footnotesLicenseKeyUsageLimit'==_0x4852c5){delete _0x17a738[_0x48b220],_0x59e770=_0x4852c5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x59e770&&_0x17a738['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x59e770&&_0x17a738['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x59e770&&_0x17a738['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x59e770&&_0x17a738['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x59e770&&_0x17a738['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x59e770&&_0x17a738['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x577d1d,_0xba8255){const _0x551fbe=_0x577d1d['commands']['get']('insertFootnote');return _0x266a31=>{const {t:t}=_0x266a31,_0x3d5af1=new _0xba8255(_0x266a31),_0x20632a=_0x3d5af1 instanceof _0x407016;return _0x3d5af1['bind']('isEnabled')['to'](_0x551fbe,'isEnabled'),_0x3d5af1['set']({'label':t(_0x20632a?'Footnote':'Insert\x20footnote'),'icon':_0x332de3,'tooltip':!0x0}),_0x3d5af1['on']('execute',()=>{_0x551fbe['execute'](),_0x577d1d['editing']['view']['focus']();}),_0x3d5af1;};}class lt extends _0x2dee8d{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 _0x205420{['refresh'](){const {editor:_0xb847c9}=this,_0x4dd601=_0xb847c9['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4dd601,this['value']=_0x4dd601?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x48ef62}){const {editor:_0x5953f3}=this,_0x1a3207=_0x5953f3['plugins']['get'](f),_0x533dda=_0x1a3207['getFootnotesDefinitionsObjectElement']();_0x533dda&&W['includes'](_0x48ef62)&&_0x5953f3['model']['change'](_0x206f86=>{_0x206f86['setAttribute']('footnotesListStyle',_0x48ef62,_0x533dda),_0x1a3207['_updateFootnotesCounters'](_0x206f86);});}}class C extends _0x205420{['refresh'](){const {editor:_0x3a6964}=this,_0x4397f8=_0x3a6964['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4397f8,this['value']=_0x4397f8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x551337}){const {editor:_0x1e9b9c}=this,_0x454933=_0x1e9b9c['plugins']['get'](f),_0x5b696f=_0x454933['getFootnotesDefinitionsObjectElement']();_0x5b696f&&Number['isInteger'](_0x551337)&&_0x1e9b9c['model']['change'](_0x3a59b2=>{_0x3a59b2['setAttribute']('footnotesListStart',_0x551337,_0x5b696f),_0x454933['_updateFootnotesCounters'](_0x3a59b2);});}}class P extends _0x2dee8d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27c186}=this;_0x27c186['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x27c186['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x27c186['commands']['add']('footnotesStyle',new S(_0x27c186)),_0x27c186['commands']['add']('footnotesStart',new C(_0x27c186)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x38074b}=this,{schema:_0x421680}=_0x38074b['model'];_0x421680['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x242554}=this,{conversion:_0x5332f8,model:_0x290435}=_0x242554,{schema:_0x5d8c6d}=_0x290435;_0x5332f8['for']('upcast')['add'](_0x1a8533=>{_0x1a8533['on']('element:ol',(_0x483e14,_0x25ec3b,_0x48e4e7)=>{const _0x47b5a0=_0x25ec3b['viewItem'],_0x1091c0=_0x25ec3b['modelCursor']?.['parent'];_0x47b5a0['hasClass']('footnotes-list')&&_0x1091c0?.['is']('element','footnotesDefinitions')&&(function(_0x2238c6,_0x31b91b,_0x92a1ac,_0x2a4572){if(!_0x2a4572['checkAttribute'](_0x31b91b,'footnotesListStart'))return;let _0x2cce2e=0x1;const _0x268830=_0x92a1ac['consumable']['consume'](_0x2238c6,{'attributes':'start'});if(_0x268830){const _0xacd38e=Number['parseInt'](_0x2238c6['getAttribute']('start'),0xa);Number['isNaN'](_0xacd38e)||(_0x2cce2e=_0xacd38e);}!_0x268830&&_0x31b91b['hasAttribute']('footnotesListStart')||_0x92a1ac['writer']['setAttribute']('footnotesListStart',_0x2cce2e,_0x31b91b);}(_0x47b5a0,_0x1091c0,_0x48e4e7,_0x5d8c6d),function(_0x1dd595,_0x3527c7,_0x2b7012,_0x315c25){if(!_0x315c25['checkAttribute'](_0x3527c7,'footnotesListStyle'))return;let _0x34def5='decimal',_0x3d390c=!0x1;if(_0x2b7012['consumable']['consume'](_0x1dd595,{'attributes':'type'})){const _0xcb6e29={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1dd595['getAttribute']('type')];_0xcb6e29&&(_0x34def5=_0xcb6e29),_0x3d390c=!0x0;}_0x2b7012['consumable']['consume'](_0x1dd595,{'styles':'list-style-type'})&&(_0x34def5=function(_0x44d626){switch(_0x44d626){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x44d626;}}(_0x1dd595['getStyle']('list-style-type')),_0x3d390c=!0x0),!_0x3d390c&&_0x3527c7['hasAttribute']('footnotesListStyle')||_0x2b7012['writer']['setAttribute']('footnotesListStyle',_0x34def5,_0x3527c7);}(_0x47b5a0,_0x1091c0,_0x48e4e7,_0x5d8c6d));});}),_0x5332f8['for']('downcast')['add'](_0x3a2c80=>{_0x3a2c80['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x20979f,_0x5149d7,_0x31c2b1)=>{if(!_0x31c2b1['consumable']['consume'](_0x5149d7['item'],_0x20979f['name']))return;const _0x1aefc3=M(_0x5149d7['item'],_0x31c2b1['mapper']),{attributeNewValue:_0x548490}=_0x5149d7;null==_0x548490||0x1===_0x548490?_0x31c2b1['writer']['removeAttribute']('start',_0x1aefc3):_0x31c2b1['writer']['setAttribute']('start',String(_0x548490),_0x1aefc3);}),_0x3a2c80['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x44e21e,_0x49bd27,_0x4e496e)=>{if(!_0x4e496e['consumable']['consume'](_0x49bd27['item'],_0x44e21e['name']))return;const _0x489b22=M(_0x49bd27['item'],_0x4e496e['mapper']),{attributeNewValue:_0x53ebdf}=_0x49bd27;_0x53ebdf&&'decimal'!==_0x53ebdf?_0x4e496e['writer']['setStyle']('list-style-type',_0x53ebdf,_0x489b22):_0x4e496e['writer']['removeStyle']('list-style-type',_0x489b22);});});}['_definePostfixer'](){const {editor:_0x5caf06}=this,{model:_0x363773}=_0x5caf06,_0x35f32a=_0x5caf06['plugins']['get'](f),_0x4bbfcb=this['_getDefaultListStyle'](),_0x50d31a=this['_getDefaultStartIndex']();_0x363773['document']['registerPostFixer'](_0x39ebfb=>{const _0x7787e0=_0x363773['document']['differ']['getChanges']();let _0x5d9c6e=!0x1;for(const _0x59051f of _0x7787e0){if('insert'!==_0x59051f['type']||'$text'===_0x59051f['name'])continue;const _0x4e73cc=_0x363773['createRangeOn'](_0x59051f['position']['nodeAfter']);for(const _0x378160 of _0x4e73cc['getItems']())_0x378160['is']('element','footnotesDefinitions')&&(!_0x378160['hasAttribute']('footnotesListStart')&&_0x363773['schema']['checkAttribute'](_0x378160,'footnotesListStart')&&(_0x39ebfb['setAttribute']('footnotesListStart',_0x50d31a,_0x378160),_0x5d9c6e=!0x0),!_0x378160['hasAttribute']('footnotesListStyle')&&_0x363773['schema']['checkAttribute'](_0x378160,'footnotesListStyle')&&(_0x39ebfb['setAttribute']('footnotesListStyle',_0x4bbfcb,_0x378160),_0x5d9c6e=!0x0));}return _0x5d9c6e&&_0x35f32a['_updateFootnotesCounters'](_0x39ebfb),_0x5d9c6e;});}['_defineFormatter'](){const {editor:_0x12ee37}=this;_0x12ee37['plugins']['get'](f)['setFootnoteFormatter'](_0x35be9c=>this['_formatFootnoteListValue'](_0x35be9c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x51f830,value:_0x5e59ff,digits:_0x516ac9}){const _0x48e4b9=_0x51f830['getAttribute']('footnotesListStyle'),_0x4673ff=_0x51f830['getAttribute']('footnotesListStart'),_0x571071=Math['floor'](_0x5e59ff)+(_0x4673ff??0x1)-0x1;switch(_0x48e4b9){case'decimal-leading-zero':return function(_0x579c85,_0x12474b){return String(_0x579c85)['padStart'](_0x12474b,'0');}(_0x571071,Math['max'](0x2,_0x516ac9));case'lower-alpha':case'lower-latin':return N(_0x571071,!0x1);case'upper-alpha':case'upper-latin':return N(_0x571071,!0x0);case'lower-roman':return X(_0x571071,!0x1);case'upper-roman':return X(_0x571071,!0x0);default:return String(_0x571071);}}}function M(_0x1dc99b,_0x2efe41){const _0x27ec3a=_0x2efe41['toViewElement'](_0x1dc99b);return Array['from'](_0x27ec3a['getChildren']())['find'](_0x2c841e=>_0x2c841e['is']('element','ol')&&_0x2c841e['hasClass']('footnotes-list'));}function N(_0x2d0b03,_0x54cb68){let _0x4448db='',_0x48bfdf=_0x2d0b03;for(;_0x48bfdf>0x0;){const _0xe5a6fe=(_0x48bfdf-0x1)%0x1a;_0x4448db=String['fromCharCode'](0x61+_0xe5a6fe)+_0x4448db,_0x48bfdf=Math['floor']((_0x48bfdf-0x1)/0x1a);}return _0x54cb68?_0x4448db['toUpperCase']():_0x4448db;}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(_0x38a315,_0x1a7dc1){let _0x2c0b84='',_0x309ab4=_0x38a315;for(const {value:_0x1ae472,numeral:_0x2bd514}of V)for(;_0x309ab4>=_0x1ae472;)_0x2c0b84+=_0x2bd514,_0x309ab4-=_0x1ae472;return _0x1a7dc1?_0x2c0b84:_0x2c0b84['toLowerCase']();}class J extends _0x3049a9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x185df6();['focusCycler'];constructor(_0x3d06c0,{styleButtonViews:_0x227a7a,styleGridAriaLabel:_0x776d5}){super(_0x3d06c0),(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'](_0x227a7a,_0x776d5),[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 _0x327f16 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x327f16['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 _0x2ccfc6=_0x1c986c=>_0x1c986c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2ccfc6),this['keystrokes']['set']('arrowleft',_0x2ccfc6),this['keystrokes']['set']('arrowup',_0x2ccfc6),this['keystrokes']['set']('arrowdown',_0x2ccfc6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x41d0b6,_0x648b3c){const _0x3ab978=new _0x3049a9(this['locale']);return _0x3ab978['children']=_0x3ab978['createCollection'](),_0x3ab978['children']['addMany'](_0x41d0b6),_0x3ab978['setTemplate']({'tag':'div','attributes':{'aria-label':_0x648b3c,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ab978['children']}),_0x3ab978['children']['delegate']('execute')['to'](this),_0x3ab978['focus']=function(){for(const _0x573e3a of this['children'])if(_0x573e3a instanceof _0x36348e&&_0x573e3a['isOn'])return void _0x573e3a['focus']();this['children']['first']['focus']();},_0x3ab978['focusTracker']=new rt(),_0x3ab978['keystrokes']=new nt(),_0x3ab978['render'](),_0x3ab978['keystrokes']['listenTo'](_0x3ab978['element']),this['children']['add'](_0x3ab978),_0x3ab978;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4108fc=this['_createStartIndexPropertyView'](),_0x44ac9c=[_0x4108fc],_0xc0cc31=new it(this['locale'],_0x44ac9c);return _0xc0cc31['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xc0cc31['buttonView']['bind']('isEnabled')['toMany'](_0x44ac9c,'isEnabled',(..._0x304f81)=>_0x304f81['some'](_0x39877f=>_0x39877f)),_0xc0cc31['buttonView']['on']('change:isEnabled',(_0x40959b,_0x2bb702,_0x4db4dc)=>{_0x4db4dc||(_0xc0cc31['isCollapsed']=!0x0);}),this['children']['add'](_0xc0cc31),[_0x4108fc,_0xc0cc31];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x589ec6=new et(this['locale'],ot);return _0x589ec6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x589ec6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x589ec6['fieldView']['on']('input',()=>{const _0x486ff5=_0x589ec6['fieldView']['element'],_0x5f1237=_0x486ff5['valueAsNumber'];Number['isNaN'](_0x5f1237)?_0x589ec6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x486ff5['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5f1237}):_0x589ec6['errorText']=t(_0x5f1237<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x589ec6;}}class j extends _0x2dee8d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d827c,_0x110d6b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ce7f9}=this,{componentFactory:_0x3c0214}=_0x2ce7f9['ui'];_0x2ce7f9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3c0214['add']('footnotesStyle',function(_0x5763c8){return _0x5574e0=>{const {t:t}=_0x5574e0,_0xae07b0=_0x5763c8['commands']['get']('footnotesStyle'),_0x1882a2=_0x2d7959(_0x5574e0),{buttonView:_0x33aec6}=_0x1882a2;return _0x1882a2['class']='ck-footnotes-styles-dropdown',_0x1882a2['bind']('isEnabled')['to'](_0xae07b0,'isEnabled'),_0x33aec6['set']({'label':t('Footnotes\x20style'),'icon':_0x332de3,'tooltip':!0x0}),_0x1882a2['once']('change:isOpen',()=>{const _0x4ec46f=function({editor:_0x4fb8b0,dropdownView:_0xb22a61}){const {t:t}=_0x4fb8b0['locale'],_0xda86ce=t('Footnotes\x20definitions\x20styles'),_0x36849b=function(_0x375c3a){const t=_0x375c3a['locale']['t'],_0xaaa243=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x526c46},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x16043a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4be428},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4e694c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x37d3b2},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x27e6de}];return _0xaaa243['map'](function(_0x19aa09){const _0x2bbc45=_0x19aa09['locale'];return({label:_0x2c8349,icon:_0x5537f3,tooltip:_0x4350d3,style:_0x45ea39})=>{const _0x4aeb19=_0x19aa09['commands']['get']('footnotesStyle'),_0x2f751c=new _0x36348e(_0x2bbc45);return _0x2f751c['set']({'label':_0x2c8349,'icon':_0x5537f3,'tooltip':_0x4350d3}),_0x2f751c['bind']('isOn')['to'](_0x4aeb19,'value',_0x3492c9=>_0x3492c9===_0x45ea39),_0x2f751c['bind']('isEnabled')['to'](_0x4aeb19,'isEnabled'),_0x2f751c['on']('execute',()=>{_0x19aa09['execute']('footnotesStyle',{'value':_0x45ea39}),_0x19aa09['editing']['view']['focus']();}),_0x2f751c;};}(_0x375c3a));}(_0x4fb8b0),_0x111e69=new J(_0x4fb8b0['locale'],{'styleGridAriaLabel':_0xda86ce,'styleButtonViews':_0x36849b}),_0x1dc57f=_0x4fb8b0['commands']['get']('footnotesStart');return _0x111e69['startIndexFieldView']['bind']('isEnabled')['to'](_0x1dc57f),_0x111e69['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1dc57f),_0x111e69['on']('footnotesListStart',(_0x2dab96,_0x5d5ab6)=>{_0x4fb8b0['execute']('footnotesStart',{'value':_0x5d5ab6['startIndex']});}),_0x111e69['delegate']('execute')['to'](_0xb22a61),_0x111e69;}({'editor':_0x5763c8,'dropdownView':_0x1882a2});_0x1882a2['panelView']['children']['add'](_0x4ec46f);}),_0x1882a2;};}(_0x2ce7f9));}['afterInit'](){const {editor:_0x1b75e4}=this,{t:t}=_0x1b75e4['locale'],_0x2cb071=_0x1b75e4['plugins']['get'](_0x110d6b),{defaultPositions:_0x21542a}=_0x378aff;_0x2cb071['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1b75e4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x268533=>{let _0x90e050=_0x268533['getFirstPosition']()?.['parent'];return _0x90e050?.['is']('$text')&&(_0x90e050=_0x90e050['parent']),_0x90e050?.['is']('element')?_0x90e050['findAncestor'](Q):null;},'positions':[_0x21542a['southArrowNorth'],_0x21542a['southArrowNorthMiddleWest'],_0x21542a['southArrowNorthMiddleEast'],_0x21542a['southArrowNorthWest'],_0x21542a['southArrowNorthEast'],_0x21542a['northArrowSouth'],_0x21542a['northArrowSouthMiddleWest'],_0x21542a['northArrowSouthMiddleEast'],_0x21542a['northArrowSouthWest'],_0x21542a['northArrowSouthEast'],_0x21542a['viewportStickyNorth']]});}}class ft extends _0x2dee8d{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 _0x400efc,Command as _0xb95b7d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x12eb73,isWidget as _0x1a6449,toWidgetEditable as _0x4cc677,WidgetToolbarRepository as _0x182deb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5e572e,logWarning as _0x48b1f3,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xf5da23,ClickObserver as _0x1bd5c8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x932d8b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3f0cf4,ButtonView as _0x18afe0,View as _0x18f655,ViewCollection as _0x42e164,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x3f38a0,BalloonPanelView as _0x451c1f,createDropdown as _0x28540a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x39f915,IconListStyleDecimal as _0x416808,IconListStyleDecimalLeadingZero as _0x531677,IconListStyleLowerRoman as _0x3183aa,IconListStyleUpperRoman as _0x2e33d8,IconListStyleLowerLatin as _0xf33025,IconListStyleUpperLatin as _0x1f28e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3e3a53,_0x31d4f6){this['_model']=_0x3e3a53,this['_elementName']=_0x31d4f6['elementName'],this['_getElementKey']=_0x31d4f6['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x504640){const _0x528db3=new Set(),_0x3ccb67=new Map();for(const _0x2cd4f9 of _0x504640){if('insert'===_0x2cd4f9['type']&&'$text'!==_0x2cd4f9['name']&&_0x2cd4f9['position']['nodeAfter']){const _0xd927b2=this['_model']['createRangeOn'](_0x2cd4f9['position']['nodeAfter']);for(const _0x1c6485 of _0xd927b2['getItems']()){if(!_0x1c6485['is']('element',this['_elementName']))continue;const _0x5b7478=this['_getElementKey'](_0x1c6485);_0x3ccb67['has'](_0x5b7478)||_0x3ccb67['set'](_0x5b7478,[]),_0x3ccb67['get'](_0x5b7478)['push'](_0x1c6485);}}if('remove'===_0x2cd4f9['type']&&_0x2cd4f9['name']===this['_elementName']){const _0x3062fa=this['_getElementKey']({'getAttribute':_0x5d675e=>_0x2cd4f9['attributes']['get'](_0x5d675e)});_0x528db3['add'](_0x3062fa);}}for(const [_0x2b2dfa,_0x54710f]of this['_trackedElements'])'$graveyard'===_0x54710f['root']['rootName']&&_0x528db3['add'](_0x2b2dfa);for(const _0xbc5946 of _0x528db3)this['_trackedElements']['delete'](_0xbc5946);for(const [_0x45ec92,_0x39e414]of _0x3ccb67)this['_trackedElements']['set'](_0x45ec92,_0x39e414[_0x39e414['length']-0x1]);const _0x5021df=new Set();for(const [_0x2632c7,_0x57948b]of _0x3ccb67)_0x528db3['has'](_0x2632c7)&&(_0x5021df['add'](_0x57948b[0x0]),_0x57948b['length']>0x1?_0x3ccb67['set'](_0x2632c7,_0x57948b['slice'](0x1)):_0x3ccb67['delete'](_0x2632c7),_0x528db3['delete'](_0x2632c7));return{'removed':Array['from'](_0x528db3),'inserted':Array['from'](_0x3ccb67['values']())['flat'](),'moved':Array['from'](_0x5021df)};}}class f extends _0x400efc{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x374d5e){super(_0x374d5e),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4b08d3=>_0x4b08d3['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x31948d=>_0x31948d['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1c09a5}=this,{model:_0x22cdc5,data:_0x37aeb5}=_0x1c09a5;_0x22cdc5['document']['registerPostFixer'](_0x34abe8=>{const _0xb563fc=_0x22cdc5['document']['differ']['getChanges']();let _0x35786e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x34abe8,_0xb563fc)&&(_0x35786e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x34abe8,_0xb563fc)&&(_0x35786e=!0x0),this['_handleFootnoteReferencesChanges'](_0x34abe8,_0xb563fc)&&(_0x35786e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x34abe8)&&(_0x35786e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x34abe8)&&(_0x35786e=!0x0),this['_sortFootnoteDefinitions'](_0x34abe8)&&(_0x35786e=!0x0),_0x35786e;}),this['listenTo'](_0x22cdc5['document'],'change:data',()=>{_0x22cdc5['enqueueChange']({'isUndoable':!0x1},_0x24609f=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x24609f);});},{'priority':'low'}),this['listenTo'](_0x37aeb5,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4caf7d){return this['_footnotes']['find'](_0x3b0059=>_0x3b0059['id']===_0x4caf7d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5bb7e0){this['_footnoteFormatter']=_0x5bb7e0;}['_updateFootnotesCounters'](_0x16dfd6,_0x2df4ff=0x0){let _0x252e15=!0x1;for(let _0x205417=_0x2df4ff;_0x205417<this['_footnotes']['length'];_0x205417++)this['_updateFootnoteRefCounter'](_0x16dfd6,_0x205417)&&(_0x252e15=!0x0);return _0x252e15;}['_insertEmptyFootnotesDefinitionsContainer'](_0x517679,_0x531327){const _0x394278=_0x517679['createElement']('footnotesDefinitions',{});return _0x517679['append'](_0x394278,_0x531327),this['_footnotesDefinitions']=_0x394278,_0x394278;}['_ensureFootnotesDefinitionsContainerExists'](_0x5261e6){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x192d8c=this['_footnotes'][0x0]['reference']['root'],_0x287561=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5261e6,_0x192d8c);for(const _0x3dcd0f of this['_footnotes'])_0x3dcd0f['definition']['parent']||_0x5261e6['insert'](_0x3dcd0f['definition'],_0x287561,'end');this['_updateFootnotesCounters'](_0x5261e6);}['_handleFootnotesDefinitionsObjectChanges'](_0xec6000,_0xdb4afe){let _0x36a17d=!0x1;const {inserted:_0x42c876,removed:_0x5adb1f,moved:_0x133ca7}=this['_footnoteDefsContainerTracker']['getChanges'](_0xdb4afe);if(_0x133ca7['length']&&(this['_footnotesDefinitions']=_0x133ca7[0x0]),_0x42c876['length']){if(_0x42c876['length']>0x1||this['_footnotesDefinitions']&&_0x42c876['some'](_0x426ce5=>_0x426ce5!==this['_footnotesDefinitions'])){const _0xa61ca7=_0xec6000['createElement']('footnotesDefinitions',{}),_0x3172a7=[];this['_footnotesDefinitions']&&_0x3172a7['push'](this['_footnotesDefinitions']),_0x3172a7['push'](..._0x42c876),_0xec6000['insert'](_0xa61ca7,_0x3172a7[0x0],'before');for(const _0x444022 of _0x3172a7)_0xec6000['move'](_0xec6000['createRangeIn'](_0x444022),_0xec6000['createPositionAt'](_0xa61ca7,'end')),_0xec6000['remove'](_0x444022);this['_footnotesDefinitions']=_0xa61ca7,this['_updateFootnotesCounters'](_0xec6000),_0x36a17d=!0x0;}else this['_footnotesDefinitions']=_0x42c876[0x0];}if(_0x5adb1f['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x127b52 of this['_footnotes'])_0xec6000['remove'](_0x127b52['reference']),_0x36a17d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x36a17d;}['_handleFootnoteDefinitionsChanges'](_0x466630,_0x5cb78a){let _0x19af21=!0x1;const _0x4ac496=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2f72ac,moved:_0x57e70c}=this['_footnoteDefsTracker']['getChanges'](_0x5cb78a);for(const _0x330aa4 of[..._0x57e70c,..._0x2f72ac]){const _0x2ef119=_0x330aa4['getAttribute']('footnoteId'),_0x1b0311=this['getFootnote'](_0x2ef119);_0x1b0311&&(_0x1b0311['definition']=_0x330aa4),_(_0x466630,_0x4ac496,_0x330aa4)&&(_0x19af21=!0x0);}return _0x19af21;}['_handleFootnoteReferencesChanges'](_0x56ae9c,_0x3c1528){let _0x4f84e8=!0x1;const {removed:_0x1c2c79,inserted:_0x2e20e0,moved:_0x24d960}=this['_footnoteRefsTracker']['getChanges'](_0x3c1528);for(const _0x152f7d of _0x1c2c79)this['_handleRemoveFootnoteReferenceById'](_0x56ae9c,_0x152f7d)&&(_0x4f84e8=!0x0);for(const _0x5d198f of _0x2e20e0)this['_handleInsertedFootnoteReference'](_0x56ae9c,_0x5d198f)&&(_0x4f84e8=!0x0);for(const _0x5b7240 of _0x24d960)this['_handleMovedFootnoteReference'](_0x56ae9c,_0x5b7240)&&(_0x4f84e8=!0x0);return _0x4f84e8;}['_handleFootnotesDefinitionsObjectSync'](_0x170a1b){if(!this['_footnotesDefinitions'])return!0x1;let _0x52c104=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xf7cb0f=[];for(const _0x49b8cb of this['_footnotesDefinitions']['getChildren']()){const _0x14200f=_0x49b8cb['getAttribute']('footnoteId');this['getFootnote'](_0x14200f)||(_0xf7cb0f['unshift'](_0x49b8cb),_0x52c104=!0x0);}for(const _0x56b871 of _0xf7cb0f)_0x170a1b['remove'](_0x56b871);}const _0x59ec68=new Set(),_0x2793bf=[];for(const _0x216633 of this['_footnotesDefinitions']['getChildren']()){const _0x1ee2e0=_0x216633['getAttribute']('footnoteId');_0x59ec68['has'](_0x1ee2e0)?(_0x2793bf['unshift'](_0x216633),_0x52c104=!0x0):_0x59ec68['add'](_0x1ee2e0);}for(const _0x292ae2 of _0x2793bf)_0x170a1b['remove'](_0x292ae2);return this['_footnotesDefinitions']['childCount']||(_0x170a1b['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x52c104=!0x0),_0x52c104;}['_handleInsertedFootnoteReference'](_0x7f1f4e,_0x3c3bbf){if(this['_footnotes']['find'](_0x172220=>_0x172220['reference']===_0x3c3bbf))return!0x1;let _0x5ae173=!0x1;const _0x4718bf=_0x3c3bbf['getAttribute']('footnoteId'),_0x3b30bd=this['_footnotes']['findIndex'](_0x5d444e=>_0x5d444e['id']===_0x4718bf);-0x1!==_0x3b30bd&&(_0x7f1f4e['remove'](this['_footnotes'][_0x3b30bd]['reference']),this['_footnotes']['splice'](_0x3b30bd,0x1),_0x5ae173=!0x0);let _0x57cab0=this['_footnotesDefinitions']?function(_0x552b30,_0x36e907){for(const _0x49a3b1 of _0x552b30['getChildren']())if(_0x49a3b1['getAttribute']('footnoteId')===_0x36e907)return _0x49a3b1;return null;}(this['_footnotesDefinitions'],_0x4718bf):null;_0x57cab0||(_0x57cab0=_0x7f1f4e['createElement']('footnoteDefinition',{'footnoteId':_0x4718bf}),this['_footnotesDefinitions']&&(_0x7f1f4e['insert'](_0x57cab0,this['_footnotesDefinitions'],'end'),_0x5ae173=!0x0));const _0x422697={'id':_0x4718bf,'reference':_0x3c3bbf,'definition':_0x57cab0},_0xe7f9cf=I(this['editor']['model'],this['_footnotes'],_0x3c3bbf);this['_footnotes']['splice'](_0xe7f9cf,0x0,_0x422697);let _0x596c5d=_0xe7f9cf;return-0x1!==_0x3b30bd&&(_0x596c5d=Math['min'](_0xe7f9cf,_0x3b30bd)),this['_updateFootnotesCounters'](_0x7f1f4e,_0x596c5d)&&(_0x5ae173=!0x0),_0x5ae173;}['_handleRemoveFootnoteReferenceById'](_0x540815,_0x7b87f8){const _0x5c8550=this['_footnotes']['findIndex'](_0x581166=>_0x581166['id']===_0x7b87f8);if(-0x1===_0x5c8550)return!0x1;let _0x19f2fd=!0x1;const _0x14d298=this['_footnotes'][_0x5c8550];return'$graveyard'!==_0x14d298['definition']['root']['rootName']&&(_0x540815['remove'](_0x14d298['definition']),_0x19f2fd=!0x0),this['_footnotes']['splice'](_0x5c8550,0x1),this['_updateFootnotesCounters'](_0x540815,_0x5c8550)&&(_0x19f2fd=!0x0),_0x19f2fd;}['_handleMovedFootnoteReference'](_0x205967,_0x5ee684){const _0x138cf0=_0x5ee684['getAttribute']('footnoteId'),_0x228faf=this['_footnotes']['findIndex'](_0x476e23=>_0x476e23['id']===_0x138cf0),_0x61117e=this['_footnotes'][_0x228faf];let _0x3b7560=!0x1;_0x61117e['reference']=_0x5ee684,this['_footnotes']['splice'](_0x228faf,0x1);const _0x2d2787=I(this['editor']['model'],this['_footnotes'],_0x5ee684);return this['_footnotes']['splice'](_0x2d2787,0x0,_0x61117e),this['_updateFootnotesCounters'](_0x205967,Math['min'](_0x228faf,_0x2d2787))&&(_0x3b7560=!0x0),_0x3b7560;}['_updateFootnoteRefCounter'](_0xe3b6b6,_0x1b8477){if(!this['_footnotesDefinitions'])return!0x1;const _0x22d105=this['_footnotes'][_0x1b8477];let _0x5cb076;return _0x5cb076=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x22d105,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1b8477+0x1}):String(_0x1b8477+0x1),_0x22d105['reference']['getAttribute']('footnoteCounter')!=_0x5cb076&&(_0xe3b6b6['setAttribute']('footnoteCounter',_0x5cb076,_0x22d105['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x46aa80){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x151eff,_0x525164){if(_0x151eff['length']!==_0x525164['length'])return!0x1;for(let _0x21580e=0x0;_0x21580e<_0x151eff['length'];_0x21580e++)if(_0x151eff[_0x21580e]!==_0x525164[_0x21580e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x343ba3=>_0x343ba3['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x35f66f=>_0x35f66f['getAttribute']('footnoteId'))))return!0x1;let _0x64fa9a=!0x1;for(let _0x52901e=0x0;_0x52901e<this['_footnotes']['length'];_0x52901e++){const _0x1d7911=this['_footnotes'][_0x52901e],_0x110486=_0x46aa80['createPositionBefore'](_0x1d7911['definition']),_0x469e07=_0x46aa80['createPositionAt'](this['_footnotesDefinitions'],_0x52901e);_0x110486['isEqual'](_0x469e07)||(_0x46aa80['move'](_0x46aa80['createRangeOn'](_0x1d7911['definition']),_0x469e07),_0x64fa9a=!0x0);}return _0x64fa9a;}['_ensureFootnotesReferencesHaveProperOrder'](_0x246f3c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x338c58}=this['editor'];let _0x4e80f=!0x1;for(let _0x42a6b2=0x0;_0x42a6b2<this['_footnotes']['length']-0x1;_0x42a6b2++){const _0x2ebad7=this['_footnotes'][_0x42a6b2],_0x33de6c=this['_footnotes'][_0x42a6b2+0x1],_0x17d900=_0x338c58['createPositionBefore'](_0x2ebad7['reference']),_0xb0b903=_0x338c58['createPositionBefore'](_0x33de6c['reference']);'after'===_0x17d900['compareWith'](_0xb0b903)&&(this['_handleMovedFootnoteReference'](_0x246f3c,_0x2ebad7['reference']),_0x42a6b2=-0x1,_0x4e80f=!0x0);}return _0x4e80f;}}function _(_0x292ed6,_0x3e2377,_0x28b5a3){if(_0x28b5a3['childCount'])return!0x1;const _0xff689d=_0x3e2377?'paragraph':'footnoteInlineContent';return _0x292ed6['insert'](_0x292ed6['createElement'](_0xff689d),_0x28b5a3),!0x0;}function I(_0x1de363,_0x11da68,_0x3e95e2){if(0x0===_0x11da68['length'])return 0x0;const _0x42d459=_0x1de363['createPositionBefore'](_0x3e95e2);for(let _0x4371f7=0x0;_0x4371f7<_0x11da68['length'];_0x4371f7++){const _0x15f155=_0x11da68[_0x4371f7],_0x3c46a0=_0x1de363['createPositionBefore'](_0x15f155['reference']);if('before'===_0x42d459['compareWith'](_0x3c46a0))return _0x4371f7;}const _0x554a27=_0x3e95e2['root'];let _0x1e0db5=-0x1;for(let _0x2bfb68=_0x11da68['length']-0x1;_0x2bfb68>=0x0;_0x2bfb68--)if(_0x11da68[_0x2bfb68]['reference']['root']===_0x554a27){_0x1e0db5=_0x2bfb68;break;}if(-0x1!==_0x1e0db5)return _0x1e0db5+0x1;const _0x2aca5c=_0x1de363['document']['getRootNames'](),_0x223096=_0x2aca5c['indexOf'](_0x554a27['rootName']),_0x18813d=_0x2aca5c[_0x223096+0x1];if(_0x18813d){for(let _0x3fb1a4=0x0;_0x3fb1a4<_0x11da68['length'];_0x3fb1a4++)if(_0x11da68[_0x3fb1a4]['reference']['root']['rootName']===_0x18813d)return _0x3fb1a4;}return _0x11da68['length'];}class h extends _0xb95b7d{['refresh'](){const _0x2dd06f=this['editor']['model']['document']['selection'],_0xe78982=this['_getPositionToInsertFootnote'](_0x2dd06f);this['isEnabled']=!!_0xe78982;}['execute'](_0x31a271){const {editor:_0x15a018}=this,{model:_0x3d6c27}=_0x15a018,{selection:_0x21c831}=_0x3d6c27['document'],_0x32394e=this['_getPositionToInsertFootnote'](_0x21c831);if(!_0x32394e)return;const _0xb2196f=_0x15a018['plugins']['get']('FootnotesEditing'),_0x2cb479=_0x31a271?.['footnoteId']??_0x5e572e();!function(_0x1b438a){return'string'==typeof _0x1b438a&&_0x1b438a['length']>0x0&&!/\s/['test'](_0x1b438a)&&!/^\d/['test'](_0x1b438a);}(_0x2cb479)?_0x48b1f3('insert-footnote-command-executed-with-invalid-id'):(_0x3d6c27['change'](_0x1233ba=>{const _0x3ba0f8=_0x1233ba['createElement']('footnoteRef',{'footnoteId':_0x2cb479});_0x3d6c27['insertObject'](_0x3ba0f8,_0x32394e,null);}),_0xb2196f['_moveSelectionToFootnoteDefinition'](_0x2cb479));}['_getPositionToInsertFootnote'](_0x33fb6c){const {model:_0x51b61b}=this['editor'],{schema:_0x5a9549}=_0x51b61b,_0x33c537=_0x33fb6c['getFirstRange']();for(const _0x23db90 of _0x33c537['getItems']())if(_0x5a9549['isBlock'](_0x23db90)||_0x5a9549['isObject'](_0x23db90))return null;const _0x562fd5=_0x33c537['end'];return _0x5a9549['checkChild'](_0x562fd5,'footnoteRef')?_0x562fd5:null;}}class r extends _0x400efc{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x436e04}=this;_0x436e04['config']['define']('footnotes.multiBlock',!0x0),_0x436e04['commands']['add']('insertFootnote',new h(_0x436e04)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xe87027){const _0x5307ea=_0x38cd78([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]),_0xf328d4=0x47a28506,_0x1b9d09=0x47a5064e^_0xf328d4,_0xf3f1db=window[_0x38cd78([0x44,0x61,0x74,0x65])][_0x38cd78([0x6e,0x6f,0x77])](),_0x4712d8=_0xe87027[_0x38cd78([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3be51c=new window[(_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3a2c=>{_0x4712d8[_0x38cd78([0x6f,0x6e,0x63,0x65])](_0x38cd78([0x72,0x65,0x61,0x64,0x79]),_0x5c3a2c);}),_0x214b35={[_0x38cd78([0x6b,0x74,0x79])]:_0x38cd78([0x45,0x43]),[_0x38cd78([0x75,0x73,0x65])]:_0x38cd78([0x73,0x69,0x67]),[_0x38cd78([0x63,0x72,0x76])]:_0x38cd78([0x50,0x2d,0x32,0x35,0x36]),[_0x38cd78([0x78])]:_0x38cd78([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]),[_0x38cd78([0x79])]:_0x38cd78([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]),[_0x38cd78([0x61,0x6c,0x67])]:_0x38cd78([0x45,0x53,0x32,0x35,0x36])},_0x5b2c2f=_0x4712d8[_0x38cd78([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x38cd78([0x67,0x65,0x74])](_0x38cd78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3ffe67(){let _0x5d81c0,_0x5bade5=null,_0x12ed5a=null;try{if(_0x5b2c2f==_0x38cd78([0x47,0x50,0x4c]))return _0x38cd78([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d81c0=_0x393e06(),!_0x5d81c0)return _0x38cd78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d81c0[_0x38cd78([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12ed5a=_0xc7573e(_0x5d81c0[_0x38cd78([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d81c0[_0x38cd78([0x6a,0x74,0x69])])),await _0xa93ba3()?_0x5d296e()?_0x2cd659()?_0x38cd78([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xa1d390()?(_0x5d81c0[_0x38cd78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x38cd78([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5bade5=_0x42e553(_0x38cd78([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29e43a()):_0x38cd78([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x38cd78([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x38cd78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x38cd78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2cd659(){const _0x259f96=[_0x38cd78([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x38cd78([0x74,0x72,0x69,0x61,0x6c])][_0x38cd78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d81c0[_0x38cd78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf3f1db/0x3e8:0xe10*_0x1b9d09;return _0x5d81c0[_0x38cd78([0x65,0x78,0x70])]<_0x259f96;}function _0x5d296e(){const _0x498e5a=_0x5d81c0[_0x38cd78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x498e5a&&(!!_0x498e5a[_0x38cd78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cd78([0x2a]))||!!_0x498e5a[_0x38cd78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cd78([0x46,0x4f,0x4f])));}function _0xa1d390(){const _0x429205=_0x5d81c0[_0x38cd78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x429205||0x0==_0x429205[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d6cda}=new URL(window[_0x38cd78([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x429205[_0x38cd78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d6cda))return!0x0;const _0x4bdea7=_0x5d6cda[_0x38cd78([0x73,0x70,0x6c,0x69,0x74])](_0x38cd78([0x2e]));return _0x429205[_0x38cd78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x286f80=>_0x286f80[_0x38cd78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cd78([0x2a])))[_0x38cd78([0x6d,0x61,0x70])](_0x2ff92a=>_0x2ff92a[_0x38cd78([0x73,0x70,0x6c,0x69,0x74])](_0x38cd78([0x2e])))[_0x38cd78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x361ffb=>_0x361ffb[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bdea7[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38cd78([0x6d,0x61,0x70])](_0x3adbfa=>Array(_0x4bdea7[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3adbfa[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x38cd78([0x66,0x69,0x6c,0x6c])](_0x3adbfa[0x0]===_0x38cd78([0x2a])?_0x38cd78([0x2a]):'')[_0x38cd78([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3adbfa))[_0x38cd78([0x73,0x6f,0x6d,0x65])](_0x43ac93=>_0x4bdea7[_0x38cd78([0x65,0x76,0x65,0x72,0x79])]((_0x350060,_0x192173)=>_0x43ac93[_0x192173]===_0x350060||_0x43ac93[_0x192173]===_0x38cd78([0x2a])));}function _0x29e43a(){return _0x5bade5&&_0x12ed5a?new window[(_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35eeda,_0x32e041)=>{_0x5bade5[_0x38cd78([0x74,0x68,0x65,0x6e])](_0x35eeda,_0x32e041),_0x12ed5a[_0x38cd78([0x74,0x68,0x65,0x6e])](_0x37b021=>{_0x37b021!=_0x38cd78([0x56,0x61,0x6c,0x69,0x64])&&_0x35eeda(_0x37b021);},_0x32e041);}):_0x5bade5||_0x12ed5a||_0x38cd78([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc7573e(_0x3f6749,_0x56b865){return new window[(_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1347=>{if(_0x36bf78())return _0x3b1347(_0x38cd78([0x56,0x61,0x6c,0x69,0x64]));_0x4469ec(),_0x4712d8[_0x38cd78([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x38cd78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b6ec2=!0x1;const _0x3118fd=_0x5e572e();function _0x3efbef(_0x567ae5){return!!_0x567ae5&&(typeof _0x567ae5===_0x38cd78([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x567ae5===_0x38cd78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x567ae5[_0x38cd78([0x74,0x68,0x65,0x6e])]===_0x38cd78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x567ae5[_0x38cd78([0x63,0x61,0x74,0x63,0x68])]===_0x38cd78([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34f909(_0x29c9b4){_0x4cdaff(_0x29c9b4)[_0x38cd78([0x74,0x68,0x65,0x6e])](_0x57ce7e=>{if(!_0x57ce7e||_0x57ce7e[_0x38cd78([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x38cd78([0x6f,0x6b]))return _0x38cd78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45b482(_0x5d2ae5(_0x3118fd+_0x56b865))!=_0x57ce7e[_0x38cd78([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x38cd78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x38cd78([0x56,0x61,0x6c,0x69,0x64]);})[_0x38cd78([0x74,0x68,0x65,0x6e])](_0x557d70=>(_0x4a7293(),_0x557d70),()=>{const _0x1a71cd=_0x1eb9c6();return null==_0x1a71cd?(_0x4a7293(),_0x38cd78([0x56,0x61,0x6c,0x69,0x64])):_0x38cd78(_0xf3f1db-_0x1a71cd>(0x63ae0106^_0xf328d4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x38cd78([0x74,0x68,0x65,0x6e])](_0x3b1347)[_0x38cd78([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b1347(_0x38cd78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x189957=0x47946b86^_0xf328d4;function _0x4a7293(){const _0x175246=_0x38cd78([0x6c,0x6c,0x63,0x74,0x2d])+_0x45b482(_0x5d2ae5(_0x3f6749)),_0x560b3d=_0xbb9470(_0x45b482(window[_0x38cd78([0x4d,0x61,0x74,0x68])][_0x38cd78([0x63,0x65,0x69,0x6c])](_0xf3f1db/_0x189957)));window[_0x38cd78([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38cd78([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x175246,_0x560b3d);}function _0x1eb9c6(){const _0x6529=_0x38cd78([0x6c,0x6c,0x63,0x74,0x2d])+_0x45b482(_0x5d2ae5(_0x3f6749)),_0x45a1f2=window[_0x38cd78([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x38cd78([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6529);return _0x45a1f2?window[_0x38cd78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbb9470(_0x45a1f2),0x10)*_0x189957:null;}function _0x4cdaff(_0x58dc7f){return new window[(_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x547535,_0x29e605)=>{_0x58dc7f[_0x38cd78([0x74,0x68,0x65,0x6e])](_0x547535,_0x29e605),window[_0x38cd78([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29e605,0x47a351c6^_0xf328d4);});}}_0x4712d8[_0x38cd78([0x6f,0x6e])](_0x38cd78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x504756,_0xd04411)=>{if(_0xd04411[0x0]!=_0x3f6749)return _0x3b1347(_0x38cd78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd04411[0x1]={..._0xd04411[0x1],[_0x38cd78([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3118fd};},{[_0x38cd78([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38cd78([0x68,0x69,0x67,0x68])}),_0x4712d8[_0x38cd78([0x6f,0x6e])](_0x38cd78([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21d0ae=>{_0x3efbef(_0x21d0ae[_0x38cd78([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b6ec2=!0x0,_0x34f909(_0x21d0ae[_0x38cd78([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x38cd78([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x38cd78([0x6c,0x6f,0x77])}),_0x3be51c[_0x38cd78([0x74,0x68,0x65,0x6e])](()=>{_0x5b6ec2||_0x3b1347(_0x38cd78([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36bf78(){return _0x4712d8[_0x38cd78([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38cd78([0x76,0x69,0x65,0x77])][_0x38cd78([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x38cd78([0x61,0x75,0x74,0x6f]);}function _0x4469ec(){_0x4712d8[_0x38cd78([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x38cd78([0x76,0x69,0x65,0x77])][_0x38cd78([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x38cd78([0x61,0x75,0x74,0x6f]);}}function _0x42e553(_0x3d9369){const _0x950905=[new window[(_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x171b82=>setTimeout(_0x171b82,0x47abbbca^_0xf328d4)),_0x3be51c[_0x38cd78([0x74,0x68,0x65,0x6e])](()=>new window[(_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e5445=>{let _0x4579c9=0x0;_0x4712d8[_0x38cd78([0x6d,0x6f,0x64,0x65,0x6c])][_0x38cd78([0x6f,0x6e])](_0x38cd78([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x566085,_0x4d93c1)=>{_0x4d93c1[0x0][_0x38cd78([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4579c9++,_0x4579c9==(0x47a280ee^_0xf328d4)&&(_0x1e5445(),_0x566085[_0x38cd78([0x6f,0x66,0x66])]());});}))];return window[_0x38cd78([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x38cd78([0x72,0x61,0x63,0x65])](_0x950905)[_0x38cd78([0x74,0x68,0x65,0x6e])](()=>_0x3d9369);}async function _0x2c0462(){await _0x3be51c,_0x4712d8[_0x38cd78([0x6d,0x6f,0x64,0x65,0x6c])][_0x38cd78([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13e238,_0x4712d8[_0x38cd78([0x6d,0x6f,0x64,0x65,0x6c])][_0x38cd78([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13e238,_0x4712d8[_0x38cd78([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x38cd78([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c489a(_0x7de311){const _0x4a3457=_0x37679f();_0x4712d8[_0x4a3457]=_0x38cd78([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7de311,_0x7de311!=_0x38cd78([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0462();}function _0x37679f(){const _0x490bd2=window[_0x38cd78([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x38cd78([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x38cd78([0x6e,0x6f,0x77])]())[_0x38cd78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x38cd78([0x2e]),'');let _0x560d8f=_0x38cd78([0x75]);for(let _0x5e9c5d=0x0;_0x5e9c5d<_0x490bd2[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e9c5d+=0x2){let _0x125f17=window[_0x38cd78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x490bd2[_0x38cd78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e9c5d,_0x5e9c5d+0x2));_0x125f17>=_0x5307ea[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x125f17-=_0x5307ea[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x560d8f+=_0x5307ea[_0x125f17];}return _0x560d8f;}function _0x393e06(){const _0x299a9c=_0x5b2c2f[_0x38cd78([0x73,0x70,0x6c,0x69,0x74])](_0x38cd78([0x2e]));if(0x3!=_0x299a9c[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c3e1c(_0x299a9c[0x1]);function _0x5c3e1c(_0x57acdd){const _0x3bec07=_0xbd5d47(_0x57acdd);return _0x3bec07&&_0x5a3066()?_0x3bec07:null;function _0x5a3066(){const _0x51de48=_0x3bec07[_0x38cd78([0x6a,0x74,0x69])],_0x5f1ec6=window[_0x38cd78([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51de48[_0x38cd78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51de48[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x240767={..._0x3bec07,[_0x38cd78([0x6a,0x74,0x69])]:_0x51de48[_0x38cd78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51de48[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x240767[_0x38cd78([0x76,0x63])],_0x5d2ae5(_0x240767)==_0x5f1ec6;}}}async function _0xa93ba3(){let _0xe9b63d=!0x0;try{const _0x190a49=_0x5b2c2f[_0x38cd78([0x73,0x70,0x6c,0x69,0x74])](_0x38cd78([0x2e])),[_0xe21c46,_0x14090e,_0x4ffacd]=_0x190a49;return _0x9f7fe2(_0xe21c46),await _0x13167d(_0xe21c46,_0x14090e,_0x4ffacd),_0xe9b63d;}catch{return!0x1;}function _0x9f7fe2(_0x393b3b){const _0x165af1=_0xbd5d47(_0x393b3b);_0x165af1&&_0x165af1[_0x38cd78([0x61,0x6c,0x67])]==_0x38cd78([0x45,0x53,0x32,0x35,0x36])||(_0xe9b63d=!0x1);}async function _0x13167d(_0x5229fb,_0x35ae0c,_0x163c52){const _0x1a2e0f=window[_0x38cd78([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x38cd78([0x66,0x72,0x6f,0x6d])](_0x3ab18c(_0x163c52),_0x48697f=>_0x48697f[_0x38cd78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e5df6=new window[(_0x38cd78([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x38cd78([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5229fb+_0x38cd78([0x2e])+_0x35ae0c),_0x658870=window[_0x38cd78([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x38cd78([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x658870)return;const _0x13b313=await _0x658870[_0x38cd78([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x38cd78([0x6a,0x77,0x6b]),_0x214b35,{[_0x38cd78([0x6e,0x61,0x6d,0x65])]:_0x38cd78([0x45,0x43,0x44,0x53,0x41]),[_0x38cd78([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x38cd78([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x38cd78([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x658870[_0x38cd78([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x38cd78([0x6e,0x61,0x6d,0x65])]:_0x38cd78([0x45,0x43,0x44,0x53,0x41]),[_0x38cd78([0x68,0x61,0x73,0x68])]:{[_0x38cd78([0x6e,0x61,0x6d,0x65])]:_0x38cd78([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13b313,_0x1a2e0f,_0x2e5df6)||(_0xe9b63d=!0x1);}}function _0xbd5d47(_0x14d5c9){return _0x14d5c9[_0x38cd78([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x38cd78([0x65,0x79]))?JSON[_0x38cd78([0x70,0x61,0x72,0x73,0x65])](_0x3ab18c(_0x14d5c9)):null;}function _0x3ab18c(_0x122969){return window[_0x38cd78([0x61,0x74,0x6f,0x62])](_0x122969[_0x38cd78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x38cd78([0x2b]))[_0x38cd78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x38cd78([0x2f])));}function _0x5d2ae5(_0xeb5bb8){let _0x10a40f=0x1505;function _0x3148a0(_0x3c8766){for(let _0x4c34ad=0x0;_0x4c34ad<_0x3c8766[_0x38cd78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c34ad++){const _0x421726=_0x3c8766[_0x38cd78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c34ad);_0x10a40f=(_0x10a40f<<0x5)+_0x10a40f+_0x421726,_0x10a40f&=_0x10a40f;}}function _0x2ceefa(_0x3417e6){Array[_0x38cd78([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3417e6)?_0x3417e6[_0x38cd78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ceefa):_0x3417e6&&typeof _0x3417e6==_0x38cd78([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x38cd78([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3417e6)[_0x38cd78([0x73,0x6f,0x72,0x74])]()[_0x38cd78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x391661,_0x77ac41])=>{_0x3148a0(_0x391661),_0x2ceefa(_0x77ac41);}):_0x3148a0(window[_0x38cd78([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3417e6));}return _0x2ceefa(_0xeb5bb8),_0x10a40f>>>0x0;}function _0x45b482(_0x2d0fc0){return _0x2d0fc0[_0x38cd78([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x38cd78([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x38cd78([0x30]));}function _0xbb9470(_0x4d1e78){return _0x4d1e78[_0x38cd78([0x73,0x70,0x6c,0x69,0x74])]('')[_0x38cd78([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x38cd78([0x6a,0x6f,0x69,0x6e])]('');}function _0x13e238(){}function _0x38cd78(_0xc25eb8){return _0xc25eb8['map'](_0x132f65=>String['fromCharCode'](_0x132f65))['join']('');}_0x5c489a(await _0x3ffe67());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2683bb){const {plugins:_0xf6ec8e,editing:_0x4c87c3,model:_0x8fad5b}=this['editor'],_0xa3bc98=_0xf6ec8e['get'](f)['getFootnote'](_0x2683bb);return!!_0xa3bc98&&(_0x8fad5b['change'](_0x1d2533=>{_0x1d2533['setSelection'](_0x1d2533['createPositionAt'](_0xa3bc98['definition'],'end'));}),_0x4c87c3['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xc2d102){const {plugins:_0x36f54e,editing:_0x4383ed,model:_0x1e381a}=this['editor'],_0x2b048e=_0x36f54e['get'](f)['getFootnote'](_0xc2d102);return!!_0x2b048e&&(_0x1e381a['change'](_0x4f3e36=>{_0x4f3e36['setSelection'](_0x2b048e['reference'],'on');}),_0x4383ed['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4c5c8a}=this['editor']['model'],_0x30e517=this['editor']['config']['get']('footnotes.multiBlock');_0x4c5c8a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4c5c8a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4c5c8a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x30e517?_0x4c5c8a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4c5c8a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4c5c8a['addChildCheck'](_0x2676e6=>{for(const _0x4d64ce of _0x2676e6)if('footnoteDefinition'===_0x4d64ce['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x457f11}=this,{conversion:_0x25b387,editing:_0xe0f82a}=_0x457f11,{t:t}=_0x457f11['locale'];_0x25b387['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2b8f4c,{writer:_0x3923b3,consumable:_0x3e14f7})=>{const _0x41ab8d=_0x2b8f4c['getChild'](0x0);if(!_0x41ab8d||!_0x41ab8d['is']('element','a'))return null;const _0x17577e=_0x41ab8d['getAttribute']('href')||'';if(!_0x17577e['startsWith']('#'))return null;const _0x345ae7=_0x17577e['replace'](/^#/,'');if(!_0x345ae7)return null;_0x3e14f7['consume'](_0x41ab8d,{'name':!0x0,'attributes':['href']});for(const {item:_0x414575}of _0xe0f82a['view']['createRangeIn'](_0x41ab8d))_0x414575['is']('$textProxy')?_0x3e14f7['consume'](_0x414575['textNode'],{'name':!0x0}):_0x414575['is']('element')&&_0x3e14f7['consume'](_0x414575,{'name':!0x0});return _0x3923b3['createElement']('footnoteRef',{'footnoteId':_0x345ae7});}}),_0x25b387['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b8bf1,{writer:_0x15156d})=>b(_0x3b8bf1,_0x15156d)}),_0x25b387['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x279c98,{writer:_0x27b217})=>{const _0x32ab02=_0x279c98['getAttribute']('footnoteCounter');return _0x12eb73(b(_0x279c98,_0x27b217),_0x27b217,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x32ab02)});}});}['_defineDefinitionsConverters'](){const {editor:_0x251f45}=this,{t:t}=_0x251f45['locale'],{conversion:_0x5b6b40}=_0x251f45;_0x5b6b40['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5b6b40['for']('upcast')['add'](_0x5b0edb=>{_0x5b0edb['on']('element:ol',(_0x10255a,_0x24dc3b,_0x44ea2c)=>{const _0x1b4d60=_0x24dc3b['viewItem'];if(!_0x1b4d60['hasClass']('footnotes-list')||!_0x24dc3b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x44ea2c['consumable']['consume'](_0x1b4d60,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x31234d,modelCursor:_0x13b801}=_0x44ea2c['convertChildren'](_0x24dc3b['viewItem'],_0x24dc3b['modelCursor']);_0x24dc3b['modelRange']=_0x31234d,_0x24dc3b['modelCursor']=_0x13b801;}),_0x5b0edb['on']('element:hr',(_0x5db748,_0x58fbbf,_0x4c1e12)=>{const _0x386bce=_0x58fbbf['viewItem'];_0x386bce['hasClass']('footnotes-divider')&&_0x58fbbf['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4c1e12['consumable']['consume'](_0x386bce,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5b6b40['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x163ed1,{writer:_0x242c18})=>D(_0x242c18)}),_0x5b6b40['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1eedfb,{writer:_0x54ac15})=>{const _0x2027f7=D(_0x54ac15,{'data-footnotes-list-label':t('Footnotes')}),_0x51b2cd=_0x12eb73(_0x2027f7,_0x54ac15,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x54ac15['setCustomProperty']('footnotesDefinitions',!0x0,_0x51b2cd),_0x51b2cd;}});}['_defineDefinitionConverters'](){const {editor:_0x1dbb0}=this,{conversion:_0x1dd612,locale:_0x5c09ce}=_0x1dbb0,_0x4a0d86=_0x1dbb0['config']['get']('footnotes.multiBlock');_0x1dd612['for']('upcast')['add'](_0x2ec370=>{_0x2ec370['on']('element:li',(_0x314599,_0x40f125,_0x4d5f73)=>{const _0x41fe7b=_0x40f125['viewItem'];if(!_0x41fe7b['hasClass']('footnote-definition')||!_0x41fe7b['getAttribute']('id'))return;const _0x217573=_0x41fe7b['parent'];if(!_0x217573['is']('element','ol')||!_0x217573['hasClass']('footnotes-list'))return;if(!_0x4d5f73['consumable']['test'](_0x41fe7b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x22b5c5=_0x4d5f73['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x41fe7b['getAttribute']('id')});if(!_0x4d5f73['safeInsert'](_0x22b5c5,_0x40f125['modelCursor']))return;_0x4d5f73['consumable']['consume'](_0x41fe7b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x595381=Array['from'](_0x41fe7b['getChildren']())['find'](_0x23c4f5=>_0x23c4f5['is']('element')&&_0x23c4f5['hasClass']('footnote-content'));for(const _0x18aa28 of _0x41fe7b['getChildren']())_0x18aa28['is']('element')&&(_0x4d5f73['consumable']['consume'](_0x18aa28,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4d5f73['consumable']['consume'](_0x18aa28,{'name':!0x0,'classes':'footnote-content'}));if(_0x595381){if(_0x4a0d86)_0x4d5f73['convertChildren'](_0x595381,_0x22b5c5);else{const _0x1afe28=_0x4d5f73['writer']['createElement']('footnoteInlineContent');_0x4d5f73['writer']['insert'](_0x1afe28,_0x22b5c5),_0x4d5f73['convertChildren'](_0x595381,_0x1afe28);}}_0x4d5f73['updateConversionResult'](_0x22b5c5,_0x40f125);});}),_0x1dd612['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d2b27,{writer:_0x2944c5})=>y(_0x2d2b27,_0x2944c5,_0x5c09ce,{'dataPipeline':!0x0})}),_0x1dd612['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5402c4,{writer:_0x326566})=>y(_0x5402c4,_0x326566,_0x5c09ce)});}['_defineBogusParagraphConverters'](){const {editor:_0x8b7cae}=this,{conversion:_0x688553}=_0x8b7cae;_0x8b7cae['config']['get']('footnotes.multiBlock')?(_0x688553['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x688553['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x8b7cae['model']['document'],'change:data',()=>{!function(_0x1387e3,_0x4aaf00){const _0x220252=_0x1387e3['document']['differ'],_0x5dcc9e=new Set();for(const _0x3a7d77 of _0x220252['getChanges']()){const _0x4dbb53='attribute'==_0x3a7d77['type']?_0x3a7d77['range']['start']['parent']:_0x3a7d77['position']['parent'];_0x4dbb53['is']('element','footnoteDefinition')&&_0x5dcc9e['add'](_0x4dbb53);}for(const _0x11ba9a of _0x5dcc9e['values']()){const _0x4811c2=Array['from'](_0x11ba9a['getChildren']())['filter'](_0x506d01=>v(_0x506d01,_0x4aaf00['mapper']));for(const _0x1ba513 of _0x4811c2)_0x4aaf00['reconvertItem'](_0x1ba513);}}(_0x8b7cae['model'],_0x8b7cae['editing']);})):(_0x688553['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x688553['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x81919d,{writer:_0x4a7be8})=>{const _0x1e2f2f=_0x4a7be8['createContainerElement']('span');return _0x4a7be8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1e2f2f),_0x1e2f2f;}}));}['_defineKeyboardHandlers'](){const {editor:_0x570114}=this,{editing:_0x5ad4ee,t:t}=_0x570114,_0xd269a1=_0x570114['model']['document']['selection'];_0x570114['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x570114['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5ad4ee['view']['document'],'enter',(_0x34c6f5,_0xc0e64e)=>{const _0x24d971=function(_0x300e62){const _0x5ee53b=_0x300e62['getSelectedElement']();if(_0x5ee53b?.['is']('element','footnoteRef'))return _0x5ee53b;return null;}(_0xd269a1);if(_0x24d971){const _0x2ed6ce=_0x24d971['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2ed6ce),_0xc0e64e['preventDefault'](),_0x34c6f5['stop']();}},{'context':_0x1a6449});}['_defineClickHandlers'](){const {editor:_0x64ae13}=this,{editing:_0x50bd3d}=_0x64ae13;_0x64ae13['editing']['view']['addObserver'](_0xf5da23),_0x64ae13['editing']['view']['addObserver'](_0x1bd5c8);let _0x39c53f=!0x1;this['listenTo'](_0x50bd3d['view']['document'],'pointerdown',(_0x4d41d9,_0x572e10)=>{const {target:_0x2d7c9b}=_0x572e10,_0x34ad0e=_0x50bd3d['view']['document']['selection'];_0x39c53f=!!(_0x2d7c9b?.['is']('element','a')&&_0x2d7c9b['parent']?.['is']('element','sup')&&_0x2d7c9b['parent']['hasClass']('footnote'))&&_0x34ad0e['getSelectedElement']()===_0x2d7c9b['parent'];},{'priority':'high'}),this['listenTo'](_0x50bd3d['view']['document'],'click',(_0x4596e5,_0x5b200a)=>{const {target:_0x2aec65}=_0x5b200a;if(!_0x2aec65?.['is']('element','a'))return;if(_0x2aec65['parent']?.['is']('element','sup')&&_0x2aec65['parent']['hasClass']('footnote')&&!_0x39c53f)return void _0x5b200a['preventDefault']();let _0x5857c1=_0x2aec65['getAttribute']('href');if(!_0x5857c1?.['startsWith']('#'))return;_0x5857c1=_0x5857c1['slice'](0x1);let _0xc9b80a=!0x1;(_0x5857c1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5857c1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5857c1))&&(_0xc9b80a=!0x0),_0xc9b80a&&(_0x5b200a['preventDefault'](),_0x4596e5['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x13fee3}={}){return(_0x9e5530,{writer:_0xc3618f})=>{if(!g(_0x9e5530))return null;if(!_0x13fee3)return _0xc3618f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x11fc23=_0xc3618f['createContainerElement']('p');return _0xc3618f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11fc23),_0x11fc23;};}function g(_0x1959bf){const {parent:_0xac6f1f}=_0x1959bf;if(!_0xac6f1f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xac6f1f['childCount'])return!0x1;for(const _0x390b9e of _0x1959bf['getAttributeKeys']())if(!_0x390b9e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x390b9e)return!0x1;return!0x0;}function v(_0x48e0bf,_0x57086a){if(!_0x48e0bf['is']('element','paragraph'))return!0x1;const _0x25bb0a=_0x57086a['toViewElement'](_0x48e0bf);return!!_0x25bb0a&&g(_0x48e0bf)!==_0x25bb0a['is']('element','span');}function Q(_0x56b8d9){return _0x1a6449(_0x56b8d9)&&_0x56b8d9['is']('containerElement')&&!!_0x56b8d9['getCustomProperty']('footnotesDefinitions');}function D(_0x4108d7,_0x331ddd={}){const _0x5eeb14=_0x4108d7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x20f7e9=_0x4108d7['createContainerElement']('ol',{'class':'footnotes-list'},_0x4108d7['createSlot']());return _0x4108d7['createContainerElement']('div',{'class':'footnotes',..._0x331ddd},[_0x5eeb14,_0x20f7e9]);}function b(_0x566a7a,_0x5b795f){const _0xea0503=_0x566a7a['getAttribute']('footnoteId'),_0x18a72b=_0x566a7a['getAttribute']('footnoteCounter'),_0x2dcda6=_0x5b795f['createUIElement']('a',{'href':'#'+_0xea0503},function(_0xb3affd){const _0x4b5304=this['toDomElement'](_0xb3affd);return _0x4b5304['textContent']=_0x18a72b,_0x4b5304;}),_0x4af87c=_0x5b795f['createContainerElement']('sup',{'id':'ref-'+_0xea0503,'class':'footnote'},[_0x2dcda6]);return _0x4af87c['getFillerOffset']=()=>null,_0x4af87c;}function y(_0x461480,_0x3e6f6b,_0x110370,{dataPipeline:_0x22ee89}={}){const {t:t}=_0x110370,_0x579503=_0x461480['getAttribute']('footnoteId'),_0x352603=_0x3e6f6b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x579503},function(_0x199485){const _0x49995c=this['toDomElement'](_0x199485);return _0x49995c['innerText']='^',_0x49995c;}),_0x1563af=_0x22ee89?_0x3e6f6b['createContainerElement']('div',{'class':'footnote-content'}):_0x4cc677(_0x3e6f6b['createEditableElement']('div',{'class':'footnote-content'}),_0x3e6f6b,{'label':t('Footnote\x20content.')});return _0x3e6f6b['insert'](_0x3e6f6b['createPositionAt'](_0x1563af,0x0),_0x3e6f6b['createSlot']()),_0x3e6f6b['createContainerElement']('li',{'class':'footnote-definition','id':_0x579503},[_0x352603,_0x1563af]);}class e extends _0x400efc{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x932d8b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1fa771}=this,{plugins:_0x5b3df8,model:_0x3bce99}=_0x1fa771,_0x2b28fa=_0x5b3df8['get'](_0x932d8b),_0x25ed9d=_0x5b3df8['get'](f);this['listenTo'](_0x2b28fa,'outputTransformation',(_0x3eb413,_0x1a30fb)=>{const _0x553210=l(_0x3bce99['createRangeIn'](_0x1a30fb['content']));if(!_0x553210['length'])return;const _0x487f4f=_0x25ed9d['getFootnotes'](),_0xb07b20=_0x553210['reduce']((_0x5b0bdd,_0x119625)=>{const _0x5dec98=_0x487f4f['find'](_0x2e2c16=>_0x2e2c16['id']===_0x119625);if(_0x5dec98){const _0x2b48be=_0x1fa771['data']['toView'](_0x5dec98['definition'],{'isClipboardPipeline':!0x0}),_0x355be6=_0x1fa771['data']['htmlProcessor']['toData'](_0x2b48be);_0x5b0bdd[_0x5dec98['id']]=_0x355be6;}return _0x5b0bdd;},Object['create'](null));_0x1a30fb['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xb07b20));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x34537e}=this,{model:_0x399e06,plugins:_0x4398c6}=_0x34537e,{view:_0x4e23ee}=_0x34537e['editing'],_0x1a320d=_0x4398c6['get'](_0x932d8b),_0x58ec57=_0x4398c6['get'](f),_0x104284=_0x34537e['config']['get']('footnotes.multiBlock');let _0x56f5ff=null;this['listenTo'](_0x4e23ee['document'],'clipboardInput',(_0x1c0b23,_0x5e845e)=>{const _0x4f9629=_0x5e845e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x56f5ff=_0x4f9629?JSON['parse'](_0x4f9629):null;}),this['listenTo'](_0x1a320d,'contentInsertion',(_0x409b35,_0x5ae9cc)=>{const _0x48471b=_0x5ae9cc['sourceEditorId']===this['editor']['id'];_0x48471b&&'drop'===_0x5ae9cc['method']||_0x399e06['change'](_0x22c5b1=>{let _0x26405a=_0x58ec57['getFootnotesDefinitionsObjectElement']();const _0x172f0b=!!_0x26405a&&Array['from'](_0x399e06['document']['selection']['getSelectedBlocks']())['includes'](_0x26405a);if(!_0x56f5ff&&function(_0x536bc1){for(const {item:_0x17d893}of _0x536bc1)if(_0x17d893['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x399e06['createRangeIn'](_0x5ae9cc['content']))&&(_0x56f5ff=function(_0x36809b,_0x45f7d9){const _0x12131a=c(_0x36809b,_0x45f7d9);if(!_0x12131a)return null;const _0x59516d=Object['create'](null);for(const _0x254bb5 of _0x12131a['getChildren']())_0x254bb5['is']('element','footnoteDefinition')&&_0x254bb5['hasAttribute']('footnoteId')&&(_0x59516d[_0x254bb5['getAttribute']('footnoteId')]=_0x36809b['cloneElement'](_0x254bb5,!0x0));return Object['keys'](_0x59516d)['length']?_0x59516d:null;}(_0x22c5b1,_0x5ae9cc['content'])),(_0x26405a&&!_0x172f0b||!_0x26405a&&!_0x56f5ff)&&function(_0x1c0209,_0x594acc){const _0x1199e0=[];for(const {item:_0x4b09f4}of _0x1c0209['createRangeIn'](_0x594acc))_0x4b09f4['is']('element','footnotesDefinitions')&&_0x1199e0['push'](_0x4b09f4);for(const _0x29856b of _0x1199e0)_0x1c0209['remove'](_0x29856b);}(_0x22c5b1,_0x5ae9cc['content']),!_0x56f5ff)return;const {selection:_0x36e609}=_0x399e06['document'],_0x23ec8c=_0x36e609['getFirstRange']()['root'];_0x26405a&&!_0x172f0b||(_0x26405a=c(_0x22c5b1,_0x5ae9cc['content']),_0x26405a||=_0x58ec57['_insertEmptyFootnotesDefinitionsContainer'](_0x22c5b1,_0x23ec8c));const _0x2de612=Array['from'](_0x36e609['getRanges']())['flatMap'](l),_0x6aa509=function(_0x3db64a,_0x1c7fb3,_0x973346){const _0x4db91b=Object['create'](null);for(const {item:_0x38523e}of _0x3db64a['createRangeIn'](_0x1c7fb3))if(_0x38523e['is']('element','footnoteRef')){const _0x555e38=_0x38523e['getAttribute']('footnoteId');if(!_0x973346(_0x555e38))continue;_0x4db91b[_0x555e38]||(_0x4db91b[_0x555e38]=_0x5e572e()),_0x3db64a['setAttribute']('footnoteId',_0x4db91b[_0x555e38],_0x38523e);}return _0x4db91b;}(_0x22c5b1,_0x5ae9cc['content'],_0x5c3f51=>{if(!_0x48471b)return!0x0;return!!_0x58ec57['getFootnote'](_0x5c3f51)&&!_0x2de612['includes'](_0x5c3f51);});for(const [_0x192bb0,_0x23ce16]of Object['entries'](_0x56f5ff)){const _0x344e64=_0x6aa509[_0x192bb0]||_0x192bb0;let _0x1ea3d2;if('string'!=typeof _0x23ce16)_0x1ea3d2=_0x23ce16,_0x344e64!==_0x192bb0&&_0x22c5b1['setAttribute']('footnoteId',_0x344e64,_0x1ea3d2);else{_0x1ea3d2=_0x22c5b1['createElement']('footnoteDefinition',{'footnoteId':_0x344e64});const _0x4d469f=_0x34537e['data']['htmlProcessor']['toView'](_0x23ce16);let _0x12e537;if(_0x104284)_0x12e537=_0x34537e['data']['toModel'](_0x4d469f,_0x1ea3d2);else{_0x12e537=_0x22c5b1['createElement']('footnoteInlineContent');const _0x3cbb0a=_0x34537e['data']['toModel'](_0x4d469f,_0x12e537);_0x22c5b1['insert'](_0x3cbb0a,_0x12e537);}_0x22c5b1['append'](_0x12e537,_0x1ea3d2);}_0x22c5b1['insert'](_0x1ea3d2,_0x26405a,'end');}_0x56f5ff=null;});});}}function c(_0x18ba88,_0x40ae35){for(const {item:_0x25bbdf}of _0x18ba88['createRangeIn'](_0x40ae35))if(_0x25bbdf['is']('element','footnotesDefinitions'))return _0x25bbdf;return null;}function l(_0x2b1ea5){const _0x2eeaff=new Set();for(const {item:_0x4373c8}of _0x2b1ea5)_0x4373c8['is']('element','footnoteRef')&&_0x2eeaff['add'](_0x4373c8['getAttribute']('footnoteId'));return Array['from'](_0x2eeaff);}class i extends _0x400efc{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29dd86}=this,{componentFactory:_0x1eba45}=_0x29dd86['ui'];_0x1eba45['add']('insertFootnote',E(_0x29dd86,_0x18afe0)),_0x1eba45['add']('menuBar:insertFootnote',E(_0x29dd86,_0x3f0cf4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x233fb3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4a182f;for(const _0x5eb2b6 in _0x233fb3){const _0xe69f8b=_0x5eb2b6,_0x5723e6=_0x233fb3[_0xe69f8b];if('footnotesLicenseKeyValid'==_0x5723e6||'footnotesLicenseKeyInvalid'==_0x5723e6||'footnotesLicenseKeyExpired'==_0x5723e6||'footnotesLicenseKeyDomainLimit'==_0x5723e6||'footnotesLicenseKeyNotAllowed'==_0x5723e6||'footnotesLicenseKeyEvaluationLimit'==_0x5723e6||'footnotesLicenseKeyUsageLimit'==_0x5723e6){delete _0x233fb3[_0xe69f8b],_0x4a182f=_0x5723e6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4a182f&&_0x233fb3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4a182f&&_0x233fb3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4a182f&&_0x233fb3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4a182f&&_0x233fb3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4a182f&&_0x233fb3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4a182f&&_0x233fb3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x393fef,_0x25bbbc){const _0x2881a3=_0x393fef['commands']['get']('insertFootnote');return _0x481a42=>{const {t:t}=_0x481a42,_0x3764f6=new _0x25bbbc(_0x481a42),_0x494294=_0x3764f6 instanceof _0x3f0cf4;return _0x3764f6['bind']('isEnabled')['to'](_0x2881a3,'isEnabled'),_0x3764f6['set']({'label':t(_0x494294?'Footnote':'Insert\x20footnote'),'icon':_0x39f915,'tooltip':!0x0}),_0x3764f6['on']('execute',()=>{_0x2881a3['execute'](),_0x393fef['editing']['view']['focus']();}),_0x3764f6;};}class lt extends _0x400efc{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 _0xb95b7d{['refresh'](){const {editor:_0x51bcb7}=this,_0x5283d2=_0x51bcb7['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5283d2,this['value']=_0x5283d2?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x394bc8}){const {editor:_0x3e05ef}=this,_0x1e4c53=_0x3e05ef['plugins']['get'](f),_0x7d2e89=_0x1e4c53['getFootnotesDefinitionsObjectElement']();_0x7d2e89&&W['includes'](_0x394bc8)&&_0x3e05ef['model']['change'](_0x4b7c67=>{_0x4b7c67['setAttribute']('footnotesListStyle',_0x394bc8,_0x7d2e89),_0x1e4c53['_updateFootnotesCounters'](_0x4b7c67);});}}class C extends _0xb95b7d{['refresh'](){const {editor:_0x3fa503}=this,_0x2b8733=_0x3fa503['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2b8733,this['value']=_0x2b8733?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1a21fc}){const {editor:_0x28e25d}=this,_0x1ed9cf=_0x28e25d['plugins']['get'](f),_0x4f671a=_0x1ed9cf['getFootnotesDefinitionsObjectElement']();_0x4f671a&&Number['isInteger'](_0x1a21fc)&&_0x28e25d['model']['change'](_0x3b0719=>{_0x3b0719['setAttribute']('footnotesListStart',_0x1a21fc,_0x4f671a),_0x1ed9cf['_updateFootnotesCounters'](_0x3b0719);});}}class P extends _0x400efc{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x485059}=this;_0x485059['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x485059['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x485059['commands']['add']('footnotesStyle',new S(_0x485059)),_0x485059['commands']['add']('footnotesStart',new C(_0x485059)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3ca89a}=this,{schema:_0x8cd9d7}=_0x3ca89a['model'];_0x8cd9d7['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x30e0ed}=this,{conversion:_0x4aed5f,model:_0x17f202}=_0x30e0ed,{schema:_0x1c4dbd}=_0x17f202;_0x4aed5f['for']('upcast')['add'](_0x5e3187=>{_0x5e3187['on']('element:ol',(_0x2861c0,_0x4fc3fd,_0xb77394)=>{const _0x1b9a07=_0x4fc3fd['viewItem'],_0x978039=_0x4fc3fd['modelCursor']?.['parent'];_0x1b9a07['hasClass']('footnotes-list')&&_0x978039?.['is']('element','footnotesDefinitions')&&(function(_0x311f1a,_0x5643d5,_0x16129c,_0x4ace31){if(!_0x4ace31['checkAttribute'](_0x5643d5,'footnotesListStart'))return;let _0x9837a3=0x1;const _0x49e7a3=_0x16129c['consumable']['consume'](_0x311f1a,{'attributes':'start'});if(_0x49e7a3){const _0x1756e8=Number['parseInt'](_0x311f1a['getAttribute']('start'),0xa);Number['isNaN'](_0x1756e8)||(_0x9837a3=_0x1756e8);}!_0x49e7a3&&_0x5643d5['hasAttribute']('footnotesListStart')||_0x16129c['writer']['setAttribute']('footnotesListStart',_0x9837a3,_0x5643d5);}(_0x1b9a07,_0x978039,_0xb77394,_0x1c4dbd),function(_0x88709c,_0x4f0683,_0x3e3c43,_0x4b4f28){if(!_0x4b4f28['checkAttribute'](_0x4f0683,'footnotesListStyle'))return;let _0x280409='decimal',_0xb5a861=!0x1;if(_0x3e3c43['consumable']['consume'](_0x88709c,{'attributes':'type'})){const _0x3fe17d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x88709c['getAttribute']('type')];_0x3fe17d&&(_0x280409=_0x3fe17d),_0xb5a861=!0x0;}_0x3e3c43['consumable']['consume'](_0x88709c,{'styles':'list-style-type'})&&(_0x280409=function(_0x20946f){switch(_0x20946f){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x20946f;}}(_0x88709c['getStyle']('list-style-type')),_0xb5a861=!0x0),!_0xb5a861&&_0x4f0683['hasAttribute']('footnotesListStyle')||_0x3e3c43['writer']['setAttribute']('footnotesListStyle',_0x280409,_0x4f0683);}(_0x1b9a07,_0x978039,_0xb77394,_0x1c4dbd));});}),_0x4aed5f['for']('downcast')['add'](_0x4379f3=>{_0x4379f3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x378d5f,_0xa2ecf4,_0xc671f6)=>{if(!_0xc671f6['consumable']['consume'](_0xa2ecf4['item'],_0x378d5f['name']))return;const _0x3c06d5=M(_0xa2ecf4['item'],_0xc671f6['mapper']),{attributeNewValue:_0x483b93}=_0xa2ecf4;null==_0x483b93||0x1===_0x483b93?_0xc671f6['writer']['removeAttribute']('start',_0x3c06d5):_0xc671f6['writer']['setAttribute']('start',String(_0x483b93),_0x3c06d5);}),_0x4379f3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x558965,_0x35811f,_0x5a0329)=>{if(!_0x5a0329['consumable']['consume'](_0x35811f['item'],_0x558965['name']))return;const _0x2a3831=M(_0x35811f['item'],_0x5a0329['mapper']),{attributeNewValue:_0x41d659}=_0x35811f;_0x41d659&&'decimal'!==_0x41d659?_0x5a0329['writer']['setStyle']('list-style-type',_0x41d659,_0x2a3831):_0x5a0329['writer']['removeStyle']('list-style-type',_0x2a3831);});});}['_definePostfixer'](){const {editor:_0x8220ce}=this,{model:_0x25534d}=_0x8220ce,_0x4faff2=_0x8220ce['plugins']['get'](f),_0x1a80c2=this['_getDefaultListStyle'](),_0x566a9a=this['_getDefaultStartIndex']();_0x25534d['document']['registerPostFixer'](_0x47586f=>{const _0x433fe4=_0x25534d['document']['differ']['getChanges']();let _0x5b8028=!0x1;for(const _0x2a6cf9 of _0x433fe4){if('insert'!==_0x2a6cf9['type']||'$text'===_0x2a6cf9['name'])continue;const _0x4a2188=_0x25534d['createRangeOn'](_0x2a6cf9['position']['nodeAfter']);for(const _0x44cf12 of _0x4a2188['getItems']())_0x44cf12['is']('element','footnotesDefinitions')&&(!_0x44cf12['hasAttribute']('footnotesListStart')&&_0x25534d['schema']['checkAttribute'](_0x44cf12,'footnotesListStart')&&(_0x47586f['setAttribute']('footnotesListStart',_0x566a9a,_0x44cf12),_0x5b8028=!0x0),!_0x44cf12['hasAttribute']('footnotesListStyle')&&_0x25534d['schema']['checkAttribute'](_0x44cf12,'footnotesListStyle')&&(_0x47586f['setAttribute']('footnotesListStyle',_0x1a80c2,_0x44cf12),_0x5b8028=!0x0));}return _0x5b8028&&_0x4faff2['_updateFootnotesCounters'](_0x47586f),_0x5b8028;});}['_defineFormatter'](){const {editor:_0x5eb3a7}=this;_0x5eb3a7['plugins']['get'](f)['setFootnoteFormatter'](_0x94e75e=>this['_formatFootnoteListValue'](_0x94e75e));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1c20b8,value:_0x4ec983,digits:_0x50c0a0}){const _0x479c27=_0x1c20b8['getAttribute']('footnotesListStyle'),_0x315cde=_0x1c20b8['getAttribute']('footnotesListStart'),_0x54017e=Math['floor'](_0x4ec983)+(_0x315cde??0x1)-0x1;switch(_0x479c27){case'decimal-leading-zero':return function(_0x2f69e5,_0x33aae9){return String(_0x2f69e5)['padStart'](_0x33aae9,'0');}(_0x54017e,Math['max'](0x2,_0x50c0a0));case'lower-alpha':case'lower-latin':return N(_0x54017e,!0x1);case'upper-alpha':case'upper-latin':return N(_0x54017e,!0x0);case'lower-roman':return X(_0x54017e,!0x1);case'upper-roman':return X(_0x54017e,!0x0);default:return String(_0x54017e);}}}function M(_0x2e0b1a,_0x3e6772){const _0x390d41=_0x3e6772['toViewElement'](_0x2e0b1a);return Array['from'](_0x390d41['getChildren']())['find'](_0x338568=>_0x338568['is']('element','ol')&&_0x338568['hasClass']('footnotes-list'));}function N(_0x444c4b,_0x247d68){let _0x2938c5='',_0x10d4c8=_0x444c4b;for(;_0x10d4c8>0x0;){const _0x194d21=(_0x10d4c8-0x1)%0x1a;_0x2938c5=String['fromCharCode'](0x61+_0x194d21)+_0x2938c5,_0x10d4c8=Math['floor']((_0x10d4c8-0x1)/0x1a);}return _0x247d68?_0x2938c5['toUpperCase']():_0x2938c5;}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(_0x431af5,_0x167f06){let _0x2edca4='',_0x3d280e=_0x431af5;for(const {value:_0x321af0,numeral:_0x44d6ed}of V)for(;_0x3d280e>=_0x321af0;)_0x2edca4+=_0x44d6ed,_0x3d280e-=_0x321af0;return _0x167f06?_0x2edca4:_0x2edca4['toLowerCase']();}class J extends _0x18f655{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x42e164();['focusCycler'];constructor(_0x4c7492,{styleButtonViews:_0x3d5b50,styleGridAriaLabel:_0x4bd3ae}){super(_0x4c7492),(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'](_0x3d5b50,_0x4bd3ae),[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 _0x2fe281 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2fe281['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 _0x1f20e7=_0x43105d=>_0x43105d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f20e7),this['keystrokes']['set']('arrowleft',_0x1f20e7),this['keystrokes']['set']('arrowup',_0x1f20e7),this['keystrokes']['set']('arrowdown',_0x1f20e7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x32119f,_0x2a4dd4){const _0x107c04=new _0x18f655(this['locale']);return _0x107c04['children']=_0x107c04['createCollection'](),_0x107c04['children']['addMany'](_0x32119f),_0x107c04['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2a4dd4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x107c04['children']}),_0x107c04['children']['delegate']('execute')['to'](this),_0x107c04['focus']=function(){for(const _0x2c658c of this['children'])if(_0x2c658c instanceof _0x18afe0&&_0x2c658c['isOn'])return void _0x2c658c['focus']();this['children']['first']['focus']();},_0x107c04['focusTracker']=new rt(),_0x107c04['keystrokes']=new nt(),_0x107c04['render'](),_0x107c04['keystrokes']['listenTo'](_0x107c04['element']),this['children']['add'](_0x107c04),_0x107c04;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xa19a86=this['_createStartIndexPropertyView'](),_0x434065=[_0xa19a86],_0x54190a=new it(this['locale'],_0x434065);return _0x54190a['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x54190a['buttonView']['bind']('isEnabled')['toMany'](_0x434065,'isEnabled',(..._0xaf45cb)=>_0xaf45cb['some'](_0xfd4926=>_0xfd4926)),_0x54190a['buttonView']['on']('change:isEnabled',(_0x9c76f4,_0x35eada,_0x6185cf)=>{_0x6185cf||(_0x54190a['isCollapsed']=!0x0);}),this['children']['add'](_0x54190a),[_0xa19a86,_0x54190a];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2e3d75=new et(this['locale'],ot);return _0x2e3d75['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2e3d75['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2e3d75['fieldView']['on']('input',()=>{const _0x10c3b8=_0x2e3d75['fieldView']['element'],_0x34410f=_0x10c3b8['valueAsNumber'];Number['isNaN'](_0x34410f)?_0x2e3d75['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x10c3b8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x34410f}):_0x2e3d75['errorText']=t(_0x34410f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2e3d75;}}class j extends _0x400efc{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3f38a0,_0x182deb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xedbe8e}=this,{componentFactory:_0x33ccd5}=_0xedbe8e['ui'];_0xedbe8e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x33ccd5['add']('footnotesStyle',function(_0x5ce360){return _0x227b89=>{const {t:t}=_0x227b89,_0x4008c7=_0x5ce360['commands']['get']('footnotesStyle'),_0x3f2f1e=_0x28540a(_0x227b89),{buttonView:_0x63b4fe}=_0x3f2f1e;return _0x3f2f1e['class']='ck-footnotes-styles-dropdown',_0x3f2f1e['bind']('isEnabled')['to'](_0x4008c7,'isEnabled'),_0x63b4fe['set']({'label':t('Footnotes\x20style'),'icon':_0x39f915,'tooltip':!0x0}),_0x3f2f1e['once']('change:isOpen',()=>{const _0x7052bd=function({editor:_0x57b8fe,dropdownView:_0x48e637}){const {t:t}=_0x57b8fe['locale'],_0x481874=t('Footnotes\x20definitions\x20styles'),_0x666439=function(_0x4157c1){const t=_0x4157c1['locale']['t'],_0x110ca7=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x416808},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x531677},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3183aa},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2e33d8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xf33025},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1f28e}];return _0x110ca7['map'](function(_0x40e1e6){const _0xeadc06=_0x40e1e6['locale'];return({label:_0x5b5ee0,icon:_0x3f257,tooltip:_0x3fa0fe,style:_0x4a359d})=>{const _0x1e8f97=_0x40e1e6['commands']['get']('footnotesStyle'),_0x22ca4e=new _0x18afe0(_0xeadc06);return _0x22ca4e['set']({'label':_0x5b5ee0,'icon':_0x3f257,'tooltip':_0x3fa0fe}),_0x22ca4e['bind']('isOn')['to'](_0x1e8f97,'value',_0x599add=>_0x599add===_0x4a359d),_0x22ca4e['bind']('isEnabled')['to'](_0x1e8f97,'isEnabled'),_0x22ca4e['on']('execute',()=>{_0x40e1e6['execute']('footnotesStyle',{'value':_0x4a359d}),_0x40e1e6['editing']['view']['focus']();}),_0x22ca4e;};}(_0x4157c1));}(_0x57b8fe),_0x36343e=new J(_0x57b8fe['locale'],{'styleGridAriaLabel':_0x481874,'styleButtonViews':_0x666439}),_0x40d765=_0x57b8fe['commands']['get']('footnotesStart');return _0x36343e['startIndexFieldView']['bind']('isEnabled')['to'](_0x40d765),_0x36343e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x40d765),_0x36343e['on']('footnotesListStart',(_0x168556,_0x2e21c7)=>{_0x57b8fe['execute']('footnotesStart',{'value':_0x2e21c7['startIndex']});}),_0x36343e['delegate']('execute')['to'](_0x48e637),_0x36343e;}({'editor':_0x5ce360,'dropdownView':_0x3f2f1e});_0x3f2f1e['panelView']['children']['add'](_0x7052bd);}),_0x3f2f1e;};}(_0xedbe8e));}['afterInit'](){const {editor:_0x2d84e6}=this,{t:t}=_0x2d84e6['locale'],_0x22b71c=_0x2d84e6['plugins']['get'](_0x182deb),{defaultPositions:_0x9de99c}=_0x451c1f;_0x22b71c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2d84e6['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x466198=>{let _0x49a518=_0x466198['getFirstPosition']()?.['parent'];return _0x49a518?.['is']('$text')&&(_0x49a518=_0x49a518['parent']),_0x49a518?.['is']('element')?_0x49a518['findAncestor'](Q):null;},'positions':[_0x9de99c['southArrowNorth'],_0x9de99c['southArrowNorthMiddleWest'],_0x9de99c['southArrowNorthMiddleEast'],_0x9de99c['southArrowNorthWest'],_0x9de99c['southArrowNorthEast'],_0x9de99c['northArrowSouth'],_0x9de99c['northArrowSouthMiddleWest'],_0x9de99c['northArrowSouthMiddleEast'],_0x9de99c['northArrowSouthWest'],_0x9de99c['northArrowSouthEast'],_0x9de99c['viewportStickyNorth']]});}}class ft extends _0x400efc{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':_0x1806f6=>0x1!=_0x1806f6}};
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':_0x595d36=>0x1!=_0x595d36}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3217e3=>{const {af:{dictionary:_0xa36036,getPluralForm:_0x56855d}}={'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':_0x4c6d85=>0x1!=_0x4c6d85}};_0x3217e3['af']||={'dictionary':{},'getPluralForm':null},_0x3217e3['af']['dictionary']=Object['assign'](_0x3217e3['af']['dictionary'],_0xa36036),_0x3217e3['af']['getPluralForm']=_0x56855d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x498511=>{const {af:{dictionary:_0x49972e,getPluralForm:_0x311cdf}}={'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':_0x50e381=>0x1!=_0x50e381}};_0x498511['af']||={'dictionary':{},'getPluralForm':null},_0x498511['af']['dictionary']=Object['assign'](_0x498511['af']['dictionary'],_0x49972e),_0x498511['af']['getPluralForm']=_0x311cdf;})(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':_0x16b051=>0x0==_0x16b051?0x0:0x1==_0x16b051?0x1:0x2==_0x16b051?0x2:_0x16b051%0x64>=0x3&&_0x16b051%0x64<=0xa?0x3:_0x16b051%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':_0x22bfbd=>0x0==_0x22bfbd?0x0:0x1==_0x22bfbd?0x1:0x2==_0x22bfbd?0x2:_0x22bfbd%0x64>=0x3&&_0x22bfbd%0x64<=0xa?0x3:_0x22bfbd%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2c4523=>{const {ar:{dictionary:_0xaa1958,getPluralForm:_0x3b2534}}={'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':_0x125db2=>0x0==_0x125db2?0x0:0x1==_0x125db2?0x1:0x2==_0x125db2?0x2:_0x125db2%0x64>=0x3&&_0x125db2%0x64<=0xa?0x3:_0x125db2%0x64>=0xb?0x4:0x5}};_0x2c4523['ar']||={'dictionary':{},'getPluralForm':null},_0x2c4523['ar']['dictionary']=Object['assign'](_0x2c4523['ar']['dictionary'],_0xaa1958),_0x2c4523['ar']['getPluralForm']=_0x3b2534;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b9f2d=>{const {ar:{dictionary:_0x936b47,getPluralForm:_0x22f2e6}}={'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':_0x560b16=>0x0==_0x560b16?0x0:0x1==_0x560b16?0x1:0x2==_0x560b16?0x2:_0x560b16%0x64>=0x3&&_0x560b16%0x64<=0xa?0x3:_0x560b16%0x64>=0xb?0x4:0x5}};_0x3b9f2d['ar']||={'dictionary':{},'getPluralForm':null},_0x3b9f2d['ar']['dictionary']=Object['assign'](_0x3b9f2d['ar']['dictionary'],_0x936b47),_0x3b9f2d['ar']['getPluralForm']=_0x22f2e6;})(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':_0x244b4c=>0x1!=_0x244b4c}};
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':_0x18d3f1=>0x1!=_0x18d3f1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2058cf=>{const {ast:{dictionary:_0x8d98f2,getPluralForm:_0x3d5c08}}={'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':_0x330231=>0x1!=_0x330231}};_0x2058cf['ast']||={'dictionary':{},'getPluralForm':null},_0x2058cf['ast']['dictionary']=Object['assign'](_0x2058cf['ast']['dictionary'],_0x8d98f2),_0x2058cf['ast']['getPluralForm']=_0x3d5c08;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x417158=>{const {ast:{dictionary:_0x3724a9,getPluralForm:_0x194647}}={'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':_0x520e1b=>0x1!=_0x520e1b}};_0x417158['ast']||={'dictionary':{},'getPluralForm':null},_0x417158['ast']['dictionary']=Object['assign'](_0x417158['ast']['dictionary'],_0x3724a9),_0x417158['ast']['getPluralForm']=_0x194647;})(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':_0xba94dd=>0x1!=_0xba94dd}};
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':_0xe65d39=>0x1!=_0xe65d39}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30958a=>{const {az:{dictionary:_0x31a8f0,getPluralForm:_0x5ec364}}={'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':_0x226755=>0x1!=_0x226755}};_0x30958a['az']||={'dictionary':{},'getPluralForm':null},_0x30958a['az']['dictionary']=Object['assign'](_0x30958a['az']['dictionary'],_0x31a8f0),_0x30958a['az']['getPluralForm']=_0x5ec364;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x506e1e=>{const {az:{dictionary:_0xc74af1,getPluralForm:_0xc8e075}}={'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':_0x21a268=>0x1!=_0x21a268}};_0x506e1e['az']||={'dictionary':{},'getPluralForm':null},_0x506e1e['az']['dictionary']=Object['assign'](_0x506e1e['az']['dictionary'],_0xc74af1),_0x506e1e['az']['getPluralForm']=_0xc8e075;})(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':_0x3b656d=>_0x3b656d%0xa==0x1&&_0x3b656d%0x64!=0xb?0x0:_0x3b656d%0xa>=0x2&&_0x3b656d%0xa<=0x4&&(_0x3b656d%0x64<0xa||_0x3b656d%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':_0x48a55f=>_0x48a55f%0xa==0x1&&_0x48a55f%0x64!=0xb?0x0:_0x48a55f%0xa>=0x2&&_0x48a55f%0xa<=0x4&&(_0x48a55f%0x64<0xa||_0x48a55f%0x64>=0x14)?0x1:0x2}};