@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251215.0 → 0.0.0-nightly-20251216.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 _0x4fba34,Command as _0x5b9a56}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0xffbc4c,isWidget as _0x12a1ac,toWidgetEditable as _0x51fa8a,WidgetToolbarRepository as _0x109edf}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x455292,logWarning as _0x514898,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4e3d55,ClickObserver as _0x4d8584}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x232d4e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5b0713,ButtonView as _0x322c8b,View as _0x4adec6,ViewCollection as _0x2db1a4,FocusCycler as _0x53791e,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x5a2f5f,BalloonPanelView as _0x27a844,createDropdown as _0x5d3ef3}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x553b12,IconListStyleDecimal as _0x8c69bb,IconListStyleDecimalLeadingZero as _0x5283ef,IconListStyleLowerRoman as _0xeb6c14,IconListStyleUpperRoman as _0x9cc0fe,IconListStyleLowerLatin as _0x2dc4b7,IconListStyleUpperLatin as _0x2256b8}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4f94e9,_0x5714fc){this['_model']=_0x4f94e9,this['_elementName']=_0x5714fc['elementName'],this['_getElementKey']=_0x5714fc['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x12546b){const _0x3cdbed=new Set(),_0x225851=new Map();for(const _0x1e1e01 of _0x12546b){if('insert'===_0x1e1e01['type']&&'$text'!==_0x1e1e01['name']&&_0x1e1e01['position']['nodeAfter']){const _0x51acae=this['_model']['createRangeOn'](_0x1e1e01['position']['nodeAfter']);for(const _0x59f680 of _0x51acae['getItems']()){if(!_0x59f680['is']('element',this['_elementName']))continue;const _0x7b7ae6=this['_getElementKey'](_0x59f680);_0x225851['has'](_0x7b7ae6)||_0x225851['set'](_0x7b7ae6,[]),_0x225851['get'](_0x7b7ae6)['push'](_0x59f680);}}if('remove'===_0x1e1e01['type']&&_0x1e1e01['name']===this['_elementName']){const _0x90979c=this['_getElementKey']({'getAttribute':_0x3f4c1c=>_0x1e1e01['attributes']['get'](_0x3f4c1c)});_0x3cdbed['add'](_0x90979c);}}for(const [_0x227e39,_0x32abc]of this['_trackedElements'])'$graveyard'===_0x32abc['root']['rootName']&&_0x3cdbed['add'](_0x227e39);for(const _0x145630 of _0x3cdbed)this['_trackedElements']['delete'](_0x145630);for(const [_0x5bf4e4,_0x4013b3]of _0x225851)this['_trackedElements']['set'](_0x5bf4e4,_0x4013b3[_0x4013b3['length']-0x1]);const _0x3ca01f=new Set();for(const [_0x1896a4,_0x30c18d]of _0x225851)_0x3cdbed['has'](_0x1896a4)&&(_0x3ca01f['add'](_0x30c18d[0x0]),_0x30c18d['length']>0x1?_0x225851['set'](_0x1896a4,_0x30c18d['slice'](0x1)):_0x225851['delete'](_0x1896a4),_0x3cdbed['delete'](_0x1896a4));return{'removed':Array['from'](_0x3cdbed),'inserted':Array['from'](_0x225851['values']())['flat'](),'moved':Array['from'](_0x3ca01f)};}}class f extends _0x4fba34{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x455332){super(_0x455332),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3e0ee6=>_0x3e0ee6['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4b5421=>_0x4b5421['getAttribute']('footnoteId')});}['init'](){const {editor:_0x42c5e4}=this,{model:_0x394624,data:_0x48aaa0}=_0x42c5e4;_0x394624['document']['registerPostFixer'](_0x6bbb9a=>{const _0x5a9a00=_0x394624['document']['differ']['getChanges']();let _0x2ce0ab=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x6bbb9a,_0x5a9a00)&&(_0x2ce0ab=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x6bbb9a,_0x5a9a00)&&(_0x2ce0ab=!0x0),this['_handleFootnoteReferencesChanges'](_0x6bbb9a,_0x5a9a00)&&(_0x2ce0ab=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x6bbb9a)&&(_0x2ce0ab=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x6bbb9a)&&(_0x2ce0ab=!0x0),this['_sortFootnoteDefinitions'](_0x6bbb9a)&&(_0x2ce0ab=!0x0),_0x2ce0ab;}),this['listenTo'](_0x394624['document'],'change:data',()=>{_0x394624['enqueueChange']({'isUndoable':!0x1},_0x125acc=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x125acc);});},{'priority':'low'}),this['listenTo'](_0x48aaa0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x446e02){return this['_footnotes']['find'](_0x65fe9a=>_0x65fe9a['id']===_0x446e02)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5c7589){this['_footnoteFormatter']=_0x5c7589;}['_updateFootnotesCounters'](_0x481eb7,_0x4524f9=0x0){let _0xd84cd6=!0x1;for(let _0x3ffbe5=_0x4524f9;_0x3ffbe5<this['_footnotes']['length'];_0x3ffbe5++)this['_updateFootnoteRefCounter'](_0x481eb7,_0x3ffbe5)&&(_0xd84cd6=!0x0);return _0xd84cd6;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5a5d9b,_0x2eeaf4){const _0x123929=_0x5a5d9b['createElement']('footnotesDefinitions',{});return _0x5a5d9b['append'](_0x123929,_0x2eeaf4),this['_footnotesDefinitions']=_0x123929,_0x123929;}['_ensureFootnotesDefinitionsContainerExists'](_0x62c806){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xca701=this['_footnotes'][0x0]['reference']['root'],_0x27dcd3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x62c806,_0xca701);for(const _0x15ccdc of this['_footnotes'])_0x15ccdc['definition']['parent']||_0x62c806['insert'](_0x15ccdc['definition'],_0x27dcd3,'end');this['_updateFootnotesCounters'](_0x62c806);}['_handleFootnotesDefinitionsObjectChanges'](_0x3b0a1d,_0x48ef7c){let _0x38178a=!0x1;const {inserted:_0x59e970,removed:_0x593369,moved:_0x13303a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x48ef7c);if(_0x13303a['length']&&(this['_footnotesDefinitions']=_0x13303a[0x0]),_0x59e970['length']){if(_0x59e970['length']>0x1||this['_footnotesDefinitions']&&_0x59e970['some'](_0x15c53d=>_0x15c53d!==this['_footnotesDefinitions'])){const _0x416e96=_0x3b0a1d['createElement']('footnotesDefinitions',{}),_0x27cf19=[];this['_footnotesDefinitions']&&_0x27cf19['push'](this['_footnotesDefinitions']),_0x27cf19['push'](..._0x59e970),_0x3b0a1d['insert'](_0x416e96,_0x27cf19[0x0],'before');for(const _0x261e2f of _0x27cf19)_0x3b0a1d['move'](_0x3b0a1d['createRangeIn'](_0x261e2f),_0x3b0a1d['createPositionAt'](_0x416e96,'end')),_0x3b0a1d['remove'](_0x261e2f);this['_footnotesDefinitions']=_0x416e96,this['_updateFootnotesCounters'](_0x3b0a1d),_0x38178a=!0x0;}else this['_footnotesDefinitions']=_0x59e970[0x0];}if(_0x593369['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x125530 of this['_footnotes'])_0x3b0a1d['remove'](_0x125530['reference']),_0x38178a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x38178a;}['_handleFootnoteDefinitionsChanges'](_0x393bea,_0x1323df){let _0x1eea6c=!0x1;const _0x528555=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3a90a6,moved:_0x5698de}=this['_footnoteDefsTracker']['getChanges'](_0x1323df);for(const _0x68432a of[..._0x5698de,..._0x3a90a6]){const _0x451120=_0x68432a['getAttribute']('footnoteId'),_0x24f137=this['getFootnote'](_0x451120);_0x24f137&&(_0x24f137['definition']=_0x68432a),_(_0x393bea,_0x528555,_0x68432a)&&(_0x1eea6c=!0x0);}return _0x1eea6c;}['_handleFootnoteReferencesChanges'](_0x41868f,_0x4f2c09){let _0xcefeb7=!0x1;const {removed:_0x290276,inserted:_0x521ec5,moved:_0x94f028}=this['_footnoteRefsTracker']['getChanges'](_0x4f2c09);for(const _0x2584b8 of _0x290276)this['_handleRemoveFootnoteReferenceById'](_0x41868f,_0x2584b8)&&(_0xcefeb7=!0x0);for(const _0xfbf3a4 of _0x521ec5)this['_handleInsertedFootnoteReference'](_0x41868f,_0xfbf3a4)&&(_0xcefeb7=!0x0);for(const _0x25eecb of _0x94f028)this['_handleMovedFootnoteReference'](_0x41868f,_0x25eecb)&&(_0xcefeb7=!0x0);return _0xcefeb7;}['_handleFootnotesDefinitionsObjectSync'](_0xd130a){if(!this['_footnotesDefinitions'])return!0x1;let _0x1a14fc=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5c1b7f=[];for(const _0x5532af of this['_footnotesDefinitions']['getChildren']()){const _0x36ea54=_0x5532af['getAttribute']('footnoteId');this['getFootnote'](_0x36ea54)||(_0x5c1b7f['unshift'](_0x5532af),_0x1a14fc=!0x0);}for(const _0x180b68 of _0x5c1b7f)_0xd130a['remove'](_0x180b68);}const _0x2d6681=new Set(),_0x396ea2=[];for(const _0x504bb5 of this['_footnotesDefinitions']['getChildren']()){const _0x4a9fb9=_0x504bb5['getAttribute']('footnoteId');_0x2d6681['has'](_0x4a9fb9)?(_0x396ea2['unshift'](_0x504bb5),_0x1a14fc=!0x0):_0x2d6681['add'](_0x4a9fb9);}for(const _0xc48f08 of _0x396ea2)_0xd130a['remove'](_0xc48f08);return this['_footnotesDefinitions']['childCount']||(_0xd130a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1a14fc=!0x0),_0x1a14fc;}['_handleInsertedFootnoteReference'](_0x265a64,_0xc7497b){if(this['_footnotes']['find'](_0x84942b=>_0x84942b['reference']===_0xc7497b))return!0x1;let _0x84e2dd=!0x1;const _0x576c64=_0xc7497b['getAttribute']('footnoteId'),_0xe2bd9d=this['_footnotes']['findIndex'](_0x25776a=>_0x25776a['id']===_0x576c64);-0x1!==_0xe2bd9d&&(_0x265a64['remove'](this['_footnotes'][_0xe2bd9d]['reference']),this['_footnotes']['splice'](_0xe2bd9d,0x1),_0x84e2dd=!0x0);let _0x5f28bd=this['_footnotesDefinitions']?function(_0x3f7a1d,_0x3a5ad1){for(const _0x41244a of _0x3f7a1d['getChildren']())if(_0x41244a['getAttribute']('footnoteId')===_0x3a5ad1)return _0x41244a;return null;}(this['_footnotesDefinitions'],_0x576c64):null;_0x5f28bd||(_0x5f28bd=_0x265a64['createElement']('footnoteDefinition',{'footnoteId':_0x576c64}),this['_footnotesDefinitions']&&(_0x265a64['insert'](_0x5f28bd,this['_footnotesDefinitions'],'end'),_0x84e2dd=!0x0));const _0x56ae11={'id':_0x576c64,'reference':_0xc7497b,'definition':_0x5f28bd},_0x296c17=I(this['editor']['model'],this['_footnotes'],_0xc7497b);this['_footnotes']['splice'](_0x296c17,0x0,_0x56ae11);let _0x1f951e=_0x296c17;return-0x1!==_0xe2bd9d&&(_0x1f951e=Math['min'](_0x296c17,_0xe2bd9d)),this['_updateFootnotesCounters'](_0x265a64,_0x1f951e)&&(_0x84e2dd=!0x0),_0x84e2dd;}['_handleRemoveFootnoteReferenceById'](_0x562367,_0x135c96){const _0x2760e3=this['_footnotes']['findIndex'](_0x405a4e=>_0x405a4e['id']===_0x135c96);if(-0x1===_0x2760e3)return!0x1;let _0x15d8b9=!0x1;const _0x42ad4b=this['_footnotes'][_0x2760e3];return'$graveyard'!==_0x42ad4b['definition']['root']['rootName']&&(_0x562367['remove'](_0x42ad4b['definition']),_0x15d8b9=!0x0),this['_footnotes']['splice'](_0x2760e3,0x1),this['_updateFootnotesCounters'](_0x562367,_0x2760e3)&&(_0x15d8b9=!0x0),_0x15d8b9;}['_handleMovedFootnoteReference'](_0x26a27f,_0xc31a8a){const _0x2e2212=_0xc31a8a['getAttribute']('footnoteId'),_0x2e4f23=this['_footnotes']['findIndex'](_0x5ec3ec=>_0x5ec3ec['id']===_0x2e2212),_0x7b911a=this['_footnotes'][_0x2e4f23];let _0x25a699=!0x1;_0x7b911a['reference']=_0xc31a8a,this['_footnotes']['splice'](_0x2e4f23,0x1);const _0x5ce51f=I(this['editor']['model'],this['_footnotes'],_0xc31a8a);return this['_footnotes']['splice'](_0x5ce51f,0x0,_0x7b911a),this['_updateFootnotesCounters'](_0x26a27f,Math['min'](_0x2e4f23,_0x5ce51f))&&(_0x25a699=!0x0),_0x25a699;}['_updateFootnoteRefCounter'](_0x2bff28,_0x2673ca){if(!this['_footnotesDefinitions'])return!0x1;const _0x12b348=this['_footnotes'][_0x2673ca];let _0x112b51;return _0x112b51=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x12b348,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2673ca+0x1}):String(_0x2673ca+0x1),_0x12b348['reference']['getAttribute']('footnoteCounter')!=_0x112b51&&(_0x2bff28['setAttribute']('footnoteCounter',_0x112b51,_0x12b348['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1bfc9e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x49946c,_0x4261bf){if(_0x49946c['length']!==_0x4261bf['length'])return!0x1;for(let _0x223973=0x0;_0x223973<_0x49946c['length'];_0x223973++)if(_0x49946c[_0x223973]!==_0x4261bf[_0x223973])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x41d368=>_0x41d368['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x462542=>_0x462542['getAttribute']('footnoteId'))))return!0x1;let _0x5848d3=!0x1;for(let _0x3b6850=0x0;_0x3b6850<this['_footnotes']['length'];_0x3b6850++){const _0x3f2e9c=this['_footnotes'][_0x3b6850],_0xa55e1e=_0x1bfc9e['createPositionBefore'](_0x3f2e9c['definition']),_0x2d4161=_0x1bfc9e['createPositionAt'](this['_footnotesDefinitions'],_0x3b6850);_0xa55e1e['isEqual'](_0x2d4161)||(_0x1bfc9e['move'](_0x1bfc9e['createRangeOn'](_0x3f2e9c['definition']),_0x2d4161),_0x5848d3=!0x0);}return _0x5848d3;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1d826d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x30efcb}=this['editor'];let _0x4ff6b6=!0x1;for(let _0x44e34d=0x0;_0x44e34d<this['_footnotes']['length']-0x1;_0x44e34d++){const _0x321902=this['_footnotes'][_0x44e34d],_0x34f032=this['_footnotes'][_0x44e34d+0x1],_0xc95fdb=_0x30efcb['createPositionBefore'](_0x321902['reference']),_0x278a9b=_0x30efcb['createPositionBefore'](_0x34f032['reference']);'after'===_0xc95fdb['compareWith'](_0x278a9b)&&(this['_handleMovedFootnoteReference'](_0x1d826d,_0x321902['reference']),_0x44e34d=-0x1,_0x4ff6b6=!0x0);}return _0x4ff6b6;}}function _(_0x1048d7,_0x2804bf,_0x1c5bdd){if(_0x1c5bdd['childCount'])return!0x1;const _0x2b06ff=_0x2804bf?'paragraph':'footnoteInlineContent';return _0x1048d7['insert'](_0x1048d7['createElement'](_0x2b06ff),_0x1c5bdd),!0x0;}function I(_0x307a60,_0x223403,_0x57dc24){if(0x0===_0x223403['length'])return 0x0;const _0x5e9855=_0x307a60['createPositionBefore'](_0x57dc24);for(let _0x1e7df3=0x0;_0x1e7df3<_0x223403['length'];_0x1e7df3++){const _0x60fb5e=_0x223403[_0x1e7df3],_0x57778c=_0x307a60['createPositionBefore'](_0x60fb5e['reference']);if('before'===_0x5e9855['compareWith'](_0x57778c))return _0x1e7df3;}const _0x5deaa2=_0x57dc24['root'];let _0x45445f=-0x1;for(let _0x4ea03b=_0x223403['length']-0x1;_0x4ea03b>=0x0;_0x4ea03b--)if(_0x223403[_0x4ea03b]['reference']['root']===_0x5deaa2){_0x45445f=_0x4ea03b;break;}if(-0x1!==_0x45445f)return _0x45445f+0x1;const _0xee155a=_0x307a60['document']['getRootNames'](),_0x469b0e=_0xee155a['indexOf'](_0x5deaa2['rootName']),_0x3d1786=_0xee155a[_0x469b0e+0x1];if(_0x3d1786){for(let _0x33328e=0x0;_0x33328e<_0x223403['length'];_0x33328e++)if(_0x223403[_0x33328e]['reference']['root']['rootName']===_0x3d1786)return _0x33328e;}return _0x223403['length'];}class m extends _0x5b9a56{['refresh'](){const _0x38cf1d=this['editor']['model']['document']['selection'],_0x308f20=this['_getPositionToInsertFootnote'](_0x38cf1d);this['isEnabled']=!!_0x308f20;}['execute'](_0x4c2f95){const {editor:_0x1d225e}=this,{model:_0x19bea1}=_0x1d225e,{selection:_0x1725f9}=_0x19bea1['document'],_0x1332cf=this['_getPositionToInsertFootnote'](_0x1725f9);if(!_0x1332cf)return;const _0x1bb3f3=_0x1d225e['plugins']['get']('FootnotesEditing'),_0x5a9a1c=_0x4c2f95?.['footnoteId']??_0x455292();!function(_0x18fc6f){return'string'==typeof _0x18fc6f&&_0x18fc6f['length']>0x0&&!/\s/['test'](_0x18fc6f)&&!/^\d/['test'](_0x18fc6f);}(_0x5a9a1c)?_0x514898('insert-footnote-command-executed-with-invalid-id'):(_0x19bea1['change'](_0x1a4cf5=>{const _0x417cd4=_0x1a4cf5['createElement']('footnoteRef',{'footnoteId':_0x5a9a1c});_0x19bea1['insertObject'](_0x417cd4,_0x1332cf,null);}),_0x1bb3f3['_moveSelectionToFootnoteDefinition'](_0x5a9a1c));}['_getPositionToInsertFootnote'](_0x32c03a){const {model:_0x451d07}=this['editor'],{schema:_0xf4bfd0}=_0x451d07,_0xf1c413=_0x32c03a['getFirstRange']();for(const _0x341c4d of _0xf1c413['getItems']())if(_0xf4bfd0['isBlock'](_0x341c4d)||_0xf4bfd0['isObject'](_0x341c4d))return null;const _0x5347b4=_0xf1c413['end'];return _0xf4bfd0['checkChild'](_0x5347b4,'footnoteRef')?_0x5347b4:null;}}class r extends _0x4fba34{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xdc6bf5}=this;_0xdc6bf5['config']['define']('footnotes.multiBlock',!0x0),_0xdc6bf5['commands']['add']('insertFootnote',new m(_0xdc6bf5)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5d548b){const _0x48c0c0=_0x5d350c([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]),_0x56e51a=0x47a28506,_0x58cf6b=0x47a5fefe^_0x56e51a,_0x23c720=window[_0x5d350c([0x44,0x61,0x74,0x65])][_0x5d350c([0x6e,0x6f,0x77])](),_0x506397=_0x5d548b[_0x5d350c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2157cf=new window[(_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cbb4d=>{_0x506397[_0x5d350c([0x6f,0x6e,0x63,0x65])](_0x5d350c([0x72,0x65,0x61,0x64,0x79]),_0x5cbb4d);}),_0x388484={[_0x5d350c([0x6b,0x74,0x79])]:_0x5d350c([0x45,0x43]),[_0x5d350c([0x75,0x73,0x65])]:_0x5d350c([0x73,0x69,0x67]),[_0x5d350c([0x63,0x72,0x76])]:_0x5d350c([0x50,0x2d,0x32,0x35,0x36]),[_0x5d350c([0x78])]:_0x5d350c([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]),[_0x5d350c([0x79])]:_0x5d350c([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]),[_0x5d350c([0x61,0x6c,0x67])]:_0x5d350c([0x45,0x53,0x32,0x35,0x36])},_0x5ba107=_0x506397[_0x5d350c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d350c([0x67,0x65,0x74])](_0x5d350c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c27fd(){let _0x5d9986,_0x10e66b=null,_0x33338c=null;try{if(_0x5ba107==_0x5d350c([0x47,0x50,0x4c]))return _0x5d350c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d9986=_0xb3e907(),!_0x5d9986)return _0x5d350c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d9986[_0x5d350c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33338c=_0xd5f274(_0x5d9986[_0x5d350c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d9986[_0x5d350c([0x6a,0x74,0x69])])),await _0xb59672()?_0x25aaa7()?_0x339e56()?_0x5d350c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x306754()?(_0x5d9986[_0x5d350c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d350c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x10e66b=_0x1ad75a(_0x5d350c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5d9986[_0x5d350c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d350c([0x74,0x72,0x69,0x61,0x6c])&&(_0x10e66b=_0x1ad75a(_0x5d350c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d6ebf()):_0x5d350c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d350c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d350c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d350c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x339e56(){const _0x3eec77=[_0x5d350c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d350c([0x74,0x72,0x69,0x61,0x6c])][_0x5d350c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9986[_0x5d350c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23c720/0x3e8:0xe10*_0x58cf6b;return _0x5d9986[_0x5d350c([0x65,0x78,0x70])]<_0x3eec77;}function _0x25aaa7(){const _0x534192=_0x5d9986[_0x5d350c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x534192&&(!!_0x534192[_0x5d350c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d350c([0x2a]))||!!_0x534192[_0x5d350c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d350c([0x46,0x4f,0x4f])));}function _0x306754(){const _0x5207fe=_0x5d9986[_0x5d350c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5207fe||0x0==_0x5207fe[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe27284}=new URL(window[_0x5d350c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5207fe[_0x5d350c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe27284))return!0x0;const _0x178060=_0xe27284[_0x5d350c([0x73,0x70,0x6c,0x69,0x74])](_0x5d350c([0x2e]));return _0x5207fe[_0x5d350c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x592fcc=>_0x592fcc[_0x5d350c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d350c([0x2a])))[_0x5d350c([0x6d,0x61,0x70])](_0x8fb476=>_0x8fb476[_0x5d350c([0x73,0x70,0x6c,0x69,0x74])](_0x5d350c([0x2e])))[_0x5d350c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x325a75=>_0x325a75[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x178060[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d350c([0x6d,0x61,0x70])](_0x2f7305=>Array(_0x178060[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f7305[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d350c([0x66,0x69,0x6c,0x6c])](_0x2f7305[0x0]===_0x5d350c([0x2a])?_0x5d350c([0x2a]):'')[_0x5d350c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f7305))[_0x5d350c([0x73,0x6f,0x6d,0x65])](_0x47a6cb=>_0x178060[_0x5d350c([0x65,0x76,0x65,0x72,0x79])]((_0x132357,_0x4768c8)=>_0x47a6cb[_0x4768c8]===_0x132357||_0x47a6cb[_0x4768c8]===_0x5d350c([0x2a])));}function _0x2d6ebf(){return _0x10e66b&&_0x33338c?new window[(_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29fb28,_0x1e17a6)=>{_0x10e66b[_0x5d350c([0x74,0x68,0x65,0x6e])](_0x29fb28,_0x1e17a6),_0x33338c[_0x5d350c([0x74,0x68,0x65,0x6e])](_0x1e4dbc=>{_0x1e4dbc!=_0x5d350c([0x56,0x61,0x6c,0x69,0x64])&&_0x29fb28(_0x1e4dbc);},_0x1e17a6);}):_0x10e66b||_0x33338c||_0x5d350c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd5f274(_0x4cedb0,_0x3c9bd7){return new window[(_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21da6b=>{if(_0x50bcfe())return _0x21da6b(_0x5d350c([0x56,0x61,0x6c,0x69,0x64]));_0x4a792e(),_0x506397[_0x5d350c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d350c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e8034=!0x1;const _0xac319f=_0x455292();function _0x51f1af(_0x3ae981){return!!_0x3ae981&&(typeof _0x3ae981===_0x5d350c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ae981===_0x5d350c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ae981[_0x5d350c([0x74,0x68,0x65,0x6e])]===_0x5d350c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ae981[_0x5d350c([0x63,0x61,0x74,0x63,0x68])]===_0x5d350c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f5c4c(_0x32df38){_0x11eb78(_0x32df38)[_0x5d350c([0x74,0x68,0x65,0x6e])](_0x56df99=>{if(!_0x56df99||_0x56df99[_0x5d350c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d350c([0x6f,0x6b]))return _0x5d350c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1abc2d(_0x16f010(_0xac319f+_0x3c9bd7))!=_0x56df99[_0x5d350c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d350c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d350c([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d350c([0x74,0x68,0x65,0x6e])](_0x51c032=>(_0x5647a8(),_0x51c032),()=>{const _0xa69aa5=_0x284193();return null==_0xa69aa5?(_0x5647a8(),_0x5d350c([0x56,0x61,0x6c,0x69,0x64])):_0x5d350c(_0x23c720-_0xa69aa5>(0x63ae0106^_0x56e51a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d350c([0x74,0x68,0x65,0x6e])](_0x21da6b)[_0x5d350c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21da6b(_0x5d350c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3496f5=0x47946b86^_0x56e51a;function _0x5647a8(){const _0x15002b=_0x5d350c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1abc2d(_0x16f010(_0x4cedb0)),_0x3b0992=_0x1c1e93(_0x1abc2d(window[_0x5d350c([0x4d,0x61,0x74,0x68])][_0x5d350c([0x63,0x65,0x69,0x6c])](_0x23c720/_0x3496f5)));window[_0x5d350c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d350c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15002b,_0x3b0992);}function _0x284193(){const _0x3cc597=_0x5d350c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1abc2d(_0x16f010(_0x4cedb0)),_0x1a606f=window[_0x5d350c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d350c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cc597);return _0x1a606f?window[_0x5d350c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c1e93(_0x1a606f),0x10)*_0x3496f5:null;}function _0x11eb78(_0x3005b7){return new window[(_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x220375,_0x5d61a2)=>{_0x3005b7[_0x5d350c([0x74,0x68,0x65,0x6e])](_0x220375,_0x5d61a2),window[_0x5d350c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d61a2,0x47a351c6^_0x56e51a);});}}_0x506397[_0x5d350c([0x6f,0x6e])](_0x5d350c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d538e,_0x2a18f7)=>{if(_0x2a18f7[0x0]!=_0x4cedb0)return _0x21da6b(_0x5d350c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a18f7[0x1]={..._0x2a18f7[0x1],[_0x5d350c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xac319f};},{[_0x5d350c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d350c([0x68,0x69,0x67,0x68])}),_0x506397[_0x5d350c([0x6f,0x6e])](_0x5d350c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54af3f=>{_0x51f1af(_0x54af3f[_0x5d350c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e8034=!0x0,_0x4f5c4c(_0x54af3f[_0x5d350c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d350c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d350c([0x6c,0x6f,0x77])}),_0x2157cf[_0x5d350c([0x74,0x68,0x65,0x6e])](()=>{_0x1e8034||_0x21da6b(_0x5d350c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50bcfe(){return _0x506397[_0x5d350c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d350c([0x76,0x69,0x65,0x77])][_0x5d350c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d350c([0x61,0x75,0x74,0x6f]);}function _0x4a792e(){_0x506397[_0x5d350c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d350c([0x76,0x69,0x65,0x77])][_0x5d350c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d350c([0x61,0x75,0x74,0x6f]);}}function _0x1ad75a(_0x1fcfdf){const _0x58cc14=[new window[(_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fd839=>setTimeout(_0x3fd839,0x47abbbca^_0x56e51a)),_0x2157cf[_0x5d350c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a0fe5=>{let _0x4a7e6c=0x0;_0x506397[_0x5d350c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d350c([0x6f,0x6e])](_0x5d350c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22e929,_0x270742)=>{_0x270742[0x0][_0x5d350c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a7e6c++,_0x4a7e6c==(0x47a284fe^_0x56e51a)&&(_0x5a0fe5(),_0x22e929[_0x5d350c([0x6f,0x66,0x66])]());});}))];return window[_0x5d350c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d350c([0x72,0x61,0x63,0x65])](_0x58cc14)[_0x5d350c([0x74,0x68,0x65,0x6e])](()=>_0x1fcfdf);}async function _0x22838c(){await _0x2157cf,_0x506397[_0x5d350c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d350c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2de1ea,_0x506397[_0x5d350c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d350c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2de1ea,_0x506397[_0x5d350c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d350c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c2ae6(_0x35d933){const _0x3ff782=_0x14b4b2();_0x506397[_0x3ff782]=_0x5d350c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x35d933,_0x35d933!=_0x5d350c([0x56,0x61,0x6c,0x69,0x64])&&_0x22838c();}function _0x14b4b2(){const _0x1efd0b=window[_0x5d350c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d350c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d350c([0x6e,0x6f,0x77])]())[_0x5d350c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d350c([0x2e]),'');let _0x2cdf7e=_0x5d350c([0x75]);for(let _0xd4a1ad=0x0;_0xd4a1ad<_0x1efd0b[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd4a1ad+=0x2){let _0x92c5e3=window[_0x5d350c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1efd0b[_0x5d350c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd4a1ad,_0xd4a1ad+0x2));_0x92c5e3>=_0x48c0c0[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x92c5e3-=_0x48c0c0[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cdf7e+=_0x48c0c0[_0x92c5e3];}return _0x2cdf7e;}function _0xb3e907(){const _0x5b7b47=_0x5ba107[_0x5d350c([0x73,0x70,0x6c,0x69,0x74])](_0x5d350c([0x2e]));if(0x3!=_0x5b7b47[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40d8e8(_0x5b7b47[0x1]);function _0x40d8e8(_0x4dc5f8){const _0x44ad7d=_0x21dcac(_0x4dc5f8);return _0x44ad7d&&_0x3956f1()?_0x44ad7d:null;function _0x3956f1(){const _0x547715=_0x44ad7d[_0x5d350c([0x6a,0x74,0x69])],_0x25310d=window[_0x5d350c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547715[_0x5d350c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x547715[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c810d={..._0x44ad7d,[_0x5d350c([0x6a,0x74,0x69])]:_0x547715[_0x5d350c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x547715[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c810d[_0x5d350c([0x76,0x63])],_0x16f010(_0x1c810d)==_0x25310d;}}}async function _0xb59672(){let _0x273b1d=!0x0;try{const _0xeac0ac=_0x5ba107[_0x5d350c([0x73,0x70,0x6c,0x69,0x74])](_0x5d350c([0x2e])),[_0x49b6a9,_0x59c428,_0x6ab9db]=_0xeac0ac;return _0x3b040e(_0x49b6a9),await _0xf9e682(_0x49b6a9,_0x59c428,_0x6ab9db),_0x273b1d;}catch{return!0x1;}function _0x3b040e(_0x3b920a){const _0x3b5a1f=_0x21dcac(_0x3b920a);_0x3b5a1f&&_0x3b5a1f[_0x5d350c([0x61,0x6c,0x67])]==_0x5d350c([0x45,0x53,0x32,0x35,0x36])||(_0x273b1d=!0x1);}async function _0xf9e682(_0x3c4de4,_0x2d1702,_0x252b0a){const _0x2402d8=window[_0x5d350c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d350c([0x66,0x72,0x6f,0x6d])](_0x1df521(_0x252b0a),_0x15a059=>_0x15a059[_0x5d350c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b425f=new window[(_0x5d350c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d350c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c4de4+_0x5d350c([0x2e])+_0x2d1702),_0x1c612c=window[_0x5d350c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d350c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c612c)return;const _0x12de12=await _0x1c612c[_0x5d350c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d350c([0x6a,0x77,0x6b]),_0x388484,{[_0x5d350c([0x6e,0x61,0x6d,0x65])]:_0x5d350c([0x45,0x43,0x44,0x53,0x41]),[_0x5d350c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d350c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d350c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c612c[_0x5d350c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d350c([0x6e,0x61,0x6d,0x65])]:_0x5d350c([0x45,0x43,0x44,0x53,0x41]),[_0x5d350c([0x68,0x61,0x73,0x68])]:{[_0x5d350c([0x6e,0x61,0x6d,0x65])]:_0x5d350c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12de12,_0x2402d8,_0x4b425f)||(_0x273b1d=!0x1);}}function _0x21dcac(_0x3a627c){return _0x3a627c[_0x5d350c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d350c([0x65,0x79]))?JSON[_0x5d350c([0x70,0x61,0x72,0x73,0x65])](_0x1df521(_0x3a627c)):null;}function _0x1df521(_0x141c21){return window[_0x5d350c([0x61,0x74,0x6f,0x62])](_0x141c21[_0x5d350c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d350c([0x2b]))[_0x5d350c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d350c([0x2f])));}function _0x16f010(_0x47b421){let _0xc38de2=0x1505;function _0x1de241(_0x54cde7){for(let _0x3d664b=0x0;_0x3d664b<_0x54cde7[_0x5d350c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d664b++){const _0x1711b1=_0x54cde7[_0x5d350c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d664b);_0xc38de2=(_0xc38de2<<0x5)+_0xc38de2+_0x1711b1,_0xc38de2&=_0xc38de2;}}function _0x1f2e86(_0x289510){Array[_0x5d350c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x289510)?_0x289510[_0x5d350c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f2e86):_0x289510&&typeof _0x289510==_0x5d350c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d350c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x289510)[_0x5d350c([0x73,0x6f,0x72,0x74])]()[_0x5d350c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3a782b,_0x587527])=>{_0x1de241(_0x3a782b),_0x1f2e86(_0x587527);}):_0x1de241(window[_0x5d350c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x289510));}return _0x1f2e86(_0x47b421),_0xc38de2>>>0x0;}function _0x1abc2d(_0x135aa2){return _0x135aa2[_0x5d350c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d350c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d350c([0x30]));}function _0x1c1e93(_0x8d74){return _0x8d74[_0x5d350c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d350c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d350c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2de1ea(){}function _0x5d350c(_0x554396){return _0x554396['map'](_0x4d05f2=>String['fromCharCode'](_0x4d05f2))['join']('');}_0x3c2ae6(await _0x4c27fd());}(this);}['_moveSelectionToFootnoteDefinition'](_0x57045e){const {plugins:_0x135ddd,editing:_0x4073fc,model:_0x1d4cf3}=this['editor'],_0x15c849=_0x135ddd['get'](f)['getFootnote'](_0x57045e);return!!_0x15c849&&(_0x1d4cf3['change'](_0x195476=>{_0x195476['setSelection'](_0x195476['createPositionAt'](_0x15c849['definition'],'end'));}),_0x4073fc['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2b6b9f){const {plugins:_0x2a4e2b,editing:_0x301f59,model:_0x56b09b}=this['editor'],_0x36c6b7=_0x2a4e2b['get'](f)['getFootnote'](_0x2b6b9f);return!!_0x36c6b7&&(_0x56b09b['change'](_0x26d331=>{_0x26d331['setSelection'](_0x36c6b7['reference'],'on');}),_0x301f59['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5bbe7e}=this['editor']['model'],_0x1499c7=this['editor']['config']['get']('footnotes.multiBlock');_0x5bbe7e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5bbe7e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5bbe7e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1499c7?_0x5bbe7e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5bbe7e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5bbe7e['addChildCheck'](_0x3874f1=>{for(const _0x3a48db of _0x3874f1)if('footnoteDefinition'===_0x3a48db['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x8d87ce}=this,{conversion:_0x261380,editing:_0x355feb}=_0x8d87ce,{t:t}=_0x8d87ce['locale'];_0x261380['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xb6896,{writer:_0x58bce0,consumable:_0x55834a})=>{const _0x392728=_0xb6896['getChild'](0x0);if(!_0x392728||!_0x392728['is']('element','a'))return null;const _0x5e19db=_0x392728['getAttribute']('href')||'';if(!_0x5e19db['startsWith']('#'))return null;const _0x3f0550=_0x5e19db['replace'](/^#/,'');if(!_0x3f0550)return null;_0x55834a['consume'](_0x392728,{'name':!0x0,'attributes':['href']});for(const {item:_0x470159}of _0x355feb['view']['createRangeIn'](_0x392728))_0x470159['is']('$textProxy')?_0x55834a['consume'](_0x470159['textNode'],{'name':!0x0}):_0x470159['is']('element')&&_0x55834a['consume'](_0x470159,{'name':!0x0});return _0x58bce0['createElement']('footnoteRef',{'footnoteId':_0x3f0550});}}),_0x261380['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a87f3,{writer:_0x44ca20})=>D(_0x3a87f3,_0x44ca20)}),_0x261380['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36463e,{writer:_0x3cf9a3})=>{const _0x16a431=_0x36463e['getAttribute']('footnoteCounter');return _0xffbc4c(D(_0x36463e,_0x3cf9a3),_0x3cf9a3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x16a431)});}});}['_defineDefinitionsConverters'](){const {editor:_0x199645}=this,{t:t}=_0x199645['locale'],{conversion:_0x10dffa}=_0x199645;_0x10dffa['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x10dffa['for']('upcast')['add'](_0x600e77=>{_0x600e77['on']('element:ol',(_0x21f0b8,_0x1dc574,_0x98a887)=>{const _0x4809bf=_0x1dc574['viewItem'];if(!_0x4809bf['hasClass']('footnotes-list')||!_0x1dc574['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x98a887['consumable']['consume'](_0x4809bf,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x180ff0,modelCursor:_0x44f25a}=_0x98a887['convertChildren'](_0x1dc574['viewItem'],_0x1dc574['modelCursor']);_0x1dc574['modelRange']=_0x180ff0,_0x1dc574['modelCursor']=_0x44f25a;}),_0x600e77['on']('element:hr',(_0x4bf74d,_0x7d4fe0,_0x249338)=>{const _0x3f0c11=_0x7d4fe0['viewItem'];_0x3f0c11['hasClass']('footnotes-divider')&&_0x7d4fe0['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x249338['consumable']['consume'](_0x3f0c11,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x10dffa['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x30d336,{writer:_0x224836})=>v(_0x224836)}),_0x10dffa['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x41b8b1,{writer:_0x7085d0})=>{const _0x5258de=v(_0x7085d0,{'data-footnotes-list-label':t('Footnotes')}),_0xe72414=_0xffbc4c(_0x5258de,_0x7085d0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x7085d0['setCustomProperty']('footnotesDefinitions',!0x0,_0xe72414),_0xe72414;}});}['_defineDefinitionConverters'](){const {editor:_0x55a563}=this,{conversion:_0x4556d9,locale:_0x3a3b3f}=_0x55a563,_0x70246e=_0x55a563['config']['get']('footnotes.multiBlock');_0x4556d9['for']('upcast')['add'](_0xa1746d=>{_0xa1746d['on']('element:li',(_0x2c54a7,_0x2f8647,_0xe3f259)=>{const _0x523966=_0x2f8647['viewItem'];if(!_0x523966['hasClass']('footnote-definition')||!_0x523966['getAttribute']('id'))return;const _0x11d97c=_0x523966['parent'];if(!_0x11d97c['is']('element','ol')||!_0x11d97c['hasClass']('footnotes-list'))return;if(!_0xe3f259['consumable']['test'](_0x523966,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1350e4=_0xe3f259['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x523966['getAttribute']('id')});if(!_0xe3f259['safeInsert'](_0x1350e4,_0x2f8647['modelCursor']))return;_0xe3f259['consumable']['consume'](_0x523966,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5d4a11=Array['from'](_0x523966['getChildren']())['find'](_0x528c83=>_0x528c83['is']('element')&&_0x528c83['hasClass']('footnote-content'));for(const _0x2c36ca of _0x523966['getChildren']())_0x2c36ca['is']('element')&&(_0xe3f259['consumable']['consume'](_0x2c36ca,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xe3f259['consumable']['consume'](_0x2c36ca,{'name':!0x0,'classes':'footnote-content'}));if(_0x5d4a11){if(_0x70246e)_0xe3f259['convertChildren'](_0x5d4a11,_0x1350e4);else{const _0x208a60=_0xe3f259['writer']['createElement']('footnoteInlineContent');_0xe3f259['writer']['insert'](_0x208a60,_0x1350e4),_0xe3f259['convertChildren'](_0x5d4a11,_0x208a60);}}_0xe3f259['updateConversionResult'](_0x1350e4,_0x2f8647);});}),_0x4556d9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x87efe0,{writer:_0x1e9a2c})=>b(_0x87efe0,_0x1e9a2c,_0x3a3b3f,{'dataPipeline':!0x0})}),_0x4556d9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46edee,{writer:_0x1ccb25})=>b(_0x46edee,_0x1ccb25,_0x3a3b3f)});}['_defineBogusParagraphConverters'](){const {editor:_0x1a3c28}=this,{conversion:_0x317cf3}=_0x1a3c28;_0x1a3c28['config']['get']('footnotes.multiBlock')?(_0x317cf3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x317cf3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1a3c28['model']['document'],'change:data',()=>{!function(_0x415d83,_0x1603a8){const _0x2d2773=_0x415d83['document']['differ'],_0x3a249c=new Set();for(const _0x2cdee9 of _0x2d2773['getChanges']()){const _0x1cdb89='attribute'==_0x2cdee9['type']?_0x2cdee9['range']['start']['parent']:_0x2cdee9['position']['parent'];_0x1cdb89['is']('element','footnoteDefinition')&&_0x3a249c['add'](_0x1cdb89);}for(const _0x26fb2a of _0x3a249c['values']()){const _0x232c87=Array['from'](_0x26fb2a['getChildren']())['filter'](_0x54aada=>g(_0x54aada,_0x1603a8['mapper']));for(const _0x41f94a of _0x232c87)_0x1603a8['reconvertItem'](_0x41f94a);}}(_0x1a3c28['model'],_0x1a3c28['editing']);})):(_0x317cf3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x317cf3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4032d9,{writer:_0x50c344})=>{const _0x42c01e=_0x50c344['createContainerElement']('span');return _0x50c344['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x42c01e),_0x42c01e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x23de6c}=this,{editing:_0x4bae10,t:t}=_0x23de6c,_0x1c6597=_0x23de6c['model']['document']['selection'];_0x23de6c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x23de6c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4bae10['view']['document'],'enter',(_0x503e37,_0x57a490)=>{const _0x1c6573=function(_0x24df65){const _0x1adb56=_0x24df65['getSelectedElement']();if(_0x1adb56?.['is']('element','footnoteRef'))return _0x1adb56;return null;}(_0x1c6597);if(_0x1c6573){const _0x481a28=_0x1c6573['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x481a28),_0x57a490['preventDefault'](),_0x503e37['stop']();}},{'context':_0x12a1ac});}['_defineClickHandlers'](){const {editor:_0x266689}=this,{editing:_0x9b972}=_0x266689;_0x266689['editing']['view']['addObserver'](_0x4e3d55),_0x266689['editing']['view']['addObserver'](_0x4d8584);let _0x2344c2=!0x1;this['listenTo'](_0x9b972['view']['document'],'pointerdown',(_0x430ea0,_0x4e7834)=>{const {target:_0x390202}=_0x4e7834,_0x599566=_0x9b972['view']['document']['selection'];_0x2344c2=!!(_0x390202?.['is']('element','a')&&_0x390202['parent']?.['is']('element','sup')&&_0x390202['parent']['hasClass']('footnote'))&&_0x599566['getSelectedElement']()===_0x390202['parent'];},{'priority':'high'}),this['listenTo'](_0x9b972['view']['document'],'click',(_0x15e6bb,_0x10e3f3)=>{const {target:_0x498e31}=_0x10e3f3;if(!_0x498e31?.['is']('element','a'))return;if(_0x498e31['parent']?.['is']('element','sup')&&_0x498e31['parent']['hasClass']('footnote')&&!_0x2344c2)return void _0x10e3f3['preventDefault']();let _0x8e0d7a=_0x498e31['getAttribute']('href');if(!_0x8e0d7a?.['startsWith']('#'))return;_0x8e0d7a=_0x8e0d7a['slice'](0x1);let _0x251ea3=!0x1;(_0x8e0d7a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x8e0d7a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x8e0d7a))&&(_0x251ea3=!0x0),_0x251ea3&&(_0x10e3f3['preventDefault'](),_0x15e6bb['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5e007c}={}){return(_0x53e420,{writer:_0xbb902c})=>{if(!p(_0x53e420))return null;if(!_0x5e007c)return _0xbb902c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5ae5c9=_0xbb902c['createContainerElement']('p');return _0xbb902c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5ae5c9),_0x5ae5c9;};}function p(_0x2f573a){const {parent:_0x4bf257}=_0x2f573a;if(!_0x4bf257?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4bf257['childCount'])return!0x1;for(const _0x5e0da0 of _0x2f573a['getAttributeKeys']())if(!_0x5e0da0['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5e0da0)return!0x1;return!0x0;}function g(_0x163977,_0x5d5afb){if(!_0x163977['is']('element','paragraph'))return!0x1;const _0x238ad5=_0x5d5afb['toViewElement'](_0x163977);return!!_0x238ad5&&p(_0x163977)!==_0x238ad5['is']('element','span');}function $(_0x77dbe3){return _0x12a1ac(_0x77dbe3)&&_0x77dbe3['is']('containerElement')&&!!_0x77dbe3['getCustomProperty']('footnotesDefinitions');}function v(_0x502ce2,_0x400599={}){const _0x3c4c37=_0x502ce2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5bf5bc=_0x502ce2['createContainerElement']('ol',{'class':'footnotes-list'},_0x502ce2['createSlot']());return _0x502ce2['createContainerElement']('div',{'class':'footnotes',..._0x400599},[_0x3c4c37,_0x5bf5bc]);}function D(_0xdf6df9,_0x5c6d3a){const _0x1c780e=_0xdf6df9['getAttribute']('footnoteId'),_0x2ae872=_0xdf6df9['getAttribute']('footnoteCounter'),_0x5cf210=_0x5c6d3a['createUIElement']('a',{'href':'#'+_0x1c780e},function(_0x34b329){const _0x2a41e1=this['toDomElement'](_0x34b329);return _0x2a41e1['textContent']=_0x2ae872,_0x2a41e1;}),_0x3e1644=_0x5c6d3a['createContainerElement']('sup',{'id':'ref-'+_0x1c780e,'class':'footnote'},[_0x5cf210]);return _0x3e1644['getFillerOffset']=()=>null,_0x3e1644;}function b(_0x37425e,_0x5482dd,_0x364fb3,{dataPipeline:_0x5c74f7}={}){const {t:t}=_0x364fb3,_0x3b0e9d=_0x37425e['getAttribute']('footnoteId'),_0x1a79ef=_0x5482dd['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3b0e9d},function(_0x17a1b1){const _0x47ade2=this['toDomElement'](_0x17a1b1);return _0x47ade2['innerText']='^',_0x47ade2;}),_0x1e4988=_0x5c74f7?_0x5482dd['createContainerElement']('div',{'class':'footnote-content'}):_0x51fa8a(_0x5482dd['createEditableElement']('div',{'class':'footnote-content'}),_0x5482dd,{'label':t('Footnote\x20content.')});return _0x5482dd['insert'](_0x5482dd['createPositionAt'](_0x1e4988,0x0),_0x5482dd['createSlot']()),_0x5482dd['createContainerElement']('li',{'class':'footnote-definition','id':_0x3b0e9d},[_0x1a79ef,_0x1e4988]);}class e extends _0x4fba34{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x232d4e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x38a1fe}=this,{plugins:_0x3a65f7,model:_0xcc568f}=_0x38a1fe,_0x17e3ca=_0x3a65f7['get'](_0x232d4e),_0x59e45e=_0x3a65f7['get'](f);this['listenTo'](_0x17e3ca,'outputTransformation',(_0x25d851,_0x2036fe)=>{const _0x2f4819=c(_0xcc568f['createRangeIn'](_0x2036fe['content']));if(!_0x2f4819['length'])return;const _0x4dcca7=_0x59e45e['getFootnotes'](),_0x18c144=_0x2f4819['reduce']((_0x71d572,_0x13d79b)=>{const _0x1a3ebe=_0x4dcca7['find'](_0x1bd588=>_0x1bd588['id']===_0x13d79b);if(_0x1a3ebe){const _0x2e7f13=_0x38a1fe['data']['toView'](_0x1a3ebe['definition'],{'isClipboardPipeline':!0x0}),_0x4aa77f=_0x38a1fe['data']['htmlProcessor']['toData'](_0x2e7f13);_0x71d572[_0x1a3ebe['id']]=_0x4aa77f;}return _0x71d572;},Object['create'](null));_0x2036fe['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x18c144));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x24e60b}=this,{model:_0x4cd34f,plugins:_0x534a4f}=_0x24e60b,{view:_0x49869c}=_0x24e60b['editing'],_0x19c31d=_0x534a4f['get'](_0x232d4e),_0x6bcad7=_0x534a4f['get'](f),_0x4791f9=_0x24e60b['config']['get']('footnotes.multiBlock');let _0x1e7a49=null;this['listenTo'](_0x49869c['document'],'clipboardInput',(_0x47d63f,_0x1f0745)=>{const _0x1526c5=_0x1f0745['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1e7a49=_0x1526c5?JSON['parse'](_0x1526c5):null;}),this['listenTo'](_0x19c31d,'contentInsertion',(_0x3c6e23,_0x514446)=>{const _0x54d123=_0x514446['sourceEditorId']===this['editor']['id'];_0x54d123&&'drop'===_0x514446['method']||_0x4cd34f['change'](_0x5de5d1=>{let _0x3fd50b=_0x6bcad7['getFootnotesDefinitionsObjectElement']();const _0x37d42e=!!_0x3fd50b&&Array['from'](_0x4cd34f['document']['selection']['getSelectedBlocks']())['includes'](_0x3fd50b);if((_0x3fd50b&&!_0x37d42e||!_0x3fd50b&&!_0x1e7a49)&&function(_0x58cdab,_0x410046){const _0x522864=[];for(const {item:_0x49d072}of _0x58cdab['createRangeIn'](_0x410046))_0x49d072['is']('element','footnotesDefinitions')&&_0x522864['push'](_0x49d072);for(const _0xe86363 of _0x522864)_0x58cdab['remove'](_0xe86363);}(_0x5de5d1,_0x514446['content']),!_0x1e7a49)return;const {selection:_0x5ca82a}=_0x4cd34f['document'],_0x543b37=_0x5ca82a['getFirstRange']()['root'];_0x3fd50b&&!_0x37d42e||(_0x3fd50b=function(_0x1e796c,_0x47be68){for(const {item:_0x3e2925}of _0x1e796c['createRangeIn'](_0x47be68))if(_0x3e2925['is']('element','footnotesDefinitions'))return _0x3e2925;return null;}(_0x5de5d1,_0x514446['content']),_0x3fd50b||=_0x6bcad7['_insertEmptyFootnotesDefinitionsContainer'](_0x5de5d1,_0x543b37));const _0x36e887=Array['from'](_0x5ca82a['getRanges']())['flatMap'](c),_0x4633aa=function(_0x4f316f,_0x449d29,_0x3f1a00){const _0x37704c=Object['create'](null);for(const {item:_0x5d1752}of _0x4f316f['createRangeIn'](_0x449d29))if(_0x5d1752['is']('element','footnoteRef')){const _0x53dc3e=_0x5d1752['getAttribute']('footnoteId');if(!_0x3f1a00(_0x53dc3e))continue;_0x37704c[_0x53dc3e]||(_0x37704c[_0x53dc3e]=_0x455292()),_0x4f316f['setAttribute']('footnoteId',_0x37704c[_0x53dc3e],_0x5d1752);}return _0x37704c;}(_0x5de5d1,_0x514446['content'],_0x5f5514=>{if(!_0x54d123)return!0x0;return!!_0x6bcad7['getFootnote'](_0x5f5514)&&!_0x36e887['includes'](_0x5f5514);});for(const [_0x32ee8c,_0x29e524]of Object['entries'](_0x1e7a49)){const _0x2ce33a=_0x4633aa[_0x32ee8c]||_0x32ee8c,_0x135a3a=_0x5de5d1['createElement']('footnoteDefinition',{'footnoteId':_0x2ce33a}),_0x112a79=_0x24e60b['data']['htmlProcessor']['toView'](_0x29e524);let _0x37f78e;if(_0x4791f9)_0x37f78e=_0x24e60b['data']['toModel'](_0x112a79,_0x135a3a);else{_0x37f78e=_0x5de5d1['createElement']('footnoteInlineContent');const _0x4936ef=_0x24e60b['data']['toModel'](_0x112a79,_0x37f78e);_0x5de5d1['insert'](_0x4936ef,_0x37f78e);}_0x5de5d1['append'](_0x37f78e,_0x135a3a),_0x5de5d1['insert'](_0x135a3a,_0x3fd50b,'end');}_0x1e7a49=null;});});}}function c(_0x43e22d){const _0x52c799=new Set();for(const {item:_0xdb5af6}of _0x43e22d)_0xdb5af6['is']('element','footnoteRef')&&_0x52c799['add'](_0xdb5af6['getAttribute']('footnoteId'));return Array['from'](_0x52c799);}class i extends _0x4fba34{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b8afc}=this,{componentFactory:_0x2ecea3}=_0x3b8afc['ui'];_0x2ecea3['add']('insertFootnote',x(_0x3b8afc,_0x322c8b)),_0x2ecea3['add']('menuBar:insertFootnote',x(_0x3b8afc,_0x5b0713)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x350179=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe5adfc;for(const _0x15a5ad in _0x350179){const _0x3f04f1=_0x15a5ad,_0x314a76=_0x350179[_0x3f04f1];if('footnotesLicenseKeyValid'==_0x314a76||'footnotesLicenseKeyInvalid'==_0x314a76||'footnotesLicenseKeyExpired'==_0x314a76||'footnotesLicenseKeyDomainLimit'==_0x314a76||'footnotesLicenseKeyNotAllowed'==_0x314a76||'footnotesLicenseKeyEvaluationLimit'==_0x314a76||'footnotesLicenseKeyTrialLimit'==_0x314a76||'footnotesLicenseKeyUsageLimit'==_0x314a76){delete _0x350179[_0x3f04f1],_0xe5adfc=_0x314a76,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xe5adfc&&_0x350179['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xe5adfc&&_0x350179['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xe5adfc&&_0x350179['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xe5adfc&&_0x350179['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xe5adfc&&_0x350179['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xe5adfc&&_0x350179['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xe5adfc&&_0x350179['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1d4769,_0x20f64f){const _0x36696a=_0x1d4769['commands']['get']('insertFootnote');return _0x3e7d09=>{const {t:t}=_0x3e7d09,_0x3f744f=new _0x20f64f(_0x3e7d09),_0x504bb3=_0x3f744f instanceof _0x5b0713;return _0x3f744f['bind']('isEnabled')['to'](_0x36696a,'isEnabled'),_0x3f744f['set']({'label':t(_0x504bb3?'Footnote':'Insert\x20footnote'),'icon':_0x553b12,'tooltip':!0x0}),_0x3f744f['on']('execute',()=>{_0x36696a['execute'](),_0x1d4769['editing']['view']['focus']();}),_0x3f744f;};}class lt extends _0x4fba34{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x5b9a56{['refresh'](){const {editor:_0x350a17}=this,_0x4e8a7f=_0x350a17['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4e8a7f,this['value']=_0x4e8a7f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x296808}){const {editor:_0x22ab59}=this,_0x3c88f7=_0x22ab59['plugins']['get'](f),_0x2e677f=_0x3c88f7['getFootnotesDefinitionsObjectElement']();_0x2e677f&&Q['includes'](_0x296808)&&_0x22ab59['model']['change'](_0x5feada=>{_0x5feada['setAttribute']('footnotesListStyle',_0x296808,_0x2e677f),_0x3c88f7['_updateFootnotesCounters'](_0x5feada);});}}class C extends _0x5b9a56{['refresh'](){const {editor:_0x201b3a}=this,_0x5fd09e=_0x201b3a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5fd09e,this['value']=_0x5fd09e?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5f3ab8}){const {editor:_0x548de6}=this,_0x38def0=_0x548de6['plugins']['get'](f),_0x167b26=_0x38def0['getFootnotesDefinitionsObjectElement']();_0x167b26&&Number['isInteger'](_0x5f3ab8)&&_0x548de6['model']['change'](_0x288256=>{_0x288256['setAttribute']('footnotesListStart',_0x5f3ab8,_0x167b26),_0x38def0['_updateFootnotesCounters'](_0x288256);});}}class P extends _0x4fba34{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x12c02a}=this;_0x12c02a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x12c02a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x12c02a['commands']['add']('footnotesStyle',new S(_0x12c02a)),_0x12c02a['commands']['add']('footnotesStart',new C(_0x12c02a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x57a30c}=this,{schema:_0x58b21a}=_0x57a30c['model'];_0x58b21a['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x504c5b}=this,{conversion:_0x177fc9,model:_0xf62838}=_0x504c5b,{schema:_0xabf3f7}=_0xf62838;_0x177fc9['for']('upcast')['add'](_0x356639=>{_0x356639['on']('element:ol',(_0x25404f,_0x54f72d,_0x14f557)=>{const _0x52b2e4=_0x54f72d['viewItem'],_0x2f30a7=_0x54f72d['modelCursor']?.['parent'];_0x52b2e4['hasClass']('footnotes-list')&&_0x2f30a7?.['is']('element','footnotesDefinitions')&&(function(_0x59bf94,_0x4ebec7,_0x43612b,_0x5187fc){if(!_0x5187fc['checkAttribute'](_0x4ebec7,'footnotesListStart'))return;let _0x1dd40f=0x1;const _0x1c142b=_0x43612b['consumable']['consume'](_0x59bf94,{'attributes':'start'});if(_0x1c142b){const _0x4eaaa9=Number['parseInt'](_0x59bf94['getAttribute']('start'),0xa);Number['isNaN'](_0x4eaaa9)||(_0x1dd40f=_0x4eaaa9);}!_0x1c142b&&_0x4ebec7['hasAttribute']('footnotesListStart')||_0x43612b['writer']['setAttribute']('footnotesListStart',_0x1dd40f,_0x4ebec7);}(_0x52b2e4,_0x2f30a7,_0x14f557,_0xabf3f7),function(_0x2399b2,_0x518e34,_0x1cc5c3,_0x56fa9e){if(!_0x56fa9e['checkAttribute'](_0x518e34,'footnotesListStyle'))return;let _0x44ac35='decimal',_0x8031fe=!0x1;if(_0x1cc5c3['consumable']['consume'](_0x2399b2,{'attributes':'type'})){const _0x5f59f4={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2399b2['getAttribute']('type')];_0x5f59f4&&(_0x44ac35=_0x5f59f4),_0x8031fe=!0x0;}_0x1cc5c3['consumable']['consume'](_0x2399b2,{'styles':'list-style-type'})&&(_0x44ac35=function(_0x2dff00){switch(_0x2dff00){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x2dff00;}}(_0x2399b2['getStyle']('list-style-type')),_0x8031fe=!0x0),!_0x8031fe&&_0x518e34['hasAttribute']('footnotesListStyle')||_0x1cc5c3['writer']['setAttribute']('footnotesListStyle',_0x44ac35,_0x518e34);}(_0x52b2e4,_0x2f30a7,_0x14f557,_0xabf3f7));});}),_0x177fc9['for']('downcast')['add'](_0x40d166=>{_0x40d166['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x59f6ba,_0x332831,_0x5a308b)=>{if(!_0x5a308b['consumable']['consume'](_0x332831['item'],_0x59f6ba['name']))return;const _0x59fe0f=M(_0x332831['item'],_0x5a308b['mapper']),{attributeNewValue:_0x8aedae}=_0x332831;null==_0x8aedae||0x1===_0x8aedae?_0x5a308b['writer']['removeAttribute']('start',_0x59fe0f):_0x5a308b['writer']['setAttribute']('start',String(_0x8aedae),_0x59fe0f);}),_0x40d166['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3a6d1f,_0x522ee9,_0x23b29b)=>{if(!_0x23b29b['consumable']['consume'](_0x522ee9['item'],_0x3a6d1f['name']))return;const _0x26b4ab=M(_0x522ee9['item'],_0x23b29b['mapper']),{attributeNewValue:_0x5b2032}=_0x522ee9;_0x5b2032&&'decimal'!==_0x5b2032?_0x23b29b['writer']['setStyle']('list-style-type',_0x5b2032,_0x26b4ab):_0x23b29b['writer']['removeStyle']('list-style-type',_0x26b4ab);});});}['_definePostfixer'](){const {editor:_0x448e22}=this,{model:_0x1faba3}=_0x448e22,_0x3a36b2=_0x448e22['plugins']['get'](f),_0x2d76bf=this['_getDefaultListStyle'](),_0x4bf7ab=this['_getDefaultStartIndex']();_0x1faba3['document']['registerPostFixer'](_0x81c5b3=>{const _0x1c9885=_0x1faba3['document']['differ']['getChanges']();let _0x15ff81=!0x1;for(const _0x2214cd of _0x1c9885){if('insert'!==_0x2214cd['type']||'$text'===_0x2214cd['name'])continue;const _0x298789=_0x1faba3['createRangeOn'](_0x2214cd['position']['nodeAfter']);for(const _0x558609 of _0x298789['getItems']())_0x558609['is']('element','footnotesDefinitions')&&(!_0x558609['hasAttribute']('footnotesListStart')&&_0x1faba3['schema']['checkAttribute'](_0x558609,'footnotesListStart')&&(_0x81c5b3['setAttribute']('footnotesListStart',_0x4bf7ab,_0x558609),_0x15ff81=!0x0),!_0x558609['hasAttribute']('footnotesListStyle')&&_0x1faba3['schema']['checkAttribute'](_0x558609,'footnotesListStyle')&&(_0x81c5b3['setAttribute']('footnotesListStyle',_0x2d76bf,_0x558609),_0x15ff81=!0x0));}return _0x15ff81&&_0x3a36b2['_updateFootnotesCounters'](_0x81c5b3),_0x15ff81;});}['_defineFormatter'](){const {editor:_0xce5bca}=this;_0xce5bca['plugins']['get'](f)['setFootnoteFormatter'](_0x308906=>this['_formatFootnoteListValue'](_0x308906));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3ab319,value:_0x543986,digits:_0x5b36f4}){const _0x59d9b9=_0x3ab319['getAttribute']('footnotesListStyle'),_0x24ab27=_0x3ab319['getAttribute']('footnotesListStart'),_0x3d87ea=Math['floor'](_0x543986)+(_0x24ab27??0x1)-0x1;switch(_0x59d9b9){case'decimal-leading-zero':return function(_0x17dd01,_0x4fd86d){return String(_0x17dd01)['padStart'](_0x4fd86d,'0');}(_0x3d87ea,Math['max'](0x2,_0x5b36f4));case'lower-alpha':case'lower-latin':return N(_0x3d87ea,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3d87ea,!0x0);case'lower-roman':return X(_0x3d87ea,!0x1);case'upper-roman':return X(_0x3d87ea,!0x0);default:return String(_0x3d87ea);}}}function M(_0xa8b828,_0x191b53){const _0x4ac45f=_0x191b53['toViewElement'](_0xa8b828);return Array['from'](_0x4ac45f['getChildren']())['find'](_0x4f9a5a=>_0x4f9a5a['is']('element','ol')&&_0x4f9a5a['hasClass']('footnotes-list'));}function N(_0x19958c,_0x5013a9){let _0x3e8664='',_0x3e68ef=_0x19958c;for(;_0x3e68ef>0x0;){const _0x15ce5a=(_0x3e68ef-0x1)%0x1a;_0x3e8664=String['fromCharCode'](0x61+_0x15ce5a)+_0x3e8664,_0x3e68ef=Math['floor']((_0x3e68ef-0x1)/0x1a);}return _0x5013a9?_0x3e8664['toUpperCase']():_0x3e8664;}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(_0x193f65,_0x1386c0){let _0x5144b4='',_0x7b8f5e=_0x193f65;for(const {value:_0x1023c8,numeral:_0x3535cb}of V)for(;_0x7b8f5e>=_0x1023c8;)_0x5144b4+=_0x3535cb,_0x7b8f5e-=_0x1023c8;return _0x1386c0?_0x5144b4:_0x5144b4['toLowerCase']();}class R extends _0x4adec6{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2db1a4();['focusCycler'];constructor(_0x3d6353,{styleButtonViews:_0x400157,styleGridAriaLabel:_0x1ba236}){super(_0x3d6353),(this['focusCycler']=new _0x53791e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x400157,_0x1ba236),[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 _0x41caa8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x41caa8['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 _0x105c0c=_0x5ea84e=>_0x5ea84e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x105c0c),this['keystrokes']['set']('arrowleft',_0x105c0c),this['keystrokes']['set']('arrowup',_0x105c0c),this['keystrokes']['set']('arrowdown',_0x105c0c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1a9324,_0x3b8c05){const _0x6a6b8f=new _0x4adec6(this['locale']);return _0x6a6b8f['children']=_0x6a6b8f['createCollection'](),_0x6a6b8f['children']['addMany'](_0x1a9324),_0x6a6b8f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3b8c05,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x6a6b8f['children']}),_0x6a6b8f['children']['delegate']('execute')['to'](this),_0x6a6b8f['focus']=function(){for(const _0x527cda of this['children'])if(_0x527cda instanceof _0x322c8b&&_0x527cda['isOn'])return void _0x527cda['focus']();this['children']['first']['focus']();},_0x6a6b8f['focusTracker']=new ot(),_0x6a6b8f['keystrokes']=new rt(),_0x6a6b8f['render'](),_0x6a6b8f['keystrokes']['listenTo'](_0x6a6b8f['element']),this['children']['add'](_0x6a6b8f),_0x6a6b8f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x431359=this['_createStartIndexPropertyView'](),_0x25ec65=[_0x431359],_0x510d78=new st(this['locale'],_0x25ec65);return _0x510d78['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x510d78['buttonView']['bind']('isEnabled')['toMany'](_0x25ec65,'isEnabled',(..._0x2a26bd)=>_0x2a26bd['some'](_0x4e5ba8=>_0x4e5ba8)),_0x510d78['buttonView']['on']('change:isEnabled',(_0x43ef12,_0x54f066,_0x5a5ad6)=>{_0x5a5ad6||(_0x510d78['isCollapsed']=!0x0);}),this['children']['add'](_0x510d78),[_0x431359,_0x510d78];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4764c3=new it(this['locale'],et);return _0x4764c3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4764c3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4764c3['fieldView']['on']('input',()=>{const _0x273a60=_0x4764c3['fieldView']['element'],_0xc005f1=_0x273a60['valueAsNumber'];Number['isNaN'](_0xc005f1)?_0x4764c3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x273a60['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xc005f1}):_0x4764c3['errorText']=t(_0xc005f1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4764c3;}}class j extends _0x4fba34{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5a2f5f,_0x109edf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e4b29}=this,{componentFactory:_0x148405}=_0x2e4b29['ui'];_0x2e4b29['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x148405['add']('footnotesStyle',function(_0x13cf68){return _0x219e29=>{const {t:t}=_0x219e29,_0x35b679=_0x13cf68['commands']['get']('footnotesStyle'),_0xf81d72=_0x5d3ef3(_0x219e29),{buttonView:_0x201cb2}=_0xf81d72;return _0xf81d72['class']='ck-footnotes-styles-dropdown',_0xf81d72['bind']('isEnabled')['to'](_0x35b679,'isEnabled'),_0x201cb2['set']({'label':t('Footnotes\x20style'),'icon':_0x553b12,'tooltip':!0x0}),_0xf81d72['once']('change:isOpen',()=>{const _0x55e416=function({editor:_0x344c38,dropdownView:_0x27a391}){const {t:t}=_0x344c38['locale'],_0x13d6cd=t('Footnotes\x20definitions\x20styles'),_0x2b6dc3=function(_0x375927){const t=_0x375927['locale']['t'],_0x1d9ea2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x8c69bb},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5283ef},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xeb6c14},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x9cc0fe},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2dc4b7},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2256b8}];return _0x1d9ea2['map'](function(_0x2bea2b){const _0xee3929=_0x2bea2b['locale'];return({label:_0x2bfa1f,icon:_0x2b1d4e,tooltip:_0x2afda4,style:_0x1084bb})=>{const _0x217f80=_0x2bea2b['commands']['get']('footnotesStyle'),_0x23ba5f=new _0x322c8b(_0xee3929);return _0x23ba5f['set']({'label':_0x2bfa1f,'icon':_0x2b1d4e,'tooltip':_0x2afda4}),_0x23ba5f['bind']('isOn')['to'](_0x217f80,'value',_0x3676a3=>_0x3676a3===_0x1084bb),_0x23ba5f['bind']('isEnabled')['to'](_0x217f80,'isEnabled'),_0x23ba5f['on']('execute',()=>{_0x2bea2b['execute']('footnotesStyle',{'value':_0x1084bb}),_0x2bea2b['editing']['view']['focus']();}),_0x23ba5f;};}(_0x375927));}(_0x344c38),_0x36f77d=new R(_0x344c38['locale'],{'styleGridAriaLabel':_0x13d6cd,'styleButtonViews':_0x2b6dc3}),_0x1dee13=_0x344c38['commands']['get']('footnotesStart');return _0x36f77d['startIndexFieldView']['bind']('isEnabled')['to'](_0x1dee13),_0x36f77d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1dee13),_0x36f77d['on']('footnotesListStart',(_0x495e6f,_0x103e05)=>{_0x344c38['execute']('footnotesStart',{'value':_0x103e05['startIndex']});}),_0x36f77d['delegate']('execute')['to'](_0x27a391),_0x36f77d;}({'editor':_0x13cf68,'dropdownView':_0xf81d72});_0xf81d72['panelView']['children']['add'](_0x55e416);}),_0xf81d72;};}(_0x2e4b29));}['afterInit'](){const {editor:_0x407a65}=this,{t:t}=_0x407a65['locale'],_0x48709a=_0x407a65['plugins']['get'](_0x109edf),{defaultPositions:_0xbe28af}=_0x27a844;_0x48709a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x407a65['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4478e1=>{let _0x14d1b0=_0x4478e1['getFirstPosition']()?.['parent'];return _0x14d1b0?.['is']('$text')&&(_0x14d1b0=_0x14d1b0['parent']),_0x14d1b0?.['is']('element')?_0x14d1b0['findAncestor']($):null;},'positions':[_0xbe28af['southArrowNorth'],_0xbe28af['southArrowNorthMiddleWest'],_0xbe28af['southArrowNorthMiddleEast'],_0xbe28af['southArrowNorthWest'],_0xbe28af['southArrowNorthEast'],_0xbe28af['northArrowSouth'],_0xbe28af['northArrowSouthMiddleWest'],_0xbe28af['northArrowSouthMiddleEast'],_0xbe28af['northArrowSouthWest'],_0xbe28af['northArrowSouthEast'],_0xbe28af['viewportStickyNorth']]});}}class ft extends _0x4fba34{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,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x4869ba,Command as _0xd04106}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x9750cb,isWidget as _0x16962e,toWidgetEditable as _0x5d97bd,WidgetToolbarRepository as _0x410dcc}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1eee8b,logWarning as _0x73ade,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5065df,ClickObserver as _0x12cb76}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x484ee2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4ab967,ButtonView as _0x5b6f34,View as _0x1ef24d,ViewCollection as _0x55a643,FocusCycler as _0x5dc5a1,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x416435,BalloonPanelView as _0x33f037,createDropdown as _0x51cc92}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1f86e7,IconListStyleDecimal as _0x5e5881,IconListStyleDecimalLeadingZero as _0x31d9e2,IconListStyleLowerRoman as _0x546a74,IconListStyleUpperRoman as _0x1614ec,IconListStyleLowerLatin as _0x5bb2c1,IconListStyleUpperLatin as _0x44027f}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4b423e,_0x2ba55c){this['_model']=_0x4b423e,this['_elementName']=_0x2ba55c['elementName'],this['_getElementKey']=_0x2ba55c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xb6ac5f){const _0x3858c0=new Set(),_0x382e07=new Map();for(const _0x21ed26 of _0xb6ac5f){if('insert'===_0x21ed26['type']&&'$text'!==_0x21ed26['name']&&_0x21ed26['position']['nodeAfter']){const _0x2b459e=this['_model']['createRangeOn'](_0x21ed26['position']['nodeAfter']);for(const _0x36caae of _0x2b459e['getItems']()){if(!_0x36caae['is']('element',this['_elementName']))continue;const _0x3132ff=this['_getElementKey'](_0x36caae);_0x382e07['has'](_0x3132ff)||_0x382e07['set'](_0x3132ff,[]),_0x382e07['get'](_0x3132ff)['push'](_0x36caae);}}if('remove'===_0x21ed26['type']&&_0x21ed26['name']===this['_elementName']){const _0x4af4ba=this['_getElementKey']({'getAttribute':_0x512749=>_0x21ed26['attributes']['get'](_0x512749)});_0x3858c0['add'](_0x4af4ba);}}for(const [_0x49b7aa,_0x537e4a]of this['_trackedElements'])'$graveyard'===_0x537e4a['root']['rootName']&&_0x3858c0['add'](_0x49b7aa);for(const _0x5e88f4 of _0x3858c0)this['_trackedElements']['delete'](_0x5e88f4);for(const [_0xc353c9,_0x561670]of _0x382e07)this['_trackedElements']['set'](_0xc353c9,_0x561670[_0x561670['length']-0x1]);const _0x16a659=new Set();for(const [_0x182abd,_0x135b21]of _0x382e07)_0x3858c0['has'](_0x182abd)&&(_0x16a659['add'](_0x135b21[0x0]),_0x135b21['length']>0x1?_0x382e07['set'](_0x182abd,_0x135b21['slice'](0x1)):_0x382e07['delete'](_0x182abd),_0x3858c0['delete'](_0x182abd));return{'removed':Array['from'](_0x3858c0),'inserted':Array['from'](_0x382e07['values']())['flat'](),'moved':Array['from'](_0x16a659)};}}class f extends _0x4869ba{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb3ac4f){super(_0xb3ac4f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x349d68=>_0x349d68['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2b58a8=>_0x2b58a8['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3eebfe}=this,{model:_0x6d7614,data:_0x20a344}=_0x3eebfe;_0x6d7614['document']['registerPostFixer'](_0xc9e41a=>{const _0xd0db9f=_0x6d7614['document']['differ']['getChanges']();let _0x858ede=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc9e41a,_0xd0db9f)&&(_0x858ede=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc9e41a,_0xd0db9f)&&(_0x858ede=!0x0),this['_handleFootnoteReferencesChanges'](_0xc9e41a,_0xd0db9f)&&(_0x858ede=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc9e41a)&&(_0x858ede=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc9e41a)&&(_0x858ede=!0x0),this['_sortFootnoteDefinitions'](_0xc9e41a)&&(_0x858ede=!0x0),_0x858ede;}),this['listenTo'](_0x6d7614['document'],'change:data',()=>{_0x6d7614['enqueueChange']({'isUndoable':!0x1},_0x18981f=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x18981f);});},{'priority':'low'}),this['listenTo'](_0x20a344,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x41852d){return this['_footnotes']['find'](_0x4af2bc=>_0x4af2bc['id']===_0x41852d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x34acf7){this['_footnoteFormatter']=_0x34acf7;}['_updateFootnotesCounters'](_0x55495d,_0x52ca66=0x0){let _0x200233=!0x1;for(let _0x1ea048=_0x52ca66;_0x1ea048<this['_footnotes']['length'];_0x1ea048++)this['_updateFootnoteRefCounter'](_0x55495d,_0x1ea048)&&(_0x200233=!0x0);return _0x200233;}['_insertEmptyFootnotesDefinitionsContainer'](_0x462d27,_0x37d029){const _0x21fa4d=_0x462d27['createElement']('footnotesDefinitions',{});return _0x462d27['append'](_0x21fa4d,_0x37d029),this['_footnotesDefinitions']=_0x21fa4d,_0x21fa4d;}['_ensureFootnotesDefinitionsContainerExists'](_0x254705){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x439cdd=this['_footnotes'][0x0]['reference']['root'],_0x11bc5a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x254705,_0x439cdd);for(const _0x10e73b of this['_footnotes'])_0x10e73b['definition']['parent']||_0x254705['insert'](_0x10e73b['definition'],_0x11bc5a,'end');this['_updateFootnotesCounters'](_0x254705);}['_handleFootnotesDefinitionsObjectChanges'](_0x3b8f21,_0x458a29){let _0x4ba325=!0x1;const {inserted:_0x535cc2,removed:_0x166149,moved:_0x5e7181}=this['_footnoteDefsContainerTracker']['getChanges'](_0x458a29);if(_0x5e7181['length']&&(this['_footnotesDefinitions']=_0x5e7181[0x0]),_0x535cc2['length']){if(_0x535cc2['length']>0x1||this['_footnotesDefinitions']&&_0x535cc2['some'](_0x41988d=>_0x41988d!==this['_footnotesDefinitions'])){const _0x32a98c=_0x3b8f21['createElement']('footnotesDefinitions',{}),_0x45ded0=[];this['_footnotesDefinitions']&&_0x45ded0['push'](this['_footnotesDefinitions']),_0x45ded0['push'](..._0x535cc2),_0x3b8f21['insert'](_0x32a98c,_0x45ded0[0x0],'before');for(const _0x40096e of _0x45ded0)_0x3b8f21['move'](_0x3b8f21['createRangeIn'](_0x40096e),_0x3b8f21['createPositionAt'](_0x32a98c,'end')),_0x3b8f21['remove'](_0x40096e);this['_footnotesDefinitions']=_0x32a98c,this['_updateFootnotesCounters'](_0x3b8f21),_0x4ba325=!0x0;}else this['_footnotesDefinitions']=_0x535cc2[0x0];}if(_0x166149['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x27b92c of this['_footnotes'])_0x3b8f21['remove'](_0x27b92c['reference']),_0x4ba325=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4ba325;}['_handleFootnoteDefinitionsChanges'](_0xc3a69d,_0xe50344){let _0x19ed14=!0x1;const _0x5b40cb=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x7d4e9d,moved:_0x298b90}=this['_footnoteDefsTracker']['getChanges'](_0xe50344);for(const _0x487912 of[..._0x298b90,..._0x7d4e9d]){const _0x2a21e0=_0x487912['getAttribute']('footnoteId'),_0x2f54e4=this['getFootnote'](_0x2a21e0);_0x2f54e4&&(_0x2f54e4['definition']=_0x487912),_(_0xc3a69d,_0x5b40cb,_0x487912)&&(_0x19ed14=!0x0);}return _0x19ed14;}['_handleFootnoteReferencesChanges'](_0x405b10,_0x5e4e65){let _0x57274a=!0x1;const {removed:_0x3d765c,inserted:_0x46a144,moved:_0x8575f8}=this['_footnoteRefsTracker']['getChanges'](_0x5e4e65);for(const _0x3c5f85 of _0x3d765c)this['_handleRemoveFootnoteReferenceById'](_0x405b10,_0x3c5f85)&&(_0x57274a=!0x0);for(const _0x23a72a of _0x46a144)this['_handleInsertedFootnoteReference'](_0x405b10,_0x23a72a)&&(_0x57274a=!0x0);for(const _0x207ec2 of _0x8575f8)this['_handleMovedFootnoteReference'](_0x405b10,_0x207ec2)&&(_0x57274a=!0x0);return _0x57274a;}['_handleFootnotesDefinitionsObjectSync'](_0x28ab54){if(!this['_footnotesDefinitions'])return!0x1;let _0x3fc3f2=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x336879=[];for(const _0x1e4f8c of this['_footnotesDefinitions']['getChildren']()){const _0x16dc8b=_0x1e4f8c['getAttribute']('footnoteId');this['getFootnote'](_0x16dc8b)||(_0x336879['unshift'](_0x1e4f8c),_0x3fc3f2=!0x0);}for(const _0x10eca8 of _0x336879)_0x28ab54['remove'](_0x10eca8);}const _0x4e10c2=new Set(),_0x2e92d1=[];for(const _0x31bb11 of this['_footnotesDefinitions']['getChildren']()){const _0x5368a7=_0x31bb11['getAttribute']('footnoteId');_0x4e10c2['has'](_0x5368a7)?(_0x2e92d1['unshift'](_0x31bb11),_0x3fc3f2=!0x0):_0x4e10c2['add'](_0x5368a7);}for(const _0x1e275a of _0x2e92d1)_0x28ab54['remove'](_0x1e275a);return this['_footnotesDefinitions']['childCount']||(_0x28ab54['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3fc3f2=!0x0),_0x3fc3f2;}['_handleInsertedFootnoteReference'](_0x15c462,_0x4a4d95){if(this['_footnotes']['find'](_0x31b00f=>_0x31b00f['reference']===_0x4a4d95))return!0x1;let _0x303369=!0x1;const _0x8efccb=_0x4a4d95['getAttribute']('footnoteId'),_0x3b7c91=this['_footnotes']['findIndex'](_0x5068a9=>_0x5068a9['id']===_0x8efccb);-0x1!==_0x3b7c91&&(_0x15c462['remove'](this['_footnotes'][_0x3b7c91]['reference']),this['_footnotes']['splice'](_0x3b7c91,0x1),_0x303369=!0x0);let _0x5c9369=this['_footnotesDefinitions']?function(_0x344ce0,_0x3f1e1c){for(const _0x39a0a1 of _0x344ce0['getChildren']())if(_0x39a0a1['getAttribute']('footnoteId')===_0x3f1e1c)return _0x39a0a1;return null;}(this['_footnotesDefinitions'],_0x8efccb):null;_0x5c9369||(_0x5c9369=_0x15c462['createElement']('footnoteDefinition',{'footnoteId':_0x8efccb}),this['_footnotesDefinitions']&&(_0x15c462['insert'](_0x5c9369,this['_footnotesDefinitions'],'end'),_0x303369=!0x0));const _0x11788a={'id':_0x8efccb,'reference':_0x4a4d95,'definition':_0x5c9369},_0x1c3629=I(this['editor']['model'],this['_footnotes'],_0x4a4d95);this['_footnotes']['splice'](_0x1c3629,0x0,_0x11788a);let _0x28b690=_0x1c3629;return-0x1!==_0x3b7c91&&(_0x28b690=Math['min'](_0x1c3629,_0x3b7c91)),this['_updateFootnotesCounters'](_0x15c462,_0x28b690)&&(_0x303369=!0x0),_0x303369;}['_handleRemoveFootnoteReferenceById'](_0x2ebeff,_0x3388de){const _0x103ae2=this['_footnotes']['findIndex'](_0x45dda9=>_0x45dda9['id']===_0x3388de);if(-0x1===_0x103ae2)return!0x1;let _0x4aebe0=!0x1;const _0x275ca5=this['_footnotes'][_0x103ae2];return'$graveyard'!==_0x275ca5['definition']['root']['rootName']&&(_0x2ebeff['remove'](_0x275ca5['definition']),_0x4aebe0=!0x0),this['_footnotes']['splice'](_0x103ae2,0x1),this['_updateFootnotesCounters'](_0x2ebeff,_0x103ae2)&&(_0x4aebe0=!0x0),_0x4aebe0;}['_handleMovedFootnoteReference'](_0x85b178,_0x3b2567){const _0x3a8eab=_0x3b2567['getAttribute']('footnoteId'),_0x55df9d=this['_footnotes']['findIndex'](_0x4386cd=>_0x4386cd['id']===_0x3a8eab),_0x4c6fa4=this['_footnotes'][_0x55df9d];let _0x120466=!0x1;_0x4c6fa4['reference']=_0x3b2567,this['_footnotes']['splice'](_0x55df9d,0x1);const _0x3e2801=I(this['editor']['model'],this['_footnotes'],_0x3b2567);return this['_footnotes']['splice'](_0x3e2801,0x0,_0x4c6fa4),this['_updateFootnotesCounters'](_0x85b178,Math['min'](_0x55df9d,_0x3e2801))&&(_0x120466=!0x0),_0x120466;}['_updateFootnoteRefCounter'](_0x2c3c88,_0x1b222a){if(!this['_footnotesDefinitions'])return!0x1;const _0x1b1613=this['_footnotes'][_0x1b222a];let _0x2709cf;return _0x2709cf=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1b1613,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1b222a+0x1}):String(_0x1b222a+0x1),_0x1b1613['reference']['getAttribute']('footnoteCounter')!=_0x2709cf&&(_0x2c3c88['setAttribute']('footnoteCounter',_0x2709cf,_0x1b1613['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x423a70){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1f3f63,_0x2c2681){if(_0x1f3f63['length']!==_0x2c2681['length'])return!0x1;for(let _0x39a93a=0x0;_0x39a93a<_0x1f3f63['length'];_0x39a93a++)if(_0x1f3f63[_0x39a93a]!==_0x2c2681[_0x39a93a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x28c682=>_0x28c682['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x46a15b=>_0x46a15b['getAttribute']('footnoteId'))))return!0x1;let _0x2afc3e=!0x1;for(let _0x4a5317=0x0;_0x4a5317<this['_footnotes']['length'];_0x4a5317++){const _0x11c2f0=this['_footnotes'][_0x4a5317],_0x33fdf5=_0x423a70['createPositionBefore'](_0x11c2f0['definition']),_0x41e20f=_0x423a70['createPositionAt'](this['_footnotesDefinitions'],_0x4a5317);_0x33fdf5['isEqual'](_0x41e20f)||(_0x423a70['move'](_0x423a70['createRangeOn'](_0x11c2f0['definition']),_0x41e20f),_0x2afc3e=!0x0);}return _0x2afc3e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2647a6){if(!this['_footnotes']['length'])return!0x1;const {model:_0x15be54}=this['editor'];let _0x2acbf2=!0x1;for(let _0x2bad50=0x0;_0x2bad50<this['_footnotes']['length']-0x1;_0x2bad50++){const _0x1a60a1=this['_footnotes'][_0x2bad50],_0x59e2c0=this['_footnotes'][_0x2bad50+0x1],_0x4e2de9=_0x15be54['createPositionBefore'](_0x1a60a1['reference']),_0x372801=_0x15be54['createPositionBefore'](_0x59e2c0['reference']);'after'===_0x4e2de9['compareWith'](_0x372801)&&(this['_handleMovedFootnoteReference'](_0x2647a6,_0x1a60a1['reference']),_0x2bad50=-0x1,_0x2acbf2=!0x0);}return _0x2acbf2;}}function _(_0x11d1ca,_0x4bf43a,_0x365242){if(_0x365242['childCount'])return!0x1;const _0x4ffc29=_0x4bf43a?'paragraph':'footnoteInlineContent';return _0x11d1ca['insert'](_0x11d1ca['createElement'](_0x4ffc29),_0x365242),!0x0;}function I(_0x1e25aa,_0x140196,_0x4042ea){if(0x0===_0x140196['length'])return 0x0;const _0x13f25f=_0x1e25aa['createPositionBefore'](_0x4042ea);for(let _0x3f42b8=0x0;_0x3f42b8<_0x140196['length'];_0x3f42b8++){const _0xe08f73=_0x140196[_0x3f42b8],_0x1cd277=_0x1e25aa['createPositionBefore'](_0xe08f73['reference']);if('before'===_0x13f25f['compareWith'](_0x1cd277))return _0x3f42b8;}const _0x2555f1=_0x4042ea['root'];let _0x4884ee=-0x1;for(let _0x682462=_0x140196['length']-0x1;_0x682462>=0x0;_0x682462--)if(_0x140196[_0x682462]['reference']['root']===_0x2555f1){_0x4884ee=_0x682462;break;}if(-0x1!==_0x4884ee)return _0x4884ee+0x1;const _0x238604=_0x1e25aa['document']['getRootNames'](),_0xbb5d7e=_0x238604['indexOf'](_0x2555f1['rootName']),_0x200d74=_0x238604[_0xbb5d7e+0x1];if(_0x200d74){for(let _0x225788=0x0;_0x225788<_0x140196['length'];_0x225788++)if(_0x140196[_0x225788]['reference']['root']['rootName']===_0x200d74)return _0x225788;}return _0x140196['length'];}class m extends _0xd04106{['refresh'](){const _0xd9ff80=this['editor']['model']['document']['selection'],_0x1c22f0=this['_getPositionToInsertFootnote'](_0xd9ff80);this['isEnabled']=!!_0x1c22f0;}['execute'](_0x2e52fa){const {editor:_0x8d8603}=this,{model:_0x1b0422}=_0x8d8603,{selection:_0x257dc6}=_0x1b0422['document'],_0x227671=this['_getPositionToInsertFootnote'](_0x257dc6);if(!_0x227671)return;const _0x391164=_0x8d8603['plugins']['get']('FootnotesEditing'),_0x549d46=_0x2e52fa?.['footnoteId']??_0x1eee8b();!function(_0x21f1f0){return'string'==typeof _0x21f1f0&&_0x21f1f0['length']>0x0&&!/\s/['test'](_0x21f1f0)&&!/^\d/['test'](_0x21f1f0);}(_0x549d46)?_0x73ade('insert-footnote-command-executed-with-invalid-id'):(_0x1b0422['change'](_0x41a134=>{const _0xcfe5ab=_0x41a134['createElement']('footnoteRef',{'footnoteId':_0x549d46});_0x1b0422['insertObject'](_0xcfe5ab,_0x227671,null);}),_0x391164['_moveSelectionToFootnoteDefinition'](_0x549d46));}['_getPositionToInsertFootnote'](_0x4d0431){const {model:_0x2bb686}=this['editor'],{schema:_0x4c06f9}=_0x2bb686,_0x4cc5f8=_0x4d0431['getFirstRange']();for(const _0x408c36 of _0x4cc5f8['getItems']())if(_0x4c06f9['isBlock'](_0x408c36)||_0x4c06f9['isObject'](_0x408c36))return null;const _0x35dc72=_0x4cc5f8['end'];return _0x4c06f9['checkChild'](_0x35dc72,'footnoteRef')?_0x35dc72:null;}}class r extends _0x4869ba{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x451b6d}=this;_0x451b6d['config']['define']('footnotes.multiBlock',!0x0),_0x451b6d['commands']['add']('insertFootnote',new m(_0x451b6d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3bc3bd){const _0x2c683d=_0x12d1d7([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]),_0x435131=0x47a28506,_0x17bbed=0x47a5f916^_0x435131,_0x2680d5=window[_0x12d1d7([0x44,0x61,0x74,0x65])][_0x12d1d7([0x6e,0x6f,0x77])](),_0x13cdbd=_0x3bc3bd[_0x12d1d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a26b3=new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf8795=>{_0x13cdbd[_0x12d1d7([0x6f,0x6e,0x63,0x65])](_0x12d1d7([0x72,0x65,0x61,0x64,0x79]),_0xdf8795);}),_0x2c2de6={[_0x12d1d7([0x6b,0x74,0x79])]:_0x12d1d7([0x45,0x43]),[_0x12d1d7([0x75,0x73,0x65])]:_0x12d1d7([0x73,0x69,0x67]),[_0x12d1d7([0x63,0x72,0x76])]:_0x12d1d7([0x50,0x2d,0x32,0x35,0x36]),[_0x12d1d7([0x78])]:_0x12d1d7([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]),[_0x12d1d7([0x79])]:_0x12d1d7([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]),[_0x12d1d7([0x61,0x6c,0x67])]:_0x12d1d7([0x45,0x53,0x32,0x35,0x36])},_0x39c3b9=_0x13cdbd[_0x12d1d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12d1d7([0x67,0x65,0x74])](_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19c6ae(){let _0x8b7494,_0x5b2463=null,_0x5c28fe=null;try{if(_0x39c3b9==_0x12d1d7([0x47,0x50,0x4c]))return _0x12d1d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8b7494=_0x49893d(),!_0x8b7494)return _0x12d1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8b7494[_0x12d1d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c28fe=_0x16bda3(_0x8b7494[_0x12d1d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8b7494[_0x12d1d7([0x6a,0x74,0x69])])),await _0x23009a()?_0x14c71e()?_0x227ec3()?_0x12d1d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xee752f()?(_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12d1d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b2463=_0x23d852(_0x12d1d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12d1d7([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b2463=_0x23d852(_0x12d1d7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36f38b()):_0x12d1d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12d1d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12d1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12d1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x227ec3(){const _0x45b88d=[_0x12d1d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12d1d7([0x74,0x72,0x69,0x61,0x6c])][_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2680d5/0x3e8:0xe10*_0x17bbed;return _0x8b7494[_0x12d1d7([0x65,0x78,0x70])]<_0x45b88d;}function _0x14c71e(){const _0x15572c=_0x8b7494[_0x12d1d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15572c&&(!!_0x15572c[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d1d7([0x2a]))||!!_0x15572c[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d1d7([0x46,0x4f,0x4f])));}function _0xee752f(){const _0x3aa2aa=_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3aa2aa||0x0==_0x3aa2aa[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x502629}=new URL(window[_0x12d1d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3aa2aa[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502629))return!0x0;const _0x4c170b=_0x502629[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e]));return _0x3aa2aa[_0x12d1d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29b3af=>_0x29b3af[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d1d7([0x2a])))[_0x12d1d7([0x6d,0x61,0x70])](_0x25c750=>_0x25c750[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e])))[_0x12d1d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27839f=>_0x27839f[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c170b[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12d1d7([0x6d,0x61,0x70])](_0x40ccf4=>Array(_0x4c170b[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40ccf4[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12d1d7([0x66,0x69,0x6c,0x6c])](_0x40ccf4[0x0]===_0x12d1d7([0x2a])?_0x12d1d7([0x2a]):'')[_0x12d1d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40ccf4))[_0x12d1d7([0x73,0x6f,0x6d,0x65])](_0x5b8cf2=>_0x4c170b[_0x12d1d7([0x65,0x76,0x65,0x72,0x79])]((_0xae35be,_0xb3fedc)=>_0x5b8cf2[_0xb3fedc]===_0xae35be||_0x5b8cf2[_0xb3fedc]===_0x12d1d7([0x2a])));}function _0x36f38b(){return _0x5b2463&&_0x5c28fe?new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52fb36,_0x49719d)=>{_0x5b2463[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x52fb36,_0x49719d),_0x5c28fe[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x527a0f=>{_0x527a0f!=_0x12d1d7([0x56,0x61,0x6c,0x69,0x64])&&_0x52fb36(_0x527a0f);},_0x49719d);}):_0x5b2463||_0x5c28fe||_0x12d1d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16bda3(_0x428f61,_0x1c439b){return new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcb94d6=>{if(_0x4e098a())return _0xcb94d6(_0x12d1d7([0x56,0x61,0x6c,0x69,0x64]));_0x23d70a(),_0x13cdbd[_0x12d1d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12d1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4856de=!0x1;const _0xf92ce2=_0x1eee8b();function _0x50cef7(_0x158ced){return!!_0x158ced&&(typeof _0x158ced===_0x12d1d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x158ced===_0x12d1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x158ced[_0x12d1d7([0x74,0x68,0x65,0x6e])]===_0x12d1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x158ced[_0x12d1d7([0x63,0x61,0x74,0x63,0x68])]===_0x12d1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46cc1d(_0xa3af0d){_0x3803c0(_0xa3af0d)[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x325eb3=>{if(!_0x325eb3||_0x325eb3[_0x12d1d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12d1d7([0x6f,0x6b]))return _0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a1333(_0x2beca6(_0xf92ce2+_0x1c439b))!=_0x325eb3[_0x12d1d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12d1d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0xaf75b5=>(_0xe9ceda(),_0xaf75b5),()=>{const _0x15e5ee=_0x123e55();return null==_0x15e5ee?(_0xe9ceda(),_0x12d1d7([0x56,0x61,0x6c,0x69,0x64])):_0x12d1d7(_0x2680d5-_0x15e5ee>(0x63ae0106^_0x435131)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0xcb94d6)[_0x12d1d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcb94d6(_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e376c=0x47946b86^_0x435131;function _0xe9ceda(){const _0x19bd73=_0x12d1d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1333(_0x2beca6(_0x428f61)),_0x45d4ba=_0x2880ca(_0x4a1333(window[_0x12d1d7([0x4d,0x61,0x74,0x68])][_0x12d1d7([0x63,0x65,0x69,0x6c])](_0x2680d5/_0x4e376c)));window[_0x12d1d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12d1d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19bd73,_0x45d4ba);}function _0x123e55(){const _0x519598=_0x12d1d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1333(_0x2beca6(_0x428f61)),_0x2cf03e=window[_0x12d1d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12d1d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x519598);return _0x2cf03e?window[_0x12d1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2880ca(_0x2cf03e),0x10)*_0x4e376c:null;}function _0x3803c0(_0x5533d0){return new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b4ae8,_0x5064fb)=>{_0x5533d0[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x5b4ae8,_0x5064fb),window[_0x12d1d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5064fb,0x47a351c6^_0x435131);});}}_0x13cdbd[_0x12d1d7([0x6f,0x6e])](_0x12d1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x576117,_0x48d990)=>{if(_0x48d990[0x0]!=_0x428f61)return _0xcb94d6(_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48d990[0x1]={..._0x48d990[0x1],[_0x12d1d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf92ce2};},{[_0x12d1d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12d1d7([0x68,0x69,0x67,0x68])}),_0x13cdbd[_0x12d1d7([0x6f,0x6e])](_0x12d1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b64e2=>{_0x50cef7(_0x1b64e2[_0x12d1d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4856de=!0x0,_0x46cc1d(_0x1b64e2[_0x12d1d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12d1d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12d1d7([0x6c,0x6f,0x77])}),_0x1a26b3[_0x12d1d7([0x74,0x68,0x65,0x6e])](()=>{_0x4856de||_0xcb94d6(_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e098a(){return _0x13cdbd[_0x12d1d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d1d7([0x76,0x69,0x65,0x77])][_0x12d1d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12d1d7([0x61,0x75,0x74,0x6f]);}function _0x23d70a(){_0x13cdbd[_0x12d1d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d1d7([0x76,0x69,0x65,0x77])][_0x12d1d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12d1d7([0x61,0x75,0x74,0x6f]);}}function _0x23d852(_0x7955cc){const _0x5c32e4=[new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xee2490=>setTimeout(_0xee2490,0x47abbbca^_0x435131)),_0x1a26b3[_0x12d1d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38a723=>{let _0x419dc8=0x0;_0x13cdbd[_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d1d7([0x6f,0x6e])](_0x12d1d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a6147,_0x34fc06)=>{_0x34fc06[0x0][_0x12d1d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x419dc8++,_0x419dc8==(0x47a284fe^_0x435131)&&(_0x38a723(),_0x3a6147[_0x12d1d7([0x6f,0x66,0x66])]());});}))];return window[_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12d1d7([0x72,0x61,0x63,0x65])](_0x5c32e4)[_0x12d1d7([0x74,0x68,0x65,0x6e])](()=>_0x7955cc);}async function _0x3df2a2(){await _0x1a26b3,_0x13cdbd[_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d1d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33f3a6,_0x13cdbd[_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d1d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33f3a6,_0x13cdbd[_0x12d1d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d9581(_0x2c767d){const _0x37e292=_0x23914a();_0x13cdbd[_0x37e292]=_0x12d1d7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c767d,_0x2c767d!=_0x12d1d7([0x56,0x61,0x6c,0x69,0x64])&&_0x3df2a2();}function _0x23914a(){const _0xe9a4ff=window[_0x12d1d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12d1d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12d1d7([0x6e,0x6f,0x77])]())[_0x12d1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12d1d7([0x2e]),'');let _0x132692=_0x12d1d7([0x75]);for(let _0x128d1c=0x0;_0x128d1c<_0xe9a4ff[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x128d1c+=0x2){let _0x19af8e=window[_0x12d1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe9a4ff[_0x12d1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x128d1c,_0x128d1c+0x2));_0x19af8e>=_0x2c683d[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19af8e-=_0x2c683d[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x132692+=_0x2c683d[_0x19af8e];}return _0x132692;}function _0x49893d(){const _0x8c8451=_0x39c3b9[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e]));if(0x3!=_0x8c8451[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x7b713c(_0x8c8451[0x1]);function _0x7b713c(_0x8e2286){const _0x4a2e94=_0x2208e3(_0x8e2286);return _0x4a2e94&&_0x52bbc9()?_0x4a2e94:null;function _0x52bbc9(){const _0x28dc96=_0x4a2e94[_0x12d1d7([0x6a,0x74,0x69])],_0x4ab297=window[_0x12d1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28dc96[_0x12d1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28dc96[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42ffc2={..._0x4a2e94,[_0x12d1d7([0x6a,0x74,0x69])]:_0x28dc96[_0x12d1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28dc96[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42ffc2[_0x12d1d7([0x76,0x63])],_0x2beca6(_0x42ffc2)==_0x4ab297;}}}async function _0x23009a(){let _0x40d943=!0x0;try{const _0x568a5e=_0x39c3b9[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e])),[_0x2cd424,_0x4285c7,_0x1e059e]=_0x568a5e;return _0x1327d2(_0x2cd424),await _0x108697(_0x2cd424,_0x4285c7,_0x1e059e),_0x40d943;}catch{return!0x1;}function _0x1327d2(_0x23d203){const _0x2069e5=_0x2208e3(_0x23d203);_0x2069e5&&_0x2069e5[_0x12d1d7([0x61,0x6c,0x67])]==_0x12d1d7([0x45,0x53,0x32,0x35,0x36])||(_0x40d943=!0x1);}async function _0x108697(_0x440283,_0x11bf79,_0x1e2a22){const _0x50ac71=window[_0x12d1d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12d1d7([0x66,0x72,0x6f,0x6d])](_0x390cd4(_0x1e2a22),_0x6755e9=>_0x6755e9[_0x12d1d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x343471=new window[(_0x12d1d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12d1d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x440283+_0x12d1d7([0x2e])+_0x11bf79),_0x1d291d=window[_0x12d1d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12d1d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d291d)return;const _0x5a4215=await _0x1d291d[_0x12d1d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12d1d7([0x6a,0x77,0x6b]),_0x2c2de6,{[_0x12d1d7([0x6e,0x61,0x6d,0x65])]:_0x12d1d7([0x45,0x43,0x44,0x53,0x41]),[_0x12d1d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12d1d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12d1d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d291d[_0x12d1d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12d1d7([0x6e,0x61,0x6d,0x65])]:_0x12d1d7([0x45,0x43,0x44,0x53,0x41]),[_0x12d1d7([0x68,0x61,0x73,0x68])]:{[_0x12d1d7([0x6e,0x61,0x6d,0x65])]:_0x12d1d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a4215,_0x50ac71,_0x343471)||(_0x40d943=!0x1);}}function _0x2208e3(_0x4c3342){return _0x4c3342[_0x12d1d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12d1d7([0x65,0x79]))?JSON[_0x12d1d7([0x70,0x61,0x72,0x73,0x65])](_0x390cd4(_0x4c3342)):null;}function _0x390cd4(_0x1194c3){return window[_0x12d1d7([0x61,0x74,0x6f,0x62])](_0x1194c3[_0x12d1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12d1d7([0x2b]))[_0x12d1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12d1d7([0x2f])));}function _0x2beca6(_0xe8828){let _0x2f137d=0x1505;function _0x14a9a9(_0xf54962){for(let _0x7f93c7=0x0;_0x7f93c7<_0xf54962[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7f93c7++){const _0x27d27c=_0xf54962[_0x12d1d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7f93c7);_0x2f137d=(_0x2f137d<<0x5)+_0x2f137d+_0x27d27c,_0x2f137d&=_0x2f137d;}}function _0xcb94c4(_0x57cb21){Array[_0x12d1d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57cb21)?_0x57cb21[_0x12d1d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcb94c4):_0x57cb21&&typeof _0x57cb21==_0x12d1d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12d1d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57cb21)[_0x12d1d7([0x73,0x6f,0x72,0x74])]()[_0x12d1d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c1442,_0x43409d])=>{_0x14a9a9(_0x2c1442),_0xcb94c4(_0x43409d);}):_0x14a9a9(window[_0x12d1d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57cb21));}return _0xcb94c4(_0xe8828),_0x2f137d>>>0x0;}function _0x4a1333(_0x511bfe){return _0x511bfe[_0x12d1d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12d1d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12d1d7([0x30]));}function _0x2880ca(_0x546ebf){return _0x546ebf[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12d1d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12d1d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x33f3a6(){}function _0x12d1d7(_0x39dd76){return _0x39dd76['map'](_0x5f4ace=>String['fromCharCode'](_0x5f4ace))['join']('');}_0x1d9581(await _0x19c6ae());}(this);}['_moveSelectionToFootnoteDefinition'](_0x147805){const {plugins:_0x3b8c4b,editing:_0x30fc08,model:_0x3529b1}=this['editor'],_0x4b5e08=_0x3b8c4b['get'](f)['getFootnote'](_0x147805);return!!_0x4b5e08&&(_0x3529b1['change'](_0x3509fd=>{_0x3509fd['setSelection'](_0x3509fd['createPositionAt'](_0x4b5e08['definition'],'end'));}),_0x30fc08['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3fdc04){const {plugins:_0x29c34b,editing:_0x4deae6,model:_0x2fc4fe}=this['editor'],_0x1ff266=_0x29c34b['get'](f)['getFootnote'](_0x3fdc04);return!!_0x1ff266&&(_0x2fc4fe['change'](_0x5661f2=>{_0x5661f2['setSelection'](_0x1ff266['reference'],'on');}),_0x4deae6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x24dd68}=this['editor']['model'],_0x3c4d0f=this['editor']['config']['get']('footnotes.multiBlock');_0x24dd68['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x24dd68['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x24dd68['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c4d0f?_0x24dd68['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x24dd68['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x24dd68['addChildCheck'](_0x3862e3=>{for(const _0x3bc161 of _0x3862e3)if('footnoteDefinition'===_0x3bc161['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2930c2}=this,{conversion:_0x4e8af6,editing:_0x45e5ca}=_0x2930c2,{t:t}=_0x2930c2['locale'];_0x4e8af6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x193647,{writer:_0x27ef4e,consumable:_0x5a3116})=>{const _0x1f485d=_0x193647['getChild'](0x0);if(!_0x1f485d||!_0x1f485d['is']('element','a'))return null;const _0x4f19cf=_0x1f485d['getAttribute']('href')||'';if(!_0x4f19cf['startsWith']('#'))return null;const _0xbe39c3=_0x4f19cf['replace'](/^#/,'');if(!_0xbe39c3)return null;_0x5a3116['consume'](_0x1f485d,{'name':!0x0,'attributes':['href']});for(const {item:_0x459d8a}of _0x45e5ca['view']['createRangeIn'](_0x1f485d))_0x459d8a['is']('$textProxy')?_0x5a3116['consume'](_0x459d8a['textNode'],{'name':!0x0}):_0x459d8a['is']('element')&&_0x5a3116['consume'](_0x459d8a,{'name':!0x0});return _0x27ef4e['createElement']('footnoteRef',{'footnoteId':_0xbe39c3});}}),_0x4e8af6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a82ca,{writer:_0x5b9b0a})=>D(_0x3a82ca,_0x5b9b0a)}),_0x4e8af6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x52e02f,{writer:_0x52908f})=>{const _0x569b2a=_0x52e02f['getAttribute']('footnoteCounter');return _0x9750cb(D(_0x52e02f,_0x52908f),_0x52908f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x569b2a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x42f958}=this,{t:t}=_0x42f958['locale'],{conversion:_0x37c1f7}=_0x42f958;_0x37c1f7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x37c1f7['for']('upcast')['add'](_0x736bc=>{_0x736bc['on']('element:ol',(_0x2f1532,_0x2538fb,_0x52d972)=>{const _0x30f28a=_0x2538fb['viewItem'];if(!_0x30f28a['hasClass']('footnotes-list')||!_0x2538fb['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x52d972['consumable']['consume'](_0x30f28a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x21ced8,modelCursor:_0x30f0c3}=_0x52d972['convertChildren'](_0x2538fb['viewItem'],_0x2538fb['modelCursor']);_0x2538fb['modelRange']=_0x21ced8,_0x2538fb['modelCursor']=_0x30f0c3;}),_0x736bc['on']('element:hr',(_0x2e57c6,_0x45d604,_0x2c7249)=>{const _0x15d268=_0x45d604['viewItem'];_0x15d268['hasClass']('footnotes-divider')&&_0x45d604['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2c7249['consumable']['consume'](_0x15d268,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x37c1f7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x347cbd,{writer:_0x34de48})=>v(_0x34de48)}),_0x37c1f7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2a3350,{writer:_0x3dc28d})=>{const _0x285fa7=v(_0x3dc28d,{'data-footnotes-list-label':t('Footnotes')}),_0x4d4c1d=_0x9750cb(_0x285fa7,_0x3dc28d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3dc28d['setCustomProperty']('footnotesDefinitions',!0x0,_0x4d4c1d),_0x4d4c1d;}});}['_defineDefinitionConverters'](){const {editor:_0x396b6e}=this,{conversion:_0x122c6b,locale:_0x3db3e8}=_0x396b6e,_0x2013fb=_0x396b6e['config']['get']('footnotes.multiBlock');_0x122c6b['for']('upcast')['add'](_0x35304c=>{_0x35304c['on']('element:li',(_0x305093,_0x3c6065,_0x3bcaf6)=>{const _0x2a192c=_0x3c6065['viewItem'];if(!_0x2a192c['hasClass']('footnote-definition')||!_0x2a192c['getAttribute']('id'))return;const _0x349840=_0x2a192c['parent'];if(!_0x349840['is']('element','ol')||!_0x349840['hasClass']('footnotes-list'))return;if(!_0x3bcaf6['consumable']['test'](_0x2a192c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1691c7=_0x3bcaf6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2a192c['getAttribute']('id')});if(!_0x3bcaf6['safeInsert'](_0x1691c7,_0x3c6065['modelCursor']))return;_0x3bcaf6['consumable']['consume'](_0x2a192c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3cade2=Array['from'](_0x2a192c['getChildren']())['find'](_0xd00c39=>_0xd00c39['is']('element')&&_0xd00c39['hasClass']('footnote-content'));for(const _0x2e8e48 of _0x2a192c['getChildren']())_0x2e8e48['is']('element')&&(_0x3bcaf6['consumable']['consume'](_0x2e8e48,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3bcaf6['consumable']['consume'](_0x2e8e48,{'name':!0x0,'classes':'footnote-content'}));if(_0x3cade2){if(_0x2013fb)_0x3bcaf6['convertChildren'](_0x3cade2,_0x1691c7);else{const _0x234e38=_0x3bcaf6['writer']['createElement']('footnoteInlineContent');_0x3bcaf6['writer']['insert'](_0x234e38,_0x1691c7),_0x3bcaf6['convertChildren'](_0x3cade2,_0x234e38);}}_0x3bcaf6['updateConversionResult'](_0x1691c7,_0x3c6065);});}),_0x122c6b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x392e19,{writer:_0x733bc1})=>b(_0x392e19,_0x733bc1,_0x3db3e8,{'dataPipeline':!0x0})}),_0x122c6b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x6fa381,{writer:_0x5e1457})=>b(_0x6fa381,_0x5e1457,_0x3db3e8)});}['_defineBogusParagraphConverters'](){const {editor:_0x11fb0c}=this,{conversion:_0x3039bb}=_0x11fb0c;_0x11fb0c['config']['get']('footnotes.multiBlock')?(_0x3039bb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3039bb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x11fb0c['model']['document'],'change:data',()=>{!function(_0x455c4d,_0x24b6cf){const _0xa1dd4d=_0x455c4d['document']['differ'],_0x1986fa=new Set();for(const _0x2995ae of _0xa1dd4d['getChanges']()){const _0x18fdca='attribute'==_0x2995ae['type']?_0x2995ae['range']['start']['parent']:_0x2995ae['position']['parent'];_0x18fdca['is']('element','footnoteDefinition')&&_0x1986fa['add'](_0x18fdca);}for(const _0x1e6931 of _0x1986fa['values']()){const _0x2cab29=Array['from'](_0x1e6931['getChildren']())['filter'](_0x3ead8e=>g(_0x3ead8e,_0x24b6cf['mapper']));for(const _0x94c66b of _0x2cab29)_0x24b6cf['reconvertItem'](_0x94c66b);}}(_0x11fb0c['model'],_0x11fb0c['editing']);})):(_0x3039bb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3039bb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x14ed81,{writer:_0xdd63fe})=>{const _0x27204a=_0xdd63fe['createContainerElement']('span');return _0xdd63fe['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27204a),_0x27204a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3ac12c}=this,{editing:_0x1ea3f7,t:t}=_0x3ac12c,_0x43a908=_0x3ac12c['model']['document']['selection'];_0x3ac12c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3ac12c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1ea3f7['view']['document'],'enter',(_0x439cae,_0x316f9d)=>{const _0x14c054=function(_0x4fb5e2){const _0x387634=_0x4fb5e2['getSelectedElement']();if(_0x387634?.['is']('element','footnoteRef'))return _0x387634;return null;}(_0x43a908);if(_0x14c054){const _0x1c8c30=_0x14c054['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c8c30),_0x316f9d['preventDefault'](),_0x439cae['stop']();}},{'context':_0x16962e});}['_defineClickHandlers'](){const {editor:_0x51df34}=this,{editing:_0x2a0ccd}=_0x51df34;_0x51df34['editing']['view']['addObserver'](_0x5065df),_0x51df34['editing']['view']['addObserver'](_0x12cb76);let _0x374c59=!0x1;this['listenTo'](_0x2a0ccd['view']['document'],'pointerdown',(_0x1649d4,_0x19386c)=>{const {target:_0x523104}=_0x19386c,_0x9319f0=_0x2a0ccd['view']['document']['selection'];_0x374c59=!!(_0x523104?.['is']('element','a')&&_0x523104['parent']?.['is']('element','sup')&&_0x523104['parent']['hasClass']('footnote'))&&_0x9319f0['getSelectedElement']()===_0x523104['parent'];},{'priority':'high'}),this['listenTo'](_0x2a0ccd['view']['document'],'click',(_0x5cf67e,_0x486aee)=>{const {target:_0x2f6ff8}=_0x486aee;if(!_0x2f6ff8?.['is']('element','a'))return;if(_0x2f6ff8['parent']?.['is']('element','sup')&&_0x2f6ff8['parent']['hasClass']('footnote')&&!_0x374c59)return void _0x486aee['preventDefault']();let _0x33a7c3=_0x2f6ff8['getAttribute']('href');if(!_0x33a7c3?.['startsWith']('#'))return;_0x33a7c3=_0x33a7c3['slice'](0x1);let _0x44ab16=!0x1;(_0x33a7c3['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x33a7c3['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x33a7c3))&&(_0x44ab16=!0x0),_0x44ab16&&(_0x486aee['preventDefault'](),_0x5cf67e['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5d304e}={}){return(_0x155163,{writer:_0x3ab745})=>{if(!p(_0x155163))return null;if(!_0x5d304e)return _0x3ab745['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x361202=_0x3ab745['createContainerElement']('p');return _0x3ab745['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x361202),_0x361202;};}function p(_0x35530c){const {parent:_0x552a01}=_0x35530c;if(!_0x552a01?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x552a01['childCount'])return!0x1;for(const _0x38c2a2 of _0x35530c['getAttributeKeys']())if(!_0x38c2a2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x38c2a2)return!0x1;return!0x0;}function g(_0x163e81,_0x40b88e){if(!_0x163e81['is']('element','paragraph'))return!0x1;const _0xe94a67=_0x40b88e['toViewElement'](_0x163e81);return!!_0xe94a67&&p(_0x163e81)!==_0xe94a67['is']('element','span');}function J(_0x358215){return _0x16962e(_0x358215)&&_0x358215['is']('containerElement')&&!!_0x358215['getCustomProperty']('footnotesDefinitions');}function v(_0x2dbc24,_0x3b706f={}){const _0x232c60=_0x2dbc24['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x49de6e=_0x2dbc24['createContainerElement']('ol',{'class':'footnotes-list'},_0x2dbc24['createSlot']());return _0x2dbc24['createContainerElement']('div',{'class':'footnotes',..._0x3b706f},[_0x232c60,_0x49de6e]);}function D(_0x415526,_0x196220){const _0x328d1d=_0x415526['getAttribute']('footnoteId'),_0x5a08b1=_0x415526['getAttribute']('footnoteCounter'),_0x421b04=_0x196220['createUIElement']('a',{'href':'#'+_0x328d1d},function(_0x424a60){const _0x2761ab=this['toDomElement'](_0x424a60);return _0x2761ab['textContent']=_0x5a08b1,_0x2761ab;}),_0x217ff9=_0x196220['createContainerElement']('sup',{'id':'ref-'+_0x328d1d,'class':'footnote'},[_0x421b04]);return _0x217ff9['getFillerOffset']=()=>null,_0x217ff9;}function b(_0x3dfbcd,_0xcbe3f4,_0x50a729,{dataPipeline:_0x5dc8f0}={}){const {t:t}=_0x50a729,_0x143daf=_0x3dfbcd['getAttribute']('footnoteId'),_0x29f021=_0xcbe3f4['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x143daf},function(_0x468156){const _0x4ee234=this['toDomElement'](_0x468156);return _0x4ee234['innerText']='^',_0x4ee234;}),_0x377b5a=_0x5dc8f0?_0xcbe3f4['createContainerElement']('div',{'class':'footnote-content'}):_0x5d97bd(_0xcbe3f4['createEditableElement']('div',{'class':'footnote-content'}),_0xcbe3f4,{'label':t('Footnote\x20content.')});return _0xcbe3f4['insert'](_0xcbe3f4['createPositionAt'](_0x377b5a,0x0),_0xcbe3f4['createSlot']()),_0xcbe3f4['createContainerElement']('li',{'class':'footnote-definition','id':_0x143daf},[_0x29f021,_0x377b5a]);}class e extends _0x4869ba{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x484ee2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1b37b8}=this,{plugins:_0x3b71d7,model:_0x288311}=_0x1b37b8,_0x38f9e9=_0x3b71d7['get'](_0x484ee2),_0xbda1d=_0x3b71d7['get'](f);this['listenTo'](_0x38f9e9,'outputTransformation',(_0x2abd13,_0x543e13)=>{const _0xbab883=c(_0x288311['createRangeIn'](_0x543e13['content']));if(!_0xbab883['length'])return;const _0x130de1=_0xbda1d['getFootnotes'](),_0x164c5b=_0xbab883['reduce']((_0xbc880e,_0x4e7648)=>{const _0x2a790c=_0x130de1['find'](_0x847f81=>_0x847f81['id']===_0x4e7648);if(_0x2a790c){const _0x200252=_0x1b37b8['data']['toView'](_0x2a790c['definition'],{'isClipboardPipeline':!0x0}),_0x3a8f81=_0x1b37b8['data']['htmlProcessor']['toData'](_0x200252);_0xbc880e[_0x2a790c['id']]=_0x3a8f81;}return _0xbc880e;},Object['create'](null));_0x543e13['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x164c5b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4939fd}=this,{model:_0x424451,plugins:_0x846fd6}=_0x4939fd,{view:_0x460282}=_0x4939fd['editing'],_0x3df2ef=_0x846fd6['get'](_0x484ee2),_0x4e8666=_0x846fd6['get'](f),_0x507d8e=_0x4939fd['config']['get']('footnotes.multiBlock');let _0x238284=null;this['listenTo'](_0x460282['document'],'clipboardInput',(_0x224c30,_0x20f5be)=>{const _0xbfdb0b=_0x20f5be['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x238284=_0xbfdb0b?JSON['parse'](_0xbfdb0b):null;}),this['listenTo'](_0x3df2ef,'contentInsertion',(_0x454d73,_0x41e8a7)=>{const _0x2a0c7a=_0x41e8a7['sourceEditorId']===this['editor']['id'];_0x2a0c7a&&'drop'===_0x41e8a7['method']||_0x424451['change'](_0x290cb5=>{let _0xd765a8=_0x4e8666['getFootnotesDefinitionsObjectElement']();const _0x563700=!!_0xd765a8&&Array['from'](_0x424451['document']['selection']['getSelectedBlocks']())['includes'](_0xd765a8);if((_0xd765a8&&!_0x563700||!_0xd765a8&&!_0x238284)&&function(_0x5ea782,_0x423911){const _0x1cbc64=[];for(const {item:_0x319cf9}of _0x5ea782['createRangeIn'](_0x423911))_0x319cf9['is']('element','footnotesDefinitions')&&_0x1cbc64['push'](_0x319cf9);for(const _0x50db75 of _0x1cbc64)_0x5ea782['remove'](_0x50db75);}(_0x290cb5,_0x41e8a7['content']),!_0x238284)return;const {selection:_0xcc2a0a}=_0x424451['document'],_0x5474c3=_0xcc2a0a['getFirstRange']()['root'];_0xd765a8&&!_0x563700||(_0xd765a8=function(_0x1d46ac,_0x4bc573){for(const {item:_0x573010}of _0x1d46ac['createRangeIn'](_0x4bc573))if(_0x573010['is']('element','footnotesDefinitions'))return _0x573010;return null;}(_0x290cb5,_0x41e8a7['content']),_0xd765a8||=_0x4e8666['_insertEmptyFootnotesDefinitionsContainer'](_0x290cb5,_0x5474c3));const _0x329007=Array['from'](_0xcc2a0a['getRanges']())['flatMap'](c),_0x247a61=function(_0x53171a,_0xf3c710,_0x138e08){const _0x2520f2=Object['create'](null);for(const {item:_0x5ae95c}of _0x53171a['createRangeIn'](_0xf3c710))if(_0x5ae95c['is']('element','footnoteRef')){const _0x18b362=_0x5ae95c['getAttribute']('footnoteId');if(!_0x138e08(_0x18b362))continue;_0x2520f2[_0x18b362]||(_0x2520f2[_0x18b362]=_0x1eee8b()),_0x53171a['setAttribute']('footnoteId',_0x2520f2[_0x18b362],_0x5ae95c);}return _0x2520f2;}(_0x290cb5,_0x41e8a7['content'],_0x426781=>{if(!_0x2a0c7a)return!0x0;return!!_0x4e8666['getFootnote'](_0x426781)&&!_0x329007['includes'](_0x426781);});for(const [_0x2a1992,_0x30f474]of Object['entries'](_0x238284)){const _0x34892c=_0x247a61[_0x2a1992]||_0x2a1992,_0xd7af59=_0x290cb5['createElement']('footnoteDefinition',{'footnoteId':_0x34892c}),_0x47f8d4=_0x4939fd['data']['htmlProcessor']['toView'](_0x30f474);let _0x5526a5;if(_0x507d8e)_0x5526a5=_0x4939fd['data']['toModel'](_0x47f8d4,_0xd7af59);else{_0x5526a5=_0x290cb5['createElement']('footnoteInlineContent');const _0x341eea=_0x4939fd['data']['toModel'](_0x47f8d4,_0x5526a5);_0x290cb5['insert'](_0x341eea,_0x5526a5);}_0x290cb5['append'](_0x5526a5,_0xd7af59),_0x290cb5['insert'](_0xd7af59,_0xd765a8,'end');}_0x238284=null;});});}}function c(_0x4a7c9c){const _0x1a83ad=new Set();for(const {item:_0x444bc7}of _0x4a7c9c)_0x444bc7['is']('element','footnoteRef')&&_0x1a83ad['add'](_0x444bc7['getAttribute']('footnoteId'));return Array['from'](_0x1a83ad);}class i extends _0x4869ba{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22e97c}=this,{componentFactory:_0x248107}=_0x22e97c['ui'];_0x248107['add']('insertFootnote',x(_0x22e97c,_0x5b6f34)),_0x248107['add']('menuBar:insertFootnote',x(_0x22e97c,_0x4ab967)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x564b6f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x334f41;for(const _0x107c8e in _0x564b6f){const _0x7c5387=_0x107c8e,_0x587c14=_0x564b6f[_0x7c5387];if('footnotesLicenseKeyValid'==_0x587c14||'footnotesLicenseKeyInvalid'==_0x587c14||'footnotesLicenseKeyExpired'==_0x587c14||'footnotesLicenseKeyDomainLimit'==_0x587c14||'footnotesLicenseKeyNotAllowed'==_0x587c14||'footnotesLicenseKeyEvaluationLimit'==_0x587c14||'footnotesLicenseKeyTrialLimit'==_0x587c14||'footnotesLicenseKeyUsageLimit'==_0x587c14){delete _0x564b6f[_0x7c5387],_0x334f41=_0x587c14,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x334f41&&_0x564b6f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x334f41&&_0x564b6f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x334f41&&_0x564b6f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x26ac92,_0x58873b){const _0x106907=_0x26ac92['commands']['get']('insertFootnote');return _0x4736c9=>{const {t:t}=_0x4736c9,_0x591914=new _0x58873b(_0x4736c9),_0x5e4f67=_0x591914 instanceof _0x4ab967;return _0x591914['bind']('isEnabled')['to'](_0x106907,'isEnabled'),_0x591914['set']({'label':t(_0x5e4f67?'Footnote':'Insert\x20footnote'),'icon':_0x1f86e7,'tooltip':!0x0}),_0x591914['on']('execute',()=>{_0x106907['execute'](),_0x26ac92['editing']['view']['focus']();}),_0x591914;};}class lt extends _0x4869ba{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0xd04106{['refresh'](){const {editor:_0x2a7e63}=this,_0x203d34=_0x2a7e63['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x203d34,this['value']=_0x203d34?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x31b549}){const {editor:_0xb145b8}=this,_0x3c04b8=_0xb145b8['plugins']['get'](f),_0x483736=_0x3c04b8['getFootnotesDefinitionsObjectElement']();_0x483736&&Q['includes'](_0x31b549)&&_0xb145b8['model']['change'](_0xdc9bff=>{_0xdc9bff['setAttribute']('footnotesListStyle',_0x31b549,_0x483736),_0x3c04b8['_updateFootnotesCounters'](_0xdc9bff);});}}class C extends _0xd04106{['refresh'](){const {editor:_0x2a5f1a}=this,_0xfc80ea=_0x2a5f1a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xfc80ea,this['value']=_0xfc80ea?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2d4fe1}){const {editor:_0x5564ec}=this,_0x2b5586=_0x5564ec['plugins']['get'](f),_0x59e529=_0x2b5586['getFootnotesDefinitionsObjectElement']();_0x59e529&&Number['isInteger'](_0x2d4fe1)&&_0x5564ec['model']['change'](_0xff019=>{_0xff019['setAttribute']('footnotesListStart',_0x2d4fe1,_0x59e529),_0x2b5586['_updateFootnotesCounters'](_0xff019);});}}class P extends _0x4869ba{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb38d47}=this;_0xb38d47['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xb38d47['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xb38d47['commands']['add']('footnotesStyle',new S(_0xb38d47)),_0xb38d47['commands']['add']('footnotesStart',new C(_0xb38d47)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x206bc3}=this,{schema:_0x4adcf2}=_0x206bc3['model'];_0x4adcf2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1ce0d0}=this,{conversion:_0x445b8c,model:_0x723a26}=_0x1ce0d0,{schema:_0x2cce45}=_0x723a26;_0x445b8c['for']('upcast')['add'](_0x4d4368=>{_0x4d4368['on']('element:ol',(_0x4bc739,_0x3ecff7,_0xb5ce4)=>{const _0x339d2e=_0x3ecff7['viewItem'],_0x1e42e9=_0x3ecff7['modelCursor']?.['parent'];_0x339d2e['hasClass']('footnotes-list')&&_0x1e42e9?.['is']('element','footnotesDefinitions')&&(function(_0x2591ae,_0x514846,_0x2e7bf3,_0x2fd771){if(!_0x2fd771['checkAttribute'](_0x514846,'footnotesListStart'))return;let _0x3fdf1e=0x1;const _0x402e55=_0x2e7bf3['consumable']['consume'](_0x2591ae,{'attributes':'start'});if(_0x402e55){const _0x8e320c=Number['parseInt'](_0x2591ae['getAttribute']('start'),0xa);Number['isNaN'](_0x8e320c)||(_0x3fdf1e=_0x8e320c);}!_0x402e55&&_0x514846['hasAttribute']('footnotesListStart')||_0x2e7bf3['writer']['setAttribute']('footnotesListStart',_0x3fdf1e,_0x514846);}(_0x339d2e,_0x1e42e9,_0xb5ce4,_0x2cce45),function(_0x2ace09,_0x416a2d,_0x416e1d,_0x19d0c8){if(!_0x19d0c8['checkAttribute'](_0x416a2d,'footnotesListStyle'))return;let _0x568c2c='decimal',_0x134713=!0x1;if(_0x416e1d['consumable']['consume'](_0x2ace09,{'attributes':'type'})){const _0x1b586a={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2ace09['getAttribute']('type')];_0x1b586a&&(_0x568c2c=_0x1b586a),_0x134713=!0x0;}_0x416e1d['consumable']['consume'](_0x2ace09,{'styles':'list-style-type'})&&(_0x568c2c=function(_0x7e08fc){switch(_0x7e08fc){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x7e08fc;}}(_0x2ace09['getStyle']('list-style-type')),_0x134713=!0x0),!_0x134713&&_0x416a2d['hasAttribute']('footnotesListStyle')||_0x416e1d['writer']['setAttribute']('footnotesListStyle',_0x568c2c,_0x416a2d);}(_0x339d2e,_0x1e42e9,_0xb5ce4,_0x2cce45));});}),_0x445b8c['for']('downcast')['add'](_0x4d9141=>{_0x4d9141['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x189e70,_0x4c7c4f,_0x361b23)=>{if(!_0x361b23['consumable']['consume'](_0x4c7c4f['item'],_0x189e70['name']))return;const _0x5b01dc=M(_0x4c7c4f['item'],_0x361b23['mapper']),{attributeNewValue:_0x23cc29}=_0x4c7c4f;null==_0x23cc29||0x1===_0x23cc29?_0x361b23['writer']['removeAttribute']('start',_0x5b01dc):_0x361b23['writer']['setAttribute']('start',String(_0x23cc29),_0x5b01dc);}),_0x4d9141['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2ff8dd,_0x149535,_0x2b7a06)=>{if(!_0x2b7a06['consumable']['consume'](_0x149535['item'],_0x2ff8dd['name']))return;const _0x498dcc=M(_0x149535['item'],_0x2b7a06['mapper']),{attributeNewValue:_0x3e1088}=_0x149535;_0x3e1088&&'decimal'!==_0x3e1088?_0x2b7a06['writer']['setStyle']('list-style-type',_0x3e1088,_0x498dcc):_0x2b7a06['writer']['removeStyle']('list-style-type',_0x498dcc);});});}['_definePostfixer'](){const {editor:_0x5ae73f}=this,{model:_0x3238f7}=_0x5ae73f,_0x28fd0b=_0x5ae73f['plugins']['get'](f),_0x381621=this['_getDefaultListStyle'](),_0x11f23d=this['_getDefaultStartIndex']();_0x3238f7['document']['registerPostFixer'](_0x82d984=>{const _0x447a39=_0x3238f7['document']['differ']['getChanges']();let _0x4a201e=!0x1;for(const _0x4c1874 of _0x447a39){if('insert'!==_0x4c1874['type']||'$text'===_0x4c1874['name'])continue;const _0x21de3c=_0x3238f7['createRangeOn'](_0x4c1874['position']['nodeAfter']);for(const _0xafb51e of _0x21de3c['getItems']())_0xafb51e['is']('element','footnotesDefinitions')&&(!_0xafb51e['hasAttribute']('footnotesListStart')&&_0x3238f7['schema']['checkAttribute'](_0xafb51e,'footnotesListStart')&&(_0x82d984['setAttribute']('footnotesListStart',_0x11f23d,_0xafb51e),_0x4a201e=!0x0),!_0xafb51e['hasAttribute']('footnotesListStyle')&&_0x3238f7['schema']['checkAttribute'](_0xafb51e,'footnotesListStyle')&&(_0x82d984['setAttribute']('footnotesListStyle',_0x381621,_0xafb51e),_0x4a201e=!0x0));}return _0x4a201e&&_0x28fd0b['_updateFootnotesCounters'](_0x82d984),_0x4a201e;});}['_defineFormatter'](){const {editor:_0x8a9dcd}=this;_0x8a9dcd['plugins']['get'](f)['setFootnoteFormatter'](_0x2001cf=>this['_formatFootnoteListValue'](_0x2001cf));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xa90c3,value:_0x5aead9,digits:_0x2f7880}){const _0x1560e4=_0xa90c3['getAttribute']('footnotesListStyle'),_0x5c70c2=_0xa90c3['getAttribute']('footnotesListStart'),_0x6eb15f=Math['floor'](_0x5aead9)+(_0x5c70c2??0x1)-0x1;switch(_0x1560e4){case'decimal-leading-zero':return function(_0x5b4af2,_0x3c03ae){return String(_0x5b4af2)['padStart'](_0x3c03ae,'0');}(_0x6eb15f,Math['max'](0x2,_0x2f7880));case'lower-alpha':case'lower-latin':return N(_0x6eb15f,!0x1);case'upper-alpha':case'upper-latin':return N(_0x6eb15f,!0x0);case'lower-roman':return X(_0x6eb15f,!0x1);case'upper-roman':return X(_0x6eb15f,!0x0);default:return String(_0x6eb15f);}}}function M(_0x9ee8fc,_0x2f0321){const _0x315bc8=_0x2f0321['toViewElement'](_0x9ee8fc);return Array['from'](_0x315bc8['getChildren']())['find'](_0x50a41d=>_0x50a41d['is']('element','ol')&&_0x50a41d['hasClass']('footnotes-list'));}function N(_0x4c060c,_0x38bd8e){let _0x37faeb='',_0x2030d0=_0x4c060c;for(;_0x2030d0>0x0;){const _0x5bc950=(_0x2030d0-0x1)%0x1a;_0x37faeb=String['fromCharCode'](0x61+_0x5bc950)+_0x37faeb,_0x2030d0=Math['floor']((_0x2030d0-0x1)/0x1a);}return _0x38bd8e?_0x37faeb['toUpperCase']():_0x37faeb;}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(_0x44a889,_0x36cdd0){let _0x1043be='',_0x17cb32=_0x44a889;for(const {value:_0x368a11,numeral:_0x4a6a09}of V)for(;_0x17cb32>=_0x368a11;)_0x1043be+=_0x4a6a09,_0x17cb32-=_0x368a11;return _0x36cdd0?_0x1043be:_0x1043be['toLowerCase']();}class H extends _0x1ef24d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x55a643();['focusCycler'];constructor(_0x427cf1,{styleButtonViews:_0x3425c6,styleGridAriaLabel:_0x2d0a71}){super(_0x427cf1),(this['focusCycler']=new _0x5dc5a1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3425c6,_0x2d0a71),[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 _0x37e576 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x37e576['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 _0x3b8f7f=_0x5e8d5b=>_0x5e8d5b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b8f7f),this['keystrokes']['set']('arrowleft',_0x3b8f7f),this['keystrokes']['set']('arrowup',_0x3b8f7f),this['keystrokes']['set']('arrowdown',_0x3b8f7f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5d3bcb,_0x595129){const _0x514c6e=new _0x1ef24d(this['locale']);return _0x514c6e['children']=_0x514c6e['createCollection'](),_0x514c6e['children']['addMany'](_0x5d3bcb),_0x514c6e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x595129,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x514c6e['children']}),_0x514c6e['children']['delegate']('execute')['to'](this),_0x514c6e['focus']=function(){for(const _0x4c90f3 of this['children'])if(_0x4c90f3 instanceof _0x5b6f34&&_0x4c90f3['isOn'])return void _0x4c90f3['focus']();this['children']['first']['focus']();},_0x514c6e['focusTracker']=new ot(),_0x514c6e['keystrokes']=new rt(),_0x514c6e['render'](),_0x514c6e['keystrokes']['listenTo'](_0x514c6e['element']),this['children']['add'](_0x514c6e),_0x514c6e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3e5be9=this['_createStartIndexPropertyView'](),_0x1bfc66=[_0x3e5be9],_0x37ae14=new st(this['locale'],_0x1bfc66);return _0x37ae14['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x37ae14['buttonView']['bind']('isEnabled')['toMany'](_0x1bfc66,'isEnabled',(..._0xf6d232)=>_0xf6d232['some'](_0x54d78f=>_0x54d78f)),_0x37ae14['buttonView']['on']('change:isEnabled',(_0x292dbf,_0x4efa67,_0x44ea84)=>{_0x44ea84||(_0x37ae14['isCollapsed']=!0x0);}),this['children']['add'](_0x37ae14),[_0x3e5be9,_0x37ae14];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x730d5e=new it(this['locale'],et);return _0x730d5e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x730d5e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x730d5e['fieldView']['on']('input',()=>{const _0x431107=_0x730d5e['fieldView']['element'],_0x26b2b4=_0x431107['valueAsNumber'];Number['isNaN'](_0x26b2b4)?_0x730d5e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x431107['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26b2b4}):_0x730d5e['errorText']=t(_0x26b2b4<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x730d5e;}}class j extends _0x4869ba{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x416435,_0x410dcc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b99c4}=this,{componentFactory:_0x2020ce}=_0x1b99c4['ui'];_0x1b99c4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2020ce['add']('footnotesStyle',function(_0x1e4894){return _0x1fbae0=>{const {t:t}=_0x1fbae0,_0x2bc03d=_0x1e4894['commands']['get']('footnotesStyle'),_0x5ae6bf=_0x51cc92(_0x1fbae0),{buttonView:_0xf75484}=_0x5ae6bf;return _0x5ae6bf['class']='ck-footnotes-styles-dropdown',_0x5ae6bf['bind']('isEnabled')['to'](_0x2bc03d,'isEnabled'),_0xf75484['set']({'label':t('Footnotes\x20style'),'icon':_0x1f86e7,'tooltip':!0x0}),_0x5ae6bf['once']('change:isOpen',()=>{const _0x31d2ec=function({editor:_0x3d3ae5,dropdownView:_0x74d5f4}){const {t:t}=_0x3d3ae5['locale'],_0x249398=t('Footnotes\x20definitions\x20styles'),_0x45e2bb=function(_0x40a44c){const t=_0x40a44c['locale']['t'],_0x3c0eed=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5e5881},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x31d9e2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x546a74},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1614ec},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5bb2c1},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x44027f}];return _0x3c0eed['map'](function(_0x46bc29){const _0xb700c3=_0x46bc29['locale'];return({label:_0x4656f0,icon:_0x266984,tooltip:_0x14ebb0,style:_0x98713e})=>{const _0x39e5c4=_0x46bc29['commands']['get']('footnotesStyle'),_0x4b36a4=new _0x5b6f34(_0xb700c3);return _0x4b36a4['set']({'label':_0x4656f0,'icon':_0x266984,'tooltip':_0x14ebb0}),_0x4b36a4['bind']('isOn')['to'](_0x39e5c4,'value',_0x428545=>_0x428545===_0x98713e),_0x4b36a4['bind']('isEnabled')['to'](_0x39e5c4,'isEnabled'),_0x4b36a4['on']('execute',()=>{_0x46bc29['execute']('footnotesStyle',{'value':_0x98713e}),_0x46bc29['editing']['view']['focus']();}),_0x4b36a4;};}(_0x40a44c));}(_0x3d3ae5),_0x192236=new H(_0x3d3ae5['locale'],{'styleGridAriaLabel':_0x249398,'styleButtonViews':_0x45e2bb}),_0x18ad82=_0x3d3ae5['commands']['get']('footnotesStart');return _0x192236['startIndexFieldView']['bind']('isEnabled')['to'](_0x18ad82),_0x192236['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x18ad82),_0x192236['on']('footnotesListStart',(_0x20d085,_0xeaa5f)=>{_0x3d3ae5['execute']('footnotesStart',{'value':_0xeaa5f['startIndex']});}),_0x192236['delegate']('execute')['to'](_0x74d5f4),_0x192236;}({'editor':_0x1e4894,'dropdownView':_0x5ae6bf});_0x5ae6bf['panelView']['children']['add'](_0x31d2ec);}),_0x5ae6bf;};}(_0x1b99c4));}['afterInit'](){const {editor:_0x501ce7}=this,{t:t}=_0x501ce7['locale'],_0x4b49f=_0x501ce7['plugins']['get'](_0x410dcc),{defaultPositions:_0x5d90fd}=_0x33f037;_0x4b49f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x501ce7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xc55702=>{let _0x24ee7d=_0xc55702['getFirstPosition']()?.['parent'];return _0x24ee7d?.['is']('$text')&&(_0x24ee7d=_0x24ee7d['parent']),_0x24ee7d?.['is']('element')?_0x24ee7d['findAncestor'](J):null;},'positions':[_0x5d90fd['southArrowNorth'],_0x5d90fd['southArrowNorthMiddleWest'],_0x5d90fd['southArrowNorthMiddleEast'],_0x5d90fd['southArrowNorthWest'],_0x5d90fd['southArrowNorthEast'],_0x5d90fd['northArrowSouth'],_0x5d90fd['northArrowSouthMiddleWest'],_0x5d90fd['northArrowSouthMiddleEast'],_0x5d90fd['northArrowSouthWest'],_0x5d90fd['northArrowSouthEast'],_0x5d90fd['viewportStickyNorth']]});}}class ft extends _0x4869ba{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,m 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':_0x554a9a=>0x1!=_0x554a9a}};
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':_0x45a71d=>0x1!=_0x45a71d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x6756e1=>{const {af:{dictionary:_0x2457eb,getPluralForm:_0x23c0e3}}={'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':_0x25630c=>0x1!=_0x25630c}};_0x6756e1['af']||={'dictionary':{},'getPluralForm':null},_0x6756e1['af']['dictionary']=Object['assign'](_0x6756e1['af']['dictionary'],_0x2457eb),_0x6756e1['af']['getPluralForm']=_0x23c0e3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1eacb2=>{const {af:{dictionary:_0x27a261,getPluralForm:_0x366104}}={'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':_0x580f66=>0x1!=_0x580f66}};_0x1eacb2['af']||={'dictionary':{},'getPluralForm':null},_0x1eacb2['af']['dictionary']=Object['assign'](_0x1eacb2['af']['dictionary'],_0x27a261),_0x1eacb2['af']['getPluralForm']=_0x366104;})(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':_0x5b7333=>0x0==_0x5b7333?0x0:0x1==_0x5b7333?0x1:0x2==_0x5b7333?0x2:_0x5b7333%0x64>=0x3&&_0x5b7333%0x64<=0xa?0x3:_0x5b7333%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':_0x3494d0=>0x0==_0x3494d0?0x0:0x1==_0x3494d0?0x1:0x2==_0x3494d0?0x2:_0x3494d0%0x64>=0x3&&_0x3494d0%0x64<=0xa?0x3:_0x3494d0%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x43f80f=>{const {ar:{dictionary:_0x2779f2,getPluralForm:_0x3a4a2b}}={'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':_0x3a849d=>0x0==_0x3a849d?0x0:0x1==_0x3a849d?0x1:0x2==_0x3a849d?0x2:_0x3a849d%0x64>=0x3&&_0x3a849d%0x64<=0xa?0x3:_0x3a849d%0x64>=0xb?0x4:0x5}};_0x43f80f['ar']||={'dictionary':{},'getPluralForm':null},_0x43f80f['ar']['dictionary']=Object['assign'](_0x43f80f['ar']['dictionary'],_0x2779f2),_0x43f80f['ar']['getPluralForm']=_0x3a4a2b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xdae112=>{const {ar:{dictionary:_0x199fdb,getPluralForm:_0x18283d}}={'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':_0x32d014=>0x0==_0x32d014?0x0:0x1==_0x32d014?0x1:0x2==_0x32d014?0x2:_0x32d014%0x64>=0x3&&_0x32d014%0x64<=0xa?0x3:_0x32d014%0x64>=0xb?0x4:0x5}};_0xdae112['ar']||={'dictionary':{},'getPluralForm':null},_0xdae112['ar']['dictionary']=Object['assign'](_0xdae112['ar']['dictionary'],_0x199fdb),_0xdae112['ar']['getPluralForm']=_0x18283d;})(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':_0x463afd=>0x1!=_0x463afd}};
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':_0x719392=>0x1!=_0x719392}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x460874=>{const {ast:{dictionary:_0x2383bf,getPluralForm:_0x3a6556}}={'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':_0x3bd732=>0x1!=_0x3bd732}};_0x460874['ast']||={'dictionary':{},'getPluralForm':null},_0x460874['ast']['dictionary']=Object['assign'](_0x460874['ast']['dictionary'],_0x2383bf),_0x460874['ast']['getPluralForm']=_0x3a6556;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x332eed=>{const {ast:{dictionary:_0x5699a3,getPluralForm:_0x2914c8}}={'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':_0x876dcd=>0x1!=_0x876dcd}};_0x332eed['ast']||={'dictionary':{},'getPluralForm':null},_0x332eed['ast']['dictionary']=Object['assign'](_0x332eed['ast']['dictionary'],_0x5699a3),_0x332eed['ast']['getPluralForm']=_0x2914c8;})(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':_0x262b72=>0x1!=_0x262b72}};
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':_0x272a60=>0x1!=_0x272a60}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4c7065=>{const {az:{dictionary:_0x160f05,getPluralForm:_0xa6be55}}={'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':_0x13c5da=>0x1!=_0x13c5da}};_0x4c7065['az']||={'dictionary':{},'getPluralForm':null},_0x4c7065['az']['dictionary']=Object['assign'](_0x4c7065['az']['dictionary'],_0x160f05),_0x4c7065['az']['getPluralForm']=_0xa6be55;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a8bff=>{const {az:{dictionary:_0x4f566b,getPluralForm:_0x52780f}}={'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':_0x4db39d=>0x1!=_0x4db39d}};_0x1a8bff['az']||={'dictionary':{},'getPluralForm':null},_0x1a8bff['az']['dictionary']=Object['assign'](_0x1a8bff['az']['dictionary'],_0x4f566b),_0x1a8bff['az']['getPluralForm']=_0x52780f;})(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':_0x1edc3b=>_0x1edc3b%0xa==0x1&&_0x1edc3b%0x64!=0xb?0x0:_0x1edc3b%0xa>=0x2&&_0x1edc3b%0xa<=0x4&&(_0x1edc3b%0x64<0xa||_0x1edc3b%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':_0x4959cf=>_0x4959cf%0xa==0x1&&_0x4959cf%0x64!=0xb?0x0:_0x4959cf%0xa>=0x2&&_0x4959cf%0xa<=0x4&&(_0x4959cf%0x64<0xa||_0x4959cf%0x64>=0x14)?0x1:0x2}};