@ckeditor/ckeditor5-footnotes 48.3.0 → 48.3.1-alpha.1

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 (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x27e5ad,Plugin as _0x495753}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x633450,isWidget as _0x24bf52,toWidget as _0x4ca765,toWidgetEditable as _0x2df36a}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x487ea6,KeystrokeHandler as _0x4e7e8c,global as _0x1f0673,logWarning as _0x261bc4,uid as _0x21fa0a}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x5c41d1,PointerObserver as _0x184a10}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x52fed0}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x463a48,ButtonView as _0x5b4be6,CollapsibleView as _0x475def,ContextualBalloon as _0xd8f8b8,FocusCycler as _0x3167b6,LabeledFieldView as _0x52289f,MenuBarMenuListItemButtonView as _0x56aea0,View as _0x4a95c3,ViewCollection as _0xe394a2,addKeyboardHandlingForGrid as _0xc82d5e,createDropdown as _0x15ce9f,createLabeledInputNumber as _0x5bcc49}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x1bd2eb,IconListStyleArabicIndic as _0x3dd052,IconListStyleDecimal as _0x56425e,IconListStyleDecimalLeadingZero as _0x379187,IconListStyleLowerLatin as _0x17766e,IconListStyleLowerRoman as _0x3d772d,IconListStyleUpperLatin as _0x1547d6,IconListStyleUpperRoman as _0x1a8533}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x276091,_0x55f270){this['_model']=_0x276091,this['_elementName']=_0x55f270['elementName'],this['_getElementKey']=_0x55f270['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3585b6){const _0x3c5992=new Set(),_0x46a789=new Map();for(const _0x46cce4 of _0x3585b6){if('insert'===_0x46cce4['type']&&'$text'!==_0x46cce4['name']&&_0x46cce4['position']['nodeAfter']){const _0x3512cc=this['_model']['createRangeOn'](_0x46cce4['position']['nodeAfter']);for(const _0x3a3645 of _0x3512cc['getItems']()){if(!_0x3a3645['is']('element',this['_elementName']))continue;const _0x1f0516=this['_getElementKey'](_0x3a3645);_0x46a789['has'](_0x1f0516)||_0x46a789['set'](_0x1f0516,[]),_0x46a789['get'](_0x1f0516)['push'](_0x3a3645);}}if('remove'===_0x46cce4['type']&&_0x46cce4['name']===this['_elementName']){const _0x21987f=this['_getElementKey']({'getAttribute':_0x17d73e=>_0x46cce4['attributes']['get'](_0x17d73e)});_0x3c5992['add'](_0x21987f);}}for(const [_0x34a818,_0x2f5aba]of this['_trackedElements'])'$graveyard'===_0x2f5aba['root']['rootName']&&_0x3c5992['add'](_0x34a818);for(const _0x3eacc of _0x3c5992)this['_trackedElements']['delete'](_0x3eacc);for(const [_0x32a958,_0x554e48]of _0x46a789)this['_trackedElements']['set'](_0x32a958,_0x554e48[_0x554e48['length']-0x1]);const _0x13d771=new Set();for(const [_0x598a71,_0x52b7ea]of _0x46a789)_0x3c5992['has'](_0x598a71)&&(_0x13d771['add'](_0x52b7ea[0x0]),_0x52b7ea['length']>0x1?_0x46a789['set'](_0x598a71,_0x52b7ea['slice'](0x1)):_0x46a789['delete'](_0x598a71),_0x3c5992['delete'](_0x598a71));return{'removed':Array['from'](_0x3c5992),'inserted':Array['from'](_0x46a789['values']())['flat'](),'moved':Array['from'](_0x13d771)};}},V=class extends _0x495753{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16f100){super(_0x16f100),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2d0628=>_0x2d0628['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1d58b0=>_0x1d58b0['getAttribute']('footnoteId')});}['init'](){const {editor:_0x58be96}=this,{model:_0x52ba70,data:_0x53294c}=_0x58be96;_0x52ba70['document']['registerPostFixer'](_0x3044ba=>{const _0x38ce84=_0x52ba70['document']['differ']['getChanges']();let _0x13487c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3044ba,_0x38ce84)&&(_0x13487c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3044ba,_0x38ce84)&&(_0x13487c=!0x0),this['_handleFootnoteReferencesChanges'](_0x3044ba,_0x38ce84)&&(_0x13487c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3044ba)&&(_0x13487c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3044ba)&&(_0x13487c=!0x0),this['_sortFootnoteDefinitions'](_0x3044ba)&&(_0x13487c=!0x0),_0x13487c;}),this['listenTo'](_0x52ba70['document'],'change:data',()=>{_0x52ba70['enqueueChange']({'isUndoable':!0x1},_0x13f3e7=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x13f3e7);});},{'priority':'low'}),this['listenTo'](_0x53294c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x294376){return this['_footnotes']['find'](_0x1d05ed=>_0x1d05ed['id']===_0x294376)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x129384){this['_footnoteFormatter']=_0x129384;}['_updateFootnotesCounters'](_0x106532,_0x55ae30=0x0){let _0x181879=!0x1;for(let _0x1d5671=_0x55ae30;_0x1d5671<this['_footnotes']['length'];_0x1d5671++)this['_updateFootnoteRefCounter'](_0x106532,_0x1d5671)&&(_0x181879=!0x0);return _0x181879;}['_insertEmptyFootnotesDefinitionsContainer'](_0x33503c,_0x1d0e51){const _0x4b8bc7=_0x33503c['createElement']('footnotesDefinitions',{});return _0x33503c['append'](_0x4b8bc7,_0x1d0e51),this['_footnotesDefinitions']=_0x4b8bc7,_0x4b8bc7;}['_ensureFootnotesDefinitionsContainerExists'](_0x33185a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x248291=this['_footnotes'][0x0]['reference']['root'],_0x49b7dd=this['_insertEmptyFootnotesDefinitionsContainer'](_0x33185a,_0x248291);for(const _0x2d4cbb of this['_footnotes'])_0x2d4cbb['definition']['parent']||_0x33185a['insert'](_0x2d4cbb['definition'],_0x49b7dd,'end');this['_updateFootnotesCounters'](_0x33185a);}['_handleFootnotesDefinitionsObjectChanges'](_0x8e4c99,_0x25f3b3){let _0x2179d1=!0x1;const {inserted:_0xef13a7,removed:_0x75d266,moved:_0x44cad8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x25f3b3);if(_0x44cad8['length']&&(this['_footnotesDefinitions']=_0x44cad8[0x0]),_0xef13a7['length']){if(_0xef13a7['length']>0x1||this['_footnotesDefinitions']&&_0xef13a7['some'](_0x43ca5c=>_0x43ca5c!==this['_footnotesDefinitions'])){const _0x5bd1ab=_0x8e4c99['createElement']('footnotesDefinitions',{}),_0x429d48=[];this['_footnotesDefinitions']&&_0x429d48['push'](this['_footnotesDefinitions']),_0x429d48['push'](..._0xef13a7),_0x8e4c99['insert'](_0x5bd1ab,_0x429d48[0x0],'before');for(const _0x2aa101 of _0x429d48)_0x8e4c99['move'](_0x8e4c99['createRangeIn'](_0x2aa101),_0x8e4c99['createPositionAt'](_0x5bd1ab,'end')),_0x8e4c99['remove'](_0x2aa101);this['_footnotesDefinitions']=_0x5bd1ab,this['_updateFootnotesCounters'](_0x8e4c99),_0x2179d1=!0x0;}else this['_footnotesDefinitions']=_0xef13a7[0x0];}if(_0x75d266['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4abac4 of this['_footnotes'])_0x8e4c99['remove'](_0x4abac4['reference']),_0x2179d1=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2179d1;}['_handleFootnoteDefinitionsChanges'](_0x58ceda,_0x20758a){let _0x53329c=!0x1;const _0x4202b4=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2771a7,moved:_0x1faae5}=this['_footnoteDefsTracker']['getChanges'](_0x20758a);for(const _0x2d85a5 of[..._0x1faae5,..._0x2771a7]){const _0x57f692=_0x2d85a5['getAttribute']('footnoteId'),_0xc18b68=this['getFootnote'](_0x57f692);_0xc18b68&&(_0xc18b68['definition']=_0x2d85a5),K(_0x58ceda,_0x4202b4,_0x2d85a5)&&(_0x53329c=!0x0);}return _0x53329c;}['_handleFootnoteReferencesChanges'](_0x4af8b3,_0x446b0c){let _0x52b977=!0x1;const {removed:_0x34e386,inserted:_0xae66df,moved:_0x565716}=this['_footnoteRefsTracker']['getChanges'](_0x446b0c);for(const _0x22b135 of _0x34e386)this['_handleRemoveFootnoteReferenceById'](_0x4af8b3,_0x22b135)&&(_0x52b977=!0x0);for(const _0x26d964 of _0xae66df)this['_handleInsertedFootnoteReference'](_0x4af8b3,_0x26d964)&&(_0x52b977=!0x0);for(const _0x4b6280 of _0x565716)this['_handleMovedFootnoteReference'](_0x4af8b3,_0x4b6280)&&(_0x52b977=!0x0);return _0x52b977;}['_handleFootnotesDefinitionsObjectSync'](_0x3fa020){if(!this['_footnotesDefinitions'])return!0x1;let _0x9a41b1=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x527787=[];for(const _0x22b3d6 of this['_footnotesDefinitions']['getChildren']()){const _0x1330f1=_0x22b3d6['getAttribute']('footnoteId');this['getFootnote'](_0x1330f1)||(_0x527787['unshift'](_0x22b3d6),_0x9a41b1=!0x0);}for(const _0x145689 of _0x527787)_0x3fa020['remove'](_0x145689);}const _0x285cf4=new Set(),_0x54ec66=[];for(const _0x208278 of this['_footnotesDefinitions']['getChildren']()){const _0x79befb=_0x208278['getAttribute']('footnoteId');_0x285cf4['has'](_0x79befb)?(_0x54ec66['unshift'](_0x208278),_0x9a41b1=!0x0):_0x285cf4['add'](_0x79befb);}for(const _0xcc08ee of _0x54ec66)_0x3fa020['remove'](_0xcc08ee);return this['_footnotesDefinitions']['childCount']||(_0x3fa020['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x9a41b1=!0x0),_0x9a41b1;}['_handleInsertedFootnoteReference'](_0x5dcd43,_0x5d6d5c){if(this['_footnotes']['find'](_0x583ef6=>_0x583ef6['reference']===_0x5d6d5c))return!0x1;let _0x365b7f=!0x1;const _0x4640ee=_0x5d6d5c['getAttribute']('footnoteId'),_0x2a13d3=this['_footnotes']['findIndex'](_0x5ce248=>_0x5ce248['id']===_0x4640ee);-0x1!==_0x2a13d3&&(_0x5dcd43['remove'](this['_footnotes'][_0x2a13d3]['reference']),this['_footnotes']['splice'](_0x2a13d3,0x1),_0x365b7f=!0x0);let _0x473b6e=this['_footnotesDefinitions']?function(_0x50a0ec,_0x55c963){for(const _0x4b0db0 of _0x50a0ec['getChildren']())if(_0x4b0db0['getAttribute']('footnoteId')===_0x55c963)return _0x4b0db0;return null;}(this['_footnotesDefinitions'],_0x4640ee):null;_0x473b6e||(_0x473b6e=_0x5dcd43['createElement']('footnoteDefinition',{'footnoteId':_0x4640ee}),this['_footnotesDefinitions']&&(_0x5dcd43['insert'](_0x473b6e,this['_footnotesDefinitions'],'end'),_0x365b7f=!0x0));const _0x53ab4c={'id':_0x4640ee,'reference':_0x5d6d5c,'definition':_0x473b6e},_0x1b6701=T(this['editor']['model'],this['_footnotes'],_0x5d6d5c);this['_footnotes']['splice'](_0x1b6701,0x0,_0x53ab4c);let _0x57f552=_0x1b6701;return-0x1!==_0x2a13d3&&(_0x57f552=Math['min'](_0x1b6701,_0x2a13d3)),this['_updateFootnotesCounters'](_0x5dcd43,_0x57f552)&&(_0x365b7f=!0x0),_0x365b7f;}['_handleRemoveFootnoteReferenceById'](_0x4d74c2,_0x517b9a){const _0x5c1454=this['_footnotes']['findIndex'](_0x3814d2=>_0x3814d2['id']===_0x517b9a);if(-0x1===_0x5c1454)return!0x1;let _0x4d48f3=!0x1;const _0x1846b3=this['_footnotes'][_0x5c1454];return'$graveyard'!==_0x1846b3['definition']['root']['rootName']&&(_0x4d74c2['remove'](_0x1846b3['definition']),_0x4d48f3=!0x0),this['_footnotes']['splice'](_0x5c1454,0x1),this['_updateFootnotesCounters'](_0x4d74c2,_0x5c1454)&&(_0x4d48f3=!0x0),_0x4d48f3;}['_handleMovedFootnoteReference'](_0x4b0c23,_0x5ee6bc){const _0x4d12da=_0x5ee6bc['getAttribute']('footnoteId'),_0x47381e=this['_footnotes']['findIndex'](_0x178b8e=>_0x178b8e['id']===_0x4d12da),_0x4f280b=this['_footnotes'][_0x47381e];let _0x377d95=!0x1;_0x4f280b['reference']=_0x5ee6bc,this['_footnotes']['splice'](_0x47381e,0x1);const _0x393a3d=T(this['editor']['model'],this['_footnotes'],_0x5ee6bc);return this['_footnotes']['splice'](_0x393a3d,0x0,_0x4f280b),this['_updateFootnotesCounters'](_0x4b0c23,Math['min'](_0x47381e,_0x393a3d))&&(_0x377d95=!0x0),_0x377d95;}['_updateFootnoteRefCounter'](_0xdc06c1,_0x461c91){if(!this['_footnotesDefinitions'])return!0x1;const _0x5a6222=this['_footnotes'][_0x461c91];let _0x12d11d;return _0x12d11d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5a6222,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x461c91+0x1}):String(_0x461c91+0x1),_0x5a6222['reference']['getAttribute']('footnoteCounter')!=_0x12d11d&&(_0xdc06c1['setAttribute']('footnoteCounter',_0x12d11d,_0x5a6222['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x499012){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xc831a1,_0x56029a){if(_0xc831a1['length']!==_0x56029a['length'])return!0x1;for(let _0x1ad6aa=0x0;_0x1ad6aa<_0xc831a1['length'];_0x1ad6aa++)if(_0xc831a1[_0x1ad6aa]!==_0x56029a[_0x1ad6aa])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x35677e=>_0x35677e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x134fa9=>_0x134fa9['getAttribute']('footnoteId'))))return!0x1;let _0x52c3aa=!0x1;for(let _0x16a857=0x0;_0x16a857<this['_footnotes']['length'];_0x16a857++){const _0xe4e23=this['_footnotes'][_0x16a857],_0x112eac=_0x499012['createPositionBefore'](_0xe4e23['definition']),_0x41664f=_0x499012['createPositionAt'](this['_footnotesDefinitions'],_0x16a857);_0x112eac['isEqual'](_0x41664f)||(_0x499012['move'](_0x499012['createRangeOn'](_0xe4e23['definition']),_0x41664f),_0x52c3aa=!0x0);}return _0x52c3aa;}['_ensureFootnotesReferencesHaveProperOrder'](_0x30bec1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x38e338}=this['editor'];let _0x4aa100=!0x1;for(let _0x59ea84=0x0;_0x59ea84<this['_footnotes']['length']-0x1;_0x59ea84++){const _0x23ed81=this['_footnotes'][_0x59ea84],_0xbbb673=this['_footnotes'][_0x59ea84+0x1],_0x200803=_0x38e338['createPositionBefore'](_0x23ed81['reference']),_0x959450=_0x38e338['createPositionBefore'](_0xbbb673['reference']);'after'===_0x200803['compareWith'](_0x959450)&&(this['_handleMovedFootnoteReference'](_0x30bec1,_0x23ed81['reference']),_0x59ea84=-0x1,_0x4aa100=!0x0);}return _0x4aa100;}};function K(_0x12f754,_0x4265ce,_0x45d0d1){if(_0x45d0d1['childCount'])return!0x1;const _0x388dad=_0x4265ce?'paragraph':'footnoteInlineContent';return _0x12f754['insert'](_0x12f754['createElement'](_0x388dad),_0x45d0d1),!0x0;}function T(_0x45f355,_0x3c3903,_0x4c3066){if(0x0===_0x3c3903['length'])return 0x0;const _0x30c6f8=_0x45f355['createPositionBefore'](_0x4c3066);for(let _0x4f4f76=0x0;_0x4f4f76<_0x3c3903['length'];_0x4f4f76++){const _0x23e326=_0x3c3903[_0x4f4f76],_0x58758e=_0x45f355['createPositionBefore'](_0x23e326['reference']);if('before'===_0x30c6f8['compareWith'](_0x58758e))return _0x4f4f76;}const _0x225d84=_0x4c3066['root'];let _0x29d5e0=-0x1;for(let _0x210b4a=_0x3c3903['length']-0x1;_0x210b4a>=0x0;_0x210b4a--)if(_0x3c3903[_0x210b4a]['reference']['root']===_0x225d84){_0x29d5e0=_0x210b4a;break;}if(-0x1!==_0x29d5e0)return _0x29d5e0+0x1;const _0x30ca87=_0x45f355['document']['getRootNames'](),_0x2bfea6=_0x30ca87[_0x30ca87['indexOf'](_0x225d84['rootName'])+0x1];if(_0x2bfea6){for(let _0x3b0ae3=0x0;_0x3b0ae3<_0x3c3903['length'];_0x3b0ae3++)if(_0x3c3903[_0x3b0ae3]['reference']['root']['rootName']===_0x2bfea6)return _0x3b0ae3;}return _0x3c3903['length'];}var j=class extends _0x27e5ad{['refresh'](){const _0xdd2ba1=this['editor']['model']['document']['selection'],_0x3a42b7=this['_getPositionToInsertFootnote'](_0xdd2ba1);this['isEnabled']=!!_0x3a42b7;}['execute'](_0x107e8d){const {editor:_0x5cd7e5}=this,{model:_0x1b1620}=_0x5cd7e5,{selection:_0x185037}=_0x1b1620['document'],_0x4109a4=this['_getPositionToInsertFootnote'](_0x185037);if(!_0x4109a4)return;const _0x41c719=_0x5cd7e5['plugins']['get']('FootnotesEditing'),_0x3d2f4b=_0x107e8d?.['footnoteId']??_0x21fa0a();!function(_0xe8038d){return'string'==typeof _0xe8038d&&_0xe8038d['length']>0x0&&!/\s/['test'](_0xe8038d)&&!/^\d/['test'](_0xe8038d);}(_0x3d2f4b)?_0x261bc4('insert-footnote-command-executed-with-invalid-id'):(_0x1b1620['change'](_0x364ae8=>{const _0x6e1c99=_0x364ae8['createElement']('footnoteRef',{'footnoteId':_0x3d2f4b});_0x1b1620['insertObject'](_0x6e1c99,_0x4109a4,null);}),_0x41c719['_moveSelectionToFootnoteDefinition'](_0x3d2f4b));}['_getPositionToInsertFootnote'](_0x1a384d){const {model:_0x1ffc32}=this['editor'],{schema:_0x5c9af9}=_0x1ffc32,_0x381d61=_0x1a384d['getFirstRange']();for(const _0x10bab3 of _0x381d61['getItems']())if(_0x5c9af9['isBlock'](_0x10bab3)||_0x5c9af9['isObject'](_0x10bab3))return null;const _0x25fb44=_0x381d61['end'];return _0x5c9af9['checkChild'](_0x25fb44,'footnoteRef')?_0x25fb44:null;}},U=class extends _0x495753{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15551a}=this;_0x15551a['config']['define']('footnotes.multiBlock',!0x0),_0x15551a['commands']['add']('insertFootnote',new j(_0x15551a)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x15caee){const _0x154773='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x588ac5=0x78e88,_0x52c727=window['Date']['now'](),_0x1fe5f2=_0x15caee['editor'],_0x381801=new window['Promise'](_0x28655a=>{_0x1fe5f2['once']('ready',_0x28655a);}),_0x350ba1={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2a4add=_0x1fe5f2['config']['get']('licenseKey');async function _0x1d1cd1(){let _0x40d33e,_0x1ef87e=null,_0x21ae7c=null;try{return'GPL'==_0x2a4add?'NotAllowed':(_0x40d33e=_0x2b0fcc(),_0x40d33e?(_0x40d33e['usageEndpoint']&&(_0x21ae7c=_0x1db9da(_0x40d33e['usageEndpoint'],_0x40d33e['jti'])),await _0x273294()?_0x17bf8e()?_0x4f6db6()?'Expired':_0x17cee1()?('evaluation'==_0x40d33e['licenseType']&&(_0x1ef87e=_0x996abf('EvaluationLimit')),await _0x5e8e5a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4f6db6(){const _0x2219bd=['evaluation','trial']['includes'](_0x40d33e['licenseType'])?_0x52c727/0x3e8:0xe10*_0x588ac5;return _0x40d33e['exp']<_0x2219bd;}function _0x17bf8e(){const _0xa65c75=_0x40d33e['features'];return!!_0xa65c75&&(!!_0xa65c75['includes']('*')||!!_0xa65c75['includes']('FOO'));}function _0x17cee1(){const _0x571737=_0x40d33e['licensedHosts'];if(!_0x571737||0x0==_0x571737['length'])return!0x0;const {hostname:_0x399f8c}=new URL(window['location']['href']);if(_0x571737['includes'](_0x399f8c))return!0x0;const _0x506ee3=_0x399f8c['split']('.');return _0x571737['filter'](_0x3fead1=>_0x3fead1['includes']('*'))['map'](_0x2c4d3b=>_0x2c4d3b['split']('.'))['filter'](_0x5dfd78=>_0x5dfd78['length']<=_0x506ee3['length'])['map'](_0x20673d=>Array(_0x506ee3['length']-_0x20673d['length'])['fill']('*'===_0x20673d[0x0]?'*':'')['concat'](_0x20673d))['some'](_0x112915=>_0x506ee3['every']((_0x418e9f,_0x5153dc)=>_0x112915[_0x5153dc]===_0x418e9f||'*'===_0x112915[_0x5153dc]));}function _0x5e8e5a(){return _0x1ef87e&&_0x21ae7c?new window['Promise']((_0x180f8b,_0xc48f8b)=>{_0x1ef87e['then'](_0x180f8b,_0xc48f8b),_0x21ae7c['then'](_0x110491=>{'Valid'!=_0x110491&&_0x180f8b(_0x110491);},_0xc48f8b);}):_0x1ef87e||_0x21ae7c||'Valid';}}function _0x1db9da(_0x325d88,_0x528f85){return new window['Promise'](_0x1d26bf=>{if(_0x5d1720())return _0x1d26bf('Valid');_0x3fea2b(),_0x1fe5f2['decorate']('_sendUsageRequest');let _0xabacb4=!0x1;const _0x23ebdb=_0x21fa0a();function _0x460e6b(_0x1f1cc2){return!!_0x1f1cc2&&('object'==typeof _0x1f1cc2||'function'==typeof _0x1f1cc2)&&'function'==typeof _0x1f1cc2['then']&&'function'==typeof _0x1f1cc2['catch'];}function _0x1692b0(_0x54f95b){_0x158c59(_0x54f95b)['then'](_0x5d98d2=>_0x5d98d2&&'ok'==_0x5d98d2['status']?_0x204621(_0x138792(_0x23ebdb+_0x528f85))!=_0x5d98d2['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4c8b42=>(_0x5f368b(),_0x4c8b42),()=>{const _0x147426=_0x57b76c();return null==_0x147426?(_0x5f368b(),'Valid'):_0x52c727-_0x147426>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1d26bf)['catch'](()=>{_0x1d26bf('UsageLimit');});const _0x44562f=0x36ee80;function _0x5f368b(){const _0x15428f='llct-'+_0x204621(_0x138792(_0x325d88)),_0xc14fb7=_0xab5a04(_0x204621(window['Math']['ceil'](_0x52c727/_0x44562f)));window['localStorage']['setItem'](_0x15428f,_0xc14fb7);}function _0x57b76c(){const _0x2b38f3='llct-'+_0x204621(_0x138792(_0x325d88)),_0x283f15=window['localStorage']['getItem'](_0x2b38f3);return _0x283f15?window['parseInt'](_0xab5a04(_0x283f15),0x10)*_0x44562f:null;}function _0x158c59(_0x5baa2d){return new window['Promise']((_0x302b80,_0x3d87ca)=>{_0x5baa2d['then'](_0x302b80,_0x3d87ca),window['setTimeout'](_0x3d87ca,0x1d4c0);});}}_0x1fe5f2['on']('_sendUsageRequest',(_0x21e8c3,_0x1cbcc6)=>{if(_0x1cbcc6[0x0]!=_0x325d88)return _0x1d26bf('UsageLimit');_0x1cbcc6[0x1]={..._0x1cbcc6[0x1],'requestId':_0x23ebdb};},{'priority':'high'}),_0x1fe5f2['on']('_sendUsageRequest',_0x2c30a2=>{_0x460e6b(_0x2c30a2['return'])&&(_0xabacb4=!0x0,_0x1692b0(_0x2c30a2['return']));},{'priority':'low'}),_0x381801['then'](()=>{_0xabacb4||_0x1d26bf('UsageLimit');});});function _0x5d1720(){return'auto'==_0x1fe5f2['editing']['view']['_overlayModeHint'];}function _0x3fea2b(){_0x1fe5f2['editing']['view']['_overlayModeHint']='auto';}}function _0x996abf(_0x358005){const _0x302016=[new window['Promise'](_0x542de8=>setTimeout(_0x542de8,0x93ecc)),_0x381801['then'](()=>new window['Promise'](_0x1bac76=>{let _0x33e4a8=0x0;_0x1fe5f2['model']['on']('applyOperation',(_0x463df7,_0x2b22ef)=>{_0x2b22ef[0x0]['isDocumentOperation']&&_0x33e4a8++,0x5e8==_0x33e4a8&&(_0x1bac76(),_0x463df7['off']());});}))];return window['Promise']['race'](_0x302016)['then'](()=>_0x358005);}async function _0x13b2da(){await _0x381801,_0x1fe5f2['model']['change']=_0x18f3e5,_0x1fe5f2['model']['enqueueChange']=_0x18f3e5,_0x1fe5f2['enableReadOnlyMode']('model');}function _0x2a7953(_0x3429f4){const _0xf2dda=_0x409de0();_0x1fe5f2[_0xf2dda]='footnotesLicenseKey'+_0x3429f4,'Valid'!=_0x3429f4&&_0x13b2da();}function _0x409de0(){const _0x5ab41b=window['String'](window['performance']['now']())['replace']('.','');let _0x44b335='u';for(let _0x4512e4=0x0;_0x4512e4<_0x5ab41b['length'];_0x4512e4+=0x2){let _0x22c271=window['parseInt'](_0x5ab41b['substring'](_0x4512e4,_0x4512e4+0x2));_0x22c271>=0x3e&&(_0x22c271-=0x3e),_0x44b335+=_0x154773[_0x22c271];}return _0x44b335;}function _0x2b0fcc(){const _0x3114e1=_0x2a4add['split']('.');if(0x3!=_0x3114e1['length'])return null;return _0x2ee4f1(_0x3114e1[0x1]);function _0x2ee4f1(_0x348cc8){const _0x29d440=_0x354b13(_0x348cc8);return _0x29d440&&_0x403f05()?_0x29d440:null;function _0x403f05(){const _0x25d5d6=_0x29d440['jti'],_0x28f303=window['parseInt'](_0x25d5d6['substring'](_0x25d5d6['length']-0x8),0x10),_0x472869={..._0x29d440,'jti':_0x25d5d6['substring'](0x0,_0x25d5d6['length']-0x8)};return delete _0x472869['vc'],_0x138792(_0x472869)==_0x28f303;}}}async function _0x273294(){let _0x1b2f33=!0x0;try{const [_0x54abb9,_0x1790b0,_0x311537]=_0x2a4add['split']('.');return _0x5ede00(_0x54abb9),await _0xe63607(_0x54abb9,_0x1790b0,_0x311537),_0x1b2f33;}catch{return!0x1;}function _0x5ede00(_0x3d8da9){const _0x26eea8=_0x354b13(_0x3d8da9);_0x26eea8&&'ES256'==_0x26eea8['alg']||(_0x1b2f33=!0x1);}async function _0xe63607(_0x21698e,_0x534895,_0x355900){const _0x70cfa2=window['Uint8Array']['from'](_0x2a786d(_0x355900),_0x3645fd=>_0x3645fd['charCodeAt'](0x0)),_0x259073=new window['TextEncoder']()['encode'](_0x21698e+'.'+_0x534895),_0xc8a7e2=window['crypto']['subtle'];if(!_0xc8a7e2)return;const _0x3ea2ce=await _0xc8a7e2['importKey']('jwk',_0x350ba1,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xc8a7e2['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3ea2ce,_0x70cfa2,_0x259073)||(_0x1b2f33=!0x1);}}function _0x354b13(_0x5c3372){return _0x5c3372['startsWith']('ey')?JSON['parse'](_0x2a786d(_0x5c3372)):null;}function _0x2a786d(_0x30539f){return window['atob'](_0x30539f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x138792(_0x215b9){let _0x5befba=0x1505;function _0x20a6b9(_0x4b00ef){for(let _0x1b6c93=0x0;_0x1b6c93<_0x4b00ef['length'];_0x1b6c93++){const _0xe05bee=_0x4b00ef['charCodeAt'](_0x1b6c93);_0x5befba=(_0x5befba<<0x5)+_0x5befba+_0xe05bee,_0x5befba&=_0x5befba;}}function _0xefb3b0(_0x336ac2){Array['isArray'](_0x336ac2)?_0x336ac2['forEach'](_0xefb3b0):_0x336ac2&&'object'==typeof _0x336ac2?Object['entries'](_0x336ac2)['sort']()['forEach'](([_0x1c3376,_0x4899b1])=>{_0x20a6b9(_0x1c3376),_0xefb3b0(_0x4899b1);}):_0x20a6b9(window['String'](_0x336ac2));}return _0xefb3b0(_0x215b9),_0x5befba>>>0x0;}function _0x204621(_0xc7fe4a){return _0xc7fe4a['toString'](0x10)['padStart'](0x8,'0');}function _0xab5a04(_0x5b3c45){return _0x5b3c45['split']('')['reverse']()['join']('');}function _0x18f3e5(){}_0x2a7953(await _0x1d1cd1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x518207){const {plugins:_0x3cbbc8,editing:_0x2cdf53,model:_0x31c4af}=this['editor'],_0x49d8ec=_0x3cbbc8['get'](V)['getFootnote'](_0x518207);return!!_0x49d8ec&&(_0x31c4af['change'](_0x333028=>{_0x333028['setSelection'](_0x333028['createPositionAt'](_0x49d8ec['definition'],'end'));}),_0x2cdf53['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x275c76){const {plugins:_0x5f299d,editing:_0x3da23b,model:_0x3fa366}=this['editor'],_0x3c0a3c=_0x5f299d['get'](V)['getFootnote'](_0x275c76);return!!_0x3c0a3c&&(_0x3fa366['change'](_0x51dd78=>{_0x51dd78['setSelection'](_0x3c0a3c['reference'],'on');}),_0x3da23b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xdfed72}=this['editor']['model'],_0x3f106f=this['editor']['config']['get']('footnotes.multiBlock');_0xdfed72['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xdfed72['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xdfed72['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3f106f?_0xdfed72['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xdfed72['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xdfed72['addChildCheck'](_0x3b59f0=>{for(const _0x8eec93 of _0x3b59f0)if('footnoteDefinition'===_0x8eec93['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x186f5a}=this,{conversion:_0x504f74,editing:_0x302027}=_0x186f5a,{t:t}=_0x186f5a['locale'];_0x504f74['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2110f7,{writer:_0x22e6b5,consumable:_0x7ed061})=>{const _0x13b851=_0x2110f7['getChild'](0x0);if(!_0x13b851||!_0x13b851['is']('element','a'))return null;const _0x21f3d3=_0x13b851['getAttribute']('href')||'';if(!_0x21f3d3['startsWith']('#'))return null;const _0x3f14e3=_0x21f3d3['replace'](/^#/,'');if(!_0x3f14e3)return null;_0x7ed061['consume'](_0x13b851,{'name':!0x0,'attributes':['href']});for(const {item:_0x20c1c4}of _0x302027['view']['createRangeIn'](_0x13b851))_0x20c1c4['is']('$textProxy')?_0x7ed061['consume'](_0x20c1c4['textNode'],{'name':!0x0}):_0x20c1c4['is']('element')&&_0x7ed061['consume'](_0x20c1c4,{'name':!0x0});return _0x22e6b5['createElement']('footnoteRef',{'footnoteId':_0x3f14e3});}}),_0x504f74['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4adf71,{writer:_0x3fe05c})=>X(_0x4adf71,_0x3fe05c)}),_0x504f74['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b73c8,{writer:_0x180368})=>{const _0x477088=_0x3b73c8['getAttribute']('footnoteCounter');return _0x4ca765(X(_0x3b73c8,_0x180368),_0x180368,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x477088)});}});}['_defineDefinitionsConverters'](){const {editor:_0x14db02}=this,{t:t}=_0x14db02['locale'],{conversion:_0x17bebb}=_0x14db02;_0x17bebb['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x17bebb['for']('upcast')['add'](_0x402bb0=>{_0x402bb0['on']('element:ol',(_0x4cd6f8,_0x390895,_0x4ee98b)=>{const _0x33e5ce=_0x390895['viewItem'];if(!_0x33e5ce['hasClass']('footnotes-list')||!_0x390895['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4ee98b['consumable']['consume'](_0x33e5ce,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x40ee31,modelCursor:_0x11188a}=_0x4ee98b['convertChildren'](_0x390895['viewItem'],_0x390895['modelCursor']);_0x390895['modelRange']=_0x40ee31,_0x390895['modelCursor']=_0x11188a;}),_0x402bb0['on']('element:hr',(_0x3dcde1,_0x490323,_0x560cb9)=>{const _0x16f874=_0x490323['viewItem'];_0x16f874['hasClass']('footnotes-divider')&&_0x490323['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x560cb9['consumable']['consume'](_0x16f874,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x17bebb['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5167bc,{writer:_0xb15c01})=>H(_0xb15c01)}),_0x17bebb['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x529d57,{writer:_0x2772eb})=>{const _0x3979dd=_0x4ca765(H(_0x2772eb,{'data-footnotes-list-label':t('Footnotes')}),_0x2772eb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2772eb['setCustomProperty']('footnotesDefinitions',!0x0,_0x3979dd),_0x3979dd;}});}['_defineDefinitionConverters'](){const {editor:_0x382bb5}=this,{conversion:_0x34c91b,locale:_0x3f65f8}=_0x382bb5,_0x20b87b=_0x382bb5['config']['get']('footnotes.multiBlock');_0x34c91b['for']('upcast')['add'](_0x38695c=>{_0x38695c['on']('element:li',(_0xa71810,_0x1ddfd1,_0x1320e5)=>{const _0xbfba62=_0x1ddfd1['viewItem'];if(!_0xbfba62['hasClass']('footnote-definition')||!_0xbfba62['getAttribute']('id'))return;const _0x3cb413=_0xbfba62['parent'];if(!_0x3cb413['is']('element','ol')||!_0x3cb413['hasClass']('footnotes-list'))return;if(!_0x1320e5['consumable']['test'](_0xbfba62,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x101432=_0x1320e5['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xbfba62['getAttribute']('id')});if(!_0x1320e5['safeInsert'](_0x101432,_0x1ddfd1['modelCursor']))return;_0x1320e5['consumable']['consume'](_0xbfba62,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3779f9=Array['from'](_0xbfba62['getChildren']())['find'](_0x2f47d8=>_0x2f47d8['is']('element')&&_0x2f47d8['hasClass']('footnote-content'));for(const _0x5054ee of _0xbfba62['getChildren']())_0x5054ee['is']('element')&&(_0x1320e5['consumable']['consume'](_0x5054ee,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1320e5['consumable']['consume'](_0x5054ee,{'name':!0x0,'classes':'footnote-content'}));if(_0x3779f9){if(_0x20b87b)_0x1320e5['convertChildren'](_0x3779f9,_0x101432);else{const _0x30828c=_0x1320e5['writer']['createElement']('footnoteInlineContent');_0x1320e5['writer']['insert'](_0x30828c,_0x101432),_0x1320e5['convertChildren'](_0x3779f9,_0x30828c);}}_0x1320e5['updateConversionResult'](_0x101432,_0x1ddfd1);});}),_0x34c91b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x283411,{writer:_0x4480bd})=>z(_0x283411,_0x4480bd,_0x3f65f8,{'dataPipeline':!0x0})}),_0x34c91b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x28c8b9,{writer:_0x1d3c39})=>z(_0x28c8b9,_0x1d3c39,_0x3f65f8)});}['_defineBogusParagraphConverters'](){const {editor:_0x4ed24a}=this,{conversion:_0x446305}=_0x4ed24a;_0x4ed24a['config']['get']('footnotes.multiBlock')?(_0x446305['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x446305['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4ed24a['model']['document'],'change:data',()=>{!function(_0x3397ab,_0x482181){const _0x54921a=_0x3397ab['document']['differ'],_0x351ef7=new Set();for(const _0x3e1ad1 of _0x54921a['getChanges']()){const _0x1bd140='attribute'==_0x3e1ad1['type']?_0x3e1ad1['range']['start']['parent']:_0x3e1ad1['position']['parent'];_0x1bd140['is']('element','footnoteDefinition')&&_0x351ef7['add'](_0x1bd140);}for(const _0x3740ac of _0x351ef7['values']()){const _0x3ceb1e=Array['from'](_0x3740ac['getChildren']())['filter'](_0x19e6cd=>B(_0x19e6cd,_0x482181['mapper']));for(const _0x158318 of _0x3ceb1e)_0x482181['reconvertItem'](_0x158318);}}(_0x4ed24a['model'],_0x4ed24a['editing']);})):(_0x446305['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x446305['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x34fa00,{writer:_0x33eb36})=>{const _0xa64042=_0x33eb36['createContainerElement']('span');return _0x33eb36['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xa64042),_0xa64042;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1969f1}=this,{editing:_0x156e67,t:t}=_0x1969f1,_0x34530d=_0x1969f1['model']['document']['selection'];_0x1969f1['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1969f1['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x156e67['view']['document'],'enter',(_0x4e397c,_0x514c01)=>{const _0x977529=function(_0x5a9072){const _0x5da58f=_0x5a9072['getSelectedElement']();return _0x5da58f?.['is']('element','footnoteRef')?_0x5da58f:null;}(_0x34530d);if(_0x977529){const _0x279826=_0x977529['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x279826),_0x514c01['preventDefault'](),_0x4e397c['stop']();}},{'context':_0x24bf52});}['_defineClickHandlers'](){const {editor:_0x5caeaf}=this,{editing:_0x5554d8}=_0x5caeaf;_0x5caeaf['editing']['view']['addObserver'](_0x184a10),_0x5caeaf['editing']['view']['addObserver'](_0x5c41d1);let _0x1ba525=!0x1;this['listenTo'](_0x5554d8['view']['document'],'pointerdown',(_0xe6005f,_0x44ee39)=>{const {target:_0x1aa34e}=_0x44ee39,_0x1b20e4=_0x5554d8['view']['document']['selection'];_0x1ba525=!!(_0x1aa34e?.['is']('element','a')&&_0x1aa34e['parent']?.['is']('element','sup')&&_0x1aa34e['parent']['hasClass']('footnote'))&&_0x1b20e4['getSelectedElement']()===_0x1aa34e['parent'];},{'priority':'high'}),this['listenTo'](_0x5554d8['view']['document'],'click',(_0xcf6de5,_0x134cd3)=>{const {target:_0x1253d5}=_0x134cd3;if(!_0x1253d5?.['is']('element','a'))return;if(_0x1253d5['parent']?.['is']('element','sup')&&_0x1253d5['parent']['hasClass']('footnote')&&!_0x1ba525)return void _0x134cd3['preventDefault']();let _0x4f1920=_0x1253d5['getAttribute']('href');if(!_0x4f1920?.['startsWith']('#'))return;_0x4f1920=_0x4f1920['slice'](0x1);let _0x3638ba=!0x1;(_0x4f1920['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4f1920['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4f1920))&&(_0x3638ba=!0x0),_0x3638ba&&(_0x134cd3['preventDefault'](),_0xcf6de5['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0xbd84d}={}){return(_0x207cb1,{writer:_0x21e9e0})=>{if(!M(_0x207cb1))return null;if(!_0xbd84d)return _0x21e9e0['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x55ec90=_0x21e9e0['createContainerElement']('p');return _0x21e9e0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55ec90),_0x55ec90;};}function M(_0x5b4f7d){const {parent:_0x3c9256}=_0x5b4f7d;if(!_0x3c9256?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3c9256['childCount'])return!0x1;for(const _0x40b19c of _0x5b4f7d['getAttributeKeys']())if(!_0x40b19c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x40b19c)return!0x1;return!0x0;}function B(_0x263204,_0x374395){if(!_0x263204['is']('element','paragraph'))return!0x1;const _0x594b5d=_0x374395['toViewElement'](_0x263204);return!!_0x594b5d&&M(_0x263204)!==_0x594b5d['is']('element','span');}function q(_0x554cf2){return _0x24bf52(_0x554cf2)&&_0x554cf2['is']('containerElement')&&!!_0x554cf2['getCustomProperty']('footnotesDefinitions');}function H(_0x524abb,_0xa33e12={}){const _0x1d3f15=_0x524abb['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x20c18d=_0x524abb['createContainerElement']('ol',{'class':'footnotes-list'},_0x524abb['createSlot']());return _0x524abb['createContainerElement']('div',{'class':'footnotes',..._0xa33e12},[_0x1d3f15,_0x20c18d]);}function X(_0x3f7ef9,_0x1f3fcd){const _0x8cdc97=_0x3f7ef9['getAttribute']('footnoteId'),_0x2d8fea=_0x3f7ef9['getAttribute']('footnoteCounter'),_0x59e445=_0x1f3fcd['createUIElement']('a',{'href':'#'+_0x8cdc97},function(_0x586494){const _0x53a737=this['toDomElement'](_0x586494);return _0x53a737['textContent']=_0x2d8fea,_0x53a737;}),_0x3550fb=_0x1f3fcd['createContainerElement']('sup',{'id':'ref-'+_0x8cdc97,'class':'footnote'},[_0x59e445]);return _0x3550fb['getFillerOffset']=()=>null,_0x3550fb;}function z(_0x4c1aba,_0x56e773,_0x5d05ce,{dataPipeline:_0x517e5e}={}){const {t:t}=_0x5d05ce,_0x2a2b25=_0x4c1aba['getAttribute']('footnoteId'),_0x4f1f8d=_0x56e773['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2a2b25},function(_0x96bbe9){const _0x6f81d9=this['toDomElement'](_0x96bbe9);return _0x6f81d9['innerText']='^',_0x6f81d9;}),_0x57a2ca=_0x517e5e?_0x56e773['createContainerElement']('div',{'class':'footnote-content'}):_0x2df36a(_0x56e773['createEditableElement']('div',{'class':'footnote-content'}),_0x56e773,{'label':t('Footnote\x20content.')});return _0x56e773['insert'](_0x56e773['createPositionAt'](_0x57a2ca,0x0),_0x56e773['createSlot']()),_0x56e773['createContainerElement']('li',{'class':'footnote-definition','id':_0x2a2b25},[_0x4f1f8d,_0x57a2ca]);}var J=class extends _0x495753{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x52fed0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x423cab}=this,{plugins:_0x5887cd,model:_0x460d32}=_0x423cab,_0x1d3f1b=_0x5887cd['get'](_0x52fed0),_0x104869=_0x5887cd['get'](V);this['listenTo'](_0x1d3f1b,'outputTransformation',(_0x504b9e,_0x1f98e9)=>{const _0x42797d=G(_0x460d32['createRangeIn'](_0x1f98e9['content']));if(!_0x42797d['length'])return;const _0x4e236f=_0x104869['getFootnotes'](),_0x5261ca=_0x42797d['reduce']((_0x231b4b,_0x2e2c3e)=>{const _0x5b9173=_0x4e236f['find'](_0x55786e=>_0x55786e['id']===_0x2e2c3e);if(_0x5b9173){const _0x477df5=_0x423cab['data']['toView'](_0x5b9173['definition'],{'isClipboardPipeline':!0x0}),_0x3e9ea1=_0x423cab['data']['htmlProcessor']['toData'](_0x477df5);_0x231b4b[_0x5b9173['id']]=_0x3e9ea1;}return _0x231b4b;},Object['create'](null));_0x1f98e9['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5261ca));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xfb3bdd}=this,{model:_0x12a642,plugins:_0x12e6d1}=_0xfb3bdd,{view:_0x69e56b}=_0xfb3bdd['editing'],_0x425cf2=_0x12e6d1['get'](_0x52fed0),_0x1d5199=_0x12e6d1['get'](V),_0x57a2b7=_0xfb3bdd['config']['get']('footnotes.multiBlock');let _0x5d6038=null;this['listenTo'](_0x69e56b['document'],'clipboardInput',(_0x518e1e,_0x57cc07)=>{const _0x398e0e=_0x57cc07['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5d6038=_0x398e0e?JSON['parse'](_0x398e0e):null;}),this['listenTo'](_0x425cf2,'contentInsertion',(_0x5cdc25,_0x4d4432)=>{const _0x574581=_0x4d4432['sourceEditorId']===this['editor']['id'];_0x574581&&'drop'===_0x4d4432['method']||_0x12a642['change'](_0x17228d=>{let _0x2dc005=_0x1d5199['getFootnotesDefinitionsObjectElement']();const _0x5eadd8=!!_0x2dc005&&Array['from'](_0x12a642['document']['selection']['getSelectedBlocks']())['includes'](_0x2dc005);if(!_0x5d6038&&function(_0x4c41e2){for(const {item:_0x2ee73b}of _0x4c41e2)if(_0x2ee73b['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x12a642['createRangeIn'](_0x4d4432['content']))&&(_0x5d6038=function(_0x55f292,_0x13a127){const _0x3e079f=Q(_0x55f292,_0x13a127);if(!_0x3e079f)return null;const _0x988ccc=Object['create'](null);for(const _0x571b1b of _0x3e079f['getChildren']())_0x571b1b['is']('element','footnoteDefinition')&&_0x571b1b['hasAttribute']('footnoteId')&&(_0x988ccc[_0x571b1b['getAttribute']('footnoteId')]=_0x55f292['cloneElement'](_0x571b1b,!0x0));return Object['keys'](_0x988ccc)['length']?_0x988ccc:null;}(_0x17228d,_0x4d4432['content'])),(_0x2dc005&&!_0x5eadd8||!_0x2dc005&&!_0x5d6038)&&function(_0x43aaa9,_0x3d73bc){const _0x2038c2=[];for(const {item:_0x10f95e}of _0x43aaa9['createRangeIn'](_0x3d73bc))_0x10f95e['is']('element','footnotesDefinitions')&&_0x2038c2['push'](_0x10f95e);for(const _0x1c84f5 of _0x2038c2)_0x43aaa9['remove'](_0x1c84f5);}(_0x17228d,_0x4d4432['content']),!_0x5d6038)return;const {selection:_0x3ffeb7}=_0x12a642['document'],_0x50e048=_0x3ffeb7['getFirstRange']()['root'];_0x2dc005&&!_0x5eadd8||(_0x2dc005=Q(_0x17228d,_0x4d4432['content']),_0x2dc005||=_0x1d5199['_insertEmptyFootnotesDefinitionsContainer'](_0x17228d,_0x50e048));const _0x98c1f1=Array['from'](_0x3ffeb7['getRanges']())['flatMap'](G),_0x12fae0=function(_0x1342c6,_0x3a9b0b,_0x408a16){const _0x4d73c8=Object['create'](null);for(const {item:_0x4a3404}of _0x1342c6['createRangeIn'](_0x3a9b0b))if(_0x4a3404['is']('element','footnoteRef')){const _0x5d1737=_0x4a3404['getAttribute']('footnoteId');if(!_0x408a16(_0x5d1737))continue;_0x4d73c8[_0x5d1737]||(_0x4d73c8[_0x5d1737]=_0x21fa0a()),_0x1342c6['setAttribute']('footnoteId',_0x4d73c8[_0x5d1737],_0x4a3404);}return _0x4d73c8;}(_0x17228d,_0x4d4432['content'],_0x323b46=>!_0x574581||!!_0x1d5199['getFootnote'](_0x323b46)&&!_0x98c1f1['includes'](_0x323b46));for(const [_0x210046,_0x223a28]of Object['entries'](_0x5d6038)){const _0x10c8df=_0x12fae0[_0x210046]||_0x210046;let _0x1066f3;if('string'!=typeof _0x223a28)_0x1066f3=_0x223a28,_0x10c8df!==_0x210046&&_0x17228d['setAttribute']('footnoteId',_0x10c8df,_0x1066f3);else{_0x1066f3=_0x17228d['createElement']('footnoteDefinition',{'footnoteId':_0x10c8df});const _0xde06a=_0xfb3bdd['data']['htmlProcessor']['toView'](_0x223a28);let _0x2d50fc;if(_0x57a2b7)_0x2d50fc=_0xfb3bdd['data']['toModel'](_0xde06a,_0x1066f3);else{_0x2d50fc=_0x17228d['createElement']('footnoteInlineContent');const _0x522107=_0xfb3bdd['data']['toModel'](_0xde06a,_0x2d50fc);_0x17228d['insert'](_0x522107,_0x2d50fc);}_0x17228d['append'](_0x2d50fc,_0x1066f3);}_0x17228d['insert'](_0x1066f3,_0x2dc005,'end');}_0x5d6038=null;});});}};function Q(_0x377bdf,_0x47a705){for(const {item:_0x6fa0ac}of _0x377bdf['createRangeIn'](_0x47a705))if(_0x6fa0ac['is']('element','footnotesDefinitions'))return _0x6fa0ac;return null;}function G(_0x1900dd){const _0x53d032=new Set();for(const {item:_0x5a3f9f}of _0x1900dd)_0x5a3f9f['is']('element','footnoteRef')&&_0x53d032['add'](_0x5a3f9f['getAttribute']('footnoteId'));return Array['from'](_0x53d032);}var W=class extends _0x495753{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x143b5b}=this,{componentFactory:_0x247605}=_0x143b5b['ui'];_0x247605['add']('insertFootnote',Y(_0x143b5b,_0x5b4be6)),_0x247605['add']('menuBar:insertFootnote',Y(_0x143b5b,_0x56aea0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xf736e4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x313ff6;for(const _0x161187 in _0xf736e4){const _0x3c1724=_0x161187,_0x2b9676=_0xf736e4[_0x3c1724];if('footnotesLicenseKeyValid'==_0x2b9676||'footnotesLicenseKeyInvalid'==_0x2b9676||'footnotesLicenseKeyExpired'==_0x2b9676||'footnotesLicenseKeyDomainLimit'==_0x2b9676||'footnotesLicenseKeyNotAllowed'==_0x2b9676||'footnotesLicenseKeyEvaluationLimit'==_0x2b9676||'footnotesLicenseKeyUsageLimit'==_0x2b9676){delete _0xf736e4[_0x3c1724],_0x313ff6=_0x2b9676,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x313ff6&&_0xf736e4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x313ff6&&_0xf736e4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x313ff6&&_0xf736e4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x313ff6&&_0xf736e4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x313ff6&&_0xf736e4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x313ff6&&_0xf736e4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x7f191c,_0x11d4dc){const _0x2ef898=_0x7f191c['commands']['get']('insertFootnote');return _0x5059e5=>{const {t:t}=_0x5059e5,_0x50939e=new _0x11d4dc(_0x5059e5),_0x261c4e=_0x50939e instanceof _0x56aea0;return _0x50939e['bind']('isEnabled')['to'](_0x2ef898,'isEnabled'),_0x50939e['set']({'label':t(_0x261c4e?'Footnote':'Insert\x20footnote'),'icon':_0x1bd2eb,'tooltip':!0x0}),_0x50939e['on']('execute',()=>{_0x2ef898['execute'](),_0x7f191c['editing']['view']['focus']();}),_0x50939e;};}var Z=class extends _0x495753{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x27e5ad{['refresh'](){const {editor:_0x21ac9e}=this,_0x24254f=_0x21ac9e['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x24254f,this['value']=_0x24254f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5b32e0}){const {editor:_0x61d651}=this,_0x42d608=_0x61d651['plugins']['get'](V),_0x1bd8a9=_0x42d608['getFootnotesDefinitionsObjectElement']();_0x1bd8a9&&ot['includes'](_0x5b32e0)&&_0x61d651['model']['change'](_0x1b8a67=>{_0x1b8a67['setAttribute']('footnotesListStyle',_0x5b32e0,_0x1bd8a9),_0x42d608['_updateFootnotesCounters'](_0x1b8a67);});}},it=class extends _0x27e5ad{['refresh'](){const {editor:_0x4bfbcf}=this,_0x220ff7=_0x4bfbcf['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x220ff7,this['value']=_0x220ff7?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x11b72e}){const {editor:_0x127e2d}=this,_0x346f68=_0x127e2d['plugins']['get'](V),_0x35e358=_0x346f68['getFootnotesDefinitionsObjectElement']();_0x35e358&&Number['isInteger'](_0x11b72e)&&_0x127e2d['model']['change'](_0x54fc20=>{_0x54fc20['setAttribute']('footnotesListStart',_0x11b72e,_0x35e358),_0x346f68['_updateFootnotesCounters'](_0x54fc20);});}};function st({style:_0x20b226,digits:_0x538448,value:_0x3970cb}){const _0x387ab2=Math['floor'](_0x3970cb),_0x5c9e60=function(_0x262f09){switch(_0x262f09){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x20b226);switch((_0x387ab2>_0x5c9e60['max']||_0x387ab2<_0x5c9e60['min'])&&(_0x20b226='decimal'),_0x20b226){case'decimal-leading-zero':return function(_0x23bb84,_0xdd1811){return String(_0x23bb84)['padStart'](_0xdd1811,'0');}(_0x387ab2,Math['max'](0x2,_0x538448));case'lower-alpha':case'lower-latin':return rt(_0x387ab2,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x387ab2,!0x0);case'lower-roman':return at(_0x387ab2,!0x1);case'upper-roman':return at(_0x387ab2,!0x0);case'arabic-indic':return String(_0x387ab2)['replace'](/\d/g,_0x700eda=>ft[Number(_0x700eda)]);default:return String(_0x387ab2);}}function rt(_0x240aa5,_0x3a9726){let _0x14effe='',_0x281d3c=_0x240aa5;for(;_0x281d3c>0x0;){const _0x5b5a1e=(_0x281d3c-0x1)%0x1a;_0x14effe=String['fromCharCode'](0x61+_0x5b5a1e)+_0x14effe,_0x281d3c=Math['floor']((_0x281d3c-0x1)/0x1a);}return _0x3a9726?_0x14effe['toUpperCase']():_0x14effe;}const lt=[{'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 at(_0xf11eec,_0x276bbb){let _0x50c1c9='',_0x2d0c24=_0xf11eec;for(const {value:_0x567506,numeral:_0x1dd063}of lt)for(;_0x2d0c24>=_0x567506;)_0x50c1c9+=_0x1dd063,_0x2d0c24-=_0x567506;return _0x276bbb?_0x50c1c9:_0x50c1c9['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x495753{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a5e71}=this;_0x2a5e71['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2a5e71['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2a5e71['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x2a5e71['commands']['add']('footnotesStyle',new nt(_0x2a5e71)),_0x2a5e71['commands']['add']('footnotesStart',new it(_0x2a5e71)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1f3ce6}=this,{schema:_0x5a882a}=_0x1f3ce6['model'];_0x5a882a['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1bd2c1}=this,{conversion:_0x5b9b4b,model:_0x375c88}=_0x1bd2c1,{schema:_0x49073e}=_0x375c88;_0x5b9b4b['for']('upcast')['add'](_0x267113=>{_0x267113['on']('element:ol',(_0x49c41b,_0x257ecf,_0xa959f5)=>{const _0x5d038=_0x257ecf['viewItem'],_0x2f9df1=_0x257ecf['modelCursor']?.['parent'];_0x5d038['hasClass']('footnotes-list')&&_0x2f9df1?.['is']('element','footnotesDefinitions')&&(function(_0x93eced,_0x50a2a4,_0x23cb55,_0x11ff7e){if(!_0x11ff7e['checkAttribute'](_0x50a2a4,'footnotesListStart'))return;let _0x181899=0x1;const _0x44ee55=_0x23cb55['consumable']['consume'](_0x93eced,{'attributes':'start'});if(_0x44ee55){const _0x35b7f1=Number['parseInt'](_0x93eced['getAttribute']('start'),0xa);Number['isNaN'](_0x35b7f1)||(_0x181899=_0x35b7f1);}!_0x44ee55&&_0x50a2a4['hasAttribute']('footnotesListStart')||_0x23cb55['writer']['setAttribute']('footnotesListStart',_0x181899,_0x50a2a4);}(_0x5d038,_0x2f9df1,_0xa959f5,_0x49073e),function(_0xd47550,_0x48f504,_0x96fa1d,_0x5b5002){if(!_0x5b5002['checkAttribute'](_0x48f504,'footnotesListStyle'))return;let _0x4f88c6='decimal',_0x4f040e=!0x1;if(_0x96fa1d['consumable']['consume'](_0xd47550,{'attributes':'type'})){const _0x31872a={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0xd47550['getAttribute']('type')];_0x31872a&&(_0x4f88c6=_0x31872a),_0x4f040e=!0x0;}if(_0x96fa1d['consumable']['consume'](_0xd47550,{'styles':'list-style-type'})){const _0x3ccfd5=ut(_0xd47550['getStyle']('list-style-type'));_0x3ccfd5&&(_0x4f88c6=_0x3ccfd5),_0x4f040e=!0x0;}!_0x4f040e&&_0x48f504['hasAttribute']('footnotesListStyle')||_0x96fa1d['writer']['setAttribute']('footnotesListStyle',_0x4f88c6,_0x48f504);}(_0x5d038,_0x2f9df1,_0xa959f5,_0x49073e));});}),_0x5b9b4b['for']('downcast')['add'](_0x514868=>{_0x514868['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xcdea4,_0x176e76,_0x1f110c)=>{if(!_0x1f110c['consumable']['consume'](_0x176e76['item'],_0xcdea4['name']))return;const _0x329291=dt(_0x176e76['item'],_0x1f110c['mapper']),{attributeNewValue:_0x54c2c7}=_0x176e76;null==_0x54c2c7||0x1===_0x54c2c7?_0x1f110c['writer']['removeAttribute']('start',_0x329291):_0x1f110c['writer']['setAttribute']('start',String(_0x54c2c7),_0x329291);}),_0x514868['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3c2b83,_0x726fe6,_0x2f48c9)=>{if(!_0x2f48c9['consumable']['consume'](_0x726fe6['item'],_0x3c2b83['name']))return;const _0x57e426=dt(_0x726fe6['item'],_0x2f48c9['mapper']),{attributeNewValue:_0x1b8a6c}=_0x726fe6;_0x1b8a6c&&'decimal'!==_0x1b8a6c?_0x2f48c9['writer']['setStyle']('list-style-type',_0x1b8a6c,_0x57e426):_0x2f48c9['writer']['removeStyle']('list-style-type',_0x57e426);});});}['_definePostfixer'](){const {editor:_0xd298ee}=this,{model:_0x4a119e}=_0xd298ee,_0x3a4ef8=_0xd298ee['plugins']['get'](V),_0x2289fe=this['_getDefaultListStyle'](),_0x4932d3=this['_getDefaultStartIndex']();_0x4a119e['document']['registerPostFixer'](_0x2421f3=>{const _0x5c6374=_0x4a119e['document']['differ']['getChanges']();let _0x46bbdf=!0x1;for(const _0xfd8a2a of _0x5c6374){if('insert'!==_0xfd8a2a['type']||'$text'===_0xfd8a2a['name'])continue;const _0x38a3b4=_0x4a119e['createRangeOn'](_0xfd8a2a['position']['nodeAfter']);for(const _0x207a38 of _0x38a3b4['getItems']())_0x207a38['is']('element','footnotesDefinitions')&&(!_0x207a38['hasAttribute']('footnotesListStart')&&_0x4a119e['schema']['checkAttribute'](_0x207a38,'footnotesListStart')&&(_0x2421f3['setAttribute']('footnotesListStart',_0x4932d3,_0x207a38),_0x46bbdf=!0x0),!_0x207a38['hasAttribute']('footnotesListStyle')&&_0x4a119e['schema']['checkAttribute'](_0x207a38,'footnotesListStyle')&&(_0x2421f3['setAttribute']('footnotesListStyle',_0x2289fe,_0x207a38),_0x46bbdf=!0x0));}return _0x46bbdf&&_0x3a4ef8['_updateFootnotesCounters'](_0x2421f3),_0x46bbdf;});}['_defineFormatter'](){const {editor:_0x31a3da}=this;_0x31a3da['plugins']['get'](V)['setFootnoteFormatter'](_0x3068d1=>this['_formatFootnoteListValue'](_0x3068d1));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2a14b6,value:_0x1b1c26,digits:_0x4621c1}){const _0x3b24e6=_0x2a14b6['getAttribute']('footnotesListStyle');return st({'value':_0x1b1c26+(_0x2a14b6['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x3b24e6,'digits':_0x4621c1});}};function ut(_0x3abca4){if('string'==typeof _0x3abca4){const _0x3f93c6=et[_0x3abca4];if(_0x3f93c6)return _0x3f93c6;if(ot['includes'](_0x3abca4))return _0x3abca4;}return null;}function dt(_0x276c4e,_0x543bbd){const _0x17a8e8=_0x543bbd['toViewElement'](_0x276c4e);return Array['from'](_0x17a8e8['getChildren']())['find'](_0x3390fa=>_0x3390fa['is']('element','ol')&&_0x3390fa['hasClass']('footnotes-list'));}var ht=class extends _0x4a95c3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x487ea6();['keystrokes']=new _0x4e7e8c();['focusables']=new _0xe394a2();['focusCycler'];constructor(_0x540db9,{styleButtonViews:_0x230b06,styleGridAriaLabel:_0x4d667f}){super(_0x540db9),(this['focusCycler']=new _0x3167b6({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x230b06,_0x4d667f),[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 _0xeb7809 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xeb7809['element']);_0xc82d5e({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1f0673['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 _0x1167cc=_0x213fc7=>_0x213fc7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1167cc),this['keystrokes']['set']('arrowleft',_0x1167cc),this['keystrokes']['set']('arrowup',_0x1167cc),this['keystrokes']['set']('arrowdown',_0x1167cc);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4009bd,_0x3d91b4){const _0xf635c6=new _0x4a95c3(this['locale']);return _0xf635c6['children']=_0xf635c6['createCollection'](),_0xf635c6['children']['addMany'](_0x4009bd),_0xf635c6['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3d91b4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xf635c6['children']}),_0xf635c6['children']['delegate']('execute')['to'](this),_0xf635c6['focus']=function(){for(const _0x1cb24b of this['children'])if(_0x1cb24b instanceof _0x5b4be6&&_0x1cb24b['isOn'])return void _0x1cb24b['focus']();this['children']['first']['focus']();},_0xf635c6['focusTracker']=new _0x487ea6(),_0xf635c6['keystrokes']=new _0x4e7e8c(),_0xf635c6['render'](),_0xf635c6['keystrokes']['listenTo'](_0xf635c6['element']),this['children']['add'](_0xf635c6),_0xf635c6;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x6e9481=this['_createStartIndexPropertyView'](),_0x16c42d=[_0x6e9481],_0x5b5ea0=new _0x475def(this['locale'],_0x16c42d);return _0x5b5ea0['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5b5ea0['buttonView']['bind']('isEnabled')['toMany'](_0x16c42d,'isEnabled',(..._0x561154)=>_0x561154['some'](_0x515fe0=>_0x515fe0)),_0x5b5ea0['buttonView']['on']('change:isEnabled',(_0x1b9755,_0x68da13,_0x190e1d)=>{_0x190e1d||(_0x5b5ea0['isCollapsed']=!0x0);}),this['children']['add'](_0x5b5ea0),[_0x6e9481,_0x5b5ea0];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2cf885=new _0x52289f(this['locale'],_0x5bcc49);return _0x2cf885['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2cf885['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2cf885['fieldView']['on']('input',()=>{const _0x506567=_0x2cf885['fieldView']['element'],_0x8c148b=_0x506567['valueAsNumber'];Number['isNaN'](_0x8c148b)?_0x2cf885['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x506567['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x8c148b}):_0x2cf885['errorText']=t(_0x8c148b<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2cf885;}},mt=class extends _0x495753{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xd8f8b8,_0x633450];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x175bdb}=this,{componentFactory:_0x5c4fe8}=_0x175bdb['ui'];_0x175bdb['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5c4fe8['add']('footnotesStyle',function(_0xfc507a){return _0x4bd51e=>{const {t:t}=_0x4bd51e,_0x4b7530=_0xfc507a['commands']['get']('footnotesStyle'),_0x2709dc=_0x15ce9f(_0x4bd51e),{buttonView:_0x1f7870}=_0x2709dc;return _0x2709dc['class']='ck-footnotes-styles-dropdown',_0x2709dc['bind']('isEnabled')['to'](_0x4b7530,'isEnabled'),_0x1f7870['set']({'label':t('Footnotes\x20style'),'icon':_0x1bd2eb,'tooltip':!0x0}),_0x2709dc['once']('change:isOpen',()=>{const _0x268277=function({editor:_0x135a09,dropdownView:_0x41700b}){const {t:t}=_0x135a09['locale'],_0x3f72eb=t('Footnotes\x20definitions\x20styles'),_0xfcf1d=function(_0x1c5263){const {t:t}=_0x1c5263['locale'],_0x5471f1=_0x1c5263['config']['get']('footnotes.footnotesProperties.listStyles'),_0x4f3483=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x56425e},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x379187},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x3d772d},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x1a8533},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x17766e},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x1547d6},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x3dd052}];return _0x5471f1['map'](_0x583fd0=>{const _0x26c9a2=ut(_0x583fd0);return function(_0x538b33,_0x1b6c0f){const {locale:_0x23544c}=_0x538b33,{label:_0x4920e5,icon:_0x55e057,tooltip:_0x2d9d28,style:_0x3bf621}=_0x1b6c0f,_0x4bd962=_0x538b33['commands']['get']('footnotesStyle'),_0x27c202=new _0x5b4be6(_0x23544c);return _0x27c202['set']({'label':_0x4920e5,'icon':_0x55e057,'tooltip':_0x2d9d28}),_0x27c202['bind']('isOn')['to'](_0x4bd962,'value',_0x4f7d7c=>_0x4f7d7c===_0x3bf621),_0x27c202['bind']('isEnabled')['to'](_0x4bd962,'isEnabled'),_0x27c202['on']('execute',()=>{_0x538b33['execute']('footnotesStyle',{'value':_0x3bf621}),_0x538b33['editing']['view']['focus']();}),_0x27c202;}(_0x1c5263,_0x4f3483['find'](_0x3e8df5=>_0x3e8df5['style']===_0x26c9a2));});}(_0x135a09),_0x2e3b4c=new ht(_0x135a09['locale'],{'styleGridAriaLabel':_0x3f72eb,'styleButtonViews':_0xfcf1d}),_0x40005a=_0x135a09['commands']['get']('footnotesStart');return _0x2e3b4c['startIndexFieldView']['bind']('isEnabled')['to'](_0x40005a),_0x2e3b4c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x40005a),_0x2e3b4c['on']('footnotesListStart',(_0x28371b,_0x3ed917)=>{_0x135a09['execute']('footnotesStart',{'value':_0x3ed917['startIndex']});}),_0x2e3b4c['delegate']('execute')['to'](_0x41700b),_0x2e3b4c;}({'editor':_0xfc507a,'dropdownView':_0x2709dc});_0x2709dc['panelView']['children']['add'](_0x268277);}),_0x2709dc;};}(_0x175bdb));}['afterInit'](){const {editor:_0x4eb2b9}=this,{t:t}=_0x4eb2b9['locale'],_0x425038=_0x4eb2b9['plugins']['get'](_0x633450),{defaultPositions:_0x1c07d7}=_0x463a48;_0x425038['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4eb2b9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x60f3ce=>{let _0x191944=_0x60f3ce['getFirstPosition']()?.['parent'];return _0x191944?.['is']('$text')&&(_0x191944=_0x191944['parent']),_0x191944?.['is']('element')?_0x191944['findAncestor'](q):null;},'positions':[_0x1c07d7['southArrowNorth'],_0x1c07d7['southArrowNorthMiddleWest'],_0x1c07d7['southArrowNorthMiddleEast'],_0x1c07d7['southArrowNorthWest'],_0x1c07d7['southArrowNorthEast'],_0x1c07d7['northArrowSouth'],_0x1c07d7['northArrowSouthMiddleWest'],_0x1c07d7['northArrowSouthMiddleEast'],_0x1c07d7['northArrowSouthWest'],_0x1c07d7['northArrowSouthEast'],_0x1c07d7['viewportStickyNorth']]});}},pt=class extends _0x495753{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j as InsertFootnoteCommand};
23
+ import{Command as _0x3904c5,Plugin as _0x430bd6}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x4f08e4,isWidget as _0x5778a2,toWidget as _0x4a0b38,toWidgetEditable as _0xeadc9}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x2beea5,KeystrokeHandler as _0x5e8285,global as _0x368376,logWarning as _0x22c551,uid as _0x44b89c}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x13a465,PointerObserver as _0x1ca26c}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x1b520b}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x534280,ButtonView as _0x357f47,CollapsibleView as _0x5498af,ContextualBalloon as _0x10011f,FocusCycler as _0x1e9d99,LabeledFieldView as _0x5bd45d,MenuBarMenuListItemButtonView as _0x2e0374,View as _0x20d9b3,ViewCollection as _0x4fdb0a,addKeyboardHandlingForGrid as _0x4595d6,createDropdown as _0x13d5d1,createLabeledInputNumber as _0x3f6dae}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x24d0e5,IconListStyleArabicIndic as _0xcf4e7a,IconListStyleDecimal as _0x51f85d,IconListStyleDecimalLeadingZero as _0x372850,IconListStyleLowerLatin as _0x1f64a5,IconListStyleLowerRoman as _0x12924e,IconListStyleUpperLatin as _0x252079,IconListStyleUpperRoman as _0x57af67}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x249d92,_0x4b71cb){this['_model']=_0x249d92,this['_elementName']=_0x4b71cb['elementName'],this['_getElementKey']=_0x4b71cb['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x58149f){const _0x1e10a6=new Set(),_0x506c80=new Map();for(const _0x1bb139 of _0x58149f){if('insert'===_0x1bb139['type']&&'$text'!==_0x1bb139['name']&&_0x1bb139['position']['nodeAfter']){const _0x407d21=this['_model']['createRangeOn'](_0x1bb139['position']['nodeAfter']);for(const _0x3d5fb2 of _0x407d21['getItems']()){if(!_0x3d5fb2['is']('element',this['_elementName']))continue;const _0x485019=this['_getElementKey'](_0x3d5fb2);_0x506c80['has'](_0x485019)||_0x506c80['set'](_0x485019,[]),_0x506c80['get'](_0x485019)['push'](_0x3d5fb2);}}if('remove'===_0x1bb139['type']&&_0x1bb139['name']===this['_elementName']){const _0xe8019b=this['_getElementKey']({'getAttribute':_0x7c3fce=>_0x1bb139['attributes']['get'](_0x7c3fce)});_0x1e10a6['add'](_0xe8019b);}}for(const [_0xf90195,_0x5549b3]of this['_trackedElements'])'$graveyard'===_0x5549b3['root']['rootName']&&_0x1e10a6['add'](_0xf90195);for(const _0x3e09b3 of _0x1e10a6)this['_trackedElements']['delete'](_0x3e09b3);for(const [_0x294e05,_0x8d4e3a]of _0x506c80)this['_trackedElements']['set'](_0x294e05,_0x8d4e3a[_0x8d4e3a['length']-0x1]);const _0x54b466=new Set();for(const [_0x575da0,_0x5a27c3]of _0x506c80)_0x1e10a6['has'](_0x575da0)&&(_0x54b466['add'](_0x5a27c3[0x0]),_0x5a27c3['length']>0x1?_0x506c80['set'](_0x575da0,_0x5a27c3['slice'](0x1)):_0x506c80['delete'](_0x575da0),_0x1e10a6['delete'](_0x575da0));return{'removed':Array['from'](_0x1e10a6),'inserted':Array['from'](_0x506c80['values']())['flat'](),'moved':Array['from'](_0x54b466)};}},V=class extends _0x430bd6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a873f){super(_0x5a873f),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2b0240=>_0x2b0240['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x186f33=>_0x186f33['getAttribute']('footnoteId')});}['init'](){const {editor:_0x6f0a9f}=this,{model:_0x29c154,data:_0x5c0aea}=_0x6f0a9f;_0x29c154['document']['registerPostFixer'](_0x5c27db=>{const _0x31d603=_0x29c154['document']['differ']['getChanges']();let _0x1ab073=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5c27db,_0x31d603)&&(_0x1ab073=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5c27db,_0x31d603)&&(_0x1ab073=!0x0),this['_handleFootnoteReferencesChanges'](_0x5c27db,_0x31d603)&&(_0x1ab073=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5c27db)&&(_0x1ab073=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5c27db)&&(_0x1ab073=!0x0),this['_sortFootnoteDefinitions'](_0x5c27db)&&(_0x1ab073=!0x0),_0x1ab073;}),this['listenTo'](_0x29c154['document'],'change:data',()=>{_0x29c154['enqueueChange']({'isUndoable':!0x1},_0x44cbdd=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x44cbdd);});},{'priority':'low'}),this['listenTo'](_0x5c0aea,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3845c5){return this['_footnotes']['find'](_0x242830=>_0x242830['id']===_0x3845c5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2e3c58){this['_footnoteFormatter']=_0x2e3c58;}['_updateFootnotesCounters'](_0x589ee2,_0x48f557=0x0){let _0x5868f3=!0x1;for(let _0x2506fe=_0x48f557;_0x2506fe<this['_footnotes']['length'];_0x2506fe++)this['_updateFootnoteRefCounter'](_0x589ee2,_0x2506fe)&&(_0x5868f3=!0x0);return _0x5868f3;}['_insertEmptyFootnotesDefinitionsContainer'](_0x22fd3f,_0x5328b5){const _0x3fdf56=_0x22fd3f['createElement']('footnotesDefinitions',{});return _0x22fd3f['append'](_0x3fdf56,_0x5328b5),this['_footnotesDefinitions']=_0x3fdf56,_0x3fdf56;}['_ensureFootnotesDefinitionsContainerExists'](_0x359944){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xd2b0e7=this['_footnotes'][0x0]['reference']['root'],_0x4adebb=this['_insertEmptyFootnotesDefinitionsContainer'](_0x359944,_0xd2b0e7);for(const _0x585679 of this['_footnotes'])_0x585679['definition']['parent']||_0x359944['insert'](_0x585679['definition'],_0x4adebb,'end');this['_updateFootnotesCounters'](_0x359944);}['_handleFootnotesDefinitionsObjectChanges'](_0x549616,_0x352bf5){let _0x57cc07=!0x1;const {inserted:_0x5268cd,removed:_0x17a6cb,moved:_0x42b05f}=this['_footnoteDefsContainerTracker']['getChanges'](_0x352bf5);if(_0x42b05f['length']&&(this['_footnotesDefinitions']=_0x42b05f[0x0]),_0x5268cd['length']){if(_0x5268cd['length']>0x1||this['_footnotesDefinitions']&&_0x5268cd['some'](_0x121b93=>_0x121b93!==this['_footnotesDefinitions'])){const _0x2979bf=_0x549616['createElement']('footnotesDefinitions',{}),_0x1f1caa=[];this['_footnotesDefinitions']&&_0x1f1caa['push'](this['_footnotesDefinitions']),_0x1f1caa['push'](..._0x5268cd),_0x549616['insert'](_0x2979bf,_0x1f1caa[0x0],'before');for(const _0x31e752 of _0x1f1caa)_0x549616['move'](_0x549616['createRangeIn'](_0x31e752),_0x549616['createPositionAt'](_0x2979bf,'end')),_0x549616['remove'](_0x31e752);this['_footnotesDefinitions']=_0x2979bf,this['_updateFootnotesCounters'](_0x549616),_0x57cc07=!0x0;}else this['_footnotesDefinitions']=_0x5268cd[0x0];}if(_0x17a6cb['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3efa54 of this['_footnotes'])_0x549616['remove'](_0x3efa54['reference']),_0x57cc07=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x57cc07;}['_handleFootnoteDefinitionsChanges'](_0x2ed592,_0x270e50){let _0x12c338=!0x1;const _0x2ebf6c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x89f854,moved:_0x2b2ce2}=this['_footnoteDefsTracker']['getChanges'](_0x270e50);for(const _0x433b45 of[..._0x2b2ce2,..._0x89f854]){const _0x54c4e5=_0x433b45['getAttribute']('footnoteId'),_0xf4dc1a=this['getFootnote'](_0x54c4e5);_0xf4dc1a&&(_0xf4dc1a['definition']=_0x433b45),K(_0x2ed592,_0x2ebf6c,_0x433b45)&&(_0x12c338=!0x0);}return _0x12c338;}['_handleFootnoteReferencesChanges'](_0x2dbb7f,_0x150bb2){let _0x19be27=!0x1;const {removed:_0x3ea57c,inserted:_0x41620f,moved:_0x5b8616}=this['_footnoteRefsTracker']['getChanges'](_0x150bb2);for(const _0x35d85a of _0x3ea57c)this['_handleRemoveFootnoteReferenceById'](_0x2dbb7f,_0x35d85a)&&(_0x19be27=!0x0);for(const _0x297c57 of _0x41620f)this['_handleInsertedFootnoteReference'](_0x2dbb7f,_0x297c57)&&(_0x19be27=!0x0);for(const _0x440b9e of _0x5b8616)this['_handleMovedFootnoteReference'](_0x2dbb7f,_0x440b9e)&&(_0x19be27=!0x0);return _0x19be27;}['_handleFootnotesDefinitionsObjectSync'](_0x33e79b){if(!this['_footnotesDefinitions'])return!0x1;let _0x520e41=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x592b94=[];for(const _0x32735a of this['_footnotesDefinitions']['getChildren']()){const _0x408bbe=_0x32735a['getAttribute']('footnoteId');this['getFootnote'](_0x408bbe)||(_0x592b94['unshift'](_0x32735a),_0x520e41=!0x0);}for(const _0x5ce8e5 of _0x592b94)_0x33e79b['remove'](_0x5ce8e5);}const _0x46f197=new Set(),_0x444450=[];for(const _0x61ab24 of this['_footnotesDefinitions']['getChildren']()){const _0x60d4e6=_0x61ab24['getAttribute']('footnoteId');_0x46f197['has'](_0x60d4e6)?(_0x444450['unshift'](_0x61ab24),_0x520e41=!0x0):_0x46f197['add'](_0x60d4e6);}for(const _0x2c932e of _0x444450)_0x33e79b['remove'](_0x2c932e);return this['_footnotesDefinitions']['childCount']||(_0x33e79b['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x520e41=!0x0),_0x520e41;}['_handleInsertedFootnoteReference'](_0x5341b0,_0x2a0eba){if(this['_footnotes']['find'](_0x13099d=>_0x13099d['reference']===_0x2a0eba))return!0x1;let _0x98e1dd=!0x1;const _0x4bd8d8=_0x2a0eba['getAttribute']('footnoteId'),_0x11aa4c=this['_footnotes']['findIndex'](_0x5ce5c0=>_0x5ce5c0['id']===_0x4bd8d8);-0x1!==_0x11aa4c&&(_0x5341b0['remove'](this['_footnotes'][_0x11aa4c]['reference']),this['_footnotes']['splice'](_0x11aa4c,0x1),_0x98e1dd=!0x0);let _0xacfa68=this['_footnotesDefinitions']?function(_0x27e2d8,_0x453532){for(const _0x3d2f62 of _0x27e2d8['getChildren']())if(_0x3d2f62['getAttribute']('footnoteId')===_0x453532)return _0x3d2f62;return null;}(this['_footnotesDefinitions'],_0x4bd8d8):null;_0xacfa68||(_0xacfa68=_0x5341b0['createElement']('footnoteDefinition',{'footnoteId':_0x4bd8d8}),this['_footnotesDefinitions']&&(_0x5341b0['insert'](_0xacfa68,this['_footnotesDefinitions'],'end'),_0x98e1dd=!0x0));const _0x667025={'id':_0x4bd8d8,'reference':_0x2a0eba,'definition':_0xacfa68},_0x1ccf4e=T(this['editor']['model'],this['_footnotes'],_0x2a0eba);this['_footnotes']['splice'](_0x1ccf4e,0x0,_0x667025);let _0x495feb=_0x1ccf4e;return-0x1!==_0x11aa4c&&(_0x495feb=Math['min'](_0x1ccf4e,_0x11aa4c)),this['_updateFootnotesCounters'](_0x5341b0,_0x495feb)&&(_0x98e1dd=!0x0),_0x98e1dd;}['_handleRemoveFootnoteReferenceById'](_0x1248fc,_0x2708ed){const _0x323ed6=this['_footnotes']['findIndex'](_0x2ef83a=>_0x2ef83a['id']===_0x2708ed);if(-0x1===_0x323ed6)return!0x1;let _0x28d829=!0x1;const _0xfb0d94=this['_footnotes'][_0x323ed6];return'$graveyard'!==_0xfb0d94['definition']['root']['rootName']&&(_0x1248fc['remove'](_0xfb0d94['definition']),_0x28d829=!0x0),this['_footnotes']['splice'](_0x323ed6,0x1),this['_updateFootnotesCounters'](_0x1248fc,_0x323ed6)&&(_0x28d829=!0x0),_0x28d829;}['_handleMovedFootnoteReference'](_0x37e12f,_0x26cafd){const _0x4b1b95=_0x26cafd['getAttribute']('footnoteId'),_0x153302=this['_footnotes']['findIndex'](_0xd94227=>_0xd94227['id']===_0x4b1b95),_0x4a64fe=this['_footnotes'][_0x153302];let _0x4d3181=!0x1;_0x4a64fe['reference']=_0x26cafd,this['_footnotes']['splice'](_0x153302,0x1);const _0x356b9d=T(this['editor']['model'],this['_footnotes'],_0x26cafd);return this['_footnotes']['splice'](_0x356b9d,0x0,_0x4a64fe),this['_updateFootnotesCounters'](_0x37e12f,Math['min'](_0x153302,_0x356b9d))&&(_0x4d3181=!0x0),_0x4d3181;}['_updateFootnoteRefCounter'](_0x19fbd3,_0x3bccc6){if(!this['_footnotesDefinitions'])return!0x1;const _0x8d4963=this['_footnotes'][_0x3bccc6];let _0x3c8d7a;return _0x3c8d7a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x8d4963,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3bccc6+0x1}):String(_0x3bccc6+0x1),_0x8d4963['reference']['getAttribute']('footnoteCounter')!=_0x3c8d7a&&(_0x19fbd3['setAttribute']('footnoteCounter',_0x3c8d7a,_0x8d4963['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4a9fc1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2fdf3d,_0xec82b6){if(_0x2fdf3d['length']!==_0xec82b6['length'])return!0x1;for(let _0x3abe85=0x0;_0x3abe85<_0x2fdf3d['length'];_0x3abe85++)if(_0x2fdf3d[_0x3abe85]!==_0xec82b6[_0x3abe85])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5df2ef=>_0x5df2ef['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5532ff=>_0x5532ff['getAttribute']('footnoteId'))))return!0x1;let _0x56e908=!0x1;for(let _0x50d559=0x0;_0x50d559<this['_footnotes']['length'];_0x50d559++){const _0x173ceb=this['_footnotes'][_0x50d559],_0x294973=_0x4a9fc1['createPositionBefore'](_0x173ceb['definition']),_0x56d077=_0x4a9fc1['createPositionAt'](this['_footnotesDefinitions'],_0x50d559);_0x294973['isEqual'](_0x56d077)||(_0x4a9fc1['move'](_0x4a9fc1['createRangeOn'](_0x173ceb['definition']),_0x56d077),_0x56e908=!0x0);}return _0x56e908;}['_ensureFootnotesReferencesHaveProperOrder'](_0x50ebd1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x383326}=this['editor'];let _0xe05635=!0x1;for(let _0xc64e64=0x0;_0xc64e64<this['_footnotes']['length']-0x1;_0xc64e64++){const _0x36a073=this['_footnotes'][_0xc64e64],_0x5e147b=this['_footnotes'][_0xc64e64+0x1],_0x5a69ea=_0x383326['createPositionBefore'](_0x36a073['reference']),_0x1bb0a2=_0x383326['createPositionBefore'](_0x5e147b['reference']);'after'===_0x5a69ea['compareWith'](_0x1bb0a2)&&(this['_handleMovedFootnoteReference'](_0x50ebd1,_0x36a073['reference']),_0xc64e64=-0x1,_0xe05635=!0x0);}return _0xe05635;}};function K(_0x473e83,_0x3caf6e,_0x5bf2a7){if(_0x5bf2a7['childCount'])return!0x1;const _0x2fb858=_0x3caf6e?'paragraph':'footnoteInlineContent';return _0x473e83['insert'](_0x473e83['createElement'](_0x2fb858),_0x5bf2a7),!0x0;}function T(_0x481a20,_0x499561,_0xcbc181){if(0x0===_0x499561['length'])return 0x0;const _0x3ef005=_0x481a20['createPositionBefore'](_0xcbc181);for(let _0x38e594=0x0;_0x38e594<_0x499561['length'];_0x38e594++){const _0x3c05fb=_0x499561[_0x38e594],_0x304330=_0x481a20['createPositionBefore'](_0x3c05fb['reference']);if('before'===_0x3ef005['compareWith'](_0x304330))return _0x38e594;}const _0x41621d=_0xcbc181['root'];let _0x467a7a=-0x1;for(let _0x59d043=_0x499561['length']-0x1;_0x59d043>=0x0;_0x59d043--)if(_0x499561[_0x59d043]['reference']['root']===_0x41621d){_0x467a7a=_0x59d043;break;}if(-0x1!==_0x467a7a)return _0x467a7a+0x1;const _0x2ae90a=_0x481a20['document']['getRootNames'](),_0x37ce41=_0x2ae90a[_0x2ae90a['indexOf'](_0x41621d['rootName'])+0x1];if(_0x37ce41){for(let _0x30d4c1=0x0;_0x30d4c1<_0x499561['length'];_0x30d4c1++)if(_0x499561[_0x30d4c1]['reference']['root']['rootName']===_0x37ce41)return _0x30d4c1;}return _0x499561['length'];}var j=class extends _0x3904c5{['refresh'](){const _0x31d487=this['editor']['model']['document']['selection'],_0x13e63c=this['_getPositionToInsertFootnote'](_0x31d487);this['isEnabled']=!!_0x13e63c;}['execute'](_0x43e973){const {editor:_0x291874}=this,{model:_0x35c9b8}=_0x291874,{selection:_0x46191b}=_0x35c9b8['document'],_0x2113a6=this['_getPositionToInsertFootnote'](_0x46191b);if(!_0x2113a6)return;const _0xd1e33b=_0x291874['plugins']['get']('FootnotesEditing'),_0x54abba=_0x43e973?.['footnoteId']??_0x44b89c();!function(_0x169a17){return'string'==typeof _0x169a17&&_0x169a17['length']>0x0&&!/\s/['test'](_0x169a17)&&!/^\d/['test'](_0x169a17);}(_0x54abba)?_0x22c551('insert-footnote-command-executed-with-invalid-id'):(_0x35c9b8['change'](_0x28812b=>{const _0x5a5d82=_0x28812b['createElement']('footnoteRef',{'footnoteId':_0x54abba});_0x35c9b8['insertObject'](_0x5a5d82,_0x2113a6,null);}),_0xd1e33b['_moveSelectionToFootnoteDefinition'](_0x54abba));}['_getPositionToInsertFootnote'](_0x204f15){const {model:_0x2685c9}=this['editor'],{schema:_0xc07090}=_0x2685c9,_0x37e241=_0x204f15['getFirstRange']();for(const _0x4e0db5 of _0x37e241['getItems']())if(_0xc07090['isBlock'](_0x4e0db5)||_0xc07090['isObject'](_0x4e0db5))return null;const _0x4b5a90=_0x37e241['end'];return _0xc07090['checkChild'](_0x4b5a90,'footnoteRef')?_0x4b5a90:null;}},U=class extends _0x430bd6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24c360}=this;_0x24c360['config']['define']('footnotes.multiBlock',!0x0),_0x24c360['commands']['add']('insertFootnote',new j(_0x24c360)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2a3f31){const _0x4bf779='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0xd408d4=0x78fc0,_0x345607=window['Date']['now'](),_0x302b4f=_0x2a3f31['editor'],_0x53ab2c=new window['Promise'](_0x18cd9b=>{_0x302b4f['once']('ready',_0x18cd9b);}),_0x578a24={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x9fd600=_0x302b4f['config']['get']('licenseKey');async function _0x5fb1d6(){let _0x4a4bfa,_0x541cbd=null,_0xe76a96=null;try{return'GPL'==_0x9fd600?'NotAllowed':(_0x4a4bfa=_0x2d1b7(),_0x4a4bfa?(_0x4a4bfa['usageEndpoint']&&(_0xe76a96=_0x2c1687(_0x4a4bfa['usageEndpoint'],_0x4a4bfa['jti'])),await _0x1b6682()?_0x24b840()?_0xd2d49f()?'Expired':_0x34e10d()?('evaluation'==_0x4a4bfa['licenseType']&&(_0x541cbd=_0xb17ae6('EvaluationLimit')),await _0x1ed66e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xd2d49f(){const _0x4223ed=['evaluation','trial']['includes'](_0x4a4bfa['licenseType'])?_0x345607/0x3e8:0xe10*_0xd408d4;return _0x4a4bfa['exp']<_0x4223ed;}function _0x24b840(){const _0x118b4e=_0x4a4bfa['features'];return!!_0x118b4e&&(!!_0x118b4e['includes']('*')||!!_0x118b4e['includes']('FOO'));}function _0x34e10d(){const _0x2f903f=_0x4a4bfa['licensedHosts'];if(!_0x2f903f||0x0==_0x2f903f['length'])return!0x0;const {hostname:_0x367a30}=new URL(window['location']['href']);if(_0x2f903f['includes'](_0x367a30))return!0x0;const _0x39fc5f=_0x367a30['split']('.');return _0x2f903f['filter'](_0x244411=>_0x244411['includes']('*'))['map'](_0x295c43=>_0x295c43['split']('.'))['filter'](_0x2ddccc=>_0x2ddccc['length']<=_0x39fc5f['length'])['map'](_0x3b7ac2=>Array(_0x39fc5f['length']-_0x3b7ac2['length'])['fill']('*'===_0x3b7ac2[0x0]?'*':'')['concat'](_0x3b7ac2))['some'](_0x11efd7=>_0x39fc5f['every']((_0x2f8c7b,_0x22b7c3)=>_0x11efd7[_0x22b7c3]===_0x2f8c7b||'*'===_0x11efd7[_0x22b7c3]));}function _0x1ed66e(){return _0x541cbd&&_0xe76a96?new window['Promise']((_0x27435c,_0x16efb8)=>{_0x541cbd['then'](_0x27435c,_0x16efb8),_0xe76a96['then'](_0x3cbee1=>{'Valid'!=_0x3cbee1&&_0x27435c(_0x3cbee1);},_0x16efb8);}):_0x541cbd||_0xe76a96||'Valid';}}function _0x2c1687(_0x2977bd,_0x5c19b0){return new window['Promise'](_0x50e163=>{if(_0x4cac1d())return _0x50e163('Valid');_0x8de274(),_0x302b4f['decorate']('_sendUsageRequest');let _0x4c2ef0=!0x1;const _0x34378c=_0x44b89c();function _0x46b60b(_0x4ccd7e){return!!_0x4ccd7e&&('object'==typeof _0x4ccd7e||'function'==typeof _0x4ccd7e)&&'function'==typeof _0x4ccd7e['then']&&'function'==typeof _0x4ccd7e['catch'];}function _0x399818(_0x4fdd78){_0x20be9b(_0x4fdd78)['then'](_0x5f348e=>_0x5f348e&&'ok'==_0x5f348e['status']?_0x450d8b(_0x35cb51(_0x34378c+_0x5c19b0))!=_0x5f348e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x55f9e4=>(_0x53ce02(),_0x55f9e4),()=>{const _0x1ab1a1=_0x307420();return null==_0x1ab1a1?(_0x53ce02(),'Valid'):_0x345607-_0x1ab1a1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x50e163)['catch'](()=>{_0x50e163('UsageLimit');});const _0x3ab1f4=0x36ee80;function _0x53ce02(){const _0x3267ef='llct-'+_0x450d8b(_0x35cb51(_0x2977bd)),_0x2af0b1=_0xea18c7(_0x450d8b(window['Math']['ceil'](_0x345607/_0x3ab1f4)));window['localStorage']['setItem'](_0x3267ef,_0x2af0b1);}function _0x307420(){const _0x1ce443='llct-'+_0x450d8b(_0x35cb51(_0x2977bd)),_0x6f2fe8=window['localStorage']['getItem'](_0x1ce443);return _0x6f2fe8?window['parseInt'](_0xea18c7(_0x6f2fe8),0x10)*_0x3ab1f4:null;}function _0x20be9b(_0x2c172c){return new window['Promise']((_0x2ebe97,_0x392b59)=>{_0x2c172c['then'](_0x2ebe97,_0x392b59),window['setTimeout'](_0x392b59,0x1d4c0);});}}_0x302b4f['on']('_sendUsageRequest',(_0x3dceca,_0x3e30e0)=>{if(_0x3e30e0[0x0]!=_0x2977bd)return _0x50e163('UsageLimit');_0x3e30e0[0x1]={..._0x3e30e0[0x1],'requestId':_0x34378c};},{'priority':'high'}),_0x302b4f['on']('_sendUsageRequest',_0x8050ba=>{_0x46b60b(_0x8050ba['return'])&&(_0x4c2ef0=!0x0,_0x399818(_0x8050ba['return']));},{'priority':'low'}),_0x53ab2c['then'](()=>{_0x4c2ef0||_0x50e163('UsageLimit');});});function _0x4cac1d(){return'auto'==_0x302b4f['editing']['view']['_overlayModeHint'];}function _0x8de274(){_0x302b4f['editing']['view']['_overlayModeHint']='auto';}}function _0xb17ae6(_0x4dac5d){const _0x2cea92=[new window['Promise'](_0x4ec965=>setTimeout(_0x4ec965,0x93ecc)),_0x53ab2c['then'](()=>new window['Promise'](_0x16adf9=>{let _0x5947ac=0x0;_0x302b4f['model']['on']('applyOperation',(_0x5cea94,_0x28eb40)=>{_0x28eb40[0x0]['isDocumentOperation']&&_0x5947ac++,0x5e8==_0x5947ac&&(_0x16adf9(),_0x5cea94['off']());});}))];return window['Promise']['race'](_0x2cea92)['then'](()=>_0x4dac5d);}async function _0x393b47(){await _0x53ab2c,_0x302b4f['model']['change']=_0xe5714d,_0x302b4f['model']['enqueueChange']=_0xe5714d,_0x302b4f['enableReadOnlyMode']('model');}function _0x2162dc(_0x4e86dc){const _0x446368=_0x4ff77d();_0x302b4f[_0x446368]='footnotesLicenseKey'+_0x4e86dc,'Valid'!=_0x4e86dc&&_0x393b47();}function _0x4ff77d(){const _0x2cb239=window['String'](window['performance']['now']())['replace']('.','');let _0x5abdc9='u';for(let _0x4b1cda=0x0;_0x4b1cda<_0x2cb239['length'];_0x4b1cda+=0x2){let _0x55838a=window['parseInt'](_0x2cb239['substring'](_0x4b1cda,_0x4b1cda+0x2));_0x55838a>=0x3e&&(_0x55838a-=0x3e),_0x5abdc9+=_0x4bf779[_0x55838a];}return _0x5abdc9;}function _0x2d1b7(){const _0x3c329d=_0x9fd600['split']('.');if(0x3!=_0x3c329d['length'])return null;return _0xdcbffe(_0x3c329d[0x1]);function _0xdcbffe(_0x4157c3){const _0x4c7f3f=_0x5cead4(_0x4157c3);return _0x4c7f3f&&_0x1a8cc4()?_0x4c7f3f:null;function _0x1a8cc4(){const _0x2cb5dc=_0x4c7f3f['jti'],_0xb9aa4b=window['parseInt'](_0x2cb5dc['substring'](_0x2cb5dc['length']-0x8),0x10),_0x3d8bef={..._0x4c7f3f,'jti':_0x2cb5dc['substring'](0x0,_0x2cb5dc['length']-0x8)};return delete _0x3d8bef['vc'],_0x35cb51(_0x3d8bef)==_0xb9aa4b;}}}async function _0x1b6682(){let _0x958a25=!0x0;try{const [_0x2cc4f1,_0x3093e0,_0x4f49c0]=_0x9fd600['split']('.');return _0x984233(_0x2cc4f1),await _0x3f81e9(_0x2cc4f1,_0x3093e0,_0x4f49c0),_0x958a25;}catch{return!0x1;}function _0x984233(_0x34b89a){const _0x4d967a=_0x5cead4(_0x34b89a);_0x4d967a&&'ES256'==_0x4d967a['alg']||(_0x958a25=!0x1);}async function _0x3f81e9(_0x4fd46d,_0x4beb9e,_0x19fc7e){const _0x5804b6=window['Uint8Array']['from'](_0x3ba3f(_0x19fc7e),_0x4e4180=>_0x4e4180['charCodeAt'](0x0)),_0x9b50e7=new window['TextEncoder']()['encode'](_0x4fd46d+'.'+_0x4beb9e),_0x3694fb=window['crypto']['subtle'];if(!_0x3694fb)return;const _0x55a101=await _0x3694fb['importKey']('jwk',_0x578a24,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3694fb['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x55a101,_0x5804b6,_0x9b50e7)||(_0x958a25=!0x1);}}function _0x5cead4(_0x2fd3e7){return _0x2fd3e7['startsWith']('ey')?JSON['parse'](_0x3ba3f(_0x2fd3e7)):null;}function _0x3ba3f(_0x5096b9){return window['atob'](_0x5096b9['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x35cb51(_0x4df537){let _0x8ea798=0x1505;function _0x52b59a(_0x14c28f){for(let _0xdb1a7d=0x0;_0xdb1a7d<_0x14c28f['length'];_0xdb1a7d++){const _0x5a3eec=_0x14c28f['charCodeAt'](_0xdb1a7d);_0x8ea798=(_0x8ea798<<0x5)+_0x8ea798+_0x5a3eec,_0x8ea798&=_0x8ea798;}}function _0x112c98(_0x27bb3e){Array['isArray'](_0x27bb3e)?_0x27bb3e['forEach'](_0x112c98):_0x27bb3e&&'object'==typeof _0x27bb3e?Object['entries'](_0x27bb3e)['sort']()['forEach'](([_0x42aeb1,_0x2f35b3])=>{_0x52b59a(_0x42aeb1),_0x112c98(_0x2f35b3);}):_0x52b59a(window['String'](_0x27bb3e));}return _0x112c98(_0x4df537),_0x8ea798>>>0x0;}function _0x450d8b(_0x15c8d2){return _0x15c8d2['toString'](0x10)['padStart'](0x8,'0');}function _0xea18c7(_0x5e6ca8){return _0x5e6ca8['split']('')['reverse']()['join']('');}function _0xe5714d(){}_0x2162dc(await _0x5fb1d6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3ba263){const {plugins:_0x1ce81f,editing:_0x56724a,model:_0x1ab906}=this['editor'],_0x290537=_0x1ce81f['get'](V)['getFootnote'](_0x3ba263);return!!_0x290537&&(_0x1ab906['change'](_0x4362b=>{_0x4362b['setSelection'](_0x4362b['createPositionAt'](_0x290537['definition'],'end'));}),_0x56724a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x55d2f2){const {plugins:_0x19a9d4,editing:_0x18e56b,model:_0xe9869a}=this['editor'],_0xdc9d3c=_0x19a9d4['get'](V)['getFootnote'](_0x55d2f2);return!!_0xdc9d3c&&(_0xe9869a['change'](_0x103bfc=>{_0x103bfc['setSelection'](_0xdc9d3c['reference'],'on');}),_0x18e56b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x45ce9a}=this['editor']['model'],_0x438780=this['editor']['config']['get']('footnotes.multiBlock');_0x45ce9a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x45ce9a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x45ce9a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x438780?_0x45ce9a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x45ce9a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x45ce9a['addChildCheck'](_0x53cd2c=>{for(const _0x49e3d2 of _0x53cd2c)if('footnoteDefinition'===_0x49e3d2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x17cdd5}=this,{conversion:_0x25c03e,editing:_0x38646f}=_0x17cdd5,{t:t}=_0x17cdd5['locale'];_0x25c03e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x297208,{writer:_0x36aabf,consumable:_0x553ee8})=>{const _0x54e9a2=_0x297208['getChild'](0x0);if(!_0x54e9a2||!_0x54e9a2['is']('element','a'))return null;const _0x5b4f41=_0x54e9a2['getAttribute']('href')||'';if(!_0x5b4f41['startsWith']('#'))return null;const _0xa70e53=_0x5b4f41['replace'](/^#/,'');if(!_0xa70e53)return null;_0x553ee8['consume'](_0x54e9a2,{'name':!0x0,'attributes':['href']});for(const {item:_0x47f05f}of _0x38646f['view']['createRangeIn'](_0x54e9a2))_0x47f05f['is']('$textProxy')?_0x553ee8['consume'](_0x47f05f['textNode'],{'name':!0x0}):_0x47f05f['is']('element')&&_0x553ee8['consume'](_0x47f05f,{'name':!0x0});return _0x36aabf['createElement']('footnoteRef',{'footnoteId':_0xa70e53});}}),_0x25c03e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9d4cbd,{writer:_0x1e60f7})=>X(_0x9d4cbd,_0x1e60f7)}),_0x25c03e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3f3de9,{writer:_0x3204c9})=>{const _0x56941e=_0x3f3de9['getAttribute']('footnoteCounter');return _0x4a0b38(X(_0x3f3de9,_0x3204c9),_0x3204c9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x56941e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x277b67}=this,{t:t}=_0x277b67['locale'],{conversion:_0x2f5e37}=_0x277b67;_0x2f5e37['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2f5e37['for']('upcast')['add'](_0x440983=>{_0x440983['on']('element:ol',(_0xf6415f,_0x186613,_0xa259f3)=>{const _0x6f014=_0x186613['viewItem'];if(!_0x6f014['hasClass']('footnotes-list')||!_0x186613['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xa259f3['consumable']['consume'](_0x6f014,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5edd39,modelCursor:_0x17e362}=_0xa259f3['convertChildren'](_0x186613['viewItem'],_0x186613['modelCursor']);_0x186613['modelRange']=_0x5edd39,_0x186613['modelCursor']=_0x17e362;}),_0x440983['on']('element:hr',(_0x31353b,_0x492b33,_0x40bad6)=>{const _0x2ff8d3=_0x492b33['viewItem'];_0x2ff8d3['hasClass']('footnotes-divider')&&_0x492b33['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x40bad6['consumable']['consume'](_0x2ff8d3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2f5e37['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x182b62,{writer:_0x1017f5})=>H(_0x1017f5)}),_0x2f5e37['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5502e1,{writer:_0x1971f9})=>{const _0x2cc717=_0x4a0b38(H(_0x1971f9,{'data-footnotes-list-label':t('Footnotes')}),_0x1971f9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1971f9['setCustomProperty']('footnotesDefinitions',!0x0,_0x2cc717),_0x2cc717;}});}['_defineDefinitionConverters'](){const {editor:_0x4d4a69}=this,{conversion:_0x11b698,locale:_0xb8e282}=_0x4d4a69,_0x5b6cf6=_0x4d4a69['config']['get']('footnotes.multiBlock');_0x11b698['for']('upcast')['add'](_0x358b02=>{_0x358b02['on']('element:li',(_0x2233bd,_0x23f65d,_0x56286f)=>{const _0x1bc4a6=_0x23f65d['viewItem'];if(!_0x1bc4a6['hasClass']('footnote-definition')||!_0x1bc4a6['getAttribute']('id'))return;const _0x56dc26=_0x1bc4a6['parent'];if(!_0x56dc26['is']('element','ol')||!_0x56dc26['hasClass']('footnotes-list'))return;if(!_0x56286f['consumable']['test'](_0x1bc4a6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x51a734=_0x56286f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1bc4a6['getAttribute']('id')});if(!_0x56286f['safeInsert'](_0x51a734,_0x23f65d['modelCursor']))return;_0x56286f['consumable']['consume'](_0x1bc4a6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1a91a4=Array['from'](_0x1bc4a6['getChildren']())['find'](_0x44fd8d=>_0x44fd8d['is']('element')&&_0x44fd8d['hasClass']('footnote-content'));for(const _0x3e2c7e of _0x1bc4a6['getChildren']())_0x3e2c7e['is']('element')&&(_0x56286f['consumable']['consume'](_0x3e2c7e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x56286f['consumable']['consume'](_0x3e2c7e,{'name':!0x0,'classes':'footnote-content'}));if(_0x1a91a4){if(_0x5b6cf6)_0x56286f['convertChildren'](_0x1a91a4,_0x51a734);else{const _0x2a35ed=_0x56286f['writer']['createElement']('footnoteInlineContent');_0x56286f['writer']['insert'](_0x2a35ed,_0x51a734),_0x56286f['convertChildren'](_0x1a91a4,_0x2a35ed);}}_0x56286f['updateConversionResult'](_0x51a734,_0x23f65d);});}),_0x11b698['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x272877,{writer:_0x1848b7})=>z(_0x272877,_0x1848b7,_0xb8e282,{'dataPipeline':!0x0})}),_0x11b698['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x296e73,{writer:_0x548bb0})=>z(_0x296e73,_0x548bb0,_0xb8e282)});}['_defineBogusParagraphConverters'](){const {editor:_0x168bf4}=this,{conversion:_0x4a4cd3}=_0x168bf4;_0x168bf4['config']['get']('footnotes.multiBlock')?(_0x4a4cd3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x4a4cd3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x168bf4['model']['document'],'change:data',()=>{!function(_0x283a13,_0x1f0ab2){const _0xec352f=_0x283a13['document']['differ'],_0x13d923=new Set();for(const _0x196811 of _0xec352f['getChanges']()){const _0x2149b3='attribute'==_0x196811['type']?_0x196811['range']['start']['parent']:_0x196811['position']['parent'];_0x2149b3['is']('element','footnoteDefinition')&&_0x13d923['add'](_0x2149b3);}for(const _0x1ef6e6 of _0x13d923['values']()){const _0x4f574b=Array['from'](_0x1ef6e6['getChildren']())['filter'](_0x346a11=>B(_0x346a11,_0x1f0ab2['mapper']));for(const _0x18435c of _0x4f574b)_0x1f0ab2['reconvertItem'](_0x18435c);}}(_0x168bf4['model'],_0x168bf4['editing']);})):(_0x4a4cd3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x4a4cd3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2c779c,{writer:_0x4f5fde})=>{const _0x4e3df6=_0x4f5fde['createContainerElement']('span');return _0x4f5fde['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4e3df6),_0x4e3df6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4cf251}=this,{editing:_0x591c03,t:t}=_0x4cf251,_0x4c1338=_0x4cf251['model']['document']['selection'];_0x4cf251['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4cf251['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x591c03['view']['document'],'enter',(_0x4fa967,_0x3aebff)=>{const _0x93ef5b=function(_0x5bb32){const _0x15a51d=_0x5bb32['getSelectedElement']();return _0x15a51d?.['is']('element','footnoteRef')?_0x15a51d:null;}(_0x4c1338);if(_0x93ef5b){const _0x21c9da=_0x93ef5b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x21c9da),_0x3aebff['preventDefault'](),_0x4fa967['stop']();}},{'context':_0x5778a2});}['_defineClickHandlers'](){const {editor:_0x5e61c3}=this,{editing:_0x427e57}=_0x5e61c3;_0x5e61c3['editing']['view']['addObserver'](_0x1ca26c),_0x5e61c3['editing']['view']['addObserver'](_0x13a465);let _0x2b50eb=!0x1;this['listenTo'](_0x427e57['view']['document'],'pointerdown',(_0x16ec77,_0x478028)=>{const {target:_0x1f8ef7}=_0x478028,_0x10f72e=_0x427e57['view']['document']['selection'];_0x2b50eb=!!(_0x1f8ef7?.['is']('element','a')&&_0x1f8ef7['parent']?.['is']('element','sup')&&_0x1f8ef7['parent']['hasClass']('footnote'))&&_0x10f72e['getSelectedElement']()===_0x1f8ef7['parent'];},{'priority':'high'}),this['listenTo'](_0x427e57['view']['document'],'click',(_0x92392,_0x3f52fe)=>{const {target:_0x3e7e9c}=_0x3f52fe;if(!_0x3e7e9c?.['is']('element','a'))return;if(_0x3e7e9c['parent']?.['is']('element','sup')&&_0x3e7e9c['parent']['hasClass']('footnote')&&!_0x2b50eb)return void _0x3f52fe['preventDefault']();let _0x3eed89=_0x3e7e9c['getAttribute']('href');if(!_0x3eed89?.['startsWith']('#'))return;_0x3eed89=_0x3eed89['slice'](0x1);let _0x54e69e=!0x1;(_0x3eed89['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3eed89['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3eed89))&&(_0x54e69e=!0x0),_0x54e69e&&(_0x3f52fe['preventDefault'](),_0x92392['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x47a479}={}){return(_0x5c24a6,{writer:_0x41d965})=>{if(!M(_0x5c24a6))return null;if(!_0x47a479)return _0x41d965['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c6555=_0x41d965['createContainerElement']('p');return _0x41d965['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c6555),_0x4c6555;};}function M(_0x2257ac){const {parent:_0x541ead}=_0x2257ac;if(!_0x541ead?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x541ead['childCount'])return!0x1;for(const _0x1b7332 of _0x2257ac['getAttributeKeys']())if(!_0x1b7332['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1b7332)return!0x1;return!0x0;}function B(_0x5d4e20,_0x4d0df0){if(!_0x5d4e20['is']('element','paragraph'))return!0x1;const _0x5dfa19=_0x4d0df0['toViewElement'](_0x5d4e20);return!!_0x5dfa19&&M(_0x5d4e20)!==_0x5dfa19['is']('element','span');}function q(_0x3905a1){return _0x5778a2(_0x3905a1)&&_0x3905a1['is']('containerElement')&&!!_0x3905a1['getCustomProperty']('footnotesDefinitions');}function H(_0x1a030e,_0x5b7061={}){const _0x465881=_0x1a030e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x42a3ba=_0x1a030e['createContainerElement']('ol',{'class':'footnotes-list'},_0x1a030e['createSlot']());return _0x1a030e['createContainerElement']('div',{'class':'footnotes',..._0x5b7061},[_0x465881,_0x42a3ba]);}function X(_0x54749b,_0x3dddcb){const _0x2e51e7=_0x54749b['getAttribute']('footnoteId'),_0x47fe59=_0x54749b['getAttribute']('footnoteCounter'),_0x56715f=_0x3dddcb['createUIElement']('a',{'href':'#'+_0x2e51e7},function(_0x426a73){const _0x139f8e=this['toDomElement'](_0x426a73);return _0x139f8e['textContent']=_0x47fe59,_0x139f8e;}),_0x42c820=_0x3dddcb['createContainerElement']('sup',{'id':'ref-'+_0x2e51e7,'class':'footnote'},[_0x56715f]);return _0x42c820['getFillerOffset']=()=>null,_0x42c820;}function z(_0x5a4a8c,_0x22a890,_0x6b8b0d,{dataPipeline:_0x4329f7}={}){const {t:t}=_0x6b8b0d,_0x539316=_0x5a4a8c['getAttribute']('footnoteId'),_0x261a93=_0x22a890['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x539316},function(_0x4f369e){const _0x2c24c3=this['toDomElement'](_0x4f369e);return _0x2c24c3['innerText']='^',_0x2c24c3;}),_0x443168=_0x4329f7?_0x22a890['createContainerElement']('div',{'class':'footnote-content'}):_0xeadc9(_0x22a890['createEditableElement']('div',{'class':'footnote-content'}),_0x22a890,{'label':t('Footnote\x20content.')});return _0x22a890['insert'](_0x22a890['createPositionAt'](_0x443168,0x0),_0x22a890['createSlot']()),_0x22a890['createContainerElement']('li',{'class':'footnote-definition','id':_0x539316},[_0x261a93,_0x443168]);}var J=class extends _0x430bd6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x1b520b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x456ec3}=this,{plugins:_0x3c5330,model:_0x40689c}=_0x456ec3,_0x4894c5=_0x3c5330['get'](_0x1b520b),_0x22d075=_0x3c5330['get'](V);this['listenTo'](_0x4894c5,'outputTransformation',(_0x53bec1,_0x3148f7)=>{const _0x535a1d=G(_0x40689c['createRangeIn'](_0x3148f7['content']));if(!_0x535a1d['length'])return;const _0x34a4cc=_0x22d075['getFootnotes'](),_0x1c86b5=_0x535a1d['reduce']((_0x399ed7,_0x4b863a)=>{const _0x56583a=_0x34a4cc['find'](_0xc7855c=>_0xc7855c['id']===_0x4b863a);if(_0x56583a){const _0x354783=_0x456ec3['data']['toView'](_0x56583a['definition'],{'isClipboardPipeline':!0x0}),_0x4e1211=_0x456ec3['data']['htmlProcessor']['toData'](_0x354783);_0x399ed7[_0x56583a['id']]=_0x4e1211;}return _0x399ed7;},Object['create'](null));_0x3148f7['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1c86b5));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xa69585}=this,{model:_0x30b95d,plugins:_0x4aefc2}=_0xa69585,{view:_0x1fa1ac}=_0xa69585['editing'],_0x1e5553=_0x4aefc2['get'](_0x1b520b),_0x2e6dc4=_0x4aefc2['get'](V),_0x520d71=_0xa69585['config']['get']('footnotes.multiBlock');let _0x330686=null;this['listenTo'](_0x1fa1ac['document'],'clipboardInput',(_0x5cbca4,_0x417c32)=>{const _0x1c05cb=_0x417c32['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x330686=_0x1c05cb?JSON['parse'](_0x1c05cb):null;}),this['listenTo'](_0x1e5553,'contentInsertion',(_0x14c1eb,_0x2aa6be)=>{const _0x28cf60=_0x2aa6be['sourceEditorId']===this['editor']['id'];_0x28cf60&&'drop'===_0x2aa6be['method']||_0x30b95d['change'](_0x4b72ce=>{let _0x2add92=_0x2e6dc4['getFootnotesDefinitionsObjectElement']();const _0x3e85be=!!_0x2add92&&Array['from'](_0x30b95d['document']['selection']['getSelectedBlocks']())['includes'](_0x2add92);if(!_0x330686&&function(_0xbf2879){for(const {item:_0x4a5cdf}of _0xbf2879)if(_0x4a5cdf['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x30b95d['createRangeIn'](_0x2aa6be['content']))&&(_0x330686=function(_0x4cf51f,_0x4cdaff){const _0x30ad49=Q(_0x4cf51f,_0x4cdaff);if(!_0x30ad49)return null;const _0xae360d=Object['create'](null);for(const _0x16b05c of _0x30ad49['getChildren']())_0x16b05c['is']('element','footnoteDefinition')&&_0x16b05c['hasAttribute']('footnoteId')&&(_0xae360d[_0x16b05c['getAttribute']('footnoteId')]=_0x4cf51f['cloneElement'](_0x16b05c,!0x0));return Object['keys'](_0xae360d)['length']?_0xae360d:null;}(_0x4b72ce,_0x2aa6be['content'])),(_0x2add92&&!_0x3e85be||!_0x2add92&&!_0x330686)&&function(_0x279874,_0x9455be){const _0x551dea=[];for(const {item:_0x39d95f}of _0x279874['createRangeIn'](_0x9455be))_0x39d95f['is']('element','footnotesDefinitions')&&_0x551dea['push'](_0x39d95f);for(const _0x74bf69 of _0x551dea)_0x279874['remove'](_0x74bf69);}(_0x4b72ce,_0x2aa6be['content']),!_0x330686)return;const {selection:_0x58cba5}=_0x30b95d['document'],_0x21a563=_0x58cba5['getFirstRange']()['root'];_0x2add92&&!_0x3e85be||(_0x2add92=Q(_0x4b72ce,_0x2aa6be['content']),_0x2add92||=_0x2e6dc4['_insertEmptyFootnotesDefinitionsContainer'](_0x4b72ce,_0x21a563));const _0x2f8f35=Array['from'](_0x58cba5['getRanges']())['flatMap'](G),_0x5176d9=function(_0x4ae01e,_0x259f6a,_0x543869){const _0x2ebf0d=Object['create'](null);for(const {item:_0x3787a0}of _0x4ae01e['createRangeIn'](_0x259f6a))if(_0x3787a0['is']('element','footnoteRef')){const _0x11b879=_0x3787a0['getAttribute']('footnoteId');if(!_0x543869(_0x11b879))continue;_0x2ebf0d[_0x11b879]||(_0x2ebf0d[_0x11b879]=_0x44b89c()),_0x4ae01e['setAttribute']('footnoteId',_0x2ebf0d[_0x11b879],_0x3787a0);}return _0x2ebf0d;}(_0x4b72ce,_0x2aa6be['content'],_0xab6006=>!_0x28cf60||!!_0x2e6dc4['getFootnote'](_0xab6006)&&!_0x2f8f35['includes'](_0xab6006));for(const [_0x591cce,_0x218972]of Object['entries'](_0x330686)){const _0x345974=_0x5176d9[_0x591cce]||_0x591cce;let _0x488990;if('string'!=typeof _0x218972)_0x488990=_0x218972,_0x345974!==_0x591cce&&_0x4b72ce['setAttribute']('footnoteId',_0x345974,_0x488990);else{_0x488990=_0x4b72ce['createElement']('footnoteDefinition',{'footnoteId':_0x345974});const _0x491553=_0xa69585['data']['htmlProcessor']['toView'](_0x218972);let _0x5618bf;if(_0x520d71)_0x5618bf=_0xa69585['data']['toModel'](_0x491553,_0x488990);else{_0x5618bf=_0x4b72ce['createElement']('footnoteInlineContent');const _0x3f771e=_0xa69585['data']['toModel'](_0x491553,_0x5618bf);_0x4b72ce['insert'](_0x3f771e,_0x5618bf);}_0x4b72ce['append'](_0x5618bf,_0x488990);}_0x4b72ce['insert'](_0x488990,_0x2add92,'end');}_0x330686=null;});});}};function Q(_0x4dec6e,_0x528191){for(const {item:_0x5c2711}of _0x4dec6e['createRangeIn'](_0x528191))if(_0x5c2711['is']('element','footnotesDefinitions'))return _0x5c2711;return null;}function G(_0x1b2860){const _0x3a8bc1=new Set();for(const {item:_0x26583e}of _0x1b2860)_0x26583e['is']('element','footnoteRef')&&_0x3a8bc1['add'](_0x26583e['getAttribute']('footnoteId'));return Array['from'](_0x3a8bc1);}var W=class extends _0x430bd6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15b174}=this,{componentFactory:_0x419b58}=_0x15b174['ui'];_0x419b58['add']('insertFootnote',Y(_0x15b174,_0x357f47)),_0x419b58['add']('menuBar:insertFootnote',Y(_0x15b174,_0x2e0374)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5a71c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x520cb5;for(const _0x31a6ce in _0x5a71c9){const _0x5a038a=_0x31a6ce,_0x340cba=_0x5a71c9[_0x5a038a];if('footnotesLicenseKeyValid'==_0x340cba||'footnotesLicenseKeyInvalid'==_0x340cba||'footnotesLicenseKeyExpired'==_0x340cba||'footnotesLicenseKeyDomainLimit'==_0x340cba||'footnotesLicenseKeyNotAllowed'==_0x340cba||'footnotesLicenseKeyEvaluationLimit'==_0x340cba||'footnotesLicenseKeyUsageLimit'==_0x340cba){delete _0x5a71c9[_0x5a038a],_0x520cb5=_0x340cba,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x520cb5&&_0x5a71c9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x520cb5&&_0x5a71c9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x520cb5&&_0x5a71c9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x520cb5&&_0x5a71c9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x520cb5&&_0x5a71c9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x520cb5&&_0x5a71c9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x431e47,_0x143c14){const _0x345307=_0x431e47['commands']['get']('insertFootnote');return _0x47cac0=>{const {t:t}=_0x47cac0,_0x50ae54=new _0x143c14(_0x47cac0),_0x5ea237=_0x50ae54 instanceof _0x2e0374;return _0x50ae54['bind']('isEnabled')['to'](_0x345307,'isEnabled'),_0x50ae54['set']({'label':t(_0x5ea237?'Footnote':'Insert\x20footnote'),'icon':_0x24d0e5,'tooltip':!0x0}),_0x50ae54['on']('execute',()=>{_0x345307['execute'](),_0x431e47['editing']['view']['focus']();}),_0x50ae54;};}var Z=class extends _0x430bd6{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x3904c5{['refresh'](){const {editor:_0xc0370e}=this,_0x270918=_0xc0370e['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x270918,this['value']=_0x270918?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2dcf93}){const {editor:_0x19fe5b}=this,_0x4881df=_0x19fe5b['plugins']['get'](V),_0xd5f898=_0x4881df['getFootnotesDefinitionsObjectElement']();_0xd5f898&&ot['includes'](_0x2dcf93)&&_0x19fe5b['model']['change'](_0x47b508=>{_0x47b508['setAttribute']('footnotesListStyle',_0x2dcf93,_0xd5f898),_0x4881df['_updateFootnotesCounters'](_0x47b508);});}},it=class extends _0x3904c5{['refresh'](){const {editor:_0xa7084e}=this,_0x5c2a4b=_0xa7084e['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5c2a4b,this['value']=_0x5c2a4b?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5d2433}){const {editor:_0x18f466}=this,_0x3dc0c8=_0x18f466['plugins']['get'](V),_0x593eb5=_0x3dc0c8['getFootnotesDefinitionsObjectElement']();_0x593eb5&&Number['isInteger'](_0x5d2433)&&_0x18f466['model']['change'](_0x473973=>{_0x473973['setAttribute']('footnotesListStart',_0x5d2433,_0x593eb5),_0x3dc0c8['_updateFootnotesCounters'](_0x473973);});}};function st({style:_0x500399,digits:_0x4e7b38,value:_0x5618e9}){const _0x4019c3=Math['floor'](_0x5618e9),_0x1bae14=function(_0x2daa64){switch(_0x2daa64){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x500399);switch((_0x4019c3>_0x1bae14['max']||_0x4019c3<_0x1bae14['min'])&&(_0x500399='decimal'),_0x500399){case'decimal-leading-zero':return function(_0x53b15c,_0x385fae){return String(_0x53b15c)['padStart'](_0x385fae,'0');}(_0x4019c3,Math['max'](0x2,_0x4e7b38));case'lower-alpha':case'lower-latin':return rt(_0x4019c3,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x4019c3,!0x0);case'lower-roman':return at(_0x4019c3,!0x1);case'upper-roman':return at(_0x4019c3,!0x0);case'arabic-indic':return String(_0x4019c3)['replace'](/\d/g,_0x28182d=>ft[Number(_0x28182d)]);default:return String(_0x4019c3);}}function rt(_0x4c11cb,_0x34fd1a){let _0x564b7c='',_0x2dbda5=_0x4c11cb;for(;_0x2dbda5>0x0;){const _0x43ea05=(_0x2dbda5-0x1)%0x1a;_0x564b7c=String['fromCharCode'](0x61+_0x43ea05)+_0x564b7c,_0x2dbda5=Math['floor']((_0x2dbda5-0x1)/0x1a);}return _0x34fd1a?_0x564b7c['toUpperCase']():_0x564b7c;}const lt=[{'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 at(_0x39dd0b,_0x192921){let _0x2629cf='',_0x54b914=_0x39dd0b;for(const {value:_0xa505b3,numeral:_0x153041}of lt)for(;_0x54b914>=_0xa505b3;)_0x2629cf+=_0x153041,_0x54b914-=_0xa505b3;return _0x192921?_0x2629cf:_0x2629cf['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x430bd6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x45972a}=this;_0x45972a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x45972a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x45972a['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x45972a['commands']['add']('footnotesStyle',new nt(_0x45972a)),_0x45972a['commands']['add']('footnotesStart',new it(_0x45972a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x461ae7}=this,{schema:_0x20b544}=_0x461ae7['model'];_0x20b544['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4a9679}=this,{conversion:_0x198ade,model:_0x5ab8c7}=_0x4a9679,{schema:_0x245525}=_0x5ab8c7;_0x198ade['for']('upcast')['add'](_0x134dad=>{_0x134dad['on']('element:ol',(_0x43864b,_0x3703cc,_0x1d89d2)=>{const _0x50e43d=_0x3703cc['viewItem'],_0x127328=_0x3703cc['modelCursor']?.['parent'];_0x50e43d['hasClass']('footnotes-list')&&_0x127328?.['is']('element','footnotesDefinitions')&&(function(_0x1fc5f5,_0x21a09d,_0x2ac7dc,_0x5673ba){if(!_0x5673ba['checkAttribute'](_0x21a09d,'footnotesListStart'))return;let _0x4e2257=0x1;const _0x5c932e=_0x2ac7dc['consumable']['consume'](_0x1fc5f5,{'attributes':'start'});if(_0x5c932e){const _0x5d1dc3=Number['parseInt'](_0x1fc5f5['getAttribute']('start'),0xa);Number['isNaN'](_0x5d1dc3)||(_0x4e2257=_0x5d1dc3);}!_0x5c932e&&_0x21a09d['hasAttribute']('footnotesListStart')||_0x2ac7dc['writer']['setAttribute']('footnotesListStart',_0x4e2257,_0x21a09d);}(_0x50e43d,_0x127328,_0x1d89d2,_0x245525),function(_0xfe3039,_0x28ea73,_0x539918,_0x21894c){if(!_0x21894c['checkAttribute'](_0x28ea73,'footnotesListStyle'))return;let _0xcb7be2='decimal',_0x78788e=!0x1;if(_0x539918['consumable']['consume'](_0xfe3039,{'attributes':'type'})){const _0x3b5c87={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0xfe3039['getAttribute']('type')];_0x3b5c87&&(_0xcb7be2=_0x3b5c87),_0x78788e=!0x0;}if(_0x539918['consumable']['consume'](_0xfe3039,{'styles':'list-style-type'})){const _0x3fe5e5=ut(_0xfe3039['getStyle']('list-style-type'));_0x3fe5e5&&(_0xcb7be2=_0x3fe5e5),_0x78788e=!0x0;}!_0x78788e&&_0x28ea73['hasAttribute']('footnotesListStyle')||_0x539918['writer']['setAttribute']('footnotesListStyle',_0xcb7be2,_0x28ea73);}(_0x50e43d,_0x127328,_0x1d89d2,_0x245525));});}),_0x198ade['for']('downcast')['add'](_0x118332=>{_0x118332['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2b9b5d,_0x5116e4,_0x8a9882)=>{if(!_0x8a9882['consumable']['consume'](_0x5116e4['item'],_0x2b9b5d['name']))return;const _0x41b6e6=dt(_0x5116e4['item'],_0x8a9882['mapper']),{attributeNewValue:_0x2f5fe0}=_0x5116e4;null==_0x2f5fe0||0x1===_0x2f5fe0?_0x8a9882['writer']['removeAttribute']('start',_0x41b6e6):_0x8a9882['writer']['setAttribute']('start',String(_0x2f5fe0),_0x41b6e6);}),_0x118332['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x549500,_0x4c6d31,_0x1074cc)=>{if(!_0x1074cc['consumable']['consume'](_0x4c6d31['item'],_0x549500['name']))return;const _0x1bbae6=dt(_0x4c6d31['item'],_0x1074cc['mapper']),{attributeNewValue:_0x368fb5}=_0x4c6d31;_0x368fb5&&'decimal'!==_0x368fb5?_0x1074cc['writer']['setStyle']('list-style-type',_0x368fb5,_0x1bbae6):_0x1074cc['writer']['removeStyle']('list-style-type',_0x1bbae6);});});}['_definePostfixer'](){const {editor:_0x7a5e51}=this,{model:_0x11af5a}=_0x7a5e51,_0x4681bc=_0x7a5e51['plugins']['get'](V),_0x47e8a1=this['_getDefaultListStyle'](),_0x1146bb=this['_getDefaultStartIndex']();_0x11af5a['document']['registerPostFixer'](_0x5413d5=>{const _0x1c2f62=_0x11af5a['document']['differ']['getChanges']();let _0x166fa4=!0x1;for(const _0x32202d of _0x1c2f62){if('insert'!==_0x32202d['type']||'$text'===_0x32202d['name'])continue;const _0x4ed5c3=_0x11af5a['createRangeOn'](_0x32202d['position']['nodeAfter']);for(const _0x15f398 of _0x4ed5c3['getItems']())_0x15f398['is']('element','footnotesDefinitions')&&(!_0x15f398['hasAttribute']('footnotesListStart')&&_0x11af5a['schema']['checkAttribute'](_0x15f398,'footnotesListStart')&&(_0x5413d5['setAttribute']('footnotesListStart',_0x1146bb,_0x15f398),_0x166fa4=!0x0),!_0x15f398['hasAttribute']('footnotesListStyle')&&_0x11af5a['schema']['checkAttribute'](_0x15f398,'footnotesListStyle')&&(_0x5413d5['setAttribute']('footnotesListStyle',_0x47e8a1,_0x15f398),_0x166fa4=!0x0));}return _0x166fa4&&_0x4681bc['_updateFootnotesCounters'](_0x5413d5),_0x166fa4;});}['_defineFormatter'](){const {editor:_0x45ff96}=this;_0x45ff96['plugins']['get'](V)['setFootnoteFormatter'](_0x339683=>this['_formatFootnoteListValue'](_0x339683));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4793eb,value:_0x369026,digits:_0x5920a9}){const _0x344df1=_0x4793eb['getAttribute']('footnotesListStyle');return st({'value':_0x369026+(_0x4793eb['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x344df1,'digits':_0x5920a9});}};function ut(_0x332db0){if('string'==typeof _0x332db0){const _0x44ec76=et[_0x332db0];if(_0x44ec76)return _0x44ec76;if(ot['includes'](_0x332db0))return _0x332db0;}return null;}function dt(_0x401fb9,_0x1816a1){const _0x46cea8=_0x1816a1['toViewElement'](_0x401fb9);return Array['from'](_0x46cea8['getChildren']())['find'](_0x60e3f6=>_0x60e3f6['is']('element','ol')&&_0x60e3f6['hasClass']('footnotes-list'));}var ht=class extends _0x20d9b3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x2beea5();['keystrokes']=new _0x5e8285();['focusables']=new _0x4fdb0a();['focusCycler'];constructor(_0x45938a,{styleButtonViews:_0x5925ee,styleGridAriaLabel:_0x11dc39}){super(_0x45938a),(this['focusCycler']=new _0x1e9d99({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5925ee,_0x11dc39),[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 _0x3d0441 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3d0441['element']);_0x4595d6({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x368376['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 _0x4e4e8f=_0x5f2a8d=>_0x5f2a8d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4e4e8f),this['keystrokes']['set']('arrowleft',_0x4e4e8f),this['keystrokes']['set']('arrowup',_0x4e4e8f),this['keystrokes']['set']('arrowdown',_0x4e4e8f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5a5eb7,_0x4f91f7){const _0x380a28=new _0x20d9b3(this['locale']);return _0x380a28['children']=_0x380a28['createCollection'](),_0x380a28['children']['addMany'](_0x5a5eb7),_0x380a28['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4f91f7,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x380a28['children']}),_0x380a28['children']['delegate']('execute')['to'](this),_0x380a28['focus']=function(){for(const _0x4902d7 of this['children'])if(_0x4902d7 instanceof _0x357f47&&_0x4902d7['isOn'])return void _0x4902d7['focus']();this['children']['first']['focus']();},_0x380a28['focusTracker']=new _0x2beea5(),_0x380a28['keystrokes']=new _0x5e8285(),_0x380a28['render'](),_0x380a28['keystrokes']['listenTo'](_0x380a28['element']),this['children']['add'](_0x380a28),_0x380a28;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x15929f=this['_createStartIndexPropertyView'](),_0x81abb1=[_0x15929f],_0x20cd69=new _0x5498af(this['locale'],_0x81abb1);return _0x20cd69['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x20cd69['buttonView']['bind']('isEnabled')['toMany'](_0x81abb1,'isEnabled',(..._0x4d39e7)=>_0x4d39e7['some'](_0x4f55ff=>_0x4f55ff)),_0x20cd69['buttonView']['on']('change:isEnabled',(_0x95c798,_0x1d5808,_0x19b1b5)=>{_0x19b1b5||(_0x20cd69['isCollapsed']=!0x0);}),this['children']['add'](_0x20cd69),[_0x15929f,_0x20cd69];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x21ef20=new _0x5bd45d(this['locale'],_0x3f6dae);return _0x21ef20['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x21ef20['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x21ef20['fieldView']['on']('input',()=>{const _0x23225d=_0x21ef20['fieldView']['element'],_0x5d6186=_0x23225d['valueAsNumber'];Number['isNaN'](_0x5d6186)?_0x21ef20['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x23225d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5d6186}):_0x21ef20['errorText']=t(_0x5d6186<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x21ef20;}},mt=class extends _0x430bd6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x10011f,_0x4f08e4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x172058}=this,{componentFactory:_0x53ec22}=_0x172058['ui'];_0x172058['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x53ec22['add']('footnotesStyle',function(_0x1f948c){return _0x53618d=>{const {t:t}=_0x53618d,_0x28eac5=_0x1f948c['commands']['get']('footnotesStyle'),_0x57d698=_0x13d5d1(_0x53618d),{buttonView:_0xce78ec}=_0x57d698;return _0x57d698['class']='ck-footnotes-styles-dropdown',_0x57d698['bind']('isEnabled')['to'](_0x28eac5,'isEnabled'),_0xce78ec['set']({'label':t('Footnotes\x20style'),'icon':_0x24d0e5,'tooltip':!0x0}),_0x57d698['once']('change:isOpen',()=>{const _0x72035c=function({editor:_0xf96db4,dropdownView:_0x2e4804}){const {t:t}=_0xf96db4['locale'],_0x8f1042=t('Footnotes\x20definitions\x20styles'),_0x34edb2=function(_0x1a58d4){const {t:t}=_0x1a58d4['locale'],_0x21e02b=_0x1a58d4['config']['get']('footnotes.footnotesProperties.listStyles'),_0x25291d=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x51f85d},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x372850},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x12924e},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x57af67},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1f64a5},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x252079},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xcf4e7a}];return _0x21e02b['map'](_0x127301=>{const _0x4fee3=ut(_0x127301);return function(_0x38d8c9,_0x1c8428){const {locale:_0x4b0e3}=_0x38d8c9,{label:_0x57efb3,icon:_0x154653,tooltip:_0x2ab67c,style:_0x2a009a}=_0x1c8428,_0x1f16b2=_0x38d8c9['commands']['get']('footnotesStyle'),_0x116613=new _0x357f47(_0x4b0e3);return _0x116613['set']({'label':_0x57efb3,'icon':_0x154653,'tooltip':_0x2ab67c}),_0x116613['bind']('isOn')['to'](_0x1f16b2,'value',_0x17df27=>_0x17df27===_0x2a009a),_0x116613['bind']('isEnabled')['to'](_0x1f16b2,'isEnabled'),_0x116613['on']('execute',()=>{_0x38d8c9['execute']('footnotesStyle',{'value':_0x2a009a}),_0x38d8c9['editing']['view']['focus']();}),_0x116613;}(_0x1a58d4,_0x25291d['find'](_0x5dfaec=>_0x5dfaec['style']===_0x4fee3));});}(_0xf96db4),_0x6563aa=new ht(_0xf96db4['locale'],{'styleGridAriaLabel':_0x8f1042,'styleButtonViews':_0x34edb2}),_0x44c28f=_0xf96db4['commands']['get']('footnotesStart');return _0x6563aa['startIndexFieldView']['bind']('isEnabled')['to'](_0x44c28f),_0x6563aa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x44c28f),_0x6563aa['on']('footnotesListStart',(_0x26a531,_0x479baf)=>{_0xf96db4['execute']('footnotesStart',{'value':_0x479baf['startIndex']});}),_0x6563aa['delegate']('execute')['to'](_0x2e4804),_0x6563aa;}({'editor':_0x1f948c,'dropdownView':_0x57d698});_0x57d698['panelView']['children']['add'](_0x72035c);}),_0x57d698;};}(_0x172058));}['afterInit'](){const {editor:_0x3747ca}=this,{t:t}=_0x3747ca['locale'],_0x1272bd=_0x3747ca['plugins']['get'](_0x4f08e4),{defaultPositions:_0x2fd25e}=_0x534280;_0x1272bd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3747ca['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x454355=>{let _0x3ab26d=_0x454355['getFirstPosition']()?.['parent'];return _0x3ab26d?.['is']('$text')&&(_0x3ab26d=_0x3ab26d['parent']),_0x3ab26d?.['is']('element')?_0x3ab26d['findAncestor'](q):null;},'positions':[_0x2fd25e['southArrowNorth'],_0x2fd25e['southArrowNorthMiddleWest'],_0x2fd25e['southArrowNorthMiddleEast'],_0x2fd25e['southArrowNorthWest'],_0x2fd25e['southArrowNorthEast'],_0x2fd25e['northArrowSouth'],_0x2fd25e['northArrowSouthMiddleWest'],_0x2fd25e['northArrowSouthMiddleEast'],_0x2fd25e['northArrowSouthWest'],_0x2fd25e['northArrowSouthEast'],_0x2fd25e['viewportStickyNorth']]});}},pt=class extends _0x430bd6{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j 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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1d00f9=>0x1!=_0x1d00f9}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x19885d=>0x1!=_0x19885d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x98d02e=>{const {af:{dictionary:_0x4242e9,getPluralForm:_0x3e0bae}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3eed3e=>0x1!=_0x3eed3e}};_0x98d02e['af']||={'dictionary':{},'getPluralForm':null},_0x98d02e['af']['dictionary']=Object['assign'](_0x98d02e['af']['dictionary'],_0x4242e9),_0x98d02e['af']['getPluralForm']=_0x3e0bae;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x429f0a=>{const {af:{dictionary:_0xb231f4,getPluralForm:_0x1bd3fc}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x213c81=>0x1!=_0x213c81}};_0x429f0a['af']||={'dictionary':{},'getPluralForm':null},_0x429f0a['af']['dictionary']=Object['assign'](_0x429f0a['af']['dictionary'],_0xb231f4),_0x429f0a['af']['getPluralForm']=_0x1bd3fc;})(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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x5c1d83=>0x0==_0x5c1d83?0x0:0x1==_0x5c1d83?0x1:0x2==_0x5c1d83?0x2:_0x5c1d83%0x64>=0x3&&_0x5c1d83%0x64<=0xa?0x3:_0x5c1d83%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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x1544dc=>0x0==_0x1544dc?0x0:0x1==_0x1544dc?0x1:0x2==_0x1544dc?0x2:_0x1544dc%0x64>=0x3&&_0x1544dc%0x64<=0xa?0x3:_0x1544dc%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x331be4=>{const {ar:{dictionary:_0x4aa6a0,getPluralForm:_0x1f82b9}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x4be22c=>0x0==_0x4be22c?0x0:0x1==_0x4be22c?0x1:0x2==_0x4be22c?0x2:_0x4be22c%0x64>=0x3&&_0x4be22c%0x64<=0xa?0x3:_0x4be22c%0x64>=0xb?0x4:0x5}};_0x331be4['ar']||={'dictionary':{},'getPluralForm':null},_0x331be4['ar']['dictionary']=Object['assign'](_0x331be4['ar']['dictionary'],_0x4aa6a0),_0x331be4['ar']['getPluralForm']=_0x1f82b9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x377fa4=>{const {ar:{dictionary:_0x5f43c7,getPluralForm:_0x108ccb}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x1a0842=>0x0==_0x1a0842?0x0:0x1==_0x1a0842?0x1:0x2==_0x1a0842?0x2:_0x1a0842%0x64>=0x3&&_0x1a0842%0x64<=0xa?0x3:_0x1a0842%0x64>=0xb?0x4:0x5}};_0x377fa4['ar']||={'dictionary':{},'getPluralForm':null},_0x377fa4['ar']['dictionary']=Object['assign'](_0x377fa4['ar']['dictionary'],_0x5f43c7),_0x377fa4['ar']['getPluralForm']=_0x108ccb;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4c4c56=>0x1!=_0x4c4c56}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x263f70=>0x1!=_0x263f70}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x152364=>{const {ast:{dictionary:_0x45c9d0,getPluralForm:_0x4f11e6}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x5dc089=>0x1!=_0x5dc089}};_0x152364['ast']||={'dictionary':{},'getPluralForm':null},_0x152364['ast']['dictionary']=Object['assign'](_0x152364['ast']['dictionary'],_0x45c9d0),_0x152364['ast']['getPluralForm']=_0x4f11e6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x38fadb=>{const {ast:{dictionary:_0x3ad2c3,getPluralForm:_0x15f684}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1b6d54=>0x1!=_0x1b6d54}};_0x38fadb['ast']||={'dictionary':{},'getPluralForm':null},_0x38fadb['ast']['dictionary']=Object['assign'](_0x38fadb['ast']['dictionary'],_0x3ad2c3),_0x38fadb['ast']['getPluralForm']=_0x15f684;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x499300=>0x1!=_0x499300}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1b08f3=>0x1!=_0x1b08f3}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x400215=>{const {az:{dictionary:_0x137d26,getPluralForm:_0x36215b}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x575628=>0x1!=_0x575628}};_0x400215['az']||={'dictionary':{},'getPluralForm':null},_0x400215['az']['dictionary']=Object['assign'](_0x400215['az']['dictionary'],_0x137d26),_0x400215['az']['getPluralForm']=_0x36215b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x28dc32=>{const {az:{dictionary:_0x204560,getPluralForm:_0x17ac2c}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x126006=>0x1!=_0x126006}};_0x28dc32['az']||={'dictionary':{},'getPluralForm':null},_0x28dc32['az']['dictionary']=Object['assign'](_0x28dc32['az']['dictionary'],_0x204560),_0x28dc32['az']['getPluralForm']=_0x17ac2c;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0xe437da=>_0xe437da%0xa==0x1&&_0xe437da%0x64!=0xb?0x0:_0xe437da%0xa>=0x2&&_0xe437da%0xa<=0x4&&(_0xe437da%0x64<0xa||_0xe437da%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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x11a062=>_0x11a062%0xa==0x1&&_0x11a062%0x64!=0xb?0x0:_0x11a062%0xa>=0x2&&_0x11a062%0xa<=0x4&&(_0x11a062%0x64<0xa||_0x11a062%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x58aca2=>{const {be:{dictionary:_0x255368,getPluralForm:_0x5b61cd}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1e3038=>_0x1e3038%0xa==0x1&&_0x1e3038%0x64!=0xb?0x0:_0x1e3038%0xa>=0x2&&_0x1e3038%0xa<=0x4&&(_0x1e3038%0x64<0xa||_0x1e3038%0x64>=0x14)?0x1:0x2}};_0x58aca2['be']||={'dictionary':{},'getPluralForm':null},_0x58aca2['be']['dictionary']=Object['assign'](_0x58aca2['be']['dictionary'],_0x255368),_0x58aca2['be']['getPluralForm']=_0x5b61cd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x102dd6=>{const {be:{dictionary:_0x5d4a6c,getPluralForm:_0x3365c5}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x8040f1=>_0x8040f1%0xa==0x1&&_0x8040f1%0x64!=0xb?0x0:_0x8040f1%0xa>=0x2&&_0x8040f1%0xa<=0x4&&(_0x8040f1%0x64<0xa||_0x8040f1%0x64>=0x14)?0x1:0x2}};_0x102dd6['be']||={'dictionary':{},'getPluralForm':null},_0x102dd6['be']['dictionary']=Object['assign'](_0x102dd6['be']['dictionary'],_0x5d4a6c),_0x102dd6['be']['getPluralForm']=_0x3365c5;})(window['CKEDITOR_TRANSLATIONS']||={});