@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251222.0 → 0.0.0-nightly-next-20251222.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1710cd,Command as _0x41eb48}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3df5a3,isWidget as _0x3a4250,toWidgetEditable as _0x3698cf,WidgetToolbarRepository as _0x3beff2}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xbe9a79,logWarning as _0x5c6277,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3d6e46,ClickObserver as _0x1ac324}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x221a8b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5db380,ButtonView as _0x350ac0,View as _0x1dd507,ViewCollection as _0x352e5d,FocusCycler as _0x95ad87,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4d686c,BalloonPanelView as _0xdd54a5,createDropdown as _0x2ede11}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1d63ee,IconListStyleDecimal as _0x1f671c,IconListStyleDecimalLeadingZero as _0x49efc3,IconListStyleLowerRoman as _0x4f8c01,IconListStyleUpperRoman as _0x8c4f37,IconListStyleLowerLatin as _0x2fb348,IconListStyleUpperLatin as _0x5a7aff}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4ccfd7,_0x260d47){this['_model']=_0x4ccfd7,this['_elementName']=_0x260d47['elementName'],this['_getElementKey']=_0x260d47['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xf0115a){const _0x2fde06=new Set(),_0x362acb=new Map();for(const _0x498941 of _0xf0115a){if('insert'===_0x498941['type']&&'$text'!==_0x498941['name']&&_0x498941['position']['nodeAfter']){const _0x3b1804=this['_model']['createRangeOn'](_0x498941['position']['nodeAfter']);for(const _0x4eb16e of _0x3b1804['getItems']()){if(!_0x4eb16e['is']('element',this['_elementName']))continue;const _0x3f9528=this['_getElementKey'](_0x4eb16e);_0x362acb['has'](_0x3f9528)||_0x362acb['set'](_0x3f9528,[]),_0x362acb['get'](_0x3f9528)['push'](_0x4eb16e);}}if('remove'===_0x498941['type']&&_0x498941['name']===this['_elementName']){const _0x53e27c=this['_getElementKey']({'getAttribute':_0x58a14a=>_0x498941['attributes']['get'](_0x58a14a)});_0x2fde06['add'](_0x53e27c);}}for(const [_0x3d3391,_0x102e8a]of this['_trackedElements'])'$graveyard'===_0x102e8a['root']['rootName']&&_0x2fde06['add'](_0x3d3391);for(const _0x2f950b of _0x2fde06)this['_trackedElements']['delete'](_0x2f950b);for(const [_0x53882f,_0x30d600]of _0x362acb)this['_trackedElements']['set'](_0x53882f,_0x30d600[_0x30d600['length']-0x1]);const _0x254d5d=new Set();for(const [_0x597d89,_0x391220]of _0x362acb)_0x2fde06['has'](_0x597d89)&&(_0x254d5d['add'](_0x391220[0x0]),_0x391220['length']>0x1?_0x362acb['set'](_0x597d89,_0x391220['slice'](0x1)):_0x362acb['delete'](_0x597d89),_0x2fde06['delete'](_0x597d89));return{'removed':Array['from'](_0x2fde06),'inserted':Array['from'](_0x362acb['values']())['flat'](),'moved':Array['from'](_0x254d5d)};}}class f extends _0x1710cd{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57f5c5){super(_0x57f5c5),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e2cf8=>_0x1e2cf8['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2d8ff4=>_0x2d8ff4['getAttribute']('footnoteId')});}['init'](){const {editor:_0x733764}=this,{model:_0x41e2d4,data:_0x1765a7}=_0x733764;_0x41e2d4['document']['registerPostFixer'](_0x32ef36=>{const _0x49e61e=_0x41e2d4['document']['differ']['getChanges']();let _0x5a9631=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x32ef36,_0x49e61e)&&(_0x5a9631=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x32ef36,_0x49e61e)&&(_0x5a9631=!0x0),this['_handleFootnoteReferencesChanges'](_0x32ef36,_0x49e61e)&&(_0x5a9631=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x32ef36)&&(_0x5a9631=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x32ef36)&&(_0x5a9631=!0x0),this['_sortFootnoteDefinitions'](_0x32ef36)&&(_0x5a9631=!0x0),_0x5a9631;}),this['listenTo'](_0x41e2d4['document'],'change:data',()=>{_0x41e2d4['enqueueChange']({'isUndoable':!0x1},_0x194ca6=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x194ca6);});},{'priority':'low'}),this['listenTo'](_0x1765a7,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x21eb48){return this['_footnotes']['find'](_0x5a9b30=>_0x5a9b30['id']===_0x21eb48)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x500c00){this['_footnoteFormatter']=_0x500c00;}['_updateFootnotesCounters'](_0x16e87f,_0x5bbf39=0x0){let _0x4c180e=!0x1;for(let _0x59ce6d=_0x5bbf39;_0x59ce6d<this['_footnotes']['length'];_0x59ce6d++)this['_updateFootnoteRefCounter'](_0x16e87f,_0x59ce6d)&&(_0x4c180e=!0x0);return _0x4c180e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x499614,_0x5ee986){const _0x213cb3=_0x499614['createElement']('footnotesDefinitions',{});return _0x499614['append'](_0x213cb3,_0x5ee986),this['_footnotesDefinitions']=_0x213cb3,_0x213cb3;}['_ensureFootnotesDefinitionsContainerExists'](_0x3b93ff){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x25de09=this['_footnotes'][0x0]['reference']['root'],_0x36e71f=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3b93ff,_0x25de09);for(const _0x5723e2 of this['_footnotes'])_0x5723e2['definition']['parent']||_0x3b93ff['insert'](_0x5723e2['definition'],_0x36e71f,'end');this['_updateFootnotesCounters'](_0x3b93ff);}['_handleFootnotesDefinitionsObjectChanges'](_0x31fb84,_0x50f64f){let _0x7c81fe=!0x1;const {inserted:_0xb61a5a,removed:_0x128283,moved:_0x3e1efb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x50f64f);if(_0x3e1efb['length']&&(this['_footnotesDefinitions']=_0x3e1efb[0x0]),_0xb61a5a['length']){if(_0xb61a5a['length']>0x1||this['_footnotesDefinitions']&&_0xb61a5a['some'](_0x75e7d8=>_0x75e7d8!==this['_footnotesDefinitions'])){const _0x320a6e=_0x31fb84['createElement']('footnotesDefinitions',{}),_0x505366=[];this['_footnotesDefinitions']&&_0x505366['push'](this['_footnotesDefinitions']),_0x505366['push'](..._0xb61a5a),_0x31fb84['insert'](_0x320a6e,_0x505366[0x0],'before');for(const _0x59bb56 of _0x505366)_0x31fb84['move'](_0x31fb84['createRangeIn'](_0x59bb56),_0x31fb84['createPositionAt'](_0x320a6e,'end')),_0x31fb84['remove'](_0x59bb56);this['_footnotesDefinitions']=_0x320a6e,this['_updateFootnotesCounters'](_0x31fb84),_0x7c81fe=!0x0;}else this['_footnotesDefinitions']=_0xb61a5a[0x0];}if(_0x128283['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x591e5e of this['_footnotes'])_0x31fb84['remove'](_0x591e5e['reference']),_0x7c81fe=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x7c81fe;}['_handleFootnoteDefinitionsChanges'](_0x4089ed,_0x1a7717){let _0x4c6892=!0x1;const _0x40c82a=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xedbce4,moved:_0x8739d8}=this['_footnoteDefsTracker']['getChanges'](_0x1a7717);for(const _0x1cc598 of[..._0x8739d8,..._0xedbce4]){const _0x39fd46=_0x1cc598['getAttribute']('footnoteId'),_0x2200f6=this['getFootnote'](_0x39fd46);_0x2200f6&&(_0x2200f6['definition']=_0x1cc598),_(_0x4089ed,_0x40c82a,_0x1cc598)&&(_0x4c6892=!0x0);}return _0x4c6892;}['_handleFootnoteReferencesChanges'](_0x576f1a,_0x365db5){let _0x1d4b25=!0x1;const {removed:_0x4116a4,inserted:_0x242d72,moved:_0x238294}=this['_footnoteRefsTracker']['getChanges'](_0x365db5);for(const _0x51d591 of _0x4116a4)this['_handleRemoveFootnoteReferenceById'](_0x576f1a,_0x51d591)&&(_0x1d4b25=!0x0);for(const _0x7b8aea of _0x242d72)this['_handleInsertedFootnoteReference'](_0x576f1a,_0x7b8aea)&&(_0x1d4b25=!0x0);for(const _0x1d12ad of _0x238294)this['_handleMovedFootnoteReference'](_0x576f1a,_0x1d12ad)&&(_0x1d4b25=!0x0);return _0x1d4b25;}['_handleFootnotesDefinitionsObjectSync'](_0x1f7a68){if(!this['_footnotesDefinitions'])return!0x1;let _0x224d5d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1076f9=[];for(const _0x419e20 of this['_footnotesDefinitions']['getChildren']()){const _0x10a195=_0x419e20['getAttribute']('footnoteId');this['getFootnote'](_0x10a195)||(_0x1076f9['unshift'](_0x419e20),_0x224d5d=!0x0);}for(const _0x2231b8 of _0x1076f9)_0x1f7a68['remove'](_0x2231b8);}const _0x75f020=new Set(),_0x5a9080=[];for(const _0x4850cb of this['_footnotesDefinitions']['getChildren']()){const _0x40c338=_0x4850cb['getAttribute']('footnoteId');_0x75f020['has'](_0x40c338)?(_0x5a9080['unshift'](_0x4850cb),_0x224d5d=!0x0):_0x75f020['add'](_0x40c338);}for(const _0xdeb260 of _0x5a9080)_0x1f7a68['remove'](_0xdeb260);return this['_footnotesDefinitions']['childCount']||(_0x1f7a68['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x224d5d=!0x0),_0x224d5d;}['_handleInsertedFootnoteReference'](_0x6b764f,_0x4590fc){if(this['_footnotes']['find'](_0x467f43=>_0x467f43['reference']===_0x4590fc))return!0x1;let _0xdef314=!0x1;const _0x43d727=_0x4590fc['getAttribute']('footnoteId'),_0x104c94=this['_footnotes']['findIndex'](_0x411cd0=>_0x411cd0['id']===_0x43d727);-0x1!==_0x104c94&&(_0x6b764f['remove'](this['_footnotes'][_0x104c94]['reference']),this['_footnotes']['splice'](_0x104c94,0x1),_0xdef314=!0x0);let _0x245218=this['_footnotesDefinitions']?function(_0x1962f9,_0x55387a){for(const _0x3f5a4c of _0x1962f9['getChildren']())if(_0x3f5a4c['getAttribute']('footnoteId')===_0x55387a)return _0x3f5a4c;return null;}(this['_footnotesDefinitions'],_0x43d727):null;_0x245218||(_0x245218=_0x6b764f['createElement']('footnoteDefinition',{'footnoteId':_0x43d727}),this['_footnotesDefinitions']&&(_0x6b764f['insert'](_0x245218,this['_footnotesDefinitions'],'end'),_0xdef314=!0x0));const _0x2aebeb={'id':_0x43d727,'reference':_0x4590fc,'definition':_0x245218},_0x4e0ebe=I(this['editor']['model'],this['_footnotes'],_0x4590fc);this['_footnotes']['splice'](_0x4e0ebe,0x0,_0x2aebeb);let _0x371ecd=_0x4e0ebe;return-0x1!==_0x104c94&&(_0x371ecd=Math['min'](_0x4e0ebe,_0x104c94)),this['_updateFootnotesCounters'](_0x6b764f,_0x371ecd)&&(_0xdef314=!0x0),_0xdef314;}['_handleRemoveFootnoteReferenceById'](_0x14c123,_0x7ef54e){const _0xfa65e9=this['_footnotes']['findIndex'](_0x4de198=>_0x4de198['id']===_0x7ef54e);if(-0x1===_0xfa65e9)return!0x1;let _0xabf3ed=!0x1;const _0x5e0516=this['_footnotes'][_0xfa65e9];return'$graveyard'!==_0x5e0516['definition']['root']['rootName']&&(_0x14c123['remove'](_0x5e0516['definition']),_0xabf3ed=!0x0),this['_footnotes']['splice'](_0xfa65e9,0x1),this['_updateFootnotesCounters'](_0x14c123,_0xfa65e9)&&(_0xabf3ed=!0x0),_0xabf3ed;}['_handleMovedFootnoteReference'](_0x3209d1,_0x4e7da6){const _0x4e5064=_0x4e7da6['getAttribute']('footnoteId'),_0x489c59=this['_footnotes']['findIndex'](_0x1b40af=>_0x1b40af['id']===_0x4e5064),_0x5738f4=this['_footnotes'][_0x489c59];let _0x2c2168=!0x1;_0x5738f4['reference']=_0x4e7da6,this['_footnotes']['splice'](_0x489c59,0x1);const _0x3b58a3=I(this['editor']['model'],this['_footnotes'],_0x4e7da6);return this['_footnotes']['splice'](_0x3b58a3,0x0,_0x5738f4),this['_updateFootnotesCounters'](_0x3209d1,Math['min'](_0x489c59,_0x3b58a3))&&(_0x2c2168=!0x0),_0x2c2168;}['_updateFootnoteRefCounter'](_0x2786b3,_0x5cbacf){if(!this['_footnotesDefinitions'])return!0x1;const _0xb9f40a=this['_footnotes'][_0x5cbacf];let _0x239150;return _0x239150=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xb9f40a,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5cbacf+0x1}):String(_0x5cbacf+0x1),_0xb9f40a['reference']['getAttribute']('footnoteCounter')!=_0x239150&&(_0x2786b3['setAttribute']('footnoteCounter',_0x239150,_0xb9f40a['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x20bc92){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x23aeb0,_0x1af5ee){if(_0x23aeb0['length']!==_0x1af5ee['length'])return!0x1;for(let _0x5a1a16=0x0;_0x5a1a16<_0x23aeb0['length'];_0x5a1a16++)if(_0x23aeb0[_0x5a1a16]!==_0x1af5ee[_0x5a1a16])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xbdca83=>_0xbdca83['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4363b6=>_0x4363b6['getAttribute']('footnoteId'))))return!0x1;let _0x4b0c10=!0x1;for(let _0x1f487d=0x0;_0x1f487d<this['_footnotes']['length'];_0x1f487d++){const _0x99a64d=this['_footnotes'][_0x1f487d],_0x1c7092=_0x20bc92['createPositionBefore'](_0x99a64d['definition']),_0x498996=_0x20bc92['createPositionAt'](this['_footnotesDefinitions'],_0x1f487d);_0x1c7092['isEqual'](_0x498996)||(_0x20bc92['move'](_0x20bc92['createRangeOn'](_0x99a64d['definition']),_0x498996),_0x4b0c10=!0x0);}return _0x4b0c10;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4e74db){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4bf359}=this['editor'];let _0x528f1b=!0x1;for(let _0x1c847b=0x0;_0x1c847b<this['_footnotes']['length']-0x1;_0x1c847b++){const _0x50abd8=this['_footnotes'][_0x1c847b],_0x39b276=this['_footnotes'][_0x1c847b+0x1],_0x56b595=_0x4bf359['createPositionBefore'](_0x50abd8['reference']),_0x42e973=_0x4bf359['createPositionBefore'](_0x39b276['reference']);'after'===_0x56b595['compareWith'](_0x42e973)&&(this['_handleMovedFootnoteReference'](_0x4e74db,_0x50abd8['reference']),_0x1c847b=-0x1,_0x528f1b=!0x0);}return _0x528f1b;}}function _(_0x4edb35,_0x33610d,_0x27da4d){if(_0x27da4d['childCount'])return!0x1;const _0x3606f8=_0x33610d?'paragraph':'footnoteInlineContent';return _0x4edb35['insert'](_0x4edb35['createElement'](_0x3606f8),_0x27da4d),!0x0;}function I(_0x17b871,_0x2b2d6b,_0x18811d){if(0x0===_0x2b2d6b['length'])return 0x0;const _0x44b791=_0x17b871['createPositionBefore'](_0x18811d);for(let _0x381f4d=0x0;_0x381f4d<_0x2b2d6b['length'];_0x381f4d++){const _0x871aad=_0x2b2d6b[_0x381f4d],_0x5287da=_0x17b871['createPositionBefore'](_0x871aad['reference']);if('before'===_0x44b791['compareWith'](_0x5287da))return _0x381f4d;}const _0x36168a=_0x18811d['root'];let _0x2d6659=-0x1;for(let _0x3b06b0=_0x2b2d6b['length']-0x1;_0x3b06b0>=0x0;_0x3b06b0--)if(_0x2b2d6b[_0x3b06b0]['reference']['root']===_0x36168a){_0x2d6659=_0x3b06b0;break;}if(-0x1!==_0x2d6659)return _0x2d6659+0x1;const _0x17fbac=_0x17b871['document']['getRootNames'](),_0x43f1ad=_0x17fbac['indexOf'](_0x36168a['rootName']),_0x498e09=_0x17fbac[_0x43f1ad+0x1];if(_0x498e09){for(let _0x1684c7=0x0;_0x1684c7<_0x2b2d6b['length'];_0x1684c7++)if(_0x2b2d6b[_0x1684c7]['reference']['root']['rootName']===_0x498e09)return _0x1684c7;}return _0x2b2d6b['length'];}class h extends _0x41eb48{['refresh'](){const _0x144d87=this['editor']['model']['document']['selection'],_0x44b917=this['_getPositionToInsertFootnote'](_0x144d87);this['isEnabled']=!!_0x44b917;}['execute'](_0x155ea7){const {editor:_0x5dcdfa}=this,{model:_0x437e56}=_0x5dcdfa,{selection:_0x4199ec}=_0x437e56['document'],_0x13e374=this['_getPositionToInsertFootnote'](_0x4199ec);if(!_0x13e374)return;const _0xcb181=_0x5dcdfa['plugins']['get']('FootnotesEditing'),_0x3d617c=_0x155ea7?.['footnoteId']??_0xbe9a79();!function(_0x4cfdbd){return'string'==typeof _0x4cfdbd&&_0x4cfdbd['length']>0x0&&!/\s/['test'](_0x4cfdbd)&&!/^\d/['test'](_0x4cfdbd);}(_0x3d617c)?_0x5c6277('insert-footnote-command-executed-with-invalid-id'):(_0x437e56['change'](_0x229060=>{const _0xf2c060=_0x229060['createElement']('footnoteRef',{'footnoteId':_0x3d617c});_0x437e56['insertObject'](_0xf2c060,_0x13e374,null);}),_0xcb181['_moveSelectionToFootnoteDefinition'](_0x3d617c));}['_getPositionToInsertFootnote'](_0x4f6225){const {model:_0xa4d6a1}=this['editor'],{schema:_0x416769}=_0xa4d6a1,_0x79e6c1=_0x4f6225['getFirstRange']();for(const _0x7679dd of _0x79e6c1['getItems']())if(_0x416769['isBlock'](_0x7679dd)||_0x416769['isObject'](_0x7679dd))return null;const _0x8bb83c=_0x79e6c1['end'];return _0x416769['checkChild'](_0x8bb83c,'footnoteRef')?_0x8bb83c:null;}}class r extends _0x1710cd{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5f2cd8}=this;_0x5f2cd8['config']['define']('footnotes.multiBlock',!0x0),_0x5f2cd8['commands']['add']('insertFootnote',new h(_0x5f2cd8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x51d2bd){const _0x17950a=_0x2c9f35([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]),_0x3ee831=0x47a28506,_0x1147c6=0x47a5f9a6^_0x3ee831,_0x5f3367=window[_0x2c9f35([0x44,0x61,0x74,0x65])][_0x2c9f35([0x6e,0x6f,0x77])](),_0xd0f309=_0x51d2bd[_0x2c9f35([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x30627a=new window[(_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf33c5a=>{_0xd0f309[_0x2c9f35([0x6f,0x6e,0x63,0x65])](_0x2c9f35([0x72,0x65,0x61,0x64,0x79]),_0xf33c5a);}),_0x1c79ab={[_0x2c9f35([0x6b,0x74,0x79])]:_0x2c9f35([0x45,0x43]),[_0x2c9f35([0x75,0x73,0x65])]:_0x2c9f35([0x73,0x69,0x67]),[_0x2c9f35([0x63,0x72,0x76])]:_0x2c9f35([0x50,0x2d,0x32,0x35,0x36]),[_0x2c9f35([0x78])]:_0x2c9f35([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]),[_0x2c9f35([0x79])]:_0x2c9f35([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]),[_0x2c9f35([0x61,0x6c,0x67])]:_0x2c9f35([0x45,0x53,0x32,0x35,0x36])},_0x5bd5ef=_0xd0f309[_0x2c9f35([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2c9f35([0x67,0x65,0x74])](_0x2c9f35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59cce5(){let _0x279820,_0x5382e3=null,_0x23ce29=null;try{if(_0x5bd5ef==_0x2c9f35([0x47,0x50,0x4c]))return _0x2c9f35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x279820=_0x4d0b1c(),!_0x279820)return _0x2c9f35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x279820[_0x2c9f35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23ce29=_0x40dc9b(_0x279820[_0x2c9f35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x279820[_0x2c9f35([0x6a,0x74,0x69])])),await _0x282c01()?_0x50b513()?_0x426410()?_0x2c9f35([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2870a2()?(_0x279820[_0x2c9f35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c9f35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5382e3=_0x198381(_0x2c9f35([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x279820[_0x2c9f35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2c9f35([0x74,0x72,0x69,0x61,0x6c])&&(_0x5382e3=_0x198381(_0x2c9f35([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35157d()):_0x2c9f35([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2c9f35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2c9f35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2c9f35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x426410(){const _0x4d96b1=[_0x2c9f35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2c9f35([0x74,0x72,0x69,0x61,0x6c])][_0x2c9f35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x279820[_0x2c9f35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f3367/0x3e8:0xe10*_0x1147c6;return _0x279820[_0x2c9f35([0x65,0x78,0x70])]<_0x4d96b1;}function _0x50b513(){const _0x4d3d06=_0x279820[_0x2c9f35([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d3d06&&(!!_0x4d3d06[_0x2c9f35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9f35([0x2a]))||!!_0x4d3d06[_0x2c9f35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9f35([0x46,0x4f,0x4f])));}function _0x2870a2(){const _0x4bf3a3=_0x279820[_0x2c9f35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bf3a3||0x0==_0x4bf3a3[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x169ae9}=new URL(window[_0x2c9f35([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bf3a3[_0x2c9f35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x169ae9))return!0x0;const _0x2ef932=_0x169ae9[_0x2c9f35([0x73,0x70,0x6c,0x69,0x74])](_0x2c9f35([0x2e]));return _0x4bf3a3[_0x2c9f35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52d1b7=>_0x52d1b7[_0x2c9f35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c9f35([0x2a])))[_0x2c9f35([0x6d,0x61,0x70])](_0x8e2f2f=>_0x8e2f2f[_0x2c9f35([0x73,0x70,0x6c,0x69,0x74])](_0x2c9f35([0x2e])))[_0x2c9f35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x314a8c=>_0x314a8c[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2ef932[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c9f35([0x6d,0x61,0x70])](_0x170731=>Array(_0x2ef932[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x170731[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2c9f35([0x66,0x69,0x6c,0x6c])](_0x170731[0x0]===_0x2c9f35([0x2a])?_0x2c9f35([0x2a]):'')[_0x2c9f35([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x170731))[_0x2c9f35([0x73,0x6f,0x6d,0x65])](_0x2bc40d=>_0x2ef932[_0x2c9f35([0x65,0x76,0x65,0x72,0x79])]((_0x5bff03,_0x168925)=>_0x2bc40d[_0x168925]===_0x5bff03||_0x2bc40d[_0x168925]===_0x2c9f35([0x2a])));}function _0x35157d(){return _0x5382e3&&_0x23ce29?new window[(_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2db561,_0x2ed6f2)=>{_0x5382e3[_0x2c9f35([0x74,0x68,0x65,0x6e])](_0x2db561,_0x2ed6f2),_0x23ce29[_0x2c9f35([0x74,0x68,0x65,0x6e])](_0x305cc5=>{_0x305cc5!=_0x2c9f35([0x56,0x61,0x6c,0x69,0x64])&&_0x2db561(_0x305cc5);},_0x2ed6f2);}):_0x5382e3||_0x23ce29||_0x2c9f35([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40dc9b(_0x39e939,_0xebeeb7){return new window[(_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38cf3d=>{if(_0x2926ac())return _0x38cf3d(_0x2c9f35([0x56,0x61,0x6c,0x69,0x64]));_0x26224a(),_0xd0f309[_0x2c9f35([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2c9f35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5a1e18=!0x1;const _0xa7afe0=_0xbe9a79();function _0x57e305(_0x41c547){return!!_0x41c547&&(typeof _0x41c547===_0x2c9f35([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41c547===_0x2c9f35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41c547[_0x2c9f35([0x74,0x68,0x65,0x6e])]===_0x2c9f35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41c547[_0x2c9f35([0x63,0x61,0x74,0x63,0x68])]===_0x2c9f35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cd57b(_0x51c30f){_0x38350a(_0x51c30f)[_0x2c9f35([0x74,0x68,0x65,0x6e])](_0x251f4e=>{if(!_0x251f4e||_0x251f4e[_0x2c9f35([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2c9f35([0x6f,0x6b]))return _0x2c9f35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x457f73(_0x2a0ac2(_0xa7afe0+_0xebeeb7))!=_0x251f4e[_0x2c9f35([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2c9f35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2c9f35([0x56,0x61,0x6c,0x69,0x64]);})[_0x2c9f35([0x74,0x68,0x65,0x6e])](_0x595289=>(_0x3f4f99(),_0x595289),()=>{const _0x624cbe=_0x38385c();return null==_0x624cbe?(_0x3f4f99(),_0x2c9f35([0x56,0x61,0x6c,0x69,0x64])):_0x2c9f35(_0x5f3367-_0x624cbe>(0x63ae0106^_0x3ee831)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2c9f35([0x74,0x68,0x65,0x6e])](_0x38cf3d)[_0x2c9f35([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38cf3d(_0x2c9f35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3cca9a=0x47946b86^_0x3ee831;function _0x3f4f99(){const _0xaa85d4=_0x2c9f35([0x6c,0x6c,0x63,0x74,0x2d])+_0x457f73(_0x2a0ac2(_0x39e939)),_0x595185=_0x3b54fc(_0x457f73(window[_0x2c9f35([0x4d,0x61,0x74,0x68])][_0x2c9f35([0x63,0x65,0x69,0x6c])](_0x5f3367/_0x3cca9a)));window[_0x2c9f35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c9f35([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xaa85d4,_0x595185);}function _0x38385c(){const _0x499d94=_0x2c9f35([0x6c,0x6c,0x63,0x74,0x2d])+_0x457f73(_0x2a0ac2(_0x39e939)),_0x24c777=window[_0x2c9f35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2c9f35([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x499d94);return _0x24c777?window[_0x2c9f35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b54fc(_0x24c777),0x10)*_0x3cca9a:null;}function _0x38350a(_0x1d235d){return new window[(_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x207ee9,_0x4b2cf6)=>{_0x1d235d[_0x2c9f35([0x74,0x68,0x65,0x6e])](_0x207ee9,_0x4b2cf6),window[_0x2c9f35([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b2cf6,0x47a351c6^_0x3ee831);});}}_0xd0f309[_0x2c9f35([0x6f,0x6e])](_0x2c9f35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b4a4d,_0xc45d7a)=>{if(_0xc45d7a[0x0]!=_0x39e939)return _0x38cf3d(_0x2c9f35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc45d7a[0x1]={..._0xc45d7a[0x1],[_0x2c9f35([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa7afe0};},{[_0x2c9f35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c9f35([0x68,0x69,0x67,0x68])}),_0xd0f309[_0x2c9f35([0x6f,0x6e])](_0x2c9f35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b93c3=>{_0x57e305(_0x5b93c3[_0x2c9f35([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5a1e18=!0x0,_0x2cd57b(_0x5b93c3[_0x2c9f35([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2c9f35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2c9f35([0x6c,0x6f,0x77])}),_0x30627a[_0x2c9f35([0x74,0x68,0x65,0x6e])](()=>{_0x5a1e18||_0x38cf3d(_0x2c9f35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2926ac(){return _0xd0f309[_0x2c9f35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c9f35([0x76,0x69,0x65,0x77])][_0x2c9f35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2c9f35([0x61,0x75,0x74,0x6f]);}function _0x26224a(){_0xd0f309[_0x2c9f35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2c9f35([0x76,0x69,0x65,0x77])][_0x2c9f35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2c9f35([0x61,0x75,0x74,0x6f]);}}function _0x198381(_0x49de7d){const _0x1f2769=[new window[(_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a50b6=>setTimeout(_0x5a50b6,0x47abbbca^_0x3ee831)),_0x30627a[_0x2c9f35([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46b12b=>{let _0x17fd63=0x0;_0xd0f309[_0x2c9f35([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9f35([0x6f,0x6e])](_0x2c9f35([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13170c,_0x4256aa)=>{_0x4256aa[0x0][_0x2c9f35([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17fd63++,_0x17fd63==(0x47a280ee^_0x3ee831)&&(_0x46b12b(),_0x13170c[_0x2c9f35([0x6f,0x66,0x66])]());});}))];return window[_0x2c9f35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2c9f35([0x72,0x61,0x63,0x65])](_0x1f2769)[_0x2c9f35([0x74,0x68,0x65,0x6e])](()=>_0x49de7d);}async function _0x4b29f1(){await _0x30627a,_0xd0f309[_0x2c9f35([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9f35([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd50e15,_0xd0f309[_0x2c9f35([0x6d,0x6f,0x64,0x65,0x6c])][_0x2c9f35([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd50e15,_0xd0f309[_0x2c9f35([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2c9f35([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32d96e(_0x3b8742){const _0x52038a=_0x44063a();_0xd0f309[_0x52038a]=_0x2c9f35([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b8742,_0x3b8742!=_0x2c9f35([0x56,0x61,0x6c,0x69,0x64])&&_0x4b29f1();}function _0x44063a(){const _0x26efff=window[_0x2c9f35([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2c9f35([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2c9f35([0x6e,0x6f,0x77])]())[_0x2c9f35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2c9f35([0x2e]),'');let _0x9e3701=_0x2c9f35([0x75]);for(let _0x549d2f=0x0;_0x549d2f<_0x26efff[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549d2f+=0x2){let _0x4c8fc0=window[_0x2c9f35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26efff[_0x2c9f35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x549d2f,_0x549d2f+0x2));_0x4c8fc0>=_0x17950a[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c8fc0-=_0x17950a[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x9e3701+=_0x17950a[_0x4c8fc0];}return _0x9e3701;}function _0x4d0b1c(){const _0x37abfd=_0x5bd5ef[_0x2c9f35([0x73,0x70,0x6c,0x69,0x74])](_0x2c9f35([0x2e]));if(0x3!=_0x37abfd[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e7e89(_0x37abfd[0x1]);function _0x1e7e89(_0x29714c){const _0x45d62a=_0x90085d(_0x29714c);return _0x45d62a&&_0x3901cc()?_0x45d62a:null;function _0x3901cc(){const _0x565929=_0x45d62a[_0x2c9f35([0x6a,0x74,0x69])],_0x4bea9c=window[_0x2c9f35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x565929[_0x2c9f35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x565929[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x400b9d={..._0x45d62a,[_0x2c9f35([0x6a,0x74,0x69])]:_0x565929[_0x2c9f35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x565929[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x400b9d[_0x2c9f35([0x76,0x63])],_0x2a0ac2(_0x400b9d)==_0x4bea9c;}}}async function _0x282c01(){let _0x24e8ac=!0x0;try{const _0xfed56a=_0x5bd5ef[_0x2c9f35([0x73,0x70,0x6c,0x69,0x74])](_0x2c9f35([0x2e])),[_0x192e5a,_0x4f977d,_0x40db60]=_0xfed56a;return _0x1d3330(_0x192e5a),await _0x3e4946(_0x192e5a,_0x4f977d,_0x40db60),_0x24e8ac;}catch{return!0x1;}function _0x1d3330(_0x5bbec8){const _0x55a272=_0x90085d(_0x5bbec8);_0x55a272&&_0x55a272[_0x2c9f35([0x61,0x6c,0x67])]==_0x2c9f35([0x45,0x53,0x32,0x35,0x36])||(_0x24e8ac=!0x1);}async function _0x3e4946(_0xeb2989,_0x1b3d74,_0x3a3566){const _0x2c19ab=window[_0x2c9f35([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2c9f35([0x66,0x72,0x6f,0x6d])](_0x5bc29e(_0x3a3566),_0xb00a2=>_0xb00a2[_0x2c9f35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x383ccd=new window[(_0x2c9f35([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2c9f35([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xeb2989+_0x2c9f35([0x2e])+_0x1b3d74),_0x1bb2b9=window[_0x2c9f35([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2c9f35([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bb2b9)return;const _0x493d72=await _0x1bb2b9[_0x2c9f35([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2c9f35([0x6a,0x77,0x6b]),_0x1c79ab,{[_0x2c9f35([0x6e,0x61,0x6d,0x65])]:_0x2c9f35([0x45,0x43,0x44,0x53,0x41]),[_0x2c9f35([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2c9f35([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2c9f35([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bb2b9[_0x2c9f35([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2c9f35([0x6e,0x61,0x6d,0x65])]:_0x2c9f35([0x45,0x43,0x44,0x53,0x41]),[_0x2c9f35([0x68,0x61,0x73,0x68])]:{[_0x2c9f35([0x6e,0x61,0x6d,0x65])]:_0x2c9f35([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x493d72,_0x2c19ab,_0x383ccd)||(_0x24e8ac=!0x1);}}function _0x90085d(_0xd9472b){return _0xd9472b[_0x2c9f35([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2c9f35([0x65,0x79]))?JSON[_0x2c9f35([0x70,0x61,0x72,0x73,0x65])](_0x5bc29e(_0xd9472b)):null;}function _0x5bc29e(_0x32de5c){return window[_0x2c9f35([0x61,0x74,0x6f,0x62])](_0x32de5c[_0x2c9f35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2c9f35([0x2b]))[_0x2c9f35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2c9f35([0x2f])));}function _0x2a0ac2(_0x5269b3){let _0x4a29c6=0x1505;function _0x11bf2e(_0x350cb5){for(let _0x2e63f6=0x0;_0x2e63f6<_0x350cb5[_0x2c9f35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e63f6++){const _0x252704=_0x350cb5[_0x2c9f35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e63f6);_0x4a29c6=(_0x4a29c6<<0x5)+_0x4a29c6+_0x252704,_0x4a29c6&=_0x4a29c6;}}function _0xf67b0(_0x40f546){Array[_0x2c9f35([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40f546)?_0x40f546[_0x2c9f35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf67b0):_0x40f546&&typeof _0x40f546==_0x2c9f35([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2c9f35([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40f546)[_0x2c9f35([0x73,0x6f,0x72,0x74])]()[_0x2c9f35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x31b7fa,_0x354a9d])=>{_0x11bf2e(_0x31b7fa),_0xf67b0(_0x354a9d);}):_0x11bf2e(window[_0x2c9f35([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40f546));}return _0xf67b0(_0x5269b3),_0x4a29c6>>>0x0;}function _0x457f73(_0x452e48){return _0x452e48[_0x2c9f35([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2c9f35([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2c9f35([0x30]));}function _0x3b54fc(_0x423a0a){return _0x423a0a[_0x2c9f35([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2c9f35([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2c9f35([0x6a,0x6f,0x69,0x6e])]('');}function _0xd50e15(){}function _0x2c9f35(_0xea9a7c){return _0xea9a7c['map'](_0x4bf6ac=>String['fromCharCode'](_0x4bf6ac))['join']('');}_0x32d96e(await _0x59cce5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x137c29){const {plugins:_0x5a6209,editing:_0x241e65,model:_0xd1560f}=this['editor'],_0xbe7961=_0x5a6209['get'](f)['getFootnote'](_0x137c29);return!!_0xbe7961&&(_0xd1560f['change'](_0x5cc5fc=>{_0x5cc5fc['setSelection'](_0x5cc5fc['createPositionAt'](_0xbe7961['definition'],'end'));}),_0x241e65['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x19f7c7){const {plugins:_0x54e674,editing:_0x2d781a,model:_0x1d3c0d}=this['editor'],_0x49a7bb=_0x54e674['get'](f)['getFootnote'](_0x19f7c7);return!!_0x49a7bb&&(_0x1d3c0d['change'](_0x58b214=>{_0x58b214['setSelection'](_0x49a7bb['reference'],'on');}),_0x2d781a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x410286}=this['editor']['model'],_0x4d3d39=this['editor']['config']['get']('footnotes.multiBlock');_0x410286['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x410286['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x410286['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d3d39?_0x410286['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x410286['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x410286['addChildCheck'](_0x3ca512=>{for(const _0x34b780 of _0x3ca512)if('footnoteDefinition'===_0x34b780['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x755e51}=this,{conversion:_0x37bd88,editing:_0xdaa544}=_0x755e51,{t:t}=_0x755e51['locale'];_0x37bd88['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2bc922,{writer:_0x12e2e1,consumable:_0x5ef522})=>{const _0x19f30c=_0x2bc922['getChild'](0x0);if(!_0x19f30c||!_0x19f30c['is']('element','a'))return null;const _0x24c5b2=_0x19f30c['getAttribute']('href')||'';if(!_0x24c5b2['startsWith']('#'))return null;const _0x114c7b=_0x24c5b2['replace'](/^#/,'');if(!_0x114c7b)return null;_0x5ef522['consume'](_0x19f30c,{'name':!0x0,'attributes':['href']});for(const {item:_0x4aa773}of _0xdaa544['view']['createRangeIn'](_0x19f30c))_0x4aa773['is']('$textProxy')?_0x5ef522['consume'](_0x4aa773['textNode'],{'name':!0x0}):_0x4aa773['is']('element')&&_0x5ef522['consume'](_0x4aa773,{'name':!0x0});return _0x12e2e1['createElement']('footnoteRef',{'footnoteId':_0x114c7b});}}),_0x37bd88['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x20858e,{writer:_0x1aa98a})=>b(_0x20858e,_0x1aa98a)}),_0x37bd88['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x28320a,{writer:_0x3aa6f4})=>{const _0x5aba0d=_0x28320a['getAttribute']('footnoteCounter');return _0x3df5a3(b(_0x28320a,_0x3aa6f4),_0x3aa6f4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5aba0d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4c8d96}=this,{t:t}=_0x4c8d96['locale'],{conversion:_0x35d0be}=_0x4c8d96;_0x35d0be['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x35d0be['for']('upcast')['add'](_0x1384e3=>{_0x1384e3['on']('element:ol',(_0x317820,_0x1f4ade,_0x532733)=>{const _0x66539a=_0x1f4ade['viewItem'];if(!_0x66539a['hasClass']('footnotes-list')||!_0x1f4ade['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x532733['consumable']['consume'](_0x66539a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5ee861,modelCursor:_0xe2a26e}=_0x532733['convertChildren'](_0x1f4ade['viewItem'],_0x1f4ade['modelCursor']);_0x1f4ade['modelRange']=_0x5ee861,_0x1f4ade['modelCursor']=_0xe2a26e;}),_0x1384e3['on']('element:hr',(_0x23bec9,_0x1ca153,_0x3e58c8)=>{const _0x1766f5=_0x1ca153['viewItem'];_0x1766f5['hasClass']('footnotes-divider')&&_0x1ca153['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e58c8['consumable']['consume'](_0x1766f5,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x35d0be['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5814c9,{writer:_0x12e84d})=>D(_0x12e84d)}),_0x35d0be['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x138d77,{writer:_0x3e1170})=>{const _0x2bde6f=D(_0x3e1170,{'data-footnotes-list-label':t('Footnotes')}),_0x34f3e9=_0x3df5a3(_0x2bde6f,_0x3e1170,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3e1170['setCustomProperty']('footnotesDefinitions',!0x0,_0x34f3e9),_0x34f3e9;}});}['_defineDefinitionConverters'](){const {editor:_0x3c71b8}=this,{conversion:_0x5618d0,locale:_0x36f424}=_0x3c71b8,_0x409716=_0x3c71b8['config']['get']('footnotes.multiBlock');_0x5618d0['for']('upcast')['add'](_0x29294e=>{_0x29294e['on']('element:li',(_0x41298c,_0x105ffb,_0x22f984)=>{const _0xe5ca0c=_0x105ffb['viewItem'];if(!_0xe5ca0c['hasClass']('footnote-definition')||!_0xe5ca0c['getAttribute']('id'))return;const _0x4b90c9=_0xe5ca0c['parent'];if(!_0x4b90c9['is']('element','ol')||!_0x4b90c9['hasClass']('footnotes-list'))return;if(!_0x22f984['consumable']['test'](_0xe5ca0c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x214d62=_0x22f984['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xe5ca0c['getAttribute']('id')});if(!_0x22f984['safeInsert'](_0x214d62,_0x105ffb['modelCursor']))return;_0x22f984['consumable']['consume'](_0xe5ca0c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52c0a8=Array['from'](_0xe5ca0c['getChildren']())['find'](_0x51b620=>_0x51b620['is']('element')&&_0x51b620['hasClass']('footnote-content'));for(const _0x25c162 of _0xe5ca0c['getChildren']())_0x25c162['is']('element')&&(_0x22f984['consumable']['consume'](_0x25c162,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x22f984['consumable']['consume'](_0x25c162,{'name':!0x0,'classes':'footnote-content'}));if(_0x52c0a8){if(_0x409716)_0x22f984['convertChildren'](_0x52c0a8,_0x214d62);else{const _0x2247e7=_0x22f984['writer']['createElement']('footnoteInlineContent');_0x22f984['writer']['insert'](_0x2247e7,_0x214d62),_0x22f984['convertChildren'](_0x52c0a8,_0x2247e7);}}_0x22f984['updateConversionResult'](_0x214d62,_0x105ffb);});}),_0x5618d0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1cfafc,{writer:_0x49371d})=>y(_0x1cfafc,_0x49371d,_0x36f424,{'dataPipeline':!0x0})}),_0x5618d0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1696ec,{writer:_0xb73c00})=>y(_0x1696ec,_0xb73c00,_0x36f424)});}['_defineBogusParagraphConverters'](){const {editor:_0x1f40b7}=this,{conversion:_0x324c4f}=_0x1f40b7;_0x1f40b7['config']['get']('footnotes.multiBlock')?(_0x324c4f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x324c4f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1f40b7['model']['document'],'change:data',()=>{!function(_0x3c1b1f,_0x10194c){const _0x9214ef=_0x3c1b1f['document']['differ'],_0x55b4a9=new Set();for(const _0x2b0392 of _0x9214ef['getChanges']()){const _0x3b56fc='attribute'==_0x2b0392['type']?_0x2b0392['range']['start']['parent']:_0x2b0392['position']['parent'];_0x3b56fc['is']('element','footnoteDefinition')&&_0x55b4a9['add'](_0x3b56fc);}for(const _0x3f0d17 of _0x55b4a9['values']()){const _0x422483=Array['from'](_0x3f0d17['getChildren']())['filter'](_0x4be618=>v(_0x4be618,_0x10194c['mapper']));for(const _0x3128aa of _0x422483)_0x10194c['reconvertItem'](_0x3128aa);}}(_0x1f40b7['model'],_0x1f40b7['editing']);})):(_0x324c4f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x324c4f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2be59e,{writer:_0x3f9fa6})=>{const _0x54d023=_0x3f9fa6['createContainerElement']('span');return _0x3f9fa6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x54d023),_0x54d023;}}));}['_defineKeyboardHandlers'](){const {editor:_0x388aa0}=this,{editing:_0x4a27a2,t:t}=_0x388aa0,_0x47f784=_0x388aa0['model']['document']['selection'];_0x388aa0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x388aa0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4a27a2['view']['document'],'enter',(_0x1036c5,_0x41146a)=>{const _0x1c3711=function(_0xe15234){const _0x55874e=_0xe15234['getSelectedElement']();if(_0x55874e?.['is']('element','footnoteRef'))return _0x55874e;return null;}(_0x47f784);if(_0x1c3711){const _0x3b7feb=_0x1c3711['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3b7feb),_0x41146a['preventDefault'](),_0x1036c5['stop']();}},{'context':_0x3a4250});}['_defineClickHandlers'](){const {editor:_0x3f436f}=this,{editing:_0x391243}=_0x3f436f;_0x3f436f['editing']['view']['addObserver'](_0x3d6e46),_0x3f436f['editing']['view']['addObserver'](_0x1ac324);let _0x8de2b=!0x1;this['listenTo'](_0x391243['view']['document'],'pointerdown',(_0x51c794,_0x8f2af9)=>{const {target:_0x3ccf95}=_0x8f2af9,_0x2b78e0=_0x391243['view']['document']['selection'];_0x8de2b=!!(_0x3ccf95?.['is']('element','a')&&_0x3ccf95['parent']?.['is']('element','sup')&&_0x3ccf95['parent']['hasClass']('footnote'))&&_0x2b78e0['getSelectedElement']()===_0x3ccf95['parent'];},{'priority':'high'}),this['listenTo'](_0x391243['view']['document'],'click',(_0x539b9d,_0x2fe288)=>{const {target:_0x276c4b}=_0x2fe288;if(!_0x276c4b?.['is']('element','a'))return;if(_0x276c4b['parent']?.['is']('element','sup')&&_0x276c4b['parent']['hasClass']('footnote')&&!_0x8de2b)return void _0x2fe288['preventDefault']();let _0x2f3c50=_0x276c4b['getAttribute']('href');if(!_0x2f3c50?.['startsWith']('#'))return;_0x2f3c50=_0x2f3c50['slice'](0x1);let _0x222234=!0x1;(_0x2f3c50['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2f3c50['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2f3c50))&&(_0x222234=!0x0),_0x222234&&(_0x2fe288['preventDefault'](),_0x539b9d['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4b1a9b}={}){return(_0xecdb09,{writer:_0x253ff7})=>{if(!g(_0xecdb09))return null;if(!_0x4b1a9b)return _0x253ff7['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x21a8b7=_0x253ff7['createContainerElement']('p');return _0x253ff7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x21a8b7),_0x21a8b7;};}function g(_0x43097d){const {parent:_0x270944}=_0x43097d;if(!_0x270944?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x270944['childCount'])return!0x1;for(const _0x2bc5dd of _0x43097d['getAttributeKeys']())if(!_0x2bc5dd['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2bc5dd)return!0x1;return!0x0;}function v(_0x3fb5a7,_0x5da6bb){if(!_0x3fb5a7['is']('element','paragraph'))return!0x1;const _0xed199=_0x5da6bb['toViewElement'](_0x3fb5a7);return!!_0xed199&&g(_0x3fb5a7)!==_0xed199['is']('element','span');}function Q(_0x4c1db8){return _0x3a4250(_0x4c1db8)&&_0x4c1db8['is']('containerElement')&&!!_0x4c1db8['getCustomProperty']('footnotesDefinitions');}function D(_0x33ab7d,_0x148035={}){const _0x4e68f0=_0x33ab7d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xbf0f1=_0x33ab7d['createContainerElement']('ol',{'class':'footnotes-list'},_0x33ab7d['createSlot']());return _0x33ab7d['createContainerElement']('div',{'class':'footnotes',..._0x148035},[_0x4e68f0,_0xbf0f1]);}function b(_0x49e4d0,_0x1e237a){const _0x21d629=_0x49e4d0['getAttribute']('footnoteId'),_0x1ca711=_0x49e4d0['getAttribute']('footnoteCounter'),_0x587038=_0x1e237a['createUIElement']('a',{'href':'#'+_0x21d629},function(_0x146872){const _0x12bf73=this['toDomElement'](_0x146872);return _0x12bf73['textContent']=_0x1ca711,_0x12bf73;}),_0x3ae91a=_0x1e237a['createContainerElement']('sup',{'id':'ref-'+_0x21d629,'class':'footnote'},[_0x587038]);return _0x3ae91a['getFillerOffset']=()=>null,_0x3ae91a;}function y(_0x328d4c,_0x56b100,_0x2abf28,{dataPipeline:_0x35a600}={}){const {t:t}=_0x2abf28,_0x2fef6d=_0x328d4c['getAttribute']('footnoteId'),_0x5368ba=_0x56b100['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2fef6d},function(_0x1d6271){const _0x538bce=this['toDomElement'](_0x1d6271);return _0x538bce['innerText']='^',_0x538bce;}),_0x3aca08=_0x35a600?_0x56b100['createContainerElement']('div',{'class':'footnote-content'}):_0x3698cf(_0x56b100['createEditableElement']('div',{'class':'footnote-content'}),_0x56b100,{'label':t('Footnote\x20content.')});return _0x56b100['insert'](_0x56b100['createPositionAt'](_0x3aca08,0x0),_0x56b100['createSlot']()),_0x56b100['createContainerElement']('li',{'class':'footnote-definition','id':_0x2fef6d},[_0x5368ba,_0x3aca08]);}class e extends _0x1710cd{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x221a8b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x36bef8}=this,{plugins:_0x3faa99,model:_0x165c25}=_0x36bef8,_0xf6c8d0=_0x3faa99['get'](_0x221a8b),_0x58c817=_0x3faa99['get'](f);this['listenTo'](_0xf6c8d0,'outputTransformation',(_0x3a24ef,_0x479e81)=>{const _0x50e66d=l(_0x165c25['createRangeIn'](_0x479e81['content']));if(!_0x50e66d['length'])return;const _0x49eab8=_0x58c817['getFootnotes'](),_0x59161b=_0x50e66d['reduce']((_0x3888e0,_0x2d8fad)=>{const _0x57aad3=_0x49eab8['find'](_0x2b8664=>_0x2b8664['id']===_0x2d8fad);if(_0x57aad3){const _0x2c567e=_0x36bef8['data']['toView'](_0x57aad3['definition'],{'isClipboardPipeline':!0x0}),_0x133987=_0x36bef8['data']['htmlProcessor']['toData'](_0x2c567e);_0x3888e0[_0x57aad3['id']]=_0x133987;}return _0x3888e0;},Object['create'](null));_0x479e81['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x59161b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x59569e}=this,{model:_0x10d4ec,plugins:_0x342ed3}=_0x59569e,{view:_0x169d21}=_0x59569e['editing'],_0x1d79ae=_0x342ed3['get'](_0x221a8b),_0x5dc75a=_0x342ed3['get'](f),_0x1d9821=_0x59569e['config']['get']('footnotes.multiBlock');let _0x499575=null;this['listenTo'](_0x169d21['document'],'clipboardInput',(_0x696216,_0x22082a)=>{const _0x2948b1=_0x22082a['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x499575=_0x2948b1?JSON['parse'](_0x2948b1):null;}),this['listenTo'](_0x1d79ae,'contentInsertion',(_0x2fed72,_0x161b41)=>{const _0x48e1a6=_0x161b41['sourceEditorId']===this['editor']['id'];_0x48e1a6&&'drop'===_0x161b41['method']||_0x10d4ec['change'](_0x548203=>{let _0x20c180=_0x5dc75a['getFootnotesDefinitionsObjectElement']();const _0x30934d=!!_0x20c180&&Array['from'](_0x10d4ec['document']['selection']['getSelectedBlocks']())['includes'](_0x20c180);if(!_0x499575&&function(_0x4d06aa){for(const {item:_0x188f68}of _0x4d06aa)if(_0x188f68['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x10d4ec['createRangeIn'](_0x161b41['content']))&&(_0x499575=function(_0x483c2d,_0xb4567c){const _0x416196=c(_0x483c2d,_0xb4567c);if(!_0x416196)return null;const _0x1c13a2=Object['create'](null);for(const _0x3591c1 of _0x416196['getChildren']())_0x3591c1['is']('element','footnoteDefinition')&&_0x3591c1['hasAttribute']('footnoteId')&&(_0x1c13a2[_0x3591c1['getAttribute']('footnoteId')]=_0x483c2d['cloneElement'](_0x3591c1,!0x0));return Object['keys'](_0x1c13a2)['length']?_0x1c13a2:null;}(_0x548203,_0x161b41['content'])),(_0x20c180&&!_0x30934d||!_0x20c180&&!_0x499575)&&function(_0x50ca54,_0x3fa73a){const _0x32ded8=[];for(const {item:_0x5ed223}of _0x50ca54['createRangeIn'](_0x3fa73a))_0x5ed223['is']('element','footnotesDefinitions')&&_0x32ded8['push'](_0x5ed223);for(const _0x2a8e70 of _0x32ded8)_0x50ca54['remove'](_0x2a8e70);}(_0x548203,_0x161b41['content']),!_0x499575)return;const {selection:_0x5e3aaf}=_0x10d4ec['document'],_0x2bd9a7=_0x5e3aaf['getFirstRange']()['root'];_0x20c180&&!_0x30934d||(_0x20c180=c(_0x548203,_0x161b41['content']),_0x20c180||=_0x5dc75a['_insertEmptyFootnotesDefinitionsContainer'](_0x548203,_0x2bd9a7));const _0xef0140=Array['from'](_0x5e3aaf['getRanges']())['flatMap'](l),_0x366513=function(_0x273113,_0x301b37,_0x3cacdb){const _0x126b45=Object['create'](null);for(const {item:_0xe17077}of _0x273113['createRangeIn'](_0x301b37))if(_0xe17077['is']('element','footnoteRef')){const _0x83ba86=_0xe17077['getAttribute']('footnoteId');if(!_0x3cacdb(_0x83ba86))continue;_0x126b45[_0x83ba86]||(_0x126b45[_0x83ba86]=_0xbe9a79()),_0x273113['setAttribute']('footnoteId',_0x126b45[_0x83ba86],_0xe17077);}return _0x126b45;}(_0x548203,_0x161b41['content'],_0xaff233=>{if(!_0x48e1a6)return!0x0;return!!_0x5dc75a['getFootnote'](_0xaff233)&&!_0xef0140['includes'](_0xaff233);});for(const [_0x13fd0a,_0x176186]of Object['entries'](_0x499575)){const _0x7b9c13=_0x366513[_0x13fd0a]||_0x13fd0a;let _0x4fcb46;if('string'!=typeof _0x176186)_0x4fcb46=_0x176186,_0x7b9c13!==_0x13fd0a&&_0x548203['setAttribute']('footnoteId',_0x7b9c13,_0x4fcb46);else{_0x4fcb46=_0x548203['createElement']('footnoteDefinition',{'footnoteId':_0x7b9c13});const _0x2f9635=_0x59569e['data']['htmlProcessor']['toView'](_0x176186);let _0xf0edeb;if(_0x1d9821)_0xf0edeb=_0x59569e['data']['toModel'](_0x2f9635,_0x4fcb46);else{_0xf0edeb=_0x548203['createElement']('footnoteInlineContent');const _0x511c00=_0x59569e['data']['toModel'](_0x2f9635,_0xf0edeb);_0x548203['insert'](_0x511c00,_0xf0edeb);}_0x548203['append'](_0xf0edeb,_0x4fcb46);}_0x548203['insert'](_0x4fcb46,_0x20c180,'end');}_0x499575=null;});});}}function c(_0x41470c,_0x51f54d){for(const {item:_0x10421c}of _0x41470c['createRangeIn'](_0x51f54d))if(_0x10421c['is']('element','footnotesDefinitions'))return _0x10421c;return null;}function l(_0x14ff38){const _0x22c101=new Set();for(const {item:_0x5a5246}of _0x14ff38)_0x5a5246['is']('element','footnoteRef')&&_0x22c101['add'](_0x5a5246['getAttribute']('footnoteId'));return Array['from'](_0x22c101);}class i extends _0x1710cd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3815c8}=this,{componentFactory:_0x86914}=_0x3815c8['ui'];_0x86914['add']('insertFootnote',E(_0x3815c8,_0x350ac0)),_0x86914['add']('menuBar:insertFootnote',E(_0x3815c8,_0x5db380)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x432cd8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x243630;for(const _0x3bc2d6 in _0x432cd8){const _0x3e1192=_0x3bc2d6,_0x458ad1=_0x432cd8[_0x3e1192];if('footnotesLicenseKeyValid'==_0x458ad1||'footnotesLicenseKeyInvalid'==_0x458ad1||'footnotesLicenseKeyExpired'==_0x458ad1||'footnotesLicenseKeyDomainLimit'==_0x458ad1||'footnotesLicenseKeyNotAllowed'==_0x458ad1||'footnotesLicenseKeyEvaluationLimit'==_0x458ad1||'footnotesLicenseKeyTrialLimit'==_0x458ad1||'footnotesLicenseKeyUsageLimit'==_0x458ad1){delete _0x432cd8[_0x3e1192],_0x243630=_0x458ad1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x243630&&_0x432cd8['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x243630&&_0x432cd8['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x243630&&_0x432cd8['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x243630&&_0x432cd8['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x243630&&_0x432cd8['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x243630&&_0x432cd8['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x243630&&_0x432cd8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x430a36,_0x13dde5){const _0x5c0af5=_0x430a36['commands']['get']('insertFootnote');return _0x920b17=>{const {t:t}=_0x920b17,_0x3a3bd3=new _0x13dde5(_0x920b17),_0x4d63e9=_0x3a3bd3 instanceof _0x5db380;return _0x3a3bd3['bind']('isEnabled')['to'](_0x5c0af5,'isEnabled'),_0x3a3bd3['set']({'label':t(_0x4d63e9?'Footnote':'Insert\x20footnote'),'icon':_0x1d63ee,'tooltip':!0x0}),_0x3a3bd3['on']('execute',()=>{_0x5c0af5['execute'](),_0x430a36['editing']['view']['focus']();}),_0x3a3bd3;};}class lt extends _0x1710cd{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 _0x41eb48{['refresh'](){const {editor:_0x43c205}=this,_0x4b1de1=_0x43c205['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4b1de1,this['value']=_0x4b1de1?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1e9bc5}){const {editor:_0x107826}=this,_0x458f48=_0x107826['plugins']['get'](f),_0x14e829=_0x458f48['getFootnotesDefinitionsObjectElement']();_0x14e829&&ct['includes'](_0x1e9bc5)&&_0x107826['model']['change'](_0x32faa7=>{_0x32faa7['setAttribute']('footnotesListStyle',_0x1e9bc5,_0x14e829),_0x458f48['_updateFootnotesCounters'](_0x32faa7);});}}class C extends _0x41eb48{['refresh'](){const {editor:_0x34e94e}=this,_0x531ec5=_0x34e94e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x531ec5,this['value']=_0x531ec5?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x38fefa}){const {editor:_0x1af5e8}=this,_0x55261a=_0x1af5e8['plugins']['get'](f),_0x5ccca6=_0x55261a['getFootnotesDefinitionsObjectElement']();_0x5ccca6&&Number['isInteger'](_0x38fefa)&&_0x1af5e8['model']['change'](_0x18a706=>{_0x18a706['setAttribute']('footnotesListStart',_0x38fefa,_0x5ccca6),_0x55261a['_updateFootnotesCounters'](_0x18a706);});}}class P extends _0x1710cd{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ed739}=this;_0x4ed739['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4ed739['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4ed739['commands']['add']('footnotesStyle',new S(_0x4ed739)),_0x4ed739['commands']['add']('footnotesStart',new C(_0x4ed739)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1cce16}=this,{schema:_0x1df04c}=_0x1cce16['model'];_0x1df04c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1b0788}=this,{conversion:_0x4c3c85,model:_0x447891}=_0x1b0788,{schema:_0x128a46}=_0x447891;_0x4c3c85['for']('upcast')['add'](_0x433740=>{_0x433740['on']('element:ol',(_0x531099,_0x5ee317,_0xb68a3a)=>{const _0x1ea698=_0x5ee317['viewItem'],_0x41c699=_0x5ee317['modelCursor']?.['parent'];_0x1ea698['hasClass']('footnotes-list')&&_0x41c699?.['is']('element','footnotesDefinitions')&&(function(_0x49a0d7,_0x15a5d8,_0x49bdfe,_0x59f240){if(!_0x59f240['checkAttribute'](_0x15a5d8,'footnotesListStart'))return;let _0x125e39=0x1;const _0x5ca455=_0x49bdfe['consumable']['consume'](_0x49a0d7,{'attributes':'start'});if(_0x5ca455){const _0x182f3d=Number['parseInt'](_0x49a0d7['getAttribute']('start'),0xa);Number['isNaN'](_0x182f3d)||(_0x125e39=_0x182f3d);}!_0x5ca455&&_0x15a5d8['hasAttribute']('footnotesListStart')||_0x49bdfe['writer']['setAttribute']('footnotesListStart',_0x125e39,_0x15a5d8);}(_0x1ea698,_0x41c699,_0xb68a3a,_0x128a46),function(_0x34700d,_0xdcbc19,_0x532840,_0x1e28b6){if(!_0x1e28b6['checkAttribute'](_0xdcbc19,'footnotesListStyle'))return;let _0x513923='decimal',_0xeae5da=!0x1;if(_0x532840['consumable']['consume'](_0x34700d,{'attributes':'type'})){const _0x522509={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x34700d['getAttribute']('type')];_0x522509&&(_0x513923=_0x522509),_0xeae5da=!0x0;}_0x532840['consumable']['consume'](_0x34700d,{'styles':'list-style-type'})&&(_0x513923=function(_0x451f49){switch(_0x451f49){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x451f49;}}(_0x34700d['getStyle']('list-style-type')),_0xeae5da=!0x0),!_0xeae5da&&_0xdcbc19['hasAttribute']('footnotesListStyle')||_0x532840['writer']['setAttribute']('footnotesListStyle',_0x513923,_0xdcbc19);}(_0x1ea698,_0x41c699,_0xb68a3a,_0x128a46));});}),_0x4c3c85['for']('downcast')['add'](_0x30c950=>{_0x30c950['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x265311,_0x21b3ce,_0x343557)=>{if(!_0x343557['consumable']['consume'](_0x21b3ce['item'],_0x265311['name']))return;const _0x39c419=M(_0x21b3ce['item'],_0x343557['mapper']),{attributeNewValue:_0x3663b5}=_0x21b3ce;null==_0x3663b5||0x1===_0x3663b5?_0x343557['writer']['removeAttribute']('start',_0x39c419):_0x343557['writer']['setAttribute']('start',String(_0x3663b5),_0x39c419);}),_0x30c950['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x8150f3,_0x4fc65a,_0xc7ec04)=>{if(!_0xc7ec04['consumable']['consume'](_0x4fc65a['item'],_0x8150f3['name']))return;const _0x51c398=M(_0x4fc65a['item'],_0xc7ec04['mapper']),{attributeNewValue:_0x27100f}=_0x4fc65a;_0x27100f&&'decimal'!==_0x27100f?_0xc7ec04['writer']['setStyle']('list-style-type',_0x27100f,_0x51c398):_0xc7ec04['writer']['removeStyle']('list-style-type',_0x51c398);});});}['_definePostfixer'](){const {editor:_0x462b90}=this,{model:_0x349fba}=_0x462b90,_0x2cda0c=_0x462b90['plugins']['get'](f),_0x3a70cb=this['_getDefaultListStyle'](),_0x10213c=this['_getDefaultStartIndex']();_0x349fba['document']['registerPostFixer'](_0xa39e7e=>{const _0xdb119d=_0x349fba['document']['differ']['getChanges']();let _0x3e9feb=!0x1;for(const _0x13b5c8 of _0xdb119d){if('insert'!==_0x13b5c8['type']||'$text'===_0x13b5c8['name'])continue;const _0x8a0eb9=_0x349fba['createRangeOn'](_0x13b5c8['position']['nodeAfter']);for(const _0x111434 of _0x8a0eb9['getItems']())_0x111434['is']('element','footnotesDefinitions')&&(!_0x111434['hasAttribute']('footnotesListStart')&&_0x349fba['schema']['checkAttribute'](_0x111434,'footnotesListStart')&&(_0xa39e7e['setAttribute']('footnotesListStart',_0x10213c,_0x111434),_0x3e9feb=!0x0),!_0x111434['hasAttribute']('footnotesListStyle')&&_0x349fba['schema']['checkAttribute'](_0x111434,'footnotesListStyle')&&(_0xa39e7e['setAttribute']('footnotesListStyle',_0x3a70cb,_0x111434),_0x3e9feb=!0x0));}return _0x3e9feb&&_0x2cda0c['_updateFootnotesCounters'](_0xa39e7e),_0x3e9feb;});}['_defineFormatter'](){const {editor:_0x1f4020}=this;_0x1f4020['plugins']['get'](f)['setFootnoteFormatter'](_0x1af2fe=>this['_formatFootnoteListValue'](_0x1af2fe));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4e9642,value:_0x17af91,digits:_0x39d320}){const _0xe8f3ab=_0x4e9642['getAttribute']('footnotesListStyle'),_0x56ec4b=_0x4e9642['getAttribute']('footnotesListStart'),_0x31138f=Math['floor'](_0x17af91)+(_0x56ec4b??0x1)-0x1;switch(_0xe8f3ab){case'decimal-leading-zero':return function(_0x4b962f,_0x361a72){return String(_0x4b962f)['padStart'](_0x361a72,'0');}(_0x31138f,Math['max'](0x2,_0x39d320));case'lower-alpha':case'lower-latin':return N(_0x31138f,!0x1);case'upper-alpha':case'upper-latin':return N(_0x31138f,!0x0);case'lower-roman':return X(_0x31138f,!0x1);case'upper-roman':return X(_0x31138f,!0x0);default:return String(_0x31138f);}}}function M(_0x4497e7,_0x164464){const _0xb23f0f=_0x164464['toViewElement'](_0x4497e7);return Array['from'](_0xb23f0f['getChildren']())['find'](_0x227c36=>_0x227c36['is']('element','ol')&&_0x227c36['hasClass']('footnotes-list'));}function N(_0x5f1b89,_0x358138){let _0x3c87c9='',_0x231585=_0x5f1b89;for(;_0x231585>0x0;){const _0x1b4386=(_0x231585-0x1)%0x1a;_0x3c87c9=String['fromCharCode'](0x61+_0x1b4386)+_0x3c87c9,_0x231585=Math['floor']((_0x231585-0x1)/0x1a);}return _0x358138?_0x3c87c9['toUpperCase']():_0x3c87c9;}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(_0x2bfe93,_0x3515a1){let _0x4177b2='',_0x16cd87=_0x2bfe93;for(const {value:_0x6a9a93,numeral:_0x34b9e0}of V)for(;_0x16cd87>=_0x6a9a93;)_0x4177b2+=_0x34b9e0,_0x16cd87-=_0x6a9a93;return _0x3515a1?_0x4177b2:_0x4177b2['toLowerCase']();}class J extends _0x1dd507{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x352e5d();['focusCycler'];constructor(_0xc17245,{styleButtonViews:_0xbe6099,styleGridAriaLabel:_0x12dfea}){super(_0xc17245),(this['focusCycler']=new _0x95ad87({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xbe6099,_0x12dfea),[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 _0x521da3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x521da3['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 _0x1d7c76=_0x34bf95=>_0x34bf95['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1d7c76),this['keystrokes']['set']('arrowleft',_0x1d7c76),this['keystrokes']['set']('arrowup',_0x1d7c76),this['keystrokes']['set']('arrowdown',_0x1d7c76);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5b5cdd,_0x3f5930){const _0x15a33d=new _0x1dd507(this['locale']);return _0x15a33d['children']=_0x15a33d['createCollection'](),_0x15a33d['children']['addMany'](_0x5b5cdd),_0x15a33d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3f5930,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x15a33d['children']}),_0x15a33d['children']['delegate']('execute')['to'](this),_0x15a33d['focus']=function(){for(const _0xd8c2a of this['children'])if(_0xd8c2a instanceof _0x350ac0&&_0xd8c2a['isOn'])return void _0xd8c2a['focus']();this['children']['first']['focus']();},_0x15a33d['focusTracker']=new ot(),_0x15a33d['keystrokes']=new rt(),_0x15a33d['render'](),_0x15a33d['keystrokes']['listenTo'](_0x15a33d['element']),this['children']['add'](_0x15a33d),_0x15a33d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x31c431=this['_createStartIndexPropertyView'](),_0x53fbd0=[_0x31c431],_0x56825e=new st(this['locale'],_0x53fbd0);return _0x56825e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x56825e['buttonView']['bind']('isEnabled')['toMany'](_0x53fbd0,'isEnabled',(..._0x265d11)=>_0x265d11['some'](_0x2f6a21=>_0x2f6a21)),_0x56825e['buttonView']['on']('change:isEnabled',(_0x11f790,_0x4ba331,_0x5588a6)=>{_0x5588a6||(_0x56825e['isCollapsed']=!0x0);}),this['children']['add'](_0x56825e),[_0x31c431,_0x56825e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x53cf8d=new it(this['locale'],et);return _0x53cf8d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x53cf8d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x53cf8d['fieldView']['on']('input',()=>{const _0x270750=_0x53cf8d['fieldView']['element'],_0x5886ae=_0x270750['valueAsNumber'];Number['isNaN'](_0x5886ae)?_0x53cf8d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x270750['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5886ae}):_0x53cf8d['errorText']=t(_0x5886ae<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x53cf8d;}}class j extends _0x1710cd{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d686c,_0x3beff2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e67a8}=this,{componentFactory:_0x16e3cd}=_0x4e67a8['ui'];_0x4e67a8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x16e3cd['add']('footnotesStyle',function(_0x62e84e){return _0x1f9ba6=>{const {t:t}=_0x1f9ba6,_0x5b4e10=_0x62e84e['commands']['get']('footnotesStyle'),_0x3702e6=_0x2ede11(_0x1f9ba6),{buttonView:_0x26cdcb}=_0x3702e6;return _0x3702e6['class']='ck-footnotes-styles-dropdown',_0x3702e6['bind']('isEnabled')['to'](_0x5b4e10,'isEnabled'),_0x26cdcb['set']({'label':t('Footnotes\x20style'),'icon':_0x1d63ee,'tooltip':!0x0}),_0x3702e6['once']('change:isOpen',()=>{const _0x34e527=function({editor:_0x1d7693,dropdownView:_0x444b3f}){const {t:t}=_0x1d7693['locale'],_0x24de99=t('Footnotes\x20definitions\x20styles'),_0x4a568f=function(_0x4e8769){const t=_0x4e8769['locale']['t'],_0x38aae9=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1f671c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x49efc3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4f8c01},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x8c4f37},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2fb348},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5a7aff}];return _0x38aae9['map'](function(_0x47f9c0){const _0x17521=_0x47f9c0['locale'];return({label:_0x295156,icon:_0x1df331,tooltip:_0x389f57,style:_0x308e75})=>{const _0x40d879=_0x47f9c0['commands']['get']('footnotesStyle'),_0x553b96=new _0x350ac0(_0x17521);return _0x553b96['set']({'label':_0x295156,'icon':_0x1df331,'tooltip':_0x389f57}),_0x553b96['bind']('isOn')['to'](_0x40d879,'value',_0x5c58fb=>_0x5c58fb===_0x308e75),_0x553b96['bind']('isEnabled')['to'](_0x40d879,'isEnabled'),_0x553b96['on']('execute',()=>{_0x47f9c0['execute']('footnotesStyle',{'value':_0x308e75}),_0x47f9c0['editing']['view']['focus']();}),_0x553b96;};}(_0x4e8769));}(_0x1d7693),_0x318e51=new J(_0x1d7693['locale'],{'styleGridAriaLabel':_0x24de99,'styleButtonViews':_0x4a568f}),_0x5d3742=_0x1d7693['commands']['get']('footnotesStart');return _0x318e51['startIndexFieldView']['bind']('isEnabled')['to'](_0x5d3742),_0x318e51['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5d3742),_0x318e51['on']('footnotesListStart',(_0x46428a,_0x493235)=>{_0x1d7693['execute']('footnotesStart',{'value':_0x493235['startIndex']});}),_0x318e51['delegate']('execute')['to'](_0x444b3f),_0x318e51;}({'editor':_0x62e84e,'dropdownView':_0x3702e6});_0x3702e6['panelView']['children']['add'](_0x34e527);}),_0x3702e6;};}(_0x4e67a8));}['afterInit'](){const {editor:_0x55cb36}=this,{t:t}=_0x55cb36['locale'],_0x4804e8=_0x55cb36['plugins']['get'](_0x3beff2),{defaultPositions:_0x84eeb}=_0xdd54a5;_0x4804e8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x55cb36['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4831f2=>{let _0x397926=_0x4831f2['getFirstPosition']()?.['parent'];return _0x397926?.['is']('$text')&&(_0x397926=_0x397926['parent']),_0x397926?.['is']('element')?_0x397926['findAncestor'](Q):null;},'positions':[_0x84eeb['southArrowNorth'],_0x84eeb['southArrowNorthMiddleWest'],_0x84eeb['southArrowNorthMiddleEast'],_0x84eeb['southArrowNorthWest'],_0x84eeb['southArrowNorthEast'],_0x84eeb['northArrowSouth'],_0x84eeb['northArrowSouthMiddleWest'],_0x84eeb['northArrowSouthMiddleEast'],_0x84eeb['northArrowSouthWest'],_0x84eeb['northArrowSouthEast'],_0x84eeb['viewportStickyNorth']]});}}class ft extends _0x1710cd{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 _0x29e4b9,Command as _0x105de7}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x85a6ac,isWidget as _0x1d1793,toWidgetEditable as _0x531eee,WidgetToolbarRepository as _0x3af8ff}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x298719,logWarning as _0x5da817,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x15843f,ClickObserver as _0x2aba41}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x334eaf}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3b0c15,ButtonView as _0x33ea5c,View as _0x3bdf1a,ViewCollection as _0x1d6abf,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x272901,BalloonPanelView as _0x522a04,createDropdown as _0x3945d5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x11833d,IconListStyleDecimal as _0x1a91c9,IconListStyleDecimalLeadingZero as _0x442f15,IconListStyleLowerRoman as _0x5a7583,IconListStyleUpperRoman as _0x770039,IconListStyleLowerLatin as _0x424893,IconListStyleUpperLatin as _0x17a52b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x23c304,_0x33b8f1){this['_model']=_0x23c304,this['_elementName']=_0x33b8f1['elementName'],this['_getElementKey']=_0x33b8f1['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x507250){const _0x2f5cd1=new Set(),_0x492b59=new Map();for(const _0x587339 of _0x507250){if('insert'===_0x587339['type']&&'$text'!==_0x587339['name']&&_0x587339['position']['nodeAfter']){const _0x5dc03f=this['_model']['createRangeOn'](_0x587339['position']['nodeAfter']);for(const _0x31dda1 of _0x5dc03f['getItems']()){if(!_0x31dda1['is']('element',this['_elementName']))continue;const _0x4ca8f8=this['_getElementKey'](_0x31dda1);_0x492b59['has'](_0x4ca8f8)||_0x492b59['set'](_0x4ca8f8,[]),_0x492b59['get'](_0x4ca8f8)['push'](_0x31dda1);}}if('remove'===_0x587339['type']&&_0x587339['name']===this['_elementName']){const _0x1def60=this['_getElementKey']({'getAttribute':_0x2c2aef=>_0x587339['attributes']['get'](_0x2c2aef)});_0x2f5cd1['add'](_0x1def60);}}for(const [_0xf51d80,_0x183fdf]of this['_trackedElements'])'$graveyard'===_0x183fdf['root']['rootName']&&_0x2f5cd1['add'](_0xf51d80);for(const _0x1b0b72 of _0x2f5cd1)this['_trackedElements']['delete'](_0x1b0b72);for(const [_0x4ff36d,_0x1eafba]of _0x492b59)this['_trackedElements']['set'](_0x4ff36d,_0x1eafba[_0x1eafba['length']-0x1]);const _0x422104=new Set();for(const [_0x4a8abc,_0x20ab62]of _0x492b59)_0x2f5cd1['has'](_0x4a8abc)&&(_0x422104['add'](_0x20ab62[0x0]),_0x20ab62['length']>0x1?_0x492b59['set'](_0x4a8abc,_0x20ab62['slice'](0x1)):_0x492b59['delete'](_0x4a8abc),_0x2f5cd1['delete'](_0x4a8abc));return{'removed':Array['from'](_0x2f5cd1),'inserted':Array['from'](_0x492b59['values']())['flat'](),'moved':Array['from'](_0x422104)};}}class f extends _0x29e4b9{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x9866bc){super(_0x9866bc),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2ccebb=>_0x2ccebb['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4175e4=>_0x4175e4['getAttribute']('footnoteId')});}['init'](){const {editor:_0x517f55}=this,{model:_0x25f5e4,data:_0x50faa4}=_0x517f55;_0x25f5e4['document']['registerPostFixer'](_0x40858f=>{const _0x5a1828=_0x25f5e4['document']['differ']['getChanges']();let _0xcc1c2d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x40858f,_0x5a1828)&&(_0xcc1c2d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x40858f,_0x5a1828)&&(_0xcc1c2d=!0x0),this['_handleFootnoteReferencesChanges'](_0x40858f,_0x5a1828)&&(_0xcc1c2d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x40858f)&&(_0xcc1c2d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x40858f)&&(_0xcc1c2d=!0x0),this['_sortFootnoteDefinitions'](_0x40858f)&&(_0xcc1c2d=!0x0),_0xcc1c2d;}),this['listenTo'](_0x25f5e4['document'],'change:data',()=>{_0x25f5e4['enqueueChange']({'isUndoable':!0x1},_0x4fdfa1=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4fdfa1);});},{'priority':'low'}),this['listenTo'](_0x50faa4,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3415fb){return this['_footnotes']['find'](_0x34737a=>_0x34737a['id']===_0x3415fb)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3c317a){this['_footnoteFormatter']=_0x3c317a;}['_updateFootnotesCounters'](_0x48eb29,_0x174941=0x0){let _0x3bf1ca=!0x1;for(let _0x16e6c8=_0x174941;_0x16e6c8<this['_footnotes']['length'];_0x16e6c8++)this['_updateFootnoteRefCounter'](_0x48eb29,_0x16e6c8)&&(_0x3bf1ca=!0x0);return _0x3bf1ca;}['_insertEmptyFootnotesDefinitionsContainer'](_0xbf0fe,_0x1e9097){const _0x18a144=_0xbf0fe['createElement']('footnotesDefinitions',{});return _0xbf0fe['append'](_0x18a144,_0x1e9097),this['_footnotesDefinitions']=_0x18a144,_0x18a144;}['_ensureFootnotesDefinitionsContainerExists'](_0x37f783){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x30a713=this['_footnotes'][0x0]['reference']['root'],_0x4e943a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x37f783,_0x30a713);for(const _0x2dce3a of this['_footnotes'])_0x2dce3a['definition']['parent']||_0x37f783['insert'](_0x2dce3a['definition'],_0x4e943a,'end');this['_updateFootnotesCounters'](_0x37f783);}['_handleFootnotesDefinitionsObjectChanges'](_0x930e21,_0x1889e9){let _0x4d2078=!0x1;const {inserted:_0x56cafc,removed:_0xc29757,moved:_0x59cae1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1889e9);if(_0x59cae1['length']&&(this['_footnotesDefinitions']=_0x59cae1[0x0]),_0x56cafc['length']){if(_0x56cafc['length']>0x1||this['_footnotesDefinitions']&&_0x56cafc['some'](_0x45049d=>_0x45049d!==this['_footnotesDefinitions'])){const _0x19ab5e=_0x930e21['createElement']('footnotesDefinitions',{}),_0x8dce1f=[];this['_footnotesDefinitions']&&_0x8dce1f['push'](this['_footnotesDefinitions']),_0x8dce1f['push'](..._0x56cafc),_0x930e21['insert'](_0x19ab5e,_0x8dce1f[0x0],'before');for(const _0x4de902 of _0x8dce1f)_0x930e21['move'](_0x930e21['createRangeIn'](_0x4de902),_0x930e21['createPositionAt'](_0x19ab5e,'end')),_0x930e21['remove'](_0x4de902);this['_footnotesDefinitions']=_0x19ab5e,this['_updateFootnotesCounters'](_0x930e21),_0x4d2078=!0x0;}else this['_footnotesDefinitions']=_0x56cafc[0x0];}if(_0xc29757['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1fbc43 of this['_footnotes'])_0x930e21['remove'](_0x1fbc43['reference']),_0x4d2078=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4d2078;}['_handleFootnoteDefinitionsChanges'](_0x1b9896,_0x18025b){let _0x552ef4=!0x1;const _0x4b8d82=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x10314d,moved:_0x31fc3d}=this['_footnoteDefsTracker']['getChanges'](_0x18025b);for(const _0x2189f8 of[..._0x31fc3d,..._0x10314d]){const _0x2a10cf=_0x2189f8['getAttribute']('footnoteId'),_0x5001b2=this['getFootnote'](_0x2a10cf);_0x5001b2&&(_0x5001b2['definition']=_0x2189f8),_(_0x1b9896,_0x4b8d82,_0x2189f8)&&(_0x552ef4=!0x0);}return _0x552ef4;}['_handleFootnoteReferencesChanges'](_0x5b2fc5,_0xedb87b){let _0x19fecb=!0x1;const {removed:_0x302604,inserted:_0x1b1fc4,moved:_0x1f733f}=this['_footnoteRefsTracker']['getChanges'](_0xedb87b);for(const _0x506cdb of _0x302604)this['_handleRemoveFootnoteReferenceById'](_0x5b2fc5,_0x506cdb)&&(_0x19fecb=!0x0);for(const _0x4a0197 of _0x1b1fc4)this['_handleInsertedFootnoteReference'](_0x5b2fc5,_0x4a0197)&&(_0x19fecb=!0x0);for(const _0x50c920 of _0x1f733f)this['_handleMovedFootnoteReference'](_0x5b2fc5,_0x50c920)&&(_0x19fecb=!0x0);return _0x19fecb;}['_handleFootnotesDefinitionsObjectSync'](_0x5a038d){if(!this['_footnotesDefinitions'])return!0x1;let _0x1f0fc1=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4f6949=[];for(const _0xe6973d of this['_footnotesDefinitions']['getChildren']()){const _0x11e3e2=_0xe6973d['getAttribute']('footnoteId');this['getFootnote'](_0x11e3e2)||(_0x4f6949['unshift'](_0xe6973d),_0x1f0fc1=!0x0);}for(const _0x56c2e2 of _0x4f6949)_0x5a038d['remove'](_0x56c2e2);}const _0x507fe0=new Set(),_0x3f02a0=[];for(const _0x3aff90 of this['_footnotesDefinitions']['getChildren']()){const _0x4ac1c5=_0x3aff90['getAttribute']('footnoteId');_0x507fe0['has'](_0x4ac1c5)?(_0x3f02a0['unshift'](_0x3aff90),_0x1f0fc1=!0x0):_0x507fe0['add'](_0x4ac1c5);}for(const _0x134c16 of _0x3f02a0)_0x5a038d['remove'](_0x134c16);return this['_footnotesDefinitions']['childCount']||(_0x5a038d['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1f0fc1=!0x0),_0x1f0fc1;}['_handleInsertedFootnoteReference'](_0x31cacd,_0x16e7bb){if(this['_footnotes']['find'](_0x3dbfef=>_0x3dbfef['reference']===_0x16e7bb))return!0x1;let _0x473f61=!0x1;const _0x54126f=_0x16e7bb['getAttribute']('footnoteId'),_0x20358e=this['_footnotes']['findIndex'](_0x43236a=>_0x43236a['id']===_0x54126f);-0x1!==_0x20358e&&(_0x31cacd['remove'](this['_footnotes'][_0x20358e]['reference']),this['_footnotes']['splice'](_0x20358e,0x1),_0x473f61=!0x0);let _0x419abc=this['_footnotesDefinitions']?function(_0x58fda0,_0x1e6916){for(const _0x2f0b60 of _0x58fda0['getChildren']())if(_0x2f0b60['getAttribute']('footnoteId')===_0x1e6916)return _0x2f0b60;return null;}(this['_footnotesDefinitions'],_0x54126f):null;_0x419abc||(_0x419abc=_0x31cacd['createElement']('footnoteDefinition',{'footnoteId':_0x54126f}),this['_footnotesDefinitions']&&(_0x31cacd['insert'](_0x419abc,this['_footnotesDefinitions'],'end'),_0x473f61=!0x0));const _0x2d6ee0={'id':_0x54126f,'reference':_0x16e7bb,'definition':_0x419abc},_0x433534=I(this['editor']['model'],this['_footnotes'],_0x16e7bb);this['_footnotes']['splice'](_0x433534,0x0,_0x2d6ee0);let _0x13c189=_0x433534;return-0x1!==_0x20358e&&(_0x13c189=Math['min'](_0x433534,_0x20358e)),this['_updateFootnotesCounters'](_0x31cacd,_0x13c189)&&(_0x473f61=!0x0),_0x473f61;}['_handleRemoveFootnoteReferenceById'](_0x35528a,_0x24339f){const _0x5d16f0=this['_footnotes']['findIndex'](_0x316bdf=>_0x316bdf['id']===_0x24339f);if(-0x1===_0x5d16f0)return!0x1;let _0x5be2d9=!0x1;const _0x36154a=this['_footnotes'][_0x5d16f0];return'$graveyard'!==_0x36154a['definition']['root']['rootName']&&(_0x35528a['remove'](_0x36154a['definition']),_0x5be2d9=!0x0),this['_footnotes']['splice'](_0x5d16f0,0x1),this['_updateFootnotesCounters'](_0x35528a,_0x5d16f0)&&(_0x5be2d9=!0x0),_0x5be2d9;}['_handleMovedFootnoteReference'](_0x535b8a,_0x1d028a){const _0x524c64=_0x1d028a['getAttribute']('footnoteId'),_0x3270dd=this['_footnotes']['findIndex'](_0x5b4390=>_0x5b4390['id']===_0x524c64),_0x176a37=this['_footnotes'][_0x3270dd];let _0x10ccc7=!0x1;_0x176a37['reference']=_0x1d028a,this['_footnotes']['splice'](_0x3270dd,0x1);const _0x5bf3ab=I(this['editor']['model'],this['_footnotes'],_0x1d028a);return this['_footnotes']['splice'](_0x5bf3ab,0x0,_0x176a37),this['_updateFootnotesCounters'](_0x535b8a,Math['min'](_0x3270dd,_0x5bf3ab))&&(_0x10ccc7=!0x0),_0x10ccc7;}['_updateFootnoteRefCounter'](_0x1d2317,_0xb859df){if(!this['_footnotesDefinitions'])return!0x1;const _0x480e95=this['_footnotes'][_0xb859df];let _0x16d91d;return _0x16d91d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x480e95,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xb859df+0x1}):String(_0xb859df+0x1),_0x480e95['reference']['getAttribute']('footnoteCounter')!=_0x16d91d&&(_0x1d2317['setAttribute']('footnoteCounter',_0x16d91d,_0x480e95['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1aa9c0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x403e9c,_0x31e43f){if(_0x403e9c['length']!==_0x31e43f['length'])return!0x1;for(let _0x3516e0=0x0;_0x3516e0<_0x403e9c['length'];_0x3516e0++)if(_0x403e9c[_0x3516e0]!==_0x31e43f[_0x3516e0])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x443d03=>_0x443d03['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x35277d=>_0x35277d['getAttribute']('footnoteId'))))return!0x1;let _0x2a70ff=!0x1;for(let _0x495152=0x0;_0x495152<this['_footnotes']['length'];_0x495152++){const _0xfd5987=this['_footnotes'][_0x495152],_0x4373ff=_0x1aa9c0['createPositionBefore'](_0xfd5987['definition']),_0x2cc2f8=_0x1aa9c0['createPositionAt'](this['_footnotesDefinitions'],_0x495152);_0x4373ff['isEqual'](_0x2cc2f8)||(_0x1aa9c0['move'](_0x1aa9c0['createRangeOn'](_0xfd5987['definition']),_0x2cc2f8),_0x2a70ff=!0x0);}return _0x2a70ff;}['_ensureFootnotesReferencesHaveProperOrder'](_0x462868){if(!this['_footnotes']['length'])return!0x1;const {model:_0x190547}=this['editor'];let _0x10251e=!0x1;for(let _0x2f99bd=0x0;_0x2f99bd<this['_footnotes']['length']-0x1;_0x2f99bd++){const _0xc93119=this['_footnotes'][_0x2f99bd],_0x85dbd2=this['_footnotes'][_0x2f99bd+0x1],_0x243f24=_0x190547['createPositionBefore'](_0xc93119['reference']),_0x4f27af=_0x190547['createPositionBefore'](_0x85dbd2['reference']);'after'===_0x243f24['compareWith'](_0x4f27af)&&(this['_handleMovedFootnoteReference'](_0x462868,_0xc93119['reference']),_0x2f99bd=-0x1,_0x10251e=!0x0);}return _0x10251e;}}function _(_0x4151bb,_0x3b59ae,_0x181fb5){if(_0x181fb5['childCount'])return!0x1;const _0x3181c1=_0x3b59ae?'paragraph':'footnoteInlineContent';return _0x4151bb['insert'](_0x4151bb['createElement'](_0x3181c1),_0x181fb5),!0x0;}function I(_0x262271,_0x302bce,_0x106759){if(0x0===_0x302bce['length'])return 0x0;const _0x13f621=_0x262271['createPositionBefore'](_0x106759);for(let _0x1f639a=0x0;_0x1f639a<_0x302bce['length'];_0x1f639a++){const _0x2ff83f=_0x302bce[_0x1f639a],_0x386273=_0x262271['createPositionBefore'](_0x2ff83f['reference']);if('before'===_0x13f621['compareWith'](_0x386273))return _0x1f639a;}const _0x44472c=_0x106759['root'];let _0x938268=-0x1;for(let _0x256d5d=_0x302bce['length']-0x1;_0x256d5d>=0x0;_0x256d5d--)if(_0x302bce[_0x256d5d]['reference']['root']===_0x44472c){_0x938268=_0x256d5d;break;}if(-0x1!==_0x938268)return _0x938268+0x1;const _0x586855=_0x262271['document']['getRootNames'](),_0x336ca5=_0x586855['indexOf'](_0x44472c['rootName']),_0x347722=_0x586855[_0x336ca5+0x1];if(_0x347722){for(let _0x6cb866=0x0;_0x6cb866<_0x302bce['length'];_0x6cb866++)if(_0x302bce[_0x6cb866]['reference']['root']['rootName']===_0x347722)return _0x6cb866;}return _0x302bce['length'];}class h extends _0x105de7{['refresh'](){const _0x9522fe=this['editor']['model']['document']['selection'],_0x926552=this['_getPositionToInsertFootnote'](_0x9522fe);this['isEnabled']=!!_0x926552;}['execute'](_0x58f58b){const {editor:_0x3495ec}=this,{model:_0x49f9dc}=_0x3495ec,{selection:_0x89f293}=_0x49f9dc['document'],_0x4d00a3=this['_getPositionToInsertFootnote'](_0x89f293);if(!_0x4d00a3)return;const _0x3185b6=_0x3495ec['plugins']['get']('FootnotesEditing'),_0x3a7708=_0x58f58b?.['footnoteId']??_0x298719();!function(_0x594eac){return'string'==typeof _0x594eac&&_0x594eac['length']>0x0&&!/\s/['test'](_0x594eac)&&!/^\d/['test'](_0x594eac);}(_0x3a7708)?_0x5da817('insert-footnote-command-executed-with-invalid-id'):(_0x49f9dc['change'](_0x1a9185=>{const _0xb4131b=_0x1a9185['createElement']('footnoteRef',{'footnoteId':_0x3a7708});_0x49f9dc['insertObject'](_0xb4131b,_0x4d00a3,null);}),_0x3185b6['_moveSelectionToFootnoteDefinition'](_0x3a7708));}['_getPositionToInsertFootnote'](_0x4ac0bf){const {model:_0x43fe39}=this['editor'],{schema:_0x540ee4}=_0x43fe39,_0x42fdc2=_0x4ac0bf['getFirstRange']();for(const _0xc0b7bc of _0x42fdc2['getItems']())if(_0x540ee4['isBlock'](_0xc0b7bc)||_0x540ee4['isObject'](_0xc0b7bc))return null;const _0xcce163=_0x42fdc2['end'];return _0x540ee4['checkChild'](_0xcce163,'footnoteRef')?_0xcce163:null;}}class r extends _0x29e4b9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x216d25}=this;_0x216d25['config']['define']('footnotes.multiBlock',!0x0),_0x216d25['commands']['add']('insertFootnote',new h(_0x216d25)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1edbab){const _0x5162e8=_0x35fca8([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]),_0x4b722f=0x47a28506,_0x29e6d4=0x47a5f9a6^_0x4b722f,_0x5088a6=window[_0x35fca8([0x44,0x61,0x74,0x65])][_0x35fca8([0x6e,0x6f,0x77])](),_0x46a951=_0x1edbab[_0x35fca8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x80a774=new window[(_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ac8ae=>{_0x46a951[_0x35fca8([0x6f,0x6e,0x63,0x65])](_0x35fca8([0x72,0x65,0x61,0x64,0x79]),_0x5ac8ae);}),_0x22487f={[_0x35fca8([0x6b,0x74,0x79])]:_0x35fca8([0x45,0x43]),[_0x35fca8([0x75,0x73,0x65])]:_0x35fca8([0x73,0x69,0x67]),[_0x35fca8([0x63,0x72,0x76])]:_0x35fca8([0x50,0x2d,0x32,0x35,0x36]),[_0x35fca8([0x78])]:_0x35fca8([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]),[_0x35fca8([0x79])]:_0x35fca8([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]),[_0x35fca8([0x61,0x6c,0x67])]:_0x35fca8([0x45,0x53,0x32,0x35,0x36])},_0x37aab5=_0x46a951[_0x35fca8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35fca8([0x67,0x65,0x74])](_0x35fca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x585beb(){let _0x3bcc38,_0x44999e=null,_0x573dfa=null;try{if(_0x37aab5==_0x35fca8([0x47,0x50,0x4c]))return _0x35fca8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bcc38=_0x109b7f(),!_0x3bcc38)return _0x35fca8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bcc38[_0x35fca8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x573dfa=_0x449c6d(_0x3bcc38[_0x35fca8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bcc38[_0x35fca8([0x6a,0x74,0x69])])),await _0x331cba()?_0x3fae3e()?_0x290287()?_0x35fca8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5029e0()?(_0x3bcc38[_0x35fca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35fca8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x44999e=_0x3ad8ad(_0x35fca8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3bcc38[_0x35fca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35fca8([0x74,0x72,0x69,0x61,0x6c])&&(_0x44999e=_0x3ad8ad(_0x35fca8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe931bd()):_0x35fca8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35fca8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35fca8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35fca8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x290287(){const _0x7a4b06=[_0x35fca8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35fca8([0x74,0x72,0x69,0x61,0x6c])][_0x35fca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bcc38[_0x35fca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5088a6/0x3e8:0xe10*_0x29e6d4;return _0x3bcc38[_0x35fca8([0x65,0x78,0x70])]<_0x7a4b06;}function _0x3fae3e(){const _0x2c89ef=_0x3bcc38[_0x35fca8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c89ef&&(!!_0x2c89ef[_0x35fca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35fca8([0x2a]))||!!_0x2c89ef[_0x35fca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35fca8([0x46,0x4f,0x4f])));}function _0x5029e0(){const _0x2b03b2=_0x3bcc38[_0x35fca8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b03b2||0x0==_0x2b03b2[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x198f27}=new URL(window[_0x35fca8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b03b2[_0x35fca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x198f27))return!0x0;const _0x422343=_0x198f27[_0x35fca8([0x73,0x70,0x6c,0x69,0x74])](_0x35fca8([0x2e]));return _0x2b03b2[_0x35fca8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4eba1c=>_0x4eba1c[_0x35fca8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35fca8([0x2a])))[_0x35fca8([0x6d,0x61,0x70])](_0x5c1b6c=>_0x5c1b6c[_0x35fca8([0x73,0x70,0x6c,0x69,0x74])](_0x35fca8([0x2e])))[_0x35fca8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44d8ef=>_0x44d8ef[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x422343[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35fca8([0x6d,0x61,0x70])](_0x4f0dd6=>Array(_0x422343[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f0dd6[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35fca8([0x66,0x69,0x6c,0x6c])](_0x4f0dd6[0x0]===_0x35fca8([0x2a])?_0x35fca8([0x2a]):'')[_0x35fca8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f0dd6))[_0x35fca8([0x73,0x6f,0x6d,0x65])](_0x3215b9=>_0x422343[_0x35fca8([0x65,0x76,0x65,0x72,0x79])]((_0x3cc15e,_0x16d014)=>_0x3215b9[_0x16d014]===_0x3cc15e||_0x3215b9[_0x16d014]===_0x35fca8([0x2a])));}function _0xe931bd(){return _0x44999e&&_0x573dfa?new window[(_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a3ad1,_0x5e494d)=>{_0x44999e[_0x35fca8([0x74,0x68,0x65,0x6e])](_0x1a3ad1,_0x5e494d),_0x573dfa[_0x35fca8([0x74,0x68,0x65,0x6e])](_0x507ff4=>{_0x507ff4!=_0x35fca8([0x56,0x61,0x6c,0x69,0x64])&&_0x1a3ad1(_0x507ff4);},_0x5e494d);}):_0x44999e||_0x573dfa||_0x35fca8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x449c6d(_0x34795b,_0x4126e2){return new window[(_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f671b=>{if(_0x315cd0())return _0x3f671b(_0x35fca8([0x56,0x61,0x6c,0x69,0x64]));_0x44dc58(),_0x46a951[_0x35fca8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35fca8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36bd88=!0x1;const _0x135606=_0x298719();function _0x234579(_0x2afce2){return!!_0x2afce2&&(typeof _0x2afce2===_0x35fca8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2afce2===_0x35fca8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2afce2[_0x35fca8([0x74,0x68,0x65,0x6e])]===_0x35fca8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2afce2[_0x35fca8([0x63,0x61,0x74,0x63,0x68])]===_0x35fca8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5717d1(_0x10edd0){_0xa377f1(_0x10edd0)[_0x35fca8([0x74,0x68,0x65,0x6e])](_0x1ed540=>{if(!_0x1ed540||_0x1ed540[_0x35fca8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35fca8([0x6f,0x6b]))return _0x35fca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10e34b(_0x674ef3(_0x135606+_0x4126e2))!=_0x1ed540[_0x35fca8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35fca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35fca8([0x56,0x61,0x6c,0x69,0x64]);})[_0x35fca8([0x74,0x68,0x65,0x6e])](_0x1d85a0=>(_0x619734(),_0x1d85a0),()=>{const _0x5dac9e=_0x464407();return null==_0x5dac9e?(_0x619734(),_0x35fca8([0x56,0x61,0x6c,0x69,0x64])):_0x35fca8(_0x5088a6-_0x5dac9e>(0x63ae0106^_0x4b722f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35fca8([0x74,0x68,0x65,0x6e])](_0x3f671b)[_0x35fca8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f671b(_0x35fca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44676a=0x47946b86^_0x4b722f;function _0x619734(){const _0x3c55db=_0x35fca8([0x6c,0x6c,0x63,0x74,0x2d])+_0x10e34b(_0x674ef3(_0x34795b)),_0x520e9d=_0x957385(_0x10e34b(window[_0x35fca8([0x4d,0x61,0x74,0x68])][_0x35fca8([0x63,0x65,0x69,0x6c])](_0x5088a6/_0x44676a)));window[_0x35fca8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35fca8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c55db,_0x520e9d);}function _0x464407(){const _0x43fd57=_0x35fca8([0x6c,0x6c,0x63,0x74,0x2d])+_0x10e34b(_0x674ef3(_0x34795b)),_0x4b12ba=window[_0x35fca8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35fca8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43fd57);return _0x4b12ba?window[_0x35fca8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x957385(_0x4b12ba),0x10)*_0x44676a:null;}function _0xa377f1(_0x8bf47f){return new window[(_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b87e7,_0xc8921f)=>{_0x8bf47f[_0x35fca8([0x74,0x68,0x65,0x6e])](_0x3b87e7,_0xc8921f),window[_0x35fca8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc8921f,0x47a351c6^_0x4b722f);});}}_0x46a951[_0x35fca8([0x6f,0x6e])](_0x35fca8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4451f1,_0x2f4c87)=>{if(_0x2f4c87[0x0]!=_0x34795b)return _0x3f671b(_0x35fca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f4c87[0x1]={..._0x2f4c87[0x1],[_0x35fca8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x135606};},{[_0x35fca8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35fca8([0x68,0x69,0x67,0x68])}),_0x46a951[_0x35fca8([0x6f,0x6e])](_0x35fca8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbac0b7=>{_0x234579(_0xbac0b7[_0x35fca8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36bd88=!0x0,_0x5717d1(_0xbac0b7[_0x35fca8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35fca8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35fca8([0x6c,0x6f,0x77])}),_0x80a774[_0x35fca8([0x74,0x68,0x65,0x6e])](()=>{_0x36bd88||_0x3f671b(_0x35fca8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x315cd0(){return _0x46a951[_0x35fca8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35fca8([0x76,0x69,0x65,0x77])][_0x35fca8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35fca8([0x61,0x75,0x74,0x6f]);}function _0x44dc58(){_0x46a951[_0x35fca8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35fca8([0x76,0x69,0x65,0x77])][_0x35fca8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35fca8([0x61,0x75,0x74,0x6f]);}}function _0x3ad8ad(_0x291990){const _0x14d85a=[new window[(_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdbd81f=>setTimeout(_0xdbd81f,0x47abbbca^_0x4b722f)),_0x80a774[_0x35fca8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2215d6=>{let _0x4a4358=0x0;_0x46a951[_0x35fca8([0x6d,0x6f,0x64,0x65,0x6c])][_0x35fca8([0x6f,0x6e])](_0x35fca8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29b17e,_0x28a374)=>{_0x28a374[0x0][_0x35fca8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a4358++,_0x4a4358==(0x47a280ee^_0x4b722f)&&(_0x2215d6(),_0x29b17e[_0x35fca8([0x6f,0x66,0x66])]());});}))];return window[_0x35fca8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35fca8([0x72,0x61,0x63,0x65])](_0x14d85a)[_0x35fca8([0x74,0x68,0x65,0x6e])](()=>_0x291990);}async function _0x11c8b8(){await _0x80a774,_0x46a951[_0x35fca8([0x6d,0x6f,0x64,0x65,0x6c])][_0x35fca8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59d669,_0x46a951[_0x35fca8([0x6d,0x6f,0x64,0x65,0x6c])][_0x35fca8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59d669,_0x46a951[_0x35fca8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35fca8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc9b335(_0x5d0a01){const _0x2325b3=_0x544d54();_0x46a951[_0x2325b3]=_0x35fca8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d0a01,_0x5d0a01!=_0x35fca8([0x56,0x61,0x6c,0x69,0x64])&&_0x11c8b8();}function _0x544d54(){const _0x4c44cc=window[_0x35fca8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35fca8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35fca8([0x6e,0x6f,0x77])]())[_0x35fca8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35fca8([0x2e]),'');let _0x241d2b=_0x35fca8([0x75]);for(let _0x5408c6=0x0;_0x5408c6<_0x4c44cc[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5408c6+=0x2){let _0xcf7d96=window[_0x35fca8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c44cc[_0x35fca8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5408c6,_0x5408c6+0x2));_0xcf7d96>=_0x5162e8[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcf7d96-=_0x5162e8[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x241d2b+=_0x5162e8[_0xcf7d96];}return _0x241d2b;}function _0x109b7f(){const _0x5adaa5=_0x37aab5[_0x35fca8([0x73,0x70,0x6c,0x69,0x74])](_0x35fca8([0x2e]));if(0x3!=_0x5adaa5[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x533348(_0x5adaa5[0x1]);function _0x533348(_0x56fec5){const _0x1e007a=_0x417be1(_0x56fec5);return _0x1e007a&&_0x5babfd()?_0x1e007a:null;function _0x5babfd(){const _0x44ec46=_0x1e007a[_0x35fca8([0x6a,0x74,0x69])],_0x1ed7b6=window[_0x35fca8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ec46[_0x35fca8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44ec46[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5f1600={..._0x1e007a,[_0x35fca8([0x6a,0x74,0x69])]:_0x44ec46[_0x35fca8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44ec46[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5f1600[_0x35fca8([0x76,0x63])],_0x674ef3(_0x5f1600)==_0x1ed7b6;}}}async function _0x331cba(){let _0x3c46c9=!0x0;try{const _0x59177f=_0x37aab5[_0x35fca8([0x73,0x70,0x6c,0x69,0x74])](_0x35fca8([0x2e])),[_0x2fec02,_0x46e962,_0x1c6590]=_0x59177f;return _0x69b3ed(_0x2fec02),await _0x14b161(_0x2fec02,_0x46e962,_0x1c6590),_0x3c46c9;}catch{return!0x1;}function _0x69b3ed(_0x3d45d0){const _0x385a3b=_0x417be1(_0x3d45d0);_0x385a3b&&_0x385a3b[_0x35fca8([0x61,0x6c,0x67])]==_0x35fca8([0x45,0x53,0x32,0x35,0x36])||(_0x3c46c9=!0x1);}async function _0x14b161(_0x45fb1a,_0x50d81f,_0x3acb4c){const _0x3e4b08=window[_0x35fca8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35fca8([0x66,0x72,0x6f,0x6d])](_0x2afd71(_0x3acb4c),_0xf3ad78=>_0xf3ad78[_0x35fca8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x48d43a=new window[(_0x35fca8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35fca8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45fb1a+_0x35fca8([0x2e])+_0x50d81f),_0x2e1bec=window[_0x35fca8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35fca8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e1bec)return;const _0x2c6af3=await _0x2e1bec[_0x35fca8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35fca8([0x6a,0x77,0x6b]),_0x22487f,{[_0x35fca8([0x6e,0x61,0x6d,0x65])]:_0x35fca8([0x45,0x43,0x44,0x53,0x41]),[_0x35fca8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35fca8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35fca8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e1bec[_0x35fca8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35fca8([0x6e,0x61,0x6d,0x65])]:_0x35fca8([0x45,0x43,0x44,0x53,0x41]),[_0x35fca8([0x68,0x61,0x73,0x68])]:{[_0x35fca8([0x6e,0x61,0x6d,0x65])]:_0x35fca8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c6af3,_0x3e4b08,_0x48d43a)||(_0x3c46c9=!0x1);}}function _0x417be1(_0x5007fd){return _0x5007fd[_0x35fca8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35fca8([0x65,0x79]))?JSON[_0x35fca8([0x70,0x61,0x72,0x73,0x65])](_0x2afd71(_0x5007fd)):null;}function _0x2afd71(_0x3da77b){return window[_0x35fca8([0x61,0x74,0x6f,0x62])](_0x3da77b[_0x35fca8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35fca8([0x2b]))[_0x35fca8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35fca8([0x2f])));}function _0x674ef3(_0x2c20b2){let _0xdde42=0x1505;function _0x1bbb1e(_0x1c3baf){for(let _0x20c084=0x0;_0x20c084<_0x1c3baf[_0x35fca8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20c084++){const _0x1903c4=_0x1c3baf[_0x35fca8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20c084);_0xdde42=(_0xdde42<<0x5)+_0xdde42+_0x1903c4,_0xdde42&=_0xdde42;}}function _0x2a7287(_0x1498fb){Array[_0x35fca8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1498fb)?_0x1498fb[_0x35fca8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a7287):_0x1498fb&&typeof _0x1498fb==_0x35fca8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35fca8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1498fb)[_0x35fca8([0x73,0x6f,0x72,0x74])]()[_0x35fca8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x59fc03,_0x1aeb30])=>{_0x1bbb1e(_0x59fc03),_0x2a7287(_0x1aeb30);}):_0x1bbb1e(window[_0x35fca8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1498fb));}return _0x2a7287(_0x2c20b2),_0xdde42>>>0x0;}function _0x10e34b(_0x183d4e){return _0x183d4e[_0x35fca8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35fca8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35fca8([0x30]));}function _0x957385(_0x4a713b){return _0x4a713b[_0x35fca8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35fca8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35fca8([0x6a,0x6f,0x69,0x6e])]('');}function _0x59d669(){}function _0x35fca8(_0x485c59){return _0x485c59['map'](_0x59b097=>String['fromCharCode'](_0x59b097))['join']('');}_0xc9b335(await _0x585beb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x535dcd){const {plugins:_0x3c9d06,editing:_0x28699e,model:_0x46b2f8}=this['editor'],_0x9cdf5f=_0x3c9d06['get'](f)['getFootnote'](_0x535dcd);return!!_0x9cdf5f&&(_0x46b2f8['change'](_0x4a86cb=>{_0x4a86cb['setSelection'](_0x4a86cb['createPositionAt'](_0x9cdf5f['definition'],'end'));}),_0x28699e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x413802){const {plugins:_0x296e0f,editing:_0x5211e2,model:_0x4a307a}=this['editor'],_0x591a82=_0x296e0f['get'](f)['getFootnote'](_0x413802);return!!_0x591a82&&(_0x4a307a['change'](_0x474fda=>{_0x474fda['setSelection'](_0x591a82['reference'],'on');}),_0x5211e2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x258032}=this['editor']['model'],_0x37aa81=this['editor']['config']['get']('footnotes.multiBlock');_0x258032['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x258032['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x258032['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x37aa81?_0x258032['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x258032['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x258032['addChildCheck'](_0x13d0e5=>{for(const _0x3490fc of _0x13d0e5)if('footnoteDefinition'===_0x3490fc['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2e2659}=this,{conversion:_0x26a53c,editing:_0x3ae249}=_0x2e2659,{t:t}=_0x2e2659['locale'];_0x26a53c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5cd7ca,{writer:_0x287eed,consumable:_0x504529})=>{const _0x20b292=_0x5cd7ca['getChild'](0x0);if(!_0x20b292||!_0x20b292['is']('element','a'))return null;const _0xb9962f=_0x20b292['getAttribute']('href')||'';if(!_0xb9962f['startsWith']('#'))return null;const _0x2132fb=_0xb9962f['replace'](/^#/,'');if(!_0x2132fb)return null;_0x504529['consume'](_0x20b292,{'name':!0x0,'attributes':['href']});for(const {item:_0xeae596}of _0x3ae249['view']['createRangeIn'](_0x20b292))_0xeae596['is']('$textProxy')?_0x504529['consume'](_0xeae596['textNode'],{'name':!0x0}):_0xeae596['is']('element')&&_0x504529['consume'](_0xeae596,{'name':!0x0});return _0x287eed['createElement']('footnoteRef',{'footnoteId':_0x2132fb});}}),_0x26a53c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x15cfef,{writer:_0x9aa7cc})=>b(_0x15cfef,_0x9aa7cc)}),_0x26a53c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c9902,{writer:_0x374505})=>{const _0x47a7e7=_0x2c9902['getAttribute']('footnoteCounter');return _0x85a6ac(b(_0x2c9902,_0x374505),_0x374505,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x47a7e7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5ae460}=this,{t:t}=_0x5ae460['locale'],{conversion:_0x33b3c9}=_0x5ae460;_0x33b3c9['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x33b3c9['for']('upcast')['add'](_0x24beeb=>{_0x24beeb['on']('element:ol',(_0x33c857,_0x1d77ab,_0x3cbb33)=>{const _0xc34ee0=_0x1d77ab['viewItem'];if(!_0xc34ee0['hasClass']('footnotes-list')||!_0x1d77ab['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3cbb33['consumable']['consume'](_0xc34ee0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5a4317,modelCursor:_0x2bc80a}=_0x3cbb33['convertChildren'](_0x1d77ab['viewItem'],_0x1d77ab['modelCursor']);_0x1d77ab['modelRange']=_0x5a4317,_0x1d77ab['modelCursor']=_0x2bc80a;}),_0x24beeb['on']('element:hr',(_0xe386bb,_0x45d28c,_0x33f733)=>{const _0x3f0bd9=_0x45d28c['viewItem'];_0x3f0bd9['hasClass']('footnotes-divider')&&_0x45d28c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x33f733['consumable']['consume'](_0x3f0bd9,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x33b3c9['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b0b1e,{writer:_0x213979})=>D(_0x213979)}),_0x33b3c9['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x240651,{writer:_0x5ba530})=>{const _0x1cb0df=D(_0x5ba530,{'data-footnotes-list-label':t('Footnotes')}),_0x545bf0=_0x85a6ac(_0x1cb0df,_0x5ba530,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5ba530['setCustomProperty']('footnotesDefinitions',!0x0,_0x545bf0),_0x545bf0;}});}['_defineDefinitionConverters'](){const {editor:_0x3d614f}=this,{conversion:_0x3e4eaa,locale:_0x1d5909}=_0x3d614f,_0xc45a63=_0x3d614f['config']['get']('footnotes.multiBlock');_0x3e4eaa['for']('upcast')['add'](_0x39c111=>{_0x39c111['on']('element:li',(_0x317603,_0x3c5584,_0x109215)=>{const _0x7e19d4=_0x3c5584['viewItem'];if(!_0x7e19d4['hasClass']('footnote-definition')||!_0x7e19d4['getAttribute']('id'))return;const _0x228ed1=_0x7e19d4['parent'];if(!_0x228ed1['is']('element','ol')||!_0x228ed1['hasClass']('footnotes-list'))return;if(!_0x109215['consumable']['test'](_0x7e19d4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x317e5e=_0x109215['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x7e19d4['getAttribute']('id')});if(!_0x109215['safeInsert'](_0x317e5e,_0x3c5584['modelCursor']))return;_0x109215['consumable']['consume'](_0x7e19d4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x13a070=Array['from'](_0x7e19d4['getChildren']())['find'](_0x6e6d6c=>_0x6e6d6c['is']('element')&&_0x6e6d6c['hasClass']('footnote-content'));for(const _0x36bd68 of _0x7e19d4['getChildren']())_0x36bd68['is']('element')&&(_0x109215['consumable']['consume'](_0x36bd68,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x109215['consumable']['consume'](_0x36bd68,{'name':!0x0,'classes':'footnote-content'}));if(_0x13a070){if(_0xc45a63)_0x109215['convertChildren'](_0x13a070,_0x317e5e);else{const _0x1ee6f2=_0x109215['writer']['createElement']('footnoteInlineContent');_0x109215['writer']['insert'](_0x1ee6f2,_0x317e5e),_0x109215['convertChildren'](_0x13a070,_0x1ee6f2);}}_0x109215['updateConversionResult'](_0x317e5e,_0x3c5584);});}),_0x3e4eaa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x260913,{writer:_0x1b7def})=>y(_0x260913,_0x1b7def,_0x1d5909,{'dataPipeline':!0x0})}),_0x3e4eaa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x393353,{writer:_0x759244})=>y(_0x393353,_0x759244,_0x1d5909)});}['_defineBogusParagraphConverters'](){const {editor:_0x34666a}=this,{conversion:_0x558f52}=_0x34666a;_0x34666a['config']['get']('footnotes.multiBlock')?(_0x558f52['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x558f52['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x34666a['model']['document'],'change:data',()=>{!function(_0x4854e5,_0x1af73a){const _0x3f9477=_0x4854e5['document']['differ'],_0x4a0261=new Set();for(const _0xf6fc79 of _0x3f9477['getChanges']()){const _0x4465d3='attribute'==_0xf6fc79['type']?_0xf6fc79['range']['start']['parent']:_0xf6fc79['position']['parent'];_0x4465d3['is']('element','footnoteDefinition')&&_0x4a0261['add'](_0x4465d3);}for(const _0x4a481a of _0x4a0261['values']()){const _0x2476f2=Array['from'](_0x4a481a['getChildren']())['filter'](_0x15d751=>v(_0x15d751,_0x1af73a['mapper']));for(const _0x1b8927 of _0x2476f2)_0x1af73a['reconvertItem'](_0x1b8927);}}(_0x34666a['model'],_0x34666a['editing']);})):(_0x558f52['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x558f52['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x319d99,{writer:_0x50504f})=>{const _0xc13491=_0x50504f['createContainerElement']('span');return _0x50504f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xc13491),_0xc13491;}}));}['_defineKeyboardHandlers'](){const {editor:_0x42c0c0}=this,{editing:_0x43c02d,t:t}=_0x42c0c0,_0x39b818=_0x42c0c0['model']['document']['selection'];_0x42c0c0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x42c0c0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x43c02d['view']['document'],'enter',(_0x5275a6,_0x233d97)=>{const _0x5c98f3=function(_0x1e8ddc){const _0x53e4f1=_0x1e8ddc['getSelectedElement']();if(_0x53e4f1?.['is']('element','footnoteRef'))return _0x53e4f1;return null;}(_0x39b818);if(_0x5c98f3){const _0x183501=_0x5c98f3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x183501),_0x233d97['preventDefault'](),_0x5275a6['stop']();}},{'context':_0x1d1793});}['_defineClickHandlers'](){const {editor:_0x4cce84}=this,{editing:_0xcbe2c2}=_0x4cce84;_0x4cce84['editing']['view']['addObserver'](_0x15843f),_0x4cce84['editing']['view']['addObserver'](_0x2aba41);let _0x1e108a=!0x1;this['listenTo'](_0xcbe2c2['view']['document'],'pointerdown',(_0x404efb,_0x48c598)=>{const {target:_0x46bf9b}=_0x48c598,_0x363c2a=_0xcbe2c2['view']['document']['selection'];_0x1e108a=!!(_0x46bf9b?.['is']('element','a')&&_0x46bf9b['parent']?.['is']('element','sup')&&_0x46bf9b['parent']['hasClass']('footnote'))&&_0x363c2a['getSelectedElement']()===_0x46bf9b['parent'];},{'priority':'high'}),this['listenTo'](_0xcbe2c2['view']['document'],'click',(_0x1900e0,_0x7981eb)=>{const {target:_0xc95eda}=_0x7981eb;if(!_0xc95eda?.['is']('element','a'))return;if(_0xc95eda['parent']?.['is']('element','sup')&&_0xc95eda['parent']['hasClass']('footnote')&&!_0x1e108a)return void _0x7981eb['preventDefault']();let _0x15c225=_0xc95eda['getAttribute']('href');if(!_0x15c225?.['startsWith']('#'))return;_0x15c225=_0x15c225['slice'](0x1);let _0x4ee0dd=!0x1;(_0x15c225['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x15c225['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x15c225))&&(_0x4ee0dd=!0x0),_0x4ee0dd&&(_0x7981eb['preventDefault'](),_0x1900e0['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x588847}={}){return(_0x1d8344,{writer:_0x2c93bb})=>{if(!g(_0x1d8344))return null;if(!_0x588847)return _0x2c93bb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x28b426=_0x2c93bb['createContainerElement']('p');return _0x2c93bb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x28b426),_0x28b426;};}function g(_0x3d0de5){const {parent:_0xa7523a}=_0x3d0de5;if(!_0xa7523a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xa7523a['childCount'])return!0x1;for(const _0x16ac0e of _0x3d0de5['getAttributeKeys']())if(!_0x16ac0e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x16ac0e)return!0x1;return!0x0;}function v(_0x3dbeac,_0x815b9e){if(!_0x3dbeac['is']('element','paragraph'))return!0x1;const _0x416145=_0x815b9e['toViewElement'](_0x3dbeac);return!!_0x416145&&g(_0x3dbeac)!==_0x416145['is']('element','span');}function Q(_0x1ad17b){return _0x1d1793(_0x1ad17b)&&_0x1ad17b['is']('containerElement')&&!!_0x1ad17b['getCustomProperty']('footnotesDefinitions');}function D(_0x132443,_0x168f5c={}){const _0x5f4651=_0x132443['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x144b38=_0x132443['createContainerElement']('ol',{'class':'footnotes-list'},_0x132443['createSlot']());return _0x132443['createContainerElement']('div',{'class':'footnotes',..._0x168f5c},[_0x5f4651,_0x144b38]);}function b(_0x583e2b,_0x42b673){const _0x42e675=_0x583e2b['getAttribute']('footnoteId'),_0x3e9572=_0x583e2b['getAttribute']('footnoteCounter'),_0x40fc56=_0x42b673['createUIElement']('a',{'href':'#'+_0x42e675},function(_0x1d4621){const _0x565a06=this['toDomElement'](_0x1d4621);return _0x565a06['textContent']=_0x3e9572,_0x565a06;}),_0x25ae9d=_0x42b673['createContainerElement']('sup',{'id':'ref-'+_0x42e675,'class':'footnote'},[_0x40fc56]);return _0x25ae9d['getFillerOffset']=()=>null,_0x25ae9d;}function y(_0x1a9b88,_0x5990dc,_0x4a3695,{dataPipeline:_0x560f02}={}){const {t:t}=_0x4a3695,_0x51841d=_0x1a9b88['getAttribute']('footnoteId'),_0x4b8723=_0x5990dc['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x51841d},function(_0x160314){const _0x30f545=this['toDomElement'](_0x160314);return _0x30f545['innerText']='^',_0x30f545;}),_0x1aae9c=_0x560f02?_0x5990dc['createContainerElement']('div',{'class':'footnote-content'}):_0x531eee(_0x5990dc['createEditableElement']('div',{'class':'footnote-content'}),_0x5990dc,{'label':t('Footnote\x20content.')});return _0x5990dc['insert'](_0x5990dc['createPositionAt'](_0x1aae9c,0x0),_0x5990dc['createSlot']()),_0x5990dc['createContainerElement']('li',{'class':'footnote-definition','id':_0x51841d},[_0x4b8723,_0x1aae9c]);}class e extends _0x29e4b9{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x334eaf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x473c81}=this,{plugins:_0x450358,model:_0x51ed40}=_0x473c81,_0x4ef758=_0x450358['get'](_0x334eaf),_0x3d0534=_0x450358['get'](f);this['listenTo'](_0x4ef758,'outputTransformation',(_0x46f0cd,_0x3d8b00)=>{const _0x4101b2=l(_0x51ed40['createRangeIn'](_0x3d8b00['content']));if(!_0x4101b2['length'])return;const _0x5e7525=_0x3d0534['getFootnotes'](),_0x43505c=_0x4101b2['reduce']((_0x9bd0ba,_0x1c725f)=>{const _0x6d70f9=_0x5e7525['find'](_0x13f02d=>_0x13f02d['id']===_0x1c725f);if(_0x6d70f9){const _0x2c27cf=_0x473c81['data']['toView'](_0x6d70f9['definition'],{'isClipboardPipeline':!0x0}),_0x13012b=_0x473c81['data']['htmlProcessor']['toData'](_0x2c27cf);_0x9bd0ba[_0x6d70f9['id']]=_0x13012b;}return _0x9bd0ba;},Object['create'](null));_0x3d8b00['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x43505c));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3da167}=this,{model:_0x57d857,plugins:_0x488d88}=_0x3da167,{view:_0x161a7a}=_0x3da167['editing'],_0x5c4e6d=_0x488d88['get'](_0x334eaf),_0x2ca35a=_0x488d88['get'](f),_0x1395b5=_0x3da167['config']['get']('footnotes.multiBlock');let _0x24da10=null;this['listenTo'](_0x161a7a['document'],'clipboardInput',(_0x3f993e,_0x2d52d8)=>{const _0x4b2545=_0x2d52d8['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x24da10=_0x4b2545?JSON['parse'](_0x4b2545):null;}),this['listenTo'](_0x5c4e6d,'contentInsertion',(_0x74a73d,_0xecd150)=>{const _0x1509bf=_0xecd150['sourceEditorId']===this['editor']['id'];_0x1509bf&&'drop'===_0xecd150['method']||_0x57d857['change'](_0x57ccb2=>{let _0x506e94=_0x2ca35a['getFootnotesDefinitionsObjectElement']();const _0x3ee4ff=!!_0x506e94&&Array['from'](_0x57d857['document']['selection']['getSelectedBlocks']())['includes'](_0x506e94);if(!_0x24da10&&function(_0x1822fa){for(const {item:_0x15d874}of _0x1822fa)if(_0x15d874['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x57d857['createRangeIn'](_0xecd150['content']))&&(_0x24da10=function(_0x489675,_0x2a39d3){const _0x4d7c1c=c(_0x489675,_0x2a39d3);if(!_0x4d7c1c)return null;const _0x43d7af=Object['create'](null);for(const _0x317b84 of _0x4d7c1c['getChildren']())_0x317b84['is']('element','footnoteDefinition')&&_0x317b84['hasAttribute']('footnoteId')&&(_0x43d7af[_0x317b84['getAttribute']('footnoteId')]=_0x489675['cloneElement'](_0x317b84,!0x0));return Object['keys'](_0x43d7af)['length']?_0x43d7af:null;}(_0x57ccb2,_0xecd150['content'])),(_0x506e94&&!_0x3ee4ff||!_0x506e94&&!_0x24da10)&&function(_0x441f10,_0x2d009f){const _0x513a15=[];for(const {item:_0x29aea3}of _0x441f10['createRangeIn'](_0x2d009f))_0x29aea3['is']('element','footnotesDefinitions')&&_0x513a15['push'](_0x29aea3);for(const _0x13e6d7 of _0x513a15)_0x441f10['remove'](_0x13e6d7);}(_0x57ccb2,_0xecd150['content']),!_0x24da10)return;const {selection:_0x3d3a24}=_0x57d857['document'],_0x6f6f00=_0x3d3a24['getFirstRange']()['root'];_0x506e94&&!_0x3ee4ff||(_0x506e94=c(_0x57ccb2,_0xecd150['content']),_0x506e94||=_0x2ca35a['_insertEmptyFootnotesDefinitionsContainer'](_0x57ccb2,_0x6f6f00));const _0x4a228a=Array['from'](_0x3d3a24['getRanges']())['flatMap'](l),_0x16169b=function(_0x181ed5,_0x5875d4,_0x49ea7a){const _0x859f34=Object['create'](null);for(const {item:_0x58f126}of _0x181ed5['createRangeIn'](_0x5875d4))if(_0x58f126['is']('element','footnoteRef')){const _0x45a84=_0x58f126['getAttribute']('footnoteId');if(!_0x49ea7a(_0x45a84))continue;_0x859f34[_0x45a84]||(_0x859f34[_0x45a84]=_0x298719()),_0x181ed5['setAttribute']('footnoteId',_0x859f34[_0x45a84],_0x58f126);}return _0x859f34;}(_0x57ccb2,_0xecd150['content'],_0x206ee2=>{if(!_0x1509bf)return!0x0;return!!_0x2ca35a['getFootnote'](_0x206ee2)&&!_0x4a228a['includes'](_0x206ee2);});for(const [_0x3b7e67,_0x1ede1a]of Object['entries'](_0x24da10)){const _0x2e3683=_0x16169b[_0x3b7e67]||_0x3b7e67;let _0x231dd2;if('string'!=typeof _0x1ede1a)_0x231dd2=_0x1ede1a,_0x2e3683!==_0x3b7e67&&_0x57ccb2['setAttribute']('footnoteId',_0x2e3683,_0x231dd2);else{_0x231dd2=_0x57ccb2['createElement']('footnoteDefinition',{'footnoteId':_0x2e3683});const _0x1db8a9=_0x3da167['data']['htmlProcessor']['toView'](_0x1ede1a);let _0x1b61da;if(_0x1395b5)_0x1b61da=_0x3da167['data']['toModel'](_0x1db8a9,_0x231dd2);else{_0x1b61da=_0x57ccb2['createElement']('footnoteInlineContent');const _0x2d0f19=_0x3da167['data']['toModel'](_0x1db8a9,_0x1b61da);_0x57ccb2['insert'](_0x2d0f19,_0x1b61da);}_0x57ccb2['append'](_0x1b61da,_0x231dd2);}_0x57ccb2['insert'](_0x231dd2,_0x506e94,'end');}_0x24da10=null;});});}}function c(_0x56c652,_0x28e423){for(const {item:_0x4b9fe1}of _0x56c652['createRangeIn'](_0x28e423))if(_0x4b9fe1['is']('element','footnotesDefinitions'))return _0x4b9fe1;return null;}function l(_0x595412){const _0x42b9b5=new Set();for(const {item:_0x52699c}of _0x595412)_0x52699c['is']('element','footnoteRef')&&_0x42b9b5['add'](_0x52699c['getAttribute']('footnoteId'));return Array['from'](_0x42b9b5);}class i extends _0x29e4b9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3fb855}=this,{componentFactory:_0x5d5d72}=_0x3fb855['ui'];_0x5d5d72['add']('insertFootnote',E(_0x3fb855,_0x33ea5c)),_0x5d5d72['add']('menuBar:insertFootnote',E(_0x3fb855,_0x3b0c15)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x233b57=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ee83c;for(const _0x355209 in _0x233b57){const _0x4349cd=_0x355209,_0x58dd26=_0x233b57[_0x4349cd];if('footnotesLicenseKeyValid'==_0x58dd26||'footnotesLicenseKeyInvalid'==_0x58dd26||'footnotesLicenseKeyExpired'==_0x58dd26||'footnotesLicenseKeyDomainLimit'==_0x58dd26||'footnotesLicenseKeyNotAllowed'==_0x58dd26||'footnotesLicenseKeyEvaluationLimit'==_0x58dd26||'footnotesLicenseKeyTrialLimit'==_0x58dd26||'footnotesLicenseKeyUsageLimit'==_0x58dd26){delete _0x233b57[_0x4349cd],_0x4ee83c=_0x58dd26,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4ee83c&&_0x233b57['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4ee83c&&_0x233b57['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4ee83c&&_0x233b57['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4ee83c&&_0x233b57['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4ee83c&&_0x233b57['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4ee83c&&_0x233b57['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4ee83c&&_0x233b57['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4ba400,_0x29aa7a){const _0x1addde=_0x4ba400['commands']['get']('insertFootnote');return _0x41ff37=>{const {t:t}=_0x41ff37,_0x164a45=new _0x29aa7a(_0x41ff37),_0xbda563=_0x164a45 instanceof _0x3b0c15;return _0x164a45['bind']('isEnabled')['to'](_0x1addde,'isEnabled'),_0x164a45['set']({'label':t(_0xbda563?'Footnote':'Insert\x20footnote'),'icon':_0x11833d,'tooltip':!0x0}),_0x164a45['on']('execute',()=>{_0x1addde['execute'](),_0x4ba400['editing']['view']['focus']();}),_0x164a45;};}class lt extends _0x29e4b9{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 _0x105de7{['refresh'](){const {editor:_0x5a753a}=this,_0x418dd9=_0x5a753a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x418dd9,this['value']=_0x418dd9?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x465aa9}){const {editor:_0x4a7f8a}=this,_0x3896c0=_0x4a7f8a['plugins']['get'](f),_0x3abef9=_0x3896c0['getFootnotesDefinitionsObjectElement']();_0x3abef9&&W['includes'](_0x465aa9)&&_0x4a7f8a['model']['change'](_0x25436d=>{_0x25436d['setAttribute']('footnotesListStyle',_0x465aa9,_0x3abef9),_0x3896c0['_updateFootnotesCounters'](_0x25436d);});}}class C extends _0x105de7{['refresh'](){const {editor:_0xd1e54b}=this,_0x17cd83=_0xd1e54b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x17cd83,this['value']=_0x17cd83?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1a52e5}){const {editor:_0x32cfca}=this,_0x501c12=_0x32cfca['plugins']['get'](f),_0x2f550d=_0x501c12['getFootnotesDefinitionsObjectElement']();_0x2f550d&&Number['isInteger'](_0x1a52e5)&&_0x32cfca['model']['change'](_0x352778=>{_0x352778['setAttribute']('footnotesListStart',_0x1a52e5,_0x2f550d),_0x501c12['_updateFootnotesCounters'](_0x352778);});}}class P extends _0x29e4b9{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f5e85}=this;_0x4f5e85['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4f5e85['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4f5e85['commands']['add']('footnotesStyle',new S(_0x4f5e85)),_0x4f5e85['commands']['add']('footnotesStart',new C(_0x4f5e85)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x32746e}=this,{schema:_0x25a4ab}=_0x32746e['model'];_0x25a4ab['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1e215e}=this,{conversion:_0x39f58d,model:_0x3c2a8b}=_0x1e215e,{schema:_0x52c642}=_0x3c2a8b;_0x39f58d['for']('upcast')['add'](_0x254305=>{_0x254305['on']('element:ol',(_0x57a313,_0x561e04,_0x46c91a)=>{const _0x29a6ec=_0x561e04['viewItem'],_0x7fa1a2=_0x561e04['modelCursor']?.['parent'];_0x29a6ec['hasClass']('footnotes-list')&&_0x7fa1a2?.['is']('element','footnotesDefinitions')&&(function(_0x369719,_0x23127a,_0x215386,_0x1b1d06){if(!_0x1b1d06['checkAttribute'](_0x23127a,'footnotesListStart'))return;let _0x3f8c7e=0x1;const _0xb3548b=_0x215386['consumable']['consume'](_0x369719,{'attributes':'start'});if(_0xb3548b){const _0x38b16b=Number['parseInt'](_0x369719['getAttribute']('start'),0xa);Number['isNaN'](_0x38b16b)||(_0x3f8c7e=_0x38b16b);}!_0xb3548b&&_0x23127a['hasAttribute']('footnotesListStart')||_0x215386['writer']['setAttribute']('footnotesListStart',_0x3f8c7e,_0x23127a);}(_0x29a6ec,_0x7fa1a2,_0x46c91a,_0x52c642),function(_0x49a6ba,_0x573018,_0x771c42,_0x2332fe){if(!_0x2332fe['checkAttribute'](_0x573018,'footnotesListStyle'))return;let _0xcced0b='decimal',_0x233d08=!0x1;if(_0x771c42['consumable']['consume'](_0x49a6ba,{'attributes':'type'})){const _0x11eba3={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x49a6ba['getAttribute']('type')];_0x11eba3&&(_0xcced0b=_0x11eba3),_0x233d08=!0x0;}_0x771c42['consumable']['consume'](_0x49a6ba,{'styles':'list-style-type'})&&(_0xcced0b=function(_0x21e109){switch(_0x21e109){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x21e109;}}(_0x49a6ba['getStyle']('list-style-type')),_0x233d08=!0x0),!_0x233d08&&_0x573018['hasAttribute']('footnotesListStyle')||_0x771c42['writer']['setAttribute']('footnotesListStyle',_0xcced0b,_0x573018);}(_0x29a6ec,_0x7fa1a2,_0x46c91a,_0x52c642));});}),_0x39f58d['for']('downcast')['add'](_0x1628a7=>{_0x1628a7['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x876e19,_0x2b42ea,_0x2bf840)=>{if(!_0x2bf840['consumable']['consume'](_0x2b42ea['item'],_0x876e19['name']))return;const _0x535dbf=M(_0x2b42ea['item'],_0x2bf840['mapper']),{attributeNewValue:_0xef7b51}=_0x2b42ea;null==_0xef7b51||0x1===_0xef7b51?_0x2bf840['writer']['removeAttribute']('start',_0x535dbf):_0x2bf840['writer']['setAttribute']('start',String(_0xef7b51),_0x535dbf);}),_0x1628a7['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xc8994e,_0x2b1787,_0x126921)=>{if(!_0x126921['consumable']['consume'](_0x2b1787['item'],_0xc8994e['name']))return;const _0x562f91=M(_0x2b1787['item'],_0x126921['mapper']),{attributeNewValue:_0x1f64c3}=_0x2b1787;_0x1f64c3&&'decimal'!==_0x1f64c3?_0x126921['writer']['setStyle']('list-style-type',_0x1f64c3,_0x562f91):_0x126921['writer']['removeStyle']('list-style-type',_0x562f91);});});}['_definePostfixer'](){const {editor:_0x3a3821}=this,{model:_0x3edf56}=_0x3a3821,_0x555e29=_0x3a3821['plugins']['get'](f),_0x3ef4e5=this['_getDefaultListStyle'](),_0x99d3a4=this['_getDefaultStartIndex']();_0x3edf56['document']['registerPostFixer'](_0x35b54f=>{const _0x2ab9a5=_0x3edf56['document']['differ']['getChanges']();let _0xc162cb=!0x1;for(const _0x38a86f of _0x2ab9a5){if('insert'!==_0x38a86f['type']||'$text'===_0x38a86f['name'])continue;const _0x31b3e5=_0x3edf56['createRangeOn'](_0x38a86f['position']['nodeAfter']);for(const _0x10d779 of _0x31b3e5['getItems']())_0x10d779['is']('element','footnotesDefinitions')&&(!_0x10d779['hasAttribute']('footnotesListStart')&&_0x3edf56['schema']['checkAttribute'](_0x10d779,'footnotesListStart')&&(_0x35b54f['setAttribute']('footnotesListStart',_0x99d3a4,_0x10d779),_0xc162cb=!0x0),!_0x10d779['hasAttribute']('footnotesListStyle')&&_0x3edf56['schema']['checkAttribute'](_0x10d779,'footnotesListStyle')&&(_0x35b54f['setAttribute']('footnotesListStyle',_0x3ef4e5,_0x10d779),_0xc162cb=!0x0));}return _0xc162cb&&_0x555e29['_updateFootnotesCounters'](_0x35b54f),_0xc162cb;});}['_defineFormatter'](){const {editor:_0x5f29a0}=this;_0x5f29a0['plugins']['get'](f)['setFootnoteFormatter'](_0x391bf3=>this['_formatFootnoteListValue'](_0x391bf3));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xe4b938,value:_0x5ed2a0,digits:_0x13e3c0}){const _0x5019a2=_0xe4b938['getAttribute']('footnotesListStyle'),_0x49610b=_0xe4b938['getAttribute']('footnotesListStart'),_0x136daf=Math['floor'](_0x5ed2a0)+(_0x49610b??0x1)-0x1;switch(_0x5019a2){case'decimal-leading-zero':return function(_0x5c51f2,_0x4f9e9){return String(_0x5c51f2)['padStart'](_0x4f9e9,'0');}(_0x136daf,Math['max'](0x2,_0x13e3c0));case'lower-alpha':case'lower-latin':return N(_0x136daf,!0x1);case'upper-alpha':case'upper-latin':return N(_0x136daf,!0x0);case'lower-roman':return X(_0x136daf,!0x1);case'upper-roman':return X(_0x136daf,!0x0);default:return String(_0x136daf);}}}function M(_0x7a3804,_0x41d78b){const _0x25da0e=_0x41d78b['toViewElement'](_0x7a3804);return Array['from'](_0x25da0e['getChildren']())['find'](_0x290e78=>_0x290e78['is']('element','ol')&&_0x290e78['hasClass']('footnotes-list'));}function N(_0x55e28d,_0x149d4a){let _0x4b6269='',_0x378f6b=_0x55e28d;for(;_0x378f6b>0x0;){const _0x1c7180=(_0x378f6b-0x1)%0x1a;_0x4b6269=String['fromCharCode'](0x61+_0x1c7180)+_0x4b6269,_0x378f6b=Math['floor']((_0x378f6b-0x1)/0x1a);}return _0x149d4a?_0x4b6269['toUpperCase']():_0x4b6269;}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(_0x3a0873,_0x366648){let _0x5ea53d='',_0x327126=_0x3a0873;for(const {value:_0x5363cc,numeral:_0x4f7b8b}of V)for(;_0x327126>=_0x5363cc;)_0x5ea53d+=_0x4f7b8b,_0x327126-=_0x5363cc;return _0x366648?_0x5ea53d:_0x5ea53d['toLowerCase']();}class J extends _0x3bdf1a{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1d6abf();['focusCycler'];constructor(_0xcd5192,{styleButtonViews:_0x49c273,styleGridAriaLabel:_0x5260e0}){super(_0xcd5192),(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'](_0x49c273,_0x5260e0),[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 _0x5328c4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5328c4['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 _0x4be0e1=_0x2b038d=>_0x2b038d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4be0e1),this['keystrokes']['set']('arrowleft',_0x4be0e1),this['keystrokes']['set']('arrowup',_0x4be0e1),this['keystrokes']['set']('arrowdown',_0x4be0e1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2d8a5f,_0x510814){const _0x296207=new _0x3bdf1a(this['locale']);return _0x296207['children']=_0x296207['createCollection'](),_0x296207['children']['addMany'](_0x2d8a5f),_0x296207['setTemplate']({'tag':'div','attributes':{'aria-label':_0x510814,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x296207['children']}),_0x296207['children']['delegate']('execute')['to'](this),_0x296207['focus']=function(){for(const _0xe97a8c of this['children'])if(_0xe97a8c instanceof _0x33ea5c&&_0xe97a8c['isOn'])return void _0xe97a8c['focus']();this['children']['first']['focus']();},_0x296207['focusTracker']=new rt(),_0x296207['keystrokes']=new nt(),_0x296207['render'](),_0x296207['keystrokes']['listenTo'](_0x296207['element']),this['children']['add'](_0x296207),_0x296207;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41f07e=this['_createStartIndexPropertyView'](),_0x26ecd9=[_0x41f07e],_0x3c37cf=new it(this['locale'],_0x26ecd9);return _0x3c37cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c37cf['buttonView']['bind']('isEnabled')['toMany'](_0x26ecd9,'isEnabled',(..._0x5cde78)=>_0x5cde78['some'](_0x459cc2=>_0x459cc2)),_0x3c37cf['buttonView']['on']('change:isEnabled',(_0xe3c025,_0x4316f3,_0x4179a1)=>{_0x4179a1||(_0x3c37cf['isCollapsed']=!0x0);}),this['children']['add'](_0x3c37cf),[_0x41f07e,_0x3c37cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1adb91=new et(this['locale'],ot);return _0x1adb91['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1adb91['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1adb91['fieldView']['on']('input',()=>{const _0x134b04=_0x1adb91['fieldView']['element'],_0x1c8f23=_0x134b04['valueAsNumber'];Number['isNaN'](_0x1c8f23)?_0x1adb91['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x134b04['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1c8f23}):_0x1adb91['errorText']=t(_0x1c8f23<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1adb91;}}class j extends _0x29e4b9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x272901,_0x3af8ff];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x166be3}=this,{componentFactory:_0x2a56e4}=_0x166be3['ui'];_0x166be3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2a56e4['add']('footnotesStyle',function(_0x52a92f){return _0x234c56=>{const {t:t}=_0x234c56,_0x10da41=_0x52a92f['commands']['get']('footnotesStyle'),_0x46d360=_0x3945d5(_0x234c56),{buttonView:_0x1a7089}=_0x46d360;return _0x46d360['class']='ck-footnotes-styles-dropdown',_0x46d360['bind']('isEnabled')['to'](_0x10da41,'isEnabled'),_0x1a7089['set']({'label':t('Footnotes\x20style'),'icon':_0x11833d,'tooltip':!0x0}),_0x46d360['once']('change:isOpen',()=>{const _0x8cc0b3=function({editor:_0xfdad6,dropdownView:_0x594502}){const {t:t}=_0xfdad6['locale'],_0x51efb9=t('Footnotes\x20definitions\x20styles'),_0x2cb145=function(_0x56023f){const t=_0x56023f['locale']['t'],_0x5309ad=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1a91c9},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x442f15},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5a7583},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x770039},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x424893},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x17a52b}];return _0x5309ad['map'](function(_0xdd2d05){const _0x39d52b=_0xdd2d05['locale'];return({label:_0xa7d00a,icon:_0x488e9f,tooltip:_0x1d860b,style:_0x2fdfbc})=>{const _0x4748c7=_0xdd2d05['commands']['get']('footnotesStyle'),_0x1a5ee9=new _0x33ea5c(_0x39d52b);return _0x1a5ee9['set']({'label':_0xa7d00a,'icon':_0x488e9f,'tooltip':_0x1d860b}),_0x1a5ee9['bind']('isOn')['to'](_0x4748c7,'value',_0x310ee1=>_0x310ee1===_0x2fdfbc),_0x1a5ee9['bind']('isEnabled')['to'](_0x4748c7,'isEnabled'),_0x1a5ee9['on']('execute',()=>{_0xdd2d05['execute']('footnotesStyle',{'value':_0x2fdfbc}),_0xdd2d05['editing']['view']['focus']();}),_0x1a5ee9;};}(_0x56023f));}(_0xfdad6),_0x5eae77=new J(_0xfdad6['locale'],{'styleGridAriaLabel':_0x51efb9,'styleButtonViews':_0x2cb145}),_0x4d41f5=_0xfdad6['commands']['get']('footnotesStart');return _0x5eae77['startIndexFieldView']['bind']('isEnabled')['to'](_0x4d41f5),_0x5eae77['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4d41f5),_0x5eae77['on']('footnotesListStart',(_0xc6f51d,_0x4f2b18)=>{_0xfdad6['execute']('footnotesStart',{'value':_0x4f2b18['startIndex']});}),_0x5eae77['delegate']('execute')['to'](_0x594502),_0x5eae77;}({'editor':_0x52a92f,'dropdownView':_0x46d360});_0x46d360['panelView']['children']['add'](_0x8cc0b3);}),_0x46d360;};}(_0x166be3));}['afterInit'](){const {editor:_0xb2860b}=this,{t:t}=_0xb2860b['locale'],_0xa91614=_0xb2860b['plugins']['get'](_0x3af8ff),{defaultPositions:_0x2f9275}=_0x522a04;_0xa91614['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xb2860b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3b916a=>{let _0x2158df=_0x3b916a['getFirstPosition']()?.['parent'];return _0x2158df?.['is']('$text')&&(_0x2158df=_0x2158df['parent']),_0x2158df?.['is']('element')?_0x2158df['findAncestor'](Q):null;},'positions':[_0x2f9275['southArrowNorth'],_0x2f9275['southArrowNorthMiddleWest'],_0x2f9275['southArrowNorthMiddleEast'],_0x2f9275['southArrowNorthWest'],_0x2f9275['southArrowNorthEast'],_0x2f9275['northArrowSouth'],_0x2f9275['northArrowSouthMiddleWest'],_0x2f9275['northArrowSouthMiddleEast'],_0x2f9275['northArrowSouthWest'],_0x2f9275['northArrowSouthEast'],_0x2f9275['viewportStickyNorth']]});}}class ft extends _0x29e4b9{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':_0x156bbf=>0x1!=_0x156bbf}};
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':_0x1df589=>0x1!=_0x1df589}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xca4484=>{const {af:{dictionary:_0x542750,getPluralForm:_0x5cb715}}={'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':_0xf03f98=>0x1!=_0xf03f98}};_0xca4484['af']||={'dictionary':{},'getPluralForm':null},_0xca4484['af']['dictionary']=Object['assign'](_0xca4484['af']['dictionary'],_0x542750),_0xca4484['af']['getPluralForm']=_0x5cb715;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31a59e=>{const {af:{dictionary:_0x276600,getPluralForm:_0xf036a}}={'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':_0x4667b4=>0x1!=_0x4667b4}};_0x31a59e['af']||={'dictionary':{},'getPluralForm':null},_0x31a59e['af']['dictionary']=Object['assign'](_0x31a59e['af']['dictionary'],_0x276600),_0x31a59e['af']['getPluralForm']=_0xf036a;})(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':_0x24fe88=>0x0==_0x24fe88?0x0:0x1==_0x24fe88?0x1:0x2==_0x24fe88?0x2:_0x24fe88%0x64>=0x3&&_0x24fe88%0x64<=0xa?0x3:_0x24fe88%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':_0x420629=>0x0==_0x420629?0x0:0x1==_0x420629?0x1:0x2==_0x420629?0x2:_0x420629%0x64>=0x3&&_0x420629%0x64<=0xa?0x3:_0x420629%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e9299=>{const {ar:{dictionary:_0x285929,getPluralForm:_0x3a743a}}={'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':_0x49f6b7=>0x0==_0x49f6b7?0x0:0x1==_0x49f6b7?0x1:0x2==_0x49f6b7?0x2:_0x49f6b7%0x64>=0x3&&_0x49f6b7%0x64<=0xa?0x3:_0x49f6b7%0x64>=0xb?0x4:0x5}};_0x4e9299['ar']||={'dictionary':{},'getPluralForm':null},_0x4e9299['ar']['dictionary']=Object['assign'](_0x4e9299['ar']['dictionary'],_0x285929),_0x4e9299['ar']['getPluralForm']=_0x3a743a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3fc265=>{const {ar:{dictionary:_0x2f8cd5,getPluralForm:_0x1f6d75}}={'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':_0x18b8be=>0x0==_0x18b8be?0x0:0x1==_0x18b8be?0x1:0x2==_0x18b8be?0x2:_0x18b8be%0x64>=0x3&&_0x18b8be%0x64<=0xa?0x3:_0x18b8be%0x64>=0xb?0x4:0x5}};_0x3fc265['ar']||={'dictionary':{},'getPluralForm':null},_0x3fc265['ar']['dictionary']=Object['assign'](_0x3fc265['ar']['dictionary'],_0x2f8cd5),_0x3fc265['ar']['getPluralForm']=_0x1f6d75;})(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':_0x37f283=>0x1!=_0x37f283}};
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':_0xebcd2f=>0x1!=_0xebcd2f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ff9d4=>{const {ast:{dictionary:_0x1e3bdf,getPluralForm:_0x5badab}}={'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':_0x3dade2=>0x1!=_0x3dade2}};_0x4ff9d4['ast']||={'dictionary':{},'getPluralForm':null},_0x4ff9d4['ast']['dictionary']=Object['assign'](_0x4ff9d4['ast']['dictionary'],_0x1e3bdf),_0x4ff9d4['ast']['getPluralForm']=_0x5badab;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2d3cb4=>{const {ast:{dictionary:_0x5b0276,getPluralForm:_0xe04bdc}}={'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':_0x161fb5=>0x1!=_0x161fb5}};_0x2d3cb4['ast']||={'dictionary':{},'getPluralForm':null},_0x2d3cb4['ast']['dictionary']=Object['assign'](_0x2d3cb4['ast']['dictionary'],_0x5b0276),_0x2d3cb4['ast']['getPluralForm']=_0xe04bdc;})(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':_0x27a168=>0x1!=_0x27a168}};
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':_0xff5b83=>0x1!=_0xff5b83}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d0feb=>{const {az:{dictionary:_0x39c0e4,getPluralForm:_0xa012f1}}={'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':_0x538502=>0x1!=_0x538502}};_0x1d0feb['az']||={'dictionary':{},'getPluralForm':null},_0x1d0feb['az']['dictionary']=Object['assign'](_0x1d0feb['az']['dictionary'],_0x39c0e4),_0x1d0feb['az']['getPluralForm']=_0xa012f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e2e54=>{const {az:{dictionary:_0x4b1df2,getPluralForm:_0x28f139}}={'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':_0x41808e=>0x1!=_0x41808e}};_0x1e2e54['az']||={'dictionary':{},'getPluralForm':null},_0x1e2e54['az']['dictionary']=Object['assign'](_0x1e2e54['az']['dictionary'],_0x4b1df2),_0x1e2e54['az']['getPluralForm']=_0x28f139;})(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':_0x50db88=>_0x50db88%0xa==0x1&&_0x50db88%0x64!=0xb?0x0:_0x50db88%0xa>=0x2&&_0x50db88%0xa<=0x4&&(_0x50db88%0x64<0xa||_0x50db88%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':_0x50cdfb=>_0x50cdfb%0xa==0x1&&_0x50cdfb%0x64!=0xb?0x0:_0x50cdfb%0xa>=0x2&&_0x50cdfb%0xa<=0x4&&(_0x50cdfb%0x64<0xa||_0x50cdfb%0x64>=0x14)?0x1:0x2}};