@ckeditor/ckeditor5-footnotes 48.4.0-alpha.1 → 48.4.0-alpha.3

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 _0x482443,Plugin as _0x3363a2}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x5336e5,isWidget as _0x52924b,toWidget as _0x36937b,toWidgetEditable as _0x4cb91c}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x4d5113,KeystrokeHandler as _0x281bf4,global as _0x5b35a8,logWarning as _0x48e401,uid as _0x1eaa2a}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4b7eca,PointerObserver as _0xbc222f}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x4cbbb3}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x243825,ButtonView as _0x5415e3,CollapsibleView as _0x2013b8,ContextualBalloon as _0x15792e,FocusCycler as _0x340500,LabeledFieldView as _0x44d93d,MenuBarMenuListItemButtonView as _0x5d895d,View as _0x5cff1e,ViewCollection as _0x386b74,addKeyboardHandlingForGrid as _0x1b6487,createDropdown as _0x59423c,createLabeledInputNumber as _0x9e8904}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x4d81fe,IconListStyleArabicIndic as _0x2bae38,IconListStyleDecimal as _0x17c8ff,IconListStyleDecimalLeadingZero as _0x453fb6,IconListStyleLowerLatin as _0x5d7d00,IconListStyleLowerRoman as _0x3bb15d,IconListStyleUpperLatin as _0x4030f5,IconListStyleUpperRoman as _0x3ac961}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x15bcea,_0x166dbe){this['_model']=_0x15bcea,this['_elementName']=_0x166dbe['elementName'],this['_getElementKey']=_0x166dbe['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x192c65){const _0x58f34d=new Set(),_0x87721f=new Map();for(const _0x3d027f of _0x192c65){if('insert'===_0x3d027f['type']&&'$text'!==_0x3d027f['name']&&_0x3d027f['position']['nodeAfter']){const _0x3aeb70=this['_model']['createRangeOn'](_0x3d027f['position']['nodeAfter']);for(const _0x1b1703 of _0x3aeb70['getItems']()){if(!_0x1b1703['is']('element',this['_elementName']))continue;const _0x41436f=this['_getElementKey'](_0x1b1703);_0x87721f['has'](_0x41436f)||_0x87721f['set'](_0x41436f,[]),_0x87721f['get'](_0x41436f)['push'](_0x1b1703);}}if('remove'===_0x3d027f['type']&&_0x3d027f['name']===this['_elementName']){const _0x56150d=this['_getElementKey']({'getAttribute':_0x5d24cc=>_0x3d027f['attributes']['get'](_0x5d24cc)});_0x58f34d['add'](_0x56150d);}}for(const [_0x5f24d9,_0x3ce69b]of this['_trackedElements'])'$graveyard'===_0x3ce69b['root']['rootName']&&_0x58f34d['add'](_0x5f24d9);for(const _0x4c6d00 of _0x58f34d)this['_trackedElements']['delete'](_0x4c6d00);for(const [_0xc8bc95,_0x3a9a55]of _0x87721f)this['_trackedElements']['set'](_0xc8bc95,_0x3a9a55[_0x3a9a55['length']-0x1]);const _0x22d78d=new Set();for(const [_0x541e01,_0x3568da]of _0x87721f)_0x58f34d['has'](_0x541e01)&&(_0x22d78d['add'](_0x3568da[0x0]),_0x3568da['length']>0x1?_0x87721f['set'](_0x541e01,_0x3568da['slice'](0x1)):_0x87721f['delete'](_0x541e01),_0x58f34d['delete'](_0x541e01));return{'removed':Array['from'](_0x58f34d),'inserted':Array['from'](_0x87721f['values']())['flat'](),'moved':Array['from'](_0x22d78d)};}},V=class extends _0x3363a2{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf59752){super(_0xf59752),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0xdabc39=>_0xdabc39['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x38f155=>_0x38f155['getAttribute']('footnoteId')});}init(){const {editor:_0x47e436}=this,{model:_0x2d1520,data:_0xf6f11f}=_0x47e436;_0x2d1520['document']['registerPostFixer'](_0x238ad6=>{const _0x2ae0ff=_0x2d1520['document']['differ']['getChanges']();let _0x3c537d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x238ad6,_0x2ae0ff)&&(_0x3c537d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x238ad6,_0x2ae0ff)&&(_0x3c537d=!0x0),this['_handleFootnoteReferencesChanges'](_0x238ad6,_0x2ae0ff)&&(_0x3c537d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x238ad6)&&(_0x3c537d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x238ad6)&&(_0x3c537d=!0x0),this['_sortFootnoteDefinitions'](_0x238ad6)&&(_0x3c537d=!0x0),_0x3c537d;}),this['listenTo'](_0x2d1520['document'],'change:data',()=>{_0x2d1520['enqueueChange']({'isUndoable':!0x1},_0x24cedf=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x24cedf);for(const _0x5449a0 of this['_footnotes'])_0x5449a0['definition']['isAttached']()||_0x24cedf['remove'](_0x5449a0['reference']);});},{'priority':'low'}),this['listenTo'](_0xf6f11f,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x449fe0){return this['_footnotes']['find'](_0x149c41=>_0x149c41['id']===_0x449fe0)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0xe664af){this['_footnoteFormatter']=_0xe664af;}_updateFootnotesCounters(_0x4c92e6,_0x163c90=0x0){let _0x512b5f=!0x1;for(let _0x1ee2dd=_0x163c90;_0x1ee2dd<this['_footnotes']['length'];_0x1ee2dd++)this['_updateFootnoteRefCounter'](_0x4c92e6,_0x1ee2dd)&&(_0x512b5f=!0x0);return _0x512b5f;}_insertEmptyFootnotesDefinitionsContainer(_0x3a2ffa,_0x165128){if(!K(this['editor'],_0x165128))return null;const _0x4a68bf=_0x3a2ffa['createElement']('footnotesDefinitions',{});return _0x3a2ffa['append'](_0x4a68bf,_0x165128),this['_footnotesDefinitions']=_0x4a68bf,_0x4a68bf;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x1c5c73=[...(_0x143a88=this['_footnotes'],[..._0x143a88['reduce']((_0x1a0ab8,_0x1153cd)=>(_0x1a0ab8['add'](_0x1153cd['reference']['root']),_0x1a0ab8),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x143a88;for(const _0x24dabb of _0x1c5c73)if(K(this['editor'],_0x24dabb))return _0x24dabb;return null;}_ensureFootnotesDefinitionsContainerExists(_0x601418){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x2a3e6e=null;const _0x198741=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x198741&&(_0x2a3e6e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x601418,_0x198741)),_0x2a3e6e){for(const _0x335084 of this['_footnotes'])_0x335084['definition']['parent']||_0x601418['insert'](_0x335084['definition'],_0x2a3e6e,'end');this['_updateFootnotesCounters'](_0x601418);}}_handleFootnotesDefinitionsObjectChanges(_0xc6f935,_0x254605){let _0x23a09f=!0x1;const {inserted:_0x2311ec,removed:_0x243cea,moved:_0x162666}=this['_footnoteDefsContainerTracker']['getChanges'](_0x254605);if(_0x162666['length']&&(this['_footnotesDefinitions']=_0x162666[0x0]),_0x2311ec['length']){if(_0x2311ec['length']>0x1||this['_footnotesDefinitions']&&_0x2311ec['some'](_0x191686=>_0x191686!==this['_footnotesDefinitions'])){const _0x1c4d69=_0xc6f935['createElement']('footnotesDefinitions',{}),_0xb350e4=[];this['_footnotesDefinitions']&&_0xb350e4['push'](this['_footnotesDefinitions']),_0xb350e4['push'](..._0x2311ec),_0xc6f935['insert'](_0x1c4d69,_0xb350e4[0x0],'before');for(const _0x8c3193 of _0xb350e4)_0xc6f935['move'](_0xc6f935['createRangeIn'](_0x8c3193),_0xc6f935['createPositionAt'](_0x1c4d69,'end')),_0xc6f935['remove'](_0x8c3193);this['_footnotesDefinitions']=_0x1c4d69,this['_updateFootnotesCounters'](_0xc6f935),_0x23a09f=!0x0;}else this['_footnotesDefinitions']=_0x2311ec[0x0];}if(_0x243cea['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x41bcb7 of this['_footnotes'])_0xc6f935['remove'](_0x41bcb7['reference']),_0x23a09f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x23a09f;}_handleFootnoteDefinitionsChanges(_0x12ef4a,_0x1abe85){let _0x32f05b=!0x1;const _0x1d73ec=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xece0ca,moved:_0x36d4d2}=this['_footnoteDefsTracker']['getChanges'](_0x1abe85);for(const _0xc4d189 of[..._0x36d4d2,..._0xece0ca]){const _0x394690=_0xc4d189['getAttribute']('footnoteId'),_0x5a8531=this['getFootnote'](_0x394690);_0x5a8531&&(_0x5a8531['definition']=_0xc4d189),T(_0x12ef4a,_0x1d73ec,_0xc4d189)&&(_0x32f05b=!0x0);}return _0x32f05b;}_handleFootnoteReferencesChanges(_0x380748,_0x18bca1){let _0x52d89d=!0x1;const {removed:_0x3d9cf2,inserted:_0x715c11,moved:_0x52e3e6}=this['_footnoteRefsTracker']['getChanges'](_0x18bca1);for(const _0x15b822 of _0x3d9cf2)this['_handleRemoveFootnoteReferenceById'](_0x380748,_0x15b822)&&(_0x52d89d=!0x0);for(const _0x50e036 of _0x715c11)this['_handleInsertedFootnoteReference'](_0x380748,_0x50e036)&&(_0x52d89d=!0x0);for(const _0x5c2d4d of _0x52e3e6)this['_handleMovedFootnoteReference'](_0x380748,_0x5c2d4d)&&(_0x52d89d=!0x0);return _0x52d89d;}_handleFootnotesDefinitionsObjectSync(_0x273c5a){if(!this['_footnotesDefinitions'])return!0x1;let _0x1db6e8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2e11b1=[];for(const _0x5af33f of this['_footnotesDefinitions']['getChildren']()){const _0x46977b=_0x5af33f['getAttribute']('footnoteId');this['getFootnote'](_0x46977b)||(_0x2e11b1['unshift'](_0x5af33f),_0x1db6e8=!0x0);}for(const _0x5efb1f of _0x2e11b1)_0x273c5a['remove'](_0x5efb1f);}const _0x217fdc=new Set(),_0x498892=[];for(const _0x35098c of this['_footnotesDefinitions']['getChildren']()){const _0xad5530=_0x35098c['getAttribute']('footnoteId');_0x217fdc['has'](_0xad5530)?(_0x498892['unshift'](_0x35098c),_0x1db6e8=!0x0):_0x217fdc['add'](_0xad5530);}for(const _0xa20f4d of _0x498892)_0x273c5a['remove'](_0xa20f4d);return this['_footnotesDefinitions']['childCount']||(_0x273c5a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1db6e8=!0x0),_0x1db6e8;}_handleInsertedFootnoteReference(_0x378380,_0x25aa2a){if(this['_footnotes']['find'](_0xf7e2e2=>_0xf7e2e2['reference']===_0x25aa2a))return!0x1;let _0x563828=!0x1;const _0x265983=_0x25aa2a['getAttribute']('footnoteId'),_0x2b5d22=this['_footnotes']['findIndex'](_0x32c2c3=>_0x32c2c3['id']===_0x265983);-0x1!==_0x2b5d22&&(_0x378380['remove'](this['_footnotes'][_0x2b5d22]['reference']),this['_footnotes']['splice'](_0x2b5d22,0x1),_0x563828=!0x0);let _0xde8143=this['_footnotesDefinitions']?function(_0x19ca2a,_0x56fa4b){for(const _0x5d5571 of _0x19ca2a['getChildren']())if(_0x5d5571['getAttribute']('footnoteId')===_0x56fa4b)return _0x5d5571;return null;}(this['_footnotesDefinitions'],_0x265983):null;_0xde8143||(_0xde8143=_0x378380['createElement']('footnoteDefinition',{'footnoteId':_0x265983}),this['_footnotesDefinitions']&&(_0x378380['insert'](_0xde8143,this['_footnotesDefinitions'],'end'),_0x563828=!0x0));const _0x2279eb={'id':_0x265983,'reference':_0x25aa2a,'definition':_0xde8143},_0x3f54d2=j(this['editor']['model'],this['_footnotes'],_0x25aa2a);this['_footnotes']['splice'](_0x3f54d2,0x0,_0x2279eb);let _0x31cfa9=_0x3f54d2;return-0x1!==_0x2b5d22&&(_0x31cfa9=Math['min'](_0x3f54d2,_0x2b5d22)),this['_updateFootnotesCounters'](_0x378380,_0x31cfa9)&&(_0x563828=!0x0),_0x563828;}_handleRemoveFootnoteReferenceById(_0x2f41c8,_0x312eb1){const _0x23f0ad=this['_footnotes']['findIndex'](_0x1cca9b=>_0x1cca9b['id']===_0x312eb1);if(-0x1===_0x23f0ad)return!0x1;let _0x3a2f94=!0x1;const _0x555bad=this['_footnotes'][_0x23f0ad];return _0x555bad['definition']['isAttached']()&&'$graveyard'!==_0x555bad['definition']['root']['rootName']&&(_0x2f41c8['remove'](_0x555bad['definition']),_0x3a2f94=!0x0),this['_footnotes']['splice'](_0x23f0ad,0x1),this['_updateFootnotesCounters'](_0x2f41c8,_0x23f0ad)&&(_0x3a2f94=!0x0),_0x3a2f94;}_handleMovedFootnoteReference(_0x5836ca,_0x3edfb6){const _0x11e13d=_0x3edfb6['getAttribute']('footnoteId'),_0x4dadb8=this['_footnotes']['findIndex'](_0x327762=>_0x327762['id']===_0x11e13d),_0x1ec805=this['_footnotes'][_0x4dadb8];let _0x319458=!0x1;_0x1ec805['reference']=_0x3edfb6,this['_footnotes']['splice'](_0x4dadb8,0x1);const _0x14cd7b=j(this['editor']['model'],this['_footnotes'],_0x3edfb6);return this['_footnotes']['splice'](_0x14cd7b,0x0,_0x1ec805),this['_updateFootnotesCounters'](_0x5836ca,Math['min'](_0x4dadb8,_0x14cd7b))&&(_0x319458=!0x0),_0x319458;}_updateFootnoteRefCounter(_0x105db1,_0x5b6c66){if(!this['_footnotesDefinitions'])return!0x1;const _0x2f20a1=this['_footnotes'][_0x5b6c66];let _0x7ad859;return _0x7ad859=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2f20a1,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5b6c66+0x1}):String(_0x5b6c66+0x1),_0x2f20a1['reference']['getAttribute']('footnoteCounter')!=_0x7ad859&&(_0x105db1['setAttribute']('footnoteCounter',_0x7ad859,_0x2f20a1['reference']),!0x0);}_sortFootnoteDefinitions(_0x4f7084){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x68d0e7,_0x2739bd){if(_0x68d0e7['length']!==_0x2739bd['length'])return!0x1;for(let _0x425840=0x0;_0x425840<_0x68d0e7['length'];_0x425840++)if(_0x68d0e7[_0x425840]!==_0x2739bd[_0x425840])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3e6788=>_0x3e6788['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5bdf4c=>_0x5bdf4c['getAttribute']('footnoteId'))))return!0x1;let _0x1115dc=!0x1;for(let _0x104031=0x0;_0x104031<this['_footnotes']['length'];_0x104031++){const _0x454e4d=this['_footnotes'][_0x104031],_0x32e7ab=_0x4f7084['createPositionBefore'](_0x454e4d['definition']),_0x112fd8=_0x4f7084['createPositionAt'](this['_footnotesDefinitions'],_0x104031);_0x32e7ab['isEqual'](_0x112fd8)||(_0x4f7084['move'](_0x4f7084['createRangeOn'](_0x454e4d['definition']),_0x112fd8),_0x1115dc=!0x0);}return _0x1115dc;}_ensureFootnotesReferencesHaveProperOrder(_0x5159c1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x56c2e0}=this['editor'];let _0x2784d9=!0x1;for(let _0x22fc93=0x0;_0x22fc93<this['_footnotes']['length']-0x1;_0x22fc93++){const _0x5f59da=this['_footnotes'][_0x22fc93],_0x5f0d08=this['_footnotes'][_0x22fc93+0x1],_0x4053ec=_0x56c2e0['createPositionBefore'](_0x5f59da['reference']),_0x476d9f=_0x56c2e0['createPositionBefore'](_0x5f0d08['reference']);'after'===_0x4053ec['compareWith'](_0x476d9f)&&(this['_handleMovedFootnoteReference'](_0x5159c1,_0x5f59da['reference']),_0x22fc93=-0x1,_0x2784d9=!0x0);}return _0x2784d9;}};function K(_0x3e5295,_0x5aa812){return _0x3e5295['model']['schema']['checkChild'](_0x5aa812,'footnotesDefinitions');}function T(_0xa2efd8,_0x20012e,_0x10245f){if(_0x10245f['childCount'])return!0x1;const _0x46461c=_0x20012e?'paragraph':'footnoteInlineContent';return _0xa2efd8['insert'](_0xa2efd8['createElement'](_0x46461c),_0x10245f),!0x0;}function j(_0x1f1273,_0x4a9350,_0xfb2782){if(0x0===_0x4a9350['length'])return 0x0;const _0x3f7bcc=_0x1f1273['createPositionBefore'](_0xfb2782);for(let _0x4da346=0x0;_0x4da346<_0x4a9350['length'];_0x4da346++){const _0x3d1ec4=_0x4a9350[_0x4da346],_0x19b190=_0x1f1273['createPositionBefore'](_0x3d1ec4['reference']);if('before'===_0x3f7bcc['compareWith'](_0x19b190))return _0x4da346;}const _0x2db5a6=_0xfb2782['root'];let _0x5195e2=-0x1;for(let _0x336c33=_0x4a9350['length']-0x1;_0x336c33>=0x0;_0x336c33--)if(_0x4a9350[_0x336c33]['reference']['root']===_0x2db5a6){_0x5195e2=_0x336c33;break;}if(-0x1!==_0x5195e2)return _0x5195e2+0x1;const _0x40c6ae=_0x1f1273['document']['getRootNames'](),_0x491dab=_0x40c6ae[_0x40c6ae['indexOf'](_0x2db5a6['rootName'])+0x1];if(_0x491dab){for(let _0x5611e3=0x0;_0x5611e3<_0x4a9350['length'];_0x5611e3++)if(_0x4a9350[_0x5611e3]['reference']['root']['rootName']===_0x491dab)return _0x5611e3;}return _0x4a9350['length'];}var U=class extends _0x482443{['refresh'](){const {model:_0x494401,plugins:_0x40114b}=this['editor'],{selection:_0x10e9e6}=_0x494401['document'],_0xcd3016=this['_getPositionToInsertFootnote'](_0x10e9e6),_0x5b71b8=_0x40114b['get']('FootnotesTracker');this['isEnabled']=!(!_0xcd3016||!_0x5b71b8['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x241188){const {editor:_0x5955bd}=this,{model:_0x43c1c0}=_0x5955bd,{selection:_0x199c63}=_0x43c1c0['document'],_0x4942ae=this['_getPositionToInsertFootnote'](_0x199c63);if(!_0x4942ae)return;const _0x44ef9a=_0x5955bd['plugins']['get']('FootnotesEditing'),_0x571122=_0x241188?.['footnoteId']??_0x1eaa2a();!function(_0x13014c){return'string'==typeof _0x13014c&&_0x13014c['length']>0x0&&!/\s/['test'](_0x13014c)&&!/^\d/['test'](_0x13014c);}(_0x571122)?_0x48e401('insert-footnote-command-executed-with-invalid-id'):(_0x43c1c0['change'](_0x1a8e0b=>{const _0x35e189=_0x1a8e0b['createElement']('footnoteRef',{'footnoteId':_0x571122});_0x43c1c0['insertObject'](_0x35e189,_0x4942ae,null);}),_0x44ef9a['_moveSelectionToFootnoteDefinition'](_0x571122));}_getPositionToInsertFootnote(_0x2574f9){const {model:_0x1c5286}=this['editor'],{schema:_0x58fc68}=_0x1c5286,_0x483a45=_0x2574f9['getFirstRange']();for(const _0x391fa3 of _0x483a45['getItems']())if(_0x58fc68['isBlock'](_0x391fa3)||_0x58fc68['isObject'](_0x391fa3))return null;const _0x409e81=_0x483a45['end'];return _0x58fc68['checkChild'](_0x409e81,'footnoteRef')?_0x409e81:null;}},$=class extends _0x3363a2{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x411b27}=this;_0x411b27['config']['define']('footnotes.multiBlock',!0x0),_0x411b27['commands']['add']('insertFootnote',new U(_0x411b27)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x1c74ad){const _0x2cdc5c='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x47228f=0x79140,_0x24fa84=window['Date']['now'](),_0x4e06da=_0x1c74ad['editor'],_0x12435b=new window['Promise'](_0x52e963=>{_0x4e06da['once']('ready',_0x52e963);}),_0x15a549={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4a6e4b=_0x4e06da['config']['get']('licenseKey');async function _0x522f90(){let _0x55e25d,_0x27b8ce=null,_0x5a9c3e=null;try{return'GPL'==_0x4a6e4b?'NotAllowed':(_0x55e25d=_0x4989f2(),_0x55e25d?(_0x55e25d['usageEndpoint']&&(_0x5a9c3e=_0x4f5bce(_0x55e25d['usageEndpoint'],_0x55e25d['jti'])),await _0xc90802()?_0xf3ce95()?_0x23b9ce()?'Expired':_0x5eaf82()?('evaluation'==_0x55e25d['licenseType']&&(_0x27b8ce=_0x150c91('EvaluationLimit')),await _0x1f1823()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x23b9ce(){const _0x1e2b8d=['evaluation','trial']['includes'](_0x55e25d['licenseType'])?_0x24fa84/0x3e8:0xe10*_0x47228f;return _0x55e25d['exp']<_0x1e2b8d;}function _0xf3ce95(){const _0x204bf9=_0x55e25d['features'];return!!_0x204bf9&&(!!_0x204bf9['includes']('*')||!!_0x204bf9['includes']('FOO'));}function _0x5eaf82(){const _0x4832fd=_0x55e25d['licensedHosts'];if(!_0x4832fd||0x0==_0x4832fd['length'])return!0x0;const {hostname:_0x1c591c}=new URL(window['location']['href']);if(_0x4832fd['includes'](_0x1c591c))return!0x0;const _0x97d951=_0x1c591c['split']('.');return _0x4832fd['filter'](_0x31c03a=>_0x31c03a['includes']('*'))['map'](_0x4c2030=>_0x4c2030['split']('.'))['filter'](_0x1fecc1=>_0x1fecc1['length']<=_0x97d951['length'])['map'](_0x4384ac=>Array(_0x97d951['length']-_0x4384ac['length'])['fill']('*'===_0x4384ac[0x0]?'*':'')['concat'](_0x4384ac))['some'](_0x487b11=>_0x97d951['every']((_0x30f359,_0x333538)=>_0x487b11[_0x333538]===_0x30f359||'*'===_0x487b11[_0x333538]));}function _0x1f1823(){return _0x27b8ce&&_0x5a9c3e?new window['Promise']((_0x3b97b0,_0x2deb8c)=>{_0x27b8ce['then'](_0x3b97b0,_0x2deb8c),_0x5a9c3e['then'](_0x16618f=>{'Valid'!=_0x16618f&&_0x3b97b0(_0x16618f);},_0x2deb8c);}):_0x27b8ce||_0x5a9c3e||'Valid';}}function _0x4f5bce(_0x2704f1,_0x539fc2){return new window['Promise'](_0x45e242=>{if(_0x2ed332())return _0x45e242('Valid');_0x12356d(),_0x4e06da['decorate']('_sendUsageRequest');let _0x539a7e=!0x1;const _0x1b8400=_0x1eaa2a();function _0x55b00b(_0x11d39c){return!!_0x11d39c&&('object'==typeof _0x11d39c||'function'==typeof _0x11d39c)&&'function'==typeof _0x11d39c['then']&&'function'==typeof _0x11d39c['catch'];}function _0x5d5077(_0x56dfd6){_0x92d585(_0x56dfd6)['then'](_0x1647a5=>_0x1647a5&&'ok'==_0x1647a5['status']?_0x43684e(_0x16d622(_0x1b8400+_0x539fc2))!=_0x1647a5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x31ece1=>(_0x2a9143(),_0x31ece1),()=>{const _0x48aab6=_0x5da8df();return null==_0x48aab6?(_0x2a9143(),'Valid'):_0x24fa84-_0x48aab6>0x240c8400?'UsageLimit':'Valid';})['then'](_0x45e242)['catch'](()=>{_0x45e242('UsageLimit');});const _0xff19e8=0x36ee80;function _0x2a9143(){const _0x2ffcef='llct-'+_0x43684e(_0x16d622(_0x2704f1)),_0x4af3ed=_0x3dba96(_0x43684e(window['Math']['ceil'](_0x24fa84/_0xff19e8)));window['localStorage']['setItem'](_0x2ffcef,_0x4af3ed);}function _0x5da8df(){const _0xa04719='llct-'+_0x43684e(_0x16d622(_0x2704f1)),_0x2155fd=window['localStorage']['getItem'](_0xa04719);return _0x2155fd?window['parseInt'](_0x3dba96(_0x2155fd),0x10)*_0xff19e8:null;}function _0x92d585(_0x72720d){return new window['Promise']((_0x1297b2,_0x3ab6cb)=>{_0x72720d['then'](_0x1297b2,_0x3ab6cb),window['setTimeout'](_0x3ab6cb,0x1d4c0);});}}_0x4e06da['on']('_sendUsageRequest',(_0x199cdc,_0x1a301e)=>{if(_0x1a301e[0x0]!=_0x2704f1)return _0x45e242('UsageLimit');_0x1a301e[0x1]={..._0x1a301e[0x1],'requestId':_0x1b8400};},{'priority':'high'}),_0x4e06da['on']('_sendUsageRequest',_0x4cda8a=>{_0x55b00b(_0x4cda8a['return'])&&(_0x539a7e=!0x0,_0x5d5077(_0x4cda8a['return']));},{'priority':'low'}),_0x12435b['then'](()=>{_0x539a7e||_0x45e242('UsageLimit');});});function _0x2ed332(){return'auto'==_0x4e06da['editing']['view']['_overlayModeHint'];}function _0x12356d(){_0x4e06da['editing']['view']['_overlayModeHint']='auto';}}function _0x150c91(_0x42d835){const _0x3df6a4=[new window['Promise'](_0x4177ba=>setTimeout(_0x4177ba,0x93ecc)),_0x12435b['then'](()=>new window['Promise'](_0x45fd68=>{let _0x4d87e6=0x0;_0x4e06da['model']['on']('applyOperation',(_0x37d7ec,_0x417829)=>{_0x417829[0x0]['isDocumentOperation']&&_0x4d87e6++,0x5e8==_0x4d87e6&&(_0x45fd68(),_0x37d7ec['off']());});}))];return window['Promise']['race'](_0x3df6a4)['then'](()=>_0x42d835);}async function _0x54c51a(){await _0x12435b,_0x4e06da['model']['change']=_0x1ce6d3,_0x4e06da['model']['enqueueChange']=_0x1ce6d3,_0x4e06da['enableReadOnlyMode']('model');}function _0x5d935c(_0x328aff){const _0x26435d=_0x4b22ce();_0x4e06da[_0x26435d]='footnotesLicenseKey'+_0x328aff,'Valid'!=_0x328aff&&_0x54c51a();}function _0x4b22ce(){const _0x2c20fb=window['String'](window['performance']['now']())['replace']('.','');let _0x6dcc7d='u';for(let _0x1bd7f4=0x0;_0x1bd7f4<_0x2c20fb['length'];_0x1bd7f4+=0x2){let _0x3f2681=window['parseInt'](_0x2c20fb['substring'](_0x1bd7f4,_0x1bd7f4+0x2));_0x3f2681>=0x3e&&(_0x3f2681-=0x3e),_0x6dcc7d+=_0x2cdc5c[_0x3f2681];}return _0x6dcc7d;}function _0x4989f2(){const _0x3c9526=_0x4a6e4b['split']('.');if(0x3!=_0x3c9526['length'])return null;return _0x3b5cb9(_0x3c9526[0x1]);function _0x3b5cb9(_0x2697b8){const _0x4d044f=_0x431112(_0x2697b8);return _0x4d044f&&_0x484f45()?_0x4d044f:null;function _0x484f45(){const _0xd64e8f=_0x4d044f['jti'],_0x4a620f=window['parseInt'](_0xd64e8f['substring'](_0xd64e8f['length']-0x8),0x10),_0x5446b0={..._0x4d044f,'jti':_0xd64e8f['substring'](0x0,_0xd64e8f['length']-0x8)};return delete _0x5446b0['vc'],_0x16d622(_0x5446b0)==_0x4a620f;}}}async function _0xc90802(){let _0x534fe8=!0x0;try{const [_0x523625,_0x16a79b,_0x250093]=_0x4a6e4b['split']('.');return _0x3b6cf0(_0x523625),await _0x1a8f41(_0x523625,_0x16a79b,_0x250093),_0x534fe8;}catch{return!0x1;}function _0x3b6cf0(_0x6b9a29){const _0x33fa3c=_0x431112(_0x6b9a29);_0x33fa3c&&'ES256'==_0x33fa3c['alg']||(_0x534fe8=!0x1);}async function _0x1a8f41(_0x48d83d,_0x560d59,_0x1d920e){const _0x203aa5=window['Uint8Array']['from'](_0x1e8ea3(_0x1d920e),_0x5b6fcd=>_0x5b6fcd['charCodeAt'](0x0)),_0x1de63d=new window['TextEncoder']()['encode'](_0x48d83d+'.'+_0x560d59),_0xa77894=window['crypto']['subtle'];if(!_0xa77894)return;const _0x4a1334=await _0xa77894['importKey']('jwk',_0x15a549,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xa77894['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4a1334,_0x203aa5,_0x1de63d)||(_0x534fe8=!0x1);}}function _0x431112(_0x1d18c0){return _0x1d18c0['startsWith']('ey')?JSON['parse'](_0x1e8ea3(_0x1d18c0)):null;}function _0x1e8ea3(_0x4d9f13){return window['atob'](_0x4d9f13['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x16d622(_0x5e448d){let _0x12d871=0x1505;function _0x21263f(_0x16985f){for(let _0x587f56=0x0;_0x587f56<_0x16985f['length'];_0x587f56++){const _0x139ddb=_0x16985f['charCodeAt'](_0x587f56);_0x12d871=(_0x12d871<<0x5)+_0x12d871+_0x139ddb,_0x12d871&=_0x12d871;}}function _0x4c90f7(_0x50b9f4){Array['isArray'](_0x50b9f4)?_0x50b9f4['forEach'](_0x4c90f7):_0x50b9f4&&'object'==typeof _0x50b9f4?Object['entries'](_0x50b9f4)['sort']()['forEach'](([_0x24e005,_0x26acb9])=>{_0x21263f(_0x24e005),_0x4c90f7(_0x26acb9);}):_0x21263f(window['String'](_0x50b9f4));}return _0x4c90f7(_0x5e448d),_0x12d871>>>0x0;}function _0x43684e(_0x37e42e){return _0x37e42e['toString'](0x10)['padStart'](0x8,'0');}function _0x3dba96(_0x2458a8){return _0x2458a8['split']('')['reverse']()['join']('');}function _0x1ce6d3(){}_0x5d935c(await _0x522f90());}(this);}_moveSelectionToFootnoteDefinition(_0x46b5d8){const {plugins:_0x445972,editing:_0x39cd6e,model:_0x4ab2dc}=this['editor'],_0x69d5fc=_0x445972['get'](V)['getFootnote'](_0x46b5d8);return!!_0x69d5fc&&(_0x4ab2dc['change'](_0x3de62e=>{_0x3de62e['setSelection'](_0x3de62e['createPositionAt'](_0x69d5fc['definition'],'end'));}),_0x39cd6e['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x590b3d){const {plugins:_0x5aa9d6,editing:_0x2dc1be,model:_0x61e583}=this['editor'],_0x5e43b8=_0x5aa9d6['get'](V)['getFootnote'](_0x590b3d);return!!_0x5e43b8&&(_0x61e583['change'](_0x4f48a9=>{_0x4f48a9['setSelection'](_0x5e43b8['reference'],'on');}),_0x2dc1be['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x35fa68}=this['editor']['model'],_0x2a635e=this['editor']['config']['get']('footnotes.multiBlock');_0x35fa68['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x35fa68['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x35fa68['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2a635e?_0x35fa68['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x35fa68['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x35fa68['addChildCheck'](_0xb7accf=>{for(const _0x3166ce of _0xb7accf)if('footnoteDefinition'===_0x3166ce['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x2d97b7}=this,{conversion:_0xf3dd66,editing:_0x1adfda}=_0x2d97b7,{t:t}=_0x2d97b7['locale'];_0xf3dd66['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x323025,{writer:_0x3766e5,consumable:_0x6ff085})=>{const _0xb95c45=_0x323025['getChild'](0x0);if(!_0xb95c45||!_0xb95c45['is']('element','a'))return null;const _0x4cb802=_0xb95c45['getAttribute']('href')||'';if(!_0x4cb802['startsWith']('#'))return null;const _0x5bea84=_0x4cb802['replace'](/^#/,'');if(!_0x5bea84)return null;_0x6ff085['consume'](_0xb95c45,{'name':!0x0,'attributes':['href']});for(const {item:_0x3bc8f8}of _0x1adfda['view']['createRangeIn'](_0xb95c45))_0x3bc8f8['is']('$textProxy')?_0x6ff085['consume'](_0x3bc8f8['textNode'],{'name':!0x0}):_0x3bc8f8['is']('element')&&_0x6ff085['consume'](_0x3bc8f8,{'name':!0x0});return _0x3766e5['createElement']('footnoteRef',{'footnoteId':_0x5bea84});}}),_0xf3dd66['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c0f43,{writer:_0x4e5e6d})=>z(_0x2c0f43,_0x4e5e6d)}),_0xf3dd66['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x40693a,{writer:_0x3bca7a})=>{const _0x16981f=_0x40693a['getAttribute']('footnoteCounter');return _0x36937b(z(_0x40693a,_0x3bca7a),_0x3bca7a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x16981f)});}});}_defineDefinitionsConverters(){const {editor:_0x5cc583}=this,{t:t}=_0x5cc583['locale'],{conversion:_0x9a2a73}=_0x5cc583;_0x9a2a73['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9a2a73['for']('upcast')['add'](_0x4417d7=>{_0x4417d7['on']('element:ol',(_0x957fe5,_0x715234,_0x5be74f)=>{const _0x8168cb=_0x715234['viewItem'];if(!_0x8168cb['hasClass']('footnotes-list')||!_0x715234['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5be74f['consumable']['consume'](_0x8168cb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x261d33,modelCursor:_0x1a3859}=_0x5be74f['convertChildren'](_0x715234['viewItem'],_0x715234['modelCursor']);_0x715234['modelRange']=_0x261d33,_0x715234['modelCursor']=_0x1a3859;}),_0x4417d7['on']('element:hr',(_0x1c47df,_0x213f30,_0x38ba50)=>{const _0x557a30=_0x213f30['viewItem'];_0x557a30['hasClass']('footnotes-divider')&&_0x213f30['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x38ba50['consumable']['consume'](_0x557a30,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9a2a73['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3ff90b,{writer:_0x723b53})=>X(_0x723b53)}),_0x9a2a73['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe4cf0b,{writer:_0x5b31c2})=>{const _0x9e2efe=_0x36937b(X(_0x5b31c2,{'data-footnotes-list-label':t('Footnotes')}),_0x5b31c2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5b31c2['setCustomProperty']('footnotesDefinitions',!0x0,_0x9e2efe),_0x9e2efe;}});}_defineDefinitionConverters(){const {editor:_0x3debc6}=this,{conversion:_0x4866e6,locale:_0x445212}=_0x3debc6,_0x3c4e49=_0x3debc6['config']['get']('footnotes.multiBlock');_0x4866e6['for']('upcast')['add'](_0xa9d75e=>{_0xa9d75e['on']('element:li',(_0x5edf2d,_0x41b10d,_0x5819a5)=>{const _0x4f8739=_0x41b10d['viewItem'];if(!_0x4f8739['hasClass']('footnote-definition')||!_0x4f8739['getAttribute']('id'))return;const _0x32478a=_0x4f8739['parent'];if(!_0x32478a['is']('element','ol')||!_0x32478a['hasClass']('footnotes-list'))return;if(!_0x5819a5['consumable']['test'](_0x4f8739,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1dbcc7=_0x5819a5['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4f8739['getAttribute']('id')});if(!_0x5819a5['safeInsert'](_0x1dbcc7,_0x41b10d['modelCursor']))return;_0x5819a5['consumable']['consume'](_0x4f8739,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4924d5=Array['from'](_0x4f8739['getChildren']())['find'](_0x1de45d=>_0x1de45d['is']('element')&&_0x1de45d['hasClass']('footnote-content'));for(const _0x6abe4f of _0x4f8739['getChildren']())_0x6abe4f['is']('element')&&(_0x5819a5['consumable']['consume'](_0x6abe4f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5819a5['consumable']['consume'](_0x6abe4f,{'name':!0x0,'classes':'footnote-content'}));if(_0x4924d5){if(_0x3c4e49)_0x5819a5['convertChildren'](_0x4924d5,_0x1dbcc7);else{const _0x29b2f1=_0x5819a5['writer']['createElement']('footnoteInlineContent');_0x5819a5['writer']['insert'](_0x29b2f1,_0x1dbcc7),_0x5819a5['convertChildren'](_0x4924d5,_0x29b2f1);}}_0x5819a5['updateConversionResult'](_0x1dbcc7,_0x41b10d);});}),_0x4866e6['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x336e01,{writer:_0x206b10})=>J(_0x336e01,_0x206b10,_0x445212,{'dataPipeline':!0x0})}),_0x4866e6['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3834c7,{writer:_0x24b548})=>J(_0x3834c7,_0x24b548,_0x445212)});}_defineBogusParagraphConverters(){const {editor:_0x1ecb0e}=this,{conversion:_0x3f039a}=_0x1ecb0e;_0x1ecb0e['config']['get']('footnotes.multiBlock')?(_0x3f039a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x3f039a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1ecb0e['model']['document'],'change:data',()=>{!function(_0x2a954b,_0x389465){const _0x3ddda9=_0x2a954b['document']['differ'],_0x1a1cf2=new Set();for(const _0x139d4b of _0x3ddda9['getChanges']()){const _0x53404f='attribute'==_0x139d4b['type']?_0x139d4b['range']['start']['parent']:_0x139d4b['position']['parent'];_0x53404f['is']('element','footnoteDefinition')&&_0x1a1cf2['add'](_0x53404f);}for(const _0x59e32d of _0x1a1cf2['values']()){const _0xa5c7ba=Array['from'](_0x59e32d['getChildren']())['filter'](_0x2f3c2a=>q(_0x2f3c2a,_0x389465['mapper']));for(const _0x3c7c10 of _0xa5c7ba)_0x389465['reconvertItem'](_0x3c7c10);}}(_0x1ecb0e['model'],_0x1ecb0e['editing']);})):(_0x3f039a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x3f039a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2ed9b7,{writer:_0x19b026})=>{const _0x408d19=_0x19b026['createContainerElement']('span');return _0x19b026['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x408d19),_0x408d19;}}));}['_defineKeyboardHandlers'](){const {editor:_0x9a557e}=this,{editing:_0x2262c3,t:t}=_0x9a557e,_0x567432=_0x9a557e['model']['document']['selection'];_0x9a557e['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x9a557e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2262c3['view']['document'],'enter',(_0x1b9db8,_0x5d0f31)=>{const _0x40b8d2=function(_0x1d9c31){const _0x4c9062=_0x1d9c31['getSelectedElement']();return _0x4c9062?.['is']('element','footnoteRef')?_0x4c9062:null;}(_0x567432);if(_0x40b8d2){const _0x31c6aa=_0x40b8d2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x31c6aa),_0x5d0f31['preventDefault'](),_0x1b9db8['stop']();}},{'context':_0x52924b});}['_defineClickHandlers'](){const {editor:_0x4c6c3c}=this,{editing:_0x41bc18}=_0x4c6c3c;_0x4c6c3c['editing']['view']['addObserver'](_0xbc222f),_0x4c6c3c['editing']['view']['addObserver'](_0x4b7eca);let _0x10c2d2=!0x1;this['listenTo'](_0x41bc18['view']['document'],'pointerdown',(_0x93086b,_0x4f7d39)=>{const {target:_0x9de595}=_0x4f7d39,_0x570605=_0x41bc18['view']['document']['selection'];_0x10c2d2=!!(_0x9de595?.['is']('element','a')&&_0x9de595['parent']?.['is']('element','sup')&&_0x9de595['parent']['hasClass']('footnote'))&&_0x570605['getSelectedElement']()===_0x9de595['parent'];},{'priority':'high'}),this['listenTo'](_0x41bc18['view']['document'],'click',(_0x29d259,_0x347b4b)=>{const {target:_0x52c8dc}=_0x347b4b;if(!_0x52c8dc?.['is']('element','a'))return;if(_0x52c8dc['parent']?.['is']('element','sup')&&_0x52c8dc['parent']['hasClass']('footnote')&&!_0x10c2d2)return void _0x347b4b['preventDefault']();let _0x1699f0=_0x52c8dc['getAttribute']('href');if(!_0x1699f0?.['startsWith']('#'))return;_0x1699f0=_0x1699f0['slice'](0x1);let _0x5c93b4=!0x1;(_0x1699f0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1699f0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1699f0))&&(_0x5c93b4=!0x0),_0x5c93b4&&(_0x347b4b['preventDefault'](),_0x29d259['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x14aa79}={}){return(_0x3ecaab,{writer:_0x31229c})=>{if(!B(_0x3ecaab))return null;if(!_0x14aa79)return _0x31229c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x252644=_0x31229c['createContainerElement']('p');return _0x31229c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x252644),_0x252644;};}function B(_0x2f30fd){const {parent:_0x43895c}=_0x2f30fd;if(!_0x43895c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x43895c['childCount'])return!0x1;for(const _0x4fb239 of _0x2f30fd['getAttributeKeys']())if(!_0x4fb239['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4fb239)return!0x1;return!0x0;}function q(_0x2c78c6,_0x2ad016){if(!_0x2c78c6['is']('element','paragraph'))return!0x1;const _0x99c27d=_0x2ad016['toViewElement'](_0x2c78c6);return!!_0x99c27d&&B(_0x2c78c6)!==_0x99c27d['is']('element','span');}function H(_0x1ccb50){return _0x52924b(_0x1ccb50)&&_0x1ccb50['is']('containerElement')&&!!_0x1ccb50['getCustomProperty']('footnotesDefinitions');}function X(_0x304374,_0x3b5767={}){const _0x2eb710=_0x304374['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4bf219=_0x304374['createContainerElement']('ol',{'class':'footnotes-list'},_0x304374['createSlot']());return _0x304374['createContainerElement']('div',{'class':'footnotes',..._0x3b5767},[_0x2eb710,_0x4bf219]);}function z(_0xe4f1d3,_0x3597d2){const _0x5829e7=_0xe4f1d3['getAttribute']('footnoteId'),_0x5d3560=_0xe4f1d3['getAttribute']('footnoteCounter'),_0xf7e3ba=_0x3597d2['createUIElement']('a',{'href':'#'+_0x5829e7},function(_0x493de0){const _0x2792d2=this['toDomElement'](_0x493de0);return _0x2792d2['textContent']=_0x5d3560,_0x2792d2;}),_0xc23f7b=_0x3597d2['createContainerElement']('sup',{'id':'ref-'+_0x5829e7,'class':'footnote'},[_0xf7e3ba]);return _0xc23f7b['getFillerOffset']=()=>null,_0xc23f7b;}function J(_0x317aaf,_0x3593d7,_0x20e82a,{dataPipeline:_0x1413d1}={}){const {t:t}=_0x20e82a,_0x4f5a12=_0x317aaf['getAttribute']('footnoteId'),_0x76495a=_0x3593d7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4f5a12},function(_0xc4aac1){const _0x2cbc9f=this['toDomElement'](_0xc4aac1);return _0x2cbc9f['innerText']='^',_0x2cbc9f;}),_0xe3e6db=_0x1413d1?_0x3593d7['createContainerElement']('div',{'class':'footnote-content'}):_0x4cb91c(_0x3593d7['createEditableElement']('div',{'class':'footnote-content'}),_0x3593d7,{'label':t('Footnote\x20content.')});return _0x3593d7['insert'](_0x3593d7['createPositionAt'](_0xe3e6db,0x0),_0x3593d7['createSlot']()),_0x3593d7['createContainerElement']('li',{'class':'footnote-definition','id':_0x4f5a12},[_0x76495a,_0xe3e6db]);}var Q=class extends _0x3363a2{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x4cbbb3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x3cfd69}=this,{plugins:_0x251053,model:_0x360d65}=_0x3cfd69,_0x47b6ea=_0x251053['get'](_0x4cbbb3),_0x66d780=_0x251053['get'](V);this['listenTo'](_0x47b6ea,'outputTransformation',(_0x1d6664,_0x1bce1b)=>{const _0x1a9441=W(_0x360d65['createRangeIn'](_0x1bce1b['content']));if(!_0x1a9441['length'])return;const _0x1818b7=_0x66d780['getFootnotes'](),_0x29ed74=_0x1a9441['reduce']((_0xa1e14c,_0x4f1bc3)=>{const _0x1b1e6d=_0x1818b7['find'](_0x1089c8=>_0x1089c8['id']===_0x4f1bc3);if(_0x1b1e6d){const _0x102820=_0x3cfd69['data']['toView'](_0x1b1e6d['definition'],{'isClipboardPipeline':!0x0}),_0x394137=_0x3cfd69['data']['htmlProcessor']['toData'](_0x102820);_0xa1e14c[_0x1b1e6d['id']]=_0x394137;}return _0xa1e14c;},Object['create'](null));_0x1bce1b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x29ed74));});}_handlePasteFootnotesDefinitions(){const {editor:_0x487942}=this,{model:_0x4de8ca,plugins:_0x254b78}=_0x487942,{view:_0x4d10aa}=_0x487942['editing'],_0x2ccd91=_0x254b78['get'](_0x4cbbb3),_0x3dba1d=_0x254b78['get'](V),_0x25b28d=_0x487942['config']['get']('footnotes.multiBlock');let _0x5ebcbf=null;this['listenTo'](_0x4d10aa['document'],'clipboardInput',(_0x554ad5,_0x4c59be)=>{const _0x29a752=_0x4c59be['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5ebcbf=_0x29a752?JSON['parse'](_0x29a752):null;}),this['listenTo'](_0x2ccd91,'contentInsertion',(_0x3085e1,_0x344c2c)=>{const _0x550ba4=_0x344c2c['sourceEditorId']===this['editor']['id'];_0x550ba4&&'drop'===_0x344c2c['method']||_0x4de8ca['change'](_0x1794c1=>{let _0x51b073=_0x3dba1d['getFootnotesDefinitionsObjectElement']();const _0x288d6b=!!_0x51b073&&Array['from'](_0x4de8ca['document']['selection']['getSelectedBlocks']())['includes'](_0x51b073);if(!_0x5ebcbf&&function(_0x2c7f10){for(const {item:_0x31e1fa}of _0x2c7f10)if(_0x31e1fa['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4de8ca['createRangeIn'](_0x344c2c['content']))&&(_0x5ebcbf=function(_0x5dc6b6,_0x3048df){const _0x277ff2=G(_0x5dc6b6,_0x3048df);if(!_0x277ff2)return null;const _0x39e934=Object['create'](null);for(const _0x4c1d3a of _0x277ff2['getChildren']())_0x4c1d3a['is']('element','footnoteDefinition')&&_0x4c1d3a['hasAttribute']('footnoteId')&&(_0x39e934[_0x4c1d3a['getAttribute']('footnoteId')]=_0x5dc6b6['cloneElement'](_0x4c1d3a,!0x0));return Object['keys'](_0x39e934)['length']?_0x39e934:null;}(_0x1794c1,_0x344c2c['content'])),(_0x51b073&&!_0x288d6b||!_0x51b073&&!_0x5ebcbf)&&function(_0x2ca553,_0x26c7df){const _0x31c0a1=[];for(const {item:_0x261c15}of _0x2ca553['createRangeIn'](_0x26c7df))_0x261c15['is']('element','footnotesDefinitions')&&_0x31c0a1['push'](_0x261c15);for(const _0x3c15c5 of _0x31c0a1)_0x2ca553['remove'](_0x3c15c5);}(_0x1794c1,_0x344c2c['content']),!_0x5ebcbf)return;const {selection:_0x11f566}=_0x4de8ca['document'],_0x393f39=_0x11f566['getFirstRange']()['root'];if(!_0x51b073||_0x288d6b){if(_0x51b073=G(_0x1794c1,_0x344c2c['content']),_0x51b073||=_0x3dba1d['_insertEmptyFootnotesDefinitionsContainer'](_0x1794c1,_0x393f39),!_0x51b073){const _0x4a69db=_0x3dba1d['_getFirstSuitableFootnotesDefinitionsRoot']();_0x51b073||=_0x4a69db&&_0x3dba1d['_insertEmptyFootnotesDefinitionsContainer'](_0x1794c1,_0x4a69db);}if(!_0x51b073)return void(_0x5ebcbf=null);}const _0x2dc9a6=Array['from'](_0x11f566['getRanges']())['flatMap'](W),_0x4c0eb2=function(_0xf1a575,_0x1b6ea8,_0x4fe78d){const _0x5b9a3d=Object['create'](null);for(const {item:_0x4d6d30}of _0xf1a575['createRangeIn'](_0x1b6ea8))if(_0x4d6d30['is']('element','footnoteRef')){const _0xc2e828=_0x4d6d30['getAttribute']('footnoteId');if(!_0x4fe78d(_0xc2e828))continue;_0x5b9a3d[_0xc2e828]||(_0x5b9a3d[_0xc2e828]=_0x1eaa2a()),_0xf1a575['setAttribute']('footnoteId',_0x5b9a3d[_0xc2e828],_0x4d6d30);}return _0x5b9a3d;}(_0x1794c1,_0x344c2c['content'],_0xd49def=>!_0x550ba4||!!_0x3dba1d['getFootnote'](_0xd49def)&&!_0x2dc9a6['includes'](_0xd49def));for(const [_0x20a961,_0x26a3bd]of Object['entries'](_0x5ebcbf)){const _0x3d6035=_0x4c0eb2[_0x20a961]||_0x20a961;let _0x841a47;if('string'!=typeof _0x26a3bd)_0x841a47=_0x26a3bd,_0x3d6035!==_0x20a961&&_0x1794c1['setAttribute']('footnoteId',_0x3d6035,_0x841a47);else{_0x841a47=_0x1794c1['createElement']('footnoteDefinition',{'footnoteId':_0x3d6035});const _0x249535=_0x487942['data']['htmlProcessor']['toView'](_0x26a3bd);let _0x1b87e7;if(_0x25b28d)_0x1b87e7=_0x487942['data']['toModel'](_0x249535,_0x841a47);else{_0x1b87e7=_0x1794c1['createElement']('footnoteInlineContent');const _0x14e0dc=_0x487942['data']['toModel'](_0x249535,_0x1b87e7);_0x1794c1['insert'](_0x14e0dc,_0x1b87e7);}_0x1794c1['append'](_0x1b87e7,_0x841a47);}_0x1794c1['insert'](_0x841a47,_0x51b073,'end');}_0x5ebcbf=null;});});}};function G(_0x435efd,_0x154882){for(const {item:_0x2b09b3}of _0x435efd['createRangeIn'](_0x154882))if(_0x2b09b3['is']('element','footnotesDefinitions'))return _0x2b09b3;return null;}function W(_0x1c5ac8){const _0x251788=new Set();for(const {item:_0x1ea5f8}of _0x1c5ac8)_0x1ea5f8['is']('element','footnoteRef')&&_0x251788['add'](_0x1ea5f8['getAttribute']('footnoteId'));return Array['from'](_0x251788);}var Y=class extends _0x3363a2{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x1cbdc5}=this,{componentFactory:_0x1d9744}=_0x1cbdc5['ui'];_0x1d9744['add']('insertFootnote',Z(_0x1cbdc5,_0x5415e3)),_0x1d9744['add']('menuBar:insertFootnote',Z(_0x1cbdc5,_0x5d895d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x15b2e6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x34e406;for(const _0x3692d4 in _0x15b2e6){const _0x3df1af=_0x3692d4,_0x4b4769=_0x15b2e6[_0x3df1af];if('footnotesLicenseKeyValid'==_0x4b4769||'footnotesLicenseKeyInvalid'==_0x4b4769||'footnotesLicenseKeyExpired'==_0x4b4769||'footnotesLicenseKeyDomainLimit'==_0x4b4769||'footnotesLicenseKeyNotAllowed'==_0x4b4769||'footnotesLicenseKeyEvaluationLimit'==_0x4b4769||'footnotesLicenseKeyUsageLimit'==_0x4b4769){delete _0x15b2e6[_0x3df1af],_0x34e406=_0x4b4769,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x34e406&&_0x15b2e6['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x34e406&&_0x15b2e6['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x34e406&&_0x15b2e6['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x34e406&&_0x15b2e6['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x34e406&&_0x15b2e6['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x34e406&&_0x15b2e6['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x30d4bb,_0x2b33a5){const _0x288b4f=_0x30d4bb['commands']['get']('insertFootnote');return _0x33e85e=>{const {t:t}=_0x33e85e,_0x262499=new _0x2b33a5(_0x33e85e),_0x3f88d3=_0x262499 instanceof _0x5d895d;return _0x262499['bind']('isEnabled')['to'](_0x288b4f,'isEnabled'),_0x262499['set']({'label':t(_0x3f88d3?'Footnote':'Insert\x20footnote'),'icon':_0x4d81fe,'tooltip':!0x0}),_0x262499['on']('execute',()=>{_0x288b4f['execute'](),_0x30d4bb['editing']['view']['focus']();}),_0x262499;};}var tt=class extends _0x3363a2{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x482443{['refresh'](){const {editor:_0x2ce39f}=this,_0x36ea2f=_0x2ce39f['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x36ea2f,this['value']=_0x36ea2f?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x4eaed9}){const {editor:_0x42e8fd}=this,_0x3f3111=_0x42e8fd['plugins']['get'](V),_0x1b430f=_0x3f3111['getFootnotesDefinitionsObjectElement']();_0x1b430f&&nt['includes'](_0x4eaed9)&&_0x42e8fd['model']['change'](_0x3aa142=>{_0x3aa142['setAttribute']('footnotesListStyle',_0x4eaed9,_0x1b430f),_0x3f3111['_updateFootnotesCounters'](_0x3aa142);});}},st=class extends _0x482443{['refresh'](){const {editor:_0x1c5ad7}=this,_0x5a12e8=_0x1c5ad7['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5a12e8,this['value']=_0x5a12e8?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x219513}){const {editor:_0x2a9de7}=this,_0x54984a=_0x2a9de7['plugins']['get'](V),_0x28c899=_0x54984a['getFootnotesDefinitionsObjectElement']();_0x28c899&&Number['isInteger'](_0x219513)&&_0x2a9de7['model']['change'](_0x5c7139=>{_0x5c7139['setAttribute']('footnotesListStart',_0x219513,_0x28c899),_0x54984a['_updateFootnotesCounters'](_0x5c7139);});}};function rt({style:_0x3455c1,digits:_0x105a5a,value:_0x12942d}){const _0x5d430b=Math['floor'](_0x12942d),_0x401360=function(_0x504f78){switch(_0x504f78){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};}}(_0x3455c1);switch((_0x5d430b>_0x401360['max']||_0x5d430b<_0x401360['min'])&&(_0x3455c1='decimal'),_0x3455c1){case'decimal-leading-zero':return function(_0xbd0403,_0x62a445){return String(_0xbd0403)['padStart'](_0x62a445,'0');}(_0x5d430b,Math['max'](0x2,_0x105a5a));case'lower-alpha':case'lower-latin':return lt(_0x5d430b,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x5d430b,!0x0);case'lower-roman':return ft(_0x5d430b,!0x1);case'upper-roman':return ft(_0x5d430b,!0x0);case'arabic-indic':return String(_0x5d430b)['replace'](/\d/g,_0x1c1e29=>ct[Number(_0x1c1e29)]);default:return String(_0x5d430b);}}function lt(_0x16fe95,_0x151ccd){let _0x1abf87='',_0x980eea=_0x16fe95;for(;_0x980eea>0x0;){const _0x54085a=(_0x980eea-0x1)%0x1a;_0x1abf87=String['fromCharCode'](0x61+_0x54085a)+_0x1abf87,_0x980eea=Math['floor']((_0x980eea-0x1)/0x1a);}return _0x151ccd?_0x1abf87['toUpperCase']():_0x1abf87;}const at=[{'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 ft(_0x4c29e4,_0x3bebf7){let _0x53c3da='',_0x1fbe0a=_0x4c29e4;for(const {value:_0x3024da,numeral:_0x5e1f76}of at)for(;_0x1fbe0a>=_0x3024da;)_0x53c3da+=_0x5e1f76,_0x1fbe0a-=_0x3024da;return _0x3bebf7?_0x53c3da:_0x53c3da['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x3363a2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x63734b}=this;_0x63734b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x63734b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x63734b['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x63734b['commands']['add']('footnotesStyle',new it(_0x63734b)),_0x63734b['commands']['add']('footnotesStart',new st(_0x63734b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x485d68}=this,{schema:_0x2c0230}=_0x485d68['model'];_0x2c0230['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x5663a2}=this,{conversion:_0x31eb81,model:_0x4bee0b}=_0x5663a2,{schema:_0x3b5809}=_0x4bee0b;_0x31eb81['for']('upcast')['add'](_0x42144d=>{_0x42144d['on']('element:ol',(_0x2f97b5,_0x1a3f4b,_0x995cc6)=>{const _0x5e7a9b=_0x1a3f4b['viewItem'],_0x18e6cd=_0x1a3f4b['modelCursor']?.['parent'];_0x5e7a9b['hasClass']('footnotes-list')&&_0x18e6cd?.['is']('element','footnotesDefinitions')&&(function(_0x4f14c6,_0x5cc9f6,_0x4afd04,_0xb938db){if(!_0xb938db['checkAttribute'](_0x5cc9f6,'footnotesListStart'))return;let _0x2af826=0x1;const _0x29b2b2=_0x4afd04['consumable']['consume'](_0x4f14c6,{'attributes':'start'});if(_0x29b2b2){const _0x2838f1=Number['parseInt'](_0x4f14c6['getAttribute']('start'),0xa);Number['isNaN'](_0x2838f1)||(_0x2af826=_0x2838f1);}!_0x29b2b2&&_0x5cc9f6['hasAttribute']('footnotesListStart')||_0x4afd04['writer']['setAttribute']('footnotesListStart',_0x2af826,_0x5cc9f6);}(_0x5e7a9b,_0x18e6cd,_0x995cc6,_0x3b5809),function(_0x1e5b3b,_0x11513c,_0x5cc3ca,_0x343ee6){if(!_0x343ee6['checkAttribute'](_0x11513c,'footnotesListStyle'))return;let _0x4d20c2='decimal',_0x2b0bdb=!0x1;if(_0x5cc3ca['consumable']['consume'](_0x1e5b3b,{'attributes':'type'})){const _0xb7874b={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x1e5b3b['getAttribute']('type')];_0xb7874b&&(_0x4d20c2=_0xb7874b),_0x2b0bdb=!0x0;}if(_0x5cc3ca['consumable']['consume'](_0x1e5b3b,{'styles':'list-style-type'})){const _0x1b1d50=dt(_0x1e5b3b['getStyle']('list-style-type'));_0x1b1d50&&(_0x4d20c2=_0x1b1d50),_0x2b0bdb=!0x0;}!_0x2b0bdb&&_0x11513c['hasAttribute']('footnotesListStyle')||_0x5cc3ca['writer']['setAttribute']('footnotesListStyle',_0x4d20c2,_0x11513c);}(_0x5e7a9b,_0x18e6cd,_0x995cc6,_0x3b5809));});}),_0x31eb81['for']('downcast')['add'](_0x4d13f8=>{_0x4d13f8['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3ef563,_0x42ad71,_0x179b93)=>{if(!_0x179b93['consumable']['consume'](_0x42ad71['item'],_0x3ef563['name']))return;const _0x198dfc=ht(_0x42ad71['item'],_0x179b93['mapper']),{attributeNewValue:_0x4db488}=_0x42ad71;null==_0x4db488||0x1===_0x4db488?_0x179b93['writer']['removeAttribute']('start',_0x198dfc):_0x179b93['writer']['setAttribute']('start',String(_0x4db488),_0x198dfc);}),_0x4d13f8['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4be9dc,_0x5b99c0,_0x2a0285)=>{if(!_0x2a0285['consumable']['consume'](_0x5b99c0['item'],_0x4be9dc['name']))return;const _0x53721d=ht(_0x5b99c0['item'],_0x2a0285['mapper']),{attributeNewValue:_0x1288af}=_0x5b99c0;_0x1288af&&'decimal'!==_0x1288af?_0x2a0285['writer']['setStyle']('list-style-type',_0x1288af,_0x53721d):_0x2a0285['writer']['removeStyle']('list-style-type',_0x53721d);});});}_definePostfixer(){const {editor:_0x58a078}=this,{model:_0x2b4716}=_0x58a078,_0x149962=_0x58a078['plugins']['get'](V),_0x42cfe9=this['_getDefaultListStyle'](),_0x4a047f=this['_getDefaultStartIndex']();_0x2b4716['document']['registerPostFixer'](_0x19a023=>{const _0x3e7fd5=_0x2b4716['document']['differ']['getChanges']();let _0x1fd2cf=!0x1;for(const _0x23d107 of _0x3e7fd5){if('insert'!==_0x23d107['type']||'$text'===_0x23d107['name'])continue;const _0x204f81=_0x2b4716['createRangeOn'](_0x23d107['position']['nodeAfter']);for(const _0x3cb013 of _0x204f81['getItems']())_0x3cb013['is']('element','footnotesDefinitions')&&(!_0x3cb013['hasAttribute']('footnotesListStart')&&_0x2b4716['schema']['checkAttribute'](_0x3cb013,'footnotesListStart')&&(_0x19a023['setAttribute']('footnotesListStart',_0x4a047f,_0x3cb013),_0x1fd2cf=!0x0),!_0x3cb013['hasAttribute']('footnotesListStyle')&&_0x2b4716['schema']['checkAttribute'](_0x3cb013,'footnotesListStyle')&&(_0x19a023['setAttribute']('footnotesListStyle',_0x42cfe9,_0x3cb013),_0x1fd2cf=!0x0));}return _0x1fd2cf&&_0x149962['_updateFootnotesCounters'](_0x19a023),_0x1fd2cf;});}_defineFormatter(){const {editor:_0x39d768}=this;_0x39d768['plugins']['get'](V)['setFootnoteFormatter'](_0x41e780=>this['_formatFootnoteListValue'](_0x41e780));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0xa7f971,value:_0x3eb2c4,digits:_0x28514f}){const _0x492c8f=_0xa7f971['getAttribute']('footnotesListStyle');return rt({'value':_0x3eb2c4+(_0xa7f971['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x492c8f,'digits':_0x28514f});}};function dt(_0x13c7f2){if('string'==typeof _0x13c7f2){const _0x22fccb=ot[_0x13c7f2];if(_0x22fccb)return _0x22fccb;if(nt['includes'](_0x13c7f2))return _0x13c7f2;}return null;}function ht(_0x2571db,_0x41cd53){const _0x34533d=_0x41cd53['toViewElement'](_0x2571db);return Array['from'](_0x34533d['getChildren']())['find'](_0x108289=>_0x108289['is']('element','ol')&&_0x108289['hasClass']('footnotes-list'));}var mt=class extends _0x5cff1e{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x4d5113();keystrokes=new _0x281bf4();['focusables']=new _0x386b74();['focusCycler'];constructor(_0x2fcfef,{styleButtonViews:_0x41a2e6,styleGridAriaLabel:_0x38350e}){super(_0x2fcfef),(this['focusCycler']=new _0x340500({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x41a2e6,_0x38350e),[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 _0x1cb046 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1cb046['element']);_0x1b6487({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x5b35a8['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 _0x2eabf7=_0x5887d1=>_0x5887d1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2eabf7),this['keystrokes']['set']('arrowleft',_0x2eabf7),this['keystrokes']['set']('arrowup',_0x2eabf7),this['keystrokes']['set']('arrowdown',_0x2eabf7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x2150de,_0x253016){const _0x4f9e97=new _0x5cff1e(this['locale']);return _0x4f9e97['children']=_0x4f9e97['createCollection'](),_0x4f9e97['children']['addMany'](_0x2150de),_0x4f9e97['setTemplate']({'tag':'div','attributes':{'aria-label':_0x253016,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4f9e97['children']}),_0x4f9e97['children']['delegate']('execute')['to'](this),_0x4f9e97['focus']=function(){for(const _0x2614dc of this['children'])if(_0x2614dc instanceof _0x5415e3&&_0x2614dc['isOn'])return void _0x2614dc['focus']();this['children']['first']['focus']();},_0x4f9e97['focusTracker']=new _0x4d5113(),_0x4f9e97['keystrokes']=new _0x281bf4(),_0x4f9e97['render'](),_0x4f9e97['keystrokes']['listenTo'](_0x4f9e97['element']),this['children']['add'](_0x4f9e97),_0x4f9e97;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x2e7b34=this['_createStartIndexPropertyView'](),_0x27db82=[_0x2e7b34],_0x212664=new _0x2013b8(this['locale'],_0x27db82);return _0x212664['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x212664['buttonView']['bind']('isEnabled')['toMany'](_0x27db82,'isEnabled',(..._0x1a75b7)=>_0x1a75b7['some'](_0xd02e84=>_0xd02e84)),_0x212664['buttonView']['on']('change:isEnabled',(_0x1253a7,_0x3c7f3b,_0x5e7e69)=>{_0x5e7e69||(_0x212664['isCollapsed']=!0x0);}),this['children']['add'](_0x212664),[_0x2e7b34,_0x212664];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x442805=new _0x44d93d(this['locale'],_0x9e8904);return _0x442805['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x442805['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x442805['fieldView']['on']('input',()=>{const _0x13de5a=_0x442805['fieldView']['element'],_0x33efb5=_0x13de5a['valueAsNumber'];Number['isNaN'](_0x33efb5)?_0x442805['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x13de5a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x33efb5}):_0x442805['errorText']=t(_0x33efb5<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x442805;}},pt=class extends _0x3363a2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x15792e,_0x5336e5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x15841e}=this,{componentFactory:_0x8db1b0}=_0x15841e['ui'];_0x15841e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x8db1b0['add']('footnotesStyle',function(_0x38cd46){return _0x2615b3=>{const {t:t}=_0x2615b3,_0x681519=_0x38cd46['commands']['get']('footnotesStyle'),_0x591344=_0x59423c(_0x2615b3),{buttonView:_0x1c3bfb}=_0x591344;return _0x591344['class']='ck-footnotes-styles-dropdown',_0x591344['bind']('isEnabled')['to'](_0x681519,'isEnabled'),_0x1c3bfb['set']({'label':t('Footnotes\x20style'),'icon':_0x4d81fe,'tooltip':!0x0}),_0x591344['once']('change:isOpen',()=>{const _0x56a5f5=function({editor:_0x6dac4b,dropdownView:_0x42f1c4}){const {t:t}=_0x6dac4b['locale'],_0x10bb10=t('Footnotes\x20definitions\x20styles'),_0x29ee5f=function(_0x2b5d46){const {t:t}=_0x2b5d46['locale'],_0x26d666=_0x2b5d46['config']['get']('footnotes.footnotesProperties.listStyles'),_0x29eb7c=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x17c8ff},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x453fb6},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x3bb15d},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3ac961},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5d7d00},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x4030f5},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x2bae38}];return _0x26d666['map'](_0x25533f=>{const _0x1026f3=dt(_0x25533f);return function(_0x293090,_0x168c12){const {locale:_0x33b60f}=_0x293090,{label:_0x4eda13,icon:_0x22491b,tooltip:_0x251dae,style:_0x5422b7}=_0x168c12,_0xb9173d=_0x293090['commands']['get']('footnotesStyle'),_0x143b66=new _0x5415e3(_0x33b60f);return _0x143b66['set']({'label':_0x4eda13,'icon':_0x22491b,'tooltip':_0x251dae}),_0x143b66['bind']('isOn')['to'](_0xb9173d,'value',_0x398332=>_0x398332===_0x5422b7),_0x143b66['bind']('isEnabled')['to'](_0xb9173d,'isEnabled'),_0x143b66['on']('execute',()=>{_0x293090['execute']('footnotesStyle',{'value':_0x5422b7}),_0x293090['editing']['view']['focus']();}),_0x143b66;}(_0x2b5d46,_0x29eb7c['find'](_0x4faa7c=>_0x4faa7c['style']===_0x1026f3));});}(_0x6dac4b),_0x475796=new mt(_0x6dac4b['locale'],{'styleGridAriaLabel':_0x10bb10,'styleButtonViews':_0x29ee5f}),_0x1ae7ab=_0x6dac4b['commands']['get']('footnotesStart');return _0x475796['startIndexFieldView']['bind']('isEnabled')['to'](_0x1ae7ab),_0x475796['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1ae7ab),_0x475796['on']('footnotesListStart',(_0x31a95d,_0x45e0f9)=>{_0x6dac4b['execute']('footnotesStart',{'value':_0x45e0f9['startIndex']});}),_0x475796['delegate']('execute')['to'](_0x42f1c4),_0x475796;}({'editor':_0x38cd46,'dropdownView':_0x591344});_0x591344['panelView']['children']['add'](_0x56a5f5);}),_0x591344;};}(_0x15841e));}afterInit(){const {editor:_0x241a35}=this,{t:t}=_0x241a35['locale'],_0x5e0155=_0x241a35['plugins']['get'](_0x5336e5),{defaultPositions:_0x5d1bf1}=_0x243825;_0x5e0155['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x241a35['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x277d49=>{let _0x18c845=_0x277d49['getFirstPosition']()?.['parent'];return _0x18c845?.['is']('$text')&&(_0x18c845=_0x18c845['parent']),_0x18c845?.['is']('element')?_0x18c845['findAncestor'](H):null;},'positions':[_0x5d1bf1['southArrowNorth'],_0x5d1bf1['southArrowNorthMiddleWest'],_0x5d1bf1['southArrowNorthMiddleEast'],_0x5d1bf1['southArrowNorthWest'],_0x5d1bf1['southArrowNorthEast'],_0x5d1bf1['northArrowSouth'],_0x5d1bf1['northArrowSouthMiddleWest'],_0x5d1bf1['northArrowSouthMiddleEast'],_0x5d1bf1['northArrowSouthWest'],_0x5d1bf1['northArrowSouthEast'],_0x5d1bf1['viewportStickyNorth']]});}},wt=class extends _0x3363a2{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
23
+ import{Command as _0x57a4e1,Plugin as _0x2dbde6}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x20ed94,isWidget as _0x4e7e48,toWidget as _0x5c5839,toWidgetEditable as _0x564b65}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x25b33c,KeystrokeHandler as _0x58ed07,global as _0x14d7ee,logWarning as _0x4291a6,uid as _0x57aab8}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x144584,PointerObserver as _0x3f159f}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x425ed8}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x38409c,ButtonView as _0x4f9972,CollapsibleView as _0x84d4cf,ContextualBalloon as _0x3a5be6,FocusCycler as _0x506dde,LabeledFieldView as _0x3eec34,MenuBarMenuListItemButtonView as _0x5c4cf6,View as _0x52facc,ViewCollection as _0x602422,addKeyboardHandlingForGrid as _0x51b50b,createDropdown as _0x29bdc9,createLabeledInputNumber as _0x2615b7}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x2d4cfb,IconListStyleArabicIndic as _0x2b617c,IconListStyleDecimal as _0x438c64,IconListStyleDecimalLeadingZero as _0xa22b87,IconListStyleLowerLatin as _0x3c570d,IconListStyleLowerRoman as _0x2155d3,IconListStyleUpperLatin as _0x2d2db3,IconListStyleUpperRoman as _0x530f85}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x3092a8,_0x260fd3){this['_model']=_0x3092a8,this['_elementName']=_0x260fd3['elementName'],this['_getElementKey']=_0x260fd3['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x48c6e1){const _0x48b43c=new Set(),_0x57ef37=new Map();for(const _0x21f8c8 of _0x48c6e1){if('insert'===_0x21f8c8['type']&&'$text'!==_0x21f8c8['name']&&_0x21f8c8['position']['nodeAfter']){const _0x556635=this['_model']['createRangeOn'](_0x21f8c8['position']['nodeAfter']);for(const _0x4d4dab of _0x556635['getItems']()){if(!_0x4d4dab['is']('element',this['_elementName']))continue;const _0x5d536b=this['_getElementKey'](_0x4d4dab);_0x57ef37['has'](_0x5d536b)||_0x57ef37['set'](_0x5d536b,[]),_0x57ef37['get'](_0x5d536b)['push'](_0x4d4dab);}}if('remove'===_0x21f8c8['type']&&_0x21f8c8['name']===this['_elementName']){const _0x5d42f0=this['_getElementKey']({'getAttribute':_0x214fbc=>_0x21f8c8['attributes']['get'](_0x214fbc)});_0x48b43c['add'](_0x5d42f0);}}for(const [_0xf33034,_0x11e1ab]of this['_trackedElements'])'$graveyard'===_0x11e1ab['root']['rootName']&&_0x48b43c['add'](_0xf33034);for(const _0xdc7c6a of _0x48b43c)this['_trackedElements']['delete'](_0xdc7c6a);for(const [_0x3efa9a,_0x51c40]of _0x57ef37)this['_trackedElements']['set'](_0x3efa9a,_0x51c40[_0x51c40['length']-0x1]);const _0x124b13=new Set();for(const [_0x218cb7,_0x4392fb]of _0x57ef37)_0x48b43c['has'](_0x218cb7)&&(_0x124b13['add'](_0x4392fb[0x0]),_0x4392fb['length']>0x1?_0x57ef37['set'](_0x218cb7,_0x4392fb['slice'](0x1)):_0x57ef37['delete'](_0x218cb7),_0x48b43c['delete'](_0x218cb7));return{'removed':Array['from'](_0x48b43c),'inserted':Array['from'](_0x57ef37['values']())['flat'](),'moved':Array['from'](_0x124b13)};}},V=class extends _0x2dbde6{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45a53e){super(_0x45a53e),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4b3575=>_0x4b3575['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5b628c=>_0x5b628c['getAttribute']('footnoteId')});}init(){const {editor:_0x58f109}=this,{model:_0x1ae819,data:_0x1f0463}=_0x58f109;_0x1ae819['document']['registerPostFixer'](_0x29a1d2=>{const _0x3279d8=_0x1ae819['document']['differ']['getChanges']();let _0x50ee4f=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x29a1d2,_0x3279d8)&&(_0x50ee4f=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x29a1d2,_0x3279d8)&&(_0x50ee4f=!0x0),this['_handleFootnoteReferencesChanges'](_0x29a1d2,_0x3279d8)&&(_0x50ee4f=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x29a1d2)&&(_0x50ee4f=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x29a1d2)&&(_0x50ee4f=!0x0),this['_sortFootnoteDefinitions'](_0x29a1d2)&&(_0x50ee4f=!0x0),_0x50ee4f;}),this['listenTo'](_0x1ae819['document'],'change:data',()=>{_0x1ae819['enqueueChange']({'isUndoable':!0x1},_0x24e252=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x24e252);for(const _0x1a6e38 of this['_footnotes'])_0x1a6e38['definition']['isAttached']()||_0x24e252['remove'](_0x1a6e38['reference']);});},{'priority':'low'}),this['listenTo'](_0x1f0463,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x1609b6){return this['_footnotes']['find'](_0x29ca6f=>_0x29ca6f['id']===_0x1609b6)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x4341cb){this['_footnoteFormatter']=_0x4341cb;}_updateFootnotesCounters(_0x549d40,_0x4b2526=0x0){let _0x35b367=!0x1;for(let _0x352fae=_0x4b2526;_0x352fae<this['_footnotes']['length'];_0x352fae++)this['_updateFootnoteRefCounter'](_0x549d40,_0x352fae)&&(_0x35b367=!0x0);return _0x35b367;}_insertEmptyFootnotesDefinitionsContainer(_0x4303a7,_0x50677b){if(!K(this['editor'],_0x50677b))return null;const _0x3282da=_0x4303a7['createElement']('footnotesDefinitions',{});return _0x4303a7['append'](_0x3282da,_0x50677b),this['_footnotesDefinitions']=_0x3282da,_0x3282da;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x7f5041=[...(_0xb6463a=this['_footnotes'],[..._0xb6463a['reduce']((_0x263d49,_0x23c84a)=>(_0x263d49['add'](_0x23c84a['reference']['root']),_0x263d49),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0xb6463a;for(const _0x102381 of _0x7f5041)if(K(this['editor'],_0x102381))return _0x102381;return null;}_ensureFootnotesDefinitionsContainerExists(_0x2e4c56){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x27f3a4=null;const _0x48c917=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x48c917&&(_0x27f3a4=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2e4c56,_0x48c917)),_0x27f3a4){for(const _0x4bf856 of this['_footnotes'])_0x4bf856['definition']['parent']||_0x2e4c56['insert'](_0x4bf856['definition'],_0x27f3a4,'end');this['_updateFootnotesCounters'](_0x2e4c56);}}_handleFootnotesDefinitionsObjectChanges(_0x31a67a,_0xdbd429){let _0x3fc6c5=!0x1;const {inserted:_0x2ac052,removed:_0x21ff37,moved:_0x283311}=this['_footnoteDefsContainerTracker']['getChanges'](_0xdbd429);if(_0x283311['length']&&(this['_footnotesDefinitions']=_0x283311[0x0]),_0x2ac052['length']){if(_0x2ac052['length']>0x1||this['_footnotesDefinitions']&&_0x2ac052['some'](_0x3a976e=>_0x3a976e!==this['_footnotesDefinitions'])){const _0x2f95f8=_0x31a67a['createElement']('footnotesDefinitions',{}),_0xa73f65=[];this['_footnotesDefinitions']&&_0xa73f65['push'](this['_footnotesDefinitions']),_0xa73f65['push'](..._0x2ac052),_0x31a67a['insert'](_0x2f95f8,_0xa73f65[0x0],'before');for(const _0x39bae6 of _0xa73f65)_0x31a67a['move'](_0x31a67a['createRangeIn'](_0x39bae6),_0x31a67a['createPositionAt'](_0x2f95f8,'end')),_0x31a67a['remove'](_0x39bae6);this['_footnotesDefinitions']=_0x2f95f8,this['_updateFootnotesCounters'](_0x31a67a),_0x3fc6c5=!0x0;}else this['_footnotesDefinitions']=_0x2ac052[0x0];}if(_0x21ff37['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x531e43 of this['_footnotes'])_0x31a67a['remove'](_0x531e43['reference']),_0x3fc6c5=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3fc6c5;}_handleFootnoteDefinitionsChanges(_0x4a0654,_0x2a60a9){let _0x52ef9c=!0x1;const _0x22683e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4510df,moved:_0x2b9615}=this['_footnoteDefsTracker']['getChanges'](_0x2a60a9);for(const _0x1f9976 of[..._0x2b9615,..._0x4510df]){const _0x4d6773=_0x1f9976['getAttribute']('footnoteId'),_0x5d8353=this['getFootnote'](_0x4d6773);_0x5d8353&&(_0x5d8353['definition']=_0x1f9976),T(_0x4a0654,_0x22683e,_0x1f9976)&&(_0x52ef9c=!0x0);}return _0x52ef9c;}_handleFootnoteReferencesChanges(_0x389ec7,_0x24467f){let _0xddcd2e=!0x1;const {removed:_0xdb9377,inserted:_0x2cd0fc,moved:_0x3f913f}=this['_footnoteRefsTracker']['getChanges'](_0x24467f);for(const _0x42d43e of _0xdb9377)this['_handleRemoveFootnoteReferenceById'](_0x389ec7,_0x42d43e)&&(_0xddcd2e=!0x0);for(const _0xb70063 of _0x2cd0fc)this['_handleInsertedFootnoteReference'](_0x389ec7,_0xb70063)&&(_0xddcd2e=!0x0);for(const _0x5c9373 of _0x3f913f)this['_handleMovedFootnoteReference'](_0x389ec7,_0x5c9373)&&(_0xddcd2e=!0x0);return _0xddcd2e;}_handleFootnotesDefinitionsObjectSync(_0x342d92){if(!this['_footnotesDefinitions'])return!0x1;let _0x2a6f2f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x56cc08=[];for(const _0x50702b of this['_footnotesDefinitions']['getChildren']()){const _0x3094fc=_0x50702b['getAttribute']('footnoteId');this['getFootnote'](_0x3094fc)||(_0x56cc08['unshift'](_0x50702b),_0x2a6f2f=!0x0);}for(const _0x207355 of _0x56cc08)_0x342d92['remove'](_0x207355);}const _0x36b167=new Set(),_0x1fc7a9=[];for(const _0x6a5a46 of this['_footnotesDefinitions']['getChildren']()){const _0x558d3d=_0x6a5a46['getAttribute']('footnoteId');_0x36b167['has'](_0x558d3d)?(_0x1fc7a9['unshift'](_0x6a5a46),_0x2a6f2f=!0x0):_0x36b167['add'](_0x558d3d);}for(const _0x153088 of _0x1fc7a9)_0x342d92['remove'](_0x153088);return this['_footnotesDefinitions']['childCount']||(_0x342d92['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2a6f2f=!0x0),_0x2a6f2f;}_handleInsertedFootnoteReference(_0x3d82fe,_0x497b7e){if(this['_footnotes']['find'](_0x552bda=>_0x552bda['reference']===_0x497b7e))return!0x1;let _0x293e9d=!0x1;const _0x27dcfb=_0x497b7e['getAttribute']('footnoteId'),_0x52c78d=this['_footnotes']['findIndex'](_0x116694=>_0x116694['id']===_0x27dcfb);-0x1!==_0x52c78d&&(_0x3d82fe['remove'](this['_footnotes'][_0x52c78d]['reference']),this['_footnotes']['splice'](_0x52c78d,0x1),_0x293e9d=!0x0);let _0x409819=this['_footnotesDefinitions']?function(_0x592585,_0x2bbf46){for(const _0x39eb36 of _0x592585['getChildren']())if(_0x39eb36['getAttribute']('footnoteId')===_0x2bbf46)return _0x39eb36;return null;}(this['_footnotesDefinitions'],_0x27dcfb):null;_0x409819||(_0x409819=_0x3d82fe['createElement']('footnoteDefinition',{'footnoteId':_0x27dcfb}),this['_footnotesDefinitions']&&(_0x3d82fe['insert'](_0x409819,this['_footnotesDefinitions'],'end'),_0x293e9d=!0x0));const _0xa384ee={'id':_0x27dcfb,'reference':_0x497b7e,'definition':_0x409819},_0xe4fae6=j(this['editor']['model'],this['_footnotes'],_0x497b7e);this['_footnotes']['splice'](_0xe4fae6,0x0,_0xa384ee);let _0x5d459a=_0xe4fae6;return-0x1!==_0x52c78d&&(_0x5d459a=Math['min'](_0xe4fae6,_0x52c78d)),this['_updateFootnotesCounters'](_0x3d82fe,_0x5d459a)&&(_0x293e9d=!0x0),_0x293e9d;}_handleRemoveFootnoteReferenceById(_0x46a3b6,_0x1936d7){const _0x52b303=this['_footnotes']['findIndex'](_0x58e85f=>_0x58e85f['id']===_0x1936d7);if(-0x1===_0x52b303)return!0x1;let _0x1755dd=!0x1;const _0x55b036=this['_footnotes'][_0x52b303];return _0x55b036['definition']['isAttached']()&&'$graveyard'!==_0x55b036['definition']['root']['rootName']&&(_0x46a3b6['remove'](_0x55b036['definition']),_0x1755dd=!0x0),this['_footnotes']['splice'](_0x52b303,0x1),this['_updateFootnotesCounters'](_0x46a3b6,_0x52b303)&&(_0x1755dd=!0x0),_0x1755dd;}_handleMovedFootnoteReference(_0x3b7ee9,_0x495e63){const _0x3828b3=_0x495e63['getAttribute']('footnoteId'),_0x2b851d=this['_footnotes']['findIndex'](_0x1b0775=>_0x1b0775['id']===_0x3828b3),_0x14d744=this['_footnotes'][_0x2b851d];let _0x5ea8a5=!0x1;_0x14d744['reference']=_0x495e63,this['_footnotes']['splice'](_0x2b851d,0x1);const _0x55e0f1=j(this['editor']['model'],this['_footnotes'],_0x495e63);return this['_footnotes']['splice'](_0x55e0f1,0x0,_0x14d744),this['_updateFootnotesCounters'](_0x3b7ee9,Math['min'](_0x2b851d,_0x55e0f1))&&(_0x5ea8a5=!0x0),_0x5ea8a5;}_updateFootnoteRefCounter(_0x540138,_0x24ed9d){if(!this['_footnotesDefinitions'])return!0x1;const _0x1a1f06=this['_footnotes'][_0x24ed9d];let _0x1845aa;return _0x1845aa=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1a1f06,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x24ed9d+0x1}):String(_0x24ed9d+0x1),_0x1a1f06['reference']['getAttribute']('footnoteCounter')!=_0x1845aa&&(_0x540138['setAttribute']('footnoteCounter',_0x1845aa,_0x1a1f06['reference']),!0x0);}_sortFootnoteDefinitions(_0x5163e6){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x319be6,_0x1decaf){if(_0x319be6['length']!==_0x1decaf['length'])return!0x1;for(let _0x3bca99=0x0;_0x3bca99<_0x319be6['length'];_0x3bca99++)if(_0x319be6[_0x3bca99]!==_0x1decaf[_0x3bca99])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xa100c=>_0xa100c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xff935=>_0xff935['getAttribute']('footnoteId'))))return!0x1;let _0x154fda=!0x1;for(let _0x57bfa2=0x0;_0x57bfa2<this['_footnotes']['length'];_0x57bfa2++){const _0x1bb5e7=this['_footnotes'][_0x57bfa2],_0x16067d=_0x5163e6['createPositionBefore'](_0x1bb5e7['definition']),_0xf08669=_0x5163e6['createPositionAt'](this['_footnotesDefinitions'],_0x57bfa2);_0x16067d['isEqual'](_0xf08669)||(_0x5163e6['move'](_0x5163e6['createRangeOn'](_0x1bb5e7['definition']),_0xf08669),_0x154fda=!0x0);}return _0x154fda;}_ensureFootnotesReferencesHaveProperOrder(_0x538c8f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3729bd}=this['editor'];let _0x2c5d90=!0x1;for(let _0x306b3c=0x0;_0x306b3c<this['_footnotes']['length']-0x1;_0x306b3c++){const _0x28dec2=this['_footnotes'][_0x306b3c],_0x460675=this['_footnotes'][_0x306b3c+0x1],_0x4d5be3=_0x3729bd['createPositionBefore'](_0x28dec2['reference']),_0x326379=_0x3729bd['createPositionBefore'](_0x460675['reference']);'after'===_0x4d5be3['compareWith'](_0x326379)&&(this['_handleMovedFootnoteReference'](_0x538c8f,_0x28dec2['reference']),_0x306b3c=-0x1,_0x2c5d90=!0x0);}return _0x2c5d90;}};function K(_0xd27cd,_0x12d8ba){return _0xd27cd['model']['schema']['checkChild'](_0x12d8ba,'footnotesDefinitions');}function T(_0x4e64d0,_0x356521,_0x3eca74){if(_0x3eca74['childCount'])return!0x1;const _0x4a9996=_0x356521?'paragraph':'footnoteInlineContent';return _0x4e64d0['insert'](_0x4e64d0['createElement'](_0x4a9996),_0x3eca74),!0x0;}function j(_0x306126,_0x281dc7,_0x3a32eb){if(0x0===_0x281dc7['length'])return 0x0;const _0x2a09e0=_0x306126['createPositionBefore'](_0x3a32eb);for(let _0x3bd13c=0x0;_0x3bd13c<_0x281dc7['length'];_0x3bd13c++){const _0xccfb89=_0x281dc7[_0x3bd13c],_0x2378a5=_0x306126['createPositionBefore'](_0xccfb89['reference']);if('before'===_0x2a09e0['compareWith'](_0x2378a5))return _0x3bd13c;}const _0x52575f=_0x3a32eb['root'];let _0x150e18=-0x1;for(let _0x581a70=_0x281dc7['length']-0x1;_0x581a70>=0x0;_0x581a70--)if(_0x281dc7[_0x581a70]['reference']['root']===_0x52575f){_0x150e18=_0x581a70;break;}if(-0x1!==_0x150e18)return _0x150e18+0x1;const _0x24d91c=_0x306126['document']['getRootNames'](),_0xab5534=_0x24d91c[_0x24d91c['indexOf'](_0x52575f['rootName'])+0x1];if(_0xab5534){for(let _0x40830e=0x0;_0x40830e<_0x281dc7['length'];_0x40830e++)if(_0x281dc7[_0x40830e]['reference']['root']['rootName']===_0xab5534)return _0x40830e;}return _0x281dc7['length'];}var U=class extends _0x57a4e1{['refresh'](){const {model:_0x1b6850,plugins:_0x895ec7}=this['editor'],{selection:_0x3c352c}=_0x1b6850['document'],_0x302dae=this['_getPositionToInsertFootnote'](_0x3c352c),_0x407373=_0x895ec7['get']('FootnotesTracker');this['isEnabled']=!(!_0x302dae||!_0x407373['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0xf7b447){const {editor:_0x21a6c3}=this,{model:_0x14ba6c}=_0x21a6c3,{selection:_0x9f003a}=_0x14ba6c['document'],_0x340ffa=this['_getPositionToInsertFootnote'](_0x9f003a);if(!_0x340ffa)return;const _0x1e8f30=_0x21a6c3['plugins']['get']('FootnotesEditing'),_0x1dc46a=_0xf7b447?.['footnoteId']??_0x57aab8();!function(_0x517c2e){return'string'==typeof _0x517c2e&&_0x517c2e['length']>0x0&&!/\s/['test'](_0x517c2e)&&!/^\d/['test'](_0x517c2e);}(_0x1dc46a)?_0x4291a6('insert-footnote-command-executed-with-invalid-id'):(_0x14ba6c['change'](_0x48f52c=>{const _0x21b524=_0x48f52c['createElement']('footnoteRef',{'footnoteId':_0x1dc46a});_0x14ba6c['insertObject'](_0x21b524,_0x340ffa,null);}),_0x1e8f30['_moveSelectionToFootnoteDefinition'](_0x1dc46a));}_getPositionToInsertFootnote(_0x43323b){const {model:_0x40b174}=this['editor'],{schema:_0x34ae3e}=_0x40b174,_0x325b73=_0x43323b['getFirstRange']();for(const _0xf7bec8 of _0x325b73['getItems']())if(_0x34ae3e['isBlock'](_0xf7bec8)||_0x34ae3e['isObject'](_0xf7bec8))return null;const _0x534d6f=_0x325b73['end'];return _0x34ae3e['checkChild'](_0x534d6f,'footnoteRef')?_0x534d6f:null;}},$=class extends _0x2dbde6{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x298f7f}=this;_0x298f7f['config']['define']('footnotes.multiBlock',!0x0),_0x298f7f['commands']['add']('insertFootnote',new U(_0x298f7f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x118502){const _0x4114a9='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x1ed1f1=0x79170,_0x459437=window['Date']['now'](),_0x29748c=_0x118502['editor'],_0x3ba619=new window['Promise'](_0x39a7b7=>{_0x29748c['once']('ready',_0x39a7b7);}),_0x191387={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4847ee=_0x29748c['config']['get']('licenseKey');async function _0x45ded6(){let _0x1d6d54,_0x2d4eda=null,_0x79dea3=null;try{return'GPL'==_0x4847ee?'NotAllowed':(_0x1d6d54=_0x1bafcd(),_0x1d6d54?(_0x1d6d54['usageEndpoint']&&(_0x79dea3=_0x315bd1(_0x1d6d54['usageEndpoint'],_0x1d6d54['jti'])),await _0x4efc9c()?_0x14027c()?_0x115735()?'Expired':_0x385cf2()?('evaluation'==_0x1d6d54['licenseType']&&(_0x2d4eda=_0x451cb9('EvaluationLimit')),await _0x19a586()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x115735(){const _0xed9368=['evaluation','trial']['includes'](_0x1d6d54['licenseType'])?_0x459437/0x3e8:0xe10*_0x1ed1f1;return _0x1d6d54['exp']<_0xed9368;}function _0x14027c(){const _0x3fdf96=_0x1d6d54['features'];return!!_0x3fdf96&&(!!_0x3fdf96['includes']('*')||!!_0x3fdf96['includes']('FOO'));}function _0x385cf2(){const _0x24b599=_0x1d6d54['licensedHosts'];if(!_0x24b599||0x0==_0x24b599['length'])return!0x0;const {hostname:_0x1812af}=new URL(window['location']['href']);if(_0x24b599['includes'](_0x1812af))return!0x0;const _0x7d1664=_0x1812af['split']('.');return _0x24b599['filter'](_0x3c7ed0=>_0x3c7ed0['includes']('*'))['map'](_0x6b9efd=>_0x6b9efd['split']('.'))['filter'](_0x38d16f=>_0x38d16f['length']<=_0x7d1664['length'])['map'](_0x4c2d8a=>Array(_0x7d1664['length']-_0x4c2d8a['length'])['fill']('*'===_0x4c2d8a[0x0]?'*':'')['concat'](_0x4c2d8a))['some'](_0x2bf970=>_0x7d1664['every']((_0x86623,_0x556d28)=>_0x2bf970[_0x556d28]===_0x86623||'*'===_0x2bf970[_0x556d28]));}function _0x19a586(){return _0x2d4eda&&_0x79dea3?new window['Promise']((_0x1dacba,_0x4d901e)=>{_0x2d4eda['then'](_0x1dacba,_0x4d901e),_0x79dea3['then'](_0x3409bf=>{'Valid'!=_0x3409bf&&_0x1dacba(_0x3409bf);},_0x4d901e);}):_0x2d4eda||_0x79dea3||'Valid';}}function _0x315bd1(_0x2624bb,_0x385dcd){return new window['Promise'](_0x19637c=>{if(_0x4e3b98())return _0x19637c('Valid');_0x14d3cb(),_0x29748c['decorate']('_sendUsageRequest');let _0x672071=!0x1;const _0x4a2dec=_0x57aab8();function _0x52ef8a(_0x44a758){return!!_0x44a758&&('object'==typeof _0x44a758||'function'==typeof _0x44a758)&&'function'==typeof _0x44a758['then']&&'function'==typeof _0x44a758['catch'];}function _0x42a5f7(_0x4977ef){_0x19d610(_0x4977ef)['then'](_0x51aca4=>_0x51aca4&&'ok'==_0x51aca4['status']?_0x399ad9(_0x4cbd86(_0x4a2dec+_0x385dcd))!=_0x51aca4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x6df6c0=>(_0x5e922a(),_0x6df6c0),()=>{const _0x115a73=_0x58d9be();return null==_0x115a73?(_0x5e922a(),'Valid'):_0x459437-_0x115a73>0x240c8400?'UsageLimit':'Valid';})['then'](_0x19637c)['catch'](()=>{_0x19637c('UsageLimit');});const _0x274ca7=0x36ee80;function _0x5e922a(){const _0x1f647f='llct-'+_0x399ad9(_0x4cbd86(_0x2624bb)),_0x1e0e58=_0x4c3744(_0x399ad9(window['Math']['ceil'](_0x459437/_0x274ca7)));window['localStorage']['setItem'](_0x1f647f,_0x1e0e58);}function _0x58d9be(){const _0x456a24='llct-'+_0x399ad9(_0x4cbd86(_0x2624bb)),_0x522f73=window['localStorage']['getItem'](_0x456a24);return _0x522f73?window['parseInt'](_0x4c3744(_0x522f73),0x10)*_0x274ca7:null;}function _0x19d610(_0x2fd8da){return new window['Promise']((_0x2e9f89,_0x19668d)=>{_0x2fd8da['then'](_0x2e9f89,_0x19668d),window['setTimeout'](_0x19668d,0x1d4c0);});}}_0x29748c['on']('_sendUsageRequest',(_0x29f562,_0x3493d0)=>{if(_0x3493d0[0x0]!=_0x2624bb)return _0x19637c('UsageLimit');_0x3493d0[0x1]={..._0x3493d0[0x1],'requestId':_0x4a2dec};},{'priority':'high'}),_0x29748c['on']('_sendUsageRequest',_0x5eb586=>{_0x52ef8a(_0x5eb586['return'])&&(_0x672071=!0x0,_0x42a5f7(_0x5eb586['return']));},{'priority':'low'}),_0x3ba619['then'](()=>{_0x672071||_0x19637c('UsageLimit');});});function _0x4e3b98(){return'auto'==_0x29748c['editing']['view']['_overlayModeHint'];}function _0x14d3cb(){_0x29748c['editing']['view']['_overlayModeHint']='auto';}}function _0x451cb9(_0x3bcdff){const _0x128988=[new window['Promise'](_0x3dddd8=>setTimeout(_0x3dddd8,0x93ecc)),_0x3ba619['then'](()=>new window['Promise'](_0x14d264=>{let _0x3b148a=0x0;_0x29748c['model']['on']('applyOperation',(_0x349905,_0x4f5299)=>{_0x4f5299[0x0]['isDocumentOperation']&&_0x3b148a++,0x5e8==_0x3b148a&&(_0x14d264(),_0x349905['off']());});}))];return window['Promise']['race'](_0x128988)['then'](()=>_0x3bcdff);}async function _0x4912cd(){await _0x3ba619,_0x29748c['model']['change']=_0x51be55,_0x29748c['model']['enqueueChange']=_0x51be55,_0x29748c['enableReadOnlyMode']('model');}function _0x11a9cb(_0x53624d){const _0x387822=_0x540800();_0x29748c[_0x387822]='footnotesLicenseKey'+_0x53624d,'Valid'!=_0x53624d&&_0x4912cd();}function _0x540800(){const _0x50ee5c=window['String'](window['performance']['now']())['replace']('.','');let _0xabedf5='u';for(let _0x805255=0x0;_0x805255<_0x50ee5c['length'];_0x805255+=0x2){let _0x81eece=window['parseInt'](_0x50ee5c['substring'](_0x805255,_0x805255+0x2));_0x81eece>=0x3e&&(_0x81eece-=0x3e),_0xabedf5+=_0x4114a9[_0x81eece];}return _0xabedf5;}function _0x1bafcd(){const _0x33269e=_0x4847ee['split']('.');if(0x3!=_0x33269e['length'])return null;return _0x27f6fc(_0x33269e[0x1]);function _0x27f6fc(_0x167329){const _0x33a7eb=_0xc21f34(_0x167329);return _0x33a7eb&&_0x212ac3()?_0x33a7eb:null;function _0x212ac3(){const _0x2eefaa=_0x33a7eb['jti'],_0x3fc745=window['parseInt'](_0x2eefaa['substring'](_0x2eefaa['length']-0x8),0x10),_0x4b83b3={..._0x33a7eb,'jti':_0x2eefaa['substring'](0x0,_0x2eefaa['length']-0x8)};return delete _0x4b83b3['vc'],_0x4cbd86(_0x4b83b3)==_0x3fc745;}}}async function _0x4efc9c(){let _0x514f1d=!0x0;try{const [_0x4d05c1,_0x1af7e9,_0x53a725]=_0x4847ee['split']('.');return _0x388e6f(_0x4d05c1),await _0x206ecf(_0x4d05c1,_0x1af7e9,_0x53a725),_0x514f1d;}catch{return!0x1;}function _0x388e6f(_0x35fe2b){const _0x34c288=_0xc21f34(_0x35fe2b);_0x34c288&&'ES256'==_0x34c288['alg']||(_0x514f1d=!0x1);}async function _0x206ecf(_0x39b71a,_0x2030cb,_0x547df9){const _0x5c496f=window['Uint8Array']['from'](_0x159139(_0x547df9),_0x4b9250=>_0x4b9250['charCodeAt'](0x0)),_0x5c7266=new window['TextEncoder']()['encode'](_0x39b71a+'.'+_0x2030cb),_0x304dbe=window['crypto']['subtle'];if(!_0x304dbe)return;const _0x3a0892=await _0x304dbe['importKey']('jwk',_0x191387,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x304dbe['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3a0892,_0x5c496f,_0x5c7266)||(_0x514f1d=!0x1);}}function _0xc21f34(_0x5d2059){return _0x5d2059['startsWith']('ey')?JSON['parse'](_0x159139(_0x5d2059)):null;}function _0x159139(_0x1d4c17){return window['atob'](_0x1d4c17['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4cbd86(_0x5868bb){let _0x2cd1f4=0x1505;function _0x574b53(_0x23e2e5){for(let _0x2612eb=0x0;_0x2612eb<_0x23e2e5['length'];_0x2612eb++){const _0x1dfb19=_0x23e2e5['charCodeAt'](_0x2612eb);_0x2cd1f4=(_0x2cd1f4<<0x5)+_0x2cd1f4+_0x1dfb19,_0x2cd1f4&=_0x2cd1f4;}}function _0x43b492(_0x30d96d){Array['isArray'](_0x30d96d)?_0x30d96d['forEach'](_0x43b492):_0x30d96d&&'object'==typeof _0x30d96d?Object['entries'](_0x30d96d)['sort']()['forEach'](([_0x2a8b43,_0x521d74])=>{_0x574b53(_0x2a8b43),_0x43b492(_0x521d74);}):_0x574b53(window['String'](_0x30d96d));}return _0x43b492(_0x5868bb),_0x2cd1f4>>>0x0;}function _0x399ad9(_0x447019){return _0x447019['toString'](0x10)['padStart'](0x8,'0');}function _0x4c3744(_0x333a78){return _0x333a78['split']('')['reverse']()['join']('');}function _0x51be55(){}_0x11a9cb(await _0x45ded6());}(this);}_moveSelectionToFootnoteDefinition(_0x2f06f1){const {plugins:_0x58dc1a,editing:_0x2f3487,model:_0x1f7ba0}=this['editor'],_0x4c7d68=_0x58dc1a['get'](V)['getFootnote'](_0x2f06f1);return!!_0x4c7d68&&(_0x1f7ba0['change'](_0xacf4f8=>{_0xacf4f8['setSelection'](_0xacf4f8['createPositionAt'](_0x4c7d68['definition'],'end'));}),_0x2f3487['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x2645a1){const {plugins:_0x160a58,editing:_0x3a63b5,model:_0x38b48d}=this['editor'],_0x3274e6=_0x160a58['get'](V)['getFootnote'](_0x2645a1);return!!_0x3274e6&&(_0x38b48d['change'](_0x389d5e=>{_0x389d5e['setSelection'](_0x3274e6['reference'],'on');}),_0x3a63b5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1ae22a}=this['editor']['model'],_0x1f0c2c=this['editor']['config']['get']('footnotes.multiBlock');_0x1ae22a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1ae22a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1ae22a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1f0c2c?_0x1ae22a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1ae22a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1ae22a['addChildCheck'](_0x5e3a87=>{for(const _0x63252c of _0x5e3a87)if('footnoteDefinition'===_0x63252c['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x1fcd9e}=this,{conversion:_0x27f508,editing:_0x21bb97}=_0x1fcd9e,{t:t}=_0x1fcd9e['locale'];_0x27f508['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5adf01,{writer:_0x5c205c,consumable:_0x2b3e0b})=>{const _0x517156=_0x5adf01['getChild'](0x0);if(!_0x517156||!_0x517156['is']('element','a'))return null;const _0x14fd2b=_0x517156['getAttribute']('href')||'';if(!_0x14fd2b['startsWith']('#'))return null;const _0x4cdd45=_0x14fd2b['replace'](/^#/,'');if(!_0x4cdd45)return null;_0x2b3e0b['consume'](_0x517156,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a2898}of _0x21bb97['view']['createRangeIn'](_0x517156))_0x5a2898['is']('$textProxy')?_0x2b3e0b['consume'](_0x5a2898['textNode'],{'name':!0x0}):_0x5a2898['is']('element')&&_0x2b3e0b['consume'](_0x5a2898,{'name':!0x0});return _0x5c205c['createElement']('footnoteRef',{'footnoteId':_0x4cdd45});}}),_0x27f508['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x57d7af,{writer:_0x370ef9})=>z(_0x57d7af,_0x370ef9)}),_0x27f508['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3cf2ee,{writer:_0x2e07e3})=>{const _0xf89480=_0x3cf2ee['getAttribute']('footnoteCounter');return _0x5c5839(z(_0x3cf2ee,_0x2e07e3),_0x2e07e3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xf89480)});}});}_defineDefinitionsConverters(){const {editor:_0x3722ec}=this,{t:t}=_0x3722ec['locale'],{conversion:_0x5aa681}=_0x3722ec;_0x5aa681['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5aa681['for']('upcast')['add'](_0x1a5c58=>{_0x1a5c58['on']('element:ol',(_0xd5778a,_0x413ccc,_0x795a54)=>{const _0x4d8f1c=_0x413ccc['viewItem'];if(!_0x4d8f1c['hasClass']('footnotes-list')||!_0x413ccc['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x795a54['consumable']['consume'](_0x4d8f1c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x17cdd5,modelCursor:_0x3dfd14}=_0x795a54['convertChildren'](_0x413ccc['viewItem'],_0x413ccc['modelCursor']);_0x413ccc['modelRange']=_0x17cdd5,_0x413ccc['modelCursor']=_0x3dfd14;}),_0x1a5c58['on']('element:hr',(_0x993fa,_0x2ae31d,_0x26321d)=>{const _0x54920e=_0x2ae31d['viewItem'];_0x54920e['hasClass']('footnotes-divider')&&_0x2ae31d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x26321d['consumable']['consume'](_0x54920e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5aa681['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x251d1a,{writer:_0x2d6715})=>X(_0x2d6715)}),_0x5aa681['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f414e,{writer:_0x5cb928})=>{const _0xf37018=_0x5c5839(X(_0x5cb928,{'data-footnotes-list-label':t('Footnotes')}),_0x5cb928,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5cb928['setCustomProperty']('footnotesDefinitions',!0x0,_0xf37018),_0xf37018;}});}_defineDefinitionConverters(){const {editor:_0xf50d83}=this,{conversion:_0x232ba8,locale:_0x1e32cf}=_0xf50d83,_0x25b362=_0xf50d83['config']['get']('footnotes.multiBlock');_0x232ba8['for']('upcast')['add'](_0x81d879=>{_0x81d879['on']('element:li',(_0x5ee5b8,_0x5cdbc2,_0x673c89)=>{const _0x24abb8=_0x5cdbc2['viewItem'];if(!_0x24abb8['hasClass']('footnote-definition')||!_0x24abb8['getAttribute']('id'))return;const _0x46a479=_0x24abb8['parent'];if(!_0x46a479['is']('element','ol')||!_0x46a479['hasClass']('footnotes-list'))return;if(!_0x673c89['consumable']['test'](_0x24abb8,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xed12c2=_0x673c89['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x24abb8['getAttribute']('id')});if(!_0x673c89['safeInsert'](_0xed12c2,_0x5cdbc2['modelCursor']))return;_0x673c89['consumable']['consume'](_0x24abb8,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x423beb=Array['from'](_0x24abb8['getChildren']())['find'](_0x39c34a=>_0x39c34a['is']('element')&&_0x39c34a['hasClass']('footnote-content'));for(const _0x4410c1 of _0x24abb8['getChildren']())_0x4410c1['is']('element')&&(_0x673c89['consumable']['consume'](_0x4410c1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x673c89['consumable']['consume'](_0x4410c1,{'name':!0x0,'classes':'footnote-content'}));if(_0x423beb){if(_0x25b362)_0x673c89['convertChildren'](_0x423beb,_0xed12c2);else{const _0x2ebde7=_0x673c89['writer']['createElement']('footnoteInlineContent');_0x673c89['writer']['insert'](_0x2ebde7,_0xed12c2),_0x673c89['convertChildren'](_0x423beb,_0x2ebde7);}}_0x673c89['updateConversionResult'](_0xed12c2,_0x5cdbc2);});}),_0x232ba8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1f66cc,{writer:_0xac5bb4})=>J(_0x1f66cc,_0xac5bb4,_0x1e32cf,{'dataPipeline':!0x0})}),_0x232ba8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3e024b,{writer:_0x585d0f})=>J(_0x3e024b,_0x585d0f,_0x1e32cf)});}_defineBogusParagraphConverters(){const {editor:_0x33ebb5}=this,{conversion:_0x4cd492}=_0x33ebb5;_0x33ebb5['config']['get']('footnotes.multiBlock')?(_0x4cd492['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x4cd492['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x33ebb5['model']['document'],'change:data',()=>{!function(_0x2b52e1,_0x40bbc6){const _0x8e634=_0x2b52e1['document']['differ'],_0x393716=new Set();for(const _0x5a29af of _0x8e634['getChanges']()){const _0x1b181a='attribute'==_0x5a29af['type']?_0x5a29af['range']['start']['parent']:_0x5a29af['position']['parent'];_0x1b181a['is']('element','footnoteDefinition')&&_0x393716['add'](_0x1b181a);}for(const _0xbb1a18 of _0x393716['values']()){const _0x13f5b3=Array['from'](_0xbb1a18['getChildren']())['filter'](_0x37bb53=>q(_0x37bb53,_0x40bbc6['mapper']));for(const _0xc97978 of _0x13f5b3)_0x40bbc6['reconvertItem'](_0xc97978);}}(_0x33ebb5['model'],_0x33ebb5['editing']);})):(_0x4cd492['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x4cd492['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x43f2b9,{writer:_0x54d870})=>{const _0x26e581=_0x54d870['createContainerElement']('span');return _0x54d870['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x26e581),_0x26e581;}}));}['_defineKeyboardHandlers'](){const {editor:_0x986c78}=this,{editing:_0x15efcc,t:t}=_0x986c78,_0xdae8e3=_0x986c78['model']['document']['selection'];_0x986c78['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x986c78['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x15efcc['view']['document'],'enter',(_0x58f662,_0x255286)=>{const _0xdd5407=function(_0x43da31){const _0x3381fa=_0x43da31['getSelectedElement']();return _0x3381fa?.['is']('element','footnoteRef')?_0x3381fa:null;}(_0xdae8e3);if(_0xdd5407){const _0x10a8c1=_0xdd5407['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x10a8c1),_0x255286['preventDefault'](),_0x58f662['stop']();}},{'context':_0x4e7e48});}['_defineClickHandlers'](){const {editor:_0x350099}=this,{editing:_0x53c3b4}=_0x350099;_0x350099['editing']['view']['addObserver'](_0x3f159f),_0x350099['editing']['view']['addObserver'](_0x144584);let _0x1ed003=!0x1;this['listenTo'](_0x53c3b4['view']['document'],'pointerdown',(_0x2f428d,_0x347a9c)=>{const {target:_0x52d98d}=_0x347a9c,_0x2ae044=_0x53c3b4['view']['document']['selection'];_0x1ed003=!!(_0x52d98d?.['is']('element','a')&&_0x52d98d['parent']?.['is']('element','sup')&&_0x52d98d['parent']['hasClass']('footnote'))&&_0x2ae044['getSelectedElement']()===_0x52d98d['parent'];},{'priority':'high'}),this['listenTo'](_0x53c3b4['view']['document'],'click',(_0x52668e,_0xe1b72f)=>{const {target:_0x1d07fb}=_0xe1b72f;if(!_0x1d07fb?.['is']('element','a'))return;if(_0x1d07fb['parent']?.['is']('element','sup')&&_0x1d07fb['parent']['hasClass']('footnote')&&!_0x1ed003)return void _0xe1b72f['preventDefault']();let _0x7e77c6=_0x1d07fb['getAttribute']('href');if(!_0x7e77c6?.['startsWith']('#'))return;_0x7e77c6=_0x7e77c6['slice'](0x1);let _0xb2aef9=!0x1;(_0x7e77c6['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x7e77c6['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x7e77c6))&&(_0xb2aef9=!0x0),_0xb2aef9&&(_0xe1b72f['preventDefault'](),_0x52668e['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x5000e3}={}){return(_0x543f19,{writer:_0x5421f4})=>{if(!B(_0x543f19))return null;if(!_0x5000e3)return _0x5421f4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5d6e7f=_0x5421f4['createContainerElement']('p');return _0x5421f4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d6e7f),_0x5d6e7f;};}function B(_0x3c7855){const {parent:_0x3cb48a}=_0x3c7855;if(!_0x3cb48a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3cb48a['childCount'])return!0x1;for(const _0x145bac of _0x3c7855['getAttributeKeys']())if(!_0x145bac['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x145bac)return!0x1;return!0x0;}function q(_0xbe0722,_0x4cd851){if(!_0xbe0722['is']('element','paragraph'))return!0x1;const _0x21897b=_0x4cd851['toViewElement'](_0xbe0722);return!!_0x21897b&&B(_0xbe0722)!==_0x21897b['is']('element','span');}function H(_0x11b1f8){return _0x4e7e48(_0x11b1f8)&&_0x11b1f8['is']('containerElement')&&!!_0x11b1f8['getCustomProperty']('footnotesDefinitions');}function X(_0x336273,_0x5a32ba={}){const _0x45745c=_0x336273['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x138308=_0x336273['createContainerElement']('ol',{'class':'footnotes-list'},_0x336273['createSlot']());return _0x336273['createContainerElement']('div',{'class':'footnotes',..._0x5a32ba},[_0x45745c,_0x138308]);}function z(_0x5a6e7a,_0x3abe64){const _0x536747=_0x5a6e7a['getAttribute']('footnoteId'),_0x346faa=_0x5a6e7a['getAttribute']('footnoteCounter'),_0x51e411=_0x3abe64['createUIElement']('a',{'href':'#'+_0x536747},function(_0x3e44f1){const _0x1b345b=this['toDomElement'](_0x3e44f1);return _0x1b345b['textContent']=_0x346faa,_0x1b345b;}),_0x5157d8=_0x3abe64['createContainerElement']('sup',{'id':'ref-'+_0x536747,'class':'footnote'},[_0x51e411]);return _0x5157d8['getFillerOffset']=()=>null,_0x5157d8;}function J(_0x185f52,_0x2cde0a,_0x301c43,{dataPipeline:_0x26afaa}={}){const {t:t}=_0x301c43,_0x5c16e9=_0x185f52['getAttribute']('footnoteId'),_0x3f48ca=_0x2cde0a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5c16e9},function(_0xc94e17){const _0x9e557=this['toDomElement'](_0xc94e17);return _0x9e557['innerText']='^',_0x9e557;}),_0x23b2c5=_0x26afaa?_0x2cde0a['createContainerElement']('div',{'class':'footnote-content'}):_0x564b65(_0x2cde0a['createEditableElement']('div',{'class':'footnote-content'}),_0x2cde0a,{'label':t('Footnote\x20content.')});return _0x2cde0a['insert'](_0x2cde0a['createPositionAt'](_0x23b2c5,0x0),_0x2cde0a['createSlot']()),_0x2cde0a['createContainerElement']('li',{'class':'footnote-definition','id':_0x5c16e9},[_0x3f48ca,_0x23b2c5]);}var Q=class extends _0x2dbde6{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x425ed8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x488e17}=this,{plugins:_0x3614cc,model:_0x318538}=_0x488e17,_0x339c82=_0x3614cc['get'](_0x425ed8),_0x57255d=_0x3614cc['get'](V);this['listenTo'](_0x339c82,'outputTransformation',(_0xc467bb,_0x5ae221)=>{const _0x132af9=W(_0x318538['createRangeIn'](_0x5ae221['content']));if(!_0x132af9['length'])return;const _0x1f2b96=_0x57255d['getFootnotes'](),_0x5e4dfb=_0x132af9['reduce']((_0x42276f,_0x2a4f0b)=>{const _0x1ad65c=_0x1f2b96['find'](_0x5846e0=>_0x5846e0['id']===_0x2a4f0b);if(_0x1ad65c){const _0xce766e=_0x488e17['data']['toView'](_0x1ad65c['definition'],{'isClipboardPipeline':!0x0}),_0x51b089=_0x488e17['data']['htmlProcessor']['toData'](_0xce766e);_0x42276f[_0x1ad65c['id']]=_0x51b089;}return _0x42276f;},Object['create'](null));_0x5ae221['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5e4dfb));});}_handlePasteFootnotesDefinitions(){const {editor:_0x3b5cdc}=this,{model:_0x4a80f4,plugins:_0x23b6d5}=_0x3b5cdc,{view:_0x5bf1d5}=_0x3b5cdc['editing'],_0x26d161=_0x23b6d5['get'](_0x425ed8),_0x4be2ed=_0x23b6d5['get'](V),_0x19045f=_0x3b5cdc['config']['get']('footnotes.multiBlock');let _0x2aa303=null;this['listenTo'](_0x5bf1d5['document'],'clipboardInput',(_0x5f20b8,_0x556c14)=>{const _0x56d71f=_0x556c14['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x2aa303=_0x56d71f?JSON['parse'](_0x56d71f):null;}),this['listenTo'](_0x26d161,'contentInsertion',(_0x4dd26d,_0x3024a9)=>{const _0x435466=_0x3024a9['sourceEditorId']===this['editor']['id'];_0x435466&&'drop'===_0x3024a9['method']||_0x4a80f4['change'](_0x488371=>{let _0x1203cd=_0x4be2ed['getFootnotesDefinitionsObjectElement']();const _0x1c98e8=!!_0x1203cd&&Array['from'](_0x4a80f4['document']['selection']['getSelectedBlocks']())['includes'](_0x1203cd);if(!_0x2aa303&&function(_0x2663c4){for(const {item:_0x4299bc}of _0x2663c4)if(_0x4299bc['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4a80f4['createRangeIn'](_0x3024a9['content']))&&(_0x2aa303=function(_0x39bfcd,_0x6910f7){const _0x55e902=G(_0x39bfcd,_0x6910f7);if(!_0x55e902)return null;const _0x4e8302=Object['create'](null);for(const _0xcd2f4 of _0x55e902['getChildren']())_0xcd2f4['is']('element','footnoteDefinition')&&_0xcd2f4['hasAttribute']('footnoteId')&&(_0x4e8302[_0xcd2f4['getAttribute']('footnoteId')]=_0x39bfcd['cloneElement'](_0xcd2f4,!0x0));return Object['keys'](_0x4e8302)['length']?_0x4e8302:null;}(_0x488371,_0x3024a9['content'])),(_0x1203cd&&!_0x1c98e8||!_0x1203cd&&!_0x2aa303)&&function(_0x3630bb,_0x2b5db3){const _0x4376c9=[];for(const {item:_0x295462}of _0x3630bb['createRangeIn'](_0x2b5db3))_0x295462['is']('element','footnotesDefinitions')&&_0x4376c9['push'](_0x295462);for(const _0x53e454 of _0x4376c9)_0x3630bb['remove'](_0x53e454);}(_0x488371,_0x3024a9['content']),!_0x2aa303)return;const {selection:_0x1c5012}=_0x4a80f4['document'],_0x4740fe=_0x1c5012['getFirstRange']()['root'];if(!_0x1203cd||_0x1c98e8){if(_0x1203cd=G(_0x488371,_0x3024a9['content']),_0x1203cd||=_0x4be2ed['_insertEmptyFootnotesDefinitionsContainer'](_0x488371,_0x4740fe),!_0x1203cd){const _0x27cb54=_0x4be2ed['_getFirstSuitableFootnotesDefinitionsRoot']();_0x1203cd||=_0x27cb54&&_0x4be2ed['_insertEmptyFootnotesDefinitionsContainer'](_0x488371,_0x27cb54);}if(!_0x1203cd)return void(_0x2aa303=null);}const _0x5b35d4=Array['from'](_0x1c5012['getRanges']())['flatMap'](W),_0xba6176=function(_0x2fbcf3,_0x40c685,_0x497aa7){const _0x14ffdf=Object['create'](null);for(const {item:_0x4b438b}of _0x2fbcf3['createRangeIn'](_0x40c685))if(_0x4b438b['is']('element','footnoteRef')){const _0x2e12e8=_0x4b438b['getAttribute']('footnoteId');if(!_0x497aa7(_0x2e12e8))continue;_0x14ffdf[_0x2e12e8]||(_0x14ffdf[_0x2e12e8]=_0x57aab8()),_0x2fbcf3['setAttribute']('footnoteId',_0x14ffdf[_0x2e12e8],_0x4b438b);}return _0x14ffdf;}(_0x488371,_0x3024a9['content'],_0x3b0b0d=>!_0x435466||!!_0x4be2ed['getFootnote'](_0x3b0b0d)&&!_0x5b35d4['includes'](_0x3b0b0d));for(const [_0x4b8b15,_0x39cb10]of Object['entries'](_0x2aa303)){const _0x2ae984=_0xba6176[_0x4b8b15]||_0x4b8b15;let _0x366bf9;if('string'!=typeof _0x39cb10)_0x366bf9=_0x39cb10,_0x2ae984!==_0x4b8b15&&_0x488371['setAttribute']('footnoteId',_0x2ae984,_0x366bf9);else{_0x366bf9=_0x488371['createElement']('footnoteDefinition',{'footnoteId':_0x2ae984});const _0x1e35be=_0x3b5cdc['data']['htmlProcessor']['toView'](_0x39cb10);let _0x17b162;if(_0x19045f)_0x17b162=_0x3b5cdc['data']['toModel'](_0x1e35be,_0x366bf9);else{_0x17b162=_0x488371['createElement']('footnoteInlineContent');const _0x306988=_0x3b5cdc['data']['toModel'](_0x1e35be,_0x17b162);_0x488371['insert'](_0x306988,_0x17b162);}_0x488371['append'](_0x17b162,_0x366bf9);}_0x488371['insert'](_0x366bf9,_0x1203cd,'end');}_0x2aa303=null;});});}};function G(_0x4dd3c2,_0x5846ef){for(const {item:_0xf337c0}of _0x4dd3c2['createRangeIn'](_0x5846ef))if(_0xf337c0['is']('element','footnotesDefinitions'))return _0xf337c0;return null;}function W(_0x2007db){const _0xc17c96=new Set();for(const {item:_0x29dd9f}of _0x2007db)_0x29dd9f['is']('element','footnoteRef')&&_0xc17c96['add'](_0x29dd9f['getAttribute']('footnoteId'));return Array['from'](_0xc17c96);}var Y=class extends _0x2dbde6{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xd6f2ff}=this,{componentFactory:_0x3e4433}=_0xd6f2ff['ui'];_0x3e4433['add']('insertFootnote',Z(_0xd6f2ff,_0x4f9972)),_0x3e4433['add']('menuBar:insertFootnote',Z(_0xd6f2ff,_0x5c4cf6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x27e3a1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xf79585;for(const _0x2e99ea in _0x27e3a1){const _0x551b8b=_0x2e99ea,_0x5bdc18=_0x27e3a1[_0x551b8b];if('footnotesLicenseKeyValid'==_0x5bdc18||'footnotesLicenseKeyInvalid'==_0x5bdc18||'footnotesLicenseKeyExpired'==_0x5bdc18||'footnotesLicenseKeyDomainLimit'==_0x5bdc18||'footnotesLicenseKeyNotAllowed'==_0x5bdc18||'footnotesLicenseKeyEvaluationLimit'==_0x5bdc18||'footnotesLicenseKeyUsageLimit'==_0x5bdc18){delete _0x27e3a1[_0x551b8b],_0xf79585=_0x5bdc18,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xf79585&&_0x27e3a1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xf79585&&_0x27e3a1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xf79585&&_0x27e3a1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xf79585&&_0x27e3a1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xf79585&&_0x27e3a1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xf79585&&_0x27e3a1['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x34f72d,_0x1a5701){const _0x289ca3=_0x34f72d['commands']['get']('insertFootnote');return _0x2475fc=>{const {t:t}=_0x2475fc,_0x5be680=new _0x1a5701(_0x2475fc),_0xc79509=_0x5be680 instanceof _0x5c4cf6;return _0x5be680['bind']('isEnabled')['to'](_0x289ca3,'isEnabled'),_0x5be680['set']({'label':t(_0xc79509?'Footnote':'Insert\x20footnote'),'icon':_0x2d4cfb,'tooltip':!0x0}),_0x5be680['on']('execute',()=>{_0x289ca3['execute'](),_0x34f72d['editing']['view']['focus']();}),_0x5be680;};}var tt=class extends _0x2dbde6{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x57a4e1{['refresh'](){const {editor:_0xbc6602}=this,_0x2bdaf4=_0xbc6602['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bdaf4,this['value']=_0x2bdaf4?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x56e7c7}){const {editor:_0x5424a7}=this,_0x33d34a=_0x5424a7['plugins']['get'](V),_0x3288af=_0x33d34a['getFootnotesDefinitionsObjectElement']();_0x3288af&&nt['includes'](_0x56e7c7)&&_0x5424a7['model']['change'](_0x29d038=>{_0x29d038['setAttribute']('footnotesListStyle',_0x56e7c7,_0x3288af),_0x33d34a['_updateFootnotesCounters'](_0x29d038);});}},st=class extends _0x57a4e1{['refresh'](){const {editor:_0x6a3f99}=this,_0x2be104=_0x6a3f99['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2be104,this['value']=_0x2be104?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x3db80c}){const {editor:_0x4e10fc}=this,_0x18ea51=_0x4e10fc['plugins']['get'](V),_0x5c65bc=_0x18ea51['getFootnotesDefinitionsObjectElement']();_0x5c65bc&&Number['isInteger'](_0x3db80c)&&_0x4e10fc['model']['change'](_0x5dff6e=>{_0x5dff6e['setAttribute']('footnotesListStart',_0x3db80c,_0x5c65bc),_0x18ea51['_updateFootnotesCounters'](_0x5dff6e);});}};function rt({style:_0x171664,digits:_0x37f26e,value:_0x4ed6b7}){const _0x199c9d=Math['floor'](_0x4ed6b7),_0x2d605f=function(_0x184899){switch(_0x184899){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};}}(_0x171664);switch((_0x199c9d>_0x2d605f['max']||_0x199c9d<_0x2d605f['min'])&&(_0x171664='decimal'),_0x171664){case'decimal-leading-zero':return function(_0x365858,_0x283d99){return String(_0x365858)['padStart'](_0x283d99,'0');}(_0x199c9d,Math['max'](0x2,_0x37f26e));case'lower-alpha':case'lower-latin':return lt(_0x199c9d,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x199c9d,!0x0);case'lower-roman':return ft(_0x199c9d,!0x1);case'upper-roman':return ft(_0x199c9d,!0x0);case'arabic-indic':return String(_0x199c9d)['replace'](/\d/g,_0xdaf6bb=>ct[Number(_0xdaf6bb)]);default:return String(_0x199c9d);}}function lt(_0x297692,_0x3ae2e1){let _0xbbab5='',_0x11ae09=_0x297692;for(;_0x11ae09>0x0;){const _0x4c2e85=(_0x11ae09-0x1)%0x1a;_0xbbab5=String['fromCharCode'](0x61+_0x4c2e85)+_0xbbab5,_0x11ae09=Math['floor']((_0x11ae09-0x1)/0x1a);}return _0x3ae2e1?_0xbbab5['toUpperCase']():_0xbbab5;}const at=[{'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 ft(_0x374ec9,_0x293b3f){let _0x5678ec='',_0x2c1b94=_0x374ec9;for(const {value:_0x2a587b,numeral:_0xe88c51}of at)for(;_0x2c1b94>=_0x2a587b;)_0x5678ec+=_0xe88c51,_0x2c1b94-=_0x2a587b;return _0x293b3f?_0x5678ec:_0x5678ec['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x2dbde6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x534396}=this;_0x534396['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x534396['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x534396['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x534396['commands']['add']('footnotesStyle',new it(_0x534396)),_0x534396['commands']['add']('footnotesStart',new st(_0x534396)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2932b8}=this,{schema:_0x5d1be2}=_0x2932b8['model'];_0x5d1be2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x4e7315}=this,{conversion:_0x171999,model:_0x364328}=_0x4e7315,{schema:_0x402888}=_0x364328;_0x171999['for']('upcast')['add'](_0xa0a0c1=>{_0xa0a0c1['on']('element:ol',(_0x434703,_0x40fe42,_0x249d39)=>{const _0x29d527=_0x40fe42['viewItem'],_0x132c4b=_0x40fe42['modelCursor']?.['parent'];_0x29d527['hasClass']('footnotes-list')&&_0x132c4b?.['is']('element','footnotesDefinitions')&&(function(_0x2c6c0,_0x407245,_0x4fe344,_0x492689){if(!_0x492689['checkAttribute'](_0x407245,'footnotesListStart'))return;let _0x34899f=0x1;const _0x57be80=_0x4fe344['consumable']['consume'](_0x2c6c0,{'attributes':'start'});if(_0x57be80){const _0x334258=Number['parseInt'](_0x2c6c0['getAttribute']('start'),0xa);Number['isNaN'](_0x334258)||(_0x34899f=_0x334258);}!_0x57be80&&_0x407245['hasAttribute']('footnotesListStart')||_0x4fe344['writer']['setAttribute']('footnotesListStart',_0x34899f,_0x407245);}(_0x29d527,_0x132c4b,_0x249d39,_0x402888),function(_0x3c88f7,_0x54824a,_0x3b4692,_0x21554f){if(!_0x21554f['checkAttribute'](_0x54824a,'footnotesListStyle'))return;let _0x49b890='decimal',_0x58868b=!0x1;if(_0x3b4692['consumable']['consume'](_0x3c88f7,{'attributes':'type'})){const _0x483f5e={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x3c88f7['getAttribute']('type')];_0x483f5e&&(_0x49b890=_0x483f5e),_0x58868b=!0x0;}if(_0x3b4692['consumable']['consume'](_0x3c88f7,{'styles':'list-style-type'})){const _0x355a2e=dt(_0x3c88f7['getStyle']('list-style-type'));_0x355a2e&&(_0x49b890=_0x355a2e),_0x58868b=!0x0;}!_0x58868b&&_0x54824a['hasAttribute']('footnotesListStyle')||_0x3b4692['writer']['setAttribute']('footnotesListStyle',_0x49b890,_0x54824a);}(_0x29d527,_0x132c4b,_0x249d39,_0x402888));});}),_0x171999['for']('downcast')['add'](_0x357c2e=>{_0x357c2e['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2341c0,_0x1e3f56,_0x439f61)=>{if(!_0x439f61['consumable']['consume'](_0x1e3f56['item'],_0x2341c0['name']))return;const _0xa1f080=ht(_0x1e3f56['item'],_0x439f61['mapper']),{attributeNewValue:_0x2874df}=_0x1e3f56;null==_0x2874df||0x1===_0x2874df?_0x439f61['writer']['removeAttribute']('start',_0xa1f080):_0x439f61['writer']['setAttribute']('start',String(_0x2874df),_0xa1f080);}),_0x357c2e['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x408863,_0x1595db,_0x19b600)=>{if(!_0x19b600['consumable']['consume'](_0x1595db['item'],_0x408863['name']))return;const _0x49a372=ht(_0x1595db['item'],_0x19b600['mapper']),{attributeNewValue:_0x3db678}=_0x1595db;_0x3db678&&'decimal'!==_0x3db678?_0x19b600['writer']['setStyle']('list-style-type',_0x3db678,_0x49a372):_0x19b600['writer']['removeStyle']('list-style-type',_0x49a372);});});}_definePostfixer(){const {editor:_0x456dba}=this,{model:_0x557e38}=_0x456dba,_0x38f5d4=_0x456dba['plugins']['get'](V),_0x27e370=this['_getDefaultListStyle'](),_0x51fc41=this['_getDefaultStartIndex']();_0x557e38['document']['registerPostFixer'](_0x4d78a8=>{const _0x5b1a84=_0x557e38['document']['differ']['getChanges']();let _0x4540d8=!0x1;for(const _0x163834 of _0x5b1a84){if('insert'!==_0x163834['type']||'$text'===_0x163834['name'])continue;const _0x2d7c2b=_0x557e38['createRangeOn'](_0x163834['position']['nodeAfter']);for(const _0x1adfa8 of _0x2d7c2b['getItems']())_0x1adfa8['is']('element','footnotesDefinitions')&&(!_0x1adfa8['hasAttribute']('footnotesListStart')&&_0x557e38['schema']['checkAttribute'](_0x1adfa8,'footnotesListStart')&&(_0x4d78a8['setAttribute']('footnotesListStart',_0x51fc41,_0x1adfa8),_0x4540d8=!0x0),!_0x1adfa8['hasAttribute']('footnotesListStyle')&&_0x557e38['schema']['checkAttribute'](_0x1adfa8,'footnotesListStyle')&&(_0x4d78a8['setAttribute']('footnotesListStyle',_0x27e370,_0x1adfa8),_0x4540d8=!0x0));}return _0x4540d8&&_0x38f5d4['_updateFootnotesCounters'](_0x4d78a8),_0x4540d8;});}_defineFormatter(){const {editor:_0x38773d}=this;_0x38773d['plugins']['get'](V)['setFootnoteFormatter'](_0x22c018=>this['_formatFootnoteListValue'](_0x22c018));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x1b9565,value:_0x4db53f,digits:_0x596909}){const _0x5360b0=_0x1b9565['getAttribute']('footnotesListStyle');return rt({'value':_0x4db53f+(_0x1b9565['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x5360b0,'digits':_0x596909});}};function dt(_0xa77802){if('string'==typeof _0xa77802){const _0x1cde22=ot[_0xa77802];if(_0x1cde22)return _0x1cde22;if(nt['includes'](_0xa77802))return _0xa77802;}return null;}function ht(_0x2264de,_0x354f06){const _0x2a53e2=_0x354f06['toViewElement'](_0x2264de);return Array['from'](_0x2a53e2['getChildren']())['find'](_0x3e54fb=>_0x3e54fb['is']('element','ol')&&_0x3e54fb['hasClass']('footnotes-list'));}var mt=class extends _0x52facc{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x25b33c();keystrokes=new _0x58ed07();['focusables']=new _0x602422();['focusCycler'];constructor(_0x585803,{styleButtonViews:_0x2a1054,styleGridAriaLabel:_0x37915c}){super(_0x585803),(this['focusCycler']=new _0x506dde({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2a1054,_0x37915c),[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 _0x505c74 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x505c74['element']);_0x51b50b({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x14d7ee['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 _0x57e3bc=_0x3c9cb0=>_0x3c9cb0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x57e3bc),this['keystrokes']['set']('arrowleft',_0x57e3bc),this['keystrokes']['set']('arrowup',_0x57e3bc),this['keystrokes']['set']('arrowdown',_0x57e3bc);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x2eab14,_0x32ddc7){const _0x167dd2=new _0x52facc(this['locale']);return _0x167dd2['children']=_0x167dd2['createCollection'](),_0x167dd2['children']['addMany'](_0x2eab14),_0x167dd2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x32ddc7,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x167dd2['children']}),_0x167dd2['children']['delegate']('execute')['to'](this),_0x167dd2['focus']=function(){for(const _0x28d0cf of this['children'])if(_0x28d0cf instanceof _0x4f9972&&_0x28d0cf['isOn'])return void _0x28d0cf['focus']();this['children']['first']['focus']();},_0x167dd2['focusTracker']=new _0x25b33c(),_0x167dd2['keystrokes']=new _0x58ed07(),_0x167dd2['render'](),_0x167dd2['keystrokes']['listenTo'](_0x167dd2['element']),this['children']['add'](_0x167dd2),_0x167dd2;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x3323d7=this['_createStartIndexPropertyView'](),_0x2d2181=[_0x3323d7],_0x49a8c3=new _0x84d4cf(this['locale'],_0x2d2181);return _0x49a8c3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x49a8c3['buttonView']['bind']('isEnabled')['toMany'](_0x2d2181,'isEnabled',(..._0x4580f0)=>_0x4580f0['some'](_0x2e6a32=>_0x2e6a32)),_0x49a8c3['buttonView']['on']('change:isEnabled',(_0x56d884,_0x957b0,_0x1db4ad)=>{_0x1db4ad||(_0x49a8c3['isCollapsed']=!0x0);}),this['children']['add'](_0x49a8c3),[_0x3323d7,_0x49a8c3];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x2aa7bc=new _0x3eec34(this['locale'],_0x2615b7);return _0x2aa7bc['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2aa7bc['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2aa7bc['fieldView']['on']('input',()=>{const _0x54add3=_0x2aa7bc['fieldView']['element'],_0x2472e6=_0x54add3['valueAsNumber'];Number['isNaN'](_0x2472e6)?_0x2aa7bc['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x54add3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2472e6}):_0x2aa7bc['errorText']=t(_0x2472e6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2aa7bc;}},pt=class extends _0x2dbde6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x3a5be6,_0x20ed94];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xb61c93}=this,{componentFactory:_0x1aa5b1}=_0xb61c93['ui'];_0xb61c93['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1aa5b1['add']('footnotesStyle',function(_0x33cc44){return _0x1f4673=>{const {t:t}=_0x1f4673,_0x455306=_0x33cc44['commands']['get']('footnotesStyle'),_0x185867=_0x29bdc9(_0x1f4673),{buttonView:_0x397b15}=_0x185867;return _0x185867['class']='ck-footnotes-styles-dropdown',_0x185867['bind']('isEnabled')['to'](_0x455306,'isEnabled'),_0x397b15['set']({'label':t('Footnotes\x20style'),'icon':_0x2d4cfb,'tooltip':!0x0}),_0x185867['once']('change:isOpen',()=>{const _0x59453f=function({editor:_0x5e01b9,dropdownView:_0x1a925a}){const {t:t}=_0x5e01b9['locale'],_0x49807c=t('Footnotes\x20definitions\x20styles'),_0xc69789=function(_0x52aeb7){const {t:t}=_0x52aeb7['locale'],_0x269c09=_0x52aeb7['config']['get']('footnotes.footnotesProperties.listStyles'),_0xadf550=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x438c64},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0xa22b87},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2155d3},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x530f85},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3c570d},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x2d2db3},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x2b617c}];return _0x269c09['map'](_0x123046=>{const _0xa360cb=dt(_0x123046);return function(_0x311a9f,_0x473fc4){const {locale:_0x360bb4}=_0x311a9f,{label:_0x527ce4,icon:_0x301979,tooltip:_0x266fdc,style:_0x2ef315}=_0x473fc4,_0x20b364=_0x311a9f['commands']['get']('footnotesStyle'),_0x23eb3d=new _0x4f9972(_0x360bb4);return _0x23eb3d['set']({'label':_0x527ce4,'icon':_0x301979,'tooltip':_0x266fdc}),_0x23eb3d['bind']('isOn')['to'](_0x20b364,'value',_0x2a7c87=>_0x2a7c87===_0x2ef315),_0x23eb3d['bind']('isEnabled')['to'](_0x20b364,'isEnabled'),_0x23eb3d['on']('execute',()=>{_0x311a9f['execute']('footnotesStyle',{'value':_0x2ef315}),_0x311a9f['editing']['view']['focus']();}),_0x23eb3d;}(_0x52aeb7,_0xadf550['find'](_0x3054e2=>_0x3054e2['style']===_0xa360cb));});}(_0x5e01b9),_0x22ec11=new mt(_0x5e01b9['locale'],{'styleGridAriaLabel':_0x49807c,'styleButtonViews':_0xc69789}),_0xd1ff5e=_0x5e01b9['commands']['get']('footnotesStart');return _0x22ec11['startIndexFieldView']['bind']('isEnabled')['to'](_0xd1ff5e),_0x22ec11['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xd1ff5e),_0x22ec11['on']('footnotesListStart',(_0x45fca8,_0x363432)=>{_0x5e01b9['execute']('footnotesStart',{'value':_0x363432['startIndex']});}),_0x22ec11['delegate']('execute')['to'](_0x1a925a),_0x22ec11;}({'editor':_0x33cc44,'dropdownView':_0x185867});_0x185867['panelView']['children']['add'](_0x59453f);}),_0x185867;};}(_0xb61c93));}afterInit(){const {editor:_0x1cb95d}=this,{t:t}=_0x1cb95d['locale'],_0x449d99=_0x1cb95d['plugins']['get'](_0x20ed94),{defaultPositions:_0x289906}=_0x38409c;_0x449d99['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1cb95d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4c08e8=>{let _0x3c0282=_0x4c08e8['getFirstPosition']()?.['parent'];return _0x3c0282?.['is']('$text')&&(_0x3c0282=_0x3c0282['parent']),_0x3c0282?.['is']('element')?_0x3c0282['findAncestor'](H):null;},'positions':[_0x289906['southArrowNorth'],_0x289906['southArrowNorthMiddleWest'],_0x289906['southArrowNorthMiddleEast'],_0x289906['southArrowNorthWest'],_0x289906['southArrowNorthEast'],_0x289906['northArrowSouth'],_0x289906['northArrowSouthMiddleWest'],_0x289906['northArrowSouthMiddleEast'],_0x289906['northArrowSouthWest'],_0x289906['northArrowSouthEast'],_0x289906['viewportStickyNorth']]});}},wt=class extends _0x2dbde6{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U 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':_0x41632f=>0x1!=_0x41632f}};
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':_0x5d7515=>0x1!=_0x5d7515}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5c6b6c=>{const {af:{dictionary:_0x32524f,getPluralForm:_0x50f110}}={'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':_0x3b9dc4=>0x1!=_0x3b9dc4}};_0x5c6b6c['af']||={'dictionary':{},'getPluralForm':null},_0x5c6b6c['af']['dictionary']=Object['assign'](_0x5c6b6c['af']['dictionary'],_0x32524f),_0x5c6b6c['af']['getPluralForm']=_0x50f110;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4139dd=>{const {af:{dictionary:_0x3d057e,getPluralForm:_0x2fdddd}}={'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':_0x546ced=>0x1!=_0x546ced}};_0x4139dd['af']||={'dictionary':{},'getPluralForm':null},_0x4139dd['af']['dictionary']=Object['assign'](_0x4139dd['af']['dictionary'],_0x3d057e),_0x4139dd['af']['getPluralForm']=_0x2fdddd;})(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':_0x49bf61=>0x0==_0x49bf61?0x0:0x1==_0x49bf61?0x1:0x2==_0x49bf61?0x2:_0x49bf61%0x64>=0x3&&_0x49bf61%0x64<=0xa?0x3:_0x49bf61%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':_0x4c8db6=>0x0==_0x4c8db6?0x0:0x1==_0x4c8db6?0x1:0x2==_0x4c8db6?0x2:_0x4c8db6%0x64>=0x3&&_0x4c8db6%0x64<=0xa?0x3:_0x4c8db6%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11013c=>{const {ar:{dictionary:_0x5703fc,getPluralForm:_0x261cab}}={'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':_0xfd418b=>0x0==_0xfd418b?0x0:0x1==_0xfd418b?0x1:0x2==_0xfd418b?0x2:_0xfd418b%0x64>=0x3&&_0xfd418b%0x64<=0xa?0x3:_0xfd418b%0x64>=0xb?0x4:0x5}};_0x11013c['ar']||={'dictionary':{},'getPluralForm':null},_0x11013c['ar']['dictionary']=Object['assign'](_0x11013c['ar']['dictionary'],_0x5703fc),_0x11013c['ar']['getPluralForm']=_0x261cab;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3b54c7=>{const {ar:{dictionary:_0x1e2c70,getPluralForm:_0x346486}}={'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':_0x3131a8=>0x0==_0x3131a8?0x0:0x1==_0x3131a8?0x1:0x2==_0x3131a8?0x2:_0x3131a8%0x64>=0x3&&_0x3131a8%0x64<=0xa?0x3:_0x3131a8%0x64>=0xb?0x4:0x5}};_0x3b54c7['ar']||={'dictionary':{},'getPluralForm':null},_0x3b54c7['ar']['dictionary']=Object['assign'](_0x3b54c7['ar']['dictionary'],_0x1e2c70),_0x3b54c7['ar']['getPluralForm']=_0x346486;})(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':_0x364bdb=>0x1!=_0x364bdb}};
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':_0x3ef8d0=>0x1!=_0x3ef8d0}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x50ea6a=>{const {ast:{dictionary:_0x557ab4,getPluralForm:_0xa8f5c9}}={'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':_0x382cc7=>0x1!=_0x382cc7}};_0x50ea6a['ast']||={'dictionary':{},'getPluralForm':null},_0x50ea6a['ast']['dictionary']=Object['assign'](_0x50ea6a['ast']['dictionary'],_0x557ab4),_0x50ea6a['ast']['getPluralForm']=_0xa8f5c9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xbbdd3e=>{const {ast:{dictionary:_0x4d9a5e,getPluralForm:_0x5cb69b}}={'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':_0x7450ca=>0x1!=_0x7450ca}};_0xbbdd3e['ast']||={'dictionary':{},'getPluralForm':null},_0xbbdd3e['ast']['dictionary']=Object['assign'](_0xbbdd3e['ast']['dictionary'],_0x4d9a5e),_0xbbdd3e['ast']['getPluralForm']=_0x5cb69b;})(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':_0x4638cd=>0x1!=_0x4638cd}};
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':_0x25be02=>0x1!=_0x25be02}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x957c8=>{const {az:{dictionary:_0x272d86,getPluralForm:_0x2fad04}}={'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':_0x4ee83a=>0x1!=_0x4ee83a}};_0x957c8['az']||={'dictionary':{},'getPluralForm':null},_0x957c8['az']['dictionary']=Object['assign'](_0x957c8['az']['dictionary'],_0x272d86),_0x957c8['az']['getPluralForm']=_0x2fad04;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x369a4f=>{const {az:{dictionary:_0x358947,getPluralForm:_0x5152b3}}={'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':_0x839ae8=>0x1!=_0x839ae8}};_0x369a4f['az']||={'dictionary':{},'getPluralForm':null},_0x369a4f['az']['dictionary']=Object['assign'](_0x369a4f['az']['dictionary'],_0x358947),_0x369a4f['az']['getPluralForm']=_0x5152b3;})(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':_0x2b69a5=>_0x2b69a5%0xa==0x1&&_0x2b69a5%0x64!=0xb?0x0:_0x2b69a5%0xa>=0x2&&_0x2b69a5%0xa<=0x4&&(_0x2b69a5%0x64<0xa||_0x2b69a5%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':_0x3c4178=>_0x3c4178%0xa==0x1&&_0x3c4178%0x64!=0xb?0x0:_0x3c4178%0xa>=0x2&&_0x3c4178%0xa<=0x4&&(_0x3c4178%0x64<0xa||_0x3c4178%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x48b5dc=>{const {be:{dictionary:_0x3df202,getPluralForm:_0x4ac71f}}={'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':_0x4ec018=>_0x4ec018%0xa==0x1&&_0x4ec018%0x64!=0xb?0x0:_0x4ec018%0xa>=0x2&&_0x4ec018%0xa<=0x4&&(_0x4ec018%0x64<0xa||_0x4ec018%0x64>=0x14)?0x1:0x2}};_0x48b5dc['be']||={'dictionary':{},'getPluralForm':null},_0x48b5dc['be']['dictionary']=Object['assign'](_0x48b5dc['be']['dictionary'],_0x3df202),_0x48b5dc['be']['getPluralForm']=_0x4ac71f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c264d=>{const {be:{dictionary:_0x425ebd,getPluralForm:_0x1c54e9}}={'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':_0x174957=>_0x174957%0xa==0x1&&_0x174957%0x64!=0xb?0x0:_0x174957%0xa>=0x2&&_0x174957%0xa<=0x4&&(_0x174957%0x64<0xa||_0x174957%0x64>=0x14)?0x1:0x2}};_0x3c264d['be']||={'dictionary':{},'getPluralForm':null},_0x3c264d['be']['dictionary']=Object['assign'](_0x3c264d['be']['dictionary'],_0x425ebd),_0x3c264d['be']['getPluralForm']=_0x1c54e9;})(window['CKEDITOR_TRANSLATIONS']||={});