@ckeditor/ckeditor5-footnotes 47.2.0-alpha.4 → 47.2.0-alpha.6

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 _0x443da6,Command as _0x17915a}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x9a8430,isWidget as _0x1a371d,toWidgetEditable as _0x199481,WidgetToolbarRepository as _0x2f9051}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x42f69e,logWarning as _0x4a715e,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4ac34b,ClickObserver as _0x224778}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x154cbd}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x34737a,ButtonView as _0x11e055,View as _0x3a588d,ViewCollection as _0x14d98d,FocusCycler as _0x1cda25,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4325bd,BalloonPanelView as _0xd8228c,createDropdown as _0x5c3277}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5ecb83,IconListStyleDecimal as _0x303f0b,IconListStyleDecimalLeadingZero as _0x4d0348,IconListStyleLowerRoman as _0x4d6aac,IconListStyleUpperRoman as _0x20b737,IconListStyleLowerLatin as _0x855632,IconListStyleUpperLatin as _0x227d9e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x42933e,_0x3255f7){this['_model']=_0x42933e,this['_elementName']=_0x3255f7['elementName'],this['_getElementKey']=_0x3255f7['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x298662){const _0x14e96f=new Set(),_0x585cd0=new Map();for(const _0x51f631 of _0x298662){if('insert'===_0x51f631['type']&&'$text'!==_0x51f631['name']&&_0x51f631['position']['nodeAfter']){const _0x5c0140=this['_model']['createRangeOn'](_0x51f631['position']['nodeAfter']);for(const _0x449f3b of _0x5c0140['getItems']()){if(!_0x449f3b['is']('element',this['_elementName']))continue;const _0xf5241b=this['_getElementKey'](_0x449f3b);_0x585cd0['has'](_0xf5241b)||_0x585cd0['set'](_0xf5241b,[]),_0x585cd0['get'](_0xf5241b)['push'](_0x449f3b);}}if('remove'===_0x51f631['type']&&_0x51f631['name']===this['_elementName']){const _0x1d5da8=this['_getElementKey']({'getAttribute':_0x26f172=>_0x51f631['attributes']['get'](_0x26f172)});_0x14e96f['add'](_0x1d5da8);}}for(const [_0xc7c42f,_0x264b4d]of this['_trackedElements'])'$graveyard'===_0x264b4d['root']['rootName']&&_0x14e96f['add'](_0xc7c42f);for(const _0x222ced of _0x14e96f)this['_trackedElements']['delete'](_0x222ced);for(const [_0x4eb121,_0x144f5c]of _0x585cd0)this['_trackedElements']['set'](_0x4eb121,_0x144f5c[_0x144f5c['length']-0x1]);const _0x3e799d=new Set();for(const [_0x26871b,_0x3daecb]of _0x585cd0)_0x14e96f['has'](_0x26871b)&&(_0x3e799d['add'](_0x3daecb[0x0]),_0x3daecb['length']>0x1?_0x585cd0['set'](_0x26871b,_0x3daecb['slice'](0x1)):_0x585cd0['delete'](_0x26871b),_0x14e96f['delete'](_0x26871b));return{'removed':Array['from'](_0x14e96f),'inserted':Array['from'](_0x585cd0['values']())['flat'](),'moved':Array['from'](_0x3e799d)};}}class c extends _0x443da6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47d813){super(_0x47d813),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x55cb53=>_0x55cb53['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1ff140=>_0x1ff140['getAttribute']('footnoteId')});}['init'](){const {editor:_0x10c623}=this,{model:_0x3644fe,data:_0x4c92f2}=_0x10c623;_0x3644fe['document']['registerPostFixer'](_0x544101=>{const _0x39a185=_0x3644fe['document']['differ']['getChanges']();let _0x3dad15=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x544101,_0x39a185)&&(_0x3dad15=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x544101,_0x39a185)&&(_0x3dad15=!0x0),this['_handleFootnoteReferencesChanges'](_0x544101,_0x39a185)&&(_0x3dad15=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x544101)&&(_0x3dad15=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x544101)&&(_0x3dad15=!0x0),this['_sortFootnoteDefinitions'](_0x544101)&&(_0x3dad15=!0x0),_0x3dad15;}),this['listenTo'](_0x3644fe['document'],'change:data',()=>{_0x3644fe['enqueueChange']({'isUndoable':!0x1},_0x171463=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x171463);});},{'priority':'low'}),this['listenTo'](_0x4c92f2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x44b792){return this['_footnotes']['find'](_0x338aba=>_0x338aba['id']===_0x44b792)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x35897f){this['_footnoteFormatter']=_0x35897f;}['_updateFootnotesCounters'](_0x1e72d4,_0x2a8221=0x0){let _0x1d7a77=!0x1;for(let _0x5e878d=_0x2a8221;_0x5e878d<this['_footnotes']['length'];_0x5e878d++)this['_updateFootnoteRefCounter'](_0x1e72d4,_0x5e878d)&&(_0x1d7a77=!0x0);return _0x1d7a77;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5ed58f,_0x84931f){const _0x15733e=_0x5ed58f['createElement']('footnotesDefinitions',{});return _0x5ed58f['append'](_0x15733e,_0x84931f),this['_footnotesDefinitions']=_0x15733e,_0x15733e;}['_ensureFootnotesDefinitionsContainerExists'](_0x455a30){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2f6188=this['_footnotes'][0x0]['reference']['root'],_0x53a010=this['_insertEmptyFootnotesDefinitionsContainer'](_0x455a30,_0x2f6188);for(const _0xfa904f of this['_footnotes'])_0xfa904f['definition']['parent']||_0x455a30['insert'](_0xfa904f['definition'],_0x53a010,'end');this['_updateFootnotesCounters'](_0x455a30);}['_handleFootnotesDefinitionsObjectChanges'](_0x111c1f,_0x3aa13a){let _0x37905f=!0x1;const {inserted:_0x4ebb2d,removed:_0x34988b,moved:_0x3a12b0}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3aa13a);if(_0x3a12b0['length']&&(this['_footnotesDefinitions']=_0x3a12b0[0x0]),_0x4ebb2d['length']){if(_0x4ebb2d['length']>0x1||this['_footnotesDefinitions']&&_0x4ebb2d['some'](_0x5699de=>_0x5699de!==this['_footnotesDefinitions'])){const _0x549fd2=_0x111c1f['createElement']('footnotesDefinitions',{}),_0x4be26f=[];this['_footnotesDefinitions']&&_0x4be26f['push'](this['_footnotesDefinitions']),_0x4be26f['push'](..._0x4ebb2d),_0x111c1f['insert'](_0x549fd2,_0x4be26f[0x0],'before');for(const _0x3299dd of _0x4be26f)_0x111c1f['move'](_0x111c1f['createRangeIn'](_0x3299dd),_0x111c1f['createPositionAt'](_0x549fd2,'end')),_0x111c1f['remove'](_0x3299dd);this['_footnotesDefinitions']=_0x549fd2,this['_updateFootnotesCounters'](_0x111c1f),_0x37905f=!0x0;}else this['_footnotesDefinitions']=_0x4ebb2d[0x0];}if(_0x34988b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5421c0 of this['_footnotes'])_0x111c1f['remove'](_0x5421c0['reference']),_0x37905f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x37905f;}['_handleFootnoteDefinitionsChanges'](_0x84d08b,_0x2faa83){let _0x4136d6=!0x1;const _0x23226b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1ed9bb,moved:_0x59bd80}=this['_footnoteDefsTracker']['getChanges'](_0x2faa83);for(const _0x358b05 of[..._0x59bd80,..._0x1ed9bb]){const _0x178c60=_0x358b05['getAttribute']('footnoteId'),_0xc4e8ce=this['getFootnote'](_0x178c60);_0xc4e8ce&&(_0xc4e8ce['definition']=_0x358b05),_(_0x84d08b,_0x23226b,_0x358b05)&&(_0x4136d6=!0x0);}return _0x4136d6;}['_handleFootnoteReferencesChanges'](_0x418ae0,_0x3739d6){let _0xbae766=!0x1;const {removed:_0xcc1752,inserted:_0x2cfbfe,moved:_0x285134}=this['_footnoteRefsTracker']['getChanges'](_0x3739d6);for(const _0x35c9fb of _0xcc1752)this['_handleRemoveFootnoteReferenceById'](_0x418ae0,_0x35c9fb)&&(_0xbae766=!0x0);for(const _0x442858 of _0x2cfbfe)this['_handleInsertedFootnoteReference'](_0x418ae0,_0x442858)&&(_0xbae766=!0x0);for(const _0x2de16e of _0x285134)this['_handleMovedFootnoteReference'](_0x418ae0,_0x2de16e)&&(_0xbae766=!0x0);return _0xbae766;}['_handleFootnotesDefinitionsObjectSync'](_0x40acc6){if(!this['_footnotesDefinitions'])return!0x1;let _0x351e29=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2855d2=[];for(const _0x175b95 of this['_footnotesDefinitions']['getChildren']()){const _0x49034b=_0x175b95['getAttribute']('footnoteId');this['getFootnote'](_0x49034b)||(_0x2855d2['unshift'](_0x175b95),_0x351e29=!0x0);}for(const _0x232604 of _0x2855d2)_0x40acc6['remove'](_0x232604);}const _0xb95fc8=new Set(),_0x359077=[];for(const _0x1180f6 of this['_footnotesDefinitions']['getChildren']()){const _0x742686=_0x1180f6['getAttribute']('footnoteId');_0xb95fc8['has'](_0x742686)?(_0x359077['unshift'](_0x1180f6),_0x351e29=!0x0):_0xb95fc8['add'](_0x742686);}for(const _0x140418 of _0x359077)_0x40acc6['remove'](_0x140418);return this['_footnotesDefinitions']['childCount']||(_0x40acc6['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x351e29=!0x0),_0x351e29;}['_handleInsertedFootnoteReference'](_0x3add67,_0x35faee){if(this['_footnotes']['find'](_0x25d2a3=>_0x25d2a3['reference']===_0x35faee))return!0x1;let _0x21218e=!0x1;const _0x2820d9=_0x35faee['getAttribute']('footnoteId'),_0x506c3f=this['_footnotes']['findIndex'](_0x4b33ac=>_0x4b33ac['id']===_0x2820d9);-0x1!==_0x506c3f&&(_0x3add67['remove'](this['_footnotes'][_0x506c3f]['reference']),this['_footnotes']['splice'](_0x506c3f,0x1),_0x21218e=!0x0);let _0x1ee316=this['_footnotesDefinitions']?function(_0x52c81b,_0x20679a){for(const _0x1c535b of _0x52c81b['getChildren']())if(_0x1c535b['getAttribute']('footnoteId')===_0x20679a)return _0x1c535b;return null;}(this['_footnotesDefinitions'],_0x2820d9):null;_0x1ee316||(_0x1ee316=_0x3add67['createElement']('footnoteDefinition',{'footnoteId':_0x2820d9}),this['_footnotesDefinitions']&&(_0x3add67['insert'](_0x1ee316,this['_footnotesDefinitions'],'end'),_0x21218e=!0x0));const _0x44e3c1={'id':_0x2820d9,'reference':_0x35faee,'definition':_0x1ee316},_0x5c4cf5=I(this['editor']['model'],this['_footnotes'],_0x35faee);this['_footnotes']['splice'](_0x5c4cf5,0x0,_0x44e3c1);let _0x51d204=_0x5c4cf5;return-0x1!==_0x506c3f&&(_0x51d204=Math['min'](_0x5c4cf5,_0x506c3f)),this['_updateFootnotesCounters'](_0x3add67,_0x51d204)&&(_0x21218e=!0x0),_0x21218e;}['_handleRemoveFootnoteReferenceById'](_0x1e1eef,_0x4bff87){const _0x5f5769=this['_footnotes']['findIndex'](_0x58289d=>_0x58289d['id']===_0x4bff87);if(-0x1===_0x5f5769)return!0x1;let _0x28fb4b=!0x1;const _0x4abdc1=this['_footnotes'][_0x5f5769];return'$graveyard'!==_0x4abdc1['definition']['root']['rootName']&&(_0x1e1eef['remove'](_0x4abdc1['definition']),_0x28fb4b=!0x0),this['_footnotes']['splice'](_0x5f5769,0x1),this['_updateFootnotesCounters'](_0x1e1eef,_0x5f5769)&&(_0x28fb4b=!0x0),_0x28fb4b;}['_handleMovedFootnoteReference'](_0x24ebaf,_0x467563){const _0x29252b=_0x467563['getAttribute']('footnoteId'),_0x4cccc3=this['_footnotes']['findIndex'](_0x298132=>_0x298132['id']===_0x29252b),_0x54a9ef=this['_footnotes'][_0x4cccc3];let _0x2aa06b=!0x1;_0x54a9ef['reference']=_0x467563,this['_footnotes']['splice'](_0x4cccc3,0x1);const _0x4ab9b9=I(this['editor']['model'],this['_footnotes'],_0x467563);return this['_footnotes']['splice'](_0x4ab9b9,0x0,_0x54a9ef),this['_updateFootnotesCounters'](_0x24ebaf,Math['min'](_0x4cccc3,_0x4ab9b9))&&(_0x2aa06b=!0x0),_0x2aa06b;}['_updateFootnoteRefCounter'](_0x18f1e4,_0x42876d){if(!this['_footnotesDefinitions'])return!0x1;const _0x335fba=this['_footnotes'][_0x42876d];let _0x3b34d3;return _0x3b34d3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x335fba,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x42876d+0x1}):String(_0x42876d+0x1),_0x335fba['reference']['getAttribute']('footnoteCounter')!=_0x3b34d3&&(_0x18f1e4['setAttribute']('footnoteCounter',_0x3b34d3,_0x335fba['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f5e99){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x180060,_0x3b6340){if(_0x180060['length']!==_0x3b6340['length'])return!0x1;for(let _0xfd7c9a=0x0;_0xfd7c9a<_0x180060['length'];_0xfd7c9a++)if(_0x180060[_0xfd7c9a]!==_0x3b6340[_0xfd7c9a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x147440=>_0x147440['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x18a8c0=>_0x18a8c0['getAttribute']('footnoteId'))))return!0x1;let _0x4c5465=!0x1;for(let _0x24f21d=0x0;_0x24f21d<this['_footnotes']['length'];_0x24f21d++){const _0x17c093=this['_footnotes'][_0x24f21d],_0x37bf3d=_0x2f5e99['createPositionBefore'](_0x17c093['definition']),_0x3758ca=_0x2f5e99['createPositionAt'](this['_footnotesDefinitions'],_0x24f21d);_0x37bf3d['isEqual'](_0x3758ca)||(_0x2f5e99['move'](_0x2f5e99['createRangeOn'](_0x17c093['definition']),_0x3758ca),_0x4c5465=!0x0);}return _0x4c5465;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2f4892){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1db1d4}=this['editor'];let _0x10ed75=!0x1;for(let _0x2de438=0x0;_0x2de438<this['_footnotes']['length']-0x1;_0x2de438++){const _0x31acbd=this['_footnotes'][_0x2de438],_0x48ce11=this['_footnotes'][_0x2de438+0x1],_0x584c7d=_0x1db1d4['createPositionBefore'](_0x31acbd['reference']),_0x4a68b0=_0x1db1d4['createPositionBefore'](_0x48ce11['reference']);'after'===_0x584c7d['compareWith'](_0x4a68b0)&&(this['_handleMovedFootnoteReference'](_0x2f4892,_0x31acbd['reference']),_0x2de438=-0x1,_0x10ed75=!0x0);}return _0x10ed75;}}function _(_0x144567,_0x5a9823,_0x175ab0){if(_0x175ab0['childCount'])return!0x1;const _0x2155ab=_0x5a9823?'paragraph':'footnoteInlineContent';return _0x144567['insert'](_0x144567['createElement'](_0x2155ab),_0x175ab0),!0x0;}function I(_0xd07b22,_0x53c594,_0x3cb535){if(0x0===_0x53c594['length'])return 0x0;const _0x3c5caa=_0xd07b22['createPositionBefore'](_0x3cb535);for(let _0x4c3993=0x0;_0x4c3993<_0x53c594['length'];_0x4c3993++){const _0x497233=_0x53c594[_0x4c3993],_0x5aa1a5=_0xd07b22['createPositionBefore'](_0x497233['reference']);if('before'===_0x3c5caa['compareWith'](_0x5aa1a5))return _0x4c3993;}const _0x5cd17b=_0x3cb535['root'];let _0x202892=-0x1;for(let _0x1ea82e=_0x53c594['length']-0x1;_0x1ea82e>=0x0;_0x1ea82e--)if(_0x53c594[_0x1ea82e]['reference']['root']===_0x5cd17b){_0x202892=_0x1ea82e;break;}if(-0x1!==_0x202892)return _0x202892+0x1;const _0x1eb78d=_0xd07b22['document']['getRootNames'](),_0x5d5ef2=_0x1eb78d['indexOf'](_0x5cd17b['rootName']),_0x157f2f=_0x1eb78d[_0x5d5ef2+0x1];if(_0x157f2f){for(let _0x8b976d=0x0;_0x8b976d<_0x53c594['length'];_0x8b976d++)if(_0x53c594[_0x8b976d]['reference']['root']['rootName']===_0x157f2f)return _0x8b976d;}return _0x53c594['length'];}class m extends _0x17915a{['refresh'](){const _0xe90f30=this['editor']['model']['document']['selection'],_0x228d8f=this['_getPositionToInsertFootnote'](_0xe90f30);this['isEnabled']=!!_0x228d8f;}['execute'](_0x2cec43){const {editor:_0x5b19f5}=this,{model:_0x1b05c1}=_0x5b19f5,{selection:_0x2d9de1}=_0x1b05c1['document'],_0x13d286=this['_getPositionToInsertFootnote'](_0x2d9de1);if(!_0x13d286)return;const _0x4eb554=_0x5b19f5['plugins']['get']('FootnotesEditing'),_0x4bc6a1=_0x2cec43?.['footnoteId']??_0x42f69e();!function(_0x188856){return'string'==typeof _0x188856&&_0x188856['length']>0x0&&!/\s/['test'](_0x188856)&&!/^\d/['test'](_0x188856);}(_0x4bc6a1)?_0x4a715e('insert-footnote-command-executed-with-invalid-id'):(_0x1b05c1['change'](_0x59eb31=>{const _0xf7db71=_0x59eb31['createElement']('footnoteRef',{'footnoteId':_0x4bc6a1});_0x1b05c1['insertObject'](_0xf7db71,_0x13d286,null);}),_0x4eb554['_moveSelectionToFootnoteDefinition'](_0x4bc6a1));}['_getPositionToInsertFootnote'](_0x1f1ed0){const {model:_0x3248a2}=this['editor'],{schema:_0x15230a}=_0x3248a2,_0x14577d=_0x1f1ed0['getFirstRange']();for(const _0x179213 of _0x14577d['getItems']())if(_0x15230a['isBlock'](_0x179213)||_0x15230a['isObject'](_0x179213))return null;const _0x1529db=_0x14577d['end'];return _0x15230a['checkChild'](_0x1529db,'footnoteRef')?_0x1529db:null;}}class r extends _0x443da6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3dc543}=this;_0x3dc543['config']['define']('footnotes.multiBlock',!0x0),_0x3dc543['commands']['add']('insertFootnote',new m(_0x3dc543)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18248c){const _0xa894f4=_0x196052([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]),_0x47d899=0x47a28506,_0x568039=0x47a5f2f6^_0x47d899,_0x231507=window[_0x196052([0x44,0x61,0x74,0x65])][_0x196052([0x6e,0x6f,0x77])](),_0x3ba9f6=_0x18248c[_0x196052([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a4462=new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310e07=>{_0x3ba9f6[_0x196052([0x6f,0x6e,0x63,0x65])](_0x196052([0x72,0x65,0x61,0x64,0x79]),_0x310e07);}),_0x2e7ecc={[_0x196052([0x6b,0x74,0x79])]:_0x196052([0x45,0x43]),[_0x196052([0x75,0x73,0x65])]:_0x196052([0x73,0x69,0x67]),[_0x196052([0x63,0x72,0x76])]:_0x196052([0x50,0x2d,0x32,0x35,0x36]),[_0x196052([0x78])]:_0x196052([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]),[_0x196052([0x79])]:_0x196052([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]),[_0x196052([0x61,0x6c,0x67])]:_0x196052([0x45,0x53,0x32,0x35,0x36])},_0x331146=_0x3ba9f6[_0x196052([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x196052([0x67,0x65,0x74])](_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x377311(){let _0x59e83b,_0x3f56b1=null,_0x38836b=null;try{if(_0x331146==_0x196052([0x47,0x50,0x4c]))return _0x196052([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59e83b=_0x4a1199(),!_0x59e83b)return _0x196052([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59e83b[_0x196052([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38836b=_0x33bfff(_0x59e83b[_0x196052([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59e83b[_0x196052([0x6a,0x74,0x69])])),await _0x2e52db()?_0x59053b()?_0x774d4c()?_0x196052([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e6132()?(_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x196052([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f56b1=_0x339fec(_0x196052([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x196052([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f56b1=_0x339fec(_0x196052([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x438a2c()):_0x196052([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x196052([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x196052([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x196052([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x774d4c(){const _0x599f07=[_0x196052([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x196052([0x74,0x72,0x69,0x61,0x6c])][_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x231507/0x3e8:0xe10*_0x568039;return _0x59e83b[_0x196052([0x65,0x78,0x70])]<_0x599f07;}function _0x59053b(){const _0x33e405=_0x59e83b[_0x196052([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33e405&&(!!_0x33e405[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196052([0x2a]))||!!_0x33e405[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196052([0x46,0x4f,0x4f])));}function _0x1e6132(){const _0x7b608f=_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7b608f||0x0==_0x7b608f[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c9aff}=new URL(window[_0x196052([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7b608f[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c9aff))return!0x0;const _0x565e65=_0x5c9aff[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e]));return _0x7b608f[_0x196052([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aab55=>_0x3aab55[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196052([0x2a])))[_0x196052([0x6d,0x61,0x70])](_0x9f384a=>_0x9f384a[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e])))[_0x196052([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x516dc7=>_0x516dc7[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x565e65[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x196052([0x6d,0x61,0x70])](_0x5121b1=>Array(_0x565e65[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5121b1[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x196052([0x66,0x69,0x6c,0x6c])](_0x5121b1[0x0]===_0x196052([0x2a])?_0x196052([0x2a]):'')[_0x196052([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5121b1))[_0x196052([0x73,0x6f,0x6d,0x65])](_0x1c6061=>_0x565e65[_0x196052([0x65,0x76,0x65,0x72,0x79])]((_0x33b74b,_0x7ac8de)=>_0x1c6061[_0x7ac8de]===_0x33b74b||_0x1c6061[_0x7ac8de]===_0x196052([0x2a])));}function _0x438a2c(){return _0x3f56b1&&_0x38836b?new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x543e9c,_0x3743ea)=>{_0x3f56b1[_0x196052([0x74,0x68,0x65,0x6e])](_0x543e9c,_0x3743ea),_0x38836b[_0x196052([0x74,0x68,0x65,0x6e])](_0x5c2b36=>{_0x5c2b36!=_0x196052([0x56,0x61,0x6c,0x69,0x64])&&_0x543e9c(_0x5c2b36);},_0x3743ea);}):_0x3f56b1||_0x38836b||_0x196052([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33bfff(_0x5d4488,_0x111410){return new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x65bc82=>{if(_0x22435f())return _0x65bc82(_0x196052([0x56,0x61,0x6c,0x69,0x64]));_0x4799c4(),_0x3ba9f6[_0x196052([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x196052([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xee7471=!0x1;const _0x49a06f=_0x42f69e();function _0x49b033(_0x103fdb){return!!_0x103fdb&&(typeof _0x103fdb===_0x196052([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x103fdb===_0x196052([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x103fdb[_0x196052([0x74,0x68,0x65,0x6e])]===_0x196052([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x103fdb[_0x196052([0x63,0x61,0x74,0x63,0x68])]===_0x196052([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2610de(_0x210339){_0x14d6b9(_0x210339)[_0x196052([0x74,0x68,0x65,0x6e])](_0x1120d4=>{if(!_0x1120d4||_0x1120d4[_0x196052([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x196052([0x6f,0x6b]))return _0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2120fc(_0x7fa0bb(_0x49a06f+_0x111410))!=_0x1120d4[_0x196052([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x196052([0x56,0x61,0x6c,0x69,0x64]);})[_0x196052([0x74,0x68,0x65,0x6e])](_0x1f033b=>(_0x188ee6(),_0x1f033b),()=>{const _0x369177=_0x9faa0e();return null==_0x369177?(_0x188ee6(),_0x196052([0x56,0x61,0x6c,0x69,0x64])):_0x196052(_0x231507-_0x369177>(0x63ae0106^_0x47d899)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x196052([0x74,0x68,0x65,0x6e])](_0x65bc82)[_0x196052([0x63,0x61,0x74,0x63,0x68])](()=>{_0x65bc82(_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48a172=0x47946b86^_0x47d899;function _0x188ee6(){const _0x35bbe7=_0x196052([0x6c,0x6c,0x63,0x74,0x2d])+_0x2120fc(_0x7fa0bb(_0x5d4488)),_0x4d8be2=_0x260451(_0x2120fc(window[_0x196052([0x4d,0x61,0x74,0x68])][_0x196052([0x63,0x65,0x69,0x6c])](_0x231507/_0x48a172)));window[_0x196052([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x196052([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35bbe7,_0x4d8be2);}function _0x9faa0e(){const _0x2d4e75=_0x196052([0x6c,0x6c,0x63,0x74,0x2d])+_0x2120fc(_0x7fa0bb(_0x5d4488)),_0x452a21=window[_0x196052([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x196052([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d4e75);return _0x452a21?window[_0x196052([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260451(_0x452a21),0x10)*_0x48a172:null;}function _0x14d6b9(_0x593542){return new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51e6cd,_0x24f997)=>{_0x593542[_0x196052([0x74,0x68,0x65,0x6e])](_0x51e6cd,_0x24f997),window[_0x196052([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24f997,0x47a351c6^_0x47d899);});}}_0x3ba9f6[_0x196052([0x6f,0x6e])](_0x196052([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3508ed,_0x554cd1)=>{if(_0x554cd1[0x0]!=_0x5d4488)return _0x65bc82(_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x554cd1[0x1]={..._0x554cd1[0x1],[_0x196052([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49a06f};},{[_0x196052([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x196052([0x68,0x69,0x67,0x68])}),_0x3ba9f6[_0x196052([0x6f,0x6e])](_0x196052([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55e994=>{_0x49b033(_0x55e994[_0x196052([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xee7471=!0x0,_0x2610de(_0x55e994[_0x196052([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x196052([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x196052([0x6c,0x6f,0x77])}),_0x2a4462[_0x196052([0x74,0x68,0x65,0x6e])](()=>{_0xee7471||_0x65bc82(_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22435f(){return _0x3ba9f6[_0x196052([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x196052([0x76,0x69,0x65,0x77])][_0x196052([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x196052([0x61,0x75,0x74,0x6f]);}function _0x4799c4(){_0x3ba9f6[_0x196052([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x196052([0x76,0x69,0x65,0x77])][_0x196052([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x196052([0x61,0x75,0x74,0x6f]);}}function _0x339fec(_0x428e5f){const _0x2e6b54=[new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55745c=>setTimeout(_0x55745c,0x47abbbca^_0x47d899)),_0x2a4462[_0x196052([0x74,0x68,0x65,0x6e])](()=>new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5032=>{let _0x2ea0a9=0x0;_0x3ba9f6[_0x196052([0x6d,0x6f,0x64,0x65,0x6c])][_0x196052([0x6f,0x6e])](_0x196052([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50dfe5,_0x258c03)=>{_0x258c03[0x0][_0x196052([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea0a9++,_0x2ea0a9==(0x47a284fe^_0x47d899)&&(_0x2a5032(),_0x50dfe5[_0x196052([0x6f,0x66,0x66])]());});}))];return window[_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x196052([0x72,0x61,0x63,0x65])](_0x2e6b54)[_0x196052([0x74,0x68,0x65,0x6e])](()=>_0x428e5f);}async function _0x2251ec(){await _0x2a4462,_0x3ba9f6[_0x196052([0x6d,0x6f,0x64,0x65,0x6c])][_0x196052([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2645b2,_0x3ba9f6[_0x196052([0x6d,0x6f,0x64,0x65,0x6c])][_0x196052([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2645b2,_0x3ba9f6[_0x196052([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x196052([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd181b8(_0x4d8ea9){const _0x40069a=_0x31d03a();_0x3ba9f6[_0x40069a]=_0x196052([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d8ea9,_0x4d8ea9!=_0x196052([0x56,0x61,0x6c,0x69,0x64])&&_0x2251ec();}function _0x31d03a(){const _0x1c4c75=window[_0x196052([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x196052([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x196052([0x6e,0x6f,0x77])]())[_0x196052([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x196052([0x2e]),'');let _0x23f556=_0x196052([0x75]);for(let _0x5ed8f4=0x0;_0x5ed8f4<_0x1c4c75[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ed8f4+=0x2){let _0x3faa27=window[_0x196052([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c4c75[_0x196052([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ed8f4,_0x5ed8f4+0x2));_0x3faa27>=_0xa894f4[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3faa27-=_0xa894f4[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23f556+=_0xa894f4[_0x3faa27];}return _0x23f556;}function _0x4a1199(){const _0x3994b1=_0x331146[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e]));if(0x3!=_0x3994b1[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xda765c(_0x3994b1[0x1]);function _0xda765c(_0xbdb6d4){const _0x1203cb=_0x474c14(_0xbdb6d4);return _0x1203cb&&_0x2e0822()?_0x1203cb:null;function _0x2e0822(){const _0x49e0cf=_0x1203cb[_0x196052([0x6a,0x74,0x69])],_0x2878fa=window[_0x196052([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49e0cf[_0x196052([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49e0cf[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52f443={..._0x1203cb,[_0x196052([0x6a,0x74,0x69])]:_0x49e0cf[_0x196052([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49e0cf[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52f443[_0x196052([0x76,0x63])],_0x7fa0bb(_0x52f443)==_0x2878fa;}}}async function _0x2e52db(){let _0x3c057f=!0x0;try{const _0x26fe22=_0x331146[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e])),[_0x41800b,_0x5e9137,_0x37650f]=_0x26fe22;return _0xa8b471(_0x41800b),await _0xab0502(_0x41800b,_0x5e9137,_0x37650f),_0x3c057f;}catch{return!0x1;}function _0xa8b471(_0x17d424){const _0x4264c1=_0x474c14(_0x17d424);_0x4264c1&&_0x4264c1[_0x196052([0x61,0x6c,0x67])]==_0x196052([0x45,0x53,0x32,0x35,0x36])||(_0x3c057f=!0x1);}async function _0xab0502(_0x17ce1a,_0x52673f,_0x2f99cf){const _0x33639d=window[_0x196052([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x196052([0x66,0x72,0x6f,0x6d])](_0x37e847(_0x2f99cf),_0x30075e=>_0x30075e[_0x196052([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1017a3=new window[(_0x196052([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x196052([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17ce1a+_0x196052([0x2e])+_0x52673f),_0x15b386=window[_0x196052([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x196052([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15b386)return;const _0x23602a=await _0x15b386[_0x196052([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x196052([0x6a,0x77,0x6b]),_0x2e7ecc,{[_0x196052([0x6e,0x61,0x6d,0x65])]:_0x196052([0x45,0x43,0x44,0x53,0x41]),[_0x196052([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x196052([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x196052([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15b386[_0x196052([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x196052([0x6e,0x61,0x6d,0x65])]:_0x196052([0x45,0x43,0x44,0x53,0x41]),[_0x196052([0x68,0x61,0x73,0x68])]:{[_0x196052([0x6e,0x61,0x6d,0x65])]:_0x196052([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23602a,_0x33639d,_0x1017a3)||(_0x3c057f=!0x1);}}function _0x474c14(_0x353127){return _0x353127[_0x196052([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x196052([0x65,0x79]))?JSON[_0x196052([0x70,0x61,0x72,0x73,0x65])](_0x37e847(_0x353127)):null;}function _0x37e847(_0x4ec0d9){return window[_0x196052([0x61,0x74,0x6f,0x62])](_0x4ec0d9[_0x196052([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x196052([0x2b]))[_0x196052([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x196052([0x2f])));}function _0x7fa0bb(_0x383a34){let _0x49cbe5=0x1505;function _0x1179be(_0x4f454d){for(let _0x21f34b=0x0;_0x21f34b<_0x4f454d[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21f34b++){const _0x5c48c0=_0x4f454d[_0x196052([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21f34b);_0x49cbe5=(_0x49cbe5<<0x5)+_0x49cbe5+_0x5c48c0,_0x49cbe5&=_0x49cbe5;}}function _0x3f0b92(_0x55851a){Array[_0x196052([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55851a)?_0x55851a[_0x196052([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f0b92):_0x55851a&&typeof _0x55851a==_0x196052([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x196052([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55851a)[_0x196052([0x73,0x6f,0x72,0x74])]()[_0x196052([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbc6793,_0x1a47fa])=>{_0x1179be(_0xbc6793),_0x3f0b92(_0x1a47fa);}):_0x1179be(window[_0x196052([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55851a));}return _0x3f0b92(_0x383a34),_0x49cbe5>>>0x0;}function _0x2120fc(_0x42961d){return _0x42961d[_0x196052([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x196052([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x196052([0x30]));}function _0x260451(_0x3b3928){return _0x3b3928[_0x196052([0x73,0x70,0x6c,0x69,0x74])]('')[_0x196052([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x196052([0x6a,0x6f,0x69,0x6e])]('');}function _0x2645b2(){}function _0x196052(_0x499024){return _0x499024['map'](_0x5534ca=>String['fromCharCode'](_0x5534ca))['join']('');}_0xd181b8(await _0x377311());}(this);}['_moveSelectionToFootnoteDefinition'](_0x25c4d5){const {plugins:_0x457297,editing:_0x2db2df,model:_0x156cf}=this['editor'],_0x29cf6d=_0x457297['get'](c)['getFootnote'](_0x25c4d5);return!!_0x29cf6d&&(_0x156cf['change'](_0x404b18=>{_0x404b18['setSelection'](_0x404b18['createPositionAt'](_0x29cf6d['definition'],'end'));}),_0x2db2df['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x219d74){const {plugins:_0x6be278,editing:_0x33db75,model:_0x55bc52}=this['editor'],_0x135297=_0x6be278['get'](c)['getFootnote'](_0x219d74);return!!_0x135297&&(_0x55bc52['change'](_0x3b2f76=>{_0x3b2f76['setSelection'](_0x135297['reference'],'on');}),_0x33db75['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x45d143}=this['editor']['model'],_0x1a2116=this['editor']['config']['get']('footnotes.multiBlock');_0x45d143['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x45d143['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x45d143['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1a2116?_0x45d143['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x45d143['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x45d143['addChildCheck'](_0x5a711a=>{for(const _0x582ff9 of _0x5a711a)if('footnoteDefinition'===_0x582ff9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x785a05}=this,{conversion:_0x3939ca,editing:_0x1fc7ee}=_0x785a05,{t:t}=_0x785a05['locale'];_0x3939ca['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x35d6ef,{writer:_0x52beb4,consumable:_0x32ea7d})=>{const _0x1a7c85=_0x35d6ef['getChild'](0x0);if(!_0x1a7c85||!_0x1a7c85['is']('element','a'))return null;const _0x6f9df5=_0x1a7c85['getAttribute']('href')||'';if(!_0x6f9df5['startsWith']('#'))return null;const _0x2a8565=_0x6f9df5['replace'](/^#/,'');if(!_0x2a8565)return null;_0x32ea7d['consume'](_0x1a7c85,{'name':!0x0,'attributes':['href']});for(const {item:_0x288f0c}of _0x1fc7ee['view']['createRangeIn'](_0x1a7c85))_0x288f0c['is']('$textProxy')?_0x32ea7d['consume'](_0x288f0c['textNode'],{'name':!0x0}):_0x288f0c['is']('element')&&_0x32ea7d['consume'](_0x288f0c,{'name':!0x0});return _0x52beb4['createElement']('footnoteRef',{'footnoteId':_0x2a8565});}}),_0x3939ca['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x17f090,{writer:_0x4dacfb})=>D(_0x17f090,_0x4dacfb)}),_0x3939ca['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x102c2e,{writer:_0x46998e})=>{const _0x30ba27=_0x102c2e['getAttribute']('footnoteCounter');return _0x9a8430(D(_0x102c2e,_0x46998e),_0x46998e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x30ba27)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3c2d93}=this,{t:t}=_0x3c2d93['locale'],{conversion:_0x1ac56b}=_0x3c2d93;_0x1ac56b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1ac56b['for']('upcast')['add'](_0x274289=>{_0x274289['on']('element:ol',(_0x340e3f,_0x3db5fe,_0x3fae8d)=>{const _0x1d28f3=_0x3db5fe['viewItem'];if(!_0x1d28f3['hasClass']('footnotes-list')||!_0x3db5fe['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3fae8d['consumable']['consume'](_0x1d28f3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x449ab6,modelCursor:_0xb4c18b}=_0x3fae8d['convertChildren'](_0x3db5fe['viewItem'],_0x3db5fe['modelCursor']);_0x3db5fe['modelRange']=_0x449ab6,_0x3db5fe['modelCursor']=_0xb4c18b;}),_0x274289['on']('element:hr',(_0x3d6155,_0x5832d7,_0x2b2f69)=>{const _0x548c54=_0x5832d7['viewItem'];_0x548c54['hasClass']('footnotes-divider')&&_0x5832d7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2b2f69['consumable']['consume'](_0x548c54,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1ac56b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x32aeea,{writer:_0xb8cc60})=>v(_0xb8cc60)}),_0x1ac56b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x391d10,{writer:_0x3d2609})=>{const _0x397b5e=v(_0x3d2609,{'data-footnotes-list-label':t('Footnotes')}),_0x36d913=_0x9a8430(_0x397b5e,_0x3d2609,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3d2609['setCustomProperty']('footnotesDefinitions',!0x0,_0x36d913),_0x36d913;}});}['_defineDefinitionConverters'](){const {editor:_0x3deb1a}=this,{conversion:_0x2511c4,locale:_0x4d72e8}=_0x3deb1a,_0x28d9a8=_0x3deb1a['config']['get']('footnotes.multiBlock');_0x2511c4['for']('upcast')['add'](_0x2d4ffb=>{_0x2d4ffb['on']('element:li',(_0x5c04af,_0x1abf18,_0x1124df)=>{const _0x124724=_0x1abf18['viewItem'];if(!_0x124724['hasClass']('footnote-definition')||!_0x124724['getAttribute']('id'))return;const _0x2688b7=_0x124724['parent'];if(!_0x2688b7['is']('element','ol')||!_0x2688b7['hasClass']('footnotes-list'))return;if(!_0x1124df['consumable']['test'](_0x124724,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xe7fc07=_0x1124df['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x124724['getAttribute']('id')});if(!_0x1124df['safeInsert'](_0xe7fc07,_0x1abf18['modelCursor']))return;_0x1124df['consumable']['consume'](_0x124724,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x35fc44=Array['from'](_0x124724['getChildren']())['find'](_0x402e02=>_0x402e02['is']('element')&&_0x402e02['hasClass']('footnote-content'));for(const _0x52f9f0 of _0x124724['getChildren']())_0x52f9f0['is']('element')&&(_0x1124df['consumable']['consume'](_0x52f9f0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1124df['consumable']['consume'](_0x52f9f0,{'name':!0x0,'classes':'footnote-content'}));if(_0x35fc44){if(_0x28d9a8)_0x1124df['convertChildren'](_0x35fc44,_0xe7fc07);else{const _0x1de48a=_0x1124df['writer']['createElement']('footnoteInlineContent');_0x1124df['writer']['insert'](_0x1de48a,_0xe7fc07),_0x1124df['convertChildren'](_0x35fc44,_0x1de48a);}}_0x1124df['updateConversionResult'](_0xe7fc07,_0x1abf18);});}),_0x2511c4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47f512,{writer:_0x3e73e9})=>b(_0x47f512,_0x3e73e9,_0x4d72e8,{'dataPipeline':!0x0})}),_0x2511c4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1255d4,{writer:_0x23fe93})=>b(_0x1255d4,_0x23fe93,_0x4d72e8)});}['_defineBogusParagraphConverters'](){const {editor:_0x5698f7}=this,{conversion:_0x357e19}=_0x5698f7;_0x5698f7['config']['get']('footnotes.multiBlock')?(_0x357e19['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x357e19['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5698f7['model']['document'],'change:data',()=>{!function(_0x4d076b,_0x4d9b19){const _0x20411d=_0x4d076b['document']['differ'],_0x1d832a=new Set();for(const _0x560fef of _0x20411d['getChanges']()){const _0x228b54='attribute'==_0x560fef['type']?_0x560fef['range']['start']['parent']:_0x560fef['position']['parent'];_0x228b54['is']('element','footnoteDefinition')&&_0x1d832a['add'](_0x228b54);}for(const _0x33544f of _0x1d832a['values']()){const _0xf18c0f=Array['from'](_0x33544f['getChildren']())['filter'](_0x520881=>g(_0x520881,_0x4d9b19['mapper']));for(const _0x4b06c3 of _0xf18c0f)_0x4d9b19['reconvertItem'](_0x4b06c3);}}(_0x5698f7['model'],_0x5698f7['editing']);})):(_0x357e19['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x357e19['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1a2cc9,{writer:_0x2130b5})=>{const _0xa2f355=_0x2130b5['createContainerElement']('span');return _0x2130b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xa2f355),_0xa2f355;}}));}['_defineKeyboardHandlers'](){const {editor:_0x40dcc6}=this,{editing:_0x282086,t:t}=_0x40dcc6,_0x1ff6b5=_0x40dcc6['model']['document']['selection'];_0x40dcc6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x40dcc6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x282086['view']['document'],'enter',(_0x16c508,_0x3a0b26)=>{const _0x1415fe=function(_0x17d945){const _0x67e802=_0x17d945['getSelectedElement']();if(_0x67e802?.['is']('element','footnoteRef'))return _0x67e802;return null;}(_0x1ff6b5);if(_0x1415fe){const _0x4e2376=_0x1415fe['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4e2376),_0x3a0b26['preventDefault'](),_0x16c508['stop']();}},{'context':_0x1a371d});}['_defineClickHandlers'](){const {editor:_0x3472fa}=this,{editing:_0x1d5d43}=_0x3472fa;_0x3472fa['editing']['view']['addObserver'](_0x4ac34b),_0x3472fa['editing']['view']['addObserver'](_0x224778);let _0x3d9e61=!0x1;this['listenTo'](_0x1d5d43['view']['document'],'pointerdown',(_0x373139,_0x2ba159)=>{const {target:_0x14c258}=_0x2ba159,_0x76b0e7=_0x1d5d43['view']['document']['selection'];_0x3d9e61=!!(_0x14c258?.['is']('element','a')&&_0x14c258['parent']?.['is']('element','sup')&&_0x14c258['parent']['hasClass']('footnote'))&&_0x76b0e7['getSelectedElement']()===_0x14c258['parent'];},{'priority':'high'}),this['listenTo'](_0x1d5d43['view']['document'],'click',(_0x2ee4,_0x51b253)=>{const {target:_0x4879ae}=_0x51b253;if(!_0x4879ae?.['is']('element','a'))return;if(_0x4879ae['parent']?.['is']('element','sup')&&_0x4879ae['parent']['hasClass']('footnote')&&!_0x3d9e61)return void _0x51b253['preventDefault']();let _0x7fb642=_0x4879ae['getAttribute']('href');if(!_0x7fb642?.['startsWith']('#'))return;_0x7fb642=_0x7fb642['slice'](0x1);let _0x550b47=!0x1;(_0x7fb642['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x7fb642['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x7fb642))&&(_0x550b47=!0x0),_0x550b47&&(_0x51b253['preventDefault'](),_0x2ee4['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x331801}={}){return(_0x324ae7,{writer:_0x620ce6})=>{if(!p(_0x324ae7))return null;if(!_0x331801)return _0x620ce6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x595b51=_0x620ce6['createContainerElement']('p');return _0x620ce6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x595b51),_0x595b51;};}function p(_0x2f19a0){const {parent:_0x27d242}=_0x2f19a0;if(!_0x27d242?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x27d242['childCount'])return!0x1;for(const _0x463827 of _0x2f19a0['getAttributeKeys']())if(!_0x463827['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x463827)return!0x1;return!0x0;}function g(_0x491fd2,_0x7557fe){if(!_0x491fd2['is']('element','paragraph'))return!0x1;const _0x443762=_0x7557fe['toViewElement'](_0x491fd2);return!!_0x443762&&p(_0x491fd2)!==_0x443762['is']('element','span');}function J(_0x2d068f){return _0x1a371d(_0x2d068f)&&_0x2d068f['is']('containerElement')&&!!_0x2d068f['getCustomProperty']('footnotesDefinitions');}function v(_0xdaa6ed,_0x3cb2c0={}){const _0x5de77a=_0xdaa6ed['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x687002=_0xdaa6ed['createContainerElement']('ol',{'class':'footnotes-list'},_0xdaa6ed['createSlot']());return _0xdaa6ed['createContainerElement']('div',{'class':'footnotes',..._0x3cb2c0},[_0x5de77a,_0x687002]);}function D(_0x181ed5,_0x44c660){const _0x17d7f7=_0x181ed5['getAttribute']('footnoteId'),_0x22bb80=_0x181ed5['getAttribute']('footnoteCounter'),_0x3af3c4=_0x44c660['createUIElement']('a',{'href':'#'+_0x17d7f7},function(_0x38c81a){const _0x5675ea=this['toDomElement'](_0x38c81a);return _0x5675ea['textContent']=_0x22bb80,_0x5675ea;}),_0x5e5bfe=_0x44c660['createContainerElement']('sup',{'id':'ref-'+_0x17d7f7,'class':'footnote'},[_0x3af3c4]);return _0x5e5bfe['getFillerOffset']=()=>null,_0x5e5bfe;}function b(_0x197117,_0x13707a,_0x595460,{dataPipeline:_0x11e8b4}={}){const {t:t}=_0x595460,_0x3d64b5=_0x197117['getAttribute']('footnoteId'),_0x55da6c=_0x13707a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3d64b5},function(_0x160442){const _0x234eb9=this['toDomElement'](_0x160442);return _0x234eb9['innerText']='^',_0x234eb9;}),_0x4f7d02=_0x11e8b4?_0x13707a['createContainerElement']('div',{'class':'footnote-content'}):_0x199481(_0x13707a['createEditableElement']('div',{'class':'footnote-content'}),_0x13707a,{'label':t('Footnote\x20content.')});return _0x13707a['insert'](_0x13707a['createPositionAt'](_0x4f7d02,0x0),_0x13707a['createSlot']()),_0x13707a['createContainerElement']('li',{'class':'footnote-definition','id':_0x3d64b5},[_0x55da6c,_0x4f7d02]);}class e extends _0x443da6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x154cbd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5e142a}=this,{plugins:_0x9b4bbd,model:_0x37de24}=_0x5e142a,_0x57a87b=_0x9b4bbd['get'](_0x154cbd),_0x48f5b2=_0x9b4bbd['get'](c);this['listenTo'](_0x57a87b,'outputTransformation',(_0x18566b,_0x88890c)=>{const _0x21454d=f(_0x37de24['createRangeIn'](_0x88890c['content']));if(!_0x21454d['length'])return;const _0x40d83b=_0x48f5b2['getFootnotes'](),_0x453d63=_0x21454d['reduce']((_0x76d8,_0x4d633d)=>{const _0x26fbfa=_0x40d83b['find'](_0x724298=>_0x724298['id']===_0x4d633d);if(_0x26fbfa){const _0x939f65=_0x5e142a['data']['toView'](_0x26fbfa['definition'],{'isClipboardPipeline':!0x0}),_0x270a70=_0x5e142a['data']['htmlProcessor']['toData'](_0x939f65);_0x76d8[_0x26fbfa['id']]=_0x270a70;}return _0x76d8;},Object['create'](null));_0x88890c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x453d63));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1de17c}=this,{model:_0x23aee3,plugins:_0x3f8eb4}=_0x1de17c,{view:_0x21ce48}=_0x1de17c['editing'],_0x371033=_0x3f8eb4['get'](_0x154cbd),_0x26279b=_0x3f8eb4['get'](c);let _0x24eb62=null;this['listenTo'](_0x21ce48['document'],'clipboardInput',(_0x5c01bd,_0x63a46e)=>{const _0x564768=_0x63a46e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x24eb62=_0x564768?JSON['parse'](_0x564768):null;}),this['listenTo'](_0x371033,'contentInsertion',(_0x39a0da,_0xf94f0a)=>{const _0x361e4c=_0xf94f0a['sourceEditorId']===this['editor']['id'];_0x361e4c&&'drop'===_0xf94f0a['method']||_0x23aee3['change'](_0x172109=>{let _0x26d06e=_0x26279b['getFootnotesDefinitionsObjectElement']();const _0x70b212=!!_0x26d06e&&Array['from'](_0x23aee3['document']['selection']['getSelectedBlocks']())['includes'](_0x26d06e);if(_0x26d06e&&!_0x70b212&&function(_0x353f73,_0x291e17){const _0xd570af=[];for(const {item:_0x538528}of _0x353f73['createRangeIn'](_0x291e17))_0x538528['is']('element','footnotesDefinitions')&&_0xd570af['push'](_0x538528);for(const _0x37ba57 of _0xd570af)_0x353f73['remove'](_0x37ba57);}(_0x172109,_0xf94f0a['content']),!_0x24eb62)return;const {selection:_0x38b9de}=_0x23aee3['document'],_0x4cde43=_0x38b9de['getFirstRange']()['root'];_0x26d06e&&!_0x70b212||(_0x26d06e=function(_0x149811,_0x2358d5){for(const {item:_0x35bf69}of _0x149811['createRangeIn'](_0x2358d5))if(_0x35bf69['is']('element','footnotesDefinitions'))return _0x35bf69;return null;}(_0x172109,_0xf94f0a['content']),_0x26d06e||=_0x26279b['_insertEmptyFootnotesDefinitionsContainer'](_0x172109,_0x4cde43));const _0x36adc2=Array['from'](_0x38b9de['getRanges']())['flatMap'](f),_0x42101e=function(_0x194b57,_0x4a6487,_0x1f7bbd){const _0x147e73=Object['create'](null);for(const {item:_0x318e48}of _0x194b57['createRangeIn'](_0x4a6487))if(_0x318e48['is']('element','footnoteRef')){const _0xee045a=_0x318e48['getAttribute']('footnoteId');if(!_0x1f7bbd(_0xee045a))continue;_0x147e73[_0xee045a]||(_0x147e73[_0xee045a]=_0x42f69e()),_0x194b57['setAttribute']('footnoteId',_0x147e73[_0xee045a],_0x318e48);}return _0x147e73;}(_0x172109,_0xf94f0a['content'],_0x2f285e=>{if(!_0x361e4c)return!0x0;return!!_0x26279b['getFootnote'](_0x2f285e)&&!_0x36adc2['includes'](_0x2f285e);});for(const [_0x245ea4,_0xa273a]of Object['entries'](_0x24eb62)){const _0x3dd305=_0x42101e[_0x245ea4]||_0x245ea4,_0x37263a=_0x172109['createElement']('footnoteDefinition',{'footnoteId':_0x3dd305}),_0x4002e7=_0x1de17c['data']['htmlProcessor']['toView'](_0xa273a),_0x30a42b=_0x1de17c['data']['toModel'](_0x4002e7,_0x37263a);_0x172109['append'](_0x30a42b,_0x37263a),_0x172109['insert'](_0x37263a,_0x26d06e,'end');}_0x24eb62=null;});});}}function f(_0x2a9295){const _0x11a21b=new Set();for(const {item:_0x1deff8}of _0x2a9295)_0x1deff8['is']('element','footnoteRef')&&_0x11a21b['add'](_0x1deff8['getAttribute']('footnoteId'));return Array['from'](_0x11a21b);}class i extends _0x443da6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1451cc}=this,{componentFactory:_0x47aa97}=_0x1451cc['ui'];_0x47aa97['add']('insertFootnote',x(_0x1451cc,_0x11e055)),_0x47aa97['add']('menuBar:insertFootnote',x(_0x1451cc,_0x34737a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6defa9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x454b25;for(const _0x4cf579 in _0x6defa9){const _0x276340=_0x4cf579,_0x2a64ae=_0x6defa9[_0x276340];if('footnotesLicenseKeyValid'==_0x2a64ae||'footnotesLicenseKeyInvalid'==_0x2a64ae||'footnotesLicenseKeyExpired'==_0x2a64ae||'footnotesLicenseKeyDomainLimit'==_0x2a64ae||'footnotesLicenseKeyNotAllowed'==_0x2a64ae||'footnotesLicenseKeyEvaluationLimit'==_0x2a64ae||'footnotesLicenseKeyTrialLimit'==_0x2a64ae||'footnotesLicenseKeyUsageLimit'==_0x2a64ae){delete _0x6defa9[_0x276340],_0x454b25=_0x2a64ae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x454b25&&_0x6defa9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x454b25&&_0x6defa9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x454b25&&_0x6defa9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x555591,_0x3ed3e5){const _0x3c4f7f=_0x555591['commands']['get']('insertFootnote');return _0xa3e662=>{const {t:t}=_0xa3e662,_0xc29846=new _0x3ed3e5(_0xa3e662),_0x56a24e=_0xc29846 instanceof _0x34737a;return _0xc29846['bind']('isEnabled')['to'](_0x3c4f7f,'isEnabled'),_0xc29846['set']({'label':t(_0x56a24e?'Footnote':'Insert\x20footnote'),'icon':_0x5ecb83,'tooltip':!0x0}),_0xc29846['on']('execute',()=>{_0x3c4f7f['execute'](),_0x555591['editing']['view']['focus']();}),_0xc29846;};}class lt extends _0x443da6{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x17915a{['refresh'](){const {editor:_0x409b98}=this,_0x63118b=_0x409b98['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x63118b,this['value']=_0x63118b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x415256}){const {editor:_0x210aed}=this,_0x371ed3=_0x210aed['plugins']['get'](c),_0x409d80=_0x371ed3['getFootnotesDefinitionsObjectElement']();_0x409d80&&Q['includes'](_0x415256)&&_0x210aed['model']['change'](_0x3b1e02=>{_0x3b1e02['setAttribute']('footnotesListStyle',_0x415256,_0x409d80),_0x371ed3['_updateFootnotesCounters'](_0x3b1e02);});}}class C extends _0x17915a{['refresh'](){const {editor:_0x24e25f}=this,_0x5216e1=_0x24e25f['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5216e1,this['value']=_0x5216e1?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xd45045}){const {editor:_0x20f3ed}=this,_0x46dcfb=_0x20f3ed['plugins']['get'](c),_0x170f21=_0x46dcfb['getFootnotesDefinitionsObjectElement']();_0x170f21&&Number['isInteger'](_0xd45045)&&_0x20f3ed['model']['change'](_0x503736=>{_0x503736['setAttribute']('footnotesListStart',_0xd45045,_0x170f21),_0x46dcfb['_updateFootnotesCounters'](_0x503736);});}}class P extends _0x443da6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17774c}=this;_0x17774c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x17774c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x17774c['commands']['add']('footnotesStyle',new S(_0x17774c)),_0x17774c['commands']['add']('footnotesStart',new C(_0x17774c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x17dcaa}=this,{schema:_0x5ac410}=_0x17dcaa['model'];_0x5ac410['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x39ab99}=this,{conversion:_0x3cac8e,model:_0xf8b9e5}=_0x39ab99,{schema:_0x125bf3}=_0xf8b9e5;_0x3cac8e['for']('upcast')['add'](_0x9a8365=>{_0x9a8365['on']('element:ol',(_0x2eb026,_0x2575f6,_0x5a474e)=>{const _0x2d43c2=_0x2575f6['viewItem'],_0xf085dd=_0x2575f6['modelCursor']?.['parent'];_0x2d43c2['hasClass']('footnotes-list')&&_0xf085dd?.['is']('element','footnotesDefinitions')&&(function(_0x55e41e,_0x25a3b1,_0x413e08,_0x3f59d0){if(!_0x3f59d0['checkAttribute'](_0x25a3b1,'footnotesListStart'))return;let _0x50b6fb=0x1;const _0x77f70f=_0x413e08['consumable']['consume'](_0x55e41e,{'attributes':'start'});if(_0x77f70f){const _0x1227ad=Number['parseInt'](_0x55e41e['getAttribute']('start'),0xa);Number['isNaN'](_0x1227ad)||(_0x50b6fb=_0x1227ad);}!_0x77f70f&&_0x25a3b1['hasAttribute']('footnotesListStart')||_0x413e08['writer']['setAttribute']('footnotesListStart',_0x50b6fb,_0x25a3b1);}(_0x2d43c2,_0xf085dd,_0x5a474e,_0x125bf3),function(_0x2f3c92,_0xfa081d,_0x584a0e,_0x17e93c){if(!_0x17e93c['checkAttribute'](_0xfa081d,'footnotesListStyle'))return;let _0x5756ac='decimal',_0x9946fb=!0x1;if(_0x584a0e['consumable']['consume'](_0x2f3c92,{'attributes':'type'})){const _0x47bc95={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2f3c92['getAttribute']('type')];_0x47bc95&&(_0x5756ac=_0x47bc95),_0x9946fb=!0x0;}_0x584a0e['consumable']['consume'](_0x2f3c92,{'styles':'list-style-type'})&&(_0x5756ac=_0x2f3c92['getStyle']('list-style-type'),_0x9946fb=!0x0),!_0x9946fb&&_0xfa081d['hasAttribute']('footnotesListStyle')||_0x584a0e['writer']['setAttribute']('footnotesListStyle',_0x5756ac,_0xfa081d);}(_0x2d43c2,_0xf085dd,_0x5a474e,_0x125bf3));});}),_0x3cac8e['for']('downcast')['add'](_0x1a340d=>{_0x1a340d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x259f95,_0x3b8f72,_0x5db066)=>{if(!_0x5db066['consumable']['consume'](_0x3b8f72['item'],_0x259f95['name']))return;const _0xc2827e=M(_0x3b8f72['item'],_0x5db066['mapper']),{attributeNewValue:_0x450fdd}=_0x3b8f72;null==_0x450fdd||0x1===_0x450fdd?_0x5db066['writer']['removeAttribute']('start',_0xc2827e):_0x5db066['writer']['setAttribute']('start',String(_0x450fdd),_0xc2827e);}),_0x1a340d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x565e71,_0x3225c3,_0x56fc7b)=>{if(!_0x56fc7b['consumable']['consume'](_0x3225c3['item'],_0x565e71['name']))return;const _0x4075ce=M(_0x3225c3['item'],_0x56fc7b['mapper']),{attributeNewValue:_0x4d1ae6}=_0x3225c3;_0x4d1ae6&&'decimal'!==_0x4d1ae6?_0x56fc7b['writer']['setStyle']('list-style-type',_0x4d1ae6,_0x4075ce):_0x56fc7b['writer']['removeStyle']('list-style-type',_0x4075ce);});});}['_definePostfixer'](){const {editor:_0x3d13c9}=this,{model:_0x3c513b}=_0x3d13c9,_0x2e3045=_0x3d13c9['plugins']['get'](c),_0x12523e=this['_getDefaultListStyle'](),_0x1b017f=this['_getDefaultStartIndex']();_0x3c513b['document']['registerPostFixer'](_0x44a385=>{const _0x19f475=_0x3c513b['document']['differ']['getChanges']();let _0x296672=!0x1;for(const _0x86fbf6 of _0x19f475){if('insert'!==_0x86fbf6['type']||'$text'===_0x86fbf6['name'])continue;const _0x3671e2=_0x3c513b['createRangeOn'](_0x86fbf6['position']['nodeAfter']);for(const _0x5a383b of _0x3671e2['getItems']())_0x5a383b['is']('element','footnotesDefinitions')&&(!_0x5a383b['hasAttribute']('footnotesListStart')&&_0x3c513b['schema']['checkAttribute'](_0x5a383b,'footnotesListStart')&&(_0x44a385['setAttribute']('footnotesListStart',_0x1b017f,_0x5a383b),_0x296672=!0x0),!_0x5a383b['hasAttribute']('footnotesListStyle')&&_0x3c513b['schema']['checkAttribute'](_0x5a383b,'footnotesListStyle')&&(_0x44a385['setAttribute']('footnotesListStyle',_0x12523e,_0x5a383b),_0x296672=!0x0));}return _0x296672&&_0x2e3045['_updateFootnotesCounters'](_0x44a385),_0x296672;});}['_defineFormatter'](){const {editor:_0x412260}=this;_0x412260['plugins']['get'](c)['setFootnoteFormatter'](_0x42d2b2=>this['_formatFootnoteListValue'](_0x42d2b2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x35b91b,value:_0x28ae2f,digits:_0x33a588}){const _0x513c24=_0x35b91b['getAttribute']('footnotesListStyle'),_0x398ab2=_0x35b91b['getAttribute']('footnotesListStart'),_0x16ee87=Math['floor'](_0x28ae2f)+(_0x398ab2??0x1)-0x1;switch(_0x513c24){case'decimal-leading-zero':return function(_0x1fe65d,_0x5230d1){return String(_0x1fe65d)['padStart'](_0x5230d1,'0');}(_0x16ee87,Math['max'](0x2,_0x33a588));case'lower-alpha':case'lower-latin':return N(_0x16ee87,!0x1);case'upper-alpha':case'upper-latin':return N(_0x16ee87,!0x0);case'lower-roman':return X(_0x16ee87,!0x1);case'upper-roman':return X(_0x16ee87,!0x0);default:return String(_0x16ee87);}}}function M(_0x1069c6,_0x23294a){const _0x1e4475=_0x23294a['toViewElement'](_0x1069c6);return Array['from'](_0x1e4475['getChildren']())['find'](_0x544ea4=>_0x544ea4['is']('element','ol')&&_0x544ea4['hasClass']('footnotes-list'));}function N(_0x1f209d,_0x5b8da6){let _0x36212d='',_0x1f63d1=_0x1f209d;for(;_0x1f63d1>0x0;){const _0x2c21f2=(_0x1f63d1-0x1)%0x1a;_0x36212d=String['fromCharCode'](0x61+_0x2c21f2)+_0x36212d,_0x1f63d1=Math['floor']((_0x1f63d1-0x1)/0x1a);}return _0x5b8da6?_0x36212d['toUpperCase']():_0x36212d;}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(_0x362e0c,_0x10a370){let _0x4075eb='',_0xd8366e=_0x362e0c;for(const {value:_0x3bbbe1,numeral:_0x294c65}of V)for(;_0xd8366e>=_0x3bbbe1;)_0x4075eb+=_0x294c65,_0xd8366e-=_0x3bbbe1;return _0x10a370?_0x4075eb:_0x4075eb['toLowerCase']();}class H extends _0x3a588d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x14d98d();['focusCycler'];constructor(_0x1427ab,{styleButtonViews:_0x35ee9a,styleGridAriaLabel:_0x285ffa}){super(_0x1427ab),(this['focusCycler']=new _0x1cda25({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x35ee9a,_0x285ffa),[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 _0x1609f0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1609f0['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x183e4f=_0x455fcd=>_0x455fcd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x183e4f),this['keystrokes']['set']('arrowleft',_0x183e4f),this['keystrokes']['set']('arrowup',_0x183e4f),this['keystrokes']['set']('arrowdown',_0x183e4f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2a6907,_0x33478a){const _0x56f205=new _0x3a588d(this['locale']);return _0x56f205['children']=_0x56f205['createCollection'](),_0x56f205['children']['addMany'](_0x2a6907),_0x56f205['setTemplate']({'tag':'div','attributes':{'aria-label':_0x33478a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x56f205['children']}),_0x56f205['children']['delegate']('execute')['to'](this),_0x56f205['focus']=function(){for(const _0x10c876 of this['children'])if(_0x10c876 instanceof _0x11e055&&_0x10c876['isOn'])return void _0x10c876['focus']();this['children']['first']['focus']();},_0x56f205['focusTracker']=new ot(),_0x56f205['keystrokes']=new rt(),_0x56f205['render'](),_0x56f205['keystrokes']['listenTo'](_0x56f205['element']),this['children']['add'](_0x56f205),_0x56f205;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x20d469=this['_createStartIndexPropertyView'](),_0x3128c4=[_0x20d469],_0x2e3fc2=new st(this['locale'],_0x3128c4);return _0x2e3fc2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2e3fc2['buttonView']['bind']('isEnabled')['toMany'](_0x3128c4,'isEnabled',(..._0x32be8e)=>_0x32be8e['some'](_0x482bf7=>_0x482bf7)),_0x2e3fc2['buttonView']['on']('change:isEnabled',(_0x51b9e3,_0x5f3f68,_0x1bd3a6)=>{_0x1bd3a6||(_0x2e3fc2['isCollapsed']=!0x0);}),this['children']['add'](_0x2e3fc2),[_0x20d469,_0x2e3fc2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1fe2b0=new it(this['locale'],et);return _0x1fe2b0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1fe2b0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1fe2b0['fieldView']['on']('input',()=>{const _0x3c1457=_0x1fe2b0['fieldView']['element'],_0x432978=_0x3c1457['valueAsNumber'];Number['isNaN'](_0x432978)?_0x1fe2b0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c1457['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x432978}):_0x1fe2b0['errorText']=t(_0x432978<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1fe2b0;}}class j extends _0x443da6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4325bd,_0x2f9051];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe05bb4}=this,{componentFactory:_0x3986c8}=_0xe05bb4['ui'];_0xe05bb4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3986c8['add']('footnotesStyle',function(_0xd9a9b2){return _0x38c822=>{const {t:t}=_0x38c822,_0x2fd5ed=_0xd9a9b2['commands']['get']('footnotesStyle'),_0x37765c=_0x5c3277(_0x38c822),{buttonView:_0x2acf1e}=_0x37765c;return _0x37765c['class']='ck-footnotes-styles-dropdown',_0x37765c['bind']('isEnabled')['to'](_0x2fd5ed,'isEnabled'),_0x2acf1e['set']({'label':t('Footnotes\x20style'),'icon':_0x5ecb83,'tooltip':!0x0}),_0x37765c['once']('change:isOpen',()=>{const _0x152dd0=function({editor:_0x43439b,dropdownView:_0x4a94d9}){const {t:t}=_0x43439b['locale'],_0x385f5f=t('Footnotes\x20definitions\x20styles'),_0x549f74=function(_0x3c5aa0){const t=_0x3c5aa0['locale']['t'],_0x3fb5df=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x303f0b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d0348},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4d6aac},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x20b737},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x855632},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x227d9e}];return _0x3fb5df['map'](function(_0xdb0bf8){const _0x10be8c=_0xdb0bf8['locale'];return({label:_0x4ede1a,icon:_0x48b9bb,tooltip:_0x1c2782,style:_0x58fd52})=>{const _0x3d0416=_0xdb0bf8['commands']['get']('footnotesStyle'),_0xe05e26=new _0x11e055(_0x10be8c);return _0xe05e26['set']({'label':_0x4ede1a,'icon':_0x48b9bb,'tooltip':_0x1c2782}),_0xe05e26['bind']('isOn')['to'](_0x3d0416,'value',_0x222007=>_0x222007===_0x58fd52),_0xe05e26['bind']('isEnabled')['to'](_0x3d0416,'isEnabled'),_0xe05e26['on']('execute',()=>{_0xdb0bf8['execute']('footnotesStyle',{'value':_0x58fd52}),_0xdb0bf8['editing']['view']['focus']();}),_0xe05e26;};}(_0x3c5aa0));}(_0x43439b),_0x58fd2a=new H(_0x43439b['locale'],{'styleGridAriaLabel':_0x385f5f,'styleButtonViews':_0x549f74});return _0x58fd2a['delegate']('execute')['to'](_0x4a94d9),_0x58fd2a['on']('footnotesListStart',(_0x374b85,_0x125875)=>{_0x43439b['execute']('footnotesStart',{'value':_0x125875['startIndex']});}),_0x58fd2a;}({'editor':_0xd9a9b2,'dropdownView':_0x37765c});_0x37765c['panelView']['children']['add'](_0x152dd0);}),_0x37765c;};}(_0xe05bb4));}['afterInit'](){const {editor:_0x1db01e}=this,{t:t}=_0x1db01e['locale'],_0x426469=_0x1db01e['plugins']['get'](_0x2f9051),{defaultPositions:_0x79d75e}=_0xd8228c;_0x426469['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1db01e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x287927=>{let _0x570150=_0x287927['getFirstPosition']()?.['parent'];return _0x570150?.['is']('$text')&&(_0x570150=_0x570150['parent']),_0x570150?.['is']('element')?_0x570150['findAncestor'](J):null;},'positions':[_0x79d75e['southArrowNorth'],_0x79d75e['southArrowNorthMiddleWest'],_0x79d75e['southArrowNorthMiddleEast'],_0x79d75e['southArrowNorthWest'],_0x79d75e['southArrowNorthEast'],_0x79d75e['northArrowSouth'],_0x79d75e['northArrowSouthMiddleWest'],_0x79d75e['northArrowSouthMiddleEast'],_0x79d75e['northArrowSouthWest'],_0x79d75e['northArrowSouthEast'],_0x79d75e['viewportStickyNorth']]});}}class ft extends _0x443da6{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x275ec9,Command as _0x51142c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3f947e,isWidget as _0x3f422d,toWidgetEditable as _0x5ef579,WidgetToolbarRepository as _0x4021c6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x58008f,logWarning as _0xb13374,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4c9082,ClickObserver as _0x383a16}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x50914d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3825d0,ButtonView as _0x31cc2b,View as _0x4cb5bf,ViewCollection as _0x100044,FocusCycler as _0x49121a,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x628725,BalloonPanelView as _0x113cf4,createDropdown as _0x4bebae}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x572da7,IconListStyleDecimal as _0x56d51f,IconListStyleDecimalLeadingZero as _0x256657,IconListStyleLowerRoman as _0x15d13e,IconListStyleUpperRoman as _0x2950a6,IconListStyleLowerLatin as _0x438409,IconListStyleUpperLatin as _0x5b5f23}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x25e4e0,_0x1fc61b){this['_model']=_0x25e4e0,this['_elementName']=_0x1fc61b['elementName'],this['_getElementKey']=_0x1fc61b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b30a7){const _0x19eee6=new Set(),_0x117d82=new Map();for(const _0x456e90 of _0x5b30a7){if('insert'===_0x456e90['type']&&'$text'!==_0x456e90['name']&&_0x456e90['position']['nodeAfter']){const _0x1771d4=this['_model']['createRangeOn'](_0x456e90['position']['nodeAfter']);for(const _0x468661 of _0x1771d4['getItems']()){if(!_0x468661['is']('element',this['_elementName']))continue;const _0x44e973=this['_getElementKey'](_0x468661);_0x117d82['has'](_0x44e973)||_0x117d82['set'](_0x44e973,[]),_0x117d82['get'](_0x44e973)['push'](_0x468661);}}if('remove'===_0x456e90['type']&&_0x456e90['name']===this['_elementName']){const _0x29cbab=this['_getElementKey']({'getAttribute':_0x4ad6b8=>_0x456e90['attributes']['get'](_0x4ad6b8)});_0x19eee6['add'](_0x29cbab);}}for(const [_0x508a75,_0x30d8ee]of this['_trackedElements'])'$graveyard'===_0x30d8ee['root']['rootName']&&_0x19eee6['add'](_0x508a75);for(const _0x3912a2 of _0x19eee6)this['_trackedElements']['delete'](_0x3912a2);for(const [_0x249aeb,_0x5ae5e5]of _0x117d82)this['_trackedElements']['set'](_0x249aeb,_0x5ae5e5[_0x5ae5e5['length']-0x1]);const _0x5dc1ab=new Set();for(const [_0x12de17,_0x2a82c4]of _0x117d82)_0x19eee6['has'](_0x12de17)&&(_0x5dc1ab['add'](_0x2a82c4[0x0]),_0x2a82c4['length']>0x1?_0x117d82['set'](_0x12de17,_0x2a82c4['slice'](0x1)):_0x117d82['delete'](_0x12de17),_0x19eee6['delete'](_0x12de17));return{'removed':Array['from'](_0x19eee6),'inserted':Array['from'](_0x117d82['values']())['flat'](),'moved':Array['from'](_0x5dc1ab)};}}class c extends _0x275ec9{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f14af){super(_0x1f14af),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4dbd28=>_0x4dbd28['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x592cac=>_0x592cac['getAttribute']('footnoteId')});}['init'](){const {editor:_0x22901d}=this,{model:_0x833253,data:_0x19ed06}=_0x22901d;_0x833253['document']['registerPostFixer'](_0x105d47=>{const _0x59fc61=_0x833253['document']['differ']['getChanges']();let _0x126547=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_handleFootnoteReferencesChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x105d47)&&(_0x126547=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x105d47)&&(_0x126547=!0x0),this['_sortFootnoteDefinitions'](_0x105d47)&&(_0x126547=!0x0),_0x126547;}),this['listenTo'](_0x833253['document'],'change:data',()=>{_0x833253['enqueueChange']({'isUndoable':!0x1},_0x96d3eb=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x96d3eb);});},{'priority':'low'}),this['listenTo'](_0x19ed06,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3893cf){return this['_footnotes']['find'](_0x5abc67=>_0x5abc67['id']===_0x3893cf)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xb6ae25){this['_footnoteFormatter']=_0xb6ae25;}['_updateFootnotesCounters'](_0x3346ab,_0x2ec4e8=0x0){let _0x3f3da5=!0x1;for(let _0x315557=_0x2ec4e8;_0x315557<this['_footnotes']['length'];_0x315557++)this['_updateFootnoteRefCounter'](_0x3346ab,_0x315557)&&(_0x3f3da5=!0x0);return _0x3f3da5;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3fb36b,_0x3a5d3f){const _0x14a34f=_0x3fb36b['createElement']('footnotesDefinitions',{});return _0x3fb36b['append'](_0x14a34f,_0x3a5d3f),this['_footnotesDefinitions']=_0x14a34f,_0x14a34f;}['_ensureFootnotesDefinitionsContainerExists'](_0x538377){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x36d804=this['_footnotes'][0x0]['reference']['root'],_0x4e4d0a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x538377,_0x36d804);for(const _0x12a953 of this['_footnotes'])_0x12a953['definition']['parent']||_0x538377['insert'](_0x12a953['definition'],_0x4e4d0a,'end');this['_updateFootnotesCounters'](_0x538377);}['_handleFootnotesDefinitionsObjectChanges'](_0x296462,_0x1fddf3){let _0x4259eb=!0x1;const {inserted:_0x4259c6,removed:_0x1c10cb,moved:_0x113abb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1fddf3);if(_0x113abb['length']&&(this['_footnotesDefinitions']=_0x113abb[0x0]),_0x4259c6['length']){if(_0x4259c6['length']>0x1||this['_footnotesDefinitions']&&_0x4259c6['some'](_0xabee37=>_0xabee37!==this['_footnotesDefinitions'])){const _0x10a9eb=_0x296462['createElement']('footnotesDefinitions',{}),_0x46d98d=[];this['_footnotesDefinitions']&&_0x46d98d['push'](this['_footnotesDefinitions']),_0x46d98d['push'](..._0x4259c6),_0x296462['insert'](_0x10a9eb,_0x46d98d[0x0],'before');for(const _0x49842d of _0x46d98d)_0x296462['move'](_0x296462['createRangeIn'](_0x49842d),_0x296462['createPositionAt'](_0x10a9eb,'end')),_0x296462['remove'](_0x49842d);this['_footnotesDefinitions']=_0x10a9eb,this['_updateFootnotesCounters'](_0x296462),_0x4259eb=!0x0;}else this['_footnotesDefinitions']=_0x4259c6[0x0];}if(_0x1c10cb['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4bdbf9 of this['_footnotes'])_0x296462['remove'](_0x4bdbf9['reference']),_0x4259eb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4259eb;}['_handleFootnoteDefinitionsChanges'](_0x52af0f,_0x335c7c){let _0x398e63=!0x1;const _0xddf09c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x532b0c,moved:_0x255162}=this['_footnoteDefsTracker']['getChanges'](_0x335c7c);for(const _0x92977f of[..._0x255162,..._0x532b0c]){const _0x1f9abd=_0x92977f['getAttribute']('footnoteId'),_0x4ce7af=this['getFootnote'](_0x1f9abd);_0x4ce7af&&(_0x4ce7af['definition']=_0x92977f),_(_0x52af0f,_0xddf09c,_0x92977f)&&(_0x398e63=!0x0);}return _0x398e63;}['_handleFootnoteReferencesChanges'](_0x1a5c29,_0x1c5e29){let _0x516a87=!0x1;const {removed:_0x3e528e,inserted:_0x2a1ff2,moved:_0x16acc1}=this['_footnoteRefsTracker']['getChanges'](_0x1c5e29);for(const _0x5614b7 of _0x3e528e)this['_handleRemoveFootnoteReferenceById'](_0x1a5c29,_0x5614b7)&&(_0x516a87=!0x0);for(const _0x74e568 of _0x2a1ff2)this['_handleInsertedFootnoteReference'](_0x1a5c29,_0x74e568)&&(_0x516a87=!0x0);for(const _0x1d3a5d of _0x16acc1)this['_handleMovedFootnoteReference'](_0x1a5c29,_0x1d3a5d)&&(_0x516a87=!0x0);return _0x516a87;}['_handleFootnotesDefinitionsObjectSync'](_0xe449d2){if(!this['_footnotesDefinitions'])return!0x1;let _0xf5cd4f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x7c3493=[];for(const _0x599c55 of this['_footnotesDefinitions']['getChildren']()){const _0x1cefee=_0x599c55['getAttribute']('footnoteId');this['getFootnote'](_0x1cefee)||(_0x7c3493['unshift'](_0x599c55),_0xf5cd4f=!0x0);}for(const _0x459d1e of _0x7c3493)_0xe449d2['remove'](_0x459d1e);}const _0x2ea7f6=new Set(),_0x5ebf25=[];for(const _0x58060f of this['_footnotesDefinitions']['getChildren']()){const _0x731888=_0x58060f['getAttribute']('footnoteId');_0x2ea7f6['has'](_0x731888)?(_0x5ebf25['unshift'](_0x58060f),_0xf5cd4f=!0x0):_0x2ea7f6['add'](_0x731888);}for(const _0x479c76 of _0x5ebf25)_0xe449d2['remove'](_0x479c76);return this['_footnotesDefinitions']['childCount']||(_0xe449d2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xf5cd4f=!0x0),_0xf5cd4f;}['_handleInsertedFootnoteReference'](_0x47a172,_0x1a6ccd){if(this['_footnotes']['find'](_0x4bb76b=>_0x4bb76b['reference']===_0x1a6ccd))return!0x1;let _0xa03499=!0x1;const _0xfbac29=_0x1a6ccd['getAttribute']('footnoteId'),_0x5e7eb0=this['_footnotes']['findIndex'](_0x521a3b=>_0x521a3b['id']===_0xfbac29);-0x1!==_0x5e7eb0&&(_0x47a172['remove'](this['_footnotes'][_0x5e7eb0]['reference']),this['_footnotes']['splice'](_0x5e7eb0,0x1),_0xa03499=!0x0);let _0xc75fc5=this['_footnotesDefinitions']?function(_0x2b0fce,_0x35b395){for(const _0x74af6c of _0x2b0fce['getChildren']())if(_0x74af6c['getAttribute']('footnoteId')===_0x35b395)return _0x74af6c;return null;}(this['_footnotesDefinitions'],_0xfbac29):null;_0xc75fc5||(_0xc75fc5=_0x47a172['createElement']('footnoteDefinition',{'footnoteId':_0xfbac29}),this['_footnotesDefinitions']&&(_0x47a172['insert'](_0xc75fc5,this['_footnotesDefinitions'],'end'),_0xa03499=!0x0));const _0x3bd9fd={'id':_0xfbac29,'reference':_0x1a6ccd,'definition':_0xc75fc5},_0x860426=I(this['editor']['model'],this['_footnotes'],_0x1a6ccd);this['_footnotes']['splice'](_0x860426,0x0,_0x3bd9fd);let _0x25e70d=_0x860426;return-0x1!==_0x5e7eb0&&(_0x25e70d=Math['min'](_0x860426,_0x5e7eb0)),this['_updateFootnotesCounters'](_0x47a172,_0x25e70d)&&(_0xa03499=!0x0),_0xa03499;}['_handleRemoveFootnoteReferenceById'](_0x49ecdc,_0x4b685c){const _0x268b14=this['_footnotes']['findIndex'](_0x59d0c8=>_0x59d0c8['id']===_0x4b685c);if(-0x1===_0x268b14)return!0x1;let _0xc5d99f=!0x1;const _0x1960fe=this['_footnotes'][_0x268b14];return'$graveyard'!==_0x1960fe['definition']['root']['rootName']&&(_0x49ecdc['remove'](_0x1960fe['definition']),_0xc5d99f=!0x0),this['_footnotes']['splice'](_0x268b14,0x1),this['_updateFootnotesCounters'](_0x49ecdc,_0x268b14)&&(_0xc5d99f=!0x0),_0xc5d99f;}['_handleMovedFootnoteReference'](_0x2b3c55,_0x376630){const _0x3b7042=_0x376630['getAttribute']('footnoteId'),_0x689952=this['_footnotes']['findIndex'](_0x553e8b=>_0x553e8b['id']===_0x3b7042),_0xad3e49=this['_footnotes'][_0x689952];let _0x5d9b0f=!0x1;_0xad3e49['reference']=_0x376630,this['_footnotes']['splice'](_0x689952,0x1);const _0x5d085e=I(this['editor']['model'],this['_footnotes'],_0x376630);return this['_footnotes']['splice'](_0x5d085e,0x0,_0xad3e49),this['_updateFootnotesCounters'](_0x2b3c55,Math['min'](_0x689952,_0x5d085e))&&(_0x5d9b0f=!0x0),_0x5d9b0f;}['_updateFootnoteRefCounter'](_0xb1ce6c,_0x483f2e){if(!this['_footnotesDefinitions'])return!0x1;const _0x296c3b=this['_footnotes'][_0x483f2e];let _0x3eca2b;return _0x3eca2b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x296c3b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x483f2e+0x1}):String(_0x483f2e+0x1),_0x296c3b['reference']['getAttribute']('footnoteCounter')!=_0x3eca2b&&(_0xb1ce6c['setAttribute']('footnoteCounter',_0x3eca2b,_0x296c3b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x17d2cf){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x202ab2,_0x3df971){if(_0x202ab2['length']!==_0x3df971['length'])return!0x1;for(let _0x315fdb=0x0;_0x315fdb<_0x202ab2['length'];_0x315fdb++)if(_0x202ab2[_0x315fdb]!==_0x3df971[_0x315fdb])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x425d35=>_0x425d35['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x45dffc=>_0x45dffc['getAttribute']('footnoteId'))))return!0x1;let _0x1ae08e=!0x1;for(let _0xa60fd9=0x0;_0xa60fd9<this['_footnotes']['length'];_0xa60fd9++){const _0x107045=this['_footnotes'][_0xa60fd9],_0x38fa90=_0x17d2cf['createPositionBefore'](_0x107045['definition']),_0x30d11c=_0x17d2cf['createPositionAt'](this['_footnotesDefinitions'],_0xa60fd9);_0x38fa90['isEqual'](_0x30d11c)||(_0x17d2cf['move'](_0x17d2cf['createRangeOn'](_0x107045['definition']),_0x30d11c),_0x1ae08e=!0x0);}return _0x1ae08e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3bf5c9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x85702b}=this['editor'];let _0x579e9b=!0x1;for(let _0x3c8bbc=0x0;_0x3c8bbc<this['_footnotes']['length']-0x1;_0x3c8bbc++){const _0x589e19=this['_footnotes'][_0x3c8bbc],_0x2ef9eb=this['_footnotes'][_0x3c8bbc+0x1],_0x3d35=_0x85702b['createPositionBefore'](_0x589e19['reference']),_0xda5a15=_0x85702b['createPositionBefore'](_0x2ef9eb['reference']);'after'===_0x3d35['compareWith'](_0xda5a15)&&(this['_handleMovedFootnoteReference'](_0x3bf5c9,_0x589e19['reference']),_0x3c8bbc=-0x1,_0x579e9b=!0x0);}return _0x579e9b;}}function _(_0x2bdb1b,_0x56b89a,_0x21a33b){if(_0x21a33b['childCount'])return!0x1;const _0x4a9e96=_0x56b89a?'paragraph':'footnoteInlineContent';return _0x2bdb1b['insert'](_0x2bdb1b['createElement'](_0x4a9e96),_0x21a33b),!0x0;}function I(_0x3a4b3e,_0x1a5c19,_0x1ebe9b){if(0x0===_0x1a5c19['length'])return 0x0;const _0x25c7fb=_0x3a4b3e['createPositionBefore'](_0x1ebe9b);for(let _0x46c9b0=0x0;_0x46c9b0<_0x1a5c19['length'];_0x46c9b0++){const _0x7e27af=_0x1a5c19[_0x46c9b0],_0x4fa481=_0x3a4b3e['createPositionBefore'](_0x7e27af['reference']);if('before'===_0x25c7fb['compareWith'](_0x4fa481))return _0x46c9b0;}const _0x1ef092=_0x1ebe9b['root'];let _0x2ef27e=-0x1;for(let _0x700080=_0x1a5c19['length']-0x1;_0x700080>=0x0;_0x700080--)if(_0x1a5c19[_0x700080]['reference']['root']===_0x1ef092){_0x2ef27e=_0x700080;break;}if(-0x1!==_0x2ef27e)return _0x2ef27e+0x1;const _0x4c8473=_0x3a4b3e['document']['getRootNames'](),_0x327a06=_0x4c8473['indexOf'](_0x1ef092['rootName']),_0x16ae16=_0x4c8473[_0x327a06+0x1];if(_0x16ae16){for(let _0x486c47=0x0;_0x486c47<_0x1a5c19['length'];_0x486c47++)if(_0x1a5c19[_0x486c47]['reference']['root']['rootName']===_0x16ae16)return _0x486c47;}return _0x1a5c19['length'];}class m extends _0x51142c{['refresh'](){const _0x17cbf6=this['editor']['model']['document']['selection'],_0x4e29b0=this['_getPositionToInsertFootnote'](_0x17cbf6);this['isEnabled']=!!_0x4e29b0;}['execute'](_0x3920c8){const {editor:_0x245b63}=this,{model:_0x15fd4e}=_0x245b63,{selection:_0x2edde2}=_0x15fd4e['document'],_0x6a1481=this['_getPositionToInsertFootnote'](_0x2edde2);if(!_0x6a1481)return;const _0x4648a7=_0x245b63['plugins']['get']('FootnotesEditing'),_0x1cdc1a=_0x3920c8?.['footnoteId']??_0x58008f();!function(_0x5f5031){return'string'==typeof _0x5f5031&&_0x5f5031['length']>0x0&&!/\s/['test'](_0x5f5031)&&!/^\d/['test'](_0x5f5031);}(_0x1cdc1a)?_0xb13374('insert-footnote-command-executed-with-invalid-id'):(_0x15fd4e['change'](_0x3e275c=>{const _0x5eaa18=_0x3e275c['createElement']('footnoteRef',{'footnoteId':_0x1cdc1a});_0x15fd4e['insertObject'](_0x5eaa18,_0x6a1481,null);}),_0x4648a7['_moveSelectionToFootnoteDefinition'](_0x1cdc1a));}['_getPositionToInsertFootnote'](_0x691f59){const {model:_0x35184c}=this['editor'],{schema:_0xe9e36}=_0x35184c,_0x410b6c=_0x691f59['getFirstRange']();for(const _0x491469 of _0x410b6c['getItems']())if(_0xe9e36['isBlock'](_0x491469)||_0xe9e36['isObject'](_0x491469))return null;const _0x13dbec=_0x410b6c['end'];return _0xe9e36['checkChild'](_0x13dbec,'footnoteRef')?_0x13dbec:null;}}class r extends _0x275ec9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31db5a}=this;_0x31db5a['config']['define']('footnotes.multiBlock',!0x0),_0x31db5a['commands']['add']('insertFootnote',new m(_0x31db5a)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd6f0ed){const _0x3ef009=_0x157952([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]),_0x18599e=0x47a28506,_0x4ba0e4=0x47a5fd26^_0x18599e,_0x18a77d=window[_0x157952([0x44,0x61,0x74,0x65])][_0x157952([0x6e,0x6f,0x77])](),_0x585d2f=_0xd6f0ed[_0x157952([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b293e=new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d487=>{_0x585d2f[_0x157952([0x6f,0x6e,0x63,0x65])](_0x157952([0x72,0x65,0x61,0x64,0x79]),_0x41d487);}),_0x4825b4={[_0x157952([0x6b,0x74,0x79])]:_0x157952([0x45,0x43]),[_0x157952([0x75,0x73,0x65])]:_0x157952([0x73,0x69,0x67]),[_0x157952([0x63,0x72,0x76])]:_0x157952([0x50,0x2d,0x32,0x35,0x36]),[_0x157952([0x78])]:_0x157952([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]),[_0x157952([0x79])]:_0x157952([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]),[_0x157952([0x61,0x6c,0x67])]:_0x157952([0x45,0x53,0x32,0x35,0x36])},_0xec11d7=_0x585d2f[_0x157952([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x157952([0x67,0x65,0x74])](_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ae9cb(){let _0xf2272e,_0x313f16=null,_0x56664e=null;try{if(_0xec11d7==_0x157952([0x47,0x50,0x4c]))return _0x157952([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2272e=_0xf4ba59(),!_0xf2272e)return _0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2272e[_0x157952([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56664e=_0x3889b3(_0xf2272e[_0x157952([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2272e[_0x157952([0x6a,0x74,0x69])])),await _0x30ede8()?_0x105243()?_0x4223b5()?_0x157952([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a600e()?(_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157952([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x313f16=_0x1067a7(_0x157952([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157952([0x74,0x72,0x69,0x61,0x6c])&&(_0x313f16=_0x1067a7(_0x157952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53bbfc()):_0x157952([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x157952([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4223b5(){const _0x1ff9df=[_0x157952([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x157952([0x74,0x72,0x69,0x61,0x6c])][_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a77d/0x3e8:0xe10*_0x4ba0e4;return _0xf2272e[_0x157952([0x65,0x78,0x70])]<_0x1ff9df;}function _0x105243(){const _0x35b518=_0xf2272e[_0x157952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35b518&&(!!_0x35b518[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x2a]))||!!_0x35b518[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x46,0x4f,0x4f])));}function _0x4a600e(){const _0x37b3e0=_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b3e0||0x0==_0x37b3e0[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bc3cb}=new URL(window[_0x157952([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37b3e0[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc3cb))return!0x0;const _0x42b5ec=_0x3bc3cb[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e]));return _0x37b3e0[_0x157952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3612e3=>_0x3612e3[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x2a])))[_0x157952([0x6d,0x61,0x70])](_0x40c9d2=>_0x40c9d2[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e])))[_0x157952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x426a84=>_0x426a84[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42b5ec[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157952([0x6d,0x61,0x70])](_0x531ec4=>Array(_0x42b5ec[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x531ec4[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157952([0x66,0x69,0x6c,0x6c])](_0x531ec4[0x0]===_0x157952([0x2a])?_0x157952([0x2a]):'')[_0x157952([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x531ec4))[_0x157952([0x73,0x6f,0x6d,0x65])](_0xbec61d=>_0x42b5ec[_0x157952([0x65,0x76,0x65,0x72,0x79])]((_0x5de584,_0x118e8e)=>_0xbec61d[_0x118e8e]===_0x5de584||_0xbec61d[_0x118e8e]===_0x157952([0x2a])));}function _0x53bbfc(){return _0x313f16&&_0x56664e?new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28112a,_0x52a1e5)=>{_0x313f16[_0x157952([0x74,0x68,0x65,0x6e])](_0x28112a,_0x52a1e5),_0x56664e[_0x157952([0x74,0x68,0x65,0x6e])](_0x3f5bfb=>{_0x3f5bfb!=_0x157952([0x56,0x61,0x6c,0x69,0x64])&&_0x28112a(_0x3f5bfb);},_0x52a1e5);}):_0x313f16||_0x56664e||_0x157952([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3889b3(_0x3c3945,_0x114a89){return new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51383c=>{if(_0x2a9e40())return _0x51383c(_0x157952([0x56,0x61,0x6c,0x69,0x64]));_0xec607d(),_0x585d2f[_0x157952([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48d4cd=!0x1;const _0x34e9d5=_0x58008f();function _0x200413(_0x2dd595){return!!_0x2dd595&&(typeof _0x2dd595===_0x157952([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dd595===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dd595[_0x157952([0x74,0x68,0x65,0x6e])]===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dd595[_0x157952([0x63,0x61,0x74,0x63,0x68])]===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8cd806(_0x40f363){_0x1050b9(_0x40f363)[_0x157952([0x74,0x68,0x65,0x6e])](_0x16eea9=>{if(!_0x16eea9||_0x16eea9[_0x157952([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x157952([0x6f,0x6b]))return _0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1335ea(_0xfefe5d(_0x34e9d5+_0x114a89))!=_0x16eea9[_0x157952([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x157952([0x56,0x61,0x6c,0x69,0x64]);})[_0x157952([0x74,0x68,0x65,0x6e])](_0x5796b3=>(_0x594791(),_0x5796b3),()=>{const _0x438551=_0x160d8d();return null==_0x438551?(_0x594791(),_0x157952([0x56,0x61,0x6c,0x69,0x64])):_0x157952(_0x18a77d-_0x438551>(0x63ae0106^_0x18599e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x157952([0x74,0x68,0x65,0x6e])](_0x51383c)[_0x157952([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e58c6=0x47946b86^_0x18599e;function _0x594791(){const _0x5752eb=_0x157952([0x6c,0x6c,0x63,0x74,0x2d])+_0x1335ea(_0xfefe5d(_0x3c3945)),_0x3461ad=_0x372215(_0x1335ea(window[_0x157952([0x4d,0x61,0x74,0x68])][_0x157952([0x63,0x65,0x69,0x6c])](_0x18a77d/_0x5e58c6)));window[_0x157952([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157952([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5752eb,_0x3461ad);}function _0x160d8d(){const _0x1663e5=_0x157952([0x6c,0x6c,0x63,0x74,0x2d])+_0x1335ea(_0xfefe5d(_0x3c3945)),_0x53dffd=window[_0x157952([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157952([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1663e5);return _0x53dffd?window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x372215(_0x53dffd),0x10)*_0x5e58c6:null;}function _0x1050b9(_0xc5ad1){return new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x276caf,_0x1337d9)=>{_0xc5ad1[_0x157952([0x74,0x68,0x65,0x6e])](_0x276caf,_0x1337d9),window[_0x157952([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1337d9,0x47a351c6^_0x18599e);});}}_0x585d2f[_0x157952([0x6f,0x6e])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a44c8,_0x2abbfe)=>{if(_0x2abbfe[0x0]!=_0x3c3945)return _0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2abbfe[0x1]={..._0x2abbfe[0x1],[_0x157952([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e9d5};},{[_0x157952([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157952([0x68,0x69,0x67,0x68])}),_0x585d2f[_0x157952([0x6f,0x6e])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x115985=>{_0x200413(_0x115985[_0x157952([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48d4cd=!0x0,_0x8cd806(_0x115985[_0x157952([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x157952([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157952([0x6c,0x6f,0x77])}),_0x2b293e[_0x157952([0x74,0x68,0x65,0x6e])](()=>{_0x48d4cd||_0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a9e40(){return _0x585d2f[_0x157952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157952([0x76,0x69,0x65,0x77])][_0x157952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x157952([0x61,0x75,0x74,0x6f]);}function _0xec607d(){_0x585d2f[_0x157952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157952([0x76,0x69,0x65,0x77])][_0x157952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157952([0x61,0x75,0x74,0x6f]);}}function _0x1067a7(_0x4ccf34){const _0x113d0e=[new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446d22=>setTimeout(_0x446d22,0x47abbbca^_0x18599e)),_0x2b293e[_0x157952([0x74,0x68,0x65,0x6e])](()=>new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0d23=>{let _0x5a8cc1=0x0;_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x6f,0x6e])](_0x157952([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ddefa,_0x5f0782)=>{_0x5f0782[0x0][_0x157952([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a8cc1++,_0x5a8cc1==(0x47a284fe^_0x18599e)&&(_0x4b0d23(),_0x3ddefa[_0x157952([0x6f,0x66,0x66])]());});}))];return window[_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157952([0x72,0x61,0x63,0x65])](_0x113d0e)[_0x157952([0x74,0x68,0x65,0x6e])](()=>_0x4ccf34);}async function _0x510eac(){await _0x2b293e,_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d4393,_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d4393,_0x585d2f[_0x157952([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157952([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b2d8e(_0x54fb42){const _0x324df6=_0x59e430();_0x585d2f[_0x324df6]=_0x157952([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54fb42,_0x54fb42!=_0x157952([0x56,0x61,0x6c,0x69,0x64])&&_0x510eac();}function _0x59e430(){const _0x163a36=window[_0x157952([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x157952([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157952([0x6e,0x6f,0x77])]())[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157952([0x2e]),'');let _0x2290ec=_0x157952([0x75]);for(let _0x1d489d=0x0;_0x1d489d<_0x163a36[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d489d+=0x2){let _0x4b718c=window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x163a36[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d489d,_0x1d489d+0x2));_0x4b718c>=_0x3ef009[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b718c-=_0x3ef009[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2290ec+=_0x3ef009[_0x4b718c];}return _0x2290ec;}function _0xf4ba59(){const _0x1e550d=_0xec11d7[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e]));if(0x3!=_0x1e550d[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf2e693(_0x1e550d[0x1]);function _0xf2e693(_0x4483ba){const _0x42d225=_0x402c4f(_0x4483ba);return _0x42d225&&_0x365e45()?_0x42d225:null;function _0x365e45(){const _0x51ad50=_0x42d225[_0x157952([0x6a,0x74,0x69])],_0x46aec6=window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51ad50[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51ad50[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5777d6={..._0x42d225,[_0x157952([0x6a,0x74,0x69])]:_0x51ad50[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51ad50[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5777d6[_0x157952([0x76,0x63])],_0xfefe5d(_0x5777d6)==_0x46aec6;}}}async function _0x30ede8(){let _0xf32f60=!0x0;try{const _0x4bb56d=_0xec11d7[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e])),[_0x5816bb,_0xba0f46,_0x596765]=_0x4bb56d;return _0x530893(_0x5816bb),await _0x46c106(_0x5816bb,_0xba0f46,_0x596765),_0xf32f60;}catch{return!0x1;}function _0x530893(_0x501a2f){const _0x311379=_0x402c4f(_0x501a2f);_0x311379&&_0x311379[_0x157952([0x61,0x6c,0x67])]==_0x157952([0x45,0x53,0x32,0x35,0x36])||(_0xf32f60=!0x1);}async function _0x46c106(_0xb308c0,_0x53293d,_0x222a32){const _0x38ad67=window[_0x157952([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x157952([0x66,0x72,0x6f,0x6d])](_0x19f13a(_0x222a32),_0x44b9eb=>_0x44b9eb[_0x157952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xec55f5=new window[(_0x157952([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x157952([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb308c0+_0x157952([0x2e])+_0x53293d),_0xdf881f=window[_0x157952([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x157952([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdf881f)return;const _0x4fdba0=await _0xdf881f[_0x157952([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x157952([0x6a,0x77,0x6b]),_0x4825b4,{[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x45,0x43,0x44,0x53,0x41]),[_0x157952([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x157952([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x157952([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdf881f[_0x157952([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x45,0x43,0x44,0x53,0x41]),[_0x157952([0x68,0x61,0x73,0x68])]:{[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fdba0,_0x38ad67,_0xec55f5)||(_0xf32f60=!0x1);}}function _0x402c4f(_0x198036){return _0x198036[_0x157952([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x157952([0x65,0x79]))?JSON[_0x157952([0x70,0x61,0x72,0x73,0x65])](_0x19f13a(_0x198036)):null;}function _0x19f13a(_0x1f0834){return window[_0x157952([0x61,0x74,0x6f,0x62])](_0x1f0834[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x157952([0x2b]))[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x157952([0x2f])));}function _0xfefe5d(_0x3611c2){let _0x106e5f=0x1505;function _0x33ad64(_0x570888){for(let _0x4f62ba=0x0;_0x4f62ba<_0x570888[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f62ba++){const _0x4babf2=_0x570888[_0x157952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f62ba);_0x106e5f=(_0x106e5f<<0x5)+_0x106e5f+_0x4babf2,_0x106e5f&=_0x106e5f;}}function _0x3b755f(_0x1c3cce){Array[_0x157952([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c3cce)?_0x1c3cce[_0x157952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b755f):_0x1c3cce&&typeof _0x1c3cce==_0x157952([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x157952([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c3cce)[_0x157952([0x73,0x6f,0x72,0x74])]()[_0x157952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9b3a64,_0xd05d8])=>{_0x33ad64(_0x9b3a64),_0x3b755f(_0xd05d8);}):_0x33ad64(window[_0x157952([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c3cce));}return _0x3b755f(_0x3611c2),_0x106e5f>>>0x0;}function _0x1335ea(_0x2eee51){return _0x2eee51[_0x157952([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x157952([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x157952([0x30]));}function _0x372215(_0x1ffb80){return _0x1ffb80[_0x157952([0x73,0x70,0x6c,0x69,0x74])]('')[_0x157952([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x157952([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d4393(){}function _0x157952(_0x150717){return _0x150717['map'](_0x324b72=>String['fromCharCode'](_0x324b72))['join']('');}_0x4b2d8e(await _0x5ae9cb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x38231c){const {plugins:_0x203fe5,editing:_0x242d07,model:_0x24b118}=this['editor'],_0x5411f1=_0x203fe5['get'](c)['getFootnote'](_0x38231c);return!!_0x5411f1&&(_0x24b118['change'](_0x3fc5af=>{_0x3fc5af['setSelection'](_0x3fc5af['createPositionAt'](_0x5411f1['definition'],'end'));}),_0x242d07['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x411986){const {plugins:_0x53c48e,editing:_0x516a31,model:_0x573402}=this['editor'],_0x491099=_0x53c48e['get'](c)['getFootnote'](_0x411986);return!!_0x491099&&(_0x573402['change'](_0x277b20=>{_0x277b20['setSelection'](_0x491099['reference'],'on');}),_0x516a31['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1abee3}=this['editor']['model'],_0x24bc29=this['editor']['config']['get']('footnotes.multiBlock');_0x1abee3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1abee3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1abee3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x24bc29?_0x1abee3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1abee3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1abee3['addChildCheck'](_0x2669ad=>{for(const _0x5ea51f of _0x2669ad)if('footnoteDefinition'===_0x5ea51f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43ec70}=this,{conversion:_0x37e4ac,editing:_0x77a1d8}=_0x43ec70,{t:t}=_0x43ec70['locale'];_0x37e4ac['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xaab1ce,{writer:_0x22ab02,consumable:_0xbca81e})=>{const _0x52b59a=_0xaab1ce['getChild'](0x0);if(!_0x52b59a||!_0x52b59a['is']('element','a'))return null;const _0x4b7649=_0x52b59a['getAttribute']('href')||'';if(!_0x4b7649['startsWith']('#'))return null;const _0x1fe165=_0x4b7649['replace'](/^#/,'');if(!_0x1fe165)return null;_0xbca81e['consume'](_0x52b59a,{'name':!0x0,'attributes':['href']});for(const {item:_0x1912e6}of _0x77a1d8['view']['createRangeIn'](_0x52b59a))_0x1912e6['is']('$textProxy')?_0xbca81e['consume'](_0x1912e6['textNode'],{'name':!0x0}):_0x1912e6['is']('element')&&_0xbca81e['consume'](_0x1912e6,{'name':!0x0});return _0x22ab02['createElement']('footnoteRef',{'footnoteId':_0x1fe165});}}),_0x37e4ac['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcdea1f,{writer:_0x4084d0})=>D(_0xcdea1f,_0x4084d0)}),_0x37e4ac['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x32797d,{writer:_0x2fc648})=>{const _0x1b7b08=_0x32797d['getAttribute']('footnoteCounter');return _0x3f947e(D(_0x32797d,_0x2fc648),_0x2fc648,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1b7b08)});}});}['_defineDefinitionsConverters'](){const {editor:_0x481ae1}=this,{t:t}=_0x481ae1['locale'],{conversion:_0x409fb1}=_0x481ae1;_0x409fb1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x409fb1['for']('upcast')['add'](_0x2e6df8=>{_0x2e6df8['on']('element:ol',(_0x49321a,_0x3aa126,_0x3a9706)=>{const _0x1289f4=_0x3aa126['viewItem'];if(!_0x1289f4['hasClass']('footnotes-list')||!_0x3aa126['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3a9706['consumable']['consume'](_0x1289f4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28ebb0,modelCursor:_0x4f8a50}=_0x3a9706['convertChildren'](_0x3aa126['viewItem'],_0x3aa126['modelCursor']);_0x3aa126['modelRange']=_0x28ebb0,_0x3aa126['modelCursor']=_0x4f8a50;}),_0x2e6df8['on']('element:hr',(_0x4b5daf,_0x13e565,_0x50aab6)=>{const _0x3c6ee4=_0x13e565['viewItem'];_0x3c6ee4['hasClass']('footnotes-divider')&&_0x13e565['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x50aab6['consumable']['consume'](_0x3c6ee4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x409fb1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x193f11,{writer:_0x2adbba})=>v(_0x2adbba)}),_0x409fb1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e1680,{writer:_0x40faaa})=>{const _0x466f8c=v(_0x40faaa,{'data-footnotes-list-label':t('Footnotes')}),_0x339e52=_0x3f947e(_0x466f8c,_0x40faaa,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x40faaa['setCustomProperty']('footnotesDefinitions',!0x0,_0x339e52),_0x339e52;}});}['_defineDefinitionConverters'](){const {editor:_0x350d25}=this,{conversion:_0x4ba8bf,locale:_0x132f62}=_0x350d25,_0x2624ad=_0x350d25['config']['get']('footnotes.multiBlock');_0x4ba8bf['for']('upcast')['add'](_0x52afdc=>{_0x52afdc['on']('element:li',(_0x591f01,_0x25fb56,_0xb301bc)=>{const _0x30f7de=_0x25fb56['viewItem'];if(!_0x30f7de['hasClass']('footnote-definition')||!_0x30f7de['getAttribute']('id'))return;const _0x256e23=_0x30f7de['parent'];if(!_0x256e23['is']('element','ol')||!_0x256e23['hasClass']('footnotes-list'))return;if(!_0xb301bc['consumable']['test'](_0x30f7de,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2611bc=_0xb301bc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x30f7de['getAttribute']('id')});if(!_0xb301bc['safeInsert'](_0x2611bc,_0x25fb56['modelCursor']))return;_0xb301bc['consumable']['consume'](_0x30f7de,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1c7914=Array['from'](_0x30f7de['getChildren']())['find'](_0xf826f4=>_0xf826f4['is']('element')&&_0xf826f4['hasClass']('footnote-content'));for(const _0x3bb19e of _0x30f7de['getChildren']())_0x3bb19e['is']('element')&&(_0xb301bc['consumable']['consume'](_0x3bb19e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xb301bc['consumable']['consume'](_0x3bb19e,{'name':!0x0,'classes':'footnote-content'}));if(_0x1c7914){if(_0x2624ad)_0xb301bc['convertChildren'](_0x1c7914,_0x2611bc);else{const _0x3879d5=_0xb301bc['writer']['createElement']('footnoteInlineContent');_0xb301bc['writer']['insert'](_0x3879d5,_0x2611bc),_0xb301bc['convertChildren'](_0x1c7914,_0x3879d5);}}_0xb301bc['updateConversionResult'](_0x2611bc,_0x25fb56);});}),_0x4ba8bf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4277fb,{writer:_0x502d60})=>b(_0x4277fb,_0x502d60,_0x132f62,{'dataPipeline':!0x0})}),_0x4ba8bf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x28dd68,{writer:_0x4274e2})=>b(_0x28dd68,_0x4274e2,_0x132f62)});}['_defineBogusParagraphConverters'](){const {editor:_0x56036b}=this,{conversion:_0x37ccb1}=_0x56036b;_0x56036b['config']['get']('footnotes.multiBlock')?(_0x37ccb1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x37ccb1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x56036b['model']['document'],'change:data',()=>{!function(_0x31f43a,_0x328e19){const _0x51d1c7=_0x31f43a['document']['differ'],_0x245498=new Set();for(const _0x1aca63 of _0x51d1c7['getChanges']()){const _0x5161f3='attribute'==_0x1aca63['type']?_0x1aca63['range']['start']['parent']:_0x1aca63['position']['parent'];_0x5161f3['is']('element','footnoteDefinition')&&_0x245498['add'](_0x5161f3);}for(const _0x2bbd2c of _0x245498['values']()){const _0x198bde=Array['from'](_0x2bbd2c['getChildren']())['filter'](_0x59bc7a=>g(_0x59bc7a,_0x328e19['mapper']));for(const _0x5e409e of _0x198bde)_0x328e19['reconvertItem'](_0x5e409e);}}(_0x56036b['model'],_0x56036b['editing']);})):(_0x37ccb1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x37ccb1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x453738,{writer:_0x5bb91e})=>{const _0x3aad51=_0x5bb91e['createContainerElement']('span');return _0x5bb91e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3aad51),_0x3aad51;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb9466}=this,{editing:_0x4ac79b,t:t}=_0xb9466,_0x562cb6=_0xb9466['model']['document']['selection'];_0xb9466['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb9466['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4ac79b['view']['document'],'enter',(_0x2fcbdf,_0x45d2ab)=>{const _0x199416=function(_0x5dfe8c){const _0x593eb4=_0x5dfe8c['getSelectedElement']();if(_0x593eb4?.['is']('element','footnoteRef'))return _0x593eb4;return null;}(_0x562cb6);if(_0x199416){const _0x4586fc=_0x199416['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4586fc),_0x45d2ab['preventDefault'](),_0x2fcbdf['stop']();}},{'context':_0x3f422d});}['_defineClickHandlers'](){const {editor:_0x547228}=this,{editing:_0x1f3d34}=_0x547228;_0x547228['editing']['view']['addObserver'](_0x4c9082),_0x547228['editing']['view']['addObserver'](_0x383a16);let _0x100293=!0x1;this['listenTo'](_0x1f3d34['view']['document'],'pointerdown',(_0x4eb748,_0x2ee13f)=>{const {target:_0xf2dca5}=_0x2ee13f,_0x477edd=_0x1f3d34['view']['document']['selection'];_0x100293=!!(_0xf2dca5?.['is']('element','a')&&_0xf2dca5['parent']?.['is']('element','sup')&&_0xf2dca5['parent']['hasClass']('footnote'))&&_0x477edd['getSelectedElement']()===_0xf2dca5['parent'];},{'priority':'high'}),this['listenTo'](_0x1f3d34['view']['document'],'click',(_0x299612,_0x1c62c3)=>{const {target:_0x108b70}=_0x1c62c3;if(!_0x108b70?.['is']('element','a'))return;if(_0x108b70['parent']?.['is']('element','sup')&&_0x108b70['parent']['hasClass']('footnote')&&!_0x100293)return void _0x1c62c3['preventDefault']();let _0x7e4f1e=_0x108b70['getAttribute']('href');if(!_0x7e4f1e?.['startsWith']('#'))return;_0x7e4f1e=_0x7e4f1e['slice'](0x1);let _0x4cc834=!0x1;(_0x7e4f1e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x7e4f1e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x7e4f1e))&&(_0x4cc834=!0x0),_0x4cc834&&(_0x1c62c3['preventDefault'](),_0x299612['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x75ebb3}={}){return(_0x7ce398,{writer:_0x43bbc4})=>{if(!p(_0x7ce398))return null;if(!_0x75ebb3)return _0x43bbc4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x56f12a=_0x43bbc4['createContainerElement']('p');return _0x43bbc4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x56f12a),_0x56f12a;};}function p(_0x5dce32){const {parent:_0xb7bf2a}=_0x5dce32;if(!_0xb7bf2a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xb7bf2a['childCount'])return!0x1;for(const _0x127422 of _0x5dce32['getAttributeKeys']())if(!_0x127422['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x127422)return!0x1;return!0x0;}function g(_0x1c64d4,_0x359ab0){if(!_0x1c64d4['is']('element','paragraph'))return!0x1;const _0x11f7af=_0x359ab0['toViewElement'](_0x1c64d4);return!!_0x11f7af&&p(_0x1c64d4)!==_0x11f7af['is']('element','span');}function J(_0x33f50b){return _0x3f422d(_0x33f50b)&&_0x33f50b['is']('containerElement')&&!!_0x33f50b['getCustomProperty']('footnotesDefinitions');}function v(_0x5eb16b,_0x407423={}){const _0x53773c=_0x5eb16b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x10f05d=_0x5eb16b['createContainerElement']('ol',{'class':'footnotes-list'},_0x5eb16b['createSlot']());return _0x5eb16b['createContainerElement']('div',{'class':'footnotes',..._0x407423},[_0x53773c,_0x10f05d]);}function D(_0x1e441e,_0x3a10f4){const _0x2ba674=_0x1e441e['getAttribute']('footnoteId'),_0x2e6eaf=_0x1e441e['getAttribute']('footnoteCounter'),_0xdb6812=_0x3a10f4['createUIElement']('a',{'href':'#'+_0x2ba674},function(_0x52a697){const _0x3e6605=this['toDomElement'](_0x52a697);return _0x3e6605['textContent']=_0x2e6eaf,_0x3e6605;}),_0x33a638=_0x3a10f4['createContainerElement']('sup',{'id':'ref-'+_0x2ba674,'class':'footnote'},[_0xdb6812]);return _0x33a638['getFillerOffset']=()=>null,_0x33a638;}function b(_0x11f26c,_0x5ec437,_0x14a821,{dataPipeline:_0x4a510e}={}){const {t:t}=_0x14a821,_0x137e41=_0x11f26c['getAttribute']('footnoteId'),_0x42b4a8=_0x5ec437['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x137e41},function(_0x2cd8f4){const _0x1c26dd=this['toDomElement'](_0x2cd8f4);return _0x1c26dd['innerText']='^',_0x1c26dd;}),_0x37e470=_0x4a510e?_0x5ec437['createContainerElement']('div',{'class':'footnote-content'}):_0x5ef579(_0x5ec437['createEditableElement']('div',{'class':'footnote-content'}),_0x5ec437,{'label':t('Footnote\x20content.')});return _0x5ec437['insert'](_0x5ec437['createPositionAt'](_0x37e470,0x0),_0x5ec437['createSlot']()),_0x5ec437['createContainerElement']('li',{'class':'footnote-definition','id':_0x137e41},[_0x42b4a8,_0x37e470]);}class e extends _0x275ec9{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x50914d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x18d151}=this,{plugins:_0x154398,model:_0x2ad75b}=_0x18d151,_0x43ecc7=_0x154398['get'](_0x50914d),_0x4a5808=_0x154398['get'](c);this['listenTo'](_0x43ecc7,'outputTransformation',(_0x57c6d1,_0xc6c179)=>{const _0x3880c2=f(_0x2ad75b['createRangeIn'](_0xc6c179['content']));if(!_0x3880c2['length'])return;const _0x5b3a5a=_0x4a5808['getFootnotes'](),_0x5166e3=_0x3880c2['reduce']((_0x56868c,_0x90ad7)=>{const _0x77c70d=_0x5b3a5a['find'](_0x1a06e7=>_0x1a06e7['id']===_0x90ad7);if(_0x77c70d){const _0x404b12=_0x18d151['data']['toView'](_0x77c70d['definition'],{'isClipboardPipeline':!0x0}),_0x740bca=_0x18d151['data']['htmlProcessor']['toData'](_0x404b12);_0x56868c[_0x77c70d['id']]=_0x740bca;}return _0x56868c;},Object['create'](null));_0xc6c179['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5166e3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xec79f}=this,{model:_0xd7c6af,plugins:_0x962d7f}=_0xec79f,{view:_0x1ab42e}=_0xec79f['editing'],_0x55beca=_0x962d7f['get'](_0x50914d),_0x59f2a8=_0x962d7f['get'](c);let _0x49091c=null;this['listenTo'](_0x1ab42e['document'],'clipboardInput',(_0x7d2011,_0x444bcd)=>{const _0x97b2c3=_0x444bcd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x49091c=_0x97b2c3?JSON['parse'](_0x97b2c3):null;}),this['listenTo'](_0x55beca,'contentInsertion',(_0x596a80,_0x28d461)=>{const _0x14719f=_0x28d461['sourceEditorId']===this['editor']['id'];_0x14719f&&'drop'===_0x28d461['method']||_0xd7c6af['change'](_0x28f1d2=>{let _0x2e4a17=_0x59f2a8['getFootnotesDefinitionsObjectElement']();const _0xbdbf82=!!_0x2e4a17&&Array['from'](_0xd7c6af['document']['selection']['getSelectedBlocks']())['includes'](_0x2e4a17);if(_0x2e4a17&&!_0xbdbf82&&function(_0x238dba,_0x97497a){const _0x29da0f=[];for(const {item:_0x74bf3a}of _0x238dba['createRangeIn'](_0x97497a))_0x74bf3a['is']('element','footnotesDefinitions')&&_0x29da0f['push'](_0x74bf3a);for(const _0x324479 of _0x29da0f)_0x238dba['remove'](_0x324479);}(_0x28f1d2,_0x28d461['content']),!_0x49091c)return;const {selection:_0x4b8367}=_0xd7c6af['document'],_0x1fa8c1=_0x4b8367['getFirstRange']()['root'];_0x2e4a17&&!_0xbdbf82||(_0x2e4a17=function(_0xef486d,_0x5a07fd){for(const {item:_0x1a3d21}of _0xef486d['createRangeIn'](_0x5a07fd))if(_0x1a3d21['is']('element','footnotesDefinitions'))return _0x1a3d21;return null;}(_0x28f1d2,_0x28d461['content']),_0x2e4a17||=_0x59f2a8['_insertEmptyFootnotesDefinitionsContainer'](_0x28f1d2,_0x1fa8c1));const _0x4590db=Array['from'](_0x4b8367['getRanges']())['flatMap'](f),_0x375ab5=function(_0x3dda8e,_0x44d0e4,_0x5b55c9){const _0x43f199=Object['create'](null);for(const {item:_0x13aec3}of _0x3dda8e['createRangeIn'](_0x44d0e4))if(_0x13aec3['is']('element','footnoteRef')){const _0x82ee8b=_0x13aec3['getAttribute']('footnoteId');if(!_0x5b55c9(_0x82ee8b))continue;_0x43f199[_0x82ee8b]||(_0x43f199[_0x82ee8b]=_0x58008f()),_0x3dda8e['setAttribute']('footnoteId',_0x43f199[_0x82ee8b],_0x13aec3);}return _0x43f199;}(_0x28f1d2,_0x28d461['content'],_0x2744a0=>{if(!_0x14719f)return!0x0;return!!_0x59f2a8['getFootnote'](_0x2744a0)&&!_0x4590db['includes'](_0x2744a0);});for(const [_0x5444ed,_0x4f4e9e]of Object['entries'](_0x49091c)){const _0x5c2784=_0x375ab5[_0x5444ed]||_0x5444ed,_0x16a9bd=_0x28f1d2['createElement']('footnoteDefinition',{'footnoteId':_0x5c2784}),_0x4bb807=_0xec79f['data']['htmlProcessor']['toView'](_0x4f4e9e),_0x2e73d2=_0xec79f['data']['toModel'](_0x4bb807,_0x16a9bd);_0x28f1d2['append'](_0x2e73d2,_0x16a9bd),_0x28f1d2['insert'](_0x16a9bd,_0x2e4a17,'end');}_0x49091c=null;});});}}function f(_0x48f7e2){const _0x56ff79=new Set();for(const {item:_0x4cd427}of _0x48f7e2)_0x4cd427['is']('element','footnoteRef')&&_0x56ff79['add'](_0x4cd427['getAttribute']('footnoteId'));return Array['from'](_0x56ff79);}class i extends _0x275ec9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8b2d7e}=this,{componentFactory:_0x12a2a2}=_0x8b2d7e['ui'];_0x12a2a2['add']('insertFootnote',x(_0x8b2d7e,_0x31cc2b)),_0x12a2a2['add']('menuBar:insertFootnote',x(_0x8b2d7e,_0x3825d0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x297f81=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x12fc95;for(const _0x586257 in _0x297f81){const _0x2a1f7a=_0x586257,_0x92debc=_0x297f81[_0x2a1f7a];if('footnotesLicenseKeyValid'==_0x92debc||'footnotesLicenseKeyInvalid'==_0x92debc||'footnotesLicenseKeyExpired'==_0x92debc||'footnotesLicenseKeyDomainLimit'==_0x92debc||'footnotesLicenseKeyNotAllowed'==_0x92debc||'footnotesLicenseKeyEvaluationLimit'==_0x92debc||'footnotesLicenseKeyTrialLimit'==_0x92debc||'footnotesLicenseKeyUsageLimit'==_0x92debc){delete _0x297f81[_0x2a1f7a],_0x12fc95=_0x92debc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x12fc95&&_0x297f81['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x12fc95&&_0x297f81['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x12fc95&&_0x297f81['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x388827,_0x220a55){const _0x421c59=_0x388827['commands']['get']('insertFootnote');return _0x1fe37d=>{const {t:t}=_0x1fe37d,_0x20b138=new _0x220a55(_0x1fe37d),_0x57cfee=_0x20b138 instanceof _0x3825d0;return _0x20b138['bind']('isEnabled')['to'](_0x421c59,'isEnabled'),_0x20b138['set']({'label':t(_0x57cfee?'Footnote':'Insert\x20footnote'),'icon':_0x572da7,'tooltip':!0x0}),_0x20b138['on']('execute',()=>{_0x421c59['execute'](),_0x388827['editing']['view']['focus']();}),_0x20b138;};}class lt extends _0x275ec9{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x51142c{['refresh'](){const {editor:_0x15acab}=this,_0x2dcbca=_0x15acab['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2dcbca,this['value']=_0x2dcbca?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3b514f}){const {editor:_0x591677}=this,_0x2f64f1=_0x591677['plugins']['get'](c),_0x561433=_0x2f64f1['getFootnotesDefinitionsObjectElement']();_0x561433&&Q['includes'](_0x3b514f)&&_0x591677['model']['change'](_0x2ccf63=>{_0x2ccf63['setAttribute']('footnotesListStyle',_0x3b514f,_0x561433),_0x2f64f1['_updateFootnotesCounters'](_0x2ccf63);});}}class C extends _0x51142c{['refresh'](){const {editor:_0x43905b}=this,_0x9bcf02=_0x43905b['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x9bcf02,this['value']=_0x9bcf02?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4d1f0a}){const {editor:_0x2afb25}=this,_0x358b10=_0x2afb25['plugins']['get'](c),_0x2f9b0d=_0x358b10['getFootnotesDefinitionsObjectElement']();_0x2f9b0d&&Number['isInteger'](_0x4d1f0a)&&_0x2afb25['model']['change'](_0x55d9d7=>{_0x55d9d7['setAttribute']('footnotesListStart',_0x4d1f0a,_0x2f9b0d),_0x358b10['_updateFootnotesCounters'](_0x55d9d7);});}}class P extends _0x275ec9{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x218ae1}=this;_0x218ae1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x218ae1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x218ae1['commands']['add']('footnotesStyle',new S(_0x218ae1)),_0x218ae1['commands']['add']('footnotesStart',new C(_0x218ae1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4c7de1}=this,{schema:_0x2629f5}=_0x4c7de1['model'];_0x2629f5['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5ed711}=this,{conversion:_0xcb5b50,model:_0x24873c}=_0x5ed711,{schema:_0x3e8f9a}=_0x24873c;_0xcb5b50['for']('upcast')['add'](_0x493bae=>{_0x493bae['on']('element:ol',(_0x27894e,_0x514761,_0x22f481)=>{const _0x98e5e=_0x514761['viewItem'],_0x1a69ee=_0x514761['modelCursor']?.['parent'];_0x98e5e['hasClass']('footnotes-list')&&_0x1a69ee?.['is']('element','footnotesDefinitions')&&(function(_0x285e36,_0x57ec24,_0x538980,_0x555b3c){if(!_0x555b3c['checkAttribute'](_0x57ec24,'footnotesListStart'))return;let _0x21e7d7=0x1;const _0x5dd109=_0x538980['consumable']['consume'](_0x285e36,{'attributes':'start'});if(_0x5dd109){const _0x46b2cd=Number['parseInt'](_0x285e36['getAttribute']('start'),0xa);Number['isNaN'](_0x46b2cd)||(_0x21e7d7=_0x46b2cd);}!_0x5dd109&&_0x57ec24['hasAttribute']('footnotesListStart')||_0x538980['writer']['setAttribute']('footnotesListStart',_0x21e7d7,_0x57ec24);}(_0x98e5e,_0x1a69ee,_0x22f481,_0x3e8f9a),function(_0x977925,_0x283d50,_0x3c4a6b,_0xc72c07){if(!_0xc72c07['checkAttribute'](_0x283d50,'footnotesListStyle'))return;let _0x2329c3='decimal',_0x443a47=!0x1;if(_0x3c4a6b['consumable']['consume'](_0x977925,{'attributes':'type'})){const _0x650ad3={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x977925['getAttribute']('type')];_0x650ad3&&(_0x2329c3=_0x650ad3),_0x443a47=!0x0;}_0x3c4a6b['consumable']['consume'](_0x977925,{'styles':'list-style-type'})&&(_0x2329c3=_0x977925['getStyle']('list-style-type'),_0x443a47=!0x0),!_0x443a47&&_0x283d50['hasAttribute']('footnotesListStyle')||_0x3c4a6b['writer']['setAttribute']('footnotesListStyle',_0x2329c3,_0x283d50);}(_0x98e5e,_0x1a69ee,_0x22f481,_0x3e8f9a));});}),_0xcb5b50['for']('downcast')['add'](_0x2a204d=>{_0x2a204d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5578de,_0x1a32c5,_0x4c4fd1)=>{if(!_0x4c4fd1['consumable']['consume'](_0x1a32c5['item'],_0x5578de['name']))return;const _0x89a5d1=M(_0x1a32c5['item'],_0x4c4fd1['mapper']),{attributeNewValue:_0x461d64}=_0x1a32c5;null==_0x461d64||0x1===_0x461d64?_0x4c4fd1['writer']['removeAttribute']('start',_0x89a5d1):_0x4c4fd1['writer']['setAttribute']('start',String(_0x461d64),_0x89a5d1);}),_0x2a204d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2f4894,_0x2646b1,_0x37f962)=>{if(!_0x37f962['consumable']['consume'](_0x2646b1['item'],_0x2f4894['name']))return;const _0x588b61=M(_0x2646b1['item'],_0x37f962['mapper']),{attributeNewValue:_0x51827e}=_0x2646b1;_0x51827e&&'decimal'!==_0x51827e?_0x37f962['writer']['setStyle']('list-style-type',_0x51827e,_0x588b61):_0x37f962['writer']['removeStyle']('list-style-type',_0x588b61);});});}['_definePostfixer'](){const {editor:_0x3399b6}=this,{model:_0x553a82}=_0x3399b6,_0xea86e2=_0x3399b6['plugins']['get'](c),_0xdf5dd8=this['_getDefaultListStyle'](),_0x465cb5=this['_getDefaultStartIndex']();_0x553a82['document']['registerPostFixer'](_0x4983bb=>{const _0x2fa3d3=_0x553a82['document']['differ']['getChanges']();let _0x2d5396=!0x1;for(const _0x576548 of _0x2fa3d3){if('insert'!==_0x576548['type']||'$text'===_0x576548['name'])continue;const _0x540506=_0x553a82['createRangeOn'](_0x576548['position']['nodeAfter']);for(const _0x41d570 of _0x540506['getItems']())_0x41d570['is']('element','footnotesDefinitions')&&(!_0x41d570['hasAttribute']('footnotesListStart')&&_0x553a82['schema']['checkAttribute'](_0x41d570,'footnotesListStart')&&(_0x4983bb['setAttribute']('footnotesListStart',_0x465cb5,_0x41d570),_0x2d5396=!0x0),!_0x41d570['hasAttribute']('footnotesListStyle')&&_0x553a82['schema']['checkAttribute'](_0x41d570,'footnotesListStyle')&&(_0x4983bb['setAttribute']('footnotesListStyle',_0xdf5dd8,_0x41d570),_0x2d5396=!0x0));}return _0x2d5396&&_0xea86e2['_updateFootnotesCounters'](_0x4983bb),_0x2d5396;});}['_defineFormatter'](){const {editor:_0x1b2b42}=this;_0x1b2b42['plugins']['get'](c)['setFootnoteFormatter'](_0xf8421=>this['_formatFootnoteListValue'](_0xf8421));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x169a75,value:_0x3efc16,digits:_0x1df469}){const _0x189394=_0x169a75['getAttribute']('footnotesListStyle'),_0x31452f=_0x169a75['getAttribute']('footnotesListStart'),_0x2a51de=Math['floor'](_0x3efc16)+(_0x31452f??0x1)-0x1;switch(_0x189394){case'decimal-leading-zero':return function(_0x32646d,_0x14c684){return String(_0x32646d)['padStart'](_0x14c684,'0');}(_0x2a51de,Math['max'](0x2,_0x1df469));case'lower-alpha':case'lower-latin':return N(_0x2a51de,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2a51de,!0x0);case'lower-roman':return X(_0x2a51de,!0x1);case'upper-roman':return X(_0x2a51de,!0x0);default:return String(_0x2a51de);}}}function M(_0x327695,_0x128f4d){const _0x4cec66=_0x128f4d['toViewElement'](_0x327695);return Array['from'](_0x4cec66['getChildren']())['find'](_0x27b98d=>_0x27b98d['is']('element','ol')&&_0x27b98d['hasClass']('footnotes-list'));}function N(_0xdac96d,_0x2f7f2a){let _0x5f0669='',_0x5d74bb=_0xdac96d;for(;_0x5d74bb>0x0;){const _0x5bae2b=(_0x5d74bb-0x1)%0x1a;_0x5f0669=String['fromCharCode'](0x61+_0x5bae2b)+_0x5f0669,_0x5d74bb=Math['floor']((_0x5d74bb-0x1)/0x1a);}return _0x2f7f2a?_0x5f0669['toUpperCase']():_0x5f0669;}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(_0x34d9bb,_0x3d4389){let _0x20c680='',_0x49fe50=_0x34d9bb;for(const {value:_0x490910,numeral:_0x3cd07f}of V)for(;_0x49fe50>=_0x490910;)_0x20c680+=_0x3cd07f,_0x49fe50-=_0x490910;return _0x3d4389?_0x20c680:_0x20c680['toLowerCase']();}class H extends _0x4cb5bf{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x100044();['focusCycler'];constructor(_0x35514a,{styleButtonViews:_0x43f9f1,styleGridAriaLabel:_0x598e4c}){super(_0x35514a),(this['focusCycler']=new _0x49121a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x43f9f1,_0x598e4c),[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 _0x332ed4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x332ed4['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4db2d1=_0x3d6332=>_0x3d6332['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4db2d1),this['keystrokes']['set']('arrowleft',_0x4db2d1),this['keystrokes']['set']('arrowup',_0x4db2d1),this['keystrokes']['set']('arrowdown',_0x4db2d1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2d7fc0,_0xa154d5){const _0x40826e=new _0x4cb5bf(this['locale']);return _0x40826e['children']=_0x40826e['createCollection'](),_0x40826e['children']['addMany'](_0x2d7fc0),_0x40826e['setTemplate']({'tag':'div','attributes':{'aria-label':_0xa154d5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40826e['children']}),_0x40826e['children']['delegate']('execute')['to'](this),_0x40826e['focus']=function(){for(const _0x58a1cc of this['children'])if(_0x58a1cc instanceof _0x31cc2b&&_0x58a1cc['isOn'])return void _0x58a1cc['focus']();this['children']['first']['focus']();},_0x40826e['focusTracker']=new ot(),_0x40826e['keystrokes']=new rt(),_0x40826e['render'](),_0x40826e['keystrokes']['listenTo'](_0x40826e['element']),this['children']['add'](_0x40826e),_0x40826e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xdc5879=this['_createStartIndexPropertyView'](),_0x435b94=[_0xdc5879],_0x3e4739=new st(this['locale'],_0x435b94);return _0x3e4739['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3e4739['buttonView']['bind']('isEnabled')['toMany'](_0x435b94,'isEnabled',(..._0x1c2573)=>_0x1c2573['some'](_0xdbc168=>_0xdbc168)),_0x3e4739['buttonView']['on']('change:isEnabled',(_0x3bc2bc,_0xe2bbd0,_0x1c955a)=>{_0x1c955a||(_0x3e4739['isCollapsed']=!0x0);}),this['children']['add'](_0x3e4739),[_0xdc5879,_0x3e4739];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5737d6=new it(this['locale'],et);return _0x5737d6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5737d6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5737d6['fieldView']['on']('input',()=>{const _0x5cca0b=_0x5737d6['fieldView']['element'],_0x19b2f2=_0x5cca0b['valueAsNumber'];Number['isNaN'](_0x19b2f2)?_0x5737d6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5cca0b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x19b2f2}):_0x5737d6['errorText']=t(_0x19b2f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5737d6;}}class j extends _0x275ec9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x628725,_0x4021c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c8dfe}=this,{componentFactory:_0x3efaa6}=_0x1c8dfe['ui'];_0x1c8dfe['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3efaa6['add']('footnotesStyle',function(_0x46de29){return _0x445595=>{const {t:t}=_0x445595,_0x4e4588=_0x46de29['commands']['get']('footnotesStyle'),_0x2a7f72=_0x4bebae(_0x445595),{buttonView:_0x21c797}=_0x2a7f72;return _0x2a7f72['class']='ck-footnotes-styles-dropdown',_0x2a7f72['bind']('isEnabled')['to'](_0x4e4588,'isEnabled'),_0x21c797['set']({'label':t('Footnotes\x20style'),'icon':_0x572da7,'tooltip':!0x0}),_0x2a7f72['once']('change:isOpen',()=>{const _0x1cff8a=function({editor:_0x273c2c,dropdownView:_0x8b72b3}){const {t:t}=_0x273c2c['locale'],_0x239e66=t('Footnotes\x20definitions\x20styles'),_0x4c60cf=function(_0x17c67b){const t=_0x17c67b['locale']['t'],_0x2bf07c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x56d51f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x256657},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x15d13e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2950a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x438409},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5b5f23}];return _0x2bf07c['map'](function(_0x1f5d1d){const _0x3cf858=_0x1f5d1d['locale'];return({label:_0xe4aab6,icon:_0x24669c,tooltip:_0x1ebd57,style:_0x49f9c9})=>{const _0x4f0a65=_0x1f5d1d['commands']['get']('footnotesStyle'),_0x543530=new _0x31cc2b(_0x3cf858);return _0x543530['set']({'label':_0xe4aab6,'icon':_0x24669c,'tooltip':_0x1ebd57}),_0x543530['bind']('isOn')['to'](_0x4f0a65,'value',_0x3641e9=>_0x3641e9===_0x49f9c9),_0x543530['bind']('isEnabled')['to'](_0x4f0a65,'isEnabled'),_0x543530['on']('execute',()=>{_0x1f5d1d['execute']('footnotesStyle',{'value':_0x49f9c9}),_0x1f5d1d['editing']['view']['focus']();}),_0x543530;};}(_0x17c67b));}(_0x273c2c),_0x4be4a5=new H(_0x273c2c['locale'],{'styleGridAriaLabel':_0x239e66,'styleButtonViews':_0x4c60cf});return _0x4be4a5['delegate']('execute')['to'](_0x8b72b3),_0x4be4a5['on']('footnotesListStart',(_0x26ee70,_0x2911fc)=>{_0x273c2c['execute']('footnotesStart',{'value':_0x2911fc['startIndex']});}),_0x4be4a5;}({'editor':_0x46de29,'dropdownView':_0x2a7f72});_0x2a7f72['panelView']['children']['add'](_0x1cff8a);}),_0x2a7f72;};}(_0x1c8dfe));}['afterInit'](){const {editor:_0x2646dd}=this,{t:t}=_0x2646dd['locale'],_0x39fa1b=_0x2646dd['plugins']['get'](_0x4021c6),{defaultPositions:_0x2dd9aa}=_0x113cf4;_0x39fa1b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2646dd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xe7e321=>{let _0x2e38b2=_0xe7e321['getFirstPosition']()?.['parent'];return _0x2e38b2?.['is']('$text')&&(_0x2e38b2=_0x2e38b2['parent']),_0x2e38b2?.['is']('element')?_0x2e38b2['findAncestor'](J):null;},'positions':[_0x2dd9aa['southArrowNorth'],_0x2dd9aa['southArrowNorthMiddleWest'],_0x2dd9aa['southArrowNorthMiddleEast'],_0x2dd9aa['southArrowNorthWest'],_0x2dd9aa['southArrowNorthEast'],_0x2dd9aa['northArrowSouth'],_0x2dd9aa['northArrowSouthMiddleWest'],_0x2dd9aa['northArrowSouthMiddleEast'],_0x2dd9aa['northArrowSouthWest'],_0x2dd9aa['northArrowSouthEast'],_0x2dd9aa['viewportStickyNorth']]});}}class ft extends _0x275ec9{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x181fdf=>0x1!=_0x181fdf}};
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':_0x3d869f=>0x1!=_0x3d869f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x36a20a=>{const {af:{dictionary:_0x34d87f,getPluralForm:_0x42e83b}}={'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':_0x5e5dc8=>0x1!=_0x5e5dc8}};_0x36a20a['af']||={'dictionary':{},'getPluralForm':null},_0x36a20a['af']['dictionary']=Object['assign'](_0x36a20a['af']['dictionary'],_0x34d87f),_0x36a20a['af']['getPluralForm']=_0x42e83b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2de7b7=>{const {af:{dictionary:_0x3d8fcb,getPluralForm:_0x38ccd3}}={'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':_0x1f89ce=>0x1!=_0x1f89ce}};_0x2de7b7['af']||={'dictionary':{},'getPluralForm':null},_0x2de7b7['af']['dictionary']=Object['assign'](_0x2de7b7['af']['dictionary'],_0x3d8fcb),_0x2de7b7['af']['getPluralForm']=_0x38ccd3;})(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':_0x57e26f=>0x0==_0x57e26f?0x0:0x1==_0x57e26f?0x1:0x2==_0x57e26f?0x2:_0x57e26f%0x64>=0x3&&_0x57e26f%0x64<=0xa?0x3:_0x57e26f%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':_0x573e33=>0x0==_0x573e33?0x0:0x1==_0x573e33?0x1:0x2==_0x573e33?0x2:_0x573e33%0x64>=0x3&&_0x573e33%0x64<=0xa?0x3:_0x573e33%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5f5402=>{const {ar:{dictionary:_0xdb04e8,getPluralForm:_0x978652}}={'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':_0x176ddf=>0x0==_0x176ddf?0x0:0x1==_0x176ddf?0x1:0x2==_0x176ddf?0x2:_0x176ddf%0x64>=0x3&&_0x176ddf%0x64<=0xa?0x3:_0x176ddf%0x64>=0xb?0x4:0x5}};_0x5f5402['ar']||={'dictionary':{},'getPluralForm':null},_0x5f5402['ar']['dictionary']=Object['assign'](_0x5f5402['ar']['dictionary'],_0xdb04e8),_0x5f5402['ar']['getPluralForm']=_0x978652;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1f1c1d=>{const {ar:{dictionary:_0x25455e,getPluralForm:_0x4e3f29}}={'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':_0x22e7b6=>0x0==_0x22e7b6?0x0:0x1==_0x22e7b6?0x1:0x2==_0x22e7b6?0x2:_0x22e7b6%0x64>=0x3&&_0x22e7b6%0x64<=0xa?0x3:_0x22e7b6%0x64>=0xb?0x4:0x5}};_0x1f1c1d['ar']||={'dictionary':{},'getPluralForm':null},_0x1f1c1d['ar']['dictionary']=Object['assign'](_0x1f1c1d['ar']['dictionary'],_0x25455e),_0x1f1c1d['ar']['getPluralForm']=_0x4e3f29;})(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':_0x290ecb=>0x1!=_0x290ecb}};
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':_0x213ad3=>0x1!=_0x213ad3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x555511=>{const {ast:{dictionary:_0x6fd398,getPluralForm:_0x1d04e5}}={'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':_0x3ad9d2=>0x1!=_0x3ad9d2}};_0x555511['ast']||={'dictionary':{},'getPluralForm':null},_0x555511['ast']['dictionary']=Object['assign'](_0x555511['ast']['dictionary'],_0x6fd398),_0x555511['ast']['getPluralForm']=_0x1d04e5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x47d24a=>{const {ast:{dictionary:_0x80ba3c,getPluralForm:_0x58a935}}={'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':_0x36f562=>0x1!=_0x36f562}};_0x47d24a['ast']||={'dictionary':{},'getPluralForm':null},_0x47d24a['ast']['dictionary']=Object['assign'](_0x47d24a['ast']['dictionary'],_0x80ba3c),_0x47d24a['ast']['getPluralForm']=_0x58a935;})(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':_0x4ca1e6=>0x1!=_0x4ca1e6}};
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':_0x479f52=>0x1!=_0x479f52}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1fa44e=>{const {az:{dictionary:_0xb13ec7,getPluralForm:_0x2f67d2}}={'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':_0x23427c=>0x1!=_0x23427c}};_0x1fa44e['az']||={'dictionary':{},'getPluralForm':null},_0x1fa44e['az']['dictionary']=Object['assign'](_0x1fa44e['az']['dictionary'],_0xb13ec7),_0x1fa44e['az']['getPluralForm']=_0x2f67d2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xf1ecb6=>{const {az:{dictionary:_0x50ba9a,getPluralForm:_0x85448d}}={'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':_0x1af8c9=>0x1!=_0x1af8c9}};_0xf1ecb6['az']||={'dictionary':{},'getPluralForm':null},_0xf1ecb6['az']['dictionary']=Object['assign'](_0xf1ecb6['az']['dictionary'],_0x50ba9a),_0xf1ecb6['az']['getPluralForm']=_0x85448d;})(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':_0x19df05=>_0x19df05%0xa==0x1&&_0x19df05%0x64!=0xb?0x0:_0x19df05%0xa>=0x2&&_0x19df05%0xa<=0x4&&(_0x19df05%0x64<0xa||_0x19df05%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':_0x54e5f0=>_0x54e5f0%0xa==0x1&&_0x54e5f0%0x64!=0xb?0x0:_0x54e5f0%0xa>=0x2&&_0x54e5f0%0xa<=0x4&&(_0x54e5f0%0x64<0xa||_0x54e5f0%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1ddc09=>{const {be:{dictionary:_0x3e51b1,getPluralForm:_0x275429}}={'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':_0x436907=>_0x436907%0xa==0x1&&_0x436907%0x64!=0xb?0x0:_0x436907%0xa>=0x2&&_0x436907%0xa<=0x4&&(_0x436907%0x64<0xa||_0x436907%0x64>=0x14)?0x1:0x2}};_0x1ddc09['be']||={'dictionary':{},'getPluralForm':null},_0x1ddc09['be']['dictionary']=Object['assign'](_0x1ddc09['be']['dictionary'],_0x3e51b1),_0x1ddc09['be']['getPluralForm']=_0x275429;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x27bc53=>{const {be:{dictionary:_0x53991a,getPluralForm:_0x1e3d74}}={'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':_0x4ec6f3=>_0x4ec6f3%0xa==0x1&&_0x4ec6f3%0x64!=0xb?0x0:_0x4ec6f3%0xa>=0x2&&_0x4ec6f3%0xa<=0x4&&(_0x4ec6f3%0x64<0xa||_0x4ec6f3%0x64>=0x14)?0x1:0x2}};_0x27bc53['be']||={'dictionary':{},'getPluralForm':null},_0x27bc53['be']['dictionary']=Object['assign'](_0x27bc53['be']['dictionary'],_0x53991a),_0x27bc53['be']['getPluralForm']=_0x1e3d74;})(window['CKEDITOR_TRANSLATIONS']||={});