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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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{Plugin as _0x1867df,Command as _0x2ed227}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x42f1dc,isWidget as _0x3706b2,toWidgetEditable as _0x450337,WidgetToolbarRepository as _0x1835de}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xbfac14,logWarning as _0x5e5a97,FocusTracker as _0x54df5d,KeystrokeHandler as _0x51ce06,global as _0x4a565c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4a45b8,ClickObserver as _0x338512}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1d6a4e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x37f44d,ButtonView as _0xb842d2,View as _0x35c2e6,ViewCollection as _0x4ac9cc,FocusCycler as _0x5dbf80,addKeyboardHandlingForGrid as _0x41c2d7,CollapsibleView as _0x378bcf,LabeledFieldView as _0x4973a3,createLabeledInputNumber as _0x1055d2,ContextualBalloon as _0x4e01c0,BalloonPanelView as _0x2aebde,createDropdown as _0x769365}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x402a18,IconListStyleDecimal as _0x398909,IconListStyleDecimalLeadingZero as _0x3014f7,IconListStyleLowerRoman as _0x261111,IconListStyleUpperRoman as _0x497bca,IconListStyleLowerLatin as _0x584756,IconListStyleUpperLatin as _0x40a812,IconListStyleArabicIndic as _0x3301f3}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x225203,_0x58f436){this['_model']=_0x225203,this['_elementName']=_0x58f436['elementName'],this['_getElementKey']=_0x58f436['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x44e538){const _0x319c81=new Set(),_0x5af505=new Map();for(const _0x281e06 of _0x44e538){if('insert'===_0x281e06['type']&&'$text'!==_0x281e06['name']&&_0x281e06['position']['nodeAfter']){const _0x1d578f=this['_model']['createRangeOn'](_0x281e06['position']['nodeAfter']);for(const _0x2c8d40 of _0x1d578f['getItems']()){if(!_0x2c8d40['is']('element',this['_elementName']))continue;const _0x404947=this['_getElementKey'](_0x2c8d40);_0x5af505['has'](_0x404947)||_0x5af505['set'](_0x404947,[]),_0x5af505['get'](_0x404947)['push'](_0x2c8d40);}}if('remove'===_0x281e06['type']&&_0x281e06['name']===this['_elementName']){const _0x433c8d=this['_getElementKey']({'getAttribute':_0x368b15=>_0x281e06['attributes']['get'](_0x368b15)});_0x319c81['add'](_0x433c8d);}}for(const [_0x40227e,_0x11b2b8]of this['_trackedElements'])'$graveyard'===_0x11b2b8['root']['rootName']&&_0x319c81['add'](_0x40227e);for(const _0x3a3d0b of _0x319c81)this['_trackedElements']['delete'](_0x3a3d0b);for(const [_0x40745f,_0x55aecd]of _0x5af505)this['_trackedElements']['set'](_0x40745f,_0x55aecd[_0x55aecd['length']-0x1]);const _0x5f201d=new Set();for(const [_0x1dec94,_0x2120e3]of _0x5af505)_0x319c81['has'](_0x1dec94)&&(_0x5f201d['add'](_0x2120e3[0x0]),_0x2120e3['length']>0x1?_0x5af505['set'](_0x1dec94,_0x2120e3['slice'](0x1)):_0x5af505['delete'](_0x1dec94),_0x319c81['delete'](_0x1dec94));return{'removed':Array['from'](_0x319c81),'inserted':Array['from'](_0x5af505['values']())['flat'](),'moved':Array['from'](_0x5f201d)};}}class K extends _0x1867df{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3cb0e6){super(_0x3cb0e6),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x35e4c3=>_0x35e4c3['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x380e67=>_0x380e67['getAttribute']('footnoteId')});}['init'](){const {editor:_0x21ac21}=this,{model:_0x52c0aa,data:_0x8bf803}=_0x21ac21;_0x52c0aa['document']['registerPostFixer'](_0x123d24=>{const _0xb86c4e=_0x52c0aa['document']['differ']['getChanges']();let _0x2b52b5=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x123d24,_0xb86c4e)&&(_0x2b52b5=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x123d24,_0xb86c4e)&&(_0x2b52b5=!0x0),this['_handleFootnoteReferencesChanges'](_0x123d24,_0xb86c4e)&&(_0x2b52b5=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x123d24)&&(_0x2b52b5=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x123d24)&&(_0x2b52b5=!0x0),this['_sortFootnoteDefinitions'](_0x123d24)&&(_0x2b52b5=!0x0),_0x2b52b5;}),this['listenTo'](_0x52c0aa['document'],'change:data',()=>{_0x52c0aa['enqueueChange']({'isUndoable':!0x1},_0x58ab1d=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x58ab1d);});},{'priority':'low'}),this['listenTo'](_0x8bf803,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x329d4f){return this['_footnotes']['find'](_0x199a5c=>_0x199a5c['id']===_0x329d4f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x36d548){this['_footnoteFormatter']=_0x36d548;}['_updateFootnotesCounters'](_0x4f3ccc,_0x2900bc=0x0){let _0x104865=!0x1;for(let _0x3f0a66=_0x2900bc;_0x3f0a66<this['_footnotes']['length'];_0x3f0a66++)this['_updateFootnoteRefCounter'](_0x4f3ccc,_0x3f0a66)&&(_0x104865=!0x0);return _0x104865;}['_insertEmptyFootnotesDefinitionsContainer'](_0xbc0974,_0x540543){const _0x356621=_0xbc0974['createElement']('footnotesDefinitions',{});return _0xbc0974['append'](_0x356621,_0x540543),this['_footnotesDefinitions']=_0x356621,_0x356621;}['_ensureFootnotesDefinitionsContainerExists'](_0x2e1b64){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4bef98=this['_footnotes'][0x0]['reference']['root'],_0x4342c5=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2e1b64,_0x4bef98);for(const _0x5dff1a of this['_footnotes'])_0x5dff1a['definition']['parent']||_0x2e1b64['insert'](_0x5dff1a['definition'],_0x4342c5,'end');this['_updateFootnotesCounters'](_0x2e1b64);}['_handleFootnotesDefinitionsObjectChanges'](_0x2d0689,_0x520609){let _0x81ea5c=!0x1;const {inserted:_0x50fc2e,removed:_0xb59e85,moved:_0x4a2fb3}=this['_footnoteDefsContainerTracker']['getChanges'](_0x520609);if(_0x4a2fb3['length']&&(this['_footnotesDefinitions']=_0x4a2fb3[0x0]),_0x50fc2e['length']){if(_0x50fc2e['length']>0x1||this['_footnotesDefinitions']&&_0x50fc2e['some'](_0x38e51d=>_0x38e51d!==this['_footnotesDefinitions'])){const _0x5186f0=_0x2d0689['createElement']('footnotesDefinitions',{}),_0x19107f=[];this['_footnotesDefinitions']&&_0x19107f['push'](this['_footnotesDefinitions']),_0x19107f['push'](..._0x50fc2e),_0x2d0689['insert'](_0x5186f0,_0x19107f[0x0],'before');for(const _0x4f3148 of _0x19107f)_0x2d0689['move'](_0x2d0689['createRangeIn'](_0x4f3148),_0x2d0689['createPositionAt'](_0x5186f0,'end')),_0x2d0689['remove'](_0x4f3148);this['_footnotesDefinitions']=_0x5186f0,this['_updateFootnotesCounters'](_0x2d0689),_0x81ea5c=!0x0;}else this['_footnotesDefinitions']=_0x50fc2e[0x0];}if(_0xb59e85['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1941cd of this['_footnotes'])_0x2d0689['remove'](_0x1941cd['reference']),_0x81ea5c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x81ea5c;}['_handleFootnoteDefinitionsChanges'](_0x4053da,_0x16d8fa){let _0x1e1298=!0x1;const _0x3efefa=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x436a85,moved:_0x17ff3c}=this['_footnoteDefsTracker']['getChanges'](_0x16d8fa);for(const _0x5a3d39 of[..._0x17ff3c,..._0x436a85]){const _0x215341=_0x5a3d39['getAttribute']('footnoteId'),_0x3e580a=this['getFootnote'](_0x215341);_0x3e580a&&(_0x3e580a['definition']=_0x5a3d39),j(_0x4053da,_0x3efefa,_0x5a3d39)&&(_0x1e1298=!0x0);}return _0x1e1298;}['_handleFootnoteReferencesChanges'](_0x25004f,_0xf9870a){let _0x3d2227=!0x1;const {removed:_0x2bc96e,inserted:_0x234182,moved:_0x1b185a}=this['_footnoteRefsTracker']['getChanges'](_0xf9870a);for(const _0x49fee1 of _0x2bc96e)this['_handleRemoveFootnoteReferenceById'](_0x25004f,_0x49fee1)&&(_0x3d2227=!0x0);for(const _0x4861d8 of _0x234182)this['_handleInsertedFootnoteReference'](_0x25004f,_0x4861d8)&&(_0x3d2227=!0x0);for(const _0x46af62 of _0x1b185a)this['_handleMovedFootnoteReference'](_0x25004f,_0x46af62)&&(_0x3d2227=!0x0);return _0x3d2227;}['_handleFootnotesDefinitionsObjectSync'](_0xd0cd23){if(!this['_footnotesDefinitions'])return!0x1;let _0x299930=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x53cc06=[];for(const _0x1582dd of this['_footnotesDefinitions']['getChildren']()){const _0x747a18=_0x1582dd['getAttribute']('footnoteId');this['getFootnote'](_0x747a18)||(_0x53cc06['unshift'](_0x1582dd),_0x299930=!0x0);}for(const _0x1e84b4 of _0x53cc06)_0xd0cd23['remove'](_0x1e84b4);}const _0x2aa048=new Set(),_0x57f6d7=[];for(const _0x53e2e6 of this['_footnotesDefinitions']['getChildren']()){const _0x491e97=_0x53e2e6['getAttribute']('footnoteId');_0x2aa048['has'](_0x491e97)?(_0x57f6d7['unshift'](_0x53e2e6),_0x299930=!0x0):_0x2aa048['add'](_0x491e97);}for(const _0xd55767 of _0x57f6d7)_0xd0cd23['remove'](_0xd55767);return this['_footnotesDefinitions']['childCount']||(_0xd0cd23['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x299930=!0x0),_0x299930;}['_handleInsertedFootnoteReference'](_0x190078,_0x43716d){if(this['_footnotes']['find'](_0x345fda=>_0x345fda['reference']===_0x43716d))return!0x1;let _0x207f3=!0x1;const _0x13a887=_0x43716d['getAttribute']('footnoteId'),_0x43f5bc=this['_footnotes']['findIndex'](_0x57e706=>_0x57e706['id']===_0x13a887);-0x1!==_0x43f5bc&&(_0x190078['remove'](this['_footnotes'][_0x43f5bc]['reference']),this['_footnotes']['splice'](_0x43f5bc,0x1),_0x207f3=!0x0);let _0x56910f=this['_footnotesDefinitions']?function(_0x137810,_0x4ef5fc){for(const _0x18e9d9 of _0x137810['getChildren']())if(_0x18e9d9['getAttribute']('footnoteId')===_0x4ef5fc)return _0x18e9d9;return null;}(this['_footnotesDefinitions'],_0x13a887):null;_0x56910f||(_0x56910f=_0x190078['createElement']('footnoteDefinition',{'footnoteId':_0x13a887}),this['_footnotesDefinitions']&&(_0x190078['insert'](_0x56910f,this['_footnotesDefinitions'],'end'),_0x207f3=!0x0));const _0x39980e={'id':_0x13a887,'reference':_0x43716d,'definition':_0x56910f},_0x28483a=T(this['editor']['model'],this['_footnotes'],_0x43716d);this['_footnotes']['splice'](_0x28483a,0x0,_0x39980e);let _0x7f6184=_0x28483a;return-0x1!==_0x43f5bc&&(_0x7f6184=Math['min'](_0x28483a,_0x43f5bc)),this['_updateFootnotesCounters'](_0x190078,_0x7f6184)&&(_0x207f3=!0x0),_0x207f3;}['_handleRemoveFootnoteReferenceById'](_0x6097ce,_0x58df8f){const _0x2a7b6e=this['_footnotes']['findIndex'](_0x9dd2b5=>_0x9dd2b5['id']===_0x58df8f);if(-0x1===_0x2a7b6e)return!0x1;let _0x172d9e=!0x1;const _0x414d1e=this['_footnotes'][_0x2a7b6e];return'$graveyard'!==_0x414d1e['definition']['root']['rootName']&&(_0x6097ce['remove'](_0x414d1e['definition']),_0x172d9e=!0x0),this['_footnotes']['splice'](_0x2a7b6e,0x1),this['_updateFootnotesCounters'](_0x6097ce,_0x2a7b6e)&&(_0x172d9e=!0x0),_0x172d9e;}['_handleMovedFootnoteReference'](_0x586b4c,_0x33ec41){const _0x26a67f=_0x33ec41['getAttribute']('footnoteId'),_0x31f11f=this['_footnotes']['findIndex'](_0x1df3ac=>_0x1df3ac['id']===_0x26a67f),_0x2cf649=this['_footnotes'][_0x31f11f];let _0x389185=!0x1;_0x2cf649['reference']=_0x33ec41,this['_footnotes']['splice'](_0x31f11f,0x1);const _0x43897b=T(this['editor']['model'],this['_footnotes'],_0x33ec41);return this['_footnotes']['splice'](_0x43897b,0x0,_0x2cf649),this['_updateFootnotesCounters'](_0x586b4c,Math['min'](_0x31f11f,_0x43897b))&&(_0x389185=!0x0),_0x389185;}['_updateFootnoteRefCounter'](_0x13f371,_0x35e892){if(!this['_footnotesDefinitions'])return!0x1;const _0x1b49db=this['_footnotes'][_0x35e892];let _0x32a4a4;return _0x32a4a4=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1b49db,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x35e892+0x1}):String(_0x35e892+0x1),_0x1b49db['reference']['getAttribute']('footnoteCounter')!=_0x32a4a4&&(_0x13f371['setAttribute']('footnoteCounter',_0x32a4a4,_0x1b49db['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3de313){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x25846b,_0x131ccd){if(_0x25846b['length']!==_0x131ccd['length'])return!0x1;for(let _0x451e7d=0x0;_0x451e7d<_0x25846b['length'];_0x451e7d++)if(_0x25846b[_0x451e7d]!==_0x131ccd[_0x451e7d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1e6f7=>_0x1e6f7['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x129452=>_0x129452['getAttribute']('footnoteId'))))return!0x1;let _0x400a37=!0x1;for(let _0x4642d2=0x0;_0x4642d2<this['_footnotes']['length'];_0x4642d2++){const _0xf310b1=this['_footnotes'][_0x4642d2],_0x9d27f1=_0x3de313['createPositionBefore'](_0xf310b1['definition']),_0x1e0ba3=_0x3de313['createPositionAt'](this['_footnotesDefinitions'],_0x4642d2);_0x9d27f1['isEqual'](_0x1e0ba3)||(_0x3de313['move'](_0x3de313['createRangeOn'](_0xf310b1['definition']),_0x1e0ba3),_0x400a37=!0x0);}return _0x400a37;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3202b9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x313823}=this['editor'];let _0x4e4c62=!0x1;for(let _0x4bc475=0x0;_0x4bc475<this['_footnotes']['length']-0x1;_0x4bc475++){const _0x43ea8d=this['_footnotes'][_0x4bc475],_0x4468a9=this['_footnotes'][_0x4bc475+0x1],_0x1cdd65=_0x313823['createPositionBefore'](_0x43ea8d['reference']),_0x3f68a1=_0x313823['createPositionBefore'](_0x4468a9['reference']);'after'===_0x1cdd65['compareWith'](_0x3f68a1)&&(this['_handleMovedFootnoteReference'](_0x3202b9,_0x43ea8d['reference']),_0x4bc475=-0x1,_0x4e4c62=!0x0);}return _0x4e4c62;}}function j(_0x2fc5a2,_0x51aedb,_0x2e48b6){if(_0x2e48b6['childCount'])return!0x1;const _0x565abc=_0x51aedb?'paragraph':'footnoteInlineContent';return _0x2fc5a2['insert'](_0x2fc5a2['createElement'](_0x565abc),_0x2e48b6),!0x0;}function T(_0x185e54,_0x5512c6,_0x354c9b){if(0x0===_0x5512c6['length'])return 0x0;const _0x1d1950=_0x185e54['createPositionBefore'](_0x354c9b);for(let _0x17418=0x0;_0x17418<_0x5512c6['length'];_0x17418++){const _0x550f4c=_0x5512c6[_0x17418],_0x2569ff=_0x185e54['createPositionBefore'](_0x550f4c['reference']);if('before'===_0x1d1950['compareWith'](_0x2569ff))return _0x17418;}const _0x59109f=_0x354c9b['root'];let _0x1a8499=-0x1;for(let _0x566f8e=_0x5512c6['length']-0x1;_0x566f8e>=0x0;_0x566f8e--)if(_0x5512c6[_0x566f8e]['reference']['root']===_0x59109f){_0x1a8499=_0x566f8e;break;}if(-0x1!==_0x1a8499)return _0x1a8499+0x1;const _0x248852=_0x185e54['document']['getRootNames'](),_0x2b8372=_0x248852['indexOf'](_0x59109f['rootName']),_0xc1e11a=_0x248852[_0x2b8372+0x1];if(_0xc1e11a){for(let _0xa792f4=0x0;_0xa792f4<_0x5512c6['length'];_0xa792f4++)if(_0x5512c6[_0xa792f4]['reference']['root']['rootName']===_0xc1e11a)return _0xa792f4;}return _0x5512c6['length'];}class V extends _0x2ed227{['refresh'](){const _0x23f2e5=this['editor']['model']['document']['selection'],_0xeb968=this['_getPositionToInsertFootnote'](_0x23f2e5);this['isEnabled']=!!_0xeb968;}['execute'](_0x5cef66){const {editor:_0x20330d}=this,{model:_0x1713ec}=_0x20330d,{selection:_0x28ee56}=_0x1713ec['document'],_0x112f37=this['_getPositionToInsertFootnote'](_0x28ee56);if(!_0x112f37)return;const _0x4d381c=_0x20330d['plugins']['get']('FootnotesEditing'),_0xe75d7b=_0x5cef66?.['footnoteId']??_0xbfac14();!function(_0x12f2db){return'string'==typeof _0x12f2db&&_0x12f2db['length']>0x0&&!/\s/['test'](_0x12f2db)&&!/^\d/['test'](_0x12f2db);}(_0xe75d7b)?_0x5e5a97('insert-footnote-command-executed-with-invalid-id'):(_0x1713ec['change'](_0x3f8f98=>{const _0x1471d8=_0x3f8f98['createElement']('footnoteRef',{'footnoteId':_0xe75d7b});_0x1713ec['insertObject'](_0x1471d8,_0x112f37,null);}),_0x4d381c['_moveSelectionToFootnoteDefinition'](_0xe75d7b));}['_getPositionToInsertFootnote'](_0x192dca){const {model:_0x3c7a19}=this['editor'],{schema:_0x49af65}=_0x3c7a19,_0x4595d0=_0x192dca['getFirstRange']();for(const _0x4bd770 of _0x4595d0['getItems']())if(_0x49af65['isBlock'](_0x4bd770)||_0x49af65['isObject'](_0x4bd770))return null;const _0x2a6e8f=_0x4595d0['end'];return _0x49af65['checkChild'](_0x2a6e8f,'footnoteRef')?_0x2a6e8f:null;}}class $ extends _0x1867df{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53b785}=this;_0x53b785['config']['define']('footnotes.multiBlock',!0x0),_0x53b785['commands']['add']('insertFootnote',new V(_0x53b785)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5b94de){const _0x32a714=_0x212a61([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x595017=0x47a28506,_0x3dd34d=0x47a50cae^_0x595017,_0x3c33e4=window[_0x212a61([0x44,0x61,0x74,0x65])][_0x212a61([0x6e,0x6f,0x77])](),_0x1759e8=_0x5b94de[_0x212a61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x145b9a=new window[(_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x480fab=>{_0x1759e8[_0x212a61([0x6f,0x6e,0x63,0x65])](_0x212a61([0x72,0x65,0x61,0x64,0x79]),_0x480fab);}),_0x2591f5={[_0x212a61([0x6b,0x74,0x79])]:_0x212a61([0x45,0x43]),[_0x212a61([0x75,0x73,0x65])]:_0x212a61([0x73,0x69,0x67]),[_0x212a61([0x63,0x72,0x76])]:_0x212a61([0x50,0x2d,0x32,0x35,0x36]),[_0x212a61([0x78])]:_0x212a61([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x212a61([0x79])]:_0x212a61([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x212a61([0x61,0x6c,0x67])]:_0x212a61([0x45,0x53,0x32,0x35,0x36])},_0x51dbc2=_0x1759e8[_0x212a61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x212a61([0x67,0x65,0x74])](_0x212a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a853c(){let _0x5d40e2,_0x5be771=null,_0x4e650e=null;try{if(_0x51dbc2==_0x212a61([0x47,0x50,0x4c]))return _0x212a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d40e2=_0x1aa8e3(),!_0x5d40e2)return _0x212a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d40e2[_0x212a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e650e=_0x4a2052(_0x5d40e2[_0x212a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d40e2[_0x212a61([0x6a,0x74,0x69])])),await _0x4e6352()?_0x2ba5e3()?_0x4e2f78()?_0x212a61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x301b37()?(_0x5d40e2[_0x212a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x212a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5be771=_0x4157a0(_0x212a61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ae18c()):_0x212a61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x212a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x212a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x212a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e2f78(){const _0x9dace=[_0x212a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x212a61([0x74,0x72,0x69,0x61,0x6c])][_0x212a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d40e2[_0x212a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c33e4/0x3e8:0xe10*_0x3dd34d;return _0x5d40e2[_0x212a61([0x65,0x78,0x70])]<_0x9dace;}function _0x2ba5e3(){const _0x420d06=_0x5d40e2[_0x212a61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x420d06&&(!!_0x420d06[_0x212a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212a61([0x2a]))||!!_0x420d06[_0x212a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212a61([0x46,0x4f,0x4f])));}function _0x301b37(){const _0x76484a=_0x5d40e2[_0x212a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x76484a||0x0==_0x76484a[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3d4db6}=new URL(window[_0x212a61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x76484a[_0x212a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d4db6))return!0x0;const _0x69b0cc=_0x3d4db6[_0x212a61([0x73,0x70,0x6c,0x69,0x74])](_0x212a61([0x2e]));return _0x76484a[_0x212a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4632b1=>_0x4632b1[_0x212a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x212a61([0x2a])))[_0x212a61([0x6d,0x61,0x70])](_0x1d6da8=>_0x1d6da8[_0x212a61([0x73,0x70,0x6c,0x69,0x74])](_0x212a61([0x2e])))[_0x212a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ab9fd=>_0x4ab9fd[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x69b0cc[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x212a61([0x6d,0x61,0x70])](_0x22343a=>Array(_0x69b0cc[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22343a[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x212a61([0x66,0x69,0x6c,0x6c])](_0x22343a[0x0]===_0x212a61([0x2a])?_0x212a61([0x2a]):'')[_0x212a61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22343a))[_0x212a61([0x73,0x6f,0x6d,0x65])](_0x229b69=>_0x69b0cc[_0x212a61([0x65,0x76,0x65,0x72,0x79])]((_0x58dcbd,_0x586042)=>_0x229b69[_0x586042]===_0x58dcbd||_0x229b69[_0x586042]===_0x212a61([0x2a])));}function _0x5ae18c(){return _0x5be771&&_0x4e650e?new window[(_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x432082,_0x5e3c3d)=>{_0x5be771[_0x212a61([0x74,0x68,0x65,0x6e])](_0x432082,_0x5e3c3d),_0x4e650e[_0x212a61([0x74,0x68,0x65,0x6e])](_0x375703=>{_0x375703!=_0x212a61([0x56,0x61,0x6c,0x69,0x64])&&_0x432082(_0x375703);},_0x5e3c3d);}):_0x5be771||_0x4e650e||_0x212a61([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a2052(_0x1be543,_0x4d4c8e){return new window[(_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ca179=>{if(_0x1e8491())return _0x5ca179(_0x212a61([0x56,0x61,0x6c,0x69,0x64]));_0x1a7769(),_0x1759e8[_0x212a61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x212a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5d3fec=!0x1;const _0x3c68de=_0xbfac14();function _0x41cf85(_0x521b94){return!!_0x521b94&&(typeof _0x521b94===_0x212a61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x521b94===_0x212a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x521b94[_0x212a61([0x74,0x68,0x65,0x6e])]===_0x212a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x521b94[_0x212a61([0x63,0x61,0x74,0x63,0x68])]===_0x212a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7d4a62(_0x1ffddc){_0x490369(_0x1ffddc)[_0x212a61([0x74,0x68,0x65,0x6e])](_0x544a3f=>{if(!_0x544a3f||_0x544a3f[_0x212a61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x212a61([0x6f,0x6b]))return _0x212a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x405f65(_0x2a6a27(_0x3c68de+_0x4d4c8e))!=_0x544a3f[_0x212a61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x212a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x212a61([0x56,0x61,0x6c,0x69,0x64]);})[_0x212a61([0x74,0x68,0x65,0x6e])](_0x174dbd=>(_0xe0d240(),_0x174dbd),()=>{const _0x4506b9=_0x5bc5cf();return null==_0x4506b9?(_0xe0d240(),_0x212a61([0x56,0x61,0x6c,0x69,0x64])):_0x212a61(_0x3c33e4-_0x4506b9>(0x63ae0106^_0x595017)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x212a61([0x74,0x68,0x65,0x6e])](_0x5ca179)[_0x212a61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ca179(_0x212a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1566d2=0x47946b86^_0x595017;function _0xe0d240(){const _0x5d1b8a=_0x212a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x405f65(_0x2a6a27(_0x1be543)),_0x4ec890=_0x2e1b75(_0x405f65(window[_0x212a61([0x4d,0x61,0x74,0x68])][_0x212a61([0x63,0x65,0x69,0x6c])](_0x3c33e4/_0x1566d2)));window[_0x212a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x212a61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d1b8a,_0x4ec890);}function _0x5bc5cf(){const _0x47a818=_0x212a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x405f65(_0x2a6a27(_0x1be543)),_0x4b92a6=window[_0x212a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x212a61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47a818);return _0x4b92a6?window[_0x212a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e1b75(_0x4b92a6),0x10)*_0x1566d2:null;}function _0x490369(_0x40a7a7){return new window[(_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59f186,_0x232c7b)=>{_0x40a7a7[_0x212a61([0x74,0x68,0x65,0x6e])](_0x59f186,_0x232c7b),window[_0x212a61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x232c7b,0x47a351c6^_0x595017);});}}_0x1759e8[_0x212a61([0x6f,0x6e])](_0x212a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x301c72,_0x47d242)=>{if(_0x47d242[0x0]!=_0x1be543)return _0x5ca179(_0x212a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47d242[0x1]={..._0x47d242[0x1],[_0x212a61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c68de};},{[_0x212a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x212a61([0x68,0x69,0x67,0x68])}),_0x1759e8[_0x212a61([0x6f,0x6e])](_0x212a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b660a=>{_0x41cf85(_0x2b660a[_0x212a61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5d3fec=!0x0,_0x7d4a62(_0x2b660a[_0x212a61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x212a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x212a61([0x6c,0x6f,0x77])}),_0x145b9a[_0x212a61([0x74,0x68,0x65,0x6e])](()=>{_0x5d3fec||_0x5ca179(_0x212a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e8491(){return _0x1759e8[_0x212a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x212a61([0x76,0x69,0x65,0x77])][_0x212a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x212a61([0x61,0x75,0x74,0x6f]);}function _0x1a7769(){_0x1759e8[_0x212a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x212a61([0x76,0x69,0x65,0x77])][_0x212a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x212a61([0x61,0x75,0x74,0x6f]);}}function _0x4157a0(_0x21df4a){const _0x31f6ea=[new window[(_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ae3c4=>setTimeout(_0x3ae3c4,0x47abbbca^_0x595017)),_0x145b9a[_0x212a61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c960a=>{let _0xc0740e=0x0;_0x1759e8[_0x212a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x212a61([0x6f,0x6e])](_0x212a61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d680d,_0x45a113)=>{_0x45a113[0x0][_0x212a61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc0740e++,_0xc0740e==(0x47a280ee^_0x595017)&&(_0x3c960a(),_0x4d680d[_0x212a61([0x6f,0x66,0x66])]());});}))];return window[_0x212a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x212a61([0x72,0x61,0x63,0x65])](_0x31f6ea)[_0x212a61([0x74,0x68,0x65,0x6e])](()=>_0x21df4a);}async function _0x3d4752(){await _0x145b9a,_0x1759e8[_0x212a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x212a61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1df895,_0x1759e8[_0x212a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x212a61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1df895,_0x1759e8[_0x212a61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x212a61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x114228(_0x218719){const _0x4595c2=_0x53cadc();_0x1759e8[_0x4595c2]=_0x212a61([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x218719,_0x218719!=_0x212a61([0x56,0x61,0x6c,0x69,0x64])&&_0x3d4752();}function _0x53cadc(){const _0x369366=window[_0x212a61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x212a61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x212a61([0x6e,0x6f,0x77])]())[_0x212a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x212a61([0x2e]),'');let _0x4c4c6f=_0x212a61([0x75]);for(let _0x337715=0x0;_0x337715<_0x369366[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x337715+=0x2){let _0x5499d3=window[_0x212a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x369366[_0x212a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x337715,_0x337715+0x2));_0x5499d3>=_0x32a714[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5499d3-=_0x32a714[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c4c6f+=_0x32a714[_0x5499d3];}return _0x4c4c6f;}function _0x1aa8e3(){const _0x54d835=_0x51dbc2[_0x212a61([0x73,0x70,0x6c,0x69,0x74])](_0x212a61([0x2e]));if(0x3!=_0x54d835[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e130e(_0x54d835[0x1]);function _0x3e130e(_0x423052){const _0x4232e4=_0x1560b2(_0x423052);return _0x4232e4&&_0x527071()?_0x4232e4:null;function _0x527071(){const _0x4dcfbf=_0x4232e4[_0x212a61([0x6a,0x74,0x69])],_0x5e0c77=window[_0x212a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dcfbf[_0x212a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4dcfbf[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x9b0cda={..._0x4232e4,[_0x212a61([0x6a,0x74,0x69])]:_0x4dcfbf[_0x212a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4dcfbf[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x9b0cda[_0x212a61([0x76,0x63])],_0x2a6a27(_0x9b0cda)==_0x5e0c77;}}}async function _0x4e6352(){let _0x27a828=!0x0;try{const _0xc6c451=_0x51dbc2[_0x212a61([0x73,0x70,0x6c,0x69,0x74])](_0x212a61([0x2e])),[_0x5088d6,_0x1d49cc,_0x2261b7]=_0xc6c451;return _0x10982b(_0x5088d6),await _0x2b5c41(_0x5088d6,_0x1d49cc,_0x2261b7),_0x27a828;}catch{return!0x1;}function _0x10982b(_0x63a7c2){const _0x44f500=_0x1560b2(_0x63a7c2);_0x44f500&&_0x44f500[_0x212a61([0x61,0x6c,0x67])]==_0x212a61([0x45,0x53,0x32,0x35,0x36])||(_0x27a828=!0x1);}async function _0x2b5c41(_0x5c1a53,_0x3423b6,_0x233643){const _0x4b73fc=window[_0x212a61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x212a61([0x66,0x72,0x6f,0x6d])](_0x4210d4(_0x233643),_0x19a964=>_0x19a964[_0x212a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x156626=new window[(_0x212a61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x212a61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c1a53+_0x212a61([0x2e])+_0x3423b6),_0x3d9dea=window[_0x212a61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x212a61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d9dea)return;const _0x5c4835=await _0x3d9dea[_0x212a61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x212a61([0x6a,0x77,0x6b]),_0x2591f5,{[_0x212a61([0x6e,0x61,0x6d,0x65])]:_0x212a61([0x45,0x43,0x44,0x53,0x41]),[_0x212a61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x212a61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x212a61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d9dea[_0x212a61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x212a61([0x6e,0x61,0x6d,0x65])]:_0x212a61([0x45,0x43,0x44,0x53,0x41]),[_0x212a61([0x68,0x61,0x73,0x68])]:{[_0x212a61([0x6e,0x61,0x6d,0x65])]:_0x212a61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5c4835,_0x4b73fc,_0x156626)||(_0x27a828=!0x1);}}function _0x1560b2(_0x26855a){return _0x26855a[_0x212a61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x212a61([0x65,0x79]))?JSON[_0x212a61([0x70,0x61,0x72,0x73,0x65])](_0x4210d4(_0x26855a)):null;}function _0x4210d4(_0x427871){return window[_0x212a61([0x61,0x74,0x6f,0x62])](_0x427871[_0x212a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x212a61([0x2b]))[_0x212a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x212a61([0x2f])));}function _0x2a6a27(_0x1ed2db){let _0x22501e=0x1505;function _0x3ed005(_0x289c6e){for(let _0x1778cb=0x0;_0x1778cb<_0x289c6e[_0x212a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1778cb++){const _0x25e423=_0x289c6e[_0x212a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1778cb);_0x22501e=(_0x22501e<<0x5)+_0x22501e+_0x25e423,_0x22501e&=_0x22501e;}}function _0x479b5b(_0x56321f){Array[_0x212a61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56321f)?_0x56321f[_0x212a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x479b5b):_0x56321f&&typeof _0x56321f==_0x212a61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x212a61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56321f)[_0x212a61([0x73,0x6f,0x72,0x74])]()[_0x212a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bdf02,_0x6a045d])=>{_0x3ed005(_0x5bdf02),_0x479b5b(_0x6a045d);}):_0x3ed005(window[_0x212a61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56321f));}return _0x479b5b(_0x1ed2db),_0x22501e>>>0x0;}function _0x405f65(_0x13a8d8){return _0x13a8d8[_0x212a61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x212a61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x212a61([0x30]));}function _0x2e1b75(_0x1fb8be){return _0x1fb8be[_0x212a61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x212a61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x212a61([0x6a,0x6f,0x69,0x6e])]('');}function _0x1df895(){}function _0x212a61(_0x4936d2){return _0x4936d2['map'](_0x515fd8=>String['fromCharCode'](_0x515fd8))['join']('');}_0x114228(await _0x2a853c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1030d7){const {plugins:_0x313f22,editing:_0xe833ec,model:_0x4cb333}=this['editor'],_0x2bf7fb=_0x313f22['get'](K)['getFootnote'](_0x1030d7);return!!_0x2bf7fb&&(_0x4cb333['change'](_0x3f31f9=>{_0x3f31f9['setSelection'](_0x3f31f9['createPositionAt'](_0x2bf7fb['definition'],'end'));}),_0xe833ec['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x10bdb6){const {plugins:_0x5e6ce9,editing:_0x21ebca,model:_0x56428c}=this['editor'],_0x3d635e=_0x5e6ce9['get'](K)['getFootnote'](_0x10bdb6);return!!_0x3d635e&&(_0x56428c['change'](_0x3ebe28=>{_0x3ebe28['setSelection'](_0x3d635e['reference'],'on');}),_0x21ebca['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x66dcbf}=this['editor']['model'],_0x47f57c=this['editor']['config']['get']('footnotes.multiBlock');_0x66dcbf['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x66dcbf['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x66dcbf['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x47f57c?_0x66dcbf['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x66dcbf['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x66dcbf['addChildCheck'](_0x59c931=>{for(const _0x3a79e9 of _0x59c931)if('footnoteDefinition'===_0x3a79e9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1d10c7}=this,{conversion:_0x376348,editing:_0x1c05ff}=_0x1d10c7,{t:t}=_0x1d10c7['locale'];_0x376348['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x9cb824,{writer:_0x3a48d7,consumable:_0x5a98fd})=>{const _0x1646d4=_0x9cb824['getChild'](0x0);if(!_0x1646d4||!_0x1646d4['is']('element','a'))return null;const _0x4032e1=_0x1646d4['getAttribute']('href')||'';if(!_0x4032e1['startsWith']('#'))return null;const _0x4cdabf=_0x4032e1['replace'](/^#/,'');if(!_0x4cdabf)return null;_0x5a98fd['consume'](_0x1646d4,{'name':!0x0,'attributes':['href']});for(const {item:_0x374620}of _0x1c05ff['view']['createRangeIn'](_0x1646d4))_0x374620['is']('$textProxy')?_0x5a98fd['consume'](_0x374620['textNode'],{'name':!0x0}):_0x374620['is']('element')&&_0x5a98fd['consume'](_0x374620,{'name':!0x0});return _0x3a48d7['createElement']('footnoteRef',{'footnoteId':_0x4cdabf});}}),_0x376348['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa4d9b,{writer:_0x1c5934})=>z(_0xa4d9b,_0x1c5934)}),_0x376348['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2cad37,{writer:_0x433c59})=>{const _0x2e47f7=_0x2cad37['getAttribute']('footnoteCounter');return _0x42f1dc(z(_0x2cad37,_0x433c59),_0x433c59,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2e47f7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x134b83}=this,{t:t}=_0x134b83['locale'],{conversion:_0x5bed48}=_0x134b83;_0x5bed48['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5bed48['for']('upcast')['add'](_0x527bc=>{_0x527bc['on']('element:ol',(_0x2b9db6,_0x52b3b7,_0x406c81)=>{const _0x58ef76=_0x52b3b7['viewItem'];if(!_0x58ef76['hasClass']('footnotes-list')||!_0x52b3b7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x406c81['consumable']['consume'](_0x58ef76,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2711dd,modelCursor:_0x52b79a}=_0x406c81['convertChildren'](_0x52b3b7['viewItem'],_0x52b3b7['modelCursor']);_0x52b3b7['modelRange']=_0x2711dd,_0x52b3b7['modelCursor']=_0x52b79a;}),_0x527bc['on']('element:hr',(_0x83bf36,_0x357b5a,_0x1fc870)=>{const _0x2b8cb7=_0x357b5a['viewItem'];_0x2b8cb7['hasClass']('footnotes-divider')&&_0x357b5a['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1fc870['consumable']['consume'](_0x2b8cb7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5bed48['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x599822,{writer:_0x687b41})=>H(_0x687b41)}),_0x5bed48['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5288c7,{writer:_0x229547})=>{const _0x204ad7=H(_0x229547,{'data-footnotes-list-label':t('Footnotes')}),_0x109f47=_0x42f1dc(_0x204ad7,_0x229547,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x229547['setCustomProperty']('footnotesDefinitions',!0x0,_0x109f47),_0x109f47;}});}['_defineDefinitionConverters'](){const {editor:_0x3bd968}=this,{conversion:_0x34173b,locale:_0x10dc2b}=_0x3bd968,_0x2a0dec=_0x3bd968['config']['get']('footnotes.multiBlock');_0x34173b['for']('upcast')['add'](_0x2c0098=>{_0x2c0098['on']('element:li',(_0x70962c,_0x4f4ba4,_0x2af8b2)=>{const _0x1962ec=_0x4f4ba4['viewItem'];if(!_0x1962ec['hasClass']('footnote-definition')||!_0x1962ec['getAttribute']('id'))return;const _0x4d4508=_0x1962ec['parent'];if(!_0x4d4508['is']('element','ol')||!_0x4d4508['hasClass']('footnotes-list'))return;if(!_0x2af8b2['consumable']['test'](_0x1962ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x306d48=_0x2af8b2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1962ec['getAttribute']('id')});if(!_0x2af8b2['safeInsert'](_0x306d48,_0x4f4ba4['modelCursor']))return;_0x2af8b2['consumable']['consume'](_0x1962ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xec7789=Array['from'](_0x1962ec['getChildren']())['find'](_0x21ec10=>_0x21ec10['is']('element')&&_0x21ec10['hasClass']('footnote-content'));for(const _0x4d0736 of _0x1962ec['getChildren']())_0x4d0736['is']('element')&&(_0x2af8b2['consumable']['consume'](_0x4d0736,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2af8b2['consumable']['consume'](_0x4d0736,{'name':!0x0,'classes':'footnote-content'}));if(_0xec7789){if(_0x2a0dec)_0x2af8b2['convertChildren'](_0xec7789,_0x306d48);else{const _0x593f5a=_0x2af8b2['writer']['createElement']('footnoteInlineContent');_0x2af8b2['writer']['insert'](_0x593f5a,_0x306d48),_0x2af8b2['convertChildren'](_0xec7789,_0x593f5a);}}_0x2af8b2['updateConversionResult'](_0x306d48,_0x4f4ba4);});}),_0x34173b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x561393,{writer:_0x42fc7f})=>X(_0x561393,_0x42fc7f,_0x10dc2b,{'dataPipeline':!0x0})}),_0x34173b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20d35b,{writer:_0x163a17})=>X(_0x20d35b,_0x163a17,_0x10dc2b)});}['_defineBogusParagraphConverters'](){const {editor:_0x35ed15}=this,{conversion:_0x3d7410}=_0x35ed15;_0x35ed15['config']['get']('footnotes.multiBlock')?(_0x3d7410['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x3d7410['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35ed15['model']['document'],'change:data',()=>{!function(_0x49f248,_0xa7c7be){const _0x3a7f58=_0x49f248['document']['differ'],_0x351cdf=new Set();for(const _0x1def4a of _0x3a7f58['getChanges']()){const _0x2c0b78='attribute'==_0x1def4a['type']?_0x1def4a['range']['start']['parent']:_0x1def4a['position']['parent'];_0x2c0b78['is']('element','footnoteDefinition')&&_0x351cdf['add'](_0x2c0b78);}for(const _0x5506ec of _0x351cdf['values']()){const _0x22c2fa=Array['from'](_0x5506ec['getChildren']())['filter'](_0x3518fe=>U(_0x3518fe,_0xa7c7be['mapper']));for(const _0x2db287 of _0x22c2fa)_0xa7c7be['reconvertItem'](_0x2db287);}}(_0x35ed15['model'],_0x35ed15['editing']);})):(_0x3d7410['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x3d7410['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x265881,{writer:_0x17c915})=>{const _0x2b55fb=_0x17c915['createContainerElement']('span');return _0x17c915['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2b55fb),_0x2b55fb;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2a0bd0}=this,{editing:_0x32f6c2,t:t}=_0x2a0bd0,_0xe270ed=_0x2a0bd0['model']['document']['selection'];_0x2a0bd0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2a0bd0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x32f6c2['view']['document'],'enter',(_0x4e8ba5,_0x11ca07)=>{const _0x2c2e2a=function(_0x54d192){const _0x1e5dcc=_0x54d192['getSelectedElement']();if(_0x1e5dcc?.['is']('element','footnoteRef'))return _0x1e5dcc;return null;}(_0xe270ed);if(_0x2c2e2a){const _0x28f1ee=_0x2c2e2a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x28f1ee),_0x11ca07['preventDefault'](),_0x4e8ba5['stop']();}},{'context':_0x3706b2});}['_defineClickHandlers'](){const {editor:_0x103ddc}=this,{editing:_0x5d05a5}=_0x103ddc;_0x103ddc['editing']['view']['addObserver'](_0x4a45b8),_0x103ddc['editing']['view']['addObserver'](_0x338512);let _0x323ad7=!0x1;this['listenTo'](_0x5d05a5['view']['document'],'pointerdown',(_0x4c7ba1,_0x35b5fe)=>{const {target:_0x5552e8}=_0x35b5fe,_0x5e0fb6=_0x5d05a5['view']['document']['selection'];_0x323ad7=!!(_0x5552e8?.['is']('element','a')&&_0x5552e8['parent']?.['is']('element','sup')&&_0x5552e8['parent']['hasClass']('footnote'))&&_0x5e0fb6['getSelectedElement']()===_0x5552e8['parent'];},{'priority':'high'}),this['listenTo'](_0x5d05a5['view']['document'],'click',(_0x15ca0b,_0x57dc9d)=>{const {target:_0x4f1a47}=_0x57dc9d;if(!_0x4f1a47?.['is']('element','a'))return;if(_0x4f1a47['parent']?.['is']('element','sup')&&_0x4f1a47['parent']['hasClass']('footnote')&&!_0x323ad7)return void _0x57dc9d['preventDefault']();let _0x45229e=_0x4f1a47['getAttribute']('href');if(!_0x45229e?.['startsWith']('#'))return;_0x45229e=_0x45229e['slice'](0x1);let _0x4caccf=!0x1;(_0x45229e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x45229e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x45229e))&&(_0x4caccf=!0x0),_0x4caccf&&(_0x57dc9d['preventDefault'](),_0x15ca0b['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x56cd96}={}){return(_0x5d150e,{writer:_0x880a99})=>{if(!M(_0x5d150e))return null;if(!_0x56cd96)return _0x880a99['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2dbfe6=_0x880a99['createContainerElement']('p');return _0x880a99['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2dbfe6),_0x2dbfe6;};}function M(_0x1a98c1){const {parent:_0x2efade}=_0x1a98c1;if(!_0x2efade?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2efade['childCount'])return!0x1;for(const _0x3f2201 of _0x1a98c1['getAttributeKeys']())if(!_0x3f2201['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3f2201)return!0x1;return!0x0;}function U(_0x176934,_0x5da52f){if(!_0x176934['is']('element','paragraph'))return!0x1;const _0x22b588=_0x5da52f['toViewElement'](_0x176934);return!!_0x22b588&&M(_0x176934)!==_0x22b588['is']('element','span');}function q(_0x9f9dd5){return _0x3706b2(_0x9f9dd5)&&_0x9f9dd5['is']('containerElement')&&!!_0x9f9dd5['getCustomProperty']('footnotesDefinitions');}function H(_0x3984d5,_0x2cc116={}){const _0x786795=_0x3984d5['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3821cb=_0x3984d5['createContainerElement']('ol',{'class':'footnotes-list'},_0x3984d5['createSlot']());return _0x3984d5['createContainerElement']('div',{'class':'footnotes',..._0x2cc116},[_0x786795,_0x3821cb]);}function z(_0x414bbd,_0x588123){const _0xcf3764=_0x414bbd['getAttribute']('footnoteId'),_0x38807f=_0x414bbd['getAttribute']('footnoteCounter'),_0x946bfd=_0x588123['createUIElement']('a',{'href':'#'+_0xcf3764},function(_0x200a38){const _0x309f96=this['toDomElement'](_0x200a38);return _0x309f96['textContent']=_0x38807f,_0x309f96;}),_0x2ab3d7=_0x588123['createContainerElement']('sup',{'id':'ref-'+_0xcf3764,'class':'footnote'},[_0x946bfd]);return _0x2ab3d7['getFillerOffset']=()=>null,_0x2ab3d7;}function X(_0x2d62d4,_0x26da46,_0x4a3715,{dataPipeline:_0x456f6a}={}){const {t:t}=_0x4a3715,_0x5c4ab1=_0x2d62d4['getAttribute']('footnoteId'),_0x46aa8d=_0x26da46['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5c4ab1},function(_0x143aef){const _0x7878f5=this['toDomElement'](_0x143aef);return _0x7878f5['innerText']='^',_0x7878f5;}),_0x55613a=_0x456f6a?_0x26da46['createContainerElement']('div',{'class':'footnote-content'}):_0x450337(_0x26da46['createEditableElement']('div',{'class':'footnote-content'}),_0x26da46,{'label':t('Footnote\x20content.')});return _0x26da46['insert'](_0x26da46['createPositionAt'](_0x55613a,0x0),_0x26da46['createSlot']()),_0x26da46['createContainerElement']('li',{'class':'footnote-definition','id':_0x5c4ab1},[_0x46aa8d,_0x55613a]);}class J extends _0x1867df{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x1d6a4e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x387294}=this,{plugins:_0x5f1045,model:_0x2e64ff}=_0x387294,_0x3ddcf0=_0x5f1045['get'](_0x1d6a4e),_0x4efcb8=_0x5f1045['get'](K);this['listenTo'](_0x3ddcf0,'outputTransformation',(_0x21783b,_0xd28a00)=>{const _0x15d018=Q(_0x2e64ff['createRangeIn'](_0xd28a00['content']));if(!_0x15d018['length'])return;const _0x4e8d75=_0x4efcb8['getFootnotes'](),_0xbbb755=_0x15d018['reduce']((_0x391de0,_0x436d66)=>{const _0x283a41=_0x4e8d75['find'](_0x4821b4=>_0x4821b4['id']===_0x436d66);if(_0x283a41){const _0x50146e=_0x387294['data']['toView'](_0x283a41['definition'],{'isClipboardPipeline':!0x0}),_0xc3bf83=_0x387294['data']['htmlProcessor']['toData'](_0x50146e);_0x391de0[_0x283a41['id']]=_0xc3bf83;}return _0x391de0;},Object['create'](null));_0xd28a00['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xbbb755));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x70df78}=this,{model:_0x145443,plugins:_0x4039a5}=_0x70df78,{view:_0x2179fe}=_0x70df78['editing'],_0x4aa8c5=_0x4039a5['get'](_0x1d6a4e),_0x4ebc8c=_0x4039a5['get'](K),_0x1e6969=_0x70df78['config']['get']('footnotes.multiBlock');let _0x3aef6b=null;this['listenTo'](_0x2179fe['document'],'clipboardInput',(_0x51e9c2,_0x9763fd)=>{const _0x2557dc=_0x9763fd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3aef6b=_0x2557dc?JSON['parse'](_0x2557dc):null;}),this['listenTo'](_0x4aa8c5,'contentInsertion',(_0x363345,_0x515b3a)=>{const _0x370068=_0x515b3a['sourceEditorId']===this['editor']['id'];_0x370068&&'drop'===_0x515b3a['method']||_0x145443['change'](_0x1808a5=>{let _0x1db2cf=_0x4ebc8c['getFootnotesDefinitionsObjectElement']();const _0x2457e4=!!_0x1db2cf&&Array['from'](_0x145443['document']['selection']['getSelectedBlocks']())['includes'](_0x1db2cf);if(!_0x3aef6b&&function(_0x2c78fc){for(const {item:_0x354267}of _0x2c78fc)if(_0x354267['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x145443['createRangeIn'](_0x515b3a['content']))&&(_0x3aef6b=function(_0x4eb439,_0x30d784){const _0x33f94e=G(_0x4eb439,_0x30d784);if(!_0x33f94e)return null;const _0x319e14=Object['create'](null);for(const _0x29662e of _0x33f94e['getChildren']())_0x29662e['is']('element','footnoteDefinition')&&_0x29662e['hasAttribute']('footnoteId')&&(_0x319e14[_0x29662e['getAttribute']('footnoteId')]=_0x4eb439['cloneElement'](_0x29662e,!0x0));return Object['keys'](_0x319e14)['length']?_0x319e14:null;}(_0x1808a5,_0x515b3a['content'])),(_0x1db2cf&&!_0x2457e4||!_0x1db2cf&&!_0x3aef6b)&&function(_0x325c91,_0x27d88a){const _0x8b4650=[];for(const {item:_0x27ad5e}of _0x325c91['createRangeIn'](_0x27d88a))_0x27ad5e['is']('element','footnotesDefinitions')&&_0x8b4650['push'](_0x27ad5e);for(const _0x18cc60 of _0x8b4650)_0x325c91['remove'](_0x18cc60);}(_0x1808a5,_0x515b3a['content']),!_0x3aef6b)return;const {selection:_0x7bb3fe}=_0x145443['document'],_0x104fa0=_0x7bb3fe['getFirstRange']()['root'];_0x1db2cf&&!_0x2457e4||(_0x1db2cf=G(_0x1808a5,_0x515b3a['content']),_0x1db2cf||=_0x4ebc8c['_insertEmptyFootnotesDefinitionsContainer'](_0x1808a5,_0x104fa0));const _0x196422=Array['from'](_0x7bb3fe['getRanges']())['flatMap'](Q),_0x5b9f35=function(_0x48cb08,_0x358715,_0x47a77d){const _0x3d269b=Object['create'](null);for(const {item:_0x41258a}of _0x48cb08['createRangeIn'](_0x358715))if(_0x41258a['is']('element','footnoteRef')){const _0x57061b=_0x41258a['getAttribute']('footnoteId');if(!_0x47a77d(_0x57061b))continue;_0x3d269b[_0x57061b]||(_0x3d269b[_0x57061b]=_0xbfac14()),_0x48cb08['setAttribute']('footnoteId',_0x3d269b[_0x57061b],_0x41258a);}return _0x3d269b;}(_0x1808a5,_0x515b3a['content'],_0x472a15=>{if(!_0x370068)return!0x0;return!!_0x4ebc8c['getFootnote'](_0x472a15)&&!_0x196422['includes'](_0x472a15);});for(const [_0x1071e6,_0x8d4bb1]of Object['entries'](_0x3aef6b)){const _0x2caa25=_0x5b9f35[_0x1071e6]||_0x1071e6;let _0x24373c;if('string'!=typeof _0x8d4bb1)_0x24373c=_0x8d4bb1,_0x2caa25!==_0x1071e6&&_0x1808a5['setAttribute']('footnoteId',_0x2caa25,_0x24373c);else{_0x24373c=_0x1808a5['createElement']('footnoteDefinition',{'footnoteId':_0x2caa25});const _0x28a9c9=_0x70df78['data']['htmlProcessor']['toView'](_0x8d4bb1);let _0xf37cc4;if(_0x1e6969)_0xf37cc4=_0x70df78['data']['toModel'](_0x28a9c9,_0x24373c);else{_0xf37cc4=_0x1808a5['createElement']('footnoteInlineContent');const _0x4d7b17=_0x70df78['data']['toModel'](_0x28a9c9,_0xf37cc4);_0x1808a5['insert'](_0x4d7b17,_0xf37cc4);}_0x1808a5['append'](_0xf37cc4,_0x24373c);}_0x1808a5['insert'](_0x24373c,_0x1db2cf,'end');}_0x3aef6b=null;});});}}function G(_0x2f71d4,_0x228e5c){for(const {item:_0x3b46f4}of _0x2f71d4['createRangeIn'](_0x228e5c))if(_0x3b46f4['is']('element','footnotesDefinitions'))return _0x3b46f4;return null;}function Q(_0x433d6d){const _0x2b1177=new Set();for(const {item:_0x4a92b8}of _0x433d6d)_0x4a92b8['is']('element','footnoteRef')&&_0x2b1177['add'](_0x4a92b8['getAttribute']('footnoteId'));return Array['from'](_0x2b1177);}class W extends _0x1867df{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x474b0e}=this,{componentFactory:_0x1fc474}=_0x474b0e['ui'];_0x1fc474['add']('insertFootnote',Y(_0x474b0e,_0xb842d2)),_0x1fc474['add']('menuBar:insertFootnote',Y(_0x474b0e,_0x37f44d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1f898c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4edf46;for(const _0x49a35d in _0x1f898c){const _0x31086f=_0x49a35d,_0x25b34c=_0x1f898c[_0x31086f];if('footnotesLicenseKeyValid'==_0x25b34c||'footnotesLicenseKeyInvalid'==_0x25b34c||'footnotesLicenseKeyExpired'==_0x25b34c||'footnotesLicenseKeyDomainLimit'==_0x25b34c||'footnotesLicenseKeyNotAllowed'==_0x25b34c||'footnotesLicenseKeyEvaluationLimit'==_0x25b34c||'footnotesLicenseKeyUsageLimit'==_0x25b34c){delete _0x1f898c[_0x31086f],_0x4edf46=_0x25b34c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4edf46&&_0x1f898c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4edf46&&_0x1f898c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4edf46&&_0x1f898c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4edf46&&_0x1f898c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4edf46&&_0x1f898c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4edf46&&_0x1f898c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x285531,_0x5dd2e4){const _0x47fe31=_0x285531['commands']['get']('insertFootnote');return _0xe50b5c=>{const {t:t}=_0xe50b5c,_0x4a2a19=new _0x5dd2e4(_0xe50b5c),_0x5e0bcd=_0x4a2a19 instanceof _0x37f44d;return _0x4a2a19['bind']('isEnabled')['to'](_0x47fe31,'isEnabled'),_0x4a2a19['set']({'label':t(_0x5e0bcd?'Footnote':'Insert\x20footnote'),'icon':_0x402a18,'tooltip':!0x0}),_0x4a2a19['on']('execute',()=>{_0x47fe31['execute'](),_0x285531['editing']['view']['focus']();}),_0x4a2a19;};}class Z extends _0x1867df{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,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'];class nt extends _0x2ed227{['refresh'](){const {editor:_0x2d9e69}=this,_0x13428f=_0x2d9e69['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x13428f,this['value']=_0x13428f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x61ca3f}){const {editor:_0xf37ca}=this,_0x26dadb=_0xf37ca['plugins']['get'](K),_0x3837ea=_0x26dadb['getFootnotesDefinitionsObjectElement']();_0x3837ea&&ot['includes'](_0x61ca3f)&&_0xf37ca['model']['change'](_0x4ef20c=>{_0x4ef20c['setAttribute']('footnotesListStyle',_0x61ca3f,_0x3837ea),_0x26dadb['_updateFootnotesCounters'](_0x4ef20c);});}}class it extends _0x2ed227{['refresh'](){const {editor:_0x1270b0}=this,_0x195c55=_0x1270b0['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x195c55,this['value']=_0x195c55?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x7d4b03}){const {editor:_0x3f3b57}=this,_0x56b7d6=_0x3f3b57['plugins']['get'](K),_0x3fc4fb=_0x56b7d6['getFootnotesDefinitionsObjectElement']();_0x3fc4fb&&Number['isInteger'](_0x7d4b03)&&_0x3f3b57['model']['change'](_0x2542b2=>{_0x2542b2['setAttribute']('footnotesListStart',_0x7d4b03,_0x3fc4fb),_0x56b7d6['_updateFootnotesCounters'](_0x2542b2);});}}function st(_0x2e19ce,_0x1e4fbf){let _0x122de5='',_0x5c2a31=_0x2e19ce;for(;_0x5c2a31>0x0;){const _0x2192c1=(_0x5c2a31-0x1)%0x1a;_0x122de5=String['fromCharCode'](0x61+_0x2192c1)+_0x122de5,_0x5c2a31=Math['floor']((_0x5c2a31-0x1)/0x1a);}return _0x1e4fbf?_0x122de5['toUpperCase']():_0x122de5;}const rt=[{'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 lt(_0x58e3f5,_0x57470a){let _0x1d8f40='',_0x1c1de4=_0x58e3f5;for(const {value:_0x3164e8,numeral:_0x556760}of rt)for(;_0x1c1de4>=_0x3164e8;)_0x1d8f40+=_0x556760,_0x1c1de4-=_0x3164e8;return _0x57470a?_0x1d8f40:_0x1d8f40['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x1867df{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x112e66}=this;_0x112e66['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x112e66['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x112e66['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x112e66['commands']['add']('footnotesStyle',new nt(_0x112e66)),_0x112e66['commands']['add']('footnotesStart',new it(_0x112e66)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x17d1f3}=this,{schema:_0xa41b45}=_0x17d1f3['model'];_0xa41b45['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x236f51}=this,{conversion:_0x5018a8,model:_0x415abe}=_0x236f51,{schema:_0x13f252}=_0x415abe;_0x5018a8['for']('upcast')['add'](_0x375552=>{_0x375552['on']('element:ol',(_0x597043,_0x57e3d5,_0x2d7188)=>{const _0x2c25d=_0x57e3d5['viewItem'],_0x492507=_0x57e3d5['modelCursor']?.['parent'];_0x2c25d['hasClass']('footnotes-list')&&_0x492507?.['is']('element','footnotesDefinitions')&&(function(_0x6c49e6,_0x4f8eae,_0x22d94d,_0x15d21c){if(!_0x15d21c['checkAttribute'](_0x4f8eae,'footnotesListStart'))return;let _0x5b8953=0x1;const _0xfed9b6=_0x22d94d['consumable']['consume'](_0x6c49e6,{'attributes':'start'});if(_0xfed9b6){const _0x23de8c=Number['parseInt'](_0x6c49e6['getAttribute']('start'),0xa);Number['isNaN'](_0x23de8c)||(_0x5b8953=_0x23de8c);}!_0xfed9b6&&_0x4f8eae['hasAttribute']('footnotesListStart')||_0x22d94d['writer']['setAttribute']('footnotesListStart',_0x5b8953,_0x4f8eae);}(_0x2c25d,_0x492507,_0x2d7188,_0x13f252),function(_0x3b6fc3,_0x2c2a26,_0x409bbc,_0xcd47fa){if(!_0xcd47fa['checkAttribute'](_0x2c2a26,'footnotesListStyle'))return;let _0x4b3f29='decimal',_0x3c8357=!0x1;if(_0x409bbc['consumable']['consume'](_0x3b6fc3,{'attributes':'type'})){const _0x2e3361={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x3b6fc3['getAttribute']('type')];_0x2e3361&&(_0x4b3f29=_0x2e3361),_0x3c8357=!0x0;}if(_0x409bbc['consumable']['consume'](_0x3b6fc3,{'styles':'list-style-type'})){const _0x84251=ct(_0x3b6fc3['getStyle']('list-style-type'));_0x84251&&(_0x4b3f29=_0x84251),_0x3c8357=!0x0;}!_0x3c8357&&_0x2c2a26['hasAttribute']('footnotesListStyle')||_0x409bbc['writer']['setAttribute']('footnotesListStyle',_0x4b3f29,_0x2c2a26);}(_0x2c25d,_0x492507,_0x2d7188,_0x13f252));});}),_0x5018a8['for']('downcast')['add'](_0xe96d6d=>{_0xe96d6d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x469019,_0x14cbd4,_0x1ccf77)=>{if(!_0x1ccf77['consumable']['consume'](_0x14cbd4['item'],_0x469019['name']))return;const _0x4df05d=ut(_0x14cbd4['item'],_0x1ccf77['mapper']),{attributeNewValue:_0x309cc8}=_0x14cbd4;null==_0x309cc8||0x1===_0x309cc8?_0x1ccf77['writer']['removeAttribute']('start',_0x4df05d):_0x1ccf77['writer']['setAttribute']('start',String(_0x309cc8),_0x4df05d);}),_0xe96d6d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x53cf9d,_0x108cad,_0x5a4cd0)=>{if(!_0x5a4cd0['consumable']['consume'](_0x108cad['item'],_0x53cf9d['name']))return;const _0x20e156=ut(_0x108cad['item'],_0x5a4cd0['mapper']),{attributeNewValue:_0x3b58e7}=_0x108cad;_0x3b58e7&&'decimal'!==_0x3b58e7?_0x5a4cd0['writer']['setStyle']('list-style-type',_0x3b58e7,_0x20e156):_0x5a4cd0['writer']['removeStyle']('list-style-type',_0x20e156);});});}['_definePostfixer'](){const {editor:_0x15e5b1}=this,{model:_0x21d1d9}=_0x15e5b1,_0x202ce6=_0x15e5b1['plugins']['get'](K),_0x11af49=this['_getDefaultListStyle'](),_0x44e30a=this['_getDefaultStartIndex']();_0x21d1d9['document']['registerPostFixer'](_0x382381=>{const _0x49ded9=_0x21d1d9['document']['differ']['getChanges']();let _0x46c5c8=!0x1;for(const _0x5b7035 of _0x49ded9){if('insert'!==_0x5b7035['type']||'$text'===_0x5b7035['name'])continue;const _0x367b48=_0x21d1d9['createRangeOn'](_0x5b7035['position']['nodeAfter']);for(const _0x33884f of _0x367b48['getItems']())_0x33884f['is']('element','footnotesDefinitions')&&(!_0x33884f['hasAttribute']('footnotesListStart')&&_0x21d1d9['schema']['checkAttribute'](_0x33884f,'footnotesListStart')&&(_0x382381['setAttribute']('footnotesListStart',_0x44e30a,_0x33884f),_0x46c5c8=!0x0),!_0x33884f['hasAttribute']('footnotesListStyle')&&_0x21d1d9['schema']['checkAttribute'](_0x33884f,'footnotesListStyle')&&(_0x382381['setAttribute']('footnotesListStyle',_0x11af49,_0x33884f),_0x46c5c8=!0x0));}return _0x46c5c8&&_0x202ce6['_updateFootnotesCounters'](_0x382381),_0x46c5c8;});}['_defineFormatter'](){const {editor:_0x158af9}=this;_0x158af9['plugins']['get'](K)['setFootnoteFormatter'](_0x5a0af8=>this['_formatFootnoteListValue'](_0x5a0af8));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2f34b8,value:_0x8e8d56,digits:_0x6abfcc}){const _0x562885=_0x2f34b8['getAttribute']('footnotesListStyle'),_0x2dd889=_0x2f34b8['getAttribute']('footnotesListStart'),_0x35c424=Math['floor'](_0x8e8d56)+(_0x2dd889??0x1)-0x1;switch(_0x562885){case'decimal-leading-zero':return function(_0x318ad2,_0x12ef27){return String(_0x318ad2)['padStart'](_0x12ef27,'0');}(_0x35c424,Math['max'](0x2,_0x6abfcc));case'lower-alpha':case'lower-latin':return st(_0x35c424,!0x1);case'upper-alpha':case'upper-latin':return st(_0x35c424,!0x0);case'lower-roman':return lt(_0x35c424,!0x1);case'upper-roman':return lt(_0x35c424,!0x0);case'arabic-indic':return String(_0x35c424)['replace'](/\d/g,_0x5efdee=>ft[Number(_0x5efdee)]);default:return String(_0x35c424);}}}function ct(_0x227e54){if('string'==typeof _0x227e54){const _0xcb37be=et[_0x227e54];if(_0xcb37be)return _0xcb37be;if(ot['includes'](_0x227e54))return _0x227e54;}return null;}function ut(_0x495bca,_0x57ab33){const _0x1c3350=_0x57ab33['toViewElement'](_0x495bca);return Array['from'](_0x1c3350['getChildren']())['find'](_0x1a45fd=>_0x1a45fd['is']('element','ol')&&_0x1a45fd['hasClass']('footnotes-list'));}class dt extends _0x35c2e6{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x54df5d();['keystrokes']=new _0x51ce06();['focusables']=new _0x4ac9cc();['focusCycler'];constructor(_0x1086ac,{styleButtonViews:_0x5195e8,styleGridAriaLabel:_0x49a1cf}){super(_0x1086ac),(this['focusCycler']=new _0x5dbf80({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5195e8,_0x49a1cf),[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 _0x19a537 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x19a537['element']);_0x41c2d7({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4a565c['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 _0x5aa190=_0x3c4f93=>_0x3c4f93['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5aa190),this['keystrokes']['set']('arrowleft',_0x5aa190),this['keystrokes']['set']('arrowup',_0x5aa190),this['keystrokes']['set']('arrowdown',_0x5aa190);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4bf227,_0x1bff70){const _0xae1cd=new _0x35c2e6(this['locale']);return _0xae1cd['children']=_0xae1cd['createCollection'](),_0xae1cd['children']['addMany'](_0x4bf227),_0xae1cd['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1bff70,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xae1cd['children']}),_0xae1cd['children']['delegate']('execute')['to'](this),_0xae1cd['focus']=function(){for(const _0x4b815f of this['children'])if(_0x4b815f instanceof _0xb842d2&&_0x4b815f['isOn'])return void _0x4b815f['focus']();this['children']['first']['focus']();},_0xae1cd['focusTracker']=new _0x54df5d(),_0xae1cd['keystrokes']=new _0x51ce06(),_0xae1cd['render'](),_0xae1cd['keystrokes']['listenTo'](_0xae1cd['element']),this['children']['add'](_0xae1cd),_0xae1cd;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3ff173=this['_createStartIndexPropertyView'](),_0x382654=[_0x3ff173],_0x2c935e=new _0x378bcf(this['locale'],_0x382654);return _0x2c935e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2c935e['buttonView']['bind']('isEnabled')['toMany'](_0x382654,'isEnabled',(..._0x5d4d5)=>_0x5d4d5['some'](_0x36599f=>_0x36599f)),_0x2c935e['buttonView']['on']('change:isEnabled',(_0x2388c0,_0x232211,_0xf46dfb)=>{_0xf46dfb||(_0x2c935e['isCollapsed']=!0x0);}),this['children']['add'](_0x2c935e),[_0x3ff173,_0x2c935e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4b3e77=new _0x4973a3(this['locale'],_0x1055d2);return _0x4b3e77['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4b3e77['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4b3e77['fieldView']['on']('input',()=>{const _0x1076c0=_0x4b3e77['fieldView']['element'],_0x69cb48=_0x1076c0['valueAsNumber'];Number['isNaN'](_0x69cb48)?_0x4b3e77['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1076c0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x69cb48}):_0x4b3e77['errorText']=t(_0x69cb48<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4b3e77;}}class ht extends _0x1867df{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4e01c0,_0x1835de];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bc7a0}=this,{componentFactory:_0x2dab4e}=_0x2bc7a0['ui'];_0x2bc7a0['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2dab4e['add']('footnotesStyle',function(_0x38a220){return _0x3d7b90=>{const {t:t}=_0x3d7b90,_0x127564=_0x38a220['commands']['get']('footnotesStyle'),_0x5f0942=_0x769365(_0x3d7b90),{buttonView:_0x5cc945}=_0x5f0942;return _0x5f0942['class']='ck-footnotes-styles-dropdown',_0x5f0942['bind']('isEnabled')['to'](_0x127564,'isEnabled'),_0x5cc945['set']({'label':t('Footnotes\x20style'),'icon':_0x402a18,'tooltip':!0x0}),_0x5f0942['once']('change:isOpen',()=>{const _0x3392f0=function({editor:_0x43ca14,dropdownView:_0x56da60}){const {t:t}=_0x43ca14['locale'],_0x2f51bb=t('Footnotes\x20definitions\x20styles'),_0x37fddf=function(_0x56a3fa){const {t:t}=_0x56a3fa['locale'],_0x58eb3d=_0x56a3fa['config']['get']('footnotes.footnotesProperties.listStyles'),_0xb957ff=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x398909},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x3014f7},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x261111},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x497bca},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x584756},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x40a812},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x3301f3}];return _0x58eb3d['map'](_0x308369=>{const _0x3017fe=ct(_0x308369),_0x3d7f5e=_0xb957ff['find'](_0x2a4dbf=>_0x2a4dbf['style']===_0x3017fe);return function(_0x570a9e,_0x498102){const {locale:_0x2d399f}=_0x570a9e,{label:_0x2f512b,icon:_0x55a19c,tooltip:_0x19fdb1,style:_0x5e67d7}=_0x498102,_0x44407c=_0x570a9e['commands']['get']('footnotesStyle'),_0x1331da=new _0xb842d2(_0x2d399f);return _0x1331da['set']({'label':_0x2f512b,'icon':_0x55a19c,'tooltip':_0x19fdb1}),_0x1331da['bind']('isOn')['to'](_0x44407c,'value',_0x4e1e56=>_0x4e1e56===_0x5e67d7),_0x1331da['bind']('isEnabled')['to'](_0x44407c,'isEnabled'),_0x1331da['on']('execute',()=>{_0x570a9e['execute']('footnotesStyle',{'value':_0x5e67d7}),_0x570a9e['editing']['view']['focus']();}),_0x1331da;}(_0x56a3fa,_0x3d7f5e);});}(_0x43ca14),_0x16d1dc=new dt(_0x43ca14['locale'],{'styleGridAriaLabel':_0x2f51bb,'styleButtonViews':_0x37fddf}),_0x34f74d=_0x43ca14['commands']['get']('footnotesStart');return _0x16d1dc['startIndexFieldView']['bind']('isEnabled')['to'](_0x34f74d),_0x16d1dc['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x34f74d),_0x16d1dc['on']('footnotesListStart',(_0x37b4ad,_0x5a8c7f)=>{_0x43ca14['execute']('footnotesStart',{'value':_0x5a8c7f['startIndex']});}),_0x16d1dc['delegate']('execute')['to'](_0x56da60),_0x16d1dc;}({'editor':_0x38a220,'dropdownView':_0x5f0942});_0x5f0942['panelView']['children']['add'](_0x3392f0);}),_0x5f0942;};}(_0x2bc7a0));}['afterInit'](){const {editor:_0x58f18c}=this,{t:t}=_0x58f18c['locale'],_0x25ed49=_0x58f18c['plugins']['get'](_0x1835de),{defaultPositions:_0x14fc0f}=_0x2aebde;_0x25ed49['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x58f18c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x52065b=>{let _0x3b55a3=_0x52065b['getFirstPosition']()?.['parent'];return _0x3b55a3?.['is']('$text')&&(_0x3b55a3=_0x3b55a3['parent']),_0x3b55a3?.['is']('element')?_0x3b55a3['findAncestor'](q):null;},'positions':[_0x14fc0f['southArrowNorth'],_0x14fc0f['southArrowNorthMiddleWest'],_0x14fc0f['southArrowNorthMiddleEast'],_0x14fc0f['southArrowNorthWest'],_0x14fc0f['southArrowNorthEast'],_0x14fc0f['northArrowSouth'],_0x14fc0f['northArrowSouthMiddleWest'],_0x14fc0f['northArrowSouthMiddleEast'],_0x14fc0f['northArrowSouthWest'],_0x14fc0f['northArrowSouthEast'],_0x14fc0f['viewportStickyNorth']]});}}class mt extends _0x1867df{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
23
+ import{Plugin as _0x134cc7,Command as _0x375aab}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1b4516,isWidget as _0x44fb6b,toWidgetEditable as _0x4450a7,WidgetToolbarRepository as _0x14fd5d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x154634,logWarning as _0x53a257,FocusTracker as _0xb57bfc,KeystrokeHandler as _0x225787,global as _0x427f6d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x55be01,ClickObserver as _0x44cc64}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4baeb3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x394af4,ButtonView as _0x3f3acf,View as _0x474892,ViewCollection as _0x9b6c37,FocusCycler as _0x434d4b,addKeyboardHandlingForGrid as _0x4d410b,CollapsibleView as _0x18a09d,LabeledFieldView as _0x119509,createLabeledInputNumber as _0x3c69dc,ContextualBalloon as _0x3d9417,BalloonPanelView as _0x2e1c79,createDropdown as _0x586b5b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x257d16,IconListStyleDecimal as _0x311def,IconListStyleDecimalLeadingZero as _0x2cd7cc,IconListStyleLowerRoman as _0x18bb53,IconListStyleUpperRoman as _0xf4b06,IconListStyleLowerLatin as _0x237875,IconListStyleUpperLatin as _0x1655ae,IconListStyleArabicIndic as _0x59478f}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3215dd,_0x178de0){this['_model']=_0x3215dd,this['_elementName']=_0x178de0['elementName'],this['_getElementKey']=_0x178de0['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x31cc13){const _0x1de861=new Set(),_0x7c8aed=new Map();for(const _0x15b82d of _0x31cc13){if('insert'===_0x15b82d['type']&&'$text'!==_0x15b82d['name']&&_0x15b82d['position']['nodeAfter']){const _0x319fa2=this['_model']['createRangeOn'](_0x15b82d['position']['nodeAfter']);for(const _0x4fe0c1 of _0x319fa2['getItems']()){if(!_0x4fe0c1['is']('element',this['_elementName']))continue;const _0x323ab4=this['_getElementKey'](_0x4fe0c1);_0x7c8aed['has'](_0x323ab4)||_0x7c8aed['set'](_0x323ab4,[]),_0x7c8aed['get'](_0x323ab4)['push'](_0x4fe0c1);}}if('remove'===_0x15b82d['type']&&_0x15b82d['name']===this['_elementName']){const _0x1cab67=this['_getElementKey']({'getAttribute':_0x5abfe2=>_0x15b82d['attributes']['get'](_0x5abfe2)});_0x1de861['add'](_0x1cab67);}}for(const [_0x36aaad,_0x289c36]of this['_trackedElements'])'$graveyard'===_0x289c36['root']['rootName']&&_0x1de861['add'](_0x36aaad);for(const _0x4cf3c4 of _0x1de861)this['_trackedElements']['delete'](_0x4cf3c4);for(const [_0x52a2af,_0x43fe4d]of _0x7c8aed)this['_trackedElements']['set'](_0x52a2af,_0x43fe4d[_0x43fe4d['length']-0x1]);const _0x5295cc=new Set();for(const [_0x1523c7,_0x9d8597]of _0x7c8aed)_0x1de861['has'](_0x1523c7)&&(_0x5295cc['add'](_0x9d8597[0x0]),_0x9d8597['length']>0x1?_0x7c8aed['set'](_0x1523c7,_0x9d8597['slice'](0x1)):_0x7c8aed['delete'](_0x1523c7),_0x1de861['delete'](_0x1523c7));return{'removed':Array['from'](_0x1de861),'inserted':Array['from'](_0x7c8aed['values']())['flat'](),'moved':Array['from'](_0x5295cc)};}}class K extends _0x134cc7{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x43ddd5){super(_0x43ddd5),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x25676e=>_0x25676e['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5c0830=>_0x5c0830['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1d5133}=this,{model:_0x14adf6,data:_0x201734}=_0x1d5133;_0x14adf6['document']['registerPostFixer'](_0x5e9241=>{const _0x30c091=_0x14adf6['document']['differ']['getChanges']();let _0x5517f8=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5e9241,_0x30c091)&&(_0x5517f8=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5e9241,_0x30c091)&&(_0x5517f8=!0x0),this['_handleFootnoteReferencesChanges'](_0x5e9241,_0x30c091)&&(_0x5517f8=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5e9241)&&(_0x5517f8=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5e9241)&&(_0x5517f8=!0x0),this['_sortFootnoteDefinitions'](_0x5e9241)&&(_0x5517f8=!0x0),_0x5517f8;}),this['listenTo'](_0x14adf6['document'],'change:data',()=>{_0x14adf6['enqueueChange']({'isUndoable':!0x1},_0x149bfb=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x149bfb);});},{'priority':'low'}),this['listenTo'](_0x201734,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x220137){return this['_footnotes']['find'](_0x11d87a=>_0x11d87a['id']===_0x220137)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x92de50){this['_footnoteFormatter']=_0x92de50;}['_updateFootnotesCounters'](_0x147ddf,_0x3ff6b9=0x0){let _0x912610=!0x1;for(let _0x31e298=_0x3ff6b9;_0x31e298<this['_footnotes']['length'];_0x31e298++)this['_updateFootnoteRefCounter'](_0x147ddf,_0x31e298)&&(_0x912610=!0x0);return _0x912610;}['_insertEmptyFootnotesDefinitionsContainer'](_0x27f8a6,_0x5f0a50){const _0x3c160d=_0x27f8a6['createElement']('footnotesDefinitions',{});return _0x27f8a6['append'](_0x3c160d,_0x5f0a50),this['_footnotesDefinitions']=_0x3c160d,_0x3c160d;}['_ensureFootnotesDefinitionsContainerExists'](_0x24ec58){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x27b568=this['_footnotes'][0x0]['reference']['root'],_0x2c4a39=this['_insertEmptyFootnotesDefinitionsContainer'](_0x24ec58,_0x27b568);for(const _0x2b997f of this['_footnotes'])_0x2b997f['definition']['parent']||_0x24ec58['insert'](_0x2b997f['definition'],_0x2c4a39,'end');this['_updateFootnotesCounters'](_0x24ec58);}['_handleFootnotesDefinitionsObjectChanges'](_0x16be02,_0x12008c){let _0x5eb7a3=!0x1;const {inserted:_0x59cb97,removed:_0x4f18f6,moved:_0x16c71b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x12008c);if(_0x16c71b['length']&&(this['_footnotesDefinitions']=_0x16c71b[0x0]),_0x59cb97['length']){if(_0x59cb97['length']>0x1||this['_footnotesDefinitions']&&_0x59cb97['some'](_0x4ca11d=>_0x4ca11d!==this['_footnotesDefinitions'])){const _0x28fef8=_0x16be02['createElement']('footnotesDefinitions',{}),_0x30e930=[];this['_footnotesDefinitions']&&_0x30e930['push'](this['_footnotesDefinitions']),_0x30e930['push'](..._0x59cb97),_0x16be02['insert'](_0x28fef8,_0x30e930[0x0],'before');for(const _0x53bd3e of _0x30e930)_0x16be02['move'](_0x16be02['createRangeIn'](_0x53bd3e),_0x16be02['createPositionAt'](_0x28fef8,'end')),_0x16be02['remove'](_0x53bd3e);this['_footnotesDefinitions']=_0x28fef8,this['_updateFootnotesCounters'](_0x16be02),_0x5eb7a3=!0x0;}else this['_footnotesDefinitions']=_0x59cb97[0x0];}if(_0x4f18f6['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x32c00c of this['_footnotes'])_0x16be02['remove'](_0x32c00c['reference']),_0x5eb7a3=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5eb7a3;}['_handleFootnoteDefinitionsChanges'](_0x82e4d8,_0x51d04e){let _0x5f4105=!0x1;const _0x5b6df4=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4f64fa,moved:_0x294887}=this['_footnoteDefsTracker']['getChanges'](_0x51d04e);for(const _0x590fbf of[..._0x294887,..._0x4f64fa]){const _0x1dc2b6=_0x590fbf['getAttribute']('footnoteId'),_0x5ad457=this['getFootnote'](_0x1dc2b6);_0x5ad457&&(_0x5ad457['definition']=_0x590fbf),j(_0x82e4d8,_0x5b6df4,_0x590fbf)&&(_0x5f4105=!0x0);}return _0x5f4105;}['_handleFootnoteReferencesChanges'](_0x4762cc,_0x348dd1){let _0x43a00c=!0x1;const {removed:_0x548f73,inserted:_0xb27c80,moved:_0x356b81}=this['_footnoteRefsTracker']['getChanges'](_0x348dd1);for(const _0x34b2f0 of _0x548f73)this['_handleRemoveFootnoteReferenceById'](_0x4762cc,_0x34b2f0)&&(_0x43a00c=!0x0);for(const _0x2a60a7 of _0xb27c80)this['_handleInsertedFootnoteReference'](_0x4762cc,_0x2a60a7)&&(_0x43a00c=!0x0);for(const _0x3e5022 of _0x356b81)this['_handleMovedFootnoteReference'](_0x4762cc,_0x3e5022)&&(_0x43a00c=!0x0);return _0x43a00c;}['_handleFootnotesDefinitionsObjectSync'](_0x5b53f6){if(!this['_footnotesDefinitions'])return!0x1;let _0x805766=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3269=[];for(const _0x2f9806 of this['_footnotesDefinitions']['getChildren']()){const _0x401de3=_0x2f9806['getAttribute']('footnoteId');this['getFootnote'](_0x401de3)||(_0x3269['unshift'](_0x2f9806),_0x805766=!0x0);}for(const _0x2ddb20 of _0x3269)_0x5b53f6['remove'](_0x2ddb20);}const _0x3ab4ca=new Set(),_0x3b9d5b=[];for(const _0x572c69 of this['_footnotesDefinitions']['getChildren']()){const _0x15a130=_0x572c69['getAttribute']('footnoteId');_0x3ab4ca['has'](_0x15a130)?(_0x3b9d5b['unshift'](_0x572c69),_0x805766=!0x0):_0x3ab4ca['add'](_0x15a130);}for(const _0x19f333 of _0x3b9d5b)_0x5b53f6['remove'](_0x19f333);return this['_footnotesDefinitions']['childCount']||(_0x5b53f6['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x805766=!0x0),_0x805766;}['_handleInsertedFootnoteReference'](_0x4b6ad1,_0x5aa278){if(this['_footnotes']['find'](_0x842e24=>_0x842e24['reference']===_0x5aa278))return!0x1;let _0x3138bb=!0x1;const _0x383610=_0x5aa278['getAttribute']('footnoteId'),_0x4c3eb6=this['_footnotes']['findIndex'](_0x32048c=>_0x32048c['id']===_0x383610);-0x1!==_0x4c3eb6&&(_0x4b6ad1['remove'](this['_footnotes'][_0x4c3eb6]['reference']),this['_footnotes']['splice'](_0x4c3eb6,0x1),_0x3138bb=!0x0);let _0xd4bc1c=this['_footnotesDefinitions']?function(_0x486a62,_0x47f332){for(const _0x6cd652 of _0x486a62['getChildren']())if(_0x6cd652['getAttribute']('footnoteId')===_0x47f332)return _0x6cd652;return null;}(this['_footnotesDefinitions'],_0x383610):null;_0xd4bc1c||(_0xd4bc1c=_0x4b6ad1['createElement']('footnoteDefinition',{'footnoteId':_0x383610}),this['_footnotesDefinitions']&&(_0x4b6ad1['insert'](_0xd4bc1c,this['_footnotesDefinitions'],'end'),_0x3138bb=!0x0));const _0x379cb6={'id':_0x383610,'reference':_0x5aa278,'definition':_0xd4bc1c},_0x5c0d68=T(this['editor']['model'],this['_footnotes'],_0x5aa278);this['_footnotes']['splice'](_0x5c0d68,0x0,_0x379cb6);let _0x416f9e=_0x5c0d68;return-0x1!==_0x4c3eb6&&(_0x416f9e=Math['min'](_0x5c0d68,_0x4c3eb6)),this['_updateFootnotesCounters'](_0x4b6ad1,_0x416f9e)&&(_0x3138bb=!0x0),_0x3138bb;}['_handleRemoveFootnoteReferenceById'](_0x1d7172,_0x40151e){const _0x2b5c23=this['_footnotes']['findIndex'](_0x2f632b=>_0x2f632b['id']===_0x40151e);if(-0x1===_0x2b5c23)return!0x1;let _0x4d2c09=!0x1;const _0x14e62a=this['_footnotes'][_0x2b5c23];return'$graveyard'!==_0x14e62a['definition']['root']['rootName']&&(_0x1d7172['remove'](_0x14e62a['definition']),_0x4d2c09=!0x0),this['_footnotes']['splice'](_0x2b5c23,0x1),this['_updateFootnotesCounters'](_0x1d7172,_0x2b5c23)&&(_0x4d2c09=!0x0),_0x4d2c09;}['_handleMovedFootnoteReference'](_0x271260,_0x47d126){const _0xda28ab=_0x47d126['getAttribute']('footnoteId'),_0x223324=this['_footnotes']['findIndex'](_0xdb2881=>_0xdb2881['id']===_0xda28ab),_0x2b1db6=this['_footnotes'][_0x223324];let _0x2aa26a=!0x1;_0x2b1db6['reference']=_0x47d126,this['_footnotes']['splice'](_0x223324,0x1);const _0x933e0f=T(this['editor']['model'],this['_footnotes'],_0x47d126);return this['_footnotes']['splice'](_0x933e0f,0x0,_0x2b1db6),this['_updateFootnotesCounters'](_0x271260,Math['min'](_0x223324,_0x933e0f))&&(_0x2aa26a=!0x0),_0x2aa26a;}['_updateFootnoteRefCounter'](_0x44ec1d,_0x54aa53){if(!this['_footnotesDefinitions'])return!0x1;const _0x565d07=this['_footnotes'][_0x54aa53];let _0x767cf4;return _0x767cf4=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x565d07,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x54aa53+0x1}):String(_0x54aa53+0x1),_0x565d07['reference']['getAttribute']('footnoteCounter')!=_0x767cf4&&(_0x44ec1d['setAttribute']('footnoteCounter',_0x767cf4,_0x565d07['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3c55b3){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2f6412,_0x86c234){if(_0x2f6412['length']!==_0x86c234['length'])return!0x1;for(let _0x40cc11=0x0;_0x40cc11<_0x2f6412['length'];_0x40cc11++)if(_0x2f6412[_0x40cc11]!==_0x86c234[_0x40cc11])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2df70e=>_0x2df70e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x102040=>_0x102040['getAttribute']('footnoteId'))))return!0x1;let _0x4ff61a=!0x1;for(let _0x3f3de5=0x0;_0x3f3de5<this['_footnotes']['length'];_0x3f3de5++){const _0xbcb3e2=this['_footnotes'][_0x3f3de5],_0x142d85=_0x3c55b3['createPositionBefore'](_0xbcb3e2['definition']),_0x5b0bcd=_0x3c55b3['createPositionAt'](this['_footnotesDefinitions'],_0x3f3de5);_0x142d85['isEqual'](_0x5b0bcd)||(_0x3c55b3['move'](_0x3c55b3['createRangeOn'](_0xbcb3e2['definition']),_0x5b0bcd),_0x4ff61a=!0x0);}return _0x4ff61a;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5195e1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3667f6}=this['editor'];let _0x315d4b=!0x1;for(let _0x1035e8=0x0;_0x1035e8<this['_footnotes']['length']-0x1;_0x1035e8++){const _0x431287=this['_footnotes'][_0x1035e8],_0x17312f=this['_footnotes'][_0x1035e8+0x1],_0x429bf7=_0x3667f6['createPositionBefore'](_0x431287['reference']),_0x5af959=_0x3667f6['createPositionBefore'](_0x17312f['reference']);'after'===_0x429bf7['compareWith'](_0x5af959)&&(this['_handleMovedFootnoteReference'](_0x5195e1,_0x431287['reference']),_0x1035e8=-0x1,_0x315d4b=!0x0);}return _0x315d4b;}}function j(_0xea7e5a,_0x5bc566,_0x4256c7){if(_0x4256c7['childCount'])return!0x1;const _0x5b881c=_0x5bc566?'paragraph':'footnoteInlineContent';return _0xea7e5a['insert'](_0xea7e5a['createElement'](_0x5b881c),_0x4256c7),!0x0;}function T(_0x3d91c3,_0x402a32,_0x556bd9){if(0x0===_0x402a32['length'])return 0x0;const _0x3ddb88=_0x3d91c3['createPositionBefore'](_0x556bd9);for(let _0x411e2c=0x0;_0x411e2c<_0x402a32['length'];_0x411e2c++){const _0x182b77=_0x402a32[_0x411e2c],_0x3ffa5f=_0x3d91c3['createPositionBefore'](_0x182b77['reference']);if('before'===_0x3ddb88['compareWith'](_0x3ffa5f))return _0x411e2c;}const _0x3b5a37=_0x556bd9['root'];let _0x453921=-0x1;for(let _0x5225e1=_0x402a32['length']-0x1;_0x5225e1>=0x0;_0x5225e1--)if(_0x402a32[_0x5225e1]['reference']['root']===_0x3b5a37){_0x453921=_0x5225e1;break;}if(-0x1!==_0x453921)return _0x453921+0x1;const _0x371c2b=_0x3d91c3['document']['getRootNames'](),_0x1186b8=_0x371c2b['indexOf'](_0x3b5a37['rootName']),_0xe85888=_0x371c2b[_0x1186b8+0x1];if(_0xe85888){for(let _0x1b37a2=0x0;_0x1b37a2<_0x402a32['length'];_0x1b37a2++)if(_0x402a32[_0x1b37a2]['reference']['root']['rootName']===_0xe85888)return _0x1b37a2;}return _0x402a32['length'];}class V extends _0x375aab{['refresh'](){const _0x72b065=this['editor']['model']['document']['selection'],_0x451e9b=this['_getPositionToInsertFootnote'](_0x72b065);this['isEnabled']=!!_0x451e9b;}['execute'](_0x29365d){const {editor:_0x16f108}=this,{model:_0x1932b6}=_0x16f108,{selection:_0xd3c6c8}=_0x1932b6['document'],_0xea5006=this['_getPositionToInsertFootnote'](_0xd3c6c8);if(!_0xea5006)return;const _0x13f625=_0x16f108['plugins']['get']('FootnotesEditing'),_0x577dfa=_0x29365d?.['footnoteId']??_0x154634();!function(_0x3e25e7){return'string'==typeof _0x3e25e7&&_0x3e25e7['length']>0x0&&!/\s/['test'](_0x3e25e7)&&!/^\d/['test'](_0x3e25e7);}(_0x577dfa)?_0x53a257('insert-footnote-command-executed-with-invalid-id'):(_0x1932b6['change'](_0x44b0c0=>{const _0x15956e=_0x44b0c0['createElement']('footnoteRef',{'footnoteId':_0x577dfa});_0x1932b6['insertObject'](_0x15956e,_0xea5006,null);}),_0x13f625['_moveSelectionToFootnoteDefinition'](_0x577dfa));}['_getPositionToInsertFootnote'](_0x18c35a){const {model:_0x33739e}=this['editor'],{schema:_0x509018}=_0x33739e,_0x96791f=_0x18c35a['getFirstRange']();for(const _0x3601cc of _0x96791f['getItems']())if(_0x509018['isBlock'](_0x3601cc)||_0x509018['isObject'](_0x3601cc))return null;const _0x4f33ce=_0x96791f['end'];return _0x509018['checkChild'](_0x4f33ce,'footnoteRef')?_0x4f33ce:null;}}class $ extends _0x134cc7{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39aa68}=this;_0x39aa68['config']['define']('footnotes.multiBlock',!0x0),_0x39aa68['commands']['add']('insertFootnote',new V(_0x39aa68)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2e620c){const _0x1f4846=_0x754e86([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x4abcdc=0x47a28506,_0x1c8db7=0x47a50cde^_0x4abcdc,_0x37fe8d=window[_0x754e86([0x44,0x61,0x74,0x65])][_0x754e86([0x6e,0x6f,0x77])](),_0x58dd19=_0x2e620c[_0x754e86([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a1f8d=new window[(_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x105b27=>{_0x58dd19[_0x754e86([0x6f,0x6e,0x63,0x65])](_0x754e86([0x72,0x65,0x61,0x64,0x79]),_0x105b27);}),_0x212ea0={[_0x754e86([0x6b,0x74,0x79])]:_0x754e86([0x45,0x43]),[_0x754e86([0x75,0x73,0x65])]:_0x754e86([0x73,0x69,0x67]),[_0x754e86([0x63,0x72,0x76])]:_0x754e86([0x50,0x2d,0x32,0x35,0x36]),[_0x754e86([0x78])]:_0x754e86([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x754e86([0x79])]:_0x754e86([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x754e86([0x61,0x6c,0x67])]:_0x754e86([0x45,0x53,0x32,0x35,0x36])},_0x4670e3=_0x58dd19[_0x754e86([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x754e86([0x67,0x65,0x74])](_0x754e86([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a126a(){let _0x1f3f87,_0x7f9b72=null,_0x326309=null;try{if(_0x4670e3==_0x754e86([0x47,0x50,0x4c]))return _0x754e86([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f3f87=_0xf9301f(),!_0x1f3f87)return _0x754e86([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f3f87[_0x754e86([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x326309=_0x42cc03(_0x1f3f87[_0x754e86([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f3f87[_0x754e86([0x6a,0x74,0x69])])),await _0x1e2926()?_0x2ec72c()?_0x3f337d()?_0x754e86([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x51a1be()?(_0x1f3f87[_0x754e86([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x754e86([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x7f9b72=_0x301542(_0x754e86([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x536cb5()):_0x754e86([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x754e86([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x754e86([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x754e86([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f337d(){const _0x559d55=[_0x754e86([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x754e86([0x74,0x72,0x69,0x61,0x6c])][_0x754e86([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f3f87[_0x754e86([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37fe8d/0x3e8:0xe10*_0x1c8db7;return _0x1f3f87[_0x754e86([0x65,0x78,0x70])]<_0x559d55;}function _0x2ec72c(){const _0xbe2592=_0x1f3f87[_0x754e86([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbe2592&&(!!_0xbe2592[_0x754e86([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x754e86([0x2a]))||!!_0xbe2592[_0x754e86([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x754e86([0x46,0x4f,0x4f])));}function _0x51a1be(){const _0x33fb76=_0x1f3f87[_0x754e86([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33fb76||0x0==_0x33fb76[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x297402}=new URL(window[_0x754e86([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x33fb76[_0x754e86([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x297402))return!0x0;const _0x2c6c11=_0x297402[_0x754e86([0x73,0x70,0x6c,0x69,0x74])](_0x754e86([0x2e]));return _0x33fb76[_0x754e86([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ec5ce=>_0x3ec5ce[_0x754e86([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x754e86([0x2a])))[_0x754e86([0x6d,0x61,0x70])](_0x221b99=>_0x221b99[_0x754e86([0x73,0x70,0x6c,0x69,0x74])](_0x754e86([0x2e])))[_0x754e86([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bf42c=>_0x1bf42c[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c6c11[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x754e86([0x6d,0x61,0x70])](_0x47aa5a=>Array(_0x2c6c11[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47aa5a[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x754e86([0x66,0x69,0x6c,0x6c])](_0x47aa5a[0x0]===_0x754e86([0x2a])?_0x754e86([0x2a]):'')[_0x754e86([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47aa5a))[_0x754e86([0x73,0x6f,0x6d,0x65])](_0x3ddafd=>_0x2c6c11[_0x754e86([0x65,0x76,0x65,0x72,0x79])]((_0x54ff8b,_0x32fef2)=>_0x3ddafd[_0x32fef2]===_0x54ff8b||_0x3ddafd[_0x32fef2]===_0x754e86([0x2a])));}function _0x536cb5(){return _0x7f9b72&&_0x326309?new window[(_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14e590,_0x6007a5)=>{_0x7f9b72[_0x754e86([0x74,0x68,0x65,0x6e])](_0x14e590,_0x6007a5),_0x326309[_0x754e86([0x74,0x68,0x65,0x6e])](_0x510356=>{_0x510356!=_0x754e86([0x56,0x61,0x6c,0x69,0x64])&&_0x14e590(_0x510356);},_0x6007a5);}):_0x7f9b72||_0x326309||_0x754e86([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42cc03(_0x4a50bd,_0x3762e5){return new window[(_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x128429=>{if(_0x196816())return _0x128429(_0x754e86([0x56,0x61,0x6c,0x69,0x64]));_0x152e6d(),_0x58dd19[_0x754e86([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x754e86([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f837b=!0x1;const _0x5121ad=_0x154634();function _0x4d3681(_0x6abaa0){return!!_0x6abaa0&&(typeof _0x6abaa0===_0x754e86([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x6abaa0===_0x754e86([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x6abaa0[_0x754e86([0x74,0x68,0x65,0x6e])]===_0x754e86([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x6abaa0[_0x754e86([0x63,0x61,0x74,0x63,0x68])]===_0x754e86([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3a6cc4(_0x5761e7){_0x2e3b03(_0x5761e7)[_0x754e86([0x74,0x68,0x65,0x6e])](_0x59be10=>{if(!_0x59be10||_0x59be10[_0x754e86([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x754e86([0x6f,0x6b]))return _0x754e86([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2934cb(_0x2cdff4(_0x5121ad+_0x3762e5))!=_0x59be10[_0x754e86([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x754e86([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x754e86([0x56,0x61,0x6c,0x69,0x64]);})[_0x754e86([0x74,0x68,0x65,0x6e])](_0x452a4f=>(_0x54dbe3(),_0x452a4f),()=>{const _0x12d6f3=_0x83b954();return null==_0x12d6f3?(_0x54dbe3(),_0x754e86([0x56,0x61,0x6c,0x69,0x64])):_0x754e86(_0x37fe8d-_0x12d6f3>(0x63ae0106^_0x4abcdc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x754e86([0x74,0x68,0x65,0x6e])](_0x128429)[_0x754e86([0x63,0x61,0x74,0x63,0x68])](()=>{_0x128429(_0x754e86([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55cf58=0x47946b86^_0x4abcdc;function _0x54dbe3(){const _0x345979=_0x754e86([0x6c,0x6c,0x63,0x74,0x2d])+_0x2934cb(_0x2cdff4(_0x4a50bd)),_0x57a63b=_0x19be78(_0x2934cb(window[_0x754e86([0x4d,0x61,0x74,0x68])][_0x754e86([0x63,0x65,0x69,0x6c])](_0x37fe8d/_0x55cf58)));window[_0x754e86([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x754e86([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x345979,_0x57a63b);}function _0x83b954(){const _0x2ec6f8=_0x754e86([0x6c,0x6c,0x63,0x74,0x2d])+_0x2934cb(_0x2cdff4(_0x4a50bd)),_0x49d9f9=window[_0x754e86([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x754e86([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ec6f8);return _0x49d9f9?window[_0x754e86([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19be78(_0x49d9f9),0x10)*_0x55cf58:null;}function _0x2e3b03(_0x283172){return new window[(_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38f753,_0x3d594b)=>{_0x283172[_0x754e86([0x74,0x68,0x65,0x6e])](_0x38f753,_0x3d594b),window[_0x754e86([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d594b,0x47a351c6^_0x4abcdc);});}}_0x58dd19[_0x754e86([0x6f,0x6e])](_0x754e86([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b4b77,_0x534f9d)=>{if(_0x534f9d[0x0]!=_0x4a50bd)return _0x128429(_0x754e86([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x534f9d[0x1]={..._0x534f9d[0x1],[_0x754e86([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5121ad};},{[_0x754e86([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x754e86([0x68,0x69,0x67,0x68])}),_0x58dd19[_0x754e86([0x6f,0x6e])](_0x754e86([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16d634=>{_0x4d3681(_0x16d634[_0x754e86([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f837b=!0x0,_0x3a6cc4(_0x16d634[_0x754e86([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x754e86([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x754e86([0x6c,0x6f,0x77])}),_0x2a1f8d[_0x754e86([0x74,0x68,0x65,0x6e])](()=>{_0x3f837b||_0x128429(_0x754e86([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x196816(){return _0x58dd19[_0x754e86([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x754e86([0x76,0x69,0x65,0x77])][_0x754e86([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x754e86([0x61,0x75,0x74,0x6f]);}function _0x152e6d(){_0x58dd19[_0x754e86([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x754e86([0x76,0x69,0x65,0x77])][_0x754e86([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x754e86([0x61,0x75,0x74,0x6f]);}}function _0x301542(_0x3a78b3){const _0x3701e7=[new window[(_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x296fdf=>setTimeout(_0x296fdf,0x47abbbca^_0x4abcdc)),_0x2a1f8d[_0x754e86([0x74,0x68,0x65,0x6e])](()=>new window[(_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ac444=>{let _0x4e97ca=0x0;_0x58dd19[_0x754e86([0x6d,0x6f,0x64,0x65,0x6c])][_0x754e86([0x6f,0x6e])](_0x754e86([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50e152,_0x4a994b)=>{_0x4a994b[0x0][_0x754e86([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e97ca++,_0x4e97ca==(0x47a280ee^_0x4abcdc)&&(_0x1ac444(),_0x50e152[_0x754e86([0x6f,0x66,0x66])]());});}))];return window[_0x754e86([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x754e86([0x72,0x61,0x63,0x65])](_0x3701e7)[_0x754e86([0x74,0x68,0x65,0x6e])](()=>_0x3a78b3);}async function _0x23de2d(){await _0x2a1f8d,_0x58dd19[_0x754e86([0x6d,0x6f,0x64,0x65,0x6c])][_0x754e86([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e3264,_0x58dd19[_0x754e86([0x6d,0x6f,0x64,0x65,0x6c])][_0x754e86([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e3264,_0x58dd19[_0x754e86([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x754e86([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2886e8(_0x352394){const _0x35dfa0=_0x1ff261();_0x58dd19[_0x35dfa0]=_0x754e86([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x352394,_0x352394!=_0x754e86([0x56,0x61,0x6c,0x69,0x64])&&_0x23de2d();}function _0x1ff261(){const _0x3f4e0c=window[_0x754e86([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x754e86([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x754e86([0x6e,0x6f,0x77])]())[_0x754e86([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x754e86([0x2e]),'');let _0x3eb36b=_0x754e86([0x75]);for(let _0x5d7ebe=0x0;_0x5d7ebe<_0x3f4e0c[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d7ebe+=0x2){let _0x4f529e=window[_0x754e86([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f4e0c[_0x754e86([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d7ebe,_0x5d7ebe+0x2));_0x4f529e>=_0x1f4846[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f529e-=_0x1f4846[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3eb36b+=_0x1f4846[_0x4f529e];}return _0x3eb36b;}function _0xf9301f(){const _0x5c80d3=_0x4670e3[_0x754e86([0x73,0x70,0x6c,0x69,0x74])](_0x754e86([0x2e]));if(0x3!=_0x5c80d3[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf071a5(_0x5c80d3[0x1]);function _0xf071a5(_0x4c1479){const _0x31db32=_0x126043(_0x4c1479);return _0x31db32&&_0x2c6395()?_0x31db32:null;function _0x2c6395(){const _0x5cd8f4=_0x31db32[_0x754e86([0x6a,0x74,0x69])],_0x19c244=window[_0x754e86([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cd8f4[_0x754e86([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cd8f4[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45291f={..._0x31db32,[_0x754e86([0x6a,0x74,0x69])]:_0x5cd8f4[_0x754e86([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cd8f4[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45291f[_0x754e86([0x76,0x63])],_0x2cdff4(_0x45291f)==_0x19c244;}}}async function _0x1e2926(){let _0x3ea071=!0x0;try{const _0x46e3c1=_0x4670e3[_0x754e86([0x73,0x70,0x6c,0x69,0x74])](_0x754e86([0x2e])),[_0x249cee,_0x21e263,_0x44a96d]=_0x46e3c1;return _0x3f52ed(_0x249cee),await _0x25b3b3(_0x249cee,_0x21e263,_0x44a96d),_0x3ea071;}catch{return!0x1;}function _0x3f52ed(_0x93d7ac){const _0x1dcfb5=_0x126043(_0x93d7ac);_0x1dcfb5&&_0x1dcfb5[_0x754e86([0x61,0x6c,0x67])]==_0x754e86([0x45,0x53,0x32,0x35,0x36])||(_0x3ea071=!0x1);}async function _0x25b3b3(_0x391041,_0x463ec0,_0x207138){const _0x5b25c4=window[_0x754e86([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x754e86([0x66,0x72,0x6f,0x6d])](_0x4c2806(_0x207138),_0x50b020=>_0x50b020[_0x754e86([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52f020=new window[(_0x754e86([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x754e86([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x391041+_0x754e86([0x2e])+_0x463ec0),_0x119589=window[_0x754e86([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x754e86([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x119589)return;const _0x50e124=await _0x119589[_0x754e86([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x754e86([0x6a,0x77,0x6b]),_0x212ea0,{[_0x754e86([0x6e,0x61,0x6d,0x65])]:_0x754e86([0x45,0x43,0x44,0x53,0x41]),[_0x754e86([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x754e86([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x754e86([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x119589[_0x754e86([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x754e86([0x6e,0x61,0x6d,0x65])]:_0x754e86([0x45,0x43,0x44,0x53,0x41]),[_0x754e86([0x68,0x61,0x73,0x68])]:{[_0x754e86([0x6e,0x61,0x6d,0x65])]:_0x754e86([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50e124,_0x5b25c4,_0x52f020)||(_0x3ea071=!0x1);}}function _0x126043(_0x199bd1){return _0x199bd1[_0x754e86([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x754e86([0x65,0x79]))?JSON[_0x754e86([0x70,0x61,0x72,0x73,0x65])](_0x4c2806(_0x199bd1)):null;}function _0x4c2806(_0x2925ce){return window[_0x754e86([0x61,0x74,0x6f,0x62])](_0x2925ce[_0x754e86([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x754e86([0x2b]))[_0x754e86([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x754e86([0x2f])));}function _0x2cdff4(_0x29973f){let _0x2e7271=0x1505;function _0xd3c275(_0x25cb07){for(let _0x30258a=0x0;_0x30258a<_0x25cb07[_0x754e86([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30258a++){const _0x53054c=_0x25cb07[_0x754e86([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30258a);_0x2e7271=(_0x2e7271<<0x5)+_0x2e7271+_0x53054c,_0x2e7271&=_0x2e7271;}}function _0x458ae9(_0x7d0e02){Array[_0x754e86([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7d0e02)?_0x7d0e02[_0x754e86([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x458ae9):_0x7d0e02&&typeof _0x7d0e02==_0x754e86([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x754e86([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7d0e02)[_0x754e86([0x73,0x6f,0x72,0x74])]()[_0x754e86([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cda3e,_0x3320e3])=>{_0xd3c275(_0x2cda3e),_0x458ae9(_0x3320e3);}):_0xd3c275(window[_0x754e86([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7d0e02));}return _0x458ae9(_0x29973f),_0x2e7271>>>0x0;}function _0x2934cb(_0x4349ab){return _0x4349ab[_0x754e86([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x754e86([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x754e86([0x30]));}function _0x19be78(_0x386990){return _0x386990[_0x754e86([0x73,0x70,0x6c,0x69,0x74])]('')[_0x754e86([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x754e86([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e3264(){}function _0x754e86(_0x1c7e38){return _0x1c7e38['map'](_0xd80e3a=>String['fromCharCode'](_0xd80e3a))['join']('');}_0x2886e8(await _0x2a126a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1e95dd){const {plugins:_0x26ea18,editing:_0x13a6a9,model:_0x58d0a8}=this['editor'],_0xce65f7=_0x26ea18['get'](K)['getFootnote'](_0x1e95dd);return!!_0xce65f7&&(_0x58d0a8['change'](_0x5ea7ec=>{_0x5ea7ec['setSelection'](_0x5ea7ec['createPositionAt'](_0xce65f7['definition'],'end'));}),_0x13a6a9['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x938b9e){const {plugins:_0x4b51f6,editing:_0x4f028c,model:_0x4889ec}=this['editor'],_0x196e69=_0x4b51f6['get'](K)['getFootnote'](_0x938b9e);return!!_0x196e69&&(_0x4889ec['change'](_0x170199=>{_0x170199['setSelection'](_0x196e69['reference'],'on');}),_0x4f028c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x23630f}=this['editor']['model'],_0x335e36=this['editor']['config']['get']('footnotes.multiBlock');_0x23630f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x23630f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x23630f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x335e36?_0x23630f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x23630f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x23630f['addChildCheck'](_0x3707a5=>{for(const _0xde42dd of _0x3707a5)if('footnoteDefinition'===_0xde42dd['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x219ed9}=this,{conversion:_0x3c86f7,editing:_0xc5e551}=_0x219ed9,{t:t}=_0x219ed9['locale'];_0x3c86f7['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2bf9b3,{writer:_0x13a603,consumable:_0x1d6013})=>{const _0x40ceb4=_0x2bf9b3['getChild'](0x0);if(!_0x40ceb4||!_0x40ceb4['is']('element','a'))return null;const _0xb593d5=_0x40ceb4['getAttribute']('href')||'';if(!_0xb593d5['startsWith']('#'))return null;const _0x324f2f=_0xb593d5['replace'](/^#/,'');if(!_0x324f2f)return null;_0x1d6013['consume'](_0x40ceb4,{'name':!0x0,'attributes':['href']});for(const {item:_0x474e23}of _0xc5e551['view']['createRangeIn'](_0x40ceb4))_0x474e23['is']('$textProxy')?_0x1d6013['consume'](_0x474e23['textNode'],{'name':!0x0}):_0x474e23['is']('element')&&_0x1d6013['consume'](_0x474e23,{'name':!0x0});return _0x13a603['createElement']('footnoteRef',{'footnoteId':_0x324f2f});}}),_0x3c86f7['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xc30361,{writer:_0x58897b})=>z(_0xc30361,_0x58897b)}),_0x3c86f7['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x457fe1,{writer:_0x14100c})=>{const _0x4d3b1e=_0x457fe1['getAttribute']('footnoteCounter');return _0x1b4516(z(_0x457fe1,_0x14100c),_0x14100c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4d3b1e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2f3bee}=this,{t:t}=_0x2f3bee['locale'],{conversion:_0x4467ff}=_0x2f3bee;_0x4467ff['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4467ff['for']('upcast')['add'](_0x4b5e9d=>{_0x4b5e9d['on']('element:ol',(_0x2f3824,_0x1c879b,_0x2dab95)=>{const _0x2aed9a=_0x1c879b['viewItem'];if(!_0x2aed9a['hasClass']('footnotes-list')||!_0x1c879b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2dab95['consumable']['consume'](_0x2aed9a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x40800f,modelCursor:_0x1a5bd7}=_0x2dab95['convertChildren'](_0x1c879b['viewItem'],_0x1c879b['modelCursor']);_0x1c879b['modelRange']=_0x40800f,_0x1c879b['modelCursor']=_0x1a5bd7;}),_0x4b5e9d['on']('element:hr',(_0x5d473b,_0x198e53,_0x195a2c)=>{const _0x2809f6=_0x198e53['viewItem'];_0x2809f6['hasClass']('footnotes-divider')&&_0x198e53['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x195a2c['consumable']['consume'](_0x2809f6,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4467ff['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4256a2,{writer:_0x3cf0a4})=>H(_0x3cf0a4)}),_0x4467ff['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3b4ca6,{writer:_0xeabe29})=>{const _0x1c4f8b=H(_0xeabe29,{'data-footnotes-list-label':t('Footnotes')}),_0x4fff51=_0x1b4516(_0x1c4f8b,_0xeabe29,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xeabe29['setCustomProperty']('footnotesDefinitions',!0x0,_0x4fff51),_0x4fff51;}});}['_defineDefinitionConverters'](){const {editor:_0x512eff}=this,{conversion:_0x52ebdf,locale:_0x46f420}=_0x512eff,_0x12826a=_0x512eff['config']['get']('footnotes.multiBlock');_0x52ebdf['for']('upcast')['add'](_0x12f661=>{_0x12f661['on']('element:li',(_0x4423e0,_0x36c949,_0x2f65bf)=>{const _0x3e7f72=_0x36c949['viewItem'];if(!_0x3e7f72['hasClass']('footnote-definition')||!_0x3e7f72['getAttribute']('id'))return;const _0x2f9b07=_0x3e7f72['parent'];if(!_0x2f9b07['is']('element','ol')||!_0x2f9b07['hasClass']('footnotes-list'))return;if(!_0x2f65bf['consumable']['test'](_0x3e7f72,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d054a=_0x2f65bf['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3e7f72['getAttribute']('id')});if(!_0x2f65bf['safeInsert'](_0x3d054a,_0x36c949['modelCursor']))return;_0x2f65bf['consumable']['consume'](_0x3e7f72,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x10df3e=Array['from'](_0x3e7f72['getChildren']())['find'](_0x2a5dc8=>_0x2a5dc8['is']('element')&&_0x2a5dc8['hasClass']('footnote-content'));for(const _0x567ef1 of _0x3e7f72['getChildren']())_0x567ef1['is']('element')&&(_0x2f65bf['consumable']['consume'](_0x567ef1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2f65bf['consumable']['consume'](_0x567ef1,{'name':!0x0,'classes':'footnote-content'}));if(_0x10df3e){if(_0x12826a)_0x2f65bf['convertChildren'](_0x10df3e,_0x3d054a);else{const _0x4f65f0=_0x2f65bf['writer']['createElement']('footnoteInlineContent');_0x2f65bf['writer']['insert'](_0x4f65f0,_0x3d054a),_0x2f65bf['convertChildren'](_0x10df3e,_0x4f65f0);}}_0x2f65bf['updateConversionResult'](_0x3d054a,_0x36c949);});}),_0x52ebdf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5ef421,{writer:_0xab508b})=>X(_0x5ef421,_0xab508b,_0x46f420,{'dataPipeline':!0x0})}),_0x52ebdf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2e9f2f,{writer:_0x596ae3})=>X(_0x2e9f2f,_0x596ae3,_0x46f420)});}['_defineBogusParagraphConverters'](){const {editor:_0x212b99}=this,{conversion:_0x4c4218}=_0x212b99;_0x212b99['config']['get']('footnotes.multiBlock')?(_0x4c4218['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x4c4218['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x212b99['model']['document'],'change:data',()=>{!function(_0x4df633,_0xb32c8d){const _0x401149=_0x4df633['document']['differ'],_0x1b1c47=new Set();for(const _0x2fc62c of _0x401149['getChanges']()){const _0x2b3692='attribute'==_0x2fc62c['type']?_0x2fc62c['range']['start']['parent']:_0x2fc62c['position']['parent'];_0x2b3692['is']('element','footnoteDefinition')&&_0x1b1c47['add'](_0x2b3692);}for(const _0x2a9ed0 of _0x1b1c47['values']()){const _0x47f161=Array['from'](_0x2a9ed0['getChildren']())['filter'](_0x2b7755=>U(_0x2b7755,_0xb32c8d['mapper']));for(const _0x2b214f of _0x47f161)_0xb32c8d['reconvertItem'](_0x2b214f);}}(_0x212b99['model'],_0x212b99['editing']);})):(_0x4c4218['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x4c4218['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2a1498,{writer:_0x3f6545})=>{const _0x1a9852=_0x3f6545['createContainerElement']('span');return _0x3f6545['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1a9852),_0x1a9852;}}));}['_defineKeyboardHandlers'](){const {editor:_0x49509a}=this,{editing:_0x2eb16a,t:t}=_0x49509a,_0x371aa6=_0x49509a['model']['document']['selection'];_0x49509a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x49509a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2eb16a['view']['document'],'enter',(_0x30fe97,_0x320614)=>{const _0x5d56b8=function(_0x41911f){const _0x150419=_0x41911f['getSelectedElement']();if(_0x150419?.['is']('element','footnoteRef'))return _0x150419;return null;}(_0x371aa6);if(_0x5d56b8){const _0x17034b=_0x5d56b8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x17034b),_0x320614['preventDefault'](),_0x30fe97['stop']();}},{'context':_0x44fb6b});}['_defineClickHandlers'](){const {editor:_0x5d4ee7}=this,{editing:_0x3f2454}=_0x5d4ee7;_0x5d4ee7['editing']['view']['addObserver'](_0x55be01),_0x5d4ee7['editing']['view']['addObserver'](_0x44cc64);let _0x5a7cbe=!0x1;this['listenTo'](_0x3f2454['view']['document'],'pointerdown',(_0x45bcef,_0x1e30a9)=>{const {target:_0x2c4371}=_0x1e30a9,_0x551659=_0x3f2454['view']['document']['selection'];_0x5a7cbe=!!(_0x2c4371?.['is']('element','a')&&_0x2c4371['parent']?.['is']('element','sup')&&_0x2c4371['parent']['hasClass']('footnote'))&&_0x551659['getSelectedElement']()===_0x2c4371['parent'];},{'priority':'high'}),this['listenTo'](_0x3f2454['view']['document'],'click',(_0x301161,_0x104d8e)=>{const {target:_0x3e180f}=_0x104d8e;if(!_0x3e180f?.['is']('element','a'))return;if(_0x3e180f['parent']?.['is']('element','sup')&&_0x3e180f['parent']['hasClass']('footnote')&&!_0x5a7cbe)return void _0x104d8e['preventDefault']();let _0x36e0c7=_0x3e180f['getAttribute']('href');if(!_0x36e0c7?.['startsWith']('#'))return;_0x36e0c7=_0x36e0c7['slice'](0x1);let _0x5b490c=!0x1;(_0x36e0c7['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x36e0c7['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x36e0c7))&&(_0x5b490c=!0x0),_0x5b490c&&(_0x104d8e['preventDefault'](),_0x301161['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x212ce6}={}){return(_0x214d04,{writer:_0x136a8d})=>{if(!M(_0x214d04))return null;if(!_0x212ce6)return _0x136a8d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29314f=_0x136a8d['createContainerElement']('p');return _0x136a8d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29314f),_0x29314f;};}function M(_0x415d74){const {parent:_0x1a432f}=_0x415d74;if(!_0x1a432f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1a432f['childCount'])return!0x1;for(const _0x1ab250 of _0x415d74['getAttributeKeys']())if(!_0x1ab250['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1ab250)return!0x1;return!0x0;}function U(_0x30d730,_0x212a13){if(!_0x30d730['is']('element','paragraph'))return!0x1;const _0x341817=_0x212a13['toViewElement'](_0x30d730);return!!_0x341817&&M(_0x30d730)!==_0x341817['is']('element','span');}function q(_0x29eeb1){return _0x44fb6b(_0x29eeb1)&&_0x29eeb1['is']('containerElement')&&!!_0x29eeb1['getCustomProperty']('footnotesDefinitions');}function H(_0x113692,_0x223469={}){const _0x4958c7=_0x113692['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x569f5a=_0x113692['createContainerElement']('ol',{'class':'footnotes-list'},_0x113692['createSlot']());return _0x113692['createContainerElement']('div',{'class':'footnotes',..._0x223469},[_0x4958c7,_0x569f5a]);}function z(_0x1c3646,_0x2842c3){const _0x249cf4=_0x1c3646['getAttribute']('footnoteId'),_0x3925d7=_0x1c3646['getAttribute']('footnoteCounter'),_0x1980cb=_0x2842c3['createUIElement']('a',{'href':'#'+_0x249cf4},function(_0x3693f5){const _0x56b3b5=this['toDomElement'](_0x3693f5);return _0x56b3b5['textContent']=_0x3925d7,_0x56b3b5;}),_0x15788e=_0x2842c3['createContainerElement']('sup',{'id':'ref-'+_0x249cf4,'class':'footnote'},[_0x1980cb]);return _0x15788e['getFillerOffset']=()=>null,_0x15788e;}function X(_0x328cc0,_0x2d5b56,_0x14396b,{dataPipeline:_0x156f9e}={}){const {t:t}=_0x14396b,_0x236c3c=_0x328cc0['getAttribute']('footnoteId'),_0x4ba561=_0x2d5b56['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x236c3c},function(_0x59e007){const _0x20a5f1=this['toDomElement'](_0x59e007);return _0x20a5f1['innerText']='^',_0x20a5f1;}),_0x3db3c1=_0x156f9e?_0x2d5b56['createContainerElement']('div',{'class':'footnote-content'}):_0x4450a7(_0x2d5b56['createEditableElement']('div',{'class':'footnote-content'}),_0x2d5b56,{'label':t('Footnote\x20content.')});return _0x2d5b56['insert'](_0x2d5b56['createPositionAt'](_0x3db3c1,0x0),_0x2d5b56['createSlot']()),_0x2d5b56['createContainerElement']('li',{'class':'footnote-definition','id':_0x236c3c},[_0x4ba561,_0x3db3c1]);}class J extends _0x134cc7{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x4baeb3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x193afc}=this,{plugins:_0x336c0b,model:_0x120f48}=_0x193afc,_0x450cb7=_0x336c0b['get'](_0x4baeb3),_0x348cf2=_0x336c0b['get'](K);this['listenTo'](_0x450cb7,'outputTransformation',(_0x54cccc,_0x5dbb00)=>{const _0x39661d=Q(_0x120f48['createRangeIn'](_0x5dbb00['content']));if(!_0x39661d['length'])return;const _0x10dec9=_0x348cf2['getFootnotes'](),_0x614451=_0x39661d['reduce']((_0x5e702a,_0xa842ca)=>{const _0x26a404=_0x10dec9['find'](_0x2d2e2e=>_0x2d2e2e['id']===_0xa842ca);if(_0x26a404){const _0x2a926a=_0x193afc['data']['toView'](_0x26a404['definition'],{'isClipboardPipeline':!0x0}),_0x391cb7=_0x193afc['data']['htmlProcessor']['toData'](_0x2a926a);_0x5e702a[_0x26a404['id']]=_0x391cb7;}return _0x5e702a;},Object['create'](null));_0x5dbb00['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x614451));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3ea7ce}=this,{model:_0x18f6c6,plugins:_0x40c9f0}=_0x3ea7ce,{view:_0x536b87}=_0x3ea7ce['editing'],_0x41983d=_0x40c9f0['get'](_0x4baeb3),_0x26cffb=_0x40c9f0['get'](K),_0x13ff25=_0x3ea7ce['config']['get']('footnotes.multiBlock');let _0x439e9f=null;this['listenTo'](_0x536b87['document'],'clipboardInput',(_0x32665b,_0x93886b)=>{const _0x4ab325=_0x93886b['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x439e9f=_0x4ab325?JSON['parse'](_0x4ab325):null;}),this['listenTo'](_0x41983d,'contentInsertion',(_0x1872ab,_0x175474)=>{const _0xf27296=_0x175474['sourceEditorId']===this['editor']['id'];_0xf27296&&'drop'===_0x175474['method']||_0x18f6c6['change'](_0x27907f=>{let _0x4c4c1f=_0x26cffb['getFootnotesDefinitionsObjectElement']();const _0x169cb6=!!_0x4c4c1f&&Array['from'](_0x18f6c6['document']['selection']['getSelectedBlocks']())['includes'](_0x4c4c1f);if(!_0x439e9f&&function(_0x1406c7){for(const {item:_0x1bc5da}of _0x1406c7)if(_0x1bc5da['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x18f6c6['createRangeIn'](_0x175474['content']))&&(_0x439e9f=function(_0x28b3c5,_0x50bb2d){const _0x4a6b82=G(_0x28b3c5,_0x50bb2d);if(!_0x4a6b82)return null;const _0x1939a8=Object['create'](null);for(const _0xec5f9f of _0x4a6b82['getChildren']())_0xec5f9f['is']('element','footnoteDefinition')&&_0xec5f9f['hasAttribute']('footnoteId')&&(_0x1939a8[_0xec5f9f['getAttribute']('footnoteId')]=_0x28b3c5['cloneElement'](_0xec5f9f,!0x0));return Object['keys'](_0x1939a8)['length']?_0x1939a8:null;}(_0x27907f,_0x175474['content'])),(_0x4c4c1f&&!_0x169cb6||!_0x4c4c1f&&!_0x439e9f)&&function(_0x598eb2,_0x13b4b){const _0x309cf1=[];for(const {item:_0x50d8d4}of _0x598eb2['createRangeIn'](_0x13b4b))_0x50d8d4['is']('element','footnotesDefinitions')&&_0x309cf1['push'](_0x50d8d4);for(const _0x3d30bf of _0x309cf1)_0x598eb2['remove'](_0x3d30bf);}(_0x27907f,_0x175474['content']),!_0x439e9f)return;const {selection:_0x42282b}=_0x18f6c6['document'],_0x4163ab=_0x42282b['getFirstRange']()['root'];_0x4c4c1f&&!_0x169cb6||(_0x4c4c1f=G(_0x27907f,_0x175474['content']),_0x4c4c1f||=_0x26cffb['_insertEmptyFootnotesDefinitionsContainer'](_0x27907f,_0x4163ab));const _0x19c00d=Array['from'](_0x42282b['getRanges']())['flatMap'](Q),_0x2723ae=function(_0x4c438e,_0x3efbf2,_0x51e1ab){const _0x37af91=Object['create'](null);for(const {item:_0x1f460d}of _0x4c438e['createRangeIn'](_0x3efbf2))if(_0x1f460d['is']('element','footnoteRef')){const _0x22b787=_0x1f460d['getAttribute']('footnoteId');if(!_0x51e1ab(_0x22b787))continue;_0x37af91[_0x22b787]||(_0x37af91[_0x22b787]=_0x154634()),_0x4c438e['setAttribute']('footnoteId',_0x37af91[_0x22b787],_0x1f460d);}return _0x37af91;}(_0x27907f,_0x175474['content'],_0x5cd618=>{if(!_0xf27296)return!0x0;return!!_0x26cffb['getFootnote'](_0x5cd618)&&!_0x19c00d['includes'](_0x5cd618);});for(const [_0x21f988,_0x5a9289]of Object['entries'](_0x439e9f)){const _0x23646a=_0x2723ae[_0x21f988]||_0x21f988;let _0x174953;if('string'!=typeof _0x5a9289)_0x174953=_0x5a9289,_0x23646a!==_0x21f988&&_0x27907f['setAttribute']('footnoteId',_0x23646a,_0x174953);else{_0x174953=_0x27907f['createElement']('footnoteDefinition',{'footnoteId':_0x23646a});const _0x1655f9=_0x3ea7ce['data']['htmlProcessor']['toView'](_0x5a9289);let _0x1b128e;if(_0x13ff25)_0x1b128e=_0x3ea7ce['data']['toModel'](_0x1655f9,_0x174953);else{_0x1b128e=_0x27907f['createElement']('footnoteInlineContent');const _0x397a23=_0x3ea7ce['data']['toModel'](_0x1655f9,_0x1b128e);_0x27907f['insert'](_0x397a23,_0x1b128e);}_0x27907f['append'](_0x1b128e,_0x174953);}_0x27907f['insert'](_0x174953,_0x4c4c1f,'end');}_0x439e9f=null;});});}}function G(_0x30efac,_0x3df283){for(const {item:_0x84bf86}of _0x30efac['createRangeIn'](_0x3df283))if(_0x84bf86['is']('element','footnotesDefinitions'))return _0x84bf86;return null;}function Q(_0x614c8c){const _0x5a12f0=new Set();for(const {item:_0x3b6840}of _0x614c8c)_0x3b6840['is']('element','footnoteRef')&&_0x5a12f0['add'](_0x3b6840['getAttribute']('footnoteId'));return Array['from'](_0x5a12f0);}class W extends _0x134cc7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x44e61a}=this,{componentFactory:_0x10d64b}=_0x44e61a['ui'];_0x10d64b['add']('insertFootnote',Y(_0x44e61a,_0x3f3acf)),_0x10d64b['add']('menuBar:insertFootnote',Y(_0x44e61a,_0x394af4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7535c0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x219044;for(const _0x51df0f in _0x7535c0){const _0x443f9e=_0x51df0f,_0x4924be=_0x7535c0[_0x443f9e];if('footnotesLicenseKeyValid'==_0x4924be||'footnotesLicenseKeyInvalid'==_0x4924be||'footnotesLicenseKeyExpired'==_0x4924be||'footnotesLicenseKeyDomainLimit'==_0x4924be||'footnotesLicenseKeyNotAllowed'==_0x4924be||'footnotesLicenseKeyEvaluationLimit'==_0x4924be||'footnotesLicenseKeyUsageLimit'==_0x4924be){delete _0x7535c0[_0x443f9e],_0x219044=_0x4924be,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x219044&&_0x7535c0['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x219044&&_0x7535c0['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x219044&&_0x7535c0['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x219044&&_0x7535c0['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x219044&&_0x7535c0['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x219044&&_0x7535c0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x381d38,_0x7fb1fc){const _0x98bc7e=_0x381d38['commands']['get']('insertFootnote');return _0x8fc0d7=>{const {t:t}=_0x8fc0d7,_0x2074be=new _0x7fb1fc(_0x8fc0d7),_0xbacd7=_0x2074be instanceof _0x394af4;return _0x2074be['bind']('isEnabled')['to'](_0x98bc7e,'isEnabled'),_0x2074be['set']({'label':t(_0xbacd7?'Footnote':'Insert\x20footnote'),'icon':_0x257d16,'tooltip':!0x0}),_0x2074be['on']('execute',()=>{_0x98bc7e['execute'](),_0x381d38['editing']['view']['focus']();}),_0x2074be;};}class Z extends _0x134cc7{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,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'];class nt extends _0x375aab{['refresh'](){const {editor:_0x3e4d0d}=this,_0x32e41c=_0x3e4d0d['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x32e41c,this['value']=_0x32e41c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xde348a}){const {editor:_0x52bd74}=this,_0x3f44ad=_0x52bd74['plugins']['get'](K),_0x108345=_0x3f44ad['getFootnotesDefinitionsObjectElement']();_0x108345&&ot['includes'](_0xde348a)&&_0x52bd74['model']['change'](_0x58513a=>{_0x58513a['setAttribute']('footnotesListStyle',_0xde348a,_0x108345),_0x3f44ad['_updateFootnotesCounters'](_0x58513a);});}}class it extends _0x375aab{['refresh'](){const {editor:_0x166021}=this,_0x45773e=_0x166021['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x45773e,this['value']=_0x45773e?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x6255c1}){const {editor:_0x550f02}=this,_0x4d03e1=_0x550f02['plugins']['get'](K),_0x43d370=_0x4d03e1['getFootnotesDefinitionsObjectElement']();_0x43d370&&Number['isInteger'](_0x6255c1)&&_0x550f02['model']['change'](_0x32f451=>{_0x32f451['setAttribute']('footnotesListStart',_0x6255c1,_0x43d370),_0x4d03e1['_updateFootnotesCounters'](_0x32f451);});}}function st(_0x226377,_0x54e508){let _0x220c76='',_0x29763f=_0x226377;for(;_0x29763f>0x0;){const _0x37896f=(_0x29763f-0x1)%0x1a;_0x220c76=String['fromCharCode'](0x61+_0x37896f)+_0x220c76,_0x29763f=Math['floor']((_0x29763f-0x1)/0x1a);}return _0x54e508?_0x220c76['toUpperCase']():_0x220c76;}const rt=[{'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 lt(_0x2dca39,_0x57f4c4){let _0x16bffe='',_0x448e78=_0x2dca39;for(const {value:_0x4d7fff,numeral:_0x45c380}of rt)for(;_0x448e78>=_0x4d7fff;)_0x16bffe+=_0x45c380,_0x448e78-=_0x4d7fff;return _0x57f4c4?_0x16bffe:_0x16bffe['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x134cc7{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x247873}=this;_0x247873['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x247873['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x247873['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x247873['commands']['add']('footnotesStyle',new nt(_0x247873)),_0x247873['commands']['add']('footnotesStart',new it(_0x247873)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1f2e9a}=this,{schema:_0x10aacd}=_0x1f2e9a['model'];_0x10aacd['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2b823e}=this,{conversion:_0x3ea980,model:_0x1e030b}=_0x2b823e,{schema:_0x4f60ee}=_0x1e030b;_0x3ea980['for']('upcast')['add'](_0x20f886=>{_0x20f886['on']('element:ol',(_0x27ef8f,_0x54fde8,_0x338edb)=>{const _0x3ed788=_0x54fde8['viewItem'],_0x413a00=_0x54fde8['modelCursor']?.['parent'];_0x3ed788['hasClass']('footnotes-list')&&_0x413a00?.['is']('element','footnotesDefinitions')&&(function(_0x5b4124,_0xabcbda,_0xaa4d5d,_0x3d1a40){if(!_0x3d1a40['checkAttribute'](_0xabcbda,'footnotesListStart'))return;let _0x5e1e7a=0x1;const _0x4f31e1=_0xaa4d5d['consumable']['consume'](_0x5b4124,{'attributes':'start'});if(_0x4f31e1){const _0xcce0a9=Number['parseInt'](_0x5b4124['getAttribute']('start'),0xa);Number['isNaN'](_0xcce0a9)||(_0x5e1e7a=_0xcce0a9);}!_0x4f31e1&&_0xabcbda['hasAttribute']('footnotesListStart')||_0xaa4d5d['writer']['setAttribute']('footnotesListStart',_0x5e1e7a,_0xabcbda);}(_0x3ed788,_0x413a00,_0x338edb,_0x4f60ee),function(_0x17d925,_0x2603ed,_0x3b55aa,_0x1f3184){if(!_0x1f3184['checkAttribute'](_0x2603ed,'footnotesListStyle'))return;let _0xadde49='decimal',_0xa67554=!0x1;if(_0x3b55aa['consumable']['consume'](_0x17d925,{'attributes':'type'})){const _0x168f46={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x17d925['getAttribute']('type')];_0x168f46&&(_0xadde49=_0x168f46),_0xa67554=!0x0;}if(_0x3b55aa['consumable']['consume'](_0x17d925,{'styles':'list-style-type'})){const _0x17926e=ct(_0x17d925['getStyle']('list-style-type'));_0x17926e&&(_0xadde49=_0x17926e),_0xa67554=!0x0;}!_0xa67554&&_0x2603ed['hasAttribute']('footnotesListStyle')||_0x3b55aa['writer']['setAttribute']('footnotesListStyle',_0xadde49,_0x2603ed);}(_0x3ed788,_0x413a00,_0x338edb,_0x4f60ee));});}),_0x3ea980['for']('downcast')['add'](_0xca6296=>{_0xca6296['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x99fb9b,_0x2ae3eb,_0x4fb4d8)=>{if(!_0x4fb4d8['consumable']['consume'](_0x2ae3eb['item'],_0x99fb9b['name']))return;const _0x417606=ut(_0x2ae3eb['item'],_0x4fb4d8['mapper']),{attributeNewValue:_0x57d617}=_0x2ae3eb;null==_0x57d617||0x1===_0x57d617?_0x4fb4d8['writer']['removeAttribute']('start',_0x417606):_0x4fb4d8['writer']['setAttribute']('start',String(_0x57d617),_0x417606);}),_0xca6296['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5d2f14,_0x271da3,_0x501e24)=>{if(!_0x501e24['consumable']['consume'](_0x271da3['item'],_0x5d2f14['name']))return;const _0x5ce723=ut(_0x271da3['item'],_0x501e24['mapper']),{attributeNewValue:_0x5f85c}=_0x271da3;_0x5f85c&&'decimal'!==_0x5f85c?_0x501e24['writer']['setStyle']('list-style-type',_0x5f85c,_0x5ce723):_0x501e24['writer']['removeStyle']('list-style-type',_0x5ce723);});});}['_definePostfixer'](){const {editor:_0x393783}=this,{model:_0x13a0b4}=_0x393783,_0x447d97=_0x393783['plugins']['get'](K),_0x5a7452=this['_getDefaultListStyle'](),_0x46eecc=this['_getDefaultStartIndex']();_0x13a0b4['document']['registerPostFixer'](_0x44f78e=>{const _0x5f678d=_0x13a0b4['document']['differ']['getChanges']();let _0x200a54=!0x1;for(const _0x47ffdb of _0x5f678d){if('insert'!==_0x47ffdb['type']||'$text'===_0x47ffdb['name'])continue;const _0x21aa46=_0x13a0b4['createRangeOn'](_0x47ffdb['position']['nodeAfter']);for(const _0x140b8b of _0x21aa46['getItems']())_0x140b8b['is']('element','footnotesDefinitions')&&(!_0x140b8b['hasAttribute']('footnotesListStart')&&_0x13a0b4['schema']['checkAttribute'](_0x140b8b,'footnotesListStart')&&(_0x44f78e['setAttribute']('footnotesListStart',_0x46eecc,_0x140b8b),_0x200a54=!0x0),!_0x140b8b['hasAttribute']('footnotesListStyle')&&_0x13a0b4['schema']['checkAttribute'](_0x140b8b,'footnotesListStyle')&&(_0x44f78e['setAttribute']('footnotesListStyle',_0x5a7452,_0x140b8b),_0x200a54=!0x0));}return _0x200a54&&_0x447d97['_updateFootnotesCounters'](_0x44f78e),_0x200a54;});}['_defineFormatter'](){const {editor:_0x7d1be}=this;_0x7d1be['plugins']['get'](K)['setFootnoteFormatter'](_0x5653da=>this['_formatFootnoteListValue'](_0x5653da));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4ed61b,value:_0x247f03,digits:_0x4a53ed}){const _0x5c6c93=_0x4ed61b['getAttribute']('footnotesListStyle'),_0x3cd0ee=_0x4ed61b['getAttribute']('footnotesListStart'),_0x1c0e8c=Math['floor'](_0x247f03)+(_0x3cd0ee??0x1)-0x1;switch(_0x5c6c93){case'decimal-leading-zero':return function(_0x3e0034,_0x1b80f6){return String(_0x3e0034)['padStart'](_0x1b80f6,'0');}(_0x1c0e8c,Math['max'](0x2,_0x4a53ed));case'lower-alpha':case'lower-latin':return st(_0x1c0e8c,!0x1);case'upper-alpha':case'upper-latin':return st(_0x1c0e8c,!0x0);case'lower-roman':return lt(_0x1c0e8c,!0x1);case'upper-roman':return lt(_0x1c0e8c,!0x0);case'arabic-indic':return String(_0x1c0e8c)['replace'](/\d/g,_0xa5c587=>ft[Number(_0xa5c587)]);default:return String(_0x1c0e8c);}}}function ct(_0x31801b){if('string'==typeof _0x31801b){const _0x5d2a5a=et[_0x31801b];if(_0x5d2a5a)return _0x5d2a5a;if(ot['includes'](_0x31801b))return _0x31801b;}return null;}function ut(_0x5c26c4,_0xc51313){const _0x16f31f=_0xc51313['toViewElement'](_0x5c26c4);return Array['from'](_0x16f31f['getChildren']())['find'](_0x4a222d=>_0x4a222d['is']('element','ol')&&_0x4a222d['hasClass']('footnotes-list'));}class dt extends _0x474892{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0xb57bfc();['keystrokes']=new _0x225787();['focusables']=new _0x9b6c37();['focusCycler'];constructor(_0x3380a2,{styleButtonViews:_0x40935b,styleGridAriaLabel:_0x5a05d4}){super(_0x3380a2),(this['focusCycler']=new _0x434d4b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x40935b,_0x5a05d4),[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 _0x5270c4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5270c4['element']);_0x4d410b({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x427f6d['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 _0x5dd08e=_0x31a4fd=>_0x31a4fd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5dd08e),this['keystrokes']['set']('arrowleft',_0x5dd08e),this['keystrokes']['set']('arrowup',_0x5dd08e),this['keystrokes']['set']('arrowdown',_0x5dd08e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x174b97,_0x299bf2){const _0x141ba2=new _0x474892(this['locale']);return _0x141ba2['children']=_0x141ba2['createCollection'](),_0x141ba2['children']['addMany'](_0x174b97),_0x141ba2['setTemplate']({'tag':'div','attributes':{'aria-label':_0x299bf2,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x141ba2['children']}),_0x141ba2['children']['delegate']('execute')['to'](this),_0x141ba2['focus']=function(){for(const _0x11ae95 of this['children'])if(_0x11ae95 instanceof _0x3f3acf&&_0x11ae95['isOn'])return void _0x11ae95['focus']();this['children']['first']['focus']();},_0x141ba2['focusTracker']=new _0xb57bfc(),_0x141ba2['keystrokes']=new _0x225787(),_0x141ba2['render'](),_0x141ba2['keystrokes']['listenTo'](_0x141ba2['element']),this['children']['add'](_0x141ba2),_0x141ba2;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1be35e=this['_createStartIndexPropertyView'](),_0x1f07f7=[_0x1be35e],_0x51c93d=new _0x18a09d(this['locale'],_0x1f07f7);return _0x51c93d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x51c93d['buttonView']['bind']('isEnabled')['toMany'](_0x1f07f7,'isEnabled',(..._0x76443c)=>_0x76443c['some'](_0x2f30e1=>_0x2f30e1)),_0x51c93d['buttonView']['on']('change:isEnabled',(_0x324279,_0x14bcad,_0x1a0ef8)=>{_0x1a0ef8||(_0x51c93d['isCollapsed']=!0x0);}),this['children']['add'](_0x51c93d),[_0x1be35e,_0x51c93d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4afd8a=new _0x119509(this['locale'],_0x3c69dc);return _0x4afd8a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4afd8a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4afd8a['fieldView']['on']('input',()=>{const _0x5e53cd=_0x4afd8a['fieldView']['element'],_0x3be492=_0x5e53cd['valueAsNumber'];Number['isNaN'](_0x3be492)?_0x4afd8a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5e53cd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3be492}):_0x4afd8a['errorText']=t(_0x3be492<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4afd8a;}}class ht extends _0x134cc7{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3d9417,_0x14fd5d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x50ad38}=this,{componentFactory:_0x3d4034}=_0x50ad38['ui'];_0x50ad38['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3d4034['add']('footnotesStyle',function(_0x337acc){return _0x2b8328=>{const {t:t}=_0x2b8328,_0x110398=_0x337acc['commands']['get']('footnotesStyle'),_0x44c099=_0x586b5b(_0x2b8328),{buttonView:_0xb95e16}=_0x44c099;return _0x44c099['class']='ck-footnotes-styles-dropdown',_0x44c099['bind']('isEnabled')['to'](_0x110398,'isEnabled'),_0xb95e16['set']({'label':t('Footnotes\x20style'),'icon':_0x257d16,'tooltip':!0x0}),_0x44c099['once']('change:isOpen',()=>{const _0x176c70=function({editor:_0x311f93,dropdownView:_0x2e30f3}){const {t:t}=_0x311f93['locale'],_0x3238cf=t('Footnotes\x20definitions\x20styles'),_0x5ce0e7=function(_0x27bc11){const {t:t}=_0x27bc11['locale'],_0x3448bd=_0x27bc11['config']['get']('footnotes.footnotesProperties.listStyles'),_0x1b0302=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x311def},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x2cd7cc},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x18bb53},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0xf4b06},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x237875},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x1655ae},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x59478f}];return _0x3448bd['map'](_0x521014=>{const _0x48c807=ct(_0x521014),_0x4d2721=_0x1b0302['find'](_0x14e981=>_0x14e981['style']===_0x48c807);return function(_0x507c8d,_0x19915a){const {locale:_0x4b61b6}=_0x507c8d,{label:_0xccd6fd,icon:_0x585801,tooltip:_0x490476,style:_0x148deb}=_0x19915a,_0x12a75d=_0x507c8d['commands']['get']('footnotesStyle'),_0x17c5da=new _0x3f3acf(_0x4b61b6);return _0x17c5da['set']({'label':_0xccd6fd,'icon':_0x585801,'tooltip':_0x490476}),_0x17c5da['bind']('isOn')['to'](_0x12a75d,'value',_0x30d700=>_0x30d700===_0x148deb),_0x17c5da['bind']('isEnabled')['to'](_0x12a75d,'isEnabled'),_0x17c5da['on']('execute',()=>{_0x507c8d['execute']('footnotesStyle',{'value':_0x148deb}),_0x507c8d['editing']['view']['focus']();}),_0x17c5da;}(_0x27bc11,_0x4d2721);});}(_0x311f93),_0x34c422=new dt(_0x311f93['locale'],{'styleGridAriaLabel':_0x3238cf,'styleButtonViews':_0x5ce0e7}),_0x4b6b2d=_0x311f93['commands']['get']('footnotesStart');return _0x34c422['startIndexFieldView']['bind']('isEnabled')['to'](_0x4b6b2d),_0x34c422['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4b6b2d),_0x34c422['on']('footnotesListStart',(_0x1d3c9a,_0x39892d)=>{_0x311f93['execute']('footnotesStart',{'value':_0x39892d['startIndex']});}),_0x34c422['delegate']('execute')['to'](_0x2e30f3),_0x34c422;}({'editor':_0x337acc,'dropdownView':_0x44c099});_0x44c099['panelView']['children']['add'](_0x176c70);}),_0x44c099;};}(_0x50ad38));}['afterInit'](){const {editor:_0x10020d}=this,{t:t}=_0x10020d['locale'],_0x91c513=_0x10020d['plugins']['get'](_0x14fd5d),{defaultPositions:_0x36a0f4}=_0x2e1c79;_0x91c513['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x10020d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x32d640=>{let _0x17f189=_0x32d640['getFirstPosition']()?.['parent'];return _0x17f189?.['is']('$text')&&(_0x17f189=_0x17f189['parent']),_0x17f189?.['is']('element')?_0x17f189['findAncestor'](q):null;},'positions':[_0x36a0f4['southArrowNorth'],_0x36a0f4['southArrowNorthMiddleWest'],_0x36a0f4['southArrowNorthMiddleEast'],_0x36a0f4['southArrowNorthWest'],_0x36a0f4['southArrowNorthEast'],_0x36a0f4['northArrowSouth'],_0x36a0f4['northArrowSouthMiddleWest'],_0x36a0f4['northArrowSouthMiddleEast'],_0x36a0f4['northArrowSouthWest'],_0x36a0f4['northArrowSouthEast'],_0x36a0f4['viewportStickyNorth']]});}}class mt extends _0x134cc7{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V 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':_0x27979e=>0x1!=_0x27979e}};
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':_0x1dc666=>0x1!=_0x1dc666}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x409368=>{const {af:{dictionary:_0x3a4974,getPluralForm:_0x3e0d3}}={'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':_0x17a01c=>0x1!=_0x17a01c}};_0x409368['af']||={'dictionary':{},'getPluralForm':null},_0x409368['af']['dictionary']=Object['assign'](_0x409368['af']['dictionary'],_0x3a4974),_0x409368['af']['getPluralForm']=_0x3e0d3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4911d3=>{const {af:{dictionary:_0x5544e4,getPluralForm:_0x38010c}}={'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':_0x238cff=>0x1!=_0x238cff}};_0x4911d3['af']||={'dictionary':{},'getPluralForm':null},_0x4911d3['af']['dictionary']=Object['assign'](_0x4911d3['af']['dictionary'],_0x5544e4),_0x4911d3['af']['getPluralForm']=_0x38010c;})(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':_0xb25742=>0x0==_0xb25742?0x0:0x1==_0xb25742?0x1:0x2==_0xb25742?0x2:_0xb25742%0x64>=0x3&&_0xb25742%0x64<=0xa?0x3:_0xb25742%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':_0x39fa58=>0x0==_0x39fa58?0x0:0x1==_0x39fa58?0x1:0x2==_0x39fa58?0x2:_0x39fa58%0x64>=0x3&&_0x39fa58%0x64<=0xa?0x3:_0x39fa58%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x46d6f1=>{const {ar:{dictionary:_0x345508,getPluralForm:_0x2901a4}}={'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':_0x5daa9f=>0x0==_0x5daa9f?0x0:0x1==_0x5daa9f?0x1:0x2==_0x5daa9f?0x2:_0x5daa9f%0x64>=0x3&&_0x5daa9f%0x64<=0xa?0x3:_0x5daa9f%0x64>=0xb?0x4:0x5}};_0x46d6f1['ar']||={'dictionary':{},'getPluralForm':null},_0x46d6f1['ar']['dictionary']=Object['assign'](_0x46d6f1['ar']['dictionary'],_0x345508),_0x46d6f1['ar']['getPluralForm']=_0x2901a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x9fd5ff=>{const {ar:{dictionary:_0x792277,getPluralForm:_0x50dba1}}={'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':_0x374946=>0x0==_0x374946?0x0:0x1==_0x374946?0x1:0x2==_0x374946?0x2:_0x374946%0x64>=0x3&&_0x374946%0x64<=0xa?0x3:_0x374946%0x64>=0xb?0x4:0x5}};_0x9fd5ff['ar']||={'dictionary':{},'getPluralForm':null},_0x9fd5ff['ar']['dictionary']=Object['assign'](_0x9fd5ff['ar']['dictionary'],_0x792277),_0x9fd5ff['ar']['getPluralForm']=_0x50dba1;})(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':_0x389230=>0x1!=_0x389230}};
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':_0x283e2f=>0x1!=_0x283e2f}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26289e=>{const {ast:{dictionary:_0xd91f6e,getPluralForm:_0x3707fe}}={'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':_0x25d91c=>0x1!=_0x25d91c}};_0x26289e['ast']||={'dictionary':{},'getPluralForm':null},_0x26289e['ast']['dictionary']=Object['assign'](_0x26289e['ast']['dictionary'],_0xd91f6e),_0x26289e['ast']['getPluralForm']=_0x3707fe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x8b2e98=>{const {ast:{dictionary:_0x759e71,getPluralForm:_0x5046cf}}={'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':_0x1bac76=>0x1!=_0x1bac76}};_0x8b2e98['ast']||={'dictionary':{},'getPluralForm':null},_0x8b2e98['ast']['dictionary']=Object['assign'](_0x8b2e98['ast']['dictionary'],_0x759e71),_0x8b2e98['ast']['getPluralForm']=_0x5046cf;})(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':_0x1b37ab=>0x1!=_0x1b37ab}};
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':_0x81a151=>0x1!=_0x81a151}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf3f7bd=>{const {az:{dictionary:_0x410d9c,getPluralForm:_0x451e75}}={'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':_0x290c08=>0x1!=_0x290c08}};_0xf3f7bd['az']||={'dictionary':{},'getPluralForm':null},_0xf3f7bd['az']['dictionary']=Object['assign'](_0xf3f7bd['az']['dictionary'],_0x410d9c),_0xf3f7bd['az']['getPluralForm']=_0x451e75;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x13959c=>{const {az:{dictionary:_0x53ebaa,getPluralForm:_0x3da4dd}}={'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':_0x4a0b01=>0x1!=_0x4a0b01}};_0x13959c['az']||={'dictionary':{},'getPluralForm':null},_0x13959c['az']['dictionary']=Object['assign'](_0x13959c['az']['dictionary'],_0x53ebaa),_0x13959c['az']['getPluralForm']=_0x3da4dd;})(window['CKEDITOR_TRANSLATIONS']||={});