@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251119.0 → 0.0.0-nightly-20251120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x593697,Command as _0x15a3f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x21f897,isWidget as _0x420c45,toWidgetEditable as _0x40dc61,WidgetToolbarRepository as _0x5f482f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xf950e0,logWarning as _0x89b249,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1138dd,ClickObserver as _0x4a6ed2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x262e29}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x34a9f4,ButtonView as _0x35db40,View as _0x556880,ViewCollection as _0x619c6e,FocusCycler as _0x3530a7,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0xf232ba,BalloonPanelView as _0x447336,createDropdown as _0x20643f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xbe2656,IconListStyleDecimal as _0x436a3f,IconListStyleDecimalLeadingZero as _0x217913,IconListStyleLowerRoman as _0x27c798,IconListStyleUpperRoman as _0x4db2e6,IconListStyleLowerLatin as _0x494290,IconListStyleUpperLatin as _0x23726d}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x43764a,_0x246557){this['_model']=_0x43764a,this['_elementName']=_0x246557['elementName'],this['_getElementKey']=_0x246557['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x188b51){const _0x35071f=new Set(),_0x49575e=new Map();for(const _0x2c500c of _0x188b51){if('insert'===_0x2c500c['type']&&'$text'!==_0x2c500c['name']&&_0x2c500c['position']['nodeAfter']){const _0x12bd56=this['_model']['createRangeOn'](_0x2c500c['position']['nodeAfter']);for(const _0x56ab41 of _0x12bd56['getItems']()){if(!_0x56ab41['is']('element',this['_elementName']))continue;const _0x834665=this['_getElementKey'](_0x56ab41);_0x49575e['has'](_0x834665)||_0x49575e['set'](_0x834665,[]),_0x49575e['get'](_0x834665)['push'](_0x56ab41);}}if('remove'===_0x2c500c['type']&&_0x2c500c['name']===this['_elementName']){const _0x5287f3=this['_getElementKey']({'getAttribute':_0x2e8f8b=>_0x2c500c['attributes']['get'](_0x2e8f8b)});_0x35071f['add'](_0x5287f3);}}for(const [_0x113bc1,_0x5dcd41]of this['_trackedElements'])'$graveyard'===_0x5dcd41['root']['rootName']&&_0x35071f['add'](_0x113bc1);for(const _0x236b50 of _0x35071f)this['_trackedElements']['delete'](_0x236b50);for(const [_0x2b2e32,_0x4d8ed1]of _0x49575e)this['_trackedElements']['set'](_0x2b2e32,_0x4d8ed1[_0x4d8ed1['length']-0x1]);const _0x828a97=new Set();for(const [_0x56dbd1,_0x5dc3ff]of _0x49575e)_0x35071f['has'](_0x56dbd1)&&(_0x828a97['add'](_0x5dc3ff[0x0]),_0x5dc3ff['length']>0x1?_0x49575e['set'](_0x56dbd1,_0x5dc3ff['slice'](0x1)):_0x49575e['delete'](_0x56dbd1),_0x35071f['delete'](_0x56dbd1));return{'removed':Array['from'](_0x35071f),'inserted':Array['from'](_0x49575e['values']())['flat'](),'moved':Array['from'](_0x828a97)};}}class c extends _0x593697{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41c9d9){super(_0x41c9d9),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1f04d3=>_0x1f04d3['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4deecc=>_0x4deecc['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1547e9}=this,{model:_0x1c893e,data:_0xfde6ce}=_0x1547e9;_0x1c893e['document']['registerPostFixer'](_0x1f2a25=>{const _0x5ee4aa=_0x1c893e['document']['differ']['getChanges']();let _0x5cfc39=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1f2a25,_0x5ee4aa)&&(_0x5cfc39=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1f2a25,_0x5ee4aa)&&(_0x5cfc39=!0x0),this['_handleFootnoteReferencesChanges'](_0x1f2a25,_0x5ee4aa)&&(_0x5cfc39=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1f2a25)&&(_0x5cfc39=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1f2a25)&&(_0x5cfc39=!0x0),this['_sortFootnoteDefinitions'](_0x1f2a25)&&(_0x5cfc39=!0x0),_0x5cfc39;}),this['listenTo'](_0x1c893e['document'],'change:data',()=>{_0x1c893e['enqueueChange']({'isUndoable':!0x1},_0x5a00de=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5a00de);});},{'priority':'low'}),this['listenTo'](_0xfde6ce,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x494710){return this['_footnotes']['find'](_0x3ee477=>_0x3ee477['id']===_0x494710)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x27b1ff){this['_footnoteFormatter']=_0x27b1ff;}['_updateFootnotesCounters'](_0x574996,_0xccc2a7=0x0){let _0x45d8fa=!0x1;for(let _0x4a2a49=_0xccc2a7;_0x4a2a49<this['_footnotes']['length'];_0x4a2a49++)this['_updateFootnoteRefCounter'](_0x574996,_0x4a2a49)&&(_0x45d8fa=!0x0);return _0x45d8fa;}['_insertEmptyFootnotesDefinitionsContainer'](_0x513359,_0x270d63){const _0x543cd3=_0x513359['createElement']('footnotesDefinitions',{});return _0x513359['append'](_0x543cd3,_0x270d63),this['_footnotesDefinitions']=_0x543cd3,_0x543cd3;}['_ensureFootnotesDefinitionsContainerExists'](_0x2e6964){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x433b3e=this['_footnotes'][0x0]['reference']['root'],_0x3e3dc3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2e6964,_0x433b3e);for(const _0x42afa2 of this['_footnotes'])_0x42afa2['definition']['parent']||_0x2e6964['insert'](_0x42afa2['definition'],_0x3e3dc3,'end');this['_updateFootnotesCounters'](_0x2e6964);}['_handleFootnotesDefinitionsObjectChanges'](_0x3ab4f7,_0x18b966){let _0x389a1d=!0x1;const {inserted:_0x4888f5,removed:_0x1c228a,moved:_0x54b212}=this['_footnoteDefsContainerTracker']['getChanges'](_0x18b966);if(_0x54b212['length']&&(this['_footnotesDefinitions']=_0x54b212[0x0]),_0x4888f5['length']){if(_0x4888f5['length']>0x1||this['_footnotesDefinitions']&&_0x4888f5['some'](_0x3abab4=>_0x3abab4!==this['_footnotesDefinitions'])){const _0xb2f73e=_0x3ab4f7['createElement']('footnotesDefinitions',{}),_0x137152=[];this['_footnotesDefinitions']&&_0x137152['push'](this['_footnotesDefinitions']),_0x137152['push'](..._0x4888f5),_0x3ab4f7['insert'](_0xb2f73e,_0x137152[0x0],'before');for(const _0x1bdc28 of _0x137152)_0x3ab4f7['move'](_0x3ab4f7['createRangeIn'](_0x1bdc28),_0x3ab4f7['createPositionAt'](_0xb2f73e,'end')),_0x3ab4f7['remove'](_0x1bdc28);this['_footnotesDefinitions']=_0xb2f73e,this['_updateFootnotesCounters'](_0x3ab4f7),_0x389a1d=!0x0;}else this['_footnotesDefinitions']=_0x4888f5[0x0];}if(_0x1c228a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x33495c of this['_footnotes'])_0x3ab4f7['remove'](_0x33495c['reference']),_0x389a1d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x389a1d;}['_handleFootnoteDefinitionsChanges'](_0x56d99a,_0x2f902e){let _0x23786d=!0x1;const _0x49b568=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x183472,moved:_0x5b5f43}=this['_footnoteDefsTracker']['getChanges'](_0x2f902e);for(const _0x589298 of[..._0x5b5f43,..._0x183472]){const _0x34af7c=_0x589298['getAttribute']('footnoteId'),_0x4034ad=this['getFootnote'](_0x34af7c);_0x4034ad&&(_0x4034ad['definition']=_0x589298),_(_0x56d99a,_0x49b568,_0x589298)&&(_0x23786d=!0x0);}return _0x23786d;}['_handleFootnoteReferencesChanges'](_0x3cfc52,_0x3a3229){let _0x275f0d=!0x1;const {removed:_0x194aff,inserted:_0xf0dab6,moved:_0x4aac37}=this['_footnoteRefsTracker']['getChanges'](_0x3a3229);for(const _0xcf7c5b of _0x194aff)this['_handleRemoveFootnoteReferenceById'](_0x3cfc52,_0xcf7c5b)&&(_0x275f0d=!0x0);for(const _0x318969 of _0xf0dab6)this['_handleInsertedFootnoteReference'](_0x3cfc52,_0x318969)&&(_0x275f0d=!0x0);for(const _0x518d8a of _0x4aac37)this['_handleMovedFootnoteReference'](_0x3cfc52,_0x518d8a)&&(_0x275f0d=!0x0);return _0x275f0d;}['_handleFootnotesDefinitionsObjectSync'](_0x2aac10){if(!this['_footnotesDefinitions'])return!0x1;let _0x2ddb79=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5f480c=[];for(const _0x370327 of this['_footnotesDefinitions']['getChildren']()){const _0x33f241=_0x370327['getAttribute']('footnoteId');this['getFootnote'](_0x33f241)||(_0x5f480c['unshift'](_0x370327),_0x2ddb79=!0x0);}for(const _0x52a8bf of _0x5f480c)_0x2aac10['remove'](_0x52a8bf);}const _0x542c5e=new Set(),_0x30ddfd=[];for(const _0x481072 of this['_footnotesDefinitions']['getChildren']()){const _0xc86e71=_0x481072['getAttribute']('footnoteId');_0x542c5e['has'](_0xc86e71)?(_0x30ddfd['unshift'](_0x481072),_0x2ddb79=!0x0):_0x542c5e['add'](_0xc86e71);}for(const _0x513614 of _0x30ddfd)_0x2aac10['remove'](_0x513614);return this['_footnotesDefinitions']['childCount']||(_0x2aac10['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2ddb79=!0x0),_0x2ddb79;}['_handleInsertedFootnoteReference'](_0x18d5cf,_0x5380f7){if(this['_footnotes']['find'](_0x2fc67a=>_0x2fc67a['reference']===_0x5380f7))return!0x1;let _0x34ed9a=!0x1;const _0x328780=_0x5380f7['getAttribute']('footnoteId'),_0x3e1562=this['_footnotes']['findIndex'](_0x404f2d=>_0x404f2d['id']===_0x328780);-0x1!==_0x3e1562&&(_0x18d5cf['remove'](this['_footnotes'][_0x3e1562]['reference']),this['_footnotes']['splice'](_0x3e1562,0x1),_0x34ed9a=!0x0);let _0x5a0270=this['_footnotesDefinitions']?function(_0x47575d,_0x1f91b9){for(const _0x18e6c8 of _0x47575d['getChildren']())if(_0x18e6c8['getAttribute']('footnoteId')===_0x1f91b9)return _0x18e6c8;return null;}(this['_footnotesDefinitions'],_0x328780):null;_0x5a0270||(_0x5a0270=_0x18d5cf['createElement']('footnoteDefinition',{'footnoteId':_0x328780}),this['_footnotesDefinitions']&&(_0x18d5cf['insert'](_0x5a0270,this['_footnotesDefinitions'],'end'),_0x34ed9a=!0x0));const _0x2c11d2={'id':_0x328780,'reference':_0x5380f7,'definition':_0x5a0270},_0x284d12=I(this['editor']['model'],this['_footnotes'],_0x5380f7);this['_footnotes']['splice'](_0x284d12,0x0,_0x2c11d2);let _0x52721e=_0x284d12;return-0x1!==_0x3e1562&&(_0x52721e=Math['min'](_0x284d12,_0x3e1562)),this['_updateFootnotesCounters'](_0x18d5cf,_0x52721e)&&(_0x34ed9a=!0x0),_0x34ed9a;}['_handleRemoveFootnoteReferenceById'](_0x38fcb4,_0x598c4b){const _0x438ca7=this['_footnotes']['findIndex'](_0x2fb9a5=>_0x2fb9a5['id']===_0x598c4b);if(-0x1===_0x438ca7)return!0x1;let _0x5250b6=!0x1;const _0x402b26=this['_footnotes'][_0x438ca7];return'$graveyard'!==_0x402b26['definition']['root']['rootName']&&(_0x38fcb4['remove'](_0x402b26['definition']),_0x5250b6=!0x0),this['_footnotes']['splice'](_0x438ca7,0x1),this['_updateFootnotesCounters'](_0x38fcb4,_0x438ca7)&&(_0x5250b6=!0x0),_0x5250b6;}['_handleMovedFootnoteReference'](_0x3d2270,_0x2a56c8){const _0x591957=_0x2a56c8['getAttribute']('footnoteId'),_0x22abf5=this['_footnotes']['findIndex'](_0x47bba6=>_0x47bba6['id']===_0x591957),_0x1b44ef=this['_footnotes'][_0x22abf5];let _0x2554de=!0x1;_0x1b44ef['reference']=_0x2a56c8,this['_footnotes']['splice'](_0x22abf5,0x1);const _0x2955bb=I(this['editor']['model'],this['_footnotes'],_0x2a56c8);return this['_footnotes']['splice'](_0x2955bb,0x0,_0x1b44ef),this['_updateFootnotesCounters'](_0x3d2270,Math['min'](_0x22abf5,_0x2955bb))&&(_0x2554de=!0x0),_0x2554de;}['_updateFootnoteRefCounter'](_0x9aeea5,_0x1b0027){if(!this['_footnotesDefinitions'])return!0x1;const _0x364d10=this['_footnotes'][_0x1b0027];let _0x85a1fc;return _0x85a1fc=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x364d10,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1b0027+0x1}):String(_0x1b0027+0x1),_0x364d10['reference']['getAttribute']('footnoteCounter')!=_0x85a1fc&&(_0x9aeea5['setAttribute']('footnoteCounter',_0x85a1fc,_0x364d10['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x387b89){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3e6e7c,_0x197955){if(_0x3e6e7c['length']!==_0x197955['length'])return!0x1;for(let _0x37671c=0x0;_0x37671c<_0x3e6e7c['length'];_0x37671c++)if(_0x3e6e7c[_0x37671c]!==_0x197955[_0x37671c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2f38db=>_0x2f38db['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x437012=>_0x437012['getAttribute']('footnoteId'))))return!0x1;let _0x1a01bd=!0x1;for(let _0x2013e5=0x0;_0x2013e5<this['_footnotes']['length'];_0x2013e5++){const _0x594e92=this['_footnotes'][_0x2013e5],_0x4a809f=_0x387b89['createPositionBefore'](_0x594e92['definition']),_0x1c4462=_0x387b89['createPositionAt'](this['_footnotesDefinitions'],_0x2013e5);_0x4a809f['isEqual'](_0x1c4462)||(_0x387b89['move'](_0x387b89['createRangeOn'](_0x594e92['definition']),_0x1c4462),_0x1a01bd=!0x0);}return _0x1a01bd;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3bba29){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2f5431}=this['editor'];let _0x209656=!0x1;for(let _0x4e8b0b=0x0;_0x4e8b0b<this['_footnotes']['length']-0x1;_0x4e8b0b++){const _0x10d4d1=this['_footnotes'][_0x4e8b0b],_0xc56490=this['_footnotes'][_0x4e8b0b+0x1],_0x1b9bc2=_0x2f5431['createPositionBefore'](_0x10d4d1['reference']),_0x3c4416=_0x2f5431['createPositionBefore'](_0xc56490['reference']);'after'===_0x1b9bc2['compareWith'](_0x3c4416)&&(this['_handleMovedFootnoteReference'](_0x3bba29,_0x10d4d1['reference']),_0x4e8b0b=-0x1,_0x209656=!0x0);}return _0x209656;}}function _(_0x39331f,_0x2efa2f,_0x1831e1){if(_0x1831e1['childCount'])return!0x1;const _0x2afd83=_0x2efa2f?'paragraph':'footnoteInlineContent';return _0x39331f['insert'](_0x39331f['createElement'](_0x2afd83),_0x1831e1),!0x0;}function I(_0x11f5bb,_0x1c97b0,_0x5e71a9){if(0x0===_0x1c97b0['length'])return 0x0;const _0x403db5=_0x11f5bb['createPositionBefore'](_0x5e71a9);for(let _0x25d7c4=0x0;_0x25d7c4<_0x1c97b0['length'];_0x25d7c4++){const _0x3c420c=_0x1c97b0[_0x25d7c4],_0x337353=_0x11f5bb['createPositionBefore'](_0x3c420c['reference']);if('before'===_0x403db5['compareWith'](_0x337353))return _0x25d7c4;}const _0x20a115=_0x5e71a9['root'];let _0x467dbd=-0x1;for(let _0x3c2627=_0x1c97b0['length']-0x1;_0x3c2627>=0x0;_0x3c2627--)if(_0x1c97b0[_0x3c2627]['reference']['root']===_0x20a115){_0x467dbd=_0x3c2627;break;}if(-0x1!==_0x467dbd)return _0x467dbd+0x1;const _0x3c9981=_0x11f5bb['document']['getRootNames'](),_0x1eb931=_0x3c9981['indexOf'](_0x20a115['rootName']),_0x15bace=_0x3c9981[_0x1eb931+0x1];if(_0x15bace){for(let _0x17903b=0x0;_0x17903b<_0x1c97b0['length'];_0x17903b++)if(_0x1c97b0[_0x17903b]['reference']['root']['rootName']===_0x15bace)return _0x17903b;}return _0x1c97b0['length'];}class m extends _0x15a3f3{['refresh'](){const _0x3ffd96=this['editor']['model']['document']['selection'],_0xa6cacc=this['_getPositionToInsertFootnote'](_0x3ffd96);this['isEnabled']=!!_0xa6cacc;}['execute'](_0x5536aa){const {editor:_0x2d99bb}=this,{model:_0x3f175a}=_0x2d99bb,{selection:_0x4151bc}=_0x3f175a['document'],_0x3c9735=this['_getPositionToInsertFootnote'](_0x4151bc);if(!_0x3c9735)return;const _0x12308c=_0x2d99bb['plugins']['get']('FootnotesEditing'),_0x5025b0=_0x5536aa?.['footnoteId']??_0xf950e0();!function(_0x457247){return'string'==typeof _0x457247&&_0x457247['length']>0x0&&!/\s/['test'](_0x457247)&&!/^\d/['test'](_0x457247);}(_0x5025b0)?_0x89b249('insert-footnote-command-executed-with-invalid-id'):(_0x3f175a['change'](_0x45673a=>{const _0x336e2e=_0x45673a['createElement']('footnoteRef',{'footnoteId':_0x5025b0});_0x3f175a['insertObject'](_0x336e2e,_0x3c9735,null);}),_0x12308c['_moveSelectionToFootnoteDefinition'](_0x5025b0));}['_getPositionToInsertFootnote'](_0x13d0c8){const {model:_0x256c6f}=this['editor'],{schema:_0x141cb6}=_0x256c6f,_0x2b3287=_0x13d0c8['getFirstRange']();for(const _0x4293e3 of _0x2b3287['getItems']())if(_0x141cb6['isBlock'](_0x4293e3)||_0x141cb6['isObject'](_0x4293e3))return null;const _0x23e471=_0x2b3287['end'];return _0x141cb6['checkChild'](_0x23e471,'footnoteRef')?_0x23e471:null;}}class r extends _0x593697{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5627e7}=this;_0x5627e7['config']['define']('footnotes.multiBlock',!0x0),_0x5627e7['commands']['add']('insertFootnote',new m(_0x5627e7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5f3e76){const _0x4c7f00=_0x1046a3([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]),_0x190906=0x47a28506,_0x51df76=0x47a5fc8e^_0x190906,_0x1c8399=window[_0x1046a3([0x44,0x61,0x74,0x65])][_0x1046a3([0x6e,0x6f,0x77])](),_0x54acb1=_0x5f3e76[_0x1046a3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b5627=new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cbf06=>{_0x54acb1[_0x1046a3([0x6f,0x6e,0x63,0x65])](_0x1046a3([0x72,0x65,0x61,0x64,0x79]),_0x2cbf06);}),_0x1dee8c={[_0x1046a3([0x6b,0x74,0x79])]:_0x1046a3([0x45,0x43]),[_0x1046a3([0x75,0x73,0x65])]:_0x1046a3([0x73,0x69,0x67]),[_0x1046a3([0x63,0x72,0x76])]:_0x1046a3([0x50,0x2d,0x32,0x35,0x36]),[_0x1046a3([0x78])]:_0x1046a3([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]),[_0x1046a3([0x79])]:_0x1046a3([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]),[_0x1046a3([0x61,0x6c,0x67])]:_0x1046a3([0x45,0x53,0x32,0x35,0x36])},_0x14dca9=_0x54acb1[_0x1046a3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1046a3([0x67,0x65,0x74])](_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5e3355(){let _0x4a9d82,_0x268697=null,_0x2b250f=null;try{if(_0x14dca9==_0x1046a3([0x47,0x50,0x4c]))return _0x1046a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a9d82=_0x20d108(),!_0x4a9d82)return _0x1046a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a9d82[_0x1046a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b250f=_0x41b571(_0x4a9d82[_0x1046a3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a9d82[_0x1046a3([0x6a,0x74,0x69])])),await _0x52fb6f()?_0x662eae()?_0x136e82()?_0x1046a3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x25b483()?(_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1046a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x268697=_0x7e075b(_0x1046a3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1046a3([0x74,0x72,0x69,0x61,0x6c])&&(_0x268697=_0x7e075b(_0x1046a3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16974f()):_0x1046a3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1046a3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1046a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1046a3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x136e82(){const _0x73baf9=[_0x1046a3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1046a3([0x74,0x72,0x69,0x61,0x6c])][_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c8399/0x3e8:0xe10*_0x51df76;return _0x4a9d82[_0x1046a3([0x65,0x78,0x70])]<_0x73baf9;}function _0x662eae(){const _0x549b11=_0x4a9d82[_0x1046a3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x549b11&&(!!_0x549b11[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1046a3([0x2a]))||!!_0x549b11[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1046a3([0x46,0x4f,0x4f])));}function _0x25b483(){const _0x1c8338=_0x4a9d82[_0x1046a3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1c8338||0x0==_0x1c8338[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d107c}=new URL(window[_0x1046a3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1c8338[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d107c))return!0x0;const _0x529f4a=_0x1d107c[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e]));return _0x1c8338[_0x1046a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40308e=>_0x40308e[_0x1046a3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1046a3([0x2a])))[_0x1046a3([0x6d,0x61,0x70])](_0xb0006d=>_0xb0006d[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e])))[_0x1046a3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x256b13=>_0x256b13[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x529f4a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1046a3([0x6d,0x61,0x70])](_0x47fca1=>Array(_0x529f4a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47fca1[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1046a3([0x66,0x69,0x6c,0x6c])](_0x47fca1[0x0]===_0x1046a3([0x2a])?_0x1046a3([0x2a]):'')[_0x1046a3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47fca1))[_0x1046a3([0x73,0x6f,0x6d,0x65])](_0x371448=>_0x529f4a[_0x1046a3([0x65,0x76,0x65,0x72,0x79])]((_0x2c0c70,_0x19aa5f)=>_0x371448[_0x19aa5f]===_0x2c0c70||_0x371448[_0x19aa5f]===_0x1046a3([0x2a])));}function _0x16974f(){return _0x268697&&_0x2b250f?new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6e15,_0x2fda77)=>{_0x268697[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x4e6e15,_0x2fda77),_0x2b250f[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x3f9e5f=>{_0x3f9e5f!=_0x1046a3([0x56,0x61,0x6c,0x69,0x64])&&_0x4e6e15(_0x3f9e5f);},_0x2fda77);}):_0x268697||_0x2b250f||_0x1046a3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41b571(_0x28d821,_0x1b4347){return new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16bbe5=>{if(_0x33cfe8())return _0x16bbe5(_0x1046a3([0x56,0x61,0x6c,0x69,0x64]));_0x4c9e3d(),_0x54acb1[_0x1046a3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1046a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16c917=!0x1;const _0xf7027a=_0xf950e0();function _0x516ada(_0xdbd323){return!!_0xdbd323&&(typeof _0xdbd323===_0x1046a3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xdbd323===_0x1046a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xdbd323[_0x1046a3([0x74,0x68,0x65,0x6e])]===_0x1046a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xdbd323[_0x1046a3([0x63,0x61,0x74,0x63,0x68])]===_0x1046a3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x501d18(_0x2d172f){_0x3c4bac(_0x2d172f)[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x14e283=>{if(!_0x14e283||_0x14e283[_0x1046a3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1046a3([0x6f,0x6b]))return _0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c2887(_0x2d8581(_0xf7027a+_0x1b4347))!=_0x14e283[_0x1046a3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1046a3([0x56,0x61,0x6c,0x69,0x64]);})[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x36d79e=>(_0x50a387(),_0x36d79e),()=>{const _0x5e2de1=_0x527265();return null==_0x5e2de1?(_0x50a387(),_0x1046a3([0x56,0x61,0x6c,0x69,0x64])):_0x1046a3(_0x1c8399-_0x5e2de1>(0x63ae0106^_0x190906)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x16bbe5)[_0x1046a3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16bbe5(_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x20b834=0x47946b86^_0x190906;function _0x50a387(){const _0xe49076=_0x1046a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c2887(_0x2d8581(_0x28d821)),_0x30cabd=_0x1abc68(_0x4c2887(window[_0x1046a3([0x4d,0x61,0x74,0x68])][_0x1046a3([0x63,0x65,0x69,0x6c])](_0x1c8399/_0x20b834)));window[_0x1046a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1046a3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe49076,_0x30cabd);}function _0x527265(){const _0x288f91=_0x1046a3([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c2887(_0x2d8581(_0x28d821)),_0x5be446=window[_0x1046a3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1046a3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x288f91);return _0x5be446?window[_0x1046a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1abc68(_0x5be446),0x10)*_0x20b834:null;}function _0x3c4bac(_0x2367ac){return new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bdc0e,_0x48e133)=>{_0x2367ac[_0x1046a3([0x74,0x68,0x65,0x6e])](_0x4bdc0e,_0x48e133),window[_0x1046a3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x48e133,0x47a351c6^_0x190906);});}}_0x54acb1[_0x1046a3([0x6f,0x6e])](_0x1046a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b78f1,_0x5a733a)=>{if(_0x5a733a[0x0]!=_0x28d821)return _0x16bbe5(_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a733a[0x1]={..._0x5a733a[0x1],[_0x1046a3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf7027a};},{[_0x1046a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1046a3([0x68,0x69,0x67,0x68])}),_0x54acb1[_0x1046a3([0x6f,0x6e])](_0x1046a3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36ac06=>{_0x516ada(_0x36ac06[_0x1046a3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16c917=!0x0,_0x501d18(_0x36ac06[_0x1046a3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1046a3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1046a3([0x6c,0x6f,0x77])}),_0x5b5627[_0x1046a3([0x74,0x68,0x65,0x6e])](()=>{_0x16c917||_0x16bbe5(_0x1046a3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33cfe8(){return _0x54acb1[_0x1046a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1046a3([0x76,0x69,0x65,0x77])][_0x1046a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1046a3([0x61,0x75,0x74,0x6f]);}function _0x4c9e3d(){_0x54acb1[_0x1046a3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1046a3([0x76,0x69,0x65,0x77])][_0x1046a3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1046a3([0x61,0x75,0x74,0x6f]);}}function _0x7e075b(_0x3f1660){const _0xef38a7=[new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b5f5a=>setTimeout(_0x1b5f5a,0x47abbbca^_0x190906)),_0x5b5627[_0x1046a3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1c23=>{let _0x533f1d=0x0;_0x54acb1[_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1046a3([0x6f,0x6e])](_0x1046a3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24f2d6,_0x26c3c3)=>{_0x26c3c3[0x0][_0x1046a3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x533f1d++,_0x533f1d==(0x47a284fe^_0x190906)&&(_0x2c1c23(),_0x24f2d6[_0x1046a3([0x6f,0x66,0x66])]());});}))];return window[_0x1046a3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1046a3([0x72,0x61,0x63,0x65])](_0xef38a7)[_0x1046a3([0x74,0x68,0x65,0x6e])](()=>_0x3f1660);}async function _0x45f3b3(){await _0x5b5627,_0x54acb1[_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1046a3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c3b4b,_0x54acb1[_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c])][_0x1046a3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c3b4b,_0x54acb1[_0x1046a3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1046a3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4952c1(_0xb5db8f){const _0xae523b=_0x5d3610();_0x54acb1[_0xae523b]=_0x1046a3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb5db8f,_0xb5db8f!=_0x1046a3([0x56,0x61,0x6c,0x69,0x64])&&_0x45f3b3();}function _0x5d3610(){const _0x5b10eb=window[_0x1046a3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1046a3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1046a3([0x6e,0x6f,0x77])]())[_0x1046a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1046a3([0x2e]),'');let _0x4e09c3=_0x1046a3([0x75]);for(let _0x24113a=0x0;_0x24113a<_0x5b10eb[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24113a+=0x2){let _0x4cfe04=window[_0x1046a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b10eb[_0x1046a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24113a,_0x24113a+0x2));_0x4cfe04>=_0x4c7f00[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cfe04-=_0x4c7f00[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e09c3+=_0x4c7f00[_0x4cfe04];}return _0x4e09c3;}function _0x20d108(){const _0x39cee1=_0x14dca9[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e]));if(0x3!=_0x39cee1[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11e83a(_0x39cee1[0x1]);function _0x11e83a(_0x57a297){const _0x3bf277=_0x39b124(_0x57a297);return _0x3bf277&&_0x12f42d()?_0x3bf277:null;function _0x12f42d(){const _0x14d20a=_0x3bf277[_0x1046a3([0x6a,0x74,0x69])],_0x3faebd=window[_0x1046a3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14d20a[_0x1046a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14d20a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38132c={..._0x3bf277,[_0x1046a3([0x6a,0x74,0x69])]:_0x14d20a[_0x1046a3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14d20a[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38132c[_0x1046a3([0x76,0x63])],_0x2d8581(_0x38132c)==_0x3faebd;}}}async function _0x52fb6f(){let _0x26b738=!0x0;try{const _0x2b818f=_0x14dca9[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])](_0x1046a3([0x2e])),[_0x1ea3f0,_0x12025e,_0x1a0ce6]=_0x2b818f;return _0x517e3a(_0x1ea3f0),await _0x4c0b5a(_0x1ea3f0,_0x12025e,_0x1a0ce6),_0x26b738;}catch{return!0x1;}function _0x517e3a(_0x50cb36){const _0x10ac98=_0x39b124(_0x50cb36);_0x10ac98&&_0x10ac98[_0x1046a3([0x61,0x6c,0x67])]==_0x1046a3([0x45,0x53,0x32,0x35,0x36])||(_0x26b738=!0x1);}async function _0x4c0b5a(_0x3c6743,_0xf80b78,_0x563f53){const _0x8c8f32=window[_0x1046a3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1046a3([0x66,0x72,0x6f,0x6d])](_0x1d2169(_0x563f53),_0x2e71d8=>_0x2e71d8[_0x1046a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4813a7=new window[(_0x1046a3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1046a3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c6743+_0x1046a3([0x2e])+_0xf80b78),_0x454e7d=window[_0x1046a3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1046a3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x454e7d)return;const _0x48ca92=await _0x454e7d[_0x1046a3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1046a3([0x6a,0x77,0x6b]),_0x1dee8c,{[_0x1046a3([0x6e,0x61,0x6d,0x65])]:_0x1046a3([0x45,0x43,0x44,0x53,0x41]),[_0x1046a3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1046a3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1046a3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x454e7d[_0x1046a3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1046a3([0x6e,0x61,0x6d,0x65])]:_0x1046a3([0x45,0x43,0x44,0x53,0x41]),[_0x1046a3([0x68,0x61,0x73,0x68])]:{[_0x1046a3([0x6e,0x61,0x6d,0x65])]:_0x1046a3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48ca92,_0x8c8f32,_0x4813a7)||(_0x26b738=!0x1);}}function _0x39b124(_0x2d5aee){return _0x2d5aee[_0x1046a3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1046a3([0x65,0x79]))?JSON[_0x1046a3([0x70,0x61,0x72,0x73,0x65])](_0x1d2169(_0x2d5aee)):null;}function _0x1d2169(_0x447f93){return window[_0x1046a3([0x61,0x74,0x6f,0x62])](_0x447f93[_0x1046a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1046a3([0x2b]))[_0x1046a3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1046a3([0x2f])));}function _0x2d8581(_0xb9f85c){let _0x4402c0=0x1505;function _0xd638d6(_0xf7ea9){for(let _0x3daa64=0x0;_0x3daa64<_0xf7ea9[_0x1046a3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3daa64++){const _0x274767=_0xf7ea9[_0x1046a3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3daa64);_0x4402c0=(_0x4402c0<<0x5)+_0x4402c0+_0x274767,_0x4402c0&=_0x4402c0;}}function _0xc6c766(_0x3c6848){Array[_0x1046a3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c6848)?_0x3c6848[_0x1046a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc6c766):_0x3c6848&&typeof _0x3c6848==_0x1046a3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1046a3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c6848)[_0x1046a3([0x73,0x6f,0x72,0x74])]()[_0x1046a3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xdda6f9,_0x3ab9a1])=>{_0xd638d6(_0xdda6f9),_0xc6c766(_0x3ab9a1);}):_0xd638d6(window[_0x1046a3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c6848));}return _0xc6c766(_0xb9f85c),_0x4402c0>>>0x0;}function _0x4c2887(_0xbdb743){return _0xbdb743[_0x1046a3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1046a3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1046a3([0x30]));}function _0x1abc68(_0x15a415){return _0x15a415[_0x1046a3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1046a3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1046a3([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c3b4b(){}function _0x1046a3(_0x26d56f){return _0x26d56f['map'](_0x33a543=>String['fromCharCode'](_0x33a543))['join']('');}_0x4952c1(await _0x5e3355());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2a92d6){const {plugins:_0x24641a,editing:_0x38b741,model:_0x5deee1}=this['editor'],_0xa4689d=_0x24641a['get'](c)['getFootnote'](_0x2a92d6);return!!_0xa4689d&&(_0x5deee1['change'](_0x535dd6=>{_0x535dd6['setSelection'](_0x535dd6['createPositionAt'](_0xa4689d['definition'],'end'));}),_0x38b741['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x145616){const {plugins:_0x186042,editing:_0x572ee3,model:_0x1d66e1}=this['editor'],_0x398e80=_0x186042['get'](c)['getFootnote'](_0x145616);return!!_0x398e80&&(_0x1d66e1['change'](_0x167928=>{_0x167928['setSelection'](_0x398e80['reference'],'on');}),_0x572ee3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2584e5}=this['editor']['model'],_0x12eb6e=this['editor']['config']['get']('footnotes.multiBlock');_0x2584e5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2584e5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2584e5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x12eb6e?_0x2584e5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2584e5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2584e5['addChildCheck'](_0x65d1a4=>{for(const _0xb41362 of _0x65d1a4)if('footnoteDefinition'===_0xb41362['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x199684}=this,{conversion:_0x511034,editing:_0x40e5bd}=_0x199684,{t:t}=_0x199684['locale'];_0x511034['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1663b4,{writer:_0x95f9fe,consumable:_0x497bbf})=>{const _0x569504=_0x1663b4['getChild'](0x0);if(!_0x569504||!_0x569504['is']('element','a'))return null;const _0x729dd3=_0x569504['getAttribute']('href')||'';if(!_0x729dd3['startsWith']('#'))return null;const _0x5e5290=_0x729dd3['replace'](/^#/,'');if(!_0x5e5290)return null;_0x497bbf['consume'](_0x569504,{'name':!0x0,'attributes':['href']});for(const {item:_0x184771}of _0x40e5bd['view']['createRangeIn'](_0x569504))_0x184771['is']('$textProxy')?_0x497bbf['consume'](_0x184771['textNode'],{'name':!0x0}):_0x184771['is']('element')&&_0x497bbf['consume'](_0x184771,{'name':!0x0});return _0x95f9fe['createElement']('footnoteRef',{'footnoteId':_0x5e5290});}}),_0x511034['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5d0675,{writer:_0x5bf0d9})=>D(_0x5d0675,_0x5bf0d9)}),_0x511034['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3d48af,{writer:_0x4f0291})=>{const _0x5e307d=_0x3d48af['getAttribute']('footnoteCounter');return _0x21f897(D(_0x3d48af,_0x4f0291),_0x4f0291,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5e307d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x307f16}=this,{t:t}=_0x307f16['locale'],{conversion:_0x579131}=_0x307f16;_0x579131['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x579131['for']('upcast')['add'](_0x4b5a91=>{_0x4b5a91['on']('element:ol',(_0x356b69,_0x49cffa,_0xf783e4)=>{const _0x32aa8e=_0x49cffa['viewItem'];if(!_0x32aa8e['hasClass']('footnotes-list')||!_0x49cffa['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xf783e4['consumable']['consume'](_0x32aa8e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4050d7,modelCursor:_0x4d2c5c}=_0xf783e4['convertChildren'](_0x49cffa['viewItem'],_0x49cffa['modelCursor']);_0x49cffa['modelRange']=_0x4050d7,_0x49cffa['modelCursor']=_0x4d2c5c;}),_0x4b5a91['on']('element:hr',(_0x11b930,_0x3a64e9,_0x1dcd4a)=>{const _0x5030e9=_0x3a64e9['viewItem'];_0x5030e9['hasClass']('footnotes-divider')&&_0x3a64e9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1dcd4a['consumable']['consume'](_0x5030e9,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x579131['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11a74e,{writer:_0x45fd77})=>v(_0x45fd77)}),_0x579131['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f33a3,{writer:_0x4c5efe})=>{const _0xb765df=v(_0x4c5efe,{'data-footnotes-list-label':t('Footnotes')}),_0x3bb93f=_0x21f897(_0xb765df,_0x4c5efe,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4c5efe['setCustomProperty']('footnotesDefinitions',!0x0,_0x3bb93f),_0x3bb93f;}});}['_defineDefinitionConverters'](){const {editor:_0x576058}=this,{conversion:_0x55d615,locale:_0x5b5f18}=_0x576058,_0x1eb1ee=_0x576058['config']['get']('footnotes.multiBlock');_0x55d615['for']('upcast')['add'](_0x23e49c=>{_0x23e49c['on']('element:li',(_0xd8743,_0x93327d,_0x18d8a2)=>{const _0x19ff5d=_0x93327d['viewItem'];if(!_0x19ff5d['hasClass']('footnote-definition')||!_0x19ff5d['getAttribute']('id'))return;const _0x4bd05a=_0x19ff5d['parent'];if(!_0x4bd05a['is']('element','ol')||!_0x4bd05a['hasClass']('footnotes-list'))return;if(!_0x18d8a2['consumable']['test'](_0x19ff5d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1edacb=_0x18d8a2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x19ff5d['getAttribute']('id')});if(!_0x18d8a2['safeInsert'](_0x1edacb,_0x93327d['modelCursor']))return;_0x18d8a2['consumable']['consume'](_0x19ff5d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3c5fdf=Array['from'](_0x19ff5d['getChildren']())['find'](_0x33c24a=>_0x33c24a['is']('element')&&_0x33c24a['hasClass']('footnote-content'));for(const _0x64af75 of _0x19ff5d['getChildren']())_0x64af75['is']('element')&&(_0x18d8a2['consumable']['consume'](_0x64af75,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x18d8a2['consumable']['consume'](_0x64af75,{'name':!0x0,'classes':'footnote-content'}));if(_0x3c5fdf){if(_0x1eb1ee)_0x18d8a2['convertChildren'](_0x3c5fdf,_0x1edacb);else{const _0x4ad289=_0x18d8a2['writer']['createElement']('footnoteInlineContent');_0x18d8a2['writer']['insert'](_0x4ad289,_0x1edacb),_0x18d8a2['convertChildren'](_0x3c5fdf,_0x4ad289);}}_0x18d8a2['updateConversionResult'](_0x1edacb,_0x93327d);});}),_0x55d615['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x31894f,{writer:_0x5a13c0})=>b(_0x31894f,_0x5a13c0,_0x5b5f18,{'dataPipeline':!0x0})}),_0x55d615['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a012e,{writer:_0x1cdb05})=>b(_0x4a012e,_0x1cdb05,_0x5b5f18)});}['_defineBogusParagraphConverters'](){const {editor:_0x507433}=this,{conversion:_0x17d13a}=_0x507433;_0x507433['config']['get']('footnotes.multiBlock')?(_0x17d13a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x17d13a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x507433['model']['document'],'change:data',()=>{!function(_0x3da37a,_0x116b28){const _0x499faf=_0x3da37a['document']['differ'],_0x4587d2=new Set();for(const _0x5a8581 of _0x499faf['getChanges']()){const _0x810d81='attribute'==_0x5a8581['type']?_0x5a8581['range']['start']['parent']:_0x5a8581['position']['parent'];_0x810d81['is']('element','footnoteDefinition')&&_0x4587d2['add'](_0x810d81);}for(const _0x119b4e of _0x4587d2['values']()){const _0x48422a=Array['from'](_0x119b4e['getChildren']())['filter'](_0x350396=>g(_0x350396,_0x116b28['mapper']));for(const _0x4649d5 of _0x48422a)_0x116b28['reconvertItem'](_0x4649d5);}}(_0x507433['model'],_0x507433['editing']);})):(_0x17d13a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x17d13a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3c82b4,{writer:_0x5d120c})=>{const _0x1b313b=_0x5d120c['createContainerElement']('span');return _0x5d120c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1b313b),_0x1b313b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5a221}=this,{editing:_0x3bec2c,t:t}=_0x5a221,_0x2ccafd=_0x5a221['model']['document']['selection'];_0x5a221['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5a221['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3bec2c['view']['document'],'enter',(_0xb084dd,_0x52fcd9)=>{const _0xb0001e=function(_0x5efafa){const _0x2a8490=_0x5efafa['getSelectedElement']();if(_0x2a8490?.['is']('element','footnoteRef'))return _0x2a8490;return null;}(_0x2ccafd);if(_0xb0001e){const _0x241383=_0xb0001e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x241383),_0x52fcd9['preventDefault'](),_0xb084dd['stop']();}},{'context':_0x420c45});}['_defineClickHandlers'](){const {editor:_0x591c72}=this,{editing:_0x25611b}=_0x591c72;_0x591c72['editing']['view']['addObserver'](_0x1138dd),_0x591c72['editing']['view']['addObserver'](_0x4a6ed2);let _0x345d10=!0x1;this['listenTo'](_0x25611b['view']['document'],'pointerdown',(_0x3f8d8e,_0x1a37b4)=>{const {target:_0xfea520}=_0x1a37b4,_0x10c40f=_0x25611b['view']['document']['selection'];_0x345d10=!!(_0xfea520?.['is']('element','a')&&_0xfea520['parent']?.['is']('element','sup')&&_0xfea520['parent']['hasClass']('footnote'))&&_0x10c40f['getSelectedElement']()===_0xfea520['parent'];},{'priority':'high'}),this['listenTo'](_0x25611b['view']['document'],'click',(_0x5afa46,_0xedfbd5)=>{const {target:_0x94f999}=_0xedfbd5;if(!_0x94f999?.['is']('element','a'))return;if(_0x94f999['parent']?.['is']('element','sup')&&_0x94f999['parent']['hasClass']('footnote')&&!_0x345d10)return void _0xedfbd5['preventDefault']();let _0x14a7b6=_0x94f999['getAttribute']('href');if(!_0x14a7b6?.['startsWith']('#'))return;_0x14a7b6=_0x14a7b6['slice'](0x1);let _0x38960d=!0x1;(_0x14a7b6['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x14a7b6['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x14a7b6))&&(_0x38960d=!0x0),_0x38960d&&(_0xedfbd5['preventDefault'](),_0x5afa46['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2ab222}={}){return(_0x30df50,{writer:_0x3081bb})=>{if(!p(_0x30df50))return null;if(!_0x2ab222)return _0x3081bb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3db74b=_0x3081bb['createContainerElement']('p');return _0x3081bb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3db74b),_0x3db74b;};}function p(_0x1a9f25){const {parent:_0x1344fe}=_0x1a9f25;if(!_0x1344fe?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1344fe['childCount'])return!0x1;for(const _0x470747 of _0x1a9f25['getAttributeKeys']())if(!_0x470747['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x470747)return!0x1;return!0x0;}function g(_0x386e23,_0x3f43b2){if(!_0x386e23['is']('element','paragraph'))return!0x1;const _0x1bf09b=_0x3f43b2['toViewElement'](_0x386e23);return!!_0x1bf09b&&p(_0x386e23)!==_0x1bf09b['is']('element','span');}function J(_0x4831ee){return _0x420c45(_0x4831ee)&&_0x4831ee['is']('containerElement')&&!!_0x4831ee['getCustomProperty']('footnotesDefinitions');}function v(_0xcbfe7d,_0x3de40d={}){const _0x350d45=_0xcbfe7d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5a019f=_0xcbfe7d['createContainerElement']('ol',{'class':'footnotes-list'},_0xcbfe7d['createSlot']());return _0xcbfe7d['createContainerElement']('div',{'class':'footnotes',..._0x3de40d},[_0x350d45,_0x5a019f]);}function D(_0x329c1c,_0x568433){const _0x91e262=_0x329c1c['getAttribute']('footnoteId'),_0x44698c=_0x329c1c['getAttribute']('footnoteCounter'),_0x31616d=_0x568433['createUIElement']('a',{'href':'#'+_0x91e262},function(_0x5c4710){const _0x2d9f6b=this['toDomElement'](_0x5c4710);return _0x2d9f6b['textContent']=_0x44698c,_0x2d9f6b;}),_0x42d46=_0x568433['createContainerElement']('sup',{'id':'ref-'+_0x91e262,'class':'footnote'},[_0x31616d]);return _0x42d46['getFillerOffset']=()=>null,_0x42d46;}function b(_0x586552,_0x553e66,_0x23a35e,{dataPipeline:_0x3a7cec}={}){const {t:t}=_0x23a35e,_0x4c58f5=_0x586552['getAttribute']('footnoteId'),_0x38d411=_0x553e66['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4c58f5},function(_0x5838de){const _0x37a6fc=this['toDomElement'](_0x5838de);return _0x37a6fc['innerText']='^',_0x37a6fc;}),_0x279477=_0x3a7cec?_0x553e66['createContainerElement']('div',{'class':'footnote-content'}):_0x40dc61(_0x553e66['createEditableElement']('div',{'class':'footnote-content'}),_0x553e66,{'label':t('Footnote\x20content.')});return _0x553e66['insert'](_0x553e66['createPositionAt'](_0x279477,0x0),_0x553e66['createSlot']()),_0x553e66['createContainerElement']('li',{'class':'footnote-definition','id':_0x4c58f5},[_0x38d411,_0x279477]);}class e extends _0x593697{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x262e29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3d3178}=this,{plugins:_0x2cd4bc,model:_0x5684d6}=_0x3d3178,_0x258260=_0x2cd4bc['get'](_0x262e29),_0x216242=_0x2cd4bc['get'](c);this['listenTo'](_0x258260,'outputTransformation',(_0x8cce07,_0x234739)=>{const _0x2d0c7b=f(_0x5684d6['createRangeIn'](_0x234739['content']));if(!_0x2d0c7b['length'])return;const _0x246601=_0x216242['getFootnotes'](),_0x2fc4e0=_0x2d0c7b['reduce']((_0x157ed2,_0x5342b0)=>{const _0x105ba0=_0x246601['find'](_0x18eecd=>_0x18eecd['id']===_0x5342b0);if(_0x105ba0){const _0x4b1d31=_0x3d3178['data']['toView'](_0x105ba0['definition'],{'isClipboardPipeline':!0x0}),_0x1b9379=_0x3d3178['data']['htmlProcessor']['toData'](_0x4b1d31);_0x157ed2[_0x105ba0['id']]=_0x1b9379;}return _0x157ed2;},Object['create'](null));_0x234739['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2fc4e0));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1257cf}=this,{model:_0x4c86e8,plugins:_0xadc5f0}=_0x1257cf,{view:_0x4e6cc0}=_0x1257cf['editing'],_0x4d6e0a=_0xadc5f0['get'](_0x262e29),_0xa2b328=_0xadc5f0['get'](c);let _0x1c307d=null;this['listenTo'](_0x4e6cc0['document'],'clipboardInput',(_0x4c607e,_0x3c7020)=>{const _0x96dfe0=_0x3c7020['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1c307d=_0x96dfe0?JSON['parse'](_0x96dfe0):null;}),this['listenTo'](_0x4d6e0a,'contentInsertion',(_0x1ac78b,_0x24ef67)=>{const _0x3bfa01=_0x24ef67['sourceEditorId']===this['editor']['id'];_0x3bfa01&&'drop'===_0x24ef67['method']||_0x4c86e8['change'](_0x119bb6=>{let _0x5412f5=_0xa2b328['getFootnotesDefinitionsObjectElement']();const _0x59e0b5=!!_0x5412f5&&Array['from'](_0x4c86e8['document']['selection']['getSelectedBlocks']())['includes'](_0x5412f5);if((_0x5412f5&&!_0x59e0b5||!_0x5412f5&&!_0x1c307d)&&function(_0x352b4b,_0xa95fd9){const _0xc6ba01=[];for(const {item:_0x14c091}of _0x352b4b['createRangeIn'](_0xa95fd9))_0x14c091['is']('element','footnotesDefinitions')&&_0xc6ba01['push'](_0x14c091);for(const _0x854a8c of _0xc6ba01)_0x352b4b['remove'](_0x854a8c);}(_0x119bb6,_0x24ef67['content']),!_0x1c307d)return;const {selection:_0x32dbb4}=_0x4c86e8['document'],_0xc29ac9=_0x32dbb4['getFirstRange']()['root'];_0x5412f5&&!_0x59e0b5||(_0x5412f5=function(_0x5dce0d,_0x1b39c2){for(const {item:_0x4f982f}of _0x5dce0d['createRangeIn'](_0x1b39c2))if(_0x4f982f['is']('element','footnotesDefinitions'))return _0x4f982f;return null;}(_0x119bb6,_0x24ef67['content']),_0x5412f5||=_0xa2b328['_insertEmptyFootnotesDefinitionsContainer'](_0x119bb6,_0xc29ac9));const _0x528615=Array['from'](_0x32dbb4['getRanges']())['flatMap'](f),_0x28306b=function(_0x35f9d4,_0x36d9c7,_0xf592ed){const _0xe5e084=Object['create'](null);for(const {item:_0x1eedd3}of _0x35f9d4['createRangeIn'](_0x36d9c7))if(_0x1eedd3['is']('element','footnoteRef')){const _0x3373b6=_0x1eedd3['getAttribute']('footnoteId');if(!_0xf592ed(_0x3373b6))continue;_0xe5e084[_0x3373b6]||(_0xe5e084[_0x3373b6]=_0xf950e0()),_0x35f9d4['setAttribute']('footnoteId',_0xe5e084[_0x3373b6],_0x1eedd3);}return _0xe5e084;}(_0x119bb6,_0x24ef67['content'],_0x3f166c=>{if(!_0x3bfa01)return!0x0;return!!_0xa2b328['getFootnote'](_0x3f166c)&&!_0x528615['includes'](_0x3f166c);});for(const [_0x5c8f9e,_0x4ae4cc]of Object['entries'](_0x1c307d)){const _0x503442=_0x28306b[_0x5c8f9e]||_0x5c8f9e,_0x14c156=_0x119bb6['createElement']('footnoteDefinition',{'footnoteId':_0x503442}),_0x577374=_0x1257cf['data']['htmlProcessor']['toView'](_0x4ae4cc),_0x107e9c=_0x1257cf['data']['toModel'](_0x577374,_0x14c156);_0x119bb6['append'](_0x107e9c,_0x14c156),_0x119bb6['insert'](_0x14c156,_0x5412f5,'end');}_0x1c307d=null;});});}}function f(_0x5d9bff){const _0x12ee21=new Set();for(const {item:_0x10ca4e}of _0x5d9bff)_0x10ca4e['is']('element','footnoteRef')&&_0x12ee21['add'](_0x10ca4e['getAttribute']('footnoteId'));return Array['from'](_0x12ee21);}class i extends _0x593697{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20d1c5}=this,{componentFactory:_0x4c67d1}=_0x20d1c5['ui'];_0x4c67d1['add']('insertFootnote',x(_0x20d1c5,_0x35db40)),_0x4c67d1['add']('menuBar:insertFootnote',x(_0x20d1c5,_0x34a9f4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x406ff4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3925e9;for(const _0xca9f05 in _0x406ff4){const _0x3d2d02=_0xca9f05,_0x36f39f=_0x406ff4[_0x3d2d02];if('footnotesLicenseKeyValid'==_0x36f39f||'footnotesLicenseKeyInvalid'==_0x36f39f||'footnotesLicenseKeyExpired'==_0x36f39f||'footnotesLicenseKeyDomainLimit'==_0x36f39f||'footnotesLicenseKeyNotAllowed'==_0x36f39f||'footnotesLicenseKeyEvaluationLimit'==_0x36f39f||'footnotesLicenseKeyTrialLimit'==_0x36f39f||'footnotesLicenseKeyUsageLimit'==_0x36f39f){delete _0x406ff4[_0x3d2d02],_0x3925e9=_0x36f39f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3925e9&&_0x406ff4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3925e9&&_0x406ff4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3925e9&&_0x406ff4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3925e9&&_0x406ff4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x43a340,_0xc7fa7){const _0x28b528=_0x43a340['commands']['get']('insertFootnote');return _0x394813=>{const {t:t}=_0x394813,_0x33793e=new _0xc7fa7(_0x394813),_0x5cfb19=_0x33793e instanceof _0x34a9f4;return _0x33793e['bind']('isEnabled')['to'](_0x28b528,'isEnabled'),_0x33793e['set']({'label':t(_0x5cfb19?'Footnote':'Insert\x20footnote'),'icon':_0xbe2656,'tooltip':!0x0}),_0x33793e['on']('execute',()=>{_0x28b528['execute'](),_0x43a340['editing']['view']['focus']();}),_0x33793e;};}class lt extends _0x593697{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x15a3f3{['refresh'](){const {editor:_0xda352f}=this,_0xd73135=_0xda352f['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd73135,this['value']=_0xd73135?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x243f83}){const {editor:_0x717b3e}=this,_0x3194bb=_0x717b3e['plugins']['get'](c),_0x54de28=_0x3194bb['getFootnotesDefinitionsObjectElement']();_0x54de28&&Q['includes'](_0x243f83)&&_0x717b3e['model']['change'](_0x55279b=>{_0x55279b['setAttribute']('footnotesListStyle',_0x243f83,_0x54de28),_0x3194bb['_updateFootnotesCounters'](_0x55279b);});}}class C extends _0x15a3f3{['refresh'](){const {editor:_0x4fdff7}=this,_0x2a572a=_0x4fdff7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a572a,this['value']=_0x2a572a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x368263}){const {editor:_0x13b016}=this,_0x2ab669=_0x13b016['plugins']['get'](c),_0x53831c=_0x2ab669['getFootnotesDefinitionsObjectElement']();_0x53831c&&Number['isInteger'](_0x368263)&&_0x13b016['model']['change'](_0x18f2dd=>{_0x18f2dd['setAttribute']('footnotesListStart',_0x368263,_0x53831c),_0x2ab669['_updateFootnotesCounters'](_0x18f2dd);});}}class P extends _0x593697{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5185be}=this;_0x5185be['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5185be['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5185be['commands']['add']('footnotesStyle',new S(_0x5185be)),_0x5185be['commands']['add']('footnotesStart',new C(_0x5185be)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x75c478}=this,{schema:_0x181777}=_0x75c478['model'];_0x181777['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x12c6ac}=this,{conversion:_0x2de039,model:_0x566c76}=_0x12c6ac,{schema:_0x10e78e}=_0x566c76;_0x2de039['for']('upcast')['add'](_0x3445b6=>{_0x3445b6['on']('element:ol',(_0x6d09c2,_0xe3c130,_0x38795f)=>{const _0x2240fb=_0xe3c130['viewItem'],_0xdca412=_0xe3c130['modelCursor']?.['parent'];_0x2240fb['hasClass']('footnotes-list')&&_0xdca412?.['is']('element','footnotesDefinitions')&&(function(_0x13a6dd,_0x1b6e66,_0x3d79d8,_0x8ba60){if(!_0x8ba60['checkAttribute'](_0x1b6e66,'footnotesListStart'))return;let _0x58f1a2=0x1;const _0xcd0a18=_0x3d79d8['consumable']['consume'](_0x13a6dd,{'attributes':'start'});if(_0xcd0a18){const _0x2d2ab4=Number['parseInt'](_0x13a6dd['getAttribute']('start'),0xa);Number['isNaN'](_0x2d2ab4)||(_0x58f1a2=_0x2d2ab4);}!_0xcd0a18&&_0x1b6e66['hasAttribute']('footnotesListStart')||_0x3d79d8['writer']['setAttribute']('footnotesListStart',_0x58f1a2,_0x1b6e66);}(_0x2240fb,_0xdca412,_0x38795f,_0x10e78e),function(_0x3afdd2,_0x683c71,_0x3f07a6,_0x4642f5){if(!_0x4642f5['checkAttribute'](_0x683c71,'footnotesListStyle'))return;let _0x56e40d='decimal',_0x492a46=!0x1;if(_0x3f07a6['consumable']['consume'](_0x3afdd2,{'attributes':'type'})){const _0x32f430={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3afdd2['getAttribute']('type')];_0x32f430&&(_0x56e40d=_0x32f430),_0x492a46=!0x0;}_0x3f07a6['consumable']['consume'](_0x3afdd2,{'styles':'list-style-type'})&&(_0x56e40d=_0x3afdd2['getStyle']('list-style-type'),_0x492a46=!0x0),!_0x492a46&&_0x683c71['hasAttribute']('footnotesListStyle')||_0x3f07a6['writer']['setAttribute']('footnotesListStyle',_0x56e40d,_0x683c71);}(_0x2240fb,_0xdca412,_0x38795f,_0x10e78e));});}),_0x2de039['for']('downcast')['add'](_0x5614ff=>{_0x5614ff['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xc244b,_0x408a68,_0x26d05f)=>{if(!_0x26d05f['consumable']['consume'](_0x408a68['item'],_0xc244b['name']))return;const _0x1b8f2e=M(_0x408a68['item'],_0x26d05f['mapper']),{attributeNewValue:_0x2a335d}=_0x408a68;null==_0x2a335d||0x1===_0x2a335d?_0x26d05f['writer']['removeAttribute']('start',_0x1b8f2e):_0x26d05f['writer']['setAttribute']('start',String(_0x2a335d),_0x1b8f2e);}),_0x5614ff['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x52a796,_0x5bf389,_0x405109)=>{if(!_0x405109['consumable']['consume'](_0x5bf389['item'],_0x52a796['name']))return;const _0x256d49=M(_0x5bf389['item'],_0x405109['mapper']),{attributeNewValue:_0x2920a7}=_0x5bf389;_0x2920a7&&'decimal'!==_0x2920a7?_0x405109['writer']['setStyle']('list-style-type',_0x2920a7,_0x256d49):_0x405109['writer']['removeStyle']('list-style-type',_0x256d49);});});}['_definePostfixer'](){const {editor:_0x1105ae}=this,{model:_0x1dbdba}=_0x1105ae,_0x17ea69=_0x1105ae['plugins']['get'](c),_0x3cc47b=this['_getDefaultListStyle'](),_0x4d82c6=this['_getDefaultStartIndex']();_0x1dbdba['document']['registerPostFixer'](_0x2a8f5c=>{const _0x1a91e7=_0x1dbdba['document']['differ']['getChanges']();let _0x5d967f=!0x1;for(const _0x4523f6 of _0x1a91e7){if('insert'!==_0x4523f6['type']||'$text'===_0x4523f6['name'])continue;const _0x4a57e1=_0x1dbdba['createRangeOn'](_0x4523f6['position']['nodeAfter']);for(const _0x436ece of _0x4a57e1['getItems']())_0x436ece['is']('element','footnotesDefinitions')&&(!_0x436ece['hasAttribute']('footnotesListStart')&&_0x1dbdba['schema']['checkAttribute'](_0x436ece,'footnotesListStart')&&(_0x2a8f5c['setAttribute']('footnotesListStart',_0x4d82c6,_0x436ece),_0x5d967f=!0x0),!_0x436ece['hasAttribute']('footnotesListStyle')&&_0x1dbdba['schema']['checkAttribute'](_0x436ece,'footnotesListStyle')&&(_0x2a8f5c['setAttribute']('footnotesListStyle',_0x3cc47b,_0x436ece),_0x5d967f=!0x0));}return _0x5d967f&&_0x17ea69['_updateFootnotesCounters'](_0x2a8f5c),_0x5d967f;});}['_defineFormatter'](){const {editor:_0x2e6e73}=this;_0x2e6e73['plugins']['get'](c)['setFootnoteFormatter'](_0x49e9fd=>this['_formatFootnoteListValue'](_0x49e9fd));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4f203f,value:_0x23bf91,digits:_0x101124}){const _0x5a8158=_0x4f203f['getAttribute']('footnotesListStyle'),_0x49f30f=_0x4f203f['getAttribute']('footnotesListStart'),_0x322a12=Math['floor'](_0x23bf91)+(_0x49f30f??0x1)-0x1;switch(_0x5a8158){case'decimal-leading-zero':return function(_0x1c9e4f,_0x6818dc){return String(_0x1c9e4f)['padStart'](_0x6818dc,'0');}(_0x322a12,Math['max'](0x2,_0x101124));case'lower-alpha':case'lower-latin':return N(_0x322a12,!0x1);case'upper-alpha':case'upper-latin':return N(_0x322a12,!0x0);case'lower-roman':return X(_0x322a12,!0x1);case'upper-roman':return X(_0x322a12,!0x0);default:return String(_0x322a12);}}}function M(_0x4998ab,_0x2b9d9c){const _0x43b20a=_0x2b9d9c['toViewElement'](_0x4998ab);return Array['from'](_0x43b20a['getChildren']())['find'](_0x10c782=>_0x10c782['is']('element','ol')&&_0x10c782['hasClass']('footnotes-list'));}function N(_0x3f71c4,_0x50641d){let _0x243034='',_0x191418=_0x3f71c4;for(;_0x191418>0x0;){const _0x2abae7=(_0x191418-0x1)%0x1a;_0x243034=String['fromCharCode'](0x61+_0x2abae7)+_0x243034,_0x191418=Math['floor']((_0x191418-0x1)/0x1a);}return _0x50641d?_0x243034['toUpperCase']():_0x243034;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x23627a,_0xb7931e){let _0x223339='',_0x25aaf1=_0x23627a;for(const {value:_0xa6cb38,numeral:_0x48cecd}of V)for(;_0x25aaf1>=_0xa6cb38;)_0x223339+=_0x48cecd,_0x25aaf1-=_0xa6cb38;return _0xb7931e?_0x223339:_0x223339['toLowerCase']();}class H extends _0x556880{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x619c6e();['focusCycler'];constructor(_0x23bffb,{styleButtonViews:_0xc06b36,styleGridAriaLabel:_0x46bb33}){super(_0x23bffb),(this['focusCycler']=new _0x3530a7({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xc06b36,_0x46bb33),[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 _0x2dfb5b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2dfb5b['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x62939d=_0x2592ab=>_0x2592ab['stopPropagation']();this['keystrokes']['set']('arrowright',_0x62939d),this['keystrokes']['set']('arrowleft',_0x62939d),this['keystrokes']['set']('arrowup',_0x62939d),this['keystrokes']['set']('arrowdown',_0x62939d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x9d6414,_0x3b6629){const _0x39a7ee=new _0x556880(this['locale']);return _0x39a7ee['children']=_0x39a7ee['createCollection'](),_0x39a7ee['children']['addMany'](_0x9d6414),_0x39a7ee['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3b6629,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x39a7ee['children']}),_0x39a7ee['children']['delegate']('execute')['to'](this),_0x39a7ee['focus']=function(){for(const _0x491269 of this['children'])if(_0x491269 instanceof _0x35db40&&_0x491269['isOn'])return void _0x491269['focus']();this['children']['first']['focus']();},_0x39a7ee['focusTracker']=new ot(),_0x39a7ee['keystrokes']=new rt(),_0x39a7ee['render'](),_0x39a7ee['keystrokes']['listenTo'](_0x39a7ee['element']),this['children']['add'](_0x39a7ee),_0x39a7ee;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41c89b=this['_createStartIndexPropertyView'](),_0x47470d=[_0x41c89b],_0x5a73d9=new st(this['locale'],_0x47470d);return _0x5a73d9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5a73d9['buttonView']['bind']('isEnabled')['toMany'](_0x47470d,'isEnabled',(..._0x3c8b7c)=>_0x3c8b7c['some'](_0x188b06=>_0x188b06)),_0x5a73d9['buttonView']['on']('change:isEnabled',(_0x589891,_0x543ef5,_0x523219)=>{_0x523219||(_0x5a73d9['isCollapsed']=!0x0);}),this['children']['add'](_0x5a73d9),[_0x41c89b,_0x5a73d9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4c0ea8=new it(this['locale'],et);return _0x4c0ea8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4c0ea8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4c0ea8['fieldView']['on']('input',()=>{const _0x275c8a=_0x4c0ea8['fieldView']['element'],_0x153647=_0x275c8a['valueAsNumber'];Number['isNaN'](_0x153647)?_0x4c0ea8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x275c8a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x153647}):_0x4c0ea8['errorText']=t(_0x153647<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4c0ea8;}}class j extends _0x593697{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xf232ba,_0x5f482f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4957b9}=this,{componentFactory:_0x41ed26}=_0x4957b9['ui'];_0x4957b9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x41ed26['add']('footnotesStyle',function(_0x533c5c){return _0x31b85e=>{const {t:t}=_0x31b85e,_0x3a7107=_0x533c5c['commands']['get']('footnotesStyle'),_0x4f1a4d=_0x20643f(_0x31b85e),{buttonView:_0x10388c}=_0x4f1a4d;return _0x4f1a4d['class']='ck-footnotes-styles-dropdown',_0x4f1a4d['bind']('isEnabled')['to'](_0x3a7107,'isEnabled'),_0x10388c['set']({'label':t('Footnotes\x20style'),'icon':_0xbe2656,'tooltip':!0x0}),_0x4f1a4d['once']('change:isOpen',()=>{const _0x4b54e5=function({editor:_0x14e817,dropdownView:_0x1b7125}){const {t:t}=_0x14e817['locale'],_0x5e847f=t('Footnotes\x20definitions\x20styles'),_0x3f91cd=function(_0x3127b4){const t=_0x3127b4['locale']['t'],_0x5fb7ba=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x436a3f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x217913},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x27c798},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4db2e6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x494290},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x23726d}];return _0x5fb7ba['map'](function(_0x122ec2){const _0x666c91=_0x122ec2['locale'];return({label:_0x441c75,icon:_0x2ded6c,tooltip:_0x5d7be6,style:_0xfacfd0})=>{const _0x10d2ed=_0x122ec2['commands']['get']('footnotesStyle'),_0x51ff3a=new _0x35db40(_0x666c91);return _0x51ff3a['set']({'label':_0x441c75,'icon':_0x2ded6c,'tooltip':_0x5d7be6}),_0x51ff3a['bind']('isOn')['to'](_0x10d2ed,'value',_0x5f24f8=>_0x5f24f8===_0xfacfd0),_0x51ff3a['bind']('isEnabled')['to'](_0x10d2ed,'isEnabled'),_0x51ff3a['on']('execute',()=>{_0x122ec2['execute']('footnotesStyle',{'value':_0xfacfd0}),_0x122ec2['editing']['view']['focus']();}),_0x51ff3a;};}(_0x3127b4));}(_0x14e817),_0x4c7be0=new H(_0x14e817['locale'],{'styleGridAriaLabel':_0x5e847f,'styleButtonViews':_0x3f91cd});return _0x4c7be0['delegate']('execute')['to'](_0x1b7125),_0x4c7be0['on']('footnotesListStart',(_0x1008cb,_0x46170f)=>{_0x14e817['execute']('footnotesStart',{'value':_0x46170f['startIndex']});}),_0x4c7be0;}({'editor':_0x533c5c,'dropdownView':_0x4f1a4d});_0x4f1a4d['panelView']['children']['add'](_0x4b54e5);}),_0x4f1a4d;};}(_0x4957b9));}['afterInit'](){const {editor:_0x122fb6}=this,{t:t}=_0x122fb6['locale'],_0x4c2a09=_0x122fb6['plugins']['get'](_0x5f482f),{defaultPositions:_0x1e5554}=_0x447336;_0x4c2a09['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x122fb6['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x25de62=>{let _0x1214b4=_0x25de62['getFirstPosition']()?.['parent'];return _0x1214b4?.['is']('$text')&&(_0x1214b4=_0x1214b4['parent']),_0x1214b4?.['is']('element')?_0x1214b4['findAncestor'](J):null;},'positions':[_0x1e5554['southArrowNorth'],_0x1e5554['southArrowNorthMiddleWest'],_0x1e5554['southArrowNorthMiddleEast'],_0x1e5554['southArrowNorthWest'],_0x1e5554['southArrowNorthEast'],_0x1e5554['northArrowSouth'],_0x1e5554['northArrowSouthMiddleWest'],_0x1e5554['northArrowSouthMiddleEast'],_0x1e5554['northArrowSouthWest'],_0x1e5554['northArrowSouthEast'],_0x1e5554['viewportStickyNorth']]});}}class ft extends _0x593697{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x46ab82,Command as _0x3e7c3d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0xc97ff8,isWidget as _0x27155d,toWidgetEditable as _0x198637,WidgetToolbarRepository as _0x583e2a}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xa56d19,logWarning as _0x461615,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ce956,ClickObserver as _0x271da9}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x23c89c}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x56958d,ButtonView as _0xcd01e8,View as _0x188ada,ViewCollection as _0x75cee3,FocusCycler as _0xc06e54,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x55903b,BalloonPanelView as _0x5b3817,createDropdown as _0x1b6e6d}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1ecac4,IconListStyleDecimal as _0x36e718,IconListStyleDecimalLeadingZero as _0x2f3cb4,IconListStyleLowerRoman as _0x21ca9b,IconListStyleUpperRoman as _0x8ff359,IconListStyleLowerLatin as _0x363e85,IconListStyleUpperLatin as _0x2b6fe3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2eb41c,_0x568e01){this['_model']=_0x2eb41c,this['_elementName']=_0x568e01['elementName'],this['_getElementKey']=_0x568e01['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2782a9){const _0x3372b2=new Set(),_0x5418ea=new Map();for(const _0x19a672 of _0x2782a9){if('insert'===_0x19a672['type']&&'$text'!==_0x19a672['name']&&_0x19a672['position']['nodeAfter']){const _0x21d23a=this['_model']['createRangeOn'](_0x19a672['position']['nodeAfter']);for(const _0x47f86b of _0x21d23a['getItems']()){if(!_0x47f86b['is']('element',this['_elementName']))continue;const _0xf631f8=this['_getElementKey'](_0x47f86b);_0x5418ea['has'](_0xf631f8)||_0x5418ea['set'](_0xf631f8,[]),_0x5418ea['get'](_0xf631f8)['push'](_0x47f86b);}}if('remove'===_0x19a672['type']&&_0x19a672['name']===this['_elementName']){const _0x569a87=this['_getElementKey']({'getAttribute':_0x63ab1a=>_0x19a672['attributes']['get'](_0x63ab1a)});_0x3372b2['add'](_0x569a87);}}for(const [_0x4774af,_0x185fb5]of this['_trackedElements'])'$graveyard'===_0x185fb5['root']['rootName']&&_0x3372b2['add'](_0x4774af);for(const _0xd0e316 of _0x3372b2)this['_trackedElements']['delete'](_0xd0e316);for(const [_0x5f201f,_0x276c8f]of _0x5418ea)this['_trackedElements']['set'](_0x5f201f,_0x276c8f[_0x276c8f['length']-0x1]);const _0x9bd6f0=new Set();for(const [_0x178def,_0x5867d8]of _0x5418ea)_0x3372b2['has'](_0x178def)&&(_0x9bd6f0['add'](_0x5867d8[0x0]),_0x5867d8['length']>0x1?_0x5418ea['set'](_0x178def,_0x5867d8['slice'](0x1)):_0x5418ea['delete'](_0x178def),_0x3372b2['delete'](_0x178def));return{'removed':Array['from'](_0x3372b2),'inserted':Array['from'](_0x5418ea['values']())['flat'](),'moved':Array['from'](_0x9bd6f0)};}}class c extends _0x46ab82{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x489623){super(_0x489623),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0xf5e3ce=>_0xf5e3ce['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2bff6e=>_0x2bff6e['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1e82d8}=this,{model:_0x153993,data:_0x519108}=_0x1e82d8;_0x153993['document']['registerPostFixer'](_0x118a36=>{const _0x10e14d=_0x153993['document']['differ']['getChanges']();let _0x4b418c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x118a36,_0x10e14d)&&(_0x4b418c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x118a36,_0x10e14d)&&(_0x4b418c=!0x0),this['_handleFootnoteReferencesChanges'](_0x118a36,_0x10e14d)&&(_0x4b418c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x118a36)&&(_0x4b418c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x118a36)&&(_0x4b418c=!0x0),this['_sortFootnoteDefinitions'](_0x118a36)&&(_0x4b418c=!0x0),_0x4b418c;}),this['listenTo'](_0x153993['document'],'change:data',()=>{_0x153993['enqueueChange']({'isUndoable':!0x1},_0x12b9e5=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x12b9e5);});},{'priority':'low'}),this['listenTo'](_0x519108,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x43d900){return this['_footnotes']['find'](_0x19f241=>_0x19f241['id']===_0x43d900)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4c3b0c){this['_footnoteFormatter']=_0x4c3b0c;}['_updateFootnotesCounters'](_0x1f1918,_0x57bf83=0x0){let _0x961a1e=!0x1;for(let _0x14d394=_0x57bf83;_0x14d394<this['_footnotes']['length'];_0x14d394++)this['_updateFootnoteRefCounter'](_0x1f1918,_0x14d394)&&(_0x961a1e=!0x0);return _0x961a1e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x47b859,_0x18be35){const _0x4d4ebd=_0x47b859['createElement']('footnotesDefinitions',{});return _0x47b859['append'](_0x4d4ebd,_0x18be35),this['_footnotesDefinitions']=_0x4d4ebd,_0x4d4ebd;}['_ensureFootnotesDefinitionsContainerExists'](_0x1e0d16){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x8cf01d=this['_footnotes'][0x0]['reference']['root'],_0x5ec5bb=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1e0d16,_0x8cf01d);for(const _0x1889e8 of this['_footnotes'])_0x1889e8['definition']['parent']||_0x1e0d16['insert'](_0x1889e8['definition'],_0x5ec5bb,'end');this['_updateFootnotesCounters'](_0x1e0d16);}['_handleFootnotesDefinitionsObjectChanges'](_0x4a99f8,_0x262f73){let _0x56d0f1=!0x1;const {inserted:_0x583d45,removed:_0x4a7acc,moved:_0x565fbe}=this['_footnoteDefsContainerTracker']['getChanges'](_0x262f73);if(_0x565fbe['length']&&(this['_footnotesDefinitions']=_0x565fbe[0x0]),_0x583d45['length']){if(_0x583d45['length']>0x1||this['_footnotesDefinitions']&&_0x583d45['some'](_0x5d7600=>_0x5d7600!==this['_footnotesDefinitions'])){const _0x5c9c24=_0x4a99f8['createElement']('footnotesDefinitions',{}),_0x76d1ac=[];this['_footnotesDefinitions']&&_0x76d1ac['push'](this['_footnotesDefinitions']),_0x76d1ac['push'](..._0x583d45),_0x4a99f8['insert'](_0x5c9c24,_0x76d1ac[0x0],'before');for(const _0x26bd05 of _0x76d1ac)_0x4a99f8['move'](_0x4a99f8['createRangeIn'](_0x26bd05),_0x4a99f8['createPositionAt'](_0x5c9c24,'end')),_0x4a99f8['remove'](_0x26bd05);this['_footnotesDefinitions']=_0x5c9c24,this['_updateFootnotesCounters'](_0x4a99f8),_0x56d0f1=!0x0;}else this['_footnotesDefinitions']=_0x583d45[0x0];}if(_0x4a7acc['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x45169a of this['_footnotes'])_0x4a99f8['remove'](_0x45169a['reference']),_0x56d0f1=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x56d0f1;}['_handleFootnoteDefinitionsChanges'](_0x3ec70b,_0x17723a){let _0x5f1c24=!0x1;const _0x5e0134=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4e217e,moved:_0x4b54b9}=this['_footnoteDefsTracker']['getChanges'](_0x17723a);for(const _0x4af14e of[..._0x4b54b9,..._0x4e217e]){const _0x1e12d8=_0x4af14e['getAttribute']('footnoteId'),_0xf5ba77=this['getFootnote'](_0x1e12d8);_0xf5ba77&&(_0xf5ba77['definition']=_0x4af14e),_(_0x3ec70b,_0x5e0134,_0x4af14e)&&(_0x5f1c24=!0x0);}return _0x5f1c24;}['_handleFootnoteReferencesChanges'](_0x1a0901,_0x3ba73c){let _0x2c5877=!0x1;const {removed:_0xe5e05d,inserted:_0xd0b43d,moved:_0x3ef4f2}=this['_footnoteRefsTracker']['getChanges'](_0x3ba73c);for(const _0x43ae0a of _0xe5e05d)this['_handleRemoveFootnoteReferenceById'](_0x1a0901,_0x43ae0a)&&(_0x2c5877=!0x0);for(const _0x16c1db of _0xd0b43d)this['_handleInsertedFootnoteReference'](_0x1a0901,_0x16c1db)&&(_0x2c5877=!0x0);for(const _0x323c2e of _0x3ef4f2)this['_handleMovedFootnoteReference'](_0x1a0901,_0x323c2e)&&(_0x2c5877=!0x0);return _0x2c5877;}['_handleFootnotesDefinitionsObjectSync'](_0x359a35){if(!this['_footnotesDefinitions'])return!0x1;let _0xb9bb00=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3d6f7d=[];for(const _0xdbc8d2 of this['_footnotesDefinitions']['getChildren']()){const _0x3ef5a0=_0xdbc8d2['getAttribute']('footnoteId');this['getFootnote'](_0x3ef5a0)||(_0x3d6f7d['unshift'](_0xdbc8d2),_0xb9bb00=!0x0);}for(const _0x474db9 of _0x3d6f7d)_0x359a35['remove'](_0x474db9);}const _0xb1771e=new Set(),_0x378d01=[];for(const _0x227ccd of this['_footnotesDefinitions']['getChildren']()){const _0x391d66=_0x227ccd['getAttribute']('footnoteId');_0xb1771e['has'](_0x391d66)?(_0x378d01['unshift'](_0x227ccd),_0xb9bb00=!0x0):_0xb1771e['add'](_0x391d66);}for(const _0x304f1e of _0x378d01)_0x359a35['remove'](_0x304f1e);return this['_footnotesDefinitions']['childCount']||(_0x359a35['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xb9bb00=!0x0),_0xb9bb00;}['_handleInsertedFootnoteReference'](_0x36eb5f,_0x2f583f){if(this['_footnotes']['find'](_0x43e09c=>_0x43e09c['reference']===_0x2f583f))return!0x1;let _0x4587a7=!0x1;const _0x5a989d=_0x2f583f['getAttribute']('footnoteId'),_0x5c579a=this['_footnotes']['findIndex'](_0x5e93d8=>_0x5e93d8['id']===_0x5a989d);-0x1!==_0x5c579a&&(_0x36eb5f['remove'](this['_footnotes'][_0x5c579a]['reference']),this['_footnotes']['splice'](_0x5c579a,0x1),_0x4587a7=!0x0);let _0x21f5a3=this['_footnotesDefinitions']?function(_0x234ae2,_0x4e5e12){for(const _0x7fb02a of _0x234ae2['getChildren']())if(_0x7fb02a['getAttribute']('footnoteId')===_0x4e5e12)return _0x7fb02a;return null;}(this['_footnotesDefinitions'],_0x5a989d):null;_0x21f5a3||(_0x21f5a3=_0x36eb5f['createElement']('footnoteDefinition',{'footnoteId':_0x5a989d}),this['_footnotesDefinitions']&&(_0x36eb5f['insert'](_0x21f5a3,this['_footnotesDefinitions'],'end'),_0x4587a7=!0x0));const _0x268b2a={'id':_0x5a989d,'reference':_0x2f583f,'definition':_0x21f5a3},_0x78d598=I(this['editor']['model'],this['_footnotes'],_0x2f583f);this['_footnotes']['splice'](_0x78d598,0x0,_0x268b2a);let _0x3495d2=_0x78d598;return-0x1!==_0x5c579a&&(_0x3495d2=Math['min'](_0x78d598,_0x5c579a)),this['_updateFootnotesCounters'](_0x36eb5f,_0x3495d2)&&(_0x4587a7=!0x0),_0x4587a7;}['_handleRemoveFootnoteReferenceById'](_0x3f13cd,_0x3c712c){const _0x31f10a=this['_footnotes']['findIndex'](_0x46a057=>_0x46a057['id']===_0x3c712c);if(-0x1===_0x31f10a)return!0x1;let _0x5a0ad8=!0x1;const _0x1016f6=this['_footnotes'][_0x31f10a];return'$graveyard'!==_0x1016f6['definition']['root']['rootName']&&(_0x3f13cd['remove'](_0x1016f6['definition']),_0x5a0ad8=!0x0),this['_footnotes']['splice'](_0x31f10a,0x1),this['_updateFootnotesCounters'](_0x3f13cd,_0x31f10a)&&(_0x5a0ad8=!0x0),_0x5a0ad8;}['_handleMovedFootnoteReference'](_0x272e71,_0x34bbc8){const _0x315aef=_0x34bbc8['getAttribute']('footnoteId'),_0x5892f1=this['_footnotes']['findIndex'](_0x2a9c3a=>_0x2a9c3a['id']===_0x315aef),_0x41b970=this['_footnotes'][_0x5892f1];let _0x19a739=!0x1;_0x41b970['reference']=_0x34bbc8,this['_footnotes']['splice'](_0x5892f1,0x1);const _0x3eaa05=I(this['editor']['model'],this['_footnotes'],_0x34bbc8);return this['_footnotes']['splice'](_0x3eaa05,0x0,_0x41b970),this['_updateFootnotesCounters'](_0x272e71,Math['min'](_0x5892f1,_0x3eaa05))&&(_0x19a739=!0x0),_0x19a739;}['_updateFootnoteRefCounter'](_0x4b19fe,_0x204ed2){if(!this['_footnotesDefinitions'])return!0x1;const _0x49f218=this['_footnotes'][_0x204ed2];let _0x41ad56;return _0x41ad56=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x49f218,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x204ed2+0x1}):String(_0x204ed2+0x1),_0x49f218['reference']['getAttribute']('footnoteCounter')!=_0x41ad56&&(_0x4b19fe['setAttribute']('footnoteCounter',_0x41ad56,_0x49f218['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3d145a){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x20c83e,_0x2e617f){if(_0x20c83e['length']!==_0x2e617f['length'])return!0x1;for(let _0x439d3c=0x0;_0x439d3c<_0x20c83e['length'];_0x439d3c++)if(_0x20c83e[_0x439d3c]!==_0x2e617f[_0x439d3c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x98cbb0=>_0x98cbb0['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x16082b=>_0x16082b['getAttribute']('footnoteId'))))return!0x1;let _0x11ebdc=!0x1;for(let _0x173229=0x0;_0x173229<this['_footnotes']['length'];_0x173229++){const _0x2b8f1f=this['_footnotes'][_0x173229],_0x17392e=_0x3d145a['createPositionBefore'](_0x2b8f1f['definition']),_0x4fa092=_0x3d145a['createPositionAt'](this['_footnotesDefinitions'],_0x173229);_0x17392e['isEqual'](_0x4fa092)||(_0x3d145a['move'](_0x3d145a['createRangeOn'](_0x2b8f1f['definition']),_0x4fa092),_0x11ebdc=!0x0);}return _0x11ebdc;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3ed359){if(!this['_footnotes']['length'])return!0x1;const {model:_0x21fd3d}=this['editor'];let _0x1de5ec=!0x1;for(let _0x17e39e=0x0;_0x17e39e<this['_footnotes']['length']-0x1;_0x17e39e++){const _0x2653e4=this['_footnotes'][_0x17e39e],_0x188b5e=this['_footnotes'][_0x17e39e+0x1],_0x4a28b5=_0x21fd3d['createPositionBefore'](_0x2653e4['reference']),_0x52f26c=_0x21fd3d['createPositionBefore'](_0x188b5e['reference']);'after'===_0x4a28b5['compareWith'](_0x52f26c)&&(this['_handleMovedFootnoteReference'](_0x3ed359,_0x2653e4['reference']),_0x17e39e=-0x1,_0x1de5ec=!0x0);}return _0x1de5ec;}}function _(_0x5c68d9,_0x1f3e57,_0x4dc0db){if(_0x4dc0db['childCount'])return!0x1;const _0x5f1b0f=_0x1f3e57?'paragraph':'footnoteInlineContent';return _0x5c68d9['insert'](_0x5c68d9['createElement'](_0x5f1b0f),_0x4dc0db),!0x0;}function I(_0x59a5e5,_0x45f86d,_0x4ed76c){if(0x0===_0x45f86d['length'])return 0x0;const _0x56476d=_0x59a5e5['createPositionBefore'](_0x4ed76c);for(let _0x199373=0x0;_0x199373<_0x45f86d['length'];_0x199373++){const _0x5e42d7=_0x45f86d[_0x199373],_0x1e71d2=_0x59a5e5['createPositionBefore'](_0x5e42d7['reference']);if('before'===_0x56476d['compareWith'](_0x1e71d2))return _0x199373;}const _0x569021=_0x4ed76c['root'];let _0x763ba0=-0x1;for(let _0x55afdb=_0x45f86d['length']-0x1;_0x55afdb>=0x0;_0x55afdb--)if(_0x45f86d[_0x55afdb]['reference']['root']===_0x569021){_0x763ba0=_0x55afdb;break;}if(-0x1!==_0x763ba0)return _0x763ba0+0x1;const _0x3b4a24=_0x59a5e5['document']['getRootNames'](),_0x581c23=_0x3b4a24['indexOf'](_0x569021['rootName']),_0x17f42c=_0x3b4a24[_0x581c23+0x1];if(_0x17f42c){for(let _0x37c1b2=0x0;_0x37c1b2<_0x45f86d['length'];_0x37c1b2++)if(_0x45f86d[_0x37c1b2]['reference']['root']['rootName']===_0x17f42c)return _0x37c1b2;}return _0x45f86d['length'];}class m extends _0x3e7c3d{['refresh'](){const _0x21c744=this['editor']['model']['document']['selection'],_0x188960=this['_getPositionToInsertFootnote'](_0x21c744);this['isEnabled']=!!_0x188960;}['execute'](_0x5b28f7){const {editor:_0x334379}=this,{model:_0x5214b8}=_0x334379,{selection:_0x545210}=_0x5214b8['document'],_0x103b4a=this['_getPositionToInsertFootnote'](_0x545210);if(!_0x103b4a)return;const _0x4d0106=_0x334379['plugins']['get']('FootnotesEditing'),_0x4f0237=_0x5b28f7?.['footnoteId']??_0xa56d19();!function(_0x195965){return'string'==typeof _0x195965&&_0x195965['length']>0x0&&!/\s/['test'](_0x195965)&&!/^\d/['test'](_0x195965);}(_0x4f0237)?_0x461615('insert-footnote-command-executed-with-invalid-id'):(_0x5214b8['change'](_0x57bf66=>{const _0x3dda09=_0x57bf66['createElement']('footnoteRef',{'footnoteId':_0x4f0237});_0x5214b8['insertObject'](_0x3dda09,_0x103b4a,null);}),_0x4d0106['_moveSelectionToFootnoteDefinition'](_0x4f0237));}['_getPositionToInsertFootnote'](_0x444fc3){const {model:_0x56b623}=this['editor'],{schema:_0xa2d540}=_0x56b623,_0x1eec33=_0x444fc3['getFirstRange']();for(const _0x47396a of _0x1eec33['getItems']())if(_0xa2d540['isBlock'](_0x47396a)||_0xa2d540['isObject'](_0x47396a))return null;const _0x155bdc=_0x1eec33['end'];return _0xa2d540['checkChild'](_0x155bdc,'footnoteRef')?_0x155bdc:null;}}class r extends _0x46ab82{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x228aa2}=this;_0x228aa2['config']['define']('footnotes.multiBlock',!0x0),_0x228aa2['commands']['add']('insertFootnote',new m(_0x228aa2)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1a5d01){const _0x110a88=_0x51b0c2([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]),_0x6a2ad9=0x47a28506,_0x4e0edc=0x47a5fca6^_0x6a2ad9,_0x61e827=window[_0x51b0c2([0x44,0x61,0x74,0x65])][_0x51b0c2([0x6e,0x6f,0x77])](),_0x5ca6d7=_0x1a5d01[_0x51b0c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d4809=new window[(_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1df9c3=>{_0x5ca6d7[_0x51b0c2([0x6f,0x6e,0x63,0x65])](_0x51b0c2([0x72,0x65,0x61,0x64,0x79]),_0x1df9c3);}),_0x5b3c47={[_0x51b0c2([0x6b,0x74,0x79])]:_0x51b0c2([0x45,0x43]),[_0x51b0c2([0x75,0x73,0x65])]:_0x51b0c2([0x73,0x69,0x67]),[_0x51b0c2([0x63,0x72,0x76])]:_0x51b0c2([0x50,0x2d,0x32,0x35,0x36]),[_0x51b0c2([0x78])]:_0x51b0c2([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]),[_0x51b0c2([0x79])]:_0x51b0c2([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]),[_0x51b0c2([0x61,0x6c,0x67])]:_0x51b0c2([0x45,0x53,0x32,0x35,0x36])},_0xc76887=_0x5ca6d7[_0x51b0c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51b0c2([0x67,0x65,0x74])](_0x51b0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x43dfb6(){let _0x1bfb6a,_0x124ef1=null,_0x166e6a=null;try{if(_0xc76887==_0x51b0c2([0x47,0x50,0x4c]))return _0x51b0c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bfb6a=_0x59c4aa(),!_0x1bfb6a)return _0x51b0c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bfb6a[_0x51b0c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x166e6a=_0x5dd000(_0x1bfb6a[_0x51b0c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bfb6a[_0x51b0c2([0x6a,0x74,0x69])])),await _0x4891da()?_0x532022()?_0x2ef02a()?_0x51b0c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50498f()?(_0x1bfb6a[_0x51b0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51b0c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x124ef1=_0x5625eb(_0x51b0c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1bfb6a[_0x51b0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51b0c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x124ef1=_0x5625eb(_0x51b0c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cf055()):_0x51b0c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51b0c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51b0c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51b0c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ef02a(){const _0x76090f=[_0x51b0c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51b0c2([0x74,0x72,0x69,0x61,0x6c])][_0x51b0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bfb6a[_0x51b0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x61e827/0x3e8:0xe10*_0x4e0edc;return _0x1bfb6a[_0x51b0c2([0x65,0x78,0x70])]<_0x76090f;}function _0x532022(){const _0x379340=_0x1bfb6a[_0x51b0c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x379340&&(!!_0x379340[_0x51b0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b0c2([0x2a]))||!!_0x379340[_0x51b0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b0c2([0x46,0x4f,0x4f])));}function _0x50498f(){const _0x4424b3=_0x1bfb6a[_0x51b0c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4424b3||0x0==_0x4424b3[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x353070}=new URL(window[_0x51b0c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4424b3[_0x51b0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x353070))return!0x0;const _0x5e9622=_0x353070[_0x51b0c2([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c2([0x2e]));return _0x4424b3[_0x51b0c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e8bfa=>_0x1e8bfa[_0x51b0c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b0c2([0x2a])))[_0x51b0c2([0x6d,0x61,0x70])](_0x3828dc=>_0x3828dc[_0x51b0c2([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c2([0x2e])))[_0x51b0c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36f93f=>_0x36f93f[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e9622[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51b0c2([0x6d,0x61,0x70])](_0x75bf00=>Array(_0x5e9622[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x75bf00[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51b0c2([0x66,0x69,0x6c,0x6c])](_0x75bf00[0x0]===_0x51b0c2([0x2a])?_0x51b0c2([0x2a]):'')[_0x51b0c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x75bf00))[_0x51b0c2([0x73,0x6f,0x6d,0x65])](_0x431434=>_0x5e9622[_0x51b0c2([0x65,0x76,0x65,0x72,0x79])]((_0x56c610,_0x21f435)=>_0x431434[_0x21f435]===_0x56c610||_0x431434[_0x21f435]===_0x51b0c2([0x2a])));}function _0x1cf055(){return _0x124ef1&&_0x166e6a?new window[(_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51d156,_0x59f176)=>{_0x124ef1[_0x51b0c2([0x74,0x68,0x65,0x6e])](_0x51d156,_0x59f176),_0x166e6a[_0x51b0c2([0x74,0x68,0x65,0x6e])](_0x4030e7=>{_0x4030e7!=_0x51b0c2([0x56,0x61,0x6c,0x69,0x64])&&_0x51d156(_0x4030e7);},_0x59f176);}):_0x124ef1||_0x166e6a||_0x51b0c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5dd000(_0x5a9a6b,_0x3d64ef){return new window[(_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b4141=>{if(_0x5ad17b())return _0x5b4141(_0x51b0c2([0x56,0x61,0x6c,0x69,0x64]));_0x3d20cd(),_0x5ca6d7[_0x51b0c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51b0c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x524a2d=!0x1;const _0x562e9e=_0xa56d19();function _0x107f28(_0x414b75){return!!_0x414b75&&(typeof _0x414b75===_0x51b0c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x414b75===_0x51b0c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x414b75[_0x51b0c2([0x74,0x68,0x65,0x6e])]===_0x51b0c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x414b75[_0x51b0c2([0x63,0x61,0x74,0x63,0x68])]===_0x51b0c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xa75dde(_0x30ebe0){_0x59ef8b(_0x30ebe0)[_0x51b0c2([0x74,0x68,0x65,0x6e])](_0x3906c4=>{if(!_0x3906c4||_0x3906c4[_0x51b0c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51b0c2([0x6f,0x6b]))return _0x51b0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d0de9(_0xcc2848(_0x562e9e+_0x3d64ef))!=_0x3906c4[_0x51b0c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51b0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51b0c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x51b0c2([0x74,0x68,0x65,0x6e])](_0x239da8=>(_0x1ac848(),_0x239da8),()=>{const _0x1f7cd1=_0x254adb();return null==_0x1f7cd1?(_0x1ac848(),_0x51b0c2([0x56,0x61,0x6c,0x69,0x64])):_0x51b0c2(_0x61e827-_0x1f7cd1>(0x63ae0106^_0x6a2ad9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51b0c2([0x74,0x68,0x65,0x6e])](_0x5b4141)[_0x51b0c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b4141(_0x51b0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d4598=0x47946b86^_0x6a2ad9;function _0x1ac848(){const _0x36f59e=_0x51b0c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d0de9(_0xcc2848(_0x5a9a6b)),_0x3e733e=_0x158890(_0x2d0de9(window[_0x51b0c2([0x4d,0x61,0x74,0x68])][_0x51b0c2([0x63,0x65,0x69,0x6c])](_0x61e827/_0x1d4598)));window[_0x51b0c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51b0c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36f59e,_0x3e733e);}function _0x254adb(){const _0x5aebf4=_0x51b0c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d0de9(_0xcc2848(_0x5a9a6b)),_0x1085f7=window[_0x51b0c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51b0c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5aebf4);return _0x1085f7?window[_0x51b0c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x158890(_0x1085f7),0x10)*_0x1d4598:null;}function _0x59ef8b(_0x6e23eb){return new window[(_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x114a18,_0x2856da)=>{_0x6e23eb[_0x51b0c2([0x74,0x68,0x65,0x6e])](_0x114a18,_0x2856da),window[_0x51b0c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2856da,0x47a351c6^_0x6a2ad9);});}}_0x5ca6d7[_0x51b0c2([0x6f,0x6e])](_0x51b0c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x315436,_0xe47947)=>{if(_0xe47947[0x0]!=_0x5a9a6b)return _0x5b4141(_0x51b0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe47947[0x1]={..._0xe47947[0x1],[_0x51b0c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x562e9e};},{[_0x51b0c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51b0c2([0x68,0x69,0x67,0x68])}),_0x5ca6d7[_0x51b0c2([0x6f,0x6e])](_0x51b0c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x42985c=>{_0x107f28(_0x42985c[_0x51b0c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x524a2d=!0x0,_0xa75dde(_0x42985c[_0x51b0c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51b0c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51b0c2([0x6c,0x6f,0x77])}),_0x1d4809[_0x51b0c2([0x74,0x68,0x65,0x6e])](()=>{_0x524a2d||_0x5b4141(_0x51b0c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ad17b(){return _0x5ca6d7[_0x51b0c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51b0c2([0x76,0x69,0x65,0x77])][_0x51b0c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51b0c2([0x61,0x75,0x74,0x6f]);}function _0x3d20cd(){_0x5ca6d7[_0x51b0c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51b0c2([0x76,0x69,0x65,0x77])][_0x51b0c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51b0c2([0x61,0x75,0x74,0x6f]);}}function _0x5625eb(_0x1a845e){const _0x545851=[new window[(_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x582dd6=>setTimeout(_0x582dd6,0x47abbbca^_0x6a2ad9)),_0x1d4809[_0x51b0c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2044c2=>{let _0x13d032=0x0;_0x5ca6d7[_0x51b0c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x51b0c2([0x6f,0x6e])](_0x51b0c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dd8d4,_0x259222)=>{_0x259222[0x0][_0x51b0c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x13d032++,_0x13d032==(0x47a284fe^_0x6a2ad9)&&(_0x2044c2(),_0x1dd8d4[_0x51b0c2([0x6f,0x66,0x66])]());});}))];return window[_0x51b0c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51b0c2([0x72,0x61,0x63,0x65])](_0x545851)[_0x51b0c2([0x74,0x68,0x65,0x6e])](()=>_0x1a845e);}async function _0x21e5b9(){await _0x1d4809,_0x5ca6d7[_0x51b0c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x51b0c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x466315,_0x5ca6d7[_0x51b0c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x51b0c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x466315,_0x5ca6d7[_0x51b0c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51b0c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c25e2(_0x88760e){const _0x109a5e=_0x44e158();_0x5ca6d7[_0x109a5e]=_0x51b0c2([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x88760e,_0x88760e!=_0x51b0c2([0x56,0x61,0x6c,0x69,0x64])&&_0x21e5b9();}function _0x44e158(){const _0xdbdce=window[_0x51b0c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51b0c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51b0c2([0x6e,0x6f,0x77])]())[_0x51b0c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51b0c2([0x2e]),'');let _0x2df018=_0x51b0c2([0x75]);for(let _0x14d450=0x0;_0x14d450<_0xdbdce[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14d450+=0x2){let _0x2eb9da=window[_0x51b0c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdbdce[_0x51b0c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14d450,_0x14d450+0x2));_0x2eb9da>=_0x110a88[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2eb9da-=_0x110a88[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2df018+=_0x110a88[_0x2eb9da];}return _0x2df018;}function _0x59c4aa(){const _0x4a5941=_0xc76887[_0x51b0c2([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c2([0x2e]));if(0x3!=_0x4a5941[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1869d9(_0x4a5941[0x1]);function _0x1869d9(_0x30c130){const _0x16012c=_0x8d0845(_0x30c130);return _0x16012c&&_0x50a9f4()?_0x16012c:null;function _0x50a9f4(){const _0x3bf5cb=_0x16012c[_0x51b0c2([0x6a,0x74,0x69])],_0x3dee92=window[_0x51b0c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bf5cb[_0x51b0c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bf5cb[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x145a01={..._0x16012c,[_0x51b0c2([0x6a,0x74,0x69])]:_0x3bf5cb[_0x51b0c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3bf5cb[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x145a01[_0x51b0c2([0x76,0x63])],_0xcc2848(_0x145a01)==_0x3dee92;}}}async function _0x4891da(){let _0x49d7b4=!0x0;try{const _0x58c355=_0xc76887[_0x51b0c2([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c2([0x2e])),[_0x18a77f,_0x3ec8e0,_0x391f72]=_0x58c355;return _0x5ad006(_0x18a77f),await _0x35eb56(_0x18a77f,_0x3ec8e0,_0x391f72),_0x49d7b4;}catch{return!0x1;}function _0x5ad006(_0x800d7f){const _0x41472c=_0x8d0845(_0x800d7f);_0x41472c&&_0x41472c[_0x51b0c2([0x61,0x6c,0x67])]==_0x51b0c2([0x45,0x53,0x32,0x35,0x36])||(_0x49d7b4=!0x1);}async function _0x35eb56(_0x40de48,_0x454219,_0x47b4b0){const _0x20db90=window[_0x51b0c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51b0c2([0x66,0x72,0x6f,0x6d])](_0x943775(_0x47b4b0),_0xb9aefc=>_0xb9aefc[_0x51b0c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x487eac=new window[(_0x51b0c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51b0c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40de48+_0x51b0c2([0x2e])+_0x454219),_0x425187=window[_0x51b0c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51b0c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x425187)return;const _0x922d6b=await _0x425187[_0x51b0c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51b0c2([0x6a,0x77,0x6b]),_0x5b3c47,{[_0x51b0c2([0x6e,0x61,0x6d,0x65])]:_0x51b0c2([0x45,0x43,0x44,0x53,0x41]),[_0x51b0c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51b0c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51b0c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x425187[_0x51b0c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51b0c2([0x6e,0x61,0x6d,0x65])]:_0x51b0c2([0x45,0x43,0x44,0x53,0x41]),[_0x51b0c2([0x68,0x61,0x73,0x68])]:{[_0x51b0c2([0x6e,0x61,0x6d,0x65])]:_0x51b0c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x922d6b,_0x20db90,_0x487eac)||(_0x49d7b4=!0x1);}}function _0x8d0845(_0x32d9d7){return _0x32d9d7[_0x51b0c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51b0c2([0x65,0x79]))?JSON[_0x51b0c2([0x70,0x61,0x72,0x73,0x65])](_0x943775(_0x32d9d7)):null;}function _0x943775(_0x28529d){return window[_0x51b0c2([0x61,0x74,0x6f,0x62])](_0x28529d[_0x51b0c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51b0c2([0x2b]))[_0x51b0c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51b0c2([0x2f])));}function _0xcc2848(_0x50a978){let _0xfbfb37=0x1505;function _0x250743(_0x56b359){for(let _0x238924=0x0;_0x238924<_0x56b359[_0x51b0c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x238924++){const _0x2ffb5f=_0x56b359[_0x51b0c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x238924);_0xfbfb37=(_0xfbfb37<<0x5)+_0xfbfb37+_0x2ffb5f,_0xfbfb37&=_0xfbfb37;}}function _0x43084e(_0x8d7728){Array[_0x51b0c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8d7728)?_0x8d7728[_0x51b0c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43084e):_0x8d7728&&typeof _0x8d7728==_0x51b0c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51b0c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8d7728)[_0x51b0c2([0x73,0x6f,0x72,0x74])]()[_0x51b0c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46846d,_0x277375])=>{_0x250743(_0x46846d),_0x43084e(_0x277375);}):_0x250743(window[_0x51b0c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8d7728));}return _0x43084e(_0x50a978),_0xfbfb37>>>0x0;}function _0x2d0de9(_0x57d7c5){return _0x57d7c5[_0x51b0c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51b0c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51b0c2([0x30]));}function _0x158890(_0x56dd72){return _0x56dd72[_0x51b0c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51b0c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51b0c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x466315(){}function _0x51b0c2(_0x2a7ed6){return _0x2a7ed6['map'](_0x1e2b3e=>String['fromCharCode'](_0x1e2b3e))['join']('');}_0x3c25e2(await _0x43dfb6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x43e3ef){const {plugins:_0x1fd6ed,editing:_0x906775,model:_0x1fa3c4}=this['editor'],_0x29aff5=_0x1fd6ed['get'](c)['getFootnote'](_0x43e3ef);return!!_0x29aff5&&(_0x1fa3c4['change'](_0x454647=>{_0x454647['setSelection'](_0x454647['createPositionAt'](_0x29aff5['definition'],'end'));}),_0x906775['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x43053a){const {plugins:_0x3a1222,editing:_0x3edcc1,model:_0x22e1c1}=this['editor'],_0x35b637=_0x3a1222['get'](c)['getFootnote'](_0x43053a);return!!_0x35b637&&(_0x22e1c1['change'](_0x5b3d2f=>{_0x5b3d2f['setSelection'](_0x35b637['reference'],'on');}),_0x3edcc1['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x29a5e0}=this['editor']['model'],_0x1a11c4=this['editor']['config']['get']('footnotes.multiBlock');_0x29a5e0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x29a5e0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x29a5e0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1a11c4?_0x29a5e0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x29a5e0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x29a5e0['addChildCheck'](_0x1e25e9=>{for(const _0x2bf5ac of _0x1e25e9)if('footnoteDefinition'===_0x2bf5ac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x54db35}=this,{conversion:_0x1859df,editing:_0x3cff58}=_0x54db35,{t:t}=_0x54db35['locale'];_0x1859df['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x30f31c,{writer:_0x7edc44,consumable:_0x54e33c})=>{const _0x1cb9bb=_0x30f31c['getChild'](0x0);if(!_0x1cb9bb||!_0x1cb9bb['is']('element','a'))return null;const _0x29b775=_0x1cb9bb['getAttribute']('href')||'';if(!_0x29b775['startsWith']('#'))return null;const _0xdd65f9=_0x29b775['replace'](/^#/,'');if(!_0xdd65f9)return null;_0x54e33c['consume'](_0x1cb9bb,{'name':!0x0,'attributes':['href']});for(const {item:_0x50bf4f}of _0x3cff58['view']['createRangeIn'](_0x1cb9bb))_0x50bf4f['is']('$textProxy')?_0x54e33c['consume'](_0x50bf4f['textNode'],{'name':!0x0}):_0x50bf4f['is']('element')&&_0x54e33c['consume'](_0x50bf4f,{'name':!0x0});return _0x7edc44['createElement']('footnoteRef',{'footnoteId':_0xdd65f9});}}),_0x1859df['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f90d2,{writer:_0x5c015f})=>D(_0x4f90d2,_0x5c015f)}),_0x1859df['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x435af6,{writer:_0x4fb13a})=>{const _0x3af979=_0x435af6['getAttribute']('footnoteCounter');return _0xc97ff8(D(_0x435af6,_0x4fb13a),_0x4fb13a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3af979)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3a6bc2}=this,{t:t}=_0x3a6bc2['locale'],{conversion:_0x83068c}=_0x3a6bc2;_0x83068c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x83068c['for']('upcast')['add'](_0xeb189b=>{_0xeb189b['on']('element:ol',(_0x59373e,_0x28d442,_0x56bd95)=>{const _0x4cc50e=_0x28d442['viewItem'];if(!_0x4cc50e['hasClass']('footnotes-list')||!_0x28d442['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x56bd95['consumable']['consume'](_0x4cc50e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x154749,modelCursor:_0x54be52}=_0x56bd95['convertChildren'](_0x28d442['viewItem'],_0x28d442['modelCursor']);_0x28d442['modelRange']=_0x154749,_0x28d442['modelCursor']=_0x54be52;}),_0xeb189b['on']('element:hr',(_0x14e4e9,_0x3d2247,_0x39ed62)=>{const _0x56524f=_0x3d2247['viewItem'];_0x56524f['hasClass']('footnotes-divider')&&_0x3d2247['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x39ed62['consumable']['consume'](_0x56524f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x83068c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x52c91d,{writer:_0x345a52})=>v(_0x345a52)}),_0x83068c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a973c,{writer:_0x17482d})=>{const _0x4f50b0=v(_0x17482d,{'data-footnotes-list-label':t('Footnotes')}),_0x9a93d8=_0xc97ff8(_0x4f50b0,_0x17482d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x17482d['setCustomProperty']('footnotesDefinitions',!0x0,_0x9a93d8),_0x9a93d8;}});}['_defineDefinitionConverters'](){const {editor:_0x3d113f}=this,{conversion:_0x31bbbe,locale:_0x3b02d2}=_0x3d113f,_0x1a4288=_0x3d113f['config']['get']('footnotes.multiBlock');_0x31bbbe['for']('upcast')['add'](_0x40f928=>{_0x40f928['on']('element:li',(_0x1e6cd5,_0x37855d,_0x3bb6f1)=>{const _0xda8789=_0x37855d['viewItem'];if(!_0xda8789['hasClass']('footnote-definition')||!_0xda8789['getAttribute']('id'))return;const _0x207719=_0xda8789['parent'];if(!_0x207719['is']('element','ol')||!_0x207719['hasClass']('footnotes-list'))return;if(!_0x3bb6f1['consumable']['test'](_0xda8789,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2f9214=_0x3bb6f1['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xda8789['getAttribute']('id')});if(!_0x3bb6f1['safeInsert'](_0x2f9214,_0x37855d['modelCursor']))return;_0x3bb6f1['consumable']['consume'](_0xda8789,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3c0c72=Array['from'](_0xda8789['getChildren']())['find'](_0x29bc10=>_0x29bc10['is']('element')&&_0x29bc10['hasClass']('footnote-content'));for(const _0x532677 of _0xda8789['getChildren']())_0x532677['is']('element')&&(_0x3bb6f1['consumable']['consume'](_0x532677,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3bb6f1['consumable']['consume'](_0x532677,{'name':!0x0,'classes':'footnote-content'}));if(_0x3c0c72){if(_0x1a4288)_0x3bb6f1['convertChildren'](_0x3c0c72,_0x2f9214);else{const _0x53b327=_0x3bb6f1['writer']['createElement']('footnoteInlineContent');_0x3bb6f1['writer']['insert'](_0x53b327,_0x2f9214),_0x3bb6f1['convertChildren'](_0x3c0c72,_0x53b327);}}_0x3bb6f1['updateConversionResult'](_0x2f9214,_0x37855d);});}),_0x31bbbe['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18ba81,{writer:_0x5a8eb3})=>b(_0x18ba81,_0x5a8eb3,_0x3b02d2,{'dataPipeline':!0x0})}),_0x31bbbe['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x11a46c,{writer:_0x5b46ac})=>b(_0x11a46c,_0x5b46ac,_0x3b02d2)});}['_defineBogusParagraphConverters'](){const {editor:_0x54ddf1}=this,{conversion:_0x467b9b}=_0x54ddf1;_0x54ddf1['config']['get']('footnotes.multiBlock')?(_0x467b9b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x467b9b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x54ddf1['model']['document'],'change:data',()=>{!function(_0xeb6c85,_0x15c071){const _0x5ed5e5=_0xeb6c85['document']['differ'],_0xc3f142=new Set();for(const _0xbb43 of _0x5ed5e5['getChanges']()){const _0xfb23c9='attribute'==_0xbb43['type']?_0xbb43['range']['start']['parent']:_0xbb43['position']['parent'];_0xfb23c9['is']('element','footnoteDefinition')&&_0xc3f142['add'](_0xfb23c9);}for(const _0x58e849 of _0xc3f142['values']()){const _0x565901=Array['from'](_0x58e849['getChildren']())['filter'](_0x22e52e=>g(_0x22e52e,_0x15c071['mapper']));for(const _0x56f2b7 of _0x565901)_0x15c071['reconvertItem'](_0x56f2b7);}}(_0x54ddf1['model'],_0x54ddf1['editing']);})):(_0x467b9b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x467b9b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5d2959,{writer:_0x2f50f6})=>{const _0x4cf3a6=_0x2f50f6['createContainerElement']('span');return _0x2f50f6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4cf3a6),_0x4cf3a6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x14852f}=this,{editing:_0x1efef3,t:t}=_0x14852f,_0x293379=_0x14852f['model']['document']['selection'];_0x14852f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x14852f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1efef3['view']['document'],'enter',(_0x1c1221,_0x2673f0)=>{const _0x122e2d=function(_0x289c26){const _0x36a0d1=_0x289c26['getSelectedElement']();if(_0x36a0d1?.['is']('element','footnoteRef'))return _0x36a0d1;return null;}(_0x293379);if(_0x122e2d){const _0x4a1b68=_0x122e2d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4a1b68),_0x2673f0['preventDefault'](),_0x1c1221['stop']();}},{'context':_0x27155d});}['_defineClickHandlers'](){const {editor:_0x29e10f}=this,{editing:_0x5c71a0}=_0x29e10f;_0x29e10f['editing']['view']['addObserver'](_0x3ce956),_0x29e10f['editing']['view']['addObserver'](_0x271da9);let _0x511832=!0x1;this['listenTo'](_0x5c71a0['view']['document'],'pointerdown',(_0x4a4055,_0x228e9a)=>{const {target:_0xf970e8}=_0x228e9a,_0xe3ab35=_0x5c71a0['view']['document']['selection'];_0x511832=!!(_0xf970e8?.['is']('element','a')&&_0xf970e8['parent']?.['is']('element','sup')&&_0xf970e8['parent']['hasClass']('footnote'))&&_0xe3ab35['getSelectedElement']()===_0xf970e8['parent'];},{'priority':'high'}),this['listenTo'](_0x5c71a0['view']['document'],'click',(_0x401ddd,_0x5a6dc4)=>{const {target:_0x5b3245}=_0x5a6dc4;if(!_0x5b3245?.['is']('element','a'))return;if(_0x5b3245['parent']?.['is']('element','sup')&&_0x5b3245['parent']['hasClass']('footnote')&&!_0x511832)return void _0x5a6dc4['preventDefault']();let _0x19fd1e=_0x5b3245['getAttribute']('href');if(!_0x19fd1e?.['startsWith']('#'))return;_0x19fd1e=_0x19fd1e['slice'](0x1);let _0x322ae4=!0x1;(_0x19fd1e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x19fd1e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x19fd1e))&&(_0x322ae4=!0x0),_0x322ae4&&(_0x5a6dc4['preventDefault'](),_0x401ddd['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x54e117}={}){return(_0x1b647f,{writer:_0x49a312})=>{if(!p(_0x1b647f))return null;if(!_0x54e117)return _0x49a312['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x27e2ee=_0x49a312['createContainerElement']('p');return _0x49a312['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27e2ee),_0x27e2ee;};}function p(_0x50f536){const {parent:_0x2c3cc3}=_0x50f536;if(!_0x2c3cc3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2c3cc3['childCount'])return!0x1;for(const _0x55e976 of _0x50f536['getAttributeKeys']())if(!_0x55e976['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x55e976)return!0x1;return!0x0;}function g(_0x2e3d7a,_0x2509de){if(!_0x2e3d7a['is']('element','paragraph'))return!0x1;const _0x30a6f3=_0x2509de['toViewElement'](_0x2e3d7a);return!!_0x30a6f3&&p(_0x2e3d7a)!==_0x30a6f3['is']('element','span');}function J(_0x2f9a95){return _0x27155d(_0x2f9a95)&&_0x2f9a95['is']('containerElement')&&!!_0x2f9a95['getCustomProperty']('footnotesDefinitions');}function v(_0x373728,_0x2aa9ed={}){const _0x1d8834=_0x373728['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x135a18=_0x373728['createContainerElement']('ol',{'class':'footnotes-list'},_0x373728['createSlot']());return _0x373728['createContainerElement']('div',{'class':'footnotes',..._0x2aa9ed},[_0x1d8834,_0x135a18]);}function D(_0x54a858,_0x4a21be){const _0x4ba94a=_0x54a858['getAttribute']('footnoteId'),_0x17fabb=_0x54a858['getAttribute']('footnoteCounter'),_0x3cf135=_0x4a21be['createUIElement']('a',{'href':'#'+_0x4ba94a},function(_0x3426c5){const _0x194582=this['toDomElement'](_0x3426c5);return _0x194582['textContent']=_0x17fabb,_0x194582;}),_0x25f7ef=_0x4a21be['createContainerElement']('sup',{'id':'ref-'+_0x4ba94a,'class':'footnote'},[_0x3cf135]);return _0x25f7ef['getFillerOffset']=()=>null,_0x25f7ef;}function b(_0x47553a,_0x3b8356,_0x82959c,{dataPipeline:_0x1dd756}={}){const {t:t}=_0x82959c,_0x5e7776=_0x47553a['getAttribute']('footnoteId'),_0x1c7b70=_0x3b8356['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5e7776},function(_0x580385){const _0x37d9c4=this['toDomElement'](_0x580385);return _0x37d9c4['innerText']='^',_0x37d9c4;}),_0x5a968a=_0x1dd756?_0x3b8356['createContainerElement']('div',{'class':'footnote-content'}):_0x198637(_0x3b8356['createEditableElement']('div',{'class':'footnote-content'}),_0x3b8356,{'label':t('Footnote\x20content.')});return _0x3b8356['insert'](_0x3b8356['createPositionAt'](_0x5a968a,0x0),_0x3b8356['createSlot']()),_0x3b8356['createContainerElement']('li',{'class':'footnote-definition','id':_0x5e7776},[_0x1c7b70,_0x5a968a]);}class e extends _0x46ab82{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x23c89c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x55957c}=this,{plugins:_0x5d1c73,model:_0x4797d0}=_0x55957c,_0x59141a=_0x5d1c73['get'](_0x23c89c),_0x240794=_0x5d1c73['get'](c);this['listenTo'](_0x59141a,'outputTransformation',(_0x525af2,_0x459868)=>{const _0x5c261d=f(_0x4797d0['createRangeIn'](_0x459868['content']));if(!_0x5c261d['length'])return;const _0x52e089=_0x240794['getFootnotes'](),_0x1b7f2d=_0x5c261d['reduce']((_0x131611,_0x4db370)=>{const _0x51d60c=_0x52e089['find'](_0x5bd4f1=>_0x5bd4f1['id']===_0x4db370);if(_0x51d60c){const _0x43be19=_0x55957c['data']['toView'](_0x51d60c['definition'],{'isClipboardPipeline':!0x0}),_0x236ecf=_0x55957c['data']['htmlProcessor']['toData'](_0x43be19);_0x131611[_0x51d60c['id']]=_0x236ecf;}return _0x131611;},Object['create'](null));_0x459868['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1b7f2d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x41bdf3}=this,{model:_0x240604,plugins:_0x42f18b}=_0x41bdf3,{view:_0x378292}=_0x41bdf3['editing'],_0x572f73=_0x42f18b['get'](_0x23c89c),_0x4790c7=_0x42f18b['get'](c);let _0x1c8370=null;this['listenTo'](_0x378292['document'],'clipboardInput',(_0x29533f,_0x399142)=>{const _0x135253=_0x399142['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1c8370=_0x135253?JSON['parse'](_0x135253):null;}),this['listenTo'](_0x572f73,'contentInsertion',(_0x59a931,_0x3bb970)=>{const _0x37061=_0x3bb970['sourceEditorId']===this['editor']['id'];_0x37061&&'drop'===_0x3bb970['method']||_0x240604['change'](_0x20f1e8=>{let _0x5e0b79=_0x4790c7['getFootnotesDefinitionsObjectElement']();const _0x41af74=!!_0x5e0b79&&Array['from'](_0x240604['document']['selection']['getSelectedBlocks']())['includes'](_0x5e0b79);if((_0x5e0b79&&!_0x41af74||!_0x5e0b79&&!_0x1c8370)&&function(_0x25f981,_0x5ee9b5){const _0x3913ac=[];for(const {item:_0x5c2582}of _0x25f981['createRangeIn'](_0x5ee9b5))_0x5c2582['is']('element','footnotesDefinitions')&&_0x3913ac['push'](_0x5c2582);for(const _0x335fd0 of _0x3913ac)_0x25f981['remove'](_0x335fd0);}(_0x20f1e8,_0x3bb970['content']),!_0x1c8370)return;const {selection:_0x4ea229}=_0x240604['document'],_0x1c8357=_0x4ea229['getFirstRange']()['root'];_0x5e0b79&&!_0x41af74||(_0x5e0b79=function(_0x15041c,_0xd6511a){for(const {item:_0x378b69}of _0x15041c['createRangeIn'](_0xd6511a))if(_0x378b69['is']('element','footnotesDefinitions'))return _0x378b69;return null;}(_0x20f1e8,_0x3bb970['content']),_0x5e0b79||=_0x4790c7['_insertEmptyFootnotesDefinitionsContainer'](_0x20f1e8,_0x1c8357));const _0x40dc79=Array['from'](_0x4ea229['getRanges']())['flatMap'](f),_0x2ddf17=function(_0x4bf2cc,_0x2b3112,_0x435b18){const _0x1524c9=Object['create'](null);for(const {item:_0x1860b5}of _0x4bf2cc['createRangeIn'](_0x2b3112))if(_0x1860b5['is']('element','footnoteRef')){const _0x5b38bd=_0x1860b5['getAttribute']('footnoteId');if(!_0x435b18(_0x5b38bd))continue;_0x1524c9[_0x5b38bd]||(_0x1524c9[_0x5b38bd]=_0xa56d19()),_0x4bf2cc['setAttribute']('footnoteId',_0x1524c9[_0x5b38bd],_0x1860b5);}return _0x1524c9;}(_0x20f1e8,_0x3bb970['content'],_0x3c78d7=>{if(!_0x37061)return!0x0;return!!_0x4790c7['getFootnote'](_0x3c78d7)&&!_0x40dc79['includes'](_0x3c78d7);});for(const [_0x3978ca,_0x437fc6]of Object['entries'](_0x1c8370)){const _0xcdaebb=_0x2ddf17[_0x3978ca]||_0x3978ca,_0x3781ba=_0x20f1e8['createElement']('footnoteDefinition',{'footnoteId':_0xcdaebb}),_0x3df80e=_0x41bdf3['data']['htmlProcessor']['toView'](_0x437fc6),_0x522ca4=_0x41bdf3['data']['toModel'](_0x3df80e,_0x3781ba);_0x20f1e8['append'](_0x522ca4,_0x3781ba),_0x20f1e8['insert'](_0x3781ba,_0x5e0b79,'end');}_0x1c8370=null;});});}}function f(_0x4f1f97){const _0x1ab9e3=new Set();for(const {item:_0x14dc93}of _0x4f1f97)_0x14dc93['is']('element','footnoteRef')&&_0x1ab9e3['add'](_0x14dc93['getAttribute']('footnoteId'));return Array['from'](_0x1ab9e3);}class i extends _0x46ab82{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x185ee1}=this,{componentFactory:_0x17995f}=_0x185ee1['ui'];_0x17995f['add']('insertFootnote',x(_0x185ee1,_0xcd01e8)),_0x17995f['add']('menuBar:insertFootnote',x(_0x185ee1,_0x56958d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x95eb05=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x502bf8;for(const _0x141ff7 in _0x95eb05){const _0x53575f=_0x141ff7,_0x81ec83=_0x95eb05[_0x53575f];if('footnotesLicenseKeyValid'==_0x81ec83||'footnotesLicenseKeyInvalid'==_0x81ec83||'footnotesLicenseKeyExpired'==_0x81ec83||'footnotesLicenseKeyDomainLimit'==_0x81ec83||'footnotesLicenseKeyNotAllowed'==_0x81ec83||'footnotesLicenseKeyEvaluationLimit'==_0x81ec83||'footnotesLicenseKeyTrialLimit'==_0x81ec83||'footnotesLicenseKeyUsageLimit'==_0x81ec83){delete _0x95eb05[_0x53575f],_0x502bf8=_0x81ec83,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x502bf8&&_0x95eb05['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x502bf8&&_0x95eb05['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x502bf8&&_0x95eb05['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x502bf8&&_0x95eb05['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x502bf8&&_0x95eb05['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x502bf8&&_0x95eb05['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x502bf8&&_0x95eb05['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1d991c,_0x1ed439){const _0x1c3e0a=_0x1d991c['commands']['get']('insertFootnote');return _0x260b51=>{const {t:t}=_0x260b51,_0x2c0431=new _0x1ed439(_0x260b51),_0x495db1=_0x2c0431 instanceof _0x56958d;return _0x2c0431['bind']('isEnabled')['to'](_0x1c3e0a,'isEnabled'),_0x2c0431['set']({'label':t(_0x495db1?'Footnote':'Insert\x20footnote'),'icon':_0x1ecac4,'tooltip':!0x0}),_0x2c0431['on']('execute',()=>{_0x1c3e0a['execute'](),_0x1d991c['editing']['view']['focus']();}),_0x2c0431;};}class lt extends _0x46ab82{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x3e7c3d{['refresh'](){const {editor:_0x5169c0}=this,_0x25d21b=_0x5169c0['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x25d21b,this['value']=_0x25d21b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2489ff}){const {editor:_0x5cab9c}=this,_0x2660c6=_0x5cab9c['plugins']['get'](c),_0x40de2e=_0x2660c6['getFootnotesDefinitionsObjectElement']();_0x40de2e&&Q['includes'](_0x2489ff)&&_0x5cab9c['model']['change'](_0x446284=>{_0x446284['setAttribute']('footnotesListStyle',_0x2489ff,_0x40de2e),_0x2660c6['_updateFootnotesCounters'](_0x446284);});}}class C extends _0x3e7c3d{['refresh'](){const {editor:_0x266011}=this,_0x3ee85e=_0x266011['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3ee85e,this['value']=_0x3ee85e?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xfe92e5}){const {editor:_0x4b994b}=this,_0x120715=_0x4b994b['plugins']['get'](c),_0x6dd6d8=_0x120715['getFootnotesDefinitionsObjectElement']();_0x6dd6d8&&Number['isInteger'](_0xfe92e5)&&_0x4b994b['model']['change'](_0x4add31=>{_0x4add31['setAttribute']('footnotesListStart',_0xfe92e5,_0x6dd6d8),_0x120715['_updateFootnotesCounters'](_0x4add31);});}}class P extends _0x46ab82{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41ce39}=this;_0x41ce39['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x41ce39['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x41ce39['commands']['add']('footnotesStyle',new S(_0x41ce39)),_0x41ce39['commands']['add']('footnotesStart',new C(_0x41ce39)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x587acd}=this,{schema:_0x238955}=_0x587acd['model'];_0x238955['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x11c3cb}=this,{conversion:_0x1cbbbf,model:_0x2d6665}=_0x11c3cb,{schema:_0x89a74a}=_0x2d6665;_0x1cbbbf['for']('upcast')['add'](_0x3d09bb=>{_0x3d09bb['on']('element:ol',(_0x3a1a4c,_0x4fcbe0,_0x287f43)=>{const _0x17b644=_0x4fcbe0['viewItem'],_0x19d91f=_0x4fcbe0['modelCursor']?.['parent'];_0x17b644['hasClass']('footnotes-list')&&_0x19d91f?.['is']('element','footnotesDefinitions')&&(function(_0x11cbfc,_0x1e577e,_0x81e604,_0x554a19){if(!_0x554a19['checkAttribute'](_0x1e577e,'footnotesListStart'))return;let _0x6d832a=0x1;const _0x383b82=_0x81e604['consumable']['consume'](_0x11cbfc,{'attributes':'start'});if(_0x383b82){const _0x5bb960=Number['parseInt'](_0x11cbfc['getAttribute']('start'),0xa);Number['isNaN'](_0x5bb960)||(_0x6d832a=_0x5bb960);}!_0x383b82&&_0x1e577e['hasAttribute']('footnotesListStart')||_0x81e604['writer']['setAttribute']('footnotesListStart',_0x6d832a,_0x1e577e);}(_0x17b644,_0x19d91f,_0x287f43,_0x89a74a),function(_0x471e57,_0x1f0e67,_0x11f26f,_0x29b6b4){if(!_0x29b6b4['checkAttribute'](_0x1f0e67,'footnotesListStyle'))return;let _0x4d6a42='decimal',_0x4eed17=!0x1;if(_0x11f26f['consumable']['consume'](_0x471e57,{'attributes':'type'})){const _0x2256a0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x471e57['getAttribute']('type')];_0x2256a0&&(_0x4d6a42=_0x2256a0),_0x4eed17=!0x0;}_0x11f26f['consumable']['consume'](_0x471e57,{'styles':'list-style-type'})&&(_0x4d6a42=_0x471e57['getStyle']('list-style-type'),_0x4eed17=!0x0),!_0x4eed17&&_0x1f0e67['hasAttribute']('footnotesListStyle')||_0x11f26f['writer']['setAttribute']('footnotesListStyle',_0x4d6a42,_0x1f0e67);}(_0x17b644,_0x19d91f,_0x287f43,_0x89a74a));});}),_0x1cbbbf['for']('downcast')['add'](_0x2be12a=>{_0x2be12a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1f6e49,_0x2e48f2,_0x51a02c)=>{if(!_0x51a02c['consumable']['consume'](_0x2e48f2['item'],_0x1f6e49['name']))return;const _0xc7f24b=M(_0x2e48f2['item'],_0x51a02c['mapper']),{attributeNewValue:_0x1cfd07}=_0x2e48f2;null==_0x1cfd07||0x1===_0x1cfd07?_0x51a02c['writer']['removeAttribute']('start',_0xc7f24b):_0x51a02c['writer']['setAttribute']('start',String(_0x1cfd07),_0xc7f24b);}),_0x2be12a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5a1ce8,_0x467f59,_0x567202)=>{if(!_0x567202['consumable']['consume'](_0x467f59['item'],_0x5a1ce8['name']))return;const _0x5187ed=M(_0x467f59['item'],_0x567202['mapper']),{attributeNewValue:_0x543ad5}=_0x467f59;_0x543ad5&&'decimal'!==_0x543ad5?_0x567202['writer']['setStyle']('list-style-type',_0x543ad5,_0x5187ed):_0x567202['writer']['removeStyle']('list-style-type',_0x5187ed);});});}['_definePostfixer'](){const {editor:_0x5b0f8e}=this,{model:_0x465ed5}=_0x5b0f8e,_0x2ec19e=_0x5b0f8e['plugins']['get'](c),_0x3d5a81=this['_getDefaultListStyle'](),_0x2b9bc0=this['_getDefaultStartIndex']();_0x465ed5['document']['registerPostFixer'](_0x2ef704=>{const _0x166fd8=_0x465ed5['document']['differ']['getChanges']();let _0x364cef=!0x1;for(const _0x523c5c of _0x166fd8){if('insert'!==_0x523c5c['type']||'$text'===_0x523c5c['name'])continue;const _0xe95576=_0x465ed5['createRangeOn'](_0x523c5c['position']['nodeAfter']);for(const _0x186bff of _0xe95576['getItems']())_0x186bff['is']('element','footnotesDefinitions')&&(!_0x186bff['hasAttribute']('footnotesListStart')&&_0x465ed5['schema']['checkAttribute'](_0x186bff,'footnotesListStart')&&(_0x2ef704['setAttribute']('footnotesListStart',_0x2b9bc0,_0x186bff),_0x364cef=!0x0),!_0x186bff['hasAttribute']('footnotesListStyle')&&_0x465ed5['schema']['checkAttribute'](_0x186bff,'footnotesListStyle')&&(_0x2ef704['setAttribute']('footnotesListStyle',_0x3d5a81,_0x186bff),_0x364cef=!0x0));}return _0x364cef&&_0x2ec19e['_updateFootnotesCounters'](_0x2ef704),_0x364cef;});}['_defineFormatter'](){const {editor:_0x34c541}=this;_0x34c541['plugins']['get'](c)['setFootnoteFormatter'](_0x8c2776=>this['_formatFootnoteListValue'](_0x8c2776));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x38c6e7,value:_0x278bb7,digits:_0x565cd8}){const _0x5a9c3a=_0x38c6e7['getAttribute']('footnotesListStyle'),_0x78e79b=_0x38c6e7['getAttribute']('footnotesListStart'),_0xea0741=Math['floor'](_0x278bb7)+(_0x78e79b??0x1)-0x1;switch(_0x5a9c3a){case'decimal-leading-zero':return function(_0x1e2805,_0xf0bf2b){return String(_0x1e2805)['padStart'](_0xf0bf2b,'0');}(_0xea0741,Math['max'](0x2,_0x565cd8));case'lower-alpha':case'lower-latin':return N(_0xea0741,!0x1);case'upper-alpha':case'upper-latin':return N(_0xea0741,!0x0);case'lower-roman':return X(_0xea0741,!0x1);case'upper-roman':return X(_0xea0741,!0x0);default:return String(_0xea0741);}}}function M(_0x9bac06,_0x408d63){const _0x355d43=_0x408d63['toViewElement'](_0x9bac06);return Array['from'](_0x355d43['getChildren']())['find'](_0xc3f0e9=>_0xc3f0e9['is']('element','ol')&&_0xc3f0e9['hasClass']('footnotes-list'));}function N(_0x326400,_0x46a28d){let _0x163689='',_0x4dd358=_0x326400;for(;_0x4dd358>0x0;){const _0x28ae32=(_0x4dd358-0x1)%0x1a;_0x163689=String['fromCharCode'](0x61+_0x28ae32)+_0x163689,_0x4dd358=Math['floor']((_0x4dd358-0x1)/0x1a);}return _0x46a28d?_0x163689['toUpperCase']():_0x163689;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x138910,_0x479e5e){let _0x47db80='',_0x61e949=_0x138910;for(const {value:_0x48855c,numeral:_0x54f2e6}of V)for(;_0x61e949>=_0x48855c;)_0x47db80+=_0x54f2e6,_0x61e949-=_0x48855c;return _0x479e5e?_0x47db80:_0x47db80['toLowerCase']();}class H extends _0x188ada{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x75cee3();['focusCycler'];constructor(_0x47367c,{styleButtonViews:_0x13f2a6,styleGridAriaLabel:_0x3527fd}){super(_0x47367c),(this['focusCycler']=new _0xc06e54({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x13f2a6,_0x3527fd),[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 _0x542064 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x542064['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x16a0d6=_0x33cab6=>_0x33cab6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x16a0d6),this['keystrokes']['set']('arrowleft',_0x16a0d6),this['keystrokes']['set']('arrowup',_0x16a0d6),this['keystrokes']['set']('arrowdown',_0x16a0d6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x36fc32,_0x5b44dc){const _0x4dfc74=new _0x188ada(this['locale']);return _0x4dfc74['children']=_0x4dfc74['createCollection'](),_0x4dfc74['children']['addMany'](_0x36fc32),_0x4dfc74['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5b44dc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4dfc74['children']}),_0x4dfc74['children']['delegate']('execute')['to'](this),_0x4dfc74['focus']=function(){for(const _0x52dbaf of this['children'])if(_0x52dbaf instanceof _0xcd01e8&&_0x52dbaf['isOn'])return void _0x52dbaf['focus']();this['children']['first']['focus']();},_0x4dfc74['focusTracker']=new ot(),_0x4dfc74['keystrokes']=new rt(),_0x4dfc74['render'](),_0x4dfc74['keystrokes']['listenTo'](_0x4dfc74['element']),this['children']['add'](_0x4dfc74),_0x4dfc74;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x26bc17=this['_createStartIndexPropertyView'](),_0x4b01e2=[_0x26bc17],_0x9b4395=new st(this['locale'],_0x4b01e2);return _0x9b4395['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x9b4395['buttonView']['bind']('isEnabled')['toMany'](_0x4b01e2,'isEnabled',(..._0x147021)=>_0x147021['some'](_0xa449a=>_0xa449a)),_0x9b4395['buttonView']['on']('change:isEnabled',(_0x44d4f3,_0x2c65a,_0x12e8d7)=>{_0x12e8d7||(_0x9b4395['isCollapsed']=!0x0);}),this['children']['add'](_0x9b4395),[_0x26bc17,_0x9b4395];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x12cd98=new it(this['locale'],et);return _0x12cd98['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x12cd98['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x12cd98['fieldView']['on']('input',()=>{const _0x3947e4=_0x12cd98['fieldView']['element'],_0x2400f6=_0x3947e4['valueAsNumber'];Number['isNaN'](_0x2400f6)?_0x12cd98['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3947e4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2400f6}):_0x12cd98['errorText']=t(_0x2400f6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x12cd98;}}class j extends _0x46ab82{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x55903b,_0x583e2a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c6a55}=this,{componentFactory:_0x42fa24}=_0x4c6a55['ui'];_0x4c6a55['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x42fa24['add']('footnotesStyle',function(_0x24e697){return _0x2ed31c=>{const {t:t}=_0x2ed31c,_0x32213a=_0x24e697['commands']['get']('footnotesStyle'),_0x54a1bc=_0x1b6e6d(_0x2ed31c),{buttonView:_0x56d220}=_0x54a1bc;return _0x54a1bc['class']='ck-footnotes-styles-dropdown',_0x54a1bc['bind']('isEnabled')['to'](_0x32213a,'isEnabled'),_0x56d220['set']({'label':t('Footnotes\x20style'),'icon':_0x1ecac4,'tooltip':!0x0}),_0x54a1bc['once']('change:isOpen',()=>{const _0x54d13d=function({editor:_0x684bef,dropdownView:_0x32e18f}){const {t:t}=_0x684bef['locale'],_0x553193=t('Footnotes\x20definitions\x20styles'),_0x33d7d4=function(_0x392d95){const t=_0x392d95['locale']['t'],_0x53d779=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x36e718},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2f3cb4},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x21ca9b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x8ff359},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x363e85},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2b6fe3}];return _0x53d779['map'](function(_0x364e9c){const _0x33ae06=_0x364e9c['locale'];return({label:_0x5ce184,icon:_0x339010,tooltip:_0xaff45b,style:_0x230b57})=>{const _0x47cc74=_0x364e9c['commands']['get']('footnotesStyle'),_0x55a1a9=new _0xcd01e8(_0x33ae06);return _0x55a1a9['set']({'label':_0x5ce184,'icon':_0x339010,'tooltip':_0xaff45b}),_0x55a1a9['bind']('isOn')['to'](_0x47cc74,'value',_0x3bf7fc=>_0x3bf7fc===_0x230b57),_0x55a1a9['bind']('isEnabled')['to'](_0x47cc74,'isEnabled'),_0x55a1a9['on']('execute',()=>{_0x364e9c['execute']('footnotesStyle',{'value':_0x230b57}),_0x364e9c['editing']['view']['focus']();}),_0x55a1a9;};}(_0x392d95));}(_0x684bef),_0x2ffe26=new H(_0x684bef['locale'],{'styleGridAriaLabel':_0x553193,'styleButtonViews':_0x33d7d4});return _0x2ffe26['delegate']('execute')['to'](_0x32e18f),_0x2ffe26['on']('footnotesListStart',(_0x127eb5,_0x4b58ce)=>{_0x684bef['execute']('footnotesStart',{'value':_0x4b58ce['startIndex']});}),_0x2ffe26;}({'editor':_0x24e697,'dropdownView':_0x54a1bc});_0x54a1bc['panelView']['children']['add'](_0x54d13d);}),_0x54a1bc;};}(_0x4c6a55));}['afterInit'](){const {editor:_0x5a2441}=this,{t:t}=_0x5a2441['locale'],_0x6aed8f=_0x5a2441['plugins']['get'](_0x583e2a),{defaultPositions:_0x45c105}=_0x5b3817;_0x6aed8f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5a2441['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4fd426=>{let _0x3c64bc=_0x4fd426['getFirstPosition']()?.['parent'];return _0x3c64bc?.['is']('$text')&&(_0x3c64bc=_0x3c64bc['parent']),_0x3c64bc?.['is']('element')?_0x3c64bc['findAncestor'](J):null;},'positions':[_0x45c105['southArrowNorth'],_0x45c105['southArrowNorthMiddleWest'],_0x45c105['southArrowNorthMiddleEast'],_0x45c105['southArrowNorthWest'],_0x45c105['southArrowNorthEast'],_0x45c105['northArrowSouth'],_0x45c105['northArrowSouthMiddleWest'],_0x45c105['northArrowSouthMiddleEast'],_0x45c105['northArrowSouthWest'],_0x45c105['northArrowSouthEast'],_0x45c105['viewportStickyNorth']]});}}class ft extends _0x46ab82{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x392734=>0x1!=_0x392734}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x21f2f2=>0x1!=_0x21f2f2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x48165=>{const {af:{dictionary:_0x286bf7,getPluralForm:_0x9a063b}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x5d8f92=>0x1!=_0x5d8f92}};_0x48165['af']||={'dictionary':{},'getPluralForm':null},_0x48165['af']['dictionary']=Object['assign'](_0x48165['af']['dictionary'],_0x286bf7),_0x48165['af']['getPluralForm']=_0x9a063b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3c461a=>{const {af:{dictionary:_0x1de68c,getPluralForm:_0x589d41}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x28d4ec=>0x1!=_0x28d4ec}};_0x3c461a['af']||={'dictionary':{},'getPluralForm':null},_0x3c461a['af']['dictionary']=Object['assign'](_0x3c461a['af']['dictionary'],_0x1de68c),_0x3c461a['af']['getPluralForm']=_0x589d41;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x239c0c=>0x0==_0x239c0c?0x0:0x1==_0x239c0c?0x1:0x2==_0x239c0c?0x2:_0x239c0c%0x64>=0x3&&_0x239c0c%0x64<=0xa?0x3:_0x239c0c%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x4c1d98=>0x0==_0x4c1d98?0x0:0x1==_0x4c1d98?0x1:0x2==_0x4c1d98?0x2:_0x4c1d98%0x64>=0x3&&_0x4c1d98%0x64<=0xa?0x3:_0x4c1d98%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2a81b8=>{const {ar:{dictionary:_0x33512d,getPluralForm:_0x3c429c}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x3dfd27=>0x0==_0x3dfd27?0x0:0x1==_0x3dfd27?0x1:0x2==_0x3dfd27?0x2:_0x3dfd27%0x64>=0x3&&_0x3dfd27%0x64<=0xa?0x3:_0x3dfd27%0x64>=0xb?0x4:0x5}};_0x2a81b8['ar']||={'dictionary':{},'getPluralForm':null},_0x2a81b8['ar']['dictionary']=Object['assign'](_0x2a81b8['ar']['dictionary'],_0x33512d),_0x2a81b8['ar']['getPluralForm']=_0x3c429c;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f7893=>{const {ar:{dictionary:_0xa0f6d6,getPluralForm:_0x41dea1}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x6214a8=>0x0==_0x6214a8?0x0:0x1==_0x6214a8?0x1:0x2==_0x6214a8?0x2:_0x6214a8%0x64>=0x3&&_0x6214a8%0x64<=0xa?0x3:_0x6214a8%0x64>=0xb?0x4:0x5}};_0x4f7893['ar']||={'dictionary':{},'getPluralForm':null},_0x4f7893['ar']['dictionary']=Object['assign'](_0x4f7893['ar']['dictionary'],_0xa0f6d6),_0x4f7893['ar']['getPluralForm']=_0x41dea1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x26390c=>0x1!=_0x26390c}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1693ea=>0x1!=_0x1693ea}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4fac24=>{const {ast:{dictionary:_0xb480ae,getPluralForm:_0x2a7467}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x32ddf5=>0x1!=_0x32ddf5}};_0x4fac24['ast']||={'dictionary':{},'getPluralForm':null},_0x4fac24['ast']['dictionary']=Object['assign'](_0x4fac24['ast']['dictionary'],_0xb480ae),_0x4fac24['ast']['getPluralForm']=_0x2a7467;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x159b29=>{const {ast:{dictionary:_0x1760b9,getPluralForm:_0x31646a}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x39a04d=>0x1!=_0x39a04d}};_0x159b29['ast']||={'dictionary':{},'getPluralForm':null},_0x159b29['ast']['dictionary']=Object['assign'](_0x159b29['ast']['dictionary'],_0x1760b9),_0x159b29['ast']['getPluralForm']=_0x31646a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x51fb44=>0x1!=_0x51fb44}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3be431=>0x1!=_0x3be431}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xa5d4c0=>{const {az:{dictionary:_0x11fdce,getPluralForm:_0x52a876}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1e5977=>0x1!=_0x1e5977}};_0xa5d4c0['az']||={'dictionary':{},'getPluralForm':null},_0xa5d4c0['az']['dictionary']=Object['assign'](_0xa5d4c0['az']['dictionary'],_0x11fdce),_0xa5d4c0['az']['getPluralForm']=_0x52a876;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x34242d=>{const {az:{dictionary:_0x49ef9f,getPluralForm:_0x579b0f}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x10f423=>0x1!=_0x10f423}};_0x34242d['az']||={'dictionary':{},'getPluralForm':null},_0x34242d['az']['dictionary']=Object['assign'](_0x34242d['az']['dictionary'],_0x49ef9f),_0x34242d['az']['getPluralForm']=_0x579b0f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2f5115=>_0x2f5115%0xa==0x1&&_0x2f5115%0x64!=0xb?0x0:_0x2f5115%0xa>=0x2&&_0x2f5115%0xa<=0x4&&(_0x2f5115%0x64<0xa||_0x2f5115%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2341b5=>_0x2341b5%0xa==0x1&&_0x2341b5%0x64!=0xb?0x0:_0x2341b5%0xa>=0x2&&_0x2341b5%0xa<=0x4&&(_0x2341b5%0x64<0xa||_0x2341b5%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x24125a=>{const {be:{dictionary:_0x9f5530,getPluralForm:_0x978e9}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2d94fa=>_0x2d94fa%0xa==0x1&&_0x2d94fa%0x64!=0xb?0x0:_0x2d94fa%0xa>=0x2&&_0x2d94fa%0xa<=0x4&&(_0x2d94fa%0x64<0xa||_0x2d94fa%0x64>=0x14)?0x1:0x2}};_0x24125a['be']||={'dictionary':{},'getPluralForm':null},_0x24125a['be']['dictionary']=Object['assign'](_0x24125a['be']['dictionary'],_0x9f5530),_0x24125a['be']['getPluralForm']=_0x978e9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x95a7a3=>{const {be:{dictionary:_0x35fcde,getPluralForm:_0x164e11}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x38a8a1=>_0x38a8a1%0xa==0x1&&_0x38a8a1%0x64!=0xb?0x0:_0x38a8a1%0xa>=0x2&&_0x38a8a1%0xa<=0x4&&(_0x38a8a1%0x64<0xa||_0x38a8a1%0x64>=0x14)?0x1:0x2}};_0x95a7a3['be']||={'dictionary':{},'getPluralForm':null},_0x95a7a3['be']['dictionary']=Object['assign'](_0x95a7a3['be']['dictionary'],_0x35fcde),_0x95a7a3['be']['getPluralForm']=_0x164e11;})(window['CKEDITOR_TRANSLATIONS']||={});