@ckeditor/ckeditor5-footnotes 48.0.0-alpha.6 → 48.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x56645d,Command as _0x38b0ca}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3143af,isWidget as _0x4468d5,toWidgetEditable as _0x4330a3,WidgetToolbarRepository as _0x30b6f8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x47f35e,logWarning as _0x3f7844,FocusTracker as _0x26bacb,KeystrokeHandler as _0x51236b,global as _0x42501a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2193e1,ClickObserver as _0x4047ed}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x37b9e6}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x501fbc,ButtonView as _0xda0370,View as _0x2cb167,ViewCollection as _0x398398,FocusCycler as _0x53cc81,addKeyboardHandlingForGrid as _0x27afc3,CollapsibleView as _0x48a19b,LabeledFieldView as _0x458991,createLabeledInputNumber as _0x282b37,ContextualBalloon as _0x2828de,BalloonPanelView as _0x515e45,createDropdown as _0x464cad}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x379a24,IconListStyleDecimal as _0x183ce7,IconListStyleDecimalLeadingZero as _0x5a35b0,IconListStyleLowerRoman as _0x2caf7d,IconListStyleUpperRoman as _0x2b0718,IconListStyleLowerLatin as _0x5bc29c,IconListStyleUpperLatin as _0x2e5ef9,IconListStyleArabicIndic as _0x36738c}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x162ac7,_0x852edd){this['_model']=_0x162ac7,this['_elementName']=_0x852edd['elementName'],this['_getElementKey']=_0x852edd['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x40586b){const _0x307aee=new Set(),_0x2168dc=new Map();for(const _0x3aa578 of _0x40586b){if('insert'===_0x3aa578['type']&&'$text'!==_0x3aa578['name']&&_0x3aa578['position']['nodeAfter']){const _0x597e61=this['_model']['createRangeOn'](_0x3aa578['position']['nodeAfter']);for(const _0x38e68b of _0x597e61['getItems']()){if(!_0x38e68b['is']('element',this['_elementName']))continue;const _0x455c42=this['_getElementKey'](_0x38e68b);_0x2168dc['has'](_0x455c42)||_0x2168dc['set'](_0x455c42,[]),_0x2168dc['get'](_0x455c42)['push'](_0x38e68b);}}if('remove'===_0x3aa578['type']&&_0x3aa578['name']===this['_elementName']){const _0x1c6824=this['_getElementKey']({'getAttribute':_0x383195=>_0x3aa578['attributes']['get'](_0x383195)});_0x307aee['add'](_0x1c6824);}}for(const [_0x1fd106,_0x43730e]of this['_trackedElements'])'$graveyard'===_0x43730e['root']['rootName']&&_0x307aee['add'](_0x1fd106);for(const _0x2629af of _0x307aee)this['_trackedElements']['delete'](_0x2629af);for(const [_0x3ebe04,_0x2f0b3c]of _0x2168dc)this['_trackedElements']['set'](_0x3ebe04,_0x2f0b3c[_0x2f0b3c['length']-0x1]);const _0x42eb33=new Set();for(const [_0x263771,_0x111cc2]of _0x2168dc)_0x307aee['has'](_0x263771)&&(_0x42eb33['add'](_0x111cc2[0x0]),_0x111cc2['length']>0x1?_0x2168dc['set'](_0x263771,_0x111cc2['slice'](0x1)):_0x2168dc['delete'](_0x263771),_0x307aee['delete'](_0x263771));return{'removed':Array['from'](_0x307aee),'inserted':Array['from'](_0x2168dc['values']())['flat'](),'moved':Array['from'](_0x42eb33)};}}class K extends _0x56645d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5e8aa5){super(_0x5e8aa5),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2b8296=>_0x2b8296['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3eddd1=>_0x3eddd1['getAttribute']('footnoteId')});}['init'](){const {editor:_0x395ec6}=this,{model:_0x11115b,data:_0x5bd065}=_0x395ec6;_0x11115b['document']['registerPostFixer'](_0xd909f=>{const _0x1d5589=_0x11115b['document']['differ']['getChanges']();let _0x490ec1=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xd909f,_0x1d5589)&&(_0x490ec1=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xd909f,_0x1d5589)&&(_0x490ec1=!0x0),this['_handleFootnoteReferencesChanges'](_0xd909f,_0x1d5589)&&(_0x490ec1=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xd909f)&&(_0x490ec1=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xd909f)&&(_0x490ec1=!0x0),this['_sortFootnoteDefinitions'](_0xd909f)&&(_0x490ec1=!0x0),_0x490ec1;}),this['listenTo'](_0x11115b['document'],'change:data',()=>{_0x11115b['enqueueChange']({'isUndoable':!0x1},_0x2a4ed4=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2a4ed4);});},{'priority':'low'}),this['listenTo'](_0x5bd065,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x512c46){return this['_footnotes']['find'](_0x414416=>_0x414416['id']===_0x512c46)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x473ae1){this['_footnoteFormatter']=_0x473ae1;}['_updateFootnotesCounters'](_0x4f689a,_0x4412c3=0x0){let _0x17b3fc=!0x1;for(let _0x2af274=_0x4412c3;_0x2af274<this['_footnotes']['length'];_0x2af274++)this['_updateFootnoteRefCounter'](_0x4f689a,_0x2af274)&&(_0x17b3fc=!0x0);return _0x17b3fc;}['_insertEmptyFootnotesDefinitionsContainer'](_0x475bac,_0x56d529){const _0x5af33b=_0x475bac['createElement']('footnotesDefinitions',{});return _0x475bac['append'](_0x5af33b,_0x56d529),this['_footnotesDefinitions']=_0x5af33b,_0x5af33b;}['_ensureFootnotesDefinitionsContainerExists'](_0x32bb90){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2748c1=this['_footnotes'][0x0]['reference']['root'],_0x23bfdf=this['_insertEmptyFootnotesDefinitionsContainer'](_0x32bb90,_0x2748c1);for(const _0x48cfae of this['_footnotes'])_0x48cfae['definition']['parent']||_0x32bb90['insert'](_0x48cfae['definition'],_0x23bfdf,'end');this['_updateFootnotesCounters'](_0x32bb90);}['_handleFootnotesDefinitionsObjectChanges'](_0x3d86cb,_0x4d966b){let _0x24be5b=!0x1;const {inserted:_0x2358d9,removed:_0xee7fc0,moved:_0xe870c1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4d966b);if(_0xe870c1['length']&&(this['_footnotesDefinitions']=_0xe870c1[0x0]),_0x2358d9['length']){if(_0x2358d9['length']>0x1||this['_footnotesDefinitions']&&_0x2358d9['some'](_0x198935=>_0x198935!==this['_footnotesDefinitions'])){const _0x388cbd=_0x3d86cb['createElement']('footnotesDefinitions',{}),_0x5761a7=[];this['_footnotesDefinitions']&&_0x5761a7['push'](this['_footnotesDefinitions']),_0x5761a7['push'](..._0x2358d9),_0x3d86cb['insert'](_0x388cbd,_0x5761a7[0x0],'before');for(const _0x5f181e of _0x5761a7)_0x3d86cb['move'](_0x3d86cb['createRangeIn'](_0x5f181e),_0x3d86cb['createPositionAt'](_0x388cbd,'end')),_0x3d86cb['remove'](_0x5f181e);this['_footnotesDefinitions']=_0x388cbd,this['_updateFootnotesCounters'](_0x3d86cb),_0x24be5b=!0x0;}else this['_footnotesDefinitions']=_0x2358d9[0x0];}if(_0xee7fc0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x1913be of this['_footnotes'])_0x3d86cb['remove'](_0x1913be['reference']),_0x24be5b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x24be5b;}['_handleFootnoteDefinitionsChanges'](_0x4d52e9,_0x5cac44){let _0x573c76=!0x1;const _0x274f0f=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x58c475,moved:_0x42100a}=this['_footnoteDefsTracker']['getChanges'](_0x5cac44);for(const _0x547902 of[..._0x42100a,..._0x58c475]){const _0x4a4202=_0x547902['getAttribute']('footnoteId'),_0xc936ce=this['getFootnote'](_0x4a4202);_0xc936ce&&(_0xc936ce['definition']=_0x547902),j(_0x4d52e9,_0x274f0f,_0x547902)&&(_0x573c76=!0x0);}return _0x573c76;}['_handleFootnoteReferencesChanges'](_0x432e68,_0x1ae938){let _0x3e8225=!0x1;const {removed:_0x23872d,inserted:_0x84efe7,moved:_0x57698a}=this['_footnoteRefsTracker']['getChanges'](_0x1ae938);for(const _0x18ed17 of _0x23872d)this['_handleRemoveFootnoteReferenceById'](_0x432e68,_0x18ed17)&&(_0x3e8225=!0x0);for(const _0x534881 of _0x84efe7)this['_handleInsertedFootnoteReference'](_0x432e68,_0x534881)&&(_0x3e8225=!0x0);for(const _0x23f023 of _0x57698a)this['_handleMovedFootnoteReference'](_0x432e68,_0x23f023)&&(_0x3e8225=!0x0);return _0x3e8225;}['_handleFootnotesDefinitionsObjectSync'](_0x2d6961){if(!this['_footnotesDefinitions'])return!0x1;let _0x59028b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x19e091=[];for(const _0x4aff79 of this['_footnotesDefinitions']['getChildren']()){const _0x16b3d8=_0x4aff79['getAttribute']('footnoteId');this['getFootnote'](_0x16b3d8)||(_0x19e091['unshift'](_0x4aff79),_0x59028b=!0x0);}for(const _0x376f3d of _0x19e091)_0x2d6961['remove'](_0x376f3d);}const _0x539f0a=new Set(),_0x1b6fc4=[];for(const _0x3d1a06 of this['_footnotesDefinitions']['getChildren']()){const _0xb7c631=_0x3d1a06['getAttribute']('footnoteId');_0x539f0a['has'](_0xb7c631)?(_0x1b6fc4['unshift'](_0x3d1a06),_0x59028b=!0x0):_0x539f0a['add'](_0xb7c631);}for(const _0x601ea1 of _0x1b6fc4)_0x2d6961['remove'](_0x601ea1);return this['_footnotesDefinitions']['childCount']||(_0x2d6961['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x59028b=!0x0),_0x59028b;}['_handleInsertedFootnoteReference'](_0x39c693,_0x5edc99){if(this['_footnotes']['find'](_0x86a04d=>_0x86a04d['reference']===_0x5edc99))return!0x1;let _0x3d824a=!0x1;const _0xdc60a9=_0x5edc99['getAttribute']('footnoteId'),_0x48a6e9=this['_footnotes']['findIndex'](_0x51ded4=>_0x51ded4['id']===_0xdc60a9);-0x1!==_0x48a6e9&&(_0x39c693['remove'](this['_footnotes'][_0x48a6e9]['reference']),this['_footnotes']['splice'](_0x48a6e9,0x1),_0x3d824a=!0x0);let _0x4a4064=this['_footnotesDefinitions']?function(_0x3d1968,_0x41f94d){for(const _0x1e7039 of _0x3d1968['getChildren']())if(_0x1e7039['getAttribute']('footnoteId')===_0x41f94d)return _0x1e7039;return null;}(this['_footnotesDefinitions'],_0xdc60a9):null;_0x4a4064||(_0x4a4064=_0x39c693['createElement']('footnoteDefinition',{'footnoteId':_0xdc60a9}),this['_footnotesDefinitions']&&(_0x39c693['insert'](_0x4a4064,this['_footnotesDefinitions'],'end'),_0x3d824a=!0x0));const _0x44cbb0={'id':_0xdc60a9,'reference':_0x5edc99,'definition':_0x4a4064},_0x71ab4d=T(this['editor']['model'],this['_footnotes'],_0x5edc99);this['_footnotes']['splice'](_0x71ab4d,0x0,_0x44cbb0);let _0x2083c7=_0x71ab4d;return-0x1!==_0x48a6e9&&(_0x2083c7=Math['min'](_0x71ab4d,_0x48a6e9)),this['_updateFootnotesCounters'](_0x39c693,_0x2083c7)&&(_0x3d824a=!0x0),_0x3d824a;}['_handleRemoveFootnoteReferenceById'](_0x41251b,_0x5386a9){const _0x1629a5=this['_footnotes']['findIndex'](_0x54e096=>_0x54e096['id']===_0x5386a9);if(-0x1===_0x1629a5)return!0x1;let _0x3c99d7=!0x1;const _0x406e53=this['_footnotes'][_0x1629a5];return'$graveyard'!==_0x406e53['definition']['root']['rootName']&&(_0x41251b['remove'](_0x406e53['definition']),_0x3c99d7=!0x0),this['_footnotes']['splice'](_0x1629a5,0x1),this['_updateFootnotesCounters'](_0x41251b,_0x1629a5)&&(_0x3c99d7=!0x0),_0x3c99d7;}['_handleMovedFootnoteReference'](_0x394100,_0x54f522){const _0x4fc7a6=_0x54f522['getAttribute']('footnoteId'),_0x1b9f60=this['_footnotes']['findIndex'](_0x27652a=>_0x27652a['id']===_0x4fc7a6),_0x25cab4=this['_footnotes'][_0x1b9f60];let _0x12b07c=!0x1;_0x25cab4['reference']=_0x54f522,this['_footnotes']['splice'](_0x1b9f60,0x1);const _0x12ea72=T(this['editor']['model'],this['_footnotes'],_0x54f522);return this['_footnotes']['splice'](_0x12ea72,0x0,_0x25cab4),this['_updateFootnotesCounters'](_0x394100,Math['min'](_0x1b9f60,_0x12ea72))&&(_0x12b07c=!0x0),_0x12b07c;}['_updateFootnoteRefCounter'](_0x40ada0,_0x4b5b31){if(!this['_footnotesDefinitions'])return!0x1;const _0x36361e=this['_footnotes'][_0x4b5b31];let _0x20000f;return _0x20000f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x36361e,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4b5b31+0x1}):String(_0x4b5b31+0x1),_0x36361e['reference']['getAttribute']('footnoteCounter')!=_0x20000f&&(_0x40ada0['setAttribute']('footnoteCounter',_0x20000f,_0x36361e['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x28b617){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4e43e5,_0x1c17a2){if(_0x4e43e5['length']!==_0x1c17a2['length'])return!0x1;for(let _0x348d16=0x0;_0x348d16<_0x4e43e5['length'];_0x348d16++)if(_0x4e43e5[_0x348d16]!==_0x1c17a2[_0x348d16])return!0x1;return!0x0;}(this['_footnotes']['map'](_0xdc005b=>_0xdc005b['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x300a7e=>_0x300a7e['getAttribute']('footnoteId'))))return!0x1;let _0x458e6d=!0x1;for(let _0x2518be=0x0;_0x2518be<this['_footnotes']['length'];_0x2518be++){const _0x35ad65=this['_footnotes'][_0x2518be],_0x35562a=_0x28b617['createPositionBefore'](_0x35ad65['definition']),_0x3ae081=_0x28b617['createPositionAt'](this['_footnotesDefinitions'],_0x2518be);_0x35562a['isEqual'](_0x3ae081)||(_0x28b617['move'](_0x28b617['createRangeOn'](_0x35ad65['definition']),_0x3ae081),_0x458e6d=!0x0);}return _0x458e6d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2d42d2){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4c8eb1}=this['editor'];let _0x50f8d9=!0x1;for(let _0x315522=0x0;_0x315522<this['_footnotes']['length']-0x1;_0x315522++){const _0x32ee73=this['_footnotes'][_0x315522],_0x4b7aab=this['_footnotes'][_0x315522+0x1],_0x34e2a1=_0x4c8eb1['createPositionBefore'](_0x32ee73['reference']),_0x165115=_0x4c8eb1['createPositionBefore'](_0x4b7aab['reference']);'after'===_0x34e2a1['compareWith'](_0x165115)&&(this['_handleMovedFootnoteReference'](_0x2d42d2,_0x32ee73['reference']),_0x315522=-0x1,_0x50f8d9=!0x0);}return _0x50f8d9;}}function j(_0x449963,_0x572b8d,_0x48b398){if(_0x48b398['childCount'])return!0x1;const _0x5328a8=_0x572b8d?'paragraph':'footnoteInlineContent';return _0x449963['insert'](_0x449963['createElement'](_0x5328a8),_0x48b398),!0x0;}function T(_0x63bd71,_0x2d4a87,_0x345249){if(0x0===_0x2d4a87['length'])return 0x0;const _0x311782=_0x63bd71['createPositionBefore'](_0x345249);for(let _0x1d9ebb=0x0;_0x1d9ebb<_0x2d4a87['length'];_0x1d9ebb++){const _0x3af2d7=_0x2d4a87[_0x1d9ebb],_0x215b91=_0x63bd71['createPositionBefore'](_0x3af2d7['reference']);if('before'===_0x311782['compareWith'](_0x215b91))return _0x1d9ebb;}const _0x26c9aa=_0x345249['root'];let _0x4ae38a=-0x1;for(let _0x465cff=_0x2d4a87['length']-0x1;_0x465cff>=0x0;_0x465cff--)if(_0x2d4a87[_0x465cff]['reference']['root']===_0x26c9aa){_0x4ae38a=_0x465cff;break;}if(-0x1!==_0x4ae38a)return _0x4ae38a+0x1;const _0xed86ff=_0x63bd71['document']['getRootNames'](),_0x392fcf=_0xed86ff['indexOf'](_0x26c9aa['rootName']),_0x450298=_0xed86ff[_0x392fcf+0x1];if(_0x450298){for(let _0x2de98f=0x0;_0x2de98f<_0x2d4a87['length'];_0x2de98f++)if(_0x2d4a87[_0x2de98f]['reference']['root']['rootName']===_0x450298)return _0x2de98f;}return _0x2d4a87['length'];}class V extends _0x38b0ca{['refresh'](){const _0x118b8c=this['editor']['model']['document']['selection'],_0x3a1124=this['_getPositionToInsertFootnote'](_0x118b8c);this['isEnabled']=!!_0x3a1124;}['execute'](_0x3d22a1){const {editor:_0x2599f6}=this,{model:_0x42ed7e}=_0x2599f6,{selection:_0x5e3c1c}=_0x42ed7e['document'],_0x5c4034=this['_getPositionToInsertFootnote'](_0x5e3c1c);if(!_0x5c4034)return;const _0x5c31e1=_0x2599f6['plugins']['get']('FootnotesEditing'),_0x5086d9=_0x3d22a1?.['footnoteId']??_0x47f35e();!function(_0x4b4fd2){return'string'==typeof _0x4b4fd2&&_0x4b4fd2['length']>0x0&&!/\s/['test'](_0x4b4fd2)&&!/^\d/['test'](_0x4b4fd2);}(_0x5086d9)?_0x3f7844('insert-footnote-command-executed-with-invalid-id'):(_0x42ed7e['change'](_0x2be9e4=>{const _0x11d859=_0x2be9e4['createElement']('footnoteRef',{'footnoteId':_0x5086d9});_0x42ed7e['insertObject'](_0x11d859,_0x5c4034,null);}),_0x5c31e1['_moveSelectionToFootnoteDefinition'](_0x5086d9));}['_getPositionToInsertFootnote'](_0x4c50aa){const {model:_0x35a7e8}=this['editor'],{schema:_0x34902d}=_0x35a7e8,_0x4b4083=_0x4c50aa['getFirstRange']();for(const _0x328f2e of _0x4b4083['getItems']())if(_0x34902d['isBlock'](_0x328f2e)||_0x34902d['isObject'](_0x328f2e))return null;const _0x3c0355=_0x4b4083['end'];return _0x34902d['checkChild'](_0x3c0355,'footnoteRef')?_0x3c0355:null;}}class $ extends _0x56645d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3321e1}=this;_0x3321e1['config']['define']('footnotes.multiBlock',!0x0),_0x3321e1['commands']['add']('insertFootnote',new V(_0x3321e1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4a0dd3){const _0x2a7f31=_0xbb76cb([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]),_0x19233a=0x47a28506,_0x2d0b8a=0x47a5005e^_0x19233a,_0x2027e8=window[_0xbb76cb([0x44,0x61,0x74,0x65])][_0xbb76cb([0x6e,0x6f,0x77])](),_0x1a1ddb=_0x4a0dd3[_0xbb76cb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40b34d=new window[(_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x493cfa=>{_0x1a1ddb[_0xbb76cb([0x6f,0x6e,0x63,0x65])](_0xbb76cb([0x72,0x65,0x61,0x64,0x79]),_0x493cfa);}),_0x40d788={[_0xbb76cb([0x6b,0x74,0x79])]:_0xbb76cb([0x45,0x43]),[_0xbb76cb([0x75,0x73,0x65])]:_0xbb76cb([0x73,0x69,0x67]),[_0xbb76cb([0x63,0x72,0x76])]:_0xbb76cb([0x50,0x2d,0x32,0x35,0x36]),[_0xbb76cb([0x78])]:_0xbb76cb([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]),[_0xbb76cb([0x79])]:_0xbb76cb([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]),[_0xbb76cb([0x61,0x6c,0x67])]:_0xbb76cb([0x45,0x53,0x32,0x35,0x36])},_0x27d23e=_0x1a1ddb[_0xbb76cb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbb76cb([0x67,0x65,0x74])](_0xbb76cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x68b835(){let _0x267551,_0x3f9585=null,_0xc35aff=null;try{if(_0x27d23e==_0xbb76cb([0x47,0x50,0x4c]))return _0xbb76cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x267551=_0x8613c1(),!_0x267551)return _0xbb76cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x267551[_0xbb76cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc35aff=_0xf2a2f4(_0x267551[_0xbb76cb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x267551[_0xbb76cb([0x6a,0x74,0x69])])),await _0xd0d24f()?_0x377125()?_0x5e4587()?_0xbb76cb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5c67f3()?(_0x267551[_0xbb76cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbb76cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f9585=_0x2f48ed(_0xbb76cb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53201b()):_0xbb76cb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbb76cb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbb76cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbb76cb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e4587(){const _0x21658f=[_0xbb76cb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbb76cb([0x74,0x72,0x69,0x61,0x6c])][_0xbb76cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267551[_0xbb76cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2027e8/0x3e8:0xe10*_0x2d0b8a;return _0x267551[_0xbb76cb([0x65,0x78,0x70])]<_0x21658f;}function _0x377125(){const _0x49278d=_0x267551[_0xbb76cb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49278d&&(!!_0x49278d[_0xbb76cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb76cb([0x2a]))||!!_0x49278d[_0xbb76cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb76cb([0x46,0x4f,0x4f])));}function _0x5c67f3(){const _0x16065a=_0x267551[_0xbb76cb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16065a||0x0==_0x16065a[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x453fdd}=new URL(window[_0xbb76cb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16065a[_0xbb76cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453fdd))return!0x0;const _0x5e017a=_0x453fdd[_0xbb76cb([0x73,0x70,0x6c,0x69,0x74])](_0xbb76cb([0x2e]));return _0x16065a[_0xbb76cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e1a6f=>_0x2e1a6f[_0xbb76cb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbb76cb([0x2a])))[_0xbb76cb([0x6d,0x61,0x70])](_0x30812d=>_0x30812d[_0xbb76cb([0x73,0x70,0x6c,0x69,0x74])](_0xbb76cb([0x2e])))[_0xbb76cb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40180f=>_0x40180f[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e017a[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbb76cb([0x6d,0x61,0x70])](_0x36151d=>Array(_0x5e017a[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36151d[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbb76cb([0x66,0x69,0x6c,0x6c])](_0x36151d[0x0]===_0xbb76cb([0x2a])?_0xbb76cb([0x2a]):'')[_0xbb76cb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36151d))[_0xbb76cb([0x73,0x6f,0x6d,0x65])](_0x3877ae=>_0x5e017a[_0xbb76cb([0x65,0x76,0x65,0x72,0x79])]((_0x599d72,_0x4c638)=>_0x3877ae[_0x4c638]===_0x599d72||_0x3877ae[_0x4c638]===_0xbb76cb([0x2a])));}function _0x53201b(){return _0x3f9585&&_0xc35aff?new window[(_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e75fe,_0x1bf9a2)=>{_0x3f9585[_0xbb76cb([0x74,0x68,0x65,0x6e])](_0x5e75fe,_0x1bf9a2),_0xc35aff[_0xbb76cb([0x74,0x68,0x65,0x6e])](_0x29329b=>{_0x29329b!=_0xbb76cb([0x56,0x61,0x6c,0x69,0x64])&&_0x5e75fe(_0x29329b);},_0x1bf9a2);}):_0x3f9585||_0xc35aff||_0xbb76cb([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf2a2f4(_0x13e07d,_0x34893b){return new window[(_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d7e38=>{if(_0x159cfd())return _0x2d7e38(_0xbb76cb([0x56,0x61,0x6c,0x69,0x64]));_0x5ec9aa(),_0x1a1ddb[_0xbb76cb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbb76cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x27c2e5=!0x1;const _0x299666=_0x47f35e();function _0x52aaa1(_0x546375){return!!_0x546375&&(typeof _0x546375===_0xbb76cb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x546375===_0xbb76cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x546375[_0xbb76cb([0x74,0x68,0x65,0x6e])]===_0xbb76cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x546375[_0xbb76cb([0x63,0x61,0x74,0x63,0x68])]===_0xbb76cb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3245ba(_0xb38ea8){_0x21bd80(_0xb38ea8)[_0xbb76cb([0x74,0x68,0x65,0x6e])](_0x496a08=>{if(!_0x496a08||_0x496a08[_0xbb76cb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbb76cb([0x6f,0x6b]))return _0xbb76cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x360732(_0x289443(_0x299666+_0x34893b))!=_0x496a08[_0xbb76cb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbb76cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbb76cb([0x56,0x61,0x6c,0x69,0x64]);})[_0xbb76cb([0x74,0x68,0x65,0x6e])](_0x34c7fe=>(_0xfd7430(),_0x34c7fe),()=>{const _0x1e7ae4=_0x26d1b1();return null==_0x1e7ae4?(_0xfd7430(),_0xbb76cb([0x56,0x61,0x6c,0x69,0x64])):_0xbb76cb(_0x2027e8-_0x1e7ae4>(0x63ae0106^_0x19233a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbb76cb([0x74,0x68,0x65,0x6e])](_0x2d7e38)[_0xbb76cb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d7e38(_0xbb76cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x87c0d2=0x47946b86^_0x19233a;function _0xfd7430(){const _0x357ef1=_0xbb76cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x360732(_0x289443(_0x13e07d)),_0xf8df0b=_0x3f0a54(_0x360732(window[_0xbb76cb([0x4d,0x61,0x74,0x68])][_0xbb76cb([0x63,0x65,0x69,0x6c])](_0x2027e8/_0x87c0d2)));window[_0xbb76cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbb76cb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x357ef1,_0xf8df0b);}function _0x26d1b1(){const _0x39b1dd=_0xbb76cb([0x6c,0x6c,0x63,0x74,0x2d])+_0x360732(_0x289443(_0x13e07d)),_0x5f2f5b=window[_0xbb76cb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbb76cb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39b1dd);return _0x5f2f5b?window[_0xbb76cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0a54(_0x5f2f5b),0x10)*_0x87c0d2:null;}function _0x21bd80(_0x4e0334){return new window[(_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20683c,_0x14670b)=>{_0x4e0334[_0xbb76cb([0x74,0x68,0x65,0x6e])](_0x20683c,_0x14670b),window[_0xbb76cb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14670b,0x47a351c6^_0x19233a);});}}_0x1a1ddb[_0xbb76cb([0x6f,0x6e])](_0xbb76cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ebc66,_0x268b12)=>{if(_0x268b12[0x0]!=_0x13e07d)return _0x2d7e38(_0xbb76cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x268b12[0x1]={..._0x268b12[0x1],[_0xbb76cb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x299666};},{[_0xbb76cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbb76cb([0x68,0x69,0x67,0x68])}),_0x1a1ddb[_0xbb76cb([0x6f,0x6e])](_0xbb76cb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bbe81=>{_0x52aaa1(_0x4bbe81[_0xbb76cb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x27c2e5=!0x0,_0x3245ba(_0x4bbe81[_0xbb76cb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbb76cb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbb76cb([0x6c,0x6f,0x77])}),_0x40b34d[_0xbb76cb([0x74,0x68,0x65,0x6e])](()=>{_0x27c2e5||_0x2d7e38(_0xbb76cb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x159cfd(){return _0x1a1ddb[_0xbb76cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbb76cb([0x76,0x69,0x65,0x77])][_0xbb76cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbb76cb([0x61,0x75,0x74,0x6f]);}function _0x5ec9aa(){_0x1a1ddb[_0xbb76cb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbb76cb([0x76,0x69,0x65,0x77])][_0xbb76cb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbb76cb([0x61,0x75,0x74,0x6f]);}}function _0x2f48ed(_0x23db5b){const _0x27c4d4=[new window[(_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f1545=>setTimeout(_0x4f1545,0x47abbbca^_0x19233a)),_0x40b34d[_0xbb76cb([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9c8a=>{let _0x109c4e=0x0;_0x1a1ddb[_0xbb76cb([0x6d,0x6f,0x64,0x65,0x6c])][_0xbb76cb([0x6f,0x6e])](_0xbb76cb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c550e,_0x3dfcb9)=>{_0x3dfcb9[0x0][_0xbb76cb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x109c4e++,_0x109c4e==(0x47a280ee^_0x19233a)&&(_0x4b9c8a(),_0x4c550e[_0xbb76cb([0x6f,0x66,0x66])]());});}))];return window[_0xbb76cb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbb76cb([0x72,0x61,0x63,0x65])](_0x27c4d4)[_0xbb76cb([0x74,0x68,0x65,0x6e])](()=>_0x23db5b);}async function _0x5d233b(){await _0x40b34d,_0x1a1ddb[_0xbb76cb([0x6d,0x6f,0x64,0x65,0x6c])][_0xbb76cb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x163c69,_0x1a1ddb[_0xbb76cb([0x6d,0x6f,0x64,0x65,0x6c])][_0xbb76cb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x163c69,_0x1a1ddb[_0xbb76cb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbb76cb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f4af6(_0x4b31b9){const _0x20520d=_0x3cf3e1();_0x1a1ddb[_0x20520d]=_0xbb76cb([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b31b9,_0x4b31b9!=_0xbb76cb([0x56,0x61,0x6c,0x69,0x64])&&_0x5d233b();}function _0x3cf3e1(){const _0x5058e0=window[_0xbb76cb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbb76cb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbb76cb([0x6e,0x6f,0x77])]())[_0xbb76cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbb76cb([0x2e]),'');let _0x518320=_0xbb76cb([0x75]);for(let _0x58aeaa=0x0;_0x58aeaa<_0x5058e0[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58aeaa+=0x2){let _0x4ac8ad=window[_0xbb76cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5058e0[_0xbb76cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58aeaa,_0x58aeaa+0x2));_0x4ac8ad>=_0x2a7f31[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ac8ad-=_0x2a7f31[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x518320+=_0x2a7f31[_0x4ac8ad];}return _0x518320;}function _0x8613c1(){const _0x16e481=_0x27d23e[_0xbb76cb([0x73,0x70,0x6c,0x69,0x74])](_0xbb76cb([0x2e]));if(0x3!=_0x16e481[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x482bb3(_0x16e481[0x1]);function _0x482bb3(_0x448a42){const _0xb1d6ee=_0x34b22d(_0x448a42);return _0xb1d6ee&&_0x312efa()?_0xb1d6ee:null;function _0x312efa(){const _0x5bac81=_0xb1d6ee[_0xbb76cb([0x6a,0x74,0x69])],_0x48911a=window[_0xbb76cb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bac81[_0xbb76cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5bac81[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x52471f={..._0xb1d6ee,[_0xbb76cb([0x6a,0x74,0x69])]:_0x5bac81[_0xbb76cb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5bac81[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x52471f[_0xbb76cb([0x76,0x63])],_0x289443(_0x52471f)==_0x48911a;}}}async function _0xd0d24f(){let _0x143410=!0x0;try{const _0x17dcd4=_0x27d23e[_0xbb76cb([0x73,0x70,0x6c,0x69,0x74])](_0xbb76cb([0x2e])),[_0x36289e,_0x347dd1,_0x1d9241]=_0x17dcd4;return _0x3dac16(_0x36289e),await _0x5b4339(_0x36289e,_0x347dd1,_0x1d9241),_0x143410;}catch{return!0x1;}function _0x3dac16(_0x2411c0){const _0x49c6ee=_0x34b22d(_0x2411c0);_0x49c6ee&&_0x49c6ee[_0xbb76cb([0x61,0x6c,0x67])]==_0xbb76cb([0x45,0x53,0x32,0x35,0x36])||(_0x143410=!0x1);}async function _0x5b4339(_0x16130f,_0x461dc8,_0x37ff27){const _0x38de80=window[_0xbb76cb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbb76cb([0x66,0x72,0x6f,0x6d])](_0x210729(_0x37ff27),_0xd879a8=>_0xd879a8[_0xbb76cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e47b7=new window[(_0xbb76cb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbb76cb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16130f+_0xbb76cb([0x2e])+_0x461dc8),_0x368ded=window[_0xbb76cb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbb76cb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x368ded)return;const _0xcdf3f8=await _0x368ded[_0xbb76cb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbb76cb([0x6a,0x77,0x6b]),_0x40d788,{[_0xbb76cb([0x6e,0x61,0x6d,0x65])]:_0xbb76cb([0x45,0x43,0x44,0x53,0x41]),[_0xbb76cb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbb76cb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbb76cb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x368ded[_0xbb76cb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbb76cb([0x6e,0x61,0x6d,0x65])]:_0xbb76cb([0x45,0x43,0x44,0x53,0x41]),[_0xbb76cb([0x68,0x61,0x73,0x68])]:{[_0xbb76cb([0x6e,0x61,0x6d,0x65])]:_0xbb76cb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcdf3f8,_0x38de80,_0x1e47b7)||(_0x143410=!0x1);}}function _0x34b22d(_0x143150){return _0x143150[_0xbb76cb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbb76cb([0x65,0x79]))?JSON[_0xbb76cb([0x70,0x61,0x72,0x73,0x65])](_0x210729(_0x143150)):null;}function _0x210729(_0x285133){return window[_0xbb76cb([0x61,0x74,0x6f,0x62])](_0x285133[_0xbb76cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbb76cb([0x2b]))[_0xbb76cb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbb76cb([0x2f])));}function _0x289443(_0x3102d8){let _0x4fd484=0x1505;function _0x23114b(_0x2fa6be){for(let _0x25037f=0x0;_0x25037f<_0x2fa6be[_0xbb76cb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25037f++){const _0x522f3d=_0x2fa6be[_0xbb76cb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25037f);_0x4fd484=(_0x4fd484<<0x5)+_0x4fd484+_0x522f3d,_0x4fd484&=_0x4fd484;}}function _0x4dfc6f(_0x42a54a){Array[_0xbb76cb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42a54a)?_0x42a54a[_0xbb76cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4dfc6f):_0x42a54a&&typeof _0x42a54a==_0xbb76cb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbb76cb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42a54a)[_0xbb76cb([0x73,0x6f,0x72,0x74])]()[_0xbb76cb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5438b2,_0x2a769d])=>{_0x23114b(_0x5438b2),_0x4dfc6f(_0x2a769d);}):_0x23114b(window[_0xbb76cb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42a54a));}return _0x4dfc6f(_0x3102d8),_0x4fd484>>>0x0;}function _0x360732(_0x521e40){return _0x521e40[_0xbb76cb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbb76cb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbb76cb([0x30]));}function _0x3f0a54(_0x3df342){return _0x3df342[_0xbb76cb([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbb76cb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbb76cb([0x6a,0x6f,0x69,0x6e])]('');}function _0x163c69(){}function _0xbb76cb(_0x52b1ec){return _0x52b1ec['map'](_0x2a8b3b=>String['fromCharCode'](_0x2a8b3b))['join']('');}_0x4f4af6(await _0x68b835());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4dca4d){const {plugins:_0x2dafd9,editing:_0x5f0f52,model:_0x16c9e2}=this['editor'],_0x4149bb=_0x2dafd9['get'](K)['getFootnote'](_0x4dca4d);return!!_0x4149bb&&(_0x16c9e2['change'](_0x5d9b39=>{_0x5d9b39['setSelection'](_0x5d9b39['createPositionAt'](_0x4149bb['definition'],'end'));}),_0x5f0f52['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3a7307){const {plugins:_0x44848e,editing:_0x5bb0e0,model:_0x3351d5}=this['editor'],_0x3938d5=_0x44848e['get'](K)['getFootnote'](_0x3a7307);return!!_0x3938d5&&(_0x3351d5['change'](_0x45a432=>{_0x45a432['setSelection'](_0x3938d5['reference'],'on');}),_0x5bb0e0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3d6702}=this['editor']['model'],_0x392f29=this['editor']['config']['get']('footnotes.multiBlock');_0x3d6702['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3d6702['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3d6702['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x392f29?_0x3d6702['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3d6702['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3d6702['addChildCheck'](_0x19e3f0=>{for(const _0x5ca78d of _0x19e3f0)if('footnoteDefinition'===_0x5ca78d['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x180603}=this,{conversion:_0x4c833b,editing:_0x446881}=_0x180603,{t:t}=_0x180603['locale'];_0x4c833b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x43ba49,{writer:_0x470289,consumable:_0x364292})=>{const _0x39cf3f=_0x43ba49['getChild'](0x0);if(!_0x39cf3f||!_0x39cf3f['is']('element','a'))return null;const _0xf92981=_0x39cf3f['getAttribute']('href')||'';if(!_0xf92981['startsWith']('#'))return null;const _0x53a51f=_0xf92981['replace'](/^#/,'');if(!_0x53a51f)return null;_0x364292['consume'](_0x39cf3f,{'name':!0x0,'attributes':['href']});for(const {item:_0x2c519f}of _0x446881['view']['createRangeIn'](_0x39cf3f))_0x2c519f['is']('$textProxy')?_0x364292['consume'](_0x2c519f['textNode'],{'name':!0x0}):_0x2c519f['is']('element')&&_0x364292['consume'](_0x2c519f,{'name':!0x0});return _0x470289['createElement']('footnoteRef',{'footnoteId':_0x53a51f});}}),_0x4c833b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5da69f,{writer:_0x2b0719})=>z(_0x5da69f,_0x2b0719)}),_0x4c833b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x24f711,{writer:_0x4bee0a})=>{const _0x4f848b=_0x24f711['getAttribute']('footnoteCounter');return _0x3143af(z(_0x24f711,_0x4bee0a),_0x4bee0a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4f848b)});}});}['_defineDefinitionsConverters'](){const {editor:_0x20af3f}=this,{t:t}=_0x20af3f['locale'],{conversion:_0x18920b}=_0x20af3f;_0x18920b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x18920b['for']('upcast')['add'](_0x2c8e90=>{_0x2c8e90['on']('element:ol',(_0x7028ec,_0x353407,_0x2c0d4a)=>{const _0xd21fe3=_0x353407['viewItem'];if(!_0xd21fe3['hasClass']('footnotes-list')||!_0x353407['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2c0d4a['consumable']['consume'](_0xd21fe3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x56e343,modelCursor:_0x14b428}=_0x2c0d4a['convertChildren'](_0x353407['viewItem'],_0x353407['modelCursor']);_0x353407['modelRange']=_0x56e343,_0x353407['modelCursor']=_0x14b428;}),_0x2c8e90['on']('element:hr',(_0x293aaa,_0x3065bb,_0x1ac1a8)=>{const _0x300bc7=_0x3065bb['viewItem'];_0x300bc7['hasClass']('footnotes-divider')&&_0x3065bb['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1ac1a8['consumable']['consume'](_0x300bc7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x18920b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5397f0,{writer:_0x5c7991})=>H(_0x5c7991)}),_0x18920b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x402427,{writer:_0x23c313})=>{const _0x36b31e=H(_0x23c313,{'data-footnotes-list-label':t('Footnotes')}),_0x2582ff=_0x3143af(_0x36b31e,_0x23c313,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x23c313['setCustomProperty']('footnotesDefinitions',!0x0,_0x2582ff),_0x2582ff;}});}['_defineDefinitionConverters'](){const {editor:_0x38f222}=this,{conversion:_0x329286,locale:_0x32e69c}=_0x38f222,_0x230a0e=_0x38f222['config']['get']('footnotes.multiBlock');_0x329286['for']('upcast')['add'](_0x2d4eab=>{_0x2d4eab['on']('element:li',(_0x3abfbb,_0x9a0756,_0x56d564)=>{const _0x553cea=_0x9a0756['viewItem'];if(!_0x553cea['hasClass']('footnote-definition')||!_0x553cea['getAttribute']('id'))return;const _0x2f8d67=_0x553cea['parent'];if(!_0x2f8d67['is']('element','ol')||!_0x2f8d67['hasClass']('footnotes-list'))return;if(!_0x56d564['consumable']['test'](_0x553cea,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3405f5=_0x56d564['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x553cea['getAttribute']('id')});if(!_0x56d564['safeInsert'](_0x3405f5,_0x9a0756['modelCursor']))return;_0x56d564['consumable']['consume'](_0x553cea,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x222855=Array['from'](_0x553cea['getChildren']())['find'](_0x4bd267=>_0x4bd267['is']('element')&&_0x4bd267['hasClass']('footnote-content'));for(const _0x2c42f7 of _0x553cea['getChildren']())_0x2c42f7['is']('element')&&(_0x56d564['consumable']['consume'](_0x2c42f7,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x56d564['consumable']['consume'](_0x2c42f7,{'name':!0x0,'classes':'footnote-content'}));if(_0x222855){if(_0x230a0e)_0x56d564['convertChildren'](_0x222855,_0x3405f5);else{const _0x2e2263=_0x56d564['writer']['createElement']('footnoteInlineContent');_0x56d564['writer']['insert'](_0x2e2263,_0x3405f5),_0x56d564['convertChildren'](_0x222855,_0x2e2263);}}_0x56d564['updateConversionResult'](_0x3405f5,_0x9a0756);});}),_0x329286['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x32a288,{writer:_0x30ab2b})=>X(_0x32a288,_0x30ab2b,_0x32e69c,{'dataPipeline':!0x0})}),_0x329286['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x85cc6a,{writer:_0x4f1436})=>X(_0x85cc6a,_0x4f1436,_0x32e69c)});}['_defineBogusParagraphConverters'](){const {editor:_0x18a63b}=this,{conversion:_0xa6af06}=_0x18a63b;_0x18a63b['config']['get']('footnotes.multiBlock')?(_0xa6af06['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0xa6af06['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x18a63b['model']['document'],'change:data',()=>{!function(_0x42d868,_0x59c716){const _0x50c4bb=_0x42d868['document']['differ'],_0x18be4b=new Set();for(const _0x55190d of _0x50c4bb['getChanges']()){const _0x1e5fb7='attribute'==_0x55190d['type']?_0x55190d['range']['start']['parent']:_0x55190d['position']['parent'];_0x1e5fb7['is']('element','footnoteDefinition')&&_0x18be4b['add'](_0x1e5fb7);}for(const _0x339727 of _0x18be4b['values']()){const _0xf55848=Array['from'](_0x339727['getChildren']())['filter'](_0x36255a=>U(_0x36255a,_0x59c716['mapper']));for(const _0x426997 of _0xf55848)_0x59c716['reconvertItem'](_0x426997);}}(_0x18a63b['model'],_0x18a63b['editing']);})):(_0xa6af06['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0xa6af06['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1f00ca,{writer:_0x51f3e6})=>{const _0x331ac9=_0x51f3e6['createContainerElement']('span');return _0x51f3e6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x331ac9),_0x331ac9;}}));}['_defineKeyboardHandlers'](){const {editor:_0x16d741}=this,{editing:_0x206ead,t:t}=_0x16d741,_0x282d4c=_0x16d741['model']['document']['selection'];_0x16d741['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x16d741['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x206ead['view']['document'],'enter',(_0x725e82,_0x5e9d3e)=>{const _0x4b2c4c=function(_0x880db1){const _0x99d772=_0x880db1['getSelectedElement']();if(_0x99d772?.['is']('element','footnoteRef'))return _0x99d772;return null;}(_0x282d4c);if(_0x4b2c4c){const _0x1dc06e=_0x4b2c4c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1dc06e),_0x5e9d3e['preventDefault'](),_0x725e82['stop']();}},{'context':_0x4468d5});}['_defineClickHandlers'](){const {editor:_0xae5a0f}=this,{editing:_0x18cca6}=_0xae5a0f;_0xae5a0f['editing']['view']['addObserver'](_0x2193e1),_0xae5a0f['editing']['view']['addObserver'](_0x4047ed);let _0x21659c=!0x1;this['listenTo'](_0x18cca6['view']['document'],'pointerdown',(_0x1982ea,_0x13fa75)=>{const {target:_0x93b51a}=_0x13fa75,_0x1507a7=_0x18cca6['view']['document']['selection'];_0x21659c=!!(_0x93b51a?.['is']('element','a')&&_0x93b51a['parent']?.['is']('element','sup')&&_0x93b51a['parent']['hasClass']('footnote'))&&_0x1507a7['getSelectedElement']()===_0x93b51a['parent'];},{'priority':'high'}),this['listenTo'](_0x18cca6['view']['document'],'click',(_0x52cf21,_0x41414e)=>{const {target:_0x3348d4}=_0x41414e;if(!_0x3348d4?.['is']('element','a'))return;if(_0x3348d4['parent']?.['is']('element','sup')&&_0x3348d4['parent']['hasClass']('footnote')&&!_0x21659c)return void _0x41414e['preventDefault']();let _0x32ee58=_0x3348d4['getAttribute']('href');if(!_0x32ee58?.['startsWith']('#'))return;_0x32ee58=_0x32ee58['slice'](0x1);let _0x16c5f5=!0x1;(_0x32ee58['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x32ee58['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x32ee58))&&(_0x16c5f5=!0x0),_0x16c5f5&&(_0x41414e['preventDefault'](),_0x52cf21['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x27eb76}={}){return(_0x14e0c4,{writer:_0x1c10ed})=>{if(!M(_0x14e0c4))return null;if(!_0x27eb76)return _0x1c10ed['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1d48ec=_0x1c10ed['createContainerElement']('p');return _0x1c10ed['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1d48ec),_0x1d48ec;};}function M(_0x44c478){const {parent:_0xb648ef}=_0x44c478;if(!_0xb648ef?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xb648ef['childCount'])return!0x1;for(const _0x565669 of _0x44c478['getAttributeKeys']())if(!_0x565669['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x565669)return!0x1;return!0x0;}function U(_0x16eed0,_0x376cb9){if(!_0x16eed0['is']('element','paragraph'))return!0x1;const _0x64414d=_0x376cb9['toViewElement'](_0x16eed0);return!!_0x64414d&&M(_0x16eed0)!==_0x64414d['is']('element','span');}function q(_0x559834){return _0x4468d5(_0x559834)&&_0x559834['is']('containerElement')&&!!_0x559834['getCustomProperty']('footnotesDefinitions');}function H(_0xe46121,_0x4e661f={}){const _0x54ed36=_0xe46121['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4a961f=_0xe46121['createContainerElement']('ol',{'class':'footnotes-list'},_0xe46121['createSlot']());return _0xe46121['createContainerElement']('div',{'class':'footnotes',..._0x4e661f},[_0x54ed36,_0x4a961f]);}function z(_0x103791,_0x5d2d92){const _0x14f389=_0x103791['getAttribute']('footnoteId'),_0x1a71ea=_0x103791['getAttribute']('footnoteCounter'),_0x155db0=_0x5d2d92['createUIElement']('a',{'href':'#'+_0x14f389},function(_0x360dd3){const _0x9f7703=this['toDomElement'](_0x360dd3);return _0x9f7703['textContent']=_0x1a71ea,_0x9f7703;}),_0x369e54=_0x5d2d92['createContainerElement']('sup',{'id':'ref-'+_0x14f389,'class':'footnote'},[_0x155db0]);return _0x369e54['getFillerOffset']=()=>null,_0x369e54;}function X(_0x1fa855,_0x44275f,_0x2d0ab0,{dataPipeline:_0x24273d}={}){const {t:t}=_0x2d0ab0,_0x1b0d78=_0x1fa855['getAttribute']('footnoteId'),_0x2faa53=_0x44275f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1b0d78},function(_0x16d03d){const _0x34e1b5=this['toDomElement'](_0x16d03d);return _0x34e1b5['innerText']='^',_0x34e1b5;}),_0xec3fce=_0x24273d?_0x44275f['createContainerElement']('div',{'class':'footnote-content'}):_0x4330a3(_0x44275f['createEditableElement']('div',{'class':'footnote-content'}),_0x44275f,{'label':t('Footnote\x20content.')});return _0x44275f['insert'](_0x44275f['createPositionAt'](_0xec3fce,0x0),_0x44275f['createSlot']()),_0x44275f['createContainerElement']('li',{'class':'footnote-definition','id':_0x1b0d78},[_0x2faa53,_0xec3fce]);}class J extends _0x56645d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x37b9e6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x431be7}=this,{plugins:_0x490519,model:_0x59ea98}=_0x431be7,_0x997e67=_0x490519['get'](_0x37b9e6),_0x458225=_0x490519['get'](K);this['listenTo'](_0x997e67,'outputTransformation',(_0x145c5e,_0x25dfb8)=>{const _0x3c93bd=Q(_0x59ea98['createRangeIn'](_0x25dfb8['content']));if(!_0x3c93bd['length'])return;const _0x495157=_0x458225['getFootnotes'](),_0xf97e6c=_0x3c93bd['reduce']((_0x7b94f6,_0x250f3a)=>{const _0x598f2b=_0x495157['find'](_0x4a30bc=>_0x4a30bc['id']===_0x250f3a);if(_0x598f2b){const _0x11d29c=_0x431be7['data']['toView'](_0x598f2b['definition'],{'isClipboardPipeline':!0x0}),_0x4d5e12=_0x431be7['data']['htmlProcessor']['toData'](_0x11d29c);_0x7b94f6[_0x598f2b['id']]=_0x4d5e12;}return _0x7b94f6;},Object['create'](null));_0x25dfb8['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xf97e6c));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x52cde3}=this,{model:_0x193d3f,plugins:_0x572474}=_0x52cde3,{view:_0x846d5a}=_0x52cde3['editing'],_0x1e46ce=_0x572474['get'](_0x37b9e6),_0x45665e=_0x572474['get'](K),_0x13693b=_0x52cde3['config']['get']('footnotes.multiBlock');let _0x5b21a5=null;this['listenTo'](_0x846d5a['document'],'clipboardInput',(_0x41b590,_0x327763)=>{const _0x4c4325=_0x327763['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5b21a5=_0x4c4325?JSON['parse'](_0x4c4325):null;}),this['listenTo'](_0x1e46ce,'contentInsertion',(_0x3ff726,_0x229731)=>{const _0x5b6fcb=_0x229731['sourceEditorId']===this['editor']['id'];_0x5b6fcb&&'drop'===_0x229731['method']||_0x193d3f['change'](_0x5cbe01=>{let _0x582fb6=_0x45665e['getFootnotesDefinitionsObjectElement']();const _0x18b81b=!!_0x582fb6&&Array['from'](_0x193d3f['document']['selection']['getSelectedBlocks']())['includes'](_0x582fb6);if(!_0x5b21a5&&function(_0x102b0b){for(const {item:_0x1b8d87}of _0x102b0b)if(_0x1b8d87['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x193d3f['createRangeIn'](_0x229731['content']))&&(_0x5b21a5=function(_0x9404c2,_0x151e34){const _0x4016f7=G(_0x9404c2,_0x151e34);if(!_0x4016f7)return null;const _0x2106c3=Object['create'](null);for(const _0x44c0bd of _0x4016f7['getChildren']())_0x44c0bd['is']('element','footnoteDefinition')&&_0x44c0bd['hasAttribute']('footnoteId')&&(_0x2106c3[_0x44c0bd['getAttribute']('footnoteId')]=_0x9404c2['cloneElement'](_0x44c0bd,!0x0));return Object['keys'](_0x2106c3)['length']?_0x2106c3:null;}(_0x5cbe01,_0x229731['content'])),(_0x582fb6&&!_0x18b81b||!_0x582fb6&&!_0x5b21a5)&&function(_0x53d722,_0x16b7dd){const _0x1de892=[];for(const {item:_0x41040f}of _0x53d722['createRangeIn'](_0x16b7dd))_0x41040f['is']('element','footnotesDefinitions')&&_0x1de892['push'](_0x41040f);for(const _0xe5387c of _0x1de892)_0x53d722['remove'](_0xe5387c);}(_0x5cbe01,_0x229731['content']),!_0x5b21a5)return;const {selection:_0x3c69a7}=_0x193d3f['document'],_0x2cb822=_0x3c69a7['getFirstRange']()['root'];_0x582fb6&&!_0x18b81b||(_0x582fb6=G(_0x5cbe01,_0x229731['content']),_0x582fb6||=_0x45665e['_insertEmptyFootnotesDefinitionsContainer'](_0x5cbe01,_0x2cb822));const _0x48e184=Array['from'](_0x3c69a7['getRanges']())['flatMap'](Q),_0x3f10b7=function(_0x363118,_0x3e985d,_0x438435){const _0x3a9ba7=Object['create'](null);for(const {item:_0x339dd7}of _0x363118['createRangeIn'](_0x3e985d))if(_0x339dd7['is']('element','footnoteRef')){const _0x5af08d=_0x339dd7['getAttribute']('footnoteId');if(!_0x438435(_0x5af08d))continue;_0x3a9ba7[_0x5af08d]||(_0x3a9ba7[_0x5af08d]=_0x47f35e()),_0x363118['setAttribute']('footnoteId',_0x3a9ba7[_0x5af08d],_0x339dd7);}return _0x3a9ba7;}(_0x5cbe01,_0x229731['content'],_0x5f3c0b=>{if(!_0x5b6fcb)return!0x0;return!!_0x45665e['getFootnote'](_0x5f3c0b)&&!_0x48e184['includes'](_0x5f3c0b);});for(const [_0x36069d,_0x5ba4f5]of Object['entries'](_0x5b21a5)){const _0xa9b847=_0x3f10b7[_0x36069d]||_0x36069d;let _0x68394c;if('string'!=typeof _0x5ba4f5)_0x68394c=_0x5ba4f5,_0xa9b847!==_0x36069d&&_0x5cbe01['setAttribute']('footnoteId',_0xa9b847,_0x68394c);else{_0x68394c=_0x5cbe01['createElement']('footnoteDefinition',{'footnoteId':_0xa9b847});const _0x1bb249=_0x52cde3['data']['htmlProcessor']['toView'](_0x5ba4f5);let _0x3758fe;if(_0x13693b)_0x3758fe=_0x52cde3['data']['toModel'](_0x1bb249,_0x68394c);else{_0x3758fe=_0x5cbe01['createElement']('footnoteInlineContent');const _0x2ef404=_0x52cde3['data']['toModel'](_0x1bb249,_0x3758fe);_0x5cbe01['insert'](_0x2ef404,_0x3758fe);}_0x5cbe01['append'](_0x3758fe,_0x68394c);}_0x5cbe01['insert'](_0x68394c,_0x582fb6,'end');}_0x5b21a5=null;});});}}function G(_0x281d5a,_0x32c89d){for(const {item:_0x43bc35}of _0x281d5a['createRangeIn'](_0x32c89d))if(_0x43bc35['is']('element','footnotesDefinitions'))return _0x43bc35;return null;}function Q(_0x54f807){const _0x56d70d=new Set();for(const {item:_0x465897}of _0x54f807)_0x465897['is']('element','footnoteRef')&&_0x56d70d['add'](_0x465897['getAttribute']('footnoteId'));return Array['from'](_0x56d70d);}class W extends _0x56645d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b7053}=this,{componentFactory:_0x5a760c}=_0x1b7053['ui'];_0x5a760c['add']('insertFootnote',Y(_0x1b7053,_0xda0370)),_0x5a760c['add']('menuBar:insertFootnote',Y(_0x1b7053,_0x501fbc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x27caa2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x424524;for(const _0x559c35 in _0x27caa2){const _0x38754b=_0x559c35,_0x93bdac=_0x27caa2[_0x38754b];if('footnotesLicenseKeyValid'==_0x93bdac||'footnotesLicenseKeyInvalid'==_0x93bdac||'footnotesLicenseKeyExpired'==_0x93bdac||'footnotesLicenseKeyDomainLimit'==_0x93bdac||'footnotesLicenseKeyNotAllowed'==_0x93bdac||'footnotesLicenseKeyEvaluationLimit'==_0x93bdac||'footnotesLicenseKeyUsageLimit'==_0x93bdac){delete _0x27caa2[_0x38754b],_0x424524=_0x93bdac,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x424524&&_0x27caa2['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x424524&&_0x27caa2['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x424524&&_0x27caa2['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x424524&&_0x27caa2['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x424524&&_0x27caa2['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x424524&&_0x27caa2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x51739,_0x2240c2){const _0x5a81c5=_0x51739['commands']['get']('insertFootnote');return _0x234eea=>{const {t:t}=_0x234eea,_0x46c9b7=new _0x2240c2(_0x234eea),_0x38c63a=_0x46c9b7 instanceof _0x501fbc;return _0x46c9b7['bind']('isEnabled')['to'](_0x5a81c5,'isEnabled'),_0x46c9b7['set']({'label':t(_0x38c63a?'Footnote':'Insert\x20footnote'),'icon':_0x379a24,'tooltip':!0x0}),_0x46c9b7['on']('execute',()=>{_0x5a81c5['execute'](),_0x51739['editing']['view']['focus']();}),_0x46c9b7;};}class Z extends _0x56645d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x38b0ca{['refresh'](){const {editor:_0x2a353b}=this,_0x2c7e29=_0x2a353b['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2c7e29,this['value']=_0x2c7e29?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x46126d}){const {editor:_0x493de0}=this,_0x1a0534=_0x493de0['plugins']['get'](K),_0x51b20e=_0x1a0534['getFootnotesDefinitionsObjectElement']();_0x51b20e&&ot['includes'](_0x46126d)&&_0x493de0['model']['change'](_0x4b72d8=>{_0x4b72d8['setAttribute']('footnotesListStyle',_0x46126d,_0x51b20e),_0x1a0534['_updateFootnotesCounters'](_0x4b72d8);});}}class it extends _0x38b0ca{['refresh'](){const {editor:_0x405fb6}=this,_0x39708f=_0x405fb6['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x39708f,this['value']=_0x39708f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x50dfc0}){const {editor:_0xd24c18}=this,_0x20d526=_0xd24c18['plugins']['get'](K),_0xfe3cc8=_0x20d526['getFootnotesDefinitionsObjectElement']();_0xfe3cc8&&Number['isInteger'](_0x50dfc0)&&_0xd24c18['model']['change'](_0x17c35b=>{_0x17c35b['setAttribute']('footnotesListStart',_0x50dfc0,_0xfe3cc8),_0x20d526['_updateFootnotesCounters'](_0x17c35b);});}}function st(_0x3bf45b,_0x5dbf01){let _0x4ca55f='',_0x2b58dd=_0x3bf45b;for(;_0x2b58dd>0x0;){const _0x5dafa6=(_0x2b58dd-0x1)%0x1a;_0x4ca55f=String['fromCharCode'](0x61+_0x5dafa6)+_0x4ca55f,_0x2b58dd=Math['floor']((_0x2b58dd-0x1)/0x1a);}return _0x5dbf01?_0x4ca55f['toUpperCase']():_0x4ca55f;}const rt=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function lt(_0x32af2f,_0x2ba1f7){let _0x1a35f6='',_0x72c03e=_0x32af2f;for(const {value:_0x11c9c3,numeral:_0x576071}of rt)for(;_0x72c03e>=_0x11c9c3;)_0x1a35f6+=_0x576071,_0x72c03e-=_0x11c9c3;return _0x2ba1f7?_0x1a35f6:_0x1a35f6['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x56645d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5118bb}=this;_0x5118bb['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5118bb['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5118bb['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x5118bb['commands']['add']('footnotesStyle',new nt(_0x5118bb)),_0x5118bb['commands']['add']('footnotesStart',new it(_0x5118bb)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1d04c4}=this,{schema:_0x3c28cf}=_0x1d04c4['model'];_0x3c28cf['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x130448}=this,{conversion:_0x5dff06,model:_0x51b381}=_0x130448,{schema:_0x4de7ef}=_0x51b381;_0x5dff06['for']('upcast')['add'](_0x5bc1c7=>{_0x5bc1c7['on']('element:ol',(_0x3645d3,_0x4241ad,_0x766ac7)=>{const _0x3e8dad=_0x4241ad['viewItem'],_0x551a5c=_0x4241ad['modelCursor']?.['parent'];_0x3e8dad['hasClass']('footnotes-list')&&_0x551a5c?.['is']('element','footnotesDefinitions')&&(function(_0x14c8c1,_0x420228,_0x5327d4,_0x115298){if(!_0x115298['checkAttribute'](_0x420228,'footnotesListStart'))return;let _0x53ee0f=0x1;const _0x503d4f=_0x5327d4['consumable']['consume'](_0x14c8c1,{'attributes':'start'});if(_0x503d4f){const _0x403ea5=Number['parseInt'](_0x14c8c1['getAttribute']('start'),0xa);Number['isNaN'](_0x403ea5)||(_0x53ee0f=_0x403ea5);}!_0x503d4f&&_0x420228['hasAttribute']('footnotesListStart')||_0x5327d4['writer']['setAttribute']('footnotesListStart',_0x53ee0f,_0x420228);}(_0x3e8dad,_0x551a5c,_0x766ac7,_0x4de7ef),function(_0x4228f3,_0x4f6a06,_0x3872b4,_0x37d98a){if(!_0x37d98a['checkAttribute'](_0x4f6a06,'footnotesListStyle'))return;let _0x59215c='decimal',_0x2f29c7=!0x1;if(_0x3872b4['consumable']['consume'](_0x4228f3,{'attributes':'type'})){const _0x288b9e={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x4228f3['getAttribute']('type')];_0x288b9e&&(_0x59215c=_0x288b9e),_0x2f29c7=!0x0;}if(_0x3872b4['consumable']['consume'](_0x4228f3,{'styles':'list-style-type'})){const _0x38d198=ct(_0x4228f3['getStyle']('list-style-type'));_0x38d198&&(_0x59215c=_0x38d198),_0x2f29c7=!0x0;}!_0x2f29c7&&_0x4f6a06['hasAttribute']('footnotesListStyle')||_0x3872b4['writer']['setAttribute']('footnotesListStyle',_0x59215c,_0x4f6a06);}(_0x3e8dad,_0x551a5c,_0x766ac7,_0x4de7ef));});}),_0x5dff06['for']('downcast')['add'](_0x59cac1=>{_0x59cac1['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x59473d,_0x1c8724,_0x2f5d54)=>{if(!_0x2f5d54['consumable']['consume'](_0x1c8724['item'],_0x59473d['name']))return;const _0x31f5e5=ut(_0x1c8724['item'],_0x2f5d54['mapper']),{attributeNewValue:_0x4d4e29}=_0x1c8724;null==_0x4d4e29||0x1===_0x4d4e29?_0x2f5d54['writer']['removeAttribute']('start',_0x31f5e5):_0x2f5d54['writer']['setAttribute']('start',String(_0x4d4e29),_0x31f5e5);}),_0x59cac1['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4045ea,_0x1a6bca,_0x3b5b89)=>{if(!_0x3b5b89['consumable']['consume'](_0x1a6bca['item'],_0x4045ea['name']))return;const _0x2deb3a=ut(_0x1a6bca['item'],_0x3b5b89['mapper']),{attributeNewValue:_0x1ddd5a}=_0x1a6bca;_0x1ddd5a&&'decimal'!==_0x1ddd5a?_0x3b5b89['writer']['setStyle']('list-style-type',_0x1ddd5a,_0x2deb3a):_0x3b5b89['writer']['removeStyle']('list-style-type',_0x2deb3a);});});}['_definePostfixer'](){const {editor:_0xa1187}=this,{model:_0x22b2a3}=_0xa1187,_0x4ee4da=_0xa1187['plugins']['get'](K),_0x1abfea=this['_getDefaultListStyle'](),_0x348bde=this['_getDefaultStartIndex']();_0x22b2a3['document']['registerPostFixer'](_0x20551f=>{const _0x547dae=_0x22b2a3['document']['differ']['getChanges']();let _0x1cfb3d=!0x1;for(const _0x98e975 of _0x547dae){if('insert'!==_0x98e975['type']||'$text'===_0x98e975['name'])continue;const _0x1b36ca=_0x22b2a3['createRangeOn'](_0x98e975['position']['nodeAfter']);for(const _0x4cdd7f of _0x1b36ca['getItems']())_0x4cdd7f['is']('element','footnotesDefinitions')&&(!_0x4cdd7f['hasAttribute']('footnotesListStart')&&_0x22b2a3['schema']['checkAttribute'](_0x4cdd7f,'footnotesListStart')&&(_0x20551f['setAttribute']('footnotesListStart',_0x348bde,_0x4cdd7f),_0x1cfb3d=!0x0),!_0x4cdd7f['hasAttribute']('footnotesListStyle')&&_0x22b2a3['schema']['checkAttribute'](_0x4cdd7f,'footnotesListStyle')&&(_0x20551f['setAttribute']('footnotesListStyle',_0x1abfea,_0x4cdd7f),_0x1cfb3d=!0x0));}return _0x1cfb3d&&_0x4ee4da['_updateFootnotesCounters'](_0x20551f),_0x1cfb3d;});}['_defineFormatter'](){const {editor:_0x1783d6}=this;_0x1783d6['plugins']['get'](K)['setFootnoteFormatter'](_0x532a33=>this['_formatFootnoteListValue'](_0x532a33));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2aae2e,value:_0x3b86d8,digits:_0x5dd5c4}){const _0x4c1f45=_0x2aae2e['getAttribute']('footnotesListStyle'),_0x5cc5da=_0x2aae2e['getAttribute']('footnotesListStart'),_0x5c9094=Math['floor'](_0x3b86d8)+(_0x5cc5da??0x1)-0x1;switch(_0x4c1f45){case'decimal-leading-zero':return function(_0x2258d3,_0x83a67f){return String(_0x2258d3)['padStart'](_0x83a67f,'0');}(_0x5c9094,Math['max'](0x2,_0x5dd5c4));case'lower-alpha':case'lower-latin':return st(_0x5c9094,!0x1);case'upper-alpha':case'upper-latin':return st(_0x5c9094,!0x0);case'lower-roman':return lt(_0x5c9094,!0x1);case'upper-roman':return lt(_0x5c9094,!0x0);case'arabic-indic':return String(_0x5c9094)['replace'](/\d/g,_0x2f6100=>ft[Number(_0x2f6100)]);default:return String(_0x5c9094);}}}function ct(_0x10a7cc){if('string'==typeof _0x10a7cc){const _0x2e12f0=et[_0x10a7cc];if(_0x2e12f0)return _0x2e12f0;if(ot['includes'](_0x10a7cc))return _0x10a7cc;}return null;}function ut(_0x5839b0,_0x212d05){const _0x466d03=_0x212d05['toViewElement'](_0x5839b0);return Array['from'](_0x466d03['getChildren']())['find'](_0x122791=>_0x122791['is']('element','ol')&&_0x122791['hasClass']('footnotes-list'));}class dt extends _0x2cb167{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x26bacb();['keystrokes']=new _0x51236b();['focusables']=new _0x398398();['focusCycler'];constructor(_0x3838f9,{styleButtonViews:_0xdccc6,styleGridAriaLabel:_0x191950}){super(_0x3838f9),(this['focusCycler']=new _0x53cc81({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xdccc6,_0x191950),[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 _0x34b21a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x34b21a['element']);_0x27afc3({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x42501a['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 _0x5b9ef9=_0x327651=>_0x327651['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5b9ef9),this['keystrokes']['set']('arrowleft',_0x5b9ef9),this['keystrokes']['set']('arrowup',_0x5b9ef9),this['keystrokes']['set']('arrowdown',_0x5b9ef9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x16980f,_0x50accb){const _0x4dff24=new _0x2cb167(this['locale']);return _0x4dff24['children']=_0x4dff24['createCollection'](),_0x4dff24['children']['addMany'](_0x16980f),_0x4dff24['setTemplate']({'tag':'div','attributes':{'aria-label':_0x50accb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4dff24['children']}),_0x4dff24['children']['delegate']('execute')['to'](this),_0x4dff24['focus']=function(){for(const _0x12e047 of this['children'])if(_0x12e047 instanceof _0xda0370&&_0x12e047['isOn'])return void _0x12e047['focus']();this['children']['first']['focus']();},_0x4dff24['focusTracker']=new _0x26bacb(),_0x4dff24['keystrokes']=new _0x51236b(),_0x4dff24['render'](),_0x4dff24['keystrokes']['listenTo'](_0x4dff24['element']),this['children']['add'](_0x4dff24),_0x4dff24;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xa1dcf6=this['_createStartIndexPropertyView'](),_0x8c57c4=[_0xa1dcf6],_0x366240=new _0x48a19b(this['locale'],_0x8c57c4);return _0x366240['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x366240['buttonView']['bind']('isEnabled')['toMany'](_0x8c57c4,'isEnabled',(..._0x365fda)=>_0x365fda['some'](_0x5deb50=>_0x5deb50)),_0x366240['buttonView']['on']('change:isEnabled',(_0x205694,_0x4be77a,_0x48c310)=>{_0x48c310||(_0x366240['isCollapsed']=!0x0);}),this['children']['add'](_0x366240),[_0xa1dcf6,_0x366240];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5cd697=new _0x458991(this['locale'],_0x282b37);return _0x5cd697['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5cd697['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5cd697['fieldView']['on']('input',()=>{const _0x4ff95e=_0x5cd697['fieldView']['element'],_0x40355f=_0x4ff95e['valueAsNumber'];Number['isNaN'](_0x40355f)?_0x5cd697['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4ff95e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x40355f}):_0x5cd697['errorText']=t(_0x40355f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5cd697;}}class ht extends _0x56645d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2828de,_0x30b6f8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e6db9}=this,{componentFactory:_0x5f2e21}=_0x4e6db9['ui'];_0x4e6db9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5f2e21['add']('footnotesStyle',function(_0x1e1601){return _0x524981=>{const {t:t}=_0x524981,_0x1bf2f7=_0x1e1601['commands']['get']('footnotesStyle'),_0x502f7c=_0x464cad(_0x524981),{buttonView:_0x548bc6}=_0x502f7c;return _0x502f7c['class']='ck-footnotes-styles-dropdown',_0x502f7c['bind']('isEnabled')['to'](_0x1bf2f7,'isEnabled'),_0x548bc6['set']({'label':t('Footnotes\x20style'),'icon':_0x379a24,'tooltip':!0x0}),_0x502f7c['once']('change:isOpen',()=>{const _0x4a0c60=function({editor:_0x503433,dropdownView:_0x595b2e}){const {t:t}=_0x503433['locale'],_0x289105=t('Footnotes\x20definitions\x20styles'),_0x3a44ad=function(_0x35ec3b){const {t:t}=_0x35ec3b['locale'],_0x42d401=_0x35ec3b['config']['get']('footnotes.footnotesProperties.listStyles'),_0x253166=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x183ce7},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x5a35b0},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2caf7d},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x2b0718},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5bc29c},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x2e5ef9},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x36738c}];return _0x42d401['map'](_0xbed0f9=>{const _0x1db5e5=ct(_0xbed0f9),_0x5ab884=_0x253166['find'](_0x21581b=>_0x21581b['style']===_0x1db5e5);return function(_0x554d6c,_0x3bb6a5){const {locale:_0x8591e8}=_0x554d6c,{label:_0x486f9f,icon:_0x502085,tooltip:_0x4099d8,style:_0x569a83}=_0x3bb6a5,_0x2ffa0d=_0x554d6c['commands']['get']('footnotesStyle'),_0x4ac3b6=new _0xda0370(_0x8591e8);return _0x4ac3b6['set']({'label':_0x486f9f,'icon':_0x502085,'tooltip':_0x4099d8}),_0x4ac3b6['bind']('isOn')['to'](_0x2ffa0d,'value',_0x2237f1=>_0x2237f1===_0x569a83),_0x4ac3b6['bind']('isEnabled')['to'](_0x2ffa0d,'isEnabled'),_0x4ac3b6['on']('execute',()=>{_0x554d6c['execute']('footnotesStyle',{'value':_0x569a83}),_0x554d6c['editing']['view']['focus']();}),_0x4ac3b6;}(_0x35ec3b,_0x5ab884);});}(_0x503433),_0x496b05=new dt(_0x503433['locale'],{'styleGridAriaLabel':_0x289105,'styleButtonViews':_0x3a44ad}),_0x110d84=_0x503433['commands']['get']('footnotesStart');return _0x496b05['startIndexFieldView']['bind']('isEnabled')['to'](_0x110d84),_0x496b05['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x110d84),_0x496b05['on']('footnotesListStart',(_0x254a14,_0x5b95bc)=>{_0x503433['execute']('footnotesStart',{'value':_0x5b95bc['startIndex']});}),_0x496b05['delegate']('execute')['to'](_0x595b2e),_0x496b05;}({'editor':_0x1e1601,'dropdownView':_0x502f7c});_0x502f7c['panelView']['children']['add'](_0x4a0c60);}),_0x502f7c;};}(_0x4e6db9));}['afterInit'](){const {editor:_0x16a64}=this,{t:t}=_0x16a64['locale'],_0x57afef=_0x16a64['plugins']['get'](_0x30b6f8),{defaultPositions:_0x5c9bd0}=_0x515e45;_0x57afef['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x16a64['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x18c77a=>{let _0x3b8f87=_0x18c77a['getFirstPosition']()?.['parent'];return _0x3b8f87?.['is']('$text')&&(_0x3b8f87=_0x3b8f87['parent']),_0x3b8f87?.['is']('element')?_0x3b8f87['findAncestor'](q):null;},'positions':[_0x5c9bd0['southArrowNorth'],_0x5c9bd0['southArrowNorthMiddleWest'],_0x5c9bd0['southArrowNorthMiddleEast'],_0x5c9bd0['southArrowNorthWest'],_0x5c9bd0['southArrowNorthEast'],_0x5c9bd0['northArrowSouth'],_0x5c9bd0['northArrowSouthMiddleWest'],_0x5c9bd0['northArrowSouthMiddleEast'],_0x5c9bd0['northArrowSouthWest'],_0x5c9bd0['northArrowSouthEast'],_0x5c9bd0['viewportStickyNorth']]});}}class mt extends _0x56645d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
23
+ import{Plugin as _0x565f5d,Command as _0x408e67}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x59445e,isWidget as _0x2716dc,toWidgetEditable as _0x131741,WidgetToolbarRepository as _0x16ec91}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xc7222c,logWarning as _0x4c3e7e,FocusTracker as _0x58b7dc,KeystrokeHandler as _0x13c935,global as _0x295e92}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x432ae2,ClickObserver as _0x573260}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1f8cbe}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x599219,ButtonView as _0xf7ab8f,View as _0x11c711,ViewCollection as _0x2f2745,FocusCycler as _0x464162,addKeyboardHandlingForGrid as _0x1c52c1,CollapsibleView as _0x2685a3,LabeledFieldView as _0x2840ea,createLabeledInputNumber as _0x6e17a,ContextualBalloon as _0x2a961e,BalloonPanelView as _0xf85455,createDropdown as _0x5a3c9c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x22117f,IconListStyleDecimal as _0x10f394,IconListStyleDecimalLeadingZero as _0x4ef899,IconListStyleLowerRoman as _0x281a4a,IconListStyleUpperRoman as _0x3d1ac6,IconListStyleLowerLatin as _0x2269e6,IconListStyleUpperLatin as _0x459d73,IconListStyleArabicIndic as _0xd0327c}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x12445d,_0x289bca){this['_model']=_0x12445d,this['_elementName']=_0x289bca['elementName'],this['_getElementKey']=_0x289bca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x22b9bd){const _0x10cc01=new Set(),_0x37f4dd=new Map();for(const _0xdf6d55 of _0x22b9bd){if('insert'===_0xdf6d55['type']&&'$text'!==_0xdf6d55['name']&&_0xdf6d55['position']['nodeAfter']){const _0x8f02f1=this['_model']['createRangeOn'](_0xdf6d55['position']['nodeAfter']);for(const _0x222b70 of _0x8f02f1['getItems']()){if(!_0x222b70['is']('element',this['_elementName']))continue;const _0x44133a=this['_getElementKey'](_0x222b70);_0x37f4dd['has'](_0x44133a)||_0x37f4dd['set'](_0x44133a,[]),_0x37f4dd['get'](_0x44133a)['push'](_0x222b70);}}if('remove'===_0xdf6d55['type']&&_0xdf6d55['name']===this['_elementName']){const _0x5a14a3=this['_getElementKey']({'getAttribute':_0x85d037=>_0xdf6d55['attributes']['get'](_0x85d037)});_0x10cc01['add'](_0x5a14a3);}}for(const [_0x2c9830,_0x456453]of this['_trackedElements'])'$graveyard'===_0x456453['root']['rootName']&&_0x10cc01['add'](_0x2c9830);for(const _0x466dfd of _0x10cc01)this['_trackedElements']['delete'](_0x466dfd);for(const [_0x7f5543,_0x144e2f]of _0x37f4dd)this['_trackedElements']['set'](_0x7f5543,_0x144e2f[_0x144e2f['length']-0x1]);const _0x5d5c7a=new Set();for(const [_0x533399,_0x4e4e07]of _0x37f4dd)_0x10cc01['has'](_0x533399)&&(_0x5d5c7a['add'](_0x4e4e07[0x0]),_0x4e4e07['length']>0x1?_0x37f4dd['set'](_0x533399,_0x4e4e07['slice'](0x1)):_0x37f4dd['delete'](_0x533399),_0x10cc01['delete'](_0x533399));return{'removed':Array['from'](_0x10cc01),'inserted':Array['from'](_0x37f4dd['values']())['flat'](),'moved':Array['from'](_0x5d5c7a)};}}class K extends _0x565f5d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f492c){super(_0x1f492c),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x447228=>_0x447228['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xe640a3=>_0xe640a3['getAttribute']('footnoteId')});}['init'](){const {editor:_0x303cda}=this,{model:_0x30cb32,data:_0x523921}=_0x303cda;_0x30cb32['document']['registerPostFixer'](_0x4bfc9f=>{const _0x1ef8e5=_0x30cb32['document']['differ']['getChanges']();let _0x4cf53e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4bfc9f,_0x1ef8e5)&&(_0x4cf53e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4bfc9f,_0x1ef8e5)&&(_0x4cf53e=!0x0),this['_handleFootnoteReferencesChanges'](_0x4bfc9f,_0x1ef8e5)&&(_0x4cf53e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4bfc9f)&&(_0x4cf53e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4bfc9f)&&(_0x4cf53e=!0x0),this['_sortFootnoteDefinitions'](_0x4bfc9f)&&(_0x4cf53e=!0x0),_0x4cf53e;}),this['listenTo'](_0x30cb32['document'],'change:data',()=>{_0x30cb32['enqueueChange']({'isUndoable':!0x1},_0x45e45a=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x45e45a);});},{'priority':'low'}),this['listenTo'](_0x523921,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2180af){return this['_footnotes']['find'](_0x3e275a=>_0x3e275a['id']===_0x2180af)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x27befb){this['_footnoteFormatter']=_0x27befb;}['_updateFootnotesCounters'](_0x1639cc,_0x23ca5a=0x0){let _0x1c6367=!0x1;for(let _0x3da1aa=_0x23ca5a;_0x3da1aa<this['_footnotes']['length'];_0x3da1aa++)this['_updateFootnoteRefCounter'](_0x1639cc,_0x3da1aa)&&(_0x1c6367=!0x0);return _0x1c6367;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3f9341,_0x522426){const _0xb933aa=_0x3f9341['createElement']('footnotesDefinitions',{});return _0x3f9341['append'](_0xb933aa,_0x522426),this['_footnotesDefinitions']=_0xb933aa,_0xb933aa;}['_ensureFootnotesDefinitionsContainerExists'](_0x3a01a1){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x18711f=this['_footnotes'][0x0]['reference']['root'],_0x400420=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3a01a1,_0x18711f);for(const _0x4875fd of this['_footnotes'])_0x4875fd['definition']['parent']||_0x3a01a1['insert'](_0x4875fd['definition'],_0x400420,'end');this['_updateFootnotesCounters'](_0x3a01a1);}['_handleFootnotesDefinitionsObjectChanges'](_0x359f1d,_0x59cb03){let _0x59bce0=!0x1;const {inserted:_0x37d96b,removed:_0x1caace,moved:_0x199973}=this['_footnoteDefsContainerTracker']['getChanges'](_0x59cb03);if(_0x199973['length']&&(this['_footnotesDefinitions']=_0x199973[0x0]),_0x37d96b['length']){if(_0x37d96b['length']>0x1||this['_footnotesDefinitions']&&_0x37d96b['some'](_0x3efbd5=>_0x3efbd5!==this['_footnotesDefinitions'])){const _0x231806=_0x359f1d['createElement']('footnotesDefinitions',{}),_0x4db8c0=[];this['_footnotesDefinitions']&&_0x4db8c0['push'](this['_footnotesDefinitions']),_0x4db8c0['push'](..._0x37d96b),_0x359f1d['insert'](_0x231806,_0x4db8c0[0x0],'before');for(const _0x299c6d of _0x4db8c0)_0x359f1d['move'](_0x359f1d['createRangeIn'](_0x299c6d),_0x359f1d['createPositionAt'](_0x231806,'end')),_0x359f1d['remove'](_0x299c6d);this['_footnotesDefinitions']=_0x231806,this['_updateFootnotesCounters'](_0x359f1d),_0x59bce0=!0x0;}else this['_footnotesDefinitions']=_0x37d96b[0x0];}if(_0x1caace['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x590897 of this['_footnotes'])_0x359f1d['remove'](_0x590897['reference']),_0x59bce0=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x59bce0;}['_handleFootnoteDefinitionsChanges'](_0x3456ab,_0x56edcc){let _0x3eb52c=!0x1;const _0x1705fc=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0xe1622f,moved:_0x5728b1}=this['_footnoteDefsTracker']['getChanges'](_0x56edcc);for(const _0x12a41f of[..._0x5728b1,..._0xe1622f]){const _0x520778=_0x12a41f['getAttribute']('footnoteId'),_0x4e109c=this['getFootnote'](_0x520778);_0x4e109c&&(_0x4e109c['definition']=_0x12a41f),j(_0x3456ab,_0x1705fc,_0x12a41f)&&(_0x3eb52c=!0x0);}return _0x3eb52c;}['_handleFootnoteReferencesChanges'](_0x532b91,_0xf5b88e){let _0x1419d0=!0x1;const {removed:_0x4c4374,inserted:_0x55652c,moved:_0x5ee711}=this['_footnoteRefsTracker']['getChanges'](_0xf5b88e);for(const _0x78aa52 of _0x4c4374)this['_handleRemoveFootnoteReferenceById'](_0x532b91,_0x78aa52)&&(_0x1419d0=!0x0);for(const _0x3d1474 of _0x55652c)this['_handleInsertedFootnoteReference'](_0x532b91,_0x3d1474)&&(_0x1419d0=!0x0);for(const _0x4bf793 of _0x5ee711)this['_handleMovedFootnoteReference'](_0x532b91,_0x4bf793)&&(_0x1419d0=!0x0);return _0x1419d0;}['_handleFootnotesDefinitionsObjectSync'](_0xf19c86){if(!this['_footnotesDefinitions'])return!0x1;let _0x1bf725=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x38f9d3=[];for(const _0x44878c of this['_footnotesDefinitions']['getChildren']()){const _0x16c5bc=_0x44878c['getAttribute']('footnoteId');this['getFootnote'](_0x16c5bc)||(_0x38f9d3['unshift'](_0x44878c),_0x1bf725=!0x0);}for(const _0x38a5e3 of _0x38f9d3)_0xf19c86['remove'](_0x38a5e3);}const _0x2209df=new Set(),_0x592558=[];for(const _0x6cea1d of this['_footnotesDefinitions']['getChildren']()){const _0x18af3c=_0x6cea1d['getAttribute']('footnoteId');_0x2209df['has'](_0x18af3c)?(_0x592558['unshift'](_0x6cea1d),_0x1bf725=!0x0):_0x2209df['add'](_0x18af3c);}for(const _0x1972be of _0x592558)_0xf19c86['remove'](_0x1972be);return this['_footnotesDefinitions']['childCount']||(_0xf19c86['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1bf725=!0x0),_0x1bf725;}['_handleInsertedFootnoteReference'](_0x2397b0,_0x12927d){if(this['_footnotes']['find'](_0x2e023e=>_0x2e023e['reference']===_0x12927d))return!0x1;let _0x591b79=!0x1;const _0x23f878=_0x12927d['getAttribute']('footnoteId'),_0x3fa3b8=this['_footnotes']['findIndex'](_0x2c4ed1=>_0x2c4ed1['id']===_0x23f878);-0x1!==_0x3fa3b8&&(_0x2397b0['remove'](this['_footnotes'][_0x3fa3b8]['reference']),this['_footnotes']['splice'](_0x3fa3b8,0x1),_0x591b79=!0x0);let _0x53bfc7=this['_footnotesDefinitions']?function(_0x42115d,_0x1adeb2){for(const _0x4fdfaa of _0x42115d['getChildren']())if(_0x4fdfaa['getAttribute']('footnoteId')===_0x1adeb2)return _0x4fdfaa;return null;}(this['_footnotesDefinitions'],_0x23f878):null;_0x53bfc7||(_0x53bfc7=_0x2397b0['createElement']('footnoteDefinition',{'footnoteId':_0x23f878}),this['_footnotesDefinitions']&&(_0x2397b0['insert'](_0x53bfc7,this['_footnotesDefinitions'],'end'),_0x591b79=!0x0));const _0x5e03c4={'id':_0x23f878,'reference':_0x12927d,'definition':_0x53bfc7},_0x37f13d=T(this['editor']['model'],this['_footnotes'],_0x12927d);this['_footnotes']['splice'](_0x37f13d,0x0,_0x5e03c4);let _0x338b4b=_0x37f13d;return-0x1!==_0x3fa3b8&&(_0x338b4b=Math['min'](_0x37f13d,_0x3fa3b8)),this['_updateFootnotesCounters'](_0x2397b0,_0x338b4b)&&(_0x591b79=!0x0),_0x591b79;}['_handleRemoveFootnoteReferenceById'](_0x704d90,_0x3f0096){const _0x349857=this['_footnotes']['findIndex'](_0x509584=>_0x509584['id']===_0x3f0096);if(-0x1===_0x349857)return!0x1;let _0x9dc5cf=!0x1;const _0x59a1b9=this['_footnotes'][_0x349857];return'$graveyard'!==_0x59a1b9['definition']['root']['rootName']&&(_0x704d90['remove'](_0x59a1b9['definition']),_0x9dc5cf=!0x0),this['_footnotes']['splice'](_0x349857,0x1),this['_updateFootnotesCounters'](_0x704d90,_0x349857)&&(_0x9dc5cf=!0x0),_0x9dc5cf;}['_handleMovedFootnoteReference'](_0x104ce2,_0x416d69){const _0x5187a1=_0x416d69['getAttribute']('footnoteId'),_0x165076=this['_footnotes']['findIndex'](_0x2cbce6=>_0x2cbce6['id']===_0x5187a1),_0x2c6871=this['_footnotes'][_0x165076];let _0x423459=!0x1;_0x2c6871['reference']=_0x416d69,this['_footnotes']['splice'](_0x165076,0x1);const _0xf2d4e4=T(this['editor']['model'],this['_footnotes'],_0x416d69);return this['_footnotes']['splice'](_0xf2d4e4,0x0,_0x2c6871),this['_updateFootnotesCounters'](_0x104ce2,Math['min'](_0x165076,_0xf2d4e4))&&(_0x423459=!0x0),_0x423459;}['_updateFootnoteRefCounter'](_0x544b5c,_0x31a7c6){if(!this['_footnotesDefinitions'])return!0x1;const _0x4ae4ab=this['_footnotes'][_0x31a7c6];let _0x5e5ed0;return _0x5e5ed0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4ae4ab,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x31a7c6+0x1}):String(_0x31a7c6+0x1),_0x4ae4ab['reference']['getAttribute']('footnoteCounter')!=_0x5e5ed0&&(_0x544b5c['setAttribute']('footnoteCounter',_0x5e5ed0,_0x4ae4ab['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x18d432){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3e819d,_0x193cb7){if(_0x3e819d['length']!==_0x193cb7['length'])return!0x1;for(let _0x5675d3=0x0;_0x5675d3<_0x3e819d['length'];_0x5675d3++)if(_0x3e819d[_0x5675d3]!==_0x193cb7[_0x5675d3])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x510471=>_0x510471['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x21895c=>_0x21895c['getAttribute']('footnoteId'))))return!0x1;let _0x1375ae=!0x1;for(let _0x8e8217=0x0;_0x8e8217<this['_footnotes']['length'];_0x8e8217++){const _0x349d0c=this['_footnotes'][_0x8e8217],_0x152a87=_0x18d432['createPositionBefore'](_0x349d0c['definition']),_0x1a04b7=_0x18d432['createPositionAt'](this['_footnotesDefinitions'],_0x8e8217);_0x152a87['isEqual'](_0x1a04b7)||(_0x18d432['move'](_0x18d432['createRangeOn'](_0x349d0c['definition']),_0x1a04b7),_0x1375ae=!0x0);}return _0x1375ae;}['_ensureFootnotesReferencesHaveProperOrder'](_0x38d375){if(!this['_footnotes']['length'])return!0x1;const {model:_0x55715d}=this['editor'];let _0x4947df=!0x1;for(let _0x265300=0x0;_0x265300<this['_footnotes']['length']-0x1;_0x265300++){const _0x25ec45=this['_footnotes'][_0x265300],_0x3554c8=this['_footnotes'][_0x265300+0x1],_0x23acd8=_0x55715d['createPositionBefore'](_0x25ec45['reference']),_0x4d1b31=_0x55715d['createPositionBefore'](_0x3554c8['reference']);'after'===_0x23acd8['compareWith'](_0x4d1b31)&&(this['_handleMovedFootnoteReference'](_0x38d375,_0x25ec45['reference']),_0x265300=-0x1,_0x4947df=!0x0);}return _0x4947df;}}function j(_0x4ae945,_0x37085e,_0x25481e){if(_0x25481e['childCount'])return!0x1;const _0xf39e57=_0x37085e?'paragraph':'footnoteInlineContent';return _0x4ae945['insert'](_0x4ae945['createElement'](_0xf39e57),_0x25481e),!0x0;}function T(_0xfd479e,_0x1c40d7,_0x1f0ea6){if(0x0===_0x1c40d7['length'])return 0x0;const _0x596faf=_0xfd479e['createPositionBefore'](_0x1f0ea6);for(let _0x4d6318=0x0;_0x4d6318<_0x1c40d7['length'];_0x4d6318++){const _0x515b24=_0x1c40d7[_0x4d6318],_0x309385=_0xfd479e['createPositionBefore'](_0x515b24['reference']);if('before'===_0x596faf['compareWith'](_0x309385))return _0x4d6318;}const _0x107a4c=_0x1f0ea6['root'];let _0x4bc2b9=-0x1;for(let _0x305dc5=_0x1c40d7['length']-0x1;_0x305dc5>=0x0;_0x305dc5--)if(_0x1c40d7[_0x305dc5]['reference']['root']===_0x107a4c){_0x4bc2b9=_0x305dc5;break;}if(-0x1!==_0x4bc2b9)return _0x4bc2b9+0x1;const _0x1a4fd7=_0xfd479e['document']['getRootNames'](),_0x1dcb0c=_0x1a4fd7['indexOf'](_0x107a4c['rootName']),_0x1a0b3f=_0x1a4fd7[_0x1dcb0c+0x1];if(_0x1a0b3f){for(let _0x3c66b4=0x0;_0x3c66b4<_0x1c40d7['length'];_0x3c66b4++)if(_0x1c40d7[_0x3c66b4]['reference']['root']['rootName']===_0x1a0b3f)return _0x3c66b4;}return _0x1c40d7['length'];}class V extends _0x408e67{['refresh'](){const _0x18e826=this['editor']['model']['document']['selection'],_0x397cfc=this['_getPositionToInsertFootnote'](_0x18e826);this['isEnabled']=!!_0x397cfc;}['execute'](_0x4f00b0){const {editor:_0xbce63b}=this,{model:_0x2be1c7}=_0xbce63b,{selection:_0x39c797}=_0x2be1c7['document'],_0x5ee59f=this['_getPositionToInsertFootnote'](_0x39c797);if(!_0x5ee59f)return;const _0x4be52d=_0xbce63b['plugins']['get']('FootnotesEditing'),_0x156905=_0x4f00b0?.['footnoteId']??_0xc7222c();!function(_0x32786c){return'string'==typeof _0x32786c&&_0x32786c['length']>0x0&&!/\s/['test'](_0x32786c)&&!/^\d/['test'](_0x32786c);}(_0x156905)?_0x4c3e7e('insert-footnote-command-executed-with-invalid-id'):(_0x2be1c7['change'](_0x5a6aca=>{const _0x17a40f=_0x5a6aca['createElement']('footnoteRef',{'footnoteId':_0x156905});_0x2be1c7['insertObject'](_0x17a40f,_0x5ee59f,null);}),_0x4be52d['_moveSelectionToFootnoteDefinition'](_0x156905));}['_getPositionToInsertFootnote'](_0x2b4307){const {model:_0x1fd732}=this['editor'],{schema:_0x203412}=_0x1fd732,_0x234e8e=_0x2b4307['getFirstRange']();for(const _0x2c9688 of _0x234e8e['getItems']())if(_0x203412['isBlock'](_0x2c9688)||_0x203412['isObject'](_0x2c9688))return null;const _0x57ed81=_0x234e8e['end'];return _0x203412['checkChild'](_0x57ed81,'footnoteRef')?_0x57ed81:null;}}class $ extends _0x565f5d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x595715}=this;_0x595715['config']['define']('footnotes.multiBlock',!0x0),_0x595715['commands']['add']('insertFootnote',new V(_0x595715)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2407ae){const _0x9b39de=_0x235832([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]),_0x42fff0=0x47a28506,_0x3ea3c8=0x47a5008e^_0x42fff0,_0xb62ba5=window[_0x235832([0x44,0x61,0x74,0x65])][_0x235832([0x6e,0x6f,0x77])](),_0x6aad06=_0x2407ae[_0x235832([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c46c1=new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x596252=>{_0x6aad06[_0x235832([0x6f,0x6e,0x63,0x65])](_0x235832([0x72,0x65,0x61,0x64,0x79]),_0x596252);}),_0x230eb0={[_0x235832([0x6b,0x74,0x79])]:_0x235832([0x45,0x43]),[_0x235832([0x75,0x73,0x65])]:_0x235832([0x73,0x69,0x67]),[_0x235832([0x63,0x72,0x76])]:_0x235832([0x50,0x2d,0x32,0x35,0x36]),[_0x235832([0x78])]:_0x235832([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]),[_0x235832([0x79])]:_0x235832([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]),[_0x235832([0x61,0x6c,0x67])]:_0x235832([0x45,0x53,0x32,0x35,0x36])},_0x43b7bd=_0x6aad06[_0x235832([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x235832([0x67,0x65,0x74])](_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc2307f(){let _0x3027e3,_0x115764=null,_0x10b846=null;try{if(_0x43b7bd==_0x235832([0x47,0x50,0x4c]))return _0x235832([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3027e3=_0x3e244c(),!_0x3027e3)return _0x235832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3027e3[_0x235832([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10b846=_0x35c19c(_0x3027e3[_0x235832([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3027e3[_0x235832([0x6a,0x74,0x69])])),await _0x49ccb5()?_0x30cdea()?_0x30e26b()?_0x235832([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16f5e7()?(_0x3027e3[_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x235832([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x115764=_0x5b3af7(_0x235832([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x115f7c()):_0x235832([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x235832([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x235832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x235832([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30e26b(){const _0x5314fc=[_0x235832([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x235832([0x74,0x72,0x69,0x61,0x6c])][_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3027e3[_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb62ba5/0x3e8:0xe10*_0x3ea3c8;return _0x3027e3[_0x235832([0x65,0x78,0x70])]<_0x5314fc;}function _0x30cdea(){const _0x4444f9=_0x3027e3[_0x235832([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4444f9&&(!!_0x4444f9[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235832([0x2a]))||!!_0x4444f9[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235832([0x46,0x4f,0x4f])));}function _0x16f5e7(){const _0xa44e3d=_0x3027e3[_0x235832([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa44e3d||0x0==_0xa44e3d[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfa5297}=new URL(window[_0x235832([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa44e3d[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa5297))return!0x0;const _0x105cf8=_0xfa5297[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e]));return _0xa44e3d[_0x235832([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x282265=>_0x282265[_0x235832([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235832([0x2a])))[_0x235832([0x6d,0x61,0x70])](_0x37e4a7=>_0x37e4a7[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e])))[_0x235832([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c35a4=>_0x3c35a4[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x105cf8[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235832([0x6d,0x61,0x70])](_0x4ec5fc=>Array(_0x105cf8[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ec5fc[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x235832([0x66,0x69,0x6c,0x6c])](_0x4ec5fc[0x0]===_0x235832([0x2a])?_0x235832([0x2a]):'')[_0x235832([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ec5fc))[_0x235832([0x73,0x6f,0x6d,0x65])](_0x590dca=>_0x105cf8[_0x235832([0x65,0x76,0x65,0x72,0x79])]((_0x45f6ba,_0x319611)=>_0x590dca[_0x319611]===_0x45f6ba||_0x590dca[_0x319611]===_0x235832([0x2a])));}function _0x115f7c(){return _0x115764&&_0x10b846?new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45d2b8,_0x535166)=>{_0x115764[_0x235832([0x74,0x68,0x65,0x6e])](_0x45d2b8,_0x535166),_0x10b846[_0x235832([0x74,0x68,0x65,0x6e])](_0x1d1cc9=>{_0x1d1cc9!=_0x235832([0x56,0x61,0x6c,0x69,0x64])&&_0x45d2b8(_0x1d1cc9);},_0x535166);}):_0x115764||_0x10b846||_0x235832([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35c19c(_0x1eb94a,_0xa1b158){return new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdc2edc=>{if(_0x2b3c70())return _0xdc2edc(_0x235832([0x56,0x61,0x6c,0x69,0x64]));_0x2f8253(),_0x6aad06[_0x235832([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x235832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x47c345=!0x1;const _0x1faab0=_0xc7222c();function _0x1ac029(_0x4dc51b){return!!_0x4dc51b&&(typeof _0x4dc51b===_0x235832([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4dc51b===_0x235832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4dc51b[_0x235832([0x74,0x68,0x65,0x6e])]===_0x235832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4dc51b[_0x235832([0x63,0x61,0x74,0x63,0x68])]===_0x235832([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29448c(_0x6f419a){_0x372db1(_0x6f419a)[_0x235832([0x74,0x68,0x65,0x6e])](_0x2b4cac=>{if(!_0x2b4cac||_0x2b4cac[_0x235832([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x235832([0x6f,0x6b]))return _0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f3aae(_0x38f672(_0x1faab0+_0xa1b158))!=_0x2b4cac[_0x235832([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x235832([0x56,0x61,0x6c,0x69,0x64]);})[_0x235832([0x74,0x68,0x65,0x6e])](_0x5d8689=>(_0x424704(),_0x5d8689),()=>{const _0x2f2847=_0xb21d49();return null==_0x2f2847?(_0x424704(),_0x235832([0x56,0x61,0x6c,0x69,0x64])):_0x235832(_0xb62ba5-_0x2f2847>(0x63ae0106^_0x42fff0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x235832([0x74,0x68,0x65,0x6e])](_0xdc2edc)[_0x235832([0x63,0x61,0x74,0x63,0x68])](()=>{_0xdc2edc(_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x345b30=0x47946b86^_0x42fff0;function _0x424704(){const _0x5485b2=_0x235832([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f3aae(_0x38f672(_0x1eb94a)),_0x2218ab=_0x33614f(_0x4f3aae(window[_0x235832([0x4d,0x61,0x74,0x68])][_0x235832([0x63,0x65,0x69,0x6c])](_0xb62ba5/_0x345b30)));window[_0x235832([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235832([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5485b2,_0x2218ab);}function _0xb21d49(){const _0x1a5812=_0x235832([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f3aae(_0x38f672(_0x1eb94a)),_0x2f7fb7=window[_0x235832([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x235832([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a5812);return _0x2f7fb7?window[_0x235832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33614f(_0x2f7fb7),0x10)*_0x345b30:null;}function _0x372db1(_0x29123c){return new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x320031,_0x35968d)=>{_0x29123c[_0x235832([0x74,0x68,0x65,0x6e])](_0x320031,_0x35968d),window[_0x235832([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35968d,0x47a351c6^_0x42fff0);});}}_0x6aad06[_0x235832([0x6f,0x6e])](_0x235832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38b520,_0x2e037f)=>{if(_0x2e037f[0x0]!=_0x1eb94a)return _0xdc2edc(_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e037f[0x1]={..._0x2e037f[0x1],[_0x235832([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1faab0};},{[_0x235832([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235832([0x68,0x69,0x67,0x68])}),_0x6aad06[_0x235832([0x6f,0x6e])](_0x235832([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a7af0=>{_0x1ac029(_0x3a7af0[_0x235832([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x47c345=!0x0,_0x29448c(_0x3a7af0[_0x235832([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x235832([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x235832([0x6c,0x6f,0x77])}),_0x3c46c1[_0x235832([0x74,0x68,0x65,0x6e])](()=>{_0x47c345||_0xdc2edc(_0x235832([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b3c70(){return _0x6aad06[_0x235832([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235832([0x76,0x69,0x65,0x77])][_0x235832([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x235832([0x61,0x75,0x74,0x6f]);}function _0x2f8253(){_0x6aad06[_0x235832([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x235832([0x76,0x69,0x65,0x77])][_0x235832([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x235832([0x61,0x75,0x74,0x6f]);}}function _0x5b3af7(_0x3d8d5e){const _0x3c22a2=[new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7933d0=>setTimeout(_0x7933d0,0x47abbbca^_0x42fff0)),_0x3c46c1[_0x235832([0x74,0x68,0x65,0x6e])](()=>new window[(_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e38a5=>{let _0x21c8b4=0x0;_0x6aad06[_0x235832([0x6d,0x6f,0x64,0x65,0x6c])][_0x235832([0x6f,0x6e])](_0x235832([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36d220,_0x275bbf)=>{_0x275bbf[0x0][_0x235832([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21c8b4++,_0x21c8b4==(0x47a280ee^_0x42fff0)&&(_0x3e38a5(),_0x36d220[_0x235832([0x6f,0x66,0x66])]());});}))];return window[_0x235832([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x235832([0x72,0x61,0x63,0x65])](_0x3c22a2)[_0x235832([0x74,0x68,0x65,0x6e])](()=>_0x3d8d5e);}async function _0x2c0508(){await _0x3c46c1,_0x6aad06[_0x235832([0x6d,0x6f,0x64,0x65,0x6c])][_0x235832([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa4df77,_0x6aad06[_0x235832([0x6d,0x6f,0x64,0x65,0x6c])][_0x235832([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa4df77,_0x6aad06[_0x235832([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x235832([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3b20be(_0x202dfc){const _0x49c9e0=_0xf38c72();_0x6aad06[_0x49c9e0]=_0x235832([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x202dfc,_0x202dfc!=_0x235832([0x56,0x61,0x6c,0x69,0x64])&&_0x2c0508();}function _0xf38c72(){const _0x52df67=window[_0x235832([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x235832([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x235832([0x6e,0x6f,0x77])]())[_0x235832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x235832([0x2e]),'');let _0x427207=_0x235832([0x75]);for(let _0x201c77=0x0;_0x201c77<_0x52df67[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201c77+=0x2){let _0x439553=window[_0x235832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52df67[_0x235832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201c77,_0x201c77+0x2));_0x439553>=_0x9b39de[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x439553-=_0x9b39de[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x427207+=_0x9b39de[_0x439553];}return _0x427207;}function _0x3e244c(){const _0x5b50ad=_0x43b7bd[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e]));if(0x3!=_0x5b50ad[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x234e02(_0x5b50ad[0x1]);function _0x234e02(_0x382bda){const _0x34c1ea=_0x218b2c(_0x382bda);return _0x34c1ea&&_0x206b3e()?_0x34c1ea:null;function _0x206b3e(){const _0x5dfe9c=_0x34c1ea[_0x235832([0x6a,0x74,0x69])],_0xe31eed=window[_0x235832([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dfe9c[_0x235832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dfe9c[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2132b7={..._0x34c1ea,[_0x235832([0x6a,0x74,0x69])]:_0x5dfe9c[_0x235832([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dfe9c[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2132b7[_0x235832([0x76,0x63])],_0x38f672(_0x2132b7)==_0xe31eed;}}}async function _0x49ccb5(){let _0x13a7bd=!0x0;try{const _0x172cd8=_0x43b7bd[_0x235832([0x73,0x70,0x6c,0x69,0x74])](_0x235832([0x2e])),[_0xbb3a5c,_0x4f0da5,_0x27e3ad]=_0x172cd8;return _0x38312e(_0xbb3a5c),await _0x559098(_0xbb3a5c,_0x4f0da5,_0x27e3ad),_0x13a7bd;}catch{return!0x1;}function _0x38312e(_0x18fa39){const _0x54bc59=_0x218b2c(_0x18fa39);_0x54bc59&&_0x54bc59[_0x235832([0x61,0x6c,0x67])]==_0x235832([0x45,0x53,0x32,0x35,0x36])||(_0x13a7bd=!0x1);}async function _0x559098(_0x2dd25f,_0x1caef4,_0x4904dd){const _0x579dd4=window[_0x235832([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x235832([0x66,0x72,0x6f,0x6d])](_0x1eb7e4(_0x4904dd),_0x1234d9=>_0x1234d9[_0x235832([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c64bd=new window[(_0x235832([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x235832([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2dd25f+_0x235832([0x2e])+_0x1caef4),_0x2c7835=window[_0x235832([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x235832([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2c7835)return;const _0x1180ee=await _0x2c7835[_0x235832([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x235832([0x6a,0x77,0x6b]),_0x230eb0,{[_0x235832([0x6e,0x61,0x6d,0x65])]:_0x235832([0x45,0x43,0x44,0x53,0x41]),[_0x235832([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x235832([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x235832([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2c7835[_0x235832([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x235832([0x6e,0x61,0x6d,0x65])]:_0x235832([0x45,0x43,0x44,0x53,0x41]),[_0x235832([0x68,0x61,0x73,0x68])]:{[_0x235832([0x6e,0x61,0x6d,0x65])]:_0x235832([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1180ee,_0x579dd4,_0x1c64bd)||(_0x13a7bd=!0x1);}}function _0x218b2c(_0x1f401c){return _0x1f401c[_0x235832([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x235832([0x65,0x79]))?JSON[_0x235832([0x70,0x61,0x72,0x73,0x65])](_0x1eb7e4(_0x1f401c)):null;}function _0x1eb7e4(_0x1afd9a){return window[_0x235832([0x61,0x74,0x6f,0x62])](_0x1afd9a[_0x235832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x235832([0x2b]))[_0x235832([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x235832([0x2f])));}function _0x38f672(_0x5a83cd){let _0x258814=0x1505;function _0xe863b1(_0x25b885){for(let _0x47939b=0x0;_0x47939b<_0x25b885[_0x235832([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47939b++){const _0x32059c=_0x25b885[_0x235832([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x47939b);_0x258814=(_0x258814<<0x5)+_0x258814+_0x32059c,_0x258814&=_0x258814;}}function _0x466d6e(_0x2f6084){Array[_0x235832([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f6084)?_0x2f6084[_0x235832([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x466d6e):_0x2f6084&&typeof _0x2f6084==_0x235832([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x235832([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f6084)[_0x235832([0x73,0x6f,0x72,0x74])]()[_0x235832([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f0cd6,_0x5e2ca0])=>{_0xe863b1(_0x1f0cd6),_0x466d6e(_0x5e2ca0);}):_0xe863b1(window[_0x235832([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f6084));}return _0x466d6e(_0x5a83cd),_0x258814>>>0x0;}function _0x4f3aae(_0x4e51d3){return _0x4e51d3[_0x235832([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x235832([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x235832([0x30]));}function _0x33614f(_0x317430){return _0x317430[_0x235832([0x73,0x70,0x6c,0x69,0x74])]('')[_0x235832([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x235832([0x6a,0x6f,0x69,0x6e])]('');}function _0xa4df77(){}function _0x235832(_0x195754){return _0x195754['map'](_0x32a1b8=>String['fromCharCode'](_0x32a1b8))['join']('');}_0x3b20be(await _0xc2307f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x519027){const {plugins:_0x3afd53,editing:_0x311881,model:_0x5f574a}=this['editor'],_0x19da60=_0x3afd53['get'](K)['getFootnote'](_0x519027);return!!_0x19da60&&(_0x5f574a['change'](_0x4e9dca=>{_0x4e9dca['setSelection'](_0x4e9dca['createPositionAt'](_0x19da60['definition'],'end'));}),_0x311881['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xa8623b){const {plugins:_0x35567c,editing:_0x32092b,model:_0x151d10}=this['editor'],_0x10f7ef=_0x35567c['get'](K)['getFootnote'](_0xa8623b);return!!_0x10f7ef&&(_0x151d10['change'](_0x487d10=>{_0x487d10['setSelection'](_0x10f7ef['reference'],'on');}),_0x32092b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x66ff2a}=this['editor']['model'],_0x1e92ef=this['editor']['config']['get']('footnotes.multiBlock');_0x66ff2a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x66ff2a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x66ff2a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1e92ef?_0x66ff2a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x66ff2a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x66ff2a['addChildCheck'](_0x358266=>{for(const _0x39f5b6 of _0x358266)if('footnoteDefinition'===_0x39f5b6['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x7f1764}=this,{conversion:_0x4e587a,editing:_0x3a81f3}=_0x7f1764,{t:t}=_0x7f1764['locale'];_0x4e587a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5b00a7,{writer:_0x18afe9,consumable:_0xa09377})=>{const _0x22ae9a=_0x5b00a7['getChild'](0x0);if(!_0x22ae9a||!_0x22ae9a['is']('element','a'))return null;const _0x305c9d=_0x22ae9a['getAttribute']('href')||'';if(!_0x305c9d['startsWith']('#'))return null;const _0x2003ba=_0x305c9d['replace'](/^#/,'');if(!_0x2003ba)return null;_0xa09377['consume'](_0x22ae9a,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a9e08}of _0x3a81f3['view']['createRangeIn'](_0x22ae9a))_0x5a9e08['is']('$textProxy')?_0xa09377['consume'](_0x5a9e08['textNode'],{'name':!0x0}):_0x5a9e08['is']('element')&&_0xa09377['consume'](_0x5a9e08,{'name':!0x0});return _0x18afe9['createElement']('footnoteRef',{'footnoteId':_0x2003ba});}}),_0x4e587a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b268e,{writer:_0x430065})=>z(_0x3b268e,_0x430065)}),_0x4e587a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a4db3,{writer:_0x29b581})=>{const _0x565eff=_0x4a4db3['getAttribute']('footnoteCounter');return _0x59445e(z(_0x4a4db3,_0x29b581),_0x29b581,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x565eff)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3d1904}=this,{t:t}=_0x3d1904['locale'],{conversion:_0x1a0ac3}=_0x3d1904;_0x1a0ac3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1a0ac3['for']('upcast')['add'](_0x371c37=>{_0x371c37['on']('element:ol',(_0x3adcd6,_0x4b556d,_0x2a436f)=>{const _0x13b1bd=_0x4b556d['viewItem'];if(!_0x13b1bd['hasClass']('footnotes-list')||!_0x4b556d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a436f['consumable']['consume'](_0x13b1bd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xd7ee51,modelCursor:_0xb3a28}=_0x2a436f['convertChildren'](_0x4b556d['viewItem'],_0x4b556d['modelCursor']);_0x4b556d['modelRange']=_0xd7ee51,_0x4b556d['modelCursor']=_0xb3a28;}),_0x371c37['on']('element:hr',(_0x1d929,_0x56e4ee,_0x2ae3e4)=>{const _0x8854d2=_0x56e4ee['viewItem'];_0x8854d2['hasClass']('footnotes-divider')&&_0x56e4ee['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2ae3e4['consumable']['consume'](_0x8854d2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1a0ac3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2a7617,{writer:_0x23593f})=>H(_0x23593f)}),_0x1a0ac3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x421b2c,{writer:_0x1851bb})=>{const _0x54a8c5=H(_0x1851bb,{'data-footnotes-list-label':t('Footnotes')}),_0x25244d=_0x59445e(_0x54a8c5,_0x1851bb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1851bb['setCustomProperty']('footnotesDefinitions',!0x0,_0x25244d),_0x25244d;}});}['_defineDefinitionConverters'](){const {editor:_0x380fbd}=this,{conversion:_0x1627c4,locale:_0x11ef63}=_0x380fbd,_0x22dec1=_0x380fbd['config']['get']('footnotes.multiBlock');_0x1627c4['for']('upcast')['add'](_0x12797e=>{_0x12797e['on']('element:li',(_0x48311e,_0x58bc54,_0x4e07fa)=>{const _0x3a3f39=_0x58bc54['viewItem'];if(!_0x3a3f39['hasClass']('footnote-definition')||!_0x3a3f39['getAttribute']('id'))return;const _0x313fbe=_0x3a3f39['parent'];if(!_0x313fbe['is']('element','ol')||!_0x313fbe['hasClass']('footnotes-list'))return;if(!_0x4e07fa['consumable']['test'](_0x3a3f39,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x231760=_0x4e07fa['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3a3f39['getAttribute']('id')});if(!_0x4e07fa['safeInsert'](_0x231760,_0x58bc54['modelCursor']))return;_0x4e07fa['consumable']['consume'](_0x3a3f39,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x447c53=Array['from'](_0x3a3f39['getChildren']())['find'](_0x3637de=>_0x3637de['is']('element')&&_0x3637de['hasClass']('footnote-content'));for(const _0x27474b of _0x3a3f39['getChildren']())_0x27474b['is']('element')&&(_0x4e07fa['consumable']['consume'](_0x27474b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4e07fa['consumable']['consume'](_0x27474b,{'name':!0x0,'classes':'footnote-content'}));if(_0x447c53){if(_0x22dec1)_0x4e07fa['convertChildren'](_0x447c53,_0x231760);else{const _0x3b81fa=_0x4e07fa['writer']['createElement']('footnoteInlineContent');_0x4e07fa['writer']['insert'](_0x3b81fa,_0x231760),_0x4e07fa['convertChildren'](_0x447c53,_0x3b81fa);}}_0x4e07fa['updateConversionResult'](_0x231760,_0x58bc54);});}),_0x1627c4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3bb9b7,{writer:_0x69c13})=>X(_0x3bb9b7,_0x69c13,_0x11ef63,{'dataPipeline':!0x0})}),_0x1627c4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xcad742,{writer:_0x22f77c})=>X(_0xcad742,_0x22f77c,_0x11ef63)});}['_defineBogusParagraphConverters'](){const {editor:_0x456d64}=this,{conversion:_0x277769}=_0x456d64;_0x456d64['config']['get']('footnotes.multiBlock')?(_0x277769['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x277769['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x456d64['model']['document'],'change:data',()=>{!function(_0x15263a,_0x2d1a2c){const _0x51bfd2=_0x15263a['document']['differ'],_0x271f53=new Set();for(const _0x1371d2 of _0x51bfd2['getChanges']()){const _0x1e803d='attribute'==_0x1371d2['type']?_0x1371d2['range']['start']['parent']:_0x1371d2['position']['parent'];_0x1e803d['is']('element','footnoteDefinition')&&_0x271f53['add'](_0x1e803d);}for(const _0x24ab6f of _0x271f53['values']()){const _0x1cdbf7=Array['from'](_0x24ab6f['getChildren']())['filter'](_0x46af59=>U(_0x46af59,_0x2d1a2c['mapper']));for(const _0x4b10f7 of _0x1cdbf7)_0x2d1a2c['reconvertItem'](_0x4b10f7);}}(_0x456d64['model'],_0x456d64['editing']);})):(_0x277769['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x277769['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2895bb,{writer:_0x20b2b0})=>{const _0x5ee2f3=_0x20b2b0['createContainerElement']('span');return _0x20b2b0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5ee2f3),_0x5ee2f3;}}));}['_defineKeyboardHandlers'](){const {editor:_0x473425}=this,{editing:_0x4be517,t:t}=_0x473425,_0x38ea9a=_0x473425['model']['document']['selection'];_0x473425['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x473425['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4be517['view']['document'],'enter',(_0x2c5fc3,_0x4bc60d)=>{const _0x52cb7b=function(_0x5c0358){const _0x58fda9=_0x5c0358['getSelectedElement']();if(_0x58fda9?.['is']('element','footnoteRef'))return _0x58fda9;return null;}(_0x38ea9a);if(_0x52cb7b){const _0x3394fe=_0x52cb7b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3394fe),_0x4bc60d['preventDefault'](),_0x2c5fc3['stop']();}},{'context':_0x2716dc});}['_defineClickHandlers'](){const {editor:_0x1ec62b}=this,{editing:_0x1fdabb}=_0x1ec62b;_0x1ec62b['editing']['view']['addObserver'](_0x432ae2),_0x1ec62b['editing']['view']['addObserver'](_0x573260);let _0x21faf2=!0x1;this['listenTo'](_0x1fdabb['view']['document'],'pointerdown',(_0x4e1c7b,_0x2bb609)=>{const {target:_0x5b88ed}=_0x2bb609,_0x33aeb5=_0x1fdabb['view']['document']['selection'];_0x21faf2=!!(_0x5b88ed?.['is']('element','a')&&_0x5b88ed['parent']?.['is']('element','sup')&&_0x5b88ed['parent']['hasClass']('footnote'))&&_0x33aeb5['getSelectedElement']()===_0x5b88ed['parent'];},{'priority':'high'}),this['listenTo'](_0x1fdabb['view']['document'],'click',(_0x1c332e,_0x8b7970)=>{const {target:_0x20e448}=_0x8b7970;if(!_0x20e448?.['is']('element','a'))return;if(_0x20e448['parent']?.['is']('element','sup')&&_0x20e448['parent']['hasClass']('footnote')&&!_0x21faf2)return void _0x8b7970['preventDefault']();let _0xcb82fb=_0x20e448['getAttribute']('href');if(!_0xcb82fb?.['startsWith']('#'))return;_0xcb82fb=_0xcb82fb['slice'](0x1);let _0xb94467=!0x1;(_0xcb82fb['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xcb82fb['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xcb82fb))&&(_0xb94467=!0x0),_0xb94467&&(_0x8b7970['preventDefault'](),_0x1c332e['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x383e1e}={}){return(_0x126a34,{writer:_0x2d367f})=>{if(!M(_0x126a34))return null;if(!_0x383e1e)return _0x2d367f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5df2fe=_0x2d367f['createContainerElement']('p');return _0x2d367f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5df2fe),_0x5df2fe;};}function M(_0x3aee6d){const {parent:_0x32b7dc}=_0x3aee6d;if(!_0x32b7dc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x32b7dc['childCount'])return!0x1;for(const _0x5847b1 of _0x3aee6d['getAttributeKeys']())if(!_0x5847b1['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5847b1)return!0x1;return!0x0;}function U(_0xb8ba55,_0x38ba00){if(!_0xb8ba55['is']('element','paragraph'))return!0x1;const _0x3987d6=_0x38ba00['toViewElement'](_0xb8ba55);return!!_0x3987d6&&M(_0xb8ba55)!==_0x3987d6['is']('element','span');}function q(_0x371b8f){return _0x2716dc(_0x371b8f)&&_0x371b8f['is']('containerElement')&&!!_0x371b8f['getCustomProperty']('footnotesDefinitions');}function H(_0x1cf89e,_0x116748={}){const _0x56f794=_0x1cf89e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1e9e4f=_0x1cf89e['createContainerElement']('ol',{'class':'footnotes-list'},_0x1cf89e['createSlot']());return _0x1cf89e['createContainerElement']('div',{'class':'footnotes',..._0x116748},[_0x56f794,_0x1e9e4f]);}function z(_0x3e7d32,_0x112371){const _0x3ee3b1=_0x3e7d32['getAttribute']('footnoteId'),_0x5e9da0=_0x3e7d32['getAttribute']('footnoteCounter'),_0x53e543=_0x112371['createUIElement']('a',{'href':'#'+_0x3ee3b1},function(_0x6c3386){const _0x364875=this['toDomElement'](_0x6c3386);return _0x364875['textContent']=_0x5e9da0,_0x364875;}),_0xeeeb3f=_0x112371['createContainerElement']('sup',{'id':'ref-'+_0x3ee3b1,'class':'footnote'},[_0x53e543]);return _0xeeeb3f['getFillerOffset']=()=>null,_0xeeeb3f;}function X(_0x2ea8ef,_0x12dfc2,_0x2b75e5,{dataPipeline:_0x4ec686}={}){const {t:t}=_0x2b75e5,_0x568cd3=_0x2ea8ef['getAttribute']('footnoteId'),_0x2aeb1f=_0x12dfc2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x568cd3},function(_0x1c9b82){const _0x36ac52=this['toDomElement'](_0x1c9b82);return _0x36ac52['innerText']='^',_0x36ac52;}),_0x417ede=_0x4ec686?_0x12dfc2['createContainerElement']('div',{'class':'footnote-content'}):_0x131741(_0x12dfc2['createEditableElement']('div',{'class':'footnote-content'}),_0x12dfc2,{'label':t('Footnote\x20content.')});return _0x12dfc2['insert'](_0x12dfc2['createPositionAt'](_0x417ede,0x0),_0x12dfc2['createSlot']()),_0x12dfc2['createContainerElement']('li',{'class':'footnote-definition','id':_0x568cd3},[_0x2aeb1f,_0x417ede]);}class J extends _0x565f5d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x1f8cbe];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x53c3a0}=this,{plugins:_0x4febb5,model:_0x5bd34d}=_0x53c3a0,_0x24d5b0=_0x4febb5['get'](_0x1f8cbe),_0x1794da=_0x4febb5['get'](K);this['listenTo'](_0x24d5b0,'outputTransformation',(_0x35a68a,_0x2f3ee7)=>{const _0x3a0893=Q(_0x5bd34d['createRangeIn'](_0x2f3ee7['content']));if(!_0x3a0893['length'])return;const _0x786239=_0x1794da['getFootnotes'](),_0x21d6e7=_0x3a0893['reduce']((_0x20a7df,_0x1f375f)=>{const _0xfbae3e=_0x786239['find'](_0x171fd2=>_0x171fd2['id']===_0x1f375f);if(_0xfbae3e){const _0x3af575=_0x53c3a0['data']['toView'](_0xfbae3e['definition'],{'isClipboardPipeline':!0x0}),_0x28ca7b=_0x53c3a0['data']['htmlProcessor']['toData'](_0x3af575);_0x20a7df[_0xfbae3e['id']]=_0x28ca7b;}return _0x20a7df;},Object['create'](null));_0x2f3ee7['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x21d6e7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xb6cd83}=this,{model:_0x499584,plugins:_0x2bde04}=_0xb6cd83,{view:_0x196b10}=_0xb6cd83['editing'],_0x1e8c9a=_0x2bde04['get'](_0x1f8cbe),_0x2e3ca5=_0x2bde04['get'](K),_0x5d81a0=_0xb6cd83['config']['get']('footnotes.multiBlock');let _0x1b3d8f=null;this['listenTo'](_0x196b10['document'],'clipboardInput',(_0x56f90d,_0xd2394f)=>{const _0x18c360=_0xd2394f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1b3d8f=_0x18c360?JSON['parse'](_0x18c360):null;}),this['listenTo'](_0x1e8c9a,'contentInsertion',(_0x248cc1,_0x27e4a7)=>{const _0x17f70b=_0x27e4a7['sourceEditorId']===this['editor']['id'];_0x17f70b&&'drop'===_0x27e4a7['method']||_0x499584['change'](_0x25f131=>{let _0x46c651=_0x2e3ca5['getFootnotesDefinitionsObjectElement']();const _0x22fe50=!!_0x46c651&&Array['from'](_0x499584['document']['selection']['getSelectedBlocks']())['includes'](_0x46c651);if(!_0x1b3d8f&&function(_0x17ebb5){for(const {item:_0x29a076}of _0x17ebb5)if(_0x29a076['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x499584['createRangeIn'](_0x27e4a7['content']))&&(_0x1b3d8f=function(_0x106dd4,_0x1a6467){const _0x136c75=G(_0x106dd4,_0x1a6467);if(!_0x136c75)return null;const _0x33eef9=Object['create'](null);for(const _0x509964 of _0x136c75['getChildren']())_0x509964['is']('element','footnoteDefinition')&&_0x509964['hasAttribute']('footnoteId')&&(_0x33eef9[_0x509964['getAttribute']('footnoteId')]=_0x106dd4['cloneElement'](_0x509964,!0x0));return Object['keys'](_0x33eef9)['length']?_0x33eef9:null;}(_0x25f131,_0x27e4a7['content'])),(_0x46c651&&!_0x22fe50||!_0x46c651&&!_0x1b3d8f)&&function(_0x2c37da,_0x59eafc){const _0x1586a3=[];for(const {item:_0x1362f8}of _0x2c37da['createRangeIn'](_0x59eafc))_0x1362f8['is']('element','footnotesDefinitions')&&_0x1586a3['push'](_0x1362f8);for(const _0x21870f of _0x1586a3)_0x2c37da['remove'](_0x21870f);}(_0x25f131,_0x27e4a7['content']),!_0x1b3d8f)return;const {selection:_0x532e2f}=_0x499584['document'],_0x1a7651=_0x532e2f['getFirstRange']()['root'];_0x46c651&&!_0x22fe50||(_0x46c651=G(_0x25f131,_0x27e4a7['content']),_0x46c651||=_0x2e3ca5['_insertEmptyFootnotesDefinitionsContainer'](_0x25f131,_0x1a7651));const _0x1d4b4b=Array['from'](_0x532e2f['getRanges']())['flatMap'](Q),_0x40baba=function(_0x2a29e5,_0x2abd91,_0x67fddb){const _0x429207=Object['create'](null);for(const {item:_0x25ec12}of _0x2a29e5['createRangeIn'](_0x2abd91))if(_0x25ec12['is']('element','footnoteRef')){const _0x4099c6=_0x25ec12['getAttribute']('footnoteId');if(!_0x67fddb(_0x4099c6))continue;_0x429207[_0x4099c6]||(_0x429207[_0x4099c6]=_0xc7222c()),_0x2a29e5['setAttribute']('footnoteId',_0x429207[_0x4099c6],_0x25ec12);}return _0x429207;}(_0x25f131,_0x27e4a7['content'],_0x2ecf53=>{if(!_0x17f70b)return!0x0;return!!_0x2e3ca5['getFootnote'](_0x2ecf53)&&!_0x1d4b4b['includes'](_0x2ecf53);});for(const [_0x4793aa,_0x4da44b]of Object['entries'](_0x1b3d8f)){const _0x51b550=_0x40baba[_0x4793aa]||_0x4793aa;let _0x5b7a74;if('string'!=typeof _0x4da44b)_0x5b7a74=_0x4da44b,_0x51b550!==_0x4793aa&&_0x25f131['setAttribute']('footnoteId',_0x51b550,_0x5b7a74);else{_0x5b7a74=_0x25f131['createElement']('footnoteDefinition',{'footnoteId':_0x51b550});const _0x3c27cc=_0xb6cd83['data']['htmlProcessor']['toView'](_0x4da44b);let _0x21d078;if(_0x5d81a0)_0x21d078=_0xb6cd83['data']['toModel'](_0x3c27cc,_0x5b7a74);else{_0x21d078=_0x25f131['createElement']('footnoteInlineContent');const _0x4fe439=_0xb6cd83['data']['toModel'](_0x3c27cc,_0x21d078);_0x25f131['insert'](_0x4fe439,_0x21d078);}_0x25f131['append'](_0x21d078,_0x5b7a74);}_0x25f131['insert'](_0x5b7a74,_0x46c651,'end');}_0x1b3d8f=null;});});}}function G(_0xffbc12,_0x56428a){for(const {item:_0x28933d}of _0xffbc12['createRangeIn'](_0x56428a))if(_0x28933d['is']('element','footnotesDefinitions'))return _0x28933d;return null;}function Q(_0x325a04){const _0x3abf20=new Set();for(const {item:_0x20a207}of _0x325a04)_0x20a207['is']('element','footnoteRef')&&_0x3abf20['add'](_0x20a207['getAttribute']('footnoteId'));return Array['from'](_0x3abf20);}class W extends _0x565f5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37fda1}=this,{componentFactory:_0x36e264}=_0x37fda1['ui'];_0x36e264['add']('insertFootnote',Y(_0x37fda1,_0xf7ab8f)),_0x36e264['add']('menuBar:insertFootnote',Y(_0x37fda1,_0x599219)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18ee42=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1086ef;for(const _0x172e1f in _0x18ee42){const _0xf10535=_0x172e1f,_0x576395=_0x18ee42[_0xf10535];if('footnotesLicenseKeyValid'==_0x576395||'footnotesLicenseKeyInvalid'==_0x576395||'footnotesLicenseKeyExpired'==_0x576395||'footnotesLicenseKeyDomainLimit'==_0x576395||'footnotesLicenseKeyNotAllowed'==_0x576395||'footnotesLicenseKeyEvaluationLimit'==_0x576395||'footnotesLicenseKeyUsageLimit'==_0x576395){delete _0x18ee42[_0xf10535],_0x1086ef=_0x576395,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1086ef&&_0x18ee42['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1086ef&&_0x18ee42['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1086ef&&_0x18ee42['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1086ef&&_0x18ee42['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1086ef&&_0x18ee42['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1086ef&&_0x18ee42['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x14c2d2,_0x4f0675){const _0x483a22=_0x14c2d2['commands']['get']('insertFootnote');return _0x42b3c9=>{const {t:t}=_0x42b3c9,_0x4c829b=new _0x4f0675(_0x42b3c9),_0x1da782=_0x4c829b instanceof _0x599219;return _0x4c829b['bind']('isEnabled')['to'](_0x483a22,'isEnabled'),_0x4c829b['set']({'label':t(_0x1da782?'Footnote':'Insert\x20footnote'),'icon':_0x22117f,'tooltip':!0x0}),_0x4c829b['on']('execute',()=>{_0x483a22['execute'](),_0x14c2d2['editing']['view']['focus']();}),_0x4c829b;};}class Z extends _0x565f5d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x408e67{['refresh'](){const {editor:_0x463ae8}=this,_0x4d1a68=_0x463ae8['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4d1a68,this['value']=_0x4d1a68?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3808a8}){const {editor:_0x5af559}=this,_0x59b054=_0x5af559['plugins']['get'](K),_0x9a123d=_0x59b054['getFootnotesDefinitionsObjectElement']();_0x9a123d&&ot['includes'](_0x3808a8)&&_0x5af559['model']['change'](_0x16afec=>{_0x16afec['setAttribute']('footnotesListStyle',_0x3808a8,_0x9a123d),_0x59b054['_updateFootnotesCounters'](_0x16afec);});}}class it extends _0x408e67{['refresh'](){const {editor:_0x248712}=this,_0x386790=_0x248712['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x386790,this['value']=_0x386790?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x698142}){const {editor:_0x1f68aa}=this,_0x1c7971=_0x1f68aa['plugins']['get'](K),_0x411028=_0x1c7971['getFootnotesDefinitionsObjectElement']();_0x411028&&Number['isInteger'](_0x698142)&&_0x1f68aa['model']['change'](_0x1e1590=>{_0x1e1590['setAttribute']('footnotesListStart',_0x698142,_0x411028),_0x1c7971['_updateFootnotesCounters'](_0x1e1590);});}}function st(_0x5141b6,_0x2260d0){let _0x1f5397='',_0x3b61aa=_0x5141b6;for(;_0x3b61aa>0x0;){const _0x39cafa=(_0x3b61aa-0x1)%0x1a;_0x1f5397=String['fromCharCode'](0x61+_0x39cafa)+_0x1f5397,_0x3b61aa=Math['floor']((_0x3b61aa-0x1)/0x1a);}return _0x2260d0?_0x1f5397['toUpperCase']():_0x1f5397;}const rt=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function lt(_0x398400,_0x2f4e6a){let _0x1b79ba='',_0x22e80d=_0x398400;for(const {value:_0x718bfd,numeral:_0xefa691}of rt)for(;_0x22e80d>=_0x718bfd;)_0x1b79ba+=_0xefa691,_0x22e80d-=_0x718bfd;return _0x2f4e6a?_0x1b79ba:_0x1b79ba['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x565f5d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b6061}=this;_0x3b6061['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3b6061['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3b6061['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x3b6061['commands']['add']('footnotesStyle',new nt(_0x3b6061)),_0x3b6061['commands']['add']('footnotesStart',new it(_0x3b6061)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x20bac6}=this,{schema:_0x32c57d}=_0x20bac6['model'];_0x32c57d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x59313f}=this,{conversion:_0x17d83d,model:_0x190cd8}=_0x59313f,{schema:_0x301f94}=_0x190cd8;_0x17d83d['for']('upcast')['add'](_0x2da4b4=>{_0x2da4b4['on']('element:ol',(_0x27f1d1,_0x3b9571,_0x51197f)=>{const _0x22be13=_0x3b9571['viewItem'],_0x59e842=_0x3b9571['modelCursor']?.['parent'];_0x22be13['hasClass']('footnotes-list')&&_0x59e842?.['is']('element','footnotesDefinitions')&&(function(_0x584f70,_0x1ead53,_0x56b2ff,_0x383aa3){if(!_0x383aa3['checkAttribute'](_0x1ead53,'footnotesListStart'))return;let _0x5c7572=0x1;const _0x483e62=_0x56b2ff['consumable']['consume'](_0x584f70,{'attributes':'start'});if(_0x483e62){const _0x3515c8=Number['parseInt'](_0x584f70['getAttribute']('start'),0xa);Number['isNaN'](_0x3515c8)||(_0x5c7572=_0x3515c8);}!_0x483e62&&_0x1ead53['hasAttribute']('footnotesListStart')||_0x56b2ff['writer']['setAttribute']('footnotesListStart',_0x5c7572,_0x1ead53);}(_0x22be13,_0x59e842,_0x51197f,_0x301f94),function(_0x3f4b99,_0x38de9e,_0x2accf8,_0x398dd3){if(!_0x398dd3['checkAttribute'](_0x38de9e,'footnotesListStyle'))return;let _0x5a77b7='decimal',_0x50245e=!0x1;if(_0x2accf8['consumable']['consume'](_0x3f4b99,{'attributes':'type'})){const _0x311477={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x3f4b99['getAttribute']('type')];_0x311477&&(_0x5a77b7=_0x311477),_0x50245e=!0x0;}if(_0x2accf8['consumable']['consume'](_0x3f4b99,{'styles':'list-style-type'})){const _0x415a5c=ct(_0x3f4b99['getStyle']('list-style-type'));_0x415a5c&&(_0x5a77b7=_0x415a5c),_0x50245e=!0x0;}!_0x50245e&&_0x38de9e['hasAttribute']('footnotesListStyle')||_0x2accf8['writer']['setAttribute']('footnotesListStyle',_0x5a77b7,_0x38de9e);}(_0x22be13,_0x59e842,_0x51197f,_0x301f94));});}),_0x17d83d['for']('downcast')['add'](_0x5c3133=>{_0x5c3133['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2d8983,_0x214985,_0x3e02d6)=>{if(!_0x3e02d6['consumable']['consume'](_0x214985['item'],_0x2d8983['name']))return;const _0x4543c5=ut(_0x214985['item'],_0x3e02d6['mapper']),{attributeNewValue:_0x28f6f9}=_0x214985;null==_0x28f6f9||0x1===_0x28f6f9?_0x3e02d6['writer']['removeAttribute']('start',_0x4543c5):_0x3e02d6['writer']['setAttribute']('start',String(_0x28f6f9),_0x4543c5);}),_0x5c3133['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x46c6ee,_0x2dc36d,_0x841eb4)=>{if(!_0x841eb4['consumable']['consume'](_0x2dc36d['item'],_0x46c6ee['name']))return;const _0xaa63be=ut(_0x2dc36d['item'],_0x841eb4['mapper']),{attributeNewValue:_0x284cf6}=_0x2dc36d;_0x284cf6&&'decimal'!==_0x284cf6?_0x841eb4['writer']['setStyle']('list-style-type',_0x284cf6,_0xaa63be):_0x841eb4['writer']['removeStyle']('list-style-type',_0xaa63be);});});}['_definePostfixer'](){const {editor:_0x15b9fd}=this,{model:_0x3617ee}=_0x15b9fd,_0x253692=_0x15b9fd['plugins']['get'](K),_0x15418a=this['_getDefaultListStyle'](),_0x2950a6=this['_getDefaultStartIndex']();_0x3617ee['document']['registerPostFixer'](_0x4b321e=>{const _0x171248=_0x3617ee['document']['differ']['getChanges']();let _0x2b6f3b=!0x1;for(const _0x1ca163 of _0x171248){if('insert'!==_0x1ca163['type']||'$text'===_0x1ca163['name'])continue;const _0x3a29be=_0x3617ee['createRangeOn'](_0x1ca163['position']['nodeAfter']);for(const _0x3748ad of _0x3a29be['getItems']())_0x3748ad['is']('element','footnotesDefinitions')&&(!_0x3748ad['hasAttribute']('footnotesListStart')&&_0x3617ee['schema']['checkAttribute'](_0x3748ad,'footnotesListStart')&&(_0x4b321e['setAttribute']('footnotesListStart',_0x2950a6,_0x3748ad),_0x2b6f3b=!0x0),!_0x3748ad['hasAttribute']('footnotesListStyle')&&_0x3617ee['schema']['checkAttribute'](_0x3748ad,'footnotesListStyle')&&(_0x4b321e['setAttribute']('footnotesListStyle',_0x15418a,_0x3748ad),_0x2b6f3b=!0x0));}return _0x2b6f3b&&_0x253692['_updateFootnotesCounters'](_0x4b321e),_0x2b6f3b;});}['_defineFormatter'](){const {editor:_0x53f95c}=this;_0x53f95c['plugins']['get'](K)['setFootnoteFormatter'](_0x4875ba=>this['_formatFootnoteListValue'](_0x4875ba));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x53fe8a,value:_0x3a4c42,digits:_0x39a83e}){const _0x158406=_0x53fe8a['getAttribute']('footnotesListStyle'),_0x4bdc3e=_0x53fe8a['getAttribute']('footnotesListStart'),_0x3a42a8=Math['floor'](_0x3a4c42)+(_0x4bdc3e??0x1)-0x1;switch(_0x158406){case'decimal-leading-zero':return function(_0x34b94f,_0x4c8a30){return String(_0x34b94f)['padStart'](_0x4c8a30,'0');}(_0x3a42a8,Math['max'](0x2,_0x39a83e));case'lower-alpha':case'lower-latin':return st(_0x3a42a8,!0x1);case'upper-alpha':case'upper-latin':return st(_0x3a42a8,!0x0);case'lower-roman':return lt(_0x3a42a8,!0x1);case'upper-roman':return lt(_0x3a42a8,!0x0);case'arabic-indic':return String(_0x3a42a8)['replace'](/\d/g,_0x44fe3d=>ft[Number(_0x44fe3d)]);default:return String(_0x3a42a8);}}}function ct(_0x1ba716){if('string'==typeof _0x1ba716){const _0x50822f=et[_0x1ba716];if(_0x50822f)return _0x50822f;if(ot['includes'](_0x1ba716))return _0x1ba716;}return null;}function ut(_0x4aa7d1,_0x24cb25){const _0x324d29=_0x24cb25['toViewElement'](_0x4aa7d1);return Array['from'](_0x324d29['getChildren']())['find'](_0x175200=>_0x175200['is']('element','ol')&&_0x175200['hasClass']('footnotes-list'));}class dt extends _0x11c711{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x58b7dc();['keystrokes']=new _0x13c935();['focusables']=new _0x2f2745();['focusCycler'];constructor(_0x565c32,{styleButtonViews:_0x4d4b84,styleGridAriaLabel:_0x1b3c99}){super(_0x565c32),(this['focusCycler']=new _0x464162({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4d4b84,_0x1b3c99),[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 _0x59f569 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x59f569['element']);_0x1c52c1({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x295e92['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 _0x38f35d=_0x568a1a=>_0x568a1a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x38f35d),this['keystrokes']['set']('arrowleft',_0x38f35d),this['keystrokes']['set']('arrowup',_0x38f35d),this['keystrokes']['set']('arrowdown',_0x38f35d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x761808,_0xdacbdc){const _0x5a689d=new _0x11c711(this['locale']);return _0x5a689d['children']=_0x5a689d['createCollection'](),_0x5a689d['children']['addMany'](_0x761808),_0x5a689d['setTemplate']({'tag':'div','attributes':{'aria-label':_0xdacbdc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5a689d['children']}),_0x5a689d['children']['delegate']('execute')['to'](this),_0x5a689d['focus']=function(){for(const _0x2c372c of this['children'])if(_0x2c372c instanceof _0xf7ab8f&&_0x2c372c['isOn'])return void _0x2c372c['focus']();this['children']['first']['focus']();},_0x5a689d['focusTracker']=new _0x58b7dc(),_0x5a689d['keystrokes']=new _0x13c935(),_0x5a689d['render'](),_0x5a689d['keystrokes']['listenTo'](_0x5a689d['element']),this['children']['add'](_0x5a689d),_0x5a689d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x19b6a9=this['_createStartIndexPropertyView'](),_0x27fec8=[_0x19b6a9],_0x5d16b8=new _0x2685a3(this['locale'],_0x27fec8);return _0x5d16b8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5d16b8['buttonView']['bind']('isEnabled')['toMany'](_0x27fec8,'isEnabled',(..._0x531a9d)=>_0x531a9d['some'](_0x39c5a6=>_0x39c5a6)),_0x5d16b8['buttonView']['on']('change:isEnabled',(_0x8d8901,_0x398aca,_0x55d866)=>{_0x55d866||(_0x5d16b8['isCollapsed']=!0x0);}),this['children']['add'](_0x5d16b8),[_0x19b6a9,_0x5d16b8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x563bc4=new _0x2840ea(this['locale'],_0x6e17a);return _0x563bc4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x563bc4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x563bc4['fieldView']['on']('input',()=>{const _0x46a1be=_0x563bc4['fieldView']['element'],_0x2b04ac=_0x46a1be['valueAsNumber'];Number['isNaN'](_0x2b04ac)?_0x563bc4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x46a1be['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2b04ac}):_0x563bc4['errorText']=t(_0x2b04ac<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x563bc4;}}class ht extends _0x565f5d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2a961e,_0x16ec91];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf6e6a3}=this,{componentFactory:_0xd4d267}=_0xf6e6a3['ui'];_0xf6e6a3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd4d267['add']('footnotesStyle',function(_0x59015b){return _0x5cc132=>{const {t:t}=_0x5cc132,_0x26a671=_0x59015b['commands']['get']('footnotesStyle'),_0x177c62=_0x5a3c9c(_0x5cc132),{buttonView:_0x2f298c}=_0x177c62;return _0x177c62['class']='ck-footnotes-styles-dropdown',_0x177c62['bind']('isEnabled')['to'](_0x26a671,'isEnabled'),_0x2f298c['set']({'label':t('Footnotes\x20style'),'icon':_0x22117f,'tooltip':!0x0}),_0x177c62['once']('change:isOpen',()=>{const _0x31a120=function({editor:_0x11ce85,dropdownView:_0x7ddd11}){const {t:t}=_0x11ce85['locale'],_0x4bca6a=t('Footnotes\x20definitions\x20styles'),_0x134548=function(_0x44da1f){const {t:t}=_0x44da1f['locale'],_0x1313b0=_0x44da1f['config']['get']('footnotes.footnotesProperties.listStyles'),_0x85f360=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x10f394},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x4ef899},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x281a4a},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3d1ac6},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x2269e6},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x459d73},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xd0327c}];return _0x1313b0['map'](_0x2a7075=>{const _0x116ab9=ct(_0x2a7075),_0x256bfe=_0x85f360['find'](_0x2c7608=>_0x2c7608['style']===_0x116ab9);return function(_0x2f005e,_0x5a4b56){const {locale:_0x31db5e}=_0x2f005e,{label:_0x447073,icon:_0x54b32e,tooltip:_0x447729,style:_0x1b8435}=_0x5a4b56,_0x61543c=_0x2f005e['commands']['get']('footnotesStyle'),_0x5086a3=new _0xf7ab8f(_0x31db5e);return _0x5086a3['set']({'label':_0x447073,'icon':_0x54b32e,'tooltip':_0x447729}),_0x5086a3['bind']('isOn')['to'](_0x61543c,'value',_0x1db79a=>_0x1db79a===_0x1b8435),_0x5086a3['bind']('isEnabled')['to'](_0x61543c,'isEnabled'),_0x5086a3['on']('execute',()=>{_0x2f005e['execute']('footnotesStyle',{'value':_0x1b8435}),_0x2f005e['editing']['view']['focus']();}),_0x5086a3;}(_0x44da1f,_0x256bfe);});}(_0x11ce85),_0x3c9a8b=new dt(_0x11ce85['locale'],{'styleGridAriaLabel':_0x4bca6a,'styleButtonViews':_0x134548}),_0x13792c=_0x11ce85['commands']['get']('footnotesStart');return _0x3c9a8b['startIndexFieldView']['bind']('isEnabled')['to'](_0x13792c),_0x3c9a8b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x13792c),_0x3c9a8b['on']('footnotesListStart',(_0x152296,_0x538dbf)=>{_0x11ce85['execute']('footnotesStart',{'value':_0x538dbf['startIndex']});}),_0x3c9a8b['delegate']('execute')['to'](_0x7ddd11),_0x3c9a8b;}({'editor':_0x59015b,'dropdownView':_0x177c62});_0x177c62['panelView']['children']['add'](_0x31a120);}),_0x177c62;};}(_0xf6e6a3));}['afterInit'](){const {editor:_0x53d96c}=this,{t:t}=_0x53d96c['locale'],_0x3c1aad=_0x53d96c['plugins']['get'](_0x16ec91),{defaultPositions:_0x58f4f0}=_0xf85455;_0x3c1aad['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x53d96c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5e3536=>{let _0x52703d=_0x5e3536['getFirstPosition']()?.['parent'];return _0x52703d?.['is']('$text')&&(_0x52703d=_0x52703d['parent']),_0x52703d?.['is']('element')?_0x52703d['findAncestor'](q):null;},'positions':[_0x58f4f0['southArrowNorth'],_0x58f4f0['southArrowNorthMiddleWest'],_0x58f4f0['southArrowNorthMiddleEast'],_0x58f4f0['southArrowNorthWest'],_0x58f4f0['southArrowNorthEast'],_0x58f4f0['northArrowSouth'],_0x58f4f0['northArrowSouthMiddleWest'],_0x58f4f0['northArrowSouthMiddleEast'],_0x58f4f0['northArrowSouthWest'],_0x58f4f0['northArrowSouthEast'],_0x58f4f0['viewportStickyNorth']]});}}class mt extends _0x565f5d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4a89ea=>0x1!=_0x4a89ea}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4e87ce=>0x1!=_0x4e87ce}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x503b3=>{const {af:{dictionary:_0x405060,getPluralForm:_0x5f10cf}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4b5476=>0x1!=_0x4b5476}};_0x503b3['af']||={'dictionary':{},'getPluralForm':null},_0x503b3['af']['dictionary']=Object['assign'](_0x503b3['af']['dictionary'],_0x405060),_0x503b3['af']['getPluralForm']=_0x5f10cf;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3a0d67=>{const {af:{dictionary:_0xcb7f77,getPluralForm:_0x369cc4}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x460f1d=>0x1!=_0x460f1d}};_0x3a0d67['af']||={'dictionary':{},'getPluralForm':null},_0x3a0d67['af']['dictionary']=Object['assign'](_0x3a0d67['af']['dictionary'],_0xcb7f77),_0x3a0d67['af']['getPluralForm']=_0x369cc4;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x15dee7=>0x0==_0x15dee7?0x0:0x1==_0x15dee7?0x1:0x2==_0x15dee7?0x2:_0x15dee7%0x64>=0x3&&_0x15dee7%0x64<=0xa?0x3:_0x15dee7%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x453572=>0x0==_0x453572?0x0:0x1==_0x453572?0x1:0x2==_0x453572?0x2:_0x453572%0x64>=0x3&&_0x453572%0x64<=0xa?0x3:_0x453572%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x11351e=>{const {ar:{dictionary:_0x3a4c8d,getPluralForm:_0x5b45f1}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x269031=>0x0==_0x269031?0x0:0x1==_0x269031?0x1:0x2==_0x269031?0x2:_0x269031%0x64>=0x3&&_0x269031%0x64<=0xa?0x3:_0x269031%0x64>=0xb?0x4:0x5}};_0x11351e['ar']||={'dictionary':{},'getPluralForm':null},_0x11351e['ar']['dictionary']=Object['assign'](_0x11351e['ar']['dictionary'],_0x3a4c8d),_0x11351e['ar']['getPluralForm']=_0x5b45f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ec6b5=>{const {ar:{dictionary:_0x4b8657,getPluralForm:_0x57b2af}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x146d6b=>0x0==_0x146d6b?0x0:0x1==_0x146d6b?0x1:0x2==_0x146d6b?0x2:_0x146d6b%0x64>=0x3&&_0x146d6b%0x64<=0xa?0x3:_0x146d6b%0x64>=0xb?0x4:0x5}};_0x2ec6b5['ar']||={'dictionary':{},'getPluralForm':null},_0x2ec6b5['ar']['dictionary']=Object['assign'](_0x2ec6b5['ar']['dictionary'],_0x4b8657),_0x2ec6b5['ar']['getPluralForm']=_0x57b2af;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x492f03=>0x1!=_0x492f03}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x44aa62=>0x1!=_0x44aa62}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5a70ae=>{const {ast:{dictionary:_0x221a7d,getPluralForm:_0x51f5d5}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x120948=>0x1!=_0x120948}};_0x5a70ae['ast']||={'dictionary':{},'getPluralForm':null},_0x5a70ae['ast']['dictionary']=Object['assign'](_0x5a70ae['ast']['dictionary'],_0x221a7d),_0x5a70ae['ast']['getPluralForm']=_0x51f5d5;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25a0ad=>{const {ast:{dictionary:_0x3cec0a,getPluralForm:_0x43839c}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x185b6c=>0x1!=_0x185b6c}};_0x25a0ad['ast']||={'dictionary':{},'getPluralForm':null},_0x25a0ad['ast']['dictionary']=Object['assign'](_0x25a0ad['ast']['dictionary'],_0x3cec0a),_0x25a0ad['ast']['getPluralForm']=_0x43839c;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x254096=>0x1!=_0x254096}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x32b906=>0x1!=_0x32b906}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a470b=>{const {az:{dictionary:_0x17fa44,getPluralForm:_0x527610}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x24a1ce=>0x1!=_0x24a1ce}};_0x4a470b['az']||={'dictionary':{},'getPluralForm':null},_0x4a470b['az']['dictionary']=Object['assign'](_0x4a470b['az']['dictionary'],_0x17fa44),_0x4a470b['az']['getPluralForm']=_0x527610;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ae105=>{const {az:{dictionary:_0x3ba525,getPluralForm:_0x2339a4}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x3cda83=>0x1!=_0x3cda83}};_0x1ae105['az']||={'dictionary':{},'getPluralForm':null},_0x1ae105['az']['dictionary']=Object['assign'](_0x1ae105['az']['dictionary'],_0x3ba525),_0x1ae105['az']['getPluralForm']=_0x2339a4;})(window['CKEDITOR_TRANSLATIONS']||={});