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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xee8887,Command as _0x1bdab6}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x484ea4,isWidget as _0x49edcf,toWidgetEditable as _0x3b08d9,WidgetToolbarRepository as _0x3304da}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x549f76,logWarning as _0x26b71e,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3a395c,ClickObserver as _0x4d8ee8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x19c946}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x560856,ButtonView as _0x459347,View as _0x417880,ViewCollection as _0x2704d5,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x22b615,BalloonPanelView as _0x223c43,createDropdown as _0x531f60}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1b32ad,IconListStyleDecimal as _0x1919b1,IconListStyleDecimalLeadingZero as _0x1ab4a3,IconListStyleLowerRoman as _0x43d0ec,IconListStyleUpperRoman as _0x2aa31d,IconListStyleLowerLatin as _0x31a8a9,IconListStyleUpperLatin as _0x368341}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2f5512,_0x59516b){this['_model']=_0x2f5512,this['_elementName']=_0x59516b['elementName'],this['_getElementKey']=_0x59516b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2a3d86){const _0x3a2ffa=new Set(),_0x512a59=new Map();for(const _0xe17da0 of _0x2a3d86){if('insert'===_0xe17da0['type']&&'$text'!==_0xe17da0['name']&&_0xe17da0['position']['nodeAfter']){const _0x2187cd=this['_model']['createRangeOn'](_0xe17da0['position']['nodeAfter']);for(const _0x3ca607 of _0x2187cd['getItems']()){if(!_0x3ca607['is']('element',this['_elementName']))continue;const _0x528ee3=this['_getElementKey'](_0x3ca607);_0x512a59['has'](_0x528ee3)||_0x512a59['set'](_0x528ee3,[]),_0x512a59['get'](_0x528ee3)['push'](_0x3ca607);}}if('remove'===_0xe17da0['type']&&_0xe17da0['name']===this['_elementName']){const _0x6d6332=this['_getElementKey']({'getAttribute':_0x119bba=>_0xe17da0['attributes']['get'](_0x119bba)});_0x3a2ffa['add'](_0x6d6332);}}for(const [_0x57ff54,_0x4f6bda]of this['_trackedElements'])'$graveyard'===_0x4f6bda['root']['rootName']&&_0x3a2ffa['add'](_0x57ff54);for(const _0x561095 of _0x3a2ffa)this['_trackedElements']['delete'](_0x561095);for(const [_0x30034c,_0x572380]of _0x512a59)this['_trackedElements']['set'](_0x30034c,_0x572380[_0x572380['length']-0x1]);const _0x38fedd=new Set();for(const [_0x4524c5,_0xa87cf6]of _0x512a59)_0x3a2ffa['has'](_0x4524c5)&&(_0x38fedd['add'](_0xa87cf6[0x0]),_0xa87cf6['length']>0x1?_0x512a59['set'](_0x4524c5,_0xa87cf6['slice'](0x1)):_0x512a59['delete'](_0x4524c5),_0x3a2ffa['delete'](_0x4524c5));return{'removed':Array['from'](_0x3a2ffa),'inserted':Array['from'](_0x512a59['values']())['flat'](),'moved':Array['from'](_0x38fedd)};}}class f extends _0xee8887{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41d3ce){super(_0x41d3ce),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x6c4557=>_0x6c4557['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x408982=>_0x408982['getAttribute']('footnoteId')});}['init'](){const {editor:_0x7ffc4c}=this,{model:_0x3984ec,data:_0x1fc1a0}=_0x7ffc4c;_0x3984ec['document']['registerPostFixer'](_0x29f986=>{const _0x51cd9d=_0x3984ec['document']['differ']['getChanges']();let _0xeb128c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x29f986,_0x51cd9d)&&(_0xeb128c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x29f986,_0x51cd9d)&&(_0xeb128c=!0x0),this['_handleFootnoteReferencesChanges'](_0x29f986,_0x51cd9d)&&(_0xeb128c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x29f986)&&(_0xeb128c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x29f986)&&(_0xeb128c=!0x0),this['_sortFootnoteDefinitions'](_0x29f986)&&(_0xeb128c=!0x0),_0xeb128c;}),this['listenTo'](_0x3984ec['document'],'change:data',()=>{_0x3984ec['enqueueChange']({'isUndoable':!0x1},_0x21511f=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x21511f);});},{'priority':'low'}),this['listenTo'](_0x1fc1a0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4f5e0e){return this['_footnotes']['find'](_0x3e3f17=>_0x3e3f17['id']===_0x4f5e0e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x42db4f){this['_footnoteFormatter']=_0x42db4f;}['_updateFootnotesCounters'](_0x371e5a,_0xdac1de=0x0){let _0x564d9c=!0x1;for(let _0x187ff7=_0xdac1de;_0x187ff7<this['_footnotes']['length'];_0x187ff7++)this['_updateFootnoteRefCounter'](_0x371e5a,_0x187ff7)&&(_0x564d9c=!0x0);return _0x564d9c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e310b,_0x370796){const _0x10e7f8=_0x3e310b['createElement']('footnotesDefinitions',{});return _0x3e310b['append'](_0x10e7f8,_0x370796),this['_footnotesDefinitions']=_0x10e7f8,_0x10e7f8;}['_ensureFootnotesDefinitionsContainerExists'](_0x2058aa){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x158bc8=this['_footnotes'][0x0]['reference']['root'],_0x3829e5=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2058aa,_0x158bc8);for(const _0x1646c9 of this['_footnotes'])_0x1646c9['definition']['parent']||_0x2058aa['insert'](_0x1646c9['definition'],_0x3829e5,'end');this['_updateFootnotesCounters'](_0x2058aa);}['_handleFootnotesDefinitionsObjectChanges'](_0xd8aad8,_0x4e8a0b){let _0x2375e9=!0x1;const {inserted:_0x3d438c,removed:_0x312dbf,moved:_0x2e4c38}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4e8a0b);if(_0x2e4c38['length']&&(this['_footnotesDefinitions']=_0x2e4c38[0x0]),_0x3d438c['length']){if(_0x3d438c['length']>0x1||this['_footnotesDefinitions']&&_0x3d438c['some'](_0x421235=>_0x421235!==this['_footnotesDefinitions'])){const _0xbdc63d=_0xd8aad8['createElement']('footnotesDefinitions',{}),_0x16a999=[];this['_footnotesDefinitions']&&_0x16a999['push'](this['_footnotesDefinitions']),_0x16a999['push'](..._0x3d438c),_0xd8aad8['insert'](_0xbdc63d,_0x16a999[0x0],'before');for(const _0x5bff7c of _0x16a999)_0xd8aad8['move'](_0xd8aad8['createRangeIn'](_0x5bff7c),_0xd8aad8['createPositionAt'](_0xbdc63d,'end')),_0xd8aad8['remove'](_0x5bff7c);this['_footnotesDefinitions']=_0xbdc63d,this['_updateFootnotesCounters'](_0xd8aad8),_0x2375e9=!0x0;}else this['_footnotesDefinitions']=_0x3d438c[0x0];}if(_0x312dbf['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4cd1fb of this['_footnotes'])_0xd8aad8['remove'](_0x4cd1fb['reference']),_0x2375e9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2375e9;}['_handleFootnoteDefinitionsChanges'](_0x235b93,_0x59361e){let _0x53918f=!0x1;const _0x2095f9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2a8ef8,moved:_0x9b44fb}=this['_footnoteDefsTracker']['getChanges'](_0x59361e);for(const _0x4bbaeb of[..._0x9b44fb,..._0x2a8ef8]){const _0x3906f1=_0x4bbaeb['getAttribute']('footnoteId'),_0xe0cc53=this['getFootnote'](_0x3906f1);_0xe0cc53&&(_0xe0cc53['definition']=_0x4bbaeb),_(_0x235b93,_0x2095f9,_0x4bbaeb)&&(_0x53918f=!0x0);}return _0x53918f;}['_handleFootnoteReferencesChanges'](_0x569a4e,_0x4a1584){let _0x3eb39e=!0x1;const {removed:_0x1f86d3,inserted:_0x2ce786,moved:_0xff0c7f}=this['_footnoteRefsTracker']['getChanges'](_0x4a1584);for(const _0x6dd2a7 of _0x1f86d3)this['_handleRemoveFootnoteReferenceById'](_0x569a4e,_0x6dd2a7)&&(_0x3eb39e=!0x0);for(const _0x4d9a57 of _0x2ce786)this['_handleInsertedFootnoteReference'](_0x569a4e,_0x4d9a57)&&(_0x3eb39e=!0x0);for(const _0x2f9c60 of _0xff0c7f)this['_handleMovedFootnoteReference'](_0x569a4e,_0x2f9c60)&&(_0x3eb39e=!0x0);return _0x3eb39e;}['_handleFootnotesDefinitionsObjectSync'](_0x1732af){if(!this['_footnotesDefinitions'])return!0x1;let _0x5e8922=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x11fcd4=[];for(const _0x4b58ac of this['_footnotesDefinitions']['getChildren']()){const _0x52e930=_0x4b58ac['getAttribute']('footnoteId');this['getFootnote'](_0x52e930)||(_0x11fcd4['unshift'](_0x4b58ac),_0x5e8922=!0x0);}for(const _0x13ba1e of _0x11fcd4)_0x1732af['remove'](_0x13ba1e);}const _0x2605f5=new Set(),_0x4a07d6=[];for(const _0x465d02 of this['_footnotesDefinitions']['getChildren']()){const _0x52e0e0=_0x465d02['getAttribute']('footnoteId');_0x2605f5['has'](_0x52e0e0)?(_0x4a07d6['unshift'](_0x465d02),_0x5e8922=!0x0):_0x2605f5['add'](_0x52e0e0);}for(const _0x560631 of _0x4a07d6)_0x1732af['remove'](_0x560631);return this['_footnotesDefinitions']['childCount']||(_0x1732af['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5e8922=!0x0),_0x5e8922;}['_handleInsertedFootnoteReference'](_0x44ea40,_0x341628){if(this['_footnotes']['find'](_0x5bb375=>_0x5bb375['reference']===_0x341628))return!0x1;let _0x3c7f2f=!0x1;const _0x119f41=_0x341628['getAttribute']('footnoteId'),_0x4477f0=this['_footnotes']['findIndex'](_0x23882f=>_0x23882f['id']===_0x119f41);-0x1!==_0x4477f0&&(_0x44ea40['remove'](this['_footnotes'][_0x4477f0]['reference']),this['_footnotes']['splice'](_0x4477f0,0x1),_0x3c7f2f=!0x0);let _0x48081f=this['_footnotesDefinitions']?function(_0x157a5f,_0x1b4b96){for(const _0x245f9d of _0x157a5f['getChildren']())if(_0x245f9d['getAttribute']('footnoteId')===_0x1b4b96)return _0x245f9d;return null;}(this['_footnotesDefinitions'],_0x119f41):null;_0x48081f||(_0x48081f=_0x44ea40['createElement']('footnoteDefinition',{'footnoteId':_0x119f41}),this['_footnotesDefinitions']&&(_0x44ea40['insert'](_0x48081f,this['_footnotesDefinitions'],'end'),_0x3c7f2f=!0x0));const _0x2b68ff={'id':_0x119f41,'reference':_0x341628,'definition':_0x48081f},_0x20368d=I(this['editor']['model'],this['_footnotes'],_0x341628);this['_footnotes']['splice'](_0x20368d,0x0,_0x2b68ff);let _0x5c837e=_0x20368d;return-0x1!==_0x4477f0&&(_0x5c837e=Math['min'](_0x20368d,_0x4477f0)),this['_updateFootnotesCounters'](_0x44ea40,_0x5c837e)&&(_0x3c7f2f=!0x0),_0x3c7f2f;}['_handleRemoveFootnoteReferenceById'](_0x5badad,_0x362a4e){const _0x5b9e82=this['_footnotes']['findIndex'](_0x2fa018=>_0x2fa018['id']===_0x362a4e);if(-0x1===_0x5b9e82)return!0x1;let _0x3ff5d5=!0x1;const _0x1d5b19=this['_footnotes'][_0x5b9e82];return'$graveyard'!==_0x1d5b19['definition']['root']['rootName']&&(_0x5badad['remove'](_0x1d5b19['definition']),_0x3ff5d5=!0x0),this['_footnotes']['splice'](_0x5b9e82,0x1),this['_updateFootnotesCounters'](_0x5badad,_0x5b9e82)&&(_0x3ff5d5=!0x0),_0x3ff5d5;}['_handleMovedFootnoteReference'](_0x242454,_0x162ed2){const _0x36b6dc=_0x162ed2['getAttribute']('footnoteId'),_0x29868a=this['_footnotes']['findIndex'](_0x26a917=>_0x26a917['id']===_0x36b6dc),_0x5b03fb=this['_footnotes'][_0x29868a];let _0x1a7d43=!0x1;_0x5b03fb['reference']=_0x162ed2,this['_footnotes']['splice'](_0x29868a,0x1);const _0x4445d2=I(this['editor']['model'],this['_footnotes'],_0x162ed2);return this['_footnotes']['splice'](_0x4445d2,0x0,_0x5b03fb),this['_updateFootnotesCounters'](_0x242454,Math['min'](_0x29868a,_0x4445d2))&&(_0x1a7d43=!0x0),_0x1a7d43;}['_updateFootnoteRefCounter'](_0x3a72aa,_0x1f0424){if(!this['_footnotesDefinitions'])return!0x1;const _0x2dbc4c=this['_footnotes'][_0x1f0424];let _0x266af3;return _0x266af3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2dbc4c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1f0424+0x1}):String(_0x1f0424+0x1),_0x2dbc4c['reference']['getAttribute']('footnoteCounter')!=_0x266af3&&(_0x3a72aa['setAttribute']('footnoteCounter',_0x266af3,_0x2dbc4c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x25c0cd){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2943be,_0xb83165){if(_0x2943be['length']!==_0xb83165['length'])return!0x1;for(let _0x589250=0x0;_0x589250<_0x2943be['length'];_0x589250++)if(_0x2943be[_0x589250]!==_0xb83165[_0x589250])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x37952a=>_0x37952a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x120f4d=>_0x120f4d['getAttribute']('footnoteId'))))return!0x1;let _0x503857=!0x1;for(let _0x1ebedc=0x0;_0x1ebedc<this['_footnotes']['length'];_0x1ebedc++){const _0x3606b6=this['_footnotes'][_0x1ebedc],_0x51e322=_0x25c0cd['createPositionBefore'](_0x3606b6['definition']),_0x308b53=_0x25c0cd['createPositionAt'](this['_footnotesDefinitions'],_0x1ebedc);_0x51e322['isEqual'](_0x308b53)||(_0x25c0cd['move'](_0x25c0cd['createRangeOn'](_0x3606b6['definition']),_0x308b53),_0x503857=!0x0);}return _0x503857;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5501d8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x536375}=this['editor'];let _0x348f7e=!0x1;for(let _0x4f0e5b=0x0;_0x4f0e5b<this['_footnotes']['length']-0x1;_0x4f0e5b++){const _0x363915=this['_footnotes'][_0x4f0e5b],_0x5b1079=this['_footnotes'][_0x4f0e5b+0x1],_0x4b36e5=_0x536375['createPositionBefore'](_0x363915['reference']),_0x35a8e6=_0x536375['createPositionBefore'](_0x5b1079['reference']);'after'===_0x4b36e5['compareWith'](_0x35a8e6)&&(this['_handleMovedFootnoteReference'](_0x5501d8,_0x363915['reference']),_0x4f0e5b=-0x1,_0x348f7e=!0x0);}return _0x348f7e;}}function _(_0x40eb8f,_0x406502,_0x43e605){if(_0x43e605['childCount'])return!0x1;const _0x56b012=_0x406502?'paragraph':'footnoteInlineContent';return _0x40eb8f['insert'](_0x40eb8f['createElement'](_0x56b012),_0x43e605),!0x0;}function I(_0x2200b7,_0x432b85,_0x50d08d){if(0x0===_0x432b85['length'])return 0x0;const _0x52648e=_0x2200b7['createPositionBefore'](_0x50d08d);for(let _0x530752=0x0;_0x530752<_0x432b85['length'];_0x530752++){const _0x22e09f=_0x432b85[_0x530752],_0x24013a=_0x2200b7['createPositionBefore'](_0x22e09f['reference']);if('before'===_0x52648e['compareWith'](_0x24013a))return _0x530752;}const _0x527824=_0x50d08d['root'];let _0x9d86fc=-0x1;for(let _0xb54c16=_0x432b85['length']-0x1;_0xb54c16>=0x0;_0xb54c16--)if(_0x432b85[_0xb54c16]['reference']['root']===_0x527824){_0x9d86fc=_0xb54c16;break;}if(-0x1!==_0x9d86fc)return _0x9d86fc+0x1;const _0x442c23=_0x2200b7['document']['getRootNames'](),_0x21c22f=_0x442c23['indexOf'](_0x527824['rootName']),_0xa95cb4=_0x442c23[_0x21c22f+0x1];if(_0xa95cb4){for(let _0x3fc42d=0x0;_0x3fc42d<_0x432b85['length'];_0x3fc42d++)if(_0x432b85[_0x3fc42d]['reference']['root']['rootName']===_0xa95cb4)return _0x3fc42d;}return _0x432b85['length'];}class h extends _0x1bdab6{['refresh'](){const _0x655c65=this['editor']['model']['document']['selection'],_0x181a13=this['_getPositionToInsertFootnote'](_0x655c65);this['isEnabled']=!!_0x181a13;}['execute'](_0x2bc492){const {editor:_0x2238ab}=this,{model:_0x5c65b3}=_0x2238ab,{selection:_0x30f6cb}=_0x5c65b3['document'],_0x402a30=this['_getPositionToInsertFootnote'](_0x30f6cb);if(!_0x402a30)return;const _0x11d8d3=_0x2238ab['plugins']['get']('FootnotesEditing'),_0x260c72=_0x2bc492?.['footnoteId']??_0x549f76();!function(_0x9df5e8){return'string'==typeof _0x9df5e8&&_0x9df5e8['length']>0x0&&!/\s/['test'](_0x9df5e8)&&!/^\d/['test'](_0x9df5e8);}(_0x260c72)?_0x26b71e('insert-footnote-command-executed-with-invalid-id'):(_0x5c65b3['change'](_0x1fb943=>{const _0x57bcc5=_0x1fb943['createElement']('footnoteRef',{'footnoteId':_0x260c72});_0x5c65b3['insertObject'](_0x57bcc5,_0x402a30,null);}),_0x11d8d3['_moveSelectionToFootnoteDefinition'](_0x260c72));}['_getPositionToInsertFootnote'](_0x54db48){const {model:_0x290741}=this['editor'],{schema:_0x52b95f}=_0x290741,_0x4e4c4a=_0x54db48['getFirstRange']();for(const _0x5e42a2 of _0x4e4c4a['getItems']())if(_0x52b95f['isBlock'](_0x5e42a2)||_0x52b95f['isObject'](_0x5e42a2))return null;const _0x489443=_0x4e4c4a['end'];return _0x52b95f['checkChild'](_0x489443,'footnoteRef')?_0x489443:null;}}class r extends _0xee8887{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40a4ee}=this;_0x40a4ee['config']['define']('footnotes.multiBlock',!0x0),_0x40a4ee['commands']['add']('insertFootnote',new h(_0x40a4ee)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xdcf243){const _0x4f701d=_0x18c3ee([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]),_0x4a9d94=0x47a28506,_0x28f8a9=0x47a5fb56^_0x4a9d94,_0x216a04=window[_0x18c3ee([0x44,0x61,0x74,0x65])][_0x18c3ee([0x6e,0x6f,0x77])](),_0x162f4f=_0xdcf243[_0x18c3ee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35a436=new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42e94c=>{_0x162f4f[_0x18c3ee([0x6f,0x6e,0x63,0x65])](_0x18c3ee([0x72,0x65,0x61,0x64,0x79]),_0x42e94c);}),_0x5e1403={[_0x18c3ee([0x6b,0x74,0x79])]:_0x18c3ee([0x45,0x43]),[_0x18c3ee([0x75,0x73,0x65])]:_0x18c3ee([0x73,0x69,0x67]),[_0x18c3ee([0x63,0x72,0x76])]:_0x18c3ee([0x50,0x2d,0x32,0x35,0x36]),[_0x18c3ee([0x78])]:_0x18c3ee([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]),[_0x18c3ee([0x79])]:_0x18c3ee([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]),[_0x18c3ee([0x61,0x6c,0x67])]:_0x18c3ee([0x45,0x53,0x32,0x35,0x36])},_0x23acac=_0x162f4f[_0x18c3ee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18c3ee([0x67,0x65,0x74])](_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x342330(){let _0x12a6b9,_0x28fae4=null,_0x4af1f1=null;try{if(_0x23acac==_0x18c3ee([0x47,0x50,0x4c]))return _0x18c3ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12a6b9=_0x36938d(),!_0x12a6b9)return _0x18c3ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12a6b9[_0x18c3ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4af1f1=_0x1043d5(_0x12a6b9[_0x18c3ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12a6b9[_0x18c3ee([0x6a,0x74,0x69])])),await _0x2bfa98()?_0x10fdd1()?_0x5640ae()?_0x18c3ee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x55452b()?(_0x12a6b9[_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18c3ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28fae4=_0x344dbd(_0x18c3ee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f59de()):_0x18c3ee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18c3ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18c3ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18c3ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5640ae(){const _0x427ea1=[_0x18c3ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18c3ee([0x74,0x72,0x69,0x61,0x6c])][_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12a6b9[_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x216a04/0x3e8:0xe10*_0x28f8a9;return _0x12a6b9[_0x18c3ee([0x65,0x78,0x70])]<_0x427ea1;}function _0x10fdd1(){const _0x58f0cc=_0x12a6b9[_0x18c3ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58f0cc&&(!!_0x58f0cc[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c3ee([0x2a]))||!!_0x58f0cc[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c3ee([0x46,0x4f,0x4f])));}function _0x55452b(){const _0xa429c9=_0x12a6b9[_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa429c9||0x0==_0xa429c9[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x668128}=new URL(window[_0x18c3ee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa429c9[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x668128))return!0x0;const _0x1d8c96=_0x668128[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e]));return _0xa429c9[_0x18c3ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x298b77=>_0x298b77[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c3ee([0x2a])))[_0x18c3ee([0x6d,0x61,0x70])](_0x15c869=>_0x15c869[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e])))[_0x18c3ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a27c5=>_0x5a27c5[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d8c96[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18c3ee([0x6d,0x61,0x70])](_0x37ea1a=>Array(_0x1d8c96[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37ea1a[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18c3ee([0x66,0x69,0x6c,0x6c])](_0x37ea1a[0x0]===_0x18c3ee([0x2a])?_0x18c3ee([0x2a]):'')[_0x18c3ee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37ea1a))[_0x18c3ee([0x73,0x6f,0x6d,0x65])](_0x5b2966=>_0x1d8c96[_0x18c3ee([0x65,0x76,0x65,0x72,0x79])]((_0x4f82a9,_0x31dfe5)=>_0x5b2966[_0x31dfe5]===_0x4f82a9||_0x5b2966[_0x31dfe5]===_0x18c3ee([0x2a])));}function _0x3f59de(){return _0x28fae4&&_0x4af1f1?new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40a6e7,_0x1acc96)=>{_0x28fae4[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x40a6e7,_0x1acc96),_0x4af1f1[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x4d406c=>{_0x4d406c!=_0x18c3ee([0x56,0x61,0x6c,0x69,0x64])&&_0x40a6e7(_0x4d406c);},_0x1acc96);}):_0x28fae4||_0x4af1f1||_0x18c3ee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1043d5(_0x3e3d4,_0x1522da){return new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3640=>{if(_0xf41e99())return _0x5c3640(_0x18c3ee([0x56,0x61,0x6c,0x69,0x64]));_0x2e32ee(),_0x162f4f[_0x18c3ee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18c3ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x222e5b=!0x1;const _0x354035=_0x549f76();function _0x5d68c7(_0x1999ba){return!!_0x1999ba&&(typeof _0x1999ba===_0x18c3ee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1999ba===_0x18c3ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1999ba[_0x18c3ee([0x74,0x68,0x65,0x6e])]===_0x18c3ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1999ba[_0x18c3ee([0x63,0x61,0x74,0x63,0x68])]===_0x18c3ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47e0e2(_0x26552e){_0x4480bd(_0x26552e)[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x3754ff=>{if(!_0x3754ff||_0x3754ff[_0x18c3ee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18c3ee([0x6f,0x6b]))return _0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ff3ae(_0x130800(_0x354035+_0x1522da))!=_0x3754ff[_0x18c3ee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18c3ee([0x56,0x61,0x6c,0x69,0x64]);})[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x1416a4=>(_0x5d108a(),_0x1416a4),()=>{const _0x3a2f19=_0x33e7bc();return null==_0x3a2f19?(_0x5d108a(),_0x18c3ee([0x56,0x61,0x6c,0x69,0x64])):_0x18c3ee(_0x216a04-_0x3a2f19>(0x63ae0106^_0x4a9d94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x5c3640)[_0x18c3ee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c3640(_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfd60a3=0x47946b86^_0x4a9d94;function _0x5d108a(){const _0x2a26ab=_0x18c3ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ff3ae(_0x130800(_0x3e3d4)),_0x19df4a=_0x835793(_0x2ff3ae(window[_0x18c3ee([0x4d,0x61,0x74,0x68])][_0x18c3ee([0x63,0x65,0x69,0x6c])](_0x216a04/_0xfd60a3)));window[_0x18c3ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18c3ee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a26ab,_0x19df4a);}function _0x33e7bc(){const _0x1399c3=_0x18c3ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ff3ae(_0x130800(_0x3e3d4)),_0x265676=window[_0x18c3ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18c3ee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1399c3);return _0x265676?window[_0x18c3ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x835793(_0x265676),0x10)*_0xfd60a3:null;}function _0x4480bd(_0x137360){return new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d0959,_0x52e35f)=>{_0x137360[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x1d0959,_0x52e35f),window[_0x18c3ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52e35f,0x47a351c6^_0x4a9d94);});}}_0x162f4f[_0x18c3ee([0x6f,0x6e])](_0x18c3ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ee1fd,_0xe1d8b6)=>{if(_0xe1d8b6[0x0]!=_0x3e3d4)return _0x5c3640(_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe1d8b6[0x1]={..._0xe1d8b6[0x1],[_0x18c3ee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x354035};},{[_0x18c3ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18c3ee([0x68,0x69,0x67,0x68])}),_0x162f4f[_0x18c3ee([0x6f,0x6e])](_0x18c3ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x586de3=>{_0x5d68c7(_0x586de3[_0x18c3ee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x222e5b=!0x0,_0x47e0e2(_0x586de3[_0x18c3ee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18c3ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18c3ee([0x6c,0x6f,0x77])}),_0x35a436[_0x18c3ee([0x74,0x68,0x65,0x6e])](()=>{_0x222e5b||_0x5c3640(_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf41e99(){return _0x162f4f[_0x18c3ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18c3ee([0x76,0x69,0x65,0x77])][_0x18c3ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18c3ee([0x61,0x75,0x74,0x6f]);}function _0x2e32ee(){_0x162f4f[_0x18c3ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18c3ee([0x76,0x69,0x65,0x77])][_0x18c3ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18c3ee([0x61,0x75,0x74,0x6f]);}}function _0x344dbd(_0x3cb116){const _0x5d2527=[new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ae4d9=>setTimeout(_0x2ae4d9,0x47abbbca^_0x4a9d94)),_0x35a436[_0x18c3ee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59b5b4=>{let _0x2a7807=0x0;_0x162f4f[_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c3ee([0x6f,0x6e])](_0x18c3ee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c6876,_0x19e6e0)=>{_0x19e6e0[0x0][_0x18c3ee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a7807++,_0x2a7807==(0x47a280ee^_0x4a9d94)&&(_0x59b5b4(),_0x1c6876[_0x18c3ee([0x6f,0x66,0x66])]());});}))];return window[_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18c3ee([0x72,0x61,0x63,0x65])](_0x5d2527)[_0x18c3ee([0x74,0x68,0x65,0x6e])](()=>_0x3cb116);}async function _0x14c574(){await _0x35a436,_0x162f4f[_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c3ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28a58b,_0x162f4f[_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c3ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28a58b,_0x162f4f[_0x18c3ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5beb76(_0xe06f1b){const _0x2d1293=_0x1c3027();_0x162f4f[_0x2d1293]=_0x18c3ee([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe06f1b,_0xe06f1b!=_0x18c3ee([0x56,0x61,0x6c,0x69,0x64])&&_0x14c574();}function _0x1c3027(){const _0x3c99f7=window[_0x18c3ee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18c3ee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18c3ee([0x6e,0x6f,0x77])]())[_0x18c3ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18c3ee([0x2e]),'');let _0x5b3098=_0x18c3ee([0x75]);for(let _0x570979=0x0;_0x570979<_0x3c99f7[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x570979+=0x2){let _0x1aa240=window[_0x18c3ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c99f7[_0x18c3ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x570979,_0x570979+0x2));_0x1aa240>=_0x4f701d[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1aa240-=_0x4f701d[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b3098+=_0x4f701d[_0x1aa240];}return _0x5b3098;}function _0x36938d(){const _0x757528=_0x23acac[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e]));if(0x3!=_0x757528[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b00eb(_0x757528[0x1]);function _0x5b00eb(_0xb11b67){const _0x5e14d5=_0x1c0eea(_0xb11b67);return _0x5e14d5&&_0x1b5dbf()?_0x5e14d5:null;function _0x1b5dbf(){const _0x4d628f=_0x5e14d5[_0x18c3ee([0x6a,0x74,0x69])],_0x36339d=window[_0x18c3ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d628f[_0x18c3ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d628f[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30d7ba={..._0x5e14d5,[_0x18c3ee([0x6a,0x74,0x69])]:_0x4d628f[_0x18c3ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d628f[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30d7ba[_0x18c3ee([0x76,0x63])],_0x130800(_0x30d7ba)==_0x36339d;}}}async function _0x2bfa98(){let _0x4a6dcb=!0x0;try{const _0x2f84d0=_0x23acac[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e])),[_0x39a57a,_0x37c3b6,_0x4b6d13]=_0x2f84d0;return _0x4ba18d(_0x39a57a),await _0xbc0f8b(_0x39a57a,_0x37c3b6,_0x4b6d13),_0x4a6dcb;}catch{return!0x1;}function _0x4ba18d(_0xa5816d){const _0x30a899=_0x1c0eea(_0xa5816d);_0x30a899&&_0x30a899[_0x18c3ee([0x61,0x6c,0x67])]==_0x18c3ee([0x45,0x53,0x32,0x35,0x36])||(_0x4a6dcb=!0x1);}async function _0xbc0f8b(_0x3d5fad,_0x2dfd5e,_0x5b2374){const _0x124689=window[_0x18c3ee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18c3ee([0x66,0x72,0x6f,0x6d])](_0x5e6748(_0x5b2374),_0x203eda=>_0x203eda[_0x18c3ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45a41b=new window[(_0x18c3ee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18c3ee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d5fad+_0x18c3ee([0x2e])+_0x2dfd5e),_0x43315d=window[_0x18c3ee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18c3ee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43315d)return;const _0x184e59=await _0x43315d[_0x18c3ee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18c3ee([0x6a,0x77,0x6b]),_0x5e1403,{[_0x18c3ee([0x6e,0x61,0x6d,0x65])]:_0x18c3ee([0x45,0x43,0x44,0x53,0x41]),[_0x18c3ee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18c3ee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18c3ee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43315d[_0x18c3ee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18c3ee([0x6e,0x61,0x6d,0x65])]:_0x18c3ee([0x45,0x43,0x44,0x53,0x41]),[_0x18c3ee([0x68,0x61,0x73,0x68])]:{[_0x18c3ee([0x6e,0x61,0x6d,0x65])]:_0x18c3ee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x184e59,_0x124689,_0x45a41b)||(_0x4a6dcb=!0x1);}}function _0x1c0eea(_0x112be1){return _0x112be1[_0x18c3ee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18c3ee([0x65,0x79]))?JSON[_0x18c3ee([0x70,0x61,0x72,0x73,0x65])](_0x5e6748(_0x112be1)):null;}function _0x5e6748(_0x29bf39){return window[_0x18c3ee([0x61,0x74,0x6f,0x62])](_0x29bf39[_0x18c3ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18c3ee([0x2b]))[_0x18c3ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18c3ee([0x2f])));}function _0x130800(_0x1fd63c){let _0x150363=0x1505;function _0x190914(_0x2d9d2e){for(let _0x4e9196=0x0;_0x4e9196<_0x2d9d2e[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e9196++){const _0x4080cd=_0x2d9d2e[_0x18c3ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e9196);_0x150363=(_0x150363<<0x5)+_0x150363+_0x4080cd,_0x150363&=_0x150363;}}function _0x3f39c2(_0x1dc006){Array[_0x18c3ee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dc006)?_0x1dc006[_0x18c3ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f39c2):_0x1dc006&&typeof _0x1dc006==_0x18c3ee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18c3ee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dc006)[_0x18c3ee([0x73,0x6f,0x72,0x74])]()[_0x18c3ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x415ff1,_0x349e4c])=>{_0x190914(_0x415ff1),_0x3f39c2(_0x349e4c);}):_0x190914(window[_0x18c3ee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dc006));}return _0x3f39c2(_0x1fd63c),_0x150363>>>0x0;}function _0x2ff3ae(_0x48964a){return _0x48964a[_0x18c3ee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18c3ee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18c3ee([0x30]));}function _0x835793(_0x3441bf){return _0x3441bf[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18c3ee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18c3ee([0x6a,0x6f,0x69,0x6e])]('');}function _0x28a58b(){}function _0x18c3ee(_0x1b0070){return _0x1b0070['map'](_0x2bf100=>String['fromCharCode'](_0x2bf100))['join']('');}_0x5beb76(await _0x342330());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2997f0){const {plugins:_0x35caeb,editing:_0x4e3cba,model:_0x1dfeef}=this['editor'],_0x43b6de=_0x35caeb['get'](f)['getFootnote'](_0x2997f0);return!!_0x43b6de&&(_0x1dfeef['change'](_0x430f46=>{_0x430f46['setSelection'](_0x430f46['createPositionAt'](_0x43b6de['definition'],'end'));}),_0x4e3cba['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4a1b49){const {plugins:_0x5251be,editing:_0x1b850e,model:_0x46b709}=this['editor'],_0x4b63a6=_0x5251be['get'](f)['getFootnote'](_0x4a1b49);return!!_0x4b63a6&&(_0x46b709['change'](_0x10aa31=>{_0x10aa31['setSelection'](_0x4b63a6['reference'],'on');}),_0x1b850e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x635180}=this['editor']['model'],_0x148b00=this['editor']['config']['get']('footnotes.multiBlock');_0x635180['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x635180['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x635180['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x148b00?_0x635180['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x635180['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x635180['addChildCheck'](_0x1fb035=>{for(const _0x3947a3 of _0x1fb035)if('footnoteDefinition'===_0x3947a3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x395dbc}=this,{conversion:_0xe23366,editing:_0x48cd4c}=_0x395dbc,{t:t}=_0x395dbc['locale'];_0xe23366['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x131354,{writer:_0x20770d,consumable:_0xde9357})=>{const _0x4aaaa3=_0x131354['getChild'](0x0);if(!_0x4aaaa3||!_0x4aaaa3['is']('element','a'))return null;const _0x1004c8=_0x4aaaa3['getAttribute']('href')||'';if(!_0x1004c8['startsWith']('#'))return null;const _0x3a188f=_0x1004c8['replace'](/^#/,'');if(!_0x3a188f)return null;_0xde9357['consume'](_0x4aaaa3,{'name':!0x0,'attributes':['href']});for(const {item:_0x4b27a4}of _0x48cd4c['view']['createRangeIn'](_0x4aaaa3))_0x4b27a4['is']('$textProxy')?_0xde9357['consume'](_0x4b27a4['textNode'],{'name':!0x0}):_0x4b27a4['is']('element')&&_0xde9357['consume'](_0x4b27a4,{'name':!0x0});return _0x20770d['createElement']('footnoteRef',{'footnoteId':_0x3a188f});}}),_0xe23366['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5327b0,{writer:_0x56ba5f})=>b(_0x5327b0,_0x56ba5f)}),_0xe23366['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2a424e,{writer:_0x2aea04})=>{const _0x3dc701=_0x2a424e['getAttribute']('footnoteCounter');return _0x484ea4(b(_0x2a424e,_0x2aea04),_0x2aea04,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3dc701)});}});}['_defineDefinitionsConverters'](){const {editor:_0x44c91d}=this,{t:t}=_0x44c91d['locale'],{conversion:_0x5a6e82}=_0x44c91d;_0x5a6e82['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5a6e82['for']('upcast')['add'](_0x5c5ebb=>{_0x5c5ebb['on']('element:ol',(_0x4db309,_0x525273,_0x4ec5b4)=>{const _0x4d840d=_0x525273['viewItem'];if(!_0x4d840d['hasClass']('footnotes-list')||!_0x525273['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4ec5b4['consumable']['consume'](_0x4d840d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1d0bfc,modelCursor:_0x2d0c98}=_0x4ec5b4['convertChildren'](_0x525273['viewItem'],_0x525273['modelCursor']);_0x525273['modelRange']=_0x1d0bfc,_0x525273['modelCursor']=_0x2d0c98;}),_0x5c5ebb['on']('element:hr',(_0x4e06f3,_0x4863c9,_0x3b84a7)=>{const _0x179a40=_0x4863c9['viewItem'];_0x179a40['hasClass']('footnotes-divider')&&_0x4863c9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3b84a7['consumable']['consume'](_0x179a40,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5a6e82['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x138808,{writer:_0x3bb92d})=>D(_0x3bb92d)}),_0x5a6e82['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x340d54,{writer:_0x5da455})=>{const _0x1389f6=D(_0x5da455,{'data-footnotes-list-label':t('Footnotes')}),_0x229e4b=_0x484ea4(_0x1389f6,_0x5da455,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5da455['setCustomProperty']('footnotesDefinitions',!0x0,_0x229e4b),_0x229e4b;}});}['_defineDefinitionConverters'](){const {editor:_0x289d77}=this,{conversion:_0x53b4e8,locale:_0x4fb596}=_0x289d77,_0x5add35=_0x289d77['config']['get']('footnotes.multiBlock');_0x53b4e8['for']('upcast')['add'](_0xcdbab7=>{_0xcdbab7['on']('element:li',(_0x381a1c,_0x3cd441,_0x5916fd)=>{const _0x2ef905=_0x3cd441['viewItem'];if(!_0x2ef905['hasClass']('footnote-definition')||!_0x2ef905['getAttribute']('id'))return;const _0x3568b2=_0x2ef905['parent'];if(!_0x3568b2['is']('element','ol')||!_0x3568b2['hasClass']('footnotes-list'))return;if(!_0x5916fd['consumable']['test'](_0x2ef905,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x71c03=_0x5916fd['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2ef905['getAttribute']('id')});if(!_0x5916fd['safeInsert'](_0x71c03,_0x3cd441['modelCursor']))return;_0x5916fd['consumable']['consume'](_0x2ef905,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x727b9e=Array['from'](_0x2ef905['getChildren']())['find'](_0x4bd71e=>_0x4bd71e['is']('element')&&_0x4bd71e['hasClass']('footnote-content'));for(const _0x41e815 of _0x2ef905['getChildren']())_0x41e815['is']('element')&&(_0x5916fd['consumable']['consume'](_0x41e815,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5916fd['consumable']['consume'](_0x41e815,{'name':!0x0,'classes':'footnote-content'}));if(_0x727b9e){if(_0x5add35)_0x5916fd['convertChildren'](_0x727b9e,_0x71c03);else{const _0x248084=_0x5916fd['writer']['createElement']('footnoteInlineContent');_0x5916fd['writer']['insert'](_0x248084,_0x71c03),_0x5916fd['convertChildren'](_0x727b9e,_0x248084);}}_0x5916fd['updateConversionResult'](_0x71c03,_0x3cd441);});}),_0x53b4e8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x49848f,{writer:_0x333a65})=>y(_0x49848f,_0x333a65,_0x4fb596,{'dataPipeline':!0x0})}),_0x53b4e8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x56aafd,{writer:_0x562a27})=>y(_0x56aafd,_0x562a27,_0x4fb596)});}['_defineBogusParagraphConverters'](){const {editor:_0x4f3df2}=this,{conversion:_0x10f72a}=_0x4f3df2;_0x4f3df2['config']['get']('footnotes.multiBlock')?(_0x10f72a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x10f72a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4f3df2['model']['document'],'change:data',()=>{!function(_0x54b44f,_0x3ef68b){const _0x40f929=_0x54b44f['document']['differ'],_0x4d5f34=new Set();for(const _0x390be3 of _0x40f929['getChanges']()){const _0x39ae4f='attribute'==_0x390be3['type']?_0x390be3['range']['start']['parent']:_0x390be3['position']['parent'];_0x39ae4f['is']('element','footnoteDefinition')&&_0x4d5f34['add'](_0x39ae4f);}for(const _0x22b94b of _0x4d5f34['values']()){const _0x598e18=Array['from'](_0x22b94b['getChildren']())['filter'](_0x6783d2=>v(_0x6783d2,_0x3ef68b['mapper']));for(const _0x2e419e of _0x598e18)_0x3ef68b['reconvertItem'](_0x2e419e);}}(_0x4f3df2['model'],_0x4f3df2['editing']);})):(_0x10f72a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x10f72a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1fef16,{writer:_0x6550a7})=>{const _0x2f965e=_0x6550a7['createContainerElement']('span');return _0x6550a7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f965e),_0x2f965e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x54dfc0}=this,{editing:_0x5ea156,t:t}=_0x54dfc0,_0x1bb49f=_0x54dfc0['model']['document']['selection'];_0x54dfc0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x54dfc0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5ea156['view']['document'],'enter',(_0x47160e,_0xed024)=>{const _0x5c5f93=function(_0x501439){const _0x3b4649=_0x501439['getSelectedElement']();if(_0x3b4649?.['is']('element','footnoteRef'))return _0x3b4649;return null;}(_0x1bb49f);if(_0x5c5f93){const _0xaba4b9=_0x5c5f93['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xaba4b9),_0xed024['preventDefault'](),_0x47160e['stop']();}},{'context':_0x49edcf});}['_defineClickHandlers'](){const {editor:_0x5012dd}=this,{editing:_0x49b6d7}=_0x5012dd;_0x5012dd['editing']['view']['addObserver'](_0x3a395c),_0x5012dd['editing']['view']['addObserver'](_0x4d8ee8);let _0x3fcdda=!0x1;this['listenTo'](_0x49b6d7['view']['document'],'pointerdown',(_0x3dcefe,_0x11206c)=>{const {target:_0x470180}=_0x11206c,_0xe030a2=_0x49b6d7['view']['document']['selection'];_0x3fcdda=!!(_0x470180?.['is']('element','a')&&_0x470180['parent']?.['is']('element','sup')&&_0x470180['parent']['hasClass']('footnote'))&&_0xe030a2['getSelectedElement']()===_0x470180['parent'];},{'priority':'high'}),this['listenTo'](_0x49b6d7['view']['document'],'click',(_0x155c51,_0x408434)=>{const {target:_0xb97d55}=_0x408434;if(!_0xb97d55?.['is']('element','a'))return;if(_0xb97d55['parent']?.['is']('element','sup')&&_0xb97d55['parent']['hasClass']('footnote')&&!_0x3fcdda)return void _0x408434['preventDefault']();let _0x4dafb1=_0xb97d55['getAttribute']('href');if(!_0x4dafb1?.['startsWith']('#'))return;_0x4dafb1=_0x4dafb1['slice'](0x1);let _0x2e25ba=!0x1;(_0x4dafb1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4dafb1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4dafb1))&&(_0x2e25ba=!0x0),_0x2e25ba&&(_0x408434['preventDefault'](),_0x155c51['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x16ca5b}={}){return(_0x168e4c,{writer:_0x16bc4a})=>{if(!g(_0x168e4c))return null;if(!_0x16ca5b)return _0x16bc4a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1ac0e3=_0x16bc4a['createContainerElement']('p');return _0x16bc4a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1ac0e3),_0x1ac0e3;};}function g(_0x30c3de){const {parent:_0x5941a3}=_0x30c3de;if(!_0x5941a3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5941a3['childCount'])return!0x1;for(const _0x4bee24 of _0x30c3de['getAttributeKeys']())if(!_0x4bee24['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4bee24)return!0x1;return!0x0;}function v(_0x11d559,_0x429d1a){if(!_0x11d559['is']('element','paragraph'))return!0x1;const _0x533d40=_0x429d1a['toViewElement'](_0x11d559);return!!_0x533d40&&g(_0x11d559)!==_0x533d40['is']('element','span');}function Q(_0x49b599){return _0x49edcf(_0x49b599)&&_0x49b599['is']('containerElement')&&!!_0x49b599['getCustomProperty']('footnotesDefinitions');}function D(_0x230aa7,_0x5ef8ee={}){const _0x37e1f4=_0x230aa7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4b3c76=_0x230aa7['createContainerElement']('ol',{'class':'footnotes-list'},_0x230aa7['createSlot']());return _0x230aa7['createContainerElement']('div',{'class':'footnotes',..._0x5ef8ee},[_0x37e1f4,_0x4b3c76]);}function b(_0x5f1bfb,_0x2bba78){const _0xb477a6=_0x5f1bfb['getAttribute']('footnoteId'),_0xaf84bd=_0x5f1bfb['getAttribute']('footnoteCounter'),_0x2af39e=_0x2bba78['createUIElement']('a',{'href':'#'+_0xb477a6},function(_0x2d7691){const _0x4b040d=this['toDomElement'](_0x2d7691);return _0x4b040d['textContent']=_0xaf84bd,_0x4b040d;}),_0xd12b9f=_0x2bba78['createContainerElement']('sup',{'id':'ref-'+_0xb477a6,'class':'footnote'},[_0x2af39e]);return _0xd12b9f['getFillerOffset']=()=>null,_0xd12b9f;}function y(_0xb2fcc8,_0x5c543e,_0x5f38e2,{dataPipeline:_0x2ae8db}={}){const {t:t}=_0x5f38e2,_0x340559=_0xb2fcc8['getAttribute']('footnoteId'),_0x13006d=_0x5c543e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x340559},function(_0x2d9340){const _0x2f9168=this['toDomElement'](_0x2d9340);return _0x2f9168['innerText']='^',_0x2f9168;}),_0x110b3d=_0x2ae8db?_0x5c543e['createContainerElement']('div',{'class':'footnote-content'}):_0x3b08d9(_0x5c543e['createEditableElement']('div',{'class':'footnote-content'}),_0x5c543e,{'label':t('Footnote\x20content.')});return _0x5c543e['insert'](_0x5c543e['createPositionAt'](_0x110b3d,0x0),_0x5c543e['createSlot']()),_0x5c543e['createContainerElement']('li',{'class':'footnote-definition','id':_0x340559},[_0x13006d,_0x110b3d]);}class e extends _0xee8887{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x19c946];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x59a4a6}=this,{plugins:_0x8d7c9e,model:_0x2db0be}=_0x59a4a6,_0x836fc9=_0x8d7c9e['get'](_0x19c946),_0x41c59b=_0x8d7c9e['get'](f);this['listenTo'](_0x836fc9,'outputTransformation',(_0xe9998c,_0x436530)=>{const _0x74dc91=l(_0x2db0be['createRangeIn'](_0x436530['content']));if(!_0x74dc91['length'])return;const _0x5596bb=_0x41c59b['getFootnotes'](),_0x5bbf85=_0x74dc91['reduce']((_0x572278,_0x1e6850)=>{const _0x45db89=_0x5596bb['find'](_0xfead3d=>_0xfead3d['id']===_0x1e6850);if(_0x45db89){const _0x39a990=_0x59a4a6['data']['toView'](_0x45db89['definition'],{'isClipboardPipeline':!0x0}),_0x5738ea=_0x59a4a6['data']['htmlProcessor']['toData'](_0x39a990);_0x572278[_0x45db89['id']]=_0x5738ea;}return _0x572278;},Object['create'](null));_0x436530['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5bbf85));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x13c6fa}=this,{model:_0x3519ed,plugins:_0x94cbe3}=_0x13c6fa,{view:_0x17dda0}=_0x13c6fa['editing'],_0x53b655=_0x94cbe3['get'](_0x19c946),_0x13abb7=_0x94cbe3['get'](f),_0x3d2f3c=_0x13c6fa['config']['get']('footnotes.multiBlock');let _0x5eb874=null;this['listenTo'](_0x17dda0['document'],'clipboardInput',(_0x161e46,_0x2b1d93)=>{const _0x3658ce=_0x2b1d93['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5eb874=_0x3658ce?JSON['parse'](_0x3658ce):null;}),this['listenTo'](_0x53b655,'contentInsertion',(_0x5beabb,_0x3c18c5)=>{const _0x2b3847=_0x3c18c5['sourceEditorId']===this['editor']['id'];_0x2b3847&&'drop'===_0x3c18c5['method']||_0x3519ed['change'](_0x46c3df=>{let _0x1f8c72=_0x13abb7['getFootnotesDefinitionsObjectElement']();const _0x49e03d=!!_0x1f8c72&&Array['from'](_0x3519ed['document']['selection']['getSelectedBlocks']())['includes'](_0x1f8c72);if(!_0x5eb874&&function(_0x1fdc0f){for(const {item:_0x3f8f49}of _0x1fdc0f)if(_0x3f8f49['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3519ed['createRangeIn'](_0x3c18c5['content']))&&(_0x5eb874=function(_0x3ca282,_0x51942f){const _0x1fddbf=c(_0x3ca282,_0x51942f);if(!_0x1fddbf)return null;const _0x49da94=Object['create'](null);for(const _0x26de75 of _0x1fddbf['getChildren']())_0x26de75['is']('element','footnoteDefinition')&&_0x26de75['hasAttribute']('footnoteId')&&(_0x49da94[_0x26de75['getAttribute']('footnoteId')]=_0x3ca282['cloneElement'](_0x26de75,!0x0));return Object['keys'](_0x49da94)['length']?_0x49da94:null;}(_0x46c3df,_0x3c18c5['content'])),(_0x1f8c72&&!_0x49e03d||!_0x1f8c72&&!_0x5eb874)&&function(_0x28e32b,_0x52c631){const _0x4e9a4f=[];for(const {item:_0x41ff84}of _0x28e32b['createRangeIn'](_0x52c631))_0x41ff84['is']('element','footnotesDefinitions')&&_0x4e9a4f['push'](_0x41ff84);for(const _0x106c7e of _0x4e9a4f)_0x28e32b['remove'](_0x106c7e);}(_0x46c3df,_0x3c18c5['content']),!_0x5eb874)return;const {selection:_0x29f9f7}=_0x3519ed['document'],_0x1dbbb7=_0x29f9f7['getFirstRange']()['root'];_0x1f8c72&&!_0x49e03d||(_0x1f8c72=c(_0x46c3df,_0x3c18c5['content']),_0x1f8c72||=_0x13abb7['_insertEmptyFootnotesDefinitionsContainer'](_0x46c3df,_0x1dbbb7));const _0x2648f7=Array['from'](_0x29f9f7['getRanges']())['flatMap'](l),_0x2d917e=function(_0x451045,_0xc7328c,_0x2a9a5a){const _0x25d77f=Object['create'](null);for(const {item:_0x3ced50}of _0x451045['createRangeIn'](_0xc7328c))if(_0x3ced50['is']('element','footnoteRef')){const _0x1cc4a0=_0x3ced50['getAttribute']('footnoteId');if(!_0x2a9a5a(_0x1cc4a0))continue;_0x25d77f[_0x1cc4a0]||(_0x25d77f[_0x1cc4a0]=_0x549f76()),_0x451045['setAttribute']('footnoteId',_0x25d77f[_0x1cc4a0],_0x3ced50);}return _0x25d77f;}(_0x46c3df,_0x3c18c5['content'],_0x468fa3=>{if(!_0x2b3847)return!0x0;return!!_0x13abb7['getFootnote'](_0x468fa3)&&!_0x2648f7['includes'](_0x468fa3);});for(const [_0x396f86,_0x1202cf]of Object['entries'](_0x5eb874)){const _0x2bfd32=_0x2d917e[_0x396f86]||_0x396f86;let _0x58a2af;if('string'!=typeof _0x1202cf)_0x58a2af=_0x1202cf,_0x2bfd32!==_0x396f86&&_0x46c3df['setAttribute']('footnoteId',_0x2bfd32,_0x58a2af);else{_0x58a2af=_0x46c3df['createElement']('footnoteDefinition',{'footnoteId':_0x2bfd32});const _0x1e7b91=_0x13c6fa['data']['htmlProcessor']['toView'](_0x1202cf);let _0x4e059a;if(_0x3d2f3c)_0x4e059a=_0x13c6fa['data']['toModel'](_0x1e7b91,_0x58a2af);else{_0x4e059a=_0x46c3df['createElement']('footnoteInlineContent');const _0x578f40=_0x13c6fa['data']['toModel'](_0x1e7b91,_0x4e059a);_0x46c3df['insert'](_0x578f40,_0x4e059a);}_0x46c3df['append'](_0x4e059a,_0x58a2af);}_0x46c3df['insert'](_0x58a2af,_0x1f8c72,'end');}_0x5eb874=null;});});}}function c(_0x26e7b6,_0x1463af){for(const {item:_0x203126}of _0x26e7b6['createRangeIn'](_0x1463af))if(_0x203126['is']('element','footnotesDefinitions'))return _0x203126;return null;}function l(_0x54e9e8){const _0x531ff3=new Set();for(const {item:_0x25ce6b}of _0x54e9e8)_0x25ce6b['is']('element','footnoteRef')&&_0x531ff3['add'](_0x25ce6b['getAttribute']('footnoteId'));return Array['from'](_0x531ff3);}class i extends _0xee8887{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22a259}=this,{componentFactory:_0x269ea0}=_0x22a259['ui'];_0x269ea0['add']('insertFootnote',E(_0x22a259,_0x459347)),_0x269ea0['add']('menuBar:insertFootnote',E(_0x22a259,_0x560856)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xa578c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c8ad2;for(const _0x2a199f in _0xa578c){const _0x362755=_0x2a199f,_0x5dfd22=_0xa578c[_0x362755];if('footnotesLicenseKeyValid'==_0x5dfd22||'footnotesLicenseKeyInvalid'==_0x5dfd22||'footnotesLicenseKeyExpired'==_0x5dfd22||'footnotesLicenseKeyDomainLimit'==_0x5dfd22||'footnotesLicenseKeyNotAllowed'==_0x5dfd22||'footnotesLicenseKeyEvaluationLimit'==_0x5dfd22||'footnotesLicenseKeyUsageLimit'==_0x5dfd22){delete _0xa578c[_0x362755],_0x2c8ad2=_0x5dfd22,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2c8ad2&&_0xa578c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2c8ad2&&_0xa578c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2c8ad2&&_0xa578c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2c8ad2&&_0xa578c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2c8ad2&&_0xa578c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2c8ad2&&_0xa578c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4ccae2,_0x37d308){const _0x30c5a1=_0x4ccae2['commands']['get']('insertFootnote');return _0x124dd8=>{const {t:t}=_0x124dd8,_0x5b2724=new _0x37d308(_0x124dd8),_0x2baaa2=_0x5b2724 instanceof _0x560856;return _0x5b2724['bind']('isEnabled')['to'](_0x30c5a1,'isEnabled'),_0x5b2724['set']({'label':t(_0x2baaa2?'Footnote':'Insert\x20footnote'),'icon':_0x1b32ad,'tooltip':!0x0}),_0x5b2724['on']('execute',()=>{_0x30c5a1['execute'](),_0x4ccae2['editing']['view']['focus']();}),_0x5b2724;};}class lt extends _0xee8887{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 _0x1bdab6{['refresh'](){const {editor:_0x4026f8}=this,_0x141d59=_0x4026f8['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x141d59,this['value']=_0x141d59?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4f65bf}){const {editor:_0x88a48}=this,_0x5e76d9=_0x88a48['plugins']['get'](f),_0x2e8ca1=_0x5e76d9['getFootnotesDefinitionsObjectElement']();_0x2e8ca1&&W['includes'](_0x4f65bf)&&_0x88a48['model']['change'](_0xbd1306=>{_0xbd1306['setAttribute']('footnotesListStyle',_0x4f65bf,_0x2e8ca1),_0x5e76d9['_updateFootnotesCounters'](_0xbd1306);});}}class C extends _0x1bdab6{['refresh'](){const {editor:_0x2c1ba0}=this,_0x27136a=_0x2c1ba0['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x27136a,this['value']=_0x27136a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x161afc}){const {editor:_0x4b584d}=this,_0x477191=_0x4b584d['plugins']['get'](f),_0x592b85=_0x477191['getFootnotesDefinitionsObjectElement']();_0x592b85&&Number['isInteger'](_0x161afc)&&_0x4b584d['model']['change'](_0xcaa6ef=>{_0xcaa6ef['setAttribute']('footnotesListStart',_0x161afc,_0x592b85),_0x477191['_updateFootnotesCounters'](_0xcaa6ef);});}}class P extends _0xee8887{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4069c7}=this;_0x4069c7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4069c7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4069c7['commands']['add']('footnotesStyle',new S(_0x4069c7)),_0x4069c7['commands']['add']('footnotesStart',new C(_0x4069c7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x24a376}=this,{schema:_0x3cd056}=_0x24a376['model'];_0x3cd056['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1ce57a}=this,{conversion:_0x2db8d7,model:_0x3500b4}=_0x1ce57a,{schema:_0x13e311}=_0x3500b4;_0x2db8d7['for']('upcast')['add'](_0x4d1fce=>{_0x4d1fce['on']('element:ol',(_0x3cd9c2,_0x4562e1,_0x2fece9)=>{const _0x492c78=_0x4562e1['viewItem'],_0x2a91d6=_0x4562e1['modelCursor']?.['parent'];_0x492c78['hasClass']('footnotes-list')&&_0x2a91d6?.['is']('element','footnotesDefinitions')&&(function(_0xe732f2,_0x25be66,_0x1137b6,_0x4645aa){if(!_0x4645aa['checkAttribute'](_0x25be66,'footnotesListStart'))return;let _0x506cf3=0x1;const _0x48c682=_0x1137b6['consumable']['consume'](_0xe732f2,{'attributes':'start'});if(_0x48c682){const _0x414052=Number['parseInt'](_0xe732f2['getAttribute']('start'),0xa);Number['isNaN'](_0x414052)||(_0x506cf3=_0x414052);}!_0x48c682&&_0x25be66['hasAttribute']('footnotesListStart')||_0x1137b6['writer']['setAttribute']('footnotesListStart',_0x506cf3,_0x25be66);}(_0x492c78,_0x2a91d6,_0x2fece9,_0x13e311),function(_0x4cdbe8,_0x436a82,_0x9bbcb5,_0x35c362){if(!_0x35c362['checkAttribute'](_0x436a82,'footnotesListStyle'))return;let _0x2b33d8='decimal',_0x1dd4fe=!0x1;if(_0x9bbcb5['consumable']['consume'](_0x4cdbe8,{'attributes':'type'})){const _0x26c353={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4cdbe8['getAttribute']('type')];_0x26c353&&(_0x2b33d8=_0x26c353),_0x1dd4fe=!0x0;}_0x9bbcb5['consumable']['consume'](_0x4cdbe8,{'styles':'list-style-type'})&&(_0x2b33d8=function(_0x4f286f){switch(_0x4f286f){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4f286f;}}(_0x4cdbe8['getStyle']('list-style-type')),_0x1dd4fe=!0x0),!_0x1dd4fe&&_0x436a82['hasAttribute']('footnotesListStyle')||_0x9bbcb5['writer']['setAttribute']('footnotesListStyle',_0x2b33d8,_0x436a82);}(_0x492c78,_0x2a91d6,_0x2fece9,_0x13e311));});}),_0x2db8d7['for']('downcast')['add'](_0x519bb8=>{_0x519bb8['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x504d01,_0x7ac8e3,_0x32ec30)=>{if(!_0x32ec30['consumable']['consume'](_0x7ac8e3['item'],_0x504d01['name']))return;const _0x352f67=M(_0x7ac8e3['item'],_0x32ec30['mapper']),{attributeNewValue:_0x389f3d}=_0x7ac8e3;null==_0x389f3d||0x1===_0x389f3d?_0x32ec30['writer']['removeAttribute']('start',_0x352f67):_0x32ec30['writer']['setAttribute']('start',String(_0x389f3d),_0x352f67);}),_0x519bb8['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3b9f91,_0x180041,_0x2c52bf)=>{if(!_0x2c52bf['consumable']['consume'](_0x180041['item'],_0x3b9f91['name']))return;const _0x31c804=M(_0x180041['item'],_0x2c52bf['mapper']),{attributeNewValue:_0x4c73f5}=_0x180041;_0x4c73f5&&'decimal'!==_0x4c73f5?_0x2c52bf['writer']['setStyle']('list-style-type',_0x4c73f5,_0x31c804):_0x2c52bf['writer']['removeStyle']('list-style-type',_0x31c804);});});}['_definePostfixer'](){const {editor:_0x763ff3}=this,{model:_0x2d78b0}=_0x763ff3,_0x33c1d7=_0x763ff3['plugins']['get'](f),_0x54b145=this['_getDefaultListStyle'](),_0x4b6e7d=this['_getDefaultStartIndex']();_0x2d78b0['document']['registerPostFixer'](_0x4d4ddd=>{const _0x18cd05=_0x2d78b0['document']['differ']['getChanges']();let _0x58e77b=!0x1;for(const _0x47e50a of _0x18cd05){if('insert'!==_0x47e50a['type']||'$text'===_0x47e50a['name'])continue;const _0x4ac9d8=_0x2d78b0['createRangeOn'](_0x47e50a['position']['nodeAfter']);for(const _0x49ca21 of _0x4ac9d8['getItems']())_0x49ca21['is']('element','footnotesDefinitions')&&(!_0x49ca21['hasAttribute']('footnotesListStart')&&_0x2d78b0['schema']['checkAttribute'](_0x49ca21,'footnotesListStart')&&(_0x4d4ddd['setAttribute']('footnotesListStart',_0x4b6e7d,_0x49ca21),_0x58e77b=!0x0),!_0x49ca21['hasAttribute']('footnotesListStyle')&&_0x2d78b0['schema']['checkAttribute'](_0x49ca21,'footnotesListStyle')&&(_0x4d4ddd['setAttribute']('footnotesListStyle',_0x54b145,_0x49ca21),_0x58e77b=!0x0));}return _0x58e77b&&_0x33c1d7['_updateFootnotesCounters'](_0x4d4ddd),_0x58e77b;});}['_defineFormatter'](){const {editor:_0x250191}=this;_0x250191['plugins']['get'](f)['setFootnoteFormatter'](_0xb89f63=>this['_formatFootnoteListValue'](_0xb89f63));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5b4487,value:_0x5a2727,digits:_0x25ea12}){const _0x1bbf0e=_0x5b4487['getAttribute']('footnotesListStyle'),_0x22e40e=_0x5b4487['getAttribute']('footnotesListStart'),_0x5d24ba=Math['floor'](_0x5a2727)+(_0x22e40e??0x1)-0x1;switch(_0x1bbf0e){case'decimal-leading-zero':return function(_0x3263b2,_0x3984aa){return String(_0x3263b2)['padStart'](_0x3984aa,'0');}(_0x5d24ba,Math['max'](0x2,_0x25ea12));case'lower-alpha':case'lower-latin':return N(_0x5d24ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5d24ba,!0x0);case'lower-roman':return X(_0x5d24ba,!0x1);case'upper-roman':return X(_0x5d24ba,!0x0);default:return String(_0x5d24ba);}}}function M(_0x5d1ec9,_0x5ec6b9){const _0x4af50c=_0x5ec6b9['toViewElement'](_0x5d1ec9);return Array['from'](_0x4af50c['getChildren']())['find'](_0x1743dd=>_0x1743dd['is']('element','ol')&&_0x1743dd['hasClass']('footnotes-list'));}function N(_0x387753,_0x2ccc8d){let _0x3abdd0='',_0x2cbeb8=_0x387753;for(;_0x2cbeb8>0x0;){const _0x58d13a=(_0x2cbeb8-0x1)%0x1a;_0x3abdd0=String['fromCharCode'](0x61+_0x58d13a)+_0x3abdd0,_0x2cbeb8=Math['floor']((_0x2cbeb8-0x1)/0x1a);}return _0x2ccc8d?_0x3abdd0['toUpperCase']():_0x3abdd0;}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(_0x59be7f,_0x539653){let _0x3c005c='',_0x1020fe=_0x59be7f;for(const {value:_0xa63df0,numeral:_0x636cf9}of V)for(;_0x1020fe>=_0xa63df0;)_0x3c005c+=_0x636cf9,_0x1020fe-=_0xa63df0;return _0x539653?_0x3c005c:_0x3c005c['toLowerCase']();}class J extends _0x417880{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2704d5();['focusCycler'];constructor(_0x375b25,{styleButtonViews:_0x5b60fa,styleGridAriaLabel:_0x677222}){super(_0x375b25),(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'](_0x5b60fa,_0x677222),[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 _0x79d96d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x79d96d['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 _0x3450a3=_0x55a1b3=>_0x55a1b3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3450a3),this['keystrokes']['set']('arrowleft',_0x3450a3),this['keystrokes']['set']('arrowup',_0x3450a3),this['keystrokes']['set']('arrowdown',_0x3450a3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2dffff,_0x517add){const _0xd4d21a=new _0x417880(this['locale']);return _0xd4d21a['children']=_0xd4d21a['createCollection'](),_0xd4d21a['children']['addMany'](_0x2dffff),_0xd4d21a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x517add,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd4d21a['children']}),_0xd4d21a['children']['delegate']('execute')['to'](this),_0xd4d21a['focus']=function(){for(const _0x13925d of this['children'])if(_0x13925d instanceof _0x459347&&_0x13925d['isOn'])return void _0x13925d['focus']();this['children']['first']['focus']();},_0xd4d21a['focusTracker']=new rt(),_0xd4d21a['keystrokes']=new nt(),_0xd4d21a['render'](),_0xd4d21a['keystrokes']['listenTo'](_0xd4d21a['element']),this['children']['add'](_0xd4d21a),_0xd4d21a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2eee67=this['_createStartIndexPropertyView'](),_0x2d5b8b=[_0x2eee67],_0x2accb4=new it(this['locale'],_0x2d5b8b);return _0x2accb4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2accb4['buttonView']['bind']('isEnabled')['toMany'](_0x2d5b8b,'isEnabled',(..._0x45c724)=>_0x45c724['some'](_0x4973b8=>_0x4973b8)),_0x2accb4['buttonView']['on']('change:isEnabled',(_0x224a07,_0x1f87b6,_0x5bed50)=>{_0x5bed50||(_0x2accb4['isCollapsed']=!0x0);}),this['children']['add'](_0x2accb4),[_0x2eee67,_0x2accb4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x677ede=new et(this['locale'],ot);return _0x677ede['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x677ede['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x677ede['fieldView']['on']('input',()=>{const _0x33b6b3=_0x677ede['fieldView']['element'],_0x49de3a=_0x33b6b3['valueAsNumber'];Number['isNaN'](_0x49de3a)?_0x677ede['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x33b6b3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x49de3a}):_0x677ede['errorText']=t(_0x49de3a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x677ede;}}class j extends _0xee8887{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x22b615,_0x3304da];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x254779}=this,{componentFactory:_0x475b32}=_0x254779['ui'];_0x254779['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x475b32['add']('footnotesStyle',function(_0x46401f){return _0x42c09f=>{const {t:t}=_0x42c09f,_0x1a96fa=_0x46401f['commands']['get']('footnotesStyle'),_0x251f65=_0x531f60(_0x42c09f),{buttonView:_0x21f165}=_0x251f65;return _0x251f65['class']='ck-footnotes-styles-dropdown',_0x251f65['bind']('isEnabled')['to'](_0x1a96fa,'isEnabled'),_0x21f165['set']({'label':t('Footnotes\x20style'),'icon':_0x1b32ad,'tooltip':!0x0}),_0x251f65['once']('change:isOpen',()=>{const _0x33f819=function({editor:_0x3f55ec,dropdownView:_0x920d86}){const {t:t}=_0x3f55ec['locale'],_0x4c1df5=t('Footnotes\x20definitions\x20styles'),_0x5dff9b=function(_0x1558ba){const t=_0x1558ba['locale']['t'],_0x59f13b=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1919b1},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ab4a3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x43d0ec},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2aa31d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x31a8a9},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x368341}];return _0x59f13b['map'](function(_0xd434ed){const _0x47961e=_0xd434ed['locale'];return({label:_0x1c34f5,icon:_0x4bfbd4,tooltip:_0x3a2afc,style:_0xbb710c})=>{const _0x3af7c1=_0xd434ed['commands']['get']('footnotesStyle'),_0x553080=new _0x459347(_0x47961e);return _0x553080['set']({'label':_0x1c34f5,'icon':_0x4bfbd4,'tooltip':_0x3a2afc}),_0x553080['bind']('isOn')['to'](_0x3af7c1,'value',_0x325a3a=>_0x325a3a===_0xbb710c),_0x553080['bind']('isEnabled')['to'](_0x3af7c1,'isEnabled'),_0x553080['on']('execute',()=>{_0xd434ed['execute']('footnotesStyle',{'value':_0xbb710c}),_0xd434ed['editing']['view']['focus']();}),_0x553080;};}(_0x1558ba));}(_0x3f55ec),_0x490b4d=new J(_0x3f55ec['locale'],{'styleGridAriaLabel':_0x4c1df5,'styleButtonViews':_0x5dff9b}),_0x2c9a7e=_0x3f55ec['commands']['get']('footnotesStart');return _0x490b4d['startIndexFieldView']['bind']('isEnabled')['to'](_0x2c9a7e),_0x490b4d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2c9a7e),_0x490b4d['on']('footnotesListStart',(_0x4c2b22,_0x5628ee)=>{_0x3f55ec['execute']('footnotesStart',{'value':_0x5628ee['startIndex']});}),_0x490b4d['delegate']('execute')['to'](_0x920d86),_0x490b4d;}({'editor':_0x46401f,'dropdownView':_0x251f65});_0x251f65['panelView']['children']['add'](_0x33f819);}),_0x251f65;};}(_0x254779));}['afterInit'](){const {editor:_0x34a351}=this,{t:t}=_0x34a351['locale'],_0x414eaf=_0x34a351['plugins']['get'](_0x3304da),{defaultPositions:_0x3727f8}=_0x223c43;_0x414eaf['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x34a351['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x524b13=>{let _0x5f3b3d=_0x524b13['getFirstPosition']()?.['parent'];return _0x5f3b3d?.['is']('$text')&&(_0x5f3b3d=_0x5f3b3d['parent']),_0x5f3b3d?.['is']('element')?_0x5f3b3d['findAncestor'](Q):null;},'positions':[_0x3727f8['southArrowNorth'],_0x3727f8['southArrowNorthMiddleWest'],_0x3727f8['southArrowNorthMiddleEast'],_0x3727f8['southArrowNorthWest'],_0x3727f8['southArrowNorthEast'],_0x3727f8['northArrowSouth'],_0x3727f8['northArrowSouthMiddleWest'],_0x3727f8['northArrowSouthMiddleEast'],_0x3727f8['northArrowSouthWest'],_0x3727f8['northArrowSouthEast'],_0x3727f8['viewportStickyNorth']]});}}class ft extends _0xee8887{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 _0x19eda0,Command as _0x351006}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x46d9c5,isWidget as _0x3b059c,toWidgetEditable as _0x180e5a,WidgetToolbarRepository as _0x4b86aa}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xe68562,logWarning as _0x5aa102,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x33c070,ClickObserver as _0x37eab0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3fef1b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1b55b4,ButtonView as _0x1fc42c,View as _0x350447,ViewCollection as _0x1ec22f,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0xce7b1e,BalloonPanelView as _0x410fb1,createDropdown as _0x3b9fda}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5a8fbf,IconListStyleDecimal as _0x2cca65,IconListStyleDecimalLeadingZero as _0x4d1f84,IconListStyleLowerRoman as _0x3b622a,IconListStyleUpperRoman as _0x521d19,IconListStyleLowerLatin as _0x4179bf,IconListStyleUpperLatin as _0x15bfb3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4b4de4,_0x80e2e3){this['_model']=_0x4b4de4,this['_elementName']=_0x80e2e3['elementName'],this['_getElementKey']=_0x80e2e3['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x401925){const _0x20b90f=new Set(),_0x5c78d7=new Map();for(const _0x3f8f5c of _0x401925){if('insert'===_0x3f8f5c['type']&&'$text'!==_0x3f8f5c['name']&&_0x3f8f5c['position']['nodeAfter']){const _0xb8cc09=this['_model']['createRangeOn'](_0x3f8f5c['position']['nodeAfter']);for(const _0x4460f2 of _0xb8cc09['getItems']()){if(!_0x4460f2['is']('element',this['_elementName']))continue;const _0x85873c=this['_getElementKey'](_0x4460f2);_0x5c78d7['has'](_0x85873c)||_0x5c78d7['set'](_0x85873c,[]),_0x5c78d7['get'](_0x85873c)['push'](_0x4460f2);}}if('remove'===_0x3f8f5c['type']&&_0x3f8f5c['name']===this['_elementName']){const _0x57b319=this['_getElementKey']({'getAttribute':_0x5a5989=>_0x3f8f5c['attributes']['get'](_0x5a5989)});_0x20b90f['add'](_0x57b319);}}for(const [_0x226124,_0x1dcafb]of this['_trackedElements'])'$graveyard'===_0x1dcafb['root']['rootName']&&_0x20b90f['add'](_0x226124);for(const _0x3acb0a of _0x20b90f)this['_trackedElements']['delete'](_0x3acb0a);for(const [_0x1a2b8e,_0x23e0e1]of _0x5c78d7)this['_trackedElements']['set'](_0x1a2b8e,_0x23e0e1[_0x23e0e1['length']-0x1]);const _0x76dab3=new Set();for(const [_0x27d3dc,_0x484ce0]of _0x5c78d7)_0x20b90f['has'](_0x27d3dc)&&(_0x76dab3['add'](_0x484ce0[0x0]),_0x484ce0['length']>0x1?_0x5c78d7['set'](_0x27d3dc,_0x484ce0['slice'](0x1)):_0x5c78d7['delete'](_0x27d3dc),_0x20b90f['delete'](_0x27d3dc));return{'removed':Array['from'](_0x20b90f),'inserted':Array['from'](_0x5c78d7['values']())['flat'](),'moved':Array['from'](_0x76dab3)};}}class f extends _0x19eda0{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x56e833){super(_0x56e833),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x360554=>_0x360554['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x115fba=>_0x115fba['getAttribute']('footnoteId')});}['init'](){const {editor:_0x31b014}=this,{model:_0x3e8865,data:_0x414844}=_0x31b014;_0x3e8865['document']['registerPostFixer'](_0x2de95f=>{const _0x3fbfcc=_0x3e8865['document']['differ']['getChanges']();let _0x136565=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2de95f,_0x3fbfcc)&&(_0x136565=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2de95f,_0x3fbfcc)&&(_0x136565=!0x0),this['_handleFootnoteReferencesChanges'](_0x2de95f,_0x3fbfcc)&&(_0x136565=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2de95f)&&(_0x136565=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2de95f)&&(_0x136565=!0x0),this['_sortFootnoteDefinitions'](_0x2de95f)&&(_0x136565=!0x0),_0x136565;}),this['listenTo'](_0x3e8865['document'],'change:data',()=>{_0x3e8865['enqueueChange']({'isUndoable':!0x1},_0x2ab0af=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2ab0af);});},{'priority':'low'}),this['listenTo'](_0x414844,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x13d65b){return this['_footnotes']['find'](_0x54b88c=>_0x54b88c['id']===_0x13d65b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3a6126){this['_footnoteFormatter']=_0x3a6126;}['_updateFootnotesCounters'](_0x620e84,_0x492a4e=0x0){let _0x2e7119=!0x1;for(let _0x4b0702=_0x492a4e;_0x4b0702<this['_footnotes']['length'];_0x4b0702++)this['_updateFootnoteRefCounter'](_0x620e84,_0x4b0702)&&(_0x2e7119=!0x0);return _0x2e7119;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5d48b2,_0x280952){const _0x3c4b79=_0x5d48b2['createElement']('footnotesDefinitions',{});return _0x5d48b2['append'](_0x3c4b79,_0x280952),this['_footnotesDefinitions']=_0x3c4b79,_0x3c4b79;}['_ensureFootnotesDefinitionsContainerExists'](_0x15e066){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x46b8fb=this['_footnotes'][0x0]['reference']['root'],_0x4b8607=this['_insertEmptyFootnotesDefinitionsContainer'](_0x15e066,_0x46b8fb);for(const _0x1943a7 of this['_footnotes'])_0x1943a7['definition']['parent']||_0x15e066['insert'](_0x1943a7['definition'],_0x4b8607,'end');this['_updateFootnotesCounters'](_0x15e066);}['_handleFootnotesDefinitionsObjectChanges'](_0x40c29b,_0x54ce9f){let _0xcd2768=!0x1;const {inserted:_0x1109b5,removed:_0x42a7b7,moved:_0x25d631}=this['_footnoteDefsContainerTracker']['getChanges'](_0x54ce9f);if(_0x25d631['length']&&(this['_footnotesDefinitions']=_0x25d631[0x0]),_0x1109b5['length']){if(_0x1109b5['length']>0x1||this['_footnotesDefinitions']&&_0x1109b5['some'](_0x156fdd=>_0x156fdd!==this['_footnotesDefinitions'])){const _0x1a6f41=_0x40c29b['createElement']('footnotesDefinitions',{}),_0x108658=[];this['_footnotesDefinitions']&&_0x108658['push'](this['_footnotesDefinitions']),_0x108658['push'](..._0x1109b5),_0x40c29b['insert'](_0x1a6f41,_0x108658[0x0],'before');for(const _0x1d0062 of _0x108658)_0x40c29b['move'](_0x40c29b['createRangeIn'](_0x1d0062),_0x40c29b['createPositionAt'](_0x1a6f41,'end')),_0x40c29b['remove'](_0x1d0062);this['_footnotesDefinitions']=_0x1a6f41,this['_updateFootnotesCounters'](_0x40c29b),_0xcd2768=!0x0;}else this['_footnotesDefinitions']=_0x1109b5[0x0];}if(_0x42a7b7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x32c6ba of this['_footnotes'])_0x40c29b['remove'](_0x32c6ba['reference']),_0xcd2768=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xcd2768;}['_handleFootnoteDefinitionsChanges'](_0x5a3739,_0x360b50){let _0x452707=!0x1;const _0x2b65c2=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x36a186,moved:_0x5777ea}=this['_footnoteDefsTracker']['getChanges'](_0x360b50);for(const _0x646437 of[..._0x5777ea,..._0x36a186]){const _0x4b7d96=_0x646437['getAttribute']('footnoteId'),_0x4ea124=this['getFootnote'](_0x4b7d96);_0x4ea124&&(_0x4ea124['definition']=_0x646437),_(_0x5a3739,_0x2b65c2,_0x646437)&&(_0x452707=!0x0);}return _0x452707;}['_handleFootnoteReferencesChanges'](_0x5066b9,_0x25707b){let _0x4fe643=!0x1;const {removed:_0x8f6e9d,inserted:_0x3c6ada,moved:_0x59162c}=this['_footnoteRefsTracker']['getChanges'](_0x25707b);for(const _0x41580d of _0x8f6e9d)this['_handleRemoveFootnoteReferenceById'](_0x5066b9,_0x41580d)&&(_0x4fe643=!0x0);for(const _0x4352be of _0x3c6ada)this['_handleInsertedFootnoteReference'](_0x5066b9,_0x4352be)&&(_0x4fe643=!0x0);for(const _0x345412 of _0x59162c)this['_handleMovedFootnoteReference'](_0x5066b9,_0x345412)&&(_0x4fe643=!0x0);return _0x4fe643;}['_handleFootnotesDefinitionsObjectSync'](_0x164496){if(!this['_footnotesDefinitions'])return!0x1;let _0x5b2d7d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x21c12b=[];for(const _0x1e7bd2 of this['_footnotesDefinitions']['getChildren']()){const _0x50740e=_0x1e7bd2['getAttribute']('footnoteId');this['getFootnote'](_0x50740e)||(_0x21c12b['unshift'](_0x1e7bd2),_0x5b2d7d=!0x0);}for(const _0x538b29 of _0x21c12b)_0x164496['remove'](_0x538b29);}const _0x41df0f=new Set(),_0x252efd=[];for(const _0x200aac of this['_footnotesDefinitions']['getChildren']()){const _0xe67469=_0x200aac['getAttribute']('footnoteId');_0x41df0f['has'](_0xe67469)?(_0x252efd['unshift'](_0x200aac),_0x5b2d7d=!0x0):_0x41df0f['add'](_0xe67469);}for(const _0x4da757 of _0x252efd)_0x164496['remove'](_0x4da757);return this['_footnotesDefinitions']['childCount']||(_0x164496['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5b2d7d=!0x0),_0x5b2d7d;}['_handleInsertedFootnoteReference'](_0x214d68,_0x58afd5){if(this['_footnotes']['find'](_0x268caf=>_0x268caf['reference']===_0x58afd5))return!0x1;let _0x5e6ee7=!0x1;const _0x4d9fe9=_0x58afd5['getAttribute']('footnoteId'),_0x520cd0=this['_footnotes']['findIndex'](_0x1a39cc=>_0x1a39cc['id']===_0x4d9fe9);-0x1!==_0x520cd0&&(_0x214d68['remove'](this['_footnotes'][_0x520cd0]['reference']),this['_footnotes']['splice'](_0x520cd0,0x1),_0x5e6ee7=!0x0);let _0x3bf0b3=this['_footnotesDefinitions']?function(_0x1cbad2,_0x25046d){for(const _0x6e1c2 of _0x1cbad2['getChildren']())if(_0x6e1c2['getAttribute']('footnoteId')===_0x25046d)return _0x6e1c2;return null;}(this['_footnotesDefinitions'],_0x4d9fe9):null;_0x3bf0b3||(_0x3bf0b3=_0x214d68['createElement']('footnoteDefinition',{'footnoteId':_0x4d9fe9}),this['_footnotesDefinitions']&&(_0x214d68['insert'](_0x3bf0b3,this['_footnotesDefinitions'],'end'),_0x5e6ee7=!0x0));const _0x4f164b={'id':_0x4d9fe9,'reference':_0x58afd5,'definition':_0x3bf0b3},_0xedea11=I(this['editor']['model'],this['_footnotes'],_0x58afd5);this['_footnotes']['splice'](_0xedea11,0x0,_0x4f164b);let _0x274281=_0xedea11;return-0x1!==_0x520cd0&&(_0x274281=Math['min'](_0xedea11,_0x520cd0)),this['_updateFootnotesCounters'](_0x214d68,_0x274281)&&(_0x5e6ee7=!0x0),_0x5e6ee7;}['_handleRemoveFootnoteReferenceById'](_0x2c4d49,_0x1c9ee4){const _0x281a99=this['_footnotes']['findIndex'](_0x2744d7=>_0x2744d7['id']===_0x1c9ee4);if(-0x1===_0x281a99)return!0x1;let _0x556462=!0x1;const _0x4ce5a1=this['_footnotes'][_0x281a99];return'$graveyard'!==_0x4ce5a1['definition']['root']['rootName']&&(_0x2c4d49['remove'](_0x4ce5a1['definition']),_0x556462=!0x0),this['_footnotes']['splice'](_0x281a99,0x1),this['_updateFootnotesCounters'](_0x2c4d49,_0x281a99)&&(_0x556462=!0x0),_0x556462;}['_handleMovedFootnoteReference'](_0x593c41,_0x1db67b){const _0x31b254=_0x1db67b['getAttribute']('footnoteId'),_0xffe4b9=this['_footnotes']['findIndex'](_0x50b5c2=>_0x50b5c2['id']===_0x31b254),_0x1017c2=this['_footnotes'][_0xffe4b9];let _0x5c6c41=!0x1;_0x1017c2['reference']=_0x1db67b,this['_footnotes']['splice'](_0xffe4b9,0x1);const _0x25b2f5=I(this['editor']['model'],this['_footnotes'],_0x1db67b);return this['_footnotes']['splice'](_0x25b2f5,0x0,_0x1017c2),this['_updateFootnotesCounters'](_0x593c41,Math['min'](_0xffe4b9,_0x25b2f5))&&(_0x5c6c41=!0x0),_0x5c6c41;}['_updateFootnoteRefCounter'](_0x3db630,_0x354e6e){if(!this['_footnotesDefinitions'])return!0x1;const _0x1c085d=this['_footnotes'][_0x354e6e];let _0xc5149c;return _0xc5149c=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1c085d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x354e6e+0x1}):String(_0x354e6e+0x1),_0x1c085d['reference']['getAttribute']('footnoteCounter')!=_0xc5149c&&(_0x3db630['setAttribute']('footnoteCounter',_0xc5149c,_0x1c085d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x6d36f1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x571781,_0x23d9d4){if(_0x571781['length']!==_0x23d9d4['length'])return!0x1;for(let _0xa20913=0x0;_0xa20913<_0x571781['length'];_0xa20913++)if(_0x571781[_0xa20913]!==_0x23d9d4[_0xa20913])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1886da=>_0x1886da['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x20f7c3=>_0x20f7c3['getAttribute']('footnoteId'))))return!0x1;let _0x4afc76=!0x1;for(let _0x29e90c=0x0;_0x29e90c<this['_footnotes']['length'];_0x29e90c++){const _0xacf9ae=this['_footnotes'][_0x29e90c],_0x3ec5e0=_0x6d36f1['createPositionBefore'](_0xacf9ae['definition']),_0x179448=_0x6d36f1['createPositionAt'](this['_footnotesDefinitions'],_0x29e90c);_0x3ec5e0['isEqual'](_0x179448)||(_0x6d36f1['move'](_0x6d36f1['createRangeOn'](_0xacf9ae['definition']),_0x179448),_0x4afc76=!0x0);}return _0x4afc76;}['_ensureFootnotesReferencesHaveProperOrder'](_0x39a2b1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x464a8b}=this['editor'];let _0x24beec=!0x1;for(let _0x41d3ab=0x0;_0x41d3ab<this['_footnotes']['length']-0x1;_0x41d3ab++){const _0x54ade2=this['_footnotes'][_0x41d3ab],_0xdd86a2=this['_footnotes'][_0x41d3ab+0x1],_0x2cdcca=_0x464a8b['createPositionBefore'](_0x54ade2['reference']),_0x4f43e7=_0x464a8b['createPositionBefore'](_0xdd86a2['reference']);'after'===_0x2cdcca['compareWith'](_0x4f43e7)&&(this['_handleMovedFootnoteReference'](_0x39a2b1,_0x54ade2['reference']),_0x41d3ab=-0x1,_0x24beec=!0x0);}return _0x24beec;}}function _(_0x592612,_0x2c5dc3,_0x1acb21){if(_0x1acb21['childCount'])return!0x1;const _0x10fcdb=_0x2c5dc3?'paragraph':'footnoteInlineContent';return _0x592612['insert'](_0x592612['createElement'](_0x10fcdb),_0x1acb21),!0x0;}function I(_0x119e33,_0x4b90fd,_0x13be05){if(0x0===_0x4b90fd['length'])return 0x0;const _0x1a082c=_0x119e33['createPositionBefore'](_0x13be05);for(let _0x38607d=0x0;_0x38607d<_0x4b90fd['length'];_0x38607d++){const _0x56e4d3=_0x4b90fd[_0x38607d],_0x4c76cd=_0x119e33['createPositionBefore'](_0x56e4d3['reference']);if('before'===_0x1a082c['compareWith'](_0x4c76cd))return _0x38607d;}const _0x13b3de=_0x13be05['root'];let _0x189abb=-0x1;for(let _0x4dd45e=_0x4b90fd['length']-0x1;_0x4dd45e>=0x0;_0x4dd45e--)if(_0x4b90fd[_0x4dd45e]['reference']['root']===_0x13b3de){_0x189abb=_0x4dd45e;break;}if(-0x1!==_0x189abb)return _0x189abb+0x1;const _0x23319c=_0x119e33['document']['getRootNames'](),_0x3d6f7d=_0x23319c['indexOf'](_0x13b3de['rootName']),_0x30523e=_0x23319c[_0x3d6f7d+0x1];if(_0x30523e){for(let _0x3f2d43=0x0;_0x3f2d43<_0x4b90fd['length'];_0x3f2d43++)if(_0x4b90fd[_0x3f2d43]['reference']['root']['rootName']===_0x30523e)return _0x3f2d43;}return _0x4b90fd['length'];}class h extends _0x351006{['refresh'](){const _0x38c387=this['editor']['model']['document']['selection'],_0x4b8557=this['_getPositionToInsertFootnote'](_0x38c387);this['isEnabled']=!!_0x4b8557;}['execute'](_0x3f6ac8){const {editor:_0x253f61}=this,{model:_0x56c9f8}=_0x253f61,{selection:_0x3ac66e}=_0x56c9f8['document'],_0x332a6a=this['_getPositionToInsertFootnote'](_0x3ac66e);if(!_0x332a6a)return;const _0x13e4e7=_0x253f61['plugins']['get']('FootnotesEditing'),_0x325793=_0x3f6ac8?.['footnoteId']??_0xe68562();!function(_0x5a0154){return'string'==typeof _0x5a0154&&_0x5a0154['length']>0x0&&!/\s/['test'](_0x5a0154)&&!/^\d/['test'](_0x5a0154);}(_0x325793)?_0x5aa102('insert-footnote-command-executed-with-invalid-id'):(_0x56c9f8['change'](_0x2c7b62=>{const _0x567f64=_0x2c7b62['createElement']('footnoteRef',{'footnoteId':_0x325793});_0x56c9f8['insertObject'](_0x567f64,_0x332a6a,null);}),_0x13e4e7['_moveSelectionToFootnoteDefinition'](_0x325793));}['_getPositionToInsertFootnote'](_0x568fea){const {model:_0x33183a}=this['editor'],{schema:_0x2ee7b3}=_0x33183a,_0x5b8908=_0x568fea['getFirstRange']();for(const _0x53fc73 of _0x5b8908['getItems']())if(_0x2ee7b3['isBlock'](_0x53fc73)||_0x2ee7b3['isObject'](_0x53fc73))return null;const _0x56c86c=_0x5b8908['end'];return _0x2ee7b3['checkChild'](_0x56c86c,'footnoteRef')?_0x56c86c:null;}}class r extends _0x19eda0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fd911}=this;_0x1fd911['config']['define']('footnotes.multiBlock',!0x0),_0x1fd911['commands']['add']('insertFootnote',new h(_0x1fd911)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x97e799){const _0x55e8ba=_0xdf3085([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x1a5a46=0x47a28506,_0x5ddad6=0x47a5fb86^_0x1a5a46,_0xab1153=window[_0xdf3085([0x44,0x61,0x74,0x65])][_0xdf3085([0x6e,0x6f,0x77])](),_0xdb8519=_0x97e799[_0xdf3085([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e04ba=new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e420=>{_0xdb8519[_0xdf3085([0x6f,0x6e,0x63,0x65])](_0xdf3085([0x72,0x65,0x61,0x64,0x79]),_0x34e420);}),_0x37c533={[_0xdf3085([0x6b,0x74,0x79])]:_0xdf3085([0x45,0x43]),[_0xdf3085([0x75,0x73,0x65])]:_0xdf3085([0x73,0x69,0x67]),[_0xdf3085([0x63,0x72,0x76])]:_0xdf3085([0x50,0x2d,0x32,0x35,0x36]),[_0xdf3085([0x78])]:_0xdf3085([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xdf3085([0x79])]:_0xdf3085([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xdf3085([0x61,0x6c,0x67])]:_0xdf3085([0x45,0x53,0x32,0x35,0x36])},_0x4d0960=_0xdb8519[_0xdf3085([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdf3085([0x67,0x65,0x74])](_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4275c0(){let _0x4579f7,_0x17c046=null,_0x5381fb=null;try{if(_0x4d0960==_0xdf3085([0x47,0x50,0x4c]))return _0xdf3085([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4579f7=_0x560b3f(),!_0x4579f7)return _0xdf3085([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4579f7[_0xdf3085([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5381fb=_0x5a577b(_0x4579f7[_0xdf3085([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4579f7[_0xdf3085([0x6a,0x74,0x69])])),await _0x58cd94()?_0xd737db()?_0x242cb5()?_0xdf3085([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e5477()?(_0x4579f7[_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdf3085([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17c046=_0x3bdcc7(_0xdf3085([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f7b4e()):_0xdf3085([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdf3085([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdf3085([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdf3085([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x242cb5(){const _0x54b4c2=[_0xdf3085([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdf3085([0x74,0x72,0x69,0x61,0x6c])][_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4579f7[_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xab1153/0x3e8:0xe10*_0x5ddad6;return _0x4579f7[_0xdf3085([0x65,0x78,0x70])]<_0x54b4c2;}function _0xd737db(){const _0x5ddb5b=_0x4579f7[_0xdf3085([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ddb5b&&(!!_0x5ddb5b[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf3085([0x2a]))||!!_0x5ddb5b[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf3085([0x46,0x4f,0x4f])));}function _0x2e5477(){const _0x37c73c=_0x4579f7[_0xdf3085([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37c73c||0x0==_0x37c73c[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5e25d1}=new URL(window[_0xdf3085([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37c73c[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e25d1))return!0x0;const _0x428882=_0x5e25d1[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e]));return _0x37c73c[_0xdf3085([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5087d4=>_0x5087d4[_0xdf3085([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdf3085([0x2a])))[_0xdf3085([0x6d,0x61,0x70])](_0x5e7a32=>_0x5e7a32[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e])))[_0xdf3085([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f0ad0=>_0x3f0ad0[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x428882[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf3085([0x6d,0x61,0x70])](_0x1a581f=>Array(_0x428882[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1a581f[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdf3085([0x66,0x69,0x6c,0x6c])](_0x1a581f[0x0]===_0xdf3085([0x2a])?_0xdf3085([0x2a]):'')[_0xdf3085([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1a581f))[_0xdf3085([0x73,0x6f,0x6d,0x65])](_0x43bf1b=>_0x428882[_0xdf3085([0x65,0x76,0x65,0x72,0x79])]((_0x557dfb,_0x2f9862)=>_0x43bf1b[_0x2f9862]===_0x557dfb||_0x43bf1b[_0x2f9862]===_0xdf3085([0x2a])));}function _0x3f7b4e(){return _0x17c046&&_0x5381fb?new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17e96a,_0x294b22)=>{_0x17c046[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x17e96a,_0x294b22),_0x5381fb[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x1960d0=>{_0x1960d0!=_0xdf3085([0x56,0x61,0x6c,0x69,0x64])&&_0x17e96a(_0x1960d0);},_0x294b22);}):_0x17c046||_0x5381fb||_0xdf3085([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a577b(_0xda64a2,_0x3c9840){return new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd73376=>{if(_0x25fb34())return _0xd73376(_0xdf3085([0x56,0x61,0x6c,0x69,0x64]));_0xd9dc1d(),_0xdb8519[_0xdf3085([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdf3085([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x367db1=!0x1;const _0x33afdf=_0xe68562();function _0x62c779(_0x6f40f3){return!!_0x6f40f3&&(typeof _0x6f40f3===_0xdf3085([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6f40f3===_0xdf3085([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6f40f3[_0xdf3085([0x74,0x68,0x65,0x6e])]===_0xdf3085([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6f40f3[_0xdf3085([0x63,0x61,0x74,0x63,0x68])]===_0xdf3085([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ac6ea(_0x51d0ed){_0x489598(_0x51d0ed)[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x408245=>{if(!_0x408245||_0x408245[_0xdf3085([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdf3085([0x6f,0x6b]))return _0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d2d44(_0x5544e3(_0x33afdf+_0x3c9840))!=_0x408245[_0xdf3085([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdf3085([0x56,0x61,0x6c,0x69,0x64]);})[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x245255=>(_0x50b53a(),_0x245255),()=>{const _0x1693ac=_0x289ed8();return null==_0x1693ac?(_0x50b53a(),_0xdf3085([0x56,0x61,0x6c,0x69,0x64])):_0xdf3085(_0xab1153-_0x1693ac>(0x63ae0106^_0x1a5a46)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdf3085([0x74,0x68,0x65,0x6e])](_0xd73376)[_0xdf3085([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd73376(_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfb9126=0x47946b86^_0x1a5a46;function _0x50b53a(){const _0x4b50fa=_0xdf3085([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d2d44(_0x5544e3(_0xda64a2)),_0x2952d5=_0x1ed57e(_0x1d2d44(window[_0xdf3085([0x4d,0x61,0x74,0x68])][_0xdf3085([0x63,0x65,0x69,0x6c])](_0xab1153/_0xfb9126)));window[_0xdf3085([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf3085([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b50fa,_0x2952d5);}function _0x289ed8(){const _0xd3cfd2=_0xdf3085([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d2d44(_0x5544e3(_0xda64a2)),_0x6b25d7=window[_0xdf3085([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdf3085([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd3cfd2);return _0x6b25d7?window[_0xdf3085([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ed57e(_0x6b25d7),0x10)*_0xfb9126:null;}function _0x489598(_0x229e11){return new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aadd0,_0x5402ff)=>{_0x229e11[_0xdf3085([0x74,0x68,0x65,0x6e])](_0x4aadd0,_0x5402ff),window[_0xdf3085([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5402ff,0x47a351c6^_0x1a5a46);});}}_0xdb8519[_0xdf3085([0x6f,0x6e])](_0xdf3085([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58cc70,_0x252bd1)=>{if(_0x252bd1[0x0]!=_0xda64a2)return _0xd73376(_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x252bd1[0x1]={..._0x252bd1[0x1],[_0xdf3085([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33afdf};},{[_0xdf3085([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf3085([0x68,0x69,0x67,0x68])}),_0xdb8519[_0xdf3085([0x6f,0x6e])](_0xdf3085([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56d7f4=>{_0x62c779(_0x56d7f4[_0xdf3085([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x367db1=!0x0,_0x4ac6ea(_0x56d7f4[_0xdf3085([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdf3085([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdf3085([0x6c,0x6f,0x77])}),_0x5e04ba[_0xdf3085([0x74,0x68,0x65,0x6e])](()=>{_0x367db1||_0xd73376(_0xdf3085([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x25fb34(){return _0xdb8519[_0xdf3085([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf3085([0x76,0x69,0x65,0x77])][_0xdf3085([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdf3085([0x61,0x75,0x74,0x6f]);}function _0xd9dc1d(){_0xdb8519[_0xdf3085([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdf3085([0x76,0x69,0x65,0x77])][_0xdf3085([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdf3085([0x61,0x75,0x74,0x6f]);}}function _0x3bdcc7(_0x2fa7f0){const _0x1ca4fb=[new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c7e70=>setTimeout(_0x2c7e70,0x47abbbca^_0x1a5a46)),_0x5e04ba[_0xdf3085([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42cd64=>{let _0x58491e=0x0;_0xdb8519[_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf3085([0x6f,0x6e])](_0xdf3085([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5ba61d,_0x3cb4f8)=>{_0x3cb4f8[0x0][_0xdf3085([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58491e++,_0x58491e==(0x47a280ee^_0x1a5a46)&&(_0x42cd64(),_0x5ba61d[_0xdf3085([0x6f,0x66,0x66])]());});}))];return window[_0xdf3085([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdf3085([0x72,0x61,0x63,0x65])](_0x1ca4fb)[_0xdf3085([0x74,0x68,0x65,0x6e])](()=>_0x2fa7f0);}async function _0x463950(){await _0x5e04ba,_0xdb8519[_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf3085([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x332251,_0xdb8519[_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c])][_0xdf3085([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x332251,_0xdb8519[_0xdf3085([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdf3085([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e88a2(_0x2b4f88){const _0x239105=_0x553e11();_0xdb8519[_0x239105]=_0xdf3085([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2b4f88,_0x2b4f88!=_0xdf3085([0x56,0x61,0x6c,0x69,0x64])&&_0x463950();}function _0x553e11(){const _0x559edd=window[_0xdf3085([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdf3085([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdf3085([0x6e,0x6f,0x77])]())[_0xdf3085([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdf3085([0x2e]),'');let _0x39f14a=_0xdf3085([0x75]);for(let _0x5ad9f2=0x0;_0x5ad9f2<_0x559edd[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ad9f2+=0x2){let _0xbb05d0=window[_0xdf3085([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x559edd[_0xdf3085([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ad9f2,_0x5ad9f2+0x2));_0xbb05d0>=_0x55e8ba[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbb05d0-=_0x55e8ba[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39f14a+=_0x55e8ba[_0xbb05d0];}return _0x39f14a;}function _0x560b3f(){const _0x323029=_0x4d0960[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e]));if(0x3!=_0x323029[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x485e50(_0x323029[0x1]);function _0x485e50(_0x127db8){const _0x19172b=_0x4e1ec6(_0x127db8);return _0x19172b&&_0x1a77ae()?_0x19172b:null;function _0x1a77ae(){const _0x34c81c=_0x19172b[_0xdf3085([0x6a,0x74,0x69])],_0x32fdf5=window[_0xdf3085([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34c81c[_0xdf3085([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34c81c[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x493106={..._0x19172b,[_0xdf3085([0x6a,0x74,0x69])]:_0x34c81c[_0xdf3085([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34c81c[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x493106[_0xdf3085([0x76,0x63])],_0x5544e3(_0x493106)==_0x32fdf5;}}}async function _0x58cd94(){let _0x4613d2=!0x0;try{const _0x2f3b95=_0x4d0960[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])](_0xdf3085([0x2e])),[_0x160760,_0x592e26,_0x41c320]=_0x2f3b95;return _0x2bcfcc(_0x160760),await _0x579591(_0x160760,_0x592e26,_0x41c320),_0x4613d2;}catch{return!0x1;}function _0x2bcfcc(_0x245da8){const _0x466863=_0x4e1ec6(_0x245da8);_0x466863&&_0x466863[_0xdf3085([0x61,0x6c,0x67])]==_0xdf3085([0x45,0x53,0x32,0x35,0x36])||(_0x4613d2=!0x1);}async function _0x579591(_0x2a3fb3,_0x2cbfe9,_0x4bead8){const _0x583b91=window[_0xdf3085([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdf3085([0x66,0x72,0x6f,0x6d])](_0x27e683(_0x4bead8),_0x2f8378=>_0x2f8378[_0xdf3085([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dc387=new window[(_0xdf3085([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdf3085([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a3fb3+_0xdf3085([0x2e])+_0x2cbfe9),_0x1a60b5=window[_0xdf3085([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdf3085([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a60b5)return;const _0x57af7e=await _0x1a60b5[_0xdf3085([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdf3085([0x6a,0x77,0x6b]),_0x37c533,{[_0xdf3085([0x6e,0x61,0x6d,0x65])]:_0xdf3085([0x45,0x43,0x44,0x53,0x41]),[_0xdf3085([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdf3085([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdf3085([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a60b5[_0xdf3085([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdf3085([0x6e,0x61,0x6d,0x65])]:_0xdf3085([0x45,0x43,0x44,0x53,0x41]),[_0xdf3085([0x68,0x61,0x73,0x68])]:{[_0xdf3085([0x6e,0x61,0x6d,0x65])]:_0xdf3085([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57af7e,_0x583b91,_0x4dc387)||(_0x4613d2=!0x1);}}function _0x4e1ec6(_0x269e87){return _0x269e87[_0xdf3085([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdf3085([0x65,0x79]))?JSON[_0xdf3085([0x70,0x61,0x72,0x73,0x65])](_0x27e683(_0x269e87)):null;}function _0x27e683(_0x942cb){return window[_0xdf3085([0x61,0x74,0x6f,0x62])](_0x942cb[_0xdf3085([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdf3085([0x2b]))[_0xdf3085([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdf3085([0x2f])));}function _0x5544e3(_0x2e96fb){let _0x5f05c8=0x1505;function _0x1a56fa(_0x79a812){for(let _0x1cfcbe=0x0;_0x1cfcbe<_0x79a812[_0xdf3085([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cfcbe++){const _0x32eee9=_0x79a812[_0xdf3085([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cfcbe);_0x5f05c8=(_0x5f05c8<<0x5)+_0x5f05c8+_0x32eee9,_0x5f05c8&=_0x5f05c8;}}function _0x1a72c6(_0x7efaf9){Array[_0xdf3085([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7efaf9)?_0x7efaf9[_0xdf3085([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a72c6):_0x7efaf9&&typeof _0x7efaf9==_0xdf3085([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdf3085([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7efaf9)[_0xdf3085([0x73,0x6f,0x72,0x74])]()[_0xdf3085([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c9411,_0x487e83])=>{_0x1a56fa(_0x3c9411),_0x1a72c6(_0x487e83);}):_0x1a56fa(window[_0xdf3085([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7efaf9));}return _0x1a72c6(_0x2e96fb),_0x5f05c8>>>0x0;}function _0x1d2d44(_0x561b4c){return _0x561b4c[_0xdf3085([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdf3085([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdf3085([0x30]));}function _0x1ed57e(_0xff70f){return _0xff70f[_0xdf3085([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdf3085([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdf3085([0x6a,0x6f,0x69,0x6e])]('');}function _0x332251(){}function _0xdf3085(_0x3c6e69){return _0x3c6e69['map'](_0x468776=>String['fromCharCode'](_0x468776))['join']('');}_0x5e88a2(await _0x4275c0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x18f139){const {plugins:_0x51bf06,editing:_0x259cc1,model:_0x391d0e}=this['editor'],_0x97a63a=_0x51bf06['get'](f)['getFootnote'](_0x18f139);return!!_0x97a63a&&(_0x391d0e['change'](_0x301ecc=>{_0x301ecc['setSelection'](_0x301ecc['createPositionAt'](_0x97a63a['definition'],'end'));}),_0x259cc1['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x190455){const {plugins:_0x172909,editing:_0x4b6c43,model:_0x12562c}=this['editor'],_0x502a88=_0x172909['get'](f)['getFootnote'](_0x190455);return!!_0x502a88&&(_0x12562c['change'](_0x280035=>{_0x280035['setSelection'](_0x502a88['reference'],'on');}),_0x4b6c43['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xaa6b86}=this['editor']['model'],_0x390a82=this['editor']['config']['get']('footnotes.multiBlock');_0xaa6b86['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xaa6b86['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xaa6b86['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x390a82?_0xaa6b86['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xaa6b86['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xaa6b86['addChildCheck'](_0x5906f4=>{for(const _0x2712d2 of _0x5906f4)if('footnoteDefinition'===_0x2712d2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x500f20}=this,{conversion:_0x4b2c9f,editing:_0x58b464}=_0x500f20,{t:t}=_0x500f20['locale'];_0x4b2c9f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x38837e,{writer:_0x5d575f,consumable:_0x1008ba})=>{const _0x3473ec=_0x38837e['getChild'](0x0);if(!_0x3473ec||!_0x3473ec['is']('element','a'))return null;const _0x2f696b=_0x3473ec['getAttribute']('href')||'';if(!_0x2f696b['startsWith']('#'))return null;const _0x3ba948=_0x2f696b['replace'](/^#/,'');if(!_0x3ba948)return null;_0x1008ba['consume'](_0x3473ec,{'name':!0x0,'attributes':['href']});for(const {item:_0x26413c}of _0x58b464['view']['createRangeIn'](_0x3473ec))_0x26413c['is']('$textProxy')?_0x1008ba['consume'](_0x26413c['textNode'],{'name':!0x0}):_0x26413c['is']('element')&&_0x1008ba['consume'](_0x26413c,{'name':!0x0});return _0x5d575f['createElement']('footnoteRef',{'footnoteId':_0x3ba948});}}),_0x4b2c9f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x40afba,{writer:_0x4ba1a3})=>b(_0x40afba,_0x4ba1a3)}),_0x4b2c9f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xb5ca3d,{writer:_0x4281f8})=>{const _0x248371=_0xb5ca3d['getAttribute']('footnoteCounter');return _0x46d9c5(b(_0xb5ca3d,_0x4281f8),_0x4281f8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x248371)});}});}['_defineDefinitionsConverters'](){const {editor:_0x13ee6b}=this,{t:t}=_0x13ee6b['locale'],{conversion:_0x3b1a48}=_0x13ee6b;_0x3b1a48['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3b1a48['for']('upcast')['add'](_0x1e2680=>{_0x1e2680['on']('element:ol',(_0x20f405,_0x4b3d05,_0x3820cf)=>{const _0x475213=_0x4b3d05['viewItem'];if(!_0x475213['hasClass']('footnotes-list')||!_0x4b3d05['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3820cf['consumable']['consume'](_0x475213,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2c154c,modelCursor:_0x5c543a}=_0x3820cf['convertChildren'](_0x4b3d05['viewItem'],_0x4b3d05['modelCursor']);_0x4b3d05['modelRange']=_0x2c154c,_0x4b3d05['modelCursor']=_0x5c543a;}),_0x1e2680['on']('element:hr',(_0x4c646e,_0x248d23,_0x4a4c17)=>{const _0x5c7c54=_0x248d23['viewItem'];_0x5c7c54['hasClass']('footnotes-divider')&&_0x248d23['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4a4c17['consumable']['consume'](_0x5c7c54,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3b1a48['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2ac95d,{writer:_0x2cfde7})=>D(_0x2cfde7)}),_0x3b1a48['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3ed7a6,{writer:_0x2708d0})=>{const _0x15c322=D(_0x2708d0,{'data-footnotes-list-label':t('Footnotes')}),_0x339db1=_0x46d9c5(_0x15c322,_0x2708d0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2708d0['setCustomProperty']('footnotesDefinitions',!0x0,_0x339db1),_0x339db1;}});}['_defineDefinitionConverters'](){const {editor:_0x47a994}=this,{conversion:_0x4b3375,locale:_0x28a4ca}=_0x47a994,_0x495c19=_0x47a994['config']['get']('footnotes.multiBlock');_0x4b3375['for']('upcast')['add'](_0x3edbf4=>{_0x3edbf4['on']('element:li',(_0x216e8d,_0x2625d9,_0x1fa155)=>{const _0x152055=_0x2625d9['viewItem'];if(!_0x152055['hasClass']('footnote-definition')||!_0x152055['getAttribute']('id'))return;const _0x17fecf=_0x152055['parent'];if(!_0x17fecf['is']('element','ol')||!_0x17fecf['hasClass']('footnotes-list'))return;if(!_0x1fa155['consumable']['test'](_0x152055,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3e72ca=_0x1fa155['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x152055['getAttribute']('id')});if(!_0x1fa155['safeInsert'](_0x3e72ca,_0x2625d9['modelCursor']))return;_0x1fa155['consumable']['consume'](_0x152055,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x475bc1=Array['from'](_0x152055['getChildren']())['find'](_0x35230e=>_0x35230e['is']('element')&&_0x35230e['hasClass']('footnote-content'));for(const _0x41c6c9 of _0x152055['getChildren']())_0x41c6c9['is']('element')&&(_0x1fa155['consumable']['consume'](_0x41c6c9,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1fa155['consumable']['consume'](_0x41c6c9,{'name':!0x0,'classes':'footnote-content'}));if(_0x475bc1){if(_0x495c19)_0x1fa155['convertChildren'](_0x475bc1,_0x3e72ca);else{const _0x2bba68=_0x1fa155['writer']['createElement']('footnoteInlineContent');_0x1fa155['writer']['insert'](_0x2bba68,_0x3e72ca),_0x1fa155['convertChildren'](_0x475bc1,_0x2bba68);}}_0x1fa155['updateConversionResult'](_0x3e72ca,_0x2625d9);});}),_0x4b3375['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4c47f6,{writer:_0x48abb0})=>y(_0x4c47f6,_0x48abb0,_0x28a4ca,{'dataPipeline':!0x0})}),_0x4b3375['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1d2c5a,{writer:_0x59d8aa})=>y(_0x1d2c5a,_0x59d8aa,_0x28a4ca)});}['_defineBogusParagraphConverters'](){const {editor:_0x822fea}=this,{conversion:_0x492fe7}=_0x822fea;_0x822fea['config']['get']('footnotes.multiBlock')?(_0x492fe7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x492fe7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x822fea['model']['document'],'change:data',()=>{!function(_0x4b7ddd,_0x5f5d1d){const _0x162a88=_0x4b7ddd['document']['differ'],_0x492b55=new Set();for(const _0x46101f of _0x162a88['getChanges']()){const _0x1a21b6='attribute'==_0x46101f['type']?_0x46101f['range']['start']['parent']:_0x46101f['position']['parent'];_0x1a21b6['is']('element','footnoteDefinition')&&_0x492b55['add'](_0x1a21b6);}for(const _0x38044b of _0x492b55['values']()){const _0x36a522=Array['from'](_0x38044b['getChildren']())['filter'](_0x24a86f=>v(_0x24a86f,_0x5f5d1d['mapper']));for(const _0x560045 of _0x36a522)_0x5f5d1d['reconvertItem'](_0x560045);}}(_0x822fea['model'],_0x822fea['editing']);})):(_0x492fe7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x492fe7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x36212a,{writer:_0x50d137})=>{const _0x53855f=_0x50d137['createContainerElement']('span');return _0x50d137['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x53855f),_0x53855f;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1c03ca}=this,{editing:_0x1f4ba3,t:t}=_0x1c03ca,_0x294f56=_0x1c03ca['model']['document']['selection'];_0x1c03ca['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1c03ca['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1f4ba3['view']['document'],'enter',(_0x57e11f,_0x5987d4)=>{const _0x1b03e3=function(_0x3fa73a){const _0x2a60ac=_0x3fa73a['getSelectedElement']();if(_0x2a60ac?.['is']('element','footnoteRef'))return _0x2a60ac;return null;}(_0x294f56);if(_0x1b03e3){const _0x1e9be0=_0x1b03e3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1e9be0),_0x5987d4['preventDefault'](),_0x57e11f['stop']();}},{'context':_0x3b059c});}['_defineClickHandlers'](){const {editor:_0x4231ce}=this,{editing:_0x49232e}=_0x4231ce;_0x4231ce['editing']['view']['addObserver'](_0x33c070),_0x4231ce['editing']['view']['addObserver'](_0x37eab0);let _0x3fcff5=!0x1;this['listenTo'](_0x49232e['view']['document'],'pointerdown',(_0x174ce7,_0x125fdc)=>{const {target:_0x476a92}=_0x125fdc,_0x4e074b=_0x49232e['view']['document']['selection'];_0x3fcff5=!!(_0x476a92?.['is']('element','a')&&_0x476a92['parent']?.['is']('element','sup')&&_0x476a92['parent']['hasClass']('footnote'))&&_0x4e074b['getSelectedElement']()===_0x476a92['parent'];},{'priority':'high'}),this['listenTo'](_0x49232e['view']['document'],'click',(_0x283188,_0x388ca0)=>{const {target:_0x342df5}=_0x388ca0;if(!_0x342df5?.['is']('element','a'))return;if(_0x342df5['parent']?.['is']('element','sup')&&_0x342df5['parent']['hasClass']('footnote')&&!_0x3fcff5)return void _0x388ca0['preventDefault']();let _0x4fdab1=_0x342df5['getAttribute']('href');if(!_0x4fdab1?.['startsWith']('#'))return;_0x4fdab1=_0x4fdab1['slice'](0x1);let _0x4ad8f2=!0x1;(_0x4fdab1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4fdab1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4fdab1))&&(_0x4ad8f2=!0x0),_0x4ad8f2&&(_0x388ca0['preventDefault'](),_0x283188['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x163ced}={}){return(_0x8cdac,{writer:_0x23ae3d})=>{if(!g(_0x8cdac))return null;if(!_0x163ced)return _0x23ae3d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4cd075=_0x23ae3d['createContainerElement']('p');return _0x23ae3d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4cd075),_0x4cd075;};}function g(_0x5ae1e9){const {parent:_0x16dde0}=_0x5ae1e9;if(!_0x16dde0?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x16dde0['childCount'])return!0x1;for(const _0x3aa6 of _0x5ae1e9['getAttributeKeys']())if(!_0x3aa6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3aa6)return!0x1;return!0x0;}function v(_0xb8a2d9,_0x183a8a){if(!_0xb8a2d9['is']('element','paragraph'))return!0x1;const _0x533f3e=_0x183a8a['toViewElement'](_0xb8a2d9);return!!_0x533f3e&&g(_0xb8a2d9)!==_0x533f3e['is']('element','span');}function Q(_0x33de29){return _0x3b059c(_0x33de29)&&_0x33de29['is']('containerElement')&&!!_0x33de29['getCustomProperty']('footnotesDefinitions');}function D(_0x53be40,_0x4dfe88={}){const _0x1ff9b5=_0x53be40['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x48f71c=_0x53be40['createContainerElement']('ol',{'class':'footnotes-list'},_0x53be40['createSlot']());return _0x53be40['createContainerElement']('div',{'class':'footnotes',..._0x4dfe88},[_0x1ff9b5,_0x48f71c]);}function b(_0x5dcd9c,_0x23d8f5){const _0x36ce0f=_0x5dcd9c['getAttribute']('footnoteId'),_0x4e180c=_0x5dcd9c['getAttribute']('footnoteCounter'),_0x455861=_0x23d8f5['createUIElement']('a',{'href':'#'+_0x36ce0f},function(_0x1df7cd){const _0x43fc46=this['toDomElement'](_0x1df7cd);return _0x43fc46['textContent']=_0x4e180c,_0x43fc46;}),_0x5c4517=_0x23d8f5['createContainerElement']('sup',{'id':'ref-'+_0x36ce0f,'class':'footnote'},[_0x455861]);return _0x5c4517['getFillerOffset']=()=>null,_0x5c4517;}function y(_0x2465c5,_0x32502d,_0x9ffc79,{dataPipeline:_0x556db4}={}){const {t:t}=_0x9ffc79,_0x5dc00c=_0x2465c5['getAttribute']('footnoteId'),_0x3f66f1=_0x32502d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5dc00c},function(_0x547088){const _0x22cfc0=this['toDomElement'](_0x547088);return _0x22cfc0['innerText']='^',_0x22cfc0;}),_0x54f031=_0x556db4?_0x32502d['createContainerElement']('div',{'class':'footnote-content'}):_0x180e5a(_0x32502d['createEditableElement']('div',{'class':'footnote-content'}),_0x32502d,{'label':t('Footnote\x20content.')});return _0x32502d['insert'](_0x32502d['createPositionAt'](_0x54f031,0x0),_0x32502d['createSlot']()),_0x32502d['createContainerElement']('li',{'class':'footnote-definition','id':_0x5dc00c},[_0x3f66f1,_0x54f031]);}class e extends _0x19eda0{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3fef1b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5c0aa2}=this,{plugins:_0x55e309,model:_0x2dcf7b}=_0x5c0aa2,_0x667eab=_0x55e309['get'](_0x3fef1b),_0x6aaff9=_0x55e309['get'](f);this['listenTo'](_0x667eab,'outputTransformation',(_0x4e7251,_0x2d4528)=>{const _0x4ec1de=l(_0x2dcf7b['createRangeIn'](_0x2d4528['content']));if(!_0x4ec1de['length'])return;const _0x346aae=_0x6aaff9['getFootnotes'](),_0x3d66d7=_0x4ec1de['reduce']((_0x4d5b43,_0x2628b9)=>{const _0x31d473=_0x346aae['find'](_0xcc3719=>_0xcc3719['id']===_0x2628b9);if(_0x31d473){const _0x5b10fc=_0x5c0aa2['data']['toView'](_0x31d473['definition'],{'isClipboardPipeline':!0x0}),_0x4f951c=_0x5c0aa2['data']['htmlProcessor']['toData'](_0x5b10fc);_0x4d5b43[_0x31d473['id']]=_0x4f951c;}return _0x4d5b43;},Object['create'](null));_0x2d4528['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3d66d7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5a39ec}=this,{model:_0x4a15de,plugins:_0x4a865a}=_0x5a39ec,{view:_0x3db6ae}=_0x5a39ec['editing'],_0x485978=_0x4a865a['get'](_0x3fef1b),_0x242972=_0x4a865a['get'](f),_0x44e0ee=_0x5a39ec['config']['get']('footnotes.multiBlock');let _0x2205b4=null;this['listenTo'](_0x3db6ae['document'],'clipboardInput',(_0x4773d0,_0x41d969)=>{const _0x21e5c9=_0x41d969['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2205b4=_0x21e5c9?JSON['parse'](_0x21e5c9):null;}),this['listenTo'](_0x485978,'contentInsertion',(_0x3b9dbb,_0x13b622)=>{const _0x4d4233=_0x13b622['sourceEditorId']===this['editor']['id'];_0x4d4233&&'drop'===_0x13b622['method']||_0x4a15de['change'](_0x392c45=>{let _0x3064f6=_0x242972['getFootnotesDefinitionsObjectElement']();const _0x102f8f=!!_0x3064f6&&Array['from'](_0x4a15de['document']['selection']['getSelectedBlocks']())['includes'](_0x3064f6);if(!_0x2205b4&&function(_0xd98060){for(const {item:_0x2a1405}of _0xd98060)if(_0x2a1405['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4a15de['createRangeIn'](_0x13b622['content']))&&(_0x2205b4=function(_0x393f3f,_0x35ea49){const _0x31833f=c(_0x393f3f,_0x35ea49);if(!_0x31833f)return null;const _0x46edd4=Object['create'](null);for(const _0x497d8b of _0x31833f['getChildren']())_0x497d8b['is']('element','footnoteDefinition')&&_0x497d8b['hasAttribute']('footnoteId')&&(_0x46edd4[_0x497d8b['getAttribute']('footnoteId')]=_0x393f3f['cloneElement'](_0x497d8b,!0x0));return Object['keys'](_0x46edd4)['length']?_0x46edd4:null;}(_0x392c45,_0x13b622['content'])),(_0x3064f6&&!_0x102f8f||!_0x3064f6&&!_0x2205b4)&&function(_0x2ae0fb,_0x5dd47e){const _0x255d3e=[];for(const {item:_0x22349c}of _0x2ae0fb['createRangeIn'](_0x5dd47e))_0x22349c['is']('element','footnotesDefinitions')&&_0x255d3e['push'](_0x22349c);for(const _0x510d4e of _0x255d3e)_0x2ae0fb['remove'](_0x510d4e);}(_0x392c45,_0x13b622['content']),!_0x2205b4)return;const {selection:_0x4b7466}=_0x4a15de['document'],_0x137454=_0x4b7466['getFirstRange']()['root'];_0x3064f6&&!_0x102f8f||(_0x3064f6=c(_0x392c45,_0x13b622['content']),_0x3064f6||=_0x242972['_insertEmptyFootnotesDefinitionsContainer'](_0x392c45,_0x137454));const _0x4e4740=Array['from'](_0x4b7466['getRanges']())['flatMap'](l),_0x17b74c=function(_0x30aaac,_0x44a83e,_0x4aa2f6){const _0x14f28d=Object['create'](null);for(const {item:_0xd7b9d1}of _0x30aaac['createRangeIn'](_0x44a83e))if(_0xd7b9d1['is']('element','footnoteRef')){const _0xd3acd6=_0xd7b9d1['getAttribute']('footnoteId');if(!_0x4aa2f6(_0xd3acd6))continue;_0x14f28d[_0xd3acd6]||(_0x14f28d[_0xd3acd6]=_0xe68562()),_0x30aaac['setAttribute']('footnoteId',_0x14f28d[_0xd3acd6],_0xd7b9d1);}return _0x14f28d;}(_0x392c45,_0x13b622['content'],_0x49318b=>{if(!_0x4d4233)return!0x0;return!!_0x242972['getFootnote'](_0x49318b)&&!_0x4e4740['includes'](_0x49318b);});for(const [_0x46791b,_0x41e564]of Object['entries'](_0x2205b4)){const _0xb882dd=_0x17b74c[_0x46791b]||_0x46791b;let _0x227bae;if('string'!=typeof _0x41e564)_0x227bae=_0x41e564,_0xb882dd!==_0x46791b&&_0x392c45['setAttribute']('footnoteId',_0xb882dd,_0x227bae);else{_0x227bae=_0x392c45['createElement']('footnoteDefinition',{'footnoteId':_0xb882dd});const _0x92ea8a=_0x5a39ec['data']['htmlProcessor']['toView'](_0x41e564);let _0x27ec88;if(_0x44e0ee)_0x27ec88=_0x5a39ec['data']['toModel'](_0x92ea8a,_0x227bae);else{_0x27ec88=_0x392c45['createElement']('footnoteInlineContent');const _0x3cbb62=_0x5a39ec['data']['toModel'](_0x92ea8a,_0x27ec88);_0x392c45['insert'](_0x3cbb62,_0x27ec88);}_0x392c45['append'](_0x27ec88,_0x227bae);}_0x392c45['insert'](_0x227bae,_0x3064f6,'end');}_0x2205b4=null;});});}}function c(_0x5a8a0b,_0x39dfbc){for(const {item:_0x20d144}of _0x5a8a0b['createRangeIn'](_0x39dfbc))if(_0x20d144['is']('element','footnotesDefinitions'))return _0x20d144;return null;}function l(_0x2ec7b2){const _0x538dcf=new Set();for(const {item:_0x4f09a0}of _0x2ec7b2)_0x4f09a0['is']('element','footnoteRef')&&_0x538dcf['add'](_0x4f09a0['getAttribute']('footnoteId'));return Array['from'](_0x538dcf);}class i extends _0x19eda0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c233d}=this,{componentFactory:_0x3eace9}=_0x5c233d['ui'];_0x3eace9['add']('insertFootnote',E(_0x5c233d,_0x1fc42c)),_0x3eace9['add']('menuBar:insertFootnote',E(_0x5c233d,_0x1b55b4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x40978a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d4c25;for(const _0xa6efb8 in _0x40978a){const _0x28845a=_0xa6efb8,_0x1da36c=_0x40978a[_0x28845a];if('footnotesLicenseKeyValid'==_0x1da36c||'footnotesLicenseKeyInvalid'==_0x1da36c||'footnotesLicenseKeyExpired'==_0x1da36c||'footnotesLicenseKeyDomainLimit'==_0x1da36c||'footnotesLicenseKeyNotAllowed'==_0x1da36c||'footnotesLicenseKeyEvaluationLimit'==_0x1da36c||'footnotesLicenseKeyUsageLimit'==_0x1da36c){delete _0x40978a[_0x28845a],_0x1d4c25=_0x1da36c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1d4c25&&_0x40978a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1d4c25&&_0x40978a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1d4c25&&_0x40978a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1d4c25&&_0x40978a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1d4c25&&_0x40978a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1d4c25&&_0x40978a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x36bbf6,_0x24fbd9){const _0x2b8cfe=_0x36bbf6['commands']['get']('insertFootnote');return _0x4e8f77=>{const {t:t}=_0x4e8f77,_0xaa0810=new _0x24fbd9(_0x4e8f77),_0x5b71a0=_0xaa0810 instanceof _0x1b55b4;return _0xaa0810['bind']('isEnabled')['to'](_0x2b8cfe,'isEnabled'),_0xaa0810['set']({'label':t(_0x5b71a0?'Footnote':'Insert\x20footnote'),'icon':_0x5a8fbf,'tooltip':!0x0}),_0xaa0810['on']('execute',()=>{_0x2b8cfe['execute'](),_0x36bbf6['editing']['view']['focus']();}),_0xaa0810;};}class lt extends _0x19eda0{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x351006{['refresh'](){const {editor:_0x4a1ab0}=this,_0x3bf4c6=_0x4a1ab0['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3bf4c6,this['value']=_0x3bf4c6?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1444bb}){const {editor:_0x27109e}=this,_0x16c956=_0x27109e['plugins']['get'](f),_0x13616a=_0x16c956['getFootnotesDefinitionsObjectElement']();_0x13616a&&W['includes'](_0x1444bb)&&_0x27109e['model']['change'](_0x184aad=>{_0x184aad['setAttribute']('footnotesListStyle',_0x1444bb,_0x13616a),_0x16c956['_updateFootnotesCounters'](_0x184aad);});}}class C extends _0x351006{['refresh'](){const {editor:_0x5d34d5}=this,_0x4b79cc=_0x5d34d5['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4b79cc,this['value']=_0x4b79cc?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3d8273}){const {editor:_0x4255cb}=this,_0x351695=_0x4255cb['plugins']['get'](f),_0x109b3e=_0x351695['getFootnotesDefinitionsObjectElement']();_0x109b3e&&Number['isInteger'](_0x3d8273)&&_0x4255cb['model']['change'](_0x4f7baf=>{_0x4f7baf['setAttribute']('footnotesListStart',_0x3d8273,_0x109b3e),_0x351695['_updateFootnotesCounters'](_0x4f7baf);});}}class P extends _0x19eda0{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe5c6e5}=this;_0xe5c6e5['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xe5c6e5['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xe5c6e5['commands']['add']('footnotesStyle',new S(_0xe5c6e5)),_0xe5c6e5['commands']['add']('footnotesStart',new C(_0xe5c6e5)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4a1454}=this,{schema:_0x586254}=_0x4a1454['model'];_0x586254['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4d1f54}=this,{conversion:_0x15151f,model:_0x3e5a20}=_0x4d1f54,{schema:_0x737c64}=_0x3e5a20;_0x15151f['for']('upcast')['add'](_0x876a58=>{_0x876a58['on']('element:ol',(_0x862359,_0x94337a,_0x313cc9)=>{const _0x37af4c=_0x94337a['viewItem'],_0x1f4574=_0x94337a['modelCursor']?.['parent'];_0x37af4c['hasClass']('footnotes-list')&&_0x1f4574?.['is']('element','footnotesDefinitions')&&(function(_0x361240,_0x4c3dfa,_0x452d39,_0x23253f){if(!_0x23253f['checkAttribute'](_0x4c3dfa,'footnotesListStart'))return;let _0x186225=0x1;const _0x13ffca=_0x452d39['consumable']['consume'](_0x361240,{'attributes':'start'});if(_0x13ffca){const _0x4c6b68=Number['parseInt'](_0x361240['getAttribute']('start'),0xa);Number['isNaN'](_0x4c6b68)||(_0x186225=_0x4c6b68);}!_0x13ffca&&_0x4c3dfa['hasAttribute']('footnotesListStart')||_0x452d39['writer']['setAttribute']('footnotesListStart',_0x186225,_0x4c3dfa);}(_0x37af4c,_0x1f4574,_0x313cc9,_0x737c64),function(_0x5afdcd,_0x154146,_0x5dfa9e,_0x3f727b){if(!_0x3f727b['checkAttribute'](_0x154146,'footnotesListStyle'))return;let _0x3d833b='decimal',_0x376571=!0x1;if(_0x5dfa9e['consumable']['consume'](_0x5afdcd,{'attributes':'type'})){const _0x5743ea={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5afdcd['getAttribute']('type')];_0x5743ea&&(_0x3d833b=_0x5743ea),_0x376571=!0x0;}_0x5dfa9e['consumable']['consume'](_0x5afdcd,{'styles':'list-style-type'})&&(_0x3d833b=function(_0x1c6c1a){switch(_0x1c6c1a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1c6c1a;}}(_0x5afdcd['getStyle']('list-style-type')),_0x376571=!0x0),!_0x376571&&_0x154146['hasAttribute']('footnotesListStyle')||_0x5dfa9e['writer']['setAttribute']('footnotesListStyle',_0x3d833b,_0x154146);}(_0x37af4c,_0x1f4574,_0x313cc9,_0x737c64));});}),_0x15151f['for']('downcast')['add'](_0x87cd33=>{_0x87cd33['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1b9bc4,_0xe9d9cc,_0x12d2fd)=>{if(!_0x12d2fd['consumable']['consume'](_0xe9d9cc['item'],_0x1b9bc4['name']))return;const _0xa5226c=M(_0xe9d9cc['item'],_0x12d2fd['mapper']),{attributeNewValue:_0x3675f5}=_0xe9d9cc;null==_0x3675f5||0x1===_0x3675f5?_0x12d2fd['writer']['removeAttribute']('start',_0xa5226c):_0x12d2fd['writer']['setAttribute']('start',String(_0x3675f5),_0xa5226c);}),_0x87cd33['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2253a8,_0x29cc42,_0x20df12)=>{if(!_0x20df12['consumable']['consume'](_0x29cc42['item'],_0x2253a8['name']))return;const _0x465b82=M(_0x29cc42['item'],_0x20df12['mapper']),{attributeNewValue:_0x456461}=_0x29cc42;_0x456461&&'decimal'!==_0x456461?_0x20df12['writer']['setStyle']('list-style-type',_0x456461,_0x465b82):_0x20df12['writer']['removeStyle']('list-style-type',_0x465b82);});});}['_definePostfixer'](){const {editor:_0x571497}=this,{model:_0x5cf4e8}=_0x571497,_0x3792e1=_0x571497['plugins']['get'](f),_0x2ca5f5=this['_getDefaultListStyle'](),_0x7258f1=this['_getDefaultStartIndex']();_0x5cf4e8['document']['registerPostFixer'](_0x1747cf=>{const _0x466dde=_0x5cf4e8['document']['differ']['getChanges']();let _0x23e343=!0x1;for(const _0x1d40de of _0x466dde){if('insert'!==_0x1d40de['type']||'$text'===_0x1d40de['name'])continue;const _0x1b6f96=_0x5cf4e8['createRangeOn'](_0x1d40de['position']['nodeAfter']);for(const _0x530afd of _0x1b6f96['getItems']())_0x530afd['is']('element','footnotesDefinitions')&&(!_0x530afd['hasAttribute']('footnotesListStart')&&_0x5cf4e8['schema']['checkAttribute'](_0x530afd,'footnotesListStart')&&(_0x1747cf['setAttribute']('footnotesListStart',_0x7258f1,_0x530afd),_0x23e343=!0x0),!_0x530afd['hasAttribute']('footnotesListStyle')&&_0x5cf4e8['schema']['checkAttribute'](_0x530afd,'footnotesListStyle')&&(_0x1747cf['setAttribute']('footnotesListStyle',_0x2ca5f5,_0x530afd),_0x23e343=!0x0));}return _0x23e343&&_0x3792e1['_updateFootnotesCounters'](_0x1747cf),_0x23e343;});}['_defineFormatter'](){const {editor:_0x381337}=this;_0x381337['plugins']['get'](f)['setFootnoteFormatter'](_0x5dfcff=>this['_formatFootnoteListValue'](_0x5dfcff));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x28018d,value:_0x198d17,digits:_0x4a054d}){const _0xa18f=_0x28018d['getAttribute']('footnotesListStyle'),_0x3b08fd=_0x28018d['getAttribute']('footnotesListStart'),_0x21dd42=Math['floor'](_0x198d17)+(_0x3b08fd??0x1)-0x1;switch(_0xa18f){case'decimal-leading-zero':return function(_0x3d88d8,_0x573d76){return String(_0x3d88d8)['padStart'](_0x573d76,'0');}(_0x21dd42,Math['max'](0x2,_0x4a054d));case'lower-alpha':case'lower-latin':return N(_0x21dd42,!0x1);case'upper-alpha':case'upper-latin':return N(_0x21dd42,!0x0);case'lower-roman':return X(_0x21dd42,!0x1);case'upper-roman':return X(_0x21dd42,!0x0);default:return String(_0x21dd42);}}}function M(_0x4009f2,_0x89c46f){const _0x1eac6c=_0x89c46f['toViewElement'](_0x4009f2);return Array['from'](_0x1eac6c['getChildren']())['find'](_0x188a55=>_0x188a55['is']('element','ol')&&_0x188a55['hasClass']('footnotes-list'));}function N(_0x55b47f,_0x284fda){let _0x8e16cb='',_0x3967af=_0x55b47f;for(;_0x3967af>0x0;){const _0x15981b=(_0x3967af-0x1)%0x1a;_0x8e16cb=String['fromCharCode'](0x61+_0x15981b)+_0x8e16cb,_0x3967af=Math['floor']((_0x3967af-0x1)/0x1a);}return _0x284fda?_0x8e16cb['toUpperCase']():_0x8e16cb;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x241738,_0x92f841){let _0x5501d7='',_0x2b8e23=_0x241738;for(const {value:_0x53aeee,numeral:_0x1d88ed}of V)for(;_0x2b8e23>=_0x53aeee;)_0x5501d7+=_0x1d88ed,_0x2b8e23-=_0x53aeee;return _0x92f841?_0x5501d7:_0x5501d7['toLowerCase']();}class J extends _0x350447{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1ec22f();['focusCycler'];constructor(_0x3177ce,{styleButtonViews:_0x4299d8,styleGridAriaLabel:_0x4a970f}){super(_0x3177ce),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4299d8,_0x4a970f),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x32941d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x32941d['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x166c18=_0x343715=>_0x343715['stopPropagation']();this['keystrokes']['set']('arrowright',_0x166c18),this['keystrokes']['set']('arrowleft',_0x166c18),this['keystrokes']['set']('arrowup',_0x166c18),this['keystrokes']['set']('arrowdown',_0x166c18);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5e7dd1,_0x3880f8){const _0x367d7c=new _0x350447(this['locale']);return _0x367d7c['children']=_0x367d7c['createCollection'](),_0x367d7c['children']['addMany'](_0x5e7dd1),_0x367d7c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3880f8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x367d7c['children']}),_0x367d7c['children']['delegate']('execute')['to'](this),_0x367d7c['focus']=function(){for(const _0x58144a of this['children'])if(_0x58144a instanceof _0x1fc42c&&_0x58144a['isOn'])return void _0x58144a['focus']();this['children']['first']['focus']();},_0x367d7c['focusTracker']=new rt(),_0x367d7c['keystrokes']=new nt(),_0x367d7c['render'](),_0x367d7c['keystrokes']['listenTo'](_0x367d7c['element']),this['children']['add'](_0x367d7c),_0x367d7c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x32b918=this['_createStartIndexPropertyView'](),_0x14d015=[_0x32b918],_0x242da0=new it(this['locale'],_0x14d015);return _0x242da0['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x242da0['buttonView']['bind']('isEnabled')['toMany'](_0x14d015,'isEnabled',(..._0x1ed019)=>_0x1ed019['some'](_0x58a55f=>_0x58a55f)),_0x242da0['buttonView']['on']('change:isEnabled',(_0x341e6d,_0x3bed0a,_0x534a50)=>{_0x534a50||(_0x242da0['isCollapsed']=!0x0);}),this['children']['add'](_0x242da0),[_0x32b918,_0x242da0];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2e87ed=new et(this['locale'],ot);return _0x2e87ed['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2e87ed['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2e87ed['fieldView']['on']('input',()=>{const _0x4d2273=_0x2e87ed['fieldView']['element'],_0xf7b6a9=_0x4d2273['valueAsNumber'];Number['isNaN'](_0xf7b6a9)?_0x2e87ed['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4d2273['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xf7b6a9}):_0x2e87ed['errorText']=t(_0xf7b6a9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2e87ed;}}class j extends _0x19eda0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xce7b1e,_0x4b86aa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa4c0d7}=this,{componentFactory:_0x129169}=_0xa4c0d7['ui'];_0xa4c0d7['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x129169['add']('footnotesStyle',function(_0x51aefd){return _0x51f68a=>{const {t:t}=_0x51f68a,_0x4324b2=_0x51aefd['commands']['get']('footnotesStyle'),_0x4ab1a9=_0x3b9fda(_0x51f68a),{buttonView:_0x3e8334}=_0x4ab1a9;return _0x4ab1a9['class']='ck-footnotes-styles-dropdown',_0x4ab1a9['bind']('isEnabled')['to'](_0x4324b2,'isEnabled'),_0x3e8334['set']({'label':t('Footnotes\x20style'),'icon':_0x5a8fbf,'tooltip':!0x0}),_0x4ab1a9['once']('change:isOpen',()=>{const _0x145910=function({editor:_0x4247a0,dropdownView:_0x11a8e3}){const {t:t}=_0x4247a0['locale'],_0x62841b=t('Footnotes\x20definitions\x20styles'),_0x5809f3=function(_0x4e867a){const t=_0x4e867a['locale']['t'],_0x47ffd4=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2cca65},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d1f84},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3b622a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x521d19},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4179bf},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x15bfb3}];return _0x47ffd4['map'](function(_0x495dfa){const _0x2cd051=_0x495dfa['locale'];return({label:_0x59d556,icon:_0x168429,tooltip:_0x4d9aec,style:_0x24e46b})=>{const _0xdde630=_0x495dfa['commands']['get']('footnotesStyle'),_0x23e16e=new _0x1fc42c(_0x2cd051);return _0x23e16e['set']({'label':_0x59d556,'icon':_0x168429,'tooltip':_0x4d9aec}),_0x23e16e['bind']('isOn')['to'](_0xdde630,'value',_0x503ba9=>_0x503ba9===_0x24e46b),_0x23e16e['bind']('isEnabled')['to'](_0xdde630,'isEnabled'),_0x23e16e['on']('execute',()=>{_0x495dfa['execute']('footnotesStyle',{'value':_0x24e46b}),_0x495dfa['editing']['view']['focus']();}),_0x23e16e;};}(_0x4e867a));}(_0x4247a0),_0x304b0e=new J(_0x4247a0['locale'],{'styleGridAriaLabel':_0x62841b,'styleButtonViews':_0x5809f3}),_0x488c18=_0x4247a0['commands']['get']('footnotesStart');return _0x304b0e['startIndexFieldView']['bind']('isEnabled')['to'](_0x488c18),_0x304b0e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x488c18),_0x304b0e['on']('footnotesListStart',(_0x38cc2b,_0x5b9f27)=>{_0x4247a0['execute']('footnotesStart',{'value':_0x5b9f27['startIndex']});}),_0x304b0e['delegate']('execute')['to'](_0x11a8e3),_0x304b0e;}({'editor':_0x51aefd,'dropdownView':_0x4ab1a9});_0x4ab1a9['panelView']['children']['add'](_0x145910);}),_0x4ab1a9;};}(_0xa4c0d7));}['afterInit'](){const {editor:_0x3e6170}=this,{t:t}=_0x3e6170['locale'],_0x451612=_0x3e6170['plugins']['get'](_0x4b86aa),{defaultPositions:_0x3beea3}=_0x410fb1;_0x451612['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3e6170['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3e9945=>{let _0x3d8a69=_0x3e9945['getFirstPosition']()?.['parent'];return _0x3d8a69?.['is']('$text')&&(_0x3d8a69=_0x3d8a69['parent']),_0x3d8a69?.['is']('element')?_0x3d8a69['findAncestor'](Q):null;},'positions':[_0x3beea3['southArrowNorth'],_0x3beea3['southArrowNorthMiddleWest'],_0x3beea3['southArrowNorthMiddleEast'],_0x3beea3['southArrowNorthWest'],_0x3beea3['southArrowNorthEast'],_0x3beea3['northArrowSouth'],_0x3beea3['northArrowSouthMiddleWest'],_0x3beea3['northArrowSouthMiddleEast'],_0x3beea3['northArrowSouthWest'],_0x3beea3['northArrowSouthEast'],_0x3beea3['viewportStickyNorth']]});}}class ft extends _0x19eda0{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -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':_0x3c8a02=>0x1!=_0x3c8a02}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x13a6c4=>0x1!=_0x13a6c4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33857a=>{const {af:{dictionary:_0x4e6451,getPluralForm:_0x39bcc1}}={'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':_0x41078b=>0x1!=_0x41078b}};_0x33857a['af']||={'dictionary':{},'getPluralForm':null},_0x33857a['af']['dictionary']=Object['assign'](_0x33857a['af']['dictionary'],_0x4e6451),_0x33857a['af']['getPluralForm']=_0x39bcc1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e2e64=>{const {af:{dictionary:_0x19cf82,getPluralForm:_0x433a3d}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4a826e=>0x1!=_0x4a826e}};_0x5e2e64['af']||={'dictionary':{},'getPluralForm':null},_0x5e2e64['af']['dictionary']=Object['assign'](_0x5e2e64['af']['dictionary'],_0x19cf82),_0x5e2e64['af']['getPluralForm']=_0x433a3d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x42363a=>0x0==_0x42363a?0x0:0x1==_0x42363a?0x1:0x2==_0x42363a?0x2:_0x42363a%0x64>=0x3&&_0x42363a%0x64<=0xa?0x3:_0x42363a%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':_0x2f5ed4=>0x0==_0x2f5ed4?0x0:0x1==_0x2f5ed4?0x1:0x2==_0x2f5ed4?0x2:_0x2f5ed4%0x64>=0x3&&_0x2f5ed4%0x64<=0xa?0x3:_0x2f5ed4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21a167=>{const {ar:{dictionary:_0xdd855c,getPluralForm:_0x3e6414}}={'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':_0x4aadc0=>0x0==_0x4aadc0?0x0:0x1==_0x4aadc0?0x1:0x2==_0x4aadc0?0x2:_0x4aadc0%0x64>=0x3&&_0x4aadc0%0x64<=0xa?0x3:_0x4aadc0%0x64>=0xb?0x4:0x5}};_0x21a167['ar']||={'dictionary':{},'getPluralForm':null},_0x21a167['ar']['dictionary']=Object['assign'](_0x21a167['ar']['dictionary'],_0xdd855c),_0x21a167['ar']['getPluralForm']=_0x3e6414;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6bdbd8=>{const {ar:{dictionary:_0x3939fc,getPluralForm:_0x14f48c}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x223ebd=>0x0==_0x223ebd?0x0:0x1==_0x223ebd?0x1:0x2==_0x223ebd?0x2:_0x223ebd%0x64>=0x3&&_0x223ebd%0x64<=0xa?0x3:_0x223ebd%0x64>=0xb?0x4:0x5}};_0x6bdbd8['ar']||={'dictionary':{},'getPluralForm':null},_0x6bdbd8['ar']['dictionary']=Object['assign'](_0x6bdbd8['ar']['dictionary'],_0x3939fc),_0x6bdbd8['ar']['getPluralForm']=_0x14f48c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0xcf1aec=>0x1!=_0xcf1aec}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xda58b1=>0x1!=_0xda58b1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x411073=>{const {ast:{dictionary:_0x13b441,getPluralForm:_0x28f910}}={'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':_0x8b1155=>0x1!=_0x8b1155}};_0x411073['ast']||={'dictionary':{},'getPluralForm':null},_0x411073['ast']['dictionary']=Object['assign'](_0x411073['ast']['dictionary'],_0x13b441),_0x411073['ast']['getPluralForm']=_0x28f910;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2974c5=>{const {ast:{dictionary:_0x39ee00,getPluralForm:_0x259895}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xf4d0fd=>0x1!=_0xf4d0fd}};_0x2974c5['ast']||={'dictionary':{},'getPluralForm':null},_0x2974c5['ast']['dictionary']=Object['assign'](_0x2974c5['ast']['dictionary'],_0x39ee00),_0x2974c5['ast']['getPluralForm']=_0x259895;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x3dc506=>0x1!=_0x3dc506}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x52ea29=>0x1!=_0x52ea29}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x58988a=>{const {az:{dictionary:_0x1db1d2,getPluralForm:_0x2622d9}}={'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':_0x95ef7f=>0x1!=_0x95ef7f}};_0x58988a['az']||={'dictionary':{},'getPluralForm':null},_0x58988a['az']['dictionary']=Object['assign'](_0x58988a['az']['dictionary'],_0x1db1d2),_0x58988a['az']['getPluralForm']=_0x2622d9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ee736=>{const {az:{dictionary:_0x1a6793,getPluralForm:_0x245dd9}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4da60f=>0x1!=_0x4da60f}};_0x2ee736['az']||={'dictionary':{},'getPluralForm':null},_0x2ee736['az']['dictionary']=Object['assign'](_0x2ee736['az']['dictionary'],_0x1a6793),_0x2ee736['az']['getPluralForm']=_0x245dd9;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x3a8487=>_0x3a8487%0xa==0x1&&_0x3a8487%0x64!=0xb?0x0:_0x3a8487%0xa>=0x2&&_0x3a8487%0xa<=0x4&&(_0x3a8487%0x64<0xa||_0x3a8487%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':_0x1c8247=>_0x1c8247%0xa==0x1&&_0x1c8247%0x64!=0xb?0x0:_0x1c8247%0xa>=0x2&&_0x1c8247%0xa<=0x4&&(_0x1c8247%0x64<0xa||_0x1c8247%0x64>=0x14)?0x1:0x2}};