@ckeditor/ckeditor5-footnotes 48.3.0-alpha.2 → 48.3.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 _0x40cebc,Plugin as _0x3c2801}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x39c5bf,isWidget as _0x15959c,toWidget as _0xda8253,toWidgetEditable as _0x37566b}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x5c8227,KeystrokeHandler as _0x5448d3,global as _0x3620f6,logWarning as _0x4ed117,uid as _0x3a337e}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x46b406,PointerObserver as _0x5f1aed}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x4c7e0c}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x3fbacb,ButtonView as _0x48db93,CollapsibleView as _0x145818,ContextualBalloon as _0x216079,FocusCycler as _0x256785,LabeledFieldView as _0x53a25e,MenuBarMenuListItemButtonView as _0x31cd99,View as _0x2d801b,ViewCollection as _0x25c27b,addKeyboardHandlingForGrid as _0x44557f,createDropdown as _0x66644d,createLabeledInputNumber as _0x5ec6df}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x410db1,IconListStyleArabicIndic as _0x1c2b0e,IconListStyleDecimal as _0x185d9b,IconListStyleDecimalLeadingZero as _0x3c66ae,IconListStyleLowerLatin as _0x1357a2,IconListStyleLowerRoman as _0x588bcc,IconListStyleUpperLatin as _0x249890,IconListStyleUpperRoman as _0x31e852}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x37f8c5,_0x214d36){this['_model']=_0x37f8c5,this['_elementName']=_0x214d36['elementName'],this['_getElementKey']=_0x214d36['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x505c87){const _0x598b3e=new Set(),_0x4657e5=new Map();for(const _0x4b0f72 of _0x505c87){if('insert'===_0x4b0f72['type']&&'$text'!==_0x4b0f72['name']&&_0x4b0f72['position']['nodeAfter']){const _0x40a2c0=this['_model']['createRangeOn'](_0x4b0f72['position']['nodeAfter']);for(const _0x4866ac of _0x40a2c0['getItems']()){if(!_0x4866ac['is']('element',this['_elementName']))continue;const _0x10502b=this['_getElementKey'](_0x4866ac);_0x4657e5['has'](_0x10502b)||_0x4657e5['set'](_0x10502b,[]),_0x4657e5['get'](_0x10502b)['push'](_0x4866ac);}}if('remove'===_0x4b0f72['type']&&_0x4b0f72['name']===this['_elementName']){const _0x344ad0=this['_getElementKey']({'getAttribute':_0x31c209=>_0x4b0f72['attributes']['get'](_0x31c209)});_0x598b3e['add'](_0x344ad0);}}for(const [_0x42f21d,_0x279b76]of this['_trackedElements'])'$graveyard'===_0x279b76['root']['rootName']&&_0x598b3e['add'](_0x42f21d);for(const _0x4ba23f of _0x598b3e)this['_trackedElements']['delete'](_0x4ba23f);for(const [_0x18ac8f,_0x1af046]of _0x4657e5)this['_trackedElements']['set'](_0x18ac8f,_0x1af046[_0x1af046['length']-0x1]);const _0x27d14a=new Set();for(const [_0x39a4df,_0x592c7d]of _0x4657e5)_0x598b3e['has'](_0x39a4df)&&(_0x27d14a['add'](_0x592c7d[0x0]),_0x592c7d['length']>0x1?_0x4657e5['set'](_0x39a4df,_0x592c7d['slice'](0x1)):_0x4657e5['delete'](_0x39a4df),_0x598b3e['delete'](_0x39a4df));return{'removed':Array['from'](_0x598b3e),'inserted':Array['from'](_0x4657e5['values']())['flat'](),'moved':Array['from'](_0x27d14a)};}},V=class extends _0x3c2801{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47093f){super(_0x47093f),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x298da3=>_0x298da3['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3ccaea=>_0x3ccaea['getAttribute']('footnoteId')});}['init'](){const {editor:_0x17ab15}=this,{model:_0x367cca,data:_0x42b1aa}=_0x17ab15;_0x367cca['document']['registerPostFixer'](_0x5959ba=>{const _0x47f5a1=_0x367cca['document']['differ']['getChanges']();let _0x5ed596=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5959ba,_0x47f5a1)&&(_0x5ed596=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5959ba,_0x47f5a1)&&(_0x5ed596=!0x0),this['_handleFootnoteReferencesChanges'](_0x5959ba,_0x47f5a1)&&(_0x5ed596=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5959ba)&&(_0x5ed596=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5959ba)&&(_0x5ed596=!0x0),this['_sortFootnoteDefinitions'](_0x5959ba)&&(_0x5ed596=!0x0),_0x5ed596;}),this['listenTo'](_0x367cca['document'],'change:data',()=>{_0x367cca['enqueueChange']({'isUndoable':!0x1},_0x735963=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x735963);});},{'priority':'low'}),this['listenTo'](_0x42b1aa,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x34526e){return this['_footnotes']['find'](_0x2742b8=>_0x2742b8['id']===_0x34526e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x398811){this['_footnoteFormatter']=_0x398811;}['_updateFootnotesCounters'](_0x5c0eff,_0x2d8beb=0x0){let _0x512b7e=!0x1;for(let _0x1fd084=_0x2d8beb;_0x1fd084<this['_footnotes']['length'];_0x1fd084++)this['_updateFootnoteRefCounter'](_0x5c0eff,_0x1fd084)&&(_0x512b7e=!0x0);return _0x512b7e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x28a15f,_0x5a45f2){const _0x4623eb=_0x28a15f['createElement']('footnotesDefinitions',{});return _0x28a15f['append'](_0x4623eb,_0x5a45f2),this['_footnotesDefinitions']=_0x4623eb,_0x4623eb;}['_ensureFootnotesDefinitionsContainerExists'](_0x1d58db){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x50fe3e=this['_footnotes'][0x0]['reference']['root'],_0x52bf4e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1d58db,_0x50fe3e);for(const _0x8478b5 of this['_footnotes'])_0x8478b5['definition']['parent']||_0x1d58db['insert'](_0x8478b5['definition'],_0x52bf4e,'end');this['_updateFootnotesCounters'](_0x1d58db);}['_handleFootnotesDefinitionsObjectChanges'](_0xc0dc2,_0xbf1966){let _0x5bbfbc=!0x1;const {inserted:_0x1bf28d,removed:_0x1f24d5,moved:_0x40d097}=this['_footnoteDefsContainerTracker']['getChanges'](_0xbf1966);if(_0x40d097['length']&&(this['_footnotesDefinitions']=_0x40d097[0x0]),_0x1bf28d['length']){if(_0x1bf28d['length']>0x1||this['_footnotesDefinitions']&&_0x1bf28d['some'](_0x3f1e8d=>_0x3f1e8d!==this['_footnotesDefinitions'])){const _0x5a5b39=_0xc0dc2['createElement']('footnotesDefinitions',{}),_0x581c39=[];this['_footnotesDefinitions']&&_0x581c39['push'](this['_footnotesDefinitions']),_0x581c39['push'](..._0x1bf28d),_0xc0dc2['insert'](_0x5a5b39,_0x581c39[0x0],'before');for(const _0x2d8e15 of _0x581c39)_0xc0dc2['move'](_0xc0dc2['createRangeIn'](_0x2d8e15),_0xc0dc2['createPositionAt'](_0x5a5b39,'end')),_0xc0dc2['remove'](_0x2d8e15);this['_footnotesDefinitions']=_0x5a5b39,this['_updateFootnotesCounters'](_0xc0dc2),_0x5bbfbc=!0x0;}else this['_footnotesDefinitions']=_0x1bf28d[0x0];}if(_0x1f24d5['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2dba79 of this['_footnotes'])_0xc0dc2['remove'](_0x2dba79['reference']),_0x5bbfbc=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5bbfbc;}['_handleFootnoteDefinitionsChanges'](_0x5100fd,_0x16a41){let _0x24687c=!0x1;const _0x4b256b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5c270f,moved:_0x5721fa}=this['_footnoteDefsTracker']['getChanges'](_0x16a41);for(const _0x107ea1 of[..._0x5721fa,..._0x5c270f]){const _0x5abe22=_0x107ea1['getAttribute']('footnoteId'),_0x4ffea9=this['getFootnote'](_0x5abe22);_0x4ffea9&&(_0x4ffea9['definition']=_0x107ea1),K(_0x5100fd,_0x4b256b,_0x107ea1)&&(_0x24687c=!0x0);}return _0x24687c;}['_handleFootnoteReferencesChanges'](_0x35f121,_0x428c49){let _0x30a421=!0x1;const {removed:_0x1e891f,inserted:_0x465b76,moved:_0x29264c}=this['_footnoteRefsTracker']['getChanges'](_0x428c49);for(const _0x14fc1b of _0x1e891f)this['_handleRemoveFootnoteReferenceById'](_0x35f121,_0x14fc1b)&&(_0x30a421=!0x0);for(const _0x56b60f of _0x465b76)this['_handleInsertedFootnoteReference'](_0x35f121,_0x56b60f)&&(_0x30a421=!0x0);for(const _0x590a01 of _0x29264c)this['_handleMovedFootnoteReference'](_0x35f121,_0x590a01)&&(_0x30a421=!0x0);return _0x30a421;}['_handleFootnotesDefinitionsObjectSync'](_0x1e89f7){if(!this['_footnotesDefinitions'])return!0x1;let _0x1efa14=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1fa83b=[];for(const _0x5cb46d of this['_footnotesDefinitions']['getChildren']()){const _0x4fea60=_0x5cb46d['getAttribute']('footnoteId');this['getFootnote'](_0x4fea60)||(_0x1fa83b['unshift'](_0x5cb46d),_0x1efa14=!0x0);}for(const _0x254fa7 of _0x1fa83b)_0x1e89f7['remove'](_0x254fa7);}const _0x44e038=new Set(),_0x2a368b=[];for(const _0x2b84cc of this['_footnotesDefinitions']['getChildren']()){const _0x1c0f2d=_0x2b84cc['getAttribute']('footnoteId');_0x44e038['has'](_0x1c0f2d)?(_0x2a368b['unshift'](_0x2b84cc),_0x1efa14=!0x0):_0x44e038['add'](_0x1c0f2d);}for(const _0x2694b2 of _0x2a368b)_0x1e89f7['remove'](_0x2694b2);return this['_footnotesDefinitions']['childCount']||(_0x1e89f7['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1efa14=!0x0),_0x1efa14;}['_handleInsertedFootnoteReference'](_0x2d5338,_0x3625cf){if(this['_footnotes']['find'](_0x1eddf7=>_0x1eddf7['reference']===_0x3625cf))return!0x1;let _0x52089d=!0x1;const _0x4af273=_0x3625cf['getAttribute']('footnoteId'),_0x46de8b=this['_footnotes']['findIndex'](_0x1224c1=>_0x1224c1['id']===_0x4af273);-0x1!==_0x46de8b&&(_0x2d5338['remove'](this['_footnotes'][_0x46de8b]['reference']),this['_footnotes']['splice'](_0x46de8b,0x1),_0x52089d=!0x0);let _0x269d7c=this['_footnotesDefinitions']?function(_0x1e26bc,_0x186c2d){for(const _0x42236c of _0x1e26bc['getChildren']())if(_0x42236c['getAttribute']('footnoteId')===_0x186c2d)return _0x42236c;return null;}(this['_footnotesDefinitions'],_0x4af273):null;_0x269d7c||(_0x269d7c=_0x2d5338['createElement']('footnoteDefinition',{'footnoteId':_0x4af273}),this['_footnotesDefinitions']&&(_0x2d5338['insert'](_0x269d7c,this['_footnotesDefinitions'],'end'),_0x52089d=!0x0));const _0x373845={'id':_0x4af273,'reference':_0x3625cf,'definition':_0x269d7c},_0x27b317=T(this['editor']['model'],this['_footnotes'],_0x3625cf);this['_footnotes']['splice'](_0x27b317,0x0,_0x373845);let _0x4896d0=_0x27b317;return-0x1!==_0x46de8b&&(_0x4896d0=Math['min'](_0x27b317,_0x46de8b)),this['_updateFootnotesCounters'](_0x2d5338,_0x4896d0)&&(_0x52089d=!0x0),_0x52089d;}['_handleRemoveFootnoteReferenceById'](_0x9b5962,_0x351bbc){const _0x5c90f0=this['_footnotes']['findIndex'](_0x37151f=>_0x37151f['id']===_0x351bbc);if(-0x1===_0x5c90f0)return!0x1;let _0x3d4826=!0x1;const _0x2326b1=this['_footnotes'][_0x5c90f0];return'$graveyard'!==_0x2326b1['definition']['root']['rootName']&&(_0x9b5962['remove'](_0x2326b1['definition']),_0x3d4826=!0x0),this['_footnotes']['splice'](_0x5c90f0,0x1),this['_updateFootnotesCounters'](_0x9b5962,_0x5c90f0)&&(_0x3d4826=!0x0),_0x3d4826;}['_handleMovedFootnoteReference'](_0x1aec6b,_0x5f5a0c){const _0xa465bf=_0x5f5a0c['getAttribute']('footnoteId'),_0x37ab03=this['_footnotes']['findIndex'](_0x3b0598=>_0x3b0598['id']===_0xa465bf),_0x20c0b4=this['_footnotes'][_0x37ab03];let _0x40d510=!0x1;_0x20c0b4['reference']=_0x5f5a0c,this['_footnotes']['splice'](_0x37ab03,0x1);const _0x596f0c=T(this['editor']['model'],this['_footnotes'],_0x5f5a0c);return this['_footnotes']['splice'](_0x596f0c,0x0,_0x20c0b4),this['_updateFootnotesCounters'](_0x1aec6b,Math['min'](_0x37ab03,_0x596f0c))&&(_0x40d510=!0x0),_0x40d510;}['_updateFootnoteRefCounter'](_0x2497f6,_0x28cdf8){if(!this['_footnotesDefinitions'])return!0x1;const _0x54fc27=this['_footnotes'][_0x28cdf8];let _0x5f4cc9;return _0x5f4cc9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x54fc27,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x28cdf8+0x1}):String(_0x28cdf8+0x1),_0x54fc27['reference']['getAttribute']('footnoteCounter')!=_0x5f4cc9&&(_0x2497f6['setAttribute']('footnoteCounter',_0x5f4cc9,_0x54fc27['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x7cc2b1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x23d4ad,_0x58cc92){if(_0x23d4ad['length']!==_0x58cc92['length'])return!0x1;for(let _0x2d775e=0x0;_0x2d775e<_0x23d4ad['length'];_0x2d775e++)if(_0x23d4ad[_0x2d775e]!==_0x58cc92[_0x2d775e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x8e4e58=>_0x8e4e58['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x462f5e=>_0x462f5e['getAttribute']('footnoteId'))))return!0x1;let _0x5c5558=!0x1;for(let _0x2863fb=0x0;_0x2863fb<this['_footnotes']['length'];_0x2863fb++){const _0x2ab392=this['_footnotes'][_0x2863fb],_0x4062aa=_0x7cc2b1['createPositionBefore'](_0x2ab392['definition']),_0x282fe2=_0x7cc2b1['createPositionAt'](this['_footnotesDefinitions'],_0x2863fb);_0x4062aa['isEqual'](_0x282fe2)||(_0x7cc2b1['move'](_0x7cc2b1['createRangeOn'](_0x2ab392['definition']),_0x282fe2),_0x5c5558=!0x0);}return _0x5c5558;}['_ensureFootnotesReferencesHaveProperOrder'](_0x254789){if(!this['_footnotes']['length'])return!0x1;const {model:_0x38a47b}=this['editor'];let _0x22663b=!0x1;for(let _0x58e8f6=0x0;_0x58e8f6<this['_footnotes']['length']-0x1;_0x58e8f6++){const _0x432f64=this['_footnotes'][_0x58e8f6],_0x44b1d1=this['_footnotes'][_0x58e8f6+0x1],_0x494c35=_0x38a47b['createPositionBefore'](_0x432f64['reference']),_0xecc70d=_0x38a47b['createPositionBefore'](_0x44b1d1['reference']);'after'===_0x494c35['compareWith'](_0xecc70d)&&(this['_handleMovedFootnoteReference'](_0x254789,_0x432f64['reference']),_0x58e8f6=-0x1,_0x22663b=!0x0);}return _0x22663b;}};function K(_0x2fdf8f,_0x5957f0,_0x3f8ca8){if(_0x3f8ca8['childCount'])return!0x1;const _0x5c806e=_0x5957f0?'paragraph':'footnoteInlineContent';return _0x2fdf8f['insert'](_0x2fdf8f['createElement'](_0x5c806e),_0x3f8ca8),!0x0;}function T(_0x125a27,_0x249036,_0x2663d3){if(0x0===_0x249036['length'])return 0x0;const _0x13b454=_0x125a27['createPositionBefore'](_0x2663d3);for(let _0x77d34b=0x0;_0x77d34b<_0x249036['length'];_0x77d34b++){const _0x5eea64=_0x249036[_0x77d34b],_0x224985=_0x125a27['createPositionBefore'](_0x5eea64['reference']);if('before'===_0x13b454['compareWith'](_0x224985))return _0x77d34b;}const _0x4a1ba7=_0x2663d3['root'];let _0x4b5773=-0x1;for(let _0x55e7ef=_0x249036['length']-0x1;_0x55e7ef>=0x0;_0x55e7ef--)if(_0x249036[_0x55e7ef]['reference']['root']===_0x4a1ba7){_0x4b5773=_0x55e7ef;break;}if(-0x1!==_0x4b5773)return _0x4b5773+0x1;const _0x11b7d0=_0x125a27['document']['getRootNames'](),_0x2af136=_0x11b7d0[_0x11b7d0['indexOf'](_0x4a1ba7['rootName'])+0x1];if(_0x2af136){for(let _0x2b3a47=0x0;_0x2b3a47<_0x249036['length'];_0x2b3a47++)if(_0x249036[_0x2b3a47]['reference']['root']['rootName']===_0x2af136)return _0x2b3a47;}return _0x249036['length'];}var j=class extends _0x40cebc{['refresh'](){const _0x14ab28=this['editor']['model']['document']['selection'],_0xb97e17=this['_getPositionToInsertFootnote'](_0x14ab28);this['isEnabled']=!!_0xb97e17;}['execute'](_0x449e01){const {editor:_0x4c3ca8}=this,{model:_0x2a85c0}=_0x4c3ca8,{selection:_0x51cd3b}=_0x2a85c0['document'],_0x383c76=this['_getPositionToInsertFootnote'](_0x51cd3b);if(!_0x383c76)return;const _0x1a8650=_0x4c3ca8['plugins']['get']('FootnotesEditing'),_0x3b0899=_0x449e01?.['footnoteId']??_0x3a337e();!function(_0x155931){return'string'==typeof _0x155931&&_0x155931['length']>0x0&&!/\s/['test'](_0x155931)&&!/^\d/['test'](_0x155931);}(_0x3b0899)?_0x4ed117('insert-footnote-command-executed-with-invalid-id'):(_0x2a85c0['change'](_0x360494=>{const _0x3d7844=_0x360494['createElement']('footnoteRef',{'footnoteId':_0x3b0899});_0x2a85c0['insertObject'](_0x3d7844,_0x383c76,null);}),_0x1a8650['_moveSelectionToFootnoteDefinition'](_0x3b0899));}['_getPositionToInsertFootnote'](_0x37e198){const {model:_0x24bd57}=this['editor'],{schema:_0x2ff2a6}=_0x24bd57,_0x18d620=_0x37e198['getFirstRange']();for(const _0x442c5a of _0x18d620['getItems']())if(_0x2ff2a6['isBlock'](_0x442c5a)||_0x2ff2a6['isObject'](_0x442c5a))return null;const _0x3cb1d1=_0x18d620['end'];return _0x2ff2a6['checkChild'](_0x3cb1d1,'footnoteRef')?_0x3cb1d1:null;}},U=class extends _0x3c2801{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4fc84f}=this;_0x4fc84f['config']['define']('footnotes.multiBlock',!0x0),_0x4fc84f['commands']['add']('insertFootnote',new j(_0x4fc84f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x39ad69){const _0x1a8d94='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x246625=0x78e10,_0xdef768=window['Date']['now'](),_0x5d1bad=_0x39ad69['editor'],_0x6a8978=new window['Promise'](_0x589792=>{_0x5d1bad['once']('ready',_0x589792);}),_0x4f2f5d={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xe9f7e0=_0x5d1bad['config']['get']('licenseKey');async function _0x13d48a(){let _0x22c79a,_0x52627c=null,_0x3a09d2=null;try{return'GPL'==_0xe9f7e0?'NotAllowed':(_0x22c79a=_0x5997e5(),_0x22c79a?(_0x22c79a['usageEndpoint']&&(_0x3a09d2=_0x542e44(_0x22c79a['usageEndpoint'],_0x22c79a['jti'])),await _0x3c8928()?_0xd857d2()?_0x5c46d2()?'Expired':_0x3d0fba()?('evaluation'==_0x22c79a['licenseType']&&(_0x52627c=_0x268018('EvaluationLimit')),await _0x534cf6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5c46d2(){const _0x12b0e9=['evaluation','trial']['includes'](_0x22c79a['licenseType'])?_0xdef768/0x3e8:0xe10*_0x246625;return _0x22c79a['exp']<_0x12b0e9;}function _0xd857d2(){const _0x48458a=_0x22c79a['features'];return!!_0x48458a&&(!!_0x48458a['includes']('*')||!!_0x48458a['includes']('FOO'));}function _0x3d0fba(){const _0x333a8d=_0x22c79a['licensedHosts'];if(!_0x333a8d||0x0==_0x333a8d['length'])return!0x0;const {hostname:_0x5c3024}=new URL(window['location']['href']);if(_0x333a8d['includes'](_0x5c3024))return!0x0;const _0x26ea89=_0x5c3024['split']('.');return _0x333a8d['filter'](_0x489f45=>_0x489f45['includes']('*'))['map'](_0x4df7ab=>_0x4df7ab['split']('.'))['filter'](_0x2c29a3=>_0x2c29a3['length']<=_0x26ea89['length'])['map'](_0x4a6e6d=>Array(_0x26ea89['length']-_0x4a6e6d['length'])['fill']('*'===_0x4a6e6d[0x0]?'*':'')['concat'](_0x4a6e6d))['some'](_0x28455d=>_0x26ea89['every']((_0x293b45,_0x573d82)=>_0x28455d[_0x573d82]===_0x293b45||'*'===_0x28455d[_0x573d82]));}function _0x534cf6(){return _0x52627c&&_0x3a09d2?new window['Promise']((_0x2ba1da,_0x59dbf9)=>{_0x52627c['then'](_0x2ba1da,_0x59dbf9),_0x3a09d2['then'](_0x19979d=>{'Valid'!=_0x19979d&&_0x2ba1da(_0x19979d);},_0x59dbf9);}):_0x52627c||_0x3a09d2||'Valid';}}function _0x542e44(_0x5b6492,_0x378b5c){return new window['Promise'](_0x4b88b9=>{if(_0x2f4280())return _0x4b88b9('Valid');_0xcfd8e4(),_0x5d1bad['decorate']('_sendUsageRequest');let _0x218479=!0x1;const _0x85907b=_0x3a337e();function _0x1bafa6(_0x1c6c47){return!!_0x1c6c47&&('object'==typeof _0x1c6c47||'function'==typeof _0x1c6c47)&&'function'==typeof _0x1c6c47['then']&&'function'==typeof _0x1c6c47['catch'];}function _0x1bcb35(_0xc3c03c){_0x4f5486(_0xc3c03c)['then'](_0x36c4e1=>_0x36c4e1&&'ok'==_0x36c4e1['status']?_0x4d4cb2(_0xad6849(_0x85907b+_0x378b5c))!=_0x36c4e1['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x269d5d=>(_0x171e47(),_0x269d5d),()=>{const _0x35f90f=_0x16440e();return null==_0x35f90f?(_0x171e47(),'Valid'):_0xdef768-_0x35f90f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4b88b9)['catch'](()=>{_0x4b88b9('UsageLimit');});const _0x5c528d=0x36ee80;function _0x171e47(){const _0x351e10='llct-'+_0x4d4cb2(_0xad6849(_0x5b6492)),_0x5659bd=_0x23d6fd(_0x4d4cb2(window['Math']['ceil'](_0xdef768/_0x5c528d)));window['localStorage']['setItem'](_0x351e10,_0x5659bd);}function _0x16440e(){const _0x2b449f='llct-'+_0x4d4cb2(_0xad6849(_0x5b6492)),_0x180594=window['localStorage']['getItem'](_0x2b449f);return _0x180594?window['parseInt'](_0x23d6fd(_0x180594),0x10)*_0x5c528d:null;}function _0x4f5486(_0x21f353){return new window['Promise']((_0x1904c8,_0x53c22a)=>{_0x21f353['then'](_0x1904c8,_0x53c22a),window['setTimeout'](_0x53c22a,0x1d4c0);});}}_0x5d1bad['on']('_sendUsageRequest',(_0x363bd2,_0x2b927e)=>{if(_0x2b927e[0x0]!=_0x5b6492)return _0x4b88b9('UsageLimit');_0x2b927e[0x1]={..._0x2b927e[0x1],'requestId':_0x85907b};},{'priority':'high'}),_0x5d1bad['on']('_sendUsageRequest',_0x58a77e=>{_0x1bafa6(_0x58a77e['return'])&&(_0x218479=!0x0,_0x1bcb35(_0x58a77e['return']));},{'priority':'low'}),_0x6a8978['then'](()=>{_0x218479||_0x4b88b9('UsageLimit');});});function _0x2f4280(){return'auto'==_0x5d1bad['editing']['view']['_overlayModeHint'];}function _0xcfd8e4(){_0x5d1bad['editing']['view']['_overlayModeHint']='auto';}}function _0x268018(_0x1e6dc){const _0x1acdeb=[new window['Promise'](_0x46c22f=>setTimeout(_0x46c22f,0x93ecc)),_0x6a8978['then'](()=>new window['Promise'](_0xb436e4=>{let _0x2e3264=0x0;_0x5d1bad['model']['on']('applyOperation',(_0x199d84,_0xe6abf0)=>{_0xe6abf0[0x0]['isDocumentOperation']&&_0x2e3264++,0x5e8==_0x2e3264&&(_0xb436e4(),_0x199d84['off']());});}))];return window['Promise']['race'](_0x1acdeb)['then'](()=>_0x1e6dc);}async function _0x4cbf2f(){await _0x6a8978,_0x5d1bad['model']['change']=_0x5c7b2a,_0x5d1bad['model']['enqueueChange']=_0x5c7b2a,_0x5d1bad['enableReadOnlyMode']('model');}function _0x4c95d9(_0x692d48){const _0xbdbe96=_0x413ddb();_0x5d1bad[_0xbdbe96]='footnotesLicenseKey'+_0x692d48,'Valid'!=_0x692d48&&_0x4cbf2f();}function _0x413ddb(){const _0x37c7a7=window['String'](window['performance']['now']())['replace']('.','');let _0xa3cd02='u';for(let _0x2e3d17=0x0;_0x2e3d17<_0x37c7a7['length'];_0x2e3d17+=0x2){let _0x35d446=window['parseInt'](_0x37c7a7['substring'](_0x2e3d17,_0x2e3d17+0x2));_0x35d446>=0x3e&&(_0x35d446-=0x3e),_0xa3cd02+=_0x1a8d94[_0x35d446];}return _0xa3cd02;}function _0x5997e5(){const _0x49ef8a=_0xe9f7e0['split']('.');if(0x3!=_0x49ef8a['length'])return null;return _0x5a2a6e(_0x49ef8a[0x1]);function _0x5a2a6e(_0x3dc812){const _0x3b0f7d=_0x531dcb(_0x3dc812);return _0x3b0f7d&&_0x23a59d()?_0x3b0f7d:null;function _0x23a59d(){const _0x4de31a=_0x3b0f7d['jti'],_0xf67db9=window['parseInt'](_0x4de31a['substring'](_0x4de31a['length']-0x8),0x10),_0x31527f={..._0x3b0f7d,'jti':_0x4de31a['substring'](0x0,_0x4de31a['length']-0x8)};return delete _0x31527f['vc'],_0xad6849(_0x31527f)==_0xf67db9;}}}async function _0x3c8928(){let _0x2ef2a7=!0x0;try{const [_0x329fe4,_0x27abbd,_0x365a5d]=_0xe9f7e0['split']('.');return _0x41ad93(_0x329fe4),await _0x57c9df(_0x329fe4,_0x27abbd,_0x365a5d),_0x2ef2a7;}catch{return!0x1;}function _0x41ad93(_0xb35420){const _0x4da8a8=_0x531dcb(_0xb35420);_0x4da8a8&&'ES256'==_0x4da8a8['alg']||(_0x2ef2a7=!0x1);}async function _0x57c9df(_0x449467,_0x2950ff,_0x231721){const _0x7c44be=window['Uint8Array']['from'](_0x205899(_0x231721),_0x11e0ac=>_0x11e0ac['charCodeAt'](0x0)),_0x5b97c7=new window['TextEncoder']()['encode'](_0x449467+'.'+_0x2950ff),_0x49eb80=window['crypto']['subtle'];if(!_0x49eb80)return;const _0x2b2865=await _0x49eb80['importKey']('jwk',_0x4f2f5d,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x49eb80['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2b2865,_0x7c44be,_0x5b97c7)||(_0x2ef2a7=!0x1);}}function _0x531dcb(_0x5a6ead){return _0x5a6ead['startsWith']('ey')?JSON['parse'](_0x205899(_0x5a6ead)):null;}function _0x205899(_0x15ec25){return window['atob'](_0x15ec25['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xad6849(_0x54cc9d){let _0x1701af=0x1505;function _0x3bdfb5(_0x181b35){for(let _0x4c4a82=0x0;_0x4c4a82<_0x181b35['length'];_0x4c4a82++){const _0x416946=_0x181b35['charCodeAt'](_0x4c4a82);_0x1701af=(_0x1701af<<0x5)+_0x1701af+_0x416946,_0x1701af&=_0x1701af;}}function _0x34014a(_0x230d9a){Array['isArray'](_0x230d9a)?_0x230d9a['forEach'](_0x34014a):_0x230d9a&&'object'==typeof _0x230d9a?Object['entries'](_0x230d9a)['sort']()['forEach'](([_0x2e878f,_0x35e7d8])=>{_0x3bdfb5(_0x2e878f),_0x34014a(_0x35e7d8);}):_0x3bdfb5(window['String'](_0x230d9a));}return _0x34014a(_0x54cc9d),_0x1701af>>>0x0;}function _0x4d4cb2(_0x1f2444){return _0x1f2444['toString'](0x10)['padStart'](0x8,'0');}function _0x23d6fd(_0x11f608){return _0x11f608['split']('')['reverse']()['join']('');}function _0x5c7b2a(){}_0x4c95d9(await _0x13d48a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x106583){const {plugins:_0x127131,editing:_0x160979,model:_0x175c9e}=this['editor'],_0x4443af=_0x127131['get'](V)['getFootnote'](_0x106583);return!!_0x4443af&&(_0x175c9e['change'](_0x7e12ea=>{_0x7e12ea['setSelection'](_0x7e12ea['createPositionAt'](_0x4443af['definition'],'end'));}),_0x160979['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x273d7a){const {plugins:_0x4d6e6d,editing:_0x244694,model:_0x3b006d}=this['editor'],_0x184906=_0x4d6e6d['get'](V)['getFootnote'](_0x273d7a);return!!_0x184906&&(_0x3b006d['change'](_0x2dee8b=>{_0x2dee8b['setSelection'](_0x184906['reference'],'on');}),_0x244694['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1cb22a}=this['editor']['model'],_0x13114a=this['editor']['config']['get']('footnotes.multiBlock');_0x1cb22a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1cb22a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1cb22a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x13114a?_0x1cb22a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1cb22a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1cb22a['addChildCheck'](_0x447be4=>{for(const _0x45440f of _0x447be4)if('footnoteDefinition'===_0x45440f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2badc1}=this,{conversion:_0x5d5559,editing:_0x37f9cc}=_0x2badc1,{t:t}=_0x2badc1['locale'];_0x5d5559['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2a40a0,{writer:_0x7d4e6f,consumable:_0x15febd})=>{const _0x352386=_0x2a40a0['getChild'](0x0);if(!_0x352386||!_0x352386['is']('element','a'))return null;const _0x45e949=_0x352386['getAttribute']('href')||'';if(!_0x45e949['startsWith']('#'))return null;const _0x39b630=_0x45e949['replace'](/^#/,'');if(!_0x39b630)return null;_0x15febd['consume'](_0x352386,{'name':!0x0,'attributes':['href']});for(const {item:_0x5aac28}of _0x37f9cc['view']['createRangeIn'](_0x352386))_0x5aac28['is']('$textProxy')?_0x15febd['consume'](_0x5aac28['textNode'],{'name':!0x0}):_0x5aac28['is']('element')&&_0x15febd['consume'](_0x5aac28,{'name':!0x0});return _0x7d4e6f['createElement']('footnoteRef',{'footnoteId':_0x39b630});}}),_0x5d5559['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x491f92,{writer:_0x146251})=>X(_0x491f92,_0x146251)}),_0x5d5559['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3d8f14,{writer:_0xe3221c})=>{const _0x4aa7f0=_0x3d8f14['getAttribute']('footnoteCounter');return _0xda8253(X(_0x3d8f14,_0xe3221c),_0xe3221c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4aa7f0)});}});}['_defineDefinitionsConverters'](){const {editor:_0xced6db}=this,{t:t}=_0xced6db['locale'],{conversion:_0x1bbff8}=_0xced6db;_0x1bbff8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1bbff8['for']('upcast')['add'](_0x5eaaf5=>{_0x5eaaf5['on']('element:ol',(_0x2e2b95,_0x35e029,_0x120fa6)=>{const _0x4afdb7=_0x35e029['viewItem'];if(!_0x4afdb7['hasClass']('footnotes-list')||!_0x35e029['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x120fa6['consumable']['consume'](_0x4afdb7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5ac700,modelCursor:_0x5cde6a}=_0x120fa6['convertChildren'](_0x35e029['viewItem'],_0x35e029['modelCursor']);_0x35e029['modelRange']=_0x5ac700,_0x35e029['modelCursor']=_0x5cde6a;}),_0x5eaaf5['on']('element:hr',(_0x3672d1,_0x26a066,_0x226fa3)=>{const _0x349ea7=_0x26a066['viewItem'];_0x349ea7['hasClass']('footnotes-divider')&&_0x26a066['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x226fa3['consumable']['consume'](_0x349ea7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1bbff8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x374d85,{writer:_0x1128cd})=>H(_0x1128cd)}),_0x1bbff8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x389c50,{writer:_0x28de92})=>{const _0x5072fa=_0xda8253(H(_0x28de92,{'data-footnotes-list-label':t('Footnotes')}),_0x28de92,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x28de92['setCustomProperty']('footnotesDefinitions',!0x0,_0x5072fa),_0x5072fa;}});}['_defineDefinitionConverters'](){const {editor:_0x2aae52}=this,{conversion:_0x5b795a,locale:_0x62125b}=_0x2aae52,_0x465adb=_0x2aae52['config']['get']('footnotes.multiBlock');_0x5b795a['for']('upcast')['add'](_0x292a53=>{_0x292a53['on']('element:li',(_0x1711a6,_0x606dce,_0x1f7915)=>{const _0x9d6a6b=_0x606dce['viewItem'];if(!_0x9d6a6b['hasClass']('footnote-definition')||!_0x9d6a6b['getAttribute']('id'))return;const _0x554b96=_0x9d6a6b['parent'];if(!_0x554b96['is']('element','ol')||!_0x554b96['hasClass']('footnotes-list'))return;if(!_0x1f7915['consumable']['test'](_0x9d6a6b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x556a89=_0x1f7915['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9d6a6b['getAttribute']('id')});if(!_0x1f7915['safeInsert'](_0x556a89,_0x606dce['modelCursor']))return;_0x1f7915['consumable']['consume'](_0x9d6a6b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3dd9bf=Array['from'](_0x9d6a6b['getChildren']())['find'](_0x146b23=>_0x146b23['is']('element')&&_0x146b23['hasClass']('footnote-content'));for(const _0x35e733 of _0x9d6a6b['getChildren']())_0x35e733['is']('element')&&(_0x1f7915['consumable']['consume'](_0x35e733,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f7915['consumable']['consume'](_0x35e733,{'name':!0x0,'classes':'footnote-content'}));if(_0x3dd9bf){if(_0x465adb)_0x1f7915['convertChildren'](_0x3dd9bf,_0x556a89);else{const _0x507463=_0x1f7915['writer']['createElement']('footnoteInlineContent');_0x1f7915['writer']['insert'](_0x507463,_0x556a89),_0x1f7915['convertChildren'](_0x3dd9bf,_0x507463);}}_0x1f7915['updateConversionResult'](_0x556a89,_0x606dce);});}),_0x5b795a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5f527d,{writer:_0x24be33})=>z(_0x5f527d,_0x24be33,_0x62125b,{'dataPipeline':!0x0})}),_0x5b795a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x23c631,{writer:_0x3b774f})=>z(_0x23c631,_0x3b774f,_0x62125b)});}['_defineBogusParagraphConverters'](){const {editor:_0x4fc00d}=this,{conversion:_0x107cf2}=_0x4fc00d;_0x4fc00d['config']['get']('footnotes.multiBlock')?(_0x107cf2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x107cf2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4fc00d['model']['document'],'change:data',()=>{!function(_0x784119,_0x3c707b){const _0x198242=_0x784119['document']['differ'],_0x2cae30=new Set();for(const _0x2d7517 of _0x198242['getChanges']()){const _0x284d12='attribute'==_0x2d7517['type']?_0x2d7517['range']['start']['parent']:_0x2d7517['position']['parent'];_0x284d12['is']('element','footnoteDefinition')&&_0x2cae30['add'](_0x284d12);}for(const _0x30528 of _0x2cae30['values']()){const _0x24cc94=Array['from'](_0x30528['getChildren']())['filter'](_0xef6617=>B(_0xef6617,_0x3c707b['mapper']));for(const _0x316ef6 of _0x24cc94)_0x3c707b['reconvertItem'](_0x316ef6);}}(_0x4fc00d['model'],_0x4fc00d['editing']);})):(_0x107cf2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x107cf2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3c0ee3,{writer:_0x2b0ce4})=>{const _0x3670c4=_0x2b0ce4['createContainerElement']('span');return _0x2b0ce4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3670c4),_0x3670c4;}}));}['_defineKeyboardHandlers'](){const {editor:_0x455821}=this,{editing:_0x5d5f0c,t:t}=_0x455821,_0x13e10e=_0x455821['model']['document']['selection'];_0x455821['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x455821['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d5f0c['view']['document'],'enter',(_0x375e1c,_0x11fad5)=>{const _0x4483e6=function(_0x21fb2b){const _0x4aabc5=_0x21fb2b['getSelectedElement']();return _0x4aabc5?.['is']('element','footnoteRef')?_0x4aabc5:null;}(_0x13e10e);if(_0x4483e6){const _0x1fe637=_0x4483e6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1fe637),_0x11fad5['preventDefault'](),_0x375e1c['stop']();}},{'context':_0x15959c});}['_defineClickHandlers'](){const {editor:_0x428b1b}=this,{editing:_0x2798dd}=_0x428b1b;_0x428b1b['editing']['view']['addObserver'](_0x5f1aed),_0x428b1b['editing']['view']['addObserver'](_0x46b406);let _0x3579f2=!0x1;this['listenTo'](_0x2798dd['view']['document'],'pointerdown',(_0x23a09f,_0xbdf906)=>{const {target:_0x1f0106}=_0xbdf906,_0x474b71=_0x2798dd['view']['document']['selection'];_0x3579f2=!!(_0x1f0106?.['is']('element','a')&&_0x1f0106['parent']?.['is']('element','sup')&&_0x1f0106['parent']['hasClass']('footnote'))&&_0x474b71['getSelectedElement']()===_0x1f0106['parent'];},{'priority':'high'}),this['listenTo'](_0x2798dd['view']['document'],'click',(_0x2e924e,_0x3c2fa5)=>{const {target:_0xdbed1e}=_0x3c2fa5;if(!_0xdbed1e?.['is']('element','a'))return;if(_0xdbed1e['parent']?.['is']('element','sup')&&_0xdbed1e['parent']['hasClass']('footnote')&&!_0x3579f2)return void _0x3c2fa5['preventDefault']();let _0x40a055=_0xdbed1e['getAttribute']('href');if(!_0x40a055?.['startsWith']('#'))return;_0x40a055=_0x40a055['slice'](0x1);let _0x2dcc7f=!0x1;(_0x40a055['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x40a055['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x40a055))&&(_0x2dcc7f=!0x0),_0x2dcc7f&&(_0x3c2fa5['preventDefault'](),_0x2e924e['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x477f17}={}){return(_0x105043,{writer:_0x1fa2b6})=>{if(!M(_0x105043))return null;if(!_0x477f17)return _0x1fa2b6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcb0ac3=_0x1fa2b6['createContainerElement']('p');return _0x1fa2b6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcb0ac3),_0xcb0ac3;};}function M(_0x535721){const {parent:_0x46d488}=_0x535721;if(!_0x46d488?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x46d488['childCount'])return!0x1;for(const _0xb6bf0e of _0x535721['getAttributeKeys']())if(!_0xb6bf0e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xb6bf0e)return!0x1;return!0x0;}function B(_0x3d68cd,_0x4a03bd){if(!_0x3d68cd['is']('element','paragraph'))return!0x1;const _0x491a61=_0x4a03bd['toViewElement'](_0x3d68cd);return!!_0x491a61&&M(_0x3d68cd)!==_0x491a61['is']('element','span');}function q(_0x45a956){return _0x15959c(_0x45a956)&&_0x45a956['is']('containerElement')&&!!_0x45a956['getCustomProperty']('footnotesDefinitions');}function H(_0x3b5d5a,_0x3ebe46={}){const _0xfee851=_0x3b5d5a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5b890e=_0x3b5d5a['createContainerElement']('ol',{'class':'footnotes-list'},_0x3b5d5a['createSlot']());return _0x3b5d5a['createContainerElement']('div',{'class':'footnotes',..._0x3ebe46},[_0xfee851,_0x5b890e]);}function X(_0x24a55d,_0x193a09){const _0x2a5973=_0x24a55d['getAttribute']('footnoteId'),_0x56156e=_0x24a55d['getAttribute']('footnoteCounter'),_0x20b491=_0x193a09['createUIElement']('a',{'href':'#'+_0x2a5973},function(_0x30f104){const _0x2e3ca6=this['toDomElement'](_0x30f104);return _0x2e3ca6['textContent']=_0x56156e,_0x2e3ca6;}),_0x1d82ec=_0x193a09['createContainerElement']('sup',{'id':'ref-'+_0x2a5973,'class':'footnote'},[_0x20b491]);return _0x1d82ec['getFillerOffset']=()=>null,_0x1d82ec;}function z(_0x245a3a,_0x4d61a2,_0xbd77c9,{dataPipeline:_0x41470c}={}){const {t:t}=_0xbd77c9,_0x1c426b=_0x245a3a['getAttribute']('footnoteId'),_0x599619=_0x4d61a2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1c426b},function(_0x41405d){const _0x377bbc=this['toDomElement'](_0x41405d);return _0x377bbc['innerText']='^',_0x377bbc;}),_0x4bd569=_0x41470c?_0x4d61a2['createContainerElement']('div',{'class':'footnote-content'}):_0x37566b(_0x4d61a2['createEditableElement']('div',{'class':'footnote-content'}),_0x4d61a2,{'label':t('Footnote\x20content.')});return _0x4d61a2['insert'](_0x4d61a2['createPositionAt'](_0x4bd569,0x0),_0x4d61a2['createSlot']()),_0x4d61a2['createContainerElement']('li',{'class':'footnote-definition','id':_0x1c426b},[_0x599619,_0x4bd569]);}var J=class extends _0x3c2801{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x4c7e0c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x53beaa}=this,{plugins:_0xf9ff3f,model:_0x113679}=_0x53beaa,_0x57a215=_0xf9ff3f['get'](_0x4c7e0c),_0x53417f=_0xf9ff3f['get'](V);this['listenTo'](_0x57a215,'outputTransformation',(_0xe5c6f9,_0x3bb05a)=>{const _0x175ed2=G(_0x113679['createRangeIn'](_0x3bb05a['content']));if(!_0x175ed2['length'])return;const _0xddbc64=_0x53417f['getFootnotes'](),_0x1cc399=_0x175ed2['reduce']((_0x84bc71,_0x3f90cf)=>{const _0x188bc4=_0xddbc64['find'](_0x16fd4e=>_0x16fd4e['id']===_0x3f90cf);if(_0x188bc4){const _0x5b16df=_0x53beaa['data']['toView'](_0x188bc4['definition'],{'isClipboardPipeline':!0x0}),_0x37c071=_0x53beaa['data']['htmlProcessor']['toData'](_0x5b16df);_0x84bc71[_0x188bc4['id']]=_0x37c071;}return _0x84bc71;},Object['create'](null));_0x3bb05a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1cc399));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2d6b94}=this,{model:_0x3022f8,plugins:_0x1981b6}=_0x2d6b94,{view:_0x480187}=_0x2d6b94['editing'],_0x4665f6=_0x1981b6['get'](_0x4c7e0c),_0x1b9f68=_0x1981b6['get'](V),_0x57c4c5=_0x2d6b94['config']['get']('footnotes.multiBlock');let _0x11ef20=null;this['listenTo'](_0x480187['document'],'clipboardInput',(_0x554e8e,_0x5e8838)=>{const _0x39bd8b=_0x5e8838['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x11ef20=_0x39bd8b?JSON['parse'](_0x39bd8b):null;}),this['listenTo'](_0x4665f6,'contentInsertion',(_0x256714,_0x4ba1a1)=>{const _0x4ffeef=_0x4ba1a1['sourceEditorId']===this['editor']['id'];_0x4ffeef&&'drop'===_0x4ba1a1['method']||_0x3022f8['change'](_0x394e2b=>{let _0x557451=_0x1b9f68['getFootnotesDefinitionsObjectElement']();const _0x134cb4=!!_0x557451&&Array['from'](_0x3022f8['document']['selection']['getSelectedBlocks']())['includes'](_0x557451);if(!_0x11ef20&&function(_0x1ac330){for(const {item:_0x50ff2c}of _0x1ac330)if(_0x50ff2c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3022f8['createRangeIn'](_0x4ba1a1['content']))&&(_0x11ef20=function(_0x197f3b,_0x40972d){const _0x1f8a00=Q(_0x197f3b,_0x40972d);if(!_0x1f8a00)return null;const _0x2ab2ce=Object['create'](null);for(const _0x3426e8 of _0x1f8a00['getChildren']())_0x3426e8['is']('element','footnoteDefinition')&&_0x3426e8['hasAttribute']('footnoteId')&&(_0x2ab2ce[_0x3426e8['getAttribute']('footnoteId')]=_0x197f3b['cloneElement'](_0x3426e8,!0x0));return Object['keys'](_0x2ab2ce)['length']?_0x2ab2ce:null;}(_0x394e2b,_0x4ba1a1['content'])),(_0x557451&&!_0x134cb4||!_0x557451&&!_0x11ef20)&&function(_0x5c19e7,_0x4b9a10){const _0x36c344=[];for(const {item:_0x4a28df}of _0x5c19e7['createRangeIn'](_0x4b9a10))_0x4a28df['is']('element','footnotesDefinitions')&&_0x36c344['push'](_0x4a28df);for(const _0x36bc51 of _0x36c344)_0x5c19e7['remove'](_0x36bc51);}(_0x394e2b,_0x4ba1a1['content']),!_0x11ef20)return;const {selection:_0x6005a9}=_0x3022f8['document'],_0x4146e1=_0x6005a9['getFirstRange']()['root'];_0x557451&&!_0x134cb4||(_0x557451=Q(_0x394e2b,_0x4ba1a1['content']),_0x557451||=_0x1b9f68['_insertEmptyFootnotesDefinitionsContainer'](_0x394e2b,_0x4146e1));const _0x3ef21a=Array['from'](_0x6005a9['getRanges']())['flatMap'](G),_0x4a6d83=function(_0x323c64,_0xc73d99,_0x2e94fb){const _0xba8a44=Object['create'](null);for(const {item:_0x2acfec}of _0x323c64['createRangeIn'](_0xc73d99))if(_0x2acfec['is']('element','footnoteRef')){const _0x57b6fe=_0x2acfec['getAttribute']('footnoteId');if(!_0x2e94fb(_0x57b6fe))continue;_0xba8a44[_0x57b6fe]||(_0xba8a44[_0x57b6fe]=_0x3a337e()),_0x323c64['setAttribute']('footnoteId',_0xba8a44[_0x57b6fe],_0x2acfec);}return _0xba8a44;}(_0x394e2b,_0x4ba1a1['content'],_0x13083b=>!_0x4ffeef||!!_0x1b9f68['getFootnote'](_0x13083b)&&!_0x3ef21a['includes'](_0x13083b));for(const [_0x3a9607,_0x189b88]of Object['entries'](_0x11ef20)){const _0x5779ee=_0x4a6d83[_0x3a9607]||_0x3a9607;let _0x5a8ddc;if('string'!=typeof _0x189b88)_0x5a8ddc=_0x189b88,_0x5779ee!==_0x3a9607&&_0x394e2b['setAttribute']('footnoteId',_0x5779ee,_0x5a8ddc);else{_0x5a8ddc=_0x394e2b['createElement']('footnoteDefinition',{'footnoteId':_0x5779ee});const _0x20f899=_0x2d6b94['data']['htmlProcessor']['toView'](_0x189b88);let _0x424ecf;if(_0x57c4c5)_0x424ecf=_0x2d6b94['data']['toModel'](_0x20f899,_0x5a8ddc);else{_0x424ecf=_0x394e2b['createElement']('footnoteInlineContent');const _0x2ea10e=_0x2d6b94['data']['toModel'](_0x20f899,_0x424ecf);_0x394e2b['insert'](_0x2ea10e,_0x424ecf);}_0x394e2b['append'](_0x424ecf,_0x5a8ddc);}_0x394e2b['insert'](_0x5a8ddc,_0x557451,'end');}_0x11ef20=null;});});}};function Q(_0x530fe3,_0x5c8737){for(const {item:_0x17b18d}of _0x530fe3['createRangeIn'](_0x5c8737))if(_0x17b18d['is']('element','footnotesDefinitions'))return _0x17b18d;return null;}function G(_0x2b73e0){const _0x3a1f6c=new Set();for(const {item:_0x8cd7e0}of _0x2b73e0)_0x8cd7e0['is']('element','footnoteRef')&&_0x3a1f6c['add'](_0x8cd7e0['getAttribute']('footnoteId'));return Array['from'](_0x3a1f6c);}var W=class extends _0x3c2801{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36dc3c}=this,{componentFactory:_0x450667}=_0x36dc3c['ui'];_0x450667['add']('insertFootnote',Y(_0x36dc3c,_0x48db93)),_0x450667['add']('menuBar:insertFootnote',Y(_0x36dc3c,_0x31cd99)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c3ad3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3900d1;for(const _0x3ee209 in _0x2c3ad3){const _0x1bff0d=_0x3ee209,_0x288b1a=_0x2c3ad3[_0x1bff0d];if('footnotesLicenseKeyValid'==_0x288b1a||'footnotesLicenseKeyInvalid'==_0x288b1a||'footnotesLicenseKeyExpired'==_0x288b1a||'footnotesLicenseKeyDomainLimit'==_0x288b1a||'footnotesLicenseKeyNotAllowed'==_0x288b1a||'footnotesLicenseKeyEvaluationLimit'==_0x288b1a||'footnotesLicenseKeyUsageLimit'==_0x288b1a){delete _0x2c3ad3[_0x1bff0d],_0x3900d1=_0x288b1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x5c7639,_0x3eba3e){const _0x25d01b=_0x5c7639['commands']['get']('insertFootnote');return _0x2b1cb5=>{const {t:t}=_0x2b1cb5,_0x24b04a=new _0x3eba3e(_0x2b1cb5),_0x1b1ad6=_0x24b04a instanceof _0x31cd99;return _0x24b04a['bind']('isEnabled')['to'](_0x25d01b,'isEnabled'),_0x24b04a['set']({'label':t(_0x1b1ad6?'Footnote':'Insert\x20footnote'),'icon':_0x410db1,'tooltip':!0x0}),_0x24b04a['on']('execute',()=>{_0x25d01b['execute'](),_0x5c7639['editing']['view']['focus']();}),_0x24b04a;};}var Z=class extends _0x3c2801{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x40cebc{['refresh'](){const {editor:_0x543db2}=this,_0x2bb05c=_0x543db2['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bb05c,this['value']=_0x2bb05c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x40957d}){const {editor:_0x59ca0d}=this,_0x257606=_0x59ca0d['plugins']['get'](V),_0xbdee21=_0x257606['getFootnotesDefinitionsObjectElement']();_0xbdee21&&ot['includes'](_0x40957d)&&_0x59ca0d['model']['change'](_0x544db1=>{_0x544db1['setAttribute']('footnotesListStyle',_0x40957d,_0xbdee21),_0x257606['_updateFootnotesCounters'](_0x544db1);});}},it=class extends _0x40cebc{['refresh'](){const {editor:_0x50206b}=this,_0xd4c725=_0x50206b['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd4c725,this['value']=_0xd4c725?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5eaf0c}){const {editor:_0x48cd85}=this,_0x186177=_0x48cd85['plugins']['get'](V),_0x43b21a=_0x186177['getFootnotesDefinitionsObjectElement']();_0x43b21a&&Number['isInteger'](_0x5eaf0c)&&_0x48cd85['model']['change'](_0x211a25=>{_0x211a25['setAttribute']('footnotesListStart',_0x5eaf0c,_0x43b21a),_0x186177['_updateFootnotesCounters'](_0x211a25);});}};function st({style:_0x43d6f6,digits:_0x5d7bdf,value:_0xc843d5}){const _0x5ae878=Math['floor'](_0xc843d5),_0x4ebbdb=function(_0x1c29ea){switch(_0x1c29ea){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};}}(_0x43d6f6);switch((_0x5ae878>_0x4ebbdb['max']||_0x5ae878<_0x4ebbdb['min'])&&(_0x43d6f6='decimal'),_0x43d6f6){case'decimal-leading-zero':return function(_0x50afaf,_0x2e1644){return String(_0x50afaf)['padStart'](_0x2e1644,'0');}(_0x5ae878,Math['max'](0x2,_0x5d7bdf));case'lower-alpha':case'lower-latin':return rt(_0x5ae878,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x5ae878,!0x0);case'lower-roman':return at(_0x5ae878,!0x1);case'upper-roman':return at(_0x5ae878,!0x0);case'arabic-indic':return String(_0x5ae878)['replace'](/\d/g,_0x444fd6=>ft[Number(_0x444fd6)]);default:return String(_0x5ae878);}}function rt(_0x405c86,_0x248190){let _0x14ec95='',_0x4c68c3=_0x405c86;for(;_0x4c68c3>0x0;){const _0x590f95=(_0x4c68c3-0x1)%0x1a;_0x14ec95=String['fromCharCode'](0x61+_0x590f95)+_0x14ec95,_0x4c68c3=Math['floor']((_0x4c68c3-0x1)/0x1a);}return _0x248190?_0x14ec95['toUpperCase']():_0x14ec95;}const lt=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function at(_0x1964e6,_0x496c4c){let _0xd2da5c='',_0x2118fd=_0x1964e6;for(const {value:_0x37e8a8,numeral:_0x3e1f05}of lt)for(;_0x2118fd>=_0x37e8a8;)_0xd2da5c+=_0x3e1f05,_0x2118fd-=_0x37e8a8;return _0x496c4c?_0xd2da5c:_0xd2da5c['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x3c2801{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x404787}=this;_0x404787['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x404787['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x404787['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x404787['commands']['add']('footnotesStyle',new nt(_0x404787)),_0x404787['commands']['add']('footnotesStart',new it(_0x404787)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5ee7cc}=this,{schema:_0x4a50ad}=_0x5ee7cc['model'];_0x4a50ad['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x17de33}=this,{conversion:_0x5331cd,model:_0x569ef2}=_0x17de33,{schema:_0x8d0079}=_0x569ef2;_0x5331cd['for']('upcast')['add'](_0x2d85d6=>{_0x2d85d6['on']('element:ol',(_0x24f9ea,_0x7549bc,_0x3ffdc2)=>{const _0x5a3016=_0x7549bc['viewItem'],_0x5406b6=_0x7549bc['modelCursor']?.['parent'];_0x5a3016['hasClass']('footnotes-list')&&_0x5406b6?.['is']('element','footnotesDefinitions')&&(function(_0x57c35c,_0x363caa,_0x52b9e5,_0x142fa7){if(!_0x142fa7['checkAttribute'](_0x363caa,'footnotesListStart'))return;let _0x4fd7b7=0x1;const _0x561047=_0x52b9e5['consumable']['consume'](_0x57c35c,{'attributes':'start'});if(_0x561047){const _0x290309=Number['parseInt'](_0x57c35c['getAttribute']('start'),0xa);Number['isNaN'](_0x290309)||(_0x4fd7b7=_0x290309);}!_0x561047&&_0x363caa['hasAttribute']('footnotesListStart')||_0x52b9e5['writer']['setAttribute']('footnotesListStart',_0x4fd7b7,_0x363caa);}(_0x5a3016,_0x5406b6,_0x3ffdc2,_0x8d0079),function(_0x88c27a,_0x1752df,_0x5d799e,_0x461da9){if(!_0x461da9['checkAttribute'](_0x1752df,'footnotesListStyle'))return;let _0x1d06f7='decimal',_0x555212=!0x1;if(_0x5d799e['consumable']['consume'](_0x88c27a,{'attributes':'type'})){const _0x37535a={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x88c27a['getAttribute']('type')];_0x37535a&&(_0x1d06f7=_0x37535a),_0x555212=!0x0;}if(_0x5d799e['consumable']['consume'](_0x88c27a,{'styles':'list-style-type'})){const _0x272f1=ut(_0x88c27a['getStyle']('list-style-type'));_0x272f1&&(_0x1d06f7=_0x272f1),_0x555212=!0x0;}!_0x555212&&_0x1752df['hasAttribute']('footnotesListStyle')||_0x5d799e['writer']['setAttribute']('footnotesListStyle',_0x1d06f7,_0x1752df);}(_0x5a3016,_0x5406b6,_0x3ffdc2,_0x8d0079));});}),_0x5331cd['for']('downcast')['add'](_0x2cce67=>{_0x2cce67['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x59ed85,_0x5c1258,_0x3c626c)=>{if(!_0x3c626c['consumable']['consume'](_0x5c1258['item'],_0x59ed85['name']))return;const _0x364fef=dt(_0x5c1258['item'],_0x3c626c['mapper']),{attributeNewValue:_0x3a7ab2}=_0x5c1258;null==_0x3a7ab2||0x1===_0x3a7ab2?_0x3c626c['writer']['removeAttribute']('start',_0x364fef):_0x3c626c['writer']['setAttribute']('start',String(_0x3a7ab2),_0x364fef);}),_0x2cce67['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2669e9,_0x5aadc0,_0x4f1683)=>{if(!_0x4f1683['consumable']['consume'](_0x5aadc0['item'],_0x2669e9['name']))return;const _0x56feee=dt(_0x5aadc0['item'],_0x4f1683['mapper']),{attributeNewValue:_0x2ea7c8}=_0x5aadc0;_0x2ea7c8&&'decimal'!==_0x2ea7c8?_0x4f1683['writer']['setStyle']('list-style-type',_0x2ea7c8,_0x56feee):_0x4f1683['writer']['removeStyle']('list-style-type',_0x56feee);});});}['_definePostfixer'](){const {editor:_0x192e1c}=this,{model:_0x5d35a1}=_0x192e1c,_0x3c5315=_0x192e1c['plugins']['get'](V),_0x2818f6=this['_getDefaultListStyle'](),_0x55f41f=this['_getDefaultStartIndex']();_0x5d35a1['document']['registerPostFixer'](_0xcf02df=>{const _0x384233=_0x5d35a1['document']['differ']['getChanges']();let _0x50d75a=!0x1;for(const _0x5ec7e8 of _0x384233){if('insert'!==_0x5ec7e8['type']||'$text'===_0x5ec7e8['name'])continue;const _0x23daf1=_0x5d35a1['createRangeOn'](_0x5ec7e8['position']['nodeAfter']);for(const _0x659023 of _0x23daf1['getItems']())_0x659023['is']('element','footnotesDefinitions')&&(!_0x659023['hasAttribute']('footnotesListStart')&&_0x5d35a1['schema']['checkAttribute'](_0x659023,'footnotesListStart')&&(_0xcf02df['setAttribute']('footnotesListStart',_0x55f41f,_0x659023),_0x50d75a=!0x0),!_0x659023['hasAttribute']('footnotesListStyle')&&_0x5d35a1['schema']['checkAttribute'](_0x659023,'footnotesListStyle')&&(_0xcf02df['setAttribute']('footnotesListStyle',_0x2818f6,_0x659023),_0x50d75a=!0x0));}return _0x50d75a&&_0x3c5315['_updateFootnotesCounters'](_0xcf02df),_0x50d75a;});}['_defineFormatter'](){const {editor:_0x5df908}=this;_0x5df908['plugins']['get'](V)['setFootnoteFormatter'](_0x32236c=>this['_formatFootnoteListValue'](_0x32236c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x431882,value:_0x28c854,digits:_0x4da0ed}){const _0x1b741d=_0x431882['getAttribute']('footnotesListStyle');return st({'value':_0x28c854+(_0x431882['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x1b741d,'digits':_0x4da0ed});}};function ut(_0x40f517){if('string'==typeof _0x40f517){const _0x51d99d=et[_0x40f517];if(_0x51d99d)return _0x51d99d;if(ot['includes'](_0x40f517))return _0x40f517;}return null;}function dt(_0x3944ad,_0x2246c6){const _0x3aad00=_0x2246c6['toViewElement'](_0x3944ad);return Array['from'](_0x3aad00['getChildren']())['find'](_0x452e92=>_0x452e92['is']('element','ol')&&_0x452e92['hasClass']('footnotes-list'));}var ht=class extends _0x2d801b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x5c8227();['keystrokes']=new _0x5448d3();['focusables']=new _0x25c27b();['focusCycler'];constructor(_0x2f6dab,{styleButtonViews:_0x4b7a21,styleGridAriaLabel:_0x4049b7}){super(_0x2f6dab),(this['focusCycler']=new _0x256785({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4b7a21,_0x4049b7),[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 _0x20bb2f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20bb2f['element']);_0x44557f({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x3620f6['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 _0x1f5e89=_0x149fbe=>_0x149fbe['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f5e89),this['keystrokes']['set']('arrowleft',_0x1f5e89),this['keystrokes']['set']('arrowup',_0x1f5e89),this['keystrokes']['set']('arrowdown',_0x1f5e89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x283214,_0x24fc72){const _0x434568=new _0x2d801b(this['locale']);return _0x434568['children']=_0x434568['createCollection'](),_0x434568['children']['addMany'](_0x283214),_0x434568['setTemplate']({'tag':'div','attributes':{'aria-label':_0x24fc72,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x434568['children']}),_0x434568['children']['delegate']('execute')['to'](this),_0x434568['focus']=function(){for(const _0x42e9a3 of this['children'])if(_0x42e9a3 instanceof _0x48db93&&_0x42e9a3['isOn'])return void _0x42e9a3['focus']();this['children']['first']['focus']();},_0x434568['focusTracker']=new _0x5c8227(),_0x434568['keystrokes']=new _0x5448d3(),_0x434568['render'](),_0x434568['keystrokes']['listenTo'](_0x434568['element']),this['children']['add'](_0x434568),_0x434568;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x194a56=this['_createStartIndexPropertyView'](),_0x182a8f=[_0x194a56],_0x2f7de8=new _0x145818(this['locale'],_0x182a8f);return _0x2f7de8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2f7de8['buttonView']['bind']('isEnabled')['toMany'](_0x182a8f,'isEnabled',(..._0x1eddee)=>_0x1eddee['some'](_0x29feb7=>_0x29feb7)),_0x2f7de8['buttonView']['on']('change:isEnabled',(_0x44cd98,_0x3e5bbd,_0x57082d)=>{_0x57082d||(_0x2f7de8['isCollapsed']=!0x0);}),this['children']['add'](_0x2f7de8),[_0x194a56,_0x2f7de8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x32cfcd=new _0x53a25e(this['locale'],_0x5ec6df);return _0x32cfcd['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x32cfcd['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x32cfcd['fieldView']['on']('input',()=>{const _0x53e547=_0x32cfcd['fieldView']['element'],_0x4d982a=_0x53e547['valueAsNumber'];Number['isNaN'](_0x4d982a)?_0x32cfcd['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x53e547['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4d982a}):_0x32cfcd['errorText']=t(_0x4d982a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x32cfcd;}},mt=class extends _0x3c2801{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x216079,_0x39c5bf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd29324}=this,{componentFactory:_0x718bb0}=_0xd29324['ui'];_0xd29324['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x718bb0['add']('footnotesStyle',function(_0x3d4d52){return _0x22aa69=>{const {t:t}=_0x22aa69,_0x347b24=_0x3d4d52['commands']['get']('footnotesStyle'),_0x58c1d6=_0x66644d(_0x22aa69),{buttonView:_0x56206f}=_0x58c1d6;return _0x58c1d6['class']='ck-footnotes-styles-dropdown',_0x58c1d6['bind']('isEnabled')['to'](_0x347b24,'isEnabled'),_0x56206f['set']({'label':t('Footnotes\x20style'),'icon':_0x410db1,'tooltip':!0x0}),_0x58c1d6['once']('change:isOpen',()=>{const _0x270ab8=function({editor:_0x2b5bf0,dropdownView:_0x1c05f2}){const {t:t}=_0x2b5bf0['locale'],_0x45a0b6=t('Footnotes\x20definitions\x20styles'),_0x3fe862=function(_0x5e4c68){const {t:t}=_0x5e4c68['locale'],_0x5e3829=_0x5e4c68['config']['get']('footnotes.footnotesProperties.listStyles'),_0x37f3bb=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x185d9b},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x3c66ae},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x588bcc},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x31e852},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1357a2},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x249890},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1c2b0e}];return _0x5e3829['map'](_0x2b5157=>{const _0x5094ed=ut(_0x2b5157);return function(_0x34ac90,_0x313218){const {locale:_0x15d09d}=_0x34ac90,{label:_0x4b444f,icon:_0x50915c,tooltip:_0x3f2ac1,style:_0x55e654}=_0x313218,_0x4b2cd7=_0x34ac90['commands']['get']('footnotesStyle'),_0x874cc6=new _0x48db93(_0x15d09d);return _0x874cc6['set']({'label':_0x4b444f,'icon':_0x50915c,'tooltip':_0x3f2ac1}),_0x874cc6['bind']('isOn')['to'](_0x4b2cd7,'value',_0x3de279=>_0x3de279===_0x55e654),_0x874cc6['bind']('isEnabled')['to'](_0x4b2cd7,'isEnabled'),_0x874cc6['on']('execute',()=>{_0x34ac90['execute']('footnotesStyle',{'value':_0x55e654}),_0x34ac90['editing']['view']['focus']();}),_0x874cc6;}(_0x5e4c68,_0x37f3bb['find'](_0x343f04=>_0x343f04['style']===_0x5094ed));});}(_0x2b5bf0),_0x564c73=new ht(_0x2b5bf0['locale'],{'styleGridAriaLabel':_0x45a0b6,'styleButtonViews':_0x3fe862}),_0x3d8ced=_0x2b5bf0['commands']['get']('footnotesStart');return _0x564c73['startIndexFieldView']['bind']('isEnabled')['to'](_0x3d8ced),_0x564c73['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3d8ced),_0x564c73['on']('footnotesListStart',(_0x2699f7,_0x1fc449)=>{_0x2b5bf0['execute']('footnotesStart',{'value':_0x1fc449['startIndex']});}),_0x564c73['delegate']('execute')['to'](_0x1c05f2),_0x564c73;}({'editor':_0x3d4d52,'dropdownView':_0x58c1d6});_0x58c1d6['panelView']['children']['add'](_0x270ab8);}),_0x58c1d6;};}(_0xd29324));}['afterInit'](){const {editor:_0x59caa4}=this,{t:t}=_0x59caa4['locale'],_0x298925=_0x59caa4['plugins']['get'](_0x39c5bf),{defaultPositions:_0xe6ff91}=_0x3fbacb;_0x298925['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x59caa4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xd5c526=>{let _0x27c9a8=_0xd5c526['getFirstPosition']()?.['parent'];return _0x27c9a8?.['is']('$text')&&(_0x27c9a8=_0x27c9a8['parent']),_0x27c9a8?.['is']('element')?_0x27c9a8['findAncestor'](q):null;},'positions':[_0xe6ff91['southArrowNorth'],_0xe6ff91['southArrowNorthMiddleWest'],_0xe6ff91['southArrowNorthMiddleEast'],_0xe6ff91['southArrowNorthWest'],_0xe6ff91['southArrowNorthEast'],_0xe6ff91['northArrowSouth'],_0xe6ff91['northArrowSouthMiddleWest'],_0xe6ff91['northArrowSouthMiddleEast'],_0xe6ff91['northArrowSouthWest'],_0xe6ff91['northArrowSouthEast'],_0xe6ff91['viewportStickyNorth']]});}},pt=class extends _0x3c2801{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j as InsertFootnoteCommand};
23
+ import{Command as _0x19993b,Plugin as _0x69253f}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0xd5b9ef,isWidget as _0x5420a7,toWidget as _0x116414,toWidgetEditable as _0x33614e}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x724916,KeystrokeHandler as _0x2455df,global as _0x97f9ac,logWarning as _0x49cf22,uid as _0x43a146}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4e0005,PointerObserver as _0x4605fb}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x5beac5}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x53163a,ButtonView as _0xba40e4,CollapsibleView as _0x4fafa2,ContextualBalloon as _0x3930b6,FocusCycler as _0x1e0018,LabeledFieldView as _0x5097b8,MenuBarMenuListItemButtonView as _0xf56d12,View as _0x2067a9,ViewCollection as _0x26dcd3,addKeyboardHandlingForGrid as _0xfa7f92,createDropdown as _0x5cd20f,createLabeledInputNumber as _0x169fbc}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x4eb550,IconListStyleArabicIndic as _0x2c0ba5,IconListStyleDecimal as _0x5aa883,IconListStyleDecimalLeadingZero as _0x1a5c9e,IconListStyleLowerLatin as _0x110498,IconListStyleLowerRoman as _0x3dceee,IconListStyleUpperLatin as _0x43e89c,IconListStyleUpperRoman as _0x1d7536}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x465af7,_0x225b9d){this['_model']=_0x465af7,this['_elementName']=_0x225b9d['elementName'],this['_getElementKey']=_0x225b9d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5109db){const _0x404a76=new Set(),_0x39eb03=new Map();for(const _0xabf4c7 of _0x5109db){if('insert'===_0xabf4c7['type']&&'$text'!==_0xabf4c7['name']&&_0xabf4c7['position']['nodeAfter']){const _0x3a3ae1=this['_model']['createRangeOn'](_0xabf4c7['position']['nodeAfter']);for(const _0xb93bcf of _0x3a3ae1['getItems']()){if(!_0xb93bcf['is']('element',this['_elementName']))continue;const _0x37d850=this['_getElementKey'](_0xb93bcf);_0x39eb03['has'](_0x37d850)||_0x39eb03['set'](_0x37d850,[]),_0x39eb03['get'](_0x37d850)['push'](_0xb93bcf);}}if('remove'===_0xabf4c7['type']&&_0xabf4c7['name']===this['_elementName']){const _0x26968c=this['_getElementKey']({'getAttribute':_0x389f05=>_0xabf4c7['attributes']['get'](_0x389f05)});_0x404a76['add'](_0x26968c);}}for(const [_0x46027c,_0x503113]of this['_trackedElements'])'$graveyard'===_0x503113['root']['rootName']&&_0x404a76['add'](_0x46027c);for(const _0x4765a5 of _0x404a76)this['_trackedElements']['delete'](_0x4765a5);for(const [_0x40f05a,_0x430e12]of _0x39eb03)this['_trackedElements']['set'](_0x40f05a,_0x430e12[_0x430e12['length']-0x1]);const _0x39d10e=new Set();for(const [_0x262251,_0x567450]of _0x39eb03)_0x404a76['has'](_0x262251)&&(_0x39d10e['add'](_0x567450[0x0]),_0x567450['length']>0x1?_0x39eb03['set'](_0x262251,_0x567450['slice'](0x1)):_0x39eb03['delete'](_0x262251),_0x404a76['delete'](_0x262251));return{'removed':Array['from'](_0x404a76),'inserted':Array['from'](_0x39eb03['values']())['flat'](),'moved':Array['from'](_0x39d10e)};}},V=class extends _0x69253f{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e13d4){super(_0x4e13d4),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x437715=>_0x437715['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xef57=>_0xef57['getAttribute']('footnoteId')});}['init'](){const {editor:_0x31de31}=this,{model:_0x1dc35d,data:_0x4f93e1}=_0x31de31;_0x1dc35d['document']['registerPostFixer'](_0x4317ca=>{const _0x2aa1fc=_0x1dc35d['document']['differ']['getChanges']();let _0x16aa69=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4317ca,_0x2aa1fc)&&(_0x16aa69=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4317ca,_0x2aa1fc)&&(_0x16aa69=!0x0),this['_handleFootnoteReferencesChanges'](_0x4317ca,_0x2aa1fc)&&(_0x16aa69=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4317ca)&&(_0x16aa69=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4317ca)&&(_0x16aa69=!0x0),this['_sortFootnoteDefinitions'](_0x4317ca)&&(_0x16aa69=!0x0),_0x16aa69;}),this['listenTo'](_0x1dc35d['document'],'change:data',()=>{_0x1dc35d['enqueueChange']({'isUndoable':!0x1},_0x1f054a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1f054a);});},{'priority':'low'}),this['listenTo'](_0x4f93e1,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4a46bf){return this['_footnotes']['find'](_0x9e8340=>_0x9e8340['id']===_0x4a46bf)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x449850){this['_footnoteFormatter']=_0x449850;}['_updateFootnotesCounters'](_0x5a6458,_0x5406a7=0x0){let _0x2ac971=!0x1;for(let _0x4dc7b2=_0x5406a7;_0x4dc7b2<this['_footnotes']['length'];_0x4dc7b2++)this['_updateFootnoteRefCounter'](_0x5a6458,_0x4dc7b2)&&(_0x2ac971=!0x0);return _0x2ac971;}['_insertEmptyFootnotesDefinitionsContainer'](_0x33f5b,_0x439c10){const _0x377dd1=_0x33f5b['createElement']('footnotesDefinitions',{});return _0x33f5b['append'](_0x377dd1,_0x439c10),this['_footnotesDefinitions']=_0x377dd1,_0x377dd1;}['_ensureFootnotesDefinitionsContainerExists'](_0x3d5d14){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x120667=this['_footnotes'][0x0]['reference']['root'],_0x1a3da7=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3d5d14,_0x120667);for(const _0x3794e1 of this['_footnotes'])_0x3794e1['definition']['parent']||_0x3d5d14['insert'](_0x3794e1['definition'],_0x1a3da7,'end');this['_updateFootnotesCounters'](_0x3d5d14);}['_handleFootnotesDefinitionsObjectChanges'](_0xf4b9bb,_0x2e6e0b){let _0x2142bb=!0x1;const {inserted:_0x41e67d,removed:_0x228af7,moved:_0x102317}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2e6e0b);if(_0x102317['length']&&(this['_footnotesDefinitions']=_0x102317[0x0]),_0x41e67d['length']){if(_0x41e67d['length']>0x1||this['_footnotesDefinitions']&&_0x41e67d['some'](_0x546865=>_0x546865!==this['_footnotesDefinitions'])){const _0x511e48=_0xf4b9bb['createElement']('footnotesDefinitions',{}),_0x41a213=[];this['_footnotesDefinitions']&&_0x41a213['push'](this['_footnotesDefinitions']),_0x41a213['push'](..._0x41e67d),_0xf4b9bb['insert'](_0x511e48,_0x41a213[0x0],'before');for(const _0x4d4aaf of _0x41a213)_0xf4b9bb['move'](_0xf4b9bb['createRangeIn'](_0x4d4aaf),_0xf4b9bb['createPositionAt'](_0x511e48,'end')),_0xf4b9bb['remove'](_0x4d4aaf);this['_footnotesDefinitions']=_0x511e48,this['_updateFootnotesCounters'](_0xf4b9bb),_0x2142bb=!0x0;}else this['_footnotesDefinitions']=_0x41e67d[0x0];}if(_0x228af7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2b0f0d of this['_footnotes'])_0xf4b9bb['remove'](_0x2b0f0d['reference']),_0x2142bb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2142bb;}['_handleFootnoteDefinitionsChanges'](_0x349ef1,_0x2140c0){let _0x25dd13=!0x1;const _0x251eee=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4964a0,moved:_0x1e03fe}=this['_footnoteDefsTracker']['getChanges'](_0x2140c0);for(const _0x3eeac2 of[..._0x1e03fe,..._0x4964a0]){const _0x1f6154=_0x3eeac2['getAttribute']('footnoteId'),_0x28b436=this['getFootnote'](_0x1f6154);_0x28b436&&(_0x28b436['definition']=_0x3eeac2),K(_0x349ef1,_0x251eee,_0x3eeac2)&&(_0x25dd13=!0x0);}return _0x25dd13;}['_handleFootnoteReferencesChanges'](_0x463f01,_0x3189eb){let _0x126239=!0x1;const {removed:_0x590e63,inserted:_0x3f61f3,moved:_0x59bbff}=this['_footnoteRefsTracker']['getChanges'](_0x3189eb);for(const _0xc62fa9 of _0x590e63)this['_handleRemoveFootnoteReferenceById'](_0x463f01,_0xc62fa9)&&(_0x126239=!0x0);for(const _0x24a9ec of _0x3f61f3)this['_handleInsertedFootnoteReference'](_0x463f01,_0x24a9ec)&&(_0x126239=!0x0);for(const _0x3c8f63 of _0x59bbff)this['_handleMovedFootnoteReference'](_0x463f01,_0x3c8f63)&&(_0x126239=!0x0);return _0x126239;}['_handleFootnotesDefinitionsObjectSync'](_0xd20588){if(!this['_footnotesDefinitions'])return!0x1;let _0x4189a4=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xfff223=[];for(const _0x1769e5 of this['_footnotesDefinitions']['getChildren']()){const _0x49f0f5=_0x1769e5['getAttribute']('footnoteId');this['getFootnote'](_0x49f0f5)||(_0xfff223['unshift'](_0x1769e5),_0x4189a4=!0x0);}for(const _0x5eed1f of _0xfff223)_0xd20588['remove'](_0x5eed1f);}const _0x37819a=new Set(),_0xf0e5a0=[];for(const _0x409ddf of this['_footnotesDefinitions']['getChildren']()){const _0xdee56=_0x409ddf['getAttribute']('footnoteId');_0x37819a['has'](_0xdee56)?(_0xf0e5a0['unshift'](_0x409ddf),_0x4189a4=!0x0):_0x37819a['add'](_0xdee56);}for(const _0x7a0091 of _0xf0e5a0)_0xd20588['remove'](_0x7a0091);return this['_footnotesDefinitions']['childCount']||(_0xd20588['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4189a4=!0x0),_0x4189a4;}['_handleInsertedFootnoteReference'](_0x189d4d,_0x33bca2){if(this['_footnotes']['find'](_0x23fbe0=>_0x23fbe0['reference']===_0x33bca2))return!0x1;let _0x16edae=!0x1;const _0x5bcc43=_0x33bca2['getAttribute']('footnoteId'),_0x10bf36=this['_footnotes']['findIndex'](_0x4abac7=>_0x4abac7['id']===_0x5bcc43);-0x1!==_0x10bf36&&(_0x189d4d['remove'](this['_footnotes'][_0x10bf36]['reference']),this['_footnotes']['splice'](_0x10bf36,0x1),_0x16edae=!0x0);let _0x2b84f5=this['_footnotesDefinitions']?function(_0x11195b,_0xbf311c){for(const _0x446286 of _0x11195b['getChildren']())if(_0x446286['getAttribute']('footnoteId')===_0xbf311c)return _0x446286;return null;}(this['_footnotesDefinitions'],_0x5bcc43):null;_0x2b84f5||(_0x2b84f5=_0x189d4d['createElement']('footnoteDefinition',{'footnoteId':_0x5bcc43}),this['_footnotesDefinitions']&&(_0x189d4d['insert'](_0x2b84f5,this['_footnotesDefinitions'],'end'),_0x16edae=!0x0));const _0xa7f8a6={'id':_0x5bcc43,'reference':_0x33bca2,'definition':_0x2b84f5},_0x18bfbf=T(this['editor']['model'],this['_footnotes'],_0x33bca2);this['_footnotes']['splice'](_0x18bfbf,0x0,_0xa7f8a6);let _0x374b4a=_0x18bfbf;return-0x1!==_0x10bf36&&(_0x374b4a=Math['min'](_0x18bfbf,_0x10bf36)),this['_updateFootnotesCounters'](_0x189d4d,_0x374b4a)&&(_0x16edae=!0x0),_0x16edae;}['_handleRemoveFootnoteReferenceById'](_0xf58665,_0xd16b1a){const _0x1e40d4=this['_footnotes']['findIndex'](_0x433281=>_0x433281['id']===_0xd16b1a);if(-0x1===_0x1e40d4)return!0x1;let _0x686548=!0x1;const _0x4943fd=this['_footnotes'][_0x1e40d4];return'$graveyard'!==_0x4943fd['definition']['root']['rootName']&&(_0xf58665['remove'](_0x4943fd['definition']),_0x686548=!0x0),this['_footnotes']['splice'](_0x1e40d4,0x1),this['_updateFootnotesCounters'](_0xf58665,_0x1e40d4)&&(_0x686548=!0x0),_0x686548;}['_handleMovedFootnoteReference'](_0x35c517,_0x41f287){const _0x2d5d54=_0x41f287['getAttribute']('footnoteId'),_0xe1a539=this['_footnotes']['findIndex'](_0x4344dc=>_0x4344dc['id']===_0x2d5d54),_0xe5cf3f=this['_footnotes'][_0xe1a539];let _0x526626=!0x1;_0xe5cf3f['reference']=_0x41f287,this['_footnotes']['splice'](_0xe1a539,0x1);const _0x3dd22f=T(this['editor']['model'],this['_footnotes'],_0x41f287);return this['_footnotes']['splice'](_0x3dd22f,0x0,_0xe5cf3f),this['_updateFootnotesCounters'](_0x35c517,Math['min'](_0xe1a539,_0x3dd22f))&&(_0x526626=!0x0),_0x526626;}['_updateFootnoteRefCounter'](_0x531ace,_0x12f4f7){if(!this['_footnotesDefinitions'])return!0x1;const _0x444527=this['_footnotes'][_0x12f4f7];let _0x511dc1;return _0x511dc1=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x444527,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x12f4f7+0x1}):String(_0x12f4f7+0x1),_0x444527['reference']['getAttribute']('footnoteCounter')!=_0x511dc1&&(_0x531ace['setAttribute']('footnoteCounter',_0x511dc1,_0x444527['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5935e6){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x470bf9,_0xfa8620){if(_0x470bf9['length']!==_0xfa8620['length'])return!0x1;for(let _0x846d11=0x0;_0x846d11<_0x470bf9['length'];_0x846d11++)if(_0x470bf9[_0x846d11]!==_0xfa8620[_0x846d11])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x16098a=>_0x16098a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3c8637=>_0x3c8637['getAttribute']('footnoteId'))))return!0x1;let _0x1264ae=!0x1;for(let _0x5f2ebf=0x0;_0x5f2ebf<this['_footnotes']['length'];_0x5f2ebf++){const _0x5cdbcd=this['_footnotes'][_0x5f2ebf],_0x8f140f=_0x5935e6['createPositionBefore'](_0x5cdbcd['definition']),_0x17adcc=_0x5935e6['createPositionAt'](this['_footnotesDefinitions'],_0x5f2ebf);_0x8f140f['isEqual'](_0x17adcc)||(_0x5935e6['move'](_0x5935e6['createRangeOn'](_0x5cdbcd['definition']),_0x17adcc),_0x1264ae=!0x0);}return _0x1264ae;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5567a0){if(!this['_footnotes']['length'])return!0x1;const {model:_0xe95972}=this['editor'];let _0x1a941f=!0x1;for(let _0x388092=0x0;_0x388092<this['_footnotes']['length']-0x1;_0x388092++){const _0x53e180=this['_footnotes'][_0x388092],_0x20b5a9=this['_footnotes'][_0x388092+0x1],_0x1d6cc2=_0xe95972['createPositionBefore'](_0x53e180['reference']),_0x362b2e=_0xe95972['createPositionBefore'](_0x20b5a9['reference']);'after'===_0x1d6cc2['compareWith'](_0x362b2e)&&(this['_handleMovedFootnoteReference'](_0x5567a0,_0x53e180['reference']),_0x388092=-0x1,_0x1a941f=!0x0);}return _0x1a941f;}};function K(_0x185de3,_0x47e634,_0x2bc4b3){if(_0x2bc4b3['childCount'])return!0x1;const _0x2875c2=_0x47e634?'paragraph':'footnoteInlineContent';return _0x185de3['insert'](_0x185de3['createElement'](_0x2875c2),_0x2bc4b3),!0x0;}function T(_0x28b853,_0x3fc293,_0x154736){if(0x0===_0x3fc293['length'])return 0x0;const _0x561537=_0x28b853['createPositionBefore'](_0x154736);for(let _0xc89cec=0x0;_0xc89cec<_0x3fc293['length'];_0xc89cec++){const _0x1e30e7=_0x3fc293[_0xc89cec],_0x4d44ac=_0x28b853['createPositionBefore'](_0x1e30e7['reference']);if('before'===_0x561537['compareWith'](_0x4d44ac))return _0xc89cec;}const _0x3659ae=_0x154736['root'];let _0x533ef4=-0x1;for(let _0xb54bd9=_0x3fc293['length']-0x1;_0xb54bd9>=0x0;_0xb54bd9--)if(_0x3fc293[_0xb54bd9]['reference']['root']===_0x3659ae){_0x533ef4=_0xb54bd9;break;}if(-0x1!==_0x533ef4)return _0x533ef4+0x1;const _0x5f6e21=_0x28b853['document']['getRootNames'](),_0x262c61=_0x5f6e21[_0x5f6e21['indexOf'](_0x3659ae['rootName'])+0x1];if(_0x262c61){for(let _0x540c8f=0x0;_0x540c8f<_0x3fc293['length'];_0x540c8f++)if(_0x3fc293[_0x540c8f]['reference']['root']['rootName']===_0x262c61)return _0x540c8f;}return _0x3fc293['length'];}var j=class extends _0x19993b{['refresh'](){const _0x406062=this['editor']['model']['document']['selection'],_0x258b09=this['_getPositionToInsertFootnote'](_0x406062);this['isEnabled']=!!_0x258b09;}['execute'](_0x432353){const {editor:_0x20c3df}=this,{model:_0x585f99}=_0x20c3df,{selection:_0x23b466}=_0x585f99['document'],_0xebc70f=this['_getPositionToInsertFootnote'](_0x23b466);if(!_0xebc70f)return;const _0x2540a9=_0x20c3df['plugins']['get']('FootnotesEditing'),_0x5509c1=_0x432353?.['footnoteId']??_0x43a146();!function(_0x244175){return'string'==typeof _0x244175&&_0x244175['length']>0x0&&!/\s/['test'](_0x244175)&&!/^\d/['test'](_0x244175);}(_0x5509c1)?_0x49cf22('insert-footnote-command-executed-with-invalid-id'):(_0x585f99['change'](_0x388f4b=>{const _0x201a72=_0x388f4b['createElement']('footnoteRef',{'footnoteId':_0x5509c1});_0x585f99['insertObject'](_0x201a72,_0xebc70f,null);}),_0x2540a9['_moveSelectionToFootnoteDefinition'](_0x5509c1));}['_getPositionToInsertFootnote'](_0x536ad4){const {model:_0xd3b2a5}=this['editor'],{schema:_0x301ef6}=_0xd3b2a5,_0x6f18a=_0x536ad4['getFirstRange']();for(const _0x3bcf88 of _0x6f18a['getItems']())if(_0x301ef6['isBlock'](_0x3bcf88)||_0x301ef6['isObject'](_0x3bcf88))return null;const _0x463574=_0x6f18a['end'];return _0x301ef6['checkChild'](_0x463574,'footnoteRef')?_0x463574:null;}},U=class extends _0x69253f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3a1997}=this;_0x3a1997['config']['define']('footnotes.multiBlock',!0x0),_0x3a1997['commands']['add']('insertFootnote',new j(_0x3a1997)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x11e969){const _0x8b393f='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x21ae48=0x78e10,_0x512514=window['Date']['now'](),_0x287a87=_0x11e969['editor'],_0x5e1be5=new window['Promise'](_0x139e1e=>{_0x287a87['once']('ready',_0x139e1e);}),_0x21d701={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x48d9d8=_0x287a87['config']['get']('licenseKey');async function _0x1821a5(){let _0x3ce8cf,_0x2fb9db=null,_0x5233d2=null;try{return'GPL'==_0x48d9d8?'NotAllowed':(_0x3ce8cf=_0xcb38a1(),_0x3ce8cf?(_0x3ce8cf['usageEndpoint']&&(_0x5233d2=_0x16b41c(_0x3ce8cf['usageEndpoint'],_0x3ce8cf['jti'])),await _0x43ad66()?_0x5b24da()?_0x7aca97()?'Expired':_0x1fd841()?('evaluation'==_0x3ce8cf['licenseType']&&(_0x2fb9db=_0x50bb82('EvaluationLimit')),await _0x2dc9d4()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x7aca97(){const _0x257fd3=['evaluation','trial']['includes'](_0x3ce8cf['licenseType'])?_0x512514/0x3e8:0xe10*_0x21ae48;return _0x3ce8cf['exp']<_0x257fd3;}function _0x5b24da(){const _0xedee46=_0x3ce8cf['features'];return!!_0xedee46&&(!!_0xedee46['includes']('*')||!!_0xedee46['includes']('FOO'));}function _0x1fd841(){const _0x1bea64=_0x3ce8cf['licensedHosts'];if(!_0x1bea64||0x0==_0x1bea64['length'])return!0x0;const {hostname:_0x4c2f35}=new URL(window['location']['href']);if(_0x1bea64['includes'](_0x4c2f35))return!0x0;const _0xd14f20=_0x4c2f35['split']('.');return _0x1bea64['filter'](_0x2b45bf=>_0x2b45bf['includes']('*'))['map'](_0xfcb6f0=>_0xfcb6f0['split']('.'))['filter'](_0x36aae4=>_0x36aae4['length']<=_0xd14f20['length'])['map'](_0x15523a=>Array(_0xd14f20['length']-_0x15523a['length'])['fill']('*'===_0x15523a[0x0]?'*':'')['concat'](_0x15523a))['some'](_0x423687=>_0xd14f20['every']((_0x1e71b0,_0x18079e)=>_0x423687[_0x18079e]===_0x1e71b0||'*'===_0x423687[_0x18079e]));}function _0x2dc9d4(){return _0x2fb9db&&_0x5233d2?new window['Promise']((_0x4bd942,_0xa43037)=>{_0x2fb9db['then'](_0x4bd942,_0xa43037),_0x5233d2['then'](_0x282643=>{'Valid'!=_0x282643&&_0x4bd942(_0x282643);},_0xa43037);}):_0x2fb9db||_0x5233d2||'Valid';}}function _0x16b41c(_0x1d6c8c,_0x424f7f){return new window['Promise'](_0x5b88bb=>{if(_0x38a292())return _0x5b88bb('Valid');_0x5028bd(),_0x287a87['decorate']('_sendUsageRequest');let _0x29c85f=!0x1;const _0x57224d=_0x43a146();function _0x334e78(_0x55435f){return!!_0x55435f&&('object'==typeof _0x55435f||'function'==typeof _0x55435f)&&'function'==typeof _0x55435f['then']&&'function'==typeof _0x55435f['catch'];}function _0x2b93f5(_0x4abf33){_0x5b9b40(_0x4abf33)['then'](_0x4ec353=>_0x4ec353&&'ok'==_0x4ec353['status']?_0x121da5(_0x5ab78d(_0x57224d+_0x424f7f))!=_0x4ec353['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x178702=>(_0x389fbd(),_0x178702),()=>{const _0x54b008=_0x564e7c();return null==_0x54b008?(_0x389fbd(),'Valid'):_0x512514-_0x54b008>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5b88bb)['catch'](()=>{_0x5b88bb('UsageLimit');});const _0x254139=0x36ee80;function _0x389fbd(){const _0x4d42a5='llct-'+_0x121da5(_0x5ab78d(_0x1d6c8c)),_0x2a3c52=_0x36e50c(_0x121da5(window['Math']['ceil'](_0x512514/_0x254139)));window['localStorage']['setItem'](_0x4d42a5,_0x2a3c52);}function _0x564e7c(){const _0x19a80e='llct-'+_0x121da5(_0x5ab78d(_0x1d6c8c)),_0x281919=window['localStorage']['getItem'](_0x19a80e);return _0x281919?window['parseInt'](_0x36e50c(_0x281919),0x10)*_0x254139:null;}function _0x5b9b40(_0x4ef330){return new window['Promise']((_0xe3ecd0,_0x622d06)=>{_0x4ef330['then'](_0xe3ecd0,_0x622d06),window['setTimeout'](_0x622d06,0x1d4c0);});}}_0x287a87['on']('_sendUsageRequest',(_0x24b402,_0x148a1d)=>{if(_0x148a1d[0x0]!=_0x1d6c8c)return _0x5b88bb('UsageLimit');_0x148a1d[0x1]={..._0x148a1d[0x1],'requestId':_0x57224d};},{'priority':'high'}),_0x287a87['on']('_sendUsageRequest',_0x404a3d=>{_0x334e78(_0x404a3d['return'])&&(_0x29c85f=!0x0,_0x2b93f5(_0x404a3d['return']));},{'priority':'low'}),_0x5e1be5['then'](()=>{_0x29c85f||_0x5b88bb('UsageLimit');});});function _0x38a292(){return'auto'==_0x287a87['editing']['view']['_overlayModeHint'];}function _0x5028bd(){_0x287a87['editing']['view']['_overlayModeHint']='auto';}}function _0x50bb82(_0x2b0557){const _0x453416=[new window['Promise'](_0x41b0f5=>setTimeout(_0x41b0f5,0x93ecc)),_0x5e1be5['then'](()=>new window['Promise'](_0x508477=>{let _0x5b16f7=0x0;_0x287a87['model']['on']('applyOperation',(_0x4579c3,_0x48c946)=>{_0x48c946[0x0]['isDocumentOperation']&&_0x5b16f7++,0x5e8==_0x5b16f7&&(_0x508477(),_0x4579c3['off']());});}))];return window['Promise']['race'](_0x453416)['then'](()=>_0x2b0557);}async function _0x30954c(){await _0x5e1be5,_0x287a87['model']['change']=_0x554fda,_0x287a87['model']['enqueueChange']=_0x554fda,_0x287a87['enableReadOnlyMode']('model');}function _0x3b8be4(_0x183151){const _0x1d05e9=_0x29703c();_0x287a87[_0x1d05e9]='footnotesLicenseKey'+_0x183151,'Valid'!=_0x183151&&_0x30954c();}function _0x29703c(){const _0x431098=window['String'](window['performance']['now']())['replace']('.','');let _0x2cecba='u';for(let _0x10b1ec=0x0;_0x10b1ec<_0x431098['length'];_0x10b1ec+=0x2){let _0x21d46f=window['parseInt'](_0x431098['substring'](_0x10b1ec,_0x10b1ec+0x2));_0x21d46f>=0x3e&&(_0x21d46f-=0x3e),_0x2cecba+=_0x8b393f[_0x21d46f];}return _0x2cecba;}function _0xcb38a1(){const _0x500055=_0x48d9d8['split']('.');if(0x3!=_0x500055['length'])return null;return _0x3fd828(_0x500055[0x1]);function _0x3fd828(_0x467086){const _0x470ab4=_0x2b224a(_0x467086);return _0x470ab4&&_0x502dff()?_0x470ab4:null;function _0x502dff(){const _0x4d829d=_0x470ab4['jti'],_0x3e6669=window['parseInt'](_0x4d829d['substring'](_0x4d829d['length']-0x8),0x10),_0x28f899={..._0x470ab4,'jti':_0x4d829d['substring'](0x0,_0x4d829d['length']-0x8)};return delete _0x28f899['vc'],_0x5ab78d(_0x28f899)==_0x3e6669;}}}async function _0x43ad66(){let _0x24381c=!0x0;try{const [_0x430078,_0x4d8acf,_0x3e3200]=_0x48d9d8['split']('.');return _0x251b0c(_0x430078),await _0x370d33(_0x430078,_0x4d8acf,_0x3e3200),_0x24381c;}catch{return!0x1;}function _0x251b0c(_0x3e9eae){const _0x12e235=_0x2b224a(_0x3e9eae);_0x12e235&&'ES256'==_0x12e235['alg']||(_0x24381c=!0x1);}async function _0x370d33(_0x295c05,_0x5afba9,_0x18f72c){const _0x5d7970=window['Uint8Array']['from'](_0x2268ab(_0x18f72c),_0xf1ca60=>_0xf1ca60['charCodeAt'](0x0)),_0x529b57=new window['TextEncoder']()['encode'](_0x295c05+'.'+_0x5afba9),_0x131c58=window['crypto']['subtle'];if(!_0x131c58)return;const _0x4d6772=await _0x131c58['importKey']('jwk',_0x21d701,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x131c58['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4d6772,_0x5d7970,_0x529b57)||(_0x24381c=!0x1);}}function _0x2b224a(_0x1b8922){return _0x1b8922['startsWith']('ey')?JSON['parse'](_0x2268ab(_0x1b8922)):null;}function _0x2268ab(_0x1979b6){return window['atob'](_0x1979b6['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5ab78d(_0x55ae54){let _0x3a9154=0x1505;function _0x436b6a(_0x37a9f0){for(let _0x386c37=0x0;_0x386c37<_0x37a9f0['length'];_0x386c37++){const _0x4b237e=_0x37a9f0['charCodeAt'](_0x386c37);_0x3a9154=(_0x3a9154<<0x5)+_0x3a9154+_0x4b237e,_0x3a9154&=_0x3a9154;}}function _0x2e187e(_0x20726d){Array['isArray'](_0x20726d)?_0x20726d['forEach'](_0x2e187e):_0x20726d&&'object'==typeof _0x20726d?Object['entries'](_0x20726d)['sort']()['forEach'](([_0xfbad7d,_0xdeff35])=>{_0x436b6a(_0xfbad7d),_0x2e187e(_0xdeff35);}):_0x436b6a(window['String'](_0x20726d));}return _0x2e187e(_0x55ae54),_0x3a9154>>>0x0;}function _0x121da5(_0x550b5b){return _0x550b5b['toString'](0x10)['padStart'](0x8,'0');}function _0x36e50c(_0x13ce59){return _0x13ce59['split']('')['reverse']()['join']('');}function _0x554fda(){}_0x3b8be4(await _0x1821a5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x411dc2){const {plugins:_0x11914f,editing:_0x3adee7,model:_0x57b372}=this['editor'],_0x28a4db=_0x11914f['get'](V)['getFootnote'](_0x411dc2);return!!_0x28a4db&&(_0x57b372['change'](_0x53d475=>{_0x53d475['setSelection'](_0x53d475['createPositionAt'](_0x28a4db['definition'],'end'));}),_0x3adee7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2d2920){const {plugins:_0x2cfbef,editing:_0x4f81fb,model:_0x1b431a}=this['editor'],_0x2bd2ac=_0x2cfbef['get'](V)['getFootnote'](_0x2d2920);return!!_0x2bd2ac&&(_0x1b431a['change'](_0x4ac2dc=>{_0x4ac2dc['setSelection'](_0x2bd2ac['reference'],'on');}),_0x4f81fb['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x14f96e}=this['editor']['model'],_0xfafa57=this['editor']['config']['get']('footnotes.multiBlock');_0x14f96e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x14f96e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x14f96e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xfafa57?_0x14f96e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x14f96e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x14f96e['addChildCheck'](_0x27f461=>{for(const _0x20a8a1 of _0x27f461)if('footnoteDefinition'===_0x20a8a1['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x11b358}=this,{conversion:_0x233c92,editing:_0x340693}=_0x11b358,{t:t}=_0x11b358['locale'];_0x233c92['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x75d26f,{writer:_0x4b4ffc,consumable:_0x2f31d7})=>{const _0x28bcc4=_0x75d26f['getChild'](0x0);if(!_0x28bcc4||!_0x28bcc4['is']('element','a'))return null;const _0x361c4f=_0x28bcc4['getAttribute']('href')||'';if(!_0x361c4f['startsWith']('#'))return null;const _0x1d1588=_0x361c4f['replace'](/^#/,'');if(!_0x1d1588)return null;_0x2f31d7['consume'](_0x28bcc4,{'name':!0x0,'attributes':['href']});for(const {item:_0x31c7f6}of _0x340693['view']['createRangeIn'](_0x28bcc4))_0x31c7f6['is']('$textProxy')?_0x2f31d7['consume'](_0x31c7f6['textNode'],{'name':!0x0}):_0x31c7f6['is']('element')&&_0x2f31d7['consume'](_0x31c7f6,{'name':!0x0});return _0x4b4ffc['createElement']('footnoteRef',{'footnoteId':_0x1d1588});}}),_0x233c92['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x295a5a,{writer:_0x4f5480})=>X(_0x295a5a,_0x4f5480)}),_0x233c92['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x56c345,{writer:_0x14dee5})=>{const _0x1b83f3=_0x56c345['getAttribute']('footnoteCounter');return _0x116414(X(_0x56c345,_0x14dee5),_0x14dee5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1b83f3)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2f2d07}=this,{t:t}=_0x2f2d07['locale'],{conversion:_0xb72b4e}=_0x2f2d07;_0xb72b4e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xb72b4e['for']('upcast')['add'](_0x5a0e45=>{_0x5a0e45['on']('element:ol',(_0x4aa7ce,_0x53f959,_0x175d9a)=>{const _0x421edc=_0x53f959['viewItem'];if(!_0x421edc['hasClass']('footnotes-list')||!_0x53f959['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x175d9a['consumable']['consume'](_0x421edc,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x12bfeb,modelCursor:_0x56011f}=_0x175d9a['convertChildren'](_0x53f959['viewItem'],_0x53f959['modelCursor']);_0x53f959['modelRange']=_0x12bfeb,_0x53f959['modelCursor']=_0x56011f;}),_0x5a0e45['on']('element:hr',(_0x1ebbf8,_0x211c87,_0xfe2648)=>{const _0x2ae837=_0x211c87['viewItem'];_0x2ae837['hasClass']('footnotes-divider')&&_0x211c87['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xfe2648['consumable']['consume'](_0x2ae837,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xb72b4e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x558646,{writer:_0x57d33c})=>H(_0x57d33c)}),_0xb72b4e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x344d69,{writer:_0x2699db})=>{const _0x507b5a=_0x116414(H(_0x2699db,{'data-footnotes-list-label':t('Footnotes')}),_0x2699db,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2699db['setCustomProperty']('footnotesDefinitions',!0x0,_0x507b5a),_0x507b5a;}});}['_defineDefinitionConverters'](){const {editor:_0x4e2a18}=this,{conversion:_0x6cf90f,locale:_0x1e891c}=_0x4e2a18,_0xb27b1=_0x4e2a18['config']['get']('footnotes.multiBlock');_0x6cf90f['for']('upcast')['add'](_0x14357c=>{_0x14357c['on']('element:li',(_0x2d02a1,_0x416bf1,_0x10f0f9)=>{const _0xf73658=_0x416bf1['viewItem'];if(!_0xf73658['hasClass']('footnote-definition')||!_0xf73658['getAttribute']('id'))return;const _0x5db5ad=_0xf73658['parent'];if(!_0x5db5ad['is']('element','ol')||!_0x5db5ad['hasClass']('footnotes-list'))return;if(!_0x10f0f9['consumable']['test'](_0xf73658,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x85efe4=_0x10f0f9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xf73658['getAttribute']('id')});if(!_0x10f0f9['safeInsert'](_0x85efe4,_0x416bf1['modelCursor']))return;_0x10f0f9['consumable']['consume'](_0xf73658,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4bd07c=Array['from'](_0xf73658['getChildren']())['find'](_0x11060c=>_0x11060c['is']('element')&&_0x11060c['hasClass']('footnote-content'));for(const _0x133ae8 of _0xf73658['getChildren']())_0x133ae8['is']('element')&&(_0x10f0f9['consumable']['consume'](_0x133ae8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x10f0f9['consumable']['consume'](_0x133ae8,{'name':!0x0,'classes':'footnote-content'}));if(_0x4bd07c){if(_0xb27b1)_0x10f0f9['convertChildren'](_0x4bd07c,_0x85efe4);else{const _0x39d1fe=_0x10f0f9['writer']['createElement']('footnoteInlineContent');_0x10f0f9['writer']['insert'](_0x39d1fe,_0x85efe4),_0x10f0f9['convertChildren'](_0x4bd07c,_0x39d1fe);}}_0x10f0f9['updateConversionResult'](_0x85efe4,_0x416bf1);});}),_0x6cf90f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50e7f6,{writer:_0xb3d6c4})=>z(_0x50e7f6,_0xb3d6c4,_0x1e891c,{'dataPipeline':!0x0})}),_0x6cf90f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18265c,{writer:_0x310406})=>z(_0x18265c,_0x310406,_0x1e891c)});}['_defineBogusParagraphConverters'](){const {editor:_0x1d3779}=this,{conversion:_0x5dd88e}=_0x1d3779;_0x1d3779['config']['get']('footnotes.multiBlock')?(_0x5dd88e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x5dd88e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1d3779['model']['document'],'change:data',()=>{!function(_0x252df1,_0x1143b7){const _0x3a4735=_0x252df1['document']['differ'],_0x5bd73b=new Set();for(const _0x3bbbe9 of _0x3a4735['getChanges']()){const _0x2cbeea='attribute'==_0x3bbbe9['type']?_0x3bbbe9['range']['start']['parent']:_0x3bbbe9['position']['parent'];_0x2cbeea['is']('element','footnoteDefinition')&&_0x5bd73b['add'](_0x2cbeea);}for(const _0x5ef52d of _0x5bd73b['values']()){const _0x57d42a=Array['from'](_0x5ef52d['getChildren']())['filter'](_0x52cebc=>B(_0x52cebc,_0x1143b7['mapper']));for(const _0x47ef52 of _0x57d42a)_0x1143b7['reconvertItem'](_0x47ef52);}}(_0x1d3779['model'],_0x1d3779['editing']);})):(_0x5dd88e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x5dd88e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3ed4c0,{writer:_0x4348b9})=>{const _0x2aa7f9=_0x4348b9['createContainerElement']('span');return _0x4348b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2aa7f9),_0x2aa7f9;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2ef01b}=this,{editing:_0x335cdc,t:t}=_0x2ef01b,_0x691c34=_0x2ef01b['model']['document']['selection'];_0x2ef01b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2ef01b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x335cdc['view']['document'],'enter',(_0x30079f,_0xec0f9e)=>{const _0x2bca46=function(_0x280893){const _0x376484=_0x280893['getSelectedElement']();return _0x376484?.['is']('element','footnoteRef')?_0x376484:null;}(_0x691c34);if(_0x2bca46){const _0x1834b=_0x2bca46['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1834b),_0xec0f9e['preventDefault'](),_0x30079f['stop']();}},{'context':_0x5420a7});}['_defineClickHandlers'](){const {editor:_0x35a19a}=this,{editing:_0x3203a3}=_0x35a19a;_0x35a19a['editing']['view']['addObserver'](_0x4605fb),_0x35a19a['editing']['view']['addObserver'](_0x4e0005);let _0x162248=!0x1;this['listenTo'](_0x3203a3['view']['document'],'pointerdown',(_0xe8da10,_0x200924)=>{const {target:_0x379964}=_0x200924,_0x24269e=_0x3203a3['view']['document']['selection'];_0x162248=!!(_0x379964?.['is']('element','a')&&_0x379964['parent']?.['is']('element','sup')&&_0x379964['parent']['hasClass']('footnote'))&&_0x24269e['getSelectedElement']()===_0x379964['parent'];},{'priority':'high'}),this['listenTo'](_0x3203a3['view']['document'],'click',(_0x452998,_0xd754ce)=>{const {target:_0x59d246}=_0xd754ce;if(!_0x59d246?.['is']('element','a'))return;if(_0x59d246['parent']?.['is']('element','sup')&&_0x59d246['parent']['hasClass']('footnote')&&!_0x162248)return void _0xd754ce['preventDefault']();let _0x1165ac=_0x59d246['getAttribute']('href');if(!_0x1165ac?.['startsWith']('#'))return;_0x1165ac=_0x1165ac['slice'](0x1);let _0x4ab77c=!0x1;(_0x1165ac['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1165ac['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1165ac))&&(_0x4ab77c=!0x0),_0x4ab77c&&(_0xd754ce['preventDefault'](),_0x452998['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x39f8e2}={}){return(_0xe84267,{writer:_0x4599f2})=>{if(!M(_0xe84267))return null;if(!_0x39f8e2)return _0x4599f2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x21b24f=_0x4599f2['createContainerElement']('p');return _0x4599f2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x21b24f),_0x21b24f;};}function M(_0x2f0fcb){const {parent:_0x3e4d04}=_0x2f0fcb;if(!_0x3e4d04?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3e4d04['childCount'])return!0x1;for(const _0x3c5fd2 of _0x2f0fcb['getAttributeKeys']())if(!_0x3c5fd2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3c5fd2)return!0x1;return!0x0;}function B(_0x4f2d0a,_0x5bfb07){if(!_0x4f2d0a['is']('element','paragraph'))return!0x1;const _0x3ef9d9=_0x5bfb07['toViewElement'](_0x4f2d0a);return!!_0x3ef9d9&&M(_0x4f2d0a)!==_0x3ef9d9['is']('element','span');}function q(_0x4790c0){return _0x5420a7(_0x4790c0)&&_0x4790c0['is']('containerElement')&&!!_0x4790c0['getCustomProperty']('footnotesDefinitions');}function H(_0x13ed7b,_0x56983b={}){const _0x269b06=_0x13ed7b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x23b8e4=_0x13ed7b['createContainerElement']('ol',{'class':'footnotes-list'},_0x13ed7b['createSlot']());return _0x13ed7b['createContainerElement']('div',{'class':'footnotes',..._0x56983b},[_0x269b06,_0x23b8e4]);}function X(_0x393efa,_0x2fbde2){const _0x4de80a=_0x393efa['getAttribute']('footnoteId'),_0x4fc60f=_0x393efa['getAttribute']('footnoteCounter'),_0x1a1de2=_0x2fbde2['createUIElement']('a',{'href':'#'+_0x4de80a},function(_0x1d7dd9){const _0x574aa8=this['toDomElement'](_0x1d7dd9);return _0x574aa8['textContent']=_0x4fc60f,_0x574aa8;}),_0x2e3d97=_0x2fbde2['createContainerElement']('sup',{'id':'ref-'+_0x4de80a,'class':'footnote'},[_0x1a1de2]);return _0x2e3d97['getFillerOffset']=()=>null,_0x2e3d97;}function z(_0x87cb2b,_0x31be6f,_0x512668,{dataPipeline:_0x41864f}={}){const {t:t}=_0x512668,_0x207573=_0x87cb2b['getAttribute']('footnoteId'),_0x2c13b3=_0x31be6f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x207573},function(_0x2cb33d){const _0x5787d0=this['toDomElement'](_0x2cb33d);return _0x5787d0['innerText']='^',_0x5787d0;}),_0x2e6151=_0x41864f?_0x31be6f['createContainerElement']('div',{'class':'footnote-content'}):_0x33614e(_0x31be6f['createEditableElement']('div',{'class':'footnote-content'}),_0x31be6f,{'label':t('Footnote\x20content.')});return _0x31be6f['insert'](_0x31be6f['createPositionAt'](_0x2e6151,0x0),_0x31be6f['createSlot']()),_0x31be6f['createContainerElement']('li',{'class':'footnote-definition','id':_0x207573},[_0x2c13b3,_0x2e6151]);}var J=class extends _0x69253f{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x5beac5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x441078}=this,{plugins:_0x43c132,model:_0x40edde}=_0x441078,_0x1ce05a=_0x43c132['get'](_0x5beac5),_0x47587d=_0x43c132['get'](V);this['listenTo'](_0x1ce05a,'outputTransformation',(_0x6d53cc,_0x266646)=>{const _0x20e3f6=G(_0x40edde['createRangeIn'](_0x266646['content']));if(!_0x20e3f6['length'])return;const _0x224e7c=_0x47587d['getFootnotes'](),_0x41ff3c=_0x20e3f6['reduce']((_0x2e3ef9,_0x26a88d)=>{const _0x43d162=_0x224e7c['find'](_0x41caea=>_0x41caea['id']===_0x26a88d);if(_0x43d162){const _0x491685=_0x441078['data']['toView'](_0x43d162['definition'],{'isClipboardPipeline':!0x0}),_0x3cbc68=_0x441078['data']['htmlProcessor']['toData'](_0x491685);_0x2e3ef9[_0x43d162['id']]=_0x3cbc68;}return _0x2e3ef9;},Object['create'](null));_0x266646['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x41ff3c));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x181ea2}=this,{model:_0x172d27,plugins:_0x4ce68f}=_0x181ea2,{view:_0x3480e7}=_0x181ea2['editing'],_0x8cb340=_0x4ce68f['get'](_0x5beac5),_0x3dbdca=_0x4ce68f['get'](V),_0x5ca03b=_0x181ea2['config']['get']('footnotes.multiBlock');let _0x52dece=null;this['listenTo'](_0x3480e7['document'],'clipboardInput',(_0x51dfe7,_0x862e58)=>{const _0x214be0=_0x862e58['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x52dece=_0x214be0?JSON['parse'](_0x214be0):null;}),this['listenTo'](_0x8cb340,'contentInsertion',(_0xdd5406,_0x3f36d5)=>{const _0x518720=_0x3f36d5['sourceEditorId']===this['editor']['id'];_0x518720&&'drop'===_0x3f36d5['method']||_0x172d27['change'](_0x512b00=>{let _0x1a73de=_0x3dbdca['getFootnotesDefinitionsObjectElement']();const _0x2a219d=!!_0x1a73de&&Array['from'](_0x172d27['document']['selection']['getSelectedBlocks']())['includes'](_0x1a73de);if(!_0x52dece&&function(_0xaf559b){for(const {item:_0x59af1e}of _0xaf559b)if(_0x59af1e['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x172d27['createRangeIn'](_0x3f36d5['content']))&&(_0x52dece=function(_0x49bfd9,_0x44e8b7){const _0x7c50d0=Q(_0x49bfd9,_0x44e8b7);if(!_0x7c50d0)return null;const _0x50c000=Object['create'](null);for(const _0x4e9aa9 of _0x7c50d0['getChildren']())_0x4e9aa9['is']('element','footnoteDefinition')&&_0x4e9aa9['hasAttribute']('footnoteId')&&(_0x50c000[_0x4e9aa9['getAttribute']('footnoteId')]=_0x49bfd9['cloneElement'](_0x4e9aa9,!0x0));return Object['keys'](_0x50c000)['length']?_0x50c000:null;}(_0x512b00,_0x3f36d5['content'])),(_0x1a73de&&!_0x2a219d||!_0x1a73de&&!_0x52dece)&&function(_0x46259f,_0x192f07){const _0x59cc41=[];for(const {item:_0x4abfb1}of _0x46259f['createRangeIn'](_0x192f07))_0x4abfb1['is']('element','footnotesDefinitions')&&_0x59cc41['push'](_0x4abfb1);for(const _0x32046a of _0x59cc41)_0x46259f['remove'](_0x32046a);}(_0x512b00,_0x3f36d5['content']),!_0x52dece)return;const {selection:_0x4937a8}=_0x172d27['document'],_0x19a6a3=_0x4937a8['getFirstRange']()['root'];_0x1a73de&&!_0x2a219d||(_0x1a73de=Q(_0x512b00,_0x3f36d5['content']),_0x1a73de||=_0x3dbdca['_insertEmptyFootnotesDefinitionsContainer'](_0x512b00,_0x19a6a3));const _0x82539d=Array['from'](_0x4937a8['getRanges']())['flatMap'](G),_0x22d107=function(_0x1a38f7,_0x2058d3,_0x19c474){const _0x5c5d0=Object['create'](null);for(const {item:_0x1ac87f}of _0x1a38f7['createRangeIn'](_0x2058d3))if(_0x1ac87f['is']('element','footnoteRef')){const _0x164650=_0x1ac87f['getAttribute']('footnoteId');if(!_0x19c474(_0x164650))continue;_0x5c5d0[_0x164650]||(_0x5c5d0[_0x164650]=_0x43a146()),_0x1a38f7['setAttribute']('footnoteId',_0x5c5d0[_0x164650],_0x1ac87f);}return _0x5c5d0;}(_0x512b00,_0x3f36d5['content'],_0xa02ca5=>!_0x518720||!!_0x3dbdca['getFootnote'](_0xa02ca5)&&!_0x82539d['includes'](_0xa02ca5));for(const [_0x1494ab,_0x3a9a75]of Object['entries'](_0x52dece)){const _0x407519=_0x22d107[_0x1494ab]||_0x1494ab;let _0x331293;if('string'!=typeof _0x3a9a75)_0x331293=_0x3a9a75,_0x407519!==_0x1494ab&&_0x512b00['setAttribute']('footnoteId',_0x407519,_0x331293);else{_0x331293=_0x512b00['createElement']('footnoteDefinition',{'footnoteId':_0x407519});const _0x567cff=_0x181ea2['data']['htmlProcessor']['toView'](_0x3a9a75);let _0x2268a3;if(_0x5ca03b)_0x2268a3=_0x181ea2['data']['toModel'](_0x567cff,_0x331293);else{_0x2268a3=_0x512b00['createElement']('footnoteInlineContent');const _0x4a9eee=_0x181ea2['data']['toModel'](_0x567cff,_0x2268a3);_0x512b00['insert'](_0x4a9eee,_0x2268a3);}_0x512b00['append'](_0x2268a3,_0x331293);}_0x512b00['insert'](_0x331293,_0x1a73de,'end');}_0x52dece=null;});});}};function Q(_0x1cfe1d,_0x16486c){for(const {item:_0x268d36}of _0x1cfe1d['createRangeIn'](_0x16486c))if(_0x268d36['is']('element','footnotesDefinitions'))return _0x268d36;return null;}function G(_0x387040){const _0x229668=new Set();for(const {item:_0x190d2b}of _0x387040)_0x190d2b['is']('element','footnoteRef')&&_0x229668['add'](_0x190d2b['getAttribute']('footnoteId'));return Array['from'](_0x229668);}var W=class extends _0x69253f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3229ba}=this,{componentFactory:_0x5bcb64}=_0x3229ba['ui'];_0x5bcb64['add']('insertFootnote',Y(_0x3229ba,_0xba40e4)),_0x5bcb64['add']('menuBar:insertFootnote',Y(_0x3229ba,_0xf56d12)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x42b529=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x9b5242;for(const _0x582890 in _0x42b529){const _0x164236=_0x582890,_0x2986f6=_0x42b529[_0x164236];if('footnotesLicenseKeyValid'==_0x2986f6||'footnotesLicenseKeyInvalid'==_0x2986f6||'footnotesLicenseKeyExpired'==_0x2986f6||'footnotesLicenseKeyDomainLimit'==_0x2986f6||'footnotesLicenseKeyNotAllowed'==_0x2986f6||'footnotesLicenseKeyEvaluationLimit'==_0x2986f6||'footnotesLicenseKeyUsageLimit'==_0x2986f6){delete _0x42b529[_0x164236],_0x9b5242=_0x2986f6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x9b5242&&_0x42b529['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x9b5242&&_0x42b529['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x9b5242&&_0x42b529['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x9b5242&&_0x42b529['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x9b5242&&_0x42b529['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x9b5242&&_0x42b529['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x452710,_0x5bc14f){const _0x597718=_0x452710['commands']['get']('insertFootnote');return _0x5aa1ec=>{const {t:t}=_0x5aa1ec,_0x167deb=new _0x5bc14f(_0x5aa1ec),_0x332267=_0x167deb instanceof _0xf56d12;return _0x167deb['bind']('isEnabled')['to'](_0x597718,'isEnabled'),_0x167deb['set']({'label':t(_0x332267?'Footnote':'Insert\x20footnote'),'icon':_0x4eb550,'tooltip':!0x0}),_0x167deb['on']('execute',()=>{_0x597718['execute'](),_0x452710['editing']['view']['focus']();}),_0x167deb;};}var Z=class extends _0x69253f{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x19993b{['refresh'](){const {editor:_0xbf66b7}=this,_0x219383=_0xbf66b7['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x219383,this['value']=_0x219383?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x137d70}){const {editor:_0xd12128}=this,_0x31aeb0=_0xd12128['plugins']['get'](V),_0x420ce4=_0x31aeb0['getFootnotesDefinitionsObjectElement']();_0x420ce4&&ot['includes'](_0x137d70)&&_0xd12128['model']['change'](_0xd9b6e0=>{_0xd9b6e0['setAttribute']('footnotesListStyle',_0x137d70,_0x420ce4),_0x31aeb0['_updateFootnotesCounters'](_0xd9b6e0);});}},it=class extends _0x19993b{['refresh'](){const {editor:_0x161bee}=this,_0x4aeb77=_0x161bee['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4aeb77,this['value']=_0x4aeb77?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x41c518}){const {editor:_0x1b5407}=this,_0xe43bcf=_0x1b5407['plugins']['get'](V),_0x55f4d4=_0xe43bcf['getFootnotesDefinitionsObjectElement']();_0x55f4d4&&Number['isInteger'](_0x41c518)&&_0x1b5407['model']['change'](_0x3d4083=>{_0x3d4083['setAttribute']('footnotesListStart',_0x41c518,_0x55f4d4),_0xe43bcf['_updateFootnotesCounters'](_0x3d4083);});}};function st({style:_0x4d90ce,digits:_0x72fa66,value:_0x2965a3}){const _0x2cbcc3=Math['floor'](_0x2965a3),_0x2c404f=function(_0x419d8b){switch(_0x419d8b){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};}}(_0x4d90ce);switch((_0x2cbcc3>_0x2c404f['max']||_0x2cbcc3<_0x2c404f['min'])&&(_0x4d90ce='decimal'),_0x4d90ce){case'decimal-leading-zero':return function(_0x39ce10,_0x60c844){return String(_0x39ce10)['padStart'](_0x60c844,'0');}(_0x2cbcc3,Math['max'](0x2,_0x72fa66));case'lower-alpha':case'lower-latin':return rt(_0x2cbcc3,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x2cbcc3,!0x0);case'lower-roman':return at(_0x2cbcc3,!0x1);case'upper-roman':return at(_0x2cbcc3,!0x0);case'arabic-indic':return String(_0x2cbcc3)['replace'](/\d/g,_0x3c5b50=>ft[Number(_0x3c5b50)]);default:return String(_0x2cbcc3);}}function rt(_0x5b3efa,_0x489c4b){let _0x13d15f='',_0x20aca6=_0x5b3efa;for(;_0x20aca6>0x0;){const _0x177232=(_0x20aca6-0x1)%0x1a;_0x13d15f=String['fromCharCode'](0x61+_0x177232)+_0x13d15f,_0x20aca6=Math['floor']((_0x20aca6-0x1)/0x1a);}return _0x489c4b?_0x13d15f['toUpperCase']():_0x13d15f;}const lt=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function at(_0x3b0a65,_0x2c3a82){let _0x3eef6d='',_0x1a15ad=_0x3b0a65;for(const {value:_0x433406,numeral:_0xc6ae8a}of lt)for(;_0x1a15ad>=_0x433406;)_0x3eef6d+=_0xc6ae8a,_0x1a15ad-=_0x433406;return _0x2c3a82?_0x3eef6d:_0x3eef6d['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x69253f{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f0f30}=this;_0x4f0f30['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4f0f30['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4f0f30['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x4f0f30['commands']['add']('footnotesStyle',new nt(_0x4f0f30)),_0x4f0f30['commands']['add']('footnotesStart',new it(_0x4f0f30)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x13b3e5}=this,{schema:_0x411239}=_0x13b3e5['model'];_0x411239['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5a4a42}=this,{conversion:_0x438d85,model:_0x22002c}=_0x5a4a42,{schema:_0x446505}=_0x22002c;_0x438d85['for']('upcast')['add'](_0x15939c=>{_0x15939c['on']('element:ol',(_0x2b6be8,_0x51ab3d,_0x572ac7)=>{const _0x5ea119=_0x51ab3d['viewItem'],_0x542c1f=_0x51ab3d['modelCursor']?.['parent'];_0x5ea119['hasClass']('footnotes-list')&&_0x542c1f?.['is']('element','footnotesDefinitions')&&(function(_0x357879,_0x5a6640,_0x6681ae,_0x4acee6){if(!_0x4acee6['checkAttribute'](_0x5a6640,'footnotesListStart'))return;let _0x38ec03=0x1;const _0x498ea2=_0x6681ae['consumable']['consume'](_0x357879,{'attributes':'start'});if(_0x498ea2){const _0x241a08=Number['parseInt'](_0x357879['getAttribute']('start'),0xa);Number['isNaN'](_0x241a08)||(_0x38ec03=_0x241a08);}!_0x498ea2&&_0x5a6640['hasAttribute']('footnotesListStart')||_0x6681ae['writer']['setAttribute']('footnotesListStart',_0x38ec03,_0x5a6640);}(_0x5ea119,_0x542c1f,_0x572ac7,_0x446505),function(_0x340370,_0x2c4a0c,_0x322b9b,_0x270034){if(!_0x270034['checkAttribute'](_0x2c4a0c,'footnotesListStyle'))return;let _0xdd5690='decimal',_0x2ba73a=!0x1;if(_0x322b9b['consumable']['consume'](_0x340370,{'attributes':'type'})){const _0x2729c8={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x340370['getAttribute']('type')];_0x2729c8&&(_0xdd5690=_0x2729c8),_0x2ba73a=!0x0;}if(_0x322b9b['consumable']['consume'](_0x340370,{'styles':'list-style-type'})){const _0x3655fe=ut(_0x340370['getStyle']('list-style-type'));_0x3655fe&&(_0xdd5690=_0x3655fe),_0x2ba73a=!0x0;}!_0x2ba73a&&_0x2c4a0c['hasAttribute']('footnotesListStyle')||_0x322b9b['writer']['setAttribute']('footnotesListStyle',_0xdd5690,_0x2c4a0c);}(_0x5ea119,_0x542c1f,_0x572ac7,_0x446505));});}),_0x438d85['for']('downcast')['add'](_0x562afa=>{_0x562afa['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5029bb,_0x23cca6,_0x1f3a71)=>{if(!_0x1f3a71['consumable']['consume'](_0x23cca6['item'],_0x5029bb['name']))return;const _0x133d7b=dt(_0x23cca6['item'],_0x1f3a71['mapper']),{attributeNewValue:_0xbc9bcb}=_0x23cca6;null==_0xbc9bcb||0x1===_0xbc9bcb?_0x1f3a71['writer']['removeAttribute']('start',_0x133d7b):_0x1f3a71['writer']['setAttribute']('start',String(_0xbc9bcb),_0x133d7b);}),_0x562afa['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x791ca9,_0x4ef0f0,_0x4a439b)=>{if(!_0x4a439b['consumable']['consume'](_0x4ef0f0['item'],_0x791ca9['name']))return;const _0x43a00d=dt(_0x4ef0f0['item'],_0x4a439b['mapper']),{attributeNewValue:_0x2663b0}=_0x4ef0f0;_0x2663b0&&'decimal'!==_0x2663b0?_0x4a439b['writer']['setStyle']('list-style-type',_0x2663b0,_0x43a00d):_0x4a439b['writer']['removeStyle']('list-style-type',_0x43a00d);});});}['_definePostfixer'](){const {editor:_0x3f0e6f}=this,{model:_0x183d69}=_0x3f0e6f,_0x256d4e=_0x3f0e6f['plugins']['get'](V),_0x529e24=this['_getDefaultListStyle'](),_0x403b71=this['_getDefaultStartIndex']();_0x183d69['document']['registerPostFixer'](_0x41d44d=>{const _0x48f82b=_0x183d69['document']['differ']['getChanges']();let _0x8386ba=!0x1;for(const _0x386fbe of _0x48f82b){if('insert'!==_0x386fbe['type']||'$text'===_0x386fbe['name'])continue;const _0x1c7f61=_0x183d69['createRangeOn'](_0x386fbe['position']['nodeAfter']);for(const _0x1ed1cb of _0x1c7f61['getItems']())_0x1ed1cb['is']('element','footnotesDefinitions')&&(!_0x1ed1cb['hasAttribute']('footnotesListStart')&&_0x183d69['schema']['checkAttribute'](_0x1ed1cb,'footnotesListStart')&&(_0x41d44d['setAttribute']('footnotesListStart',_0x403b71,_0x1ed1cb),_0x8386ba=!0x0),!_0x1ed1cb['hasAttribute']('footnotesListStyle')&&_0x183d69['schema']['checkAttribute'](_0x1ed1cb,'footnotesListStyle')&&(_0x41d44d['setAttribute']('footnotesListStyle',_0x529e24,_0x1ed1cb),_0x8386ba=!0x0));}return _0x8386ba&&_0x256d4e['_updateFootnotesCounters'](_0x41d44d),_0x8386ba;});}['_defineFormatter'](){const {editor:_0x42d817}=this;_0x42d817['plugins']['get'](V)['setFootnoteFormatter'](_0x58e142=>this['_formatFootnoteListValue'](_0x58e142));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x59a3e8,value:_0x420988,digits:_0x581149}){const _0x4787fe=_0x59a3e8['getAttribute']('footnotesListStyle');return st({'value':_0x420988+(_0x59a3e8['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x4787fe,'digits':_0x581149});}};function ut(_0x59a3ba){if('string'==typeof _0x59a3ba){const _0xb42c8c=et[_0x59a3ba];if(_0xb42c8c)return _0xb42c8c;if(ot['includes'](_0x59a3ba))return _0x59a3ba;}return null;}function dt(_0x387ae2,_0x4e3f2b){const _0x3c1681=_0x4e3f2b['toViewElement'](_0x387ae2);return Array['from'](_0x3c1681['getChildren']())['find'](_0x3ba4ce=>_0x3ba4ce['is']('element','ol')&&_0x3ba4ce['hasClass']('footnotes-list'));}var ht=class extends _0x2067a9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x724916();['keystrokes']=new _0x2455df();['focusables']=new _0x26dcd3();['focusCycler'];constructor(_0x230e03,{styleButtonViews:_0x355f14,styleGridAriaLabel:_0x4db9cd}){super(_0x230e03),(this['focusCycler']=new _0x1e0018({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x355f14,_0x4db9cd),[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 _0x4a83b5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4a83b5['element']);_0xfa7f92({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x97f9ac['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 _0x75ba12=_0x4d9688=>_0x4d9688['stopPropagation']();this['keystrokes']['set']('arrowright',_0x75ba12),this['keystrokes']['set']('arrowleft',_0x75ba12),this['keystrokes']['set']('arrowup',_0x75ba12),this['keystrokes']['set']('arrowdown',_0x75ba12);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3e0531,_0x1ced34){const _0x21fec2=new _0x2067a9(this['locale']);return _0x21fec2['children']=_0x21fec2['createCollection'](),_0x21fec2['children']['addMany'](_0x3e0531),_0x21fec2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1ced34,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x21fec2['children']}),_0x21fec2['children']['delegate']('execute')['to'](this),_0x21fec2['focus']=function(){for(const _0x24a937 of this['children'])if(_0x24a937 instanceof _0xba40e4&&_0x24a937['isOn'])return void _0x24a937['focus']();this['children']['first']['focus']();},_0x21fec2['focusTracker']=new _0x724916(),_0x21fec2['keystrokes']=new _0x2455df(),_0x21fec2['render'](),_0x21fec2['keystrokes']['listenTo'](_0x21fec2['element']),this['children']['add'](_0x21fec2),_0x21fec2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1ed350=this['_createStartIndexPropertyView'](),_0x390c10=[_0x1ed350],_0x4f5928=new _0x4fafa2(this['locale'],_0x390c10);return _0x4f5928['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4f5928['buttonView']['bind']('isEnabled')['toMany'](_0x390c10,'isEnabled',(..._0x11f735)=>_0x11f735['some'](_0x38958f=>_0x38958f)),_0x4f5928['buttonView']['on']('change:isEnabled',(_0x24ed9f,_0x37eaa1,_0x116560)=>{_0x116560||(_0x4f5928['isCollapsed']=!0x0);}),this['children']['add'](_0x4f5928),[_0x1ed350,_0x4f5928];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1125f5=new _0x5097b8(this['locale'],_0x169fbc);return _0x1125f5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1125f5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1125f5['fieldView']['on']('input',()=>{const _0x3ae23f=_0x1125f5['fieldView']['element'],_0x29e48e=_0x3ae23f['valueAsNumber'];Number['isNaN'](_0x29e48e)?_0x1125f5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3ae23f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x29e48e}):_0x1125f5['errorText']=t(_0x29e48e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1125f5;}},mt=class extends _0x69253f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3930b6,_0xd5b9ef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x513739}=this,{componentFactory:_0xf59e85}=_0x513739['ui'];_0x513739['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xf59e85['add']('footnotesStyle',function(_0x4dffd3){return _0x9791f3=>{const {t:t}=_0x9791f3,_0x1f5f58=_0x4dffd3['commands']['get']('footnotesStyle'),_0x30b31a=_0x5cd20f(_0x9791f3),{buttonView:_0x515741}=_0x30b31a;return _0x30b31a['class']='ck-footnotes-styles-dropdown',_0x30b31a['bind']('isEnabled')['to'](_0x1f5f58,'isEnabled'),_0x515741['set']({'label':t('Footnotes\x20style'),'icon':_0x4eb550,'tooltip':!0x0}),_0x30b31a['once']('change:isOpen',()=>{const _0x2eee32=function({editor:_0xdcacb3,dropdownView:_0x5bf4e8}){const {t:t}=_0xdcacb3['locale'],_0x179392=t('Footnotes\x20definitions\x20styles'),_0x5d8a28=function(_0x6d4c15){const {t:t}=_0x6d4c15['locale'],_0x3980d0=_0x6d4c15['config']['get']('footnotes.footnotesProperties.listStyles'),_0x3fce33=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5aa883},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x1a5c9e},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x3dceee},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x1d7536},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x110498},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x43e89c},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x2c0ba5}];return _0x3980d0['map'](_0x1075e3=>{const _0x249ec1=ut(_0x1075e3);return function(_0x2dfde2,_0x2b98b3){const {locale:_0x214164}=_0x2dfde2,{label:_0xdf8c1e,icon:_0x52c427,tooltip:_0x3db75f,style:_0x12516a}=_0x2b98b3,_0x1222a5=_0x2dfde2['commands']['get']('footnotesStyle'),_0x5a23e3=new _0xba40e4(_0x214164);return _0x5a23e3['set']({'label':_0xdf8c1e,'icon':_0x52c427,'tooltip':_0x3db75f}),_0x5a23e3['bind']('isOn')['to'](_0x1222a5,'value',_0x248cfd=>_0x248cfd===_0x12516a),_0x5a23e3['bind']('isEnabled')['to'](_0x1222a5,'isEnabled'),_0x5a23e3['on']('execute',()=>{_0x2dfde2['execute']('footnotesStyle',{'value':_0x12516a}),_0x2dfde2['editing']['view']['focus']();}),_0x5a23e3;}(_0x6d4c15,_0x3fce33['find'](_0x164e75=>_0x164e75['style']===_0x249ec1));});}(_0xdcacb3),_0x4b8604=new ht(_0xdcacb3['locale'],{'styleGridAriaLabel':_0x179392,'styleButtonViews':_0x5d8a28}),_0x503c84=_0xdcacb3['commands']['get']('footnotesStart');return _0x4b8604['startIndexFieldView']['bind']('isEnabled')['to'](_0x503c84),_0x4b8604['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x503c84),_0x4b8604['on']('footnotesListStart',(_0x33ad05,_0x234f09)=>{_0xdcacb3['execute']('footnotesStart',{'value':_0x234f09['startIndex']});}),_0x4b8604['delegate']('execute')['to'](_0x5bf4e8),_0x4b8604;}({'editor':_0x4dffd3,'dropdownView':_0x30b31a});_0x30b31a['panelView']['children']['add'](_0x2eee32);}),_0x30b31a;};}(_0x513739));}['afterInit'](){const {editor:_0x4c55f4}=this,{t:t}=_0x4c55f4['locale'],_0x393356=_0x4c55f4['plugins']['get'](_0xd5b9ef),{defaultPositions:_0x100a72}=_0x53163a;_0x393356['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4c55f4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5474cd=>{let _0x526f73=_0x5474cd['getFirstPosition']()?.['parent'];return _0x526f73?.['is']('$text')&&(_0x526f73=_0x526f73['parent']),_0x526f73?.['is']('element')?_0x526f73['findAncestor'](q):null;},'positions':[_0x100a72['southArrowNorth'],_0x100a72['southArrowNorthMiddleWest'],_0x100a72['southArrowNorthMiddleEast'],_0x100a72['southArrowNorthWest'],_0x100a72['southArrowNorthEast'],_0x100a72['northArrowSouth'],_0x100a72['northArrowSouthMiddleWest'],_0x100a72['northArrowSouthMiddleEast'],_0x100a72['northArrowSouthWest'],_0x100a72['northArrowSouthEast'],_0x100a72['viewportStickyNorth']]});}},pt=class extends _0x69253f{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3a9fcc=>0x1!=_0x3a9fcc}};
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':_0x29d540=>0x1!=_0x29d540}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4fbce4=>{const {af:{dictionary:_0x33669f,getPluralForm:_0x437ba9}}={'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':_0x29e2b4=>0x1!=_0x29e2b4}};_0x4fbce4['af']||={'dictionary':{},'getPluralForm':null},_0x4fbce4['af']['dictionary']=Object['assign'](_0x4fbce4['af']['dictionary'],_0x33669f),_0x4fbce4['af']['getPluralForm']=_0x437ba9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x48482c=>{const {af:{dictionary:_0xfcdcb4,getPluralForm:_0x460c12}}={'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':_0x4b64ed=>0x1!=_0x4b64ed}};_0x48482c['af']||={'dictionary':{},'getPluralForm':null},_0x48482c['af']['dictionary']=Object['assign'](_0x48482c['af']['dictionary'],_0xfcdcb4),_0x48482c['af']['getPluralForm']=_0x460c12;})(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':_0x14e1ab=>0x0==_0x14e1ab?0x0:0x1==_0x14e1ab?0x1:0x2==_0x14e1ab?0x2:_0x14e1ab%0x64>=0x3&&_0x14e1ab%0x64<=0xa?0x3:_0x14e1ab%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':_0x3cdd10=>0x0==_0x3cdd10?0x0:0x1==_0x3cdd10?0x1:0x2==_0x3cdd10?0x2:_0x3cdd10%0x64>=0x3&&_0x3cdd10%0x64<=0xa?0x3:_0x3cdd10%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3ff240=>{const {ar:{dictionary:_0x38eab7,getPluralForm:_0x1c67b0}}={'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':_0x2e8cba=>0x0==_0x2e8cba?0x0:0x1==_0x2e8cba?0x1:0x2==_0x2e8cba?0x2:_0x2e8cba%0x64>=0x3&&_0x2e8cba%0x64<=0xa?0x3:_0x2e8cba%0x64>=0xb?0x4:0x5}};_0x3ff240['ar']||={'dictionary':{},'getPluralForm':null},_0x3ff240['ar']['dictionary']=Object['assign'](_0x3ff240['ar']['dictionary'],_0x38eab7),_0x3ff240['ar']['getPluralForm']=_0x1c67b0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x52f19b=>{const {ar:{dictionary:_0x4e2ec4,getPluralForm:_0x13606e}}={'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':_0x40ffd5=>0x0==_0x40ffd5?0x0:0x1==_0x40ffd5?0x1:0x2==_0x40ffd5?0x2:_0x40ffd5%0x64>=0x3&&_0x40ffd5%0x64<=0xa?0x3:_0x40ffd5%0x64>=0xb?0x4:0x5}};_0x52f19b['ar']||={'dictionary':{},'getPluralForm':null},_0x52f19b['ar']['dictionary']=Object['assign'](_0x52f19b['ar']['dictionary'],_0x4e2ec4),_0x52f19b['ar']['getPluralForm']=_0x13606e;})(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':_0x17f69e=>0x1!=_0x17f69e}};
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':_0x56fa84=>0x1!=_0x56fa84}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d90d0=>{const {ast:{dictionary:_0x1063f6,getPluralForm:_0x43d227}}={'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':_0x4b5e3e=>0x1!=_0x4b5e3e}};_0x5d90d0['ast']||={'dictionary':{},'getPluralForm':null},_0x5d90d0['ast']['dictionary']=Object['assign'](_0x5d90d0['ast']['dictionary'],_0x1063f6),_0x5d90d0['ast']['getPluralForm']=_0x43d227;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1a416e=>{const {ast:{dictionary:_0x597df0,getPluralForm:_0x4ab9e9}}={'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':_0xc36b8c=>0x1!=_0xc36b8c}};_0x1a416e['ast']||={'dictionary':{},'getPluralForm':null},_0x1a416e['ast']['dictionary']=Object['assign'](_0x1a416e['ast']['dictionary'],_0x597df0),_0x1a416e['ast']['getPluralForm']=_0x4ab9e9;})(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':_0x333b92=>0x1!=_0x333b92}};
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':_0x5f0b24=>0x1!=_0x5f0b24}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23e78e=>{const {az:{dictionary:_0x5290c7,getPluralForm:_0x509be2}}={'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':_0x5849e0=>0x1!=_0x5849e0}};_0x23e78e['az']||={'dictionary':{},'getPluralForm':null},_0x23e78e['az']['dictionary']=Object['assign'](_0x23e78e['az']['dictionary'],_0x5290c7),_0x23e78e['az']['getPluralForm']=_0x509be2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xde5e85=>{const {az:{dictionary:_0x310629,getPluralForm:_0x3feb64}}={'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':_0x5ec6e0=>0x1!=_0x5ec6e0}};_0xde5e85['az']||={'dictionary':{},'getPluralForm':null},_0xde5e85['az']['dictionary']=Object['assign'](_0xde5e85['az']['dictionary'],_0x310629),_0xde5e85['az']['getPluralForm']=_0x3feb64;})(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':_0x4be407=>_0x4be407%0xa==0x1&&_0x4be407%0x64!=0xb?0x0:_0x4be407%0xa>=0x2&&_0x4be407%0xa<=0x4&&(_0x4be407%0x64<0xa||_0x4be407%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':_0x553aca=>_0x553aca%0xa==0x1&&_0x553aca%0x64!=0xb?0x0:_0x553aca%0xa>=0x2&&_0x553aca%0xa<=0x4&&(_0x553aca%0x64<0xa||_0x553aca%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20619c=>{const {be:{dictionary:_0x5cceb0,getPluralForm:_0x2ccd9c}}={'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':_0x2a80a7=>_0x2a80a7%0xa==0x1&&_0x2a80a7%0x64!=0xb?0x0:_0x2a80a7%0xa>=0x2&&_0x2a80a7%0xa<=0x4&&(_0x2a80a7%0x64<0xa||_0x2a80a7%0x64>=0x14)?0x1:0x2}};_0x20619c['be']||={'dictionary':{},'getPluralForm':null},_0x20619c['be']['dictionary']=Object['assign'](_0x20619c['be']['dictionary'],_0x5cceb0),_0x20619c['be']['getPluralForm']=_0x2ccd9c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4ce472=>{const {be:{dictionary:_0x3d604e,getPluralForm:_0x2da1b7}}={'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':_0x5a66ee=>_0x5a66ee%0xa==0x1&&_0x5a66ee%0x64!=0xb?0x0:_0x5a66ee%0xa>=0x2&&_0x5a66ee%0xa<=0x4&&(_0x5a66ee%0x64<0xa||_0x5a66ee%0x64>=0x14)?0x1:0x2}};_0x4ce472['be']||={'dictionary':{},'getPluralForm':null},_0x4ce472['be']['dictionary']=Object['assign'](_0x4ce472['be']['dictionary'],_0x3d604e),_0x4ce472['be']['getPluralForm']=_0x2da1b7;})(window['CKEDITOR_TRANSLATIONS']||={});