@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251201.0 → 0.0.0-nightly-20251203.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 +10 -10
  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 _0x3c0d71,Command as _0x25ead8}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4f51ec,isWidget as _0x46fe4d,toWidgetEditable as _0x31ff1d,WidgetToolbarRepository as _0x166e8e}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x20b358,logWarning as _0x458152,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x40d796,ClickObserver as _0x184870}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1ef6b2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x86620c,ButtonView as _0x3d77de,View as _0x4e0417,ViewCollection as _0x194cae,FocusCycler as _0x333af1,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x503f80,BalloonPanelView as _0x4b756c,createDropdown as _0x1d91f8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x183d10,IconListStyleDecimal as _0x351165,IconListStyleDecimalLeadingZero as _0x45f5c3,IconListStyleLowerRoman as _0x2f8963,IconListStyleUpperRoman as _0x5c83a6,IconListStyleLowerLatin as _0x57c65c,IconListStyleUpperLatin as _0x37aad6}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x10fa1c,_0x378d16){this['_model']=_0x10fa1c,this['_elementName']=_0x378d16['elementName'],this['_getElementKey']=_0x378d16['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xb08193){const _0xaeb4be=new Set(),_0x45eef0=new Map();for(const _0xb805c2 of _0xb08193){if('insert'===_0xb805c2['type']&&'$text'!==_0xb805c2['name']&&_0xb805c2['position']['nodeAfter']){const _0x17496d=this['_model']['createRangeOn'](_0xb805c2['position']['nodeAfter']);for(const _0x1b2849 of _0x17496d['getItems']()){if(!_0x1b2849['is']('element',this['_elementName']))continue;const _0x1f4fb0=this['_getElementKey'](_0x1b2849);_0x45eef0['has'](_0x1f4fb0)||_0x45eef0['set'](_0x1f4fb0,[]),_0x45eef0['get'](_0x1f4fb0)['push'](_0x1b2849);}}if('remove'===_0xb805c2['type']&&_0xb805c2['name']===this['_elementName']){const _0x5a446a=this['_getElementKey']({'getAttribute':_0x17f11a=>_0xb805c2['attributes']['get'](_0x17f11a)});_0xaeb4be['add'](_0x5a446a);}}for(const [_0x251ef3,_0x4afab3]of this['_trackedElements'])'$graveyard'===_0x4afab3['root']['rootName']&&_0xaeb4be['add'](_0x251ef3);for(const _0x2d43a7 of _0xaeb4be)this['_trackedElements']['delete'](_0x2d43a7);for(const [_0x227f2e,_0x51a338]of _0x45eef0)this['_trackedElements']['set'](_0x227f2e,_0x51a338[_0x51a338['length']-0x1]);const _0x17cf56=new Set();for(const [_0x5a5bd6,_0x11b220]of _0x45eef0)_0xaeb4be['has'](_0x5a5bd6)&&(_0x17cf56['add'](_0x11b220[0x0]),_0x11b220['length']>0x1?_0x45eef0['set'](_0x5a5bd6,_0x11b220['slice'](0x1)):_0x45eef0['delete'](_0x5a5bd6),_0xaeb4be['delete'](_0x5a5bd6));return{'removed':Array['from'](_0xaeb4be),'inserted':Array['from'](_0x45eef0['values']())['flat'](),'moved':Array['from'](_0x17cf56)};}}class c extends _0x3c0d71{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x32b882){super(_0x32b882),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x50517b=>_0x50517b['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x196d1a=>_0x196d1a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x59fd65}=this,{model:_0x4b0aab,data:_0x10a2b5}=_0x59fd65;_0x4b0aab['document']['registerPostFixer'](_0x3666e2=>{const _0x379147=_0x4b0aab['document']['differ']['getChanges']();let _0x37264e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3666e2,_0x379147)&&(_0x37264e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3666e2,_0x379147)&&(_0x37264e=!0x0),this['_handleFootnoteReferencesChanges'](_0x3666e2,_0x379147)&&(_0x37264e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3666e2)&&(_0x37264e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3666e2)&&(_0x37264e=!0x0),this['_sortFootnoteDefinitions'](_0x3666e2)&&(_0x37264e=!0x0),_0x37264e;}),this['listenTo'](_0x4b0aab['document'],'change:data',()=>{_0x4b0aab['enqueueChange']({'isUndoable':!0x1},_0x199a51=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x199a51);});},{'priority':'low'}),this['listenTo'](_0x10a2b5,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x19f846){return this['_footnotes']['find'](_0x28211=>_0x28211['id']===_0x19f846)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x161549){this['_footnoteFormatter']=_0x161549;}['_updateFootnotesCounters'](_0x1f65af,_0x2edce4=0x0){let _0x4a0737=!0x1;for(let _0x37f095=_0x2edce4;_0x37f095<this['_footnotes']['length'];_0x37f095++)this['_updateFootnoteRefCounter'](_0x1f65af,_0x37f095)&&(_0x4a0737=!0x0);return _0x4a0737;}['_insertEmptyFootnotesDefinitionsContainer'](_0x21aa3e,_0x2661ab){const _0x985131=_0x21aa3e['createElement']('footnotesDefinitions',{});return _0x21aa3e['append'](_0x985131,_0x2661ab),this['_footnotesDefinitions']=_0x985131,_0x985131;}['_ensureFootnotesDefinitionsContainerExists'](_0x40cc15){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x296533=this['_footnotes'][0x0]['reference']['root'],_0x2ad87a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x40cc15,_0x296533);for(const _0x3073b5 of this['_footnotes'])_0x3073b5['definition']['parent']||_0x40cc15['insert'](_0x3073b5['definition'],_0x2ad87a,'end');this['_updateFootnotesCounters'](_0x40cc15);}['_handleFootnotesDefinitionsObjectChanges'](_0x23f709,_0x337ec5){let _0x4d2d62=!0x1;const {inserted:_0x353675,removed:_0x35417a,moved:_0x4ee1e7}=this['_footnoteDefsContainerTracker']['getChanges'](_0x337ec5);if(_0x4ee1e7['length']&&(this['_footnotesDefinitions']=_0x4ee1e7[0x0]),_0x353675['length']){if(_0x353675['length']>0x1||this['_footnotesDefinitions']&&_0x353675['some'](_0x3caa11=>_0x3caa11!==this['_footnotesDefinitions'])){const _0x2abd19=_0x23f709['createElement']('footnotesDefinitions',{}),_0x37eefd=[];this['_footnotesDefinitions']&&_0x37eefd['push'](this['_footnotesDefinitions']),_0x37eefd['push'](..._0x353675),_0x23f709['insert'](_0x2abd19,_0x37eefd[0x0],'before');for(const _0x3c0c0d of _0x37eefd)_0x23f709['move'](_0x23f709['createRangeIn'](_0x3c0c0d),_0x23f709['createPositionAt'](_0x2abd19,'end')),_0x23f709['remove'](_0x3c0c0d);this['_footnotesDefinitions']=_0x2abd19,this['_updateFootnotesCounters'](_0x23f709),_0x4d2d62=!0x0;}else this['_footnotesDefinitions']=_0x353675[0x0];}if(_0x35417a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x8f0f21 of this['_footnotes'])_0x23f709['remove'](_0x8f0f21['reference']),_0x4d2d62=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4d2d62;}['_handleFootnoteDefinitionsChanges'](_0x43ae41,_0x5254c6){let _0x4ca899=!0x1;const _0x1aa005=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x812896,moved:_0x1abb5c}=this['_footnoteDefsTracker']['getChanges'](_0x5254c6);for(const _0x497ea1 of[..._0x1abb5c,..._0x812896]){const _0x55481d=_0x497ea1['getAttribute']('footnoteId'),_0x32a312=this['getFootnote'](_0x55481d);_0x32a312&&(_0x32a312['definition']=_0x497ea1),_(_0x43ae41,_0x1aa005,_0x497ea1)&&(_0x4ca899=!0x0);}return _0x4ca899;}['_handleFootnoteReferencesChanges'](_0x16f4ff,_0x54c57f){let _0x5441ad=!0x1;const {removed:_0x498719,inserted:_0x23bbe9,moved:_0x5d6375}=this['_footnoteRefsTracker']['getChanges'](_0x54c57f);for(const _0x16ebdf of _0x498719)this['_handleRemoveFootnoteReferenceById'](_0x16f4ff,_0x16ebdf)&&(_0x5441ad=!0x0);for(const _0x5a1633 of _0x23bbe9)this['_handleInsertedFootnoteReference'](_0x16f4ff,_0x5a1633)&&(_0x5441ad=!0x0);for(const _0x23bb81 of _0x5d6375)this['_handleMovedFootnoteReference'](_0x16f4ff,_0x23bb81)&&(_0x5441ad=!0x0);return _0x5441ad;}['_handleFootnotesDefinitionsObjectSync'](_0x5d4c89){if(!this['_footnotesDefinitions'])return!0x1;let _0x5af0f8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x10b13e=[];for(const _0x3b9590 of this['_footnotesDefinitions']['getChildren']()){const _0x4446a9=_0x3b9590['getAttribute']('footnoteId');this['getFootnote'](_0x4446a9)||(_0x10b13e['unshift'](_0x3b9590),_0x5af0f8=!0x0);}for(const _0x24eb9b of _0x10b13e)_0x5d4c89['remove'](_0x24eb9b);}const _0x44a199=new Set(),_0x26bb32=[];for(const _0x8e506f of this['_footnotesDefinitions']['getChildren']()){const _0x22c31e=_0x8e506f['getAttribute']('footnoteId');_0x44a199['has'](_0x22c31e)?(_0x26bb32['unshift'](_0x8e506f),_0x5af0f8=!0x0):_0x44a199['add'](_0x22c31e);}for(const _0x3e2f69 of _0x26bb32)_0x5d4c89['remove'](_0x3e2f69);return this['_footnotesDefinitions']['childCount']||(_0x5d4c89['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5af0f8=!0x0),_0x5af0f8;}['_handleInsertedFootnoteReference'](_0x53013b,_0x2613d5){if(this['_footnotes']['find'](_0x4dd4fc=>_0x4dd4fc['reference']===_0x2613d5))return!0x1;let _0x16e106=!0x1;const _0x43b39b=_0x2613d5['getAttribute']('footnoteId'),_0x10756c=this['_footnotes']['findIndex'](_0x51bcc8=>_0x51bcc8['id']===_0x43b39b);-0x1!==_0x10756c&&(_0x53013b['remove'](this['_footnotes'][_0x10756c]['reference']),this['_footnotes']['splice'](_0x10756c,0x1),_0x16e106=!0x0);let _0x3eed22=this['_footnotesDefinitions']?function(_0x4c41ae,_0x3ec719){for(const _0x20f3b7 of _0x4c41ae['getChildren']())if(_0x20f3b7['getAttribute']('footnoteId')===_0x3ec719)return _0x20f3b7;return null;}(this['_footnotesDefinitions'],_0x43b39b):null;_0x3eed22||(_0x3eed22=_0x53013b['createElement']('footnoteDefinition',{'footnoteId':_0x43b39b}),this['_footnotesDefinitions']&&(_0x53013b['insert'](_0x3eed22,this['_footnotesDefinitions'],'end'),_0x16e106=!0x0));const _0x16c5b8={'id':_0x43b39b,'reference':_0x2613d5,'definition':_0x3eed22},_0x14f7cf=I(this['editor']['model'],this['_footnotes'],_0x2613d5);this['_footnotes']['splice'](_0x14f7cf,0x0,_0x16c5b8);let _0x3d12a3=_0x14f7cf;return-0x1!==_0x10756c&&(_0x3d12a3=Math['min'](_0x14f7cf,_0x10756c)),this['_updateFootnotesCounters'](_0x53013b,_0x3d12a3)&&(_0x16e106=!0x0),_0x16e106;}['_handleRemoveFootnoteReferenceById'](_0x32abf0,_0x5318ac){const _0x128bc1=this['_footnotes']['findIndex'](_0x1069fd=>_0x1069fd['id']===_0x5318ac);if(-0x1===_0x128bc1)return!0x1;let _0x130d40=!0x1;const _0x1780ce=this['_footnotes'][_0x128bc1];return'$graveyard'!==_0x1780ce['definition']['root']['rootName']&&(_0x32abf0['remove'](_0x1780ce['definition']),_0x130d40=!0x0),this['_footnotes']['splice'](_0x128bc1,0x1),this['_updateFootnotesCounters'](_0x32abf0,_0x128bc1)&&(_0x130d40=!0x0),_0x130d40;}['_handleMovedFootnoteReference'](_0x165ca5,_0x981a6d){const _0x5a3b52=_0x981a6d['getAttribute']('footnoteId'),_0x513ea2=this['_footnotes']['findIndex'](_0xb0683=>_0xb0683['id']===_0x5a3b52),_0x8ad4b9=this['_footnotes'][_0x513ea2];let _0x2f4cc8=!0x1;_0x8ad4b9['reference']=_0x981a6d,this['_footnotes']['splice'](_0x513ea2,0x1);const _0x86a487=I(this['editor']['model'],this['_footnotes'],_0x981a6d);return this['_footnotes']['splice'](_0x86a487,0x0,_0x8ad4b9),this['_updateFootnotesCounters'](_0x165ca5,Math['min'](_0x513ea2,_0x86a487))&&(_0x2f4cc8=!0x0),_0x2f4cc8;}['_updateFootnoteRefCounter'](_0x5987c2,_0x350cca){if(!this['_footnotesDefinitions'])return!0x1;const _0x23f1fb=this['_footnotes'][_0x350cca];let _0x17410a;return _0x17410a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x23f1fb,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x350cca+0x1}):String(_0x350cca+0x1),_0x23f1fb['reference']['getAttribute']('footnoteCounter')!=_0x17410a&&(_0x5987c2['setAttribute']('footnoteCounter',_0x17410a,_0x23f1fb['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3c8cd0){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x359d6e,_0x6a9a4b){if(_0x359d6e['length']!==_0x6a9a4b['length'])return!0x1;for(let _0x4f4afc=0x0;_0x4f4afc<_0x359d6e['length'];_0x4f4afc++)if(_0x359d6e[_0x4f4afc]!==_0x6a9a4b[_0x4f4afc])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x30319b=>_0x30319b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3bb7ea=>_0x3bb7ea['getAttribute']('footnoteId'))))return!0x1;let _0x1e9c4d=!0x1;for(let _0x771a23=0x0;_0x771a23<this['_footnotes']['length'];_0x771a23++){const _0x363020=this['_footnotes'][_0x771a23],_0x8f3250=_0x3c8cd0['createPositionBefore'](_0x363020['definition']),_0x4bbbad=_0x3c8cd0['createPositionAt'](this['_footnotesDefinitions'],_0x771a23);_0x8f3250['isEqual'](_0x4bbbad)||(_0x3c8cd0['move'](_0x3c8cd0['createRangeOn'](_0x363020['definition']),_0x4bbbad),_0x1e9c4d=!0x0);}return _0x1e9c4d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x418722){if(!this['_footnotes']['length'])return!0x1;const {model:_0x17d06a}=this['editor'];let _0x43cb23=!0x1;for(let _0x41e728=0x0;_0x41e728<this['_footnotes']['length']-0x1;_0x41e728++){const _0x2879e0=this['_footnotes'][_0x41e728],_0xb56f=this['_footnotes'][_0x41e728+0x1],_0x46bdff=_0x17d06a['createPositionBefore'](_0x2879e0['reference']),_0x290cab=_0x17d06a['createPositionBefore'](_0xb56f['reference']);'after'===_0x46bdff['compareWith'](_0x290cab)&&(this['_handleMovedFootnoteReference'](_0x418722,_0x2879e0['reference']),_0x41e728=-0x1,_0x43cb23=!0x0);}return _0x43cb23;}}function _(_0x282ee9,_0x2b75a5,_0x3a7f4a){if(_0x3a7f4a['childCount'])return!0x1;const _0x304815=_0x2b75a5?'paragraph':'footnoteInlineContent';return _0x282ee9['insert'](_0x282ee9['createElement'](_0x304815),_0x3a7f4a),!0x0;}function I(_0x59f987,_0x3d8730,_0x455943){if(0x0===_0x3d8730['length'])return 0x0;const _0x1d0832=_0x59f987['createPositionBefore'](_0x455943);for(let _0x46e6ee=0x0;_0x46e6ee<_0x3d8730['length'];_0x46e6ee++){const _0x2fdb89=_0x3d8730[_0x46e6ee],_0x2ad363=_0x59f987['createPositionBefore'](_0x2fdb89['reference']);if('before'===_0x1d0832['compareWith'](_0x2ad363))return _0x46e6ee;}const _0x5ed2b7=_0x455943['root'];let _0x55180e=-0x1;for(let _0x1c3432=_0x3d8730['length']-0x1;_0x1c3432>=0x0;_0x1c3432--)if(_0x3d8730[_0x1c3432]['reference']['root']===_0x5ed2b7){_0x55180e=_0x1c3432;break;}if(-0x1!==_0x55180e)return _0x55180e+0x1;const _0x53d900=_0x59f987['document']['getRootNames'](),_0x1d6e45=_0x53d900['indexOf'](_0x5ed2b7['rootName']),_0x342e43=_0x53d900[_0x1d6e45+0x1];if(_0x342e43){for(let _0x108738=0x0;_0x108738<_0x3d8730['length'];_0x108738++)if(_0x3d8730[_0x108738]['reference']['root']['rootName']===_0x342e43)return _0x108738;}return _0x3d8730['length'];}class m extends _0x25ead8{['refresh'](){const _0x5065ee=this['editor']['model']['document']['selection'],_0x356d99=this['_getPositionToInsertFootnote'](_0x5065ee);this['isEnabled']=!!_0x356d99;}['execute'](_0x7e1d17){const {editor:_0x41539b}=this,{model:_0x3700d5}=_0x41539b,{selection:_0x252cd0}=_0x3700d5['document'],_0x28ccb6=this['_getPositionToInsertFootnote'](_0x252cd0);if(!_0x28ccb6)return;const _0xb84c7a=_0x41539b['plugins']['get']('FootnotesEditing'),_0xdc6f5a=_0x7e1d17?.['footnoteId']??_0x20b358();!function(_0x2eaf7e){return'string'==typeof _0x2eaf7e&&_0x2eaf7e['length']>0x0&&!/\s/['test'](_0x2eaf7e)&&!/^\d/['test'](_0x2eaf7e);}(_0xdc6f5a)?_0x458152('insert-footnote-command-executed-with-invalid-id'):(_0x3700d5['change'](_0x559332=>{const _0x4839e3=_0x559332['createElement']('footnoteRef',{'footnoteId':_0xdc6f5a});_0x3700d5['insertObject'](_0x4839e3,_0x28ccb6,null);}),_0xb84c7a['_moveSelectionToFootnoteDefinition'](_0xdc6f5a));}['_getPositionToInsertFootnote'](_0xa61f7b){const {model:_0x1d2d56}=this['editor'],{schema:_0x3e2ddd}=_0x1d2d56,_0x559faa=_0xa61f7b['getFirstRange']();for(const _0xce7f78 of _0x559faa['getItems']())if(_0x3e2ddd['isBlock'](_0xce7f78)||_0x3e2ddd['isObject'](_0xce7f78))return null;const _0x37132d=_0x559faa['end'];return _0x3e2ddd['checkChild'](_0x37132d,'footnoteRef')?_0x37132d:null;}}class r extends _0x3c0d71{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d938d}=this;_0x3d938d['config']['define']('footnotes.multiBlock',!0x0),_0x3d938d['commands']['add']('insertFootnote',new m(_0x3d938d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x403dbe){const _0x721a71=_0x1de111([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]),_0x4f34f9=0x47a28506,_0x3cbaf3=0x47a5ffae^_0x4f34f9,_0x58da89=window[_0x1de111([0x44,0x61,0x74,0x65])][_0x1de111([0x6e,0x6f,0x77])](),_0x4db335=_0x403dbe[_0x1de111([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x534641=new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40174f=>{_0x4db335[_0x1de111([0x6f,0x6e,0x63,0x65])](_0x1de111([0x72,0x65,0x61,0x64,0x79]),_0x40174f);}),_0x44e71f={[_0x1de111([0x6b,0x74,0x79])]:_0x1de111([0x45,0x43]),[_0x1de111([0x75,0x73,0x65])]:_0x1de111([0x73,0x69,0x67]),[_0x1de111([0x63,0x72,0x76])]:_0x1de111([0x50,0x2d,0x32,0x35,0x36]),[_0x1de111([0x78])]:_0x1de111([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]),[_0x1de111([0x79])]:_0x1de111([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]),[_0x1de111([0x61,0x6c,0x67])]:_0x1de111([0x45,0x53,0x32,0x35,0x36])},_0x2a83b3=_0x4db335[_0x1de111([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1de111([0x67,0x65,0x74])](_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f07fa(){let _0x3b33c7,_0x1f8933=null,_0x28684f=null;try{if(_0x2a83b3==_0x1de111([0x47,0x50,0x4c]))return _0x1de111([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b33c7=_0x407fbd(),!_0x3b33c7)return _0x1de111([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b33c7[_0x1de111([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28684f=_0x29c56c(_0x3b33c7[_0x1de111([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b33c7[_0x1de111([0x6a,0x74,0x69])])),await _0x50c373()?_0x342633()?_0x3dd55b()?_0x1de111([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b01dc()?(_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1de111([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f8933=_0x22eaaa(_0x1de111([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1de111([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f8933=_0x22eaaa(_0x1de111([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5129be()):_0x1de111([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1de111([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1de111([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1de111([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3dd55b(){const _0x2f8840=[_0x1de111([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1de111([0x74,0x72,0x69,0x61,0x6c])][_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58da89/0x3e8:0xe10*_0x3cbaf3;return _0x3b33c7[_0x1de111([0x65,0x78,0x70])]<_0x2f8840;}function _0x342633(){const _0x40b177=_0x3b33c7[_0x1de111([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x40b177&&(!!_0x40b177[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de111([0x2a]))||!!_0x40b177[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de111([0x46,0x4f,0x4f])));}function _0x5b01dc(){const _0x5f4b0a=_0x3b33c7[_0x1de111([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f4b0a||0x0==_0x5f4b0a[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x34ce9b}=new URL(window[_0x1de111([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f4b0a[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34ce9b))return!0x0;const _0x15d214=_0x34ce9b[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e]));return _0x5f4b0a[_0x1de111([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c78d9=>_0x2c78d9[_0x1de111([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de111([0x2a])))[_0x1de111([0x6d,0x61,0x70])](_0x33eeff=>_0x33eeff[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e])))[_0x1de111([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30c745=>_0x30c745[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15d214[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1de111([0x6d,0x61,0x70])](_0x187c56=>Array(_0x15d214[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x187c56[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1de111([0x66,0x69,0x6c,0x6c])](_0x187c56[0x0]===_0x1de111([0x2a])?_0x1de111([0x2a]):'')[_0x1de111([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x187c56))[_0x1de111([0x73,0x6f,0x6d,0x65])](_0x22d74a=>_0x15d214[_0x1de111([0x65,0x76,0x65,0x72,0x79])]((_0x47457e,_0x3e06a5)=>_0x22d74a[_0x3e06a5]===_0x47457e||_0x22d74a[_0x3e06a5]===_0x1de111([0x2a])));}function _0x5129be(){return _0x1f8933&&_0x28684f?new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22ffe6,_0x23e22b)=>{_0x1f8933[_0x1de111([0x74,0x68,0x65,0x6e])](_0x22ffe6,_0x23e22b),_0x28684f[_0x1de111([0x74,0x68,0x65,0x6e])](_0x6b3269=>{_0x6b3269!=_0x1de111([0x56,0x61,0x6c,0x69,0x64])&&_0x22ffe6(_0x6b3269);},_0x23e22b);}):_0x1f8933||_0x28684f||_0x1de111([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29c56c(_0x530f47,_0x3d9994){return new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c9f0=>{if(_0x455a3d())return _0x39c9f0(_0x1de111([0x56,0x61,0x6c,0x69,0x64]));_0x1d5b0a(),_0x4db335[_0x1de111([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1de111([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a94c0=!0x1;const _0x10f896=_0x20b358();function _0x480446(_0x3d5131){return!!_0x3d5131&&(typeof _0x3d5131===_0x1de111([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d5131===_0x1de111([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d5131[_0x1de111([0x74,0x68,0x65,0x6e])]===_0x1de111([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d5131[_0x1de111([0x63,0x61,0x74,0x63,0x68])]===_0x1de111([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x589c02(_0x1e6dd2){_0x308225(_0x1e6dd2)[_0x1de111([0x74,0x68,0x65,0x6e])](_0x4652af=>{if(!_0x4652af||_0x4652af[_0x1de111([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1de111([0x6f,0x6b]))return _0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39dfa7(_0x55db35(_0x10f896+_0x3d9994))!=_0x4652af[_0x1de111([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1de111([0x56,0x61,0x6c,0x69,0x64]);})[_0x1de111([0x74,0x68,0x65,0x6e])](_0x5127c3=>(_0x54347c(),_0x5127c3),()=>{const _0x12be9e=_0x504618();return null==_0x12be9e?(_0x54347c(),_0x1de111([0x56,0x61,0x6c,0x69,0x64])):_0x1de111(_0x58da89-_0x12be9e>(0x63ae0106^_0x4f34f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1de111([0x74,0x68,0x65,0x6e])](_0x39c9f0)[_0x1de111([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39c9f0(_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x37823d=0x47946b86^_0x4f34f9;function _0x54347c(){const _0x1e13f0=_0x1de111([0x6c,0x6c,0x63,0x74,0x2d])+_0x39dfa7(_0x55db35(_0x530f47)),_0x3795ac=_0x4de15d(_0x39dfa7(window[_0x1de111([0x4d,0x61,0x74,0x68])][_0x1de111([0x63,0x65,0x69,0x6c])](_0x58da89/_0x37823d)));window[_0x1de111([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1de111([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e13f0,_0x3795ac);}function _0x504618(){const _0x1896dc=_0x1de111([0x6c,0x6c,0x63,0x74,0x2d])+_0x39dfa7(_0x55db35(_0x530f47)),_0x32c4df=window[_0x1de111([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1de111([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1896dc);return _0x32c4df?window[_0x1de111([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4de15d(_0x32c4df),0x10)*_0x37823d:null;}function _0x308225(_0x459db1){return new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ba1a5,_0x19d645)=>{_0x459db1[_0x1de111([0x74,0x68,0x65,0x6e])](_0x1ba1a5,_0x19d645),window[_0x1de111([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x19d645,0x47a351c6^_0x4f34f9);});}}_0x4db335[_0x1de111([0x6f,0x6e])](_0x1de111([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e3406,_0x392c2b)=>{if(_0x392c2b[0x0]!=_0x530f47)return _0x39c9f0(_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x392c2b[0x1]={..._0x392c2b[0x1],[_0x1de111([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10f896};},{[_0x1de111([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1de111([0x68,0x69,0x67,0x68])}),_0x4db335[_0x1de111([0x6f,0x6e])](_0x1de111([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c49a2=>{_0x480446(_0x1c49a2[_0x1de111([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a94c0=!0x0,_0x589c02(_0x1c49a2[_0x1de111([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1de111([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1de111([0x6c,0x6f,0x77])}),_0x534641[_0x1de111([0x74,0x68,0x65,0x6e])](()=>{_0x4a94c0||_0x39c9f0(_0x1de111([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x455a3d(){return _0x4db335[_0x1de111([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1de111([0x76,0x69,0x65,0x77])][_0x1de111([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1de111([0x61,0x75,0x74,0x6f]);}function _0x1d5b0a(){_0x4db335[_0x1de111([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1de111([0x76,0x69,0x65,0x77])][_0x1de111([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1de111([0x61,0x75,0x74,0x6f]);}}function _0x22eaaa(_0x36269c){const _0x40808c=[new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24bba0=>setTimeout(_0x24bba0,0x47abbbca^_0x4f34f9)),_0x534641[_0x1de111([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20cd70=>{let _0x116659=0x0;_0x4db335[_0x1de111([0x6d,0x6f,0x64,0x65,0x6c])][_0x1de111([0x6f,0x6e])](_0x1de111([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50778e,_0x560229)=>{_0x560229[0x0][_0x1de111([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x116659++,_0x116659==(0x47a284fe^_0x4f34f9)&&(_0x20cd70(),_0x50778e[_0x1de111([0x6f,0x66,0x66])]());});}))];return window[_0x1de111([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1de111([0x72,0x61,0x63,0x65])](_0x40808c)[_0x1de111([0x74,0x68,0x65,0x6e])](()=>_0x36269c);}async function _0x5d9567(){await _0x534641,_0x4db335[_0x1de111([0x6d,0x6f,0x64,0x65,0x6c])][_0x1de111([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x276b26,_0x4db335[_0x1de111([0x6d,0x6f,0x64,0x65,0x6c])][_0x1de111([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x276b26,_0x4db335[_0x1de111([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1de111([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25b5eb(_0x2aa7f9){const _0x2d2863=_0x2b6233();_0x4db335[_0x2d2863]=_0x1de111([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2aa7f9,_0x2aa7f9!=_0x1de111([0x56,0x61,0x6c,0x69,0x64])&&_0x5d9567();}function _0x2b6233(){const _0x5be6ab=window[_0x1de111([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1de111([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1de111([0x6e,0x6f,0x77])]())[_0x1de111([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1de111([0x2e]),'');let _0x1c7b8d=_0x1de111([0x75]);for(let _0x17dbd0=0x0;_0x17dbd0<_0x5be6ab[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17dbd0+=0x2){let _0x476a0c=window[_0x1de111([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be6ab[_0x1de111([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17dbd0,_0x17dbd0+0x2));_0x476a0c>=_0x721a71[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x476a0c-=_0x721a71[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c7b8d+=_0x721a71[_0x476a0c];}return _0x1c7b8d;}function _0x407fbd(){const _0x446394=_0x2a83b3[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e]));if(0x3!=_0x446394[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x52b5c1(_0x446394[0x1]);function _0x52b5c1(_0x58bcb7){const _0x3b5f34=_0x5968cb(_0x58bcb7);return _0x3b5f34&&_0x37fb0e()?_0x3b5f34:null;function _0x37fb0e(){const _0x274f0f=_0x3b5f34[_0x1de111([0x6a,0x74,0x69])],_0x35ca11=window[_0x1de111([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x274f0f[_0x1de111([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x274f0f[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31c3d3={..._0x3b5f34,[_0x1de111([0x6a,0x74,0x69])]:_0x274f0f[_0x1de111([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x274f0f[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31c3d3[_0x1de111([0x76,0x63])],_0x55db35(_0x31c3d3)==_0x35ca11;}}}async function _0x50c373(){let _0x272f07=!0x0;try{const _0x26e1ba=_0x2a83b3[_0x1de111([0x73,0x70,0x6c,0x69,0x74])](_0x1de111([0x2e])),[_0x531409,_0x220330,_0x549cbd]=_0x26e1ba;return _0x3d33d9(_0x531409),await _0x131f9a(_0x531409,_0x220330,_0x549cbd),_0x272f07;}catch{return!0x1;}function _0x3d33d9(_0xbe3d54){const _0x9d810f=_0x5968cb(_0xbe3d54);_0x9d810f&&_0x9d810f[_0x1de111([0x61,0x6c,0x67])]==_0x1de111([0x45,0x53,0x32,0x35,0x36])||(_0x272f07=!0x1);}async function _0x131f9a(_0x2d9bb0,_0x52bcc2,_0x544f27){const _0x51ab17=window[_0x1de111([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1de111([0x66,0x72,0x6f,0x6d])](_0x5d8db4(_0x544f27),_0x13ad52=>_0x13ad52[_0x1de111([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a3692=new window[(_0x1de111([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1de111([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d9bb0+_0x1de111([0x2e])+_0x52bcc2),_0x7546df=window[_0x1de111([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1de111([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7546df)return;const _0x89e306=await _0x7546df[_0x1de111([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1de111([0x6a,0x77,0x6b]),_0x44e71f,{[_0x1de111([0x6e,0x61,0x6d,0x65])]:_0x1de111([0x45,0x43,0x44,0x53,0x41]),[_0x1de111([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1de111([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1de111([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7546df[_0x1de111([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1de111([0x6e,0x61,0x6d,0x65])]:_0x1de111([0x45,0x43,0x44,0x53,0x41]),[_0x1de111([0x68,0x61,0x73,0x68])]:{[_0x1de111([0x6e,0x61,0x6d,0x65])]:_0x1de111([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x89e306,_0x51ab17,_0x2a3692)||(_0x272f07=!0x1);}}function _0x5968cb(_0x27efd1){return _0x27efd1[_0x1de111([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1de111([0x65,0x79]))?JSON[_0x1de111([0x70,0x61,0x72,0x73,0x65])](_0x5d8db4(_0x27efd1)):null;}function _0x5d8db4(_0x38beff){return window[_0x1de111([0x61,0x74,0x6f,0x62])](_0x38beff[_0x1de111([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1de111([0x2b]))[_0x1de111([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1de111([0x2f])));}function _0x55db35(_0xdce197){let _0x55b9bc=0x1505;function _0x5d1630(_0xa1e64e){for(let _0x163fe3=0x0;_0x163fe3<_0xa1e64e[_0x1de111([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163fe3++){const _0x4336ba=_0xa1e64e[_0x1de111([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x163fe3);_0x55b9bc=(_0x55b9bc<<0x5)+_0x55b9bc+_0x4336ba,_0x55b9bc&=_0x55b9bc;}}function _0x505614(_0x361397){Array[_0x1de111([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x361397)?_0x361397[_0x1de111([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x505614):_0x361397&&typeof _0x361397==_0x1de111([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1de111([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x361397)[_0x1de111([0x73,0x6f,0x72,0x74])]()[_0x1de111([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d7018,_0x4d92dc])=>{_0x5d1630(_0x5d7018),_0x505614(_0x4d92dc);}):_0x5d1630(window[_0x1de111([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x361397));}return _0x505614(_0xdce197),_0x55b9bc>>>0x0;}function _0x39dfa7(_0x5a375b){return _0x5a375b[_0x1de111([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1de111([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1de111([0x30]));}function _0x4de15d(_0x14026b){return _0x14026b[_0x1de111([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1de111([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1de111([0x6a,0x6f,0x69,0x6e])]('');}function _0x276b26(){}function _0x1de111(_0x3e3c08){return _0x3e3c08['map'](_0x5eca99=>String['fromCharCode'](_0x5eca99))['join']('');}_0x25b5eb(await _0x1f07fa());}(this);}['_moveSelectionToFootnoteDefinition'](_0x300f64){const {plugins:_0x56e873,editing:_0x257fbf,model:_0x3c26bd}=this['editor'],_0x35249c=_0x56e873['get'](c)['getFootnote'](_0x300f64);return!!_0x35249c&&(_0x3c26bd['change'](_0x369715=>{_0x369715['setSelection'](_0x369715['createPositionAt'](_0x35249c['definition'],'end'));}),_0x257fbf['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x59349e){const {plugins:_0x47a017,editing:_0x5e1781,model:_0x924114}=this['editor'],_0x1726ad=_0x47a017['get'](c)['getFootnote'](_0x59349e);return!!_0x1726ad&&(_0x924114['change'](_0x397bfc=>{_0x397bfc['setSelection'](_0x1726ad['reference'],'on');}),_0x5e1781['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x263b67}=this['editor']['model'],_0x2ea74e=this['editor']['config']['get']('footnotes.multiBlock');_0x263b67['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x263b67['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x263b67['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2ea74e?_0x263b67['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x263b67['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x263b67['addChildCheck'](_0x111503=>{for(const _0x29dacd of _0x111503)if('footnoteDefinition'===_0x29dacd['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x35c1c3}=this,{conversion:_0x5a6a9c,editing:_0xda246e}=_0x35c1c3,{t:t}=_0x35c1c3['locale'];_0x5a6a9c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x16f991,{writer:_0x453f89,consumable:_0x340ce0})=>{const _0x250f50=_0x16f991['getChild'](0x0);if(!_0x250f50||!_0x250f50['is']('element','a'))return null;const _0x4202e6=_0x250f50['getAttribute']('href')||'';if(!_0x4202e6['startsWith']('#'))return null;const _0x1aea54=_0x4202e6['replace'](/^#/,'');if(!_0x1aea54)return null;_0x340ce0['consume'](_0x250f50,{'name':!0x0,'attributes':['href']});for(const {item:_0x54cf4c}of _0xda246e['view']['createRangeIn'](_0x250f50))_0x54cf4c['is']('$textProxy')?_0x340ce0['consume'](_0x54cf4c['textNode'],{'name':!0x0}):_0x54cf4c['is']('element')&&_0x340ce0['consume'](_0x54cf4c,{'name':!0x0});return _0x453f89['createElement']('footnoteRef',{'footnoteId':_0x1aea54});}}),_0x5a6a9c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x31acc3,{writer:_0xecef63})=>D(_0x31acc3,_0xecef63)}),_0x5a6a9c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12fc64,{writer:_0x7ce311})=>{const _0x4549f2=_0x12fc64['getAttribute']('footnoteCounter');return _0x4f51ec(D(_0x12fc64,_0x7ce311),_0x7ce311,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4549f2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x20d372}=this,{t:t}=_0x20d372['locale'],{conversion:_0x3df5f0}=_0x20d372;_0x3df5f0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3df5f0['for']('upcast')['add'](_0x2953f4=>{_0x2953f4['on']('element:ol',(_0x4609ba,_0x549d0b,_0x2b223c)=>{const _0x4fb21e=_0x549d0b['viewItem'];if(!_0x4fb21e['hasClass']('footnotes-list')||!_0x549d0b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2b223c['consumable']['consume'](_0x4fb21e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x560377,modelCursor:_0x58d752}=_0x2b223c['convertChildren'](_0x549d0b['viewItem'],_0x549d0b['modelCursor']);_0x549d0b['modelRange']=_0x560377,_0x549d0b['modelCursor']=_0x58d752;}),_0x2953f4['on']('element:hr',(_0x47d1cc,_0x3ee4de,_0x3f9c9d)=>{const _0x4fabd2=_0x3ee4de['viewItem'];_0x4fabd2['hasClass']('footnotes-divider')&&_0x3ee4de['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3f9c9d['consumable']['consume'](_0x4fabd2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3df5f0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c7ce8,{writer:_0x20c5e1})=>v(_0x20c5e1)}),_0x3df5f0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x351336,{writer:_0x336d65})=>{const _0xdf04ee=v(_0x336d65,{'data-footnotes-list-label':t('Footnotes')}),_0x5274c4=_0x4f51ec(_0xdf04ee,_0x336d65,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x336d65['setCustomProperty']('footnotesDefinitions',!0x0,_0x5274c4),_0x5274c4;}});}['_defineDefinitionConverters'](){const {editor:_0x4ee2cb}=this,{conversion:_0x45bc2a,locale:_0x5f31a4}=_0x4ee2cb,_0x30093c=_0x4ee2cb['config']['get']('footnotes.multiBlock');_0x45bc2a['for']('upcast')['add'](_0x9c38e4=>{_0x9c38e4['on']('element:li',(_0x54077c,_0x1d630e,_0x141e66)=>{const _0x139c63=_0x1d630e['viewItem'];if(!_0x139c63['hasClass']('footnote-definition')||!_0x139c63['getAttribute']('id'))return;const _0x335c4f=_0x139c63['parent'];if(!_0x335c4f['is']('element','ol')||!_0x335c4f['hasClass']('footnotes-list'))return;if(!_0x141e66['consumable']['test'](_0x139c63,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1ad572=_0x141e66['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x139c63['getAttribute']('id')});if(!_0x141e66['safeInsert'](_0x1ad572,_0x1d630e['modelCursor']))return;_0x141e66['consumable']['consume'](_0x139c63,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3b89cf=Array['from'](_0x139c63['getChildren']())['find'](_0x21ff35=>_0x21ff35['is']('element')&&_0x21ff35['hasClass']('footnote-content'));for(const _0x25f875 of _0x139c63['getChildren']())_0x25f875['is']('element')&&(_0x141e66['consumable']['consume'](_0x25f875,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x141e66['consumable']['consume'](_0x25f875,{'name':!0x0,'classes':'footnote-content'}));if(_0x3b89cf){if(_0x30093c)_0x141e66['convertChildren'](_0x3b89cf,_0x1ad572);else{const _0x4396b6=_0x141e66['writer']['createElement']('footnoteInlineContent');_0x141e66['writer']['insert'](_0x4396b6,_0x1ad572),_0x141e66['convertChildren'](_0x3b89cf,_0x4396b6);}}_0x141e66['updateConversionResult'](_0x1ad572,_0x1d630e);});}),_0x45bc2a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x551fee,{writer:_0x546dee})=>b(_0x551fee,_0x546dee,_0x5f31a4,{'dataPipeline':!0x0})}),_0x45bc2a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x451636,{writer:_0x4996a3})=>b(_0x451636,_0x4996a3,_0x5f31a4)});}['_defineBogusParagraphConverters'](){const {editor:_0x57d5b6}=this,{conversion:_0x2f0690}=_0x57d5b6;_0x57d5b6['config']['get']('footnotes.multiBlock')?(_0x2f0690['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2f0690['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x57d5b6['model']['document'],'change:data',()=>{!function(_0xe76e08,_0x7e7f8d){const _0x3cb0b2=_0xe76e08['document']['differ'],_0x13ebde=new Set();for(const _0x16508a of _0x3cb0b2['getChanges']()){const _0x58fc3d='attribute'==_0x16508a['type']?_0x16508a['range']['start']['parent']:_0x16508a['position']['parent'];_0x58fc3d['is']('element','footnoteDefinition')&&_0x13ebde['add'](_0x58fc3d);}for(const _0x1e99c3 of _0x13ebde['values']()){const _0x112d85=Array['from'](_0x1e99c3['getChildren']())['filter'](_0x177ec1=>g(_0x177ec1,_0x7e7f8d['mapper']));for(const _0x24b2ac of _0x112d85)_0x7e7f8d['reconvertItem'](_0x24b2ac);}}(_0x57d5b6['model'],_0x57d5b6['editing']);})):(_0x2f0690['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2f0690['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5414dc,{writer:_0xeda5fc})=>{const _0x927780=_0xeda5fc['createContainerElement']('span');return _0xeda5fc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x927780),_0x927780;}}));}['_defineKeyboardHandlers'](){const {editor:_0x99aae6}=this,{editing:_0x3c7bc5,t:t}=_0x99aae6,_0x3c438d=_0x99aae6['model']['document']['selection'];_0x99aae6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x99aae6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3c7bc5['view']['document'],'enter',(_0x5695fd,_0x34acff)=>{const _0x303188=function(_0x12991a){const _0x3ffcde=_0x12991a['getSelectedElement']();if(_0x3ffcde?.['is']('element','footnoteRef'))return _0x3ffcde;return null;}(_0x3c438d);if(_0x303188){const _0x19be7c=_0x303188['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x19be7c),_0x34acff['preventDefault'](),_0x5695fd['stop']();}},{'context':_0x46fe4d});}['_defineClickHandlers'](){const {editor:_0x5d1218}=this,{editing:_0x4353fd}=_0x5d1218;_0x5d1218['editing']['view']['addObserver'](_0x40d796),_0x5d1218['editing']['view']['addObserver'](_0x184870);let _0x18f56e=!0x1;this['listenTo'](_0x4353fd['view']['document'],'pointerdown',(_0xdb2b74,_0x393c02)=>{const {target:_0x54e4dc}=_0x393c02,_0x595e18=_0x4353fd['view']['document']['selection'];_0x18f56e=!!(_0x54e4dc?.['is']('element','a')&&_0x54e4dc['parent']?.['is']('element','sup')&&_0x54e4dc['parent']['hasClass']('footnote'))&&_0x595e18['getSelectedElement']()===_0x54e4dc['parent'];},{'priority':'high'}),this['listenTo'](_0x4353fd['view']['document'],'click',(_0x38f4f7,_0x4dfd28)=>{const {target:_0x382906}=_0x4dfd28;if(!_0x382906?.['is']('element','a'))return;if(_0x382906['parent']?.['is']('element','sup')&&_0x382906['parent']['hasClass']('footnote')&&!_0x18f56e)return void _0x4dfd28['preventDefault']();let _0x119547=_0x382906['getAttribute']('href');if(!_0x119547?.['startsWith']('#'))return;_0x119547=_0x119547['slice'](0x1);let _0xb1f60=!0x1;(_0x119547['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x119547['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x119547))&&(_0xb1f60=!0x0),_0xb1f60&&(_0x4dfd28['preventDefault'](),_0x38f4f7['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5693dc}={}){return(_0x20377b,{writer:_0x30e95a})=>{if(!p(_0x20377b))return null;if(!_0x5693dc)return _0x30e95a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4cdae3=_0x30e95a['createContainerElement']('p');return _0x30e95a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4cdae3),_0x4cdae3;};}function p(_0x3a0861){const {parent:_0x3ddff5}=_0x3a0861;if(!_0x3ddff5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3ddff5['childCount'])return!0x1;for(const _0x2635bf of _0x3a0861['getAttributeKeys']())if(!_0x2635bf['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2635bf)return!0x1;return!0x0;}function g(_0x10d633,_0x4815bd){if(!_0x10d633['is']('element','paragraph'))return!0x1;const _0x136e1a=_0x4815bd['toViewElement'](_0x10d633);return!!_0x136e1a&&p(_0x10d633)!==_0x136e1a['is']('element','span');}function J(_0x1eb534){return _0x46fe4d(_0x1eb534)&&_0x1eb534['is']('containerElement')&&!!_0x1eb534['getCustomProperty']('footnotesDefinitions');}function v(_0x51d6b8,_0x2ce11={}){const _0x571fd6=_0x51d6b8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xb7479=_0x51d6b8['createContainerElement']('ol',{'class':'footnotes-list'},_0x51d6b8['createSlot']());return _0x51d6b8['createContainerElement']('div',{'class':'footnotes',..._0x2ce11},[_0x571fd6,_0xb7479]);}function D(_0x12f603,_0x4c702f){const _0x8abd78=_0x12f603['getAttribute']('footnoteId'),_0x30fc07=_0x12f603['getAttribute']('footnoteCounter'),_0xb367bd=_0x4c702f['createUIElement']('a',{'href':'#'+_0x8abd78},function(_0x17477f){const _0x44ab8b=this['toDomElement'](_0x17477f);return _0x44ab8b['textContent']=_0x30fc07,_0x44ab8b;}),_0x1e3f07=_0x4c702f['createContainerElement']('sup',{'id':'ref-'+_0x8abd78,'class':'footnote'},[_0xb367bd]);return _0x1e3f07['getFillerOffset']=()=>null,_0x1e3f07;}function b(_0x15c327,_0x5161d0,_0x3cd646,{dataPipeline:_0x23b2e3}={}){const {t:t}=_0x3cd646,_0x25ad27=_0x15c327['getAttribute']('footnoteId'),_0x4bb599=_0x5161d0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x25ad27},function(_0x4eaeb5){const _0x329784=this['toDomElement'](_0x4eaeb5);return _0x329784['innerText']='^',_0x329784;}),_0x3d1d87=_0x23b2e3?_0x5161d0['createContainerElement']('div',{'class':'footnote-content'}):_0x31ff1d(_0x5161d0['createEditableElement']('div',{'class':'footnote-content'}),_0x5161d0,{'label':t('Footnote\x20content.')});return _0x5161d0['insert'](_0x5161d0['createPositionAt'](_0x3d1d87,0x0),_0x5161d0['createSlot']()),_0x5161d0['createContainerElement']('li',{'class':'footnote-definition','id':_0x25ad27},[_0x4bb599,_0x3d1d87]);}class e extends _0x3c0d71{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1ef6b2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3a5c8f}=this,{plugins:_0x235714,model:_0x4f2b33}=_0x3a5c8f,_0x8ef416=_0x235714['get'](_0x1ef6b2),_0xca9db9=_0x235714['get'](c);this['listenTo'](_0x8ef416,'outputTransformation',(_0x7708a9,_0x44a26b)=>{const _0x2d1b66=f(_0x4f2b33['createRangeIn'](_0x44a26b['content']));if(!_0x2d1b66['length'])return;const _0xe32b=_0xca9db9['getFootnotes'](),_0xe7fc8f=_0x2d1b66['reduce']((_0x5dabfe,_0x1c9af4)=>{const _0x3705ad=_0xe32b['find'](_0x4ab0d6=>_0x4ab0d6['id']===_0x1c9af4);if(_0x3705ad){const _0x201ac7=_0x3a5c8f['data']['toView'](_0x3705ad['definition'],{'isClipboardPipeline':!0x0}),_0x3cab58=_0x3a5c8f['data']['htmlProcessor']['toData'](_0x201ac7);_0x5dabfe[_0x3705ad['id']]=_0x3cab58;}return _0x5dabfe;},Object['create'](null));_0x44a26b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xe7fc8f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xfbb27f}=this,{model:_0x3fe262,plugins:_0x3cc1ed}=_0xfbb27f,{view:_0x54aca9}=_0xfbb27f['editing'],_0x153672=_0x3cc1ed['get'](_0x1ef6b2),_0x378888=_0x3cc1ed['get'](c);let _0x3a4492=null;this['listenTo'](_0x54aca9['document'],'clipboardInput',(_0x160275,_0x35bbc6)=>{const _0x41c88a=_0x35bbc6['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3a4492=_0x41c88a?JSON['parse'](_0x41c88a):null;}),this['listenTo'](_0x153672,'contentInsertion',(_0x164b54,_0x3e8c89)=>{const _0x873def=_0x3e8c89['sourceEditorId']===this['editor']['id'];_0x873def&&'drop'===_0x3e8c89['method']||_0x3fe262['change'](_0x40b37f=>{let _0x27d7fe=_0x378888['getFootnotesDefinitionsObjectElement']();const _0x5118b6=!!_0x27d7fe&&Array['from'](_0x3fe262['document']['selection']['getSelectedBlocks']())['includes'](_0x27d7fe);if((_0x27d7fe&&!_0x5118b6||!_0x27d7fe&&!_0x3a4492)&&function(_0x5bc3cc,_0x5438f0){const _0x45d023=[];for(const {item:_0x5537a4}of _0x5bc3cc['createRangeIn'](_0x5438f0))_0x5537a4['is']('element','footnotesDefinitions')&&_0x45d023['push'](_0x5537a4);for(const _0x139ead of _0x45d023)_0x5bc3cc['remove'](_0x139ead);}(_0x40b37f,_0x3e8c89['content']),!_0x3a4492)return;const {selection:_0x539627}=_0x3fe262['document'],_0x426f33=_0x539627['getFirstRange']()['root'];_0x27d7fe&&!_0x5118b6||(_0x27d7fe=function(_0x2e8dfe,_0x5566ba){for(const {item:_0x577401}of _0x2e8dfe['createRangeIn'](_0x5566ba))if(_0x577401['is']('element','footnotesDefinitions'))return _0x577401;return null;}(_0x40b37f,_0x3e8c89['content']),_0x27d7fe||=_0x378888['_insertEmptyFootnotesDefinitionsContainer'](_0x40b37f,_0x426f33));const _0x2fd246=Array['from'](_0x539627['getRanges']())['flatMap'](f),_0x16a466=function(_0x5ee6e4,_0x3aa545,_0x1ff7c1){const _0x813dd1=Object['create'](null);for(const {item:_0x4e2098}of _0x5ee6e4['createRangeIn'](_0x3aa545))if(_0x4e2098['is']('element','footnoteRef')){const _0x3238fb=_0x4e2098['getAttribute']('footnoteId');if(!_0x1ff7c1(_0x3238fb))continue;_0x813dd1[_0x3238fb]||(_0x813dd1[_0x3238fb]=_0x20b358()),_0x5ee6e4['setAttribute']('footnoteId',_0x813dd1[_0x3238fb],_0x4e2098);}return _0x813dd1;}(_0x40b37f,_0x3e8c89['content'],_0x4c845d=>{if(!_0x873def)return!0x0;return!!_0x378888['getFootnote'](_0x4c845d)&&!_0x2fd246['includes'](_0x4c845d);});for(const [_0x29ae79,_0x447763]of Object['entries'](_0x3a4492)){const _0x7a86d6=_0x16a466[_0x29ae79]||_0x29ae79,_0x15a26f=_0x40b37f['createElement']('footnoteDefinition',{'footnoteId':_0x7a86d6}),_0x337c1d=_0xfbb27f['data']['htmlProcessor']['toView'](_0x447763),_0x4b1c0b=_0xfbb27f['data']['toModel'](_0x337c1d,_0x15a26f);_0x40b37f['append'](_0x4b1c0b,_0x15a26f),_0x40b37f['insert'](_0x15a26f,_0x27d7fe,'end');}_0x3a4492=null;});});}}function f(_0x5c0a13){const _0x12bed0=new Set();for(const {item:_0x54076a}of _0x5c0a13)_0x54076a['is']('element','footnoteRef')&&_0x12bed0['add'](_0x54076a['getAttribute']('footnoteId'));return Array['from'](_0x12bed0);}class i extends _0x3c0d71{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56b88e}=this,{componentFactory:_0x5b2acb}=_0x56b88e['ui'];_0x5b2acb['add']('insertFootnote',x(_0x56b88e,_0x3d77de)),_0x5b2acb['add']('menuBar:insertFootnote',x(_0x56b88e,_0x86620c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11ded4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x47734d;for(const _0x1f7fbb in _0x11ded4){const _0x5bc9cd=_0x1f7fbb,_0x11e93a=_0x11ded4[_0x5bc9cd];if('footnotesLicenseKeyValid'==_0x11e93a||'footnotesLicenseKeyInvalid'==_0x11e93a||'footnotesLicenseKeyExpired'==_0x11e93a||'footnotesLicenseKeyDomainLimit'==_0x11e93a||'footnotesLicenseKeyNotAllowed'==_0x11e93a||'footnotesLicenseKeyEvaluationLimit'==_0x11e93a||'footnotesLicenseKeyTrialLimit'==_0x11e93a||'footnotesLicenseKeyUsageLimit'==_0x11e93a){delete _0x11ded4[_0x5bc9cd],_0x47734d=_0x11e93a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x47734d&&_0x11ded4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x47734d&&_0x11ded4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x47734d&&_0x11ded4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x47734d&&_0x11ded4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xcae362,_0xf41e31){const _0xead800=_0xcae362['commands']['get']('insertFootnote');return _0xffdb10=>{const {t:t}=_0xffdb10,_0x128b72=new _0xf41e31(_0xffdb10),_0x250460=_0x128b72 instanceof _0x86620c;return _0x128b72['bind']('isEnabled')['to'](_0xead800,'isEnabled'),_0x128b72['set']({'label':t(_0x250460?'Footnote':'Insert\x20footnote'),'icon':_0x183d10,'tooltip':!0x0}),_0x128b72['on']('execute',()=>{_0xead800['execute'](),_0xcae362['editing']['view']['focus']();}),_0x128b72;};}class lt extends _0x3c0d71{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 _0x25ead8{['refresh'](){const {editor:_0x128a57}=this,_0x507a9b=_0x128a57['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x507a9b,this['value']=_0x507a9b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x19497e}){const {editor:_0x5a3581}=this,_0x49aa27=_0x5a3581['plugins']['get'](c),_0x5d8fc2=_0x49aa27['getFootnotesDefinitionsObjectElement']();_0x5d8fc2&&Q['includes'](_0x19497e)&&_0x5a3581['model']['change'](_0x4c522d=>{_0x4c522d['setAttribute']('footnotesListStyle',_0x19497e,_0x5d8fc2),_0x49aa27['_updateFootnotesCounters'](_0x4c522d);});}}class C extends _0x25ead8{['refresh'](){const {editor:_0x5d9282}=this,_0x2d336a=_0x5d9282['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2d336a,this['value']=_0x2d336a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5f2830}){const {editor:_0x41ab50}=this,_0x5e99a6=_0x41ab50['plugins']['get'](c),_0x196631=_0x5e99a6['getFootnotesDefinitionsObjectElement']();_0x196631&&Number['isInteger'](_0x5f2830)&&_0x41ab50['model']['change'](_0x46eb93=>{_0x46eb93['setAttribute']('footnotesListStart',_0x5f2830,_0x196631),_0x5e99a6['_updateFootnotesCounters'](_0x46eb93);});}}class P extends _0x3c0d71{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e03fa}=this;_0x5e03fa['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5e03fa['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5e03fa['commands']['add']('footnotesStyle',new S(_0x5e03fa)),_0x5e03fa['commands']['add']('footnotesStart',new C(_0x5e03fa)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0xea331e}=this,{schema:_0x1ed238}=_0xea331e['model'];_0x1ed238['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x819b50}=this,{conversion:_0xacc5e7,model:_0x55360f}=_0x819b50,{schema:_0x5a4372}=_0x55360f;_0xacc5e7['for']('upcast')['add'](_0x1e1f26=>{_0x1e1f26['on']('element:ol',(_0x1eb52a,_0x179bab,_0x32312c)=>{const _0x576dde=_0x179bab['viewItem'],_0x3bf1a8=_0x179bab['modelCursor']?.['parent'];_0x576dde['hasClass']('footnotes-list')&&_0x3bf1a8?.['is']('element','footnotesDefinitions')&&(function(_0x40d594,_0x3b4c94,_0x3c7447,_0x185a09){if(!_0x185a09['checkAttribute'](_0x3b4c94,'footnotesListStart'))return;let _0x2a9e3b=0x1;const _0x5df8eb=_0x3c7447['consumable']['consume'](_0x40d594,{'attributes':'start'});if(_0x5df8eb){const _0x2fbb23=Number['parseInt'](_0x40d594['getAttribute']('start'),0xa);Number['isNaN'](_0x2fbb23)||(_0x2a9e3b=_0x2fbb23);}!_0x5df8eb&&_0x3b4c94['hasAttribute']('footnotesListStart')||_0x3c7447['writer']['setAttribute']('footnotesListStart',_0x2a9e3b,_0x3b4c94);}(_0x576dde,_0x3bf1a8,_0x32312c,_0x5a4372),function(_0x5cd062,_0x50601e,_0x49e561,_0x28982e){if(!_0x28982e['checkAttribute'](_0x50601e,'footnotesListStyle'))return;let _0x2c100b='decimal',_0xb4359f=!0x1;if(_0x49e561['consumable']['consume'](_0x5cd062,{'attributes':'type'})){const _0x11b936={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5cd062['getAttribute']('type')];_0x11b936&&(_0x2c100b=_0x11b936),_0xb4359f=!0x0;}_0x49e561['consumable']['consume'](_0x5cd062,{'styles':'list-style-type'})&&(_0x2c100b=_0x5cd062['getStyle']('list-style-type'),_0xb4359f=!0x0),!_0xb4359f&&_0x50601e['hasAttribute']('footnotesListStyle')||_0x49e561['writer']['setAttribute']('footnotesListStyle',_0x2c100b,_0x50601e);}(_0x576dde,_0x3bf1a8,_0x32312c,_0x5a4372));});}),_0xacc5e7['for']('downcast')['add'](_0x1c4627=>{_0x1c4627['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5a472d,_0x37ec8a,_0x4648d5)=>{if(!_0x4648d5['consumable']['consume'](_0x37ec8a['item'],_0x5a472d['name']))return;const _0x2ca412=M(_0x37ec8a['item'],_0x4648d5['mapper']),{attributeNewValue:_0x1816c8}=_0x37ec8a;null==_0x1816c8||0x1===_0x1816c8?_0x4648d5['writer']['removeAttribute']('start',_0x2ca412):_0x4648d5['writer']['setAttribute']('start',String(_0x1816c8),_0x2ca412);}),_0x1c4627['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x51a322,_0x4718de,_0x4bb958)=>{if(!_0x4bb958['consumable']['consume'](_0x4718de['item'],_0x51a322['name']))return;const _0x25c1b0=M(_0x4718de['item'],_0x4bb958['mapper']),{attributeNewValue:_0x5bc0f6}=_0x4718de;_0x5bc0f6&&'decimal'!==_0x5bc0f6?_0x4bb958['writer']['setStyle']('list-style-type',_0x5bc0f6,_0x25c1b0):_0x4bb958['writer']['removeStyle']('list-style-type',_0x25c1b0);});});}['_definePostfixer'](){const {editor:_0x758397}=this,{model:_0x43bd96}=_0x758397,_0x5e23f6=_0x758397['plugins']['get'](c),_0x69d83a=this['_getDefaultListStyle'](),_0x3d50dd=this['_getDefaultStartIndex']();_0x43bd96['document']['registerPostFixer'](_0x27a0d0=>{const _0x2877e8=_0x43bd96['document']['differ']['getChanges']();let _0x4d4ff9=!0x1;for(const _0x593f53 of _0x2877e8){if('insert'!==_0x593f53['type']||'$text'===_0x593f53['name'])continue;const _0x283262=_0x43bd96['createRangeOn'](_0x593f53['position']['nodeAfter']);for(const _0x104231 of _0x283262['getItems']())_0x104231['is']('element','footnotesDefinitions')&&(!_0x104231['hasAttribute']('footnotesListStart')&&_0x43bd96['schema']['checkAttribute'](_0x104231,'footnotesListStart')&&(_0x27a0d0['setAttribute']('footnotesListStart',_0x3d50dd,_0x104231),_0x4d4ff9=!0x0),!_0x104231['hasAttribute']('footnotesListStyle')&&_0x43bd96['schema']['checkAttribute'](_0x104231,'footnotesListStyle')&&(_0x27a0d0['setAttribute']('footnotesListStyle',_0x69d83a,_0x104231),_0x4d4ff9=!0x0));}return _0x4d4ff9&&_0x5e23f6['_updateFootnotesCounters'](_0x27a0d0),_0x4d4ff9;});}['_defineFormatter'](){const {editor:_0x4e98be}=this;_0x4e98be['plugins']['get'](c)['setFootnoteFormatter'](_0x1904f2=>this['_formatFootnoteListValue'](_0x1904f2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3b76c0,value:_0x5b1ae5,digits:_0x293298}){const _0x5c6a56=_0x3b76c0['getAttribute']('footnotesListStyle'),_0x3dbd99=_0x3b76c0['getAttribute']('footnotesListStart'),_0x455360=Math['floor'](_0x5b1ae5)+(_0x3dbd99??0x1)-0x1;switch(_0x5c6a56){case'decimal-leading-zero':return function(_0x1ef9d6,_0x2b2dd5){return String(_0x1ef9d6)['padStart'](_0x2b2dd5,'0');}(_0x455360,Math['max'](0x2,_0x293298));case'lower-alpha':case'lower-latin':return N(_0x455360,!0x1);case'upper-alpha':case'upper-latin':return N(_0x455360,!0x0);case'lower-roman':return X(_0x455360,!0x1);case'upper-roman':return X(_0x455360,!0x0);default:return String(_0x455360);}}}function M(_0x4ef657,_0x152342){const _0x255fc5=_0x152342['toViewElement'](_0x4ef657);return Array['from'](_0x255fc5['getChildren']())['find'](_0x542ee7=>_0x542ee7['is']('element','ol')&&_0x542ee7['hasClass']('footnotes-list'));}function N(_0x5e92a7,_0x4b6bcb){let _0x10c5b1='',_0x328b4d=_0x5e92a7;for(;_0x328b4d>0x0;){const _0x184bde=(_0x328b4d-0x1)%0x1a;_0x10c5b1=String['fromCharCode'](0x61+_0x184bde)+_0x10c5b1,_0x328b4d=Math['floor']((_0x328b4d-0x1)/0x1a);}return _0x4b6bcb?_0x10c5b1['toUpperCase']():_0x10c5b1;}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(_0x185d52,_0xf147c3){let _0x6ba32b='',_0x4afd81=_0x185d52;for(const {value:_0x1a6293,numeral:_0x192b72}of V)for(;_0x4afd81>=_0x1a6293;)_0x6ba32b+=_0x192b72,_0x4afd81-=_0x1a6293;return _0xf147c3?_0x6ba32b:_0x6ba32b['toLowerCase']();}class H extends _0x4e0417{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x194cae();['focusCycler'];constructor(_0x1a95b7,{styleButtonViews:_0x405a7a,styleGridAriaLabel:_0x2bdfef}){super(_0x1a95b7),(this['focusCycler']=new _0x333af1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x405a7a,_0x2bdfef),[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 _0x1ca338 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ca338['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 _0x3ed0a1=_0x5d2b56=>_0x5d2b56['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ed0a1),this['keystrokes']['set']('arrowleft',_0x3ed0a1),this['keystrokes']['set']('arrowup',_0x3ed0a1),this['keystrokes']['set']('arrowdown',_0x3ed0a1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4b3131,_0x3ca376){const _0x2d179e=new _0x4e0417(this['locale']);return _0x2d179e['children']=_0x2d179e['createCollection'](),_0x2d179e['children']['addMany'](_0x4b3131),_0x2d179e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ca376,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2d179e['children']}),_0x2d179e['children']['delegate']('execute')['to'](this),_0x2d179e['focus']=function(){for(const _0x5cbdcd of this['children'])if(_0x5cbdcd instanceof _0x3d77de&&_0x5cbdcd['isOn'])return void _0x5cbdcd['focus']();this['children']['first']['focus']();},_0x2d179e['focusTracker']=new ot(),_0x2d179e['keystrokes']=new rt(),_0x2d179e['render'](),_0x2d179e['keystrokes']['listenTo'](_0x2d179e['element']),this['children']['add'](_0x2d179e),_0x2d179e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x93c1d=this['_createStartIndexPropertyView'](),_0x1f1745=[_0x93c1d],_0x140c43=new st(this['locale'],_0x1f1745);return _0x140c43['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x140c43['buttonView']['bind']('isEnabled')['toMany'](_0x1f1745,'isEnabled',(..._0x513350)=>_0x513350['some'](_0x1adbff=>_0x1adbff)),_0x140c43['buttonView']['on']('change:isEnabled',(_0x2c3f04,_0x187a9f,_0x5539ca)=>{_0x5539ca||(_0x140c43['isCollapsed']=!0x0);}),this['children']['add'](_0x140c43),[_0x93c1d,_0x140c43];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x54ead8=new it(this['locale'],et);return _0x54ead8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x54ead8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x54ead8['fieldView']['on']('input',()=>{const _0x5ef8f9=_0x54ead8['fieldView']['element'],_0x3b3586=_0x5ef8f9['valueAsNumber'];Number['isNaN'](_0x3b3586)?_0x54ead8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5ef8f9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3b3586}):_0x54ead8['errorText']=t(_0x3b3586<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x54ead8;}}class j extends _0x3c0d71{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x503f80,_0x166e8e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x419f1d}=this,{componentFactory:_0x5284cd}=_0x419f1d['ui'];_0x419f1d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5284cd['add']('footnotesStyle',function(_0x5621dd){return _0x29c11d=>{const {t:t}=_0x29c11d,_0x4ac8da=_0x5621dd['commands']['get']('footnotesStyle'),_0xef3e1b=_0x1d91f8(_0x29c11d),{buttonView:_0x477216}=_0xef3e1b;return _0xef3e1b['class']='ck-footnotes-styles-dropdown',_0xef3e1b['bind']('isEnabled')['to'](_0x4ac8da,'isEnabled'),_0x477216['set']({'label':t('Footnotes\x20style'),'icon':_0x183d10,'tooltip':!0x0}),_0xef3e1b['once']('change:isOpen',()=>{const _0x539856=function({editor:_0xb23c7b,dropdownView:_0x240cf1}){const {t:t}=_0xb23c7b['locale'],_0x32e335=t('Footnotes\x20definitions\x20styles'),_0x1807f7=function(_0xd68405){const t=_0xd68405['locale']['t'],_0xc66fac=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x351165},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x45f5c3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2f8963},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5c83a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x57c65c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x37aad6}];return _0xc66fac['map'](function(_0x53e18d){const _0x1b453d=_0x53e18d['locale'];return({label:_0x5b2ef4,icon:_0x27bb18,tooltip:_0x52d67a,style:_0x4b8ef5})=>{const _0x350c52=_0x53e18d['commands']['get']('footnotesStyle'),_0x601676=new _0x3d77de(_0x1b453d);return _0x601676['set']({'label':_0x5b2ef4,'icon':_0x27bb18,'tooltip':_0x52d67a}),_0x601676['bind']('isOn')['to'](_0x350c52,'value',_0x465f29=>_0x465f29===_0x4b8ef5),_0x601676['bind']('isEnabled')['to'](_0x350c52,'isEnabled'),_0x601676['on']('execute',()=>{_0x53e18d['execute']('footnotesStyle',{'value':_0x4b8ef5}),_0x53e18d['editing']['view']['focus']();}),_0x601676;};}(_0xd68405));}(_0xb23c7b),_0x3268e5=new H(_0xb23c7b['locale'],{'styleGridAriaLabel':_0x32e335,'styleButtonViews':_0x1807f7});return _0x3268e5['delegate']('execute')['to'](_0x240cf1),_0x3268e5['on']('footnotesListStart',(_0x2a3a2e,_0x47c400)=>{_0xb23c7b['execute']('footnotesStart',{'value':_0x47c400['startIndex']});}),_0x3268e5;}({'editor':_0x5621dd,'dropdownView':_0xef3e1b});_0xef3e1b['panelView']['children']['add'](_0x539856);}),_0xef3e1b;};}(_0x419f1d));}['afterInit'](){const {editor:_0x416ac4}=this,{t:t}=_0x416ac4['locale'],_0x2293dc=_0x416ac4['plugins']['get'](_0x166e8e),{defaultPositions:_0x549153}=_0x4b756c;_0x2293dc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x416ac4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4beeb1=>{let _0x28040c=_0x4beeb1['getFirstPosition']()?.['parent'];return _0x28040c?.['is']('$text')&&(_0x28040c=_0x28040c['parent']),_0x28040c?.['is']('element')?_0x28040c['findAncestor'](J):null;},'positions':[_0x549153['southArrowNorth'],_0x549153['southArrowNorthMiddleWest'],_0x549153['southArrowNorthMiddleEast'],_0x549153['southArrowNorthWest'],_0x549153['southArrowNorthEast'],_0x549153['northArrowSouth'],_0x549153['northArrowSouthMiddleWest'],_0x549153['northArrowSouthMiddleEast'],_0x549153['northArrowSouthWest'],_0x549153['northArrowSouthEast'],_0x549153['viewportStickyNorth']]});}}class ft extends _0x3c0d71{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,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x3b7c2c,Command as _0x33a1e3}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x13f0ac,isWidget as _0x2125ad,toWidgetEditable as _0x594915,WidgetToolbarRepository as _0x32723d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x343777,logWarning as _0x6dd5b1,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x23daff,ClickObserver as _0x3f94e6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5b0de3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5909fd,ButtonView as _0x41a9d9,View as _0x27b474,ViewCollection as _0x3d8f7a,FocusCycler as _0x5af006,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xbec66e,BalloonPanelView as _0x3bc24c,createDropdown as _0x16756a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1c69b7,IconListStyleDecimal as _0x436957,IconListStyleDecimalLeadingZero as _0x3bb0b2,IconListStyleLowerRoman as _0x2ab0e8,IconListStyleUpperRoman as _0x547b1d,IconListStyleLowerLatin as _0xa42f56,IconListStyleUpperLatin as _0x1e2078}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x506c8f,_0x35c602){this['_model']=_0x506c8f,this['_elementName']=_0x35c602['elementName'],this['_getElementKey']=_0x35c602['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x43a535){const _0xf3b988=new Set(),_0x354e52=new Map();for(const _0x10e593 of _0x43a535){if('insert'===_0x10e593['type']&&'$text'!==_0x10e593['name']&&_0x10e593['position']['nodeAfter']){const _0x45b587=this['_model']['createRangeOn'](_0x10e593['position']['nodeAfter']);for(const _0x3becb5 of _0x45b587['getItems']()){if(!_0x3becb5['is']('element',this['_elementName']))continue;const _0x2d75f0=this['_getElementKey'](_0x3becb5);_0x354e52['has'](_0x2d75f0)||_0x354e52['set'](_0x2d75f0,[]),_0x354e52['get'](_0x2d75f0)['push'](_0x3becb5);}}if('remove'===_0x10e593['type']&&_0x10e593['name']===this['_elementName']){const _0x14f9ea=this['_getElementKey']({'getAttribute':_0x2fcceb=>_0x10e593['attributes']['get'](_0x2fcceb)});_0xf3b988['add'](_0x14f9ea);}}for(const [_0xd282e,_0x23956e]of this['_trackedElements'])'$graveyard'===_0x23956e['root']['rootName']&&_0xf3b988['add'](_0xd282e);for(const _0x1b7cd7 of _0xf3b988)this['_trackedElements']['delete'](_0x1b7cd7);for(const [_0xee11b5,_0x829555]of _0x354e52)this['_trackedElements']['set'](_0xee11b5,_0x829555[_0x829555['length']-0x1]);const _0x2a6b79=new Set();for(const [_0x3f4348,_0x40e1bd]of _0x354e52)_0xf3b988['has'](_0x3f4348)&&(_0x2a6b79['add'](_0x40e1bd[0x0]),_0x40e1bd['length']>0x1?_0x354e52['set'](_0x3f4348,_0x40e1bd['slice'](0x1)):_0x354e52['delete'](_0x3f4348),_0xf3b988['delete'](_0x3f4348));return{'removed':Array['from'](_0xf3b988),'inserted':Array['from'](_0x354e52['values']())['flat'](),'moved':Array['from'](_0x2a6b79)};}}class c extends _0x3b7c2c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d2ddf){super(_0x2d2ddf),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x478b2d=>_0x478b2d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5b696c=>_0x5b696c['getAttribute']('footnoteId')});}['init'](){const {editor:_0x64059d}=this,{model:_0x3f9af1,data:_0x4ea9c8}=_0x64059d;_0x3f9af1['document']['registerPostFixer'](_0x5f583a=>{const _0x507ef3=_0x3f9af1['document']['differ']['getChanges']();let _0x212151=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5f583a,_0x507ef3)&&(_0x212151=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5f583a,_0x507ef3)&&(_0x212151=!0x0),this['_handleFootnoteReferencesChanges'](_0x5f583a,_0x507ef3)&&(_0x212151=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5f583a)&&(_0x212151=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5f583a)&&(_0x212151=!0x0),this['_sortFootnoteDefinitions'](_0x5f583a)&&(_0x212151=!0x0),_0x212151;}),this['listenTo'](_0x3f9af1['document'],'change:data',()=>{_0x3f9af1['enqueueChange']({'isUndoable':!0x1},_0x457559=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x457559);});},{'priority':'low'}),this['listenTo'](_0x4ea9c8,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x258296){return this['_footnotes']['find'](_0xf73584=>_0xf73584['id']===_0x258296)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x22c1a7){this['_footnoteFormatter']=_0x22c1a7;}['_updateFootnotesCounters'](_0x5473f2,_0x1cc5df=0x0){let _0x3efd45=!0x1;for(let _0x350054=_0x1cc5df;_0x350054<this['_footnotes']['length'];_0x350054++)this['_updateFootnoteRefCounter'](_0x5473f2,_0x350054)&&(_0x3efd45=!0x0);return _0x3efd45;}['_insertEmptyFootnotesDefinitionsContainer'](_0x58a237,_0x385efc){const _0x3b4d9a=_0x58a237['createElement']('footnotesDefinitions',{});return _0x58a237['append'](_0x3b4d9a,_0x385efc),this['_footnotesDefinitions']=_0x3b4d9a,_0x3b4d9a;}['_ensureFootnotesDefinitionsContainerExists'](_0x45bcfe){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x23e75e=this['_footnotes'][0x0]['reference']['root'],_0x36c45a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x45bcfe,_0x23e75e);for(const _0x1ef32c of this['_footnotes'])_0x1ef32c['definition']['parent']||_0x45bcfe['insert'](_0x1ef32c['definition'],_0x36c45a,'end');this['_updateFootnotesCounters'](_0x45bcfe);}['_handleFootnotesDefinitionsObjectChanges'](_0x207475,_0x1da688){let _0x1fd04f=!0x1;const {inserted:_0x5dccef,removed:_0x52f39b,moved:_0x5193bb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1da688);if(_0x5193bb['length']&&(this['_footnotesDefinitions']=_0x5193bb[0x0]),_0x5dccef['length']){if(_0x5dccef['length']>0x1||this['_footnotesDefinitions']&&_0x5dccef['some'](_0x37dd3b=>_0x37dd3b!==this['_footnotesDefinitions'])){const _0x20f49a=_0x207475['createElement']('footnotesDefinitions',{}),_0x13b12c=[];this['_footnotesDefinitions']&&_0x13b12c['push'](this['_footnotesDefinitions']),_0x13b12c['push'](..._0x5dccef),_0x207475['insert'](_0x20f49a,_0x13b12c[0x0],'before');for(const _0x141040 of _0x13b12c)_0x207475['move'](_0x207475['createRangeIn'](_0x141040),_0x207475['createPositionAt'](_0x20f49a,'end')),_0x207475['remove'](_0x141040);this['_footnotesDefinitions']=_0x20f49a,this['_updateFootnotesCounters'](_0x207475),_0x1fd04f=!0x0;}else this['_footnotesDefinitions']=_0x5dccef[0x0];}if(_0x52f39b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x52cf2d of this['_footnotes'])_0x207475['remove'](_0x52cf2d['reference']),_0x1fd04f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1fd04f;}['_handleFootnoteDefinitionsChanges'](_0x17ff82,_0x4165a2){let _0x339384=!0x1;const _0x4dd53e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x14e9ba,moved:_0x593429}=this['_footnoteDefsTracker']['getChanges'](_0x4165a2);for(const _0x3c6353 of[..._0x593429,..._0x14e9ba]){const _0x427314=_0x3c6353['getAttribute']('footnoteId'),_0x32dce9=this['getFootnote'](_0x427314);_0x32dce9&&(_0x32dce9['definition']=_0x3c6353),_(_0x17ff82,_0x4dd53e,_0x3c6353)&&(_0x339384=!0x0);}return _0x339384;}['_handleFootnoteReferencesChanges'](_0x311603,_0x1461b){let _0x34b682=!0x1;const {removed:_0x28852e,inserted:_0x33bbbf,moved:_0x387e61}=this['_footnoteRefsTracker']['getChanges'](_0x1461b);for(const _0x4bf106 of _0x28852e)this['_handleRemoveFootnoteReferenceById'](_0x311603,_0x4bf106)&&(_0x34b682=!0x0);for(const _0x4291ab of _0x33bbbf)this['_handleInsertedFootnoteReference'](_0x311603,_0x4291ab)&&(_0x34b682=!0x0);for(const _0x1e679a of _0x387e61)this['_handleMovedFootnoteReference'](_0x311603,_0x1e679a)&&(_0x34b682=!0x0);return _0x34b682;}['_handleFootnotesDefinitionsObjectSync'](_0x33a393){if(!this['_footnotesDefinitions'])return!0x1;let _0x8be86b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x19bd9d=[];for(const _0x3b718a of this['_footnotesDefinitions']['getChildren']()){const _0xf1ff74=_0x3b718a['getAttribute']('footnoteId');this['getFootnote'](_0xf1ff74)||(_0x19bd9d['unshift'](_0x3b718a),_0x8be86b=!0x0);}for(const _0x37acd2 of _0x19bd9d)_0x33a393['remove'](_0x37acd2);}const _0x457bf3=new Set(),_0x346950=[];for(const _0xb21da6 of this['_footnotesDefinitions']['getChildren']()){const _0x4d6cb7=_0xb21da6['getAttribute']('footnoteId');_0x457bf3['has'](_0x4d6cb7)?(_0x346950['unshift'](_0xb21da6),_0x8be86b=!0x0):_0x457bf3['add'](_0x4d6cb7);}for(const _0x4bead1 of _0x346950)_0x33a393['remove'](_0x4bead1);return this['_footnotesDefinitions']['childCount']||(_0x33a393['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x8be86b=!0x0),_0x8be86b;}['_handleInsertedFootnoteReference'](_0x1f5f93,_0x58002a){if(this['_footnotes']['find'](_0x3216ce=>_0x3216ce['reference']===_0x58002a))return!0x1;let _0x4d4e95=!0x1;const _0x206cfe=_0x58002a['getAttribute']('footnoteId'),_0x1a084e=this['_footnotes']['findIndex'](_0x126925=>_0x126925['id']===_0x206cfe);-0x1!==_0x1a084e&&(_0x1f5f93['remove'](this['_footnotes'][_0x1a084e]['reference']),this['_footnotes']['splice'](_0x1a084e,0x1),_0x4d4e95=!0x0);let _0x350de8=this['_footnotesDefinitions']?function(_0x1550f1,_0x289510){for(const _0x1a9d07 of _0x1550f1['getChildren']())if(_0x1a9d07['getAttribute']('footnoteId')===_0x289510)return _0x1a9d07;return null;}(this['_footnotesDefinitions'],_0x206cfe):null;_0x350de8||(_0x350de8=_0x1f5f93['createElement']('footnoteDefinition',{'footnoteId':_0x206cfe}),this['_footnotesDefinitions']&&(_0x1f5f93['insert'](_0x350de8,this['_footnotesDefinitions'],'end'),_0x4d4e95=!0x0));const _0xd71b91={'id':_0x206cfe,'reference':_0x58002a,'definition':_0x350de8},_0x1ebeec=I(this['editor']['model'],this['_footnotes'],_0x58002a);this['_footnotes']['splice'](_0x1ebeec,0x0,_0xd71b91);let _0x343888=_0x1ebeec;return-0x1!==_0x1a084e&&(_0x343888=Math['min'](_0x1ebeec,_0x1a084e)),this['_updateFootnotesCounters'](_0x1f5f93,_0x343888)&&(_0x4d4e95=!0x0),_0x4d4e95;}['_handleRemoveFootnoteReferenceById'](_0xcb3ab1,_0x3e2c70){const _0x20920b=this['_footnotes']['findIndex'](_0x37b2c9=>_0x37b2c9['id']===_0x3e2c70);if(-0x1===_0x20920b)return!0x1;let _0x2025d9=!0x1;const _0x4e98ff=this['_footnotes'][_0x20920b];return'$graveyard'!==_0x4e98ff['definition']['root']['rootName']&&(_0xcb3ab1['remove'](_0x4e98ff['definition']),_0x2025d9=!0x0),this['_footnotes']['splice'](_0x20920b,0x1),this['_updateFootnotesCounters'](_0xcb3ab1,_0x20920b)&&(_0x2025d9=!0x0),_0x2025d9;}['_handleMovedFootnoteReference'](_0x5326af,_0x394a6f){const _0x1d54ab=_0x394a6f['getAttribute']('footnoteId'),_0x289a9d=this['_footnotes']['findIndex'](_0x164081=>_0x164081['id']===_0x1d54ab),_0x272717=this['_footnotes'][_0x289a9d];let _0x43e3dc=!0x1;_0x272717['reference']=_0x394a6f,this['_footnotes']['splice'](_0x289a9d,0x1);const _0x43298a=I(this['editor']['model'],this['_footnotes'],_0x394a6f);return this['_footnotes']['splice'](_0x43298a,0x0,_0x272717),this['_updateFootnotesCounters'](_0x5326af,Math['min'](_0x289a9d,_0x43298a))&&(_0x43e3dc=!0x0),_0x43e3dc;}['_updateFootnoteRefCounter'](_0xf0c451,_0x35d103){if(!this['_footnotesDefinitions'])return!0x1;const _0x49d6bd=this['_footnotes'][_0x35d103];let _0x1b76a8;return _0x1b76a8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x49d6bd,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x35d103+0x1}):String(_0x35d103+0x1),_0x49d6bd['reference']['getAttribute']('footnoteCounter')!=_0x1b76a8&&(_0xf0c451['setAttribute']('footnoteCounter',_0x1b76a8,_0x49d6bd['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x545d77){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5e64b4,_0x5454a4){if(_0x5e64b4['length']!==_0x5454a4['length'])return!0x1;for(let _0x46ee3f=0x0;_0x46ee3f<_0x5e64b4['length'];_0x46ee3f++)if(_0x5e64b4[_0x46ee3f]!==_0x5454a4[_0x46ee3f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x45fcdc=>_0x45fcdc['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4724c6=>_0x4724c6['getAttribute']('footnoteId'))))return!0x1;let _0x7921a9=!0x1;for(let _0x701a1b=0x0;_0x701a1b<this['_footnotes']['length'];_0x701a1b++){const _0x5ac7ba=this['_footnotes'][_0x701a1b],_0x248756=_0x545d77['createPositionBefore'](_0x5ac7ba['definition']),_0x3feb7f=_0x545d77['createPositionAt'](this['_footnotesDefinitions'],_0x701a1b);_0x248756['isEqual'](_0x3feb7f)||(_0x545d77['move'](_0x545d77['createRangeOn'](_0x5ac7ba['definition']),_0x3feb7f),_0x7921a9=!0x0);}return _0x7921a9;}['_ensureFootnotesReferencesHaveProperOrder'](_0x374b93){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2ef72f}=this['editor'];let _0x4faa49=!0x1;for(let _0xc3535e=0x0;_0xc3535e<this['_footnotes']['length']-0x1;_0xc3535e++){const _0xf851e3=this['_footnotes'][_0xc3535e],_0x14b869=this['_footnotes'][_0xc3535e+0x1],_0x22b238=_0x2ef72f['createPositionBefore'](_0xf851e3['reference']),_0x16d431=_0x2ef72f['createPositionBefore'](_0x14b869['reference']);'after'===_0x22b238['compareWith'](_0x16d431)&&(this['_handleMovedFootnoteReference'](_0x374b93,_0xf851e3['reference']),_0xc3535e=-0x1,_0x4faa49=!0x0);}return _0x4faa49;}}function _(_0x461a4a,_0x14ed5c,_0x26d2fc){if(_0x26d2fc['childCount'])return!0x1;const _0x2951c5=_0x14ed5c?'paragraph':'footnoteInlineContent';return _0x461a4a['insert'](_0x461a4a['createElement'](_0x2951c5),_0x26d2fc),!0x0;}function I(_0x241490,_0x42aa38,_0x3e94df){if(0x0===_0x42aa38['length'])return 0x0;const _0x147ffa=_0x241490['createPositionBefore'](_0x3e94df);for(let _0x52fd5b=0x0;_0x52fd5b<_0x42aa38['length'];_0x52fd5b++){const _0x319ede=_0x42aa38[_0x52fd5b],_0x4085ed=_0x241490['createPositionBefore'](_0x319ede['reference']);if('before'===_0x147ffa['compareWith'](_0x4085ed))return _0x52fd5b;}const _0x4ffc06=_0x3e94df['root'];let _0x229053=-0x1;for(let _0x306d26=_0x42aa38['length']-0x1;_0x306d26>=0x0;_0x306d26--)if(_0x42aa38[_0x306d26]['reference']['root']===_0x4ffc06){_0x229053=_0x306d26;break;}if(-0x1!==_0x229053)return _0x229053+0x1;const _0x5e1c44=_0x241490['document']['getRootNames'](),_0x3ed6c3=_0x5e1c44['indexOf'](_0x4ffc06['rootName']),_0x5c449b=_0x5e1c44[_0x3ed6c3+0x1];if(_0x5c449b){for(let _0x57cb21=0x0;_0x57cb21<_0x42aa38['length'];_0x57cb21++)if(_0x42aa38[_0x57cb21]['reference']['root']['rootName']===_0x5c449b)return _0x57cb21;}return _0x42aa38['length'];}class m extends _0x33a1e3{['refresh'](){const _0x63adba=this['editor']['model']['document']['selection'],_0x262267=this['_getPositionToInsertFootnote'](_0x63adba);this['isEnabled']=!!_0x262267;}['execute'](_0x549865){const {editor:_0x47cea3}=this,{model:_0x4556d6}=_0x47cea3,{selection:_0xae4f55}=_0x4556d6['document'],_0x7518f3=this['_getPositionToInsertFootnote'](_0xae4f55);if(!_0x7518f3)return;const _0x46d5fb=_0x47cea3['plugins']['get']('FootnotesEditing'),_0x1a2d0f=_0x549865?.['footnoteId']??_0x343777();!function(_0x3371c4){return'string'==typeof _0x3371c4&&_0x3371c4['length']>0x0&&!/\s/['test'](_0x3371c4)&&!/^\d/['test'](_0x3371c4);}(_0x1a2d0f)?_0x6dd5b1('insert-footnote-command-executed-with-invalid-id'):(_0x4556d6['change'](_0x4694d3=>{const _0x5b1f7a=_0x4694d3['createElement']('footnoteRef',{'footnoteId':_0x1a2d0f});_0x4556d6['insertObject'](_0x5b1f7a,_0x7518f3,null);}),_0x46d5fb['_moveSelectionToFootnoteDefinition'](_0x1a2d0f));}['_getPositionToInsertFootnote'](_0x3a9204){const {model:_0x5419fd}=this['editor'],{schema:_0xd6539e}=_0x5419fd,_0x3a3516=_0x3a9204['getFirstRange']();for(const _0x5aeef9 of _0x3a3516['getItems']())if(_0xd6539e['isBlock'](_0x5aeef9)||_0xd6539e['isObject'](_0x5aeef9))return null;const _0x2a0d4f=_0x3a3516['end'];return _0xd6539e['checkChild'](_0x2a0d4f,'footnoteRef')?_0x2a0d4f:null;}}class r extends _0x3b7c2c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e869b}=this;_0x4e869b['config']['define']('footnotes.multiBlock',!0x0),_0x4e869b['commands']['add']('insertFootnote',new m(_0x4e869b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5cafe1){const _0x2865e0=_0x16dc79([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]),_0xb61a5b=0x47a28506,_0x1c44d1=0x47a5ffde^_0xb61a5b,_0xee2cc9=window[_0x16dc79([0x44,0x61,0x74,0x65])][_0x16dc79([0x6e,0x6f,0x77])](),_0x274128=_0x5cafe1[_0x16dc79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x362639=new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x451724=>{_0x274128[_0x16dc79([0x6f,0x6e,0x63,0x65])](_0x16dc79([0x72,0x65,0x61,0x64,0x79]),_0x451724);}),_0x1f0da1={[_0x16dc79([0x6b,0x74,0x79])]:_0x16dc79([0x45,0x43]),[_0x16dc79([0x75,0x73,0x65])]:_0x16dc79([0x73,0x69,0x67]),[_0x16dc79([0x63,0x72,0x76])]:_0x16dc79([0x50,0x2d,0x32,0x35,0x36]),[_0x16dc79([0x78])]:_0x16dc79([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]),[_0x16dc79([0x79])]:_0x16dc79([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]),[_0x16dc79([0x61,0x6c,0x67])]:_0x16dc79([0x45,0x53,0x32,0x35,0x36])},_0x15dd36=_0x274128[_0x16dc79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16dc79([0x67,0x65,0x74])](_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x27a400(){let _0x31c3c6,_0x24f466=null,_0x4d9385=null;try{if(_0x15dd36==_0x16dc79([0x47,0x50,0x4c]))return _0x16dc79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31c3c6=_0x51701b(),!_0x31c3c6)return _0x16dc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31c3c6[_0x16dc79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d9385=_0x385d5d(_0x31c3c6[_0x16dc79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31c3c6[_0x16dc79([0x6a,0x74,0x69])])),await _0x49aad8()?_0x5c3f25()?_0x385841()?_0x16dc79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x509607()?(_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16dc79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24f466=_0x29316a(_0x16dc79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16dc79([0x74,0x72,0x69,0x61,0x6c])&&(_0x24f466=_0x29316a(_0x16dc79([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6cac3f()):_0x16dc79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16dc79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16dc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16dc79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x385841(){const _0x4a079c=[_0x16dc79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16dc79([0x74,0x72,0x69,0x61,0x6c])][_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xee2cc9/0x3e8:0xe10*_0x1c44d1;return _0x31c3c6[_0x16dc79([0x65,0x78,0x70])]<_0x4a079c;}function _0x5c3f25(){const _0x1faff4=_0x31c3c6[_0x16dc79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1faff4&&(!!_0x1faff4[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dc79([0x2a]))||!!_0x1faff4[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dc79([0x46,0x4f,0x4f])));}function _0x509607(){const _0x3025f9=_0x31c3c6[_0x16dc79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3025f9||0x0==_0x3025f9[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x414a33}=new URL(window[_0x16dc79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3025f9[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x414a33))return!0x0;const _0x344a80=_0x414a33[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e]));return _0x3025f9[_0x16dc79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc6ed60=>_0xc6ed60[_0x16dc79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16dc79([0x2a])))[_0x16dc79([0x6d,0x61,0x70])](_0x164aff=>_0x164aff[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e])))[_0x16dc79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5544bb=>_0x5544bb[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x344a80[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16dc79([0x6d,0x61,0x70])](_0x5150b0=>Array(_0x344a80[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5150b0[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16dc79([0x66,0x69,0x6c,0x6c])](_0x5150b0[0x0]===_0x16dc79([0x2a])?_0x16dc79([0x2a]):'')[_0x16dc79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5150b0))[_0x16dc79([0x73,0x6f,0x6d,0x65])](_0x582181=>_0x344a80[_0x16dc79([0x65,0x76,0x65,0x72,0x79])]((_0x5d4810,_0x421787)=>_0x582181[_0x421787]===_0x5d4810||_0x582181[_0x421787]===_0x16dc79([0x2a])));}function _0x6cac3f(){return _0x24f466&&_0x4d9385?new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32a97a,_0x544374)=>{_0x24f466[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x32a97a,_0x544374),_0x4d9385[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x32a2ee=>{_0x32a2ee!=_0x16dc79([0x56,0x61,0x6c,0x69,0x64])&&_0x32a97a(_0x32a2ee);},_0x544374);}):_0x24f466||_0x4d9385||_0x16dc79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x385d5d(_0x250272,_0x39b8e1){return new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x580846=>{if(_0x3cc136())return _0x580846(_0x16dc79([0x56,0x61,0x6c,0x69,0x64]));_0x1209b6(),_0x274128[_0x16dc79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16dc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3952c1=!0x1;const _0x544fde=_0x343777();function _0x2728c5(_0x696fd3){return!!_0x696fd3&&(typeof _0x696fd3===_0x16dc79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x696fd3===_0x16dc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x696fd3[_0x16dc79([0x74,0x68,0x65,0x6e])]===_0x16dc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x696fd3[_0x16dc79([0x63,0x61,0x74,0x63,0x68])]===_0x16dc79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x383e41(_0x4c9294){_0x53e3de(_0x4c9294)[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x1f6ef1=>{if(!_0x1f6ef1||_0x1f6ef1[_0x16dc79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16dc79([0x6f,0x6b]))return _0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4cfa4c(_0x682ea7(_0x544fde+_0x39b8e1))!=_0x1f6ef1[_0x16dc79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16dc79([0x56,0x61,0x6c,0x69,0x64]);})[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x2f57ba=>(_0x22152b(),_0x2f57ba),()=>{const _0x40d862=_0x49ca55();return null==_0x40d862?(_0x22152b(),_0x16dc79([0x56,0x61,0x6c,0x69,0x64])):_0x16dc79(_0xee2cc9-_0x40d862>(0x63ae0106^_0xb61a5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x580846)[_0x16dc79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x580846(_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31f5a5=0x47946b86^_0xb61a5b;function _0x22152b(){const _0x2d8654=_0x16dc79([0x6c,0x6c,0x63,0x74,0x2d])+_0x4cfa4c(_0x682ea7(_0x250272)),_0x482d61=_0x426e9c(_0x4cfa4c(window[_0x16dc79([0x4d,0x61,0x74,0x68])][_0x16dc79([0x63,0x65,0x69,0x6c])](_0xee2cc9/_0x31f5a5)));window[_0x16dc79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16dc79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d8654,_0x482d61);}function _0x49ca55(){const _0x1206f0=_0x16dc79([0x6c,0x6c,0x63,0x74,0x2d])+_0x4cfa4c(_0x682ea7(_0x250272)),_0x241317=window[_0x16dc79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16dc79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1206f0);return _0x241317?window[_0x16dc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426e9c(_0x241317),0x10)*_0x31f5a5:null;}function _0x53e3de(_0x1f6097){return new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3a8a4b,_0x5a8ed6)=>{_0x1f6097[_0x16dc79([0x74,0x68,0x65,0x6e])](_0x3a8a4b,_0x5a8ed6),window[_0x16dc79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5a8ed6,0x47a351c6^_0xb61a5b);});}}_0x274128[_0x16dc79([0x6f,0x6e])](_0x16dc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1f8f68,_0x44e635)=>{if(_0x44e635[0x0]!=_0x250272)return _0x580846(_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44e635[0x1]={..._0x44e635[0x1],[_0x16dc79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x544fde};},{[_0x16dc79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16dc79([0x68,0x69,0x67,0x68])}),_0x274128[_0x16dc79([0x6f,0x6e])](_0x16dc79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42e132=>{_0x2728c5(_0x42e132[_0x16dc79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3952c1=!0x0,_0x383e41(_0x42e132[_0x16dc79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16dc79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16dc79([0x6c,0x6f,0x77])}),_0x362639[_0x16dc79([0x74,0x68,0x65,0x6e])](()=>{_0x3952c1||_0x580846(_0x16dc79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3cc136(){return _0x274128[_0x16dc79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16dc79([0x76,0x69,0x65,0x77])][_0x16dc79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16dc79([0x61,0x75,0x74,0x6f]);}function _0x1209b6(){_0x274128[_0x16dc79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16dc79([0x76,0x69,0x65,0x77])][_0x16dc79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16dc79([0x61,0x75,0x74,0x6f]);}}function _0x29316a(_0x24688d){const _0x5c3adc=[new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478e12=>setTimeout(_0x478e12,0x47abbbca^_0xb61a5b)),_0x362639[_0x16dc79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fb9f5=>{let _0x28c35c=0x0;_0x274128[_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x16dc79([0x6f,0x6e])](_0x16dc79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x171549,_0x5cc918)=>{_0x5cc918[0x0][_0x16dc79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28c35c++,_0x28c35c==(0x47a284fe^_0xb61a5b)&&(_0x3fb9f5(),_0x171549[_0x16dc79([0x6f,0x66,0x66])]());});}))];return window[_0x16dc79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16dc79([0x72,0x61,0x63,0x65])](_0x5c3adc)[_0x16dc79([0x74,0x68,0x65,0x6e])](()=>_0x24688d);}async function _0xd1c5a6(){await _0x362639,_0x274128[_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x16dc79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdf5fd2,_0x274128[_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c])][_0x16dc79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdf5fd2,_0x274128[_0x16dc79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16dc79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2052f7(_0x4c7b1b){const _0x10a25d=_0x2f3c25();_0x274128[_0x10a25d]=_0x16dc79([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c7b1b,_0x4c7b1b!=_0x16dc79([0x56,0x61,0x6c,0x69,0x64])&&_0xd1c5a6();}function _0x2f3c25(){const _0x4a6432=window[_0x16dc79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16dc79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16dc79([0x6e,0x6f,0x77])]())[_0x16dc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16dc79([0x2e]),'');let _0x166c14=_0x16dc79([0x75]);for(let _0x32b8eb=0x0;_0x32b8eb<_0x4a6432[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32b8eb+=0x2){let _0xa71151=window[_0x16dc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a6432[_0x16dc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32b8eb,_0x32b8eb+0x2));_0xa71151>=_0x2865e0[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa71151-=_0x2865e0[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x166c14+=_0x2865e0[_0xa71151];}return _0x166c14;}function _0x51701b(){const _0x23e62d=_0x15dd36[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e]));if(0x3!=_0x23e62d[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2918c5(_0x23e62d[0x1]);function _0x2918c5(_0x331a13){const _0x3562d2=_0xe59f95(_0x331a13);return _0x3562d2&&_0x4121ab()?_0x3562d2:null;function _0x4121ab(){const _0x38ff1c=_0x3562d2[_0x16dc79([0x6a,0x74,0x69])],_0x2ada9a=window[_0x16dc79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38ff1c[_0x16dc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38ff1c[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x39e55b={..._0x3562d2,[_0x16dc79([0x6a,0x74,0x69])]:_0x38ff1c[_0x16dc79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38ff1c[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x39e55b[_0x16dc79([0x76,0x63])],_0x682ea7(_0x39e55b)==_0x2ada9a;}}}async function _0x49aad8(){let _0x40f993=!0x0;try{const _0x2bd058=_0x15dd36[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])](_0x16dc79([0x2e])),[_0x4014ad,_0x4ce3c7,_0x1a816d]=_0x2bd058;return _0x487362(_0x4014ad),await _0x3b3a99(_0x4014ad,_0x4ce3c7,_0x1a816d),_0x40f993;}catch{return!0x1;}function _0x487362(_0x107118){const _0x30cebe=_0xe59f95(_0x107118);_0x30cebe&&_0x30cebe[_0x16dc79([0x61,0x6c,0x67])]==_0x16dc79([0x45,0x53,0x32,0x35,0x36])||(_0x40f993=!0x1);}async function _0x3b3a99(_0x32e901,_0x1da1ab,_0x95e592){const _0x1e9f01=window[_0x16dc79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16dc79([0x66,0x72,0x6f,0x6d])](_0x5e3c66(_0x95e592),_0x131069=>_0x131069[_0x16dc79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x268897=new window[(_0x16dc79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16dc79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32e901+_0x16dc79([0x2e])+_0x1da1ab),_0x198ce0=window[_0x16dc79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16dc79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x198ce0)return;const _0x119ac8=await _0x198ce0[_0x16dc79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16dc79([0x6a,0x77,0x6b]),_0x1f0da1,{[_0x16dc79([0x6e,0x61,0x6d,0x65])]:_0x16dc79([0x45,0x43,0x44,0x53,0x41]),[_0x16dc79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16dc79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16dc79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x198ce0[_0x16dc79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16dc79([0x6e,0x61,0x6d,0x65])]:_0x16dc79([0x45,0x43,0x44,0x53,0x41]),[_0x16dc79([0x68,0x61,0x73,0x68])]:{[_0x16dc79([0x6e,0x61,0x6d,0x65])]:_0x16dc79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x119ac8,_0x1e9f01,_0x268897)||(_0x40f993=!0x1);}}function _0xe59f95(_0x589985){return _0x589985[_0x16dc79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16dc79([0x65,0x79]))?JSON[_0x16dc79([0x70,0x61,0x72,0x73,0x65])](_0x5e3c66(_0x589985)):null;}function _0x5e3c66(_0x3b8e4a){return window[_0x16dc79([0x61,0x74,0x6f,0x62])](_0x3b8e4a[_0x16dc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16dc79([0x2b]))[_0x16dc79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16dc79([0x2f])));}function _0x682ea7(_0x522446){let _0x3e1934=0x1505;function _0x81ac59(_0x593209){for(let _0x4328dd=0x0;_0x4328dd<_0x593209[_0x16dc79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4328dd++){const _0x5d3d3c=_0x593209[_0x16dc79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4328dd);_0x3e1934=(_0x3e1934<<0x5)+_0x3e1934+_0x5d3d3c,_0x3e1934&=_0x3e1934;}}function _0x540056(_0x5498c8){Array[_0x16dc79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5498c8)?_0x5498c8[_0x16dc79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x540056):_0x5498c8&&typeof _0x5498c8==_0x16dc79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16dc79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5498c8)[_0x16dc79([0x73,0x6f,0x72,0x74])]()[_0x16dc79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e958c,_0x3c76b5])=>{_0x81ac59(_0x4e958c),_0x540056(_0x3c76b5);}):_0x81ac59(window[_0x16dc79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5498c8));}return _0x540056(_0x522446),_0x3e1934>>>0x0;}function _0x4cfa4c(_0x209fb5){return _0x209fb5[_0x16dc79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16dc79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16dc79([0x30]));}function _0x426e9c(_0x374aaa){return _0x374aaa[_0x16dc79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16dc79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16dc79([0x6a,0x6f,0x69,0x6e])]('');}function _0xdf5fd2(){}function _0x16dc79(_0x139777){return _0x139777['map'](_0x30f226=>String['fromCharCode'](_0x30f226))['join']('');}_0x2052f7(await _0x27a400());}(this);}['_moveSelectionToFootnoteDefinition'](_0x404e70){const {plugins:_0x482f3d,editing:_0x5bb742,model:_0x4a3e89}=this['editor'],_0x502f58=_0x482f3d['get'](c)['getFootnote'](_0x404e70);return!!_0x502f58&&(_0x4a3e89['change'](_0x174b15=>{_0x174b15['setSelection'](_0x174b15['createPositionAt'](_0x502f58['definition'],'end'));}),_0x5bb742['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3c1e2a){const {plugins:_0x22b0a7,editing:_0x933abe,model:_0x364321}=this['editor'],_0xf9c775=_0x22b0a7['get'](c)['getFootnote'](_0x3c1e2a);return!!_0xf9c775&&(_0x364321['change'](_0x4d553c=>{_0x4d553c['setSelection'](_0xf9c775['reference'],'on');}),_0x933abe['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x338511}=this['editor']['model'],_0x5425b4=this['editor']['config']['get']('footnotes.multiBlock');_0x338511['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x338511['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x338511['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5425b4?_0x338511['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x338511['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x338511['addChildCheck'](_0x49a17a=>{for(const _0x33b23f of _0x49a17a)if('footnoteDefinition'===_0x33b23f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5c8758}=this,{conversion:_0x37dafa,editing:_0x348d52}=_0x5c8758,{t:t}=_0x5c8758['locale'];_0x37dafa['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x49e5e4,{writer:_0x2a89ca,consumable:_0x579453})=>{const _0x278a15=_0x49e5e4['getChild'](0x0);if(!_0x278a15||!_0x278a15['is']('element','a'))return null;const _0x21ad0a=_0x278a15['getAttribute']('href')||'';if(!_0x21ad0a['startsWith']('#'))return null;const _0x18e099=_0x21ad0a['replace'](/^#/,'');if(!_0x18e099)return null;_0x579453['consume'](_0x278a15,{'name':!0x0,'attributes':['href']});for(const {item:_0x43b67d}of _0x348d52['view']['createRangeIn'](_0x278a15))_0x43b67d['is']('$textProxy')?_0x579453['consume'](_0x43b67d['textNode'],{'name':!0x0}):_0x43b67d['is']('element')&&_0x579453['consume'](_0x43b67d,{'name':!0x0});return _0x2a89ca['createElement']('footnoteRef',{'footnoteId':_0x18e099});}}),_0x37dafa['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2720a5,{writer:_0x2e1282})=>D(_0x2720a5,_0x2e1282)}),_0x37dafa['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e417c,{writer:_0x4f36b8})=>{const _0x2f08a2=_0x4e417c['getAttribute']('footnoteCounter');return _0x13f0ac(D(_0x4e417c,_0x4f36b8),_0x4f36b8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2f08a2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x38170c}=this,{t:t}=_0x38170c['locale'],{conversion:_0x1c1671}=_0x38170c;_0x1c1671['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c1671['for']('upcast')['add'](_0x537a12=>{_0x537a12['on']('element:ol',(_0x36c919,_0x3198a8,_0x17367f)=>{const _0x212c76=_0x3198a8['viewItem'];if(!_0x212c76['hasClass']('footnotes-list')||!_0x3198a8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x17367f['consumable']['consume'](_0x212c76,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1541ec,modelCursor:_0x327943}=_0x17367f['convertChildren'](_0x3198a8['viewItem'],_0x3198a8['modelCursor']);_0x3198a8['modelRange']=_0x1541ec,_0x3198a8['modelCursor']=_0x327943;}),_0x537a12['on']('element:hr',(_0x401014,_0x4282d3,_0x5b9f2a)=>{const _0x2bf275=_0x4282d3['viewItem'];_0x2bf275['hasClass']('footnotes-divider')&&_0x4282d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5b9f2a['consumable']['consume'](_0x2bf275,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c1671['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x15c6a6,{writer:_0x119ff6})=>v(_0x119ff6)}),_0x1c1671['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x438f51,{writer:_0x3ecfa7})=>{const _0x365b9e=v(_0x3ecfa7,{'data-footnotes-list-label':t('Footnotes')}),_0x75df30=_0x13f0ac(_0x365b9e,_0x3ecfa7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3ecfa7['setCustomProperty']('footnotesDefinitions',!0x0,_0x75df30),_0x75df30;}});}['_defineDefinitionConverters'](){const {editor:_0x966b84}=this,{conversion:_0x19b40e,locale:_0x16ac9c}=_0x966b84,_0x50eb75=_0x966b84['config']['get']('footnotes.multiBlock');_0x19b40e['for']('upcast')['add'](_0x3d8af6=>{_0x3d8af6['on']('element:li',(_0x48ae1b,_0x4b162a,_0x19483e)=>{const _0x47a0a3=_0x4b162a['viewItem'];if(!_0x47a0a3['hasClass']('footnote-definition')||!_0x47a0a3['getAttribute']('id'))return;const _0x36ecef=_0x47a0a3['parent'];if(!_0x36ecef['is']('element','ol')||!_0x36ecef['hasClass']('footnotes-list'))return;if(!_0x19483e['consumable']['test'](_0x47a0a3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x483f48=_0x19483e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x47a0a3['getAttribute']('id')});if(!_0x19483e['safeInsert'](_0x483f48,_0x4b162a['modelCursor']))return;_0x19483e['consumable']['consume'](_0x47a0a3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x14097d=Array['from'](_0x47a0a3['getChildren']())['find'](_0x21543a=>_0x21543a['is']('element')&&_0x21543a['hasClass']('footnote-content'));for(const _0x37983e of _0x47a0a3['getChildren']())_0x37983e['is']('element')&&(_0x19483e['consumable']['consume'](_0x37983e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x19483e['consumable']['consume'](_0x37983e,{'name':!0x0,'classes':'footnote-content'}));if(_0x14097d){if(_0x50eb75)_0x19483e['convertChildren'](_0x14097d,_0x483f48);else{const _0x3e150c=_0x19483e['writer']['createElement']('footnoteInlineContent');_0x19483e['writer']['insert'](_0x3e150c,_0x483f48),_0x19483e['convertChildren'](_0x14097d,_0x3e150c);}}_0x19483e['updateConversionResult'](_0x483f48,_0x4b162a);});}),_0x19b40e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2eb3e6,{writer:_0x54505b})=>b(_0x2eb3e6,_0x54505b,_0x16ac9c,{'dataPipeline':!0x0})}),_0x19b40e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x58ea22,{writer:_0x4879ce})=>b(_0x58ea22,_0x4879ce,_0x16ac9c)});}['_defineBogusParagraphConverters'](){const {editor:_0x2c131a}=this,{conversion:_0x5f4084}=_0x2c131a;_0x2c131a['config']['get']('footnotes.multiBlock')?(_0x5f4084['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5f4084['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2c131a['model']['document'],'change:data',()=>{!function(_0x30c803,_0x42a2c6){const _0x696178=_0x30c803['document']['differ'],_0x2a9e55=new Set();for(const _0x301af2 of _0x696178['getChanges']()){const _0x50880d='attribute'==_0x301af2['type']?_0x301af2['range']['start']['parent']:_0x301af2['position']['parent'];_0x50880d['is']('element','footnoteDefinition')&&_0x2a9e55['add'](_0x50880d);}for(const _0x36e98d of _0x2a9e55['values']()){const _0x47deec=Array['from'](_0x36e98d['getChildren']())['filter'](_0xf7d939=>g(_0xf7d939,_0x42a2c6['mapper']));for(const _0x7ea04c of _0x47deec)_0x42a2c6['reconvertItem'](_0x7ea04c);}}(_0x2c131a['model'],_0x2c131a['editing']);})):(_0x5f4084['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5f4084['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x25498e,{writer:_0x22c59d})=>{const _0x2f6cda=_0x22c59d['createContainerElement']('span');return _0x22c59d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f6cda),_0x2f6cda;}}));}['_defineKeyboardHandlers'](){const {editor:_0x55ae86}=this,{editing:_0x53fccb,t:t}=_0x55ae86,_0x4fa1b9=_0x55ae86['model']['document']['selection'];_0x55ae86['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x55ae86['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x53fccb['view']['document'],'enter',(_0x4cba0c,_0x3f33ff)=>{const _0x4faa90=function(_0x53b848){const _0x15e0c4=_0x53b848['getSelectedElement']();if(_0x15e0c4?.['is']('element','footnoteRef'))return _0x15e0c4;return null;}(_0x4fa1b9);if(_0x4faa90){const _0x3c0a74=_0x4faa90['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3c0a74),_0x3f33ff['preventDefault'](),_0x4cba0c['stop']();}},{'context':_0x2125ad});}['_defineClickHandlers'](){const {editor:_0x172c78}=this,{editing:_0x1759ae}=_0x172c78;_0x172c78['editing']['view']['addObserver'](_0x23daff),_0x172c78['editing']['view']['addObserver'](_0x3f94e6);let _0x31c818=!0x1;this['listenTo'](_0x1759ae['view']['document'],'pointerdown',(_0x488ef6,_0x19171e)=>{const {target:_0x543cc1}=_0x19171e,_0x5da76a=_0x1759ae['view']['document']['selection'];_0x31c818=!!(_0x543cc1?.['is']('element','a')&&_0x543cc1['parent']?.['is']('element','sup')&&_0x543cc1['parent']['hasClass']('footnote'))&&_0x5da76a['getSelectedElement']()===_0x543cc1['parent'];},{'priority':'high'}),this['listenTo'](_0x1759ae['view']['document'],'click',(_0x2e4f14,_0x4a29e0)=>{const {target:_0x11446e}=_0x4a29e0;if(!_0x11446e?.['is']('element','a'))return;if(_0x11446e['parent']?.['is']('element','sup')&&_0x11446e['parent']['hasClass']('footnote')&&!_0x31c818)return void _0x4a29e0['preventDefault']();let _0x132fbd=_0x11446e['getAttribute']('href');if(!_0x132fbd?.['startsWith']('#'))return;_0x132fbd=_0x132fbd['slice'](0x1);let _0x56e02f=!0x1;(_0x132fbd['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x132fbd['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x132fbd))&&(_0x56e02f=!0x0),_0x56e02f&&(_0x4a29e0['preventDefault'](),_0x2e4f14['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5c9093}={}){return(_0x4efc1e,{writer:_0x380b3b})=>{if(!p(_0x4efc1e))return null;if(!_0x5c9093)return _0x380b3b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2efec0=_0x380b3b['createContainerElement']('p');return _0x380b3b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2efec0),_0x2efec0;};}function p(_0x256e4d){const {parent:_0x94273b}=_0x256e4d;if(!_0x94273b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x94273b['childCount'])return!0x1;for(const _0x4d81ed of _0x256e4d['getAttributeKeys']())if(!_0x4d81ed['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4d81ed)return!0x1;return!0x0;}function g(_0x131f5b,_0x4f001d){if(!_0x131f5b['is']('element','paragraph'))return!0x1;const _0x43c955=_0x4f001d['toViewElement'](_0x131f5b);return!!_0x43c955&&p(_0x131f5b)!==_0x43c955['is']('element','span');}function J(_0x37478f){return _0x2125ad(_0x37478f)&&_0x37478f['is']('containerElement')&&!!_0x37478f['getCustomProperty']('footnotesDefinitions');}function v(_0x2d6b43,_0x31f85d={}){const _0x2851ee=_0x2d6b43['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4cdaba=_0x2d6b43['createContainerElement']('ol',{'class':'footnotes-list'},_0x2d6b43['createSlot']());return _0x2d6b43['createContainerElement']('div',{'class':'footnotes',..._0x31f85d},[_0x2851ee,_0x4cdaba]);}function D(_0x1cc4e9,_0x10eb13){const _0x66b5ff=_0x1cc4e9['getAttribute']('footnoteId'),_0x522c51=_0x1cc4e9['getAttribute']('footnoteCounter'),_0x4062a4=_0x10eb13['createUIElement']('a',{'href':'#'+_0x66b5ff},function(_0x5f5131){const _0x38f0b5=this['toDomElement'](_0x5f5131);return _0x38f0b5['textContent']=_0x522c51,_0x38f0b5;}),_0x10a64c=_0x10eb13['createContainerElement']('sup',{'id':'ref-'+_0x66b5ff,'class':'footnote'},[_0x4062a4]);return _0x10a64c['getFillerOffset']=()=>null,_0x10a64c;}function b(_0x2ebc5f,_0x9d6acc,_0x74963,{dataPipeline:_0x22a90c}={}){const {t:t}=_0x74963,_0x40a813=_0x2ebc5f['getAttribute']('footnoteId'),_0x1c1731=_0x9d6acc['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x40a813},function(_0x44d979){const _0x4b538c=this['toDomElement'](_0x44d979);return _0x4b538c['innerText']='^',_0x4b538c;}),_0x39f92f=_0x22a90c?_0x9d6acc['createContainerElement']('div',{'class':'footnote-content'}):_0x594915(_0x9d6acc['createEditableElement']('div',{'class':'footnote-content'}),_0x9d6acc,{'label':t('Footnote\x20content.')});return _0x9d6acc['insert'](_0x9d6acc['createPositionAt'](_0x39f92f,0x0),_0x9d6acc['createSlot']()),_0x9d6acc['createContainerElement']('li',{'class':'footnote-definition','id':_0x40a813},[_0x1c1731,_0x39f92f]);}class e extends _0x3b7c2c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5b0de3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x46215f}=this,{plugins:_0x56715f,model:_0x3575ab}=_0x46215f,_0x42bc08=_0x56715f['get'](_0x5b0de3),_0x1b0906=_0x56715f['get'](c);this['listenTo'](_0x42bc08,'outputTransformation',(_0x52e15d,_0x46fe07)=>{const _0x43e319=f(_0x3575ab['createRangeIn'](_0x46fe07['content']));if(!_0x43e319['length'])return;const _0x2a34be=_0x1b0906['getFootnotes'](),_0x79af2e=_0x43e319['reduce']((_0x10e34d,_0x4ab118)=>{const _0x23ff53=_0x2a34be['find'](_0x1f820c=>_0x1f820c['id']===_0x4ab118);if(_0x23ff53){const _0x2f6451=_0x46215f['data']['toView'](_0x23ff53['definition'],{'isClipboardPipeline':!0x0}),_0x3db683=_0x46215f['data']['htmlProcessor']['toData'](_0x2f6451);_0x10e34d[_0x23ff53['id']]=_0x3db683;}return _0x10e34d;},Object['create'](null));_0x46fe07['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x79af2e));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xbcd474}=this,{model:_0x54624a,plugins:_0x4095e9}=_0xbcd474,{view:_0x53b2d2}=_0xbcd474['editing'],_0x1bbf57=_0x4095e9['get'](_0x5b0de3),_0x1cfca9=_0x4095e9['get'](c);let _0x3e23d6=null;this['listenTo'](_0x53b2d2['document'],'clipboardInput',(_0x266513,_0x5f2bf3)=>{const _0x202506=_0x5f2bf3['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3e23d6=_0x202506?JSON['parse'](_0x202506):null;}),this['listenTo'](_0x1bbf57,'contentInsertion',(_0x595f18,_0x1effba)=>{const _0x1702ed=_0x1effba['sourceEditorId']===this['editor']['id'];_0x1702ed&&'drop'===_0x1effba['method']||_0x54624a['change'](_0x4160df=>{let _0x4d0686=_0x1cfca9['getFootnotesDefinitionsObjectElement']();const _0x437baf=!!_0x4d0686&&Array['from'](_0x54624a['document']['selection']['getSelectedBlocks']())['includes'](_0x4d0686);if((_0x4d0686&&!_0x437baf||!_0x4d0686&&!_0x3e23d6)&&function(_0x58a1f8,_0x513ea8){const _0x550a7a=[];for(const {item:_0x17c779}of _0x58a1f8['createRangeIn'](_0x513ea8))_0x17c779['is']('element','footnotesDefinitions')&&_0x550a7a['push'](_0x17c779);for(const _0x570596 of _0x550a7a)_0x58a1f8['remove'](_0x570596);}(_0x4160df,_0x1effba['content']),!_0x3e23d6)return;const {selection:_0x1cfcdd}=_0x54624a['document'],_0x34e403=_0x1cfcdd['getFirstRange']()['root'];_0x4d0686&&!_0x437baf||(_0x4d0686=function(_0x370b40,_0x24585c){for(const {item:_0x507633}of _0x370b40['createRangeIn'](_0x24585c))if(_0x507633['is']('element','footnotesDefinitions'))return _0x507633;return null;}(_0x4160df,_0x1effba['content']),_0x4d0686||=_0x1cfca9['_insertEmptyFootnotesDefinitionsContainer'](_0x4160df,_0x34e403));const _0x414818=Array['from'](_0x1cfcdd['getRanges']())['flatMap'](f),_0x5af7f5=function(_0x231691,_0x3fd350,_0x1a2328){const _0x154268=Object['create'](null);for(const {item:_0x38759f}of _0x231691['createRangeIn'](_0x3fd350))if(_0x38759f['is']('element','footnoteRef')){const _0x322ba7=_0x38759f['getAttribute']('footnoteId');if(!_0x1a2328(_0x322ba7))continue;_0x154268[_0x322ba7]||(_0x154268[_0x322ba7]=_0x343777()),_0x231691['setAttribute']('footnoteId',_0x154268[_0x322ba7],_0x38759f);}return _0x154268;}(_0x4160df,_0x1effba['content'],_0x4cf67e=>{if(!_0x1702ed)return!0x0;return!!_0x1cfca9['getFootnote'](_0x4cf67e)&&!_0x414818['includes'](_0x4cf67e);});for(const [_0x2272bb,_0x5b0256]of Object['entries'](_0x3e23d6)){const _0x1d9708=_0x5af7f5[_0x2272bb]||_0x2272bb,_0x56cc37=_0x4160df['createElement']('footnoteDefinition',{'footnoteId':_0x1d9708}),_0x1a457a=_0xbcd474['data']['htmlProcessor']['toView'](_0x5b0256),_0x189428=_0xbcd474['data']['toModel'](_0x1a457a,_0x56cc37);_0x4160df['append'](_0x189428,_0x56cc37),_0x4160df['insert'](_0x56cc37,_0x4d0686,'end');}_0x3e23d6=null;});});}}function f(_0x4da23f){const _0x30c737=new Set();for(const {item:_0x934935}of _0x4da23f)_0x934935['is']('element','footnoteRef')&&_0x30c737['add'](_0x934935['getAttribute']('footnoteId'));return Array['from'](_0x30c737);}class i extends _0x3b7c2c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x593b18}=this,{componentFactory:_0x390a4e}=_0x593b18['ui'];_0x390a4e['add']('insertFootnote',x(_0x593b18,_0x41a9d9)),_0x390a4e['add']('menuBar:insertFootnote',x(_0x593b18,_0x5909fd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a370a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ee194;for(const _0x200e69 in _0x3a370a){const _0x26749a=_0x200e69,_0x4e9159=_0x3a370a[_0x26749a];if('footnotesLicenseKeyValid'==_0x4e9159||'footnotesLicenseKeyInvalid'==_0x4e9159||'footnotesLicenseKeyExpired'==_0x4e9159||'footnotesLicenseKeyDomainLimit'==_0x4e9159||'footnotesLicenseKeyNotAllowed'==_0x4e9159||'footnotesLicenseKeyEvaluationLimit'==_0x4e9159||'footnotesLicenseKeyTrialLimit'==_0x4e9159||'footnotesLicenseKeyUsageLimit'==_0x4e9159){delete _0x3a370a[_0x26749a],_0x2ee194=_0x4e9159,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2ee194&&_0x3a370a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2ee194&&_0x3a370a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2ee194&&_0x3a370a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2ee194&&_0x3a370a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5ac6c4,_0x21edbf){const _0x40b829=_0x5ac6c4['commands']['get']('insertFootnote');return _0x1f0723=>{const {t:t}=_0x1f0723,_0x937626=new _0x21edbf(_0x1f0723),_0x4ed984=_0x937626 instanceof _0x5909fd;return _0x937626['bind']('isEnabled')['to'](_0x40b829,'isEnabled'),_0x937626['set']({'label':t(_0x4ed984?'Footnote':'Insert\x20footnote'),'icon':_0x1c69b7,'tooltip':!0x0}),_0x937626['on']('execute',()=>{_0x40b829['execute'](),_0x5ac6c4['editing']['view']['focus']();}),_0x937626;};}class lt extends _0x3b7c2c{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 _0x33a1e3{['refresh'](){const {editor:_0x3bcf23}=this,_0x14ae43=_0x3bcf23['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x14ae43,this['value']=_0x14ae43?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x51b114}){const {editor:_0x56db35}=this,_0x19669e=_0x56db35['plugins']['get'](c),_0x3558bf=_0x19669e['getFootnotesDefinitionsObjectElement']();_0x3558bf&&Q['includes'](_0x51b114)&&_0x56db35['model']['change'](_0x5e8627=>{_0x5e8627['setAttribute']('footnotesListStyle',_0x51b114,_0x3558bf),_0x19669e['_updateFootnotesCounters'](_0x5e8627);});}}class C extends _0x33a1e3{['refresh'](){const {editor:_0x59857c}=this,_0x44410c=_0x59857c['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x44410c,this['value']=_0x44410c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1c1a85}){const {editor:_0x4e880d}=this,_0x469f9b=_0x4e880d['plugins']['get'](c),_0x424c04=_0x469f9b['getFootnotesDefinitionsObjectElement']();_0x424c04&&Number['isInteger'](_0x1c1a85)&&_0x4e880d['model']['change'](_0x1bc679=>{_0x1bc679['setAttribute']('footnotesListStart',_0x1c1a85,_0x424c04),_0x469f9b['_updateFootnotesCounters'](_0x1bc679);});}}class P extends _0x3b7c2c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1dba9b}=this;_0x1dba9b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1dba9b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1dba9b['commands']['add']('footnotesStyle',new S(_0x1dba9b)),_0x1dba9b['commands']['add']('footnotesStart',new C(_0x1dba9b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x44e578}=this,{schema:_0x2b2119}=_0x44e578['model'];_0x2b2119['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x139f42}=this,{conversion:_0x1b85af,model:_0x34bf19}=_0x139f42,{schema:_0x2da12f}=_0x34bf19;_0x1b85af['for']('upcast')['add'](_0x33540e=>{_0x33540e['on']('element:ol',(_0x210981,_0x869c0b,_0x42cbec)=>{const _0x110892=_0x869c0b['viewItem'],_0xb16bd8=_0x869c0b['modelCursor']?.['parent'];_0x110892['hasClass']('footnotes-list')&&_0xb16bd8?.['is']('element','footnotesDefinitions')&&(function(_0x5737e6,_0x56797a,_0xe3400e,_0x3f32e2){if(!_0x3f32e2['checkAttribute'](_0x56797a,'footnotesListStart'))return;let _0x29eb3f=0x1;const _0xf48b4a=_0xe3400e['consumable']['consume'](_0x5737e6,{'attributes':'start'});if(_0xf48b4a){const _0x34c824=Number['parseInt'](_0x5737e6['getAttribute']('start'),0xa);Number['isNaN'](_0x34c824)||(_0x29eb3f=_0x34c824);}!_0xf48b4a&&_0x56797a['hasAttribute']('footnotesListStart')||_0xe3400e['writer']['setAttribute']('footnotesListStart',_0x29eb3f,_0x56797a);}(_0x110892,_0xb16bd8,_0x42cbec,_0x2da12f),function(_0x2fb7db,_0x56da2e,_0x4c6816,_0x40d517){if(!_0x40d517['checkAttribute'](_0x56da2e,'footnotesListStyle'))return;let _0x347b41='decimal',_0x3ed2ed=!0x1;if(_0x4c6816['consumable']['consume'](_0x2fb7db,{'attributes':'type'})){const _0x57609d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2fb7db['getAttribute']('type')];_0x57609d&&(_0x347b41=_0x57609d),_0x3ed2ed=!0x0;}_0x4c6816['consumable']['consume'](_0x2fb7db,{'styles':'list-style-type'})&&(_0x347b41=_0x2fb7db['getStyle']('list-style-type'),_0x3ed2ed=!0x0),!_0x3ed2ed&&_0x56da2e['hasAttribute']('footnotesListStyle')||_0x4c6816['writer']['setAttribute']('footnotesListStyle',_0x347b41,_0x56da2e);}(_0x110892,_0xb16bd8,_0x42cbec,_0x2da12f));});}),_0x1b85af['for']('downcast')['add'](_0x4c5eee=>{_0x4c5eee['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x396a46,_0x1de7db,_0x3dd0eb)=>{if(!_0x3dd0eb['consumable']['consume'](_0x1de7db['item'],_0x396a46['name']))return;const _0x56cf59=M(_0x1de7db['item'],_0x3dd0eb['mapper']),{attributeNewValue:_0xd93266}=_0x1de7db;null==_0xd93266||0x1===_0xd93266?_0x3dd0eb['writer']['removeAttribute']('start',_0x56cf59):_0x3dd0eb['writer']['setAttribute']('start',String(_0xd93266),_0x56cf59);}),_0x4c5eee['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x39b7d9,_0x4d90f7,_0x924b3b)=>{if(!_0x924b3b['consumable']['consume'](_0x4d90f7['item'],_0x39b7d9['name']))return;const _0x3af6cb=M(_0x4d90f7['item'],_0x924b3b['mapper']),{attributeNewValue:_0x434b70}=_0x4d90f7;_0x434b70&&'decimal'!==_0x434b70?_0x924b3b['writer']['setStyle']('list-style-type',_0x434b70,_0x3af6cb):_0x924b3b['writer']['removeStyle']('list-style-type',_0x3af6cb);});});}['_definePostfixer'](){const {editor:_0x5b7069}=this,{model:_0x5425ac}=_0x5b7069,_0x462218=_0x5b7069['plugins']['get'](c),_0x51af50=this['_getDefaultListStyle'](),_0x17d774=this['_getDefaultStartIndex']();_0x5425ac['document']['registerPostFixer'](_0xe1151b=>{const _0x59fffe=_0x5425ac['document']['differ']['getChanges']();let _0x547f83=!0x1;for(const _0x1d6197 of _0x59fffe){if('insert'!==_0x1d6197['type']||'$text'===_0x1d6197['name'])continue;const _0x171476=_0x5425ac['createRangeOn'](_0x1d6197['position']['nodeAfter']);for(const _0x12c811 of _0x171476['getItems']())_0x12c811['is']('element','footnotesDefinitions')&&(!_0x12c811['hasAttribute']('footnotesListStart')&&_0x5425ac['schema']['checkAttribute'](_0x12c811,'footnotesListStart')&&(_0xe1151b['setAttribute']('footnotesListStart',_0x17d774,_0x12c811),_0x547f83=!0x0),!_0x12c811['hasAttribute']('footnotesListStyle')&&_0x5425ac['schema']['checkAttribute'](_0x12c811,'footnotesListStyle')&&(_0xe1151b['setAttribute']('footnotesListStyle',_0x51af50,_0x12c811),_0x547f83=!0x0));}return _0x547f83&&_0x462218['_updateFootnotesCounters'](_0xe1151b),_0x547f83;});}['_defineFormatter'](){const {editor:_0x5b9a09}=this;_0x5b9a09['plugins']['get'](c)['setFootnoteFormatter'](_0x3c8ab2=>this['_formatFootnoteListValue'](_0x3c8ab2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x40f57c,value:_0x50bf73,digits:_0xd24d97}){const _0x542fe5=_0x40f57c['getAttribute']('footnotesListStyle'),_0x127545=_0x40f57c['getAttribute']('footnotesListStart'),_0x43822c=Math['floor'](_0x50bf73)+(_0x127545??0x1)-0x1;switch(_0x542fe5){case'decimal-leading-zero':return function(_0x58756f,_0x159586){return String(_0x58756f)['padStart'](_0x159586,'0');}(_0x43822c,Math['max'](0x2,_0xd24d97));case'lower-alpha':case'lower-latin':return N(_0x43822c,!0x1);case'upper-alpha':case'upper-latin':return N(_0x43822c,!0x0);case'lower-roman':return X(_0x43822c,!0x1);case'upper-roman':return X(_0x43822c,!0x0);default:return String(_0x43822c);}}}function M(_0x35b6fe,_0x20f41c){const _0x23e698=_0x20f41c['toViewElement'](_0x35b6fe);return Array['from'](_0x23e698['getChildren']())['find'](_0x5d8921=>_0x5d8921['is']('element','ol')&&_0x5d8921['hasClass']('footnotes-list'));}function N(_0x46f88e,_0x59aeef){let _0x495378='',_0x57c9cc=_0x46f88e;for(;_0x57c9cc>0x0;){const _0x41ee65=(_0x57c9cc-0x1)%0x1a;_0x495378=String['fromCharCode'](0x61+_0x41ee65)+_0x495378,_0x57c9cc=Math['floor']((_0x57c9cc-0x1)/0x1a);}return _0x59aeef?_0x495378['toUpperCase']():_0x495378;}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(_0x566730,_0x2a8ea4){let _0x1b4939='',_0x1fa45b=_0x566730;for(const {value:_0x30aca7,numeral:_0x2a9d9d}of V)for(;_0x1fa45b>=_0x30aca7;)_0x1b4939+=_0x2a9d9d,_0x1fa45b-=_0x30aca7;return _0x2a8ea4?_0x1b4939:_0x1b4939['toLowerCase']();}class H extends _0x27b474{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3d8f7a();['focusCycler'];constructor(_0x296086,{styleButtonViews:_0x206d4f,styleGridAriaLabel:_0x3e0afd}){super(_0x296086),(this['focusCycler']=new _0x5af006({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x206d4f,_0x3e0afd),[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 _0x348593 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x348593['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 _0x5ff953=_0x6de492=>_0x6de492['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5ff953),this['keystrokes']['set']('arrowleft',_0x5ff953),this['keystrokes']['set']('arrowup',_0x5ff953),this['keystrokes']['set']('arrowdown',_0x5ff953);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x20fa13,_0x3ce7b4){const _0x177125=new _0x27b474(this['locale']);return _0x177125['children']=_0x177125['createCollection'](),_0x177125['children']['addMany'](_0x20fa13),_0x177125['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ce7b4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x177125['children']}),_0x177125['children']['delegate']('execute')['to'](this),_0x177125['focus']=function(){for(const _0x1927de of this['children'])if(_0x1927de instanceof _0x41a9d9&&_0x1927de['isOn'])return void _0x1927de['focus']();this['children']['first']['focus']();},_0x177125['focusTracker']=new ot(),_0x177125['keystrokes']=new rt(),_0x177125['render'](),_0x177125['keystrokes']['listenTo'](_0x177125['element']),this['children']['add'](_0x177125),_0x177125;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41b6f4=this['_createStartIndexPropertyView'](),_0x1a995c=[_0x41b6f4],_0x55a5ed=new st(this['locale'],_0x1a995c);return _0x55a5ed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x55a5ed['buttonView']['bind']('isEnabled')['toMany'](_0x1a995c,'isEnabled',(..._0xfd58ab)=>_0xfd58ab['some'](_0x265fa7=>_0x265fa7)),_0x55a5ed['buttonView']['on']('change:isEnabled',(_0x16a664,_0x4fb7c8,_0x416e4a)=>{_0x416e4a||(_0x55a5ed['isCollapsed']=!0x0);}),this['children']['add'](_0x55a5ed),[_0x41b6f4,_0x55a5ed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xc8190a=new it(this['locale'],et);return _0xc8190a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xc8190a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xc8190a['fieldView']['on']('input',()=>{const _0x242d38=_0xc8190a['fieldView']['element'],_0x5e998f=_0x242d38['valueAsNumber'];Number['isNaN'](_0x5e998f)?_0xc8190a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x242d38['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5e998f}):_0xc8190a['errorText']=t(_0x5e998f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xc8190a;}}class j extends _0x3b7c2c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xbec66e,_0x32723d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f7e18}=this,{componentFactory:_0x599474}=_0x3f7e18['ui'];_0x3f7e18['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x599474['add']('footnotesStyle',function(_0x518773){return _0x5ea1f2=>{const {t:t}=_0x5ea1f2,_0x339470=_0x518773['commands']['get']('footnotesStyle'),_0xd01337=_0x16756a(_0x5ea1f2),{buttonView:_0x5d7129}=_0xd01337;return _0xd01337['class']='ck-footnotes-styles-dropdown',_0xd01337['bind']('isEnabled')['to'](_0x339470,'isEnabled'),_0x5d7129['set']({'label':t('Footnotes\x20style'),'icon':_0x1c69b7,'tooltip':!0x0}),_0xd01337['once']('change:isOpen',()=>{const _0x52ba76=function({editor:_0x22795f,dropdownView:_0x49ec84}){const {t:t}=_0x22795f['locale'],_0x4aa310=t('Footnotes\x20definitions\x20styles'),_0xd2d15f=function(_0x5be331){const t=_0x5be331['locale']['t'],_0x18e7d2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x436957},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3bb0b2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2ab0e8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x547b1d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xa42f56},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1e2078}];return _0x18e7d2['map'](function(_0x214e9f){const _0x350a9f=_0x214e9f['locale'];return({label:_0x5d4a7b,icon:_0x318e90,tooltip:_0x12bb0e,style:_0x36d3f9})=>{const _0x44892a=_0x214e9f['commands']['get']('footnotesStyle'),_0x2380c5=new _0x41a9d9(_0x350a9f);return _0x2380c5['set']({'label':_0x5d4a7b,'icon':_0x318e90,'tooltip':_0x12bb0e}),_0x2380c5['bind']('isOn')['to'](_0x44892a,'value',_0x4df0b1=>_0x4df0b1===_0x36d3f9),_0x2380c5['bind']('isEnabled')['to'](_0x44892a,'isEnabled'),_0x2380c5['on']('execute',()=>{_0x214e9f['execute']('footnotesStyle',{'value':_0x36d3f9}),_0x214e9f['editing']['view']['focus']();}),_0x2380c5;};}(_0x5be331));}(_0x22795f),_0x297262=new H(_0x22795f['locale'],{'styleGridAriaLabel':_0x4aa310,'styleButtonViews':_0xd2d15f});return _0x297262['delegate']('execute')['to'](_0x49ec84),_0x297262['on']('footnotesListStart',(_0x30170e,_0x495de8)=>{_0x22795f['execute']('footnotesStart',{'value':_0x495de8['startIndex']});}),_0x297262;}({'editor':_0x518773,'dropdownView':_0xd01337});_0xd01337['panelView']['children']['add'](_0x52ba76);}),_0xd01337;};}(_0x3f7e18));}['afterInit'](){const {editor:_0x5e9fc6}=this,{t:t}=_0x5e9fc6['locale'],_0x5722fc=_0x5e9fc6['plugins']['get'](_0x32723d),{defaultPositions:_0x552564}=_0x3bc24c;_0x5722fc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5e9fc6['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x463bdc=>{let _0x31a5b2=_0x463bdc['getFirstPosition']()?.['parent'];return _0x31a5b2?.['is']('$text')&&(_0x31a5b2=_0x31a5b2['parent']),_0x31a5b2?.['is']('element')?_0x31a5b2['findAncestor'](J):null;},'positions':[_0x552564['southArrowNorth'],_0x552564['southArrowNorthMiddleWest'],_0x552564['southArrowNorthMiddleEast'],_0x552564['southArrowNorthWest'],_0x552564['southArrowNorthEast'],_0x552564['northArrowSouth'],_0x552564['northArrowSouthMiddleWest'],_0x552564['northArrowSouthMiddleEast'],_0x552564['northArrowSouthWest'],_0x552564['northArrowSouthEast'],_0x552564['viewportStickyNorth']]});}}class ft extends _0x3b7c2c{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,c 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':_0x8df9b2=>0x1!=_0x8df9b2}};
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':_0x23453d=>0x1!=_0x23453d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x506b5c=>{const {af:{dictionary:_0x484ee1,getPluralForm:_0x574f88}}={'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':_0x22fddd=>0x1!=_0x22fddd}};_0x506b5c['af']||={'dictionary':{},'getPluralForm':null},_0x506b5c['af']['dictionary']=Object['assign'](_0x506b5c['af']['dictionary'],_0x484ee1),_0x506b5c['af']['getPluralForm']=_0x574f88;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f2b64=>{const {af:{dictionary:_0x384c0,getPluralForm:_0x11948d}}={'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':_0x1e6e37=>0x1!=_0x1e6e37}};_0x4f2b64['af']||={'dictionary':{},'getPluralForm':null},_0x4f2b64['af']['dictionary']=Object['assign'](_0x4f2b64['af']['dictionary'],_0x384c0),_0x4f2b64['af']['getPluralForm']=_0x11948d;})(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':_0x29c96a=>0x0==_0x29c96a?0x0:0x1==_0x29c96a?0x1:0x2==_0x29c96a?0x2:_0x29c96a%0x64>=0x3&&_0x29c96a%0x64<=0xa?0x3:_0x29c96a%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':_0x367f29=>0x0==_0x367f29?0x0:0x1==_0x367f29?0x1:0x2==_0x367f29?0x2:_0x367f29%0x64>=0x3&&_0x367f29%0x64<=0xa?0x3:_0x367f29%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x291a47=>{const {ar:{dictionary:_0x447ff7,getPluralForm:_0x16063c}}={'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':_0x113c69=>0x0==_0x113c69?0x0:0x1==_0x113c69?0x1:0x2==_0x113c69?0x2:_0x113c69%0x64>=0x3&&_0x113c69%0x64<=0xa?0x3:_0x113c69%0x64>=0xb?0x4:0x5}};_0x291a47['ar']||={'dictionary':{},'getPluralForm':null},_0x291a47['ar']['dictionary']=Object['assign'](_0x291a47['ar']['dictionary'],_0x447ff7),_0x291a47['ar']['getPluralForm']=_0x16063c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x22e8f9=>{const {ar:{dictionary:_0x9709de,getPluralForm:_0x1e5b8c}}={'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':_0x16da1b=>0x0==_0x16da1b?0x0:0x1==_0x16da1b?0x1:0x2==_0x16da1b?0x2:_0x16da1b%0x64>=0x3&&_0x16da1b%0x64<=0xa?0x3:_0x16da1b%0x64>=0xb?0x4:0x5}};_0x22e8f9['ar']||={'dictionary':{},'getPluralForm':null},_0x22e8f9['ar']['dictionary']=Object['assign'](_0x22e8f9['ar']['dictionary'],_0x9709de),_0x22e8f9['ar']['getPluralForm']=_0x1e5b8c;})(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':_0x10a591=>0x1!=_0x10a591}};
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':_0x2e91cd=>0x1!=_0x2e91cd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x28b7fa=>{const {ast:{dictionary:_0x3c8bc4,getPluralForm:_0x4c30fd}}={'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':_0x2cd411=>0x1!=_0x2cd411}};_0x28b7fa['ast']||={'dictionary':{},'getPluralForm':null},_0x28b7fa['ast']['dictionary']=Object['assign'](_0x28b7fa['ast']['dictionary'],_0x3c8bc4),_0x28b7fa['ast']['getPluralForm']=_0x4c30fd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x51226b=>{const {ast:{dictionary:_0x5b5ece,getPluralForm:_0x934e4e}}={'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':_0x3db3fb=>0x1!=_0x3db3fb}};_0x51226b['ast']||={'dictionary':{},'getPluralForm':null},_0x51226b['ast']['dictionary']=Object['assign'](_0x51226b['ast']['dictionary'],_0x5b5ece),_0x51226b['ast']['getPluralForm']=_0x934e4e;})(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':_0x2aa4e5=>0x1!=_0x2aa4e5}};
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':_0x35a669=>0x1!=_0x35a669}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3449a8=>{const {az:{dictionary:_0x252177,getPluralForm:_0x156b89}}={'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':_0x59dbd5=>0x1!=_0x59dbd5}};_0x3449a8['az']||={'dictionary':{},'getPluralForm':null},_0x3449a8['az']['dictionary']=Object['assign'](_0x3449a8['az']['dictionary'],_0x252177),_0x3449a8['az']['getPluralForm']=_0x156b89;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3462a5=>{const {az:{dictionary:_0x3a9ba7,getPluralForm:_0x599f96}}={'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':_0x20a721=>0x1!=_0x20a721}};_0x3462a5['az']||={'dictionary':{},'getPluralForm':null},_0x3462a5['az']['dictionary']=Object['assign'](_0x3462a5['az']['dictionary'],_0x3a9ba7),_0x3462a5['az']['getPluralForm']=_0x599f96;})(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':_0x1a7eff=>_0x1a7eff%0xa==0x1&&_0x1a7eff%0x64!=0xb?0x0:_0x1a7eff%0xa>=0x2&&_0x1a7eff%0xa<=0x4&&(_0x1a7eff%0x64<0xa||_0x1a7eff%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':_0x25e3c3=>_0x25e3c3%0xa==0x1&&_0x25e3c3%0x64!=0xb?0x0:_0x25e3c3%0xa>=0x2&&_0x25e3c3%0xa<=0x4&&(_0x25e3c3%0x64<0xa||_0x25e3c3%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2366e6=>{const {be:{dictionary:_0x3e499f,getPluralForm:_0x41bfd3}}={'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':_0x29239e=>_0x29239e%0xa==0x1&&_0x29239e%0x64!=0xb?0x0:_0x29239e%0xa>=0x2&&_0x29239e%0xa<=0x4&&(_0x29239e%0x64<0xa||_0x29239e%0x64>=0x14)?0x1:0x2}};_0x2366e6['be']||={'dictionary':{},'getPluralForm':null},_0x2366e6['be']['dictionary']=Object['assign'](_0x2366e6['be']['dictionary'],_0x3e499f),_0x2366e6['be']['getPluralForm']=_0x41bfd3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2bd1e9=>{const {be:{dictionary:_0x46f0c0,getPluralForm:_0x4fd58a}}={'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':_0x903dbc=>_0x903dbc%0xa==0x1&&_0x903dbc%0x64!=0xb?0x0:_0x903dbc%0xa>=0x2&&_0x903dbc%0xa<=0x4&&(_0x903dbc%0x64<0xa||_0x903dbc%0x64>=0x14)?0x1:0x2}};_0x2bd1e9['be']||={'dictionary':{},'getPluralForm':null},_0x2bd1e9['be']['dictionary']=Object['assign'](_0x2bd1e9['be']['dictionary'],_0x46f0c0),_0x2bd1e9['be']['getPluralForm']=_0x4fd58a;})(window['CKEDITOR_TRANSLATIONS']||={});