@ckeditor/ckeditor5-footnotes 47.2.0-alpha.2 → 47.2.0-alpha.4

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 _0x253043,Command as _0x2ea081}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x202c5c,isWidget as _0x59727f,toWidgetEditable as _0x5c90fc,WidgetToolbarRepository as _0xb3d395}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x7e4165,logWarning as _0x3f2846,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4de2f6,ClickObserver as _0x12420a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x129620}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x55a27d,ButtonView as _0x2a9c75,View as _0xfec0ae,ViewCollection as _0x1a55cf,FocusCycler as _0x244702,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x591c52,BalloonPanelView as _0x19325c,createDropdown as _0x1518b4}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4aafcc,IconListStyleDecimal as _0x155cc6,IconListStyleDecimalLeadingZero as _0x28eb95,IconListStyleLowerRoman as _0x4810ed,IconListStyleUpperRoman as _0x168e19,IconListStyleLowerLatin as _0x1dfafc,IconListStyleUpperLatin as _0xcab758}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x288e0f,_0x5802c5){this['_model']=_0x288e0f,this['_elementName']=_0x5802c5['elementName'],this['_getElementKey']=_0x5802c5['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5077cb){const _0x16eead=new Set(),_0x485f3b=new Map();for(const _0x4937ae of _0x5077cb){if('insert'===_0x4937ae['type']&&'$text'!==_0x4937ae['name']&&_0x4937ae['position']['nodeAfter']){const _0x2e6213=this['_model']['createRangeOn'](_0x4937ae['position']['nodeAfter']);for(const _0x3b3b6b of _0x2e6213['getItems']()){if(!_0x3b3b6b['is']('element',this['_elementName']))continue;const _0x5a95ce=this['_getElementKey'](_0x3b3b6b);_0x485f3b['has'](_0x5a95ce)||_0x485f3b['set'](_0x5a95ce,[]),_0x485f3b['get'](_0x5a95ce)['push'](_0x3b3b6b);}}if('remove'===_0x4937ae['type']&&_0x4937ae['name']===this['_elementName']){const _0x30e658=this['_getElementKey']({'getAttribute':_0xc60835=>_0x4937ae['attributes']['get'](_0xc60835)});_0x16eead['add'](_0x30e658);}}for(const [_0x3999d9,_0x53cb98]of this['_trackedElements'])'$graveyard'===_0x53cb98['root']['rootName']&&_0x16eead['add'](_0x3999d9);for(const _0x287092 of _0x16eead)this['_trackedElements']['delete'](_0x287092);for(const [_0x2b1d37,_0x1e0574]of _0x485f3b)this['_trackedElements']['set'](_0x2b1d37,_0x1e0574[_0x1e0574['length']-0x1]);const _0x339e7c=new Set();for(const [_0x4fe425,_0x19bf6c]of _0x485f3b)_0x16eead['has'](_0x4fe425)&&(_0x339e7c['add'](_0x19bf6c[0x0]),_0x19bf6c['length']>0x1?_0x485f3b['set'](_0x4fe425,_0x19bf6c['slice'](0x1)):_0x485f3b['delete'](_0x4fe425),_0x16eead['delete'](_0x4fe425));return{'removed':Array['from'](_0x16eead),'inserted':Array['from'](_0x485f3b['values']())['flat'](),'moved':Array['from'](_0x339e7c)};}}class c extends _0x253043{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a749b){super(_0x5a749b),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x448d0f=>_0x448d0f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4dbc88=>_0x4dbc88['getAttribute']('footnoteId')});}['init'](){const {editor:_0x532e79}=this,{model:_0x468be7,data:_0x1dcee0}=_0x532e79;_0x468be7['document']['registerPostFixer'](_0x46ea73=>{const _0x20fbd2=_0x468be7['document']['differ']['getChanges']();let _0x5846de=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x46ea73,_0x20fbd2)&&(_0x5846de=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x46ea73,_0x20fbd2)&&(_0x5846de=!0x0),this['_handleFootnoteReferencesChanges'](_0x46ea73,_0x20fbd2)&&(_0x5846de=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x46ea73)&&(_0x5846de=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x46ea73)&&(_0x5846de=!0x0),this['_sortFootnoteDefinitions'](_0x46ea73)&&(_0x5846de=!0x0),_0x5846de;}),this['listenTo'](_0x468be7['document'],'change:data',()=>{_0x468be7['enqueueChange']({'isUndoable':!0x1},_0xac7144=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xac7144);});},{'priority':'low'}),this['listenTo'](_0x1dcee0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x1ee3c3){return this['_footnotes']['find'](_0x2e742b=>_0x2e742b['id']===_0x1ee3c3)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2bbe02){this['_footnoteFormatter']=_0x2bbe02;}['_updateFootnotesCounters'](_0x38d094,_0x402dbd=0x0){let _0x9946fa=!0x1;for(let _0x178ed3=_0x402dbd;_0x178ed3<this['_footnotes']['length'];_0x178ed3++)this['_updateFootnoteRefCounter'](_0x38d094,_0x178ed3)&&(_0x9946fa=!0x0);return _0x9946fa;}['_insertEmptyFootnotesDefinitionsContainer'](_0x2db86e,_0x254b3b){const _0x4bb83f=_0x2db86e['createElement']('footnotesDefinitions',{});return _0x2db86e['append'](_0x4bb83f,_0x254b3b),this['_footnotesDefinitions']=_0x4bb83f,_0x4bb83f;}['_ensureFootnotesDefinitionsContainerExists'](_0x2adb51){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x49ef26=this['_footnotes'][0x0]['reference']['root'],_0x1f17aa=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2adb51,_0x49ef26);for(const _0x304b69 of this['_footnotes'])_0x304b69['definition']['parent']||_0x2adb51['insert'](_0x304b69['definition'],_0x1f17aa,'end');this['_updateFootnotesCounters'](_0x2adb51);}['_handleFootnotesDefinitionsObjectChanges'](_0x5dba3b,_0x1cbdff){let _0x315533=!0x1;const {inserted:_0x3d889e,removed:_0x3f6747,moved:_0x322099}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1cbdff);if(_0x322099['length']&&(this['_footnotesDefinitions']=_0x322099[0x0]),_0x3d889e['length']){if(_0x3d889e['length']>0x1||this['_footnotesDefinitions']&&_0x3d889e['some'](_0x370075=>_0x370075!==this['_footnotesDefinitions'])){const _0x14ea6b=_0x5dba3b['createElement']('footnotesDefinitions',{}),_0x10cf2a=[];this['_footnotesDefinitions']&&_0x10cf2a['push'](this['_footnotesDefinitions']),_0x10cf2a['push'](..._0x3d889e),_0x5dba3b['insert'](_0x14ea6b,_0x10cf2a[0x0],'before');for(const _0x16a99f of _0x10cf2a)_0x5dba3b['move'](_0x5dba3b['createRangeIn'](_0x16a99f),_0x5dba3b['createPositionAt'](_0x14ea6b,'end')),_0x5dba3b['remove'](_0x16a99f);this['_footnotesDefinitions']=_0x14ea6b,this['_updateFootnotesCounters'](_0x5dba3b),_0x315533=!0x0;}else this['_footnotesDefinitions']=_0x3d889e[0x0];}if(_0x3f6747['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x50e8fd of this['_footnotes'])_0x5dba3b['remove'](_0x50e8fd['reference']),_0x315533=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x315533;}['_handleFootnoteDefinitionsChanges'](_0x343da5,_0x13b67b){let _0x4d3aa4=!0x1;const _0xf22c81=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x358b86,moved:_0x4de3ed}=this['_footnoteDefsTracker']['getChanges'](_0x13b67b);for(const _0x1da1f5 of[..._0x4de3ed,..._0x358b86]){const _0x4ce30b=_0x1da1f5['getAttribute']('footnoteId'),_0x3998fd=this['getFootnote'](_0x4ce30b);_0x3998fd&&(_0x3998fd['definition']=_0x1da1f5),_(_0x343da5,_0xf22c81,_0x1da1f5)&&(_0x4d3aa4=!0x0);}return _0x4d3aa4;}['_handleFootnoteReferencesChanges'](_0x249bc0,_0xa8d816){let _0x5ef161=!0x1;const {removed:_0x292d93,inserted:_0x5ab89a,moved:_0x54d399}=this['_footnoteRefsTracker']['getChanges'](_0xa8d816);for(const _0x264def of _0x292d93)this['_handleRemoveFootnoteReferenceById'](_0x249bc0,_0x264def)&&(_0x5ef161=!0x0);for(const _0x1f059c of _0x5ab89a)this['_handleInsertedFootnoteReference'](_0x249bc0,_0x1f059c)&&(_0x5ef161=!0x0);for(const _0x3d96fc of _0x54d399)this['_handleMovedFootnoteReference'](_0x249bc0,_0x3d96fc)&&(_0x5ef161=!0x0);return _0x5ef161;}['_handleFootnotesDefinitionsObjectSync'](_0x1eb9c6){if(!this['_footnotesDefinitions'])return!0x1;let _0x24740e=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x552737=[];for(const _0x13bc86 of this['_footnotesDefinitions']['getChildren']()){const _0x580fe0=_0x13bc86['getAttribute']('footnoteId');this['getFootnote'](_0x580fe0)||(_0x552737['unshift'](_0x13bc86),_0x24740e=!0x0);}for(const _0x5c2ee0 of _0x552737)_0x1eb9c6['remove'](_0x5c2ee0);}const _0x1a9f64=new Set(),_0x5039d2=[];for(const _0x4d6127 of this['_footnotesDefinitions']['getChildren']()){const _0x452f77=_0x4d6127['getAttribute']('footnoteId');_0x1a9f64['has'](_0x452f77)?(_0x5039d2['unshift'](_0x4d6127),_0x24740e=!0x0):_0x1a9f64['add'](_0x452f77);}for(const _0x2bcd29 of _0x5039d2)_0x1eb9c6['remove'](_0x2bcd29);return this['_footnotesDefinitions']['childCount']||(_0x1eb9c6['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x24740e=!0x0),_0x24740e;}['_handleInsertedFootnoteReference'](_0x13b510,_0x4be967){if(this['_footnotes']['find'](_0x5037f8=>_0x5037f8['reference']===_0x4be967))return!0x1;let _0x4e15ab=!0x1;const _0x5bbdbf=_0x4be967['getAttribute']('footnoteId'),_0x4762b7=this['_footnotes']['findIndex'](_0x24da80=>_0x24da80['id']===_0x5bbdbf);-0x1!==_0x4762b7&&(_0x13b510['remove'](this['_footnotes'][_0x4762b7]['reference']),this['_footnotes']['splice'](_0x4762b7,0x1),_0x4e15ab=!0x0);let _0x576081=this['_footnotesDefinitions']?function(_0x4088be,_0x444317){for(const _0x38d07f of _0x4088be['getChildren']())if(_0x38d07f['getAttribute']('footnoteId')===_0x444317)return _0x38d07f;return null;}(this['_footnotesDefinitions'],_0x5bbdbf):null;_0x576081||(_0x576081=_0x13b510['createElement']('footnoteDefinition',{'footnoteId':_0x5bbdbf}),this['_footnotesDefinitions']&&(_0x13b510['insert'](_0x576081,this['_footnotesDefinitions'],'end'),_0x4e15ab=!0x0));const _0x1985a6={'id':_0x5bbdbf,'reference':_0x4be967,'definition':_0x576081},_0x37b06c=I(this['editor']['model'],this['_footnotes'],_0x4be967);this['_footnotes']['splice'](_0x37b06c,0x0,_0x1985a6);let _0xcd68fe=_0x37b06c;return-0x1!==_0x4762b7&&(_0xcd68fe=Math['min'](_0x37b06c,_0x4762b7)),this['_updateFootnotesCounters'](_0x13b510,_0xcd68fe)&&(_0x4e15ab=!0x0),_0x4e15ab;}['_handleRemoveFootnoteReferenceById'](_0x5aa0c1,_0xf897cd){const _0x187b5e=this['_footnotes']['findIndex'](_0x4868ef=>_0x4868ef['id']===_0xf897cd);if(-0x1===_0x187b5e)return!0x1;let _0x230c62=!0x1;const _0x4cefae=this['_footnotes'][_0x187b5e];return'$graveyard'!==_0x4cefae['definition']['root']['rootName']&&(_0x5aa0c1['remove'](_0x4cefae['definition']),_0x230c62=!0x0),this['_footnotes']['splice'](_0x187b5e,0x1),this['_updateFootnotesCounters'](_0x5aa0c1,_0x187b5e)&&(_0x230c62=!0x0),_0x230c62;}['_handleMovedFootnoteReference'](_0x2c1362,_0x49b7ee){const _0x430d29=_0x49b7ee['getAttribute']('footnoteId'),_0x47c2b7=this['_footnotes']['findIndex'](_0x2ffbcb=>_0x2ffbcb['id']===_0x430d29),_0x38482c=this['_footnotes'][_0x47c2b7];let _0x5e8b5b=!0x1;_0x38482c['reference']=_0x49b7ee,this['_footnotes']['splice'](_0x47c2b7,0x1);const _0x216dbf=I(this['editor']['model'],this['_footnotes'],_0x49b7ee);return this['_footnotes']['splice'](_0x216dbf,0x0,_0x38482c),this['_updateFootnotesCounters'](_0x2c1362,Math['min'](_0x47c2b7,_0x216dbf))&&(_0x5e8b5b=!0x0),_0x5e8b5b;}['_updateFootnoteRefCounter'](_0x54e18d,_0x450fd9){if(!this['_footnotesDefinitions'])return!0x1;const _0x5ccc32=this['_footnotes'][_0x450fd9];let _0x175e02;return _0x175e02=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5ccc32,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x450fd9+0x1}):String(_0x450fd9+0x1),_0x5ccc32['reference']['getAttribute']('footnoteCounter')!=_0x175e02&&(_0x54e18d['setAttribute']('footnoteCounter',_0x175e02,_0x5ccc32['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5cca29){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x31403a,_0x1bd670){if(_0x31403a['length']!==_0x1bd670['length'])return!0x1;for(let _0x508209=0x0;_0x508209<_0x31403a['length'];_0x508209++)if(_0x31403a[_0x508209]!==_0x1bd670[_0x508209])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xcac592=>_0xcac592['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x941960=>_0x941960['getAttribute']('footnoteId'))))return!0x1;let _0x2289b9=!0x1;for(let _0x447cb9=0x0;_0x447cb9<this['_footnotes']['length'];_0x447cb9++){const _0x32ddd3=this['_footnotes'][_0x447cb9],_0x1023ea=_0x5cca29['createPositionBefore'](_0x32ddd3['definition']),_0x3ea26c=_0x5cca29['createPositionAt'](this['_footnotesDefinitions'],_0x447cb9);_0x1023ea['isEqual'](_0x3ea26c)||(_0x5cca29['move'](_0x5cca29['createRangeOn'](_0x32ddd3['definition']),_0x3ea26c),_0x2289b9=!0x0);}return _0x2289b9;}['_ensureFootnotesReferencesHaveProperOrder'](_0x6d396c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2881b4}=this['editor'];let _0x4c84ee=!0x1;for(let _0x3b641c=0x0;_0x3b641c<this['_footnotes']['length']-0x1;_0x3b641c++){const _0x1af596=this['_footnotes'][_0x3b641c],_0x11a11d=this['_footnotes'][_0x3b641c+0x1],_0x26710b=_0x2881b4['createPositionBefore'](_0x1af596['reference']),_0x37be32=_0x2881b4['createPositionBefore'](_0x11a11d['reference']);'after'===_0x26710b['compareWith'](_0x37be32)&&(this['_handleMovedFootnoteReference'](_0x6d396c,_0x1af596['reference']),_0x3b641c=-0x1,_0x4c84ee=!0x0);}return _0x4c84ee;}}function _(_0x46d423,_0x53eca7,_0x3b9047){if(_0x3b9047['childCount'])return!0x1;const _0x2ce95d=_0x53eca7?'paragraph':'footnoteInlineContent';return _0x46d423['insert'](_0x46d423['createElement'](_0x2ce95d),_0x3b9047),!0x0;}function I(_0x105985,_0x50de51,_0x5bc6f2){if(0x0===_0x50de51['length'])return 0x0;const _0x218c6a=_0x105985['createPositionBefore'](_0x5bc6f2);for(let _0x3c70c7=0x0;_0x3c70c7<_0x50de51['length'];_0x3c70c7++){const _0x5858fb=_0x50de51[_0x3c70c7],_0x74b4fa=_0x105985['createPositionBefore'](_0x5858fb['reference']);if('before'===_0x218c6a['compareWith'](_0x74b4fa))return _0x3c70c7;}const _0x8197bd=_0x5bc6f2['root'];let _0x2a3fb8=-0x1;for(let _0x40d91a=_0x50de51['length']-0x1;_0x40d91a>=0x0;_0x40d91a--)if(_0x50de51[_0x40d91a]['reference']['root']===_0x8197bd){_0x2a3fb8=_0x40d91a;break;}if(-0x1!==_0x2a3fb8)return _0x2a3fb8+0x1;const _0x354de5=_0x105985['document']['getRootNames'](),_0x5d0df4=_0x354de5['indexOf'](_0x8197bd['rootName']),_0x29e65e=_0x354de5[_0x5d0df4+0x1];if(_0x29e65e){for(let _0x46193f=0x0;_0x46193f<_0x50de51['length'];_0x46193f++)if(_0x50de51[_0x46193f]['reference']['root']['rootName']===_0x29e65e)return _0x46193f;}return _0x50de51['length'];}class m extends _0x2ea081{['refresh'](){const _0xf54710=this['editor']['model']['document']['selection'],_0x58529b=this['_getPositionToInsertFootnote'](_0xf54710);this['isEnabled']=!!_0x58529b;}['execute'](_0x49a446){const {editor:_0x107dd4}=this,{model:_0x198054}=_0x107dd4,{selection:_0x1d06d5}=_0x198054['document'],_0x38b72c=this['_getPositionToInsertFootnote'](_0x1d06d5);if(!_0x38b72c)return;const _0x14d1f1=_0x107dd4['plugins']['get']('FootnotesEditing'),_0x205d9b=_0x49a446?.['footnoteId']??_0x7e4165();!function(_0x52de37){return'string'==typeof _0x52de37&&_0x52de37['length']>0x0&&!/\s/['test'](_0x52de37)&&!/^\d/['test'](_0x52de37);}(_0x205d9b)?_0x3f2846('insert-footnote-command-executed-with-invalid-id'):(_0x198054['change'](_0x5485d0=>{const _0x4f451d=_0x5485d0['createElement']('footnoteRef',{'footnoteId':_0x205d9b});_0x198054['insertObject'](_0x4f451d,_0x38b72c,null);}),_0x14d1f1['_moveSelectionToFootnoteDefinition'](_0x205d9b));}['_getPositionToInsertFootnote'](_0x1d6514){const {model:_0x32f15d}=this['editor'],{schema:_0x551309}=_0x32f15d,_0x1a1167=_0x1d6514['getFirstRange']();for(const _0x4b2707 of _0x1a1167['getItems']())if(_0x551309['isBlock'](_0x4b2707)||_0x551309['isObject'](_0x4b2707))return null;const _0x35677b=_0x1a1167['end'];return _0x551309['checkChild'](_0x35677b,'footnoteRef')?_0x35677b:null;}}class r extends _0x253043{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4a7e70}=this;_0x4a7e70['config']['define']('footnotes.multiBlock',!0x0),_0x4a7e70['commands']['add']('insertFootnote',new m(_0x4a7e70)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5e1721){const _0x390f8c=_0x273a36([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]),_0x2d6435=0x47a28506,_0x5c3f14=0x47a5f2c6^_0x2d6435,_0x1a99e5=window[_0x273a36([0x44,0x61,0x74,0x65])][_0x273a36([0x6e,0x6f,0x77])](),_0x11a5c9=_0x5e1721[_0x273a36([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa3d157=new window[(_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33cefa=>{_0x11a5c9[_0x273a36([0x6f,0x6e,0x63,0x65])](_0x273a36([0x72,0x65,0x61,0x64,0x79]),_0x33cefa);}),_0x3a164e={[_0x273a36([0x6b,0x74,0x79])]:_0x273a36([0x45,0x43]),[_0x273a36([0x75,0x73,0x65])]:_0x273a36([0x73,0x69,0x67]),[_0x273a36([0x63,0x72,0x76])]:_0x273a36([0x50,0x2d,0x32,0x35,0x36]),[_0x273a36([0x78])]:_0x273a36([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]),[_0x273a36([0x79])]:_0x273a36([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]),[_0x273a36([0x61,0x6c,0x67])]:_0x273a36([0x45,0x53,0x32,0x35,0x36])},_0x43eca3=_0x11a5c9[_0x273a36([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x273a36([0x67,0x65,0x74])](_0x273a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b51b0(){let _0x2239bb,_0x1c3a04=null,_0x2339f7=null;try{if(_0x43eca3==_0x273a36([0x47,0x50,0x4c]))return _0x273a36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2239bb=_0x158581(),!_0x2239bb)return _0x273a36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2239bb[_0x273a36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2339f7=_0x3df5cb(_0x2239bb[_0x273a36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2239bb[_0x273a36([0x6a,0x74,0x69])])),await _0x1f9f8c()?_0x2bee85()?_0x23f5da()?_0x273a36([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c4819()?(_0x2239bb[_0x273a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x273a36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1c3a04=_0x407c49(_0x273a36([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2239bb[_0x273a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x273a36([0x74,0x72,0x69,0x61,0x6c])&&(_0x1c3a04=_0x407c49(_0x273a36([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7fb446()):_0x273a36([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x273a36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x273a36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x273a36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23f5da(){const _0x41299a=[_0x273a36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x273a36([0x74,0x72,0x69,0x61,0x6c])][_0x273a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2239bb[_0x273a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a99e5/0x3e8:0xe10*_0x5c3f14;return _0x2239bb[_0x273a36([0x65,0x78,0x70])]<_0x41299a;}function _0x2bee85(){const _0x28f503=_0x2239bb[_0x273a36([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f503&&(!!_0x28f503[_0x273a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273a36([0x2a]))||!!_0x28f503[_0x273a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273a36([0x46,0x4f,0x4f])));}function _0x4c4819(){const _0x378d46=_0x2239bb[_0x273a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x378d46||0x0==_0x378d46[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5ad861}=new URL(window[_0x273a36([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x378d46[_0x273a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad861))return!0x0;const _0x5a2055=_0x5ad861[_0x273a36([0x73,0x70,0x6c,0x69,0x74])](_0x273a36([0x2e]));return _0x378d46[_0x273a36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f0a80=>_0x1f0a80[_0x273a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x273a36([0x2a])))[_0x273a36([0x6d,0x61,0x70])](_0x8fc6b=>_0x8fc6b[_0x273a36([0x73,0x70,0x6c,0x69,0x74])](_0x273a36([0x2e])))[_0x273a36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11a271=>_0x11a271[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a2055[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x273a36([0x6d,0x61,0x70])](_0x496b69=>Array(_0x5a2055[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x496b69[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x273a36([0x66,0x69,0x6c,0x6c])](_0x496b69[0x0]===_0x273a36([0x2a])?_0x273a36([0x2a]):'')[_0x273a36([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x496b69))[_0x273a36([0x73,0x6f,0x6d,0x65])](_0x1ad98e=>_0x5a2055[_0x273a36([0x65,0x76,0x65,0x72,0x79])]((_0x4a5c56,_0x4317c1)=>_0x1ad98e[_0x4317c1]===_0x4a5c56||_0x1ad98e[_0x4317c1]===_0x273a36([0x2a])));}function _0x7fb446(){return _0x1c3a04&&_0x2339f7?new window[(_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9d5b97,_0x20a0b0)=>{_0x1c3a04[_0x273a36([0x74,0x68,0x65,0x6e])](_0x9d5b97,_0x20a0b0),_0x2339f7[_0x273a36([0x74,0x68,0x65,0x6e])](_0x6a498=>{_0x6a498!=_0x273a36([0x56,0x61,0x6c,0x69,0x64])&&_0x9d5b97(_0x6a498);},_0x20a0b0);}):_0x1c3a04||_0x2339f7||_0x273a36([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3df5cb(_0x1c2edd,_0x385876){return new window[(_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55fe0d=>{if(_0x4d3bdb())return _0x55fe0d(_0x273a36([0x56,0x61,0x6c,0x69,0x64]));_0x1eb23c(),_0x11a5c9[_0x273a36([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x273a36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29883e=!0x1;const _0x2cb61b=_0x7e4165();function _0x55a58c(_0x4770c1){return!!_0x4770c1&&(typeof _0x4770c1===_0x273a36([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4770c1===_0x273a36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4770c1[_0x273a36([0x74,0x68,0x65,0x6e])]===_0x273a36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4770c1[_0x273a36([0x63,0x61,0x74,0x63,0x68])]===_0x273a36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2d3526(_0x403638){_0x9a12b7(_0x403638)[_0x273a36([0x74,0x68,0x65,0x6e])](_0x3a4f0b=>{if(!_0x3a4f0b||_0x3a4f0b[_0x273a36([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x273a36([0x6f,0x6b]))return _0x273a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x458612(_0x54d9c8(_0x2cb61b+_0x385876))!=_0x3a4f0b[_0x273a36([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x273a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x273a36([0x56,0x61,0x6c,0x69,0x64]);})[_0x273a36([0x74,0x68,0x65,0x6e])](_0x1a9af2=>(_0x43ad33(),_0x1a9af2),()=>{const _0x16104f=_0x262e37();return null==_0x16104f?(_0x43ad33(),_0x273a36([0x56,0x61,0x6c,0x69,0x64])):_0x273a36(_0x1a99e5-_0x16104f>(0x63ae0106^_0x2d6435)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x273a36([0x74,0x68,0x65,0x6e])](_0x55fe0d)[_0x273a36([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55fe0d(_0x273a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2cc647=0x47946b86^_0x2d6435;function _0x43ad33(){const _0x315117=_0x273a36([0x6c,0x6c,0x63,0x74,0x2d])+_0x458612(_0x54d9c8(_0x1c2edd)),_0x3a8911=_0x5429d8(_0x458612(window[_0x273a36([0x4d,0x61,0x74,0x68])][_0x273a36([0x63,0x65,0x69,0x6c])](_0x1a99e5/_0x2cc647)));window[_0x273a36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x273a36([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x315117,_0x3a8911);}function _0x262e37(){const _0x40a7ff=_0x273a36([0x6c,0x6c,0x63,0x74,0x2d])+_0x458612(_0x54d9c8(_0x1c2edd)),_0xf076ef=window[_0x273a36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x273a36([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40a7ff);return _0xf076ef?window[_0x273a36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5429d8(_0xf076ef),0x10)*_0x2cc647:null;}function _0x9a12b7(_0x431c82){return new window[(_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8085c7,_0x4a1596)=>{_0x431c82[_0x273a36([0x74,0x68,0x65,0x6e])](_0x8085c7,_0x4a1596),window[_0x273a36([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a1596,0x47a351c6^_0x2d6435);});}}_0x11a5c9[_0x273a36([0x6f,0x6e])](_0x273a36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33ff34,_0x41115d)=>{if(_0x41115d[0x0]!=_0x1c2edd)return _0x55fe0d(_0x273a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41115d[0x1]={..._0x41115d[0x1],[_0x273a36([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2cb61b};},{[_0x273a36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x273a36([0x68,0x69,0x67,0x68])}),_0x11a5c9[_0x273a36([0x6f,0x6e])](_0x273a36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24ab01=>{_0x55a58c(_0x24ab01[_0x273a36([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29883e=!0x0,_0x2d3526(_0x24ab01[_0x273a36([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x273a36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x273a36([0x6c,0x6f,0x77])}),_0xa3d157[_0x273a36([0x74,0x68,0x65,0x6e])](()=>{_0x29883e||_0x55fe0d(_0x273a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d3bdb(){return _0x11a5c9[_0x273a36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x273a36([0x76,0x69,0x65,0x77])][_0x273a36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x273a36([0x61,0x75,0x74,0x6f]);}function _0x1eb23c(){_0x11a5c9[_0x273a36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x273a36([0x76,0x69,0x65,0x77])][_0x273a36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x273a36([0x61,0x75,0x74,0x6f]);}}function _0x407c49(_0x30201f){const _0x23ec3f=[new window[(_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42ea23=>setTimeout(_0x42ea23,0x47abbbca^_0x2d6435)),_0xa3d157[_0x273a36([0x74,0x68,0x65,0x6e])](()=>new window[(_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a18c0=>{let _0x194846=0x0;_0x11a5c9[_0x273a36([0x6d,0x6f,0x64,0x65,0x6c])][_0x273a36([0x6f,0x6e])](_0x273a36([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d0cfe,_0x44350c)=>{_0x44350c[0x0][_0x273a36([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x194846++,_0x194846==(0x47a284fe^_0x2d6435)&&(_0x3a18c0(),_0x1d0cfe[_0x273a36([0x6f,0x66,0x66])]());});}))];return window[_0x273a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x273a36([0x72,0x61,0x63,0x65])](_0x23ec3f)[_0x273a36([0x74,0x68,0x65,0x6e])](()=>_0x30201f);}async function _0x1a2f1a(){await _0xa3d157,_0x11a5c9[_0x273a36([0x6d,0x6f,0x64,0x65,0x6c])][_0x273a36([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36a6c1,_0x11a5c9[_0x273a36([0x6d,0x6f,0x64,0x65,0x6c])][_0x273a36([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36a6c1,_0x11a5c9[_0x273a36([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x273a36([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f76c0(_0x24e523){const _0x4b3c46=_0x2f06f0();_0x11a5c9[_0x4b3c46]=_0x273a36([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x24e523,_0x24e523!=_0x273a36([0x56,0x61,0x6c,0x69,0x64])&&_0x1a2f1a();}function _0x2f06f0(){const _0x4e9174=window[_0x273a36([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x273a36([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x273a36([0x6e,0x6f,0x77])]())[_0x273a36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x273a36([0x2e]),'');let _0x522b81=_0x273a36([0x75]);for(let _0x16b737=0x0;_0x16b737<_0x4e9174[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16b737+=0x2){let _0x2e0b8a=window[_0x273a36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e9174[_0x273a36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16b737,_0x16b737+0x2));_0x2e0b8a>=_0x390f8c[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e0b8a-=_0x390f8c[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x522b81+=_0x390f8c[_0x2e0b8a];}return _0x522b81;}function _0x158581(){const _0x13f0dd=_0x43eca3[_0x273a36([0x73,0x70,0x6c,0x69,0x74])](_0x273a36([0x2e]));if(0x3!=_0x13f0dd[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x12c47e(_0x13f0dd[0x1]);function _0x12c47e(_0x594cc1){const _0x26bba1=_0x5efe57(_0x594cc1);return _0x26bba1&&_0x1256fb()?_0x26bba1:null;function _0x1256fb(){const _0x2e70f9=_0x26bba1[_0x273a36([0x6a,0x74,0x69])],_0x31b251=window[_0x273a36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e70f9[_0x273a36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e70f9[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ae43a={..._0x26bba1,[_0x273a36([0x6a,0x74,0x69])]:_0x2e70f9[_0x273a36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e70f9[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ae43a[_0x273a36([0x76,0x63])],_0x54d9c8(_0x3ae43a)==_0x31b251;}}}async function _0x1f9f8c(){let _0x41d8b7=!0x0;try{const _0x31e285=_0x43eca3[_0x273a36([0x73,0x70,0x6c,0x69,0x74])](_0x273a36([0x2e])),[_0x4d35cc,_0x411505,_0x192a98]=_0x31e285;return _0x2390dd(_0x4d35cc),await _0x25fc06(_0x4d35cc,_0x411505,_0x192a98),_0x41d8b7;}catch{return!0x1;}function _0x2390dd(_0x1114a7){const _0x365da3=_0x5efe57(_0x1114a7);_0x365da3&&_0x365da3[_0x273a36([0x61,0x6c,0x67])]==_0x273a36([0x45,0x53,0x32,0x35,0x36])||(_0x41d8b7=!0x1);}async function _0x25fc06(_0x5f51fd,_0x3e617f,_0x2a2c65){const _0x261824=window[_0x273a36([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x273a36([0x66,0x72,0x6f,0x6d])](_0x4d2c11(_0x2a2c65),_0x11b926=>_0x11b926[_0x273a36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bc839=new window[(_0x273a36([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x273a36([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5f51fd+_0x273a36([0x2e])+_0x3e617f),_0x75381=window[_0x273a36([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x273a36([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x75381)return;const _0x129ea5=await _0x75381[_0x273a36([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x273a36([0x6a,0x77,0x6b]),_0x3a164e,{[_0x273a36([0x6e,0x61,0x6d,0x65])]:_0x273a36([0x45,0x43,0x44,0x53,0x41]),[_0x273a36([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x273a36([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x273a36([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x75381[_0x273a36([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x273a36([0x6e,0x61,0x6d,0x65])]:_0x273a36([0x45,0x43,0x44,0x53,0x41]),[_0x273a36([0x68,0x61,0x73,0x68])]:{[_0x273a36([0x6e,0x61,0x6d,0x65])]:_0x273a36([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x129ea5,_0x261824,_0x5bc839)||(_0x41d8b7=!0x1);}}function _0x5efe57(_0x2fd313){return _0x2fd313[_0x273a36([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x273a36([0x65,0x79]))?JSON[_0x273a36([0x70,0x61,0x72,0x73,0x65])](_0x4d2c11(_0x2fd313)):null;}function _0x4d2c11(_0x34c4ce){return window[_0x273a36([0x61,0x74,0x6f,0x62])](_0x34c4ce[_0x273a36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x273a36([0x2b]))[_0x273a36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x273a36([0x2f])));}function _0x54d9c8(_0x58c4b6){let _0x5d7993=0x1505;function _0x36082c(_0x2ac43b){for(let _0x309faa=0x0;_0x309faa<_0x2ac43b[_0x273a36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x309faa++){const _0x493aa3=_0x2ac43b[_0x273a36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x309faa);_0x5d7993=(_0x5d7993<<0x5)+_0x5d7993+_0x493aa3,_0x5d7993&=_0x5d7993;}}function _0x11674d(_0x340c86){Array[_0x273a36([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x340c86)?_0x340c86[_0x273a36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11674d):_0x340c86&&typeof _0x340c86==_0x273a36([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x273a36([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x340c86)[_0x273a36([0x73,0x6f,0x72,0x74])]()[_0x273a36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32ab89,_0x3126ab])=>{_0x36082c(_0x32ab89),_0x11674d(_0x3126ab);}):_0x36082c(window[_0x273a36([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x340c86));}return _0x11674d(_0x58c4b6),_0x5d7993>>>0x0;}function _0x458612(_0x5f4cd8){return _0x5f4cd8[_0x273a36([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x273a36([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x273a36([0x30]));}function _0x5429d8(_0x4d96c4){return _0x4d96c4[_0x273a36([0x73,0x70,0x6c,0x69,0x74])]('')[_0x273a36([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x273a36([0x6a,0x6f,0x69,0x6e])]('');}function _0x36a6c1(){}function _0x273a36(_0x368b80){return _0x368b80['map'](_0x56f4a0=>String['fromCharCode'](_0x56f4a0))['join']('');}_0x1f76c0(await _0x3b51b0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x50c8dc){const {plugins:_0x3e6b2e,editing:_0xa84b97,model:_0x56036d}=this['editor'],_0x34c941=_0x3e6b2e['get'](c)['getFootnote'](_0x50c8dc);return!!_0x34c941&&(_0x56036d['change'](_0x28db45=>{_0x28db45['setSelection'](_0x28db45['createPositionAt'](_0x34c941['definition'],'end'));}),_0xa84b97['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x18561e){const {plugins:_0x2fa353,editing:_0x3769b7,model:_0x110b9d}=this['editor'],_0xb8ea44=_0x2fa353['get'](c)['getFootnote'](_0x18561e);return!!_0xb8ea44&&(_0x110b9d['change'](_0x3bae6a=>{_0x3bae6a['setSelection'](_0xb8ea44['reference'],'on');}),_0x3769b7['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x10741a}=this['editor']['model'],_0x126b5c=this['editor']['config']['get']('footnotes.multiBlock');_0x10741a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x10741a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x10741a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x126b5c?_0x10741a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x10741a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x10741a['addChildCheck'](_0x220cc8=>{for(const _0x2e130b of _0x220cc8)if('footnoteDefinition'===_0x2e130b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x20bc3e}=this,{conversion:_0x53b296,editing:_0x3c38f1}=_0x20bc3e,{t:t}=_0x20bc3e['locale'];_0x53b296['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x588e6e,{writer:_0x4d4445,consumable:_0x4f44cb})=>{const _0x5c7eb3=_0x588e6e['getChild'](0x0);if(!_0x5c7eb3||!_0x5c7eb3['is']('element','a'))return null;const _0x4065e9=_0x5c7eb3['getAttribute']('href')||'';if(!_0x4065e9['startsWith']('#'))return null;const _0x144350=_0x4065e9['replace'](/^#/,'');if(!_0x144350)return null;_0x4f44cb['consume'](_0x5c7eb3,{'name':!0x0,'attributes':['href']});for(const {item:_0x11b5e6}of _0x3c38f1['view']['createRangeIn'](_0x5c7eb3))_0x11b5e6['is']('$textProxy')?_0x4f44cb['consume'](_0x11b5e6['textNode'],{'name':!0x0}):_0x11b5e6['is']('element')&&_0x4f44cb['consume'](_0x11b5e6,{'name':!0x0});return _0x4d4445['createElement']('footnoteRef',{'footnoteId':_0x144350});}}),_0x53b296['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x91cfc,{writer:_0xc05f28})=>D(_0x91cfc,_0xc05f28)}),_0x53b296['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x33bd34,{writer:_0x5f301c})=>{const _0x5a2dd2=_0x33bd34['getAttribute']('footnoteCounter');return _0x202c5c(D(_0x33bd34,_0x5f301c),_0x5f301c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5a2dd2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x521687}=this,{t:t}=_0x521687['locale'],{conversion:_0x51dc5c}=_0x521687;_0x51dc5c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x51dc5c['for']('upcast')['add'](_0x14e683=>{_0x14e683['on']('element:ol',(_0x3fa8ca,_0x732b5a,_0x51ebe9)=>{const _0x59ce66=_0x732b5a['viewItem'];if(!_0x59ce66['hasClass']('footnotes-list')||!_0x732b5a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x51ebe9['consumable']['consume'](_0x59ce66,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5daf2a,modelCursor:_0x177a66}=_0x51ebe9['convertChildren'](_0x732b5a['viewItem'],_0x732b5a['modelCursor']);_0x732b5a['modelRange']=_0x5daf2a,_0x732b5a['modelCursor']=_0x177a66;}),_0x14e683['on']('element:hr',(_0x535b9a,_0x31de7b,_0x13c8b2)=>{const _0x16363c=_0x31de7b['viewItem'];_0x16363c['hasClass']('footnotes-divider')&&_0x31de7b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x13c8b2['consumable']['consume'](_0x16363c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x51dc5c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe723f2,{writer:_0x480aae})=>v(_0x480aae)}),_0x51dc5c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3b8e56,{writer:_0x41a2f7})=>{const _0x1595d7=v(_0x41a2f7,{'data-footnotes-list-label':t('Footnotes')}),_0x4307b5=_0x202c5c(_0x1595d7,_0x41a2f7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x41a2f7['setCustomProperty']('footnotesDefinitions',!0x0,_0x4307b5),_0x4307b5;}});}['_defineDefinitionConverters'](){const {editor:_0x36a41f}=this,{conversion:_0x502ad3,locale:_0xd038fd}=_0x36a41f,_0x506fb2=_0x36a41f['config']['get']('footnotes.multiBlock');_0x502ad3['for']('upcast')['add'](_0x213db4=>{_0x213db4['on']('element:li',(_0x4d10eb,_0x255358,_0x4a6381)=>{const _0x2e8e7a=_0x255358['viewItem'];if(!_0x2e8e7a['hasClass']('footnote-definition')||!_0x2e8e7a['getAttribute']('id'))return;const _0x3b3b47=_0x2e8e7a['parent'];if(!_0x3b3b47['is']('element','ol')||!_0x3b3b47['hasClass']('footnotes-list'))return;if(!_0x4a6381['consumable']['test'](_0x2e8e7a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x534ad6=_0x4a6381['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2e8e7a['getAttribute']('id')});if(!_0x4a6381['safeInsert'](_0x534ad6,_0x255358['modelCursor']))return;_0x4a6381['consumable']['consume'](_0x2e8e7a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x9f86f9=Array['from'](_0x2e8e7a['getChildren']())['find'](_0x1d18a6=>_0x1d18a6['is']('element')&&_0x1d18a6['hasClass']('footnote-content'));for(const _0x2cf7e4 of _0x2e8e7a['getChildren']())_0x2cf7e4['is']('element')&&(_0x4a6381['consumable']['consume'](_0x2cf7e4,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4a6381['consumable']['consume'](_0x2cf7e4,{'name':!0x0,'classes':'footnote-content'}));if(_0x9f86f9){if(_0x506fb2)_0x4a6381['convertChildren'](_0x9f86f9,_0x534ad6);else{const _0x221423=_0x4a6381['writer']['createElement']('footnoteInlineContent');_0x4a6381['writer']['insert'](_0x221423,_0x534ad6),_0x4a6381['convertChildren'](_0x9f86f9,_0x221423);}}_0x4a6381['updateConversionResult'](_0x534ad6,_0x255358);});}),_0x502ad3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5f2ce5,{writer:_0xf1d97f})=>b(_0x5f2ce5,_0xf1d97f,_0xd038fd,{'dataPipeline':!0x0})}),_0x502ad3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1613fb,{writer:_0x10f4b6})=>b(_0x1613fb,_0x10f4b6,_0xd038fd)});}['_defineBogusParagraphConverters'](){const {editor:_0x14c531}=this,{conversion:_0x3511c5}=_0x14c531;_0x14c531['config']['get']('footnotes.multiBlock')?(_0x3511c5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3511c5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x14c531['model']['document'],'change:data',()=>{!function(_0x110598,_0x4302f4){const _0x2edd0d=_0x110598['document']['differ'],_0x325ac6=new Set();for(const _0x7f08f4 of _0x2edd0d['getChanges']()){const _0x4e385d='attribute'==_0x7f08f4['type']?_0x7f08f4['range']['start']['parent']:_0x7f08f4['position']['parent'];_0x4e385d['is']('element','footnoteDefinition')&&_0x325ac6['add'](_0x4e385d);}for(const _0x348261 of _0x325ac6['values']()){const _0x989080=Array['from'](_0x348261['getChildren']())['filter'](_0x2a1729=>g(_0x2a1729,_0x4302f4['mapper']));for(const _0x445c36 of _0x989080)_0x4302f4['reconvertItem'](_0x445c36);}}(_0x14c531['model'],_0x14c531['editing']);})):(_0x3511c5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3511c5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x56fcc6,{writer:_0x161b43})=>{const _0x49ebf3=_0x161b43['createContainerElement']('span');return _0x161b43['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x49ebf3),_0x49ebf3;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2d57b6}=this,{editing:_0x4aec78,t:t}=_0x2d57b6,_0x516395=_0x2d57b6['model']['document']['selection'];_0x2d57b6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2d57b6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4aec78['view']['document'],'enter',(_0x5a0b1a,_0x4d9e70)=>{const _0x456ef9=function(_0x1e9f0a){const _0x5ecc42=_0x1e9f0a['getSelectedElement']();if(_0x5ecc42?.['is']('element','footnoteRef'))return _0x5ecc42;return null;}(_0x516395);if(_0x456ef9){const _0x5cb842=_0x456ef9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5cb842),_0x4d9e70['preventDefault'](),_0x5a0b1a['stop']();}},{'context':_0x59727f});}['_defineClickHandlers'](){const {editor:_0x39e4dd}=this,{editing:_0x13c934}=_0x39e4dd;_0x39e4dd['editing']['view']['addObserver'](_0x4de2f6),_0x39e4dd['editing']['view']['addObserver'](_0x12420a);let _0x2c184=!0x1;this['listenTo'](_0x13c934['view']['document'],'pointerdown',(_0x5896ab,_0x141dcb)=>{const {target:_0x10eb7d}=_0x141dcb,_0x57fd3c=_0x13c934['view']['document']['selection'];_0x2c184=!!(_0x10eb7d?.['is']('element','a')&&_0x10eb7d['parent']?.['is']('element','sup')&&_0x10eb7d['parent']['hasClass']('footnote'))&&_0x57fd3c['getSelectedElement']()===_0x10eb7d['parent'];},{'priority':'high'}),this['listenTo'](_0x13c934['view']['document'],'click',(_0x9474f0,_0x2b466f)=>{const {target:_0x3925fe}=_0x2b466f;if(!_0x3925fe?.['is']('element','a'))return;if(_0x3925fe['parent']?.['is']('element','sup')&&_0x3925fe['parent']['hasClass']('footnote')&&!_0x2c184)return void _0x2b466f['preventDefault']();let _0x1bf7b9=_0x3925fe['getAttribute']('href');if(!_0x1bf7b9?.['startsWith']('#'))return;_0x1bf7b9=_0x1bf7b9['slice'](0x1);let _0x51476a=!0x1;(_0x1bf7b9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1bf7b9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1bf7b9))&&(_0x51476a=!0x0),_0x51476a&&(_0x2b466f['preventDefault'](),_0x9474f0['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3fbf1d}={}){return(_0x26c73a,{writer:_0x1e0b49})=>{if(!p(_0x26c73a))return null;if(!_0x3fbf1d)return _0x1e0b49['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x95a9e5=_0x1e0b49['createContainerElement']('p');return _0x1e0b49['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x95a9e5),_0x95a9e5;};}function p(_0x4d7642){const {parent:_0x4b267e}=_0x4d7642;if(!_0x4b267e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4b267e['childCount'])return!0x1;for(const _0x182c6e of _0x4d7642['getAttributeKeys']())if(!_0x182c6e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x182c6e)return!0x1;return!0x0;}function g(_0x5e14a2,_0x5db8dc){if(!_0x5e14a2['is']('element','paragraph'))return!0x1;const _0x3f42e1=_0x5db8dc['toViewElement'](_0x5e14a2);return!!_0x3f42e1&&p(_0x5e14a2)!==_0x3f42e1['is']('element','span');}function J(_0x59108b){return _0x59727f(_0x59108b)&&_0x59108b['is']('containerElement')&&!!_0x59108b['getCustomProperty']('footnotesDefinitions');}function v(_0x14907b,_0x4298b9={}){const _0x4473a7=_0x14907b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3fc1ca=_0x14907b['createContainerElement']('ol',{'class':'footnotes-list'},_0x14907b['createSlot']());return _0x14907b['createContainerElement']('div',{'class':'footnotes',..._0x4298b9},[_0x4473a7,_0x3fc1ca]);}function D(_0x17029e,_0x51e140){const _0x1d9c00=_0x17029e['getAttribute']('footnoteId'),_0x1bccfd=_0x17029e['getAttribute']('footnoteCounter'),_0x1a21fe=_0x51e140['createUIElement']('a',{'href':'#'+_0x1d9c00},function(_0x23691e){const _0x3a9296=this['toDomElement'](_0x23691e);return _0x3a9296['textContent']=_0x1bccfd,_0x3a9296;}),_0x812ac4=_0x51e140['createContainerElement']('sup',{'id':'ref-'+_0x1d9c00,'class':'footnote'},[_0x1a21fe]);return _0x812ac4['getFillerOffset']=()=>null,_0x812ac4;}function b(_0x20eba1,_0xb8c53e,_0x54be22,{dataPipeline:_0x489a48}={}){const {t:t}=_0x54be22,_0x4da68f=_0x20eba1['getAttribute']('footnoteId'),_0x36b6ad=_0xb8c53e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4da68f},function(_0x25144e){const _0x22e060=this['toDomElement'](_0x25144e);return _0x22e060['innerText']='^',_0x22e060;}),_0x46ae1f=_0x489a48?_0xb8c53e['createContainerElement']('div',{'class':'footnote-content'}):_0x5c90fc(_0xb8c53e['createEditableElement']('div',{'class':'footnote-content'}),_0xb8c53e,{'label':t('Footnote\x20content.')});return _0xb8c53e['insert'](_0xb8c53e['createPositionAt'](_0x46ae1f,0x0),_0xb8c53e['createSlot']()),_0xb8c53e['createContainerElement']('li',{'class':'footnote-definition','id':_0x4da68f},[_0x36b6ad,_0x46ae1f]);}class e extends _0x253043{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x129620];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x51ec77}=this,{plugins:_0x13dd42,model:_0x4ce887}=_0x51ec77,_0x2c5606=_0x13dd42['get'](_0x129620),_0x488fba=_0x13dd42['get'](c);this['listenTo'](_0x2c5606,'outputTransformation',(_0x50672c,_0x59ce9b)=>{const _0x11cb49=f(_0x4ce887['createRangeIn'](_0x59ce9b['content']));if(!_0x11cb49['length'])return;const _0x4adf1e=_0x488fba['getFootnotes'](),_0x10dd78=_0x11cb49['reduce']((_0x3de7da,_0x31c4f4)=>{const _0x4b2350=_0x4adf1e['find'](_0x1c23fc=>_0x1c23fc['id']===_0x31c4f4);if(_0x4b2350){const _0x3de86d=_0x51ec77['data']['toView'](_0x4b2350['definition'],{'isClipboardPipeline':!0x0}),_0x5e3895=_0x51ec77['data']['htmlProcessor']['toData'](_0x3de86d);_0x3de7da[_0x4b2350['id']]=_0x5e3895;}return _0x3de7da;},Object['create'](null));_0x59ce9b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x10dd78));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x172466}=this,{model:_0xef0bf1,plugins:_0x25646d}=_0x172466,{view:_0x440cd5}=_0x172466['editing'],_0x9d5012=_0x25646d['get'](_0x129620),_0x51856f=_0x25646d['get'](c);let _0x1bf4a2=null;this['listenTo'](_0x440cd5['document'],'clipboardInput',(_0x52c15d,_0x3429ff)=>{const _0x29b19e=_0x3429ff['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1bf4a2=_0x29b19e?JSON['parse'](_0x29b19e):null;}),this['listenTo'](_0x9d5012,'contentInsertion',(_0x39ea54,_0x27fbdb)=>{const _0x40c620=_0x27fbdb['sourceEditorId']===this['editor']['id'];_0x40c620&&'drop'===_0x27fbdb['method']||_0xef0bf1['change'](_0x221df2=>{if(function(_0x2bc5de,_0x37188d){const _0xf98a57=[];for(const {item:_0x4bc891}of _0x2bc5de['createRangeIn'](_0x37188d))_0x4bc891['is']('element','footnotesDefinitions')&&_0xf98a57['push'](_0x4bc891);for(const _0xaadd2f of _0xf98a57)_0x2bc5de['remove'](_0xaadd2f);}(_0x221df2,_0x27fbdb['content']),!_0x1bf4a2)return;const {selection:_0x55cced}=_0xef0bf1['document'],_0x3a3df5=_0x55cced['getFirstRange']()['root'];let _0x19787c=_0x51856f['getFootnotesDefinitionsObjectElement']();_0x19787c&&!Array['from'](_0x55cced['getSelectedBlocks']())['includes'](_0x19787c)||(_0x19787c=_0x51856f['_insertEmptyFootnotesDefinitionsContainer'](_0x221df2,_0x3a3df5));const _0x241e0f=Array['from'](_0x55cced['getRanges']())['flatMap'](f),_0x1f59b9=function(_0x5c4830,_0x250e83,_0x4f7abb){const _0x281564=Object['create'](null);for(const {item:_0x542cce}of _0x5c4830['createRangeIn'](_0x250e83))if(_0x542cce['is']('element','footnoteRef')){const _0x463d38=_0x542cce['getAttribute']('footnoteId');if(!_0x4f7abb(_0x463d38))continue;_0x281564[_0x463d38]||(_0x281564[_0x463d38]=_0x7e4165()),_0x5c4830['setAttribute']('footnoteId',_0x281564[_0x463d38],_0x542cce);}return _0x281564;}(_0x221df2,_0x27fbdb['content'],_0x28605b=>{if(!_0x40c620)return!0x0;return!!_0x51856f['getFootnote'](_0x28605b)&&!_0x241e0f['includes'](_0x28605b);});for(const [_0xd58d3b,_0x292d29]of Object['entries'](_0x1bf4a2)){const _0xa3fd4c=_0x1f59b9[_0xd58d3b]||_0xd58d3b,_0x4e599f=_0x221df2['createElement']('footnoteDefinition',{'footnoteId':_0xa3fd4c}),_0x3f7d88=_0x172466['data']['htmlProcessor']['toView'](_0x292d29),_0xcc7a23=_0x172466['data']['toModel'](_0x3f7d88,_0x4e599f);_0x221df2['append'](_0xcc7a23,_0x4e599f),_0x221df2['insert'](_0x4e599f,_0x19787c,'end');}_0x1bf4a2=null;});});}}function f(_0x2d6612){const _0x4660d1=new Set();for(const {item:_0x555163}of _0x2d6612)_0x555163['is']('element','footnoteRef')&&_0x4660d1['add'](_0x555163['getAttribute']('footnoteId'));return Array['from'](_0x4660d1);}class i extends _0x253043{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b87ec}=this,{componentFactory:_0xc8d545}=_0x5b87ec['ui'];_0xc8d545['add']('insertFootnote',x(_0x5b87ec,_0x2a9c75)),_0xc8d545['add']('menuBar:insertFootnote',x(_0x5b87ec,_0x55a27d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d4958=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f31cc;for(const _0x5239b7 in _0x4d4958){const _0x19ef12=_0x5239b7,_0x1182c5=_0x4d4958[_0x19ef12];if('footnotesLicenseKeyValid'==_0x1182c5||'footnotesLicenseKeyInvalid'==_0x1182c5||'footnotesLicenseKeyExpired'==_0x1182c5||'footnotesLicenseKeyDomainLimit'==_0x1182c5||'footnotesLicenseKeyNotAllowed'==_0x1182c5||'footnotesLicenseKeyEvaluationLimit'==_0x1182c5||'footnotesLicenseKeyTrialLimit'==_0x1182c5||'footnotesLicenseKeyUsageLimit'==_0x1182c5){delete _0x4d4958[_0x19ef12],_0x1f31cc=_0x1182c5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1f31cc&&_0x4d4958['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1f31cc&&_0x4d4958['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1f31cc&&_0x4d4958['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1f31cc&&_0x4d4958['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1f31cc&&_0x4d4958['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1f31cc&&_0x4d4958['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1f31cc&&_0x4d4958['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x258240,_0x4fb9be){const _0xa3ba1d=_0x258240['commands']['get']('insertFootnote');return _0x44d2f5=>{const {t:t}=_0x44d2f5,_0x96ca3a=new _0x4fb9be(_0x44d2f5),_0x524f48=_0x96ca3a instanceof _0x55a27d;return _0x96ca3a['bind']('isEnabled')['to'](_0xa3ba1d,'isEnabled'),_0x96ca3a['set']({'label':t(_0x524f48?'Footnote':'Insert\x20footnote'),'icon':_0x4aafcc,'tooltip':!0x0}),_0x96ca3a['on']('execute',()=>{_0xa3ba1d['execute'](),_0x258240['editing']['view']['focus']();}),_0x96ca3a;};}class lt extends _0x253043{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 _0x2ea081{['refresh'](){const {editor:_0x11e067}=this,_0x465a13=_0x11e067['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x465a13,this['value']=_0x465a13?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x50ee96}){const {editor:_0x248aea}=this,_0x3e8356=_0x248aea['plugins']['get'](c),_0xcfc17f=_0x3e8356['getFootnotesDefinitionsObjectElement']();_0xcfc17f&&Q['includes'](_0x50ee96)&&_0x248aea['model']['change'](_0x545934=>{_0x545934['setAttribute']('footnotesListStyle',_0x50ee96,_0xcfc17f),_0x3e8356['_updateFootnotesCounters'](_0x545934);});}}class C extends _0x2ea081{['refresh'](){const {editor:_0x4b8bf6}=this,_0x41570e=_0x4b8bf6['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x41570e,this['value']=_0x41570e?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x333cff}){const {editor:_0x311819}=this,_0x15763d=_0x311819['plugins']['get'](c),_0x4154e2=_0x15763d['getFootnotesDefinitionsObjectElement']();_0x4154e2&&Number['isInteger'](_0x333cff)&&_0x311819['model']['change'](_0x12c064=>{_0x12c064['setAttribute']('footnotesListStart',_0x333cff,_0x4154e2),_0x15763d['_updateFootnotesCounters'](_0x12c064);});}}class P extends _0x253043{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xfb891f}=this;_0xfb891f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xfb891f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xfb891f['commands']['add']('footnotesStyle',new S(_0xfb891f)),_0xfb891f['commands']['add']('footnotesStart',new C(_0xfb891f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1940c1}=this,{schema:_0x4e03a7}=_0x1940c1['model'];_0x4e03a7['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x28cadd}=this,{conversion:_0x4b98cf,model:_0x5b5aa2}=_0x28cadd,{schema:_0x422d6d}=_0x5b5aa2;_0x4b98cf['for']('upcast')['add'](_0x3d8da4=>{_0x3d8da4['on']('element:ol',(_0x2f4651,_0x43bffe,_0x19f402)=>{const _0x4b9915=_0x43bffe['viewItem'],_0x2f9558=_0x43bffe['modelCursor']?.['parent'];_0x4b9915['hasClass']('footnotes-list')&&_0x2f9558?.['is']('element','footnotesDefinitions')&&(function(_0x50893b,_0x1e5155,_0x3ddf68,_0x3547d5){if(!_0x3547d5['checkAttribute'](_0x1e5155,'footnotesListStart'))return;let _0x4fdb62=0x1;const _0x450344=_0x3ddf68['consumable']['consume'](_0x50893b,{'attributes':'start'});if(_0x450344){const _0x1db513=Number['parseInt'](_0x50893b['getAttribute']('start'),0xa);Number['isNaN'](_0x1db513)||(_0x4fdb62=_0x1db513);}!_0x450344&&_0x1e5155['hasAttribute']('footnotesListStart')||_0x3ddf68['writer']['setAttribute']('footnotesListStart',_0x4fdb62,_0x1e5155);}(_0x4b9915,_0x2f9558,_0x19f402,_0x422d6d),function(_0x345faa,_0x4c6944,_0x4c6685,_0x45b089){if(!_0x45b089['checkAttribute'](_0x4c6944,'footnotesListStyle'))return;let _0x2e20ea='decimal',_0x27d23a=!0x1;if(_0x4c6685['consumable']['consume'](_0x345faa,{'attributes':'type'})){const _0x50b6e5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x345faa['getAttribute']('type')];_0x50b6e5&&(_0x2e20ea=_0x50b6e5),_0x27d23a=!0x0;}_0x4c6685['consumable']['consume'](_0x345faa,{'styles':'list-style-type'})&&(_0x2e20ea=_0x345faa['getStyle']('list-style-type'),_0x27d23a=!0x0),!_0x27d23a&&_0x4c6944['hasAttribute']('footnotesListStyle')||_0x4c6685['writer']['setAttribute']('footnotesListStyle',_0x2e20ea,_0x4c6944);}(_0x4b9915,_0x2f9558,_0x19f402,_0x422d6d));});}),_0x4b98cf['for']('downcast')['add'](_0x142d65=>{_0x142d65['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5a827b,_0x3845d4,_0x1e2753)=>{if(!_0x1e2753['consumable']['consume'](_0x3845d4['item'],_0x5a827b['name']))return;const _0x593af4=M(_0x3845d4['item'],_0x1e2753['mapper']),{attributeNewValue:_0x288154}=_0x3845d4;null==_0x288154||0x1===_0x288154?_0x1e2753['writer']['removeAttribute']('start',_0x593af4):_0x1e2753['writer']['setAttribute']('start',String(_0x288154),_0x593af4);}),_0x142d65['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x56184e,_0x5264e5,_0x559ccb)=>{if(!_0x559ccb['consumable']['consume'](_0x5264e5['item'],_0x56184e['name']))return;const _0xd4830b=M(_0x5264e5['item'],_0x559ccb['mapper']),{attributeNewValue:_0x5df53e}=_0x5264e5;_0x5df53e&&'decimal'!==_0x5df53e?_0x559ccb['writer']['setStyle']('list-style-type',_0x5df53e,_0xd4830b):_0x559ccb['writer']['removeStyle']('list-style-type',_0xd4830b);});});}['_definePostfixer'](){const {editor:_0x5e36b4}=this,{model:_0x9c710c}=_0x5e36b4,_0x531886=_0x5e36b4['plugins']['get'](c),_0x158138=this['_getDefaultListStyle'](),_0x3417da=this['_getDefaultStartIndex']();_0x9c710c['document']['registerPostFixer'](_0x4cab9b=>{const _0x231d1d=_0x9c710c['document']['differ']['getChanges']();let _0xb8069=!0x1;for(const _0x9f5200 of _0x231d1d){if('insert'!==_0x9f5200['type']||'$text'===_0x9f5200['name'])continue;const _0x23df55=_0x9c710c['createRangeOn'](_0x9f5200['position']['nodeAfter']);for(const _0x3ec00e of _0x23df55['getItems']())_0x3ec00e['is']('element','footnotesDefinitions')&&(!_0x3ec00e['hasAttribute']('footnotesListStart')&&_0x9c710c['schema']['checkAttribute'](_0x3ec00e,'footnotesListStart')&&(_0x4cab9b['setAttribute']('footnotesListStart',_0x3417da,_0x3ec00e),_0xb8069=!0x0),!_0x3ec00e['hasAttribute']('footnotesListStyle')&&_0x9c710c['schema']['checkAttribute'](_0x3ec00e,'footnotesListStyle')&&(_0x4cab9b['setAttribute']('footnotesListStyle',_0x158138,_0x3ec00e),_0xb8069=!0x0));}return _0xb8069&&_0x531886['_updateFootnotesCounters'](_0x4cab9b),_0xb8069;});}['_defineFormatter'](){const {editor:_0x9bccd1}=this;_0x9bccd1['plugins']['get'](c)['setFootnoteFormatter'](_0x3c2c1a=>this['_formatFootnoteListValue'](_0x3c2c1a));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1572fa,value:_0x44e135,digits:_0x413f4f}){const _0x41b140=_0x1572fa['getAttribute']('footnotesListStyle'),_0xd60c5a=_0x1572fa['getAttribute']('footnotesListStart'),_0x1f3012=Math['floor'](_0x44e135)+(_0xd60c5a??0x1)-0x1;switch(_0x41b140){case'decimal-leading-zero':return function(_0x5a7c16,_0x45022d){return String(_0x5a7c16)['padStart'](_0x45022d,'0');}(_0x1f3012,Math['max'](0x2,_0x413f4f));case'lower-alpha':case'lower-latin':return N(_0x1f3012,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1f3012,!0x0);case'lower-roman':return X(_0x1f3012,!0x1);case'upper-roman':return X(_0x1f3012,!0x0);default:return String(_0x1f3012);}}}function M(_0x48a4f1,_0x34265b){const _0x25f78d=_0x34265b['toViewElement'](_0x48a4f1);return Array['from'](_0x25f78d['getChildren']())['find'](_0x560f86=>_0x560f86['is']('element','ol')&&_0x560f86['hasClass']('footnotes-list'));}function N(_0x46cca3,_0x170c2b){let _0x2f903b='',_0x150afd=_0x46cca3;for(;_0x150afd>0x0;){const _0x3c15d2=(_0x150afd-0x1)%0x1a;_0x2f903b=String['fromCharCode'](0x61+_0x3c15d2)+_0x2f903b,_0x150afd=Math['floor']((_0x150afd-0x1)/0x1a);}return _0x170c2b?_0x2f903b['toUpperCase']():_0x2f903b;}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(_0x3639b8,_0x7c92d0){let _0xf3c963='',_0x3b727a=_0x3639b8;for(const {value:_0x38ad8e,numeral:_0x5f4eae}of V)for(;_0x3b727a>=_0x38ad8e;)_0xf3c963+=_0x5f4eae,_0x3b727a-=_0x38ad8e;return _0x7c92d0?_0xf3c963:_0xf3c963['toLowerCase']();}class H extends _0xfec0ae{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1a55cf();['focusCycler'];constructor(_0x1a5cdc,{styleButtonViews:_0x46793e,styleGridAriaLabel:_0x34512c}){super(_0x1a5cdc),(this['focusCycler']=new _0x244702({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x46793e,_0x34512c),[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 _0x5db2ed of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5db2ed['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 _0x522bde=_0x4e1cc9=>_0x4e1cc9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x522bde),this['keystrokes']['set']('arrowleft',_0x522bde),this['keystrokes']['set']('arrowup',_0x522bde),this['keystrokes']['set']('arrowdown',_0x522bde);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1ce41f,_0x156042){const _0x49e179=new _0xfec0ae(this['locale']);return _0x49e179['children']=_0x49e179['createCollection'](),_0x49e179['children']['addMany'](_0x1ce41f),_0x49e179['setTemplate']({'tag':'div','attributes':{'aria-label':_0x156042,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x49e179['children']}),_0x49e179['children']['delegate']('execute')['to'](this),_0x49e179['focus']=function(){for(const _0x2e5536 of this['children'])if(_0x2e5536 instanceof _0x2a9c75&&_0x2e5536['isOn'])return void _0x2e5536['focus']();this['children']['first']['focus']();},_0x49e179['focusTracker']=new ot(),_0x49e179['keystrokes']=new rt(),_0x49e179['render'](),_0x49e179['keystrokes']['listenTo'](_0x49e179['element']),this['children']['add'](_0x49e179),_0x49e179;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x387206=this['_createStartIndexPropertyView'](),_0xf9d9c6=[_0x387206],_0x141689=new st(this['locale'],_0xf9d9c6);return _0x141689['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x141689['buttonView']['bind']('isEnabled')['toMany'](_0xf9d9c6,'isEnabled',(..._0x1b1cb1)=>_0x1b1cb1['some'](_0x15e9ad=>_0x15e9ad)),_0x141689['buttonView']['on']('change:isEnabled',(_0x3cd604,_0x108361,_0x18df1b)=>{_0x18df1b||(_0x141689['isCollapsed']=!0x0);}),this['children']['add'](_0x141689),[_0x387206,_0x141689];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2497d8=new it(this['locale'],et);return _0x2497d8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2497d8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2497d8['fieldView']['on']('input',()=>{const _0xfbb34b=_0x2497d8['fieldView']['element'],_0x36de46=_0xfbb34b['valueAsNumber'];Number['isNaN'](_0x36de46)?_0x2497d8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xfbb34b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x36de46}):_0x2497d8['errorText']=t(_0x36de46<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2497d8;}}class j extends _0x253043{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x591c52,_0xb3d395];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x192005}=this,{componentFactory:_0x4b2f8d}=_0x192005['ui'];_0x192005['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4b2f8d['add']('footnotesStyle',function(_0x161443){return _0x46c94d=>{const {t:t}=_0x46c94d,_0x1d12d0=_0x161443['commands']['get']('footnotesStyle'),_0x4bd242=_0x1518b4(_0x46c94d),{buttonView:_0x5c9975}=_0x4bd242;return _0x4bd242['class']='ck-footnotes-styles-dropdown',_0x4bd242['bind']('isEnabled')['to'](_0x1d12d0,'isEnabled'),_0x5c9975['set']({'label':t('Footnotes\x20style'),'icon':_0x4aafcc,'tooltip':!0x0}),_0x4bd242['once']('change:isOpen',()=>{const _0x4d31ae=function({editor:_0x10d2b2,dropdownView:_0x46f7e6}){const {t:t}=_0x10d2b2['locale'],_0x4d09e8=t('Footnotes\x20definitions\x20styles'),_0xc6e3b=function(_0x1e81aa){const t=_0x1e81aa['locale']['t'],_0x2849e2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x155cc6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x28eb95},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4810ed},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x168e19},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1dfafc},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xcab758}];return _0x2849e2['map'](function(_0x40d018){const _0xc13ee8=_0x40d018['locale'];return({label:_0x3ca657,icon:_0x50070c,tooltip:_0x5bfc16,style:_0x270370})=>{const _0x4983ae=_0x40d018['commands']['get']('footnotesStyle'),_0x229383=new _0x2a9c75(_0xc13ee8);return _0x229383['set']({'label':_0x3ca657,'icon':_0x50070c,'tooltip':_0x5bfc16}),_0x229383['bind']('isOn')['to'](_0x4983ae,'value',_0x351fde=>_0x351fde===_0x270370),_0x229383['bind']('isEnabled')['to'](_0x4983ae,'isEnabled'),_0x229383['on']('execute',()=>{_0x40d018['execute']('footnotesStyle',{'value':_0x270370}),_0x40d018['editing']['view']['focus']();}),_0x229383;};}(_0x1e81aa));}(_0x10d2b2),_0x5c6aa4=new H(_0x10d2b2['locale'],{'styleGridAriaLabel':_0x4d09e8,'styleButtonViews':_0xc6e3b});return _0x5c6aa4['delegate']('execute')['to'](_0x46f7e6),_0x5c6aa4['on']('footnotesListStart',(_0x252187,_0x12fb0a)=>{_0x10d2b2['execute']('footnotesStart',{'value':_0x12fb0a['startIndex']});}),_0x5c6aa4;}({'editor':_0x161443,'dropdownView':_0x4bd242});_0x4bd242['panelView']['children']['add'](_0x4d31ae);}),_0x4bd242;};}(_0x192005));}['afterInit'](){const {editor:_0x48a261}=this,{t:t}=_0x48a261['locale'],_0xf97501=_0x48a261['plugins']['get'](_0xb3d395),{defaultPositions:_0x1b10d6}=_0x19325c;_0xf97501['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x48a261['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x17fa0c=>{let _0x302915=_0x17fa0c['getFirstPosition']()?.['parent'];return _0x302915?.['is']('$text')&&(_0x302915=_0x302915['parent']),_0x302915?.['is']('element')?_0x302915['findAncestor'](J):null;},'positions':[_0x1b10d6['southArrowNorth'],_0x1b10d6['southArrowNorthMiddleWest'],_0x1b10d6['southArrowNorthMiddleEast'],_0x1b10d6['southArrowNorthWest'],_0x1b10d6['southArrowNorthEast'],_0x1b10d6['northArrowSouth'],_0x1b10d6['northArrowSouthMiddleWest'],_0x1b10d6['northArrowSouthMiddleEast'],_0x1b10d6['northArrowSouthWest'],_0x1b10d6['northArrowSouthEast'],_0x1b10d6['viewportStickyNorth']]});}}class ft extends _0x253043{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 _0x443da6,Command as _0x17915a}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x9a8430,isWidget as _0x1a371d,toWidgetEditable as _0x199481,WidgetToolbarRepository as _0x2f9051}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x42f69e,logWarning as _0x4a715e,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4ac34b,ClickObserver as _0x224778}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x154cbd}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x34737a,ButtonView as _0x11e055,View as _0x3a588d,ViewCollection as _0x14d98d,FocusCycler as _0x1cda25,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4325bd,BalloonPanelView as _0xd8228c,createDropdown as _0x5c3277}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5ecb83,IconListStyleDecimal as _0x303f0b,IconListStyleDecimalLeadingZero as _0x4d0348,IconListStyleLowerRoman as _0x4d6aac,IconListStyleUpperRoman as _0x20b737,IconListStyleLowerLatin as _0x855632,IconListStyleUpperLatin as _0x227d9e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x42933e,_0x3255f7){this['_model']=_0x42933e,this['_elementName']=_0x3255f7['elementName'],this['_getElementKey']=_0x3255f7['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x298662){const _0x14e96f=new Set(),_0x585cd0=new Map();for(const _0x51f631 of _0x298662){if('insert'===_0x51f631['type']&&'$text'!==_0x51f631['name']&&_0x51f631['position']['nodeAfter']){const _0x5c0140=this['_model']['createRangeOn'](_0x51f631['position']['nodeAfter']);for(const _0x449f3b of _0x5c0140['getItems']()){if(!_0x449f3b['is']('element',this['_elementName']))continue;const _0xf5241b=this['_getElementKey'](_0x449f3b);_0x585cd0['has'](_0xf5241b)||_0x585cd0['set'](_0xf5241b,[]),_0x585cd0['get'](_0xf5241b)['push'](_0x449f3b);}}if('remove'===_0x51f631['type']&&_0x51f631['name']===this['_elementName']){const _0x1d5da8=this['_getElementKey']({'getAttribute':_0x26f172=>_0x51f631['attributes']['get'](_0x26f172)});_0x14e96f['add'](_0x1d5da8);}}for(const [_0xc7c42f,_0x264b4d]of this['_trackedElements'])'$graveyard'===_0x264b4d['root']['rootName']&&_0x14e96f['add'](_0xc7c42f);for(const _0x222ced of _0x14e96f)this['_trackedElements']['delete'](_0x222ced);for(const [_0x4eb121,_0x144f5c]of _0x585cd0)this['_trackedElements']['set'](_0x4eb121,_0x144f5c[_0x144f5c['length']-0x1]);const _0x3e799d=new Set();for(const [_0x26871b,_0x3daecb]of _0x585cd0)_0x14e96f['has'](_0x26871b)&&(_0x3e799d['add'](_0x3daecb[0x0]),_0x3daecb['length']>0x1?_0x585cd0['set'](_0x26871b,_0x3daecb['slice'](0x1)):_0x585cd0['delete'](_0x26871b),_0x14e96f['delete'](_0x26871b));return{'removed':Array['from'](_0x14e96f),'inserted':Array['from'](_0x585cd0['values']())['flat'](),'moved':Array['from'](_0x3e799d)};}}class c extends _0x443da6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47d813){super(_0x47d813),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x55cb53=>_0x55cb53['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1ff140=>_0x1ff140['getAttribute']('footnoteId')});}['init'](){const {editor:_0x10c623}=this,{model:_0x3644fe,data:_0x4c92f2}=_0x10c623;_0x3644fe['document']['registerPostFixer'](_0x544101=>{const _0x39a185=_0x3644fe['document']['differ']['getChanges']();let _0x3dad15=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x544101,_0x39a185)&&(_0x3dad15=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x544101,_0x39a185)&&(_0x3dad15=!0x0),this['_handleFootnoteReferencesChanges'](_0x544101,_0x39a185)&&(_0x3dad15=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x544101)&&(_0x3dad15=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x544101)&&(_0x3dad15=!0x0),this['_sortFootnoteDefinitions'](_0x544101)&&(_0x3dad15=!0x0),_0x3dad15;}),this['listenTo'](_0x3644fe['document'],'change:data',()=>{_0x3644fe['enqueueChange']({'isUndoable':!0x1},_0x171463=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x171463);});},{'priority':'low'}),this['listenTo'](_0x4c92f2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x44b792){return this['_footnotes']['find'](_0x338aba=>_0x338aba['id']===_0x44b792)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x35897f){this['_footnoteFormatter']=_0x35897f;}['_updateFootnotesCounters'](_0x1e72d4,_0x2a8221=0x0){let _0x1d7a77=!0x1;for(let _0x5e878d=_0x2a8221;_0x5e878d<this['_footnotes']['length'];_0x5e878d++)this['_updateFootnoteRefCounter'](_0x1e72d4,_0x5e878d)&&(_0x1d7a77=!0x0);return _0x1d7a77;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5ed58f,_0x84931f){const _0x15733e=_0x5ed58f['createElement']('footnotesDefinitions',{});return _0x5ed58f['append'](_0x15733e,_0x84931f),this['_footnotesDefinitions']=_0x15733e,_0x15733e;}['_ensureFootnotesDefinitionsContainerExists'](_0x455a30){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2f6188=this['_footnotes'][0x0]['reference']['root'],_0x53a010=this['_insertEmptyFootnotesDefinitionsContainer'](_0x455a30,_0x2f6188);for(const _0xfa904f of this['_footnotes'])_0xfa904f['definition']['parent']||_0x455a30['insert'](_0xfa904f['definition'],_0x53a010,'end');this['_updateFootnotesCounters'](_0x455a30);}['_handleFootnotesDefinitionsObjectChanges'](_0x111c1f,_0x3aa13a){let _0x37905f=!0x1;const {inserted:_0x4ebb2d,removed:_0x34988b,moved:_0x3a12b0}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3aa13a);if(_0x3a12b0['length']&&(this['_footnotesDefinitions']=_0x3a12b0[0x0]),_0x4ebb2d['length']){if(_0x4ebb2d['length']>0x1||this['_footnotesDefinitions']&&_0x4ebb2d['some'](_0x5699de=>_0x5699de!==this['_footnotesDefinitions'])){const _0x549fd2=_0x111c1f['createElement']('footnotesDefinitions',{}),_0x4be26f=[];this['_footnotesDefinitions']&&_0x4be26f['push'](this['_footnotesDefinitions']),_0x4be26f['push'](..._0x4ebb2d),_0x111c1f['insert'](_0x549fd2,_0x4be26f[0x0],'before');for(const _0x3299dd of _0x4be26f)_0x111c1f['move'](_0x111c1f['createRangeIn'](_0x3299dd),_0x111c1f['createPositionAt'](_0x549fd2,'end')),_0x111c1f['remove'](_0x3299dd);this['_footnotesDefinitions']=_0x549fd2,this['_updateFootnotesCounters'](_0x111c1f),_0x37905f=!0x0;}else this['_footnotesDefinitions']=_0x4ebb2d[0x0];}if(_0x34988b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5421c0 of this['_footnotes'])_0x111c1f['remove'](_0x5421c0['reference']),_0x37905f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x37905f;}['_handleFootnoteDefinitionsChanges'](_0x84d08b,_0x2faa83){let _0x4136d6=!0x1;const _0x23226b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1ed9bb,moved:_0x59bd80}=this['_footnoteDefsTracker']['getChanges'](_0x2faa83);for(const _0x358b05 of[..._0x59bd80,..._0x1ed9bb]){const _0x178c60=_0x358b05['getAttribute']('footnoteId'),_0xc4e8ce=this['getFootnote'](_0x178c60);_0xc4e8ce&&(_0xc4e8ce['definition']=_0x358b05),_(_0x84d08b,_0x23226b,_0x358b05)&&(_0x4136d6=!0x0);}return _0x4136d6;}['_handleFootnoteReferencesChanges'](_0x418ae0,_0x3739d6){let _0xbae766=!0x1;const {removed:_0xcc1752,inserted:_0x2cfbfe,moved:_0x285134}=this['_footnoteRefsTracker']['getChanges'](_0x3739d6);for(const _0x35c9fb of _0xcc1752)this['_handleRemoveFootnoteReferenceById'](_0x418ae0,_0x35c9fb)&&(_0xbae766=!0x0);for(const _0x442858 of _0x2cfbfe)this['_handleInsertedFootnoteReference'](_0x418ae0,_0x442858)&&(_0xbae766=!0x0);for(const _0x2de16e of _0x285134)this['_handleMovedFootnoteReference'](_0x418ae0,_0x2de16e)&&(_0xbae766=!0x0);return _0xbae766;}['_handleFootnotesDefinitionsObjectSync'](_0x40acc6){if(!this['_footnotesDefinitions'])return!0x1;let _0x351e29=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2855d2=[];for(const _0x175b95 of this['_footnotesDefinitions']['getChildren']()){const _0x49034b=_0x175b95['getAttribute']('footnoteId');this['getFootnote'](_0x49034b)||(_0x2855d2['unshift'](_0x175b95),_0x351e29=!0x0);}for(const _0x232604 of _0x2855d2)_0x40acc6['remove'](_0x232604);}const _0xb95fc8=new Set(),_0x359077=[];for(const _0x1180f6 of this['_footnotesDefinitions']['getChildren']()){const _0x742686=_0x1180f6['getAttribute']('footnoteId');_0xb95fc8['has'](_0x742686)?(_0x359077['unshift'](_0x1180f6),_0x351e29=!0x0):_0xb95fc8['add'](_0x742686);}for(const _0x140418 of _0x359077)_0x40acc6['remove'](_0x140418);return this['_footnotesDefinitions']['childCount']||(_0x40acc6['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x351e29=!0x0),_0x351e29;}['_handleInsertedFootnoteReference'](_0x3add67,_0x35faee){if(this['_footnotes']['find'](_0x25d2a3=>_0x25d2a3['reference']===_0x35faee))return!0x1;let _0x21218e=!0x1;const _0x2820d9=_0x35faee['getAttribute']('footnoteId'),_0x506c3f=this['_footnotes']['findIndex'](_0x4b33ac=>_0x4b33ac['id']===_0x2820d9);-0x1!==_0x506c3f&&(_0x3add67['remove'](this['_footnotes'][_0x506c3f]['reference']),this['_footnotes']['splice'](_0x506c3f,0x1),_0x21218e=!0x0);let _0x1ee316=this['_footnotesDefinitions']?function(_0x52c81b,_0x20679a){for(const _0x1c535b of _0x52c81b['getChildren']())if(_0x1c535b['getAttribute']('footnoteId')===_0x20679a)return _0x1c535b;return null;}(this['_footnotesDefinitions'],_0x2820d9):null;_0x1ee316||(_0x1ee316=_0x3add67['createElement']('footnoteDefinition',{'footnoteId':_0x2820d9}),this['_footnotesDefinitions']&&(_0x3add67['insert'](_0x1ee316,this['_footnotesDefinitions'],'end'),_0x21218e=!0x0));const _0x44e3c1={'id':_0x2820d9,'reference':_0x35faee,'definition':_0x1ee316},_0x5c4cf5=I(this['editor']['model'],this['_footnotes'],_0x35faee);this['_footnotes']['splice'](_0x5c4cf5,0x0,_0x44e3c1);let _0x51d204=_0x5c4cf5;return-0x1!==_0x506c3f&&(_0x51d204=Math['min'](_0x5c4cf5,_0x506c3f)),this['_updateFootnotesCounters'](_0x3add67,_0x51d204)&&(_0x21218e=!0x0),_0x21218e;}['_handleRemoveFootnoteReferenceById'](_0x1e1eef,_0x4bff87){const _0x5f5769=this['_footnotes']['findIndex'](_0x58289d=>_0x58289d['id']===_0x4bff87);if(-0x1===_0x5f5769)return!0x1;let _0x28fb4b=!0x1;const _0x4abdc1=this['_footnotes'][_0x5f5769];return'$graveyard'!==_0x4abdc1['definition']['root']['rootName']&&(_0x1e1eef['remove'](_0x4abdc1['definition']),_0x28fb4b=!0x0),this['_footnotes']['splice'](_0x5f5769,0x1),this['_updateFootnotesCounters'](_0x1e1eef,_0x5f5769)&&(_0x28fb4b=!0x0),_0x28fb4b;}['_handleMovedFootnoteReference'](_0x24ebaf,_0x467563){const _0x29252b=_0x467563['getAttribute']('footnoteId'),_0x4cccc3=this['_footnotes']['findIndex'](_0x298132=>_0x298132['id']===_0x29252b),_0x54a9ef=this['_footnotes'][_0x4cccc3];let _0x2aa06b=!0x1;_0x54a9ef['reference']=_0x467563,this['_footnotes']['splice'](_0x4cccc3,0x1);const _0x4ab9b9=I(this['editor']['model'],this['_footnotes'],_0x467563);return this['_footnotes']['splice'](_0x4ab9b9,0x0,_0x54a9ef),this['_updateFootnotesCounters'](_0x24ebaf,Math['min'](_0x4cccc3,_0x4ab9b9))&&(_0x2aa06b=!0x0),_0x2aa06b;}['_updateFootnoteRefCounter'](_0x18f1e4,_0x42876d){if(!this['_footnotesDefinitions'])return!0x1;const _0x335fba=this['_footnotes'][_0x42876d];let _0x3b34d3;return _0x3b34d3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x335fba,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x42876d+0x1}):String(_0x42876d+0x1),_0x335fba['reference']['getAttribute']('footnoteCounter')!=_0x3b34d3&&(_0x18f1e4['setAttribute']('footnoteCounter',_0x3b34d3,_0x335fba['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f5e99){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x180060,_0x3b6340){if(_0x180060['length']!==_0x3b6340['length'])return!0x1;for(let _0xfd7c9a=0x0;_0xfd7c9a<_0x180060['length'];_0xfd7c9a++)if(_0x180060[_0xfd7c9a]!==_0x3b6340[_0xfd7c9a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x147440=>_0x147440['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x18a8c0=>_0x18a8c0['getAttribute']('footnoteId'))))return!0x1;let _0x4c5465=!0x1;for(let _0x24f21d=0x0;_0x24f21d<this['_footnotes']['length'];_0x24f21d++){const _0x17c093=this['_footnotes'][_0x24f21d],_0x37bf3d=_0x2f5e99['createPositionBefore'](_0x17c093['definition']),_0x3758ca=_0x2f5e99['createPositionAt'](this['_footnotesDefinitions'],_0x24f21d);_0x37bf3d['isEqual'](_0x3758ca)||(_0x2f5e99['move'](_0x2f5e99['createRangeOn'](_0x17c093['definition']),_0x3758ca),_0x4c5465=!0x0);}return _0x4c5465;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2f4892){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1db1d4}=this['editor'];let _0x10ed75=!0x1;for(let _0x2de438=0x0;_0x2de438<this['_footnotes']['length']-0x1;_0x2de438++){const _0x31acbd=this['_footnotes'][_0x2de438],_0x48ce11=this['_footnotes'][_0x2de438+0x1],_0x584c7d=_0x1db1d4['createPositionBefore'](_0x31acbd['reference']),_0x4a68b0=_0x1db1d4['createPositionBefore'](_0x48ce11['reference']);'after'===_0x584c7d['compareWith'](_0x4a68b0)&&(this['_handleMovedFootnoteReference'](_0x2f4892,_0x31acbd['reference']),_0x2de438=-0x1,_0x10ed75=!0x0);}return _0x10ed75;}}function _(_0x144567,_0x5a9823,_0x175ab0){if(_0x175ab0['childCount'])return!0x1;const _0x2155ab=_0x5a9823?'paragraph':'footnoteInlineContent';return _0x144567['insert'](_0x144567['createElement'](_0x2155ab),_0x175ab0),!0x0;}function I(_0xd07b22,_0x53c594,_0x3cb535){if(0x0===_0x53c594['length'])return 0x0;const _0x3c5caa=_0xd07b22['createPositionBefore'](_0x3cb535);for(let _0x4c3993=0x0;_0x4c3993<_0x53c594['length'];_0x4c3993++){const _0x497233=_0x53c594[_0x4c3993],_0x5aa1a5=_0xd07b22['createPositionBefore'](_0x497233['reference']);if('before'===_0x3c5caa['compareWith'](_0x5aa1a5))return _0x4c3993;}const _0x5cd17b=_0x3cb535['root'];let _0x202892=-0x1;for(let _0x1ea82e=_0x53c594['length']-0x1;_0x1ea82e>=0x0;_0x1ea82e--)if(_0x53c594[_0x1ea82e]['reference']['root']===_0x5cd17b){_0x202892=_0x1ea82e;break;}if(-0x1!==_0x202892)return _0x202892+0x1;const _0x1eb78d=_0xd07b22['document']['getRootNames'](),_0x5d5ef2=_0x1eb78d['indexOf'](_0x5cd17b['rootName']),_0x157f2f=_0x1eb78d[_0x5d5ef2+0x1];if(_0x157f2f){for(let _0x8b976d=0x0;_0x8b976d<_0x53c594['length'];_0x8b976d++)if(_0x53c594[_0x8b976d]['reference']['root']['rootName']===_0x157f2f)return _0x8b976d;}return _0x53c594['length'];}class m extends _0x17915a{['refresh'](){const _0xe90f30=this['editor']['model']['document']['selection'],_0x228d8f=this['_getPositionToInsertFootnote'](_0xe90f30);this['isEnabled']=!!_0x228d8f;}['execute'](_0x2cec43){const {editor:_0x5b19f5}=this,{model:_0x1b05c1}=_0x5b19f5,{selection:_0x2d9de1}=_0x1b05c1['document'],_0x13d286=this['_getPositionToInsertFootnote'](_0x2d9de1);if(!_0x13d286)return;const _0x4eb554=_0x5b19f5['plugins']['get']('FootnotesEditing'),_0x4bc6a1=_0x2cec43?.['footnoteId']??_0x42f69e();!function(_0x188856){return'string'==typeof _0x188856&&_0x188856['length']>0x0&&!/\s/['test'](_0x188856)&&!/^\d/['test'](_0x188856);}(_0x4bc6a1)?_0x4a715e('insert-footnote-command-executed-with-invalid-id'):(_0x1b05c1['change'](_0x59eb31=>{const _0xf7db71=_0x59eb31['createElement']('footnoteRef',{'footnoteId':_0x4bc6a1});_0x1b05c1['insertObject'](_0xf7db71,_0x13d286,null);}),_0x4eb554['_moveSelectionToFootnoteDefinition'](_0x4bc6a1));}['_getPositionToInsertFootnote'](_0x1f1ed0){const {model:_0x3248a2}=this['editor'],{schema:_0x15230a}=_0x3248a2,_0x14577d=_0x1f1ed0['getFirstRange']();for(const _0x179213 of _0x14577d['getItems']())if(_0x15230a['isBlock'](_0x179213)||_0x15230a['isObject'](_0x179213))return null;const _0x1529db=_0x14577d['end'];return _0x15230a['checkChild'](_0x1529db,'footnoteRef')?_0x1529db:null;}}class r extends _0x443da6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3dc543}=this;_0x3dc543['config']['define']('footnotes.multiBlock',!0x0),_0x3dc543['commands']['add']('insertFootnote',new m(_0x3dc543)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18248c){const _0xa894f4=_0x196052([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]),_0x47d899=0x47a28506,_0x568039=0x47a5f2f6^_0x47d899,_0x231507=window[_0x196052([0x44,0x61,0x74,0x65])][_0x196052([0x6e,0x6f,0x77])](),_0x3ba9f6=_0x18248c[_0x196052([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a4462=new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x310e07=>{_0x3ba9f6[_0x196052([0x6f,0x6e,0x63,0x65])](_0x196052([0x72,0x65,0x61,0x64,0x79]),_0x310e07);}),_0x2e7ecc={[_0x196052([0x6b,0x74,0x79])]:_0x196052([0x45,0x43]),[_0x196052([0x75,0x73,0x65])]:_0x196052([0x73,0x69,0x67]),[_0x196052([0x63,0x72,0x76])]:_0x196052([0x50,0x2d,0x32,0x35,0x36]),[_0x196052([0x78])]:_0x196052([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]),[_0x196052([0x79])]:_0x196052([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]),[_0x196052([0x61,0x6c,0x67])]:_0x196052([0x45,0x53,0x32,0x35,0x36])},_0x331146=_0x3ba9f6[_0x196052([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x196052([0x67,0x65,0x74])](_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x377311(){let _0x59e83b,_0x3f56b1=null,_0x38836b=null;try{if(_0x331146==_0x196052([0x47,0x50,0x4c]))return _0x196052([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59e83b=_0x4a1199(),!_0x59e83b)return _0x196052([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59e83b[_0x196052([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38836b=_0x33bfff(_0x59e83b[_0x196052([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59e83b[_0x196052([0x6a,0x74,0x69])])),await _0x2e52db()?_0x59053b()?_0x774d4c()?_0x196052([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e6132()?(_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x196052([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f56b1=_0x339fec(_0x196052([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x196052([0x74,0x72,0x69,0x61,0x6c])&&(_0x3f56b1=_0x339fec(_0x196052([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x438a2c()):_0x196052([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x196052([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x196052([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x196052([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x774d4c(){const _0x599f07=[_0x196052([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x196052([0x74,0x72,0x69,0x61,0x6c])][_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x231507/0x3e8:0xe10*_0x568039;return _0x59e83b[_0x196052([0x65,0x78,0x70])]<_0x599f07;}function _0x59053b(){const _0x33e405=_0x59e83b[_0x196052([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33e405&&(!!_0x33e405[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196052([0x2a]))||!!_0x33e405[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196052([0x46,0x4f,0x4f])));}function _0x1e6132(){const _0x7b608f=_0x59e83b[_0x196052([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7b608f||0x0==_0x7b608f[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c9aff}=new URL(window[_0x196052([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7b608f[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c9aff))return!0x0;const _0x565e65=_0x5c9aff[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e]));return _0x7b608f[_0x196052([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aab55=>_0x3aab55[_0x196052([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196052([0x2a])))[_0x196052([0x6d,0x61,0x70])](_0x9f384a=>_0x9f384a[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e])))[_0x196052([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x516dc7=>_0x516dc7[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x565e65[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x196052([0x6d,0x61,0x70])](_0x5121b1=>Array(_0x565e65[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5121b1[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x196052([0x66,0x69,0x6c,0x6c])](_0x5121b1[0x0]===_0x196052([0x2a])?_0x196052([0x2a]):'')[_0x196052([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5121b1))[_0x196052([0x73,0x6f,0x6d,0x65])](_0x1c6061=>_0x565e65[_0x196052([0x65,0x76,0x65,0x72,0x79])]((_0x33b74b,_0x7ac8de)=>_0x1c6061[_0x7ac8de]===_0x33b74b||_0x1c6061[_0x7ac8de]===_0x196052([0x2a])));}function _0x438a2c(){return _0x3f56b1&&_0x38836b?new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x543e9c,_0x3743ea)=>{_0x3f56b1[_0x196052([0x74,0x68,0x65,0x6e])](_0x543e9c,_0x3743ea),_0x38836b[_0x196052([0x74,0x68,0x65,0x6e])](_0x5c2b36=>{_0x5c2b36!=_0x196052([0x56,0x61,0x6c,0x69,0x64])&&_0x543e9c(_0x5c2b36);},_0x3743ea);}):_0x3f56b1||_0x38836b||_0x196052([0x56,0x61,0x6c,0x69,0x64]);}}function _0x33bfff(_0x5d4488,_0x111410){return new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x65bc82=>{if(_0x22435f())return _0x65bc82(_0x196052([0x56,0x61,0x6c,0x69,0x64]));_0x4799c4(),_0x3ba9f6[_0x196052([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x196052([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xee7471=!0x1;const _0x49a06f=_0x42f69e();function _0x49b033(_0x103fdb){return!!_0x103fdb&&(typeof _0x103fdb===_0x196052([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x103fdb===_0x196052([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x103fdb[_0x196052([0x74,0x68,0x65,0x6e])]===_0x196052([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x103fdb[_0x196052([0x63,0x61,0x74,0x63,0x68])]===_0x196052([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2610de(_0x210339){_0x14d6b9(_0x210339)[_0x196052([0x74,0x68,0x65,0x6e])](_0x1120d4=>{if(!_0x1120d4||_0x1120d4[_0x196052([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x196052([0x6f,0x6b]))return _0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2120fc(_0x7fa0bb(_0x49a06f+_0x111410))!=_0x1120d4[_0x196052([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x196052([0x56,0x61,0x6c,0x69,0x64]);})[_0x196052([0x74,0x68,0x65,0x6e])](_0x1f033b=>(_0x188ee6(),_0x1f033b),()=>{const _0x369177=_0x9faa0e();return null==_0x369177?(_0x188ee6(),_0x196052([0x56,0x61,0x6c,0x69,0x64])):_0x196052(_0x231507-_0x369177>(0x63ae0106^_0x47d899)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x196052([0x74,0x68,0x65,0x6e])](_0x65bc82)[_0x196052([0x63,0x61,0x74,0x63,0x68])](()=>{_0x65bc82(_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48a172=0x47946b86^_0x47d899;function _0x188ee6(){const _0x35bbe7=_0x196052([0x6c,0x6c,0x63,0x74,0x2d])+_0x2120fc(_0x7fa0bb(_0x5d4488)),_0x4d8be2=_0x260451(_0x2120fc(window[_0x196052([0x4d,0x61,0x74,0x68])][_0x196052([0x63,0x65,0x69,0x6c])](_0x231507/_0x48a172)));window[_0x196052([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x196052([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x35bbe7,_0x4d8be2);}function _0x9faa0e(){const _0x2d4e75=_0x196052([0x6c,0x6c,0x63,0x74,0x2d])+_0x2120fc(_0x7fa0bb(_0x5d4488)),_0x452a21=window[_0x196052([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x196052([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d4e75);return _0x452a21?window[_0x196052([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260451(_0x452a21),0x10)*_0x48a172:null;}function _0x14d6b9(_0x593542){return new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51e6cd,_0x24f997)=>{_0x593542[_0x196052([0x74,0x68,0x65,0x6e])](_0x51e6cd,_0x24f997),window[_0x196052([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24f997,0x47a351c6^_0x47d899);});}}_0x3ba9f6[_0x196052([0x6f,0x6e])](_0x196052([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3508ed,_0x554cd1)=>{if(_0x554cd1[0x0]!=_0x5d4488)return _0x65bc82(_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x554cd1[0x1]={..._0x554cd1[0x1],[_0x196052([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49a06f};},{[_0x196052([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x196052([0x68,0x69,0x67,0x68])}),_0x3ba9f6[_0x196052([0x6f,0x6e])](_0x196052([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x55e994=>{_0x49b033(_0x55e994[_0x196052([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xee7471=!0x0,_0x2610de(_0x55e994[_0x196052([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x196052([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x196052([0x6c,0x6f,0x77])}),_0x2a4462[_0x196052([0x74,0x68,0x65,0x6e])](()=>{_0xee7471||_0x65bc82(_0x196052([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22435f(){return _0x3ba9f6[_0x196052([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x196052([0x76,0x69,0x65,0x77])][_0x196052([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x196052([0x61,0x75,0x74,0x6f]);}function _0x4799c4(){_0x3ba9f6[_0x196052([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x196052([0x76,0x69,0x65,0x77])][_0x196052([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x196052([0x61,0x75,0x74,0x6f]);}}function _0x339fec(_0x428e5f){const _0x2e6b54=[new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55745c=>setTimeout(_0x55745c,0x47abbbca^_0x47d899)),_0x2a4462[_0x196052([0x74,0x68,0x65,0x6e])](()=>new window[(_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5032=>{let _0x2ea0a9=0x0;_0x3ba9f6[_0x196052([0x6d,0x6f,0x64,0x65,0x6c])][_0x196052([0x6f,0x6e])](_0x196052([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x50dfe5,_0x258c03)=>{_0x258c03[0x0][_0x196052([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea0a9++,_0x2ea0a9==(0x47a284fe^_0x47d899)&&(_0x2a5032(),_0x50dfe5[_0x196052([0x6f,0x66,0x66])]());});}))];return window[_0x196052([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x196052([0x72,0x61,0x63,0x65])](_0x2e6b54)[_0x196052([0x74,0x68,0x65,0x6e])](()=>_0x428e5f);}async function _0x2251ec(){await _0x2a4462,_0x3ba9f6[_0x196052([0x6d,0x6f,0x64,0x65,0x6c])][_0x196052([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2645b2,_0x3ba9f6[_0x196052([0x6d,0x6f,0x64,0x65,0x6c])][_0x196052([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2645b2,_0x3ba9f6[_0x196052([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x196052([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd181b8(_0x4d8ea9){const _0x40069a=_0x31d03a();_0x3ba9f6[_0x40069a]=_0x196052([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4d8ea9,_0x4d8ea9!=_0x196052([0x56,0x61,0x6c,0x69,0x64])&&_0x2251ec();}function _0x31d03a(){const _0x1c4c75=window[_0x196052([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x196052([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x196052([0x6e,0x6f,0x77])]())[_0x196052([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x196052([0x2e]),'');let _0x23f556=_0x196052([0x75]);for(let _0x5ed8f4=0x0;_0x5ed8f4<_0x1c4c75[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ed8f4+=0x2){let _0x3faa27=window[_0x196052([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c4c75[_0x196052([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ed8f4,_0x5ed8f4+0x2));_0x3faa27>=_0xa894f4[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3faa27-=_0xa894f4[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23f556+=_0xa894f4[_0x3faa27];}return _0x23f556;}function _0x4a1199(){const _0x3994b1=_0x331146[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e]));if(0x3!=_0x3994b1[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xda765c(_0x3994b1[0x1]);function _0xda765c(_0xbdb6d4){const _0x1203cb=_0x474c14(_0xbdb6d4);return _0x1203cb&&_0x2e0822()?_0x1203cb:null;function _0x2e0822(){const _0x49e0cf=_0x1203cb[_0x196052([0x6a,0x74,0x69])],_0x2878fa=window[_0x196052([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49e0cf[_0x196052([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49e0cf[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52f443={..._0x1203cb,[_0x196052([0x6a,0x74,0x69])]:_0x49e0cf[_0x196052([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49e0cf[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52f443[_0x196052([0x76,0x63])],_0x7fa0bb(_0x52f443)==_0x2878fa;}}}async function _0x2e52db(){let _0x3c057f=!0x0;try{const _0x26fe22=_0x331146[_0x196052([0x73,0x70,0x6c,0x69,0x74])](_0x196052([0x2e])),[_0x41800b,_0x5e9137,_0x37650f]=_0x26fe22;return _0xa8b471(_0x41800b),await _0xab0502(_0x41800b,_0x5e9137,_0x37650f),_0x3c057f;}catch{return!0x1;}function _0xa8b471(_0x17d424){const _0x4264c1=_0x474c14(_0x17d424);_0x4264c1&&_0x4264c1[_0x196052([0x61,0x6c,0x67])]==_0x196052([0x45,0x53,0x32,0x35,0x36])||(_0x3c057f=!0x1);}async function _0xab0502(_0x17ce1a,_0x52673f,_0x2f99cf){const _0x33639d=window[_0x196052([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x196052([0x66,0x72,0x6f,0x6d])](_0x37e847(_0x2f99cf),_0x30075e=>_0x30075e[_0x196052([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1017a3=new window[(_0x196052([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x196052([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17ce1a+_0x196052([0x2e])+_0x52673f),_0x15b386=window[_0x196052([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x196052([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15b386)return;const _0x23602a=await _0x15b386[_0x196052([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x196052([0x6a,0x77,0x6b]),_0x2e7ecc,{[_0x196052([0x6e,0x61,0x6d,0x65])]:_0x196052([0x45,0x43,0x44,0x53,0x41]),[_0x196052([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x196052([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x196052([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15b386[_0x196052([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x196052([0x6e,0x61,0x6d,0x65])]:_0x196052([0x45,0x43,0x44,0x53,0x41]),[_0x196052([0x68,0x61,0x73,0x68])]:{[_0x196052([0x6e,0x61,0x6d,0x65])]:_0x196052([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23602a,_0x33639d,_0x1017a3)||(_0x3c057f=!0x1);}}function _0x474c14(_0x353127){return _0x353127[_0x196052([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x196052([0x65,0x79]))?JSON[_0x196052([0x70,0x61,0x72,0x73,0x65])](_0x37e847(_0x353127)):null;}function _0x37e847(_0x4ec0d9){return window[_0x196052([0x61,0x74,0x6f,0x62])](_0x4ec0d9[_0x196052([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x196052([0x2b]))[_0x196052([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x196052([0x2f])));}function _0x7fa0bb(_0x383a34){let _0x49cbe5=0x1505;function _0x1179be(_0x4f454d){for(let _0x21f34b=0x0;_0x21f34b<_0x4f454d[_0x196052([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21f34b++){const _0x5c48c0=_0x4f454d[_0x196052([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x21f34b);_0x49cbe5=(_0x49cbe5<<0x5)+_0x49cbe5+_0x5c48c0,_0x49cbe5&=_0x49cbe5;}}function _0x3f0b92(_0x55851a){Array[_0x196052([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55851a)?_0x55851a[_0x196052([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f0b92):_0x55851a&&typeof _0x55851a==_0x196052([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x196052([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55851a)[_0x196052([0x73,0x6f,0x72,0x74])]()[_0x196052([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xbc6793,_0x1a47fa])=>{_0x1179be(_0xbc6793),_0x3f0b92(_0x1a47fa);}):_0x1179be(window[_0x196052([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55851a));}return _0x3f0b92(_0x383a34),_0x49cbe5>>>0x0;}function _0x2120fc(_0x42961d){return _0x42961d[_0x196052([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x196052([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x196052([0x30]));}function _0x260451(_0x3b3928){return _0x3b3928[_0x196052([0x73,0x70,0x6c,0x69,0x74])]('')[_0x196052([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x196052([0x6a,0x6f,0x69,0x6e])]('');}function _0x2645b2(){}function _0x196052(_0x499024){return _0x499024['map'](_0x5534ca=>String['fromCharCode'](_0x5534ca))['join']('');}_0xd181b8(await _0x377311());}(this);}['_moveSelectionToFootnoteDefinition'](_0x25c4d5){const {plugins:_0x457297,editing:_0x2db2df,model:_0x156cf}=this['editor'],_0x29cf6d=_0x457297['get'](c)['getFootnote'](_0x25c4d5);return!!_0x29cf6d&&(_0x156cf['change'](_0x404b18=>{_0x404b18['setSelection'](_0x404b18['createPositionAt'](_0x29cf6d['definition'],'end'));}),_0x2db2df['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x219d74){const {plugins:_0x6be278,editing:_0x33db75,model:_0x55bc52}=this['editor'],_0x135297=_0x6be278['get'](c)['getFootnote'](_0x219d74);return!!_0x135297&&(_0x55bc52['change'](_0x3b2f76=>{_0x3b2f76['setSelection'](_0x135297['reference'],'on');}),_0x33db75['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x45d143}=this['editor']['model'],_0x1a2116=this['editor']['config']['get']('footnotes.multiBlock');_0x45d143['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x45d143['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x45d143['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1a2116?_0x45d143['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x45d143['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x45d143['addChildCheck'](_0x5a711a=>{for(const _0x582ff9 of _0x5a711a)if('footnoteDefinition'===_0x582ff9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x785a05}=this,{conversion:_0x3939ca,editing:_0x1fc7ee}=_0x785a05,{t:t}=_0x785a05['locale'];_0x3939ca['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x35d6ef,{writer:_0x52beb4,consumable:_0x32ea7d})=>{const _0x1a7c85=_0x35d6ef['getChild'](0x0);if(!_0x1a7c85||!_0x1a7c85['is']('element','a'))return null;const _0x6f9df5=_0x1a7c85['getAttribute']('href')||'';if(!_0x6f9df5['startsWith']('#'))return null;const _0x2a8565=_0x6f9df5['replace'](/^#/,'');if(!_0x2a8565)return null;_0x32ea7d['consume'](_0x1a7c85,{'name':!0x0,'attributes':['href']});for(const {item:_0x288f0c}of _0x1fc7ee['view']['createRangeIn'](_0x1a7c85))_0x288f0c['is']('$textProxy')?_0x32ea7d['consume'](_0x288f0c['textNode'],{'name':!0x0}):_0x288f0c['is']('element')&&_0x32ea7d['consume'](_0x288f0c,{'name':!0x0});return _0x52beb4['createElement']('footnoteRef',{'footnoteId':_0x2a8565});}}),_0x3939ca['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x17f090,{writer:_0x4dacfb})=>D(_0x17f090,_0x4dacfb)}),_0x3939ca['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x102c2e,{writer:_0x46998e})=>{const _0x30ba27=_0x102c2e['getAttribute']('footnoteCounter');return _0x9a8430(D(_0x102c2e,_0x46998e),_0x46998e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x30ba27)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3c2d93}=this,{t:t}=_0x3c2d93['locale'],{conversion:_0x1ac56b}=_0x3c2d93;_0x1ac56b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1ac56b['for']('upcast')['add'](_0x274289=>{_0x274289['on']('element:ol',(_0x340e3f,_0x3db5fe,_0x3fae8d)=>{const _0x1d28f3=_0x3db5fe['viewItem'];if(!_0x1d28f3['hasClass']('footnotes-list')||!_0x3db5fe['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3fae8d['consumable']['consume'](_0x1d28f3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x449ab6,modelCursor:_0xb4c18b}=_0x3fae8d['convertChildren'](_0x3db5fe['viewItem'],_0x3db5fe['modelCursor']);_0x3db5fe['modelRange']=_0x449ab6,_0x3db5fe['modelCursor']=_0xb4c18b;}),_0x274289['on']('element:hr',(_0x3d6155,_0x5832d7,_0x2b2f69)=>{const _0x548c54=_0x5832d7['viewItem'];_0x548c54['hasClass']('footnotes-divider')&&_0x5832d7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2b2f69['consumable']['consume'](_0x548c54,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1ac56b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x32aeea,{writer:_0xb8cc60})=>v(_0xb8cc60)}),_0x1ac56b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x391d10,{writer:_0x3d2609})=>{const _0x397b5e=v(_0x3d2609,{'data-footnotes-list-label':t('Footnotes')}),_0x36d913=_0x9a8430(_0x397b5e,_0x3d2609,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3d2609['setCustomProperty']('footnotesDefinitions',!0x0,_0x36d913),_0x36d913;}});}['_defineDefinitionConverters'](){const {editor:_0x3deb1a}=this,{conversion:_0x2511c4,locale:_0x4d72e8}=_0x3deb1a,_0x28d9a8=_0x3deb1a['config']['get']('footnotes.multiBlock');_0x2511c4['for']('upcast')['add'](_0x2d4ffb=>{_0x2d4ffb['on']('element:li',(_0x5c04af,_0x1abf18,_0x1124df)=>{const _0x124724=_0x1abf18['viewItem'];if(!_0x124724['hasClass']('footnote-definition')||!_0x124724['getAttribute']('id'))return;const _0x2688b7=_0x124724['parent'];if(!_0x2688b7['is']('element','ol')||!_0x2688b7['hasClass']('footnotes-list'))return;if(!_0x1124df['consumable']['test'](_0x124724,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xe7fc07=_0x1124df['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x124724['getAttribute']('id')});if(!_0x1124df['safeInsert'](_0xe7fc07,_0x1abf18['modelCursor']))return;_0x1124df['consumable']['consume'](_0x124724,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x35fc44=Array['from'](_0x124724['getChildren']())['find'](_0x402e02=>_0x402e02['is']('element')&&_0x402e02['hasClass']('footnote-content'));for(const _0x52f9f0 of _0x124724['getChildren']())_0x52f9f0['is']('element')&&(_0x1124df['consumable']['consume'](_0x52f9f0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1124df['consumable']['consume'](_0x52f9f0,{'name':!0x0,'classes':'footnote-content'}));if(_0x35fc44){if(_0x28d9a8)_0x1124df['convertChildren'](_0x35fc44,_0xe7fc07);else{const _0x1de48a=_0x1124df['writer']['createElement']('footnoteInlineContent');_0x1124df['writer']['insert'](_0x1de48a,_0xe7fc07),_0x1124df['convertChildren'](_0x35fc44,_0x1de48a);}}_0x1124df['updateConversionResult'](_0xe7fc07,_0x1abf18);});}),_0x2511c4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47f512,{writer:_0x3e73e9})=>b(_0x47f512,_0x3e73e9,_0x4d72e8,{'dataPipeline':!0x0})}),_0x2511c4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1255d4,{writer:_0x23fe93})=>b(_0x1255d4,_0x23fe93,_0x4d72e8)});}['_defineBogusParagraphConverters'](){const {editor:_0x5698f7}=this,{conversion:_0x357e19}=_0x5698f7;_0x5698f7['config']['get']('footnotes.multiBlock')?(_0x357e19['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x357e19['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5698f7['model']['document'],'change:data',()=>{!function(_0x4d076b,_0x4d9b19){const _0x20411d=_0x4d076b['document']['differ'],_0x1d832a=new Set();for(const _0x560fef of _0x20411d['getChanges']()){const _0x228b54='attribute'==_0x560fef['type']?_0x560fef['range']['start']['parent']:_0x560fef['position']['parent'];_0x228b54['is']('element','footnoteDefinition')&&_0x1d832a['add'](_0x228b54);}for(const _0x33544f of _0x1d832a['values']()){const _0xf18c0f=Array['from'](_0x33544f['getChildren']())['filter'](_0x520881=>g(_0x520881,_0x4d9b19['mapper']));for(const _0x4b06c3 of _0xf18c0f)_0x4d9b19['reconvertItem'](_0x4b06c3);}}(_0x5698f7['model'],_0x5698f7['editing']);})):(_0x357e19['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x357e19['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1a2cc9,{writer:_0x2130b5})=>{const _0xa2f355=_0x2130b5['createContainerElement']('span');return _0x2130b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xa2f355),_0xa2f355;}}));}['_defineKeyboardHandlers'](){const {editor:_0x40dcc6}=this,{editing:_0x282086,t:t}=_0x40dcc6,_0x1ff6b5=_0x40dcc6['model']['document']['selection'];_0x40dcc6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x40dcc6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x282086['view']['document'],'enter',(_0x16c508,_0x3a0b26)=>{const _0x1415fe=function(_0x17d945){const _0x67e802=_0x17d945['getSelectedElement']();if(_0x67e802?.['is']('element','footnoteRef'))return _0x67e802;return null;}(_0x1ff6b5);if(_0x1415fe){const _0x4e2376=_0x1415fe['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4e2376),_0x3a0b26['preventDefault'](),_0x16c508['stop']();}},{'context':_0x1a371d});}['_defineClickHandlers'](){const {editor:_0x3472fa}=this,{editing:_0x1d5d43}=_0x3472fa;_0x3472fa['editing']['view']['addObserver'](_0x4ac34b),_0x3472fa['editing']['view']['addObserver'](_0x224778);let _0x3d9e61=!0x1;this['listenTo'](_0x1d5d43['view']['document'],'pointerdown',(_0x373139,_0x2ba159)=>{const {target:_0x14c258}=_0x2ba159,_0x76b0e7=_0x1d5d43['view']['document']['selection'];_0x3d9e61=!!(_0x14c258?.['is']('element','a')&&_0x14c258['parent']?.['is']('element','sup')&&_0x14c258['parent']['hasClass']('footnote'))&&_0x76b0e7['getSelectedElement']()===_0x14c258['parent'];},{'priority':'high'}),this['listenTo'](_0x1d5d43['view']['document'],'click',(_0x2ee4,_0x51b253)=>{const {target:_0x4879ae}=_0x51b253;if(!_0x4879ae?.['is']('element','a'))return;if(_0x4879ae['parent']?.['is']('element','sup')&&_0x4879ae['parent']['hasClass']('footnote')&&!_0x3d9e61)return void _0x51b253['preventDefault']();let _0x7fb642=_0x4879ae['getAttribute']('href');if(!_0x7fb642?.['startsWith']('#'))return;_0x7fb642=_0x7fb642['slice'](0x1);let _0x550b47=!0x1;(_0x7fb642['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x7fb642['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x7fb642))&&(_0x550b47=!0x0),_0x550b47&&(_0x51b253['preventDefault'](),_0x2ee4['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x331801}={}){return(_0x324ae7,{writer:_0x620ce6})=>{if(!p(_0x324ae7))return null;if(!_0x331801)return _0x620ce6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x595b51=_0x620ce6['createContainerElement']('p');return _0x620ce6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x595b51),_0x595b51;};}function p(_0x2f19a0){const {parent:_0x27d242}=_0x2f19a0;if(!_0x27d242?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x27d242['childCount'])return!0x1;for(const _0x463827 of _0x2f19a0['getAttributeKeys']())if(!_0x463827['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x463827)return!0x1;return!0x0;}function g(_0x491fd2,_0x7557fe){if(!_0x491fd2['is']('element','paragraph'))return!0x1;const _0x443762=_0x7557fe['toViewElement'](_0x491fd2);return!!_0x443762&&p(_0x491fd2)!==_0x443762['is']('element','span');}function J(_0x2d068f){return _0x1a371d(_0x2d068f)&&_0x2d068f['is']('containerElement')&&!!_0x2d068f['getCustomProperty']('footnotesDefinitions');}function v(_0xdaa6ed,_0x3cb2c0={}){const _0x5de77a=_0xdaa6ed['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x687002=_0xdaa6ed['createContainerElement']('ol',{'class':'footnotes-list'},_0xdaa6ed['createSlot']());return _0xdaa6ed['createContainerElement']('div',{'class':'footnotes',..._0x3cb2c0},[_0x5de77a,_0x687002]);}function D(_0x181ed5,_0x44c660){const _0x17d7f7=_0x181ed5['getAttribute']('footnoteId'),_0x22bb80=_0x181ed5['getAttribute']('footnoteCounter'),_0x3af3c4=_0x44c660['createUIElement']('a',{'href':'#'+_0x17d7f7},function(_0x38c81a){const _0x5675ea=this['toDomElement'](_0x38c81a);return _0x5675ea['textContent']=_0x22bb80,_0x5675ea;}),_0x5e5bfe=_0x44c660['createContainerElement']('sup',{'id':'ref-'+_0x17d7f7,'class':'footnote'},[_0x3af3c4]);return _0x5e5bfe['getFillerOffset']=()=>null,_0x5e5bfe;}function b(_0x197117,_0x13707a,_0x595460,{dataPipeline:_0x11e8b4}={}){const {t:t}=_0x595460,_0x3d64b5=_0x197117['getAttribute']('footnoteId'),_0x55da6c=_0x13707a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3d64b5},function(_0x160442){const _0x234eb9=this['toDomElement'](_0x160442);return _0x234eb9['innerText']='^',_0x234eb9;}),_0x4f7d02=_0x11e8b4?_0x13707a['createContainerElement']('div',{'class':'footnote-content'}):_0x199481(_0x13707a['createEditableElement']('div',{'class':'footnote-content'}),_0x13707a,{'label':t('Footnote\x20content.')});return _0x13707a['insert'](_0x13707a['createPositionAt'](_0x4f7d02,0x0),_0x13707a['createSlot']()),_0x13707a['createContainerElement']('li',{'class':'footnote-definition','id':_0x3d64b5},[_0x55da6c,_0x4f7d02]);}class e extends _0x443da6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x154cbd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5e142a}=this,{plugins:_0x9b4bbd,model:_0x37de24}=_0x5e142a,_0x57a87b=_0x9b4bbd['get'](_0x154cbd),_0x48f5b2=_0x9b4bbd['get'](c);this['listenTo'](_0x57a87b,'outputTransformation',(_0x18566b,_0x88890c)=>{const _0x21454d=f(_0x37de24['createRangeIn'](_0x88890c['content']));if(!_0x21454d['length'])return;const _0x40d83b=_0x48f5b2['getFootnotes'](),_0x453d63=_0x21454d['reduce']((_0x76d8,_0x4d633d)=>{const _0x26fbfa=_0x40d83b['find'](_0x724298=>_0x724298['id']===_0x4d633d);if(_0x26fbfa){const _0x939f65=_0x5e142a['data']['toView'](_0x26fbfa['definition'],{'isClipboardPipeline':!0x0}),_0x270a70=_0x5e142a['data']['htmlProcessor']['toData'](_0x939f65);_0x76d8[_0x26fbfa['id']]=_0x270a70;}return _0x76d8;},Object['create'](null));_0x88890c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x453d63));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1de17c}=this,{model:_0x23aee3,plugins:_0x3f8eb4}=_0x1de17c,{view:_0x21ce48}=_0x1de17c['editing'],_0x371033=_0x3f8eb4['get'](_0x154cbd),_0x26279b=_0x3f8eb4['get'](c);let _0x24eb62=null;this['listenTo'](_0x21ce48['document'],'clipboardInput',(_0x5c01bd,_0x63a46e)=>{const _0x564768=_0x63a46e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x24eb62=_0x564768?JSON['parse'](_0x564768):null;}),this['listenTo'](_0x371033,'contentInsertion',(_0x39a0da,_0xf94f0a)=>{const _0x361e4c=_0xf94f0a['sourceEditorId']===this['editor']['id'];_0x361e4c&&'drop'===_0xf94f0a['method']||_0x23aee3['change'](_0x172109=>{let _0x26d06e=_0x26279b['getFootnotesDefinitionsObjectElement']();const _0x70b212=!!_0x26d06e&&Array['from'](_0x23aee3['document']['selection']['getSelectedBlocks']())['includes'](_0x26d06e);if(_0x26d06e&&!_0x70b212&&function(_0x353f73,_0x291e17){const _0xd570af=[];for(const {item:_0x538528}of _0x353f73['createRangeIn'](_0x291e17))_0x538528['is']('element','footnotesDefinitions')&&_0xd570af['push'](_0x538528);for(const _0x37ba57 of _0xd570af)_0x353f73['remove'](_0x37ba57);}(_0x172109,_0xf94f0a['content']),!_0x24eb62)return;const {selection:_0x38b9de}=_0x23aee3['document'],_0x4cde43=_0x38b9de['getFirstRange']()['root'];_0x26d06e&&!_0x70b212||(_0x26d06e=function(_0x149811,_0x2358d5){for(const {item:_0x35bf69}of _0x149811['createRangeIn'](_0x2358d5))if(_0x35bf69['is']('element','footnotesDefinitions'))return _0x35bf69;return null;}(_0x172109,_0xf94f0a['content']),_0x26d06e||=_0x26279b['_insertEmptyFootnotesDefinitionsContainer'](_0x172109,_0x4cde43));const _0x36adc2=Array['from'](_0x38b9de['getRanges']())['flatMap'](f),_0x42101e=function(_0x194b57,_0x4a6487,_0x1f7bbd){const _0x147e73=Object['create'](null);for(const {item:_0x318e48}of _0x194b57['createRangeIn'](_0x4a6487))if(_0x318e48['is']('element','footnoteRef')){const _0xee045a=_0x318e48['getAttribute']('footnoteId');if(!_0x1f7bbd(_0xee045a))continue;_0x147e73[_0xee045a]||(_0x147e73[_0xee045a]=_0x42f69e()),_0x194b57['setAttribute']('footnoteId',_0x147e73[_0xee045a],_0x318e48);}return _0x147e73;}(_0x172109,_0xf94f0a['content'],_0x2f285e=>{if(!_0x361e4c)return!0x0;return!!_0x26279b['getFootnote'](_0x2f285e)&&!_0x36adc2['includes'](_0x2f285e);});for(const [_0x245ea4,_0xa273a]of Object['entries'](_0x24eb62)){const _0x3dd305=_0x42101e[_0x245ea4]||_0x245ea4,_0x37263a=_0x172109['createElement']('footnoteDefinition',{'footnoteId':_0x3dd305}),_0x4002e7=_0x1de17c['data']['htmlProcessor']['toView'](_0xa273a),_0x30a42b=_0x1de17c['data']['toModel'](_0x4002e7,_0x37263a);_0x172109['append'](_0x30a42b,_0x37263a),_0x172109['insert'](_0x37263a,_0x26d06e,'end');}_0x24eb62=null;});});}}function f(_0x2a9295){const _0x11a21b=new Set();for(const {item:_0x1deff8}of _0x2a9295)_0x1deff8['is']('element','footnoteRef')&&_0x11a21b['add'](_0x1deff8['getAttribute']('footnoteId'));return Array['from'](_0x11a21b);}class i extends _0x443da6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1451cc}=this,{componentFactory:_0x47aa97}=_0x1451cc['ui'];_0x47aa97['add']('insertFootnote',x(_0x1451cc,_0x11e055)),_0x47aa97['add']('menuBar:insertFootnote',x(_0x1451cc,_0x34737a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6defa9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x454b25;for(const _0x4cf579 in _0x6defa9){const _0x276340=_0x4cf579,_0x2a64ae=_0x6defa9[_0x276340];if('footnotesLicenseKeyValid'==_0x2a64ae||'footnotesLicenseKeyInvalid'==_0x2a64ae||'footnotesLicenseKeyExpired'==_0x2a64ae||'footnotesLicenseKeyDomainLimit'==_0x2a64ae||'footnotesLicenseKeyNotAllowed'==_0x2a64ae||'footnotesLicenseKeyEvaluationLimit'==_0x2a64ae||'footnotesLicenseKeyTrialLimit'==_0x2a64ae||'footnotesLicenseKeyUsageLimit'==_0x2a64ae){delete _0x6defa9[_0x276340],_0x454b25=_0x2a64ae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x454b25&&_0x6defa9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x454b25&&_0x6defa9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x454b25&&_0x6defa9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x454b25&&_0x6defa9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x555591,_0x3ed3e5){const _0x3c4f7f=_0x555591['commands']['get']('insertFootnote');return _0xa3e662=>{const {t:t}=_0xa3e662,_0xc29846=new _0x3ed3e5(_0xa3e662),_0x56a24e=_0xc29846 instanceof _0x34737a;return _0xc29846['bind']('isEnabled')['to'](_0x3c4f7f,'isEnabled'),_0xc29846['set']({'label':t(_0x56a24e?'Footnote':'Insert\x20footnote'),'icon':_0x5ecb83,'tooltip':!0x0}),_0xc29846['on']('execute',()=>{_0x3c4f7f['execute'](),_0x555591['editing']['view']['focus']();}),_0xc29846;};}class lt extends _0x443da6{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 _0x17915a{['refresh'](){const {editor:_0x409b98}=this,_0x63118b=_0x409b98['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x63118b,this['value']=_0x63118b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x415256}){const {editor:_0x210aed}=this,_0x371ed3=_0x210aed['plugins']['get'](c),_0x409d80=_0x371ed3['getFootnotesDefinitionsObjectElement']();_0x409d80&&Q['includes'](_0x415256)&&_0x210aed['model']['change'](_0x3b1e02=>{_0x3b1e02['setAttribute']('footnotesListStyle',_0x415256,_0x409d80),_0x371ed3['_updateFootnotesCounters'](_0x3b1e02);});}}class C extends _0x17915a{['refresh'](){const {editor:_0x24e25f}=this,_0x5216e1=_0x24e25f['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5216e1,this['value']=_0x5216e1?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xd45045}){const {editor:_0x20f3ed}=this,_0x46dcfb=_0x20f3ed['plugins']['get'](c),_0x170f21=_0x46dcfb['getFootnotesDefinitionsObjectElement']();_0x170f21&&Number['isInteger'](_0xd45045)&&_0x20f3ed['model']['change'](_0x503736=>{_0x503736['setAttribute']('footnotesListStart',_0xd45045,_0x170f21),_0x46dcfb['_updateFootnotesCounters'](_0x503736);});}}class P extends _0x443da6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17774c}=this;_0x17774c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x17774c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x17774c['commands']['add']('footnotesStyle',new S(_0x17774c)),_0x17774c['commands']['add']('footnotesStart',new C(_0x17774c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x17dcaa}=this,{schema:_0x5ac410}=_0x17dcaa['model'];_0x5ac410['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x39ab99}=this,{conversion:_0x3cac8e,model:_0xf8b9e5}=_0x39ab99,{schema:_0x125bf3}=_0xf8b9e5;_0x3cac8e['for']('upcast')['add'](_0x9a8365=>{_0x9a8365['on']('element:ol',(_0x2eb026,_0x2575f6,_0x5a474e)=>{const _0x2d43c2=_0x2575f6['viewItem'],_0xf085dd=_0x2575f6['modelCursor']?.['parent'];_0x2d43c2['hasClass']('footnotes-list')&&_0xf085dd?.['is']('element','footnotesDefinitions')&&(function(_0x55e41e,_0x25a3b1,_0x413e08,_0x3f59d0){if(!_0x3f59d0['checkAttribute'](_0x25a3b1,'footnotesListStart'))return;let _0x50b6fb=0x1;const _0x77f70f=_0x413e08['consumable']['consume'](_0x55e41e,{'attributes':'start'});if(_0x77f70f){const _0x1227ad=Number['parseInt'](_0x55e41e['getAttribute']('start'),0xa);Number['isNaN'](_0x1227ad)||(_0x50b6fb=_0x1227ad);}!_0x77f70f&&_0x25a3b1['hasAttribute']('footnotesListStart')||_0x413e08['writer']['setAttribute']('footnotesListStart',_0x50b6fb,_0x25a3b1);}(_0x2d43c2,_0xf085dd,_0x5a474e,_0x125bf3),function(_0x2f3c92,_0xfa081d,_0x584a0e,_0x17e93c){if(!_0x17e93c['checkAttribute'](_0xfa081d,'footnotesListStyle'))return;let _0x5756ac='decimal',_0x9946fb=!0x1;if(_0x584a0e['consumable']['consume'](_0x2f3c92,{'attributes':'type'})){const _0x47bc95={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2f3c92['getAttribute']('type')];_0x47bc95&&(_0x5756ac=_0x47bc95),_0x9946fb=!0x0;}_0x584a0e['consumable']['consume'](_0x2f3c92,{'styles':'list-style-type'})&&(_0x5756ac=_0x2f3c92['getStyle']('list-style-type'),_0x9946fb=!0x0),!_0x9946fb&&_0xfa081d['hasAttribute']('footnotesListStyle')||_0x584a0e['writer']['setAttribute']('footnotesListStyle',_0x5756ac,_0xfa081d);}(_0x2d43c2,_0xf085dd,_0x5a474e,_0x125bf3));});}),_0x3cac8e['for']('downcast')['add'](_0x1a340d=>{_0x1a340d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x259f95,_0x3b8f72,_0x5db066)=>{if(!_0x5db066['consumable']['consume'](_0x3b8f72['item'],_0x259f95['name']))return;const _0xc2827e=M(_0x3b8f72['item'],_0x5db066['mapper']),{attributeNewValue:_0x450fdd}=_0x3b8f72;null==_0x450fdd||0x1===_0x450fdd?_0x5db066['writer']['removeAttribute']('start',_0xc2827e):_0x5db066['writer']['setAttribute']('start',String(_0x450fdd),_0xc2827e);}),_0x1a340d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x565e71,_0x3225c3,_0x56fc7b)=>{if(!_0x56fc7b['consumable']['consume'](_0x3225c3['item'],_0x565e71['name']))return;const _0x4075ce=M(_0x3225c3['item'],_0x56fc7b['mapper']),{attributeNewValue:_0x4d1ae6}=_0x3225c3;_0x4d1ae6&&'decimal'!==_0x4d1ae6?_0x56fc7b['writer']['setStyle']('list-style-type',_0x4d1ae6,_0x4075ce):_0x56fc7b['writer']['removeStyle']('list-style-type',_0x4075ce);});});}['_definePostfixer'](){const {editor:_0x3d13c9}=this,{model:_0x3c513b}=_0x3d13c9,_0x2e3045=_0x3d13c9['plugins']['get'](c),_0x12523e=this['_getDefaultListStyle'](),_0x1b017f=this['_getDefaultStartIndex']();_0x3c513b['document']['registerPostFixer'](_0x44a385=>{const _0x19f475=_0x3c513b['document']['differ']['getChanges']();let _0x296672=!0x1;for(const _0x86fbf6 of _0x19f475){if('insert'!==_0x86fbf6['type']||'$text'===_0x86fbf6['name'])continue;const _0x3671e2=_0x3c513b['createRangeOn'](_0x86fbf6['position']['nodeAfter']);for(const _0x5a383b of _0x3671e2['getItems']())_0x5a383b['is']('element','footnotesDefinitions')&&(!_0x5a383b['hasAttribute']('footnotesListStart')&&_0x3c513b['schema']['checkAttribute'](_0x5a383b,'footnotesListStart')&&(_0x44a385['setAttribute']('footnotesListStart',_0x1b017f,_0x5a383b),_0x296672=!0x0),!_0x5a383b['hasAttribute']('footnotesListStyle')&&_0x3c513b['schema']['checkAttribute'](_0x5a383b,'footnotesListStyle')&&(_0x44a385['setAttribute']('footnotesListStyle',_0x12523e,_0x5a383b),_0x296672=!0x0));}return _0x296672&&_0x2e3045['_updateFootnotesCounters'](_0x44a385),_0x296672;});}['_defineFormatter'](){const {editor:_0x412260}=this;_0x412260['plugins']['get'](c)['setFootnoteFormatter'](_0x42d2b2=>this['_formatFootnoteListValue'](_0x42d2b2));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x35b91b,value:_0x28ae2f,digits:_0x33a588}){const _0x513c24=_0x35b91b['getAttribute']('footnotesListStyle'),_0x398ab2=_0x35b91b['getAttribute']('footnotesListStart'),_0x16ee87=Math['floor'](_0x28ae2f)+(_0x398ab2??0x1)-0x1;switch(_0x513c24){case'decimal-leading-zero':return function(_0x1fe65d,_0x5230d1){return String(_0x1fe65d)['padStart'](_0x5230d1,'0');}(_0x16ee87,Math['max'](0x2,_0x33a588));case'lower-alpha':case'lower-latin':return N(_0x16ee87,!0x1);case'upper-alpha':case'upper-latin':return N(_0x16ee87,!0x0);case'lower-roman':return X(_0x16ee87,!0x1);case'upper-roman':return X(_0x16ee87,!0x0);default:return String(_0x16ee87);}}}function M(_0x1069c6,_0x23294a){const _0x1e4475=_0x23294a['toViewElement'](_0x1069c6);return Array['from'](_0x1e4475['getChildren']())['find'](_0x544ea4=>_0x544ea4['is']('element','ol')&&_0x544ea4['hasClass']('footnotes-list'));}function N(_0x1f209d,_0x5b8da6){let _0x36212d='',_0x1f63d1=_0x1f209d;for(;_0x1f63d1>0x0;){const _0x2c21f2=(_0x1f63d1-0x1)%0x1a;_0x36212d=String['fromCharCode'](0x61+_0x2c21f2)+_0x36212d,_0x1f63d1=Math['floor']((_0x1f63d1-0x1)/0x1a);}return _0x5b8da6?_0x36212d['toUpperCase']():_0x36212d;}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(_0x362e0c,_0x10a370){let _0x4075eb='',_0xd8366e=_0x362e0c;for(const {value:_0x3bbbe1,numeral:_0x294c65}of V)for(;_0xd8366e>=_0x3bbbe1;)_0x4075eb+=_0x294c65,_0xd8366e-=_0x3bbbe1;return _0x10a370?_0x4075eb:_0x4075eb['toLowerCase']();}class H extends _0x3a588d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x14d98d();['focusCycler'];constructor(_0x1427ab,{styleButtonViews:_0x35ee9a,styleGridAriaLabel:_0x285ffa}){super(_0x1427ab),(this['focusCycler']=new _0x1cda25({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x35ee9a,_0x285ffa),[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 _0x1609f0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1609f0['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 _0x183e4f=_0x455fcd=>_0x455fcd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x183e4f),this['keystrokes']['set']('arrowleft',_0x183e4f),this['keystrokes']['set']('arrowup',_0x183e4f),this['keystrokes']['set']('arrowdown',_0x183e4f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2a6907,_0x33478a){const _0x56f205=new _0x3a588d(this['locale']);return _0x56f205['children']=_0x56f205['createCollection'](),_0x56f205['children']['addMany'](_0x2a6907),_0x56f205['setTemplate']({'tag':'div','attributes':{'aria-label':_0x33478a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x56f205['children']}),_0x56f205['children']['delegate']('execute')['to'](this),_0x56f205['focus']=function(){for(const _0x10c876 of this['children'])if(_0x10c876 instanceof _0x11e055&&_0x10c876['isOn'])return void _0x10c876['focus']();this['children']['first']['focus']();},_0x56f205['focusTracker']=new ot(),_0x56f205['keystrokes']=new rt(),_0x56f205['render'](),_0x56f205['keystrokes']['listenTo'](_0x56f205['element']),this['children']['add'](_0x56f205),_0x56f205;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x20d469=this['_createStartIndexPropertyView'](),_0x3128c4=[_0x20d469],_0x2e3fc2=new st(this['locale'],_0x3128c4);return _0x2e3fc2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2e3fc2['buttonView']['bind']('isEnabled')['toMany'](_0x3128c4,'isEnabled',(..._0x32be8e)=>_0x32be8e['some'](_0x482bf7=>_0x482bf7)),_0x2e3fc2['buttonView']['on']('change:isEnabled',(_0x51b9e3,_0x5f3f68,_0x1bd3a6)=>{_0x1bd3a6||(_0x2e3fc2['isCollapsed']=!0x0);}),this['children']['add'](_0x2e3fc2),[_0x20d469,_0x2e3fc2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1fe2b0=new it(this['locale'],et);return _0x1fe2b0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1fe2b0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1fe2b0['fieldView']['on']('input',()=>{const _0x3c1457=_0x1fe2b0['fieldView']['element'],_0x432978=_0x3c1457['valueAsNumber'];Number['isNaN'](_0x432978)?_0x1fe2b0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c1457['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x432978}):_0x1fe2b0['errorText']=t(_0x432978<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1fe2b0;}}class j extends _0x443da6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4325bd,_0x2f9051];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe05bb4}=this,{componentFactory:_0x3986c8}=_0xe05bb4['ui'];_0xe05bb4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3986c8['add']('footnotesStyle',function(_0xd9a9b2){return _0x38c822=>{const {t:t}=_0x38c822,_0x2fd5ed=_0xd9a9b2['commands']['get']('footnotesStyle'),_0x37765c=_0x5c3277(_0x38c822),{buttonView:_0x2acf1e}=_0x37765c;return _0x37765c['class']='ck-footnotes-styles-dropdown',_0x37765c['bind']('isEnabled')['to'](_0x2fd5ed,'isEnabled'),_0x2acf1e['set']({'label':t('Footnotes\x20style'),'icon':_0x5ecb83,'tooltip':!0x0}),_0x37765c['once']('change:isOpen',()=>{const _0x152dd0=function({editor:_0x43439b,dropdownView:_0x4a94d9}){const {t:t}=_0x43439b['locale'],_0x385f5f=t('Footnotes\x20definitions\x20styles'),_0x549f74=function(_0x3c5aa0){const t=_0x3c5aa0['locale']['t'],_0x3fb5df=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x303f0b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d0348},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4d6aac},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x20b737},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x855632},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x227d9e}];return _0x3fb5df['map'](function(_0xdb0bf8){const _0x10be8c=_0xdb0bf8['locale'];return({label:_0x4ede1a,icon:_0x48b9bb,tooltip:_0x1c2782,style:_0x58fd52})=>{const _0x3d0416=_0xdb0bf8['commands']['get']('footnotesStyle'),_0xe05e26=new _0x11e055(_0x10be8c);return _0xe05e26['set']({'label':_0x4ede1a,'icon':_0x48b9bb,'tooltip':_0x1c2782}),_0xe05e26['bind']('isOn')['to'](_0x3d0416,'value',_0x222007=>_0x222007===_0x58fd52),_0xe05e26['bind']('isEnabled')['to'](_0x3d0416,'isEnabled'),_0xe05e26['on']('execute',()=>{_0xdb0bf8['execute']('footnotesStyle',{'value':_0x58fd52}),_0xdb0bf8['editing']['view']['focus']();}),_0xe05e26;};}(_0x3c5aa0));}(_0x43439b),_0x58fd2a=new H(_0x43439b['locale'],{'styleGridAriaLabel':_0x385f5f,'styleButtonViews':_0x549f74});return _0x58fd2a['delegate']('execute')['to'](_0x4a94d9),_0x58fd2a['on']('footnotesListStart',(_0x374b85,_0x125875)=>{_0x43439b['execute']('footnotesStart',{'value':_0x125875['startIndex']});}),_0x58fd2a;}({'editor':_0xd9a9b2,'dropdownView':_0x37765c});_0x37765c['panelView']['children']['add'](_0x152dd0);}),_0x37765c;};}(_0xe05bb4));}['afterInit'](){const {editor:_0x1db01e}=this,{t:t}=_0x1db01e['locale'],_0x426469=_0x1db01e['plugins']['get'](_0x2f9051),{defaultPositions:_0x79d75e}=_0xd8228c;_0x426469['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1db01e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x287927=>{let _0x570150=_0x287927['getFirstPosition']()?.['parent'];return _0x570150?.['is']('$text')&&(_0x570150=_0x570150['parent']),_0x570150?.['is']('element')?_0x570150['findAncestor'](J):null;},'positions':[_0x79d75e['southArrowNorth'],_0x79d75e['southArrowNorthMiddleWest'],_0x79d75e['southArrowNorthMiddleEast'],_0x79d75e['southArrowNorthWest'],_0x79d75e['southArrowNorthEast'],_0x79d75e['northArrowSouth'],_0x79d75e['northArrowSouthMiddleWest'],_0x79d75e['northArrowSouthMiddleEast'],_0x79d75e['northArrowSouthWest'],_0x79d75e['northArrowSouthEast'],_0x79d75e['viewportStickyNorth']]});}}class ft extends _0x443da6{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':_0x16a3d7=>0x1!=_0x16a3d7}};
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':_0x181fdf=>0x1!=_0x181fdf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3f8b4f=>{const {af:{dictionary:_0x440bce,getPluralForm:_0x2d30c0}}={'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':_0xf0a1ce=>0x1!=_0xf0a1ce}};_0x3f8b4f['af']||={'dictionary':{},'getPluralForm':null},_0x3f8b4f['af']['dictionary']=Object['assign'](_0x3f8b4f['af']['dictionary'],_0x440bce),_0x3f8b4f['af']['getPluralForm']=_0x2d30c0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36a20a=>{const {af:{dictionary:_0x34d87f,getPluralForm:_0x42e83b}}={'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':_0x5e5dc8=>0x1!=_0x5e5dc8}};_0x36a20a['af']||={'dictionary':{},'getPluralForm':null},_0x36a20a['af']['dictionary']=Object['assign'](_0x36a20a['af']['dictionary'],_0x34d87f),_0x36a20a['af']['getPluralForm']=_0x42e83b;})(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':_0x2bc1e7=>0x0==_0x2bc1e7?0x0:0x1==_0x2bc1e7?0x1:0x2==_0x2bc1e7?0x2:_0x2bc1e7%0x64>=0x3&&_0x2bc1e7%0x64<=0xa?0x3:_0x2bc1e7%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':_0x57e26f=>0x0==_0x57e26f?0x0:0x1==_0x57e26f?0x1:0x2==_0x57e26f?0x2:_0x57e26f%0x64>=0x3&&_0x57e26f%0x64<=0xa?0x3:_0x57e26f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47b80e=>{const {ar:{dictionary:_0x2243c9,getPluralForm:_0x1f2033}}={'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':_0x2ae668=>0x0==_0x2ae668?0x0:0x1==_0x2ae668?0x1:0x2==_0x2ae668?0x2:_0x2ae668%0x64>=0x3&&_0x2ae668%0x64<=0xa?0x3:_0x2ae668%0x64>=0xb?0x4:0x5}};_0x47b80e['ar']||={'dictionary':{},'getPluralForm':null},_0x47b80e['ar']['dictionary']=Object['assign'](_0x47b80e['ar']['dictionary'],_0x2243c9),_0x47b80e['ar']['getPluralForm']=_0x1f2033;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f5402=>{const {ar:{dictionary:_0xdb04e8,getPluralForm:_0x978652}}={'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':_0x176ddf=>0x0==_0x176ddf?0x0:0x1==_0x176ddf?0x1:0x2==_0x176ddf?0x2:_0x176ddf%0x64>=0x3&&_0x176ddf%0x64<=0xa?0x3:_0x176ddf%0x64>=0xb?0x4:0x5}};_0x5f5402['ar']||={'dictionary':{},'getPluralForm':null},_0x5f5402['ar']['dictionary']=Object['assign'](_0x5f5402['ar']['dictionary'],_0xdb04e8),_0x5f5402['ar']['getPluralForm']=_0x978652;})(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':_0x248748=>0x1!=_0x248748}};
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':_0x290ecb=>0x1!=_0x290ecb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3d36a9=>{const {ast:{dictionary:_0x450a6d,getPluralForm:_0x10a54b}}={'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':_0x49f961=>0x1!=_0x49f961}};_0x3d36a9['ast']||={'dictionary':{},'getPluralForm':null},_0x3d36a9['ast']['dictionary']=Object['assign'](_0x3d36a9['ast']['dictionary'],_0x450a6d),_0x3d36a9['ast']['getPluralForm']=_0x10a54b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x555511=>{const {ast:{dictionary:_0x6fd398,getPluralForm:_0x1d04e5}}={'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':_0x3ad9d2=>0x1!=_0x3ad9d2}};_0x555511['ast']||={'dictionary':{},'getPluralForm':null},_0x555511['ast']['dictionary']=Object['assign'](_0x555511['ast']['dictionary'],_0x6fd398),_0x555511['ast']['getPluralForm']=_0x1d04e5;})(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':_0x4406e5=>0x1!=_0x4406e5}};
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':_0x4ca1e6=>0x1!=_0x4ca1e6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x30632b=>{const {az:{dictionary:_0x10f269,getPluralForm:_0x265dd2}}={'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':_0xa5cbc5=>0x1!=_0xa5cbc5}};_0x30632b['az']||={'dictionary':{},'getPluralForm':null},_0x30632b['az']['dictionary']=Object['assign'](_0x30632b['az']['dictionary'],_0x10f269),_0x30632b['az']['getPluralForm']=_0x265dd2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1fa44e=>{const {az:{dictionary:_0xb13ec7,getPluralForm:_0x2f67d2}}={'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':_0x23427c=>0x1!=_0x23427c}};_0x1fa44e['az']||={'dictionary':{},'getPluralForm':null},_0x1fa44e['az']['dictionary']=Object['assign'](_0x1fa44e['az']['dictionary'],_0xb13ec7),_0x1fa44e['az']['getPluralForm']=_0x2f67d2;})(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':_0x55a7eb=>_0x55a7eb%0xa==0x1&&_0x55a7eb%0x64!=0xb?0x0:_0x55a7eb%0xa>=0x2&&_0x55a7eb%0xa<=0x4&&(_0x55a7eb%0x64<0xa||_0x55a7eb%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':_0x19df05=>_0x19df05%0xa==0x1&&_0x19df05%0x64!=0xb?0x0:_0x19df05%0xa>=0x2&&_0x19df05%0xa<=0x4&&(_0x19df05%0x64<0xa||_0x19df05%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x258b43=>{const {be:{dictionary:_0x327d9a,getPluralForm:_0x30709f}}={'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':_0x2eabb9=>_0x2eabb9%0xa==0x1&&_0x2eabb9%0x64!=0xb?0x0:_0x2eabb9%0xa>=0x2&&_0x2eabb9%0xa<=0x4&&(_0x2eabb9%0x64<0xa||_0x2eabb9%0x64>=0x14)?0x1:0x2}};_0x258b43['be']||={'dictionary':{},'getPluralForm':null},_0x258b43['be']['dictionary']=Object['assign'](_0x258b43['be']['dictionary'],_0x327d9a),_0x258b43['be']['getPluralForm']=_0x30709f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ddc09=>{const {be:{dictionary:_0x3e51b1,getPluralForm:_0x275429}}={'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':_0x436907=>_0x436907%0xa==0x1&&_0x436907%0x64!=0xb?0x0:_0x436907%0xa>=0x2&&_0x436907%0xa<=0x4&&(_0x436907%0x64<0xa||_0x436907%0x64>=0x14)?0x1:0x2}};_0x1ddc09['be']||={'dictionary':{},'getPluralForm':null},_0x1ddc09['be']['dictionary']=Object['assign'](_0x1ddc09['be']['dictionary'],_0x3e51b1),_0x1ddc09['be']['getPluralForm']=_0x275429;})(window['CKEDITOR_TRANSLATIONS']||={});