@ckeditor/ckeditor5-footnotes 47.5.0-alpha.8 → 47.6.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3eb2b6,Command as _0x344bd1}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x192168,isWidget as _0x335e2d,toWidgetEditable as _0x4071db,WidgetToolbarRepository as _0x2198c7}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x21759c,logWarning as _0x11e2d4,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4c3c27,ClickObserver as _0x35818a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3c5634}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x280159,ButtonView as _0x50a4fc,View as _0x541b03,ViewCollection as _0x474080,FocusCycler as _0xae8ef8,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x23b049,BalloonPanelView as _0x2930c1,createDropdown as _0x43fc65}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x28d033,IconListStyleDecimal as _0xd223d4,IconListStyleDecimalLeadingZero as _0xd57c0,IconListStyleLowerRoman as _0x38c7c0,IconListStyleUpperRoman as _0x5e7c7a,IconListStyleLowerLatin as _0x32c0f0,IconListStyleUpperLatin as _0x556717}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1a7270,_0x3c093e){this['_model']=_0x1a7270,this['_elementName']=_0x3c093e['elementName'],this['_getElementKey']=_0x3c093e['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3de86a){const _0x43743d=new Set(),_0x3cf0e9=new Map();for(const _0x5f5705 of _0x3de86a){if('insert'===_0x5f5705['type']&&'$text'!==_0x5f5705['name']&&_0x5f5705['position']['nodeAfter']){const _0x49982c=this['_model']['createRangeOn'](_0x5f5705['position']['nodeAfter']);for(const _0x44c6af of _0x49982c['getItems']()){if(!_0x44c6af['is']('element',this['_elementName']))continue;const _0xf8599a=this['_getElementKey'](_0x44c6af);_0x3cf0e9['has'](_0xf8599a)||_0x3cf0e9['set'](_0xf8599a,[]),_0x3cf0e9['get'](_0xf8599a)['push'](_0x44c6af);}}if('remove'===_0x5f5705['type']&&_0x5f5705['name']===this['_elementName']){const _0x5571a1=this['_getElementKey']({'getAttribute':_0x5d244b=>_0x5f5705['attributes']['get'](_0x5d244b)});_0x43743d['add'](_0x5571a1);}}for(const [_0x5ad58e,_0x2c71c1]of this['_trackedElements'])'$graveyard'===_0x2c71c1['root']['rootName']&&_0x43743d['add'](_0x5ad58e);for(const _0x2624fd of _0x43743d)this['_trackedElements']['delete'](_0x2624fd);for(const [_0x1cbc0c,_0x4b3056]of _0x3cf0e9)this['_trackedElements']['set'](_0x1cbc0c,_0x4b3056[_0x4b3056['length']-0x1]);const _0x3c5a75=new Set();for(const [_0x2b5799,_0x45d8c2]of _0x3cf0e9)_0x43743d['has'](_0x2b5799)&&(_0x3c5a75['add'](_0x45d8c2[0x0]),_0x45d8c2['length']>0x1?_0x3cf0e9['set'](_0x2b5799,_0x45d8c2['slice'](0x1)):_0x3cf0e9['delete'](_0x2b5799),_0x43743d['delete'](_0x2b5799));return{'removed':Array['from'](_0x43743d),'inserted':Array['from'](_0x3cf0e9['values']())['flat'](),'moved':Array['from'](_0x3c5a75)};}}class f extends _0x3eb2b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4153d7){super(_0x4153d7),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2eebd7=>_0x2eebd7['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5daf36=>_0x5daf36['getAttribute']('footnoteId')});}['init'](){const {editor:_0x41e53a}=this,{model:_0x508aac,data:_0x464a01}=_0x41e53a;_0x508aac['document']['registerPostFixer'](_0x315a2c=>{const _0x4f25cd=_0x508aac['document']['differ']['getChanges']();let _0x1c9243=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x315a2c,_0x4f25cd)&&(_0x1c9243=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x315a2c,_0x4f25cd)&&(_0x1c9243=!0x0),this['_handleFootnoteReferencesChanges'](_0x315a2c,_0x4f25cd)&&(_0x1c9243=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x315a2c)&&(_0x1c9243=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x315a2c)&&(_0x1c9243=!0x0),this['_sortFootnoteDefinitions'](_0x315a2c)&&(_0x1c9243=!0x0),_0x1c9243;}),this['listenTo'](_0x508aac['document'],'change:data',()=>{_0x508aac['enqueueChange']({'isUndoable':!0x1},_0x25e168=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x25e168);});},{'priority':'low'}),this['listenTo'](_0x464a01,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4aae12){return this['_footnotes']['find'](_0x1547bc=>_0x1547bc['id']===_0x4aae12)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x46ca8e){this['_footnoteFormatter']=_0x46ca8e;}['_updateFootnotesCounters'](_0x337c4d,_0x185573=0x0){let _0x4f6dea=!0x1;for(let _0x1a506d=_0x185573;_0x1a506d<this['_footnotes']['length'];_0x1a506d++)this['_updateFootnoteRefCounter'](_0x337c4d,_0x1a506d)&&(_0x4f6dea=!0x0);return _0x4f6dea;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e504f,_0x40e4eb){const _0x41ec1f=_0x3e504f['createElement']('footnotesDefinitions',{});return _0x3e504f['append'](_0x41ec1f,_0x40e4eb),this['_footnotesDefinitions']=_0x41ec1f,_0x41ec1f;}['_ensureFootnotesDefinitionsContainerExists'](_0x45c190){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x211294=this['_footnotes'][0x0]['reference']['root'],_0x5cf6ff=this['_insertEmptyFootnotesDefinitionsContainer'](_0x45c190,_0x211294);for(const _0x2e1172 of this['_footnotes'])_0x2e1172['definition']['parent']||_0x45c190['insert'](_0x2e1172['definition'],_0x5cf6ff,'end');this['_updateFootnotesCounters'](_0x45c190);}['_handleFootnotesDefinitionsObjectChanges'](_0x1b6f50,_0x5ac88b){let _0x3382d2=!0x1;const {inserted:_0x4c8615,removed:_0x2ab972,moved:_0x5c6490}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5ac88b);if(_0x5c6490['length']&&(this['_footnotesDefinitions']=_0x5c6490[0x0]),_0x4c8615['length']){if(_0x4c8615['length']>0x1||this['_footnotesDefinitions']&&_0x4c8615['some'](_0x1cbba5=>_0x1cbba5!==this['_footnotesDefinitions'])){const _0x1bca66=_0x1b6f50['createElement']('footnotesDefinitions',{}),_0x3a9a4a=[];this['_footnotesDefinitions']&&_0x3a9a4a['push'](this['_footnotesDefinitions']),_0x3a9a4a['push'](..._0x4c8615),_0x1b6f50['insert'](_0x1bca66,_0x3a9a4a[0x0],'before');for(const _0x5a4ad3 of _0x3a9a4a)_0x1b6f50['move'](_0x1b6f50['createRangeIn'](_0x5a4ad3),_0x1b6f50['createPositionAt'](_0x1bca66,'end')),_0x1b6f50['remove'](_0x5a4ad3);this['_footnotesDefinitions']=_0x1bca66,this['_updateFootnotesCounters'](_0x1b6f50),_0x3382d2=!0x0;}else this['_footnotesDefinitions']=_0x4c8615[0x0];}if(_0x2ab972['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5a5c3d of this['_footnotes'])_0x1b6f50['remove'](_0x5a5c3d['reference']),_0x3382d2=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3382d2;}['_handleFootnoteDefinitionsChanges'](_0x2789cb,_0x34d5c6){let _0x4c9b7b=!0x1;const _0x517058=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1762a3,moved:_0x520ab3}=this['_footnoteDefsTracker']['getChanges'](_0x34d5c6);for(const _0x2668fc of[..._0x520ab3,..._0x1762a3]){const _0x4f0f38=_0x2668fc['getAttribute']('footnoteId'),_0x77a602=this['getFootnote'](_0x4f0f38);_0x77a602&&(_0x77a602['definition']=_0x2668fc),_(_0x2789cb,_0x517058,_0x2668fc)&&(_0x4c9b7b=!0x0);}return _0x4c9b7b;}['_handleFootnoteReferencesChanges'](_0xcae05b,_0x133c46){let _0x5d85a4=!0x1;const {removed:_0x61aa42,inserted:_0x404853,moved:_0x2a89ce}=this['_footnoteRefsTracker']['getChanges'](_0x133c46);for(const _0x5e136f of _0x61aa42)this['_handleRemoveFootnoteReferenceById'](_0xcae05b,_0x5e136f)&&(_0x5d85a4=!0x0);for(const _0x35aefd of _0x404853)this['_handleInsertedFootnoteReference'](_0xcae05b,_0x35aefd)&&(_0x5d85a4=!0x0);for(const _0x497f7e of _0x2a89ce)this['_handleMovedFootnoteReference'](_0xcae05b,_0x497f7e)&&(_0x5d85a4=!0x0);return _0x5d85a4;}['_handleFootnotesDefinitionsObjectSync'](_0x5a82a5){if(!this['_footnotesDefinitions'])return!0x1;let _0x1254d6=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1336b2=[];for(const _0x34646f of this['_footnotesDefinitions']['getChildren']()){const _0x436c82=_0x34646f['getAttribute']('footnoteId');this['getFootnote'](_0x436c82)||(_0x1336b2['unshift'](_0x34646f),_0x1254d6=!0x0);}for(const _0xe8f631 of _0x1336b2)_0x5a82a5['remove'](_0xe8f631);}const _0x1b561c=new Set(),_0x3b7191=[];for(const _0x122933 of this['_footnotesDefinitions']['getChildren']()){const _0x42fb79=_0x122933['getAttribute']('footnoteId');_0x1b561c['has'](_0x42fb79)?(_0x3b7191['unshift'](_0x122933),_0x1254d6=!0x0):_0x1b561c['add'](_0x42fb79);}for(const _0x180575 of _0x3b7191)_0x5a82a5['remove'](_0x180575);return this['_footnotesDefinitions']['childCount']||(_0x5a82a5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1254d6=!0x0),_0x1254d6;}['_handleInsertedFootnoteReference'](_0x4c1ecd,_0x2b681f){if(this['_footnotes']['find'](_0x304501=>_0x304501['reference']===_0x2b681f))return!0x1;let _0x5de10f=!0x1;const _0x190d98=_0x2b681f['getAttribute']('footnoteId'),_0x1e7740=this['_footnotes']['findIndex'](_0x39838b=>_0x39838b['id']===_0x190d98);-0x1!==_0x1e7740&&(_0x4c1ecd['remove'](this['_footnotes'][_0x1e7740]['reference']),this['_footnotes']['splice'](_0x1e7740,0x1),_0x5de10f=!0x0);let _0x56855a=this['_footnotesDefinitions']?function(_0x1f8867,_0x4ca3e5){for(const _0x48ca80 of _0x1f8867['getChildren']())if(_0x48ca80['getAttribute']('footnoteId')===_0x4ca3e5)return _0x48ca80;return null;}(this['_footnotesDefinitions'],_0x190d98):null;_0x56855a||(_0x56855a=_0x4c1ecd['createElement']('footnoteDefinition',{'footnoteId':_0x190d98}),this['_footnotesDefinitions']&&(_0x4c1ecd['insert'](_0x56855a,this['_footnotesDefinitions'],'end'),_0x5de10f=!0x0));const _0x39a54a={'id':_0x190d98,'reference':_0x2b681f,'definition':_0x56855a},_0x4813c3=I(this['editor']['model'],this['_footnotes'],_0x2b681f);this['_footnotes']['splice'](_0x4813c3,0x0,_0x39a54a);let _0x391928=_0x4813c3;return-0x1!==_0x1e7740&&(_0x391928=Math['min'](_0x4813c3,_0x1e7740)),this['_updateFootnotesCounters'](_0x4c1ecd,_0x391928)&&(_0x5de10f=!0x0),_0x5de10f;}['_handleRemoveFootnoteReferenceById'](_0x489d94,_0x41e0db){const _0x1b7938=this['_footnotes']['findIndex'](_0x11cb1e=>_0x11cb1e['id']===_0x41e0db);if(-0x1===_0x1b7938)return!0x1;let _0x58daea=!0x1;const _0x16c4e1=this['_footnotes'][_0x1b7938];return'$graveyard'!==_0x16c4e1['definition']['root']['rootName']&&(_0x489d94['remove'](_0x16c4e1['definition']),_0x58daea=!0x0),this['_footnotes']['splice'](_0x1b7938,0x1),this['_updateFootnotesCounters'](_0x489d94,_0x1b7938)&&(_0x58daea=!0x0),_0x58daea;}['_handleMovedFootnoteReference'](_0x3192f8,_0x43efd8){const _0x45152f=_0x43efd8['getAttribute']('footnoteId'),_0x477e30=this['_footnotes']['findIndex'](_0x289474=>_0x289474['id']===_0x45152f),_0x32e574=this['_footnotes'][_0x477e30];let _0x169ccd=!0x1;_0x32e574['reference']=_0x43efd8,this['_footnotes']['splice'](_0x477e30,0x1);const _0x1566b9=I(this['editor']['model'],this['_footnotes'],_0x43efd8);return this['_footnotes']['splice'](_0x1566b9,0x0,_0x32e574),this['_updateFootnotesCounters'](_0x3192f8,Math['min'](_0x477e30,_0x1566b9))&&(_0x169ccd=!0x0),_0x169ccd;}['_updateFootnoteRefCounter'](_0x425c7b,_0x26ea25){if(!this['_footnotesDefinitions'])return!0x1;const _0x1033f2=this['_footnotes'][_0x26ea25];let _0x378ad8;return _0x378ad8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1033f2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x26ea25+0x1}):String(_0x26ea25+0x1),_0x1033f2['reference']['getAttribute']('footnoteCounter')!=_0x378ad8&&(_0x425c7b['setAttribute']('footnoteCounter',_0x378ad8,_0x1033f2['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2c3c46){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1f68b6,_0x34cc41){if(_0x1f68b6['length']!==_0x34cc41['length'])return!0x1;for(let _0x3e2463=0x0;_0x3e2463<_0x1f68b6['length'];_0x3e2463++)if(_0x1f68b6[_0x3e2463]!==_0x34cc41[_0x3e2463])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x25dfae=>_0x25dfae['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3b35ca=>_0x3b35ca['getAttribute']('footnoteId'))))return!0x1;let _0x114828=!0x1;for(let _0x2230c5=0x0;_0x2230c5<this['_footnotes']['length'];_0x2230c5++){const _0x4d3add=this['_footnotes'][_0x2230c5],_0x23b55d=_0x2c3c46['createPositionBefore'](_0x4d3add['definition']),_0x10e0b4=_0x2c3c46['createPositionAt'](this['_footnotesDefinitions'],_0x2230c5);_0x23b55d['isEqual'](_0x10e0b4)||(_0x2c3c46['move'](_0x2c3c46['createRangeOn'](_0x4d3add['definition']),_0x10e0b4),_0x114828=!0x0);}return _0x114828;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1706be){if(!this['_footnotes']['length'])return!0x1;const {model:_0x15b2c6}=this['editor'];let _0x49ff70=!0x1;for(let _0x351632=0x0;_0x351632<this['_footnotes']['length']-0x1;_0x351632++){const _0x4e077e=this['_footnotes'][_0x351632],_0xc63548=this['_footnotes'][_0x351632+0x1],_0x1ab362=_0x15b2c6['createPositionBefore'](_0x4e077e['reference']),_0x26d3bc=_0x15b2c6['createPositionBefore'](_0xc63548['reference']);'after'===_0x1ab362['compareWith'](_0x26d3bc)&&(this['_handleMovedFootnoteReference'](_0x1706be,_0x4e077e['reference']),_0x351632=-0x1,_0x49ff70=!0x0);}return _0x49ff70;}}function _(_0x2ee7f0,_0x2e172e,_0x444db4){if(_0x444db4['childCount'])return!0x1;const _0x1f9a1b=_0x2e172e?'paragraph':'footnoteInlineContent';return _0x2ee7f0['insert'](_0x2ee7f0['createElement'](_0x1f9a1b),_0x444db4),!0x0;}function I(_0x3852ba,_0x539076,_0x383460){if(0x0===_0x539076['length'])return 0x0;const _0x4ed7a4=_0x3852ba['createPositionBefore'](_0x383460);for(let _0x3d8806=0x0;_0x3d8806<_0x539076['length'];_0x3d8806++){const _0x1496a3=_0x539076[_0x3d8806],_0x289f30=_0x3852ba['createPositionBefore'](_0x1496a3['reference']);if('before'===_0x4ed7a4['compareWith'](_0x289f30))return _0x3d8806;}const _0x9cdccc=_0x383460['root'];let _0x47b6ea=-0x1;for(let _0x4a0935=_0x539076['length']-0x1;_0x4a0935>=0x0;_0x4a0935--)if(_0x539076[_0x4a0935]['reference']['root']===_0x9cdccc){_0x47b6ea=_0x4a0935;break;}if(-0x1!==_0x47b6ea)return _0x47b6ea+0x1;const _0x286385=_0x3852ba['document']['getRootNames'](),_0x2ad7c1=_0x286385['indexOf'](_0x9cdccc['rootName']),_0x3115bb=_0x286385[_0x2ad7c1+0x1];if(_0x3115bb){for(let _0x2ebd87=0x0;_0x2ebd87<_0x539076['length'];_0x2ebd87++)if(_0x539076[_0x2ebd87]['reference']['root']['rootName']===_0x3115bb)return _0x2ebd87;}return _0x539076['length'];}class h extends _0x344bd1{['refresh'](){const _0x2df3a7=this['editor']['model']['document']['selection'],_0x49f174=this['_getPositionToInsertFootnote'](_0x2df3a7);this['isEnabled']=!!_0x49f174;}['execute'](_0x14002e){const {editor:_0x1e9202}=this,{model:_0x80b567}=_0x1e9202,{selection:_0x4df631}=_0x80b567['document'],_0x42d39f=this['_getPositionToInsertFootnote'](_0x4df631);if(!_0x42d39f)return;const _0x3870d8=_0x1e9202['plugins']['get']('FootnotesEditing'),_0x3d18cb=_0x14002e?.['footnoteId']??_0x21759c();!function(_0x1845fa){return'string'==typeof _0x1845fa&&_0x1845fa['length']>0x0&&!/\s/['test'](_0x1845fa)&&!/^\d/['test'](_0x1845fa);}(_0x3d18cb)?_0x11e2d4('insert-footnote-command-executed-with-invalid-id'):(_0x80b567['change'](_0xf50dc6=>{const _0x1bb81a=_0xf50dc6['createElement']('footnoteRef',{'footnoteId':_0x3d18cb});_0x80b567['insertObject'](_0x1bb81a,_0x42d39f,null);}),_0x3870d8['_moveSelectionToFootnoteDefinition'](_0x3d18cb));}['_getPositionToInsertFootnote'](_0x140852){const {model:_0x12277a}=this['editor'],{schema:_0x3cacc0}=_0x12277a,_0x33d9ed=_0x140852['getFirstRange']();for(const _0x1ce192 of _0x33d9ed['getItems']())if(_0x3cacc0['isBlock'](_0x1ce192)||_0x3cacc0['isObject'](_0x1ce192))return null;const _0x32a4e7=_0x33d9ed['end'];return _0x3cacc0['checkChild'](_0x32a4e7,'footnoteRef')?_0x32a4e7:null;}}class r extends _0x3eb2b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dc57f}=this;_0x4dc57f['config']['define']('footnotes.multiBlock',!0x0),_0x4dc57f['commands']['add']('insertFootnote',new h(_0x4dc57f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x22a6b9){const _0x3d114b=_0x238cb5([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]),_0xa806ec=0x47a28506,_0x544875=0x47a5046e^_0xa806ec,_0x31e9e9=window[_0x238cb5([0x44,0x61,0x74,0x65])][_0x238cb5([0x6e,0x6f,0x77])](),_0x50008f=_0x22a6b9[_0x238cb5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x212140=new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b6484=>{_0x50008f[_0x238cb5([0x6f,0x6e,0x63,0x65])](_0x238cb5([0x72,0x65,0x61,0x64,0x79]),_0x5b6484);}),_0x3b1bfe={[_0x238cb5([0x6b,0x74,0x79])]:_0x238cb5([0x45,0x43]),[_0x238cb5([0x75,0x73,0x65])]:_0x238cb5([0x73,0x69,0x67]),[_0x238cb5([0x63,0x72,0x76])]:_0x238cb5([0x50,0x2d,0x32,0x35,0x36]),[_0x238cb5([0x78])]:_0x238cb5([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]),[_0x238cb5([0x79])]:_0x238cb5([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]),[_0x238cb5([0x61,0x6c,0x67])]:_0x238cb5([0x45,0x53,0x32,0x35,0x36])},_0x26adce=_0x50008f[_0x238cb5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x238cb5([0x67,0x65,0x74])](_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58be84(){let _0x46cca4,_0x395c68=null,_0x300513=null;try{if(_0x26adce==_0x238cb5([0x47,0x50,0x4c]))return _0x238cb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x46cca4=_0x2ddd69(),!_0x46cca4)return _0x238cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x46cca4[_0x238cb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x300513=_0xfe3a38(_0x46cca4[_0x238cb5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x46cca4[_0x238cb5([0x6a,0x74,0x69])])),await _0x41920e()?_0x2ca113()?_0x267607()?_0x238cb5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x185b9a()?(_0x46cca4[_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x238cb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x395c68=_0x37efda(_0x238cb5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x435b5c()):_0x238cb5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x238cb5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x238cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x238cb5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x267607(){const _0xd55c4e=[_0x238cb5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x238cb5([0x74,0x72,0x69,0x61,0x6c])][_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cca4[_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31e9e9/0x3e8:0xe10*_0x544875;return _0x46cca4[_0x238cb5([0x65,0x78,0x70])]<_0xd55c4e;}function _0x2ca113(){const _0x223856=_0x46cca4[_0x238cb5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x223856&&(!!_0x223856[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238cb5([0x2a]))||!!_0x223856[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238cb5([0x46,0x4f,0x4f])));}function _0x185b9a(){const _0x274b22=_0x46cca4[_0x238cb5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x274b22||0x0==_0x274b22[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x113439}=new URL(window[_0x238cb5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x274b22[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113439))return!0x0;const _0x27b3b4=_0x113439[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e]));return _0x274b22[_0x238cb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1738e4=>_0x1738e4[_0x238cb5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x238cb5([0x2a])))[_0x238cb5([0x6d,0x61,0x70])](_0x4a398e=>_0x4a398e[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e])))[_0x238cb5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c734b=>_0x4c734b[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x27b3b4[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x238cb5([0x6d,0x61,0x70])](_0x429390=>Array(_0x27b3b4[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x429390[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x238cb5([0x66,0x69,0x6c,0x6c])](_0x429390[0x0]===_0x238cb5([0x2a])?_0x238cb5([0x2a]):'')[_0x238cb5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x429390))[_0x238cb5([0x73,0x6f,0x6d,0x65])](_0x5bf6e2=>_0x27b3b4[_0x238cb5([0x65,0x76,0x65,0x72,0x79])]((_0x3f5e7f,_0xb2cf8b)=>_0x5bf6e2[_0xb2cf8b]===_0x3f5e7f||_0x5bf6e2[_0xb2cf8b]===_0x238cb5([0x2a])));}function _0x435b5c(){return _0x395c68&&_0x300513?new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40d85c,_0x49cf24)=>{_0x395c68[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x40d85c,_0x49cf24),_0x300513[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x126b0a=>{_0x126b0a!=_0x238cb5([0x56,0x61,0x6c,0x69,0x64])&&_0x40d85c(_0x126b0a);},_0x49cf24);}):_0x395c68||_0x300513||_0x238cb5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfe3a38(_0x2ba5bc,_0x51ef9){return new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3047=>{if(_0x4800a0())return _0x3f3047(_0x238cb5([0x56,0x61,0x6c,0x69,0x64]));_0x349e53(),_0x50008f[_0x238cb5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x238cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26c39f=!0x1;const _0x281392=_0x21759c();function _0x689e45(_0x47d9e4){return!!_0x47d9e4&&(typeof _0x47d9e4===_0x238cb5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47d9e4===_0x238cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47d9e4[_0x238cb5([0x74,0x68,0x65,0x6e])]===_0x238cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47d9e4[_0x238cb5([0x63,0x61,0x74,0x63,0x68])]===_0x238cb5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6ab6d1(_0xfa66b5){_0x33180e(_0xfa66b5)[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x36cbc1=>{if(!_0x36cbc1||_0x36cbc1[_0x238cb5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x238cb5([0x6f,0x6b]))return _0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50a5ba(_0x419647(_0x281392+_0x51ef9))!=_0x36cbc1[_0x238cb5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x238cb5([0x56,0x61,0x6c,0x69,0x64]);})[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x1c2c9a=>(_0x145b08(),_0x1c2c9a),()=>{const _0x5e4637=_0x52a379();return null==_0x5e4637?(_0x145b08(),_0x238cb5([0x56,0x61,0x6c,0x69,0x64])):_0x238cb5(_0x31e9e9-_0x5e4637>(0x63ae0106^_0xa806ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x3f3047)[_0x238cb5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f3047(_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x399377=0x47946b86^_0xa806ec;function _0x145b08(){const _0x24f5db=_0x238cb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x50a5ba(_0x419647(_0x2ba5bc)),_0x240a93=_0x345f53(_0x50a5ba(window[_0x238cb5([0x4d,0x61,0x74,0x68])][_0x238cb5([0x63,0x65,0x69,0x6c])](_0x31e9e9/_0x399377)));window[_0x238cb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x238cb5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24f5db,_0x240a93);}function _0x52a379(){const _0x2102da=_0x238cb5([0x6c,0x6c,0x63,0x74,0x2d])+_0x50a5ba(_0x419647(_0x2ba5bc)),_0x28870b=window[_0x238cb5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x238cb5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2102da);return _0x28870b?window[_0x238cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345f53(_0x28870b),0x10)*_0x399377:null;}function _0x33180e(_0x37b1f5){return new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f573e,_0x2938a8)=>{_0x37b1f5[_0x238cb5([0x74,0x68,0x65,0x6e])](_0x5f573e,_0x2938a8),window[_0x238cb5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2938a8,0x47a351c6^_0xa806ec);});}}_0x50008f[_0x238cb5([0x6f,0x6e])](_0x238cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40a4ec,_0x17d603)=>{if(_0x17d603[0x0]!=_0x2ba5bc)return _0x3f3047(_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17d603[0x1]={..._0x17d603[0x1],[_0x238cb5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x281392};},{[_0x238cb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x238cb5([0x68,0x69,0x67,0x68])}),_0x50008f[_0x238cb5([0x6f,0x6e])](_0x238cb5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x567f0c=>{_0x689e45(_0x567f0c[_0x238cb5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26c39f=!0x0,_0x6ab6d1(_0x567f0c[_0x238cb5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x238cb5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x238cb5([0x6c,0x6f,0x77])}),_0x212140[_0x238cb5([0x74,0x68,0x65,0x6e])](()=>{_0x26c39f||_0x3f3047(_0x238cb5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4800a0(){return _0x50008f[_0x238cb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x238cb5([0x76,0x69,0x65,0x77])][_0x238cb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x238cb5([0x61,0x75,0x74,0x6f]);}function _0x349e53(){_0x50008f[_0x238cb5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x238cb5([0x76,0x69,0x65,0x77])][_0x238cb5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x238cb5([0x61,0x75,0x74,0x6f]);}}function _0x37efda(_0xaad68){const _0xc22488=[new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb890=>setTimeout(_0x4eb890,0x47abbbca^_0xa806ec)),_0x212140[_0x238cb5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105cb8=>{let _0x439dbf=0x0;_0x50008f[_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x238cb5([0x6f,0x6e])](_0x238cb5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59d77f,_0x4f996d)=>{_0x4f996d[0x0][_0x238cb5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x439dbf++,_0x439dbf==(0x47a280ee^_0xa806ec)&&(_0x105cb8(),_0x59d77f[_0x238cb5([0x6f,0x66,0x66])]());});}))];return window[_0x238cb5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x238cb5([0x72,0x61,0x63,0x65])](_0xc22488)[_0x238cb5([0x74,0x68,0x65,0x6e])](()=>_0xaad68);}async function _0x35f788(){await _0x212140,_0x50008f[_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x238cb5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d2994,_0x50008f[_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c])][_0x238cb5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d2994,_0x50008f[_0x238cb5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x238cb5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe88d15(_0x432f16){const _0x2b8b69=_0x5e3a4e();_0x50008f[_0x2b8b69]=_0x238cb5([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x432f16,_0x432f16!=_0x238cb5([0x56,0x61,0x6c,0x69,0x64])&&_0x35f788();}function _0x5e3a4e(){const _0x14ff0a=window[_0x238cb5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x238cb5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x238cb5([0x6e,0x6f,0x77])]())[_0x238cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x238cb5([0x2e]),'');let _0x26b5d=_0x238cb5([0x75]);for(let _0x51e928=0x0;_0x51e928<_0x14ff0a[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51e928+=0x2){let _0x3b92f4=window[_0x238cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14ff0a[_0x238cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51e928,_0x51e928+0x2));_0x3b92f4>=_0x3d114b[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b92f4-=_0x3d114b[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26b5d+=_0x3d114b[_0x3b92f4];}return _0x26b5d;}function _0x2ddd69(){const _0x28dd19=_0x26adce[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e]));if(0x3!=_0x28dd19[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd47fe8(_0x28dd19[0x1]);function _0xd47fe8(_0x27a362){const _0x14d5fb=_0x2684fd(_0x27a362);return _0x14d5fb&&_0x34abb4()?_0x14d5fb:null;function _0x34abb4(){const _0x997951=_0x14d5fb[_0x238cb5([0x6a,0x74,0x69])],_0x57e931=window[_0x238cb5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x997951[_0x238cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x997951[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32a35d={..._0x14d5fb,[_0x238cb5([0x6a,0x74,0x69])]:_0x997951[_0x238cb5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x997951[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32a35d[_0x238cb5([0x76,0x63])],_0x419647(_0x32a35d)==_0x57e931;}}}async function _0x41920e(){let _0x4030c0=!0x0;try{const _0x598062=_0x26adce[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])](_0x238cb5([0x2e])),[_0x44bf3b,_0x568f44,_0x2bff20]=_0x598062;return _0x4615a7(_0x44bf3b),await _0x1a3f57(_0x44bf3b,_0x568f44,_0x2bff20),_0x4030c0;}catch{return!0x1;}function _0x4615a7(_0x52f5a3){const _0x585fa2=_0x2684fd(_0x52f5a3);_0x585fa2&&_0x585fa2[_0x238cb5([0x61,0x6c,0x67])]==_0x238cb5([0x45,0x53,0x32,0x35,0x36])||(_0x4030c0=!0x1);}async function _0x1a3f57(_0x5c3682,_0xcc7eb,_0xc456df){const _0x1a3cb1=window[_0x238cb5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x238cb5([0x66,0x72,0x6f,0x6d])](_0x3e78ca(_0xc456df),_0x449f10=>_0x449f10[_0x238cb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3dcbf5=new window[(_0x238cb5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x238cb5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c3682+_0x238cb5([0x2e])+_0xcc7eb),_0x491297=window[_0x238cb5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x238cb5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x491297)return;const _0x10e8e6=await _0x491297[_0x238cb5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x238cb5([0x6a,0x77,0x6b]),_0x3b1bfe,{[_0x238cb5([0x6e,0x61,0x6d,0x65])]:_0x238cb5([0x45,0x43,0x44,0x53,0x41]),[_0x238cb5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x238cb5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x238cb5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x491297[_0x238cb5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x238cb5([0x6e,0x61,0x6d,0x65])]:_0x238cb5([0x45,0x43,0x44,0x53,0x41]),[_0x238cb5([0x68,0x61,0x73,0x68])]:{[_0x238cb5([0x6e,0x61,0x6d,0x65])]:_0x238cb5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10e8e6,_0x1a3cb1,_0x3dcbf5)||(_0x4030c0=!0x1);}}function _0x2684fd(_0x490977){return _0x490977[_0x238cb5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x238cb5([0x65,0x79]))?JSON[_0x238cb5([0x70,0x61,0x72,0x73,0x65])](_0x3e78ca(_0x490977)):null;}function _0x3e78ca(_0x277e21){return window[_0x238cb5([0x61,0x74,0x6f,0x62])](_0x277e21[_0x238cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x238cb5([0x2b]))[_0x238cb5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x238cb5([0x2f])));}function _0x419647(_0x26cdb6){let _0x594f82=0x1505;function _0xebc118(_0x35a9ed){for(let _0x2cb80b=0x0;_0x2cb80b<_0x35a9ed[_0x238cb5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cb80b++){const _0x1608ff=_0x35a9ed[_0x238cb5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2cb80b);_0x594f82=(_0x594f82<<0x5)+_0x594f82+_0x1608ff,_0x594f82&=_0x594f82;}}function _0x1f61ca(_0x57cfac){Array[_0x238cb5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57cfac)?_0x57cfac[_0x238cb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f61ca):_0x57cfac&&typeof _0x57cfac==_0x238cb5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x238cb5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57cfac)[_0x238cb5([0x73,0x6f,0x72,0x74])]()[_0x238cb5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e7ae8,_0x1b7998])=>{_0xebc118(_0x5e7ae8),_0x1f61ca(_0x1b7998);}):_0xebc118(window[_0x238cb5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57cfac));}return _0x1f61ca(_0x26cdb6),_0x594f82>>>0x0;}function _0x50a5ba(_0x3eb4e8){return _0x3eb4e8[_0x238cb5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x238cb5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x238cb5([0x30]));}function _0x345f53(_0x1b126e){return _0x1b126e[_0x238cb5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x238cb5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x238cb5([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d2994(){}function _0x238cb5(_0x2bc9c9){return _0x2bc9c9['map'](_0x2b2a59=>String['fromCharCode'](_0x2b2a59))['join']('');}_0xe88d15(await _0x58be84());}(this);}['_moveSelectionToFootnoteDefinition'](_0x590f36){const {plugins:_0x46f69a,editing:_0x1ce2f2,model:_0x20d733}=this['editor'],_0x5dab49=_0x46f69a['get'](f)['getFootnote'](_0x590f36);return!!_0x5dab49&&(_0x20d733['change'](_0x4be26e=>{_0x4be26e['setSelection'](_0x4be26e['createPositionAt'](_0x5dab49['definition'],'end'));}),_0x1ce2f2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3c56e7){const {plugins:_0x46269d,editing:_0x3da93b,model:_0x417c51}=this['editor'],_0x5ee697=_0x46269d['get'](f)['getFootnote'](_0x3c56e7);return!!_0x5ee697&&(_0x417c51['change'](_0x54c549=>{_0x54c549['setSelection'](_0x5ee697['reference'],'on');}),_0x3da93b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32bc3a}=this['editor']['model'],_0xf67cfc=this['editor']['config']['get']('footnotes.multiBlock');_0x32bc3a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32bc3a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32bc3a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf67cfc?_0x32bc3a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32bc3a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32bc3a['addChildCheck'](_0x5cb883=>{for(const _0x3039c2 of _0x5cb883)if('footnoteDefinition'===_0x3039c2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x342671}=this,{conversion:_0x55e395,editing:_0x2cc283}=_0x342671,{t:t}=_0x342671['locale'];_0x55e395['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x15ec98,{writer:_0x2206f7,consumable:_0x5c5d1d})=>{const _0x130969=_0x15ec98['getChild'](0x0);if(!_0x130969||!_0x130969['is']('element','a'))return null;const _0x4fcc53=_0x130969['getAttribute']('href')||'';if(!_0x4fcc53['startsWith']('#'))return null;const _0x4fd8e3=_0x4fcc53['replace'](/^#/,'');if(!_0x4fd8e3)return null;_0x5c5d1d['consume'](_0x130969,{'name':!0x0,'attributes':['href']});for(const {item:_0x40204b}of _0x2cc283['view']['createRangeIn'](_0x130969))_0x40204b['is']('$textProxy')?_0x5c5d1d['consume'](_0x40204b['textNode'],{'name':!0x0}):_0x40204b['is']('element')&&_0x5c5d1d['consume'](_0x40204b,{'name':!0x0});return _0x2206f7['createElement']('footnoteRef',{'footnoteId':_0x4fd8e3});}}),_0x55e395['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3aa4ec,{writer:_0x4e2f36})=>b(_0x3aa4ec,_0x4e2f36)}),_0x55e395['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1a0c9f,{writer:_0x5363cd})=>{const _0x47c6d9=_0x1a0c9f['getAttribute']('footnoteCounter');return _0x192168(b(_0x1a0c9f,_0x5363cd),_0x5363cd,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x47c6d9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x12db08}=this,{t:t}=_0x12db08['locale'],{conversion:_0x12dae3}=_0x12db08;_0x12dae3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x12dae3['for']('upcast')['add'](_0x1aeda1=>{_0x1aeda1['on']('element:ol',(_0x164a8e,_0x504bc3,_0x13bd54)=>{const _0x4fd32a=_0x504bc3['viewItem'];if(!_0x4fd32a['hasClass']('footnotes-list')||!_0x504bc3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x13bd54['consumable']['consume'](_0x4fd32a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28baf9,modelCursor:_0x396ff0}=_0x13bd54['convertChildren'](_0x504bc3['viewItem'],_0x504bc3['modelCursor']);_0x504bc3['modelRange']=_0x28baf9,_0x504bc3['modelCursor']=_0x396ff0;}),_0x1aeda1['on']('element:hr',(_0x1becfb,_0x38521c,_0x1af66)=>{const _0x5386ed=_0x38521c['viewItem'];_0x5386ed['hasClass']('footnotes-divider')&&_0x38521c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1af66['consumable']['consume'](_0x5386ed,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x12dae3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f0496,{writer:_0x57c45a})=>D(_0x57c45a)}),_0x12dae3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4e703d,{writer:_0x50c942})=>{const _0x531098=D(_0x50c942,{'data-footnotes-list-label':t('Footnotes')}),_0x1c1799=_0x192168(_0x531098,_0x50c942,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x50c942['setCustomProperty']('footnotesDefinitions',!0x0,_0x1c1799),_0x1c1799;}});}['_defineDefinitionConverters'](){const {editor:_0x1e0a85}=this,{conversion:_0x2bc9ce,locale:_0x12d572}=_0x1e0a85,_0x314a77=_0x1e0a85['config']['get']('footnotes.multiBlock');_0x2bc9ce['for']('upcast')['add'](_0x3ca726=>{_0x3ca726['on']('element:li',(_0x132dfd,_0x30b880,_0x38bfca)=>{const _0x214b65=_0x30b880['viewItem'];if(!_0x214b65['hasClass']('footnote-definition')||!_0x214b65['getAttribute']('id'))return;const _0x46f2c3=_0x214b65['parent'];if(!_0x46f2c3['is']('element','ol')||!_0x46f2c3['hasClass']('footnotes-list'))return;if(!_0x38bfca['consumable']['test'](_0x214b65,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x492f5f=_0x38bfca['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x214b65['getAttribute']('id')});if(!_0x38bfca['safeInsert'](_0x492f5f,_0x30b880['modelCursor']))return;_0x38bfca['consumable']['consume'](_0x214b65,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x537d86=Array['from'](_0x214b65['getChildren']())['find'](_0x478506=>_0x478506['is']('element')&&_0x478506['hasClass']('footnote-content'));for(const _0x273506 of _0x214b65['getChildren']())_0x273506['is']('element')&&(_0x38bfca['consumable']['consume'](_0x273506,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x38bfca['consumable']['consume'](_0x273506,{'name':!0x0,'classes':'footnote-content'}));if(_0x537d86){if(_0x314a77)_0x38bfca['convertChildren'](_0x537d86,_0x492f5f);else{const _0x33cbf2=_0x38bfca['writer']['createElement']('footnoteInlineContent');_0x38bfca['writer']['insert'](_0x33cbf2,_0x492f5f),_0x38bfca['convertChildren'](_0x537d86,_0x33cbf2);}}_0x38bfca['updateConversionResult'](_0x492f5f,_0x30b880);});}),_0x2bc9ce['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20730a,{writer:_0x5872e8})=>y(_0x20730a,_0x5872e8,_0x12d572,{'dataPipeline':!0x0})}),_0x2bc9ce['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2af7e8,{writer:_0x4e27d1})=>y(_0x2af7e8,_0x4e27d1,_0x12d572)});}['_defineBogusParagraphConverters'](){const {editor:_0xfb2bb5}=this,{conversion:_0x123a69}=_0xfb2bb5;_0xfb2bb5['config']['get']('footnotes.multiBlock')?(_0x123a69['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x123a69['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xfb2bb5['model']['document'],'change:data',()=>{!function(_0x49279c,_0x59dd77){const _0x3d66ce=_0x49279c['document']['differ'],_0x163c57=new Set();for(const _0x279edd of _0x3d66ce['getChanges']()){const _0x9234a5='attribute'==_0x279edd['type']?_0x279edd['range']['start']['parent']:_0x279edd['position']['parent'];_0x9234a5['is']('element','footnoteDefinition')&&_0x163c57['add'](_0x9234a5);}for(const _0xea4208 of _0x163c57['values']()){const _0x524876=Array['from'](_0xea4208['getChildren']())['filter'](_0x4e32c5=>v(_0x4e32c5,_0x59dd77['mapper']));for(const _0xad4049 of _0x524876)_0x59dd77['reconvertItem'](_0xad4049);}}(_0xfb2bb5['model'],_0xfb2bb5['editing']);})):(_0x123a69['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x123a69['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x130cd2,{writer:_0x139514})=>{const _0x45331d=_0x139514['createContainerElement']('span');return _0x139514['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x45331d),_0x45331d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x535767}=this,{editing:_0x59411b,t:t}=_0x535767,_0x50729b=_0x535767['model']['document']['selection'];_0x535767['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x535767['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x59411b['view']['document'],'enter',(_0xe3186d,_0x3adeae)=>{const _0x53d653=function(_0x458065){const _0x1e541d=_0x458065['getSelectedElement']();if(_0x1e541d?.['is']('element','footnoteRef'))return _0x1e541d;return null;}(_0x50729b);if(_0x53d653){const _0x39757f=_0x53d653['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x39757f),_0x3adeae['preventDefault'](),_0xe3186d['stop']();}},{'context':_0x335e2d});}['_defineClickHandlers'](){const {editor:_0x505414}=this,{editing:_0x4f0c21}=_0x505414;_0x505414['editing']['view']['addObserver'](_0x4c3c27),_0x505414['editing']['view']['addObserver'](_0x35818a);let _0x52e672=!0x1;this['listenTo'](_0x4f0c21['view']['document'],'pointerdown',(_0x4b2404,_0x35a52e)=>{const {target:_0x7593e4}=_0x35a52e,_0xbbcca9=_0x4f0c21['view']['document']['selection'];_0x52e672=!!(_0x7593e4?.['is']('element','a')&&_0x7593e4['parent']?.['is']('element','sup')&&_0x7593e4['parent']['hasClass']('footnote'))&&_0xbbcca9['getSelectedElement']()===_0x7593e4['parent'];},{'priority':'high'}),this['listenTo'](_0x4f0c21['view']['document'],'click',(_0x5df015,_0x28e374)=>{const {target:_0x4f0e5d}=_0x28e374;if(!_0x4f0e5d?.['is']('element','a'))return;if(_0x4f0e5d['parent']?.['is']('element','sup')&&_0x4f0e5d['parent']['hasClass']('footnote')&&!_0x52e672)return void _0x28e374['preventDefault']();let _0x2fa9ee=_0x4f0e5d['getAttribute']('href');if(!_0x2fa9ee?.['startsWith']('#'))return;_0x2fa9ee=_0x2fa9ee['slice'](0x1);let _0x1234f3=!0x1;(_0x2fa9ee['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2fa9ee['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2fa9ee))&&(_0x1234f3=!0x0),_0x1234f3&&(_0x28e374['preventDefault'](),_0x5df015['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5aa517}={}){return(_0x5d1c98,{writer:_0x10f8c5})=>{if(!g(_0x5d1c98))return null;if(!_0x5aa517)return _0x10f8c5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4295d5=_0x10f8c5['createContainerElement']('p');return _0x10f8c5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4295d5),_0x4295d5;};}function g(_0x56604d){const {parent:_0x2031c0}=_0x56604d;if(!_0x2031c0?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2031c0['childCount'])return!0x1;for(const _0x443e3d of _0x56604d['getAttributeKeys']())if(!_0x443e3d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x443e3d)return!0x1;return!0x0;}function v(_0x362b27,_0x13734f){if(!_0x362b27['is']('element','paragraph'))return!0x1;const _0x1fdec6=_0x13734f['toViewElement'](_0x362b27);return!!_0x1fdec6&&g(_0x362b27)!==_0x1fdec6['is']('element','span');}function H(_0x2ba2c9){return _0x335e2d(_0x2ba2c9)&&_0x2ba2c9['is']('containerElement')&&!!_0x2ba2c9['getCustomProperty']('footnotesDefinitions');}function D(_0x3436a5,_0x574702={}){const _0x5b89f6=_0x3436a5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4b6bae=_0x3436a5['createContainerElement']('ol',{'class':'footnotes-list'},_0x3436a5['createSlot']());return _0x3436a5['createContainerElement']('div',{'class':'footnotes',..._0x574702},[_0x5b89f6,_0x4b6bae]);}function b(_0x1a7ad8,_0x38a1fd){const _0x5cad72=_0x1a7ad8['getAttribute']('footnoteId'),_0x4c5797=_0x1a7ad8['getAttribute']('footnoteCounter'),_0x5c322e=_0x38a1fd['createUIElement']('a',{'href':'#'+_0x5cad72},function(_0x1ef237){const _0x507590=this['toDomElement'](_0x1ef237);return _0x507590['textContent']=_0x4c5797,_0x507590;}),_0x1e813c=_0x38a1fd['createContainerElement']('sup',{'id':'ref-'+_0x5cad72,'class':'footnote'},[_0x5c322e]);return _0x1e813c['getFillerOffset']=()=>null,_0x1e813c;}function y(_0x29578a,_0x2df7c0,_0x118ede,{dataPipeline:_0x137906}={}){const {t:t}=_0x118ede,_0x47df14=_0x29578a['getAttribute']('footnoteId'),_0x16f7da=_0x2df7c0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x47df14},function(_0x1852b6){const _0x44cf40=this['toDomElement'](_0x1852b6);return _0x44cf40['innerText']='^',_0x44cf40;}),_0x47bfe9=_0x137906?_0x2df7c0['createContainerElement']('div',{'class':'footnote-content'}):_0x4071db(_0x2df7c0['createEditableElement']('div',{'class':'footnote-content'}),_0x2df7c0,{'label':t('Footnote\x20content.')});return _0x2df7c0['insert'](_0x2df7c0['createPositionAt'](_0x47bfe9,0x0),_0x2df7c0['createSlot']()),_0x2df7c0['createContainerElement']('li',{'class':'footnote-definition','id':_0x47df14},[_0x16f7da,_0x47bfe9]);}class e extends _0x3eb2b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3c5634];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x32339d}=this,{plugins:_0x4b1a0e,model:_0x1400d7}=_0x32339d,_0x584bc1=_0x4b1a0e['get'](_0x3c5634),_0x264903=_0x4b1a0e['get'](f);this['listenTo'](_0x584bc1,'outputTransformation',(_0x22f4fd,_0x377edf)=>{const _0x3e53c5=l(_0x1400d7['createRangeIn'](_0x377edf['content']));if(!_0x3e53c5['length'])return;const _0x546f7c=_0x264903['getFootnotes'](),_0x547129=_0x3e53c5['reduce']((_0x250095,_0x253cd6)=>{const _0xc14966=_0x546f7c['find'](_0x4f6958=>_0x4f6958['id']===_0x253cd6);if(_0xc14966){const _0x20c228=_0x32339d['data']['toView'](_0xc14966['definition'],{'isClipboardPipeline':!0x0}),_0x41de0e=_0x32339d['data']['htmlProcessor']['toData'](_0x20c228);_0x250095[_0xc14966['id']]=_0x41de0e;}return _0x250095;},Object['create'](null));_0x377edf['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x547129));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1923d2}=this,{model:_0x31d3ed,plugins:_0x5a7c00}=_0x1923d2,{view:_0x518814}=_0x1923d2['editing'],_0x307747=_0x5a7c00['get'](_0x3c5634),_0x1f885c=_0x5a7c00['get'](f),_0x94835f=_0x1923d2['config']['get']('footnotes.multiBlock');let _0x27d41f=null;this['listenTo'](_0x518814['document'],'clipboardInput',(_0x1b185c,_0x117ea4)=>{const _0xc59259=_0x117ea4['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x27d41f=_0xc59259?JSON['parse'](_0xc59259):null;}),this['listenTo'](_0x307747,'contentInsertion',(_0x12768a,_0x327519)=>{const _0x3ec52e=_0x327519['sourceEditorId']===this['editor']['id'];_0x3ec52e&&'drop'===_0x327519['method']||_0x31d3ed['change'](_0x59a0b5=>{let _0x3ce090=_0x1f885c['getFootnotesDefinitionsObjectElement']();const _0x47f4ac=!!_0x3ce090&&Array['from'](_0x31d3ed['document']['selection']['getSelectedBlocks']())['includes'](_0x3ce090);if(!_0x27d41f&&function(_0x162531){for(const {item:_0x2fee7b}of _0x162531)if(_0x2fee7b['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x31d3ed['createRangeIn'](_0x327519['content']))&&(_0x27d41f=function(_0x497df8,_0x23d3ff){const _0x19c941=c(_0x497df8,_0x23d3ff);if(!_0x19c941)return null;const _0x58a067=Object['create'](null);for(const _0x3ead48 of _0x19c941['getChildren']())_0x3ead48['is']('element','footnoteDefinition')&&_0x3ead48['hasAttribute']('footnoteId')&&(_0x58a067[_0x3ead48['getAttribute']('footnoteId')]=_0x497df8['cloneElement'](_0x3ead48,!0x0));return Object['keys'](_0x58a067)['length']?_0x58a067:null;}(_0x59a0b5,_0x327519['content'])),(_0x3ce090&&!_0x47f4ac||!_0x3ce090&&!_0x27d41f)&&function(_0x50adbb,_0x2e3073){const _0x44ea03=[];for(const {item:_0x46035d}of _0x50adbb['createRangeIn'](_0x2e3073))_0x46035d['is']('element','footnotesDefinitions')&&_0x44ea03['push'](_0x46035d);for(const _0xd0ef14 of _0x44ea03)_0x50adbb['remove'](_0xd0ef14);}(_0x59a0b5,_0x327519['content']),!_0x27d41f)return;const {selection:_0x22a4bf}=_0x31d3ed['document'],_0x44b57c=_0x22a4bf['getFirstRange']()['root'];_0x3ce090&&!_0x47f4ac||(_0x3ce090=c(_0x59a0b5,_0x327519['content']),_0x3ce090||=_0x1f885c['_insertEmptyFootnotesDefinitionsContainer'](_0x59a0b5,_0x44b57c));const _0x51cc53=Array['from'](_0x22a4bf['getRanges']())['flatMap'](l),_0x2fd487=function(_0x7d189e,_0x3bca62,_0x269b4b){const _0x355e4f=Object['create'](null);for(const {item:_0x3fbe6f}of _0x7d189e['createRangeIn'](_0x3bca62))if(_0x3fbe6f['is']('element','footnoteRef')){const _0x5547f1=_0x3fbe6f['getAttribute']('footnoteId');if(!_0x269b4b(_0x5547f1))continue;_0x355e4f[_0x5547f1]||(_0x355e4f[_0x5547f1]=_0x21759c()),_0x7d189e['setAttribute']('footnoteId',_0x355e4f[_0x5547f1],_0x3fbe6f);}return _0x355e4f;}(_0x59a0b5,_0x327519['content'],_0x1e4827=>{if(!_0x3ec52e)return!0x0;return!!_0x1f885c['getFootnote'](_0x1e4827)&&!_0x51cc53['includes'](_0x1e4827);});for(const [_0x537e76,_0x295680]of Object['entries'](_0x27d41f)){const _0x513527=_0x2fd487[_0x537e76]||_0x537e76;let _0x8078c3;if('string'!=typeof _0x295680)_0x8078c3=_0x295680,_0x513527!==_0x537e76&&_0x59a0b5['setAttribute']('footnoteId',_0x513527,_0x8078c3);else{_0x8078c3=_0x59a0b5['createElement']('footnoteDefinition',{'footnoteId':_0x513527});const _0x28b091=_0x1923d2['data']['htmlProcessor']['toView'](_0x295680);let _0x4fba93;if(_0x94835f)_0x4fba93=_0x1923d2['data']['toModel'](_0x28b091,_0x8078c3);else{_0x4fba93=_0x59a0b5['createElement']('footnoteInlineContent');const _0x58e81e=_0x1923d2['data']['toModel'](_0x28b091,_0x4fba93);_0x59a0b5['insert'](_0x58e81e,_0x4fba93);}_0x59a0b5['append'](_0x4fba93,_0x8078c3);}_0x59a0b5['insert'](_0x8078c3,_0x3ce090,'end');}_0x27d41f=null;});});}}function c(_0x3a9dde,_0x39dba1){for(const {item:_0x1c3ef7}of _0x3a9dde['createRangeIn'](_0x39dba1))if(_0x1c3ef7['is']('element','footnotesDefinitions'))return _0x1c3ef7;return null;}function l(_0x4932e5){const _0xb699f7=new Set();for(const {item:_0x97099}of _0x4932e5)_0x97099['is']('element','footnoteRef')&&_0xb699f7['add'](_0x97099['getAttribute']('footnoteId'));return Array['from'](_0xb699f7);}class i extends _0x3eb2b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47892e}=this,{componentFactory:_0x2c3234}=_0x47892e['ui'];_0x2c3234['add']('insertFootnote',E(_0x47892e,_0x50a4fc)),_0x2c3234['add']('menuBar:insertFootnote',E(_0x47892e,_0x280159)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x324ed3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x37e275;for(const _0x5a1ba5 in _0x324ed3){const _0x16df25=_0x5a1ba5,_0x1ffc7c=_0x324ed3[_0x16df25];if('footnotesLicenseKeyValid'==_0x1ffc7c||'footnotesLicenseKeyInvalid'==_0x1ffc7c||'footnotesLicenseKeyExpired'==_0x1ffc7c||'footnotesLicenseKeyDomainLimit'==_0x1ffc7c||'footnotesLicenseKeyNotAllowed'==_0x1ffc7c||'footnotesLicenseKeyEvaluationLimit'==_0x1ffc7c||'footnotesLicenseKeyUsageLimit'==_0x1ffc7c){delete _0x324ed3[_0x16df25],_0x37e275=_0x1ffc7c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x37e275&&_0x324ed3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x37e275&&_0x324ed3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x37e275&&_0x324ed3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x37e275&&_0x324ed3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x37e275&&_0x324ed3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x37e275&&_0x324ed3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x16db63,_0x3e054b){const _0x2ef1e8=_0x16db63['commands']['get']('insertFootnote');return _0x191945=>{const {t:t}=_0x191945,_0x1123ba=new _0x3e054b(_0x191945),_0x1cbd04=_0x1123ba instanceof _0x280159;return _0x1123ba['bind']('isEnabled')['to'](_0x2ef1e8,'isEnabled'),_0x1123ba['set']({'label':t(_0x1cbd04?'Footnote':'Insert\x20footnote'),'icon':_0x28d033,'tooltip':!0x0}),_0x1123ba['on']('execute',()=>{_0x2ef1e8['execute'](),_0x16db63['editing']['view']['focus']();}),_0x1123ba;};}class lt extends _0x3eb2b6{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 _0x344bd1{['refresh'](){const {editor:_0x101ea3}=this,_0x3d25c1=_0x101ea3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3d25c1,this['value']=_0x3d25c1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x33c838}){const {editor:_0x482eb7}=this,_0x418708=_0x482eb7['plugins']['get'](f),_0x1bb033=_0x418708['getFootnotesDefinitionsObjectElement']();_0x1bb033&&ct['includes'](_0x33c838)&&_0x482eb7['model']['change'](_0x9b70ef=>{_0x9b70ef['setAttribute']('footnotesListStyle',_0x33c838,_0x1bb033),_0x418708['_updateFootnotesCounters'](_0x9b70ef);});}}class C extends _0x344bd1{['refresh'](){const {editor:_0x202a1a}=this,_0x44eba3=_0x202a1a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x44eba3,this['value']=_0x44eba3?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2814a0}){const {editor:_0x380d5e}=this,_0x312db5=_0x380d5e['plugins']['get'](f),_0x21ee25=_0x312db5['getFootnotesDefinitionsObjectElement']();_0x21ee25&&Number['isInteger'](_0x2814a0)&&_0x380d5e['model']['change'](_0x515572=>{_0x515572['setAttribute']('footnotesListStart',_0x2814a0,_0x21ee25),_0x312db5['_updateFootnotesCounters'](_0x515572);});}}class P extends _0x3eb2b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17c866}=this;_0x17c866['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x17c866['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x17c866['commands']['add']('footnotesStyle',new S(_0x17c866)),_0x17c866['commands']['add']('footnotesStart',new C(_0x17c866)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3afdb9}=this,{schema:_0x19f242}=_0x3afdb9['model'];_0x19f242['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x562a11}=this,{conversion:_0x256235,model:_0x2c5d11}=_0x562a11,{schema:_0x481504}=_0x2c5d11;_0x256235['for']('upcast')['add'](_0x496ca4=>{_0x496ca4['on']('element:ol',(_0x8ae69,_0x4844df,_0x552c92)=>{const _0x5b336e=_0x4844df['viewItem'],_0xb13b59=_0x4844df['modelCursor']?.['parent'];_0x5b336e['hasClass']('footnotes-list')&&_0xb13b59?.['is']('element','footnotesDefinitions')&&(function(_0x4cb260,_0x10d6d4,_0x38cb4f,_0x4c1f93){if(!_0x4c1f93['checkAttribute'](_0x10d6d4,'footnotesListStart'))return;let _0x12ee28=0x1;const _0x41b06f=_0x38cb4f['consumable']['consume'](_0x4cb260,{'attributes':'start'});if(_0x41b06f){const _0x289949=Number['parseInt'](_0x4cb260['getAttribute']('start'),0xa);Number['isNaN'](_0x289949)||(_0x12ee28=_0x289949);}!_0x41b06f&&_0x10d6d4['hasAttribute']('footnotesListStart')||_0x38cb4f['writer']['setAttribute']('footnotesListStart',_0x12ee28,_0x10d6d4);}(_0x5b336e,_0xb13b59,_0x552c92,_0x481504),function(_0x5e5baa,_0x4d13f9,_0x536ea3,_0x178502){if(!_0x178502['checkAttribute'](_0x4d13f9,'footnotesListStyle'))return;let _0x11b689='decimal',_0x335860=!0x1;if(_0x536ea3['consumable']['consume'](_0x5e5baa,{'attributes':'type'})){const _0x20bb20={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e5baa['getAttribute']('type')];_0x20bb20&&(_0x11b689=_0x20bb20),_0x335860=!0x0;}_0x536ea3['consumable']['consume'](_0x5e5baa,{'styles':'list-style-type'})&&(_0x11b689=function(_0x4dc8ba){switch(_0x4dc8ba){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4dc8ba;}}(_0x5e5baa['getStyle']('list-style-type')),_0x335860=!0x0),!_0x335860&&_0x4d13f9['hasAttribute']('footnotesListStyle')||_0x536ea3['writer']['setAttribute']('footnotesListStyle',_0x11b689,_0x4d13f9);}(_0x5b336e,_0xb13b59,_0x552c92,_0x481504));});}),_0x256235['for']('downcast')['add'](_0x3d2eee=>{_0x3d2eee['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x161901,_0x4d725d,_0x5a7d8d)=>{if(!_0x5a7d8d['consumable']['consume'](_0x4d725d['item'],_0x161901['name']))return;const _0x138a27=M(_0x4d725d['item'],_0x5a7d8d['mapper']),{attributeNewValue:_0x3542cf}=_0x4d725d;null==_0x3542cf||0x1===_0x3542cf?_0x5a7d8d['writer']['removeAttribute']('start',_0x138a27):_0x5a7d8d['writer']['setAttribute']('start',String(_0x3542cf),_0x138a27);}),_0x3d2eee['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2b51ee,_0xc045de,_0x1f364e)=>{if(!_0x1f364e['consumable']['consume'](_0xc045de['item'],_0x2b51ee['name']))return;const _0x2c26b9=M(_0xc045de['item'],_0x1f364e['mapper']),{attributeNewValue:_0x120634}=_0xc045de;_0x120634&&'decimal'!==_0x120634?_0x1f364e['writer']['setStyle']('list-style-type',_0x120634,_0x2c26b9):_0x1f364e['writer']['removeStyle']('list-style-type',_0x2c26b9);});});}['_definePostfixer'](){const {editor:_0x9d6d8f}=this,{model:_0x193935}=_0x9d6d8f,_0xdc1b3b=_0x9d6d8f['plugins']['get'](f),_0x249b5d=this['_getDefaultListStyle'](),_0x5a2de4=this['_getDefaultStartIndex']();_0x193935['document']['registerPostFixer'](_0x4adbc4=>{const _0x341b57=_0x193935['document']['differ']['getChanges']();let _0x5f1555=!0x1;for(const _0x19b98e of _0x341b57){if('insert'!==_0x19b98e['type']||'$text'===_0x19b98e['name'])continue;const _0x458930=_0x193935['createRangeOn'](_0x19b98e['position']['nodeAfter']);for(const _0x5dedf4 of _0x458930['getItems']())_0x5dedf4['is']('element','footnotesDefinitions')&&(!_0x5dedf4['hasAttribute']('footnotesListStart')&&_0x193935['schema']['checkAttribute'](_0x5dedf4,'footnotesListStart')&&(_0x4adbc4['setAttribute']('footnotesListStart',_0x5a2de4,_0x5dedf4),_0x5f1555=!0x0),!_0x5dedf4['hasAttribute']('footnotesListStyle')&&_0x193935['schema']['checkAttribute'](_0x5dedf4,'footnotesListStyle')&&(_0x4adbc4['setAttribute']('footnotesListStyle',_0x249b5d,_0x5dedf4),_0x5f1555=!0x0));}return _0x5f1555&&_0xdc1b3b['_updateFootnotesCounters'](_0x4adbc4),_0x5f1555;});}['_defineFormatter'](){const {editor:_0x1e241a}=this;_0x1e241a['plugins']['get'](f)['setFootnoteFormatter'](_0x26fc57=>this['_formatFootnoteListValue'](_0x26fc57));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x347147,value:_0x689152,digits:_0x386c69}){const _0x2e5e22=_0x347147['getAttribute']('footnotesListStyle'),_0x56daac=_0x347147['getAttribute']('footnotesListStart'),_0x2eb827=Math['floor'](_0x689152)+(_0x56daac??0x1)-0x1;switch(_0x2e5e22){case'decimal-leading-zero':return function(_0x48492c,_0x550d19){return String(_0x48492c)['padStart'](_0x550d19,'0');}(_0x2eb827,Math['max'](0x2,_0x386c69));case'lower-alpha':case'lower-latin':return N(_0x2eb827,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2eb827,!0x0);case'lower-roman':return X(_0x2eb827,!0x1);case'upper-roman':return X(_0x2eb827,!0x0);default:return String(_0x2eb827);}}}function M(_0x125e9e,_0x3b10b8){const _0xe99659=_0x3b10b8['toViewElement'](_0x125e9e);return Array['from'](_0xe99659['getChildren']())['find'](_0x7ad492=>_0x7ad492['is']('element','ol')&&_0x7ad492['hasClass']('footnotes-list'));}function N(_0xde8d00,_0x412930){let _0x261707='',_0x36e6f0=_0xde8d00;for(;_0x36e6f0>0x0;){const _0x5c6062=(_0x36e6f0-0x1)%0x1a;_0x261707=String['fromCharCode'](0x61+_0x5c6062)+_0x261707,_0x36e6f0=Math['floor']((_0x36e6f0-0x1)/0x1a);}return _0x412930?_0x261707['toUpperCase']():_0x261707;}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(_0x3c36f2,_0x149afc){let _0x5a03ff='',_0x2c7f45=_0x3c36f2;for(const {value:_0x1384b2,numeral:_0x566387}of V)for(;_0x2c7f45>=_0x1384b2;)_0x5a03ff+=_0x566387,_0x2c7f45-=_0x1384b2;return _0x149afc?_0x5a03ff:_0x5a03ff['toLowerCase']();}class $ extends _0x541b03{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x474080();['focusCycler'];constructor(_0x3fde19,{styleButtonViews:_0x1cead1,styleGridAriaLabel:_0x538223}){super(_0x3fde19),(this['focusCycler']=new _0xae8ef8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1cead1,_0x538223),[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 _0x5b396c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5b396c['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 _0x22f047=_0x13d5ef=>_0x13d5ef['stopPropagation']();this['keystrokes']['set']('arrowright',_0x22f047),this['keystrokes']['set']('arrowleft',_0x22f047),this['keystrokes']['set']('arrowup',_0x22f047),this['keystrokes']['set']('arrowdown',_0x22f047);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x281df8,_0x3ec052){const _0x3ca972=new _0x541b03(this['locale']);return _0x3ca972['children']=_0x3ca972['createCollection'](),_0x3ca972['children']['addMany'](_0x281df8),_0x3ca972['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ec052,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ca972['children']}),_0x3ca972['children']['delegate']('execute')['to'](this),_0x3ca972['focus']=function(){for(const _0x4995e3 of this['children'])if(_0x4995e3 instanceof _0x50a4fc&&_0x4995e3['isOn'])return void _0x4995e3['focus']();this['children']['first']['focus']();},_0x3ca972['focusTracker']=new ot(),_0x3ca972['keystrokes']=new rt(),_0x3ca972['render'](),_0x3ca972['keystrokes']['listenTo'](_0x3ca972['element']),this['children']['add'](_0x3ca972),_0x3ca972;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2bc438=this['_createStartIndexPropertyView'](),_0x4649d6=[_0x2bc438],_0x1b5da8=new st(this['locale'],_0x4649d6);return _0x1b5da8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1b5da8['buttonView']['bind']('isEnabled')['toMany'](_0x4649d6,'isEnabled',(..._0xb79e49)=>_0xb79e49['some'](_0x3de0bc=>_0x3de0bc)),_0x1b5da8['buttonView']['on']('change:isEnabled',(_0x71e5b3,_0x2d972c,_0x30851e)=>{_0x30851e||(_0x1b5da8['isCollapsed']=!0x0);}),this['children']['add'](_0x1b5da8),[_0x2bc438,_0x1b5da8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xd0805b=new it(this['locale'],et);return _0xd0805b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xd0805b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xd0805b['fieldView']['on']('input',()=>{const _0x53b8bc=_0xd0805b['fieldView']['element'],_0x54c750=_0x53b8bc['valueAsNumber'];Number['isNaN'](_0x54c750)?_0xd0805b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x53b8bc['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x54c750}):_0xd0805b['errorText']=t(_0x54c750<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xd0805b;}}class j extends _0x3eb2b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x23b049,_0x2198c7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x496bfa}=this,{componentFactory:_0x3428fd}=_0x496bfa['ui'];_0x496bfa['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3428fd['add']('footnotesStyle',function(_0x5c6ada){return _0xa30db2=>{const {t:t}=_0xa30db2,_0x42d682=_0x5c6ada['commands']['get']('footnotesStyle'),_0x22b5d5=_0x43fc65(_0xa30db2),{buttonView:_0x31721a}=_0x22b5d5;return _0x22b5d5['class']='ck-footnotes-styles-dropdown',_0x22b5d5['bind']('isEnabled')['to'](_0x42d682,'isEnabled'),_0x31721a['set']({'label':t('Footnotes\x20style'),'icon':_0x28d033,'tooltip':!0x0}),_0x22b5d5['once']('change:isOpen',()=>{const _0x5deacc=function({editor:_0x573d00,dropdownView:_0x24a4c4}){const {t:t}=_0x573d00['locale'],_0x4a1d4d=t('Footnotes\x20definitions\x20styles'),_0x4935b6=function(_0x185817){const t=_0x185817['locale']['t'],_0xcc4ded=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xd223d4},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xd57c0},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x38c7c0},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5e7c7a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x32c0f0},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x556717}];return _0xcc4ded['map'](function(_0x39730d){const _0x370c12=_0x39730d['locale'];return({label:_0x48ec5a,icon:_0x5aeffe,tooltip:_0x557cd3,style:_0x253364})=>{const _0xface38=_0x39730d['commands']['get']('footnotesStyle'),_0x4bbb60=new _0x50a4fc(_0x370c12);return _0x4bbb60['set']({'label':_0x48ec5a,'icon':_0x5aeffe,'tooltip':_0x557cd3}),_0x4bbb60['bind']('isOn')['to'](_0xface38,'value',_0x1ef729=>_0x1ef729===_0x253364),_0x4bbb60['bind']('isEnabled')['to'](_0xface38,'isEnabled'),_0x4bbb60['on']('execute',()=>{_0x39730d['execute']('footnotesStyle',{'value':_0x253364}),_0x39730d['editing']['view']['focus']();}),_0x4bbb60;};}(_0x185817));}(_0x573d00),_0x4d97af=new $(_0x573d00['locale'],{'styleGridAriaLabel':_0x4a1d4d,'styleButtonViews':_0x4935b6}),_0x5e8021=_0x573d00['commands']['get']('footnotesStart');return _0x4d97af['startIndexFieldView']['bind']('isEnabled')['to'](_0x5e8021),_0x4d97af['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5e8021),_0x4d97af['on']('footnotesListStart',(_0x378b71,_0x13bb10)=>{_0x573d00['execute']('footnotesStart',{'value':_0x13bb10['startIndex']});}),_0x4d97af['delegate']('execute')['to'](_0x24a4c4),_0x4d97af;}({'editor':_0x5c6ada,'dropdownView':_0x22b5d5});_0x22b5d5['panelView']['children']['add'](_0x5deacc);}),_0x22b5d5;};}(_0x496bfa));}['afterInit'](){const {editor:_0x29b614}=this,{t:t}=_0x29b614['locale'],_0x5eb8b3=_0x29b614['plugins']['get'](_0x2198c7),{defaultPositions:_0x1c5202}=_0x2930c1;_0x5eb8b3['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x29b614['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x550fd0=>{let _0x50c572=_0x550fd0['getFirstPosition']()?.['parent'];return _0x50c572?.['is']('$text')&&(_0x50c572=_0x50c572['parent']),_0x50c572?.['is']('element')?_0x50c572['findAncestor'](H):null;},'positions':[_0x1c5202['southArrowNorth'],_0x1c5202['southArrowNorthMiddleWest'],_0x1c5202['southArrowNorthMiddleEast'],_0x1c5202['southArrowNorthWest'],_0x1c5202['southArrowNorthEast'],_0x1c5202['northArrowSouth'],_0x1c5202['northArrowSouthMiddleWest'],_0x1c5202['northArrowSouthMiddleEast'],_0x1c5202['northArrowSouthWest'],_0x1c5202['northArrowSouthEast'],_0x1c5202['viewportStickyNorth']]});}}class ft extends _0x3eb2b6{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 _0x28cc82,Command as _0x1d614c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x8b8f2f,isWidget as _0x518734,toWidgetEditable as _0x51ebe0,WidgetToolbarRepository as _0x3f0282}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x36bd7e,logWarning as _0xe33130,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x41d332,ClickObserver as _0x4b9820}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5ecd6f}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4842a8,ButtonView as _0x268ce6,View as _0xaed57d,ViewCollection as _0x1f100a,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x2b6024,BalloonPanelView as _0x25c226,createDropdown as _0x22a2bf}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xb3f0a0,IconListStyleDecimal as _0x4b9445,IconListStyleDecimalLeadingZero as _0xb9385d,IconListStyleLowerRoman as _0x33e745,IconListStyleUpperRoman as _0x5737aa,IconListStyleLowerLatin as _0x5090ba,IconListStyleUpperLatin as _0x1904fb}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3ef209,_0xb763ca){this['_model']=_0x3ef209,this['_elementName']=_0xb763ca['elementName'],this['_getElementKey']=_0xb763ca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b8081){const _0x178255=new Set(),_0x48e4c2=new Map();for(const _0x1179a4 of _0x5b8081){if('insert'===_0x1179a4['type']&&'$text'!==_0x1179a4['name']&&_0x1179a4['position']['nodeAfter']){const _0x42c8cc=this['_model']['createRangeOn'](_0x1179a4['position']['nodeAfter']);for(const _0x35f5cb of _0x42c8cc['getItems']()){if(!_0x35f5cb['is']('element',this['_elementName']))continue;const _0x158913=this['_getElementKey'](_0x35f5cb);_0x48e4c2['has'](_0x158913)||_0x48e4c2['set'](_0x158913,[]),_0x48e4c2['get'](_0x158913)['push'](_0x35f5cb);}}if('remove'===_0x1179a4['type']&&_0x1179a4['name']===this['_elementName']){const _0x1feb4c=this['_getElementKey']({'getAttribute':_0x340885=>_0x1179a4['attributes']['get'](_0x340885)});_0x178255['add'](_0x1feb4c);}}for(const [_0x372989,_0xbea94]of this['_trackedElements'])'$graveyard'===_0xbea94['root']['rootName']&&_0x178255['add'](_0x372989);for(const _0x16fd36 of _0x178255)this['_trackedElements']['delete'](_0x16fd36);for(const [_0x17f321,_0x23bcce]of _0x48e4c2)this['_trackedElements']['set'](_0x17f321,_0x23bcce[_0x23bcce['length']-0x1]);const _0x35396d=new Set();for(const [_0x181dc8,_0x23d8b2]of _0x48e4c2)_0x178255['has'](_0x181dc8)&&(_0x35396d['add'](_0x23d8b2[0x0]),_0x23d8b2['length']>0x1?_0x48e4c2['set'](_0x181dc8,_0x23d8b2['slice'](0x1)):_0x48e4c2['delete'](_0x181dc8),_0x178255['delete'](_0x181dc8));return{'removed':Array['from'](_0x178255),'inserted':Array['from'](_0x48e4c2['values']())['flat'](),'moved':Array['from'](_0x35396d)};}}class f extends _0x28cc82{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51f08a){super(_0x51f08a),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x528e56=>_0x528e56['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x445cd1=>_0x445cd1['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1c49c3}=this,{model:_0x26848e,data:_0x4bce2f}=_0x1c49c3;_0x26848e['document']['registerPostFixer'](_0x4221f4=>{const _0x544224=_0x26848e['document']['differ']['getChanges']();let _0x55ecc7=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4221f4,_0x544224)&&(_0x55ecc7=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4221f4,_0x544224)&&(_0x55ecc7=!0x0),this['_handleFootnoteReferencesChanges'](_0x4221f4,_0x544224)&&(_0x55ecc7=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4221f4)&&(_0x55ecc7=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4221f4)&&(_0x55ecc7=!0x0),this['_sortFootnoteDefinitions'](_0x4221f4)&&(_0x55ecc7=!0x0),_0x55ecc7;}),this['listenTo'](_0x26848e['document'],'change:data',()=>{_0x26848e['enqueueChange']({'isUndoable':!0x1},_0x51f01e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x51f01e);});},{'priority':'low'}),this['listenTo'](_0x4bce2f,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x11929c){return this['_footnotes']['find'](_0x558fd4=>_0x558fd4['id']===_0x11929c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x32b84b){this['_footnoteFormatter']=_0x32b84b;}['_updateFootnotesCounters'](_0x209629,_0x4b1d16=0x0){let _0xae8781=!0x1;for(let _0x258dfb=_0x4b1d16;_0x258dfb<this['_footnotes']['length'];_0x258dfb++)this['_updateFootnoteRefCounter'](_0x209629,_0x258dfb)&&(_0xae8781=!0x0);return _0xae8781;}['_insertEmptyFootnotesDefinitionsContainer'](_0x50cc60,_0x1e7eae){const _0x2bd9d6=_0x50cc60['createElement']('footnotesDefinitions',{});return _0x50cc60['append'](_0x2bd9d6,_0x1e7eae),this['_footnotesDefinitions']=_0x2bd9d6,_0x2bd9d6;}['_ensureFootnotesDefinitionsContainerExists'](_0xb0549a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x40db56=this['_footnotes'][0x0]['reference']['root'],_0x44088e=this['_insertEmptyFootnotesDefinitionsContainer'](_0xb0549a,_0x40db56);for(const _0x308a63 of this['_footnotes'])_0x308a63['definition']['parent']||_0xb0549a['insert'](_0x308a63['definition'],_0x44088e,'end');this['_updateFootnotesCounters'](_0xb0549a);}['_handleFootnotesDefinitionsObjectChanges'](_0x44d985,_0x5e9336){let _0x43f8a6=!0x1;const {inserted:_0x132020,removed:_0xe93ec0,moved:_0x311ea1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5e9336);if(_0x311ea1['length']&&(this['_footnotesDefinitions']=_0x311ea1[0x0]),_0x132020['length']){if(_0x132020['length']>0x1||this['_footnotesDefinitions']&&_0x132020['some'](_0x45e116=>_0x45e116!==this['_footnotesDefinitions'])){const _0x2dc650=_0x44d985['createElement']('footnotesDefinitions',{}),_0x190386=[];this['_footnotesDefinitions']&&_0x190386['push'](this['_footnotesDefinitions']),_0x190386['push'](..._0x132020),_0x44d985['insert'](_0x2dc650,_0x190386[0x0],'before');for(const _0x59eec1 of _0x190386)_0x44d985['move'](_0x44d985['createRangeIn'](_0x59eec1),_0x44d985['createPositionAt'](_0x2dc650,'end')),_0x44d985['remove'](_0x59eec1);this['_footnotesDefinitions']=_0x2dc650,this['_updateFootnotesCounters'](_0x44d985),_0x43f8a6=!0x0;}else this['_footnotesDefinitions']=_0x132020[0x0];}if(_0xe93ec0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5f39f1 of this['_footnotes'])_0x44d985['remove'](_0x5f39f1['reference']),_0x43f8a6=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x43f8a6;}['_handleFootnoteDefinitionsChanges'](_0x4e3b6d,_0x126cd8){let _0x55b72e=!0x1;const _0x2f8220=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3d8976,moved:_0x2ee64f}=this['_footnoteDefsTracker']['getChanges'](_0x126cd8);for(const _0x3a9d5e of[..._0x2ee64f,..._0x3d8976]){const _0x3201d4=_0x3a9d5e['getAttribute']('footnoteId'),_0x33768f=this['getFootnote'](_0x3201d4);_0x33768f&&(_0x33768f['definition']=_0x3a9d5e),_(_0x4e3b6d,_0x2f8220,_0x3a9d5e)&&(_0x55b72e=!0x0);}return _0x55b72e;}['_handleFootnoteReferencesChanges'](_0x2648df,_0x1472cf){let _0x32a731=!0x1;const {removed:_0x3a4f76,inserted:_0x28f14a,moved:_0x5f120b}=this['_footnoteRefsTracker']['getChanges'](_0x1472cf);for(const _0x563c14 of _0x3a4f76)this['_handleRemoveFootnoteReferenceById'](_0x2648df,_0x563c14)&&(_0x32a731=!0x0);for(const _0x4742ef of _0x28f14a)this['_handleInsertedFootnoteReference'](_0x2648df,_0x4742ef)&&(_0x32a731=!0x0);for(const _0x1e0a26 of _0x5f120b)this['_handleMovedFootnoteReference'](_0x2648df,_0x1e0a26)&&(_0x32a731=!0x0);return _0x32a731;}['_handleFootnotesDefinitionsObjectSync'](_0x2ae5a4){if(!this['_footnotesDefinitions'])return!0x1;let _0x56c48c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4d5b01=[];for(const _0x5e6c8a of this['_footnotesDefinitions']['getChildren']()){const _0x137b2d=_0x5e6c8a['getAttribute']('footnoteId');this['getFootnote'](_0x137b2d)||(_0x4d5b01['unshift'](_0x5e6c8a),_0x56c48c=!0x0);}for(const _0x53dfa4 of _0x4d5b01)_0x2ae5a4['remove'](_0x53dfa4);}const _0x200a5e=new Set(),_0x260102=[];for(const _0x4891a1 of this['_footnotesDefinitions']['getChildren']()){const _0x4f0bba=_0x4891a1['getAttribute']('footnoteId');_0x200a5e['has'](_0x4f0bba)?(_0x260102['unshift'](_0x4891a1),_0x56c48c=!0x0):_0x200a5e['add'](_0x4f0bba);}for(const _0x4b3513 of _0x260102)_0x2ae5a4['remove'](_0x4b3513);return this['_footnotesDefinitions']['childCount']||(_0x2ae5a4['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x56c48c=!0x0),_0x56c48c;}['_handleInsertedFootnoteReference'](_0x368af3,_0x30be82){if(this['_footnotes']['find'](_0x26c318=>_0x26c318['reference']===_0x30be82))return!0x1;let _0x522a87=!0x1;const _0x15dea9=_0x30be82['getAttribute']('footnoteId'),_0x255588=this['_footnotes']['findIndex'](_0x611743=>_0x611743['id']===_0x15dea9);-0x1!==_0x255588&&(_0x368af3['remove'](this['_footnotes'][_0x255588]['reference']),this['_footnotes']['splice'](_0x255588,0x1),_0x522a87=!0x0);let _0x18beed=this['_footnotesDefinitions']?function(_0x20f271,_0x3a735a){for(const _0x3cb506 of _0x20f271['getChildren']())if(_0x3cb506['getAttribute']('footnoteId')===_0x3a735a)return _0x3cb506;return null;}(this['_footnotesDefinitions'],_0x15dea9):null;_0x18beed||(_0x18beed=_0x368af3['createElement']('footnoteDefinition',{'footnoteId':_0x15dea9}),this['_footnotesDefinitions']&&(_0x368af3['insert'](_0x18beed,this['_footnotesDefinitions'],'end'),_0x522a87=!0x0));const _0x4501fd={'id':_0x15dea9,'reference':_0x30be82,'definition':_0x18beed},_0x202595=I(this['editor']['model'],this['_footnotes'],_0x30be82);this['_footnotes']['splice'](_0x202595,0x0,_0x4501fd);let _0x19c9d0=_0x202595;return-0x1!==_0x255588&&(_0x19c9d0=Math['min'](_0x202595,_0x255588)),this['_updateFootnotesCounters'](_0x368af3,_0x19c9d0)&&(_0x522a87=!0x0),_0x522a87;}['_handleRemoveFootnoteReferenceById'](_0x47b07e,_0x2585d3){const _0x57e157=this['_footnotes']['findIndex'](_0x270eb1=>_0x270eb1['id']===_0x2585d3);if(-0x1===_0x57e157)return!0x1;let _0x220846=!0x1;const _0x280065=this['_footnotes'][_0x57e157];return'$graveyard'!==_0x280065['definition']['root']['rootName']&&(_0x47b07e['remove'](_0x280065['definition']),_0x220846=!0x0),this['_footnotes']['splice'](_0x57e157,0x1),this['_updateFootnotesCounters'](_0x47b07e,_0x57e157)&&(_0x220846=!0x0),_0x220846;}['_handleMovedFootnoteReference'](_0x3490ff,_0x22df34){const _0x2b54e5=_0x22df34['getAttribute']('footnoteId'),_0x41bbbf=this['_footnotes']['findIndex'](_0x46d143=>_0x46d143['id']===_0x2b54e5),_0x5d1656=this['_footnotes'][_0x41bbbf];let _0x830e13=!0x1;_0x5d1656['reference']=_0x22df34,this['_footnotes']['splice'](_0x41bbbf,0x1);const _0x562521=I(this['editor']['model'],this['_footnotes'],_0x22df34);return this['_footnotes']['splice'](_0x562521,0x0,_0x5d1656),this['_updateFootnotesCounters'](_0x3490ff,Math['min'](_0x41bbbf,_0x562521))&&(_0x830e13=!0x0),_0x830e13;}['_updateFootnoteRefCounter'](_0x5110cc,_0x32cdfa){if(!this['_footnotesDefinitions'])return!0x1;const _0x2f184b=this['_footnotes'][_0x32cdfa];let _0x536365;return _0x536365=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2f184b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x32cdfa+0x1}):String(_0x32cdfa+0x1),_0x2f184b['reference']['getAttribute']('footnoteCounter')!=_0x536365&&(_0x5110cc['setAttribute']('footnoteCounter',_0x536365,_0x2f184b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x288064){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x344657,_0x30f8fe){if(_0x344657['length']!==_0x30f8fe['length'])return!0x1;for(let _0x11fdf1=0x0;_0x11fdf1<_0x344657['length'];_0x11fdf1++)if(_0x344657[_0x11fdf1]!==_0x30f8fe[_0x11fdf1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x51944c=>_0x51944c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xf91bd2=>_0xf91bd2['getAttribute']('footnoteId'))))return!0x1;let _0x1f1ced=!0x1;for(let _0x547e16=0x0;_0x547e16<this['_footnotes']['length'];_0x547e16++){const _0x39b489=this['_footnotes'][_0x547e16],_0x3ce694=_0x288064['createPositionBefore'](_0x39b489['definition']),_0x1bb673=_0x288064['createPositionAt'](this['_footnotesDefinitions'],_0x547e16);_0x3ce694['isEqual'](_0x1bb673)||(_0x288064['move'](_0x288064['createRangeOn'](_0x39b489['definition']),_0x1bb673),_0x1f1ced=!0x0);}return _0x1f1ced;}['_ensureFootnotesReferencesHaveProperOrder'](_0x349c11){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5ad566}=this['editor'];let _0x565696=!0x1;for(let _0x5641e6=0x0;_0x5641e6<this['_footnotes']['length']-0x1;_0x5641e6++){const _0x494229=this['_footnotes'][_0x5641e6],_0x21cc4f=this['_footnotes'][_0x5641e6+0x1],_0x36286d=_0x5ad566['createPositionBefore'](_0x494229['reference']),_0x18fda7=_0x5ad566['createPositionBefore'](_0x21cc4f['reference']);'after'===_0x36286d['compareWith'](_0x18fda7)&&(this['_handleMovedFootnoteReference'](_0x349c11,_0x494229['reference']),_0x5641e6=-0x1,_0x565696=!0x0);}return _0x565696;}}function _(_0x3c5d01,_0x4ae9b3,_0x4e9d0b){if(_0x4e9d0b['childCount'])return!0x1;const _0x5f5686=_0x4ae9b3?'paragraph':'footnoteInlineContent';return _0x3c5d01['insert'](_0x3c5d01['createElement'](_0x5f5686),_0x4e9d0b),!0x0;}function I(_0x37cc9,_0x1d99a4,_0x5b6a0f){if(0x0===_0x1d99a4['length'])return 0x0;const _0x404793=_0x37cc9['createPositionBefore'](_0x5b6a0f);for(let _0x5eeb61=0x0;_0x5eeb61<_0x1d99a4['length'];_0x5eeb61++){const _0x474c87=_0x1d99a4[_0x5eeb61],_0x1c4bf1=_0x37cc9['createPositionBefore'](_0x474c87['reference']);if('before'===_0x404793['compareWith'](_0x1c4bf1))return _0x5eeb61;}const _0x291409=_0x5b6a0f['root'];let _0x75a864=-0x1;for(let _0x3d884b=_0x1d99a4['length']-0x1;_0x3d884b>=0x0;_0x3d884b--)if(_0x1d99a4[_0x3d884b]['reference']['root']===_0x291409){_0x75a864=_0x3d884b;break;}if(-0x1!==_0x75a864)return _0x75a864+0x1;const _0x5b65d3=_0x37cc9['document']['getRootNames'](),_0x5be489=_0x5b65d3['indexOf'](_0x291409['rootName']),_0x3e0c56=_0x5b65d3[_0x5be489+0x1];if(_0x3e0c56){for(let _0x46519f=0x0;_0x46519f<_0x1d99a4['length'];_0x46519f++)if(_0x1d99a4[_0x46519f]['reference']['root']['rootName']===_0x3e0c56)return _0x46519f;}return _0x1d99a4['length'];}class h extends _0x1d614c{['refresh'](){const _0x2b8472=this['editor']['model']['document']['selection'],_0x5528c1=this['_getPositionToInsertFootnote'](_0x2b8472);this['isEnabled']=!!_0x5528c1;}['execute'](_0x36626b){const {editor:_0x2ca88f}=this,{model:_0x40b9ac}=_0x2ca88f,{selection:_0x325dc8}=_0x40b9ac['document'],_0x120cbd=this['_getPositionToInsertFootnote'](_0x325dc8);if(!_0x120cbd)return;const _0x2b86a4=_0x2ca88f['plugins']['get']('FootnotesEditing'),_0x3d7589=_0x36626b?.['footnoteId']??_0x36bd7e();!function(_0x1fc752){return'string'==typeof _0x1fc752&&_0x1fc752['length']>0x0&&!/\s/['test'](_0x1fc752)&&!/^\d/['test'](_0x1fc752);}(_0x3d7589)?_0xe33130('insert-footnote-command-executed-with-invalid-id'):(_0x40b9ac['change'](_0x59cc79=>{const _0x439bca=_0x59cc79['createElement']('footnoteRef',{'footnoteId':_0x3d7589});_0x40b9ac['insertObject'](_0x439bca,_0x120cbd,null);}),_0x2b86a4['_moveSelectionToFootnoteDefinition'](_0x3d7589));}['_getPositionToInsertFootnote'](_0x11af1e){const {model:_0x5de9d3}=this['editor'],{schema:_0x5c3d0f}=_0x5de9d3,_0x2ca434=_0x11af1e['getFirstRange']();for(const _0x140099 of _0x2ca434['getItems']())if(_0x5c3d0f['isBlock'](_0x140099)||_0x5c3d0f['isObject'](_0x140099))return null;const _0x474866=_0x2ca434['end'];return _0x5c3d0f['checkChild'](_0x474866,'footnoteRef')?_0x474866:null;}}class r extends _0x28cc82{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17465c}=this;_0x17465c['config']['define']('footnotes.multiBlock',!0x0),_0x17465c['commands']['add']('insertFootnote',new h(_0x17465c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x167ba5){const _0x18bb94=_0x95cf94([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]),_0x35f471=0x47a28506,_0xc3c10d=0x47a507be^_0x35f471,_0x2064fa=window[_0x95cf94([0x44,0x61,0x74,0x65])][_0x95cf94([0x6e,0x6f,0x77])](),_0x588a65=_0x167ba5[_0x95cf94([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f887a=new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cd29b=>{_0x588a65[_0x95cf94([0x6f,0x6e,0x63,0x65])](_0x95cf94([0x72,0x65,0x61,0x64,0x79]),_0x5cd29b);}),_0x540fd6={[_0x95cf94([0x6b,0x74,0x79])]:_0x95cf94([0x45,0x43]),[_0x95cf94([0x75,0x73,0x65])]:_0x95cf94([0x73,0x69,0x67]),[_0x95cf94([0x63,0x72,0x76])]:_0x95cf94([0x50,0x2d,0x32,0x35,0x36]),[_0x95cf94([0x78])]:_0x95cf94([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]),[_0x95cf94([0x79])]:_0x95cf94([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]),[_0x95cf94([0x61,0x6c,0x67])]:_0x95cf94([0x45,0x53,0x32,0x35,0x36])},_0x360553=_0x588a65[_0x95cf94([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x95cf94([0x67,0x65,0x74])](_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x286700(){let _0x5a3e30,_0x30a017=null,_0x4eb381=null;try{if(_0x360553==_0x95cf94([0x47,0x50,0x4c]))return _0x95cf94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a3e30=_0x15c6e3(),!_0x5a3e30)return _0x95cf94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a3e30[_0x95cf94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4eb381=_0x107795(_0x5a3e30[_0x95cf94([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a3e30[_0x95cf94([0x6a,0x74,0x69])])),await _0x25f189()?_0x298335()?_0x2d7247()?_0x95cf94([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x141ce8()?(_0x5a3e30[_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x95cf94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30a017=_0x29c875(_0x95cf94([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dc596()):_0x95cf94([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x95cf94([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x95cf94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x95cf94([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d7247(){const _0x4734f0=[_0x95cf94([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x95cf94([0x74,0x72,0x69,0x61,0x6c])][_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a3e30[_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2064fa/0x3e8:0xe10*_0xc3c10d;return _0x5a3e30[_0x95cf94([0x65,0x78,0x70])]<_0x4734f0;}function _0x298335(){const _0x17d253=_0x5a3e30[_0x95cf94([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17d253&&(!!_0x17d253[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cf94([0x2a]))||!!_0x17d253[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cf94([0x46,0x4f,0x4f])));}function _0x141ce8(){const _0xd9a456=_0x5a3e30[_0x95cf94([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd9a456||0x0==_0xd9a456[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1ef68a}=new URL(window[_0x95cf94([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd9a456[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef68a))return!0x0;const _0x2848df=_0x1ef68a[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e]));return _0xd9a456[_0x95cf94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f1f63=>_0x7f1f63[_0x95cf94([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cf94([0x2a])))[_0x95cf94([0x6d,0x61,0x70])](_0x40c451=>_0x40c451[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e])))[_0x95cf94([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x271c0a=>_0x271c0a[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2848df[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x95cf94([0x6d,0x61,0x70])](_0x3b1a7e=>Array(_0x2848df[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b1a7e[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x95cf94([0x66,0x69,0x6c,0x6c])](_0x3b1a7e[0x0]===_0x95cf94([0x2a])?_0x95cf94([0x2a]):'')[_0x95cf94([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b1a7e))[_0x95cf94([0x73,0x6f,0x6d,0x65])](_0x89649d=>_0x2848df[_0x95cf94([0x65,0x76,0x65,0x72,0x79])]((_0x4e55c1,_0x490e0c)=>_0x89649d[_0x490e0c]===_0x4e55c1||_0x89649d[_0x490e0c]===_0x95cf94([0x2a])));}function _0x1dc596(){return _0x30a017&&_0x4eb381?new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5372f4,_0x453369)=>{_0x30a017[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x5372f4,_0x453369),_0x4eb381[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x277b2e=>{_0x277b2e!=_0x95cf94([0x56,0x61,0x6c,0x69,0x64])&&_0x5372f4(_0x277b2e);},_0x453369);}):_0x30a017||_0x4eb381||_0x95cf94([0x56,0x61,0x6c,0x69,0x64]);}}function _0x107795(_0x1365c5,_0x4b2cb1){return new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268f08=>{if(_0x2e0e98())return _0x268f08(_0x95cf94([0x56,0x61,0x6c,0x69,0x64]));_0x3f2c99(),_0x588a65[_0x95cf94([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x95cf94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9828b5=!0x1;const _0x1a9a18=_0x36bd7e();function _0x1acd6f(_0x584ae2){return!!_0x584ae2&&(typeof _0x584ae2===_0x95cf94([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x584ae2===_0x95cf94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x584ae2[_0x95cf94([0x74,0x68,0x65,0x6e])]===_0x95cf94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x584ae2[_0x95cf94([0x63,0x61,0x74,0x63,0x68])]===_0x95cf94([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xed4f92(_0x52b2ea){_0x21e447(_0x52b2ea)[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x4c8008=>{if(!_0x4c8008||_0x4c8008[_0x95cf94([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x95cf94([0x6f,0x6b]))return _0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x524dae(_0x6fbd60(_0x1a9a18+_0x4b2cb1))!=_0x4c8008[_0x95cf94([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x95cf94([0x56,0x61,0x6c,0x69,0x64]);})[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x23f7bc=>(_0x2b5a2b(),_0x23f7bc),()=>{const _0x4140a7=_0x3e33b1();return null==_0x4140a7?(_0x2b5a2b(),_0x95cf94([0x56,0x61,0x6c,0x69,0x64])):_0x95cf94(_0x2064fa-_0x4140a7>(0x63ae0106^_0x35f471)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x268f08)[_0x95cf94([0x63,0x61,0x74,0x63,0x68])](()=>{_0x268f08(_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12a339=0x47946b86^_0x35f471;function _0x2b5a2b(){const _0x5e3eba=_0x95cf94([0x6c,0x6c,0x63,0x74,0x2d])+_0x524dae(_0x6fbd60(_0x1365c5)),_0x1e11de=_0x464b17(_0x524dae(window[_0x95cf94([0x4d,0x61,0x74,0x68])][_0x95cf94([0x63,0x65,0x69,0x6c])](_0x2064fa/_0x12a339)));window[_0x95cf94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x95cf94([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e3eba,_0x1e11de);}function _0x3e33b1(){const _0x35a539=_0x95cf94([0x6c,0x6c,0x63,0x74,0x2d])+_0x524dae(_0x6fbd60(_0x1365c5)),_0x1b5c0f=window[_0x95cf94([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x95cf94([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35a539);return _0x1b5c0f?window[_0x95cf94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x464b17(_0x1b5c0f),0x10)*_0x12a339:null;}function _0x21e447(_0x57806c){return new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x210b38,_0x2c2081)=>{_0x57806c[_0x95cf94([0x74,0x68,0x65,0x6e])](_0x210b38,_0x2c2081),window[_0x95cf94([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c2081,0x47a351c6^_0x35f471);});}}_0x588a65[_0x95cf94([0x6f,0x6e])](_0x95cf94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4f6e82,_0x4ea3e0)=>{if(_0x4ea3e0[0x0]!=_0x1365c5)return _0x268f08(_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ea3e0[0x1]={..._0x4ea3e0[0x1],[_0x95cf94([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a9a18};},{[_0x95cf94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x95cf94([0x68,0x69,0x67,0x68])}),_0x588a65[_0x95cf94([0x6f,0x6e])](_0x95cf94([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ce2ff=>{_0x1acd6f(_0x3ce2ff[_0x95cf94([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9828b5=!0x0,_0xed4f92(_0x3ce2ff[_0x95cf94([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x95cf94([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x95cf94([0x6c,0x6f,0x77])}),_0x1f887a[_0x95cf94([0x74,0x68,0x65,0x6e])](()=>{_0x9828b5||_0x268f08(_0x95cf94([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e0e98(){return _0x588a65[_0x95cf94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x95cf94([0x76,0x69,0x65,0x77])][_0x95cf94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x95cf94([0x61,0x75,0x74,0x6f]);}function _0x3f2c99(){_0x588a65[_0x95cf94([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x95cf94([0x76,0x69,0x65,0x77])][_0x95cf94([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x95cf94([0x61,0x75,0x74,0x6f]);}}function _0x29c875(_0x2b30df){const _0x2548a2=[new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x412c05=>setTimeout(_0x412c05,0x47abbbca^_0x35f471)),_0x1f887a[_0x95cf94([0x74,0x68,0x65,0x6e])](()=>new window[(_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e53b6=>{let _0x5d63f7=0x0;_0x588a65[_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c])][_0x95cf94([0x6f,0x6e])](_0x95cf94([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35669b,_0x45509a)=>{_0x45509a[0x0][_0x95cf94([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d63f7++,_0x5d63f7==(0x47a280ee^_0x35f471)&&(_0x1e53b6(),_0x35669b[_0x95cf94([0x6f,0x66,0x66])]());});}))];return window[_0x95cf94([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x95cf94([0x72,0x61,0x63,0x65])](_0x2548a2)[_0x95cf94([0x74,0x68,0x65,0x6e])](()=>_0x2b30df);}async function _0xe9ce57(){await _0x1f887a,_0x588a65[_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c])][_0x95cf94([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x250b41,_0x588a65[_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c])][_0x95cf94([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x250b41,_0x588a65[_0x95cf94([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x95cf94([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe1f704(_0x2fe690){const _0x3a532a=_0x4bb4b2();_0x588a65[_0x3a532a]=_0x95cf94([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2fe690,_0x2fe690!=_0x95cf94([0x56,0x61,0x6c,0x69,0x64])&&_0xe9ce57();}function _0x4bb4b2(){const _0xb9b27b=window[_0x95cf94([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x95cf94([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x95cf94([0x6e,0x6f,0x77])]())[_0x95cf94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x95cf94([0x2e]),'');let _0x10e16b=_0x95cf94([0x75]);for(let _0x2363d3=0x0;_0x2363d3<_0xb9b27b[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2363d3+=0x2){let _0x2d75e=window[_0x95cf94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb9b27b[_0x95cf94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2363d3,_0x2363d3+0x2));_0x2d75e>=_0x18bb94[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d75e-=_0x18bb94[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10e16b+=_0x18bb94[_0x2d75e];}return _0x10e16b;}function _0x15c6e3(){const _0x30d953=_0x360553[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e]));if(0x3!=_0x30d953[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x542276(_0x30d953[0x1]);function _0x542276(_0x587635){const _0x2f7c11=_0x282aaf(_0x587635);return _0x2f7c11&&_0x4812d9()?_0x2f7c11:null;function _0x4812d9(){const _0x4a9618=_0x2f7c11[_0x95cf94([0x6a,0x74,0x69])],_0x44c263=window[_0x95cf94([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a9618[_0x95cf94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a9618[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35aaa5={..._0x2f7c11,[_0x95cf94([0x6a,0x74,0x69])]:_0x4a9618[_0x95cf94([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a9618[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35aaa5[_0x95cf94([0x76,0x63])],_0x6fbd60(_0x35aaa5)==_0x44c263;}}}async function _0x25f189(){let _0x1bc3fc=!0x0;try{const _0x28b8f7=_0x360553[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])](_0x95cf94([0x2e])),[_0x53615b,_0x27bfba,_0x2e493b]=_0x28b8f7;return _0x3d6f00(_0x53615b),await _0x2830ae(_0x53615b,_0x27bfba,_0x2e493b),_0x1bc3fc;}catch{return!0x1;}function _0x3d6f00(_0x240b82){const _0x23cd39=_0x282aaf(_0x240b82);_0x23cd39&&_0x23cd39[_0x95cf94([0x61,0x6c,0x67])]==_0x95cf94([0x45,0x53,0x32,0x35,0x36])||(_0x1bc3fc=!0x1);}async function _0x2830ae(_0x29641f,_0x1603cb,_0x59912f){const _0x45f96a=window[_0x95cf94([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x95cf94([0x66,0x72,0x6f,0x6d])](_0x2b1458(_0x59912f),_0xf3215b=>_0xf3215b[_0x95cf94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14d073=new window[(_0x95cf94([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x95cf94([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29641f+_0x95cf94([0x2e])+_0x1603cb),_0x5e2eb0=window[_0x95cf94([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x95cf94([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e2eb0)return;const _0x1383ba=await _0x5e2eb0[_0x95cf94([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x95cf94([0x6a,0x77,0x6b]),_0x540fd6,{[_0x95cf94([0x6e,0x61,0x6d,0x65])]:_0x95cf94([0x45,0x43,0x44,0x53,0x41]),[_0x95cf94([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x95cf94([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x95cf94([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e2eb0[_0x95cf94([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x95cf94([0x6e,0x61,0x6d,0x65])]:_0x95cf94([0x45,0x43,0x44,0x53,0x41]),[_0x95cf94([0x68,0x61,0x73,0x68])]:{[_0x95cf94([0x6e,0x61,0x6d,0x65])]:_0x95cf94([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1383ba,_0x45f96a,_0x14d073)||(_0x1bc3fc=!0x1);}}function _0x282aaf(_0x416c21){return _0x416c21[_0x95cf94([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x95cf94([0x65,0x79]))?JSON[_0x95cf94([0x70,0x61,0x72,0x73,0x65])](_0x2b1458(_0x416c21)):null;}function _0x2b1458(_0x4d87e6){return window[_0x95cf94([0x61,0x74,0x6f,0x62])](_0x4d87e6[_0x95cf94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x95cf94([0x2b]))[_0x95cf94([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x95cf94([0x2f])));}function _0x6fbd60(_0x2a3fc2){let _0x1ddef2=0x1505;function _0x627df8(_0x1bd27d){for(let _0x23182d=0x0;_0x23182d<_0x1bd27d[_0x95cf94([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23182d++){const _0x5b2846=_0x1bd27d[_0x95cf94([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23182d);_0x1ddef2=(_0x1ddef2<<0x5)+_0x1ddef2+_0x5b2846,_0x1ddef2&=_0x1ddef2;}}function _0x3faead(_0x2baa78){Array[_0x95cf94([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2baa78)?_0x2baa78[_0x95cf94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3faead):_0x2baa78&&typeof _0x2baa78==_0x95cf94([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x95cf94([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2baa78)[_0x95cf94([0x73,0x6f,0x72,0x74])]()[_0x95cf94([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xac90e4,_0x2c2b69])=>{_0x627df8(_0xac90e4),_0x3faead(_0x2c2b69);}):_0x627df8(window[_0x95cf94([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2baa78));}return _0x3faead(_0x2a3fc2),_0x1ddef2>>>0x0;}function _0x524dae(_0x230e76){return _0x230e76[_0x95cf94([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x95cf94([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x95cf94([0x30]));}function _0x464b17(_0x1f6cf8){return _0x1f6cf8[_0x95cf94([0x73,0x70,0x6c,0x69,0x74])]('')[_0x95cf94([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x95cf94([0x6a,0x6f,0x69,0x6e])]('');}function _0x250b41(){}function _0x95cf94(_0x1125cd){return _0x1125cd['map'](_0x51d4b7=>String['fromCharCode'](_0x51d4b7))['join']('');}_0xe1f704(await _0x286700());}(this);}['_moveSelectionToFootnoteDefinition'](_0x29057f){const {plugins:_0x56a0d3,editing:_0x351d8c,model:_0x3d439b}=this['editor'],_0x4dcad1=_0x56a0d3['get'](f)['getFootnote'](_0x29057f);return!!_0x4dcad1&&(_0x3d439b['change'](_0x5c8aab=>{_0x5c8aab['setSelection'](_0x5c8aab['createPositionAt'](_0x4dcad1['definition'],'end'));}),_0x351d8c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x7f32d6){const {plugins:_0x388757,editing:_0x6d23c9,model:_0x2f88e4}=this['editor'],_0x801c72=_0x388757['get'](f)['getFootnote'](_0x7f32d6);return!!_0x801c72&&(_0x2f88e4['change'](_0x460713=>{_0x460713['setSelection'](_0x801c72['reference'],'on');}),_0x6d23c9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4a67f0}=this['editor']['model'],_0x4d799a=this['editor']['config']['get']('footnotes.multiBlock');_0x4a67f0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4a67f0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4a67f0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d799a?_0x4a67f0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4a67f0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4a67f0['addChildCheck'](_0x48be22=>{for(const _0x1dd89d of _0x48be22)if('footnoteDefinition'===_0x1dd89d['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3f0ebd}=this,{conversion:_0xf6e0bb,editing:_0x45ebcb}=_0x3f0ebd,{t:t}=_0x3f0ebd['locale'];_0xf6e0bb['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x566963,{writer:_0x13c04c,consumable:_0x190161})=>{const _0xbdaa91=_0x566963['getChild'](0x0);if(!_0xbdaa91||!_0xbdaa91['is']('element','a'))return null;const _0x33dcaa=_0xbdaa91['getAttribute']('href')||'';if(!_0x33dcaa['startsWith']('#'))return null;const _0x5fe9f0=_0x33dcaa['replace'](/^#/,'');if(!_0x5fe9f0)return null;_0x190161['consume'](_0xbdaa91,{'name':!0x0,'attributes':['href']});for(const {item:_0x2a12c0}of _0x45ebcb['view']['createRangeIn'](_0xbdaa91))_0x2a12c0['is']('$textProxy')?_0x190161['consume'](_0x2a12c0['textNode'],{'name':!0x0}):_0x2a12c0['is']('element')&&_0x190161['consume'](_0x2a12c0,{'name':!0x0});return _0x13c04c['createElement']('footnoteRef',{'footnoteId':_0x5fe9f0});}}),_0xf6e0bb['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x39e8bb,{writer:_0x39d19a})=>b(_0x39e8bb,_0x39d19a)}),_0xf6e0bb['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x539c61,{writer:_0x57f32b})=>{const _0x1bd8ef=_0x539c61['getAttribute']('footnoteCounter');return _0x8b8f2f(b(_0x539c61,_0x57f32b),_0x57f32b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1bd8ef)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4b78de}=this,{t:t}=_0x4b78de['locale'],{conversion:_0x9603ed}=_0x4b78de;_0x9603ed['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9603ed['for']('upcast')['add'](_0x4e1f12=>{_0x4e1f12['on']('element:ol',(_0x525422,_0x3c4a87,_0x2dd6e4)=>{const _0x58eafb=_0x3c4a87['viewItem'];if(!_0x58eafb['hasClass']('footnotes-list')||!_0x3c4a87['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2dd6e4['consumable']['consume'](_0x58eafb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14b23a,modelCursor:_0xbbfdd8}=_0x2dd6e4['convertChildren'](_0x3c4a87['viewItem'],_0x3c4a87['modelCursor']);_0x3c4a87['modelRange']=_0x14b23a,_0x3c4a87['modelCursor']=_0xbbfdd8;}),_0x4e1f12['on']('element:hr',(_0x560821,_0x293d69,_0x92fe5f)=>{const _0x419e4f=_0x293d69['viewItem'];_0x419e4f['hasClass']('footnotes-divider')&&_0x293d69['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x92fe5f['consumable']['consume'](_0x419e4f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9603ed['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x146cac,{writer:_0x4531ea})=>D(_0x4531ea)}),_0x9603ed['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x392ea0,{writer:_0x15f5a3})=>{const _0x2919c9=D(_0x15f5a3,{'data-footnotes-list-label':t('Footnotes')}),_0x32856d=_0x8b8f2f(_0x2919c9,_0x15f5a3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x15f5a3['setCustomProperty']('footnotesDefinitions',!0x0,_0x32856d),_0x32856d;}});}['_defineDefinitionConverters'](){const {editor:_0x56b8a5}=this,{conversion:_0x45d5e1,locale:_0xe46e19}=_0x56b8a5,_0x522036=_0x56b8a5['config']['get']('footnotes.multiBlock');_0x45d5e1['for']('upcast')['add'](_0x2776ac=>{_0x2776ac['on']('element:li',(_0xf2de31,_0x5a8816,_0x418f2b)=>{const _0x144d07=_0x5a8816['viewItem'];if(!_0x144d07['hasClass']('footnote-definition')||!_0x144d07['getAttribute']('id'))return;const _0x19e827=_0x144d07['parent'];if(!_0x19e827['is']('element','ol')||!_0x19e827['hasClass']('footnotes-list'))return;if(!_0x418f2b['consumable']['test'](_0x144d07,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4e3d0c=_0x418f2b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x144d07['getAttribute']('id')});if(!_0x418f2b['safeInsert'](_0x4e3d0c,_0x5a8816['modelCursor']))return;_0x418f2b['consumable']['consume'](_0x144d07,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x56bf6d=Array['from'](_0x144d07['getChildren']())['find'](_0x35c3d2=>_0x35c3d2['is']('element')&&_0x35c3d2['hasClass']('footnote-content'));for(const _0x396e9a of _0x144d07['getChildren']())_0x396e9a['is']('element')&&(_0x418f2b['consumable']['consume'](_0x396e9a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x418f2b['consumable']['consume'](_0x396e9a,{'name':!0x0,'classes':'footnote-content'}));if(_0x56bf6d){if(_0x522036)_0x418f2b['convertChildren'](_0x56bf6d,_0x4e3d0c);else{const _0x2e7921=_0x418f2b['writer']['createElement']('footnoteInlineContent');_0x418f2b['writer']['insert'](_0x2e7921,_0x4e3d0c),_0x418f2b['convertChildren'](_0x56bf6d,_0x2e7921);}}_0x418f2b['updateConversionResult'](_0x4e3d0c,_0x5a8816);});}),_0x45d5e1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x570028,{writer:_0x1c2275})=>y(_0x570028,_0x1c2275,_0xe46e19,{'dataPipeline':!0x0})}),_0x45d5e1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c7727,{writer:_0x2e3aa1})=>y(_0x2c7727,_0x2e3aa1,_0xe46e19)});}['_defineBogusParagraphConverters'](){const {editor:_0x9d393c}=this,{conversion:_0x378b7b}=_0x9d393c;_0x9d393c['config']['get']('footnotes.multiBlock')?(_0x378b7b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x378b7b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x9d393c['model']['document'],'change:data',()=>{!function(_0x2fafeb,_0x2bed5e){const _0x1dc133=_0x2fafeb['document']['differ'],_0x4e772e=new Set();for(const _0x10892f of _0x1dc133['getChanges']()){const _0x4aa895='attribute'==_0x10892f['type']?_0x10892f['range']['start']['parent']:_0x10892f['position']['parent'];_0x4aa895['is']('element','footnoteDefinition')&&_0x4e772e['add'](_0x4aa895);}for(const _0x41fbe1 of _0x4e772e['values']()){const _0x43a367=Array['from'](_0x41fbe1['getChildren']())['filter'](_0x441379=>v(_0x441379,_0x2bed5e['mapper']));for(const _0x1974b1 of _0x43a367)_0x2bed5e['reconvertItem'](_0x1974b1);}}(_0x9d393c['model'],_0x9d393c['editing']);})):(_0x378b7b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x378b7b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5b155d,{writer:_0x1632e6})=>{const _0x34b783=_0x1632e6['createContainerElement']('span');return _0x1632e6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x34b783),_0x34b783;}}));}['_defineKeyboardHandlers'](){const {editor:_0x19a5ad}=this,{editing:_0x234b73,t:t}=_0x19a5ad,_0x499ad4=_0x19a5ad['model']['document']['selection'];_0x19a5ad['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x19a5ad['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x234b73['view']['document'],'enter',(_0x9e509d,_0x57675a)=>{const _0x95c7dc=function(_0x24fda1){const _0x2b2307=_0x24fda1['getSelectedElement']();if(_0x2b2307?.['is']('element','footnoteRef'))return _0x2b2307;return null;}(_0x499ad4);if(_0x95c7dc){const _0x32b3a5=_0x95c7dc['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x32b3a5),_0x57675a['preventDefault'](),_0x9e509d['stop']();}},{'context':_0x518734});}['_defineClickHandlers'](){const {editor:_0x1ef440}=this,{editing:_0x21b0fe}=_0x1ef440;_0x1ef440['editing']['view']['addObserver'](_0x41d332),_0x1ef440['editing']['view']['addObserver'](_0x4b9820);let _0x20162e=!0x1;this['listenTo'](_0x21b0fe['view']['document'],'pointerdown',(_0x3590fe,_0x3bcdc6)=>{const {target:_0x416e36}=_0x3bcdc6,_0x36d17d=_0x21b0fe['view']['document']['selection'];_0x20162e=!!(_0x416e36?.['is']('element','a')&&_0x416e36['parent']?.['is']('element','sup')&&_0x416e36['parent']['hasClass']('footnote'))&&_0x36d17d['getSelectedElement']()===_0x416e36['parent'];},{'priority':'high'}),this['listenTo'](_0x21b0fe['view']['document'],'click',(_0x28f1a2,_0x485249)=>{const {target:_0x1f24f4}=_0x485249;if(!_0x1f24f4?.['is']('element','a'))return;if(_0x1f24f4['parent']?.['is']('element','sup')&&_0x1f24f4['parent']['hasClass']('footnote')&&!_0x20162e)return void _0x485249['preventDefault']();let _0xfdd4b2=_0x1f24f4['getAttribute']('href');if(!_0xfdd4b2?.['startsWith']('#'))return;_0xfdd4b2=_0xfdd4b2['slice'](0x1);let _0x3b19ca=!0x1;(_0xfdd4b2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xfdd4b2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xfdd4b2))&&(_0x3b19ca=!0x0),_0x3b19ca&&(_0x485249['preventDefault'](),_0x28f1a2['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2f5586}={}){return(_0x2765e5,{writer:_0x2342c1})=>{if(!g(_0x2765e5))return null;if(!_0x2f5586)return _0x2342c1['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x267e96=_0x2342c1['createContainerElement']('p');return _0x2342c1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x267e96),_0x267e96;};}function g(_0x281ff){const {parent:_0x51ce71}=_0x281ff;if(!_0x51ce71?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x51ce71['childCount'])return!0x1;for(const _0x268ffe of _0x281ff['getAttributeKeys']())if(!_0x268ffe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x268ffe)return!0x1;return!0x0;}function v(_0xaca92e,_0x19a7b5){if(!_0xaca92e['is']('element','paragraph'))return!0x1;const _0x51260d=_0x19a7b5['toViewElement'](_0xaca92e);return!!_0x51260d&&g(_0xaca92e)!==_0x51260d['is']('element','span');}function H(_0x3eb797){return _0x518734(_0x3eb797)&&_0x3eb797['is']('containerElement')&&!!_0x3eb797['getCustomProperty']('footnotesDefinitions');}function D(_0x11f280,_0x14dbef={}){const _0x38d989=_0x11f280['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4e7b14=_0x11f280['createContainerElement']('ol',{'class':'footnotes-list'},_0x11f280['createSlot']());return _0x11f280['createContainerElement']('div',{'class':'footnotes',..._0x14dbef},[_0x38d989,_0x4e7b14]);}function b(_0x1ce38d,_0xb463fb){const _0xa6a1c7=_0x1ce38d['getAttribute']('footnoteId'),_0x43d37e=_0x1ce38d['getAttribute']('footnoteCounter'),_0x2cee67=_0xb463fb['createUIElement']('a',{'href':'#'+_0xa6a1c7},function(_0x247390){const _0x5db504=this['toDomElement'](_0x247390);return _0x5db504['textContent']=_0x43d37e,_0x5db504;}),_0x5444be=_0xb463fb['createContainerElement']('sup',{'id':'ref-'+_0xa6a1c7,'class':'footnote'},[_0x2cee67]);return _0x5444be['getFillerOffset']=()=>null,_0x5444be;}function y(_0x2ead21,_0xbaeef7,_0x37c6e5,{dataPipeline:_0x1747b6}={}){const {t:t}=_0x37c6e5,_0x3ac605=_0x2ead21['getAttribute']('footnoteId'),_0x4332f9=_0xbaeef7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3ac605},function(_0x190295){const _0x5db596=this['toDomElement'](_0x190295);return _0x5db596['innerText']='^',_0x5db596;}),_0x225bb1=_0x1747b6?_0xbaeef7['createContainerElement']('div',{'class':'footnote-content'}):_0x51ebe0(_0xbaeef7['createEditableElement']('div',{'class':'footnote-content'}),_0xbaeef7,{'label':t('Footnote\x20content.')});return _0xbaeef7['insert'](_0xbaeef7['createPositionAt'](_0x225bb1,0x0),_0xbaeef7['createSlot']()),_0xbaeef7['createContainerElement']('li',{'class':'footnote-definition','id':_0x3ac605},[_0x4332f9,_0x225bb1]);}class e extends _0x28cc82{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5ecd6f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2a7d54}=this,{plugins:_0x2f4c94,model:_0x2157c1}=_0x2a7d54,_0x4acd6b=_0x2f4c94['get'](_0x5ecd6f),_0x447e41=_0x2f4c94['get'](f);this['listenTo'](_0x4acd6b,'outputTransformation',(_0x2a2be4,_0x114e63)=>{const _0xbf19db=l(_0x2157c1['createRangeIn'](_0x114e63['content']));if(!_0xbf19db['length'])return;const _0x34b508=_0x447e41['getFootnotes'](),_0x184f2e=_0xbf19db['reduce']((_0x55e523,_0x99c486)=>{const _0xb3a4de=_0x34b508['find'](_0x41e9f2=>_0x41e9f2['id']===_0x99c486);if(_0xb3a4de){const _0x4b360d=_0x2a7d54['data']['toView'](_0xb3a4de['definition'],{'isClipboardPipeline':!0x0}),_0x58e1cf=_0x2a7d54['data']['htmlProcessor']['toData'](_0x4b360d);_0x55e523[_0xb3a4de['id']]=_0x58e1cf;}return _0x55e523;},Object['create'](null));_0x114e63['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x184f2e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x11349c}=this,{model:_0x67e691,plugins:_0x417a20}=_0x11349c,{view:_0x1b9e7c}=_0x11349c['editing'],_0x540019=_0x417a20['get'](_0x5ecd6f),_0x4b6d9f=_0x417a20['get'](f),_0x3b4589=_0x11349c['config']['get']('footnotes.multiBlock');let _0x867104=null;this['listenTo'](_0x1b9e7c['document'],'clipboardInput',(_0x8e4dad,_0x2d4070)=>{const _0x34774a=_0x2d4070['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x867104=_0x34774a?JSON['parse'](_0x34774a):null;}),this['listenTo'](_0x540019,'contentInsertion',(_0x7dc750,_0x3dc37d)=>{const _0x508214=_0x3dc37d['sourceEditorId']===this['editor']['id'];_0x508214&&'drop'===_0x3dc37d['method']||_0x67e691['change'](_0x150f89=>{let _0x53773a=_0x4b6d9f['getFootnotesDefinitionsObjectElement']();const _0x2f767f=!!_0x53773a&&Array['from'](_0x67e691['document']['selection']['getSelectedBlocks']())['includes'](_0x53773a);if(!_0x867104&&function(_0x3138cf){for(const {item:_0x48ebe9}of _0x3138cf)if(_0x48ebe9['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x67e691['createRangeIn'](_0x3dc37d['content']))&&(_0x867104=function(_0x4c3547,_0x9c9e9e){const _0x2aa84d=c(_0x4c3547,_0x9c9e9e);if(!_0x2aa84d)return null;const _0x8094f1=Object['create'](null);for(const _0x3b9069 of _0x2aa84d['getChildren']())_0x3b9069['is']('element','footnoteDefinition')&&_0x3b9069['hasAttribute']('footnoteId')&&(_0x8094f1[_0x3b9069['getAttribute']('footnoteId')]=_0x4c3547['cloneElement'](_0x3b9069,!0x0));return Object['keys'](_0x8094f1)['length']?_0x8094f1:null;}(_0x150f89,_0x3dc37d['content'])),(_0x53773a&&!_0x2f767f||!_0x53773a&&!_0x867104)&&function(_0x4af7b4,_0x1d9e3b){const _0x21b99c=[];for(const {item:_0x569a9f}of _0x4af7b4['createRangeIn'](_0x1d9e3b))_0x569a9f['is']('element','footnotesDefinitions')&&_0x21b99c['push'](_0x569a9f);for(const _0x52348e of _0x21b99c)_0x4af7b4['remove'](_0x52348e);}(_0x150f89,_0x3dc37d['content']),!_0x867104)return;const {selection:_0x5bde79}=_0x67e691['document'],_0x100dff=_0x5bde79['getFirstRange']()['root'];_0x53773a&&!_0x2f767f||(_0x53773a=c(_0x150f89,_0x3dc37d['content']),_0x53773a||=_0x4b6d9f['_insertEmptyFootnotesDefinitionsContainer'](_0x150f89,_0x100dff));const _0x11abdf=Array['from'](_0x5bde79['getRanges']())['flatMap'](l),_0x36d237=function(_0x457e49,_0x3798e9,_0x551937){const _0x1be092=Object['create'](null);for(const {item:_0x1a5772}of _0x457e49['createRangeIn'](_0x3798e9))if(_0x1a5772['is']('element','footnoteRef')){const _0x2ddb24=_0x1a5772['getAttribute']('footnoteId');if(!_0x551937(_0x2ddb24))continue;_0x1be092[_0x2ddb24]||(_0x1be092[_0x2ddb24]=_0x36bd7e()),_0x457e49['setAttribute']('footnoteId',_0x1be092[_0x2ddb24],_0x1a5772);}return _0x1be092;}(_0x150f89,_0x3dc37d['content'],_0x16c34b=>{if(!_0x508214)return!0x0;return!!_0x4b6d9f['getFootnote'](_0x16c34b)&&!_0x11abdf['includes'](_0x16c34b);});for(const [_0x1280f1,_0x166953]of Object['entries'](_0x867104)){const _0x1ce0c1=_0x36d237[_0x1280f1]||_0x1280f1;let _0x104e9;if('string'!=typeof _0x166953)_0x104e9=_0x166953,_0x1ce0c1!==_0x1280f1&&_0x150f89['setAttribute']('footnoteId',_0x1ce0c1,_0x104e9);else{_0x104e9=_0x150f89['createElement']('footnoteDefinition',{'footnoteId':_0x1ce0c1});const _0x302db6=_0x11349c['data']['htmlProcessor']['toView'](_0x166953);let _0x58c24c;if(_0x3b4589)_0x58c24c=_0x11349c['data']['toModel'](_0x302db6,_0x104e9);else{_0x58c24c=_0x150f89['createElement']('footnoteInlineContent');const _0x4cea1f=_0x11349c['data']['toModel'](_0x302db6,_0x58c24c);_0x150f89['insert'](_0x4cea1f,_0x58c24c);}_0x150f89['append'](_0x58c24c,_0x104e9);}_0x150f89['insert'](_0x104e9,_0x53773a,'end');}_0x867104=null;});});}}function c(_0x3dfb10,_0x485074){for(const {item:_0x179453}of _0x3dfb10['createRangeIn'](_0x485074))if(_0x179453['is']('element','footnotesDefinitions'))return _0x179453;return null;}function l(_0x254c37){const _0x4af4aa=new Set();for(const {item:_0x46a88a}of _0x254c37)_0x46a88a['is']('element','footnoteRef')&&_0x4af4aa['add'](_0x46a88a['getAttribute']('footnoteId'));return Array['from'](_0x4af4aa);}class i extends _0x28cc82{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fa471}=this,{componentFactory:_0x133656}=_0x1fa471['ui'];_0x133656['add']('insertFootnote',E(_0x1fa471,_0x268ce6)),_0x133656['add']('menuBar:insertFootnote',E(_0x1fa471,_0x4842a8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39434f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x163235;for(const _0xd085e5 in _0x39434f){const _0x582e61=_0xd085e5,_0x20c359=_0x39434f[_0x582e61];if('footnotesLicenseKeyValid'==_0x20c359||'footnotesLicenseKeyInvalid'==_0x20c359||'footnotesLicenseKeyExpired'==_0x20c359||'footnotesLicenseKeyDomainLimit'==_0x20c359||'footnotesLicenseKeyNotAllowed'==_0x20c359||'footnotesLicenseKeyEvaluationLimit'==_0x20c359||'footnotesLicenseKeyUsageLimit'==_0x20c359){delete _0x39434f[_0x582e61],_0x163235=_0x20c359,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x163235&&_0x39434f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x163235&&_0x39434f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x163235&&_0x39434f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x163235&&_0x39434f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x163235&&_0x39434f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x163235&&_0x39434f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3c0e07,_0x45fb81){const _0x25b3d6=_0x3c0e07['commands']['get']('insertFootnote');return _0x3ffd88=>{const {t:t}=_0x3ffd88,_0x277d09=new _0x45fb81(_0x3ffd88),_0x37acd8=_0x277d09 instanceof _0x4842a8;return _0x277d09['bind']('isEnabled')['to'](_0x25b3d6,'isEnabled'),_0x277d09['set']({'label':t(_0x37acd8?'Footnote':'Insert\x20footnote'),'icon':_0xb3f0a0,'tooltip':!0x0}),_0x277d09['on']('execute',()=>{_0x25b3d6['execute'](),_0x3c0e07['editing']['view']['focus']();}),_0x277d09;};}class lt extends _0x28cc82{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 _0x1d614c{['refresh'](){const {editor:_0x3c19ec}=this,_0x41f99f=_0x3c19ec['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x41f99f,this['value']=_0x41f99f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1df0cd}){const {editor:_0x3cf13b}=this,_0x23586a=_0x3cf13b['plugins']['get'](f),_0x1dfa32=_0x23586a['getFootnotesDefinitionsObjectElement']();_0x1dfa32&&W['includes'](_0x1df0cd)&&_0x3cf13b['model']['change'](_0x4b7caf=>{_0x4b7caf['setAttribute']('footnotesListStyle',_0x1df0cd,_0x1dfa32),_0x23586a['_updateFootnotesCounters'](_0x4b7caf);});}}class C extends _0x1d614c{['refresh'](){const {editor:_0x46f0f2}=this,_0x4da208=_0x46f0f2['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4da208,this['value']=_0x4da208?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x589484}){const {editor:_0x5971b6}=this,_0x3f6dfb=_0x5971b6['plugins']['get'](f),_0xa9b747=_0x3f6dfb['getFootnotesDefinitionsObjectElement']();_0xa9b747&&Number['isInteger'](_0x589484)&&_0x5971b6['model']['change'](_0x457d22=>{_0x457d22['setAttribute']('footnotesListStart',_0x589484,_0xa9b747),_0x3f6dfb['_updateFootnotesCounters'](_0x457d22);});}}class P extends _0x28cc82{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b585e}=this;_0x5b585e['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5b585e['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5b585e['commands']['add']('footnotesStyle',new S(_0x5b585e)),_0x5b585e['commands']['add']('footnotesStart',new C(_0x5b585e)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2f0864}=this,{schema:_0x2428e0}=_0x2f0864['model'];_0x2428e0['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x6bad84}=this,{conversion:_0x356a70,model:_0x252320}=_0x6bad84,{schema:_0x337c8}=_0x252320;_0x356a70['for']('upcast')['add'](_0x2f02d1=>{_0x2f02d1['on']('element:ol',(_0x2efd7a,_0x2b00e0,_0x4348e5)=>{const _0x125c7a=_0x2b00e0['viewItem'],_0x6f520a=_0x2b00e0['modelCursor']?.['parent'];_0x125c7a['hasClass']('footnotes-list')&&_0x6f520a?.['is']('element','footnotesDefinitions')&&(function(_0x151fed,_0x25fd1e,_0x9d4ef8,_0x195653){if(!_0x195653['checkAttribute'](_0x25fd1e,'footnotesListStart'))return;let _0x11fe56=0x1;const _0xc1e95b=_0x9d4ef8['consumable']['consume'](_0x151fed,{'attributes':'start'});if(_0xc1e95b){const _0x41de50=Number['parseInt'](_0x151fed['getAttribute']('start'),0xa);Number['isNaN'](_0x41de50)||(_0x11fe56=_0x41de50);}!_0xc1e95b&&_0x25fd1e['hasAttribute']('footnotesListStart')||_0x9d4ef8['writer']['setAttribute']('footnotesListStart',_0x11fe56,_0x25fd1e);}(_0x125c7a,_0x6f520a,_0x4348e5,_0x337c8),function(_0x12d705,_0x34fb0e,_0x39846b,_0x50520e){if(!_0x50520e['checkAttribute'](_0x34fb0e,'footnotesListStyle'))return;let _0x164d18='decimal',_0x4db58b=!0x1;if(_0x39846b['consumable']['consume'](_0x12d705,{'attributes':'type'})){const _0x4befdc={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x12d705['getAttribute']('type')];_0x4befdc&&(_0x164d18=_0x4befdc),_0x4db58b=!0x0;}_0x39846b['consumable']['consume'](_0x12d705,{'styles':'list-style-type'})&&(_0x164d18=function(_0x3cee90){switch(_0x3cee90){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3cee90;}}(_0x12d705['getStyle']('list-style-type')),_0x4db58b=!0x0),!_0x4db58b&&_0x34fb0e['hasAttribute']('footnotesListStyle')||_0x39846b['writer']['setAttribute']('footnotesListStyle',_0x164d18,_0x34fb0e);}(_0x125c7a,_0x6f520a,_0x4348e5,_0x337c8));});}),_0x356a70['for']('downcast')['add'](_0x4ffaf8=>{_0x4ffaf8['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5fe822,_0x3ee8fa,_0x296b09)=>{if(!_0x296b09['consumable']['consume'](_0x3ee8fa['item'],_0x5fe822['name']))return;const _0x1a3666=M(_0x3ee8fa['item'],_0x296b09['mapper']),{attributeNewValue:_0x76dcfb}=_0x3ee8fa;null==_0x76dcfb||0x1===_0x76dcfb?_0x296b09['writer']['removeAttribute']('start',_0x1a3666):_0x296b09['writer']['setAttribute']('start',String(_0x76dcfb),_0x1a3666);}),_0x4ffaf8['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xacd662,_0x5dcb22,_0x1ada91)=>{if(!_0x1ada91['consumable']['consume'](_0x5dcb22['item'],_0xacd662['name']))return;const _0x29d6cf=M(_0x5dcb22['item'],_0x1ada91['mapper']),{attributeNewValue:_0x9c7756}=_0x5dcb22;_0x9c7756&&'decimal'!==_0x9c7756?_0x1ada91['writer']['setStyle']('list-style-type',_0x9c7756,_0x29d6cf):_0x1ada91['writer']['removeStyle']('list-style-type',_0x29d6cf);});});}['_definePostfixer'](){const {editor:_0x28476b}=this,{model:_0x2df0b9}=_0x28476b,_0x545749=_0x28476b['plugins']['get'](f),_0x4d5fee=this['_getDefaultListStyle'](),_0x590d00=this['_getDefaultStartIndex']();_0x2df0b9['document']['registerPostFixer'](_0x52085d=>{const _0x4cf57a=_0x2df0b9['document']['differ']['getChanges']();let _0xed2600=!0x1;for(const _0x38051f of _0x4cf57a){if('insert'!==_0x38051f['type']||'$text'===_0x38051f['name'])continue;const _0x20c13e=_0x2df0b9['createRangeOn'](_0x38051f['position']['nodeAfter']);for(const _0x24281c of _0x20c13e['getItems']())_0x24281c['is']('element','footnotesDefinitions')&&(!_0x24281c['hasAttribute']('footnotesListStart')&&_0x2df0b9['schema']['checkAttribute'](_0x24281c,'footnotesListStart')&&(_0x52085d['setAttribute']('footnotesListStart',_0x590d00,_0x24281c),_0xed2600=!0x0),!_0x24281c['hasAttribute']('footnotesListStyle')&&_0x2df0b9['schema']['checkAttribute'](_0x24281c,'footnotesListStyle')&&(_0x52085d['setAttribute']('footnotesListStyle',_0x4d5fee,_0x24281c),_0xed2600=!0x0));}return _0xed2600&&_0x545749['_updateFootnotesCounters'](_0x52085d),_0xed2600;});}['_defineFormatter'](){const {editor:_0xc3a154}=this;_0xc3a154['plugins']['get'](f)['setFootnoteFormatter'](_0x337467=>this['_formatFootnoteListValue'](_0x337467));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xac3f5d,value:_0x4ea988,digits:_0x69ba4c}){const _0x59436c=_0xac3f5d['getAttribute']('footnotesListStyle'),_0x2fc635=_0xac3f5d['getAttribute']('footnotesListStart'),_0x503706=Math['floor'](_0x4ea988)+(_0x2fc635??0x1)-0x1;switch(_0x59436c){case'decimal-leading-zero':return function(_0x7f8b,_0x288d1e){return String(_0x7f8b)['padStart'](_0x288d1e,'0');}(_0x503706,Math['max'](0x2,_0x69ba4c));case'lower-alpha':case'lower-latin':return N(_0x503706,!0x1);case'upper-alpha':case'upper-latin':return N(_0x503706,!0x0);case'lower-roman':return X(_0x503706,!0x1);case'upper-roman':return X(_0x503706,!0x0);default:return String(_0x503706);}}}function M(_0x4bdc2d,_0x51f9dd){const _0x1ddb9d=_0x51f9dd['toViewElement'](_0x4bdc2d);return Array['from'](_0x1ddb9d['getChildren']())['find'](_0x164557=>_0x164557['is']('element','ol')&&_0x164557['hasClass']('footnotes-list'));}function N(_0x30c487,_0x59c125){let _0x330517='',_0x463879=_0x30c487;for(;_0x463879>0x0;){const _0xf44945=(_0x463879-0x1)%0x1a;_0x330517=String['fromCharCode'](0x61+_0xf44945)+_0x330517,_0x463879=Math['floor']((_0x463879-0x1)/0x1a);}return _0x59c125?_0x330517['toUpperCase']():_0x330517;}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(_0x1ddb83,_0x42308a){let _0x1652f0='',_0x391821=_0x1ddb83;for(const {value:_0x2d1962,numeral:_0x19f716}of V)for(;_0x391821>=_0x2d1962;)_0x1652f0+=_0x19f716,_0x391821-=_0x2d1962;return _0x42308a?_0x1652f0:_0x1652f0['toLowerCase']();}class $ extends _0xaed57d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1f100a();['focusCycler'];constructor(_0x201350,{styleButtonViews:_0x1bc9b9,styleGridAriaLabel:_0xa64de5}){super(_0x201350),(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'](_0x1bc9b9,_0xa64de5),[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 _0x522b5d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x522b5d['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 _0x12e45c=_0x12615c=>_0x12615c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12e45c),this['keystrokes']['set']('arrowleft',_0x12e45c),this['keystrokes']['set']('arrowup',_0x12e45c),this['keystrokes']['set']('arrowdown',_0x12e45c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x27f624,_0x490a8b){const _0x443efd=new _0xaed57d(this['locale']);return _0x443efd['children']=_0x443efd['createCollection'](),_0x443efd['children']['addMany'](_0x27f624),_0x443efd['setTemplate']({'tag':'div','attributes':{'aria-label':_0x490a8b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x443efd['children']}),_0x443efd['children']['delegate']('execute')['to'](this),_0x443efd['focus']=function(){for(const _0x5076c2 of this['children'])if(_0x5076c2 instanceof _0x268ce6&&_0x5076c2['isOn'])return void _0x5076c2['focus']();this['children']['first']['focus']();},_0x443efd['focusTracker']=new rt(),_0x443efd['keystrokes']=new nt(),_0x443efd['render'](),_0x443efd['keystrokes']['listenTo'](_0x443efd['element']),this['children']['add'](_0x443efd),_0x443efd;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5d97c2=this['_createStartIndexPropertyView'](),_0x1024f8=[_0x5d97c2],_0x177b6e=new it(this['locale'],_0x1024f8);return _0x177b6e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x177b6e['buttonView']['bind']('isEnabled')['toMany'](_0x1024f8,'isEnabled',(..._0x585e8e)=>_0x585e8e['some'](_0x40f96a=>_0x40f96a)),_0x177b6e['buttonView']['on']('change:isEnabled',(_0x2bd4d8,_0x5acf47,_0x31cfab)=>{_0x31cfab||(_0x177b6e['isCollapsed']=!0x0);}),this['children']['add'](_0x177b6e),[_0x5d97c2,_0x177b6e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x48a070=new et(this['locale'],ot);return _0x48a070['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x48a070['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x48a070['fieldView']['on']('input',()=>{const _0x5dd798=_0x48a070['fieldView']['element'],_0xcccbfc=_0x5dd798['valueAsNumber'];Number['isNaN'](_0xcccbfc)?_0x48a070['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5dd798['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xcccbfc}):_0x48a070['errorText']=t(_0xcccbfc<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x48a070;}}class j extends _0x28cc82{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2b6024,_0x3f0282];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x461c22}=this,{componentFactory:_0x26a518}=_0x461c22['ui'];_0x461c22['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x26a518['add']('footnotesStyle',function(_0x304220){return _0x466b5d=>{const {t:t}=_0x466b5d,_0x4bdcbb=_0x304220['commands']['get']('footnotesStyle'),_0x2d9661=_0x22a2bf(_0x466b5d),{buttonView:_0x346bb5}=_0x2d9661;return _0x2d9661['class']='ck-footnotes-styles-dropdown',_0x2d9661['bind']('isEnabled')['to'](_0x4bdcbb,'isEnabled'),_0x346bb5['set']({'label':t('Footnotes\x20style'),'icon':_0xb3f0a0,'tooltip':!0x0}),_0x2d9661['once']('change:isOpen',()=>{const _0x9f14bc=function({editor:_0x27e51e,dropdownView:_0x36cd12}){const {t:t}=_0x27e51e['locale'],_0x36889b=t('Footnotes\x20definitions\x20styles'),_0x4548d5=function(_0x1a74da){const t=_0x1a74da['locale']['t'],_0x6f0d82=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4b9445},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xb9385d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x33e745},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5737aa},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5090ba},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1904fb}];return _0x6f0d82['map'](function(_0x2f0533){const _0xff098=_0x2f0533['locale'];return({label:_0x53dc59,icon:_0x5d2688,tooltip:_0x172866,style:_0x45b7f5})=>{const _0x1ae9a4=_0x2f0533['commands']['get']('footnotesStyle'),_0x38e65d=new _0x268ce6(_0xff098);return _0x38e65d['set']({'label':_0x53dc59,'icon':_0x5d2688,'tooltip':_0x172866}),_0x38e65d['bind']('isOn')['to'](_0x1ae9a4,'value',_0x26aa43=>_0x26aa43===_0x45b7f5),_0x38e65d['bind']('isEnabled')['to'](_0x1ae9a4,'isEnabled'),_0x38e65d['on']('execute',()=>{_0x2f0533['execute']('footnotesStyle',{'value':_0x45b7f5}),_0x2f0533['editing']['view']['focus']();}),_0x38e65d;};}(_0x1a74da));}(_0x27e51e),_0x2dc21f=new $(_0x27e51e['locale'],{'styleGridAriaLabel':_0x36889b,'styleButtonViews':_0x4548d5}),_0x1ee492=_0x27e51e['commands']['get']('footnotesStart');return _0x2dc21f['startIndexFieldView']['bind']('isEnabled')['to'](_0x1ee492),_0x2dc21f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1ee492),_0x2dc21f['on']('footnotesListStart',(_0x5b0a64,_0xdac645)=>{_0x27e51e['execute']('footnotesStart',{'value':_0xdac645['startIndex']});}),_0x2dc21f['delegate']('execute')['to'](_0x36cd12),_0x2dc21f;}({'editor':_0x304220,'dropdownView':_0x2d9661});_0x2d9661['panelView']['children']['add'](_0x9f14bc);}),_0x2d9661;};}(_0x461c22));}['afterInit'](){const {editor:_0x12a807}=this,{t:t}=_0x12a807['locale'],_0x28eefd=_0x12a807['plugins']['get'](_0x3f0282),{defaultPositions:_0x11057f}=_0x25c226;_0x28eefd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x12a807['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xb27c9d=>{let _0x55f937=_0xb27c9d['getFirstPosition']()?.['parent'];return _0x55f937?.['is']('$text')&&(_0x55f937=_0x55f937['parent']),_0x55f937?.['is']('element')?_0x55f937['findAncestor'](H):null;},'positions':[_0x11057f['southArrowNorth'],_0x11057f['southArrowNorthMiddleWest'],_0x11057f['southArrowNorthMiddleEast'],_0x11057f['southArrowNorthWest'],_0x11057f['southArrowNorthEast'],_0x11057f['northArrowSouth'],_0x11057f['northArrowSouthMiddleWest'],_0x11057f['northArrowSouthMiddleEast'],_0x11057f['northArrowSouthWest'],_0x11057f['northArrowSouthEast'],_0x11057f['viewportStickyNorth']]});}}class ft extends _0x28cc82{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':_0x276b3a=>0x1!=_0x276b3a}};
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':_0x2e549a=>0x1!=_0x2e549a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x187861=>{const {af:{dictionary:_0x3f9050,getPluralForm:_0x10b66f}}={'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':_0x4a18ed=>0x1!=_0x4a18ed}};_0x187861['af']||={'dictionary':{},'getPluralForm':null},_0x187861['af']['dictionary']=Object['assign'](_0x187861['af']['dictionary'],_0x3f9050),_0x187861['af']['getPluralForm']=_0x10b66f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c2b30=>{const {af:{dictionary:_0x515e8d,getPluralForm:_0x586b08}}={'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':_0x45fb60=>0x1!=_0x45fb60}};_0x3c2b30['af']||={'dictionary':{},'getPluralForm':null},_0x3c2b30['af']['dictionary']=Object['assign'](_0x3c2b30['af']['dictionary'],_0x515e8d),_0x3c2b30['af']['getPluralForm']=_0x586b08;})(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':_0x413495=>0x0==_0x413495?0x0:0x1==_0x413495?0x1:0x2==_0x413495?0x2:_0x413495%0x64>=0x3&&_0x413495%0x64<=0xa?0x3:_0x413495%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':_0x56b833=>0x0==_0x56b833?0x0:0x1==_0x56b833?0x1:0x2==_0x56b833?0x2:_0x56b833%0x64>=0x3&&_0x56b833%0x64<=0xa?0x3:_0x56b833%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x55f11f=>{const {ar:{dictionary:_0x342e9f,getPluralForm:_0x4d36de}}={'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':_0x52b883=>0x0==_0x52b883?0x0:0x1==_0x52b883?0x1:0x2==_0x52b883?0x2:_0x52b883%0x64>=0x3&&_0x52b883%0x64<=0xa?0x3:_0x52b883%0x64>=0xb?0x4:0x5}};_0x55f11f['ar']||={'dictionary':{},'getPluralForm':null},_0x55f11f['ar']['dictionary']=Object['assign'](_0x55f11f['ar']['dictionary'],_0x342e9f),_0x55f11f['ar']['getPluralForm']=_0x4d36de;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d0326=>{const {ar:{dictionary:_0x45b410,getPluralForm:_0x2c0d10}}={'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':_0x4414fe=>0x0==_0x4414fe?0x0:0x1==_0x4414fe?0x1:0x2==_0x4414fe?0x2:_0x4414fe%0x64>=0x3&&_0x4414fe%0x64<=0xa?0x3:_0x4414fe%0x64>=0xb?0x4:0x5}};_0x4d0326['ar']||={'dictionary':{},'getPluralForm':null},_0x4d0326['ar']['dictionary']=Object['assign'](_0x4d0326['ar']['dictionary'],_0x45b410),_0x4d0326['ar']['getPluralForm']=_0x2c0d10;})(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':_0x24a614=>0x1!=_0x24a614}};
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':_0xa14aed=>0x1!=_0xa14aed}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4b84be=>{const {ast:{dictionary:_0x4014c6,getPluralForm:_0x1d828e}}={'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':_0x3cd2ef=>0x1!=_0x3cd2ef}};_0x4b84be['ast']||={'dictionary':{},'getPluralForm':null},_0x4b84be['ast']['dictionary']=Object['assign'](_0x4b84be['ast']['dictionary'],_0x4014c6),_0x4b84be['ast']['getPluralForm']=_0x1d828e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d2e8c=>{const {ast:{dictionary:_0x4dae54,getPluralForm:_0xce23e5}}={'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':_0x17a736=>0x1!=_0x17a736}};_0x4d2e8c['ast']||={'dictionary':{},'getPluralForm':null},_0x4d2e8c['ast']['dictionary']=Object['assign'](_0x4d2e8c['ast']['dictionary'],_0x4dae54),_0x4d2e8c['ast']['getPluralForm']=_0xce23e5;})(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':_0xc80418=>0x1!=_0xc80418}};
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':_0x1a8b30=>0x1!=_0x1a8b30}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x172a84=>{const {az:{dictionary:_0x23c928,getPluralForm:_0x774e62}}={'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':_0x11c824=>0x1!=_0x11c824}};_0x172a84['az']||={'dictionary':{},'getPluralForm':null},_0x172a84['az']['dictionary']=Object['assign'](_0x172a84['az']['dictionary'],_0x23c928),_0x172a84['az']['getPluralForm']=_0x774e62;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a7456=>{const {az:{dictionary:_0x284596,getPluralForm:_0x3ac5ed}}={'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':_0x2b1aae=>0x1!=_0x2b1aae}};_0x2a7456['az']||={'dictionary':{},'getPluralForm':null},_0x2a7456['az']['dictionary']=Object['assign'](_0x2a7456['az']['dictionary'],_0x284596),_0x2a7456['az']['getPluralForm']=_0x3ac5ed;})(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':_0x490db6=>_0x490db6%0xa==0x1&&_0x490db6%0x64!=0xb?0x0:_0x490db6%0xa>=0x2&&_0x490db6%0xa<=0x4&&(_0x490db6%0x64<0xa||_0x490db6%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':_0x3bc378=>_0x3bc378%0xa==0x1&&_0x3bc378%0x64!=0xb?0x0:_0x3bc378%0xa>=0x2&&_0x3bc378%0xa<=0x4&&(_0x3bc378%0x64<0xa||_0x3bc378%0x64>=0x14)?0x1:0x2}};