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

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 _0x1a1224,Command as _0x5e4aee}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x11fe15,isWidget as _0x41e0e1,toWidgetEditable as _0x51046e,WidgetToolbarRepository as _0x1bdf8d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1e1024,logWarning as _0x1c18e2,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ca3e6,ClickObserver as _0x5441bf}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4d9667}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3f24a9,ButtonView as _0x275c2c,View as _0x464d81,ViewCollection as _0x5d8154,FocusCycler as _0x57b1ab,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1c3e38,BalloonPanelView as _0x31f217,createDropdown as _0x14eff1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xeb2824,IconListStyleDecimal as _0x2fd60d,IconListStyleDecimalLeadingZero as _0x5da6fc,IconListStyleLowerRoman as _0x551ecf,IconListStyleUpperRoman as _0x150262,IconListStyleLowerLatin as _0x4fd7b8,IconListStyleUpperLatin as _0x8fa10e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xaea491,_0x233fc0){this['_model']=_0xaea491,this['_elementName']=_0x233fc0['elementName'],this['_getElementKey']=_0x233fc0['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3a9962){const _0x51c377=new Set(),_0x9bdc6e=new Map();for(const _0x13eab3 of _0x3a9962){if('insert'===_0x13eab3['type']&&'$text'!==_0x13eab3['name']&&_0x13eab3['position']['nodeAfter']){const _0x5d523a=this['_model']['createRangeOn'](_0x13eab3['position']['nodeAfter']);for(const _0x564682 of _0x5d523a['getItems']()){if(!_0x564682['is']('element',this['_elementName']))continue;const _0x8b78b5=this['_getElementKey'](_0x564682);_0x9bdc6e['has'](_0x8b78b5)||_0x9bdc6e['set'](_0x8b78b5,[]),_0x9bdc6e['get'](_0x8b78b5)['push'](_0x564682);}}if('remove'===_0x13eab3['type']&&_0x13eab3['name']===this['_elementName']){const _0x4b7739=this['_getElementKey']({'getAttribute':_0x5ab968=>_0x13eab3['attributes']['get'](_0x5ab968)});_0x51c377['add'](_0x4b7739);}}for(const [_0x63b6ba,_0x2a63ed]of this['_trackedElements'])'$graveyard'===_0x2a63ed['root']['rootName']&&_0x51c377['add'](_0x63b6ba);for(const _0x19e13c of _0x51c377)this['_trackedElements']['delete'](_0x19e13c);for(const [_0x204435,_0x3bea1f]of _0x9bdc6e)this['_trackedElements']['set'](_0x204435,_0x3bea1f[_0x3bea1f['length']-0x1]);const _0x17dec5=new Set();for(const [_0x2ade10,_0x5e9d72]of _0x9bdc6e)_0x51c377['has'](_0x2ade10)&&(_0x17dec5['add'](_0x5e9d72[0x0]),_0x5e9d72['length']>0x1?_0x9bdc6e['set'](_0x2ade10,_0x5e9d72['slice'](0x1)):_0x9bdc6e['delete'](_0x2ade10),_0x51c377['delete'](_0x2ade10));return{'removed':Array['from'](_0x51c377),'inserted':Array['from'](_0x9bdc6e['values']())['flat'](),'moved':Array['from'](_0x17dec5)};}}class f extends _0x1a1224{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x548728){super(_0x548728),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x32ddf4=>_0x32ddf4['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x269014=>_0x269014['getAttribute']('footnoteId')});}['init'](){const {editor:_0x400b7d}=this,{model:_0x3552b6,data:_0xd5b52c}=_0x400b7d;_0x3552b6['document']['registerPostFixer'](_0x5e1446=>{const _0xe60a32=_0x3552b6['document']['differ']['getChanges']();let _0x54c853=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5e1446,_0xe60a32)&&(_0x54c853=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5e1446,_0xe60a32)&&(_0x54c853=!0x0),this['_handleFootnoteReferencesChanges'](_0x5e1446,_0xe60a32)&&(_0x54c853=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5e1446)&&(_0x54c853=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5e1446)&&(_0x54c853=!0x0),this['_sortFootnoteDefinitions'](_0x5e1446)&&(_0x54c853=!0x0),_0x54c853;}),this['listenTo'](_0x3552b6['document'],'change:data',()=>{_0x3552b6['enqueueChange']({'isUndoable':!0x1},_0x36d9f1=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x36d9f1);});},{'priority':'low'}),this['listenTo'](_0xd5b52c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x249204){return this['_footnotes']['find'](_0x1f581f=>_0x1f581f['id']===_0x249204)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x45e665){this['_footnoteFormatter']=_0x45e665;}['_updateFootnotesCounters'](_0x139aa6,_0x1943ae=0x0){let _0xd92a41=!0x1;for(let _0x79a1aa=_0x1943ae;_0x79a1aa<this['_footnotes']['length'];_0x79a1aa++)this['_updateFootnoteRefCounter'](_0x139aa6,_0x79a1aa)&&(_0xd92a41=!0x0);return _0xd92a41;}['_insertEmptyFootnotesDefinitionsContainer'](_0x9611e1,_0x26ca5d){const _0x380374=_0x9611e1['createElement']('footnotesDefinitions',{});return _0x9611e1['append'](_0x380374,_0x26ca5d),this['_footnotesDefinitions']=_0x380374,_0x380374;}['_ensureFootnotesDefinitionsContainerExists'](_0x428530){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5374df=this['_footnotes'][0x0]['reference']['root'],_0x22a483=this['_insertEmptyFootnotesDefinitionsContainer'](_0x428530,_0x5374df);for(const _0x1ce80b of this['_footnotes'])_0x1ce80b['definition']['parent']||_0x428530['insert'](_0x1ce80b['definition'],_0x22a483,'end');this['_updateFootnotesCounters'](_0x428530);}['_handleFootnotesDefinitionsObjectChanges'](_0x362f34,_0x43a08a){let _0x1ac6e7=!0x1;const {inserted:_0x43a998,removed:_0x3ce52b,moved:_0x320b3e}=this['_footnoteDefsContainerTracker']['getChanges'](_0x43a08a);if(_0x320b3e['length']&&(this['_footnotesDefinitions']=_0x320b3e[0x0]),_0x43a998['length']){if(_0x43a998['length']>0x1||this['_footnotesDefinitions']&&_0x43a998['some'](_0x254cbb=>_0x254cbb!==this['_footnotesDefinitions'])){const _0x4472ac=_0x362f34['createElement']('footnotesDefinitions',{}),_0x5c6578=[];this['_footnotesDefinitions']&&_0x5c6578['push'](this['_footnotesDefinitions']),_0x5c6578['push'](..._0x43a998),_0x362f34['insert'](_0x4472ac,_0x5c6578[0x0],'before');for(const _0x22230a of _0x5c6578)_0x362f34['move'](_0x362f34['createRangeIn'](_0x22230a),_0x362f34['createPositionAt'](_0x4472ac,'end')),_0x362f34['remove'](_0x22230a);this['_footnotesDefinitions']=_0x4472ac,this['_updateFootnotesCounters'](_0x362f34),_0x1ac6e7=!0x0;}else this['_footnotesDefinitions']=_0x43a998[0x0];}if(_0x3ce52b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4a73a7 of this['_footnotes'])_0x362f34['remove'](_0x4a73a7['reference']),_0x1ac6e7=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1ac6e7;}['_handleFootnoteDefinitionsChanges'](_0xfcf2be,_0x17ab97){let _0x328d46=!0x1;const _0x46af49=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x195a9b,moved:_0x1fc0e7}=this['_footnoteDefsTracker']['getChanges'](_0x17ab97);for(const _0x46702c of[..._0x1fc0e7,..._0x195a9b]){const _0xe02106=_0x46702c['getAttribute']('footnoteId'),_0x29d5c5=this['getFootnote'](_0xe02106);_0x29d5c5&&(_0x29d5c5['definition']=_0x46702c),_(_0xfcf2be,_0x46af49,_0x46702c)&&(_0x328d46=!0x0);}return _0x328d46;}['_handleFootnoteReferencesChanges'](_0x5704c7,_0x3df03a){let _0x4a1a76=!0x1;const {removed:_0x40c575,inserted:_0x258e20,moved:_0x384875}=this['_footnoteRefsTracker']['getChanges'](_0x3df03a);for(const _0x2d8431 of _0x40c575)this['_handleRemoveFootnoteReferenceById'](_0x5704c7,_0x2d8431)&&(_0x4a1a76=!0x0);for(const _0x3dfd8a of _0x258e20)this['_handleInsertedFootnoteReference'](_0x5704c7,_0x3dfd8a)&&(_0x4a1a76=!0x0);for(const _0x38ff13 of _0x384875)this['_handleMovedFootnoteReference'](_0x5704c7,_0x38ff13)&&(_0x4a1a76=!0x0);return _0x4a1a76;}['_handleFootnotesDefinitionsObjectSync'](_0x561ed1){if(!this['_footnotesDefinitions'])return!0x1;let _0x29a34a=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x547af7=[];for(const _0x16fd7f of this['_footnotesDefinitions']['getChildren']()){const _0x6ea812=_0x16fd7f['getAttribute']('footnoteId');this['getFootnote'](_0x6ea812)||(_0x547af7['unshift'](_0x16fd7f),_0x29a34a=!0x0);}for(const _0x1bf53b of _0x547af7)_0x561ed1['remove'](_0x1bf53b);}const _0x2c0578=new Set(),_0x2f6c7e=[];for(const _0x4ba3e6 of this['_footnotesDefinitions']['getChildren']()){const _0x2cfa4c=_0x4ba3e6['getAttribute']('footnoteId');_0x2c0578['has'](_0x2cfa4c)?(_0x2f6c7e['unshift'](_0x4ba3e6),_0x29a34a=!0x0):_0x2c0578['add'](_0x2cfa4c);}for(const _0xd6ebb9 of _0x2f6c7e)_0x561ed1['remove'](_0xd6ebb9);return this['_footnotesDefinitions']['childCount']||(_0x561ed1['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x29a34a=!0x0),_0x29a34a;}['_handleInsertedFootnoteReference'](_0x37060c,_0x502b6d){if(this['_footnotes']['find'](_0x2efa5a=>_0x2efa5a['reference']===_0x502b6d))return!0x1;let _0x29134f=!0x1;const _0x264d88=_0x502b6d['getAttribute']('footnoteId'),_0x43ad03=this['_footnotes']['findIndex'](_0x2d41b5=>_0x2d41b5['id']===_0x264d88);-0x1!==_0x43ad03&&(_0x37060c['remove'](this['_footnotes'][_0x43ad03]['reference']),this['_footnotes']['splice'](_0x43ad03,0x1),_0x29134f=!0x0);let _0x3e491c=this['_footnotesDefinitions']?function(_0xffeba1,_0x3104d3){for(const _0x5414e7 of _0xffeba1['getChildren']())if(_0x5414e7['getAttribute']('footnoteId')===_0x3104d3)return _0x5414e7;return null;}(this['_footnotesDefinitions'],_0x264d88):null;_0x3e491c||(_0x3e491c=_0x37060c['createElement']('footnoteDefinition',{'footnoteId':_0x264d88}),this['_footnotesDefinitions']&&(_0x37060c['insert'](_0x3e491c,this['_footnotesDefinitions'],'end'),_0x29134f=!0x0));const _0x6bbb62={'id':_0x264d88,'reference':_0x502b6d,'definition':_0x3e491c},_0x2167c0=I(this['editor']['model'],this['_footnotes'],_0x502b6d);this['_footnotes']['splice'](_0x2167c0,0x0,_0x6bbb62);let _0x97f073=_0x2167c0;return-0x1!==_0x43ad03&&(_0x97f073=Math['min'](_0x2167c0,_0x43ad03)),this['_updateFootnotesCounters'](_0x37060c,_0x97f073)&&(_0x29134f=!0x0),_0x29134f;}['_handleRemoveFootnoteReferenceById'](_0x57cceb,_0x165687){const _0x530b89=this['_footnotes']['findIndex'](_0x24c762=>_0x24c762['id']===_0x165687);if(-0x1===_0x530b89)return!0x1;let _0x564700=!0x1;const _0x14c530=this['_footnotes'][_0x530b89];return'$graveyard'!==_0x14c530['definition']['root']['rootName']&&(_0x57cceb['remove'](_0x14c530['definition']),_0x564700=!0x0),this['_footnotes']['splice'](_0x530b89,0x1),this['_updateFootnotesCounters'](_0x57cceb,_0x530b89)&&(_0x564700=!0x0),_0x564700;}['_handleMovedFootnoteReference'](_0x222e5f,_0x5e2057){const _0x3850d7=_0x5e2057['getAttribute']('footnoteId'),_0x20dc70=this['_footnotes']['findIndex'](_0x3d4ad7=>_0x3d4ad7['id']===_0x3850d7),_0x213af1=this['_footnotes'][_0x20dc70];let _0x32eaad=!0x1;_0x213af1['reference']=_0x5e2057,this['_footnotes']['splice'](_0x20dc70,0x1);const _0x302985=I(this['editor']['model'],this['_footnotes'],_0x5e2057);return this['_footnotes']['splice'](_0x302985,0x0,_0x213af1),this['_updateFootnotesCounters'](_0x222e5f,Math['min'](_0x20dc70,_0x302985))&&(_0x32eaad=!0x0),_0x32eaad;}['_updateFootnoteRefCounter'](_0x530475,_0x2b4742){if(!this['_footnotesDefinitions'])return!0x1;const _0x2baa8f=this['_footnotes'][_0x2b4742];let _0x1167a9;return _0x1167a9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2baa8f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2b4742+0x1}):String(_0x2b4742+0x1),_0x2baa8f['reference']['getAttribute']('footnoteCounter')!=_0x1167a9&&(_0x530475['setAttribute']('footnoteCounter',_0x1167a9,_0x2baa8f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x8dc7a5){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xb30b7c,_0x2157bb){if(_0xb30b7c['length']!==_0x2157bb['length'])return!0x1;for(let _0x50cd23=0x0;_0x50cd23<_0xb30b7c['length'];_0x50cd23++)if(_0xb30b7c[_0x50cd23]!==_0x2157bb[_0x50cd23])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x460010=>_0x460010['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x54ba55=>_0x54ba55['getAttribute']('footnoteId'))))return!0x1;let _0x3773f3=!0x1;for(let _0x27e0ab=0x0;_0x27e0ab<this['_footnotes']['length'];_0x27e0ab++){const _0x282f70=this['_footnotes'][_0x27e0ab],_0x534941=_0x8dc7a5['createPositionBefore'](_0x282f70['definition']),_0x27f0d8=_0x8dc7a5['createPositionAt'](this['_footnotesDefinitions'],_0x27e0ab);_0x534941['isEqual'](_0x27f0d8)||(_0x8dc7a5['move'](_0x8dc7a5['createRangeOn'](_0x282f70['definition']),_0x27f0d8),_0x3773f3=!0x0);}return _0x3773f3;}['_ensureFootnotesReferencesHaveProperOrder'](_0x48e262){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5b8e2d}=this['editor'];let _0x1a484d=!0x1;for(let _0x2cd559=0x0;_0x2cd559<this['_footnotes']['length']-0x1;_0x2cd559++){const _0x3d0a02=this['_footnotes'][_0x2cd559],_0x1cf3ee=this['_footnotes'][_0x2cd559+0x1],_0x3197f1=_0x5b8e2d['createPositionBefore'](_0x3d0a02['reference']),_0xeacb22=_0x5b8e2d['createPositionBefore'](_0x1cf3ee['reference']);'after'===_0x3197f1['compareWith'](_0xeacb22)&&(this['_handleMovedFootnoteReference'](_0x48e262,_0x3d0a02['reference']),_0x2cd559=-0x1,_0x1a484d=!0x0);}return _0x1a484d;}}function _(_0x408608,_0x38c338,_0x43fbb4){if(_0x43fbb4['childCount'])return!0x1;const _0x87f8eb=_0x38c338?'paragraph':'footnoteInlineContent';return _0x408608['insert'](_0x408608['createElement'](_0x87f8eb),_0x43fbb4),!0x0;}function I(_0x230e9a,_0x40d83e,_0x17d96a){if(0x0===_0x40d83e['length'])return 0x0;const _0x82b0e4=_0x230e9a['createPositionBefore'](_0x17d96a);for(let _0x5b0a04=0x0;_0x5b0a04<_0x40d83e['length'];_0x5b0a04++){const _0x2ed7f2=_0x40d83e[_0x5b0a04],_0x33e6a7=_0x230e9a['createPositionBefore'](_0x2ed7f2['reference']);if('before'===_0x82b0e4['compareWith'](_0x33e6a7))return _0x5b0a04;}const _0xbfa646=_0x17d96a['root'];let _0xc404c9=-0x1;for(let _0x5ce35d=_0x40d83e['length']-0x1;_0x5ce35d>=0x0;_0x5ce35d--)if(_0x40d83e[_0x5ce35d]['reference']['root']===_0xbfa646){_0xc404c9=_0x5ce35d;break;}if(-0x1!==_0xc404c9)return _0xc404c9+0x1;const _0x144118=_0x230e9a['document']['getRootNames'](),_0x3e9df8=_0x144118['indexOf'](_0xbfa646['rootName']),_0x2e6ede=_0x144118[_0x3e9df8+0x1];if(_0x2e6ede){for(let _0x4c28d6=0x0;_0x4c28d6<_0x40d83e['length'];_0x4c28d6++)if(_0x40d83e[_0x4c28d6]['reference']['root']['rootName']===_0x2e6ede)return _0x4c28d6;}return _0x40d83e['length'];}class h extends _0x5e4aee{['refresh'](){const _0x5c1c6b=this['editor']['model']['document']['selection'],_0x123387=this['_getPositionToInsertFootnote'](_0x5c1c6b);this['isEnabled']=!!_0x123387;}['execute'](_0x14e15e){const {editor:_0x361e12}=this,{model:_0x2e96e3}=_0x361e12,{selection:_0x2b0384}=_0x2e96e3['document'],_0x44ec4e=this['_getPositionToInsertFootnote'](_0x2b0384);if(!_0x44ec4e)return;const _0x2474dd=_0x361e12['plugins']['get']('FootnotesEditing'),_0x5727bf=_0x14e15e?.['footnoteId']??_0x1e1024();!function(_0x40a9f3){return'string'==typeof _0x40a9f3&&_0x40a9f3['length']>0x0&&!/\s/['test'](_0x40a9f3)&&!/^\d/['test'](_0x40a9f3);}(_0x5727bf)?_0x1c18e2('insert-footnote-command-executed-with-invalid-id'):(_0x2e96e3['change'](_0x693df=>{const _0x411946=_0x693df['createElement']('footnoteRef',{'footnoteId':_0x5727bf});_0x2e96e3['insertObject'](_0x411946,_0x44ec4e,null);}),_0x2474dd['_moveSelectionToFootnoteDefinition'](_0x5727bf));}['_getPositionToInsertFootnote'](_0x4ce2d4){const {model:_0x4f56d7}=this['editor'],{schema:_0x57de68}=_0x4f56d7,_0x7a9163=_0x4ce2d4['getFirstRange']();for(const _0x542f68 of _0x7a9163['getItems']())if(_0x57de68['isBlock'](_0x542f68)||_0x57de68['isObject'](_0x542f68))return null;const _0x879843=_0x7a9163['end'];return _0x57de68['checkChild'](_0x879843,'footnoteRef')?_0x879843:null;}}class r extends _0x1a1224{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ac333}=this;_0x4ac333['config']['define']('footnotes.multiBlock',!0x0),_0x4ac333['commands']['add']('insertFootnote',new h(_0x4ac333)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b3c2f){const _0x482294=_0x1b3fcc([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]),_0x43a8c4=0x47a28506,_0x369b25=0x47a5fb6e^_0x43a8c4,_0x2fd185=window[_0x1b3fcc([0x44,0x61,0x74,0x65])][_0x1b3fcc([0x6e,0x6f,0x77])](),_0x15cd2c=_0x2b3c2f[_0x1b3fcc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xce2a63=new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9cf409=>{_0x15cd2c[_0x1b3fcc([0x6f,0x6e,0x63,0x65])](_0x1b3fcc([0x72,0x65,0x61,0x64,0x79]),_0x9cf409);}),_0x3bb728={[_0x1b3fcc([0x6b,0x74,0x79])]:_0x1b3fcc([0x45,0x43]),[_0x1b3fcc([0x75,0x73,0x65])]:_0x1b3fcc([0x73,0x69,0x67]),[_0x1b3fcc([0x63,0x72,0x76])]:_0x1b3fcc([0x50,0x2d,0x32,0x35,0x36]),[_0x1b3fcc([0x78])]:_0x1b3fcc([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]),[_0x1b3fcc([0x79])]:_0x1b3fcc([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]),[_0x1b3fcc([0x61,0x6c,0x67])]:_0x1b3fcc([0x45,0x53,0x32,0x35,0x36])},_0x598d16=_0x15cd2c[_0x1b3fcc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b3fcc([0x67,0x65,0x74])](_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d90a3(){let _0x54e08e,_0x3b5dc5=null,_0x4446a5=null;try{if(_0x598d16==_0x1b3fcc([0x47,0x50,0x4c]))return _0x1b3fcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54e08e=_0x4c941c(),!_0x54e08e)return _0x1b3fcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54e08e[_0x1b3fcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4446a5=_0xdcc9dd(_0x54e08e[_0x1b3fcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54e08e[_0x1b3fcc([0x6a,0x74,0x69])])),await _0x2c0f12()?_0x23917a()?_0x98c87()?_0x1b3fcc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ee806()?(_0x54e08e[_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b3fcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b5dc5=_0x23b307(_0x1b3fcc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x476e70()):_0x1b3fcc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3fcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b3fcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b3fcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x98c87(){const _0x2dcc42=[_0x1b3fcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b3fcc([0x74,0x72,0x69,0x61,0x6c])][_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54e08e[_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fd185/0x3e8:0xe10*_0x369b25;return _0x54e08e[_0x1b3fcc([0x65,0x78,0x70])]<_0x2dcc42;}function _0x23917a(){const _0x294fb4=_0x54e08e[_0x1b3fcc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x294fb4&&(!!_0x294fb4[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3fcc([0x2a]))||!!_0x294fb4[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3fcc([0x46,0x4f,0x4f])));}function _0x5ee806(){const _0x2284d5=_0x54e08e[_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2284d5||0x0==_0x2284d5[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30bae2}=new URL(window[_0x1b3fcc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2284d5[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30bae2))return!0x0;const _0x45391b=_0x30bae2[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e]));return _0x2284d5[_0x1b3fcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2bf3=>_0x3f2bf3[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3fcc([0x2a])))[_0x1b3fcc([0x6d,0x61,0x70])](_0x5316cf=>_0x5316cf[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e])))[_0x1b3fcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b9772=>_0x5b9772[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45391b[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3fcc([0x6d,0x61,0x70])](_0x102423=>Array(_0x45391b[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x102423[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3fcc([0x66,0x69,0x6c,0x6c])](_0x102423[0x0]===_0x1b3fcc([0x2a])?_0x1b3fcc([0x2a]):'')[_0x1b3fcc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x102423))[_0x1b3fcc([0x73,0x6f,0x6d,0x65])](_0x234512=>_0x45391b[_0x1b3fcc([0x65,0x76,0x65,0x72,0x79])]((_0x438f7f,_0x22bff6)=>_0x234512[_0x22bff6]===_0x438f7f||_0x234512[_0x22bff6]===_0x1b3fcc([0x2a])));}function _0x476e70(){return _0x3b5dc5&&_0x4446a5?new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x82a79d,_0x1e4d0c)=>{_0x3b5dc5[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x82a79d,_0x1e4d0c),_0x4446a5[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x4615be=>{_0x4615be!=_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64])&&_0x82a79d(_0x4615be);},_0x1e4d0c);}):_0x3b5dc5||_0x4446a5||_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdcc9dd(_0x2b6da6,_0x205bae){return new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a0658=>{if(_0x3daca6())return _0x4a0658(_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64]));_0x410c5d(),_0x15cd2c[_0x1b3fcc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b3fcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x509a7d=!0x1;const _0xd5427e=_0x1e1024();function _0x4655f6(_0x16f23c){return!!_0x16f23c&&(typeof _0x16f23c===_0x1b3fcc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f23c===_0x1b3fcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f23c[_0x1b3fcc([0x74,0x68,0x65,0x6e])]===_0x1b3fcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f23c[_0x1b3fcc([0x63,0x61,0x74,0x63,0x68])]===_0x1b3fcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x196ead(_0x1fcff9){_0x46a3ef(_0x1fcff9)[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x2b4202=>{if(!_0x2b4202||_0x2b4202[_0x1b3fcc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b3fcc([0x6f,0x6b]))return _0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c755c(_0x5a8d1a(_0xd5427e+_0x205bae))!=_0x2b4202[_0x1b3fcc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x2431b8=>(_0x2b9f85(),_0x2431b8),()=>{const _0x35cd45=_0x502981();return null==_0x35cd45?(_0x2b9f85(),_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64])):_0x1b3fcc(_0x2fd185-_0x35cd45>(0x63ae0106^_0x43a8c4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x4a0658)[_0x1b3fcc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a0658(_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x503f30=0x47946b86^_0x43a8c4;function _0x2b9f85(){const _0x139d3a=_0x1b3fcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c755c(_0x5a8d1a(_0x2b6da6)),_0x48f17e=_0x5a7a02(_0x2c755c(window[_0x1b3fcc([0x4d,0x61,0x74,0x68])][_0x1b3fcc([0x63,0x65,0x69,0x6c])](_0x2fd185/_0x503f30)));window[_0x1b3fcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3fcc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x139d3a,_0x48f17e);}function _0x502981(){const _0x5688e9=_0x1b3fcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c755c(_0x5a8d1a(_0x2b6da6)),_0x2bd09c=window[_0x1b3fcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3fcc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5688e9);return _0x2bd09c?window[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a7a02(_0x2bd09c),0x10)*_0x503f30:null;}function _0x46a3ef(_0x2940b1){return new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cc0a2,_0x5df4da)=>{_0x2940b1[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x2cc0a2,_0x5df4da),window[_0x1b3fcc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5df4da,0x47a351c6^_0x43a8c4);});}}_0x15cd2c[_0x1b3fcc([0x6f,0x6e])](_0x1b3fcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a4763,_0x3990b9)=>{if(_0x3990b9[0x0]!=_0x2b6da6)return _0x4a0658(_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3990b9[0x1]={..._0x3990b9[0x1],[_0x1b3fcc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd5427e};},{[_0x1b3fcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3fcc([0x68,0x69,0x67,0x68])}),_0x15cd2c[_0x1b3fcc([0x6f,0x6e])](_0x1b3fcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x512d7f=>{_0x4655f6(_0x512d7f[_0x1b3fcc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x509a7d=!0x0,_0x196ead(_0x512d7f[_0x1b3fcc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b3fcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3fcc([0x6c,0x6f,0x77])}),_0xce2a63[_0x1b3fcc([0x74,0x68,0x65,0x6e])](()=>{_0x509a7d||_0x4a0658(_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3daca6(){return _0x15cd2c[_0x1b3fcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3fcc([0x76,0x69,0x65,0x77])][_0x1b3fcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b3fcc([0x61,0x75,0x74,0x6f]);}function _0x410c5d(){_0x15cd2c[_0x1b3fcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3fcc([0x76,0x69,0x65,0x77])][_0x1b3fcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b3fcc([0x61,0x75,0x74,0x6f]);}}function _0x23b307(_0x52ed91){const _0x51deee=[new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f495=>setTimeout(_0x41f495,0x47abbbca^_0x43a8c4)),_0xce2a63[_0x1b3fcc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97abbb=>{let _0x2de733=0x0;_0x15cd2c[_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3fcc([0x6f,0x6e])](_0x1b3fcc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd499e3,_0x394d68)=>{_0x394d68[0x0][_0x1b3fcc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2de733++,_0x2de733==(0x47a280ee^_0x43a8c4)&&(_0x97abbb(),_0xd499e3[_0x1b3fcc([0x6f,0x66,0x66])]());});}))];return window[_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b3fcc([0x72,0x61,0x63,0x65])](_0x51deee)[_0x1b3fcc([0x74,0x68,0x65,0x6e])](()=>_0x52ed91);}async function _0x162739(){await _0xce2a63,_0x15cd2c[_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3fcc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36cb60,_0x15cd2c[_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3fcc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36cb60,_0x15cd2c[_0x1b3fcc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14c801(_0x1631a6){const _0x226fe8=_0x28196e();_0x15cd2c[_0x226fe8]=_0x1b3fcc([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1631a6,_0x1631a6!=_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64])&&_0x162739();}function _0x28196e(){const _0x22eb98=window[_0x1b3fcc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b3fcc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b3fcc([0x6e,0x6f,0x77])]())[_0x1b3fcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b3fcc([0x2e]),'');let _0x58e37b=_0x1b3fcc([0x75]);for(let _0x1365c4=0x0;_0x1365c4<_0x22eb98[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1365c4+=0x2){let _0x2dc4c3=window[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22eb98[_0x1b3fcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1365c4,_0x1365c4+0x2));_0x2dc4c3>=_0x482294[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dc4c3-=_0x482294[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58e37b+=_0x482294[_0x2dc4c3];}return _0x58e37b;}function _0x4c941c(){const _0x145ef6=_0x598d16[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e]));if(0x3!=_0x145ef6[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49ac40(_0x145ef6[0x1]);function _0x49ac40(_0x4feb92){const _0x1f1e6d=_0x4a23ba(_0x4feb92);return _0x1f1e6d&&_0x4b1056()?_0x1f1e6d:null;function _0x4b1056(){const _0x536568=_0x1f1e6d[_0x1b3fcc([0x6a,0x74,0x69])],_0x340219=window[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x536568[_0x1b3fcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x536568[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e3c76={..._0x1f1e6d,[_0x1b3fcc([0x6a,0x74,0x69])]:_0x536568[_0x1b3fcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x536568[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e3c76[_0x1b3fcc([0x76,0x63])],_0x5a8d1a(_0x4e3c76)==_0x340219;}}}async function _0x2c0f12(){let _0xa8a60c=!0x0;try{const _0x2955cd=_0x598d16[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e])),[_0x4658f4,_0x2a0b8b,_0x32ded5]=_0x2955cd;return _0x360976(_0x4658f4),await _0x176e04(_0x4658f4,_0x2a0b8b,_0x32ded5),_0xa8a60c;}catch{return!0x1;}function _0x360976(_0x41864f){const _0x4f7538=_0x4a23ba(_0x41864f);_0x4f7538&&_0x4f7538[_0x1b3fcc([0x61,0x6c,0x67])]==_0x1b3fcc([0x45,0x53,0x32,0x35,0x36])||(_0xa8a60c=!0x1);}async function _0x176e04(_0x22ebca,_0x14bf65,_0x208937){const _0x46414f=window[_0x1b3fcc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b3fcc([0x66,0x72,0x6f,0x6d])](_0x2efe88(_0x208937),_0x168f61=>_0x168f61[_0x1b3fcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e113d=new window[(_0x1b3fcc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b3fcc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22ebca+_0x1b3fcc([0x2e])+_0x14bf65),_0x4d183c=window[_0x1b3fcc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b3fcc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d183c)return;const _0x478349=await _0x4d183c[_0x1b3fcc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b3fcc([0x6a,0x77,0x6b]),_0x3bb728,{[_0x1b3fcc([0x6e,0x61,0x6d,0x65])]:_0x1b3fcc([0x45,0x43,0x44,0x53,0x41]),[_0x1b3fcc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b3fcc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b3fcc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d183c[_0x1b3fcc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b3fcc([0x6e,0x61,0x6d,0x65])]:_0x1b3fcc([0x45,0x43,0x44,0x53,0x41]),[_0x1b3fcc([0x68,0x61,0x73,0x68])]:{[_0x1b3fcc([0x6e,0x61,0x6d,0x65])]:_0x1b3fcc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x478349,_0x46414f,_0x5e113d)||(_0xa8a60c=!0x1);}}function _0x4a23ba(_0x14c229){return _0x14c229[_0x1b3fcc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b3fcc([0x65,0x79]))?JSON[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65])](_0x2efe88(_0x14c229)):null;}function _0x2efe88(_0x2c70c7){return window[_0x1b3fcc([0x61,0x74,0x6f,0x62])](_0x2c70c7[_0x1b3fcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b3fcc([0x2b]))[_0x1b3fcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b3fcc([0x2f])));}function _0x5a8d1a(_0x3ccaa9){let _0x5e683d=0x1505;function _0x1b028f(_0x50392f){for(let _0x63a24f=0x0;_0x63a24f<_0x50392f[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x63a24f++){const _0x447d40=_0x50392f[_0x1b3fcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x63a24f);_0x5e683d=(_0x5e683d<<0x5)+_0x5e683d+_0x447d40,_0x5e683d&=_0x5e683d;}}function _0x34b469(_0x53eb09){Array[_0x1b3fcc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53eb09)?_0x53eb09[_0x1b3fcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34b469):_0x53eb09&&typeof _0x53eb09==_0x1b3fcc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b3fcc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53eb09)[_0x1b3fcc([0x73,0x6f,0x72,0x74])]()[_0x1b3fcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ae170,_0x22920a])=>{_0x1b028f(_0x5ae170),_0x34b469(_0x22920a);}):_0x1b028f(window[_0x1b3fcc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53eb09));}return _0x34b469(_0x3ccaa9),_0x5e683d>>>0x0;}function _0x2c755c(_0x2a9cba){return _0x2a9cba[_0x1b3fcc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b3fcc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b3fcc([0x30]));}function _0x5a7a02(_0x439f8d){return _0x439f8d[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b3fcc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b3fcc([0x6a,0x6f,0x69,0x6e])]('');}function _0x36cb60(){}function _0x1b3fcc(_0x33ea26){return _0x33ea26['map'](_0x4be36f=>String['fromCharCode'](_0x4be36f))['join']('');}_0x14c801(await _0x3d90a3());}(this);}['_moveSelectionToFootnoteDefinition'](_0x59b582){const {plugins:_0x1b069a,editing:_0x172abc,model:_0x26fb6c}=this['editor'],_0xea2827=_0x1b069a['get'](f)['getFootnote'](_0x59b582);return!!_0xea2827&&(_0x26fb6c['change'](_0x5c75c1=>{_0x5c75c1['setSelection'](_0x5c75c1['createPositionAt'](_0xea2827['definition'],'end'));}),_0x172abc['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x48825c){const {plugins:_0x3372c3,editing:_0x306928,model:_0x17c84b}=this['editor'],_0x54d7e3=_0x3372c3['get'](f)['getFootnote'](_0x48825c);return!!_0x54d7e3&&(_0x17c84b['change'](_0x4fcb9d=>{_0x4fcb9d['setSelection'](_0x54d7e3['reference'],'on');}),_0x306928['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3e8c1d}=this['editor']['model'],_0xe5e077=this['editor']['config']['get']('footnotes.multiBlock');_0x3e8c1d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3e8c1d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3e8c1d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xe5e077?_0x3e8c1d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3e8c1d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3e8c1d['addChildCheck'](_0x9cb277=>{for(const _0x40600e of _0x9cb277)if('footnoteDefinition'===_0x40600e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x139b02}=this,{conversion:_0x215dd6,editing:_0x5144b7}=_0x139b02,{t:t}=_0x139b02['locale'];_0x215dd6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5c62ab,{writer:_0x403ff3,consumable:_0x1baa7e})=>{const _0x593f57=_0x5c62ab['getChild'](0x0);if(!_0x593f57||!_0x593f57['is']('element','a'))return null;const _0x5da48f=_0x593f57['getAttribute']('href')||'';if(!_0x5da48f['startsWith']('#'))return null;const _0x4ca0fc=_0x5da48f['replace'](/^#/,'');if(!_0x4ca0fc)return null;_0x1baa7e['consume'](_0x593f57,{'name':!0x0,'attributes':['href']});for(const {item:_0x26483b}of _0x5144b7['view']['createRangeIn'](_0x593f57))_0x26483b['is']('$textProxy')?_0x1baa7e['consume'](_0x26483b['textNode'],{'name':!0x0}):_0x26483b['is']('element')&&_0x1baa7e['consume'](_0x26483b,{'name':!0x0});return _0x403ff3['createElement']('footnoteRef',{'footnoteId':_0x4ca0fc});}}),_0x215dd6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x24ced7,{writer:_0xe7cc42})=>b(_0x24ced7,_0xe7cc42)}),_0x215dd6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48b15c,{writer:_0x46eb85})=>{const _0x2daff2=_0x48b15c['getAttribute']('footnoteCounter');return _0x11fe15(b(_0x48b15c,_0x46eb85),_0x46eb85,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2daff2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2dcb39}=this,{t:t}=_0x2dcb39['locale'],{conversion:_0x3175d2}=_0x2dcb39;_0x3175d2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3175d2['for']('upcast')['add'](_0x37216c=>{_0x37216c['on']('element:ol',(_0x4e2746,_0x3a44a4,_0x119847)=>{const _0x571398=_0x3a44a4['viewItem'];if(!_0x571398['hasClass']('footnotes-list')||!_0x3a44a4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x119847['consumable']['consume'](_0x571398,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4a6a6e,modelCursor:_0x20c5ea}=_0x119847['convertChildren'](_0x3a44a4['viewItem'],_0x3a44a4['modelCursor']);_0x3a44a4['modelRange']=_0x4a6a6e,_0x3a44a4['modelCursor']=_0x20c5ea;}),_0x37216c['on']('element:hr',(_0x1ebd7e,_0x5783d9,_0x14cf07)=>{const _0x28a68d=_0x5783d9['viewItem'];_0x28a68d['hasClass']('footnotes-divider')&&_0x5783d9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x14cf07['consumable']['consume'](_0x28a68d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3175d2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2444d0,{writer:_0x1611fd})=>D(_0x1611fd)}),_0x3175d2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3d03c9,{writer:_0x4907c9})=>{const _0x2108ba=D(_0x4907c9,{'data-footnotes-list-label':t('Footnotes')}),_0x39eab0=_0x11fe15(_0x2108ba,_0x4907c9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4907c9['setCustomProperty']('footnotesDefinitions',!0x0,_0x39eab0),_0x39eab0;}});}['_defineDefinitionConverters'](){const {editor:_0x2d7e8a}=this,{conversion:_0x2fc143,locale:_0xf9384d}=_0x2d7e8a,_0x948107=_0x2d7e8a['config']['get']('footnotes.multiBlock');_0x2fc143['for']('upcast')['add'](_0x1d8ecd=>{_0x1d8ecd['on']('element:li',(_0x3998dc,_0x547b16,_0x581ea2)=>{const _0xcf9798=_0x547b16['viewItem'];if(!_0xcf9798['hasClass']('footnote-definition')||!_0xcf9798['getAttribute']('id'))return;const _0x21d089=_0xcf9798['parent'];if(!_0x21d089['is']('element','ol')||!_0x21d089['hasClass']('footnotes-list'))return;if(!_0x581ea2['consumable']['test'](_0xcf9798,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1e2c74=_0x581ea2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xcf9798['getAttribute']('id')});if(!_0x581ea2['safeInsert'](_0x1e2c74,_0x547b16['modelCursor']))return;_0x581ea2['consumable']['consume'](_0xcf9798,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x21db19=Array['from'](_0xcf9798['getChildren']())['find'](_0x289925=>_0x289925['is']('element')&&_0x289925['hasClass']('footnote-content'));for(const _0x24a1fe of _0xcf9798['getChildren']())_0x24a1fe['is']('element')&&(_0x581ea2['consumable']['consume'](_0x24a1fe,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x581ea2['consumable']['consume'](_0x24a1fe,{'name':!0x0,'classes':'footnote-content'}));if(_0x21db19){if(_0x948107)_0x581ea2['convertChildren'](_0x21db19,_0x1e2c74);else{const _0x97e439=_0x581ea2['writer']['createElement']('footnoteInlineContent');_0x581ea2['writer']['insert'](_0x97e439,_0x1e2c74),_0x581ea2['convertChildren'](_0x21db19,_0x97e439);}}_0x581ea2['updateConversionResult'](_0x1e2c74,_0x547b16);});}),_0x2fc143['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x32c306,{writer:_0x1fcaf0})=>y(_0x32c306,_0x1fcaf0,_0xf9384d,{'dataPipeline':!0x0})}),_0x2fc143['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c8e6a,{writer:_0x5d11a6})=>y(_0x1c8e6a,_0x5d11a6,_0xf9384d)});}['_defineBogusParagraphConverters'](){const {editor:_0x46db9b}=this,{conversion:_0x3c52b5}=_0x46db9b;_0x46db9b['config']['get']('footnotes.multiBlock')?(_0x3c52b5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3c52b5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x46db9b['model']['document'],'change:data',()=>{!function(_0x6f1de,_0x320508){const _0x320e22=_0x6f1de['document']['differ'],_0x24dc4a=new Set();for(const _0x2990bf of _0x320e22['getChanges']()){const _0x828861='attribute'==_0x2990bf['type']?_0x2990bf['range']['start']['parent']:_0x2990bf['position']['parent'];_0x828861['is']('element','footnoteDefinition')&&_0x24dc4a['add'](_0x828861);}for(const _0x4b5c76 of _0x24dc4a['values']()){const _0xc0528a=Array['from'](_0x4b5c76['getChildren']())['filter'](_0xb2c0a3=>v(_0xb2c0a3,_0x320508['mapper']));for(const _0x5e3ad5 of _0xc0528a)_0x320508['reconvertItem'](_0x5e3ad5);}}(_0x46db9b['model'],_0x46db9b['editing']);})):(_0x3c52b5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3c52b5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2bdea4,{writer:_0x2836b5})=>{const _0x1929a8=_0x2836b5['createContainerElement']('span');return _0x2836b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1929a8),_0x1929a8;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5b83cd}=this,{editing:_0x1baedd,t:t}=_0x5b83cd,_0x4a2fa0=_0x5b83cd['model']['document']['selection'];_0x5b83cd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5b83cd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1baedd['view']['document'],'enter',(_0x385db7,_0xa811f4)=>{const _0x8355d0=function(_0x4b91ef){const _0x1cfd07=_0x4b91ef['getSelectedElement']();if(_0x1cfd07?.['is']('element','footnoteRef'))return _0x1cfd07;return null;}(_0x4a2fa0);if(_0x8355d0){const _0x379e80=_0x8355d0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x379e80),_0xa811f4['preventDefault'](),_0x385db7['stop']();}},{'context':_0x41e0e1});}['_defineClickHandlers'](){const {editor:_0x45776e}=this,{editing:_0x4231de}=_0x45776e;_0x45776e['editing']['view']['addObserver'](_0x3ca3e6),_0x45776e['editing']['view']['addObserver'](_0x5441bf);let _0x19f481=!0x1;this['listenTo'](_0x4231de['view']['document'],'pointerdown',(_0x145299,_0x152841)=>{const {target:_0x41b7a0}=_0x152841,_0x3ff936=_0x4231de['view']['document']['selection'];_0x19f481=!!(_0x41b7a0?.['is']('element','a')&&_0x41b7a0['parent']?.['is']('element','sup')&&_0x41b7a0['parent']['hasClass']('footnote'))&&_0x3ff936['getSelectedElement']()===_0x41b7a0['parent'];},{'priority':'high'}),this['listenTo'](_0x4231de['view']['document'],'click',(_0x183ad8,_0x52a30e)=>{const {target:_0x4a738a}=_0x52a30e;if(!_0x4a738a?.['is']('element','a'))return;if(_0x4a738a['parent']?.['is']('element','sup')&&_0x4a738a['parent']['hasClass']('footnote')&&!_0x19f481)return void _0x52a30e['preventDefault']();let _0x5482f8=_0x4a738a['getAttribute']('href');if(!_0x5482f8?.['startsWith']('#'))return;_0x5482f8=_0x5482f8['slice'](0x1);let _0x345f84=!0x1;(_0x5482f8['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5482f8['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5482f8))&&(_0x345f84=!0x0),_0x345f84&&(_0x52a30e['preventDefault'](),_0x183ad8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xc868dc}={}){return(_0x2d2312,{writer:_0x50e6b6})=>{if(!g(_0x2d2312))return null;if(!_0xc868dc)return _0x50e6b6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x12671c=_0x50e6b6['createContainerElement']('p');return _0x50e6b6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x12671c),_0x12671c;};}function g(_0x4ce6de){const {parent:_0x1d9302}=_0x4ce6de;if(!_0x1d9302?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1d9302['childCount'])return!0x1;for(const _0x32eb2b of _0x4ce6de['getAttributeKeys']())if(!_0x32eb2b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x32eb2b)return!0x1;return!0x0;}function v(_0x35ba44,_0x54ee9e){if(!_0x35ba44['is']('element','paragraph'))return!0x1;const _0x14f40a=_0x54ee9e['toViewElement'](_0x35ba44);return!!_0x14f40a&&g(_0x35ba44)!==_0x14f40a['is']('element','span');}function Q(_0x4954db){return _0x41e0e1(_0x4954db)&&_0x4954db['is']('containerElement')&&!!_0x4954db['getCustomProperty']('footnotesDefinitions');}function D(_0x1be1aa,_0x3a5f5f={}){const _0x30db3f=_0x1be1aa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xc7f6d8=_0x1be1aa['createContainerElement']('ol',{'class':'footnotes-list'},_0x1be1aa['createSlot']());return _0x1be1aa['createContainerElement']('div',{'class':'footnotes',..._0x3a5f5f},[_0x30db3f,_0xc7f6d8]);}function b(_0x57a9d1,_0x339154){const _0x5d7885=_0x57a9d1['getAttribute']('footnoteId'),_0x1f87bf=_0x57a9d1['getAttribute']('footnoteCounter'),_0x2bd0c5=_0x339154['createUIElement']('a',{'href':'#'+_0x5d7885},function(_0x2712ee){const _0x5b4212=this['toDomElement'](_0x2712ee);return _0x5b4212['textContent']=_0x1f87bf,_0x5b4212;}),_0x2320a2=_0x339154['createContainerElement']('sup',{'id':'ref-'+_0x5d7885,'class':'footnote'},[_0x2bd0c5]);return _0x2320a2['getFillerOffset']=()=>null,_0x2320a2;}function y(_0x42243e,_0x48168d,_0x287431,{dataPipeline:_0x7f13f2}={}){const {t:t}=_0x287431,_0x4eb044=_0x42243e['getAttribute']('footnoteId'),_0xd0c82b=_0x48168d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4eb044},function(_0x113153){const _0x54064b=this['toDomElement'](_0x113153);return _0x54064b['innerText']='^',_0x54064b;}),_0x56bbde=_0x7f13f2?_0x48168d['createContainerElement']('div',{'class':'footnote-content'}):_0x51046e(_0x48168d['createEditableElement']('div',{'class':'footnote-content'}),_0x48168d,{'label':t('Footnote\x20content.')});return _0x48168d['insert'](_0x48168d['createPositionAt'](_0x56bbde,0x0),_0x48168d['createSlot']()),_0x48168d['createContainerElement']('li',{'class':'footnote-definition','id':_0x4eb044},[_0xd0c82b,_0x56bbde]);}class e extends _0x1a1224{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4d9667];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x368a27}=this,{plugins:_0x232b06,model:_0x230dcc}=_0x368a27,_0x1d0e51=_0x232b06['get'](_0x4d9667),_0xa25b75=_0x232b06['get'](f);this['listenTo'](_0x1d0e51,'outputTransformation',(_0x3a496b,_0x15d601)=>{const _0xbaa966=l(_0x230dcc['createRangeIn'](_0x15d601['content']));if(!_0xbaa966['length'])return;const _0x3a2826=_0xa25b75['getFootnotes'](),_0x86c078=_0xbaa966['reduce']((_0x2db239,_0x579fbc)=>{const _0x17b22d=_0x3a2826['find'](_0xab87c5=>_0xab87c5['id']===_0x579fbc);if(_0x17b22d){const _0x30ddbd=_0x368a27['data']['toView'](_0x17b22d['definition'],{'isClipboardPipeline':!0x0}),_0x35f39e=_0x368a27['data']['htmlProcessor']['toData'](_0x30ddbd);_0x2db239[_0x17b22d['id']]=_0x35f39e;}return _0x2db239;},Object['create'](null));_0x15d601['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x86c078));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5c3969}=this,{model:_0x10d4a9,plugins:_0x3c2cfb}=_0x5c3969,{view:_0x47ffdd}=_0x5c3969['editing'],_0x1f54e7=_0x3c2cfb['get'](_0x4d9667),_0x585dad=_0x3c2cfb['get'](f),_0x5a4fa4=_0x5c3969['config']['get']('footnotes.multiBlock');let _0x85208a=null;this['listenTo'](_0x47ffdd['document'],'clipboardInput',(_0x34e74b,_0x4ea740)=>{const _0xfc2d2f=_0x4ea740['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x85208a=_0xfc2d2f?JSON['parse'](_0xfc2d2f):null;}),this['listenTo'](_0x1f54e7,'contentInsertion',(_0x359b25,_0x5e4164)=>{const _0x5aae8c=_0x5e4164['sourceEditorId']===this['editor']['id'];_0x5aae8c&&'drop'===_0x5e4164['method']||_0x10d4a9['change'](_0x494825=>{let _0x433bac=_0x585dad['getFootnotesDefinitionsObjectElement']();const _0x3a3eb0=!!_0x433bac&&Array['from'](_0x10d4a9['document']['selection']['getSelectedBlocks']())['includes'](_0x433bac);if(!_0x85208a&&function(_0x59b202){for(const {item:_0x5d8e1d}of _0x59b202)if(_0x5d8e1d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x10d4a9['createRangeIn'](_0x5e4164['content']))&&(_0x85208a=function(_0x3f3b1a,_0xca0701){const _0x581377=c(_0x3f3b1a,_0xca0701);if(!_0x581377)return null;const _0x1ef87c=Object['create'](null);for(const _0x5ea8c9 of _0x581377['getChildren']())_0x5ea8c9['is']('element','footnoteDefinition')&&_0x5ea8c9['hasAttribute']('footnoteId')&&(_0x1ef87c[_0x5ea8c9['getAttribute']('footnoteId')]=_0x3f3b1a['cloneElement'](_0x5ea8c9,!0x0));return Object['keys'](_0x1ef87c)['length']?_0x1ef87c:null;}(_0x494825,_0x5e4164['content'])),(_0x433bac&&!_0x3a3eb0||!_0x433bac&&!_0x85208a)&&function(_0x228325,_0x63d8fb){const _0x1c86c7=[];for(const {item:_0x2c24eb}of _0x228325['createRangeIn'](_0x63d8fb))_0x2c24eb['is']('element','footnotesDefinitions')&&_0x1c86c7['push'](_0x2c24eb);for(const _0x25ad5a of _0x1c86c7)_0x228325['remove'](_0x25ad5a);}(_0x494825,_0x5e4164['content']),!_0x85208a)return;const {selection:_0xb7091b}=_0x10d4a9['document'],_0x1d4caa=_0xb7091b['getFirstRange']()['root'];_0x433bac&&!_0x3a3eb0||(_0x433bac=c(_0x494825,_0x5e4164['content']),_0x433bac||=_0x585dad['_insertEmptyFootnotesDefinitionsContainer'](_0x494825,_0x1d4caa));const _0x45f509=Array['from'](_0xb7091b['getRanges']())['flatMap'](l),_0x49b945=function(_0x4d0ebc,_0x1889f1,_0x5c8c76){const _0x597137=Object['create'](null);for(const {item:_0x1aefa8}of _0x4d0ebc['createRangeIn'](_0x1889f1))if(_0x1aefa8['is']('element','footnoteRef')){const _0x2eeaff=_0x1aefa8['getAttribute']('footnoteId');if(!_0x5c8c76(_0x2eeaff))continue;_0x597137[_0x2eeaff]||(_0x597137[_0x2eeaff]=_0x1e1024()),_0x4d0ebc['setAttribute']('footnoteId',_0x597137[_0x2eeaff],_0x1aefa8);}return _0x597137;}(_0x494825,_0x5e4164['content'],_0xfd8306=>{if(!_0x5aae8c)return!0x0;return!!_0x585dad['getFootnote'](_0xfd8306)&&!_0x45f509['includes'](_0xfd8306);});for(const [_0x390c10,_0x1cf5b7]of Object['entries'](_0x85208a)){const _0x2df614=_0x49b945[_0x390c10]||_0x390c10;let _0x5df668;if('string'!=typeof _0x1cf5b7)_0x5df668=_0x1cf5b7,_0x2df614!==_0x390c10&&_0x494825['setAttribute']('footnoteId',_0x2df614,_0x5df668);else{_0x5df668=_0x494825['createElement']('footnoteDefinition',{'footnoteId':_0x2df614});const _0x55e05b=_0x5c3969['data']['htmlProcessor']['toView'](_0x1cf5b7);let _0x53a817;if(_0x5a4fa4)_0x53a817=_0x5c3969['data']['toModel'](_0x55e05b,_0x5df668);else{_0x53a817=_0x494825['createElement']('footnoteInlineContent');const _0x171399=_0x5c3969['data']['toModel'](_0x55e05b,_0x53a817);_0x494825['insert'](_0x171399,_0x53a817);}_0x494825['append'](_0x53a817,_0x5df668);}_0x494825['insert'](_0x5df668,_0x433bac,'end');}_0x85208a=null;});});}}function c(_0x2cc9cb,_0xbd606e){for(const {item:_0x16a653}of _0x2cc9cb['createRangeIn'](_0xbd606e))if(_0x16a653['is']('element','footnotesDefinitions'))return _0x16a653;return null;}function l(_0x3a0d80){const _0x33386e=new Set();for(const {item:_0x3a312d}of _0x3a0d80)_0x3a312d['is']('element','footnoteRef')&&_0x33386e['add'](_0x3a312d['getAttribute']('footnoteId'));return Array['from'](_0x33386e);}class i extends _0x1a1224{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f4f59}=this,{componentFactory:_0x18a324}=_0x3f4f59['ui'];_0x18a324['add']('insertFootnote',E(_0x3f4f59,_0x275c2c)),_0x18a324['add']('menuBar:insertFootnote',E(_0x3f4f59,_0x3f24a9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4e544d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x41ec3f;for(const _0x258422 in _0x4e544d){const _0x54f66b=_0x258422,_0x1eca46=_0x4e544d[_0x54f66b];if('footnotesLicenseKeyValid'==_0x1eca46||'footnotesLicenseKeyInvalid'==_0x1eca46||'footnotesLicenseKeyExpired'==_0x1eca46||'footnotesLicenseKeyDomainLimit'==_0x1eca46||'footnotesLicenseKeyNotAllowed'==_0x1eca46||'footnotesLicenseKeyEvaluationLimit'==_0x1eca46||'footnotesLicenseKeyUsageLimit'==_0x1eca46){delete _0x4e544d[_0x54f66b],_0x41ec3f=_0x1eca46,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x41ec3f&&_0x4e544d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x41ec3f&&_0x4e544d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x41ec3f&&_0x4e544d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x41ec3f&&_0x4e544d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x41ec3f&&_0x4e544d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x41ec3f&&_0x4e544d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x28e9df,_0x25a3e1){const _0x334866=_0x28e9df['commands']['get']('insertFootnote');return _0x236be7=>{const {t:t}=_0x236be7,_0x61ff97=new _0x25a3e1(_0x236be7),_0x465bc2=_0x61ff97 instanceof _0x3f24a9;return _0x61ff97['bind']('isEnabled')['to'](_0x334866,'isEnabled'),_0x61ff97['set']({'label':t(_0x465bc2?'Footnote':'Insert\x20footnote'),'icon':_0xeb2824,'tooltip':!0x0}),_0x61ff97['on']('execute',()=>{_0x334866['execute'](),_0x28e9df['editing']['view']['focus']();}),_0x61ff97;};}class lt extends _0x1a1224{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const ct=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x5e4aee{['refresh'](){const {editor:_0x3c0b60}=this,_0x3444cd=_0x3c0b60['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3444cd,this['value']=_0x3444cd?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x57c585}){const {editor:_0x2b7c50}=this,_0x3719c1=_0x2b7c50['plugins']['get'](f),_0x50b510=_0x3719c1['getFootnotesDefinitionsObjectElement']();_0x50b510&&ct['includes'](_0x57c585)&&_0x2b7c50['model']['change'](_0x513902=>{_0x513902['setAttribute']('footnotesListStyle',_0x57c585,_0x50b510),_0x3719c1['_updateFootnotesCounters'](_0x513902);});}}class C extends _0x5e4aee{['refresh'](){const {editor:_0xa70d8a}=this,_0x4f04d8=_0xa70d8a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4f04d8,this['value']=_0x4f04d8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x231db7}){const {editor:_0x55aa80}=this,_0x29228b=_0x55aa80['plugins']['get'](f),_0x549259=_0x29228b['getFootnotesDefinitionsObjectElement']();_0x549259&&Number['isInteger'](_0x231db7)&&_0x55aa80['model']['change'](_0x6391b0=>{_0x6391b0['setAttribute']('footnotesListStart',_0x231db7,_0x549259),_0x29228b['_updateFootnotesCounters'](_0x6391b0);});}}class P extends _0x1a1224{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x237fad}=this;_0x237fad['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x237fad['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x237fad['commands']['add']('footnotesStyle',new S(_0x237fad)),_0x237fad['commands']['add']('footnotesStart',new C(_0x237fad)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4a0f3a}=this,{schema:_0x18fe1e}=_0x4a0f3a['model'];_0x18fe1e['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5e742e}=this,{conversion:_0x27499a,model:_0xab5458}=_0x5e742e,{schema:_0x5a9e7b}=_0xab5458;_0x27499a['for']('upcast')['add'](_0x3cb6df=>{_0x3cb6df['on']('element:ol',(_0x54f20c,_0x51195c,_0x578086)=>{const _0x20e1ac=_0x51195c['viewItem'],_0x36f71b=_0x51195c['modelCursor']?.['parent'];_0x20e1ac['hasClass']('footnotes-list')&&_0x36f71b?.['is']('element','footnotesDefinitions')&&(function(_0x13ed3d,_0x485e1a,_0x33dd9a,_0x4a19b9){if(!_0x4a19b9['checkAttribute'](_0x485e1a,'footnotesListStart'))return;let _0x4e9cf0=0x1;const _0x2de510=_0x33dd9a['consumable']['consume'](_0x13ed3d,{'attributes':'start'});if(_0x2de510){const _0x3fb4c2=Number['parseInt'](_0x13ed3d['getAttribute']('start'),0xa);Number['isNaN'](_0x3fb4c2)||(_0x4e9cf0=_0x3fb4c2);}!_0x2de510&&_0x485e1a['hasAttribute']('footnotesListStart')||_0x33dd9a['writer']['setAttribute']('footnotesListStart',_0x4e9cf0,_0x485e1a);}(_0x20e1ac,_0x36f71b,_0x578086,_0x5a9e7b),function(_0x2e9321,_0x9b54f0,_0x34e7f1,_0x577f83){if(!_0x577f83['checkAttribute'](_0x9b54f0,'footnotesListStyle'))return;let _0x10cea5='decimal',_0x20f969=!0x1;if(_0x34e7f1['consumable']['consume'](_0x2e9321,{'attributes':'type'})){const _0x10c51c={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2e9321['getAttribute']('type')];_0x10c51c&&(_0x10cea5=_0x10c51c),_0x20f969=!0x0;}_0x34e7f1['consumable']['consume'](_0x2e9321,{'styles':'list-style-type'})&&(_0x10cea5=function(_0x4b8459){switch(_0x4b8459){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4b8459;}}(_0x2e9321['getStyle']('list-style-type')),_0x20f969=!0x0),!_0x20f969&&_0x9b54f0['hasAttribute']('footnotesListStyle')||_0x34e7f1['writer']['setAttribute']('footnotesListStyle',_0x10cea5,_0x9b54f0);}(_0x20e1ac,_0x36f71b,_0x578086,_0x5a9e7b));});}),_0x27499a['for']('downcast')['add'](_0x1538c1=>{_0x1538c1['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x7b856a,_0x105b67,_0x32d484)=>{if(!_0x32d484['consumable']['consume'](_0x105b67['item'],_0x7b856a['name']))return;const _0x509713=M(_0x105b67['item'],_0x32d484['mapper']),{attributeNewValue:_0x41b0a9}=_0x105b67;null==_0x41b0a9||0x1===_0x41b0a9?_0x32d484['writer']['removeAttribute']('start',_0x509713):_0x32d484['writer']['setAttribute']('start',String(_0x41b0a9),_0x509713);}),_0x1538c1['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x46b7cc,_0x504599,_0x48d72e)=>{if(!_0x48d72e['consumable']['consume'](_0x504599['item'],_0x46b7cc['name']))return;const _0x1fa4e3=M(_0x504599['item'],_0x48d72e['mapper']),{attributeNewValue:_0xbc6e18}=_0x504599;_0xbc6e18&&'decimal'!==_0xbc6e18?_0x48d72e['writer']['setStyle']('list-style-type',_0xbc6e18,_0x1fa4e3):_0x48d72e['writer']['removeStyle']('list-style-type',_0x1fa4e3);});});}['_definePostfixer'](){const {editor:_0x44980a}=this,{model:_0x589bbe}=_0x44980a,_0x16362f=_0x44980a['plugins']['get'](f),_0x92f2af=this['_getDefaultListStyle'](),_0x40cc20=this['_getDefaultStartIndex']();_0x589bbe['document']['registerPostFixer'](_0x38d64b=>{const _0x56609b=_0x589bbe['document']['differ']['getChanges']();let _0x5c686a=!0x1;for(const _0x4eccf6 of _0x56609b){if('insert'!==_0x4eccf6['type']||'$text'===_0x4eccf6['name'])continue;const _0x265ac7=_0x589bbe['createRangeOn'](_0x4eccf6['position']['nodeAfter']);for(const _0x2355ff of _0x265ac7['getItems']())_0x2355ff['is']('element','footnotesDefinitions')&&(!_0x2355ff['hasAttribute']('footnotesListStart')&&_0x589bbe['schema']['checkAttribute'](_0x2355ff,'footnotesListStart')&&(_0x38d64b['setAttribute']('footnotesListStart',_0x40cc20,_0x2355ff),_0x5c686a=!0x0),!_0x2355ff['hasAttribute']('footnotesListStyle')&&_0x589bbe['schema']['checkAttribute'](_0x2355ff,'footnotesListStyle')&&(_0x38d64b['setAttribute']('footnotesListStyle',_0x92f2af,_0x2355ff),_0x5c686a=!0x0));}return _0x5c686a&&_0x16362f['_updateFootnotesCounters'](_0x38d64b),_0x5c686a;});}['_defineFormatter'](){const {editor:_0x3acc0f}=this;_0x3acc0f['plugins']['get'](f)['setFootnoteFormatter'](_0x4cf8da=>this['_formatFootnoteListValue'](_0x4cf8da));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1dd323,value:_0x21215d,digits:_0x1c57ef}){const _0x4d2377=_0x1dd323['getAttribute']('footnotesListStyle'),_0xebfe8b=_0x1dd323['getAttribute']('footnotesListStart'),_0xda6457=Math['floor'](_0x21215d)+(_0xebfe8b??0x1)-0x1;switch(_0x4d2377){case'decimal-leading-zero':return function(_0x24e2e9,_0x11895d){return String(_0x24e2e9)['padStart'](_0x11895d,'0');}(_0xda6457,Math['max'](0x2,_0x1c57ef));case'lower-alpha':case'lower-latin':return N(_0xda6457,!0x1);case'upper-alpha':case'upper-latin':return N(_0xda6457,!0x0);case'lower-roman':return X(_0xda6457,!0x1);case'upper-roman':return X(_0xda6457,!0x0);default:return String(_0xda6457);}}}function M(_0x592625,_0x46aed5){const _0x1465d5=_0x46aed5['toViewElement'](_0x592625);return Array['from'](_0x1465d5['getChildren']())['find'](_0x4aa7fe=>_0x4aa7fe['is']('element','ol')&&_0x4aa7fe['hasClass']('footnotes-list'));}function N(_0x45bbe8,_0x34c629){let _0x3e8eda='',_0x1eff7a=_0x45bbe8;for(;_0x1eff7a>0x0;){const _0x549a55=(_0x1eff7a-0x1)%0x1a;_0x3e8eda=String['fromCharCode'](0x61+_0x549a55)+_0x3e8eda,_0x1eff7a=Math['floor']((_0x1eff7a-0x1)/0x1a);}return _0x34c629?_0x3e8eda['toUpperCase']():_0x3e8eda;}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(_0x3d14cc,_0x1137ef){let _0x50d9ad='',_0x2ad9ff=_0x3d14cc;for(const {value:_0x47f11e,numeral:_0x3e5489}of V)for(;_0x2ad9ff>=_0x47f11e;)_0x50d9ad+=_0x3e5489,_0x2ad9ff-=_0x47f11e;return _0x1137ef?_0x50d9ad:_0x50d9ad['toLowerCase']();}class J extends _0x464d81{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5d8154();['focusCycler'];constructor(_0x113d7c,{styleButtonViews:_0x5af9c0,styleGridAriaLabel:_0x708200}){super(_0x113d7c),(this['focusCycler']=new _0x57b1ab({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5af9c0,_0x708200),[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 _0x4d8422 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4d8422['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x40d921=_0x3f48ce=>_0x3f48ce['stopPropagation']();this['keystrokes']['set']('arrowright',_0x40d921),this['keystrokes']['set']('arrowleft',_0x40d921),this['keystrokes']['set']('arrowup',_0x40d921),this['keystrokes']['set']('arrowdown',_0x40d921);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x554273,_0xf670c4){const _0x3ca90b=new _0x464d81(this['locale']);return _0x3ca90b['children']=_0x3ca90b['createCollection'](),_0x3ca90b['children']['addMany'](_0x554273),_0x3ca90b['setTemplate']({'tag':'div','attributes':{'aria-label':_0xf670c4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ca90b['children']}),_0x3ca90b['children']['delegate']('execute')['to'](this),_0x3ca90b['focus']=function(){for(const _0x528f25 of this['children'])if(_0x528f25 instanceof _0x275c2c&&_0x528f25['isOn'])return void _0x528f25['focus']();this['children']['first']['focus']();},_0x3ca90b['focusTracker']=new ot(),_0x3ca90b['keystrokes']=new rt(),_0x3ca90b['render'](),_0x3ca90b['keystrokes']['listenTo'](_0x3ca90b['element']),this['children']['add'](_0x3ca90b),_0x3ca90b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3dda95=this['_createStartIndexPropertyView'](),_0x752b50=[_0x3dda95],_0x3ffbb8=new st(this['locale'],_0x752b50);return _0x3ffbb8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3ffbb8['buttonView']['bind']('isEnabled')['toMany'](_0x752b50,'isEnabled',(..._0x147832)=>_0x147832['some'](_0x59d06c=>_0x59d06c)),_0x3ffbb8['buttonView']['on']('change:isEnabled',(_0x4e8830,_0x37edc6,_0x5356b4)=>{_0x5356b4||(_0x3ffbb8['isCollapsed']=!0x0);}),this['children']['add'](_0x3ffbb8),[_0x3dda95,_0x3ffbb8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4bd231=new it(this['locale'],et);return _0x4bd231['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4bd231['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4bd231['fieldView']['on']('input',()=>{const _0x35124d=_0x4bd231['fieldView']['element'],_0x56c2cb=_0x35124d['valueAsNumber'];Number['isNaN'](_0x56c2cb)?_0x4bd231['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x35124d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x56c2cb}):_0x4bd231['errorText']=t(_0x56c2cb<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4bd231;}}class j extends _0x1a1224{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1c3e38,_0x1bdf8d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d9358}=this,{componentFactory:_0x2b18ec}=_0x5d9358['ui'];_0x5d9358['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2b18ec['add']('footnotesStyle',function(_0x13a4e7){return _0x333586=>{const {t:t}=_0x333586,_0x169250=_0x13a4e7['commands']['get']('footnotesStyle'),_0x1a35a0=_0x14eff1(_0x333586),{buttonView:_0x12a757}=_0x1a35a0;return _0x1a35a0['class']='ck-footnotes-styles-dropdown',_0x1a35a0['bind']('isEnabled')['to'](_0x169250,'isEnabled'),_0x12a757['set']({'label':t('Footnotes\x20style'),'icon':_0xeb2824,'tooltip':!0x0}),_0x1a35a0['once']('change:isOpen',()=>{const _0x5e09a2=function({editor:_0xa1cd61,dropdownView:_0x3bdc0b}){const {t:t}=_0xa1cd61['locale'],_0x214818=t('Footnotes\x20definitions\x20styles'),_0x2764b1=function(_0x25a08f){const t=_0x25a08f['locale']['t'],_0x1c0a66=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2fd60d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5da6fc},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x551ecf},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x150262},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4fd7b8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x8fa10e}];return _0x1c0a66['map'](function(_0x314080){const _0x2a5884=_0x314080['locale'];return({label:_0x2b0cae,icon:_0x53b5d7,tooltip:_0xbe091f,style:_0xc82f93})=>{const _0x417310=_0x314080['commands']['get']('footnotesStyle'),_0x5ba9fa=new _0x275c2c(_0x2a5884);return _0x5ba9fa['set']({'label':_0x2b0cae,'icon':_0x53b5d7,'tooltip':_0xbe091f}),_0x5ba9fa['bind']('isOn')['to'](_0x417310,'value',_0x4fe629=>_0x4fe629===_0xc82f93),_0x5ba9fa['bind']('isEnabled')['to'](_0x417310,'isEnabled'),_0x5ba9fa['on']('execute',()=>{_0x314080['execute']('footnotesStyle',{'value':_0xc82f93}),_0x314080['editing']['view']['focus']();}),_0x5ba9fa;};}(_0x25a08f));}(_0xa1cd61),_0xc28827=new J(_0xa1cd61['locale'],{'styleGridAriaLabel':_0x214818,'styleButtonViews':_0x2764b1}),_0x334766=_0xa1cd61['commands']['get']('footnotesStart');return _0xc28827['startIndexFieldView']['bind']('isEnabled')['to'](_0x334766),_0xc28827['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x334766),_0xc28827['on']('footnotesListStart',(_0x46064e,_0x208ce6)=>{_0xa1cd61['execute']('footnotesStart',{'value':_0x208ce6['startIndex']});}),_0xc28827['delegate']('execute')['to'](_0x3bdc0b),_0xc28827;}({'editor':_0x13a4e7,'dropdownView':_0x1a35a0});_0x1a35a0['panelView']['children']['add'](_0x5e09a2);}),_0x1a35a0;};}(_0x5d9358));}['afterInit'](){const {editor:_0x5dd756}=this,{t:t}=_0x5dd756['locale'],_0x441466=_0x5dd756['plugins']['get'](_0x1bdf8d),{defaultPositions:_0x26b7b1}=_0x31f217;_0x441466['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5dd756['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x18aaa6=>{let _0x19a09c=_0x18aaa6['getFirstPosition']()?.['parent'];return _0x19a09c?.['is']('$text')&&(_0x19a09c=_0x19a09c['parent']),_0x19a09c?.['is']('element')?_0x19a09c['findAncestor'](Q):null;},'positions':[_0x26b7b1['southArrowNorth'],_0x26b7b1['southArrowNorthMiddleWest'],_0x26b7b1['southArrowNorthMiddleEast'],_0x26b7b1['southArrowNorthWest'],_0x26b7b1['southArrowNorthEast'],_0x26b7b1['northArrowSouth'],_0x26b7b1['northArrowSouthMiddleWest'],_0x26b7b1['northArrowSouthMiddleEast'],_0x26b7b1['northArrowSouthWest'],_0x26b7b1['northArrowSouthEast'],_0x26b7b1['viewportStickyNorth']]});}}class ft extends _0x1a1224{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}};