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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x18b5ec,Command as _0x4bbd41}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3ce59c,isWidget as _0xd956bf,toWidgetEditable as _0x550531,WidgetToolbarRepository as _0x5a928e}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x578702,logWarning as _0x3e5fcb,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x493d93,ClickObserver as _0x31e545}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x33d5c4}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x224e71,ButtonView as _0x53ca0b,View as _0x2ac156,ViewCollection as _0x3a6238,FocusCycler as _0x8c8759,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1129cb,BalloonPanelView as _0x414a7c,createDropdown as _0x15a034}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3e6764,IconListStyleDecimal as _0x35a41d,IconListStyleDecimalLeadingZero as _0x15854c,IconListStyleLowerRoman as _0x39d07d,IconListStyleUpperRoman as _0x34c7a6,IconListStyleLowerLatin as _0x640933,IconListStyleUpperLatin as _0x5d0855}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2eb84c,_0x10f77c){this['_model']=_0x2eb84c,this['_elementName']=_0x10f77c['elementName'],this['_getElementKey']=_0x10f77c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2437cc){const _0x494ce8=new Set(),_0x554aac=new Map();for(const _0x3cc8ff of _0x2437cc){if('insert'===_0x3cc8ff['type']&&'$text'!==_0x3cc8ff['name']&&_0x3cc8ff['position']['nodeAfter']){const _0x3fd430=this['_model']['createRangeOn'](_0x3cc8ff['position']['nodeAfter']);for(const _0x57aa78 of _0x3fd430['getItems']()){if(!_0x57aa78['is']('element',this['_elementName']))continue;const _0x19f502=this['_getElementKey'](_0x57aa78);_0x554aac['has'](_0x19f502)||_0x554aac['set'](_0x19f502,[]),_0x554aac['get'](_0x19f502)['push'](_0x57aa78);}}if('remove'===_0x3cc8ff['type']&&_0x3cc8ff['name']===this['_elementName']){const _0x365e6b=this['_getElementKey']({'getAttribute':_0x369dc2=>_0x3cc8ff['attributes']['get'](_0x369dc2)});_0x494ce8['add'](_0x365e6b);}}for(const [_0xb92daf,_0x1770df]of this['_trackedElements'])'$graveyard'===_0x1770df['root']['rootName']&&_0x494ce8['add'](_0xb92daf);for(const _0x51fcc7 of _0x494ce8)this['_trackedElements']['delete'](_0x51fcc7);for(const [_0x5657cb,_0x4abb32]of _0x554aac)this['_trackedElements']['set'](_0x5657cb,_0x4abb32[_0x4abb32['length']-0x1]);const _0x5c7df4=new Set();for(const [_0x1e2f40,_0x36b741]of _0x554aac)_0x494ce8['has'](_0x1e2f40)&&(_0x5c7df4['add'](_0x36b741[0x0]),_0x36b741['length']>0x1?_0x554aac['set'](_0x1e2f40,_0x36b741['slice'](0x1)):_0x554aac['delete'](_0x1e2f40),_0x494ce8['delete'](_0x1e2f40));return{'removed':Array['from'](_0x494ce8),'inserted':Array['from'](_0x554aac['values']())['flat'](),'moved':Array['from'](_0x5c7df4)};}}class f extends _0x18b5ec{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10f4eb){super(_0x10f4eb),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4d87de=>_0x4d87de['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x245349=>_0x245349['getAttribute']('footnoteId')});}['init'](){const {editor:_0x249b46}=this,{model:_0x4ace44,data:_0x22d611}=_0x249b46;_0x4ace44['document']['registerPostFixer'](_0x401ff7=>{const _0x4bfed1=_0x4ace44['document']['differ']['getChanges']();let _0x3c80d1=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x401ff7,_0x4bfed1)&&(_0x3c80d1=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x401ff7,_0x4bfed1)&&(_0x3c80d1=!0x0),this['_handleFootnoteReferencesChanges'](_0x401ff7,_0x4bfed1)&&(_0x3c80d1=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x401ff7)&&(_0x3c80d1=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x401ff7)&&(_0x3c80d1=!0x0),this['_sortFootnoteDefinitions'](_0x401ff7)&&(_0x3c80d1=!0x0),_0x3c80d1;}),this['listenTo'](_0x4ace44['document'],'change:data',()=>{_0x4ace44['enqueueChange']({'isUndoable':!0x1},_0x451991=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x451991);});},{'priority':'low'}),this['listenTo'](_0x22d611,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5006d4){return this['_footnotes']['find'](_0x51d84b=>_0x51d84b['id']===_0x5006d4)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x54aeff){this['_footnoteFormatter']=_0x54aeff;}['_updateFootnotesCounters'](_0x432f77,_0x255ee0=0x0){let _0x444572=!0x1;for(let _0x3bdc4c=_0x255ee0;_0x3bdc4c<this['_footnotes']['length'];_0x3bdc4c++)this['_updateFootnoteRefCounter'](_0x432f77,_0x3bdc4c)&&(_0x444572=!0x0);return _0x444572;}['_insertEmptyFootnotesDefinitionsContainer'](_0x7ae57e,_0xb769aa){const _0x49d2d8=_0x7ae57e['createElement']('footnotesDefinitions',{});return _0x7ae57e['append'](_0x49d2d8,_0xb769aa),this['_footnotesDefinitions']=_0x49d2d8,_0x49d2d8;}['_ensureFootnotesDefinitionsContainerExists'](_0x578b7b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x273f3a=this['_footnotes'][0x0]['reference']['root'],_0x3ea167=this['_insertEmptyFootnotesDefinitionsContainer'](_0x578b7b,_0x273f3a);for(const _0x48701f of this['_footnotes'])_0x48701f['definition']['parent']||_0x578b7b['insert'](_0x48701f['definition'],_0x3ea167,'end');this['_updateFootnotesCounters'](_0x578b7b);}['_handleFootnotesDefinitionsObjectChanges'](_0x41bf96,_0x2df1c1){let _0xc8e377=!0x1;const {inserted:_0x49a4a7,removed:_0x2ff236,moved:_0x269cd6}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2df1c1);if(_0x269cd6['length']&&(this['_footnotesDefinitions']=_0x269cd6[0x0]),_0x49a4a7['length']){if(_0x49a4a7['length']>0x1||this['_footnotesDefinitions']&&_0x49a4a7['some'](_0x429aeb=>_0x429aeb!==this['_footnotesDefinitions'])){const _0x4679e1=_0x41bf96['createElement']('footnotesDefinitions',{}),_0x3e3d27=[];this['_footnotesDefinitions']&&_0x3e3d27['push'](this['_footnotesDefinitions']),_0x3e3d27['push'](..._0x49a4a7),_0x41bf96['insert'](_0x4679e1,_0x3e3d27[0x0],'before');for(const _0x3361ec of _0x3e3d27)_0x41bf96['move'](_0x41bf96['createRangeIn'](_0x3361ec),_0x41bf96['createPositionAt'](_0x4679e1,'end')),_0x41bf96['remove'](_0x3361ec);this['_footnotesDefinitions']=_0x4679e1,this['_updateFootnotesCounters'](_0x41bf96),_0xc8e377=!0x0;}else this['_footnotesDefinitions']=_0x49a4a7[0x0];}if(_0x2ff236['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4dc7a5 of this['_footnotes'])_0x41bf96['remove'](_0x4dc7a5['reference']),_0xc8e377=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xc8e377;}['_handleFootnoteDefinitionsChanges'](_0x16dfb2,_0x4a30d3){let _0x4a2d52=!0x1;const _0x4281b0=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x297fca,moved:_0x28f255}=this['_footnoteDefsTracker']['getChanges'](_0x4a30d3);for(const _0x12a7a7 of[..._0x28f255,..._0x297fca]){const _0x251d2e=_0x12a7a7['getAttribute']('footnoteId'),_0x4c41f9=this['getFootnote'](_0x251d2e);_0x4c41f9&&(_0x4c41f9['definition']=_0x12a7a7),_(_0x16dfb2,_0x4281b0,_0x12a7a7)&&(_0x4a2d52=!0x0);}return _0x4a2d52;}['_handleFootnoteReferencesChanges'](_0x11e048,_0x4a4040){let _0x577f45=!0x1;const {removed:_0x28a010,inserted:_0x2c2ae2,moved:_0x2ae9d9}=this['_footnoteRefsTracker']['getChanges'](_0x4a4040);for(const _0x3279e6 of _0x28a010)this['_handleRemoveFootnoteReferenceById'](_0x11e048,_0x3279e6)&&(_0x577f45=!0x0);for(const _0x50198c of _0x2c2ae2)this['_handleInsertedFootnoteReference'](_0x11e048,_0x50198c)&&(_0x577f45=!0x0);for(const _0x33ead9 of _0x2ae9d9)this['_handleMovedFootnoteReference'](_0x11e048,_0x33ead9)&&(_0x577f45=!0x0);return _0x577f45;}['_handleFootnotesDefinitionsObjectSync'](_0x102a88){if(!this['_footnotesDefinitions'])return!0x1;let _0x3c9941=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2075ee=[];for(const _0x12783a of this['_footnotesDefinitions']['getChildren']()){const _0xbf77c9=_0x12783a['getAttribute']('footnoteId');this['getFootnote'](_0xbf77c9)||(_0x2075ee['unshift'](_0x12783a),_0x3c9941=!0x0);}for(const _0x22e4e5 of _0x2075ee)_0x102a88['remove'](_0x22e4e5);}const _0xbff73e=new Set(),_0x5884c4=[];for(const _0x5bfd2c of this['_footnotesDefinitions']['getChildren']()){const _0x58a375=_0x5bfd2c['getAttribute']('footnoteId');_0xbff73e['has'](_0x58a375)?(_0x5884c4['unshift'](_0x5bfd2c),_0x3c9941=!0x0):_0xbff73e['add'](_0x58a375);}for(const _0x27b74f of _0x5884c4)_0x102a88['remove'](_0x27b74f);return this['_footnotesDefinitions']['childCount']||(_0x102a88['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3c9941=!0x0),_0x3c9941;}['_handleInsertedFootnoteReference'](_0x2185cb,_0x323d10){if(this['_footnotes']['find'](_0x12c858=>_0x12c858['reference']===_0x323d10))return!0x1;let _0x1cb521=!0x1;const _0x5ad6ff=_0x323d10['getAttribute']('footnoteId'),_0x560c28=this['_footnotes']['findIndex'](_0x5bb4c9=>_0x5bb4c9['id']===_0x5ad6ff);-0x1!==_0x560c28&&(_0x2185cb['remove'](this['_footnotes'][_0x560c28]['reference']),this['_footnotes']['splice'](_0x560c28,0x1),_0x1cb521=!0x0);let _0x4ade56=this['_footnotesDefinitions']?function(_0x23b4ee,_0x4c9931){for(const _0x547d03 of _0x23b4ee['getChildren']())if(_0x547d03['getAttribute']('footnoteId')===_0x4c9931)return _0x547d03;return null;}(this['_footnotesDefinitions'],_0x5ad6ff):null;_0x4ade56||(_0x4ade56=_0x2185cb['createElement']('footnoteDefinition',{'footnoteId':_0x5ad6ff}),this['_footnotesDefinitions']&&(_0x2185cb['insert'](_0x4ade56,this['_footnotesDefinitions'],'end'),_0x1cb521=!0x0));const _0x4aac43={'id':_0x5ad6ff,'reference':_0x323d10,'definition':_0x4ade56},_0x7df9f=I(this['editor']['model'],this['_footnotes'],_0x323d10);this['_footnotes']['splice'](_0x7df9f,0x0,_0x4aac43);let _0x1bcb30=_0x7df9f;return-0x1!==_0x560c28&&(_0x1bcb30=Math['min'](_0x7df9f,_0x560c28)),this['_updateFootnotesCounters'](_0x2185cb,_0x1bcb30)&&(_0x1cb521=!0x0),_0x1cb521;}['_handleRemoveFootnoteReferenceById'](_0x77114b,_0x3eb4df){const _0x240e55=this['_footnotes']['findIndex'](_0x1ecd59=>_0x1ecd59['id']===_0x3eb4df);if(-0x1===_0x240e55)return!0x1;let _0x1d2505=!0x1;const _0x44f788=this['_footnotes'][_0x240e55];return'$graveyard'!==_0x44f788['definition']['root']['rootName']&&(_0x77114b['remove'](_0x44f788['definition']),_0x1d2505=!0x0),this['_footnotes']['splice'](_0x240e55,0x1),this['_updateFootnotesCounters'](_0x77114b,_0x240e55)&&(_0x1d2505=!0x0),_0x1d2505;}['_handleMovedFootnoteReference'](_0x372ce7,_0xa83b13){const _0x4be24f=_0xa83b13['getAttribute']('footnoteId'),_0x30ccb7=this['_footnotes']['findIndex'](_0xb3fd90=>_0xb3fd90['id']===_0x4be24f),_0x365fa4=this['_footnotes'][_0x30ccb7];let _0x4fb14e=!0x1;_0x365fa4['reference']=_0xa83b13,this['_footnotes']['splice'](_0x30ccb7,0x1);const _0x852b45=I(this['editor']['model'],this['_footnotes'],_0xa83b13);return this['_footnotes']['splice'](_0x852b45,0x0,_0x365fa4),this['_updateFootnotesCounters'](_0x372ce7,Math['min'](_0x30ccb7,_0x852b45))&&(_0x4fb14e=!0x0),_0x4fb14e;}['_updateFootnoteRefCounter'](_0x1a20e5,_0x5246a5){if(!this['_footnotesDefinitions'])return!0x1;const _0x59ff2d=this['_footnotes'][_0x5246a5];let _0x449a68;return _0x449a68=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x59ff2d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5246a5+0x1}):String(_0x5246a5+0x1),_0x59ff2d['reference']['getAttribute']('footnoteCounter')!=_0x449a68&&(_0x1a20e5['setAttribute']('footnoteCounter',_0x449a68,_0x59ff2d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x39a961){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x59683a,_0x5af2d6){if(_0x59683a['length']!==_0x5af2d6['length'])return!0x1;for(let _0x27b1e1=0x0;_0x27b1e1<_0x59683a['length'];_0x27b1e1++)if(_0x59683a[_0x27b1e1]!==_0x5af2d6[_0x27b1e1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x46d93e=>_0x46d93e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4a934c=>_0x4a934c['getAttribute']('footnoteId'))))return!0x1;let _0x23a38e=!0x1;for(let _0x8f4e61=0x0;_0x8f4e61<this['_footnotes']['length'];_0x8f4e61++){const _0x3fe36a=this['_footnotes'][_0x8f4e61],_0x163205=_0x39a961['createPositionBefore'](_0x3fe36a['definition']),_0x304027=_0x39a961['createPositionAt'](this['_footnotesDefinitions'],_0x8f4e61);_0x163205['isEqual'](_0x304027)||(_0x39a961['move'](_0x39a961['createRangeOn'](_0x3fe36a['definition']),_0x304027),_0x23a38e=!0x0);}return _0x23a38e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x44bc4c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x16bbac}=this['editor'];let _0x350179=!0x1;for(let _0x417d71=0x0;_0x417d71<this['_footnotes']['length']-0x1;_0x417d71++){const _0x3c2804=this['_footnotes'][_0x417d71],_0x4f4f19=this['_footnotes'][_0x417d71+0x1],_0x160463=_0x16bbac['createPositionBefore'](_0x3c2804['reference']),_0x23f6d1=_0x16bbac['createPositionBefore'](_0x4f4f19['reference']);'after'===_0x160463['compareWith'](_0x23f6d1)&&(this['_handleMovedFootnoteReference'](_0x44bc4c,_0x3c2804['reference']),_0x417d71=-0x1,_0x350179=!0x0);}return _0x350179;}}function _(_0x30a263,_0x157157,_0x1121f2){if(_0x1121f2['childCount'])return!0x1;const _0x3f60e9=_0x157157?'paragraph':'footnoteInlineContent';return _0x30a263['insert'](_0x30a263['createElement'](_0x3f60e9),_0x1121f2),!0x0;}function I(_0x225b5f,_0x4c662f,_0x57561f){if(0x0===_0x4c662f['length'])return 0x0;const _0x4c77ad=_0x225b5f['createPositionBefore'](_0x57561f);for(let _0x2efa08=0x0;_0x2efa08<_0x4c662f['length'];_0x2efa08++){const _0x31a9ff=_0x4c662f[_0x2efa08],_0x21a13c=_0x225b5f['createPositionBefore'](_0x31a9ff['reference']);if('before'===_0x4c77ad['compareWith'](_0x21a13c))return _0x2efa08;}const _0x1d8296=_0x57561f['root'];let _0x27bfd0=-0x1;for(let _0x5ef2cb=_0x4c662f['length']-0x1;_0x5ef2cb>=0x0;_0x5ef2cb--)if(_0x4c662f[_0x5ef2cb]['reference']['root']===_0x1d8296){_0x27bfd0=_0x5ef2cb;break;}if(-0x1!==_0x27bfd0)return _0x27bfd0+0x1;const _0x2769a0=_0x225b5f['document']['getRootNames'](),_0x4785d4=_0x2769a0['indexOf'](_0x1d8296['rootName']),_0x52ab49=_0x2769a0[_0x4785d4+0x1];if(_0x52ab49){for(let _0x414448=0x0;_0x414448<_0x4c662f['length'];_0x414448++)if(_0x4c662f[_0x414448]['reference']['root']['rootName']===_0x52ab49)return _0x414448;}return _0x4c662f['length'];}class h extends _0x4bbd41{['refresh'](){const _0x475396=this['editor']['model']['document']['selection'],_0xf4b4df=this['_getPositionToInsertFootnote'](_0x475396);this['isEnabled']=!!_0xf4b4df;}['execute'](_0x1d1c50){const {editor:_0x12763d}=this,{model:_0x29357a}=_0x12763d,{selection:_0x4eb70e}=_0x29357a['document'],_0x528da3=this['_getPositionToInsertFootnote'](_0x4eb70e);if(!_0x528da3)return;const _0x3d771f=_0x12763d['plugins']['get']('FootnotesEditing'),_0x44f6bd=_0x1d1c50?.['footnoteId']??_0x578702();!function(_0x52e7c6){return'string'==typeof _0x52e7c6&&_0x52e7c6['length']>0x0&&!/\s/['test'](_0x52e7c6)&&!/^\d/['test'](_0x52e7c6);}(_0x44f6bd)?_0x3e5fcb('insert-footnote-command-executed-with-invalid-id'):(_0x29357a['change'](_0x407d8f=>{const _0x1aea4d=_0x407d8f['createElement']('footnoteRef',{'footnoteId':_0x44f6bd});_0x29357a['insertObject'](_0x1aea4d,_0x528da3,null);}),_0x3d771f['_moveSelectionToFootnoteDefinition'](_0x44f6bd));}['_getPositionToInsertFootnote'](_0x5991fb){const {model:_0x4dbdc4}=this['editor'],{schema:_0x3cabc3}=_0x4dbdc4,_0x1ddceb=_0x5991fb['getFirstRange']();for(const _0x575212 of _0x1ddceb['getItems']())if(_0x3cabc3['isBlock'](_0x575212)||_0x3cabc3['isObject'](_0x575212))return null;const _0x5cbd76=_0x1ddceb['end'];return _0x3cabc3['checkChild'](_0x5cbd76,'footnoteRef')?_0x5cbd76:null;}}class r extends _0x18b5ec{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13cad0}=this;_0x13cad0['config']['define']('footnotes.multiBlock',!0x0),_0x13cad0['commands']['add']('insertFootnote',new h(_0x13cad0)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x316177){const _0x4b1cdb=_0xabba3e([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]),_0x21fbe6=0x47a28506,_0x4eb509=0x47a507d6^_0x21fbe6,_0x5bb673=window[_0xabba3e([0x44,0x61,0x74,0x65])][_0xabba3e([0x6e,0x6f,0x77])](),_0x136749=_0x316177[_0xabba3e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d16fd=new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3238de=>{_0x136749[_0xabba3e([0x6f,0x6e,0x63,0x65])](_0xabba3e([0x72,0x65,0x61,0x64,0x79]),_0x3238de);}),_0x21723c={[_0xabba3e([0x6b,0x74,0x79])]:_0xabba3e([0x45,0x43]),[_0xabba3e([0x75,0x73,0x65])]:_0xabba3e([0x73,0x69,0x67]),[_0xabba3e([0x63,0x72,0x76])]:_0xabba3e([0x50,0x2d,0x32,0x35,0x36]),[_0xabba3e([0x78])]:_0xabba3e([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]),[_0xabba3e([0x79])]:_0xabba3e([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]),[_0xabba3e([0x61,0x6c,0x67])]:_0xabba3e([0x45,0x53,0x32,0x35,0x36])},_0x5b54b1=_0x136749[_0xabba3e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xabba3e([0x67,0x65,0x74])](_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e14aa(){let _0x4d47ff,_0x41a0c0=null,_0x39c011=null;try{if(_0x5b54b1==_0xabba3e([0x47,0x50,0x4c]))return _0xabba3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d47ff=_0x41c9a1(),!_0x4d47ff)return _0xabba3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d47ff[_0xabba3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39c011=_0x9f4f65(_0x4d47ff[_0xabba3e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d47ff[_0xabba3e([0x6a,0x74,0x69])])),await _0x1b71f7()?_0x1382fc()?_0x293bf9()?_0xabba3e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2af11d()?(_0x4d47ff[_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xabba3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41a0c0=_0x36fa49(_0xabba3e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ef66b()):_0xabba3e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xabba3e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xabba3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xabba3e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x293bf9(){const _0xc74ce6=[_0xabba3e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xabba3e([0x74,0x72,0x69,0x61,0x6c])][_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d47ff[_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5bb673/0x3e8:0xe10*_0x4eb509;return _0x4d47ff[_0xabba3e([0x65,0x78,0x70])]<_0xc74ce6;}function _0x1382fc(){const _0x57051a=_0x4d47ff[_0xabba3e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57051a&&(!!_0x57051a[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabba3e([0x2a]))||!!_0x57051a[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabba3e([0x46,0x4f,0x4f])));}function _0x2af11d(){const _0x18dbb9=_0x4d47ff[_0xabba3e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18dbb9||0x0==_0x18dbb9[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22e406}=new URL(window[_0xabba3e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18dbb9[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22e406))return!0x0;const _0x4db7d5=_0x22e406[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e]));return _0x18dbb9[_0xabba3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8b70f=>_0x8b70f[_0xabba3e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabba3e([0x2a])))[_0xabba3e([0x6d,0x61,0x70])](_0x2551e7=>_0x2551e7[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e])))[_0xabba3e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x216281=>_0x216281[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4db7d5[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xabba3e([0x6d,0x61,0x70])](_0x4f54ea=>Array(_0x4db7d5[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f54ea[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xabba3e([0x66,0x69,0x6c,0x6c])](_0x4f54ea[0x0]===_0xabba3e([0x2a])?_0xabba3e([0x2a]):'')[_0xabba3e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f54ea))[_0xabba3e([0x73,0x6f,0x6d,0x65])](_0x2b5adf=>_0x4db7d5[_0xabba3e([0x65,0x76,0x65,0x72,0x79])]((_0x43ff09,_0x3f8da0)=>_0x2b5adf[_0x3f8da0]===_0x43ff09||_0x2b5adf[_0x3f8da0]===_0xabba3e([0x2a])));}function _0x2ef66b(){return _0x41a0c0&&_0x39c011?new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264582,_0x3b73c1)=>{_0x41a0c0[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x264582,_0x3b73c1),_0x39c011[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x54a21f=>{_0x54a21f!=_0xabba3e([0x56,0x61,0x6c,0x69,0x64])&&_0x264582(_0x54a21f);},_0x3b73c1);}):_0x41a0c0||_0x39c011||_0xabba3e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x9f4f65(_0x2129bd,_0x3af948){return new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4ebfd=>{if(_0x19d3fd())return _0xd4ebfd(_0xabba3e([0x56,0x61,0x6c,0x69,0x64]));_0x3b1155(),_0x136749[_0xabba3e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xabba3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f879b=!0x1;const _0x36054f=_0x578702();function _0x5511d2(_0x366dcd){return!!_0x366dcd&&(typeof _0x366dcd===_0xabba3e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x366dcd===_0xabba3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x366dcd[_0xabba3e([0x74,0x68,0x65,0x6e])]===_0xabba3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x366dcd[_0xabba3e([0x63,0x61,0x74,0x63,0x68])]===_0xabba3e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ebd74(_0x2a01a2){_0x8ef90f(_0x2a01a2)[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x160341=>{if(!_0x160341||_0x160341[_0xabba3e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xabba3e([0x6f,0x6b]))return _0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x512e49(_0x4b32c2(_0x36054f+_0x3af948))!=_0x160341[_0xabba3e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xabba3e([0x56,0x61,0x6c,0x69,0x64]);})[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x2e15d3=>(_0xcd3f08(),_0x2e15d3),()=>{const _0x390b54=_0x46cdad();return null==_0x390b54?(_0xcd3f08(),_0xabba3e([0x56,0x61,0x6c,0x69,0x64])):_0xabba3e(_0x5bb673-_0x390b54>(0x63ae0106^_0x21fbe6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xabba3e([0x74,0x68,0x65,0x6e])](_0xd4ebfd)[_0xabba3e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd4ebfd(_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f20f5=0x47946b86^_0x21fbe6;function _0xcd3f08(){const _0x5b3b57=_0xabba3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x512e49(_0x4b32c2(_0x2129bd)),_0x31c4f5=_0x55915a(_0x512e49(window[_0xabba3e([0x4d,0x61,0x74,0x68])][_0xabba3e([0x63,0x65,0x69,0x6c])](_0x5bb673/_0x4f20f5)));window[_0xabba3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xabba3e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b3b57,_0x31c4f5);}function _0x46cdad(){const _0x2cd934=_0xabba3e([0x6c,0x6c,0x63,0x74,0x2d])+_0x512e49(_0x4b32c2(_0x2129bd)),_0x10eac4=window[_0xabba3e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xabba3e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cd934);return _0x10eac4?window[_0xabba3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55915a(_0x10eac4),0x10)*_0x4f20f5:null;}function _0x8ef90f(_0x514874){return new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e9f16,_0x3fdaba)=>{_0x514874[_0xabba3e([0x74,0x68,0x65,0x6e])](_0x2e9f16,_0x3fdaba),window[_0xabba3e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3fdaba,0x47a351c6^_0x21fbe6);});}}_0x136749[_0xabba3e([0x6f,0x6e])](_0xabba3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5be303,_0x4bdf8d)=>{if(_0x4bdf8d[0x0]!=_0x2129bd)return _0xd4ebfd(_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4bdf8d[0x1]={..._0x4bdf8d[0x1],[_0xabba3e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36054f};},{[_0xabba3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xabba3e([0x68,0x69,0x67,0x68])}),_0x136749[_0xabba3e([0x6f,0x6e])](_0xabba3e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c0e16=>{_0x5511d2(_0x4c0e16[_0xabba3e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f879b=!0x0,_0x2ebd74(_0x4c0e16[_0xabba3e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xabba3e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xabba3e([0x6c,0x6f,0x77])}),_0x1d16fd[_0xabba3e([0x74,0x68,0x65,0x6e])](()=>{_0x1f879b||_0xd4ebfd(_0xabba3e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19d3fd(){return _0x136749[_0xabba3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xabba3e([0x76,0x69,0x65,0x77])][_0xabba3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xabba3e([0x61,0x75,0x74,0x6f]);}function _0x3b1155(){_0x136749[_0xabba3e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xabba3e([0x76,0x69,0x65,0x77])][_0xabba3e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xabba3e([0x61,0x75,0x74,0x6f]);}}function _0x36fa49(_0x202e47){const _0x160b1=[new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f6c80=>setTimeout(_0x2f6c80,0x47abbbca^_0x21fbe6)),_0x1d16fd[_0xabba3e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x147f2c=>{let _0x4c24cc=0x0;_0x136749[_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c])][_0xabba3e([0x6f,0x6e])](_0xabba3e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4388b9,_0x2a80b3)=>{_0x2a80b3[0x0][_0xabba3e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c24cc++,_0x4c24cc==(0x47a280ee^_0x21fbe6)&&(_0x147f2c(),_0x4388b9[_0xabba3e([0x6f,0x66,0x66])]());});}))];return window[_0xabba3e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xabba3e([0x72,0x61,0x63,0x65])](_0x160b1)[_0xabba3e([0x74,0x68,0x65,0x6e])](()=>_0x202e47);}async function _0x35a8f2(){await _0x1d16fd,_0x136749[_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c])][_0xabba3e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29c6da,_0x136749[_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c])][_0xabba3e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29c6da,_0x136749[_0xabba3e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xabba3e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a9bc5(_0x196c27){const _0x541b40=_0x2faca3();_0x136749[_0x541b40]=_0xabba3e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x196c27,_0x196c27!=_0xabba3e([0x56,0x61,0x6c,0x69,0x64])&&_0x35a8f2();}function _0x2faca3(){const _0xda817d=window[_0xabba3e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xabba3e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xabba3e([0x6e,0x6f,0x77])]())[_0xabba3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xabba3e([0x2e]),'');let _0x5518a8=_0xabba3e([0x75]);for(let _0x523db5=0x0;_0x523db5<_0xda817d[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x523db5+=0x2){let _0x2cba5a=window[_0xabba3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xda817d[_0xabba3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x523db5,_0x523db5+0x2));_0x2cba5a>=_0x4b1cdb[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cba5a-=_0x4b1cdb[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5518a8+=_0x4b1cdb[_0x2cba5a];}return _0x5518a8;}function _0x41c9a1(){const _0x481e0=_0x5b54b1[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e]));if(0x3!=_0x481e0[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e6e46(_0x481e0[0x1]);function _0x5e6e46(_0x496024){const _0x5b40d5=_0x4766c1(_0x496024);return _0x5b40d5&&_0x78eec4()?_0x5b40d5:null;function _0x78eec4(){const _0x8ce741=_0x5b40d5[_0xabba3e([0x6a,0x74,0x69])],_0x3ca1ca=window[_0xabba3e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8ce741[_0xabba3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8ce741[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cf915={..._0x5b40d5,[_0xabba3e([0x6a,0x74,0x69])]:_0x8ce741[_0xabba3e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x8ce741[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cf915[_0xabba3e([0x76,0x63])],_0x4b32c2(_0x3cf915)==_0x3ca1ca;}}}async function _0x1b71f7(){let _0x45fd00=!0x0;try{const _0x387018=_0x5b54b1[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])](_0xabba3e([0x2e])),[_0x3f6d1c,_0x4009a1,_0x43b6dd]=_0x387018;return _0x37c036(_0x3f6d1c),await _0x254c67(_0x3f6d1c,_0x4009a1,_0x43b6dd),_0x45fd00;}catch{return!0x1;}function _0x37c036(_0xddac9b){const _0x3eb961=_0x4766c1(_0xddac9b);_0x3eb961&&_0x3eb961[_0xabba3e([0x61,0x6c,0x67])]==_0xabba3e([0x45,0x53,0x32,0x35,0x36])||(_0x45fd00=!0x1);}async function _0x254c67(_0x25c896,_0x2856b7,_0x49abcc){const _0x14b79f=window[_0xabba3e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xabba3e([0x66,0x72,0x6f,0x6d])](_0x1621a6(_0x49abcc),_0x57c14f=>_0x57c14f[_0xabba3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x57d14e=new window[(_0xabba3e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xabba3e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25c896+_0xabba3e([0x2e])+_0x2856b7),_0x4ff4a6=window[_0xabba3e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xabba3e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ff4a6)return;const _0x52c60b=await _0x4ff4a6[_0xabba3e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xabba3e([0x6a,0x77,0x6b]),_0x21723c,{[_0xabba3e([0x6e,0x61,0x6d,0x65])]:_0xabba3e([0x45,0x43,0x44,0x53,0x41]),[_0xabba3e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xabba3e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xabba3e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ff4a6[_0xabba3e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xabba3e([0x6e,0x61,0x6d,0x65])]:_0xabba3e([0x45,0x43,0x44,0x53,0x41]),[_0xabba3e([0x68,0x61,0x73,0x68])]:{[_0xabba3e([0x6e,0x61,0x6d,0x65])]:_0xabba3e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52c60b,_0x14b79f,_0x57d14e)||(_0x45fd00=!0x1);}}function _0x4766c1(_0x515eb2){return _0x515eb2[_0xabba3e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xabba3e([0x65,0x79]))?JSON[_0xabba3e([0x70,0x61,0x72,0x73,0x65])](_0x1621a6(_0x515eb2)):null;}function _0x1621a6(_0x274aef){return window[_0xabba3e([0x61,0x74,0x6f,0x62])](_0x274aef[_0xabba3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xabba3e([0x2b]))[_0xabba3e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xabba3e([0x2f])));}function _0x4b32c2(_0x221652){let _0x28c3cc=0x1505;function _0x127d76(_0x349b35){for(let _0x2b405f=0x0;_0x2b405f<_0x349b35[_0xabba3e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b405f++){const _0x54f8cd=_0x349b35[_0xabba3e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b405f);_0x28c3cc=(_0x28c3cc<<0x5)+_0x28c3cc+_0x54f8cd,_0x28c3cc&=_0x28c3cc;}}function _0xa43e37(_0x4cc05b){Array[_0xabba3e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cc05b)?_0x4cc05b[_0xabba3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa43e37):_0x4cc05b&&typeof _0x4cc05b==_0xabba3e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xabba3e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cc05b)[_0xabba3e([0x73,0x6f,0x72,0x74])]()[_0xabba3e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21c265,_0x12dc5b])=>{_0x127d76(_0x21c265),_0xa43e37(_0x12dc5b);}):_0x127d76(window[_0xabba3e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cc05b));}return _0xa43e37(_0x221652),_0x28c3cc>>>0x0;}function _0x512e49(_0x5cf7e3){return _0x5cf7e3[_0xabba3e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xabba3e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xabba3e([0x30]));}function _0x55915a(_0x1b3cc3){return _0x1b3cc3[_0xabba3e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xabba3e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xabba3e([0x6a,0x6f,0x69,0x6e])]('');}function _0x29c6da(){}function _0xabba3e(_0x36e364){return _0x36e364['map'](_0x5ce39e=>String['fromCharCode'](_0x5ce39e))['join']('');}_0x4a9bc5(await _0x3e14aa());}(this);}['_moveSelectionToFootnoteDefinition'](_0x179d15){const {plugins:_0x5b668d,editing:_0x1f9210,model:_0x38dd46}=this['editor'],_0x202004=_0x5b668d['get'](f)['getFootnote'](_0x179d15);return!!_0x202004&&(_0x38dd46['change'](_0x4a3003=>{_0x4a3003['setSelection'](_0x4a3003['createPositionAt'](_0x202004['definition'],'end'));}),_0x1f9210['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x299822){const {plugins:_0x270bcf,editing:_0x34378d,model:_0x536c43}=this['editor'],_0x57c55e=_0x270bcf['get'](f)['getFootnote'](_0x299822);return!!_0x57c55e&&(_0x536c43['change'](_0x393c50=>{_0x393c50['setSelection'](_0x57c55e['reference'],'on');}),_0x34378d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x551796}=this['editor']['model'],_0x1dcdff=this['editor']['config']['get']('footnotes.multiBlock');_0x551796['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x551796['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x551796['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1dcdff?_0x551796['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x551796['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x551796['addChildCheck'](_0x5cf695=>{for(const _0x564b50 of _0x5cf695)if('footnoteDefinition'===_0x564b50['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2e2cad}=this,{conversion:_0x48a476,editing:_0xff1b04}=_0x2e2cad,{t:t}=_0x2e2cad['locale'];_0x48a476['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x15701b,{writer:_0x459427,consumable:_0x44acfa})=>{const _0x4b5d39=_0x15701b['getChild'](0x0);if(!_0x4b5d39||!_0x4b5d39['is']('element','a'))return null;const _0x12cf42=_0x4b5d39['getAttribute']('href')||'';if(!_0x12cf42['startsWith']('#'))return null;const _0x2d65d1=_0x12cf42['replace'](/^#/,'');if(!_0x2d65d1)return null;_0x44acfa['consume'](_0x4b5d39,{'name':!0x0,'attributes':['href']});for(const {item:_0x5976d7}of _0xff1b04['view']['createRangeIn'](_0x4b5d39))_0x5976d7['is']('$textProxy')?_0x44acfa['consume'](_0x5976d7['textNode'],{'name':!0x0}):_0x5976d7['is']('element')&&_0x44acfa['consume'](_0x5976d7,{'name':!0x0});return _0x459427['createElement']('footnoteRef',{'footnoteId':_0x2d65d1});}}),_0x48a476['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xfbf063,{writer:_0x3d4ca3})=>b(_0xfbf063,_0x3d4ca3)}),_0x48a476['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2d3eb9,{writer:_0x520149})=>{const _0x587e3e=_0x2d3eb9['getAttribute']('footnoteCounter');return _0x3ce59c(b(_0x2d3eb9,_0x520149),_0x520149,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x587e3e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x263f50}=this,{t:t}=_0x263f50['locale'],{conversion:_0x2d5695}=_0x263f50;_0x2d5695['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2d5695['for']('upcast')['add'](_0x3561a4=>{_0x3561a4['on']('element:ol',(_0x442993,_0x4efee3,_0xfe9dd3)=>{const _0x57f2a2=_0x4efee3['viewItem'];if(!_0x57f2a2['hasClass']('footnotes-list')||!_0x4efee3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xfe9dd3['consumable']['consume'](_0x57f2a2,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x292938,modelCursor:_0x49843f}=_0xfe9dd3['convertChildren'](_0x4efee3['viewItem'],_0x4efee3['modelCursor']);_0x4efee3['modelRange']=_0x292938,_0x4efee3['modelCursor']=_0x49843f;}),_0x3561a4['on']('element:hr',(_0x2c3007,_0x5085d3,_0x1dd8a7)=>{const _0x4fe2ec=_0x5085d3['viewItem'];_0x4fe2ec['hasClass']('footnotes-divider')&&_0x5085d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1dd8a7['consumable']['consume'](_0x4fe2ec,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2d5695['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x117e9f,{writer:_0x143ac2})=>D(_0x143ac2)}),_0x2d5695['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a16a6,{writer:_0x5da7a9})=>{const _0x308b5b=D(_0x5da7a9,{'data-footnotes-list-label':t('Footnotes')}),_0x234ba7=_0x3ce59c(_0x308b5b,_0x5da7a9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5da7a9['setCustomProperty']('footnotesDefinitions',!0x0,_0x234ba7),_0x234ba7;}});}['_defineDefinitionConverters'](){const {editor:_0x18c93e}=this,{conversion:_0x32bc84,locale:_0x8d0192}=_0x18c93e,_0x4bc8d6=_0x18c93e['config']['get']('footnotes.multiBlock');_0x32bc84['for']('upcast')['add'](_0x46d778=>{_0x46d778['on']('element:li',(_0x25b8a0,_0x19a654,_0x1eb4b8)=>{const _0x535d17=_0x19a654['viewItem'];if(!_0x535d17['hasClass']('footnote-definition')||!_0x535d17['getAttribute']('id'))return;const _0x2fe0e6=_0x535d17['parent'];if(!_0x2fe0e6['is']('element','ol')||!_0x2fe0e6['hasClass']('footnotes-list'))return;if(!_0x1eb4b8['consumable']['test'](_0x535d17,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x52d33b=_0x1eb4b8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x535d17['getAttribute']('id')});if(!_0x1eb4b8['safeInsert'](_0x52d33b,_0x19a654['modelCursor']))return;_0x1eb4b8['consumable']['consume'](_0x535d17,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x378a3f=Array['from'](_0x535d17['getChildren']())['find'](_0x5a9828=>_0x5a9828['is']('element')&&_0x5a9828['hasClass']('footnote-content'));for(const _0x288f97 of _0x535d17['getChildren']())_0x288f97['is']('element')&&(_0x1eb4b8['consumable']['consume'](_0x288f97,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1eb4b8['consumable']['consume'](_0x288f97,{'name':!0x0,'classes':'footnote-content'}));if(_0x378a3f){if(_0x4bc8d6)_0x1eb4b8['convertChildren'](_0x378a3f,_0x52d33b);else{const _0xf5094=_0x1eb4b8['writer']['createElement']('footnoteInlineContent');_0x1eb4b8['writer']['insert'](_0xf5094,_0x52d33b),_0x1eb4b8['convertChildren'](_0x378a3f,_0xf5094);}}_0x1eb4b8['updateConversionResult'](_0x52d33b,_0x19a654);});}),_0x32bc84['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52f549,{writer:_0x4b7bbb})=>y(_0x52f549,_0x4b7bbb,_0x8d0192,{'dataPipeline':!0x0})}),_0x32bc84['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4866d9,{writer:_0x16971c})=>y(_0x4866d9,_0x16971c,_0x8d0192)});}['_defineBogusParagraphConverters'](){const {editor:_0x20c6f2}=this,{conversion:_0x2e4418}=_0x20c6f2;_0x20c6f2['config']['get']('footnotes.multiBlock')?(_0x2e4418['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2e4418['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x20c6f2['model']['document'],'change:data',()=>{!function(_0x576cc4,_0x4ff2f1){const _0x5eb065=_0x576cc4['document']['differ'],_0x2be09b=new Set();for(const _0x2283f3 of _0x5eb065['getChanges']()){const _0x2f3fde='attribute'==_0x2283f3['type']?_0x2283f3['range']['start']['parent']:_0x2283f3['position']['parent'];_0x2f3fde['is']('element','footnoteDefinition')&&_0x2be09b['add'](_0x2f3fde);}for(const _0x2ff067 of _0x2be09b['values']()){const _0x59ce19=Array['from'](_0x2ff067['getChildren']())['filter'](_0x55e9f7=>v(_0x55e9f7,_0x4ff2f1['mapper']));for(const _0x3a5bbc of _0x59ce19)_0x4ff2f1['reconvertItem'](_0x3a5bbc);}}(_0x20c6f2['model'],_0x20c6f2['editing']);})):(_0x2e4418['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2e4418['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x313e52,{writer:_0x281d70})=>{const _0x409619=_0x281d70['createContainerElement']('span');return _0x281d70['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x409619),_0x409619;}}));}['_defineKeyboardHandlers'](){const {editor:_0x34fbf1}=this,{editing:_0xe35436,t:t}=_0x34fbf1,_0xce492b=_0x34fbf1['model']['document']['selection'];_0x34fbf1['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x34fbf1['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xe35436['view']['document'],'enter',(_0x249d5c,_0x160e66)=>{const _0x2f8802=function(_0x37b4e6){const _0xad05c5=_0x37b4e6['getSelectedElement']();if(_0xad05c5?.['is']('element','footnoteRef'))return _0xad05c5;return null;}(_0xce492b);if(_0x2f8802){const _0x42c357=_0x2f8802['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x42c357),_0x160e66['preventDefault'](),_0x249d5c['stop']();}},{'context':_0xd956bf});}['_defineClickHandlers'](){const {editor:_0x14c706}=this,{editing:_0x308cfd}=_0x14c706;_0x14c706['editing']['view']['addObserver'](_0x493d93),_0x14c706['editing']['view']['addObserver'](_0x31e545);let _0x1a0e31=!0x1;this['listenTo'](_0x308cfd['view']['document'],'pointerdown',(_0x14ef9f,_0x482bea)=>{const {target:_0x506c1a}=_0x482bea,_0x109f91=_0x308cfd['view']['document']['selection'];_0x1a0e31=!!(_0x506c1a?.['is']('element','a')&&_0x506c1a['parent']?.['is']('element','sup')&&_0x506c1a['parent']['hasClass']('footnote'))&&_0x109f91['getSelectedElement']()===_0x506c1a['parent'];},{'priority':'high'}),this['listenTo'](_0x308cfd['view']['document'],'click',(_0x113534,_0x4713b6)=>{const {target:_0x3d34bd}=_0x4713b6;if(!_0x3d34bd?.['is']('element','a'))return;if(_0x3d34bd['parent']?.['is']('element','sup')&&_0x3d34bd['parent']['hasClass']('footnote')&&!_0x1a0e31)return void _0x4713b6['preventDefault']();let _0x3dc460=_0x3d34bd['getAttribute']('href');if(!_0x3dc460?.['startsWith']('#'))return;_0x3dc460=_0x3dc460['slice'](0x1);let _0x4d4db6=!0x1;(_0x3dc460['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3dc460['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3dc460))&&(_0x4d4db6=!0x0),_0x4d4db6&&(_0x4713b6['preventDefault'](),_0x113534['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x42405d}={}){return(_0x4af203,{writer:_0x35e63b})=>{if(!g(_0x4af203))return null;if(!_0x42405d)return _0x35e63b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5a5cf2=_0x35e63b['createContainerElement']('p');return _0x35e63b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a5cf2),_0x5a5cf2;};}function g(_0x4c1f08){const {parent:_0x31354d}=_0x4c1f08;if(!_0x31354d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x31354d['childCount'])return!0x1;for(const _0x480684 of _0x4c1f08['getAttributeKeys']())if(!_0x480684['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x480684)return!0x1;return!0x0;}function v(_0x2ae2fc,_0x4489df){if(!_0x2ae2fc['is']('element','paragraph'))return!0x1;const _0x1953fb=_0x4489df['toViewElement'](_0x2ae2fc);return!!_0x1953fb&&g(_0x2ae2fc)!==_0x1953fb['is']('element','span');}function Q(_0x246d96){return _0xd956bf(_0x246d96)&&_0x246d96['is']('containerElement')&&!!_0x246d96['getCustomProperty']('footnotesDefinitions');}function D(_0x3931aa,_0x337a0d={}){const _0x50bd43=_0x3931aa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x54c648=_0x3931aa['createContainerElement']('ol',{'class':'footnotes-list'},_0x3931aa['createSlot']());return _0x3931aa['createContainerElement']('div',{'class':'footnotes',..._0x337a0d},[_0x50bd43,_0x54c648]);}function b(_0x6c2331,_0x522a0e){const _0x3eaab7=_0x6c2331['getAttribute']('footnoteId'),_0x37cc7b=_0x6c2331['getAttribute']('footnoteCounter'),_0x31b02e=_0x522a0e['createUIElement']('a',{'href':'#'+_0x3eaab7},function(_0x3d1246){const _0x40c2cb=this['toDomElement'](_0x3d1246);return _0x40c2cb['textContent']=_0x37cc7b,_0x40c2cb;}),_0x2fa597=_0x522a0e['createContainerElement']('sup',{'id':'ref-'+_0x3eaab7,'class':'footnote'},[_0x31b02e]);return _0x2fa597['getFillerOffset']=()=>null,_0x2fa597;}function y(_0x141831,_0xa81c21,_0x555244,{dataPipeline:_0x1ead09}={}){const {t:t}=_0x555244,_0x1b1840=_0x141831['getAttribute']('footnoteId'),_0x33b9ca=_0xa81c21['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1b1840},function(_0x22bbab){const _0x24ac5c=this['toDomElement'](_0x22bbab);return _0x24ac5c['innerText']='^',_0x24ac5c;}),_0x24f24f=_0x1ead09?_0xa81c21['createContainerElement']('div',{'class':'footnote-content'}):_0x550531(_0xa81c21['createEditableElement']('div',{'class':'footnote-content'}),_0xa81c21,{'label':t('Footnote\x20content.')});return _0xa81c21['insert'](_0xa81c21['createPositionAt'](_0x24f24f,0x0),_0xa81c21['createSlot']()),_0xa81c21['createContainerElement']('li',{'class':'footnote-definition','id':_0x1b1840},[_0x33b9ca,_0x24f24f]);}class e extends _0x18b5ec{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x33d5c4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x56b7cb}=this,{plugins:_0x4c34bb,model:_0x3119e1}=_0x56b7cb,_0x4c805a=_0x4c34bb['get'](_0x33d5c4),_0x377ed1=_0x4c34bb['get'](f);this['listenTo'](_0x4c805a,'outputTransformation',(_0x43768e,_0x2d1239)=>{const _0x4302ab=l(_0x3119e1['createRangeIn'](_0x2d1239['content']));if(!_0x4302ab['length'])return;const _0x554b2f=_0x377ed1['getFootnotes'](),_0x4cdacf=_0x4302ab['reduce']((_0x4b2f2a,_0x3928ae)=>{const _0x489eec=_0x554b2f['find'](_0x49f3df=>_0x49f3df['id']===_0x3928ae);if(_0x489eec){const _0x262794=_0x56b7cb['data']['toView'](_0x489eec['definition'],{'isClipboardPipeline':!0x0}),_0x37cb5d=_0x56b7cb['data']['htmlProcessor']['toData'](_0x262794);_0x4b2f2a[_0x489eec['id']]=_0x37cb5d;}return _0x4b2f2a;},Object['create'](null));_0x2d1239['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x4cdacf));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x19a571}=this,{model:_0x1227f1,plugins:_0x580307}=_0x19a571,{view:_0x5799a3}=_0x19a571['editing'],_0x5867ed=_0x580307['get'](_0x33d5c4),_0x3ad59c=_0x580307['get'](f),_0x135022=_0x19a571['config']['get']('footnotes.multiBlock');let _0x43ca0d=null;this['listenTo'](_0x5799a3['document'],'clipboardInput',(_0x1339bb,_0x56c9c9)=>{const _0x415ac5=_0x56c9c9['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x43ca0d=_0x415ac5?JSON['parse'](_0x415ac5):null;}),this['listenTo'](_0x5867ed,'contentInsertion',(_0x181cee,_0x190d4b)=>{const _0x5e25eb=_0x190d4b['sourceEditorId']===this['editor']['id'];_0x5e25eb&&'drop'===_0x190d4b['method']||_0x1227f1['change'](_0x2c0791=>{let _0x403c5b=_0x3ad59c['getFootnotesDefinitionsObjectElement']();const _0x36cbd4=!!_0x403c5b&&Array['from'](_0x1227f1['document']['selection']['getSelectedBlocks']())['includes'](_0x403c5b);if(!_0x43ca0d&&function(_0x431823){for(const {item:_0x2ecd87}of _0x431823)if(_0x2ecd87['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1227f1['createRangeIn'](_0x190d4b['content']))&&(_0x43ca0d=function(_0x6837c0,_0x2cdf2c){const _0xca6892=c(_0x6837c0,_0x2cdf2c);if(!_0xca6892)return null;const _0x16885f=Object['create'](null);for(const _0xacb1e5 of _0xca6892['getChildren']())_0xacb1e5['is']('element','footnoteDefinition')&&_0xacb1e5['hasAttribute']('footnoteId')&&(_0x16885f[_0xacb1e5['getAttribute']('footnoteId')]=_0x6837c0['cloneElement'](_0xacb1e5,!0x0));return Object['keys'](_0x16885f)['length']?_0x16885f:null;}(_0x2c0791,_0x190d4b['content'])),(_0x403c5b&&!_0x36cbd4||!_0x403c5b&&!_0x43ca0d)&&function(_0x89c025,_0x192bda){const _0x5129d8=[];for(const {item:_0xe7659e}of _0x89c025['createRangeIn'](_0x192bda))_0xe7659e['is']('element','footnotesDefinitions')&&_0x5129d8['push'](_0xe7659e);for(const _0x30aeb3 of _0x5129d8)_0x89c025['remove'](_0x30aeb3);}(_0x2c0791,_0x190d4b['content']),!_0x43ca0d)return;const {selection:_0x44d43}=_0x1227f1['document'],_0x241808=_0x44d43['getFirstRange']()['root'];_0x403c5b&&!_0x36cbd4||(_0x403c5b=c(_0x2c0791,_0x190d4b['content']),_0x403c5b||=_0x3ad59c['_insertEmptyFootnotesDefinitionsContainer'](_0x2c0791,_0x241808));const _0x58a432=Array['from'](_0x44d43['getRanges']())['flatMap'](l),_0x7a5c3c=function(_0x368942,_0x5ad567,_0x551688){const _0x533aa8=Object['create'](null);for(const {item:_0x1fe7ee}of _0x368942['createRangeIn'](_0x5ad567))if(_0x1fe7ee['is']('element','footnoteRef')){const _0x13b6ec=_0x1fe7ee['getAttribute']('footnoteId');if(!_0x551688(_0x13b6ec))continue;_0x533aa8[_0x13b6ec]||(_0x533aa8[_0x13b6ec]=_0x578702()),_0x368942['setAttribute']('footnoteId',_0x533aa8[_0x13b6ec],_0x1fe7ee);}return _0x533aa8;}(_0x2c0791,_0x190d4b['content'],_0x498601=>{if(!_0x5e25eb)return!0x0;return!!_0x3ad59c['getFootnote'](_0x498601)&&!_0x58a432['includes'](_0x498601);});for(const [_0x304a34,_0x5c96c6]of Object['entries'](_0x43ca0d)){const _0x433d74=_0x7a5c3c[_0x304a34]||_0x304a34;let _0x5aaff7;if('string'!=typeof _0x5c96c6)_0x5aaff7=_0x5c96c6,_0x433d74!==_0x304a34&&_0x2c0791['setAttribute']('footnoteId',_0x433d74,_0x5aaff7);else{_0x5aaff7=_0x2c0791['createElement']('footnoteDefinition',{'footnoteId':_0x433d74});const _0x1c0248=_0x19a571['data']['htmlProcessor']['toView'](_0x5c96c6);let _0x493ac4;if(_0x135022)_0x493ac4=_0x19a571['data']['toModel'](_0x1c0248,_0x5aaff7);else{_0x493ac4=_0x2c0791['createElement']('footnoteInlineContent');const _0x370adb=_0x19a571['data']['toModel'](_0x1c0248,_0x493ac4);_0x2c0791['insert'](_0x370adb,_0x493ac4);}_0x2c0791['append'](_0x493ac4,_0x5aaff7);}_0x2c0791['insert'](_0x5aaff7,_0x403c5b,'end');}_0x43ca0d=null;});});}}function c(_0xdd8f77,_0x6f3c2a){for(const {item:_0x54d729}of _0xdd8f77['createRangeIn'](_0x6f3c2a))if(_0x54d729['is']('element','footnotesDefinitions'))return _0x54d729;return null;}function l(_0x38d88e){const _0x59f0d1=new Set();for(const {item:_0xa7cb96}of _0x38d88e)_0xa7cb96['is']('element','footnoteRef')&&_0x59f0d1['add'](_0xa7cb96['getAttribute']('footnoteId'));return Array['from'](_0x59f0d1);}class i extends _0x18b5ec{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53b808}=this,{componentFactory:_0x12fa1e}=_0x53b808['ui'];_0x12fa1e['add']('insertFootnote',E(_0x53b808,_0x53ca0b)),_0x12fa1e['add']('menuBar:insertFootnote',E(_0x53b808,_0x224e71)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d1769=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f2155;for(const _0x4ae405 in _0x5d1769){const _0x3dcf0e=_0x4ae405,_0x59657e=_0x5d1769[_0x3dcf0e];if('footnotesLicenseKeyValid'==_0x59657e||'footnotesLicenseKeyInvalid'==_0x59657e||'footnotesLicenseKeyExpired'==_0x59657e||'footnotesLicenseKeyDomainLimit'==_0x59657e||'footnotesLicenseKeyNotAllowed'==_0x59657e||'footnotesLicenseKeyEvaluationLimit'==_0x59657e||'footnotesLicenseKeyUsageLimit'==_0x59657e){delete _0x5d1769[_0x3dcf0e],_0x4f2155=_0x59657e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4f2155&&_0x5d1769['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4f2155&&_0x5d1769['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4f2155&&_0x5d1769['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4f2155&&_0x5d1769['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4f2155&&_0x5d1769['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4f2155&&_0x5d1769['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4b2a0d,_0x5ea042){const _0x3c150f=_0x4b2a0d['commands']['get']('insertFootnote');return _0x4a4f3f=>{const {t:t}=_0x4a4f3f,_0x4dc1b9=new _0x5ea042(_0x4a4f3f),_0x4af577=_0x4dc1b9 instanceof _0x224e71;return _0x4dc1b9['bind']('isEnabled')['to'](_0x3c150f,'isEnabled'),_0x4dc1b9['set']({'label':t(_0x4af577?'Footnote':'Insert\x20footnote'),'icon':_0x3e6764,'tooltip':!0x0}),_0x4dc1b9['on']('execute',()=>{_0x3c150f['execute'](),_0x4b2a0d['editing']['view']['focus']();}),_0x4dc1b9;};}class lt extends _0x18b5ec{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 _0x4bbd41{['refresh'](){const {editor:_0x3de5fd}=this,_0x2bbcae=_0x3de5fd['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bbcae,this['value']=_0x2bbcae?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4cf06d}){const {editor:_0x55b29d}=this,_0x2e94ca=_0x55b29d['plugins']['get'](f),_0x1f2f9e=_0x2e94ca['getFootnotesDefinitionsObjectElement']();_0x1f2f9e&&ct['includes'](_0x4cf06d)&&_0x55b29d['model']['change'](_0xc87e2c=>{_0xc87e2c['setAttribute']('footnotesListStyle',_0x4cf06d,_0x1f2f9e),_0x2e94ca['_updateFootnotesCounters'](_0xc87e2c);});}}class C extends _0x4bbd41{['refresh'](){const {editor:_0xb4cdab}=this,_0x1b2c29=_0xb4cdab['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1b2c29,this['value']=_0x1b2c29?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1cd954}){const {editor:_0x2fe551}=this,_0x5cce84=_0x2fe551['plugins']['get'](f),_0x236287=_0x5cce84['getFootnotesDefinitionsObjectElement']();_0x236287&&Number['isInteger'](_0x1cd954)&&_0x2fe551['model']['change'](_0x3172a3=>{_0x3172a3['setAttribute']('footnotesListStart',_0x1cd954,_0x236287),_0x5cce84['_updateFootnotesCounters'](_0x3172a3);});}}class P extends _0x18b5ec{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47c3d7}=this;_0x47c3d7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x47c3d7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x47c3d7['commands']['add']('footnotesStyle',new S(_0x47c3d7)),_0x47c3d7['commands']['add']('footnotesStart',new C(_0x47c3d7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1530ca}=this,{schema:_0x33fe34}=_0x1530ca['model'];_0x33fe34['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x21e4b4}=this,{conversion:_0x5c4f0a,model:_0x47ef05}=_0x21e4b4,{schema:_0x3f4a1e}=_0x47ef05;_0x5c4f0a['for']('upcast')['add'](_0x11e0ff=>{_0x11e0ff['on']('element:ol',(_0x34f2de,_0x12e418,_0x3e2f38)=>{const _0x184d35=_0x12e418['viewItem'],_0x4dbd90=_0x12e418['modelCursor']?.['parent'];_0x184d35['hasClass']('footnotes-list')&&_0x4dbd90?.['is']('element','footnotesDefinitions')&&(function(_0x507fae,_0x1811cd,_0x3a7798,_0x55c869){if(!_0x55c869['checkAttribute'](_0x1811cd,'footnotesListStart'))return;let _0x34e6d3=0x1;const _0x33bdb0=_0x3a7798['consumable']['consume'](_0x507fae,{'attributes':'start'});if(_0x33bdb0){const _0x329f6f=Number['parseInt'](_0x507fae['getAttribute']('start'),0xa);Number['isNaN'](_0x329f6f)||(_0x34e6d3=_0x329f6f);}!_0x33bdb0&&_0x1811cd['hasAttribute']('footnotesListStart')||_0x3a7798['writer']['setAttribute']('footnotesListStart',_0x34e6d3,_0x1811cd);}(_0x184d35,_0x4dbd90,_0x3e2f38,_0x3f4a1e),function(_0x1f8843,_0x3e51ff,_0x2ba71a,_0x23c873){if(!_0x23c873['checkAttribute'](_0x3e51ff,'footnotesListStyle'))return;let _0xc83aaa='decimal',_0x3d8095=!0x1;if(_0x2ba71a['consumable']['consume'](_0x1f8843,{'attributes':'type'})){const _0x406422={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1f8843['getAttribute']('type')];_0x406422&&(_0xc83aaa=_0x406422),_0x3d8095=!0x0;}_0x2ba71a['consumable']['consume'](_0x1f8843,{'styles':'list-style-type'})&&(_0xc83aaa=function(_0x3a1299){switch(_0x3a1299){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3a1299;}}(_0x1f8843['getStyle']('list-style-type')),_0x3d8095=!0x0),!_0x3d8095&&_0x3e51ff['hasAttribute']('footnotesListStyle')||_0x2ba71a['writer']['setAttribute']('footnotesListStyle',_0xc83aaa,_0x3e51ff);}(_0x184d35,_0x4dbd90,_0x3e2f38,_0x3f4a1e));});}),_0x5c4f0a['for']('downcast')['add'](_0x404488=>{_0x404488['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x33a8d7,_0x24d462,_0x1abc4d)=>{if(!_0x1abc4d['consumable']['consume'](_0x24d462['item'],_0x33a8d7['name']))return;const _0x3ed8d2=M(_0x24d462['item'],_0x1abc4d['mapper']),{attributeNewValue:_0x1800f9}=_0x24d462;null==_0x1800f9||0x1===_0x1800f9?_0x1abc4d['writer']['removeAttribute']('start',_0x3ed8d2):_0x1abc4d['writer']['setAttribute']('start',String(_0x1800f9),_0x3ed8d2);}),_0x404488['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x20c00c,_0x17e0c0,_0x4d241d)=>{if(!_0x4d241d['consumable']['consume'](_0x17e0c0['item'],_0x20c00c['name']))return;const _0x2f03da=M(_0x17e0c0['item'],_0x4d241d['mapper']),{attributeNewValue:_0x547059}=_0x17e0c0;_0x547059&&'decimal'!==_0x547059?_0x4d241d['writer']['setStyle']('list-style-type',_0x547059,_0x2f03da):_0x4d241d['writer']['removeStyle']('list-style-type',_0x2f03da);});});}['_definePostfixer'](){const {editor:_0x552b43}=this,{model:_0x5aa1aa}=_0x552b43,_0x5845ad=_0x552b43['plugins']['get'](f),_0x2c1fe6=this['_getDefaultListStyle'](),_0x4c895e=this['_getDefaultStartIndex']();_0x5aa1aa['document']['registerPostFixer'](_0x36f5c1=>{const _0xe3a4e8=_0x5aa1aa['document']['differ']['getChanges']();let _0x33d53b=!0x1;for(const _0xbfa617 of _0xe3a4e8){if('insert'!==_0xbfa617['type']||'$text'===_0xbfa617['name'])continue;const _0x19a160=_0x5aa1aa['createRangeOn'](_0xbfa617['position']['nodeAfter']);for(const _0x39e522 of _0x19a160['getItems']())_0x39e522['is']('element','footnotesDefinitions')&&(!_0x39e522['hasAttribute']('footnotesListStart')&&_0x5aa1aa['schema']['checkAttribute'](_0x39e522,'footnotesListStart')&&(_0x36f5c1['setAttribute']('footnotesListStart',_0x4c895e,_0x39e522),_0x33d53b=!0x0),!_0x39e522['hasAttribute']('footnotesListStyle')&&_0x5aa1aa['schema']['checkAttribute'](_0x39e522,'footnotesListStyle')&&(_0x36f5c1['setAttribute']('footnotesListStyle',_0x2c1fe6,_0x39e522),_0x33d53b=!0x0));}return _0x33d53b&&_0x5845ad['_updateFootnotesCounters'](_0x36f5c1),_0x33d53b;});}['_defineFormatter'](){const {editor:_0x17d583}=this;_0x17d583['plugins']['get'](f)['setFootnoteFormatter'](_0x58aca5=>this['_formatFootnoteListValue'](_0x58aca5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2bfc8f,value:_0x53e0dc,digits:_0x20cd26}){const _0xd69d3=_0x2bfc8f['getAttribute']('footnotesListStyle'),_0x1093de=_0x2bfc8f['getAttribute']('footnotesListStart'),_0x509ecc=Math['floor'](_0x53e0dc)+(_0x1093de??0x1)-0x1;switch(_0xd69d3){case'decimal-leading-zero':return function(_0x219da8,_0x9d72fb){return String(_0x219da8)['padStart'](_0x9d72fb,'0');}(_0x509ecc,Math['max'](0x2,_0x20cd26));case'lower-alpha':case'lower-latin':return N(_0x509ecc,!0x1);case'upper-alpha':case'upper-latin':return N(_0x509ecc,!0x0);case'lower-roman':return X(_0x509ecc,!0x1);case'upper-roman':return X(_0x509ecc,!0x0);default:return String(_0x509ecc);}}}function M(_0x3e483a,_0x1bfbad){const _0x304685=_0x1bfbad['toViewElement'](_0x3e483a);return Array['from'](_0x304685['getChildren']())['find'](_0x9ef0d7=>_0x9ef0d7['is']('element','ol')&&_0x9ef0d7['hasClass']('footnotes-list'));}function N(_0x30d16b,_0x5020de){let _0x4a3525='',_0x322424=_0x30d16b;for(;_0x322424>0x0;){const _0x51428=(_0x322424-0x1)%0x1a;_0x4a3525=String['fromCharCode'](0x61+_0x51428)+_0x4a3525,_0x322424=Math['floor']((_0x322424-0x1)/0x1a);}return _0x5020de?_0x4a3525['toUpperCase']():_0x4a3525;}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(_0xfc9b25,_0x46ff02){let _0x3a6b57='',_0x4122bc=_0xfc9b25;for(const {value:_0xa95b6d,numeral:_0x5bb57a}of V)for(;_0x4122bc>=_0xa95b6d;)_0x3a6b57+=_0x5bb57a,_0x4122bc-=_0xa95b6d;return _0x46ff02?_0x3a6b57:_0x3a6b57['toLowerCase']();}class J extends _0x2ac156{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3a6238();['focusCycler'];constructor(_0x4b7a6e,{styleButtonViews:_0x1aa834,styleGridAriaLabel:_0x190e4d}){super(_0x4b7a6e),(this['focusCycler']=new _0x8c8759({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1aa834,_0x190e4d),[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 _0xfdb9f2 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xfdb9f2['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 _0xd2dfbb=_0x599093=>_0x599093['stopPropagation']();this['keystrokes']['set']('arrowright',_0xd2dfbb),this['keystrokes']['set']('arrowleft',_0xd2dfbb),this['keystrokes']['set']('arrowup',_0xd2dfbb),this['keystrokes']['set']('arrowdown',_0xd2dfbb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x28d6c5,_0x4cc66e){const _0xd5557a=new _0x2ac156(this['locale']);return _0xd5557a['children']=_0xd5557a['createCollection'](),_0xd5557a['children']['addMany'](_0x28d6c5),_0xd5557a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4cc66e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd5557a['children']}),_0xd5557a['children']['delegate']('execute')['to'](this),_0xd5557a['focus']=function(){for(const _0x1c5768 of this['children'])if(_0x1c5768 instanceof _0x53ca0b&&_0x1c5768['isOn'])return void _0x1c5768['focus']();this['children']['first']['focus']();},_0xd5557a['focusTracker']=new ot(),_0xd5557a['keystrokes']=new rt(),_0xd5557a['render'](),_0xd5557a['keystrokes']['listenTo'](_0xd5557a['element']),this['children']['add'](_0xd5557a),_0xd5557a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1d929d=this['_createStartIndexPropertyView'](),_0x1167bc=[_0x1d929d],_0x1c4f51=new st(this['locale'],_0x1167bc);return _0x1c4f51['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1c4f51['buttonView']['bind']('isEnabled')['toMany'](_0x1167bc,'isEnabled',(..._0xc558c0)=>_0xc558c0['some'](_0x49e428=>_0x49e428)),_0x1c4f51['buttonView']['on']('change:isEnabled',(_0xfc741d,_0x11d165,_0x3e42bb)=>{_0x3e42bb||(_0x1c4f51['isCollapsed']=!0x0);}),this['children']['add'](_0x1c4f51),[_0x1d929d,_0x1c4f51];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x39cd15=new it(this['locale'],et);return _0x39cd15['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x39cd15['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x39cd15['fieldView']['on']('input',()=>{const _0x254b67=_0x39cd15['fieldView']['element'],_0x420dac=_0x254b67['valueAsNumber'];Number['isNaN'](_0x420dac)?_0x39cd15['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x254b67['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x420dac}):_0x39cd15['errorText']=t(_0x420dac<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x39cd15;}}class j extends _0x18b5ec{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1129cb,_0x5a928e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41d9de}=this,{componentFactory:_0xe464c4}=_0x41d9de['ui'];_0x41d9de['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xe464c4['add']('footnotesStyle',function(_0x1cef7a){return _0x280271=>{const {t:t}=_0x280271,_0x286520=_0x1cef7a['commands']['get']('footnotesStyle'),_0x2a7a11=_0x15a034(_0x280271),{buttonView:_0x4b11ce}=_0x2a7a11;return _0x2a7a11['class']='ck-footnotes-styles-dropdown',_0x2a7a11['bind']('isEnabled')['to'](_0x286520,'isEnabled'),_0x4b11ce['set']({'label':t('Footnotes\x20style'),'icon':_0x3e6764,'tooltip':!0x0}),_0x2a7a11['once']('change:isOpen',()=>{const _0x25d2e5=function({editor:_0x1a229d,dropdownView:_0x22599c}){const {t:t}=_0x1a229d['locale'],_0x8cd5a7=t('Footnotes\x20definitions\x20styles'),_0x4cd25a=function(_0x5d2779){const t=_0x5d2779['locale']['t'],_0x310881=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x35a41d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x15854c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x39d07d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x34c7a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x640933},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5d0855}];return _0x310881['map'](function(_0x2e2f63){const _0x3ea0c6=_0x2e2f63['locale'];return({label:_0x2202b9,icon:_0x4e1c39,tooltip:_0x456248,style:_0x1f3bba})=>{const _0x447ca7=_0x2e2f63['commands']['get']('footnotesStyle'),_0x129f7b=new _0x53ca0b(_0x3ea0c6);return _0x129f7b['set']({'label':_0x2202b9,'icon':_0x4e1c39,'tooltip':_0x456248}),_0x129f7b['bind']('isOn')['to'](_0x447ca7,'value',_0x2a955c=>_0x2a955c===_0x1f3bba),_0x129f7b['bind']('isEnabled')['to'](_0x447ca7,'isEnabled'),_0x129f7b['on']('execute',()=>{_0x2e2f63['execute']('footnotesStyle',{'value':_0x1f3bba}),_0x2e2f63['editing']['view']['focus']();}),_0x129f7b;};}(_0x5d2779));}(_0x1a229d),_0x44ca74=new J(_0x1a229d['locale'],{'styleGridAriaLabel':_0x8cd5a7,'styleButtonViews':_0x4cd25a}),_0xc8cca5=_0x1a229d['commands']['get']('footnotesStart');return _0x44ca74['startIndexFieldView']['bind']('isEnabled')['to'](_0xc8cca5),_0x44ca74['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xc8cca5),_0x44ca74['on']('footnotesListStart',(_0x368c8b,_0x3e5168)=>{_0x1a229d['execute']('footnotesStart',{'value':_0x3e5168['startIndex']});}),_0x44ca74['delegate']('execute')['to'](_0x22599c),_0x44ca74;}({'editor':_0x1cef7a,'dropdownView':_0x2a7a11});_0x2a7a11['panelView']['children']['add'](_0x25d2e5);}),_0x2a7a11;};}(_0x41d9de));}['afterInit'](){const {editor:_0x5762d7}=this,{t:t}=_0x5762d7['locale'],_0x12aae0=_0x5762d7['plugins']['get'](_0x5a928e),{defaultPositions:_0x30857e}=_0x414a7c;_0x12aae0['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5762d7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x434d6e=>{let _0x38900c=_0x434d6e['getFirstPosition']()?.['parent'];return _0x38900c?.['is']('$text')&&(_0x38900c=_0x38900c['parent']),_0x38900c?.['is']('element')?_0x38900c['findAncestor'](Q):null;},'positions':[_0x30857e['southArrowNorth'],_0x30857e['southArrowNorthMiddleWest'],_0x30857e['southArrowNorthMiddleEast'],_0x30857e['southArrowNorthWest'],_0x30857e['southArrowNorthEast'],_0x30857e['northArrowSouth'],_0x30857e['northArrowSouthMiddleWest'],_0x30857e['northArrowSouthMiddleEast'],_0x30857e['northArrowSouthWest'],_0x30857e['northArrowSouthEast'],_0x30857e['viewportStickyNorth']]});}}class ft extends _0x18b5ec{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 _0x10a194,Command as _0x3fd568}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3983ce,isWidget as _0x5b2352,toWidgetEditable as _0x1933ae,WidgetToolbarRepository as _0xd4b96d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x586cb6,logWarning as _0x33cc1a,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x29952f,ClickObserver as _0xb8d7e3}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4e73ca}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3fea61,ButtonView as _0x51c3a7,View as _0x106402,ViewCollection as _0x2e2371,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x26fa71,BalloonPanelView as _0x5f464f,createDropdown as _0x33115f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x213e33,IconListStyleDecimal as _0xc47fe9,IconListStyleDecimalLeadingZero as _0x2fc4ea,IconListStyleLowerRoman as _0x56ba63,IconListStyleUpperRoman as _0xfb3ec9,IconListStyleLowerLatin as _0x21f4b8,IconListStyleUpperLatin as _0x43a17e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4541e1,_0x4c27b7){this['_model']=_0x4541e1,this['_elementName']=_0x4c27b7['elementName'],this['_getElementKey']=_0x4c27b7['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x443c29){const _0x207a10=new Set(),_0x4387f0=new Map();for(const _0x29ee6e of _0x443c29){if('insert'===_0x29ee6e['type']&&'$text'!==_0x29ee6e['name']&&_0x29ee6e['position']['nodeAfter']){const _0xa98c1c=this['_model']['createRangeOn'](_0x29ee6e['position']['nodeAfter']);for(const _0x47b8f8 of _0xa98c1c['getItems']()){if(!_0x47b8f8['is']('element',this['_elementName']))continue;const _0x1d4949=this['_getElementKey'](_0x47b8f8);_0x4387f0['has'](_0x1d4949)||_0x4387f0['set'](_0x1d4949,[]),_0x4387f0['get'](_0x1d4949)['push'](_0x47b8f8);}}if('remove'===_0x29ee6e['type']&&_0x29ee6e['name']===this['_elementName']){const _0x22fa5f=this['_getElementKey']({'getAttribute':_0x560c7f=>_0x29ee6e['attributes']['get'](_0x560c7f)});_0x207a10['add'](_0x22fa5f);}}for(const [_0x5d6715,_0x9add5e]of this['_trackedElements'])'$graveyard'===_0x9add5e['root']['rootName']&&_0x207a10['add'](_0x5d6715);for(const _0x53966e of _0x207a10)this['_trackedElements']['delete'](_0x53966e);for(const [_0x35c7c8,_0x405ea5]of _0x4387f0)this['_trackedElements']['set'](_0x35c7c8,_0x405ea5[_0x405ea5['length']-0x1]);const _0x37f03e=new Set();for(const [_0x23bc43,_0x2d544a]of _0x4387f0)_0x207a10['has'](_0x23bc43)&&(_0x37f03e['add'](_0x2d544a[0x0]),_0x2d544a['length']>0x1?_0x4387f0['set'](_0x23bc43,_0x2d544a['slice'](0x1)):_0x4387f0['delete'](_0x23bc43),_0x207a10['delete'](_0x23bc43));return{'removed':Array['from'](_0x207a10),'inserted':Array['from'](_0x4387f0['values']())['flat'](),'moved':Array['from'](_0x37f03e)};}}class f extends _0x10a194{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x228fc1){super(_0x228fc1),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3228c1=>_0x3228c1['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5ede72=>_0x5ede72['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4b6151}=this,{model:_0x3adb92,data:_0x537391}=_0x4b6151;_0x3adb92['document']['registerPostFixer'](_0x4a5bee=>{const _0x390192=_0x3adb92['document']['differ']['getChanges']();let _0x3a6cbc=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4a5bee,_0x390192)&&(_0x3a6cbc=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4a5bee,_0x390192)&&(_0x3a6cbc=!0x0),this['_handleFootnoteReferencesChanges'](_0x4a5bee,_0x390192)&&(_0x3a6cbc=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4a5bee)&&(_0x3a6cbc=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4a5bee)&&(_0x3a6cbc=!0x0),this['_sortFootnoteDefinitions'](_0x4a5bee)&&(_0x3a6cbc=!0x0),_0x3a6cbc;}),this['listenTo'](_0x3adb92['document'],'change:data',()=>{_0x3adb92['enqueueChange']({'isUndoable':!0x1},_0x2f53db=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2f53db);});},{'priority':'low'}),this['listenTo'](_0x537391,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x22cffa){return this['_footnotes']['find'](_0x116a51=>_0x116a51['id']===_0x22cffa)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3b5593){this['_footnoteFormatter']=_0x3b5593;}['_updateFootnotesCounters'](_0x55aa20,_0x7f2591=0x0){let _0x5989c9=!0x1;for(let _0x372c1a=_0x7f2591;_0x372c1a<this['_footnotes']['length'];_0x372c1a++)this['_updateFootnoteRefCounter'](_0x55aa20,_0x372c1a)&&(_0x5989c9=!0x0);return _0x5989c9;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3004bb,_0x290f3b){const _0x40f486=_0x3004bb['createElement']('footnotesDefinitions',{});return _0x3004bb['append'](_0x40f486,_0x290f3b),this['_footnotesDefinitions']=_0x40f486,_0x40f486;}['_ensureFootnotesDefinitionsContainerExists'](_0x3d801a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4a4623=this['_footnotes'][0x0]['reference']['root'],_0x71590c=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3d801a,_0x4a4623);for(const _0x34d140 of this['_footnotes'])_0x34d140['definition']['parent']||_0x3d801a['insert'](_0x34d140['definition'],_0x71590c,'end');this['_updateFootnotesCounters'](_0x3d801a);}['_handleFootnotesDefinitionsObjectChanges'](_0x356559,_0x2c1cb8){let _0x1ce050=!0x1;const {inserted:_0x167c72,removed:_0x5c5953,moved:_0x2cf5c4}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2c1cb8);if(_0x2cf5c4['length']&&(this['_footnotesDefinitions']=_0x2cf5c4[0x0]),_0x167c72['length']){if(_0x167c72['length']>0x1||this['_footnotesDefinitions']&&_0x167c72['some'](_0xe3a8f4=>_0xe3a8f4!==this['_footnotesDefinitions'])){const _0x47ae80=_0x356559['createElement']('footnotesDefinitions',{}),_0x1b5ebe=[];this['_footnotesDefinitions']&&_0x1b5ebe['push'](this['_footnotesDefinitions']),_0x1b5ebe['push'](..._0x167c72),_0x356559['insert'](_0x47ae80,_0x1b5ebe[0x0],'before');for(const _0x3000ef of _0x1b5ebe)_0x356559['move'](_0x356559['createRangeIn'](_0x3000ef),_0x356559['createPositionAt'](_0x47ae80,'end')),_0x356559['remove'](_0x3000ef);this['_footnotesDefinitions']=_0x47ae80,this['_updateFootnotesCounters'](_0x356559),_0x1ce050=!0x0;}else this['_footnotesDefinitions']=_0x167c72[0x0];}if(_0x5c5953['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2d9faf of this['_footnotes'])_0x356559['remove'](_0x2d9faf['reference']),_0x1ce050=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1ce050;}['_handleFootnoteDefinitionsChanges'](_0x297d4a,_0x224ea1){let _0xdad82c=!0x1;const _0x454abf=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x730a5c,moved:_0x3bc03a}=this['_footnoteDefsTracker']['getChanges'](_0x224ea1);for(const _0x39f2f1 of[..._0x3bc03a,..._0x730a5c]){const _0x1cb30e=_0x39f2f1['getAttribute']('footnoteId'),_0x881627=this['getFootnote'](_0x1cb30e);_0x881627&&(_0x881627['definition']=_0x39f2f1),_(_0x297d4a,_0x454abf,_0x39f2f1)&&(_0xdad82c=!0x0);}return _0xdad82c;}['_handleFootnoteReferencesChanges'](_0x5b96f9,_0x5c734a){let _0x5bb85a=!0x1;const {removed:_0x7b5434,inserted:_0x181a2e,moved:_0x38fcad}=this['_footnoteRefsTracker']['getChanges'](_0x5c734a);for(const _0xb5352e of _0x7b5434)this['_handleRemoveFootnoteReferenceById'](_0x5b96f9,_0xb5352e)&&(_0x5bb85a=!0x0);for(const _0x56958f of _0x181a2e)this['_handleInsertedFootnoteReference'](_0x5b96f9,_0x56958f)&&(_0x5bb85a=!0x0);for(const _0x4d1c8d of _0x38fcad)this['_handleMovedFootnoteReference'](_0x5b96f9,_0x4d1c8d)&&(_0x5bb85a=!0x0);return _0x5bb85a;}['_handleFootnotesDefinitionsObjectSync'](_0x484efd){if(!this['_footnotesDefinitions'])return!0x1;let _0x2a41fa=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xbb07a5=[];for(const _0x40f93e of this['_footnotesDefinitions']['getChildren']()){const _0x554b2e=_0x40f93e['getAttribute']('footnoteId');this['getFootnote'](_0x554b2e)||(_0xbb07a5['unshift'](_0x40f93e),_0x2a41fa=!0x0);}for(const _0x21269a of _0xbb07a5)_0x484efd['remove'](_0x21269a);}const _0x5de49c=new Set(),_0x5a31c6=[];for(const _0x48b426 of this['_footnotesDefinitions']['getChildren']()){const _0x2b0140=_0x48b426['getAttribute']('footnoteId');_0x5de49c['has'](_0x2b0140)?(_0x5a31c6['unshift'](_0x48b426),_0x2a41fa=!0x0):_0x5de49c['add'](_0x2b0140);}for(const _0x1997dd of _0x5a31c6)_0x484efd['remove'](_0x1997dd);return this['_footnotesDefinitions']['childCount']||(_0x484efd['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2a41fa=!0x0),_0x2a41fa;}['_handleInsertedFootnoteReference'](_0x1ac6ce,_0x39d67b){if(this['_footnotes']['find'](_0xf1ee8c=>_0xf1ee8c['reference']===_0x39d67b))return!0x1;let _0x1a6e0b=!0x1;const _0x5222ed=_0x39d67b['getAttribute']('footnoteId'),_0x3ecc6d=this['_footnotes']['findIndex'](_0x3bab9e=>_0x3bab9e['id']===_0x5222ed);-0x1!==_0x3ecc6d&&(_0x1ac6ce['remove'](this['_footnotes'][_0x3ecc6d]['reference']),this['_footnotes']['splice'](_0x3ecc6d,0x1),_0x1a6e0b=!0x0);let _0x26b89b=this['_footnotesDefinitions']?function(_0x1edb07,_0x330e10){for(const _0x2a7dcb of _0x1edb07['getChildren']())if(_0x2a7dcb['getAttribute']('footnoteId')===_0x330e10)return _0x2a7dcb;return null;}(this['_footnotesDefinitions'],_0x5222ed):null;_0x26b89b||(_0x26b89b=_0x1ac6ce['createElement']('footnoteDefinition',{'footnoteId':_0x5222ed}),this['_footnotesDefinitions']&&(_0x1ac6ce['insert'](_0x26b89b,this['_footnotesDefinitions'],'end'),_0x1a6e0b=!0x0));const _0xb93538={'id':_0x5222ed,'reference':_0x39d67b,'definition':_0x26b89b},_0x30a129=I(this['editor']['model'],this['_footnotes'],_0x39d67b);this['_footnotes']['splice'](_0x30a129,0x0,_0xb93538);let _0x443d66=_0x30a129;return-0x1!==_0x3ecc6d&&(_0x443d66=Math['min'](_0x30a129,_0x3ecc6d)),this['_updateFootnotesCounters'](_0x1ac6ce,_0x443d66)&&(_0x1a6e0b=!0x0),_0x1a6e0b;}['_handleRemoveFootnoteReferenceById'](_0xabfb4b,_0x5365de){const _0x58ceb5=this['_footnotes']['findIndex'](_0x5ca27a=>_0x5ca27a['id']===_0x5365de);if(-0x1===_0x58ceb5)return!0x1;let _0x21cd29=!0x1;const _0x4c880d=this['_footnotes'][_0x58ceb5];return'$graveyard'!==_0x4c880d['definition']['root']['rootName']&&(_0xabfb4b['remove'](_0x4c880d['definition']),_0x21cd29=!0x0),this['_footnotes']['splice'](_0x58ceb5,0x1),this['_updateFootnotesCounters'](_0xabfb4b,_0x58ceb5)&&(_0x21cd29=!0x0),_0x21cd29;}['_handleMovedFootnoteReference'](_0x62688a,_0x3d54f9){const _0x10a296=_0x3d54f9['getAttribute']('footnoteId'),_0x2fe76a=this['_footnotes']['findIndex'](_0x2cad9c=>_0x2cad9c['id']===_0x10a296),_0x44185a=this['_footnotes'][_0x2fe76a];let _0x2097c0=!0x1;_0x44185a['reference']=_0x3d54f9,this['_footnotes']['splice'](_0x2fe76a,0x1);const _0x5f9af1=I(this['editor']['model'],this['_footnotes'],_0x3d54f9);return this['_footnotes']['splice'](_0x5f9af1,0x0,_0x44185a),this['_updateFootnotesCounters'](_0x62688a,Math['min'](_0x2fe76a,_0x5f9af1))&&(_0x2097c0=!0x0),_0x2097c0;}['_updateFootnoteRefCounter'](_0x4dc2f5,_0x30616f){if(!this['_footnotesDefinitions'])return!0x1;const _0x34d338=this['_footnotes'][_0x30616f];let _0x1de9c0;return _0x1de9c0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x34d338,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x30616f+0x1}):String(_0x30616f+0x1),_0x34d338['reference']['getAttribute']('footnoteCounter')!=_0x1de9c0&&(_0x4dc2f5['setAttribute']('footnoteCounter',_0x1de9c0,_0x34d338['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x336eae){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3ff28a,_0x56d822){if(_0x3ff28a['length']!==_0x56d822['length'])return!0x1;for(let _0x1aa0c3=0x0;_0x1aa0c3<_0x3ff28a['length'];_0x1aa0c3++)if(_0x3ff28a[_0x1aa0c3]!==_0x56d822[_0x1aa0c3])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3b5879=>_0x3b5879['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3c296b=>_0x3c296b['getAttribute']('footnoteId'))))return!0x1;let _0x4df220=!0x1;for(let _0x237f11=0x0;_0x237f11<this['_footnotes']['length'];_0x237f11++){const _0x40814d=this['_footnotes'][_0x237f11],_0x25b15f=_0x336eae['createPositionBefore'](_0x40814d['definition']),_0x58bd44=_0x336eae['createPositionAt'](this['_footnotesDefinitions'],_0x237f11);_0x25b15f['isEqual'](_0x58bd44)||(_0x336eae['move'](_0x336eae['createRangeOn'](_0x40814d['definition']),_0x58bd44),_0x4df220=!0x0);}return _0x4df220;}['_ensureFootnotesReferencesHaveProperOrder'](_0x11361c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x159559}=this['editor'];let _0x54b3d3=!0x1;for(let _0x5b29d1=0x0;_0x5b29d1<this['_footnotes']['length']-0x1;_0x5b29d1++){const _0x5e56d1=this['_footnotes'][_0x5b29d1],_0x2884d3=this['_footnotes'][_0x5b29d1+0x1],_0x435d09=_0x159559['createPositionBefore'](_0x5e56d1['reference']),_0x48f72d=_0x159559['createPositionBefore'](_0x2884d3['reference']);'after'===_0x435d09['compareWith'](_0x48f72d)&&(this['_handleMovedFootnoteReference'](_0x11361c,_0x5e56d1['reference']),_0x5b29d1=-0x1,_0x54b3d3=!0x0);}return _0x54b3d3;}}function _(_0xde7aee,_0x167816,_0x50ba02){if(_0x50ba02['childCount'])return!0x1;const _0x5d8b6c=_0x167816?'paragraph':'footnoteInlineContent';return _0xde7aee['insert'](_0xde7aee['createElement'](_0x5d8b6c),_0x50ba02),!0x0;}function I(_0x52437a,_0x2faf2d,_0x2fb3d2){if(0x0===_0x2faf2d['length'])return 0x0;const _0x48e58a=_0x52437a['createPositionBefore'](_0x2fb3d2);for(let _0x4d906f=0x0;_0x4d906f<_0x2faf2d['length'];_0x4d906f++){const _0x45d7d2=_0x2faf2d[_0x4d906f],_0x5399a7=_0x52437a['createPositionBefore'](_0x45d7d2['reference']);if('before'===_0x48e58a['compareWith'](_0x5399a7))return _0x4d906f;}const _0x163673=_0x2fb3d2['root'];let _0x10dae4=-0x1;for(let _0x2ade53=_0x2faf2d['length']-0x1;_0x2ade53>=0x0;_0x2ade53--)if(_0x2faf2d[_0x2ade53]['reference']['root']===_0x163673){_0x10dae4=_0x2ade53;break;}if(-0x1!==_0x10dae4)return _0x10dae4+0x1;const _0x3c232f=_0x52437a['document']['getRootNames'](),_0x5c63f4=_0x3c232f['indexOf'](_0x163673['rootName']),_0x3b91f7=_0x3c232f[_0x5c63f4+0x1];if(_0x3b91f7){for(let _0x43d7c4=0x0;_0x43d7c4<_0x2faf2d['length'];_0x43d7c4++)if(_0x2faf2d[_0x43d7c4]['reference']['root']['rootName']===_0x3b91f7)return _0x43d7c4;}return _0x2faf2d['length'];}class h extends _0x3fd568{['refresh'](){const _0x5961cb=this['editor']['model']['document']['selection'],_0x56b92c=this['_getPositionToInsertFootnote'](_0x5961cb);this['isEnabled']=!!_0x56b92c;}['execute'](_0x31cb99){const {editor:_0x20e9a4}=this,{model:_0x525770}=_0x20e9a4,{selection:_0x503dd6}=_0x525770['document'],_0xfe20a8=this['_getPositionToInsertFootnote'](_0x503dd6);if(!_0xfe20a8)return;const _0x216539=_0x20e9a4['plugins']['get']('FootnotesEditing'),_0xc06227=_0x31cb99?.['footnoteId']??_0x586cb6();!function(_0x5a7e55){return'string'==typeof _0x5a7e55&&_0x5a7e55['length']>0x0&&!/\s/['test'](_0x5a7e55)&&!/^\d/['test'](_0x5a7e55);}(_0xc06227)?_0x33cc1a('insert-footnote-command-executed-with-invalid-id'):(_0x525770['change'](_0x110827=>{const _0x9516cc=_0x110827['createElement']('footnoteRef',{'footnoteId':_0xc06227});_0x525770['insertObject'](_0x9516cc,_0xfe20a8,null);}),_0x216539['_moveSelectionToFootnoteDefinition'](_0xc06227));}['_getPositionToInsertFootnote'](_0x392e7c){const {model:_0x46358b}=this['editor'],{schema:_0x5bb0b6}=_0x46358b,_0x38352b=_0x392e7c['getFirstRange']();for(const _0x4564cd of _0x38352b['getItems']())if(_0x5bb0b6['isBlock'](_0x4564cd)||_0x5bb0b6['isObject'](_0x4564cd))return null;const _0x32bc89=_0x38352b['end'];return _0x5bb0b6['checkChild'](_0x32bc89,'footnoteRef')?_0x32bc89:null;}}class r extends _0x10a194{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f026d}=this;_0x2f026d['config']['define']('footnotes.multiBlock',!0x0),_0x2f026d['commands']['add']('insertFootnote',new h(_0x2f026d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4ed2f6){const _0x4ceab8=_0x18221a([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]),_0x2db83b=0x47a28506,_0x407e85=0x47a50606^_0x2db83b,_0x99f7ed=window[_0x18221a([0x44,0x61,0x74,0x65])][_0x18221a([0x6e,0x6f,0x77])](),_0x4bab51=_0x4ed2f6[_0x18221a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31cc92=new window[(_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c096f=>{_0x4bab51[_0x18221a([0x6f,0x6e,0x63,0x65])](_0x18221a([0x72,0x65,0x61,0x64,0x79]),_0x1c096f);}),_0x3d8325={[_0x18221a([0x6b,0x74,0x79])]:_0x18221a([0x45,0x43]),[_0x18221a([0x75,0x73,0x65])]:_0x18221a([0x73,0x69,0x67]),[_0x18221a([0x63,0x72,0x76])]:_0x18221a([0x50,0x2d,0x32,0x35,0x36]),[_0x18221a([0x78])]:_0x18221a([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]),[_0x18221a([0x79])]:_0x18221a([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]),[_0x18221a([0x61,0x6c,0x67])]:_0x18221a([0x45,0x53,0x32,0x35,0x36])},_0x7ede48=_0x4bab51[_0x18221a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18221a([0x67,0x65,0x74])](_0x18221a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36df79(){let _0x95cc0f,_0x2b3a61=null,_0x105487=null;try{if(_0x7ede48==_0x18221a([0x47,0x50,0x4c]))return _0x18221a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x95cc0f=_0x567e10(),!_0x95cc0f)return _0x18221a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x95cc0f[_0x18221a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x105487=_0x11e701(_0x95cc0f[_0x18221a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x95cc0f[_0x18221a([0x6a,0x74,0x69])])),await _0x32789d()?_0x28812f()?_0x1d32f9()?_0x18221a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x461881()?(_0x95cc0f[_0x18221a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18221a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b3a61=_0x27b613(_0x18221a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b9eb6()):_0x18221a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18221a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18221a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18221a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d32f9(){const _0x459e97=[_0x18221a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18221a([0x74,0x72,0x69,0x61,0x6c])][_0x18221a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x95cc0f[_0x18221a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x99f7ed/0x3e8:0xe10*_0x407e85;return _0x95cc0f[_0x18221a([0x65,0x78,0x70])]<_0x459e97;}function _0x28812f(){const _0x38f888=_0x95cc0f[_0x18221a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x38f888&&(!!_0x38f888[_0x18221a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18221a([0x2a]))||!!_0x38f888[_0x18221a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18221a([0x46,0x4f,0x4f])));}function _0x461881(){const _0x594bc1=_0x95cc0f[_0x18221a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x594bc1||0x0==_0x594bc1[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a24ed}=new URL(window[_0x18221a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x594bc1[_0x18221a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a24ed))return!0x0;const _0x150e77=_0x1a24ed[_0x18221a([0x73,0x70,0x6c,0x69,0x74])](_0x18221a([0x2e]));return _0x594bc1[_0x18221a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x76d355=>_0x76d355[_0x18221a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18221a([0x2a])))[_0x18221a([0x6d,0x61,0x70])](_0x359b97=>_0x359b97[_0x18221a([0x73,0x70,0x6c,0x69,0x74])](_0x18221a([0x2e])))[_0x18221a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ecff4=>_0x2ecff4[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x150e77[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18221a([0x6d,0x61,0x70])](_0x23cf31=>Array(_0x150e77[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23cf31[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18221a([0x66,0x69,0x6c,0x6c])](_0x23cf31[0x0]===_0x18221a([0x2a])?_0x18221a([0x2a]):'')[_0x18221a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23cf31))[_0x18221a([0x73,0x6f,0x6d,0x65])](_0xda73e0=>_0x150e77[_0x18221a([0x65,0x76,0x65,0x72,0x79])]((_0x380dc5,_0x2d29b1)=>_0xda73e0[_0x2d29b1]===_0x380dc5||_0xda73e0[_0x2d29b1]===_0x18221a([0x2a])));}function _0x1b9eb6(){return _0x2b3a61&&_0x105487?new window[(_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8fe5ae,_0x40e319)=>{_0x2b3a61[_0x18221a([0x74,0x68,0x65,0x6e])](_0x8fe5ae,_0x40e319),_0x105487[_0x18221a([0x74,0x68,0x65,0x6e])](_0x380863=>{_0x380863!=_0x18221a([0x56,0x61,0x6c,0x69,0x64])&&_0x8fe5ae(_0x380863);},_0x40e319);}):_0x2b3a61||_0x105487||_0x18221a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11e701(_0x382ddf,_0x4c7af9){return new window[(_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ec119=>{if(_0x3d69ee())return _0x5ec119(_0x18221a([0x56,0x61,0x6c,0x69,0x64]));_0x49a2ad(),_0x4bab51[_0x18221a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18221a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50150b=!0x1;const _0x3ed8e9=_0x586cb6();function _0x53d3c5(_0xdfdfeb){return!!_0xdfdfeb&&(typeof _0xdfdfeb===_0x18221a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdfdfeb===_0x18221a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdfdfeb[_0x18221a([0x74,0x68,0x65,0x6e])]===_0x18221a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdfdfeb[_0x18221a([0x63,0x61,0x74,0x63,0x68])]===_0x18221a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd9fb81(_0x5d4969){_0x49c423(_0x5d4969)[_0x18221a([0x74,0x68,0x65,0x6e])](_0x39f7b2=>{if(!_0x39f7b2||_0x39f7b2[_0x18221a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18221a([0x6f,0x6b]))return _0x18221a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a959e(_0x3cde78(_0x3ed8e9+_0x4c7af9))!=_0x39f7b2[_0x18221a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18221a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18221a([0x56,0x61,0x6c,0x69,0x64]);})[_0x18221a([0x74,0x68,0x65,0x6e])](_0x41f0c0=>(_0x12c04a(),_0x41f0c0),()=>{const _0x5b59cb=_0x18146e();return null==_0x5b59cb?(_0x12c04a(),_0x18221a([0x56,0x61,0x6c,0x69,0x64])):_0x18221a(_0x99f7ed-_0x5b59cb>(0x63ae0106^_0x2db83b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18221a([0x74,0x68,0x65,0x6e])](_0x5ec119)[_0x18221a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ec119(_0x18221a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34be4f=0x47946b86^_0x2db83b;function _0x12c04a(){const _0x10de87=_0x18221a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a959e(_0x3cde78(_0x382ddf)),_0x227f98=_0x14277d(_0x3a959e(window[_0x18221a([0x4d,0x61,0x74,0x68])][_0x18221a([0x63,0x65,0x69,0x6c])](_0x99f7ed/_0x34be4f)));window[_0x18221a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18221a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10de87,_0x227f98);}function _0x18146e(){const _0x1dfd73=_0x18221a([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a959e(_0x3cde78(_0x382ddf)),_0x137062=window[_0x18221a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18221a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dfd73);return _0x137062?window[_0x18221a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14277d(_0x137062),0x10)*_0x34be4f:null;}function _0x49c423(_0x3dcf1d){return new window[(_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16332f,_0x2f173c)=>{_0x3dcf1d[_0x18221a([0x74,0x68,0x65,0x6e])](_0x16332f,_0x2f173c),window[_0x18221a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f173c,0x47a351c6^_0x2db83b);});}}_0x4bab51[_0x18221a([0x6f,0x6e])](_0x18221a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a4265,_0x131396)=>{if(_0x131396[0x0]!=_0x382ddf)return _0x5ec119(_0x18221a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x131396[0x1]={..._0x131396[0x1],[_0x18221a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ed8e9};},{[_0x18221a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18221a([0x68,0x69,0x67,0x68])}),_0x4bab51[_0x18221a([0x6f,0x6e])](_0x18221a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43834e=>{_0x53d3c5(_0x43834e[_0x18221a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50150b=!0x0,_0xd9fb81(_0x43834e[_0x18221a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18221a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18221a([0x6c,0x6f,0x77])}),_0x31cc92[_0x18221a([0x74,0x68,0x65,0x6e])](()=>{_0x50150b||_0x5ec119(_0x18221a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d69ee(){return _0x4bab51[_0x18221a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18221a([0x76,0x69,0x65,0x77])][_0x18221a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18221a([0x61,0x75,0x74,0x6f]);}function _0x49a2ad(){_0x4bab51[_0x18221a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18221a([0x76,0x69,0x65,0x77])][_0x18221a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18221a([0x61,0x75,0x74,0x6f]);}}function _0x27b613(_0x1020b5){const _0x5ccffb=[new window[(_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48dfbc=>setTimeout(_0x48dfbc,0x47abbbca^_0x2db83b)),_0x31cc92[_0x18221a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f5e4b=>{let _0x5668db=0x0;_0x4bab51[_0x18221a([0x6d,0x6f,0x64,0x65,0x6c])][_0x18221a([0x6f,0x6e])](_0x18221a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10134b,_0x324505)=>{_0x324505[0x0][_0x18221a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5668db++,_0x5668db==(0x47a280ee^_0x2db83b)&&(_0x3f5e4b(),_0x10134b[_0x18221a([0x6f,0x66,0x66])]());});}))];return window[_0x18221a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18221a([0x72,0x61,0x63,0x65])](_0x5ccffb)[_0x18221a([0x74,0x68,0x65,0x6e])](()=>_0x1020b5);}async function _0x488587(){await _0x31cc92,_0x4bab51[_0x18221a([0x6d,0x6f,0x64,0x65,0x6c])][_0x18221a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc8036a,_0x4bab51[_0x18221a([0x6d,0x6f,0x64,0x65,0x6c])][_0x18221a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc8036a,_0x4bab51[_0x18221a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18221a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16a360(_0x24b723){const _0x54a0f7=_0x1c6689();_0x4bab51[_0x54a0f7]=_0x18221a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24b723,_0x24b723!=_0x18221a([0x56,0x61,0x6c,0x69,0x64])&&_0x488587();}function _0x1c6689(){const _0x570e79=window[_0x18221a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18221a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18221a([0x6e,0x6f,0x77])]())[_0x18221a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18221a([0x2e]),'');let _0x5e7875=_0x18221a([0x75]);for(let _0x3d7861=0x0;_0x3d7861<_0x570e79[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d7861+=0x2){let _0x30a217=window[_0x18221a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x570e79[_0x18221a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d7861,_0x3d7861+0x2));_0x30a217>=_0x4ceab8[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30a217-=_0x4ceab8[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e7875+=_0x4ceab8[_0x30a217];}return _0x5e7875;}function _0x567e10(){const _0x18846d=_0x7ede48[_0x18221a([0x73,0x70,0x6c,0x69,0x74])](_0x18221a([0x2e]));if(0x3!=_0x18846d[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x109f7e(_0x18846d[0x1]);function _0x109f7e(_0x6b7fff){const _0x30588d=_0x4d7dd4(_0x6b7fff);return _0x30588d&&_0x4d8abb()?_0x30588d:null;function _0x4d8abb(){const _0x4e4bc8=_0x30588d[_0x18221a([0x6a,0x74,0x69])],_0x518ea3=window[_0x18221a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e4bc8[_0x18221a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e4bc8[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x922b46={..._0x30588d,[_0x18221a([0x6a,0x74,0x69])]:_0x4e4bc8[_0x18221a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e4bc8[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x922b46[_0x18221a([0x76,0x63])],_0x3cde78(_0x922b46)==_0x518ea3;}}}async function _0x32789d(){let _0x57810f=!0x0;try{const _0x56a19f=_0x7ede48[_0x18221a([0x73,0x70,0x6c,0x69,0x74])](_0x18221a([0x2e])),[_0x1da081,_0x3f53aa,_0x5898ee]=_0x56a19f;return _0x383df6(_0x1da081),await _0x250e4f(_0x1da081,_0x3f53aa,_0x5898ee),_0x57810f;}catch{return!0x1;}function _0x383df6(_0x10ebbc){const _0x275d67=_0x4d7dd4(_0x10ebbc);_0x275d67&&_0x275d67[_0x18221a([0x61,0x6c,0x67])]==_0x18221a([0x45,0x53,0x32,0x35,0x36])||(_0x57810f=!0x1);}async function _0x250e4f(_0x568854,_0xdd0771,_0x27d015){const _0x274ecc=window[_0x18221a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18221a([0x66,0x72,0x6f,0x6d])](_0x9746a(_0x27d015),_0x4552e2=>_0x4552e2[_0x18221a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x213f22=new window[(_0x18221a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18221a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x568854+_0x18221a([0x2e])+_0xdd0771),_0x3f5922=window[_0x18221a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18221a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f5922)return;const _0x4cd1e6=await _0x3f5922[_0x18221a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18221a([0x6a,0x77,0x6b]),_0x3d8325,{[_0x18221a([0x6e,0x61,0x6d,0x65])]:_0x18221a([0x45,0x43,0x44,0x53,0x41]),[_0x18221a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18221a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18221a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f5922[_0x18221a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18221a([0x6e,0x61,0x6d,0x65])]:_0x18221a([0x45,0x43,0x44,0x53,0x41]),[_0x18221a([0x68,0x61,0x73,0x68])]:{[_0x18221a([0x6e,0x61,0x6d,0x65])]:_0x18221a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cd1e6,_0x274ecc,_0x213f22)||(_0x57810f=!0x1);}}function _0x4d7dd4(_0x4de814){return _0x4de814[_0x18221a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18221a([0x65,0x79]))?JSON[_0x18221a([0x70,0x61,0x72,0x73,0x65])](_0x9746a(_0x4de814)):null;}function _0x9746a(_0x178db6){return window[_0x18221a([0x61,0x74,0x6f,0x62])](_0x178db6[_0x18221a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18221a([0x2b]))[_0x18221a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18221a([0x2f])));}function _0x3cde78(_0x3e0c83){let _0x2be674=0x1505;function _0x5d406b(_0x10f2c9){for(let _0x395b31=0x0;_0x395b31<_0x10f2c9[_0x18221a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395b31++){const _0x3b1cd3=_0x10f2c9[_0x18221a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395b31);_0x2be674=(_0x2be674<<0x5)+_0x2be674+_0x3b1cd3,_0x2be674&=_0x2be674;}}function _0x461868(_0x37e184){Array[_0x18221a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x37e184)?_0x37e184[_0x18221a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x461868):_0x37e184&&typeof _0x37e184==_0x18221a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18221a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x37e184)[_0x18221a([0x73,0x6f,0x72,0x74])]()[_0x18221a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b0e35,_0x2ca246])=>{_0x5d406b(_0x3b0e35),_0x461868(_0x2ca246);}):_0x5d406b(window[_0x18221a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x37e184));}return _0x461868(_0x3e0c83),_0x2be674>>>0x0;}function _0x3a959e(_0x1a1260){return _0x1a1260[_0x18221a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18221a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18221a([0x30]));}function _0x14277d(_0x410829){return _0x410829[_0x18221a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18221a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18221a([0x6a,0x6f,0x69,0x6e])]('');}function _0xc8036a(){}function _0x18221a(_0x375a7f){return _0x375a7f['map'](_0x56c233=>String['fromCharCode'](_0x56c233))['join']('');}_0x16a360(await _0x36df79());}(this);}['_moveSelectionToFootnoteDefinition'](_0x417509){const {plugins:_0x5e1eeb,editing:_0x34756d,model:_0x39ccc2}=this['editor'],_0x3a1de7=_0x5e1eeb['get'](f)['getFootnote'](_0x417509);return!!_0x3a1de7&&(_0x39ccc2['change'](_0x40d63f=>{_0x40d63f['setSelection'](_0x40d63f['createPositionAt'](_0x3a1de7['definition'],'end'));}),_0x34756d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2f318c){const {plugins:_0x26896d,editing:_0x1486cd,model:_0x1cc89f}=this['editor'],_0x2aae3d=_0x26896d['get'](f)['getFootnote'](_0x2f318c);return!!_0x2aae3d&&(_0x1cc89f['change'](_0x565233=>{_0x565233['setSelection'](_0x2aae3d['reference'],'on');}),_0x1486cd['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4b092e}=this['editor']['model'],_0x5932c8=this['editor']['config']['get']('footnotes.multiBlock');_0x4b092e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4b092e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4b092e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5932c8?_0x4b092e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4b092e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4b092e['addChildCheck'](_0x489afd=>{for(const _0x38bb15 of _0x489afd)if('footnoteDefinition'===_0x38bb15['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2e55ca}=this,{conversion:_0xaf6cd,editing:_0x11e3a9}=_0x2e55ca,{t:t}=_0x2e55ca['locale'];_0xaf6cd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x34d1e8,{writer:_0x3e9912,consumable:_0x146fa6})=>{const _0x817f6a=_0x34d1e8['getChild'](0x0);if(!_0x817f6a||!_0x817f6a['is']('element','a'))return null;const _0x49c2c9=_0x817f6a['getAttribute']('href')||'';if(!_0x49c2c9['startsWith']('#'))return null;const _0x14860d=_0x49c2c9['replace'](/^#/,'');if(!_0x14860d)return null;_0x146fa6['consume'](_0x817f6a,{'name':!0x0,'attributes':['href']});for(const {item:_0x56a63b}of _0x11e3a9['view']['createRangeIn'](_0x817f6a))_0x56a63b['is']('$textProxy')?_0x146fa6['consume'](_0x56a63b['textNode'],{'name':!0x0}):_0x56a63b['is']('element')&&_0x146fa6['consume'](_0x56a63b,{'name':!0x0});return _0x3e9912['createElement']('footnoteRef',{'footnoteId':_0x14860d});}}),_0xaf6cd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x49e1e6,{writer:_0x3bcabb})=>b(_0x49e1e6,_0x3bcabb)}),_0xaf6cd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x313f5d,{writer:_0x5619b1})=>{const _0x2ecc6d=_0x313f5d['getAttribute']('footnoteCounter');return _0x3983ce(b(_0x313f5d,_0x5619b1),_0x5619b1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2ecc6d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x18aee6}=this,{t:t}=_0x18aee6['locale'],{conversion:_0xbf9aa5}=_0x18aee6;_0xbf9aa5['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xbf9aa5['for']('upcast')['add'](_0x212573=>{_0x212573['on']('element:ol',(_0x1d3dbe,_0x14fd24,_0x11fc64)=>{const _0x1fb9e7=_0x14fd24['viewItem'];if(!_0x1fb9e7['hasClass']('footnotes-list')||!_0x14fd24['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x11fc64['consumable']['consume'](_0x1fb9e7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x278b1a,modelCursor:_0x5654df}=_0x11fc64['convertChildren'](_0x14fd24['viewItem'],_0x14fd24['modelCursor']);_0x14fd24['modelRange']=_0x278b1a,_0x14fd24['modelCursor']=_0x5654df;}),_0x212573['on']('element:hr',(_0x12da01,_0x14766b,_0xa292e7)=>{const _0x30f948=_0x14766b['viewItem'];_0x30f948['hasClass']('footnotes-divider')&&_0x14766b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xa292e7['consumable']['consume'](_0x30f948,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xbf9aa5['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5880a4,{writer:_0x1ba77e})=>D(_0x1ba77e)}),_0xbf9aa5['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4ec19b,{writer:_0x166b18})=>{const _0x1e91e0=D(_0x166b18,{'data-footnotes-list-label':t('Footnotes')}),_0x513351=_0x3983ce(_0x1e91e0,_0x166b18,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x166b18['setCustomProperty']('footnotesDefinitions',!0x0,_0x513351),_0x513351;}});}['_defineDefinitionConverters'](){const {editor:_0x92371d}=this,{conversion:_0x34e956,locale:_0x34c7cd}=_0x92371d,_0x34b0df=_0x92371d['config']['get']('footnotes.multiBlock');_0x34e956['for']('upcast')['add'](_0xd7bdea=>{_0xd7bdea['on']('element:li',(_0x15e816,_0x4d36f2,_0x2b0529)=>{const _0x416c87=_0x4d36f2['viewItem'];if(!_0x416c87['hasClass']('footnote-definition')||!_0x416c87['getAttribute']('id'))return;const _0x1d5f1b=_0x416c87['parent'];if(!_0x1d5f1b['is']('element','ol')||!_0x1d5f1b['hasClass']('footnotes-list'))return;if(!_0x2b0529['consumable']['test'](_0x416c87,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3fc5a3=_0x2b0529['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x416c87['getAttribute']('id')});if(!_0x2b0529['safeInsert'](_0x3fc5a3,_0x4d36f2['modelCursor']))return;_0x2b0529['consumable']['consume'](_0x416c87,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x41f581=Array['from'](_0x416c87['getChildren']())['find'](_0x69316=>_0x69316['is']('element')&&_0x69316['hasClass']('footnote-content'));for(const _0x1602cb of _0x416c87['getChildren']())_0x1602cb['is']('element')&&(_0x2b0529['consumable']['consume'](_0x1602cb,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2b0529['consumable']['consume'](_0x1602cb,{'name':!0x0,'classes':'footnote-content'}));if(_0x41f581){if(_0x34b0df)_0x2b0529['convertChildren'](_0x41f581,_0x3fc5a3);else{const _0x1d7a80=_0x2b0529['writer']['createElement']('footnoteInlineContent');_0x2b0529['writer']['insert'](_0x1d7a80,_0x3fc5a3),_0x2b0529['convertChildren'](_0x41f581,_0x1d7a80);}}_0x2b0529['updateConversionResult'](_0x3fc5a3,_0x4d36f2);});}),_0x34e956['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf48a16,{writer:_0x4925be})=>y(_0xf48a16,_0x4925be,_0x34c7cd,{'dataPipeline':!0x0})}),_0x34e956['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a02c4,{writer:_0x42e540})=>y(_0x4a02c4,_0x42e540,_0x34c7cd)});}['_defineBogusParagraphConverters'](){const {editor:_0x3f8547}=this,{conversion:_0x119f7f}=_0x3f8547;_0x3f8547['config']['get']('footnotes.multiBlock')?(_0x119f7f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x119f7f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3f8547['model']['document'],'change:data',()=>{!function(_0x10793b,_0xba199c){const _0x209c34=_0x10793b['document']['differ'],_0x4f230e=new Set();for(const _0x4566ce of _0x209c34['getChanges']()){const _0x33367c='attribute'==_0x4566ce['type']?_0x4566ce['range']['start']['parent']:_0x4566ce['position']['parent'];_0x33367c['is']('element','footnoteDefinition')&&_0x4f230e['add'](_0x33367c);}for(const _0x58f271 of _0x4f230e['values']()){const _0x2dfa12=Array['from'](_0x58f271['getChildren']())['filter'](_0x45394c=>v(_0x45394c,_0xba199c['mapper']));for(const _0x5d497e of _0x2dfa12)_0xba199c['reconvertItem'](_0x5d497e);}}(_0x3f8547['model'],_0x3f8547['editing']);})):(_0x119f7f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x119f7f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x393cac,{writer:_0x49f1c2})=>{const _0x1d3224=_0x49f1c2['createContainerElement']('span');return _0x49f1c2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1d3224),_0x1d3224;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2cbc2c}=this,{editing:_0x23858d,t:t}=_0x2cbc2c,_0x14b19b=_0x2cbc2c['model']['document']['selection'];_0x2cbc2c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2cbc2c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x23858d['view']['document'],'enter',(_0x3f99e0,_0x66eb0a)=>{const _0x36796c=function(_0x2f9f5f){const _0x95a068=_0x2f9f5f['getSelectedElement']();if(_0x95a068?.['is']('element','footnoteRef'))return _0x95a068;return null;}(_0x14b19b);if(_0x36796c){const _0x5ce2ed=_0x36796c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5ce2ed),_0x66eb0a['preventDefault'](),_0x3f99e0['stop']();}},{'context':_0x5b2352});}['_defineClickHandlers'](){const {editor:_0x2eb937}=this,{editing:_0x287ad8}=_0x2eb937;_0x2eb937['editing']['view']['addObserver'](_0x29952f),_0x2eb937['editing']['view']['addObserver'](_0xb8d7e3);let _0x4cc536=!0x1;this['listenTo'](_0x287ad8['view']['document'],'pointerdown',(_0x334814,_0x26d8a6)=>{const {target:_0x3195bc}=_0x26d8a6,_0x5ad241=_0x287ad8['view']['document']['selection'];_0x4cc536=!!(_0x3195bc?.['is']('element','a')&&_0x3195bc['parent']?.['is']('element','sup')&&_0x3195bc['parent']['hasClass']('footnote'))&&_0x5ad241['getSelectedElement']()===_0x3195bc['parent'];},{'priority':'high'}),this['listenTo'](_0x287ad8['view']['document'],'click',(_0x852afd,_0x299d2a)=>{const {target:_0x5a02e2}=_0x299d2a;if(!_0x5a02e2?.['is']('element','a'))return;if(_0x5a02e2['parent']?.['is']('element','sup')&&_0x5a02e2['parent']['hasClass']('footnote')&&!_0x4cc536)return void _0x299d2a['preventDefault']();let _0x236799=_0x5a02e2['getAttribute']('href');if(!_0x236799?.['startsWith']('#'))return;_0x236799=_0x236799['slice'](0x1);let _0x28df2e=!0x1;(_0x236799['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x236799['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x236799))&&(_0x28df2e=!0x0),_0x28df2e&&(_0x299d2a['preventDefault'](),_0x852afd['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3d6b62}={}){return(_0x569ee2,{writer:_0x3118b9})=>{if(!g(_0x569ee2))return null;if(!_0x3d6b62)return _0x3118b9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5a43a2=_0x3118b9['createContainerElement']('p');return _0x3118b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a43a2),_0x5a43a2;};}function g(_0x4cde27){const {parent:_0x158532}=_0x4cde27;if(!_0x158532?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x158532['childCount'])return!0x1;for(const _0x3ae206 of _0x4cde27['getAttributeKeys']())if(!_0x3ae206['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3ae206)return!0x1;return!0x0;}function v(_0xf09b98,_0x40e243){if(!_0xf09b98['is']('element','paragraph'))return!0x1;const _0x35c182=_0x40e243['toViewElement'](_0xf09b98);return!!_0x35c182&&g(_0xf09b98)!==_0x35c182['is']('element','span');}function Q(_0x3ccc68){return _0x5b2352(_0x3ccc68)&&_0x3ccc68['is']('containerElement')&&!!_0x3ccc68['getCustomProperty']('footnotesDefinitions');}function D(_0xcc00df,_0x203810={}){const _0xa9a9a5=_0xcc00df['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x16c829=_0xcc00df['createContainerElement']('ol',{'class':'footnotes-list'},_0xcc00df['createSlot']());return _0xcc00df['createContainerElement']('div',{'class':'footnotes',..._0x203810},[_0xa9a9a5,_0x16c829]);}function b(_0x254d10,_0x44a8a3){const _0x3be3c5=_0x254d10['getAttribute']('footnoteId'),_0x5bc02f=_0x254d10['getAttribute']('footnoteCounter'),_0x474b4d=_0x44a8a3['createUIElement']('a',{'href':'#'+_0x3be3c5},function(_0x215167){const _0x51e82d=this['toDomElement'](_0x215167);return _0x51e82d['textContent']=_0x5bc02f,_0x51e82d;}),_0x1bf765=_0x44a8a3['createContainerElement']('sup',{'id':'ref-'+_0x3be3c5,'class':'footnote'},[_0x474b4d]);return _0x1bf765['getFillerOffset']=()=>null,_0x1bf765;}function y(_0x30bdd9,_0x3d0522,_0x1b3d6f,{dataPipeline:_0xdc32da}={}){const {t:t}=_0x1b3d6f,_0x5e900f=_0x30bdd9['getAttribute']('footnoteId'),_0x5697aa=_0x3d0522['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5e900f},function(_0x476f71){const _0x38e753=this['toDomElement'](_0x476f71);return _0x38e753['innerText']='^',_0x38e753;}),_0x44eef4=_0xdc32da?_0x3d0522['createContainerElement']('div',{'class':'footnote-content'}):_0x1933ae(_0x3d0522['createEditableElement']('div',{'class':'footnote-content'}),_0x3d0522,{'label':t('Footnote\x20content.')});return _0x3d0522['insert'](_0x3d0522['createPositionAt'](_0x44eef4,0x0),_0x3d0522['createSlot']()),_0x3d0522['createContainerElement']('li',{'class':'footnote-definition','id':_0x5e900f},[_0x5697aa,_0x44eef4]);}class e extends _0x10a194{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4e73ca];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x355a15}=this,{plugins:_0x97a467,model:_0x5ed022}=_0x355a15,_0x468d16=_0x97a467['get'](_0x4e73ca),_0x339bd5=_0x97a467['get'](f);this['listenTo'](_0x468d16,'outputTransformation',(_0x12a82e,_0x4cd8e1)=>{const _0x40a05d=l(_0x5ed022['createRangeIn'](_0x4cd8e1['content']));if(!_0x40a05d['length'])return;const _0x9c908=_0x339bd5['getFootnotes'](),_0x40582a=_0x40a05d['reduce']((_0x25a0ee,_0x2af66d)=>{const _0x21710f=_0x9c908['find'](_0x3f8345=>_0x3f8345['id']===_0x2af66d);if(_0x21710f){const _0xb936fd=_0x355a15['data']['toView'](_0x21710f['definition'],{'isClipboardPipeline':!0x0}),_0x3ce1f8=_0x355a15['data']['htmlProcessor']['toData'](_0xb936fd);_0x25a0ee[_0x21710f['id']]=_0x3ce1f8;}return _0x25a0ee;},Object['create'](null));_0x4cd8e1['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x40582a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x522405}=this,{model:_0x5e1ba6,plugins:_0x5f4646}=_0x522405,{view:_0x1de6ab}=_0x522405['editing'],_0x4ab066=_0x5f4646['get'](_0x4e73ca),_0x6db053=_0x5f4646['get'](f),_0x351dbd=_0x522405['config']['get']('footnotes.multiBlock');let _0x2b3fe5=null;this['listenTo'](_0x1de6ab['document'],'clipboardInput',(_0x3f10de,_0x59309c)=>{const _0x259427=_0x59309c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2b3fe5=_0x259427?JSON['parse'](_0x259427):null;}),this['listenTo'](_0x4ab066,'contentInsertion',(_0x53400d,_0x4bd8dc)=>{const _0x3238f1=_0x4bd8dc['sourceEditorId']===this['editor']['id'];_0x3238f1&&'drop'===_0x4bd8dc['method']||_0x5e1ba6['change'](_0x57ac88=>{let _0x122e2e=_0x6db053['getFootnotesDefinitionsObjectElement']();const _0x149249=!!_0x122e2e&&Array['from'](_0x5e1ba6['document']['selection']['getSelectedBlocks']())['includes'](_0x122e2e);if(!_0x2b3fe5&&function(_0x44dc77){for(const {item:_0x1d754d}of _0x44dc77)if(_0x1d754d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x5e1ba6['createRangeIn'](_0x4bd8dc['content']))&&(_0x2b3fe5=function(_0x546d34,_0x43d1ad){const _0x1d6e96=c(_0x546d34,_0x43d1ad);if(!_0x1d6e96)return null;const _0x19ba6e=Object['create'](null);for(const _0x1bc028 of _0x1d6e96['getChildren']())_0x1bc028['is']('element','footnoteDefinition')&&_0x1bc028['hasAttribute']('footnoteId')&&(_0x19ba6e[_0x1bc028['getAttribute']('footnoteId')]=_0x546d34['cloneElement'](_0x1bc028,!0x0));return Object['keys'](_0x19ba6e)['length']?_0x19ba6e:null;}(_0x57ac88,_0x4bd8dc['content'])),(_0x122e2e&&!_0x149249||!_0x122e2e&&!_0x2b3fe5)&&function(_0x4a0bdd,_0x3d1bd1){const _0x2fa004=[];for(const {item:_0x14b4d9}of _0x4a0bdd['createRangeIn'](_0x3d1bd1))_0x14b4d9['is']('element','footnotesDefinitions')&&_0x2fa004['push'](_0x14b4d9);for(const _0x2cb640 of _0x2fa004)_0x4a0bdd['remove'](_0x2cb640);}(_0x57ac88,_0x4bd8dc['content']),!_0x2b3fe5)return;const {selection:_0x161236}=_0x5e1ba6['document'],_0x1667b3=_0x161236['getFirstRange']()['root'];_0x122e2e&&!_0x149249||(_0x122e2e=c(_0x57ac88,_0x4bd8dc['content']),_0x122e2e||=_0x6db053['_insertEmptyFootnotesDefinitionsContainer'](_0x57ac88,_0x1667b3));const _0x5d26ad=Array['from'](_0x161236['getRanges']())['flatMap'](l),_0x491f67=function(_0x10cc00,_0x28edda,_0x9b4bd8){const _0x296cf7=Object['create'](null);for(const {item:_0x5f0b34}of _0x10cc00['createRangeIn'](_0x28edda))if(_0x5f0b34['is']('element','footnoteRef')){const _0x402ac8=_0x5f0b34['getAttribute']('footnoteId');if(!_0x9b4bd8(_0x402ac8))continue;_0x296cf7[_0x402ac8]||(_0x296cf7[_0x402ac8]=_0x586cb6()),_0x10cc00['setAttribute']('footnoteId',_0x296cf7[_0x402ac8],_0x5f0b34);}return _0x296cf7;}(_0x57ac88,_0x4bd8dc['content'],_0x548255=>{if(!_0x3238f1)return!0x0;return!!_0x6db053['getFootnote'](_0x548255)&&!_0x5d26ad['includes'](_0x548255);});for(const [_0x186267,_0x139abc]of Object['entries'](_0x2b3fe5)){const _0x58af1f=_0x491f67[_0x186267]||_0x186267;let _0x3f56d7;if('string'!=typeof _0x139abc)_0x3f56d7=_0x139abc,_0x58af1f!==_0x186267&&_0x57ac88['setAttribute']('footnoteId',_0x58af1f,_0x3f56d7);else{_0x3f56d7=_0x57ac88['createElement']('footnoteDefinition',{'footnoteId':_0x58af1f});const _0xf02ab=_0x522405['data']['htmlProcessor']['toView'](_0x139abc);let _0x1421b3;if(_0x351dbd)_0x1421b3=_0x522405['data']['toModel'](_0xf02ab,_0x3f56d7);else{_0x1421b3=_0x57ac88['createElement']('footnoteInlineContent');const _0x21c911=_0x522405['data']['toModel'](_0xf02ab,_0x1421b3);_0x57ac88['insert'](_0x21c911,_0x1421b3);}_0x57ac88['append'](_0x1421b3,_0x3f56d7);}_0x57ac88['insert'](_0x3f56d7,_0x122e2e,'end');}_0x2b3fe5=null;});});}}function c(_0x4f287a,_0x5f41f7){for(const {item:_0x43c0d3}of _0x4f287a['createRangeIn'](_0x5f41f7))if(_0x43c0d3['is']('element','footnotesDefinitions'))return _0x43c0d3;return null;}function l(_0x76a4e6){const _0x4f55e5=new Set();for(const {item:_0x59a495}of _0x76a4e6)_0x59a495['is']('element','footnoteRef')&&_0x4f55e5['add'](_0x59a495['getAttribute']('footnoteId'));return Array['from'](_0x4f55e5);}class i extends _0x10a194{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x55cf4c}=this,{componentFactory:_0x1d5655}=_0x55cf4c['ui'];_0x1d5655['add']('insertFootnote',E(_0x55cf4c,_0x51c3a7)),_0x1d5655['add']('menuBar:insertFootnote',E(_0x55cf4c,_0x3fea61)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4b3c9c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x252ac7;for(const _0x552935 in _0x4b3c9c){const _0x4730a9=_0x552935,_0x121895=_0x4b3c9c[_0x4730a9];if('footnotesLicenseKeyValid'==_0x121895||'footnotesLicenseKeyInvalid'==_0x121895||'footnotesLicenseKeyExpired'==_0x121895||'footnotesLicenseKeyDomainLimit'==_0x121895||'footnotesLicenseKeyNotAllowed'==_0x121895||'footnotesLicenseKeyEvaluationLimit'==_0x121895||'footnotesLicenseKeyUsageLimit'==_0x121895){delete _0x4b3c9c[_0x4730a9],_0x252ac7=_0x121895,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x252ac7&&_0x4b3c9c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x252ac7&&_0x4b3c9c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x252ac7&&_0x4b3c9c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x252ac7&&_0x4b3c9c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x252ac7&&_0x4b3c9c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x252ac7&&_0x4b3c9c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x372731,_0x5e16be){const _0x43e934=_0x372731['commands']['get']('insertFootnote');return _0x565b4c=>{const {t:t}=_0x565b4c,_0x40d892=new _0x5e16be(_0x565b4c),_0x5dfd00=_0x40d892 instanceof _0x3fea61;return _0x40d892['bind']('isEnabled')['to'](_0x43e934,'isEnabled'),_0x40d892['set']({'label':t(_0x5dfd00?'Footnote':'Insert\x20footnote'),'icon':_0x213e33,'tooltip':!0x0}),_0x40d892['on']('execute',()=>{_0x43e934['execute'](),_0x372731['editing']['view']['focus']();}),_0x40d892;};}class lt extends _0x10a194{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 _0x3fd568{['refresh'](){const {editor:_0x56eeba}=this,_0x8815ae=_0x56eeba['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x8815ae,this['value']=_0x8815ae?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2e43f2}){const {editor:_0x3ebe42}=this,_0x261967=_0x3ebe42['plugins']['get'](f),_0x146611=_0x261967['getFootnotesDefinitionsObjectElement']();_0x146611&&W['includes'](_0x2e43f2)&&_0x3ebe42['model']['change'](_0x4ddfd0=>{_0x4ddfd0['setAttribute']('footnotesListStyle',_0x2e43f2,_0x146611),_0x261967['_updateFootnotesCounters'](_0x4ddfd0);});}}class C extends _0x3fd568{['refresh'](){const {editor:_0x481e32}=this,_0x19f9e8=_0x481e32['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x19f9e8,this['value']=_0x19f9e8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x156b48}){const {editor:_0x856959}=this,_0x2c4288=_0x856959['plugins']['get'](f),_0x1ed2af=_0x2c4288['getFootnotesDefinitionsObjectElement']();_0x1ed2af&&Number['isInteger'](_0x156b48)&&_0x856959['model']['change'](_0x2ffa93=>{_0x2ffa93['setAttribute']('footnotesListStart',_0x156b48,_0x1ed2af),_0x2c4288['_updateFootnotesCounters'](_0x2ffa93);});}}class P extends _0x10a194{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x146dcc}=this;_0x146dcc['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x146dcc['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x146dcc['commands']['add']('footnotesStyle',new S(_0x146dcc)),_0x146dcc['commands']['add']('footnotesStart',new C(_0x146dcc)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x39598a}=this,{schema:_0x20a7c9}=_0x39598a['model'];_0x20a7c9['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1c0a48}=this,{conversion:_0x1f1c9d,model:_0x4778fc}=_0x1c0a48,{schema:_0x58b9a3}=_0x4778fc;_0x1f1c9d['for']('upcast')['add'](_0x3d5e33=>{_0x3d5e33['on']('element:ol',(_0x4b9528,_0x27ac1b,_0x532c99)=>{const _0x22f433=_0x27ac1b['viewItem'],_0x4893fe=_0x27ac1b['modelCursor']?.['parent'];_0x22f433['hasClass']('footnotes-list')&&_0x4893fe?.['is']('element','footnotesDefinitions')&&(function(_0x1c25e8,_0x3d02a1,_0xd6466e,_0x3b0f2e){if(!_0x3b0f2e['checkAttribute'](_0x3d02a1,'footnotesListStart'))return;let _0x56f415=0x1;const _0x397f27=_0xd6466e['consumable']['consume'](_0x1c25e8,{'attributes':'start'});if(_0x397f27){const _0x1ea74e=Number['parseInt'](_0x1c25e8['getAttribute']('start'),0xa);Number['isNaN'](_0x1ea74e)||(_0x56f415=_0x1ea74e);}!_0x397f27&&_0x3d02a1['hasAttribute']('footnotesListStart')||_0xd6466e['writer']['setAttribute']('footnotesListStart',_0x56f415,_0x3d02a1);}(_0x22f433,_0x4893fe,_0x532c99,_0x58b9a3),function(_0x57649c,_0x3b4189,_0x366625,_0x5f46d4){if(!_0x5f46d4['checkAttribute'](_0x3b4189,'footnotesListStyle'))return;let _0x76a636='decimal',_0x7e94c5=!0x1;if(_0x366625['consumable']['consume'](_0x57649c,{'attributes':'type'})){const _0xc7f7d1={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x57649c['getAttribute']('type')];_0xc7f7d1&&(_0x76a636=_0xc7f7d1),_0x7e94c5=!0x0;}_0x366625['consumable']['consume'](_0x57649c,{'styles':'list-style-type'})&&(_0x76a636=function(_0x3cc85a){switch(_0x3cc85a){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3cc85a;}}(_0x57649c['getStyle']('list-style-type')),_0x7e94c5=!0x0),!_0x7e94c5&&_0x3b4189['hasAttribute']('footnotesListStyle')||_0x366625['writer']['setAttribute']('footnotesListStyle',_0x76a636,_0x3b4189);}(_0x22f433,_0x4893fe,_0x532c99,_0x58b9a3));});}),_0x1f1c9d['for']('downcast')['add'](_0x388589=>{_0x388589['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2f5c03,_0x5426e8,_0xad07cd)=>{if(!_0xad07cd['consumable']['consume'](_0x5426e8['item'],_0x2f5c03['name']))return;const _0x3204e3=M(_0x5426e8['item'],_0xad07cd['mapper']),{attributeNewValue:_0x45819c}=_0x5426e8;null==_0x45819c||0x1===_0x45819c?_0xad07cd['writer']['removeAttribute']('start',_0x3204e3):_0xad07cd['writer']['setAttribute']('start',String(_0x45819c),_0x3204e3);}),_0x388589['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3c0f52,_0x5226c7,_0x564bd6)=>{if(!_0x564bd6['consumable']['consume'](_0x5226c7['item'],_0x3c0f52['name']))return;const _0x38de23=M(_0x5226c7['item'],_0x564bd6['mapper']),{attributeNewValue:_0xf4acfb}=_0x5226c7;_0xf4acfb&&'decimal'!==_0xf4acfb?_0x564bd6['writer']['setStyle']('list-style-type',_0xf4acfb,_0x38de23):_0x564bd6['writer']['removeStyle']('list-style-type',_0x38de23);});});}['_definePostfixer'](){const {editor:_0xc5614b}=this,{model:_0x5cbc94}=_0xc5614b,_0x1c4fd2=_0xc5614b['plugins']['get'](f),_0x3ce401=this['_getDefaultListStyle'](),_0x3c772a=this['_getDefaultStartIndex']();_0x5cbc94['document']['registerPostFixer'](_0x919ee=>{const _0x579723=_0x5cbc94['document']['differ']['getChanges']();let _0x1a6f30=!0x1;for(const _0xb56532 of _0x579723){if('insert'!==_0xb56532['type']||'$text'===_0xb56532['name'])continue;const _0x3f9e9e=_0x5cbc94['createRangeOn'](_0xb56532['position']['nodeAfter']);for(const _0x321d8b of _0x3f9e9e['getItems']())_0x321d8b['is']('element','footnotesDefinitions')&&(!_0x321d8b['hasAttribute']('footnotesListStart')&&_0x5cbc94['schema']['checkAttribute'](_0x321d8b,'footnotesListStart')&&(_0x919ee['setAttribute']('footnotesListStart',_0x3c772a,_0x321d8b),_0x1a6f30=!0x0),!_0x321d8b['hasAttribute']('footnotesListStyle')&&_0x5cbc94['schema']['checkAttribute'](_0x321d8b,'footnotesListStyle')&&(_0x919ee['setAttribute']('footnotesListStyle',_0x3ce401,_0x321d8b),_0x1a6f30=!0x0));}return _0x1a6f30&&_0x1c4fd2['_updateFootnotesCounters'](_0x919ee),_0x1a6f30;});}['_defineFormatter'](){const {editor:_0x3578e2}=this;_0x3578e2['plugins']['get'](f)['setFootnoteFormatter'](_0xe982f0=>this['_formatFootnoteListValue'](_0xe982f0));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1abc93,value:_0x79e0d7,digits:_0x332348}){const _0x19d4e0=_0x1abc93['getAttribute']('footnotesListStyle'),_0x498c0c=_0x1abc93['getAttribute']('footnotesListStart'),_0xe4033e=Math['floor'](_0x79e0d7)+(_0x498c0c??0x1)-0x1;switch(_0x19d4e0){case'decimal-leading-zero':return function(_0x2351d3,_0x59b187){return String(_0x2351d3)['padStart'](_0x59b187,'0');}(_0xe4033e,Math['max'](0x2,_0x332348));case'lower-alpha':case'lower-latin':return N(_0xe4033e,!0x1);case'upper-alpha':case'upper-latin':return N(_0xe4033e,!0x0);case'lower-roman':return X(_0xe4033e,!0x1);case'upper-roman':return X(_0xe4033e,!0x0);default:return String(_0xe4033e);}}}function M(_0x484f08,_0x3e3c40){const _0x323878=_0x3e3c40['toViewElement'](_0x484f08);return Array['from'](_0x323878['getChildren']())['find'](_0x583a15=>_0x583a15['is']('element','ol')&&_0x583a15['hasClass']('footnotes-list'));}function N(_0x320ec4,_0x47764b){let _0x2eedd6='',_0x36040e=_0x320ec4;for(;_0x36040e>0x0;){const _0x4ee161=(_0x36040e-0x1)%0x1a;_0x2eedd6=String['fromCharCode'](0x61+_0x4ee161)+_0x2eedd6,_0x36040e=Math['floor']((_0x36040e-0x1)/0x1a);}return _0x47764b?_0x2eedd6['toUpperCase']():_0x2eedd6;}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(_0x119cab,_0x441fcb){let _0x42f9c7='',_0x2d8676=_0x119cab;for(const {value:_0x322edb,numeral:_0x2e3f6d}of V)for(;_0x2d8676>=_0x322edb;)_0x42f9c7+=_0x2e3f6d,_0x2d8676-=_0x322edb;return _0x441fcb?_0x42f9c7:_0x42f9c7['toLowerCase']();}class J extends _0x106402{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2e2371();['focusCycler'];constructor(_0x42d586,{styleButtonViews:_0x187e93,styleGridAriaLabel:_0x144570}){super(_0x42d586),(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'](_0x187e93,_0x144570),[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 _0x38b035 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x38b035['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 _0x35791e=_0x1d4623=>_0x1d4623['stopPropagation']();this['keystrokes']['set']('arrowright',_0x35791e),this['keystrokes']['set']('arrowleft',_0x35791e),this['keystrokes']['set']('arrowup',_0x35791e),this['keystrokes']['set']('arrowdown',_0x35791e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3fee64,_0x165b81){const _0x18861b=new _0x106402(this['locale']);return _0x18861b['children']=_0x18861b['createCollection'](),_0x18861b['children']['addMany'](_0x3fee64),_0x18861b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x165b81,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x18861b['children']}),_0x18861b['children']['delegate']('execute')['to'](this),_0x18861b['focus']=function(){for(const _0x13a438 of this['children'])if(_0x13a438 instanceof _0x51c3a7&&_0x13a438['isOn'])return void _0x13a438['focus']();this['children']['first']['focus']();},_0x18861b['focusTracker']=new rt(),_0x18861b['keystrokes']=new nt(),_0x18861b['render'](),_0x18861b['keystrokes']['listenTo'](_0x18861b['element']),this['children']['add'](_0x18861b),_0x18861b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3a81ed=this['_createStartIndexPropertyView'](),_0x21d7e6=[_0x3a81ed],_0x342bed=new it(this['locale'],_0x21d7e6);return _0x342bed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x342bed['buttonView']['bind']('isEnabled')['toMany'](_0x21d7e6,'isEnabled',(..._0x571529)=>_0x571529['some'](_0x1e25ee=>_0x1e25ee)),_0x342bed['buttonView']['on']('change:isEnabled',(_0x1bed59,_0x21b0f4,_0x2bc4c0)=>{_0x2bc4c0||(_0x342bed['isCollapsed']=!0x0);}),this['children']['add'](_0x342bed),[_0x3a81ed,_0x342bed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2be67a=new et(this['locale'],ot);return _0x2be67a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2be67a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2be67a['fieldView']['on']('input',()=>{const _0x6f647c=_0x2be67a['fieldView']['element'],_0x154fe0=_0x6f647c['valueAsNumber'];Number['isNaN'](_0x154fe0)?_0x2be67a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x6f647c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x154fe0}):_0x2be67a['errorText']=t(_0x154fe0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2be67a;}}class j extends _0x10a194{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x26fa71,_0xd4b96d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b3426}=this,{componentFactory:_0x426fb6}=_0x3b3426['ui'];_0x3b3426['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x426fb6['add']('footnotesStyle',function(_0x1eef2f){return _0x4664ec=>{const {t:t}=_0x4664ec,_0x5ebac0=_0x1eef2f['commands']['get']('footnotesStyle'),_0x3fb9f8=_0x33115f(_0x4664ec),{buttonView:_0x122445}=_0x3fb9f8;return _0x3fb9f8['class']='ck-footnotes-styles-dropdown',_0x3fb9f8['bind']('isEnabled')['to'](_0x5ebac0,'isEnabled'),_0x122445['set']({'label':t('Footnotes\x20style'),'icon':_0x213e33,'tooltip':!0x0}),_0x3fb9f8['once']('change:isOpen',()=>{const _0x169611=function({editor:_0x29b908,dropdownView:_0xa361da}){const {t:t}=_0x29b908['locale'],_0x16c890=t('Footnotes\x20definitions\x20styles'),_0x433eae=function(_0x35b4df){const t=_0x35b4df['locale']['t'],_0x4d5aab=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xc47fe9},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2fc4ea},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x56ba63},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xfb3ec9},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x21f4b8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x43a17e}];return _0x4d5aab['map'](function(_0x5d62f2){const _0xebcb37=_0x5d62f2['locale'];return({label:_0x22fcee,icon:_0x4b78f2,tooltip:_0x2b8673,style:_0x5e9a9b})=>{const _0x966c2c=_0x5d62f2['commands']['get']('footnotesStyle'),_0x191f04=new _0x51c3a7(_0xebcb37);return _0x191f04['set']({'label':_0x22fcee,'icon':_0x4b78f2,'tooltip':_0x2b8673}),_0x191f04['bind']('isOn')['to'](_0x966c2c,'value',_0x5dc2ce=>_0x5dc2ce===_0x5e9a9b),_0x191f04['bind']('isEnabled')['to'](_0x966c2c,'isEnabled'),_0x191f04['on']('execute',()=>{_0x5d62f2['execute']('footnotesStyle',{'value':_0x5e9a9b}),_0x5d62f2['editing']['view']['focus']();}),_0x191f04;};}(_0x35b4df));}(_0x29b908),_0x463e9f=new J(_0x29b908['locale'],{'styleGridAriaLabel':_0x16c890,'styleButtonViews':_0x433eae}),_0x30c1b4=_0x29b908['commands']['get']('footnotesStart');return _0x463e9f['startIndexFieldView']['bind']('isEnabled')['to'](_0x30c1b4),_0x463e9f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x30c1b4),_0x463e9f['on']('footnotesListStart',(_0x5a0eaf,_0x2d18ae)=>{_0x29b908['execute']('footnotesStart',{'value':_0x2d18ae['startIndex']});}),_0x463e9f['delegate']('execute')['to'](_0xa361da),_0x463e9f;}({'editor':_0x1eef2f,'dropdownView':_0x3fb9f8});_0x3fb9f8['panelView']['children']['add'](_0x169611);}),_0x3fb9f8;};}(_0x3b3426));}['afterInit'](){const {editor:_0xf94886}=this,{t:t}=_0xf94886['locale'],_0x22cd12=_0xf94886['plugins']['get'](_0xd4b96d),{defaultPositions:_0x4e0a74}=_0x5f464f;_0x22cd12['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xf94886['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x22c4e2=>{let _0x1a1224=_0x22c4e2['getFirstPosition']()?.['parent'];return _0x1a1224?.['is']('$text')&&(_0x1a1224=_0x1a1224['parent']),_0x1a1224?.['is']('element')?_0x1a1224['findAncestor'](Q):null;},'positions':[_0x4e0a74['southArrowNorth'],_0x4e0a74['southArrowNorthMiddleWest'],_0x4e0a74['southArrowNorthMiddleEast'],_0x4e0a74['southArrowNorthWest'],_0x4e0a74['southArrowNorthEast'],_0x4e0a74['northArrowSouth'],_0x4e0a74['northArrowSouthMiddleWest'],_0x4e0a74['northArrowSouthMiddleEast'],_0x4e0a74['northArrowSouthWest'],_0x4e0a74['northArrowSouthEast'],_0x4e0a74['viewportStickyNorth']]});}}class ft extends _0x10a194{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':_0x2fc777=>0x1!=_0x2fc777}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1806f6=>0x1!=_0x1806f6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24ffad=>{const {af:{dictionary:_0x3b2d59,getPluralForm:_0x4d1e09}}={'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':_0x49758e=>0x1!=_0x49758e}};_0x24ffad['af']||={'dictionary':{},'getPluralForm':null},_0x24ffad['af']['dictionary']=Object['assign'](_0x24ffad['af']['dictionary'],_0x3b2d59),_0x24ffad['af']['getPluralForm']=_0x4d1e09;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3217e3=>{const {af:{dictionary:_0xa36036,getPluralForm:_0x56855d}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4c6d85=>0x1!=_0x4c6d85}};_0x3217e3['af']||={'dictionary':{},'getPluralForm':null},_0x3217e3['af']['dictionary']=Object['assign'](_0x3217e3['af']['dictionary'],_0xa36036),_0x3217e3['af']['getPluralForm']=_0x56855d;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x495c7e=>0x0==_0x495c7e?0x0:0x1==_0x495c7e?0x1:0x2==_0x495c7e?0x2:_0x495c7e%0x64>=0x3&&_0x495c7e%0x64<=0xa?0x3:_0x495c7e%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':_0x16b051=>0x0==_0x16b051?0x0:0x1==_0x16b051?0x1:0x2==_0x16b051?0x2:_0x16b051%0x64>=0x3&&_0x16b051%0x64<=0xa?0x3:_0x16b051%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x440b9e=>{const {ar:{dictionary:_0x3f754e,getPluralForm:_0x5db83c}}={'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':_0x1633a4=>0x0==_0x1633a4?0x0:0x1==_0x1633a4?0x1:0x2==_0x1633a4?0x2:_0x1633a4%0x64>=0x3&&_0x1633a4%0x64<=0xa?0x3:_0x1633a4%0x64>=0xb?0x4:0x5}};_0x440b9e['ar']||={'dictionary':{},'getPluralForm':null},_0x440b9e['ar']['dictionary']=Object['assign'](_0x440b9e['ar']['dictionary'],_0x3f754e),_0x440b9e['ar']['getPluralForm']=_0x5db83c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c4523=>{const {ar:{dictionary:_0xaa1958,getPluralForm:_0x3b2534}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x125db2=>0x0==_0x125db2?0x0:0x1==_0x125db2?0x1:0x2==_0x125db2?0x2:_0x125db2%0x64>=0x3&&_0x125db2%0x64<=0xa?0x3:_0x125db2%0x64>=0xb?0x4:0x5}};_0x2c4523['ar']||={'dictionary':{},'getPluralForm':null},_0x2c4523['ar']['dictionary']=Object['assign'](_0x2c4523['ar']['dictionary'],_0xaa1958),_0x2c4523['ar']['getPluralForm']=_0x3b2534;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x5531da=>0x1!=_0x5531da}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x244b4c=>0x1!=_0x244b4c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x345b1e=>{const {ast:{dictionary:_0x4778ab,getPluralForm:_0x471c52}}={'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':_0x2fdeea=>0x1!=_0x2fdeea}};_0x345b1e['ast']||={'dictionary':{},'getPluralForm':null},_0x345b1e['ast']['dictionary']=Object['assign'](_0x345b1e['ast']['dictionary'],_0x4778ab),_0x345b1e['ast']['getPluralForm']=_0x471c52;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2058cf=>{const {ast:{dictionary:_0x8d98f2,getPluralForm:_0x3d5c08}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x330231=>0x1!=_0x330231}};_0x2058cf['ast']||={'dictionary':{},'getPluralForm':null},_0x2058cf['ast']['dictionary']=Object['assign'](_0x2058cf['ast']['dictionary'],_0x8d98f2),_0x2058cf['ast']['getPluralForm']=_0x3d5c08;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x44f614=>0x1!=_0x44f614}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xba94dd=>0x1!=_0xba94dd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x409199=>{const {az:{dictionary:_0x439dbf,getPluralForm:_0x179cbd}}={'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':_0x929902=>0x1!=_0x929902}};_0x409199['az']||={'dictionary':{},'getPluralForm':null},_0x409199['az']['dictionary']=Object['assign'](_0x409199['az']['dictionary'],_0x439dbf),_0x409199['az']['getPluralForm']=_0x179cbd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x30958a=>{const {az:{dictionary:_0x31a8f0,getPluralForm:_0x5ec364}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x226755=>0x1!=_0x226755}};_0x30958a['az']||={'dictionary':{},'getPluralForm':null},_0x30958a['az']['dictionary']=Object['assign'](_0x30958a['az']['dictionary'],_0x31a8f0),_0x30958a['az']['getPluralForm']=_0x5ec364;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x5bde3b=>_0x5bde3b%0xa==0x1&&_0x5bde3b%0x64!=0xb?0x0:_0x5bde3b%0xa>=0x2&&_0x5bde3b%0xa<=0x4&&(_0x5bde3b%0x64<0xa||_0x5bde3b%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':_0x3b656d=>_0x3b656d%0xa==0x1&&_0x3b656d%0x64!=0xb?0x0:_0x3b656d%0xa>=0x2&&_0x3b656d%0xa<=0x4&&(_0x3b656d%0x64<0xa||_0x3b656d%0x64>=0x14)?0x1:0x2}};