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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x376500,Command as _0x56fe55}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x535696,isWidget as _0x4b8db9,toWidgetEditable as _0xbeec38,WidgetToolbarRepository as _0x1158fc}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x9f4a91,logWarning as _0x307ea4,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0xf7ba5e,ClickObserver as _0x10cbab}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x46fbd3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x7e998c,ButtonView as _0x36aaaf,View as _0x1f73e8,ViewCollection as _0x40d1b5,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x1e12bb,BalloonPanelView as _0x3a46d5,createDropdown as _0x361a6e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x392258,IconListStyleDecimal as _0x4f3f9d,IconListStyleDecimalLeadingZero as _0x4c6215,IconListStyleLowerRoman as _0x31142a,IconListStyleUpperRoman as _0x529a8e,IconListStyleLowerLatin as _0x12da9f,IconListStyleUpperLatin as _0x2d09be}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x164d95,_0x7610ec){this['_model']=_0x164d95,this['_elementName']=_0x7610ec['elementName'],this['_getElementKey']=_0x7610ec['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x52f3ef){const _0x44c68e=new Set(),_0xa0c020=new Map();for(const _0x41edbd of _0x52f3ef){if('insert'===_0x41edbd['type']&&'$text'!==_0x41edbd['name']&&_0x41edbd['position']['nodeAfter']){const _0x8d5881=this['_model']['createRangeOn'](_0x41edbd['position']['nodeAfter']);for(const _0x3616ca of _0x8d5881['getItems']()){if(!_0x3616ca['is']('element',this['_elementName']))continue;const _0x20e7bf=this['_getElementKey'](_0x3616ca);_0xa0c020['has'](_0x20e7bf)||_0xa0c020['set'](_0x20e7bf,[]),_0xa0c020['get'](_0x20e7bf)['push'](_0x3616ca);}}if('remove'===_0x41edbd['type']&&_0x41edbd['name']===this['_elementName']){const _0x1b68e0=this['_getElementKey']({'getAttribute':_0x119e7b=>_0x41edbd['attributes']['get'](_0x119e7b)});_0x44c68e['add'](_0x1b68e0);}}for(const [_0x20f882,_0x5565cc]of this['_trackedElements'])'$graveyard'===_0x5565cc['root']['rootName']&&_0x44c68e['add'](_0x20f882);for(const _0xb1f2ba of _0x44c68e)this['_trackedElements']['delete'](_0xb1f2ba);for(const [_0x540640,_0x29ff95]of _0xa0c020)this['_trackedElements']['set'](_0x540640,_0x29ff95[_0x29ff95['length']-0x1]);const _0x4523a4=new Set();for(const [_0x179c87,_0x5c504c]of _0xa0c020)_0x44c68e['has'](_0x179c87)&&(_0x4523a4['add'](_0x5c504c[0x0]),_0x5c504c['length']>0x1?_0xa0c020['set'](_0x179c87,_0x5c504c['slice'](0x1)):_0xa0c020['delete'](_0x179c87),_0x44c68e['delete'](_0x179c87));return{'removed':Array['from'](_0x44c68e),'inserted':Array['from'](_0xa0c020['values']())['flat'](),'moved':Array['from'](_0x4523a4)};}}class f extends _0x376500{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5832f8){super(_0x5832f8),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2ffea8=>_0x2ffea8['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xa810b2=>_0xa810b2['getAttribute']('footnoteId')});}['init'](){const {editor:_0x2fdd60}=this,{model:_0x4e1ab5,data:_0x3e93d4}=_0x2fdd60;_0x4e1ab5['document']['registerPostFixer'](_0x3c5495=>{const _0x3f6c80=_0x4e1ab5['document']['differ']['getChanges']();let _0x6e834a=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3c5495,_0x3f6c80)&&(_0x6e834a=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3c5495,_0x3f6c80)&&(_0x6e834a=!0x0),this['_handleFootnoteReferencesChanges'](_0x3c5495,_0x3f6c80)&&(_0x6e834a=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3c5495)&&(_0x6e834a=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3c5495)&&(_0x6e834a=!0x0),this['_sortFootnoteDefinitions'](_0x3c5495)&&(_0x6e834a=!0x0),_0x6e834a;}),this['listenTo'](_0x4e1ab5['document'],'change:data',()=>{_0x4e1ab5['enqueueChange']({'isUndoable':!0x1},_0x2abff1=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2abff1);});},{'priority':'low'}),this['listenTo'](_0x3e93d4,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x43ce2e){return this['_footnotes']['find'](_0x5c0d10=>_0x5c0d10['id']===_0x43ce2e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x10d094){this['_footnoteFormatter']=_0x10d094;}['_updateFootnotesCounters'](_0x357d8c,_0x44b998=0x0){let _0x1c394f=!0x1;for(let _0x1cbdad=_0x44b998;_0x1cbdad<this['_footnotes']['length'];_0x1cbdad++)this['_updateFootnoteRefCounter'](_0x357d8c,_0x1cbdad)&&(_0x1c394f=!0x0);return _0x1c394f;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1d89e2,_0x3dc6fc){const _0x48284b=_0x1d89e2['createElement']('footnotesDefinitions',{});return _0x1d89e2['append'](_0x48284b,_0x3dc6fc),this['_footnotesDefinitions']=_0x48284b,_0x48284b;}['_ensureFootnotesDefinitionsContainerExists'](_0xeedab1){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4f542b=this['_footnotes'][0x0]['reference']['root'],_0x325dfb=this['_insertEmptyFootnotesDefinitionsContainer'](_0xeedab1,_0x4f542b);for(const _0x628c7 of this['_footnotes'])_0x628c7['definition']['parent']||_0xeedab1['insert'](_0x628c7['definition'],_0x325dfb,'end');this['_updateFootnotesCounters'](_0xeedab1);}['_handleFootnotesDefinitionsObjectChanges'](_0x80f9b8,_0x9c507e){let _0x451b38=!0x1;const {inserted:_0x5852d6,removed:_0x26a048,moved:_0x175b11}=this['_footnoteDefsContainerTracker']['getChanges'](_0x9c507e);if(_0x175b11['length']&&(this['_footnotesDefinitions']=_0x175b11[0x0]),_0x5852d6['length']){if(_0x5852d6['length']>0x1||this['_footnotesDefinitions']&&_0x5852d6['some'](_0x1549cc=>_0x1549cc!==this['_footnotesDefinitions'])){const _0x2cfecb=_0x80f9b8['createElement']('footnotesDefinitions',{}),_0x247b15=[];this['_footnotesDefinitions']&&_0x247b15['push'](this['_footnotesDefinitions']),_0x247b15['push'](..._0x5852d6),_0x80f9b8['insert'](_0x2cfecb,_0x247b15[0x0],'before');for(const _0x4e1896 of _0x247b15)_0x80f9b8['move'](_0x80f9b8['createRangeIn'](_0x4e1896),_0x80f9b8['createPositionAt'](_0x2cfecb,'end')),_0x80f9b8['remove'](_0x4e1896);this['_footnotesDefinitions']=_0x2cfecb,this['_updateFootnotesCounters'](_0x80f9b8),_0x451b38=!0x0;}else this['_footnotesDefinitions']=_0x5852d6[0x0];}if(_0x26a048['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xbdb614 of this['_footnotes'])_0x80f9b8['remove'](_0xbdb614['reference']),_0x451b38=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x451b38;}['_handleFootnoteDefinitionsChanges'](_0x13879c,_0x2840c8){let _0x2832ab=!0x1;const _0xf6a4a9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xdd4414,moved:_0x2ba496}=this['_footnoteDefsTracker']['getChanges'](_0x2840c8);for(const _0x422371 of[..._0x2ba496,..._0xdd4414]){const _0x114020=_0x422371['getAttribute']('footnoteId'),_0x56d470=this['getFootnote'](_0x114020);_0x56d470&&(_0x56d470['definition']=_0x422371),_(_0x13879c,_0xf6a4a9,_0x422371)&&(_0x2832ab=!0x0);}return _0x2832ab;}['_handleFootnoteReferencesChanges'](_0x4b72db,_0x1adca1){let _0x2cdb32=!0x1;const {removed:_0x84d427,inserted:_0x237f98,moved:_0x1af29a}=this['_footnoteRefsTracker']['getChanges'](_0x1adca1);for(const _0x1f30f2 of _0x84d427)this['_handleRemoveFootnoteReferenceById'](_0x4b72db,_0x1f30f2)&&(_0x2cdb32=!0x0);for(const _0x5cd772 of _0x237f98)this['_handleInsertedFootnoteReference'](_0x4b72db,_0x5cd772)&&(_0x2cdb32=!0x0);for(const _0x149daf of _0x1af29a)this['_handleMovedFootnoteReference'](_0x4b72db,_0x149daf)&&(_0x2cdb32=!0x0);return _0x2cdb32;}['_handleFootnotesDefinitionsObjectSync'](_0x298584){if(!this['_footnotesDefinitions'])return!0x1;let _0x4f898d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x186a2d=[];for(const _0x831b2 of this['_footnotesDefinitions']['getChildren']()){const _0xfd0530=_0x831b2['getAttribute']('footnoteId');this['getFootnote'](_0xfd0530)||(_0x186a2d['unshift'](_0x831b2),_0x4f898d=!0x0);}for(const _0x52b11b of _0x186a2d)_0x298584['remove'](_0x52b11b);}const _0x496455=new Set(),_0x205e12=[];for(const _0x3cb4bb of this['_footnotesDefinitions']['getChildren']()){const _0x38710e=_0x3cb4bb['getAttribute']('footnoteId');_0x496455['has'](_0x38710e)?(_0x205e12['unshift'](_0x3cb4bb),_0x4f898d=!0x0):_0x496455['add'](_0x38710e);}for(const _0x2e65d5 of _0x205e12)_0x298584['remove'](_0x2e65d5);return this['_footnotesDefinitions']['childCount']||(_0x298584['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4f898d=!0x0),_0x4f898d;}['_handleInsertedFootnoteReference'](_0x52b745,_0x4eb79b){if(this['_footnotes']['find'](_0x25521e=>_0x25521e['reference']===_0x4eb79b))return!0x1;let _0x86f6fd=!0x1;const _0x49172d=_0x4eb79b['getAttribute']('footnoteId'),_0x2f3227=this['_footnotes']['findIndex'](_0x5625de=>_0x5625de['id']===_0x49172d);-0x1!==_0x2f3227&&(_0x52b745['remove'](this['_footnotes'][_0x2f3227]['reference']),this['_footnotes']['splice'](_0x2f3227,0x1),_0x86f6fd=!0x0);let _0x319d08=this['_footnotesDefinitions']?function(_0x464e45,_0x1081a2){for(const _0x31b11a of _0x464e45['getChildren']())if(_0x31b11a['getAttribute']('footnoteId')===_0x1081a2)return _0x31b11a;return null;}(this['_footnotesDefinitions'],_0x49172d):null;_0x319d08||(_0x319d08=_0x52b745['createElement']('footnoteDefinition',{'footnoteId':_0x49172d}),this['_footnotesDefinitions']&&(_0x52b745['insert'](_0x319d08,this['_footnotesDefinitions'],'end'),_0x86f6fd=!0x0));const _0x1bc0a1={'id':_0x49172d,'reference':_0x4eb79b,'definition':_0x319d08},_0x15c258=I(this['editor']['model'],this['_footnotes'],_0x4eb79b);this['_footnotes']['splice'](_0x15c258,0x0,_0x1bc0a1);let _0x3a66b0=_0x15c258;return-0x1!==_0x2f3227&&(_0x3a66b0=Math['min'](_0x15c258,_0x2f3227)),this['_updateFootnotesCounters'](_0x52b745,_0x3a66b0)&&(_0x86f6fd=!0x0),_0x86f6fd;}['_handleRemoveFootnoteReferenceById'](_0xaf07cd,_0x1da778){const _0x2b5cc2=this['_footnotes']['findIndex'](_0x283cf2=>_0x283cf2['id']===_0x1da778);if(-0x1===_0x2b5cc2)return!0x1;let _0x2cee86=!0x1;const _0x32f206=this['_footnotes'][_0x2b5cc2];return'$graveyard'!==_0x32f206['definition']['root']['rootName']&&(_0xaf07cd['remove'](_0x32f206['definition']),_0x2cee86=!0x0),this['_footnotes']['splice'](_0x2b5cc2,0x1),this['_updateFootnotesCounters'](_0xaf07cd,_0x2b5cc2)&&(_0x2cee86=!0x0),_0x2cee86;}['_handleMovedFootnoteReference'](_0x642318,_0x47c9aa){const _0xec0ba0=_0x47c9aa['getAttribute']('footnoteId'),_0x4a0e61=this['_footnotes']['findIndex'](_0x13d594=>_0x13d594['id']===_0xec0ba0),_0xc3283b=this['_footnotes'][_0x4a0e61];let _0x3d141c=!0x1;_0xc3283b['reference']=_0x47c9aa,this['_footnotes']['splice'](_0x4a0e61,0x1);const _0x2632c1=I(this['editor']['model'],this['_footnotes'],_0x47c9aa);return this['_footnotes']['splice'](_0x2632c1,0x0,_0xc3283b),this['_updateFootnotesCounters'](_0x642318,Math['min'](_0x4a0e61,_0x2632c1))&&(_0x3d141c=!0x0),_0x3d141c;}['_updateFootnoteRefCounter'](_0x1f3a23,_0x4ac42a){if(!this['_footnotesDefinitions'])return!0x1;const _0xa92c09=this['_footnotes'][_0x4ac42a];let _0x2172ab;return _0x2172ab=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xa92c09,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4ac42a+0x1}):String(_0x4ac42a+0x1),_0xa92c09['reference']['getAttribute']('footnoteCounter')!=_0x2172ab&&(_0x1f3a23['setAttribute']('footnoteCounter',_0x2172ab,_0xa92c09['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xd0f273){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x33dc9a,_0x18f2a2){if(_0x33dc9a['length']!==_0x18f2a2['length'])return!0x1;for(let _0x5e61ea=0x0;_0x5e61ea<_0x33dc9a['length'];_0x5e61ea++)if(_0x33dc9a[_0x5e61ea]!==_0x18f2a2[_0x5e61ea])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x23751f=>_0x23751f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x530d41=>_0x530d41['getAttribute']('footnoteId'))))return!0x1;let _0x4cc79d=!0x1;for(let _0x1f0822=0x0;_0x1f0822<this['_footnotes']['length'];_0x1f0822++){const _0x25721b=this['_footnotes'][_0x1f0822],_0x4e462a=_0xd0f273['createPositionBefore'](_0x25721b['definition']),_0x14f48d=_0xd0f273['createPositionAt'](this['_footnotesDefinitions'],_0x1f0822);_0x4e462a['isEqual'](_0x14f48d)||(_0xd0f273['move'](_0xd0f273['createRangeOn'](_0x25721b['definition']),_0x14f48d),_0x4cc79d=!0x0);}return _0x4cc79d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2fc5ed){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2c66e4}=this['editor'];let _0x43da82=!0x1;for(let _0x18acac=0x0;_0x18acac<this['_footnotes']['length']-0x1;_0x18acac++){const _0x573f8d=this['_footnotes'][_0x18acac],_0x428b5a=this['_footnotes'][_0x18acac+0x1],_0x559785=_0x2c66e4['createPositionBefore'](_0x573f8d['reference']),_0x193e89=_0x2c66e4['createPositionBefore'](_0x428b5a['reference']);'after'===_0x559785['compareWith'](_0x193e89)&&(this['_handleMovedFootnoteReference'](_0x2fc5ed,_0x573f8d['reference']),_0x18acac=-0x1,_0x43da82=!0x0);}return _0x43da82;}}function _(_0x5cadbc,_0x6a1665,_0x30d724){if(_0x30d724['childCount'])return!0x1;const _0x526203=_0x6a1665?'paragraph':'footnoteInlineContent';return _0x5cadbc['insert'](_0x5cadbc['createElement'](_0x526203),_0x30d724),!0x0;}function I(_0x3837b8,_0x42fbc9,_0x567180){if(0x0===_0x42fbc9['length'])return 0x0;const _0x440299=_0x3837b8['createPositionBefore'](_0x567180);for(let _0x3ba9c9=0x0;_0x3ba9c9<_0x42fbc9['length'];_0x3ba9c9++){const _0x51c61b=_0x42fbc9[_0x3ba9c9],_0x4bf399=_0x3837b8['createPositionBefore'](_0x51c61b['reference']);if('before'===_0x440299['compareWith'](_0x4bf399))return _0x3ba9c9;}const _0x2a7bb2=_0x567180['root'];let _0x11e80f=-0x1;for(let _0x3c950b=_0x42fbc9['length']-0x1;_0x3c950b>=0x0;_0x3c950b--)if(_0x42fbc9[_0x3c950b]['reference']['root']===_0x2a7bb2){_0x11e80f=_0x3c950b;break;}if(-0x1!==_0x11e80f)return _0x11e80f+0x1;const _0x18e984=_0x3837b8['document']['getRootNames'](),_0x13d1b9=_0x18e984['indexOf'](_0x2a7bb2['rootName']),_0x37ce85=_0x18e984[_0x13d1b9+0x1];if(_0x37ce85){for(let _0x42b0f5=0x0;_0x42b0f5<_0x42fbc9['length'];_0x42b0f5++)if(_0x42fbc9[_0x42b0f5]['reference']['root']['rootName']===_0x37ce85)return _0x42b0f5;}return _0x42fbc9['length'];}class h extends _0x56fe55{['refresh'](){const _0x49a2ea=this['editor']['model']['document']['selection'],_0x1b14d0=this['_getPositionToInsertFootnote'](_0x49a2ea);this['isEnabled']=!!_0x1b14d0;}['execute'](_0x56e1a0){const {editor:_0x55fbc9}=this,{model:_0xed525b}=_0x55fbc9,{selection:_0x221a77}=_0xed525b['document'],_0xa0720e=this['_getPositionToInsertFootnote'](_0x221a77);if(!_0xa0720e)return;const _0x1580ae=_0x55fbc9['plugins']['get']('FootnotesEditing'),_0x207c6e=_0x56e1a0?.['footnoteId']??_0x9f4a91();!function(_0x56fe5d){return'string'==typeof _0x56fe5d&&_0x56fe5d['length']>0x0&&!/\s/['test'](_0x56fe5d)&&!/^\d/['test'](_0x56fe5d);}(_0x207c6e)?_0x307ea4('insert-footnote-command-executed-with-invalid-id'):(_0xed525b['change'](_0xf59eb=>{const _0x1fd8f2=_0xf59eb['createElement']('footnoteRef',{'footnoteId':_0x207c6e});_0xed525b['insertObject'](_0x1fd8f2,_0xa0720e,null);}),_0x1580ae['_moveSelectionToFootnoteDefinition'](_0x207c6e));}['_getPositionToInsertFootnote'](_0x236e57){const {model:_0x78d535}=this['editor'],{schema:_0x5f215e}=_0x78d535,_0x1efc30=_0x236e57['getFirstRange']();for(const _0x1e1307 of _0x1efc30['getItems']())if(_0x5f215e['isBlock'](_0x1e1307)||_0x5f215e['isObject'](_0x1e1307))return null;const _0x1b0cee=_0x1efc30['end'];return _0x5f215e['checkChild'](_0x1b0cee,'footnoteRef')?_0x1b0cee:null;}}class r extends _0x376500{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x534348}=this;_0x534348['config']['define']('footnotes.multiBlock',!0x0),_0x534348['commands']['add']('insertFootnote',new h(_0x534348)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5370ae){const _0x49209c=_0x267cfe([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]),_0x191bd4=0x47a28506,_0x2f899d=0x47a5f976^_0x191bd4,_0x196872=window[_0x267cfe([0x44,0x61,0x74,0x65])][_0x267cfe([0x6e,0x6f,0x77])](),_0x2f22e1=_0x5370ae[_0x267cfe([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x364488=new window[(_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26c441=>{_0x2f22e1[_0x267cfe([0x6f,0x6e,0x63,0x65])](_0x267cfe([0x72,0x65,0x61,0x64,0x79]),_0x26c441);}),_0x28cfe6={[_0x267cfe([0x6b,0x74,0x79])]:_0x267cfe([0x45,0x43]),[_0x267cfe([0x75,0x73,0x65])]:_0x267cfe([0x73,0x69,0x67]),[_0x267cfe([0x63,0x72,0x76])]:_0x267cfe([0x50,0x2d,0x32,0x35,0x36]),[_0x267cfe([0x78])]:_0x267cfe([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]),[_0x267cfe([0x79])]:_0x267cfe([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]),[_0x267cfe([0x61,0x6c,0x67])]:_0x267cfe([0x45,0x53,0x32,0x35,0x36])},_0x30f212=_0x2f22e1[_0x267cfe([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x267cfe([0x67,0x65,0x74])](_0x267cfe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x313434(){let _0x4ac2f1,_0x8610f2=null,_0x4bf002=null;try{if(_0x30f212==_0x267cfe([0x47,0x50,0x4c]))return _0x267cfe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ac2f1=_0x44c587(),!_0x4ac2f1)return _0x267cfe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ac2f1[_0x267cfe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4bf002=_0x597727(_0x4ac2f1[_0x267cfe([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ac2f1[_0x267cfe([0x6a,0x74,0x69])])),await _0xea24be()?_0x473146()?_0x2f6e02()?_0x267cfe([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c4f1d()?(_0x4ac2f1[_0x267cfe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x267cfe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8610f2=_0x596455(_0x267cfe([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ac2f1[_0x267cfe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x267cfe([0x74,0x72,0x69,0x61,0x6c])&&(_0x8610f2=_0x596455(_0x267cfe([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b9342()):_0x267cfe([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x267cfe([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x267cfe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x267cfe([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f6e02(){const _0x1d6c9e=[_0x267cfe([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x267cfe([0x74,0x72,0x69,0x61,0x6c])][_0x267cfe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ac2f1[_0x267cfe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x196872/0x3e8:0xe10*_0x2f899d;return _0x4ac2f1[_0x267cfe([0x65,0x78,0x70])]<_0x1d6c9e;}function _0x473146(){const _0x684ea2=_0x4ac2f1[_0x267cfe([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x684ea2&&(!!_0x684ea2[_0x267cfe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267cfe([0x2a]))||!!_0x684ea2[_0x267cfe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267cfe([0x46,0x4f,0x4f])));}function _0x1c4f1d(){const _0x4c96fc=_0x4ac2f1[_0x267cfe([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c96fc||0x0==_0x4c96fc[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x451bba}=new URL(window[_0x267cfe([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c96fc[_0x267cfe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x451bba))return!0x0;const _0x461a98=_0x451bba[_0x267cfe([0x73,0x70,0x6c,0x69,0x74])](_0x267cfe([0x2e]));return _0x4c96fc[_0x267cfe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb44d78=>_0xb44d78[_0x267cfe([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267cfe([0x2a])))[_0x267cfe([0x6d,0x61,0x70])](_0x1b9fbd=>_0x1b9fbd[_0x267cfe([0x73,0x70,0x6c,0x69,0x74])](_0x267cfe([0x2e])))[_0x267cfe([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d3f45=>_0x2d3f45[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x461a98[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x267cfe([0x6d,0x61,0x70])](_0x34eeca=>Array(_0x461a98[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34eeca[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x267cfe([0x66,0x69,0x6c,0x6c])](_0x34eeca[0x0]===_0x267cfe([0x2a])?_0x267cfe([0x2a]):'')[_0x267cfe([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34eeca))[_0x267cfe([0x73,0x6f,0x6d,0x65])](_0x62e7f3=>_0x461a98[_0x267cfe([0x65,0x76,0x65,0x72,0x79])]((_0x3ae2a3,_0x12a52e)=>_0x62e7f3[_0x12a52e]===_0x3ae2a3||_0x62e7f3[_0x12a52e]===_0x267cfe([0x2a])));}function _0x2b9342(){return _0x8610f2&&_0x4bf002?new window[(_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bc7e4,_0x4e895c)=>{_0x8610f2[_0x267cfe([0x74,0x68,0x65,0x6e])](_0x5bc7e4,_0x4e895c),_0x4bf002[_0x267cfe([0x74,0x68,0x65,0x6e])](_0x586bbd=>{_0x586bbd!=_0x267cfe([0x56,0x61,0x6c,0x69,0x64])&&_0x5bc7e4(_0x586bbd);},_0x4e895c);}):_0x8610f2||_0x4bf002||_0x267cfe([0x56,0x61,0x6c,0x69,0x64]);}}function _0x597727(_0x5553b8,_0x36fc0a){return new window[(_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bbf53=>{if(_0x43fd8c())return _0x1bbf53(_0x267cfe([0x56,0x61,0x6c,0x69,0x64]));_0x15cb09(),_0x2f22e1[_0x267cfe([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x267cfe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a9592=!0x1;const _0x389449=_0x9f4a91();function _0x108cde(_0x349e6c){return!!_0x349e6c&&(typeof _0x349e6c===_0x267cfe([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x349e6c===_0x267cfe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x349e6c[_0x267cfe([0x74,0x68,0x65,0x6e])]===_0x267cfe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x349e6c[_0x267cfe([0x63,0x61,0x74,0x63,0x68])]===_0x267cfe([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34e866(_0x2d3204){_0x5af897(_0x2d3204)[_0x267cfe([0x74,0x68,0x65,0x6e])](_0xb5bf3e=>{if(!_0xb5bf3e||_0xb5bf3e[_0x267cfe([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x267cfe([0x6f,0x6b]))return _0x267cfe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2200b8(_0x2ff394(_0x389449+_0x36fc0a))!=_0xb5bf3e[_0x267cfe([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x267cfe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x267cfe([0x56,0x61,0x6c,0x69,0x64]);})[_0x267cfe([0x74,0x68,0x65,0x6e])](_0x588bfb=>(_0x24ac23(),_0x588bfb),()=>{const _0x3775c0=_0x58686e();return null==_0x3775c0?(_0x24ac23(),_0x267cfe([0x56,0x61,0x6c,0x69,0x64])):_0x267cfe(_0x196872-_0x3775c0>(0x63ae0106^_0x191bd4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x267cfe([0x74,0x68,0x65,0x6e])](_0x1bbf53)[_0x267cfe([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1bbf53(_0x267cfe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3acc67=0x47946b86^_0x191bd4;function _0x24ac23(){const _0x249d9e=_0x267cfe([0x6c,0x6c,0x63,0x74,0x2d])+_0x2200b8(_0x2ff394(_0x5553b8)),_0x38d6f2=_0x288182(_0x2200b8(window[_0x267cfe([0x4d,0x61,0x74,0x68])][_0x267cfe([0x63,0x65,0x69,0x6c])](_0x196872/_0x3acc67)));window[_0x267cfe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x267cfe([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x249d9e,_0x38d6f2);}function _0x58686e(){const _0x5e6a3f=_0x267cfe([0x6c,0x6c,0x63,0x74,0x2d])+_0x2200b8(_0x2ff394(_0x5553b8)),_0x23adbc=window[_0x267cfe([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x267cfe([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e6a3f);return _0x23adbc?window[_0x267cfe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x288182(_0x23adbc),0x10)*_0x3acc67:null;}function _0x5af897(_0x51bf31){return new window[(_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c29bb,_0x6fb3d7)=>{_0x51bf31[_0x267cfe([0x74,0x68,0x65,0x6e])](_0x4c29bb,_0x6fb3d7),window[_0x267cfe([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6fb3d7,0x47a351c6^_0x191bd4);});}}_0x2f22e1[_0x267cfe([0x6f,0x6e])](_0x267cfe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28fa0a,_0x538356)=>{if(_0x538356[0x0]!=_0x5553b8)return _0x1bbf53(_0x267cfe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x538356[0x1]={..._0x538356[0x1],[_0x267cfe([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x389449};},{[_0x267cfe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x267cfe([0x68,0x69,0x67,0x68])}),_0x2f22e1[_0x267cfe([0x6f,0x6e])](_0x267cfe([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e6d9e=>{_0x108cde(_0x2e6d9e[_0x267cfe([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a9592=!0x0,_0x34e866(_0x2e6d9e[_0x267cfe([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x267cfe([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x267cfe([0x6c,0x6f,0x77])}),_0x364488[_0x267cfe([0x74,0x68,0x65,0x6e])](()=>{_0x3a9592||_0x1bbf53(_0x267cfe([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43fd8c(){return _0x2f22e1[_0x267cfe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x267cfe([0x76,0x69,0x65,0x77])][_0x267cfe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x267cfe([0x61,0x75,0x74,0x6f]);}function _0x15cb09(){_0x2f22e1[_0x267cfe([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x267cfe([0x76,0x69,0x65,0x77])][_0x267cfe([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x267cfe([0x61,0x75,0x74,0x6f]);}}function _0x596455(_0x585473){const _0x5785c7=[new window[(_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25a6c3=>setTimeout(_0x25a6c3,0x47abbbca^_0x191bd4)),_0x364488[_0x267cfe([0x74,0x68,0x65,0x6e])](()=>new window[(_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe67a98=>{let _0x37abf7=0x0;_0x2f22e1[_0x267cfe([0x6d,0x6f,0x64,0x65,0x6c])][_0x267cfe([0x6f,0x6e])](_0x267cfe([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55cce3,_0x2fe0e1)=>{_0x2fe0e1[0x0][_0x267cfe([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37abf7++,_0x37abf7==(0x47a280ee^_0x191bd4)&&(_0xe67a98(),_0x55cce3[_0x267cfe([0x6f,0x66,0x66])]());});}))];return window[_0x267cfe([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x267cfe([0x72,0x61,0x63,0x65])](_0x5785c7)[_0x267cfe([0x74,0x68,0x65,0x6e])](()=>_0x585473);}async function _0x16fb1c(){await _0x364488,_0x2f22e1[_0x267cfe([0x6d,0x6f,0x64,0x65,0x6c])][_0x267cfe([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa7cad7,_0x2f22e1[_0x267cfe([0x6d,0x6f,0x64,0x65,0x6c])][_0x267cfe([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa7cad7,_0x2f22e1[_0x267cfe([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x267cfe([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8556ec(_0x5c989c){const _0x423f06=_0x3a08d7();_0x2f22e1[_0x423f06]=_0x267cfe([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5c989c,_0x5c989c!=_0x267cfe([0x56,0x61,0x6c,0x69,0x64])&&_0x16fb1c();}function _0x3a08d7(){const _0x508dc8=window[_0x267cfe([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x267cfe([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x267cfe([0x6e,0x6f,0x77])]())[_0x267cfe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x267cfe([0x2e]),'');let _0x18b07d=_0x267cfe([0x75]);for(let _0x348ee0=0x0;_0x348ee0<_0x508dc8[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x348ee0+=0x2){let _0xb6e037=window[_0x267cfe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x508dc8[_0x267cfe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x348ee0,_0x348ee0+0x2));_0xb6e037>=_0x49209c[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb6e037-=_0x49209c[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18b07d+=_0x49209c[_0xb6e037];}return _0x18b07d;}function _0x44c587(){const _0x22b30b=_0x30f212[_0x267cfe([0x73,0x70,0x6c,0x69,0x74])](_0x267cfe([0x2e]));if(0x3!=_0x22b30b[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15e97c(_0x22b30b[0x1]);function _0x15e97c(_0x84286b){const _0x29f2e6=_0x1c745a(_0x84286b);return _0x29f2e6&&_0x4c8f04()?_0x29f2e6:null;function _0x4c8f04(){const _0x18a661=_0x29f2e6[_0x267cfe([0x6a,0x74,0x69])],_0x27ab45=window[_0x267cfe([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18a661[_0x267cfe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18a661[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x452705={..._0x29f2e6,[_0x267cfe([0x6a,0x74,0x69])]:_0x18a661[_0x267cfe([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18a661[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x452705[_0x267cfe([0x76,0x63])],_0x2ff394(_0x452705)==_0x27ab45;}}}async function _0xea24be(){let _0x5c3dc9=!0x0;try{const _0x3b7e93=_0x30f212[_0x267cfe([0x73,0x70,0x6c,0x69,0x74])](_0x267cfe([0x2e])),[_0x454c5e,_0x219596,_0x400730]=_0x3b7e93;return _0x4311b3(_0x454c5e),await _0x2d86c7(_0x454c5e,_0x219596,_0x400730),_0x5c3dc9;}catch{return!0x1;}function _0x4311b3(_0x49378b){const _0xa1bee8=_0x1c745a(_0x49378b);_0xa1bee8&&_0xa1bee8[_0x267cfe([0x61,0x6c,0x67])]==_0x267cfe([0x45,0x53,0x32,0x35,0x36])||(_0x5c3dc9=!0x1);}async function _0x2d86c7(_0x1cc096,_0x449633,_0x22529e){const _0x371bab=window[_0x267cfe([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x267cfe([0x66,0x72,0x6f,0x6d])](_0x362161(_0x22529e),_0x5bb520=>_0x5bb520[_0x267cfe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a66ba=new window[(_0x267cfe([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x267cfe([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1cc096+_0x267cfe([0x2e])+_0x449633),_0x3a2981=window[_0x267cfe([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x267cfe([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a2981)return;const _0x1e1886=await _0x3a2981[_0x267cfe([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x267cfe([0x6a,0x77,0x6b]),_0x28cfe6,{[_0x267cfe([0x6e,0x61,0x6d,0x65])]:_0x267cfe([0x45,0x43,0x44,0x53,0x41]),[_0x267cfe([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x267cfe([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x267cfe([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a2981[_0x267cfe([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x267cfe([0x6e,0x61,0x6d,0x65])]:_0x267cfe([0x45,0x43,0x44,0x53,0x41]),[_0x267cfe([0x68,0x61,0x73,0x68])]:{[_0x267cfe([0x6e,0x61,0x6d,0x65])]:_0x267cfe([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e1886,_0x371bab,_0x5a66ba)||(_0x5c3dc9=!0x1);}}function _0x1c745a(_0x137031){return _0x137031[_0x267cfe([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x267cfe([0x65,0x79]))?JSON[_0x267cfe([0x70,0x61,0x72,0x73,0x65])](_0x362161(_0x137031)):null;}function _0x362161(_0x3e2121){return window[_0x267cfe([0x61,0x74,0x6f,0x62])](_0x3e2121[_0x267cfe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x267cfe([0x2b]))[_0x267cfe([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x267cfe([0x2f])));}function _0x2ff394(_0x5c411c){let _0x38cfa6=0x1505;function _0x1aadf8(_0x2a0cb5){for(let _0x2c58d3=0x0;_0x2c58d3<_0x2a0cb5[_0x267cfe([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c58d3++){const _0x271114=_0x2a0cb5[_0x267cfe([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c58d3);_0x38cfa6=(_0x38cfa6<<0x5)+_0x38cfa6+_0x271114,_0x38cfa6&=_0x38cfa6;}}function _0x1dedbf(_0x4cbae5){Array[_0x267cfe([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cbae5)?_0x4cbae5[_0x267cfe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dedbf):_0x4cbae5&&typeof _0x4cbae5==_0x267cfe([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x267cfe([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cbae5)[_0x267cfe([0x73,0x6f,0x72,0x74])]()[_0x267cfe([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5adb06,_0x13aa7f])=>{_0x1aadf8(_0x5adb06),_0x1dedbf(_0x13aa7f);}):_0x1aadf8(window[_0x267cfe([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cbae5));}return _0x1dedbf(_0x5c411c),_0x38cfa6>>>0x0;}function _0x2200b8(_0x23b68d){return _0x23b68d[_0x267cfe([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x267cfe([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x267cfe([0x30]));}function _0x288182(_0xe5adc){return _0xe5adc[_0x267cfe([0x73,0x70,0x6c,0x69,0x74])]('')[_0x267cfe([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x267cfe([0x6a,0x6f,0x69,0x6e])]('');}function _0xa7cad7(){}function _0x267cfe(_0x32b1d0){return _0x32b1d0['map'](_0x42f54b=>String['fromCharCode'](_0x42f54b))['join']('');}_0x8556ec(await _0x313434());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4efc22){const {plugins:_0x41da6b,editing:_0x4b0470,model:_0x8e2c76}=this['editor'],_0x10d7fb=_0x41da6b['get'](f)['getFootnote'](_0x4efc22);return!!_0x10d7fb&&(_0x8e2c76['change'](_0x4be2b9=>{_0x4be2b9['setSelection'](_0x4be2b9['createPositionAt'](_0x10d7fb['definition'],'end'));}),_0x4b0470['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4347c5){const {plugins:_0x2e3b1a,editing:_0x5d4ff1,model:_0x3151f0}=this['editor'],_0x19117a=_0x2e3b1a['get'](f)['getFootnote'](_0x4347c5);return!!_0x19117a&&(_0x3151f0['change'](_0x2f2dde=>{_0x2f2dde['setSelection'](_0x19117a['reference'],'on');}),_0x5d4ff1['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5bcc17}=this['editor']['model'],_0x59c3f6=this['editor']['config']['get']('footnotes.multiBlock');_0x5bcc17['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5bcc17['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5bcc17['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x59c3f6?_0x5bcc17['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5bcc17['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5bcc17['addChildCheck'](_0xd67131=>{for(const _0x1bd5db of _0xd67131)if('footnoteDefinition'===_0x1bd5db['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3cf059}=this,{conversion:_0x3dddb2,editing:_0x5a8fe2}=_0x3cf059,{t:t}=_0x3cf059['locale'];_0x3dddb2['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x8b19cc,{writer:_0x26358d,consumable:_0xd91c10})=>{const _0x2f681b=_0x8b19cc['getChild'](0x0);if(!_0x2f681b||!_0x2f681b['is']('element','a'))return null;const _0x1ec723=_0x2f681b['getAttribute']('href')||'';if(!_0x1ec723['startsWith']('#'))return null;const _0x40a00c=_0x1ec723['replace'](/^#/,'');if(!_0x40a00c)return null;_0xd91c10['consume'](_0x2f681b,{'name':!0x0,'attributes':['href']});for(const {item:_0x4695c4}of _0x5a8fe2['view']['createRangeIn'](_0x2f681b))_0x4695c4['is']('$textProxy')?_0xd91c10['consume'](_0x4695c4['textNode'],{'name':!0x0}):_0x4695c4['is']('element')&&_0xd91c10['consume'](_0x4695c4,{'name':!0x0});return _0x26358d['createElement']('footnoteRef',{'footnoteId':_0x40a00c});}}),_0x3dddb2['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36559b,{writer:_0x53aaea})=>b(_0x36559b,_0x53aaea)}),_0x3dddb2['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5e4d42,{writer:_0x717413})=>{const _0x21d780=_0x5e4d42['getAttribute']('footnoteCounter');return _0x535696(b(_0x5e4d42,_0x717413),_0x717413,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x21d780)});}});}['_defineDefinitionsConverters'](){const {editor:_0x55c174}=this,{t:t}=_0x55c174['locale'],{conversion:_0x2bb925}=_0x55c174;_0x2bb925['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2bb925['for']('upcast')['add'](_0x4c502e=>{_0x4c502e['on']('element:ol',(_0x1a7ef3,_0x7bf47,_0x5957a1)=>{const _0x285ee8=_0x7bf47['viewItem'];if(!_0x285ee8['hasClass']('footnotes-list')||!_0x7bf47['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5957a1['consumable']['consume'](_0x285ee8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x375673,modelCursor:_0x1d294}=_0x5957a1['convertChildren'](_0x7bf47['viewItem'],_0x7bf47['modelCursor']);_0x7bf47['modelRange']=_0x375673,_0x7bf47['modelCursor']=_0x1d294;}),_0x4c502e['on']('element:hr',(_0x20e70a,_0x231359,_0x3c8f8b)=>{const _0x2fda53=_0x231359['viewItem'];_0x2fda53['hasClass']('footnotes-divider')&&_0x231359['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3c8f8b['consumable']['consume'](_0x2fda53,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2bb925['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x8a5ba0,{writer:_0x129fa0})=>D(_0x129fa0)}),_0x2bb925['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x7d3691,{writer:_0x2d78a8})=>{const _0x5a3998=D(_0x2d78a8,{'data-footnotes-list-label':t('Footnotes')}),_0x34c908=_0x535696(_0x5a3998,_0x2d78a8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2d78a8['setCustomProperty']('footnotesDefinitions',!0x0,_0x34c908),_0x34c908;}});}['_defineDefinitionConverters'](){const {editor:_0x3cf0c3}=this,{conversion:_0x3aed7e,locale:_0x401ddf}=_0x3cf0c3,_0x253648=_0x3cf0c3['config']['get']('footnotes.multiBlock');_0x3aed7e['for']('upcast')['add'](_0x1d6407=>{_0x1d6407['on']('element:li',(_0x4cb8d7,_0x1451d5,_0xe5582e)=>{const _0x434bbd=_0x1451d5['viewItem'];if(!_0x434bbd['hasClass']('footnote-definition')||!_0x434bbd['getAttribute']('id'))return;const _0x5bdf68=_0x434bbd['parent'];if(!_0x5bdf68['is']('element','ol')||!_0x5bdf68['hasClass']('footnotes-list'))return;if(!_0xe5582e['consumable']['test'](_0x434bbd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x446e0c=_0xe5582e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x434bbd['getAttribute']('id')});if(!_0xe5582e['safeInsert'](_0x446e0c,_0x1451d5['modelCursor']))return;_0xe5582e['consumable']['consume'](_0x434bbd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4aaa02=Array['from'](_0x434bbd['getChildren']())['find'](_0x38e89d=>_0x38e89d['is']('element')&&_0x38e89d['hasClass']('footnote-content'));for(const _0x2fdc06 of _0x434bbd['getChildren']())_0x2fdc06['is']('element')&&(_0xe5582e['consumable']['consume'](_0x2fdc06,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xe5582e['consumable']['consume'](_0x2fdc06,{'name':!0x0,'classes':'footnote-content'}));if(_0x4aaa02){if(_0x253648)_0xe5582e['convertChildren'](_0x4aaa02,_0x446e0c);else{const _0x47f76b=_0xe5582e['writer']['createElement']('footnoteInlineContent');_0xe5582e['writer']['insert'](_0x47f76b,_0x446e0c),_0xe5582e['convertChildren'](_0x4aaa02,_0x47f76b);}}_0xe5582e['updateConversionResult'](_0x446e0c,_0x1451d5);});}),_0x3aed7e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x42a635,{writer:_0x512ee8})=>y(_0x42a635,_0x512ee8,_0x401ddf,{'dataPipeline':!0x0})}),_0x3aed7e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52d7de,{writer:_0x4eacb5})=>y(_0x52d7de,_0x4eacb5,_0x401ddf)});}['_defineBogusParagraphConverters'](){const {editor:_0x26fefe}=this,{conversion:_0x1486a0}=_0x26fefe;_0x26fefe['config']['get']('footnotes.multiBlock')?(_0x1486a0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1486a0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x26fefe['model']['document'],'change:data',()=>{!function(_0x24f884,_0x20652b){const _0x3c6f2d=_0x24f884['document']['differ'],_0xe8cf49=new Set();for(const _0x289577 of _0x3c6f2d['getChanges']()){const _0x3e67b9='attribute'==_0x289577['type']?_0x289577['range']['start']['parent']:_0x289577['position']['parent'];_0x3e67b9['is']('element','footnoteDefinition')&&_0xe8cf49['add'](_0x3e67b9);}for(const _0x315264 of _0xe8cf49['values']()){const _0x51cdff=Array['from'](_0x315264['getChildren']())['filter'](_0x5f2eb5=>v(_0x5f2eb5,_0x20652b['mapper']));for(const _0x149e34 of _0x51cdff)_0x20652b['reconvertItem'](_0x149e34);}}(_0x26fefe['model'],_0x26fefe['editing']);})):(_0x1486a0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1486a0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4598e4,{writer:_0x371363})=>{const _0x4dd4cc=_0x371363['createContainerElement']('span');return _0x371363['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4dd4cc),_0x4dd4cc;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2279f3}=this,{editing:_0x59fdc9,t:t}=_0x2279f3,_0x50f05b=_0x2279f3['model']['document']['selection'];_0x2279f3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2279f3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x59fdc9['view']['document'],'enter',(_0x4c8b5c,_0x4b64f2)=>{const _0x31bedd=function(_0x5e394a){const _0xf8d5d9=_0x5e394a['getSelectedElement']();if(_0xf8d5d9?.['is']('element','footnoteRef'))return _0xf8d5d9;return null;}(_0x50f05b);if(_0x31bedd){const _0x5b43da=_0x31bedd['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5b43da),_0x4b64f2['preventDefault'](),_0x4c8b5c['stop']();}},{'context':_0x4b8db9});}['_defineClickHandlers'](){const {editor:_0x1be5c6}=this,{editing:_0x137b62}=_0x1be5c6;_0x1be5c6['editing']['view']['addObserver'](_0xf7ba5e),_0x1be5c6['editing']['view']['addObserver'](_0x10cbab);let _0x513deb=!0x1;this['listenTo'](_0x137b62['view']['document'],'pointerdown',(_0x257096,_0x4e1cf9)=>{const {target:_0x297c83}=_0x4e1cf9,_0x2393e5=_0x137b62['view']['document']['selection'];_0x513deb=!!(_0x297c83?.['is']('element','a')&&_0x297c83['parent']?.['is']('element','sup')&&_0x297c83['parent']['hasClass']('footnote'))&&_0x2393e5['getSelectedElement']()===_0x297c83['parent'];},{'priority':'high'}),this['listenTo'](_0x137b62['view']['document'],'click',(_0x1bd978,_0x5df7bb)=>{const {target:_0x1c5f59}=_0x5df7bb;if(!_0x1c5f59?.['is']('element','a'))return;if(_0x1c5f59['parent']?.['is']('element','sup')&&_0x1c5f59['parent']['hasClass']('footnote')&&!_0x513deb)return void _0x5df7bb['preventDefault']();let _0x1c9f08=_0x1c5f59['getAttribute']('href');if(!_0x1c9f08?.['startsWith']('#'))return;_0x1c9f08=_0x1c9f08['slice'](0x1);let _0x5c75b5=!0x1;(_0x1c9f08['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c9f08['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c9f08))&&(_0x5c75b5=!0x0),_0x5c75b5&&(_0x5df7bb['preventDefault'](),_0x1bd978['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x49559c}={}){return(_0x5565b4,{writer:_0x38f5e0})=>{if(!g(_0x5565b4))return null;if(!_0x49559c)return _0x38f5e0['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xbb3420=_0x38f5e0['createContainerElement']('p');return _0x38f5e0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xbb3420),_0xbb3420;};}function g(_0x167eff){const {parent:_0x102053}=_0x167eff;if(!_0x102053?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x102053['childCount'])return!0x1;for(const _0x5ce84a of _0x167eff['getAttributeKeys']())if(!_0x5ce84a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5ce84a)return!0x1;return!0x0;}function v(_0x1381ef,_0x395290){if(!_0x1381ef['is']('element','paragraph'))return!0x1;const _0x216084=_0x395290['toViewElement'](_0x1381ef);return!!_0x216084&&g(_0x1381ef)!==_0x216084['is']('element','span');}function Q(_0x27818d){return _0x4b8db9(_0x27818d)&&_0x27818d['is']('containerElement')&&!!_0x27818d['getCustomProperty']('footnotesDefinitions');}function D(_0x3cf47b,_0x68732d={}){const _0x1989bc=_0x3cf47b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x48c272=_0x3cf47b['createContainerElement']('ol',{'class':'footnotes-list'},_0x3cf47b['createSlot']());return _0x3cf47b['createContainerElement']('div',{'class':'footnotes',..._0x68732d},[_0x1989bc,_0x48c272]);}function b(_0x2a7b3a,_0x3b37e1){const _0x269687=_0x2a7b3a['getAttribute']('footnoteId'),_0x4dc749=_0x2a7b3a['getAttribute']('footnoteCounter'),_0x5864d6=_0x3b37e1['createUIElement']('a',{'href':'#'+_0x269687},function(_0x1d693b){const _0x588155=this['toDomElement'](_0x1d693b);return _0x588155['textContent']=_0x4dc749,_0x588155;}),_0x3cb178=_0x3b37e1['createContainerElement']('sup',{'id':'ref-'+_0x269687,'class':'footnote'},[_0x5864d6]);return _0x3cb178['getFillerOffset']=()=>null,_0x3cb178;}function y(_0x314070,_0xf42d13,_0x2281aa,{dataPipeline:_0x5b476c}={}){const {t:t}=_0x2281aa,_0x131020=_0x314070['getAttribute']('footnoteId'),_0x2f1632=_0xf42d13['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x131020},function(_0x14b52c){const _0x52d532=this['toDomElement'](_0x14b52c);return _0x52d532['innerText']='^',_0x52d532;}),_0x39f6cf=_0x5b476c?_0xf42d13['createContainerElement']('div',{'class':'footnote-content'}):_0xbeec38(_0xf42d13['createEditableElement']('div',{'class':'footnote-content'}),_0xf42d13,{'label':t('Footnote\x20content.')});return _0xf42d13['insert'](_0xf42d13['createPositionAt'](_0x39f6cf,0x0),_0xf42d13['createSlot']()),_0xf42d13['createContainerElement']('li',{'class':'footnote-definition','id':_0x131020},[_0x2f1632,_0x39f6cf]);}class e extends _0x376500{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x46fbd3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3c9211}=this,{plugins:_0x308c4e,model:_0x37545b}=_0x3c9211,_0x50e6a9=_0x308c4e['get'](_0x46fbd3),_0x67cda5=_0x308c4e['get'](f);this['listenTo'](_0x50e6a9,'outputTransformation',(_0x2ad99a,_0x7f69ab)=>{const _0x5670bb=l(_0x37545b['createRangeIn'](_0x7f69ab['content']));if(!_0x5670bb['length'])return;const _0x4d5ae5=_0x67cda5['getFootnotes'](),_0xb298a5=_0x5670bb['reduce']((_0x3f45c9,_0x449fcb)=>{const _0x47b629=_0x4d5ae5['find'](_0x3e1722=>_0x3e1722['id']===_0x449fcb);if(_0x47b629){const _0x3ed7cb=_0x3c9211['data']['toView'](_0x47b629['definition'],{'isClipboardPipeline':!0x0}),_0x4d4891=_0x3c9211['data']['htmlProcessor']['toData'](_0x3ed7cb);_0x3f45c9[_0x47b629['id']]=_0x4d4891;}return _0x3f45c9;},Object['create'](null));_0x7f69ab['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xb298a5));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2fc3e8}=this,{model:_0x3c6a66,plugins:_0xef3553}=_0x2fc3e8,{view:_0x5dca46}=_0x2fc3e8['editing'],_0x292e01=_0xef3553['get'](_0x46fbd3),_0x273bfb=_0xef3553['get'](f),_0x1cbc0e=_0x2fc3e8['config']['get']('footnotes.multiBlock');let _0x17bf58=null;this['listenTo'](_0x5dca46['document'],'clipboardInput',(_0x352823,_0x44e727)=>{const _0x3d2178=_0x44e727['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x17bf58=_0x3d2178?JSON['parse'](_0x3d2178):null;}),this['listenTo'](_0x292e01,'contentInsertion',(_0x4520a0,_0x2c1cba)=>{const _0x1ebbb4=_0x2c1cba['sourceEditorId']===this['editor']['id'];_0x1ebbb4&&'drop'===_0x2c1cba['method']||_0x3c6a66['change'](_0x1b0247=>{let _0x47d9fe=_0x273bfb['getFootnotesDefinitionsObjectElement']();const _0x4accc8=!!_0x47d9fe&&Array['from'](_0x3c6a66['document']['selection']['getSelectedBlocks']())['includes'](_0x47d9fe);if(!_0x17bf58&&function(_0x2002aa){for(const {item:_0x400405}of _0x2002aa)if(_0x400405['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3c6a66['createRangeIn'](_0x2c1cba['content']))&&(_0x17bf58=function(_0x267bfa,_0x53667f){const _0x36ca04=c(_0x267bfa,_0x53667f);if(!_0x36ca04)return null;const _0x2666c1=Object['create'](null);for(const _0x4ce0b6 of _0x36ca04['getChildren']())_0x4ce0b6['is']('element','footnoteDefinition')&&_0x4ce0b6['hasAttribute']('footnoteId')&&(_0x2666c1[_0x4ce0b6['getAttribute']('footnoteId')]=_0x267bfa['cloneElement'](_0x4ce0b6,!0x0));return Object['keys'](_0x2666c1)['length']?_0x2666c1:null;}(_0x1b0247,_0x2c1cba['content'])),(_0x47d9fe&&!_0x4accc8||!_0x47d9fe&&!_0x17bf58)&&function(_0x2b09bb,_0x49e145){const _0x3fb929=[];for(const {item:_0x2e253b}of _0x2b09bb['createRangeIn'](_0x49e145))_0x2e253b['is']('element','footnotesDefinitions')&&_0x3fb929['push'](_0x2e253b);for(const _0x18731c of _0x3fb929)_0x2b09bb['remove'](_0x18731c);}(_0x1b0247,_0x2c1cba['content']),!_0x17bf58)return;const {selection:_0x4e9f5e}=_0x3c6a66['document'],_0x5ec3b7=_0x4e9f5e['getFirstRange']()['root'];_0x47d9fe&&!_0x4accc8||(_0x47d9fe=c(_0x1b0247,_0x2c1cba['content']),_0x47d9fe||=_0x273bfb['_insertEmptyFootnotesDefinitionsContainer'](_0x1b0247,_0x5ec3b7));const _0x48e22b=Array['from'](_0x4e9f5e['getRanges']())['flatMap'](l),_0x1fd3f8=function(_0x1b46b1,_0x5b2dc5,_0x384076){const _0x4c271f=Object['create'](null);for(const {item:_0x2ee827}of _0x1b46b1['createRangeIn'](_0x5b2dc5))if(_0x2ee827['is']('element','footnoteRef')){const _0x267daa=_0x2ee827['getAttribute']('footnoteId');if(!_0x384076(_0x267daa))continue;_0x4c271f[_0x267daa]||(_0x4c271f[_0x267daa]=_0x9f4a91()),_0x1b46b1['setAttribute']('footnoteId',_0x4c271f[_0x267daa],_0x2ee827);}return _0x4c271f;}(_0x1b0247,_0x2c1cba['content'],_0x47819e=>{if(!_0x1ebbb4)return!0x0;return!!_0x273bfb['getFootnote'](_0x47819e)&&!_0x48e22b['includes'](_0x47819e);});for(const [_0x4030a4,_0x5f4f89]of Object['entries'](_0x17bf58)){const _0x1ef836=_0x1fd3f8[_0x4030a4]||_0x4030a4;let _0xd5d030;if('string'!=typeof _0x5f4f89)_0xd5d030=_0x5f4f89,_0x1ef836!==_0x4030a4&&_0x1b0247['setAttribute']('footnoteId',_0x1ef836,_0xd5d030);else{_0xd5d030=_0x1b0247['createElement']('footnoteDefinition',{'footnoteId':_0x1ef836});const _0x5b0d9f=_0x2fc3e8['data']['htmlProcessor']['toView'](_0x5f4f89);let _0xdae012;if(_0x1cbc0e)_0xdae012=_0x2fc3e8['data']['toModel'](_0x5b0d9f,_0xd5d030);else{_0xdae012=_0x1b0247['createElement']('footnoteInlineContent');const _0x193d82=_0x2fc3e8['data']['toModel'](_0x5b0d9f,_0xdae012);_0x1b0247['insert'](_0x193d82,_0xdae012);}_0x1b0247['append'](_0xdae012,_0xd5d030);}_0x1b0247['insert'](_0xd5d030,_0x47d9fe,'end');}_0x17bf58=null;});});}}function c(_0x3ed901,_0x48320a){for(const {item:_0x4a47a1}of _0x3ed901['createRangeIn'](_0x48320a))if(_0x4a47a1['is']('element','footnotesDefinitions'))return _0x4a47a1;return null;}function l(_0x42b52e){const _0x56658d=new Set();for(const {item:_0x23d81e}of _0x42b52e)_0x23d81e['is']('element','footnoteRef')&&_0x56658d['add'](_0x23d81e['getAttribute']('footnoteId'));return Array['from'](_0x56658d);}class i extends _0x376500{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1cc321}=this,{componentFactory:_0x2279b4}=_0x1cc321['ui'];_0x2279b4['add']('insertFootnote',E(_0x1cc321,_0x36aaaf)),_0x2279b4['add']('menuBar:insertFootnote',E(_0x1cc321,_0x7e998c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1791a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3f3008;for(const _0x14981f in _0x1791a9){const _0x473507=_0x14981f,_0x18c297=_0x1791a9[_0x473507];if('footnotesLicenseKeyValid'==_0x18c297||'footnotesLicenseKeyInvalid'==_0x18c297||'footnotesLicenseKeyExpired'==_0x18c297||'footnotesLicenseKeyDomainLimit'==_0x18c297||'footnotesLicenseKeyNotAllowed'==_0x18c297||'footnotesLicenseKeyEvaluationLimit'==_0x18c297||'footnotesLicenseKeyTrialLimit'==_0x18c297||'footnotesLicenseKeyUsageLimit'==_0x18c297){delete _0x1791a9[_0x473507],_0x3f3008=_0x18c297,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3f3008&&_0x1791a9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3f3008&&_0x1791a9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3f3008&&_0x1791a9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3f3008&&_0x1791a9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3f3008&&_0x1791a9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3f3008&&_0x1791a9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3f3008&&_0x1791a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x541587,_0x354d1e){const _0x47daca=_0x541587['commands']['get']('insertFootnote');return _0x181f7e=>{const {t:t}=_0x181f7e,_0x452459=new _0x354d1e(_0x181f7e),_0x6e8e6=_0x452459 instanceof _0x7e998c;return _0x452459['bind']('isEnabled')['to'](_0x47daca,'isEnabled'),_0x452459['set']({'label':t(_0x6e8e6?'Footnote':'Insert\x20footnote'),'icon':_0x392258,'tooltip':!0x0}),_0x452459['on']('execute',()=>{_0x47daca['execute'](),_0x541587['editing']['view']['focus']();}),_0x452459;};}class lt extends _0x376500{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x56fe55{['refresh'](){const {editor:_0x49e8af}=this,_0x252349=_0x49e8af['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x252349,this['value']=_0x252349?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x141227}){const {editor:_0x150661}=this,_0x3b75ea=_0x150661['plugins']['get'](f),_0x5ece6d=_0x3b75ea['getFootnotesDefinitionsObjectElement']();_0x5ece6d&&W['includes'](_0x141227)&&_0x150661['model']['change'](_0x3527cb=>{_0x3527cb['setAttribute']('footnotesListStyle',_0x141227,_0x5ece6d),_0x3b75ea['_updateFootnotesCounters'](_0x3527cb);});}}class C extends _0x56fe55{['refresh'](){const {editor:_0x2adef7}=this,_0x2e14e1=_0x2adef7['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2e14e1,this['value']=_0x2e14e1?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2ba045}){const {editor:_0xff24f2}=this,_0x177897=_0xff24f2['plugins']['get'](f),_0x3d1f91=_0x177897['getFootnotesDefinitionsObjectElement']();_0x3d1f91&&Number['isInteger'](_0x2ba045)&&_0xff24f2['model']['change'](_0x427206=>{_0x427206['setAttribute']('footnotesListStart',_0x2ba045,_0x3d1f91),_0x177897['_updateFootnotesCounters'](_0x427206);});}}class P extends _0x376500{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5327a2}=this;_0x5327a2['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5327a2['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5327a2['commands']['add']('footnotesStyle',new S(_0x5327a2)),_0x5327a2['commands']['add']('footnotesStart',new C(_0x5327a2)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x460597}=this,{schema:_0x20f1b2}=_0x460597['model'];_0x20f1b2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3c0a75}=this,{conversion:_0x1b3288,model:_0x3a8073}=_0x3c0a75,{schema:_0x9cf519}=_0x3a8073;_0x1b3288['for']('upcast')['add'](_0x26e4f3=>{_0x26e4f3['on']('element:ol',(_0x56e20e,_0x120f5b,_0xe4410b)=>{const _0x59fef8=_0x120f5b['viewItem'],_0x4cdb08=_0x120f5b['modelCursor']?.['parent'];_0x59fef8['hasClass']('footnotes-list')&&_0x4cdb08?.['is']('element','footnotesDefinitions')&&(function(_0x261511,_0x2ea9f3,_0x4c719a,_0x21ba3b){if(!_0x21ba3b['checkAttribute'](_0x2ea9f3,'footnotesListStart'))return;let _0x4aa8d7=0x1;const _0x4835d1=_0x4c719a['consumable']['consume'](_0x261511,{'attributes':'start'});if(_0x4835d1){const _0x2a59cf=Number['parseInt'](_0x261511['getAttribute']('start'),0xa);Number['isNaN'](_0x2a59cf)||(_0x4aa8d7=_0x2a59cf);}!_0x4835d1&&_0x2ea9f3['hasAttribute']('footnotesListStart')||_0x4c719a['writer']['setAttribute']('footnotesListStart',_0x4aa8d7,_0x2ea9f3);}(_0x59fef8,_0x4cdb08,_0xe4410b,_0x9cf519),function(_0x574198,_0x5f2dbc,_0x378609,_0x42da25){if(!_0x42da25['checkAttribute'](_0x5f2dbc,'footnotesListStyle'))return;let _0x8d6f47='decimal',_0xa282d9=!0x1;if(_0x378609['consumable']['consume'](_0x574198,{'attributes':'type'})){const _0x105da4={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x574198['getAttribute']('type')];_0x105da4&&(_0x8d6f47=_0x105da4),_0xa282d9=!0x0;}_0x378609['consumable']['consume'](_0x574198,{'styles':'list-style-type'})&&(_0x8d6f47=function(_0x5d70fd){switch(_0x5d70fd){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5d70fd;}}(_0x574198['getStyle']('list-style-type')),_0xa282d9=!0x0),!_0xa282d9&&_0x5f2dbc['hasAttribute']('footnotesListStyle')||_0x378609['writer']['setAttribute']('footnotesListStyle',_0x8d6f47,_0x5f2dbc);}(_0x59fef8,_0x4cdb08,_0xe4410b,_0x9cf519));});}),_0x1b3288['for']('downcast')['add'](_0x43fbc4=>{_0x43fbc4['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x546b34,_0x240600,_0x236e25)=>{if(!_0x236e25['consumable']['consume'](_0x240600['item'],_0x546b34['name']))return;const _0x22843a=M(_0x240600['item'],_0x236e25['mapper']),{attributeNewValue:_0x4d8317}=_0x240600;null==_0x4d8317||0x1===_0x4d8317?_0x236e25['writer']['removeAttribute']('start',_0x22843a):_0x236e25['writer']['setAttribute']('start',String(_0x4d8317),_0x22843a);}),_0x43fbc4['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2fe92c,_0x53d693,_0x594832)=>{if(!_0x594832['consumable']['consume'](_0x53d693['item'],_0x2fe92c['name']))return;const _0x18c824=M(_0x53d693['item'],_0x594832['mapper']),{attributeNewValue:_0x4a7a83}=_0x53d693;_0x4a7a83&&'decimal'!==_0x4a7a83?_0x594832['writer']['setStyle']('list-style-type',_0x4a7a83,_0x18c824):_0x594832['writer']['removeStyle']('list-style-type',_0x18c824);});});}['_definePostfixer'](){const {editor:_0x1c668d}=this,{model:_0x2fb605}=_0x1c668d,_0x132b9f=_0x1c668d['plugins']['get'](f),_0x3df8c5=this['_getDefaultListStyle'](),_0x325399=this['_getDefaultStartIndex']();_0x2fb605['document']['registerPostFixer'](_0x4e915d=>{const _0x2e67ff=_0x2fb605['document']['differ']['getChanges']();let _0x3ba380=!0x1;for(const _0x4a4f2e of _0x2e67ff){if('insert'!==_0x4a4f2e['type']||'$text'===_0x4a4f2e['name'])continue;const _0x55c89a=_0x2fb605['createRangeOn'](_0x4a4f2e['position']['nodeAfter']);for(const _0x5818e8 of _0x55c89a['getItems']())_0x5818e8['is']('element','footnotesDefinitions')&&(!_0x5818e8['hasAttribute']('footnotesListStart')&&_0x2fb605['schema']['checkAttribute'](_0x5818e8,'footnotesListStart')&&(_0x4e915d['setAttribute']('footnotesListStart',_0x325399,_0x5818e8),_0x3ba380=!0x0),!_0x5818e8['hasAttribute']('footnotesListStyle')&&_0x2fb605['schema']['checkAttribute'](_0x5818e8,'footnotesListStyle')&&(_0x4e915d['setAttribute']('footnotesListStyle',_0x3df8c5,_0x5818e8),_0x3ba380=!0x0));}return _0x3ba380&&_0x132b9f['_updateFootnotesCounters'](_0x4e915d),_0x3ba380;});}['_defineFormatter'](){const {editor:_0x3cec79}=this;_0x3cec79['plugins']['get'](f)['setFootnoteFormatter'](_0x39c5dd=>this['_formatFootnoteListValue'](_0x39c5dd));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1167de,value:_0x466d7a,digits:_0x25d3a4}){const _0x488ced=_0x1167de['getAttribute']('footnotesListStyle'),_0x5ee034=_0x1167de['getAttribute']('footnotesListStart'),_0xb4eee1=Math['floor'](_0x466d7a)+(_0x5ee034??0x1)-0x1;switch(_0x488ced){case'decimal-leading-zero':return function(_0x28a4bd,_0x4b32cc){return String(_0x28a4bd)['padStart'](_0x4b32cc,'0');}(_0xb4eee1,Math['max'](0x2,_0x25d3a4));case'lower-alpha':case'lower-latin':return N(_0xb4eee1,!0x1);case'upper-alpha':case'upper-latin':return N(_0xb4eee1,!0x0);case'lower-roman':return X(_0xb4eee1,!0x1);case'upper-roman':return X(_0xb4eee1,!0x0);default:return String(_0xb4eee1);}}}function M(_0x1f9a51,_0x1b3c48){const _0x1f9051=_0x1b3c48['toViewElement'](_0x1f9a51);return Array['from'](_0x1f9051['getChildren']())['find'](_0x4b0f26=>_0x4b0f26['is']('element','ol')&&_0x4b0f26['hasClass']('footnotes-list'));}function N(_0x25089f,_0x12f60a){let _0x438de2='',_0x47cc04=_0x25089f;for(;_0x47cc04>0x0;){const _0x1053ec=(_0x47cc04-0x1)%0x1a;_0x438de2=String['fromCharCode'](0x61+_0x1053ec)+_0x438de2,_0x47cc04=Math['floor']((_0x47cc04-0x1)/0x1a);}return _0x12f60a?_0x438de2['toUpperCase']():_0x438de2;}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(_0x507d75,_0x5f0268){let _0x1a415e='',_0x50559f=_0x507d75;for(const {value:_0x582e51,numeral:_0x4053df}of V)for(;_0x50559f>=_0x582e51;)_0x1a415e+=_0x4053df,_0x50559f-=_0x582e51;return _0x5f0268?_0x1a415e:_0x1a415e['toLowerCase']();}class J extends _0x1f73e8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x40d1b5();['focusCycler'];constructor(_0x46c561,{styleButtonViews:_0x43035f,styleGridAriaLabel:_0x176770}){super(_0x46c561),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x43035f,_0x176770),[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 _0x22bdcc of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x22bdcc['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x58cebc=_0x1410b7=>_0x1410b7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x58cebc),this['keystrokes']['set']('arrowleft',_0x58cebc),this['keystrokes']['set']('arrowup',_0x58cebc),this['keystrokes']['set']('arrowdown',_0x58cebc);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2f30e1,_0x5e3b93){const _0x35d6d0=new _0x1f73e8(this['locale']);return _0x35d6d0['children']=_0x35d6d0['createCollection'](),_0x35d6d0['children']['addMany'](_0x2f30e1),_0x35d6d0['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5e3b93,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x35d6d0['children']}),_0x35d6d0['children']['delegate']('execute')['to'](this),_0x35d6d0['focus']=function(){for(const _0x3652a8 of this['children'])if(_0x3652a8 instanceof _0x36aaaf&&_0x3652a8['isOn'])return void _0x3652a8['focus']();this['children']['first']['focus']();},_0x35d6d0['focusTracker']=new rt(),_0x35d6d0['keystrokes']=new nt(),_0x35d6d0['render'](),_0x35d6d0['keystrokes']['listenTo'](_0x35d6d0['element']),this['children']['add'](_0x35d6d0),_0x35d6d0;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x77cf42=this['_createStartIndexPropertyView'](),_0x36b187=[_0x77cf42],_0x32d2bf=new it(this['locale'],_0x36b187);return _0x32d2bf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x32d2bf['buttonView']['bind']('isEnabled')['toMany'](_0x36b187,'isEnabled',(..._0x1fa318)=>_0x1fa318['some'](_0x4a2211=>_0x4a2211)),_0x32d2bf['buttonView']['on']('change:isEnabled',(_0x1d16d2,_0x4f893e,_0x40a72f)=>{_0x40a72f||(_0x32d2bf['isCollapsed']=!0x0);}),this['children']['add'](_0x32d2bf),[_0x77cf42,_0x32d2bf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x463dfd=new et(this['locale'],ot);return _0x463dfd['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x463dfd['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x463dfd['fieldView']['on']('input',()=>{const _0x4677fe=_0x463dfd['fieldView']['element'],_0x50e7ad=_0x4677fe['valueAsNumber'];Number['isNaN'](_0x50e7ad)?_0x463dfd['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4677fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x50e7ad}):_0x463dfd['errorText']=t(_0x50e7ad<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x463dfd;}}class j extends _0x376500{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1e12bb,_0x1158fc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x50991d}=this,{componentFactory:_0xc6cd94}=_0x50991d['ui'];_0x50991d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xc6cd94['add']('footnotesStyle',function(_0x2e040a){return _0x4c8f30=>{const {t:t}=_0x4c8f30,_0x5316b8=_0x2e040a['commands']['get']('footnotesStyle'),_0x2d5b31=_0x361a6e(_0x4c8f30),{buttonView:_0x24c189}=_0x2d5b31;return _0x2d5b31['class']='ck-footnotes-styles-dropdown',_0x2d5b31['bind']('isEnabled')['to'](_0x5316b8,'isEnabled'),_0x24c189['set']({'label':t('Footnotes\x20style'),'icon':_0x392258,'tooltip':!0x0}),_0x2d5b31['once']('change:isOpen',()=>{const _0x3f2cd8=function({editor:_0x20c7e7,dropdownView:_0x570343}){const {t:t}=_0x20c7e7['locale'],_0x59a8cb=t('Footnotes\x20definitions\x20styles'),_0x377904=function(_0x47040c){const t=_0x47040c['locale']['t'],_0x13fcd9=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4f3f9d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4c6215},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x31142a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x529a8e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x12da9f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2d09be}];return _0x13fcd9['map'](function(_0x2568ce){const _0x43d543=_0x2568ce['locale'];return({label:_0x75015b,icon:_0x533e2c,tooltip:_0x384dbf,style:_0x464842})=>{const _0x113f5e=_0x2568ce['commands']['get']('footnotesStyle'),_0x4ac7b2=new _0x36aaaf(_0x43d543);return _0x4ac7b2['set']({'label':_0x75015b,'icon':_0x533e2c,'tooltip':_0x384dbf}),_0x4ac7b2['bind']('isOn')['to'](_0x113f5e,'value',_0x8056e4=>_0x8056e4===_0x464842),_0x4ac7b2['bind']('isEnabled')['to'](_0x113f5e,'isEnabled'),_0x4ac7b2['on']('execute',()=>{_0x2568ce['execute']('footnotesStyle',{'value':_0x464842}),_0x2568ce['editing']['view']['focus']();}),_0x4ac7b2;};}(_0x47040c));}(_0x20c7e7),_0x5405e5=new J(_0x20c7e7['locale'],{'styleGridAriaLabel':_0x59a8cb,'styleButtonViews':_0x377904}),_0x54cdb9=_0x20c7e7['commands']['get']('footnotesStart');return _0x5405e5['startIndexFieldView']['bind']('isEnabled')['to'](_0x54cdb9),_0x5405e5['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x54cdb9),_0x5405e5['on']('footnotesListStart',(_0x11e370,_0xb9eda3)=>{_0x20c7e7['execute']('footnotesStart',{'value':_0xb9eda3['startIndex']});}),_0x5405e5['delegate']('execute')['to'](_0x570343),_0x5405e5;}({'editor':_0x2e040a,'dropdownView':_0x2d5b31});_0x2d5b31['panelView']['children']['add'](_0x3f2cd8);}),_0x2d5b31;};}(_0x50991d));}['afterInit'](){const {editor:_0x34850e}=this,{t:t}=_0x34850e['locale'],_0x3e66aa=_0x34850e['plugins']['get'](_0x1158fc),{defaultPositions:_0x76e005}=_0x3a46d5;_0x3e66aa['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x34850e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x23083a=>{let _0x71cffd=_0x23083a['getFirstPosition']()?.['parent'];return _0x71cffd?.['is']('$text')&&(_0x71cffd=_0x71cffd['parent']),_0x71cffd?.['is']('element')?_0x71cffd['findAncestor'](Q):null;},'positions':[_0x76e005['southArrowNorth'],_0x76e005['southArrowNorthMiddleWest'],_0x76e005['southArrowNorthMiddleEast'],_0x76e005['southArrowNorthWest'],_0x76e005['southArrowNorthEast'],_0x76e005['northArrowSouth'],_0x76e005['northArrowSouthMiddleWest'],_0x76e005['northArrowSouthMiddleEast'],_0x76e005['northArrowSouthWest'],_0x76e005['northArrowSouthEast'],_0x76e005['viewportStickyNorth']]});}}class ft extends _0x376500{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0xd62422,Command as _0x1c86f6}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x29e748,isWidget as _0x2fcd9f,toWidgetEditable as _0x2c3674,WidgetToolbarRepository as _0x1c64b5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x424fec,logWarning as _0x1e0f78,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x49592f,ClickObserver as _0x24dac4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x41ed3c}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x291f54,ButtonView as _0x3f131d,View as _0x54a423,ViewCollection as _0x3407b3,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x5d7e65,BalloonPanelView as _0x519169,createDropdown as _0x5d942f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x57c674,IconListStyleDecimal as _0x305c0e,IconListStyleDecimalLeadingZero as _0x3d6470,IconListStyleLowerRoman as _0x16d9d5,IconListStyleUpperRoman as _0x9f6240,IconListStyleLowerLatin as _0x2f7b1c,IconListStyleUpperLatin as _0x5f0c0d}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5284b5,_0x461cac){this['_model']=_0x5284b5,this['_elementName']=_0x461cac['elementName'],this['_getElementKey']=_0x461cac['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x19b778){const _0xaefd28=new Set(),_0x47dd88=new Map();for(const _0x3b70c9 of _0x19b778){if('insert'===_0x3b70c9['type']&&'$text'!==_0x3b70c9['name']&&_0x3b70c9['position']['nodeAfter']){const _0x4e36f5=this['_model']['createRangeOn'](_0x3b70c9['position']['nodeAfter']);for(const _0x193fcc of _0x4e36f5['getItems']()){if(!_0x193fcc['is']('element',this['_elementName']))continue;const _0x53df54=this['_getElementKey'](_0x193fcc);_0x47dd88['has'](_0x53df54)||_0x47dd88['set'](_0x53df54,[]),_0x47dd88['get'](_0x53df54)['push'](_0x193fcc);}}if('remove'===_0x3b70c9['type']&&_0x3b70c9['name']===this['_elementName']){const _0x41f4e2=this['_getElementKey']({'getAttribute':_0x152421=>_0x3b70c9['attributes']['get'](_0x152421)});_0xaefd28['add'](_0x41f4e2);}}for(const [_0x5f4b72,_0x3f97a7]of this['_trackedElements'])'$graveyard'===_0x3f97a7['root']['rootName']&&_0xaefd28['add'](_0x5f4b72);for(const _0x26917b of _0xaefd28)this['_trackedElements']['delete'](_0x26917b);for(const [_0x5e2d17,_0xa1c4f7]of _0x47dd88)this['_trackedElements']['set'](_0x5e2d17,_0xa1c4f7[_0xa1c4f7['length']-0x1]);const _0x21cbeb=new Set();for(const [_0xd76e75,_0x1939c1]of _0x47dd88)_0xaefd28['has'](_0xd76e75)&&(_0x21cbeb['add'](_0x1939c1[0x0]),_0x1939c1['length']>0x1?_0x47dd88['set'](_0xd76e75,_0x1939c1['slice'](0x1)):_0x47dd88['delete'](_0xd76e75),_0xaefd28['delete'](_0xd76e75));return{'removed':Array['from'](_0xaefd28),'inserted':Array['from'](_0x47dd88['values']())['flat'](),'moved':Array['from'](_0x21cbeb)};}}class f extends _0xd62422{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21bb56){super(_0x21bb56),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1afba1=>_0x1afba1['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1bc6b7=>_0x1bc6b7['getAttribute']('footnoteId')});}['init'](){const {editor:_0x124024}=this,{model:_0x58ebc4,data:_0x3b6ec8}=_0x124024;_0x58ebc4['document']['registerPostFixer'](_0x469c01=>{const _0x48432b=_0x58ebc4['document']['differ']['getChanges']();let _0x19fadf=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x469c01,_0x48432b)&&(_0x19fadf=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x469c01,_0x48432b)&&(_0x19fadf=!0x0),this['_handleFootnoteReferencesChanges'](_0x469c01,_0x48432b)&&(_0x19fadf=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x469c01)&&(_0x19fadf=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x469c01)&&(_0x19fadf=!0x0),this['_sortFootnoteDefinitions'](_0x469c01)&&(_0x19fadf=!0x0),_0x19fadf;}),this['listenTo'](_0x58ebc4['document'],'change:data',()=>{_0x58ebc4['enqueueChange']({'isUndoable':!0x1},_0xc65913=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xc65913);});},{'priority':'low'}),this['listenTo'](_0x3b6ec8,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x16d24c){return this['_footnotes']['find'](_0x186d89=>_0x186d89['id']===_0x16d24c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x17b613){this['_footnoteFormatter']=_0x17b613;}['_updateFootnotesCounters'](_0x21d99c,_0x50e5c7=0x0){let _0x5ccc33=!0x1;for(let _0x180a49=_0x50e5c7;_0x180a49<this['_footnotes']['length'];_0x180a49++)this['_updateFootnoteRefCounter'](_0x21d99c,_0x180a49)&&(_0x5ccc33=!0x0);return _0x5ccc33;}['_insertEmptyFootnotesDefinitionsContainer'](_0x41aa81,_0x177fa2){const _0x63e9b6=_0x41aa81['createElement']('footnotesDefinitions',{});return _0x41aa81['append'](_0x63e9b6,_0x177fa2),this['_footnotesDefinitions']=_0x63e9b6,_0x63e9b6;}['_ensureFootnotesDefinitionsContainerExists'](_0x59ada7){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4c1436=this['_footnotes'][0x0]['reference']['root'],_0x9a152c=this['_insertEmptyFootnotesDefinitionsContainer'](_0x59ada7,_0x4c1436);for(const _0x9fda43 of this['_footnotes'])_0x9fda43['definition']['parent']||_0x59ada7['insert'](_0x9fda43['definition'],_0x9a152c,'end');this['_updateFootnotesCounters'](_0x59ada7);}['_handleFootnotesDefinitionsObjectChanges'](_0x5049c0,_0x88908a){let _0xdc9ec0=!0x1;const {inserted:_0x336a35,removed:_0x3366d3,moved:_0x451224}=this['_footnoteDefsContainerTracker']['getChanges'](_0x88908a);if(_0x451224['length']&&(this['_footnotesDefinitions']=_0x451224[0x0]),_0x336a35['length']){if(_0x336a35['length']>0x1||this['_footnotesDefinitions']&&_0x336a35['some'](_0x57bda7=>_0x57bda7!==this['_footnotesDefinitions'])){const _0x810288=_0x5049c0['createElement']('footnotesDefinitions',{}),_0x50f4b1=[];this['_footnotesDefinitions']&&_0x50f4b1['push'](this['_footnotesDefinitions']),_0x50f4b1['push'](..._0x336a35),_0x5049c0['insert'](_0x810288,_0x50f4b1[0x0],'before');for(const _0x1fc2cf of _0x50f4b1)_0x5049c0['move'](_0x5049c0['createRangeIn'](_0x1fc2cf),_0x5049c0['createPositionAt'](_0x810288,'end')),_0x5049c0['remove'](_0x1fc2cf);this['_footnotesDefinitions']=_0x810288,this['_updateFootnotesCounters'](_0x5049c0),_0xdc9ec0=!0x0;}else this['_footnotesDefinitions']=_0x336a35[0x0];}if(_0x3366d3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x532b88 of this['_footnotes'])_0x5049c0['remove'](_0x532b88['reference']),_0xdc9ec0=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xdc9ec0;}['_handleFootnoteDefinitionsChanges'](_0xc9e53a,_0x32a4f5){let _0x56bac8=!0x1;const _0x27a519=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x55ba3a,moved:_0x507a3f}=this['_footnoteDefsTracker']['getChanges'](_0x32a4f5);for(const _0x542d22 of[..._0x507a3f,..._0x55ba3a]){const _0x4d5360=_0x542d22['getAttribute']('footnoteId'),_0x28b7b7=this['getFootnote'](_0x4d5360);_0x28b7b7&&(_0x28b7b7['definition']=_0x542d22),_(_0xc9e53a,_0x27a519,_0x542d22)&&(_0x56bac8=!0x0);}return _0x56bac8;}['_handleFootnoteReferencesChanges'](_0x40ce08,_0x30038b){let _0x5ab525=!0x1;const {removed:_0x40e560,inserted:_0x5cd175,moved:_0x287342}=this['_footnoteRefsTracker']['getChanges'](_0x30038b);for(const _0x608379 of _0x40e560)this['_handleRemoveFootnoteReferenceById'](_0x40ce08,_0x608379)&&(_0x5ab525=!0x0);for(const _0x37bb2b of _0x5cd175)this['_handleInsertedFootnoteReference'](_0x40ce08,_0x37bb2b)&&(_0x5ab525=!0x0);for(const _0x4777bd of _0x287342)this['_handleMovedFootnoteReference'](_0x40ce08,_0x4777bd)&&(_0x5ab525=!0x0);return _0x5ab525;}['_handleFootnotesDefinitionsObjectSync'](_0xf2577c){if(!this['_footnotesDefinitions'])return!0x1;let _0x3425df=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5be0be=[];for(const _0x396011 of this['_footnotesDefinitions']['getChildren']()){const _0x376cc6=_0x396011['getAttribute']('footnoteId');this['getFootnote'](_0x376cc6)||(_0x5be0be['unshift'](_0x396011),_0x3425df=!0x0);}for(const _0x28fa55 of _0x5be0be)_0xf2577c['remove'](_0x28fa55);}const _0x46ad29=new Set(),_0xedcbc0=[];for(const _0x1c1098 of this['_footnotesDefinitions']['getChildren']()){const _0x25d3fe=_0x1c1098['getAttribute']('footnoteId');_0x46ad29['has'](_0x25d3fe)?(_0xedcbc0['unshift'](_0x1c1098),_0x3425df=!0x0):_0x46ad29['add'](_0x25d3fe);}for(const _0x3f5164 of _0xedcbc0)_0xf2577c['remove'](_0x3f5164);return this['_footnotesDefinitions']['childCount']||(_0xf2577c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3425df=!0x0),_0x3425df;}['_handleInsertedFootnoteReference'](_0x1d2a3c,_0xdd0c80){if(this['_footnotes']['find'](_0xf04471=>_0xf04471['reference']===_0xdd0c80))return!0x1;let _0x22de99=!0x1;const _0x4f0a90=_0xdd0c80['getAttribute']('footnoteId'),_0x166aef=this['_footnotes']['findIndex'](_0x75a3e1=>_0x75a3e1['id']===_0x4f0a90);-0x1!==_0x166aef&&(_0x1d2a3c['remove'](this['_footnotes'][_0x166aef]['reference']),this['_footnotes']['splice'](_0x166aef,0x1),_0x22de99=!0x0);let _0x41e152=this['_footnotesDefinitions']?function(_0x1bf6a4,_0x520e82){for(const _0x3ae237 of _0x1bf6a4['getChildren']())if(_0x3ae237['getAttribute']('footnoteId')===_0x520e82)return _0x3ae237;return null;}(this['_footnotesDefinitions'],_0x4f0a90):null;_0x41e152||(_0x41e152=_0x1d2a3c['createElement']('footnoteDefinition',{'footnoteId':_0x4f0a90}),this['_footnotesDefinitions']&&(_0x1d2a3c['insert'](_0x41e152,this['_footnotesDefinitions'],'end'),_0x22de99=!0x0));const _0x13032f={'id':_0x4f0a90,'reference':_0xdd0c80,'definition':_0x41e152},_0x15ad42=I(this['editor']['model'],this['_footnotes'],_0xdd0c80);this['_footnotes']['splice'](_0x15ad42,0x0,_0x13032f);let _0x16ba30=_0x15ad42;return-0x1!==_0x166aef&&(_0x16ba30=Math['min'](_0x15ad42,_0x166aef)),this['_updateFootnotesCounters'](_0x1d2a3c,_0x16ba30)&&(_0x22de99=!0x0),_0x22de99;}['_handleRemoveFootnoteReferenceById'](_0xf14fc4,_0x224ea7){const _0xe7858e=this['_footnotes']['findIndex'](_0x5e4b25=>_0x5e4b25['id']===_0x224ea7);if(-0x1===_0xe7858e)return!0x1;let _0x565c67=!0x1;const _0x2f1f32=this['_footnotes'][_0xe7858e];return'$graveyard'!==_0x2f1f32['definition']['root']['rootName']&&(_0xf14fc4['remove'](_0x2f1f32['definition']),_0x565c67=!0x0),this['_footnotes']['splice'](_0xe7858e,0x1),this['_updateFootnotesCounters'](_0xf14fc4,_0xe7858e)&&(_0x565c67=!0x0),_0x565c67;}['_handleMovedFootnoteReference'](_0x12bf9e,_0x41c3e2){const _0x446e21=_0x41c3e2['getAttribute']('footnoteId'),_0x5b7480=this['_footnotes']['findIndex'](_0x31d901=>_0x31d901['id']===_0x446e21),_0x53f29e=this['_footnotes'][_0x5b7480];let _0xecaeb8=!0x1;_0x53f29e['reference']=_0x41c3e2,this['_footnotes']['splice'](_0x5b7480,0x1);const _0x5f28a8=I(this['editor']['model'],this['_footnotes'],_0x41c3e2);return this['_footnotes']['splice'](_0x5f28a8,0x0,_0x53f29e),this['_updateFootnotesCounters'](_0x12bf9e,Math['min'](_0x5b7480,_0x5f28a8))&&(_0xecaeb8=!0x0),_0xecaeb8;}['_updateFootnoteRefCounter'](_0xa8aa85,_0xc94ddc){if(!this['_footnotesDefinitions'])return!0x1;const _0x495b15=this['_footnotes'][_0xc94ddc];let _0x413fa0;return _0x413fa0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x495b15,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xc94ddc+0x1}):String(_0xc94ddc+0x1),_0x495b15['reference']['getAttribute']('footnoteCounter')!=_0x413fa0&&(_0xa8aa85['setAttribute']('footnoteCounter',_0x413fa0,_0x495b15['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xd7244c){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x35b8fb,_0x158bbc){if(_0x35b8fb['length']!==_0x158bbc['length'])return!0x1;for(let _0x2b35d6=0x0;_0x2b35d6<_0x35b8fb['length'];_0x2b35d6++)if(_0x35b8fb[_0x2b35d6]!==_0x158bbc[_0x2b35d6])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xba2c11=>_0xba2c11['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x424b5b=>_0x424b5b['getAttribute']('footnoteId'))))return!0x1;let _0xf71b=!0x1;for(let _0x436713=0x0;_0x436713<this['_footnotes']['length'];_0x436713++){const _0x5f679b=this['_footnotes'][_0x436713],_0x24eb49=_0xd7244c['createPositionBefore'](_0x5f679b['definition']),_0x3fd062=_0xd7244c['createPositionAt'](this['_footnotesDefinitions'],_0x436713);_0x24eb49['isEqual'](_0x3fd062)||(_0xd7244c['move'](_0xd7244c['createRangeOn'](_0x5f679b['definition']),_0x3fd062),_0xf71b=!0x0);}return _0xf71b;}['_ensureFootnotesReferencesHaveProperOrder'](_0x48a72b){if(!this['_footnotes']['length'])return!0x1;const {model:_0x313753}=this['editor'];let _0x127303=!0x1;for(let _0x349961=0x0;_0x349961<this['_footnotes']['length']-0x1;_0x349961++){const _0x114666=this['_footnotes'][_0x349961],_0x495c44=this['_footnotes'][_0x349961+0x1],_0x12695f=_0x313753['createPositionBefore'](_0x114666['reference']),_0x3574b1=_0x313753['createPositionBefore'](_0x495c44['reference']);'after'===_0x12695f['compareWith'](_0x3574b1)&&(this['_handleMovedFootnoteReference'](_0x48a72b,_0x114666['reference']),_0x349961=-0x1,_0x127303=!0x0);}return _0x127303;}}function _(_0x5eabb9,_0x3256e8,_0x405ab9){if(_0x405ab9['childCount'])return!0x1;const _0x1eb0d7=_0x3256e8?'paragraph':'footnoteInlineContent';return _0x5eabb9['insert'](_0x5eabb9['createElement'](_0x1eb0d7),_0x405ab9),!0x0;}function I(_0x4000b1,_0x505e71,_0x5af71b){if(0x0===_0x505e71['length'])return 0x0;const _0x1ca628=_0x4000b1['createPositionBefore'](_0x5af71b);for(let _0x156cbb=0x0;_0x156cbb<_0x505e71['length'];_0x156cbb++){const _0x5974fd=_0x505e71[_0x156cbb],_0x35f1e1=_0x4000b1['createPositionBefore'](_0x5974fd['reference']);if('before'===_0x1ca628['compareWith'](_0x35f1e1))return _0x156cbb;}const _0x1c7c8b=_0x5af71b['root'];let _0x1f404b=-0x1;for(let _0x2a97d0=_0x505e71['length']-0x1;_0x2a97d0>=0x0;_0x2a97d0--)if(_0x505e71[_0x2a97d0]['reference']['root']===_0x1c7c8b){_0x1f404b=_0x2a97d0;break;}if(-0x1!==_0x1f404b)return _0x1f404b+0x1;const _0xeb0061=_0x4000b1['document']['getRootNames'](),_0x3e288f=_0xeb0061['indexOf'](_0x1c7c8b['rootName']),_0x11010f=_0xeb0061[_0x3e288f+0x1];if(_0x11010f){for(let _0x1c7061=0x0;_0x1c7061<_0x505e71['length'];_0x1c7061++)if(_0x505e71[_0x1c7061]['reference']['root']['rootName']===_0x11010f)return _0x1c7061;}return _0x505e71['length'];}class h extends _0x1c86f6{['refresh'](){const _0x487ff3=this['editor']['model']['document']['selection'],_0x430acb=this['_getPositionToInsertFootnote'](_0x487ff3);this['isEnabled']=!!_0x430acb;}['execute'](_0x4cf6b8){const {editor:_0x545bfe}=this,{model:_0x2c8e69}=_0x545bfe,{selection:_0x56479f}=_0x2c8e69['document'],_0x35d9d1=this['_getPositionToInsertFootnote'](_0x56479f);if(!_0x35d9d1)return;const _0x2ed4c1=_0x545bfe['plugins']['get']('FootnotesEditing'),_0x56755c=_0x4cf6b8?.['footnoteId']??_0x424fec();!function(_0x1a90fd){return'string'==typeof _0x1a90fd&&_0x1a90fd['length']>0x0&&!/\s/['test'](_0x1a90fd)&&!/^\d/['test'](_0x1a90fd);}(_0x56755c)?_0x1e0f78('insert-footnote-command-executed-with-invalid-id'):(_0x2c8e69['change'](_0x328328=>{const _0x1ff9ad=_0x328328['createElement']('footnoteRef',{'footnoteId':_0x56755c});_0x2c8e69['insertObject'](_0x1ff9ad,_0x35d9d1,null);}),_0x2ed4c1['_moveSelectionToFootnoteDefinition'](_0x56755c));}['_getPositionToInsertFootnote'](_0xe7a8cd){const {model:_0xb32a40}=this['editor'],{schema:_0x4fa2ed}=_0xb32a40,_0xbddade=_0xe7a8cd['getFirstRange']();for(const _0x474e43 of _0xbddade['getItems']())if(_0x4fa2ed['isBlock'](_0x474e43)||_0x4fa2ed['isObject'](_0x474e43))return null;const _0xa5a9b5=_0xbddade['end'];return _0x4fa2ed['checkChild'](_0xa5a9b5,'footnoteRef')?_0xa5a9b5:null;}}class r extends _0xd62422{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4536c2}=this;_0x4536c2['config']['define']('footnotes.multiBlock',!0x0),_0x4536c2['commands']['add']('insertFootnote',new h(_0x4536c2)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5e4293){const _0x5229ff=_0x556378([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]),_0x4437f6=0x47a28506,_0x38a9b1=0x47a5f976^_0x4437f6,_0x6bd10=window[_0x556378([0x44,0x61,0x74,0x65])][_0x556378([0x6e,0x6f,0x77])](),_0x43e525=_0x5e4293[_0x556378([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3deb80=new window[(_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40fbdd=>{_0x43e525[_0x556378([0x6f,0x6e,0x63,0x65])](_0x556378([0x72,0x65,0x61,0x64,0x79]),_0x40fbdd);}),_0x5b35a7={[_0x556378([0x6b,0x74,0x79])]:_0x556378([0x45,0x43]),[_0x556378([0x75,0x73,0x65])]:_0x556378([0x73,0x69,0x67]),[_0x556378([0x63,0x72,0x76])]:_0x556378([0x50,0x2d,0x32,0x35,0x36]),[_0x556378([0x78])]:_0x556378([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]),[_0x556378([0x79])]:_0x556378([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]),[_0x556378([0x61,0x6c,0x67])]:_0x556378([0x45,0x53,0x32,0x35,0x36])},_0x21ff4b=_0x43e525[_0x556378([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x556378([0x67,0x65,0x74])](_0x556378([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xab6e08(){let _0x281ce1,_0x5033d5=null,_0x2d1f88=null;try{if(_0x21ff4b==_0x556378([0x47,0x50,0x4c]))return _0x556378([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x281ce1=_0x3c9f08(),!_0x281ce1)return _0x556378([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x281ce1[_0x556378([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d1f88=_0x323225(_0x281ce1[_0x556378([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x281ce1[_0x556378([0x6a,0x74,0x69])])),await _0x1c3dd9()?_0x570d38()?_0x3044ed()?_0x556378([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ced46()?(_0x281ce1[_0x556378([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x556378([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5033d5=_0x29e23b(_0x556378([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x281ce1[_0x556378([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x556378([0x74,0x72,0x69,0x61,0x6c])&&(_0x5033d5=_0x29e23b(_0x556378([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x48355f()):_0x556378([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x556378([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x556378([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x556378([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3044ed(){const _0x2b7fe4=[_0x556378([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x556378([0x74,0x72,0x69,0x61,0x6c])][_0x556378([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x281ce1[_0x556378([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6bd10/0x3e8:0xe10*_0x38a9b1;return _0x281ce1[_0x556378([0x65,0x78,0x70])]<_0x2b7fe4;}function _0x570d38(){const _0x5eb0ce=_0x281ce1[_0x556378([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5eb0ce&&(!!_0x5eb0ce[_0x556378([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x556378([0x2a]))||!!_0x5eb0ce[_0x556378([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x556378([0x46,0x4f,0x4f])));}function _0x3ced46(){const _0xb3896=_0x281ce1[_0x556378([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb3896||0x0==_0xb3896[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f71a9}=new URL(window[_0x556378([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb3896[_0x556378([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f71a9))return!0x0;const _0x328c62=_0x4f71a9[_0x556378([0x73,0x70,0x6c,0x69,0x74])](_0x556378([0x2e]));return _0xb3896[_0x556378([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4edd8a=>_0x4edd8a[_0x556378([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x556378([0x2a])))[_0x556378([0x6d,0x61,0x70])](_0x2c6288=>_0x2c6288[_0x556378([0x73,0x70,0x6c,0x69,0x74])](_0x556378([0x2e])))[_0x556378([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dcae1=>_0x1dcae1[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x328c62[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x556378([0x6d,0x61,0x70])](_0x51b4b4=>Array(_0x328c62[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x51b4b4[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x556378([0x66,0x69,0x6c,0x6c])](_0x51b4b4[0x0]===_0x556378([0x2a])?_0x556378([0x2a]):'')[_0x556378([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x51b4b4))[_0x556378([0x73,0x6f,0x6d,0x65])](_0x54caf3=>_0x328c62[_0x556378([0x65,0x76,0x65,0x72,0x79])]((_0x259f3e,_0x5a4027)=>_0x54caf3[_0x5a4027]===_0x259f3e||_0x54caf3[_0x5a4027]===_0x556378([0x2a])));}function _0x48355f(){return _0x5033d5&&_0x2d1f88?new window[(_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45f92a,_0x1f5e68)=>{_0x5033d5[_0x556378([0x74,0x68,0x65,0x6e])](_0x45f92a,_0x1f5e68),_0x2d1f88[_0x556378([0x74,0x68,0x65,0x6e])](_0x5b6cb0=>{_0x5b6cb0!=_0x556378([0x56,0x61,0x6c,0x69,0x64])&&_0x45f92a(_0x5b6cb0);},_0x1f5e68);}):_0x5033d5||_0x2d1f88||_0x556378([0x56,0x61,0x6c,0x69,0x64]);}}function _0x323225(_0x8e8215,_0xb5325d){return new window[(_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f80c9=>{if(_0x46e616())return _0x1f80c9(_0x556378([0x56,0x61,0x6c,0x69,0x64]));_0x4f43ac(),_0x43e525[_0x556378([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x556378([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d05cd=!0x1;const _0x312e1c=_0x424fec();function _0x3f9af3(_0x62a4bb){return!!_0x62a4bb&&(typeof _0x62a4bb===_0x556378([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x62a4bb===_0x556378([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x62a4bb[_0x556378([0x74,0x68,0x65,0x6e])]===_0x556378([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x62a4bb[_0x556378([0x63,0x61,0x74,0x63,0x68])]===_0x556378([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fc0f2(_0x38eac0){_0x3dc79d(_0x38eac0)[_0x556378([0x74,0x68,0x65,0x6e])](_0x46820b=>{if(!_0x46820b||_0x46820b[_0x556378([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x556378([0x6f,0x6b]))return _0x556378([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4dbb75(_0x3cbcb9(_0x312e1c+_0xb5325d))!=_0x46820b[_0x556378([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x556378([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x556378([0x56,0x61,0x6c,0x69,0x64]);})[_0x556378([0x74,0x68,0x65,0x6e])](_0x4c15e0=>(_0x4f680d(),_0x4c15e0),()=>{const _0x4d99d4=_0x25abf2();return null==_0x4d99d4?(_0x4f680d(),_0x556378([0x56,0x61,0x6c,0x69,0x64])):_0x556378(_0x6bd10-_0x4d99d4>(0x63ae0106^_0x4437f6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x556378([0x74,0x68,0x65,0x6e])](_0x1f80c9)[_0x556378([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f80c9(_0x556378([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x347bd8=0x47946b86^_0x4437f6;function _0x4f680d(){const _0xe98b52=_0x556378([0x6c,0x6c,0x63,0x74,0x2d])+_0x4dbb75(_0x3cbcb9(_0x8e8215)),_0x2e0234=_0x1b58ef(_0x4dbb75(window[_0x556378([0x4d,0x61,0x74,0x68])][_0x556378([0x63,0x65,0x69,0x6c])](_0x6bd10/_0x347bd8)));window[_0x556378([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x556378([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe98b52,_0x2e0234);}function _0x25abf2(){const _0x3d1d1f=_0x556378([0x6c,0x6c,0x63,0x74,0x2d])+_0x4dbb75(_0x3cbcb9(_0x8e8215)),_0x5f055b=window[_0x556378([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x556378([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d1d1f);return _0x5f055b?window[_0x556378([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b58ef(_0x5f055b),0x10)*_0x347bd8:null;}function _0x3dc79d(_0x29176a){return new window[(_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x522938,_0x365d8a)=>{_0x29176a[_0x556378([0x74,0x68,0x65,0x6e])](_0x522938,_0x365d8a),window[_0x556378([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x365d8a,0x47a351c6^_0x4437f6);});}}_0x43e525[_0x556378([0x6f,0x6e])](_0x556378([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x274488,_0x2b2b89)=>{if(_0x2b2b89[0x0]!=_0x8e8215)return _0x1f80c9(_0x556378([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b2b89[0x1]={..._0x2b2b89[0x1],[_0x556378([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x312e1c};},{[_0x556378([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x556378([0x68,0x69,0x67,0x68])}),_0x43e525[_0x556378([0x6f,0x6e])](_0x556378([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfd418=>{_0x3f9af3(_0xfd418[_0x556378([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d05cd=!0x0,_0x4fc0f2(_0xfd418[_0x556378([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x556378([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x556378([0x6c,0x6f,0x77])}),_0x3deb80[_0x556378([0x74,0x68,0x65,0x6e])](()=>{_0x4d05cd||_0x1f80c9(_0x556378([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46e616(){return _0x43e525[_0x556378([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x556378([0x76,0x69,0x65,0x77])][_0x556378([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x556378([0x61,0x75,0x74,0x6f]);}function _0x4f43ac(){_0x43e525[_0x556378([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x556378([0x76,0x69,0x65,0x77])][_0x556378([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x556378([0x61,0x75,0x74,0x6f]);}}function _0x29e23b(_0x980504){const _0x25fc93=[new window[(_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47b75f=>setTimeout(_0x47b75f,0x47abbbca^_0x4437f6)),_0x3deb80[_0x556378([0x74,0x68,0x65,0x6e])](()=>new window[(_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x418258=>{let _0x5afc59=0x0;_0x43e525[_0x556378([0x6d,0x6f,0x64,0x65,0x6c])][_0x556378([0x6f,0x6e])](_0x556378([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51a572,_0x512102)=>{_0x512102[0x0][_0x556378([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5afc59++,_0x5afc59==(0x47a280ee^_0x4437f6)&&(_0x418258(),_0x51a572[_0x556378([0x6f,0x66,0x66])]());});}))];return window[_0x556378([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x556378([0x72,0x61,0x63,0x65])](_0x25fc93)[_0x556378([0x74,0x68,0x65,0x6e])](()=>_0x980504);}async function _0xe57549(){await _0x3deb80,_0x43e525[_0x556378([0x6d,0x6f,0x64,0x65,0x6c])][_0x556378([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6c77,_0x43e525[_0x556378([0x6d,0x6f,0x64,0x65,0x6c])][_0x556378([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6c77,_0x43e525[_0x556378([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x556378([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30505a(_0x39cb81){const _0x27fec5=_0x5719bf();_0x43e525[_0x27fec5]=_0x556378([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x39cb81,_0x39cb81!=_0x556378([0x56,0x61,0x6c,0x69,0x64])&&_0xe57549();}function _0x5719bf(){const _0x5b09ed=window[_0x556378([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x556378([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x556378([0x6e,0x6f,0x77])]())[_0x556378([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x556378([0x2e]),'');let _0x2b5b10=_0x556378([0x75]);for(let _0xb40ed7=0x0;_0xb40ed7<_0x5b09ed[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb40ed7+=0x2){let _0x3cf31a=window[_0x556378([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b09ed[_0x556378([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb40ed7,_0xb40ed7+0x2));_0x3cf31a>=_0x5229ff[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cf31a-=_0x5229ff[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b5b10+=_0x5229ff[_0x3cf31a];}return _0x2b5b10;}function _0x3c9f08(){const _0x1ec285=_0x21ff4b[_0x556378([0x73,0x70,0x6c,0x69,0x74])](_0x556378([0x2e]));if(0x3!=_0x1ec285[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ef665(_0x1ec285[0x1]);function _0x3ef665(_0x2b336c){const _0x3c699b=_0xed1e1a(_0x2b336c);return _0x3c699b&&_0x39c650()?_0x3c699b:null;function _0x39c650(){const _0x4a47d1=_0x3c699b[_0x556378([0x6a,0x74,0x69])],_0x4f5e44=window[_0x556378([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a47d1[_0x556378([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a47d1[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x12672d={..._0x3c699b,[_0x556378([0x6a,0x74,0x69])]:_0x4a47d1[_0x556378([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a47d1[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x12672d[_0x556378([0x76,0x63])],_0x3cbcb9(_0x12672d)==_0x4f5e44;}}}async function _0x1c3dd9(){let _0x49a810=!0x0;try{const _0x28f36d=_0x21ff4b[_0x556378([0x73,0x70,0x6c,0x69,0x74])](_0x556378([0x2e])),[_0x4cbd71,_0xa74715,_0x2f06b7]=_0x28f36d;return _0x2afadb(_0x4cbd71),await _0x29e0d8(_0x4cbd71,_0xa74715,_0x2f06b7),_0x49a810;}catch{return!0x1;}function _0x2afadb(_0x39c0e9){const _0x2a4c6a=_0xed1e1a(_0x39c0e9);_0x2a4c6a&&_0x2a4c6a[_0x556378([0x61,0x6c,0x67])]==_0x556378([0x45,0x53,0x32,0x35,0x36])||(_0x49a810=!0x1);}async function _0x29e0d8(_0x5d11a4,_0x3df25e,_0xe187d4){const _0x5f3065=window[_0x556378([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x556378([0x66,0x72,0x6f,0x6d])](_0x378ca(_0xe187d4),_0x312359=>_0x312359[_0x556378([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x369a70=new window[(_0x556378([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x556378([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d11a4+_0x556378([0x2e])+_0x3df25e),_0x414f9f=window[_0x556378([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x556378([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x414f9f)return;const _0x24efdf=await _0x414f9f[_0x556378([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x556378([0x6a,0x77,0x6b]),_0x5b35a7,{[_0x556378([0x6e,0x61,0x6d,0x65])]:_0x556378([0x45,0x43,0x44,0x53,0x41]),[_0x556378([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x556378([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x556378([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x414f9f[_0x556378([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x556378([0x6e,0x61,0x6d,0x65])]:_0x556378([0x45,0x43,0x44,0x53,0x41]),[_0x556378([0x68,0x61,0x73,0x68])]:{[_0x556378([0x6e,0x61,0x6d,0x65])]:_0x556378([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24efdf,_0x5f3065,_0x369a70)||(_0x49a810=!0x1);}}function _0xed1e1a(_0x3734ca){return _0x3734ca[_0x556378([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x556378([0x65,0x79]))?JSON[_0x556378([0x70,0x61,0x72,0x73,0x65])](_0x378ca(_0x3734ca)):null;}function _0x378ca(_0x181f66){return window[_0x556378([0x61,0x74,0x6f,0x62])](_0x181f66[_0x556378([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x556378([0x2b]))[_0x556378([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x556378([0x2f])));}function _0x3cbcb9(_0x1e60c1){let _0x587757=0x1505;function _0x3e7480(_0x57fdc9){for(let _0x13d409=0x0;_0x13d409<_0x57fdc9[_0x556378([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13d409++){const _0x19cbf7=_0x57fdc9[_0x556378([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13d409);_0x587757=(_0x587757<<0x5)+_0x587757+_0x19cbf7,_0x587757&=_0x587757;}}function _0x3d31a6(_0xf6d903){Array[_0x556378([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf6d903)?_0xf6d903[_0x556378([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d31a6):_0xf6d903&&typeof _0xf6d903==_0x556378([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x556378([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf6d903)[_0x556378([0x73,0x6f,0x72,0x74])]()[_0x556378([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x338cb4,_0x537814])=>{_0x3e7480(_0x338cb4),_0x3d31a6(_0x537814);}):_0x3e7480(window[_0x556378([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf6d903));}return _0x3d31a6(_0x1e60c1),_0x587757>>>0x0;}function _0x4dbb75(_0x1a8e39){return _0x1a8e39[_0x556378([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x556378([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x556378([0x30]));}function _0x1b58ef(_0x101bc9){return _0x101bc9[_0x556378([0x73,0x70,0x6c,0x69,0x74])]('')[_0x556378([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x556378([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f6c77(){}function _0x556378(_0x1588c7){return _0x1588c7['map'](_0x5ace26=>String['fromCharCode'](_0x5ace26))['join']('');}_0x30505a(await _0xab6e08());}(this);}['_moveSelectionToFootnoteDefinition'](_0x506f83){const {plugins:_0x2a61c9,editing:_0xa14c2,model:_0x177d30}=this['editor'],_0x44bdb6=_0x2a61c9['get'](f)['getFootnote'](_0x506f83);return!!_0x44bdb6&&(_0x177d30['change'](_0x1be770=>{_0x1be770['setSelection'](_0x1be770['createPositionAt'](_0x44bdb6['definition'],'end'));}),_0xa14c2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x429f88){const {plugins:_0x52e2a7,editing:_0x328ce2,model:_0x2a0f0b}=this['editor'],_0xdbe5db=_0x52e2a7['get'](f)['getFootnote'](_0x429f88);return!!_0xdbe5db&&(_0x2a0f0b['change'](_0x57289a=>{_0x57289a['setSelection'](_0xdbe5db['reference'],'on');}),_0x328ce2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1710f1}=this['editor']['model'],_0x5e2586=this['editor']['config']['get']('footnotes.multiBlock');_0x1710f1['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1710f1['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1710f1['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e2586?_0x1710f1['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1710f1['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1710f1['addChildCheck'](_0x4e4b64=>{for(const _0x2f2a99 of _0x4e4b64)if('footnoteDefinition'===_0x2f2a99['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x58b88a}=this,{conversion:_0x71051d,editing:_0x2e81f5}=_0x58b88a,{t:t}=_0x58b88a['locale'];_0x71051d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5e9ae1,{writer:_0x10efeb,consumable:_0x28248b})=>{const _0x47d074=_0x5e9ae1['getChild'](0x0);if(!_0x47d074||!_0x47d074['is']('element','a'))return null;const _0x50b742=_0x47d074['getAttribute']('href')||'';if(!_0x50b742['startsWith']('#'))return null;const _0x55578e=_0x50b742['replace'](/^#/,'');if(!_0x55578e)return null;_0x28248b['consume'](_0x47d074,{'name':!0x0,'attributes':['href']});for(const {item:_0x5e21bb}of _0x2e81f5['view']['createRangeIn'](_0x47d074))_0x5e21bb['is']('$textProxy')?_0x28248b['consume'](_0x5e21bb['textNode'],{'name':!0x0}):_0x5e21bb['is']('element')&&_0x28248b['consume'](_0x5e21bb,{'name':!0x0});return _0x10efeb['createElement']('footnoteRef',{'footnoteId':_0x55578e});}}),_0x71051d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x37624f,{writer:_0x268190})=>b(_0x37624f,_0x268190)}),_0x71051d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x44b6ff,{writer:_0x4a7732})=>{const _0x4ca71e=_0x44b6ff['getAttribute']('footnoteCounter');return _0x29e748(b(_0x44b6ff,_0x4a7732),_0x4a7732,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4ca71e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5f02c5}=this,{t:t}=_0x5f02c5['locale'],{conversion:_0x2f0ea2}=_0x5f02c5;_0x2f0ea2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2f0ea2['for']('upcast')['add'](_0xa63a42=>{_0xa63a42['on']('element:ol',(_0x5d0e31,_0x51a0fa,_0x2cb65c)=>{const _0xe53c7c=_0x51a0fa['viewItem'];if(!_0xe53c7c['hasClass']('footnotes-list')||!_0x51a0fa['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2cb65c['consumable']['consume'](_0xe53c7c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5126fe,modelCursor:_0x34a1d0}=_0x2cb65c['convertChildren'](_0x51a0fa['viewItem'],_0x51a0fa['modelCursor']);_0x51a0fa['modelRange']=_0x5126fe,_0x51a0fa['modelCursor']=_0x34a1d0;}),_0xa63a42['on']('element:hr',(_0x5f2ded,_0x35ec08,_0x27d3d4)=>{const _0x426089=_0x35ec08['viewItem'];_0x426089['hasClass']('footnotes-divider')&&_0x35ec08['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x27d3d4['consumable']['consume'](_0x426089,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2f0ea2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f21c0,{writer:_0x462e1c})=>D(_0x462e1c)}),_0x2f0ea2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1506d2,{writer:_0xd1976c})=>{const _0x1453b9=D(_0xd1976c,{'data-footnotes-list-label':t('Footnotes')}),_0x4315ad=_0x29e748(_0x1453b9,_0xd1976c,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xd1976c['setCustomProperty']('footnotesDefinitions',!0x0,_0x4315ad),_0x4315ad;}});}['_defineDefinitionConverters'](){const {editor:_0x5db9ba}=this,{conversion:_0x195bf1,locale:_0x43c095}=_0x5db9ba,_0x3f0413=_0x5db9ba['config']['get']('footnotes.multiBlock');_0x195bf1['for']('upcast')['add'](_0x15ebaf=>{_0x15ebaf['on']('element:li',(_0x137d80,_0x3bf706,_0x160e30)=>{const _0x5524f0=_0x3bf706['viewItem'];if(!_0x5524f0['hasClass']('footnote-definition')||!_0x5524f0['getAttribute']('id'))return;const _0x4bb6f0=_0x5524f0['parent'];if(!_0x4bb6f0['is']('element','ol')||!_0x4bb6f0['hasClass']('footnotes-list'))return;if(!_0x160e30['consumable']['test'](_0x5524f0,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x49f5f4=_0x160e30['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5524f0['getAttribute']('id')});if(!_0x160e30['safeInsert'](_0x49f5f4,_0x3bf706['modelCursor']))return;_0x160e30['consumable']['consume'](_0x5524f0,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xc98d24=Array['from'](_0x5524f0['getChildren']())['find'](_0x49d427=>_0x49d427['is']('element')&&_0x49d427['hasClass']('footnote-content'));for(const _0x12934c of _0x5524f0['getChildren']())_0x12934c['is']('element')&&(_0x160e30['consumable']['consume'](_0x12934c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x160e30['consumable']['consume'](_0x12934c,{'name':!0x0,'classes':'footnote-content'}));if(_0xc98d24){if(_0x3f0413)_0x160e30['convertChildren'](_0xc98d24,_0x49f5f4);else{const _0x133d1f=_0x160e30['writer']['createElement']('footnoteInlineContent');_0x160e30['writer']['insert'](_0x133d1f,_0x49f5f4),_0x160e30['convertChildren'](_0xc98d24,_0x133d1f);}}_0x160e30['updateConversionResult'](_0x49f5f4,_0x3bf706);});}),_0x195bf1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1946c3,{writer:_0x27a7ae})=>y(_0x1946c3,_0x27a7ae,_0x43c095,{'dataPipeline':!0x0})}),_0x195bf1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x452ffe,{writer:_0xe502cb})=>y(_0x452ffe,_0xe502cb,_0x43c095)});}['_defineBogusParagraphConverters'](){const {editor:_0x1df364}=this,{conversion:_0x1e47e2}=_0x1df364;_0x1df364['config']['get']('footnotes.multiBlock')?(_0x1e47e2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1e47e2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1df364['model']['document'],'change:data',()=>{!function(_0x5ccf8b,_0x4fc5a2){const _0x48e4f9=_0x5ccf8b['document']['differ'],_0x25fe1d=new Set();for(const _0x11109d of _0x48e4f9['getChanges']()){const _0x15cd2b='attribute'==_0x11109d['type']?_0x11109d['range']['start']['parent']:_0x11109d['position']['parent'];_0x15cd2b['is']('element','footnoteDefinition')&&_0x25fe1d['add'](_0x15cd2b);}for(const _0x2630ff of _0x25fe1d['values']()){const _0x2dbdfb=Array['from'](_0x2630ff['getChildren']())['filter'](_0x2c88b6=>v(_0x2c88b6,_0x4fc5a2['mapper']));for(const _0x2cf8f8 of _0x2dbdfb)_0x4fc5a2['reconvertItem'](_0x2cf8f8);}}(_0x1df364['model'],_0x1df364['editing']);})):(_0x1e47e2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1e47e2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5f3814,{writer:_0x3e4651})=>{const _0x51631c=_0x3e4651['createContainerElement']('span');return _0x3e4651['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x51631c),_0x51631c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x35faa3}=this,{editing:_0x56540e,t:t}=_0x35faa3,_0x315dbf=_0x35faa3['model']['document']['selection'];_0x35faa3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x35faa3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x56540e['view']['document'],'enter',(_0x3c0747,_0x165ffd)=>{const _0x379c9a=function(_0x2976a6){const _0x5f1073=_0x2976a6['getSelectedElement']();if(_0x5f1073?.['is']('element','footnoteRef'))return _0x5f1073;return null;}(_0x315dbf);if(_0x379c9a){const _0x4366bf=_0x379c9a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4366bf),_0x165ffd['preventDefault'](),_0x3c0747['stop']();}},{'context':_0x2fcd9f});}['_defineClickHandlers'](){const {editor:_0x4aad44}=this,{editing:_0x2e8d6b}=_0x4aad44;_0x4aad44['editing']['view']['addObserver'](_0x49592f),_0x4aad44['editing']['view']['addObserver'](_0x24dac4);let _0x4cdbb3=!0x1;this['listenTo'](_0x2e8d6b['view']['document'],'pointerdown',(_0x36e8ec,_0x31c74c)=>{const {target:_0x3efef4}=_0x31c74c,_0xd39a00=_0x2e8d6b['view']['document']['selection'];_0x4cdbb3=!!(_0x3efef4?.['is']('element','a')&&_0x3efef4['parent']?.['is']('element','sup')&&_0x3efef4['parent']['hasClass']('footnote'))&&_0xd39a00['getSelectedElement']()===_0x3efef4['parent'];},{'priority':'high'}),this['listenTo'](_0x2e8d6b['view']['document'],'click',(_0x2d0a57,_0x2b50c0)=>{const {target:_0x465176}=_0x2b50c0;if(!_0x465176?.['is']('element','a'))return;if(_0x465176['parent']?.['is']('element','sup')&&_0x465176['parent']['hasClass']('footnote')&&!_0x4cdbb3)return void _0x2b50c0['preventDefault']();let _0x39597e=_0x465176['getAttribute']('href');if(!_0x39597e?.['startsWith']('#'))return;_0x39597e=_0x39597e['slice'](0x1);let _0xc65a74=!0x1;(_0x39597e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x39597e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x39597e))&&(_0xc65a74=!0x0),_0xc65a74&&(_0x2b50c0['preventDefault'](),_0x2d0a57['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xc0ddc8}={}){return(_0x105c59,{writer:_0x7f0429})=>{if(!g(_0x105c59))return null;if(!_0xc0ddc8)return _0x7f0429['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x184d71=_0x7f0429['createContainerElement']('p');return _0x7f0429['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x184d71),_0x184d71;};}function g(_0x1c4da5){const {parent:_0x39f3f1}=_0x1c4da5;if(!_0x39f3f1?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x39f3f1['childCount'])return!0x1;for(const _0x2ee92 of _0x1c4da5['getAttributeKeys']())if(!_0x2ee92['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2ee92)return!0x1;return!0x0;}function v(_0x499ac7,_0x5f5272){if(!_0x499ac7['is']('element','paragraph'))return!0x1;const _0x28daa3=_0x5f5272['toViewElement'](_0x499ac7);return!!_0x28daa3&&g(_0x499ac7)!==_0x28daa3['is']('element','span');}function Q(_0x1cc89b){return _0x2fcd9f(_0x1cc89b)&&_0x1cc89b['is']('containerElement')&&!!_0x1cc89b['getCustomProperty']('footnotesDefinitions');}function D(_0x28115c,_0x4b68be={}){const _0x309bcb=_0x28115c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xcbf9ff=_0x28115c['createContainerElement']('ol',{'class':'footnotes-list'},_0x28115c['createSlot']());return _0x28115c['createContainerElement']('div',{'class':'footnotes',..._0x4b68be},[_0x309bcb,_0xcbf9ff]);}function b(_0x5917ff,_0xa45794){const _0x560181=_0x5917ff['getAttribute']('footnoteId'),_0x7a6e=_0x5917ff['getAttribute']('footnoteCounter'),_0x207a49=_0xa45794['createUIElement']('a',{'href':'#'+_0x560181},function(_0x137376){const _0x50d122=this['toDomElement'](_0x137376);return _0x50d122['textContent']=_0x7a6e,_0x50d122;}),_0x33dbe8=_0xa45794['createContainerElement']('sup',{'id':'ref-'+_0x560181,'class':'footnote'},[_0x207a49]);return _0x33dbe8['getFillerOffset']=()=>null,_0x33dbe8;}function y(_0x2aa76f,_0x20b88f,_0x646f0,{dataPipeline:_0x4cc3ba}={}){const {t:t}=_0x646f0,_0x459c80=_0x2aa76f['getAttribute']('footnoteId'),_0x14603f=_0x20b88f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x459c80},function(_0x165db5){const _0x55f138=this['toDomElement'](_0x165db5);return _0x55f138['innerText']='^',_0x55f138;}),_0x5b3150=_0x4cc3ba?_0x20b88f['createContainerElement']('div',{'class':'footnote-content'}):_0x2c3674(_0x20b88f['createEditableElement']('div',{'class':'footnote-content'}),_0x20b88f,{'label':t('Footnote\x20content.')});return _0x20b88f['insert'](_0x20b88f['createPositionAt'](_0x5b3150,0x0),_0x20b88f['createSlot']()),_0x20b88f['createContainerElement']('li',{'class':'footnote-definition','id':_0x459c80},[_0x14603f,_0x5b3150]);}class e extends _0xd62422{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x41ed3c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4df540}=this,{plugins:_0x3e0228,model:_0x5e30e1}=_0x4df540,_0x28fc80=_0x3e0228['get'](_0x41ed3c),_0x3612e2=_0x3e0228['get'](f);this['listenTo'](_0x28fc80,'outputTransformation',(_0x14ae88,_0x227950)=>{const _0x5e0a37=l(_0x5e30e1['createRangeIn'](_0x227950['content']));if(!_0x5e0a37['length'])return;const _0x53cabc=_0x3612e2['getFootnotes'](),_0x28b431=_0x5e0a37['reduce']((_0x5d6d99,_0x39513f)=>{const _0x8e2004=_0x53cabc['find'](_0x5de17c=>_0x5de17c['id']===_0x39513f);if(_0x8e2004){const _0x12e9dd=_0x4df540['data']['toView'](_0x8e2004['definition'],{'isClipboardPipeline':!0x0}),_0x518e27=_0x4df540['data']['htmlProcessor']['toData'](_0x12e9dd);_0x5d6d99[_0x8e2004['id']]=_0x518e27;}return _0x5d6d99;},Object['create'](null));_0x227950['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x28b431));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x29b6cd}=this,{model:_0x45444f,plugins:_0x174fcf}=_0x29b6cd,{view:_0x3414b5}=_0x29b6cd['editing'],_0x215222=_0x174fcf['get'](_0x41ed3c),_0x326d64=_0x174fcf['get'](f),_0x7322c5=_0x29b6cd['config']['get']('footnotes.multiBlock');let _0x198a98=null;this['listenTo'](_0x3414b5['document'],'clipboardInput',(_0x374a08,_0x17bfe4)=>{const _0x13cb2b=_0x17bfe4['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x198a98=_0x13cb2b?JSON['parse'](_0x13cb2b):null;}),this['listenTo'](_0x215222,'contentInsertion',(_0x2e6dd3,_0x333fb4)=>{const _0x2bde52=_0x333fb4['sourceEditorId']===this['editor']['id'];_0x2bde52&&'drop'===_0x333fb4['method']||_0x45444f['change'](_0x51f2d0=>{let _0xe71844=_0x326d64['getFootnotesDefinitionsObjectElement']();const _0x31d84e=!!_0xe71844&&Array['from'](_0x45444f['document']['selection']['getSelectedBlocks']())['includes'](_0xe71844);if(!_0x198a98&&function(_0xc692bf){for(const {item:_0x46510a}of _0xc692bf)if(_0x46510a['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x45444f['createRangeIn'](_0x333fb4['content']))&&(_0x198a98=function(_0x113ffc,_0x18e616){const _0x5afb8e=c(_0x113ffc,_0x18e616);if(!_0x5afb8e)return null;const _0x3d66ab=Object['create'](null);for(const _0x10ecd0 of _0x5afb8e['getChildren']())_0x10ecd0['is']('element','footnoteDefinition')&&_0x10ecd0['hasAttribute']('footnoteId')&&(_0x3d66ab[_0x10ecd0['getAttribute']('footnoteId')]=_0x113ffc['cloneElement'](_0x10ecd0,!0x0));return Object['keys'](_0x3d66ab)['length']?_0x3d66ab:null;}(_0x51f2d0,_0x333fb4['content'])),(_0xe71844&&!_0x31d84e||!_0xe71844&&!_0x198a98)&&function(_0x17bcf0,_0x4f1d63){const _0x4fd41f=[];for(const {item:_0x125ee8}of _0x17bcf0['createRangeIn'](_0x4f1d63))_0x125ee8['is']('element','footnotesDefinitions')&&_0x4fd41f['push'](_0x125ee8);for(const _0x2a2eb2 of _0x4fd41f)_0x17bcf0['remove'](_0x2a2eb2);}(_0x51f2d0,_0x333fb4['content']),!_0x198a98)return;const {selection:_0x14b58d}=_0x45444f['document'],_0x591fb2=_0x14b58d['getFirstRange']()['root'];_0xe71844&&!_0x31d84e||(_0xe71844=c(_0x51f2d0,_0x333fb4['content']),_0xe71844||=_0x326d64['_insertEmptyFootnotesDefinitionsContainer'](_0x51f2d0,_0x591fb2));const _0x1b92c9=Array['from'](_0x14b58d['getRanges']())['flatMap'](l),_0x4ad0f8=function(_0x10318b,_0xc040e8,_0x21dcf){const _0x43f0b5=Object['create'](null);for(const {item:_0xdc30ae}of _0x10318b['createRangeIn'](_0xc040e8))if(_0xdc30ae['is']('element','footnoteRef')){const _0x1de5ab=_0xdc30ae['getAttribute']('footnoteId');if(!_0x21dcf(_0x1de5ab))continue;_0x43f0b5[_0x1de5ab]||(_0x43f0b5[_0x1de5ab]=_0x424fec()),_0x10318b['setAttribute']('footnoteId',_0x43f0b5[_0x1de5ab],_0xdc30ae);}return _0x43f0b5;}(_0x51f2d0,_0x333fb4['content'],_0x1a9833=>{if(!_0x2bde52)return!0x0;return!!_0x326d64['getFootnote'](_0x1a9833)&&!_0x1b92c9['includes'](_0x1a9833);});for(const [_0x1a1708,_0x9151d3]of Object['entries'](_0x198a98)){const _0x2192b3=_0x4ad0f8[_0x1a1708]||_0x1a1708;let _0x4172c3;if('string'!=typeof _0x9151d3)_0x4172c3=_0x9151d3,_0x2192b3!==_0x1a1708&&_0x51f2d0['setAttribute']('footnoteId',_0x2192b3,_0x4172c3);else{_0x4172c3=_0x51f2d0['createElement']('footnoteDefinition',{'footnoteId':_0x2192b3});const _0x289aca=_0x29b6cd['data']['htmlProcessor']['toView'](_0x9151d3);let _0x239ae5;if(_0x7322c5)_0x239ae5=_0x29b6cd['data']['toModel'](_0x289aca,_0x4172c3);else{_0x239ae5=_0x51f2d0['createElement']('footnoteInlineContent');const _0xcefca6=_0x29b6cd['data']['toModel'](_0x289aca,_0x239ae5);_0x51f2d0['insert'](_0xcefca6,_0x239ae5);}_0x51f2d0['append'](_0x239ae5,_0x4172c3);}_0x51f2d0['insert'](_0x4172c3,_0xe71844,'end');}_0x198a98=null;});});}}function c(_0x3a46ca,_0xa76aaf){for(const {item:_0x137bb6}of _0x3a46ca['createRangeIn'](_0xa76aaf))if(_0x137bb6['is']('element','footnotesDefinitions'))return _0x137bb6;return null;}function l(_0x37b7d7){const _0x79fb98=new Set();for(const {item:_0x5339b6}of _0x37b7d7)_0x5339b6['is']('element','footnoteRef')&&_0x79fb98['add'](_0x5339b6['getAttribute']('footnoteId'));return Array['from'](_0x79fb98);}class i extends _0xd62422{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25db22}=this,{componentFactory:_0x2f98c8}=_0x25db22['ui'];_0x2f98c8['add']('insertFootnote',E(_0x25db22,_0x3f131d)),_0x2f98c8['add']('menuBar:insertFootnote',E(_0x25db22,_0x291f54)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1c79de=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28cbe7;for(const _0x2b81a8 in _0x1c79de){const _0x1b4580=_0x2b81a8,_0x5c1c05=_0x1c79de[_0x1b4580];if('footnotesLicenseKeyValid'==_0x5c1c05||'footnotesLicenseKeyInvalid'==_0x5c1c05||'footnotesLicenseKeyExpired'==_0x5c1c05||'footnotesLicenseKeyDomainLimit'==_0x5c1c05||'footnotesLicenseKeyNotAllowed'==_0x5c1c05||'footnotesLicenseKeyEvaluationLimit'==_0x5c1c05||'footnotesLicenseKeyTrialLimit'==_0x5c1c05||'footnotesLicenseKeyUsageLimit'==_0x5c1c05){delete _0x1c79de[_0x1b4580],_0x28cbe7=_0x5c1c05,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x28cbe7&&_0x1c79de['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x28cbe7&&_0x1c79de['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x28cbe7&&_0x1c79de['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x28cbe7&&_0x1c79de['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x28cbe7&&_0x1c79de['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x28cbe7&&_0x1c79de['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x28cbe7&&_0x1c79de['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3e9d2b,_0x31ddeb){const _0x460138=_0x3e9d2b['commands']['get']('insertFootnote');return _0x88acad=>{const {t:t}=_0x88acad,_0x19cfea=new _0x31ddeb(_0x88acad),_0x15598d=_0x19cfea instanceof _0x291f54;return _0x19cfea['bind']('isEnabled')['to'](_0x460138,'isEnabled'),_0x19cfea['set']({'label':t(_0x15598d?'Footnote':'Insert\x20footnote'),'icon':_0x57c674,'tooltip':!0x0}),_0x19cfea['on']('execute',()=>{_0x460138['execute'](),_0x3e9d2b['editing']['view']['focus']();}),_0x19cfea;};}class lt extends _0xd62422{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1c86f6{['refresh'](){const {editor:_0x947327}=this,_0x26613b=_0x947327['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x26613b,this['value']=_0x26613b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x9403c1}){const {editor:_0x327a45}=this,_0x2d551e=_0x327a45['plugins']['get'](f),_0x28940c=_0x2d551e['getFootnotesDefinitionsObjectElement']();_0x28940c&&W['includes'](_0x9403c1)&&_0x327a45['model']['change'](_0x250581=>{_0x250581['setAttribute']('footnotesListStyle',_0x9403c1,_0x28940c),_0x2d551e['_updateFootnotesCounters'](_0x250581);});}}class C extends _0x1c86f6{['refresh'](){const {editor:_0x186c9e}=this,_0x478811=_0x186c9e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x478811,this['value']=_0x478811?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x39a9d0}){const {editor:_0x226f67}=this,_0x31a861=_0x226f67['plugins']['get'](f),_0x30fed5=_0x31a861['getFootnotesDefinitionsObjectElement']();_0x30fed5&&Number['isInteger'](_0x39a9d0)&&_0x226f67['model']['change'](_0x2d4598=>{_0x2d4598['setAttribute']('footnotesListStart',_0x39a9d0,_0x30fed5),_0x31a861['_updateFootnotesCounters'](_0x2d4598);});}}class P extends _0xd62422{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c6d46}=this;_0x4c6d46['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4c6d46['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4c6d46['commands']['add']('footnotesStyle',new S(_0x4c6d46)),_0x4c6d46['commands']['add']('footnotesStart',new C(_0x4c6d46)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3c86c5}=this,{schema:_0x3c340c}=_0x3c86c5['model'];_0x3c340c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2ccf70}=this,{conversion:_0x4b0416,model:_0x37ae79}=_0x2ccf70,{schema:_0x57084f}=_0x37ae79;_0x4b0416['for']('upcast')['add'](_0xd50e61=>{_0xd50e61['on']('element:ol',(_0x9d4fbc,_0x4a9e70,_0x486cd3)=>{const _0x51b0f5=_0x4a9e70['viewItem'],_0x17317b=_0x4a9e70['modelCursor']?.['parent'];_0x51b0f5['hasClass']('footnotes-list')&&_0x17317b?.['is']('element','footnotesDefinitions')&&(function(_0x3c3472,_0x47321f,_0x2f0edb,_0x2ca185){if(!_0x2ca185['checkAttribute'](_0x47321f,'footnotesListStart'))return;let _0x50df35=0x1;const _0x5c236f=_0x2f0edb['consumable']['consume'](_0x3c3472,{'attributes':'start'});if(_0x5c236f){const _0x8ece88=Number['parseInt'](_0x3c3472['getAttribute']('start'),0xa);Number['isNaN'](_0x8ece88)||(_0x50df35=_0x8ece88);}!_0x5c236f&&_0x47321f['hasAttribute']('footnotesListStart')||_0x2f0edb['writer']['setAttribute']('footnotesListStart',_0x50df35,_0x47321f);}(_0x51b0f5,_0x17317b,_0x486cd3,_0x57084f),function(_0x577f2,_0x17e5ab,_0x49c279,_0x14d2a5){if(!_0x14d2a5['checkAttribute'](_0x17e5ab,'footnotesListStyle'))return;let _0x322084='decimal',_0x48768b=!0x1;if(_0x49c279['consumable']['consume'](_0x577f2,{'attributes':'type'})){const _0x1c5107={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x577f2['getAttribute']('type')];_0x1c5107&&(_0x322084=_0x1c5107),_0x48768b=!0x0;}_0x49c279['consumable']['consume'](_0x577f2,{'styles':'list-style-type'})&&(_0x322084=function(_0x58e415){switch(_0x58e415){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x58e415;}}(_0x577f2['getStyle']('list-style-type')),_0x48768b=!0x0),!_0x48768b&&_0x17e5ab['hasAttribute']('footnotesListStyle')||_0x49c279['writer']['setAttribute']('footnotesListStyle',_0x322084,_0x17e5ab);}(_0x51b0f5,_0x17317b,_0x486cd3,_0x57084f));});}),_0x4b0416['for']('downcast')['add'](_0xd695f2=>{_0xd695f2['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x211068,_0xe089aa,_0x2802a5)=>{if(!_0x2802a5['consumable']['consume'](_0xe089aa['item'],_0x211068['name']))return;const _0x221a4c=M(_0xe089aa['item'],_0x2802a5['mapper']),{attributeNewValue:_0x58890e}=_0xe089aa;null==_0x58890e||0x1===_0x58890e?_0x2802a5['writer']['removeAttribute']('start',_0x221a4c):_0x2802a5['writer']['setAttribute']('start',String(_0x58890e),_0x221a4c);}),_0xd695f2['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x19b4d3,_0x422ec7,_0x5467c9)=>{if(!_0x5467c9['consumable']['consume'](_0x422ec7['item'],_0x19b4d3['name']))return;const _0x2185b8=M(_0x422ec7['item'],_0x5467c9['mapper']),{attributeNewValue:_0x376d5d}=_0x422ec7;_0x376d5d&&'decimal'!==_0x376d5d?_0x5467c9['writer']['setStyle']('list-style-type',_0x376d5d,_0x2185b8):_0x5467c9['writer']['removeStyle']('list-style-type',_0x2185b8);});});}['_definePostfixer'](){const {editor:_0x417ad4}=this,{model:_0x21831b}=_0x417ad4,_0x1fc261=_0x417ad4['plugins']['get'](f),_0x4eb886=this['_getDefaultListStyle'](),_0x5a47de=this['_getDefaultStartIndex']();_0x21831b['document']['registerPostFixer'](_0x1b51d3=>{const _0x38b3a9=_0x21831b['document']['differ']['getChanges']();let _0x279f12=!0x1;for(const _0xf1dea9 of _0x38b3a9){if('insert'!==_0xf1dea9['type']||'$text'===_0xf1dea9['name'])continue;const _0x5bb82e=_0x21831b['createRangeOn'](_0xf1dea9['position']['nodeAfter']);for(const _0x4b2546 of _0x5bb82e['getItems']())_0x4b2546['is']('element','footnotesDefinitions')&&(!_0x4b2546['hasAttribute']('footnotesListStart')&&_0x21831b['schema']['checkAttribute'](_0x4b2546,'footnotesListStart')&&(_0x1b51d3['setAttribute']('footnotesListStart',_0x5a47de,_0x4b2546),_0x279f12=!0x0),!_0x4b2546['hasAttribute']('footnotesListStyle')&&_0x21831b['schema']['checkAttribute'](_0x4b2546,'footnotesListStyle')&&(_0x1b51d3['setAttribute']('footnotesListStyle',_0x4eb886,_0x4b2546),_0x279f12=!0x0));}return _0x279f12&&_0x1fc261['_updateFootnotesCounters'](_0x1b51d3),_0x279f12;});}['_defineFormatter'](){const {editor:_0x5c335a}=this;_0x5c335a['plugins']['get'](f)['setFootnoteFormatter'](_0x35d998=>this['_formatFootnoteListValue'](_0x35d998));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x121edf,value:_0x21d6d9,digits:_0x3a64fe}){const _0x41cb53=_0x121edf['getAttribute']('footnotesListStyle'),_0x309e10=_0x121edf['getAttribute']('footnotesListStart'),_0x1536b4=Math['floor'](_0x21d6d9)+(_0x309e10??0x1)-0x1;switch(_0x41cb53){case'decimal-leading-zero':return function(_0x5079f2,_0x311a20){return String(_0x5079f2)['padStart'](_0x311a20,'0');}(_0x1536b4,Math['max'](0x2,_0x3a64fe));case'lower-alpha':case'lower-latin':return N(_0x1536b4,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1536b4,!0x0);case'lower-roman':return X(_0x1536b4,!0x1);case'upper-roman':return X(_0x1536b4,!0x0);default:return String(_0x1536b4);}}}function M(_0x4b722a,_0x268c62){const _0x5f19f9=_0x268c62['toViewElement'](_0x4b722a);return Array['from'](_0x5f19f9['getChildren']())['find'](_0x114347=>_0x114347['is']('element','ol')&&_0x114347['hasClass']('footnotes-list'));}function N(_0x45fe53,_0x32296e){let _0x2e92d7='',_0x18a7a5=_0x45fe53;for(;_0x18a7a5>0x0;){const _0x1615e5=(_0x18a7a5-0x1)%0x1a;_0x2e92d7=String['fromCharCode'](0x61+_0x1615e5)+_0x2e92d7,_0x18a7a5=Math['floor']((_0x18a7a5-0x1)/0x1a);}return _0x32296e?_0x2e92d7['toUpperCase']():_0x2e92d7;}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(_0x531198,_0x5c68ed){let _0x315443='',_0x49a110=_0x531198;for(const {value:_0x250e07,numeral:_0x425927}of V)for(;_0x49a110>=_0x250e07;)_0x315443+=_0x425927,_0x49a110-=_0x250e07;return _0x5c68ed?_0x315443:_0x315443['toLowerCase']();}class J extends _0x54a423{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x3407b3();['focusCycler'];constructor(_0x5a8224,{styleButtonViews:_0x2ae94e,styleGridAriaLabel:_0x459ac5}){super(_0x5a8224),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2ae94e,_0x459ac5),[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 _0x361a82 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x361a82['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x322e23=_0x1dede9=>_0x1dede9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x322e23),this['keystrokes']['set']('arrowleft',_0x322e23),this['keystrokes']['set']('arrowup',_0x322e23),this['keystrokes']['set']('arrowdown',_0x322e23);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3255a1,_0x27e5ea){const _0x72c9dc=new _0x54a423(this['locale']);return _0x72c9dc['children']=_0x72c9dc['createCollection'](),_0x72c9dc['children']['addMany'](_0x3255a1),_0x72c9dc['setTemplate']({'tag':'div','attributes':{'aria-label':_0x27e5ea,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x72c9dc['children']}),_0x72c9dc['children']['delegate']('execute')['to'](this),_0x72c9dc['focus']=function(){for(const _0x5aeb4a of this['children'])if(_0x5aeb4a instanceof _0x3f131d&&_0x5aeb4a['isOn'])return void _0x5aeb4a['focus']();this['children']['first']['focus']();},_0x72c9dc['focusTracker']=new rt(),_0x72c9dc['keystrokes']=new nt(),_0x72c9dc['render'](),_0x72c9dc['keystrokes']['listenTo'](_0x72c9dc['element']),this['children']['add'](_0x72c9dc),_0x72c9dc;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4b3dae=this['_createStartIndexPropertyView'](),_0xdd3be2=[_0x4b3dae],_0x351da2=new it(this['locale'],_0xdd3be2);return _0x351da2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x351da2['buttonView']['bind']('isEnabled')['toMany'](_0xdd3be2,'isEnabled',(..._0x1f1894)=>_0x1f1894['some'](_0x3157b5=>_0x3157b5)),_0x351da2['buttonView']['on']('change:isEnabled',(_0x22f67e,_0x1643ff,_0x33b099)=>{_0x33b099||(_0x351da2['isCollapsed']=!0x0);}),this['children']['add'](_0x351da2),[_0x4b3dae,_0x351da2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x441a69=new et(this['locale'],ot);return _0x441a69['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x441a69['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x441a69['fieldView']['on']('input',()=>{const _0x549afa=_0x441a69['fieldView']['element'],_0x3309dd=_0x549afa['valueAsNumber'];Number['isNaN'](_0x3309dd)?_0x441a69['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x549afa['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3309dd}):_0x441a69['errorText']=t(_0x3309dd<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x441a69;}}class j extends _0xd62422{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5d7e65,_0x1c64b5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x373cf7}=this,{componentFactory:_0x86d57d}=_0x373cf7['ui'];_0x373cf7['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x86d57d['add']('footnotesStyle',function(_0x585d2d){return _0x4ef029=>{const {t:t}=_0x4ef029,_0x49b615=_0x585d2d['commands']['get']('footnotesStyle'),_0x54fd6a=_0x5d942f(_0x4ef029),{buttonView:_0x5ed9e0}=_0x54fd6a;return _0x54fd6a['class']='ck-footnotes-styles-dropdown',_0x54fd6a['bind']('isEnabled')['to'](_0x49b615,'isEnabled'),_0x5ed9e0['set']({'label':t('Footnotes\x20style'),'icon':_0x57c674,'tooltip':!0x0}),_0x54fd6a['once']('change:isOpen',()=>{const _0x23508a=function({editor:_0x602c0a,dropdownView:_0x47bb52}){const {t:t}=_0x602c0a['locale'],_0x17ef8f=t('Footnotes\x20definitions\x20styles'),_0x241b78=function(_0x3dcba3){const t=_0x3dcba3['locale']['t'],_0x511492=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x305c0e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3d6470},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x16d9d5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x9f6240},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2f7b1c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5f0c0d}];return _0x511492['map'](function(_0x28690e){const _0x1cc810=_0x28690e['locale'];return({label:_0x477a3d,icon:_0x2e3cc4,tooltip:_0x4a53bd,style:_0xfaae3a})=>{const _0x4ea4a8=_0x28690e['commands']['get']('footnotesStyle'),_0x114d44=new _0x3f131d(_0x1cc810);return _0x114d44['set']({'label':_0x477a3d,'icon':_0x2e3cc4,'tooltip':_0x4a53bd}),_0x114d44['bind']('isOn')['to'](_0x4ea4a8,'value',_0x10d4a1=>_0x10d4a1===_0xfaae3a),_0x114d44['bind']('isEnabled')['to'](_0x4ea4a8,'isEnabled'),_0x114d44['on']('execute',()=>{_0x28690e['execute']('footnotesStyle',{'value':_0xfaae3a}),_0x28690e['editing']['view']['focus']();}),_0x114d44;};}(_0x3dcba3));}(_0x602c0a),_0x17df69=new J(_0x602c0a['locale'],{'styleGridAriaLabel':_0x17ef8f,'styleButtonViews':_0x241b78}),_0x3d6b73=_0x602c0a['commands']['get']('footnotesStart');return _0x17df69['startIndexFieldView']['bind']('isEnabled')['to'](_0x3d6b73),_0x17df69['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3d6b73),_0x17df69['on']('footnotesListStart',(_0x179189,_0x279563)=>{_0x602c0a['execute']('footnotesStart',{'value':_0x279563['startIndex']});}),_0x17df69['delegate']('execute')['to'](_0x47bb52),_0x17df69;}({'editor':_0x585d2d,'dropdownView':_0x54fd6a});_0x54fd6a['panelView']['children']['add'](_0x23508a);}),_0x54fd6a;};}(_0x373cf7));}['afterInit'](){const {editor:_0x568101}=this,{t:t}=_0x568101['locale'],_0x348d85=_0x568101['plugins']['get'](_0x1c64b5),{defaultPositions:_0x4fe5ff}=_0x519169;_0x348d85['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x568101['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2dd9ba=>{let _0x38ec73=_0x2dd9ba['getFirstPosition']()?.['parent'];return _0x38ec73?.['is']('$text')&&(_0x38ec73=_0x38ec73['parent']),_0x38ec73?.['is']('element')?_0x38ec73['findAncestor'](Q):null;},'positions':[_0x4fe5ff['southArrowNorth'],_0x4fe5ff['southArrowNorthMiddleWest'],_0x4fe5ff['southArrowNorthMiddleEast'],_0x4fe5ff['southArrowNorthWest'],_0x4fe5ff['southArrowNorthEast'],_0x4fe5ff['northArrowSouth'],_0x4fe5ff['northArrowSouthMiddleWest'],_0x4fe5ff['northArrowSouthMiddleEast'],_0x4fe5ff['northArrowSouthWest'],_0x4fe5ff['northArrowSouthEast'],_0x4fe5ff['viewportStickyNorth']]});}}class ft extends _0xd62422{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x156bbf=>0x1!=_0x156bbf}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1df589=>0x1!=_0x1df589}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xca4484=>{const {af:{dictionary:_0x542750,getPluralForm:_0x5cb715}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xf03f98=>0x1!=_0xf03f98}};_0xca4484['af']||={'dictionary':{},'getPluralForm':null},_0xca4484['af']['dictionary']=Object['assign'](_0xca4484['af']['dictionary'],_0x542750),_0xca4484['af']['getPluralForm']=_0x5cb715;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x31a59e=>{const {af:{dictionary:_0x276600,getPluralForm:_0xf036a}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4667b4=>0x1!=_0x4667b4}};_0x31a59e['af']||={'dictionary':{},'getPluralForm':null},_0x31a59e['af']['dictionary']=Object['assign'](_0x31a59e['af']['dictionary'],_0x276600),_0x31a59e['af']['getPluralForm']=_0xf036a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x24fe88=>0x0==_0x24fe88?0x0:0x1==_0x24fe88?0x1:0x2==_0x24fe88?0x2:_0x24fe88%0x64>=0x3&&_0x24fe88%0x64<=0xa?0x3:_0x24fe88%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x420629=>0x0==_0x420629?0x0:0x1==_0x420629?0x1:0x2==_0x420629?0x2:_0x420629%0x64>=0x3&&_0x420629%0x64<=0xa?0x3:_0x420629%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e9299=>{const {ar:{dictionary:_0x285929,getPluralForm:_0x3a743a}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x49f6b7=>0x0==_0x49f6b7?0x0:0x1==_0x49f6b7?0x1:0x2==_0x49f6b7?0x2:_0x49f6b7%0x64>=0x3&&_0x49f6b7%0x64<=0xa?0x3:_0x49f6b7%0x64>=0xb?0x4:0x5}};_0x4e9299['ar']||={'dictionary':{},'getPluralForm':null},_0x4e9299['ar']['dictionary']=Object['assign'](_0x4e9299['ar']['dictionary'],_0x285929),_0x4e9299['ar']['getPluralForm']=_0x3a743a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3fc265=>{const {ar:{dictionary:_0x2f8cd5,getPluralForm:_0x1f6d75}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x18b8be=>0x0==_0x18b8be?0x0:0x1==_0x18b8be?0x1:0x2==_0x18b8be?0x2:_0x18b8be%0x64>=0x3&&_0x18b8be%0x64<=0xa?0x3:_0x18b8be%0x64>=0xb?0x4:0x5}};_0x3fc265['ar']||={'dictionary':{},'getPluralForm':null},_0x3fc265['ar']['dictionary']=Object['assign'](_0x3fc265['ar']['dictionary'],_0x2f8cd5),_0x3fc265['ar']['getPluralForm']=_0x1f6d75;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x37f283=>0x1!=_0x37f283}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xebcd2f=>0x1!=_0xebcd2f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ff9d4=>{const {ast:{dictionary:_0x1e3bdf,getPluralForm:_0x5badab}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3dade2=>0x1!=_0x3dade2}};_0x4ff9d4['ast']||={'dictionary':{},'getPluralForm':null},_0x4ff9d4['ast']['dictionary']=Object['assign'](_0x4ff9d4['ast']['dictionary'],_0x1e3bdf),_0x4ff9d4['ast']['getPluralForm']=_0x5badab;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2d3cb4=>{const {ast:{dictionary:_0x5b0276,getPluralForm:_0xe04bdc}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x161fb5=>0x1!=_0x161fb5}};_0x2d3cb4['ast']||={'dictionary':{},'getPluralForm':null},_0x2d3cb4['ast']['dictionary']=Object['assign'](_0x2d3cb4['ast']['dictionary'],_0x5b0276),_0x2d3cb4['ast']['getPluralForm']=_0xe04bdc;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x27a168=>0x1!=_0x27a168}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xff5b83=>0x1!=_0xff5b83}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d0feb=>{const {az:{dictionary:_0x39c0e4,getPluralForm:_0xa012f1}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x538502=>0x1!=_0x538502}};_0x1d0feb['az']||={'dictionary':{},'getPluralForm':null},_0x1d0feb['az']['dictionary']=Object['assign'](_0x1d0feb['az']['dictionary'],_0x39c0e4),_0x1d0feb['az']['getPluralForm']=_0xa012f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e2e54=>{const {az:{dictionary:_0x4b1df2,getPluralForm:_0x28f139}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x41808e=>0x1!=_0x41808e}};_0x1e2e54['az']||={'dictionary':{},'getPluralForm':null},_0x1e2e54['az']['dictionary']=Object['assign'](_0x1e2e54['az']['dictionary'],_0x4b1df2),_0x1e2e54['az']['getPluralForm']=_0x28f139;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x50db88=>_0x50db88%0xa==0x1&&_0x50db88%0x64!=0xb?0x0:_0x50db88%0xa>=0x2&&_0x50db88%0xa<=0x4&&(_0x50db88%0x64<0xa||_0x50db88%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x50cdfb=>_0x50cdfb%0xa==0x1&&_0x50cdfb%0x64!=0xb?0x0:_0x50cdfb%0xa>=0x2&&_0x50cdfb%0xa<=0x4&&(_0x50cdfb%0x64<0xa||_0x50cdfb%0x64>=0x14)?0x1:0x2}};