@ckeditor/ckeditor5-footnotes 47.7.0-alpha.3 → 47.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x266e5d,Command as _0x1dc1c9}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x405bd7,isWidget as _0x350a6e,toWidgetEditable as _0x45537b,WidgetToolbarRepository as _0x52fca9}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x42759a,logWarning as _0x47afb4,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1e3325,ClickObserver as _0x14f00e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x552f2b}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x40eb09,ButtonView as _0xdc759d,View as _0x74243b,ViewCollection as _0x142692,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0xa6f471,BalloonPanelView as _0x51e8cb,createDropdown as _0x10af08}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1d1c99,IconListStyleDecimal as _0x50842a,IconListStyleDecimalLeadingZero as _0x237c22,IconListStyleLowerRoman as _0x4ab1ae,IconListStyleUpperRoman as _0x54fb8a,IconListStyleLowerLatin as _0x18322f,IconListStyleUpperLatin as _0x4021f3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x535404,_0x5db221){this['_model']=_0x535404,this['_elementName']=_0x5db221['elementName'],this['_getElementKey']=_0x5db221['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x460a9d){const _0x28fe14=new Set(),_0x3eff68=new Map();for(const _0x554068 of _0x460a9d){if('insert'===_0x554068['type']&&'$text'!==_0x554068['name']&&_0x554068['position']['nodeAfter']){const _0x23ae2e=this['_model']['createRangeOn'](_0x554068['position']['nodeAfter']);for(const _0x5b82de of _0x23ae2e['getItems']()){if(!_0x5b82de['is']('element',this['_elementName']))continue;const _0x2f0b14=this['_getElementKey'](_0x5b82de);_0x3eff68['has'](_0x2f0b14)||_0x3eff68['set'](_0x2f0b14,[]),_0x3eff68['get'](_0x2f0b14)['push'](_0x5b82de);}}if('remove'===_0x554068['type']&&_0x554068['name']===this['_elementName']){const _0x17ac37=this['_getElementKey']({'getAttribute':_0x1c9774=>_0x554068['attributes']['get'](_0x1c9774)});_0x28fe14['add'](_0x17ac37);}}for(const [_0x164afd,_0x1ae4ce]of this['_trackedElements'])'$graveyard'===_0x1ae4ce['root']['rootName']&&_0x28fe14['add'](_0x164afd);for(const _0x74d353 of _0x28fe14)this['_trackedElements']['delete'](_0x74d353);for(const [_0x28b5da,_0x5e5515]of _0x3eff68)this['_trackedElements']['set'](_0x28b5da,_0x5e5515[_0x5e5515['length']-0x1]);const _0x299909=new Set();for(const [_0x5e9158,_0x4372f5]of _0x3eff68)_0x28fe14['has'](_0x5e9158)&&(_0x299909['add'](_0x4372f5[0x0]),_0x4372f5['length']>0x1?_0x3eff68['set'](_0x5e9158,_0x4372f5['slice'](0x1)):_0x3eff68['delete'](_0x5e9158),_0x28fe14['delete'](_0x5e9158));return{'removed':Array['from'](_0x28fe14),'inserted':Array['from'](_0x3eff68['values']())['flat'](),'moved':Array['from'](_0x299909)};}}class f extends _0x266e5d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51a94a){super(_0x51a94a),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4ddb08=>_0x4ddb08['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1e996f=>_0x1e996f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3f3441}=this,{model:_0x275be0,data:_0x1bf525}=_0x3f3441;_0x275be0['document']['registerPostFixer'](_0x15530e=>{const _0x57ca6d=_0x275be0['document']['differ']['getChanges']();let _0x5757cb=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x15530e,_0x57ca6d)&&(_0x5757cb=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x15530e,_0x57ca6d)&&(_0x5757cb=!0x0),this['_handleFootnoteReferencesChanges'](_0x15530e,_0x57ca6d)&&(_0x5757cb=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x15530e)&&(_0x5757cb=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x15530e)&&(_0x5757cb=!0x0),this['_sortFootnoteDefinitions'](_0x15530e)&&(_0x5757cb=!0x0),_0x5757cb;}),this['listenTo'](_0x275be0['document'],'change:data',()=>{_0x275be0['enqueueChange']({'isUndoable':!0x1},_0x37a407=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x37a407);});},{'priority':'low'}),this['listenTo'](_0x1bf525,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5ca464){return this['_footnotes']['find'](_0x29126b=>_0x29126b['id']===_0x5ca464)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x443a66){this['_footnoteFormatter']=_0x443a66;}['_updateFootnotesCounters'](_0x26e37c,_0xd39596=0x0){let _0x183d8e=!0x1;for(let _0x3991e5=_0xd39596;_0x3991e5<this['_footnotes']['length'];_0x3991e5++)this['_updateFootnoteRefCounter'](_0x26e37c,_0x3991e5)&&(_0x183d8e=!0x0);return _0x183d8e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x16ec4a,_0x280a9f){const _0x5b0717=_0x16ec4a['createElement']('footnotesDefinitions',{});return _0x16ec4a['append'](_0x5b0717,_0x280a9f),this['_footnotesDefinitions']=_0x5b0717,_0x5b0717;}['_ensureFootnotesDefinitionsContainerExists'](_0x938b9f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x514f5c=this['_footnotes'][0x0]['reference']['root'],_0x495691=this['_insertEmptyFootnotesDefinitionsContainer'](_0x938b9f,_0x514f5c);for(const _0x341d95 of this['_footnotes'])_0x341d95['definition']['parent']||_0x938b9f['insert'](_0x341d95['definition'],_0x495691,'end');this['_updateFootnotesCounters'](_0x938b9f);}['_handleFootnotesDefinitionsObjectChanges'](_0x255876,_0x5de1e0){let _0x1cfc31=!0x1;const {inserted:_0x113f48,removed:_0x466d73,moved:_0x525a95}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5de1e0);if(_0x525a95['length']&&(this['_footnotesDefinitions']=_0x525a95[0x0]),_0x113f48['length']){if(_0x113f48['length']>0x1||this['_footnotesDefinitions']&&_0x113f48['some'](_0x443c4=>_0x443c4!==this['_footnotesDefinitions'])){const _0x16a4bd=_0x255876['createElement']('footnotesDefinitions',{}),_0x5efffe=[];this['_footnotesDefinitions']&&_0x5efffe['push'](this['_footnotesDefinitions']),_0x5efffe['push'](..._0x113f48),_0x255876['insert'](_0x16a4bd,_0x5efffe[0x0],'before');for(const _0x35028f of _0x5efffe)_0x255876['move'](_0x255876['createRangeIn'](_0x35028f),_0x255876['createPositionAt'](_0x16a4bd,'end')),_0x255876['remove'](_0x35028f);this['_footnotesDefinitions']=_0x16a4bd,this['_updateFootnotesCounters'](_0x255876),_0x1cfc31=!0x0;}else this['_footnotesDefinitions']=_0x113f48[0x0];}if(_0x466d73['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x495882 of this['_footnotes'])_0x255876['remove'](_0x495882['reference']),_0x1cfc31=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1cfc31;}['_handleFootnoteDefinitionsChanges'](_0x526e87,_0x540bf0){let _0x3b3f19=!0x1;const _0xdc4513=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x218c20,moved:_0x517341}=this['_footnoteDefsTracker']['getChanges'](_0x540bf0);for(const _0xcae36b of[..._0x517341,..._0x218c20]){const _0xfab91b=_0xcae36b['getAttribute']('footnoteId'),_0x27c067=this['getFootnote'](_0xfab91b);_0x27c067&&(_0x27c067['definition']=_0xcae36b),_(_0x526e87,_0xdc4513,_0xcae36b)&&(_0x3b3f19=!0x0);}return _0x3b3f19;}['_handleFootnoteReferencesChanges'](_0xa2c787,_0x54d26c){let _0x4af695=!0x1;const {removed:_0xb9ad82,inserted:_0x31a88b,moved:_0x568dba}=this['_footnoteRefsTracker']['getChanges'](_0x54d26c);for(const _0xd31d79 of _0xb9ad82)this['_handleRemoveFootnoteReferenceById'](_0xa2c787,_0xd31d79)&&(_0x4af695=!0x0);for(const _0xa2d9e3 of _0x31a88b)this['_handleInsertedFootnoteReference'](_0xa2c787,_0xa2d9e3)&&(_0x4af695=!0x0);for(const _0x24a9e6 of _0x568dba)this['_handleMovedFootnoteReference'](_0xa2c787,_0x24a9e6)&&(_0x4af695=!0x0);return _0x4af695;}['_handleFootnotesDefinitionsObjectSync'](_0x28fbe8){if(!this['_footnotesDefinitions'])return!0x1;let _0x5a1f43=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x45d317=[];for(const _0x48369e of this['_footnotesDefinitions']['getChildren']()){const _0xf715ab=_0x48369e['getAttribute']('footnoteId');this['getFootnote'](_0xf715ab)||(_0x45d317['unshift'](_0x48369e),_0x5a1f43=!0x0);}for(const _0x3c779d of _0x45d317)_0x28fbe8['remove'](_0x3c779d);}const _0x5dcc27=new Set(),_0x517691=[];for(const _0x20b001 of this['_footnotesDefinitions']['getChildren']()){const _0x28a8ed=_0x20b001['getAttribute']('footnoteId');_0x5dcc27['has'](_0x28a8ed)?(_0x517691['unshift'](_0x20b001),_0x5a1f43=!0x0):_0x5dcc27['add'](_0x28a8ed);}for(const _0xeff0c of _0x517691)_0x28fbe8['remove'](_0xeff0c);return this['_footnotesDefinitions']['childCount']||(_0x28fbe8['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5a1f43=!0x0),_0x5a1f43;}['_handleInsertedFootnoteReference'](_0x31d8fb,_0x2e73b6){if(this['_footnotes']['find'](_0x2e43b1=>_0x2e43b1['reference']===_0x2e73b6))return!0x1;let _0x2e16fc=!0x1;const _0x4c6fc0=_0x2e73b6['getAttribute']('footnoteId'),_0x1065a4=this['_footnotes']['findIndex'](_0x287c1d=>_0x287c1d['id']===_0x4c6fc0);-0x1!==_0x1065a4&&(_0x31d8fb['remove'](this['_footnotes'][_0x1065a4]['reference']),this['_footnotes']['splice'](_0x1065a4,0x1),_0x2e16fc=!0x0);let _0x5744b3=this['_footnotesDefinitions']?function(_0xca460d,_0x255551){for(const _0x4538d8 of _0xca460d['getChildren']())if(_0x4538d8['getAttribute']('footnoteId')===_0x255551)return _0x4538d8;return null;}(this['_footnotesDefinitions'],_0x4c6fc0):null;_0x5744b3||(_0x5744b3=_0x31d8fb['createElement']('footnoteDefinition',{'footnoteId':_0x4c6fc0}),this['_footnotesDefinitions']&&(_0x31d8fb['insert'](_0x5744b3,this['_footnotesDefinitions'],'end'),_0x2e16fc=!0x0));const _0x2c2eb5={'id':_0x4c6fc0,'reference':_0x2e73b6,'definition':_0x5744b3},_0x509262=I(this['editor']['model'],this['_footnotes'],_0x2e73b6);this['_footnotes']['splice'](_0x509262,0x0,_0x2c2eb5);let _0x5acb28=_0x509262;return-0x1!==_0x1065a4&&(_0x5acb28=Math['min'](_0x509262,_0x1065a4)),this['_updateFootnotesCounters'](_0x31d8fb,_0x5acb28)&&(_0x2e16fc=!0x0),_0x2e16fc;}['_handleRemoveFootnoteReferenceById'](_0x3af129,_0x94500f){const _0x36d96f=this['_footnotes']['findIndex'](_0x5db543=>_0x5db543['id']===_0x94500f);if(-0x1===_0x36d96f)return!0x1;let _0x256113=!0x1;const _0x1a8701=this['_footnotes'][_0x36d96f];return'$graveyard'!==_0x1a8701['definition']['root']['rootName']&&(_0x3af129['remove'](_0x1a8701['definition']),_0x256113=!0x0),this['_footnotes']['splice'](_0x36d96f,0x1),this['_updateFootnotesCounters'](_0x3af129,_0x36d96f)&&(_0x256113=!0x0),_0x256113;}['_handleMovedFootnoteReference'](_0x32858e,_0x8f9e0e){const _0x4c3d87=_0x8f9e0e['getAttribute']('footnoteId'),_0x43e948=this['_footnotes']['findIndex'](_0x248237=>_0x248237['id']===_0x4c3d87),_0x6dc884=this['_footnotes'][_0x43e948];let _0x3ae6bb=!0x1;_0x6dc884['reference']=_0x8f9e0e,this['_footnotes']['splice'](_0x43e948,0x1);const _0x520bd5=I(this['editor']['model'],this['_footnotes'],_0x8f9e0e);return this['_footnotes']['splice'](_0x520bd5,0x0,_0x6dc884),this['_updateFootnotesCounters'](_0x32858e,Math['min'](_0x43e948,_0x520bd5))&&(_0x3ae6bb=!0x0),_0x3ae6bb;}['_updateFootnoteRefCounter'](_0x26b857,_0xfa7ae6){if(!this['_footnotesDefinitions'])return!0x1;const _0x33e177=this['_footnotes'][_0xfa7ae6];let _0x2a7d57;return _0x2a7d57=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x33e177,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xfa7ae6+0x1}):String(_0xfa7ae6+0x1),_0x33e177['reference']['getAttribute']('footnoteCounter')!=_0x2a7d57&&(_0x26b857['setAttribute']('footnoteCounter',_0x2a7d57,_0x33e177['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5b4768){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3d9014,_0x1ef0f2){if(_0x3d9014['length']!==_0x1ef0f2['length'])return!0x1;for(let _0x334c60=0x0;_0x334c60<_0x3d9014['length'];_0x334c60++)if(_0x3d9014[_0x334c60]!==_0x1ef0f2[_0x334c60])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x380f84=>_0x380f84['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x7060eb=>_0x7060eb['getAttribute']('footnoteId'))))return!0x1;let _0x27a649=!0x1;for(let _0x2e95d2=0x0;_0x2e95d2<this['_footnotes']['length'];_0x2e95d2++){const _0x13af95=this['_footnotes'][_0x2e95d2],_0x6ba43e=_0x5b4768['createPositionBefore'](_0x13af95['definition']),_0x164da0=_0x5b4768['createPositionAt'](this['_footnotesDefinitions'],_0x2e95d2);_0x6ba43e['isEqual'](_0x164da0)||(_0x5b4768['move'](_0x5b4768['createRangeOn'](_0x13af95['definition']),_0x164da0),_0x27a649=!0x0);}return _0x27a649;}['_ensureFootnotesReferencesHaveProperOrder'](_0x452638){if(!this['_footnotes']['length'])return!0x1;const {model:_0x23b310}=this['editor'];let _0x34bc41=!0x1;for(let _0x52a176=0x0;_0x52a176<this['_footnotes']['length']-0x1;_0x52a176++){const _0x14e5bf=this['_footnotes'][_0x52a176],_0x3b1c64=this['_footnotes'][_0x52a176+0x1],_0x1eb739=_0x23b310['createPositionBefore'](_0x14e5bf['reference']),_0x52d292=_0x23b310['createPositionBefore'](_0x3b1c64['reference']);'after'===_0x1eb739['compareWith'](_0x52d292)&&(this['_handleMovedFootnoteReference'](_0x452638,_0x14e5bf['reference']),_0x52a176=-0x1,_0x34bc41=!0x0);}return _0x34bc41;}}function _(_0x1f5b27,_0x1b10ca,_0x4303de){if(_0x4303de['childCount'])return!0x1;const _0x1499c4=_0x1b10ca?'paragraph':'footnoteInlineContent';return _0x1f5b27['insert'](_0x1f5b27['createElement'](_0x1499c4),_0x4303de),!0x0;}function I(_0x27823e,_0x4ff663,_0x41f849){if(0x0===_0x4ff663['length'])return 0x0;const _0x44a320=_0x27823e['createPositionBefore'](_0x41f849);for(let _0x3eab5b=0x0;_0x3eab5b<_0x4ff663['length'];_0x3eab5b++){const _0x5d5761=_0x4ff663[_0x3eab5b],_0x68cf1e=_0x27823e['createPositionBefore'](_0x5d5761['reference']);if('before'===_0x44a320['compareWith'](_0x68cf1e))return _0x3eab5b;}const _0x4ef18a=_0x41f849['root'];let _0x4c8347=-0x1;for(let _0x27ab15=_0x4ff663['length']-0x1;_0x27ab15>=0x0;_0x27ab15--)if(_0x4ff663[_0x27ab15]['reference']['root']===_0x4ef18a){_0x4c8347=_0x27ab15;break;}if(-0x1!==_0x4c8347)return _0x4c8347+0x1;const _0x594aab=_0x27823e['document']['getRootNames'](),_0x4ae7e8=_0x594aab['indexOf'](_0x4ef18a['rootName']),_0xe25573=_0x594aab[_0x4ae7e8+0x1];if(_0xe25573){for(let _0x3a70e3=0x0;_0x3a70e3<_0x4ff663['length'];_0x3a70e3++)if(_0x4ff663[_0x3a70e3]['reference']['root']['rootName']===_0xe25573)return _0x3a70e3;}return _0x4ff663['length'];}class h extends _0x1dc1c9{['refresh'](){const _0x587a88=this['editor']['model']['document']['selection'],_0x4f8577=this['_getPositionToInsertFootnote'](_0x587a88);this['isEnabled']=!!_0x4f8577;}['execute'](_0x3534e9){const {editor:_0x3e0811}=this,{model:_0x2a6237}=_0x3e0811,{selection:_0x4063d4}=_0x2a6237['document'],_0x44e874=this['_getPositionToInsertFootnote'](_0x4063d4);if(!_0x44e874)return;const _0xc81b6f=_0x3e0811['plugins']['get']('FootnotesEditing'),_0x1e6342=_0x3534e9?.['footnoteId']??_0x42759a();!function(_0x35c71b){return'string'==typeof _0x35c71b&&_0x35c71b['length']>0x0&&!/\s/['test'](_0x35c71b)&&!/^\d/['test'](_0x35c71b);}(_0x1e6342)?_0x47afb4('insert-footnote-command-executed-with-invalid-id'):(_0x2a6237['change'](_0x2b5060=>{const _0x1b9f6c=_0x2b5060['createElement']('footnoteRef',{'footnoteId':_0x1e6342});_0x2a6237['insertObject'](_0x1b9f6c,_0x44e874,null);}),_0xc81b6f['_moveSelectionToFootnoteDefinition'](_0x1e6342));}['_getPositionToInsertFootnote'](_0x58666f){const {model:_0x5a2c05}=this['editor'],{schema:_0x5b3fef}=_0x5a2c05,_0x3d58c7=_0x58666f['getFirstRange']();for(const _0x20aec4 of _0x3d58c7['getItems']())if(_0x5b3fef['isBlock'](_0x20aec4)||_0x5b3fef['isObject'](_0x20aec4))return null;const _0x52d9f6=_0x3d58c7['end'];return _0x5b3fef['checkChild'](_0x52d9f6,'footnoteRef')?_0x52d9f6:null;}}class r extends _0x266e5d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28d85d}=this;_0x28d85d['config']['define']('footnotes.multiBlock',!0x0),_0x28d85d['commands']['add']('insertFootnote',new h(_0x28d85d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x36a23f){const _0x214661=_0x183c16([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]),_0x5b817f=0x47a28506,_0x37c676=0x47a5023e^_0x5b817f,_0x132009=window[_0x183c16([0x44,0x61,0x74,0x65])][_0x183c16([0x6e,0x6f,0x77])](),_0x33318f=_0x36a23f[_0x183c16([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22adf6=new window[(_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c65df=>{_0x33318f[_0x183c16([0x6f,0x6e,0x63,0x65])](_0x183c16([0x72,0x65,0x61,0x64,0x79]),_0x2c65df);}),_0x5f048f={[_0x183c16([0x6b,0x74,0x79])]:_0x183c16([0x45,0x43]),[_0x183c16([0x75,0x73,0x65])]:_0x183c16([0x73,0x69,0x67]),[_0x183c16([0x63,0x72,0x76])]:_0x183c16([0x50,0x2d,0x32,0x35,0x36]),[_0x183c16([0x78])]:_0x183c16([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]),[_0x183c16([0x79])]:_0x183c16([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]),[_0x183c16([0x61,0x6c,0x67])]:_0x183c16([0x45,0x53,0x32,0x35,0x36])},_0x5cf533=_0x33318f[_0x183c16([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x183c16([0x67,0x65,0x74])](_0x183c16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x547192(){let _0xb7e731,_0x2bf923=null,_0x2f69d8=null;try{if(_0x5cf533==_0x183c16([0x47,0x50,0x4c]))return _0x183c16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xb7e731=_0x3960c9(),!_0xb7e731)return _0x183c16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xb7e731[_0x183c16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f69d8=_0x24d8b6(_0xb7e731[_0x183c16([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xb7e731[_0x183c16([0x6a,0x74,0x69])])),await _0x3c8bb5()?_0x45d898()?_0x276fbb()?_0x183c16([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x168fd1()?(_0xb7e731[_0x183c16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x183c16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bf923=_0x197631(_0x183c16([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4adffb()):_0x183c16([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x183c16([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x183c16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x183c16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x276fbb(){const _0x17291a=[_0x183c16([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x183c16([0x74,0x72,0x69,0x61,0x6c])][_0x183c16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb7e731[_0x183c16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x132009/0x3e8:0xe10*_0x37c676;return _0xb7e731[_0x183c16([0x65,0x78,0x70])]<_0x17291a;}function _0x45d898(){const _0x2ad470=_0xb7e731[_0x183c16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ad470&&(!!_0x2ad470[_0x183c16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183c16([0x2a]))||!!_0x2ad470[_0x183c16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183c16([0x46,0x4f,0x4f])));}function _0x168fd1(){const _0x59a4fa=_0xb7e731[_0x183c16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59a4fa||0x0==_0x59a4fa[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3948eb}=new URL(window[_0x183c16([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59a4fa[_0x183c16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3948eb))return!0x0;const _0x54bcb6=_0x3948eb[_0x183c16([0x73,0x70,0x6c,0x69,0x74])](_0x183c16([0x2e]));return _0x59a4fa[_0x183c16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ca22f=>_0x5ca22f[_0x183c16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x183c16([0x2a])))[_0x183c16([0x6d,0x61,0x70])](_0x43bdd3=>_0x43bdd3[_0x183c16([0x73,0x70,0x6c,0x69,0x74])](_0x183c16([0x2e])))[_0x183c16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ad5cd=>_0x3ad5cd[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x54bcb6[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x183c16([0x6d,0x61,0x70])](_0x2b7fe7=>Array(_0x54bcb6[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b7fe7[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x183c16([0x66,0x69,0x6c,0x6c])](_0x2b7fe7[0x0]===_0x183c16([0x2a])?_0x183c16([0x2a]):'')[_0x183c16([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b7fe7))[_0x183c16([0x73,0x6f,0x6d,0x65])](_0x11d864=>_0x54bcb6[_0x183c16([0x65,0x76,0x65,0x72,0x79])]((_0x56f471,_0x400e99)=>_0x11d864[_0x400e99]===_0x56f471||_0x11d864[_0x400e99]===_0x183c16([0x2a])));}function _0x4adffb(){return _0x2bf923&&_0x2f69d8?new window[(_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c32ba,_0x41feb6)=>{_0x2bf923[_0x183c16([0x74,0x68,0x65,0x6e])](_0x5c32ba,_0x41feb6),_0x2f69d8[_0x183c16([0x74,0x68,0x65,0x6e])](_0x3216a3=>{_0x3216a3!=_0x183c16([0x56,0x61,0x6c,0x69,0x64])&&_0x5c32ba(_0x3216a3);},_0x41feb6);}):_0x2bf923||_0x2f69d8||_0x183c16([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24d8b6(_0x89058f,_0x5acddd){return new window[(_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31281d=>{if(_0x2eeaff())return _0x31281d(_0x183c16([0x56,0x61,0x6c,0x69,0x64]));_0x60d989(),_0x33318f[_0x183c16([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x183c16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x353f3c=!0x1;const _0x3fef63=_0x42759a();function _0x2b44d4(_0xb7b49b){return!!_0xb7b49b&&(typeof _0xb7b49b===_0x183c16([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb7b49b===_0x183c16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb7b49b[_0x183c16([0x74,0x68,0x65,0x6e])]===_0x183c16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb7b49b[_0x183c16([0x63,0x61,0x74,0x63,0x68])]===_0x183c16([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x546f85(_0x1edddb){_0x549680(_0x1edddb)[_0x183c16([0x74,0x68,0x65,0x6e])](_0x11e744=>{if(!_0x11e744||_0x11e744[_0x183c16([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x183c16([0x6f,0x6b]))return _0x183c16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x88d875(_0x4eda4f(_0x3fef63+_0x5acddd))!=_0x11e744[_0x183c16([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x183c16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x183c16([0x56,0x61,0x6c,0x69,0x64]);})[_0x183c16([0x74,0x68,0x65,0x6e])](_0xb949a4=>(_0x18e0bd(),_0xb949a4),()=>{const _0x192400=_0x3596f2();return null==_0x192400?(_0x18e0bd(),_0x183c16([0x56,0x61,0x6c,0x69,0x64])):_0x183c16(_0x132009-_0x192400>(0x63ae0106^_0x5b817f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x183c16([0x74,0x68,0x65,0x6e])](_0x31281d)[_0x183c16([0x63,0x61,0x74,0x63,0x68])](()=>{_0x31281d(_0x183c16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54561c=0x47946b86^_0x5b817f;function _0x18e0bd(){const _0x541e1d=_0x183c16([0x6c,0x6c,0x63,0x74,0x2d])+_0x88d875(_0x4eda4f(_0x89058f)),_0x42390f=_0x5c82ba(_0x88d875(window[_0x183c16([0x4d,0x61,0x74,0x68])][_0x183c16([0x63,0x65,0x69,0x6c])](_0x132009/_0x54561c)));window[_0x183c16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x183c16([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x541e1d,_0x42390f);}function _0x3596f2(){const _0x2298a9=_0x183c16([0x6c,0x6c,0x63,0x74,0x2d])+_0x88d875(_0x4eda4f(_0x89058f)),_0x4aba9c=window[_0x183c16([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x183c16([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2298a9);return _0x4aba9c?window[_0x183c16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c82ba(_0x4aba9c),0x10)*_0x54561c:null;}function _0x549680(_0x320038){return new window[(_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d807f,_0x443eb8)=>{_0x320038[_0x183c16([0x74,0x68,0x65,0x6e])](_0x2d807f,_0x443eb8),window[_0x183c16([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x443eb8,0x47a351c6^_0x5b817f);});}}_0x33318f[_0x183c16([0x6f,0x6e])](_0x183c16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x456818,_0xadb41f)=>{if(_0xadb41f[0x0]!=_0x89058f)return _0x31281d(_0x183c16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xadb41f[0x1]={..._0xadb41f[0x1],[_0x183c16([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fef63};},{[_0x183c16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x183c16([0x68,0x69,0x67,0x68])}),_0x33318f[_0x183c16([0x6f,0x6e])](_0x183c16([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x59b74b=>{_0x2b44d4(_0x59b74b[_0x183c16([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x353f3c=!0x0,_0x546f85(_0x59b74b[_0x183c16([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x183c16([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x183c16([0x6c,0x6f,0x77])}),_0x22adf6[_0x183c16([0x74,0x68,0x65,0x6e])](()=>{_0x353f3c||_0x31281d(_0x183c16([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2eeaff(){return _0x33318f[_0x183c16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x183c16([0x76,0x69,0x65,0x77])][_0x183c16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x183c16([0x61,0x75,0x74,0x6f]);}function _0x60d989(){_0x33318f[_0x183c16([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x183c16([0x76,0x69,0x65,0x77])][_0x183c16([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x183c16([0x61,0x75,0x74,0x6f]);}}function _0x197631(_0x415d9f){const _0x3d0b87=[new window[(_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efdfd=>setTimeout(_0x1efdfd,0x47abbbca^_0x5b817f)),_0x22adf6[_0x183c16([0x74,0x68,0x65,0x6e])](()=>new window[(_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af5ab=>{let _0x5c08e6=0x0;_0x33318f[_0x183c16([0x6d,0x6f,0x64,0x65,0x6c])][_0x183c16([0x6f,0x6e])](_0x183c16([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x401978,_0x11be37)=>{_0x11be37[0x0][_0x183c16([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c08e6++,_0x5c08e6==(0x47a280ee^_0x5b817f)&&(_0x1af5ab(),_0x401978[_0x183c16([0x6f,0x66,0x66])]());});}))];return window[_0x183c16([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x183c16([0x72,0x61,0x63,0x65])](_0x3d0b87)[_0x183c16([0x74,0x68,0x65,0x6e])](()=>_0x415d9f);}async function _0x1950bd(){await _0x22adf6,_0x33318f[_0x183c16([0x6d,0x6f,0x64,0x65,0x6c])][_0x183c16([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4022bb,_0x33318f[_0x183c16([0x6d,0x6f,0x64,0x65,0x6c])][_0x183c16([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4022bb,_0x33318f[_0x183c16([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x183c16([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36c7fd(_0x2cbcf1){const _0x11c11e=_0x137d4f();_0x33318f[_0x11c11e]=_0x183c16([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2cbcf1,_0x2cbcf1!=_0x183c16([0x56,0x61,0x6c,0x69,0x64])&&_0x1950bd();}function _0x137d4f(){const _0x3ae688=window[_0x183c16([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x183c16([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x183c16([0x6e,0x6f,0x77])]())[_0x183c16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x183c16([0x2e]),'');let _0xc70071=_0x183c16([0x75]);for(let _0xfb7a2b=0x0;_0xfb7a2b<_0x3ae688[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfb7a2b+=0x2){let _0x3cf44f=window[_0x183c16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ae688[_0x183c16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfb7a2b,_0xfb7a2b+0x2));_0x3cf44f>=_0x214661[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cf44f-=_0x214661[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc70071+=_0x214661[_0x3cf44f];}return _0xc70071;}function _0x3960c9(){const _0x35d836=_0x5cf533[_0x183c16([0x73,0x70,0x6c,0x69,0x74])](_0x183c16([0x2e]));if(0x3!=_0x35d836[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x67fd28(_0x35d836[0x1]);function _0x67fd28(_0x2ff8b2){const _0x1d2bb5=_0x2c284b(_0x2ff8b2);return _0x1d2bb5&&_0x3a5d00()?_0x1d2bb5:null;function _0x3a5d00(){const _0x3d3ebf=_0x1d2bb5[_0x183c16([0x6a,0x74,0x69])],_0x4c27dd=window[_0x183c16([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d3ebf[_0x183c16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d3ebf[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4026e7={..._0x1d2bb5,[_0x183c16([0x6a,0x74,0x69])]:_0x3d3ebf[_0x183c16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d3ebf[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4026e7[_0x183c16([0x76,0x63])],_0x4eda4f(_0x4026e7)==_0x4c27dd;}}}async function _0x3c8bb5(){let _0x399ed8=!0x0;try{const _0x29167c=_0x5cf533[_0x183c16([0x73,0x70,0x6c,0x69,0x74])](_0x183c16([0x2e])),[_0x16bcf9,_0x3646d4,_0x1058a3]=_0x29167c;return _0x7c0822(_0x16bcf9),await _0x4942d4(_0x16bcf9,_0x3646d4,_0x1058a3),_0x399ed8;}catch{return!0x1;}function _0x7c0822(_0x306a14){const _0x184be5=_0x2c284b(_0x306a14);_0x184be5&&_0x184be5[_0x183c16([0x61,0x6c,0x67])]==_0x183c16([0x45,0x53,0x32,0x35,0x36])||(_0x399ed8=!0x1);}async function _0x4942d4(_0x39496,_0x1fc216,_0x463a50){const _0x471cad=window[_0x183c16([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x183c16([0x66,0x72,0x6f,0x6d])](_0x316ab5(_0x463a50),_0x2bf8a6=>_0x2bf8a6[_0x183c16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4089a5=new window[(_0x183c16([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x183c16([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39496+_0x183c16([0x2e])+_0x1fc216),_0x4d9544=window[_0x183c16([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x183c16([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d9544)return;const _0x472d2f=await _0x4d9544[_0x183c16([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x183c16([0x6a,0x77,0x6b]),_0x5f048f,{[_0x183c16([0x6e,0x61,0x6d,0x65])]:_0x183c16([0x45,0x43,0x44,0x53,0x41]),[_0x183c16([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x183c16([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x183c16([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d9544[_0x183c16([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x183c16([0x6e,0x61,0x6d,0x65])]:_0x183c16([0x45,0x43,0x44,0x53,0x41]),[_0x183c16([0x68,0x61,0x73,0x68])]:{[_0x183c16([0x6e,0x61,0x6d,0x65])]:_0x183c16([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x472d2f,_0x471cad,_0x4089a5)||(_0x399ed8=!0x1);}}function _0x2c284b(_0x5478e5){return _0x5478e5[_0x183c16([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x183c16([0x65,0x79]))?JSON[_0x183c16([0x70,0x61,0x72,0x73,0x65])](_0x316ab5(_0x5478e5)):null;}function _0x316ab5(_0x511124){return window[_0x183c16([0x61,0x74,0x6f,0x62])](_0x511124[_0x183c16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x183c16([0x2b]))[_0x183c16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x183c16([0x2f])));}function _0x4eda4f(_0x2b3fb1){let _0x57cd1c=0x1505;function _0x2fc33e(_0x3a8ed1){for(let _0x304820=0x0;_0x304820<_0x3a8ed1[_0x183c16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x304820++){const _0x5e1533=_0x3a8ed1[_0x183c16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x304820);_0x57cd1c=(_0x57cd1c<<0x5)+_0x57cd1c+_0x5e1533,_0x57cd1c&=_0x57cd1c;}}function _0x428471(_0x48e4b3){Array[_0x183c16([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x48e4b3)?_0x48e4b3[_0x183c16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x428471):_0x48e4b3&&typeof _0x48e4b3==_0x183c16([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x183c16([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x48e4b3)[_0x183c16([0x73,0x6f,0x72,0x74])]()[_0x183c16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3658ca,_0x478745])=>{_0x2fc33e(_0x3658ca),_0x428471(_0x478745);}):_0x2fc33e(window[_0x183c16([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x48e4b3));}return _0x428471(_0x2b3fb1),_0x57cd1c>>>0x0;}function _0x88d875(_0x18c609){return _0x18c609[_0x183c16([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x183c16([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x183c16([0x30]));}function _0x5c82ba(_0x22cb24){return _0x22cb24[_0x183c16([0x73,0x70,0x6c,0x69,0x74])]('')[_0x183c16([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x183c16([0x6a,0x6f,0x69,0x6e])]('');}function _0x4022bb(){}function _0x183c16(_0x51cb73){return _0x51cb73['map'](_0x4b1c8e=>String['fromCharCode'](_0x4b1c8e))['join']('');}_0x36c7fd(await _0x547192());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3590db){const {plugins:_0x5f17d5,editing:_0x4c5b56,model:_0x54d087}=this['editor'],_0x4715e2=_0x5f17d5['get'](f)['getFootnote'](_0x3590db);return!!_0x4715e2&&(_0x54d087['change'](_0x537323=>{_0x537323['setSelection'](_0x537323['createPositionAt'](_0x4715e2['definition'],'end'));}),_0x4c5b56['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x38fdef){const {plugins:_0x6fbc42,editing:_0x19d7e9,model:_0x227e95}=this['editor'],_0x5de53e=_0x6fbc42['get'](f)['getFootnote'](_0x38fdef);return!!_0x5de53e&&(_0x227e95['change'](_0x5e4a22=>{_0x5e4a22['setSelection'](_0x5de53e['reference'],'on');}),_0x19d7e9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x90f63b}=this['editor']['model'],_0x21c631=this['editor']['config']['get']('footnotes.multiBlock');_0x90f63b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x90f63b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x90f63b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x21c631?_0x90f63b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x90f63b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x90f63b['addChildCheck'](_0x31c907=>{for(const _0x49a721 of _0x31c907)if('footnoteDefinition'===_0x49a721['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x59b32a}=this,{conversion:_0x34eeb5,editing:_0x40e761}=_0x59b32a,{t:t}=_0x59b32a['locale'];_0x34eeb5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3fcb50,{writer:_0x56af6b,consumable:_0x15b24a})=>{const _0x2c2bf0=_0x3fcb50['getChild'](0x0);if(!_0x2c2bf0||!_0x2c2bf0['is']('element','a'))return null;const _0x393c42=_0x2c2bf0['getAttribute']('href')||'';if(!_0x393c42['startsWith']('#'))return null;const _0x3915a3=_0x393c42['replace'](/^#/,'');if(!_0x3915a3)return null;_0x15b24a['consume'](_0x2c2bf0,{'name':!0x0,'attributes':['href']});for(const {item:_0x2c434b}of _0x40e761['view']['createRangeIn'](_0x2c2bf0))_0x2c434b['is']('$textProxy')?_0x15b24a['consume'](_0x2c434b['textNode'],{'name':!0x0}):_0x2c434b['is']('element')&&_0x15b24a['consume'](_0x2c434b,{'name':!0x0});return _0x56af6b['createElement']('footnoteRef',{'footnoteId':_0x3915a3});}}),_0x34eeb5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b5690,{writer:_0x417fa8})=>b(_0x4b5690,_0x417fa8)}),_0x34eeb5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x552857,{writer:_0x19846d})=>{const _0x30cb72=_0x552857['getAttribute']('footnoteCounter');return _0x405bd7(b(_0x552857,_0x19846d),_0x19846d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x30cb72)});}});}['_defineDefinitionsConverters'](){const {editor:_0x307bab}=this,{t:t}=_0x307bab['locale'],{conversion:_0x4c2677}=_0x307bab;_0x4c2677['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4c2677['for']('upcast')['add'](_0x562e90=>{_0x562e90['on']('element:ol',(_0x2a9235,_0x14cff9,_0x14032c)=>{const _0x1a3179=_0x14cff9['viewItem'];if(!_0x1a3179['hasClass']('footnotes-list')||!_0x14cff9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x14032c['consumable']['consume'](_0x1a3179,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x13ca2f,modelCursor:_0x77ab61}=_0x14032c['convertChildren'](_0x14cff9['viewItem'],_0x14cff9['modelCursor']);_0x14cff9['modelRange']=_0x13ca2f,_0x14cff9['modelCursor']=_0x77ab61;}),_0x562e90['on']('element:hr',(_0x19fd81,_0x4545c7,_0x21f58f)=>{const _0x3ccb7e=_0x4545c7['viewItem'];_0x3ccb7e['hasClass']('footnotes-divider')&&_0x4545c7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x21f58f['consumable']['consume'](_0x3ccb7e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4c2677['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x462707,{writer:_0x408ccd})=>D(_0x408ccd)}),_0x4c2677['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x159ebd,{writer:_0x1518ba})=>{const _0x1a126c=D(_0x1518ba,{'data-footnotes-list-label':t('Footnotes')}),_0x4fa723=_0x405bd7(_0x1a126c,_0x1518ba,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1518ba['setCustomProperty']('footnotesDefinitions',!0x0,_0x4fa723),_0x4fa723;}});}['_defineDefinitionConverters'](){const {editor:_0x189814}=this,{conversion:_0x1345a5,locale:_0x326a79}=_0x189814,_0x38a218=_0x189814['config']['get']('footnotes.multiBlock');_0x1345a5['for']('upcast')['add'](_0x4a3acb=>{_0x4a3acb['on']('element:li',(_0x4d0d82,_0x5befdc,_0x47acb2)=>{const _0x3b38aa=_0x5befdc['viewItem'];if(!_0x3b38aa['hasClass']('footnote-definition')||!_0x3b38aa['getAttribute']('id'))return;const _0xb732ef=_0x3b38aa['parent'];if(!_0xb732ef['is']('element','ol')||!_0xb732ef['hasClass']('footnotes-list'))return;if(!_0x47acb2['consumable']['test'](_0x3b38aa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x12f6e7=_0x47acb2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3b38aa['getAttribute']('id')});if(!_0x47acb2['safeInsert'](_0x12f6e7,_0x5befdc['modelCursor']))return;_0x47acb2['consumable']['consume'](_0x3b38aa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x395e79=Array['from'](_0x3b38aa['getChildren']())['find'](_0x127fc0=>_0x127fc0['is']('element')&&_0x127fc0['hasClass']('footnote-content'));for(const _0x3d19d6 of _0x3b38aa['getChildren']())_0x3d19d6['is']('element')&&(_0x47acb2['consumable']['consume'](_0x3d19d6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x47acb2['consumable']['consume'](_0x3d19d6,{'name':!0x0,'classes':'footnote-content'}));if(_0x395e79){if(_0x38a218)_0x47acb2['convertChildren'](_0x395e79,_0x12f6e7);else{const _0xd75d30=_0x47acb2['writer']['createElement']('footnoteInlineContent');_0x47acb2['writer']['insert'](_0xd75d30,_0x12f6e7),_0x47acb2['convertChildren'](_0x395e79,_0xd75d30);}}_0x47acb2['updateConversionResult'](_0x12f6e7,_0x5befdc);});}),_0x1345a5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4b2d89,{writer:_0x2c6c2a})=>y(_0x4b2d89,_0x2c6c2a,_0x326a79,{'dataPipeline':!0x0})}),_0x1345a5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x9a223f,{writer:_0x1ac906})=>y(_0x9a223f,_0x1ac906,_0x326a79)});}['_defineBogusParagraphConverters'](){const {editor:_0x1b1591}=this,{conversion:_0x569772}=_0x1b1591;_0x1b1591['config']['get']('footnotes.multiBlock')?(_0x569772['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x569772['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1b1591['model']['document'],'change:data',()=>{!function(_0x246641,_0x21f511){const _0x2b7c9c=_0x246641['document']['differ'],_0x3896cc=new Set();for(const _0x32ff48 of _0x2b7c9c['getChanges']()){const _0xfea370='attribute'==_0x32ff48['type']?_0x32ff48['range']['start']['parent']:_0x32ff48['position']['parent'];_0xfea370['is']('element','footnoteDefinition')&&_0x3896cc['add'](_0xfea370);}for(const _0x57b5bf of _0x3896cc['values']()){const _0x4436be=Array['from'](_0x57b5bf['getChildren']())['filter'](_0x865191=>v(_0x865191,_0x21f511['mapper']));for(const _0x3b0e3e of _0x4436be)_0x21f511['reconvertItem'](_0x3b0e3e);}}(_0x1b1591['model'],_0x1b1591['editing']);})):(_0x569772['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x569772['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1f7fba,{writer:_0x115604})=>{const _0x475d0a=_0x115604['createContainerElement']('span');return _0x115604['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x475d0a),_0x475d0a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2474d2}=this,{editing:_0xaaf105,t:t}=_0x2474d2,_0x189b8d=_0x2474d2['model']['document']['selection'];_0x2474d2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2474d2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xaaf105['view']['document'],'enter',(_0x4b4415,_0x136638)=>{const _0x5e223f=function(_0x3e19e5){const _0x150e4b=_0x3e19e5['getSelectedElement']();if(_0x150e4b?.['is']('element','footnoteRef'))return _0x150e4b;return null;}(_0x189b8d);if(_0x5e223f){const _0x2c6959=_0x5e223f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2c6959),_0x136638['preventDefault'](),_0x4b4415['stop']();}},{'context':_0x350a6e});}['_defineClickHandlers'](){const {editor:_0x1ba325}=this,{editing:_0x139d9d}=_0x1ba325;_0x1ba325['editing']['view']['addObserver'](_0x1e3325),_0x1ba325['editing']['view']['addObserver'](_0x14f00e);let _0x8bdfd2=!0x1;this['listenTo'](_0x139d9d['view']['document'],'pointerdown',(_0x5e6efe,_0x48a613)=>{const {target:_0x24cbda}=_0x48a613,_0x302690=_0x139d9d['view']['document']['selection'];_0x8bdfd2=!!(_0x24cbda?.['is']('element','a')&&_0x24cbda['parent']?.['is']('element','sup')&&_0x24cbda['parent']['hasClass']('footnote'))&&_0x302690['getSelectedElement']()===_0x24cbda['parent'];},{'priority':'high'}),this['listenTo'](_0x139d9d['view']['document'],'click',(_0x22c6d7,_0x58f343)=>{const {target:_0x3a6d69}=_0x58f343;if(!_0x3a6d69?.['is']('element','a'))return;if(_0x3a6d69['parent']?.['is']('element','sup')&&_0x3a6d69['parent']['hasClass']('footnote')&&!_0x8bdfd2)return void _0x58f343['preventDefault']();let _0x9ba637=_0x3a6d69['getAttribute']('href');if(!_0x9ba637?.['startsWith']('#'))return;_0x9ba637=_0x9ba637['slice'](0x1);let _0x4406d6=!0x1;(_0x9ba637['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x9ba637['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x9ba637))&&(_0x4406d6=!0x0),_0x4406d6&&(_0x58f343['preventDefault'](),_0x22c6d7['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x652c50}={}){return(_0x35a4b5,{writer:_0xb125ea})=>{if(!g(_0x35a4b5))return null;if(!_0x652c50)return _0xb125ea['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29b8c1=_0xb125ea['createContainerElement']('p');return _0xb125ea['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29b8c1),_0x29b8c1;};}function g(_0x9cc191){const {parent:_0x15172c}=_0x9cc191;if(!_0x15172c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x15172c['childCount'])return!0x1;for(const _0x286390 of _0x9cc191['getAttributeKeys']())if(!_0x286390['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x286390)return!0x1;return!0x0;}function v(_0x28f2ce,_0x290b94){if(!_0x28f2ce['is']('element','paragraph'))return!0x1;const _0x57981d=_0x290b94['toViewElement'](_0x28f2ce);return!!_0x57981d&&g(_0x28f2ce)!==_0x57981d['is']('element','span');}function Q(_0x84659d){return _0x350a6e(_0x84659d)&&_0x84659d['is']('containerElement')&&!!_0x84659d['getCustomProperty']('footnotesDefinitions');}function D(_0x2802d3,_0x52cbdc={}){const _0x479ece=_0x2802d3['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4509eb=_0x2802d3['createContainerElement']('ol',{'class':'footnotes-list'},_0x2802d3['createSlot']());return _0x2802d3['createContainerElement']('div',{'class':'footnotes',..._0x52cbdc},[_0x479ece,_0x4509eb]);}function b(_0x4425e9,_0x1d6266){const _0x493f41=_0x4425e9['getAttribute']('footnoteId'),_0x5555a8=_0x4425e9['getAttribute']('footnoteCounter'),_0xa4665f=_0x1d6266['createUIElement']('a',{'href':'#'+_0x493f41},function(_0x5f37d5){const _0x6a597f=this['toDomElement'](_0x5f37d5);return _0x6a597f['textContent']=_0x5555a8,_0x6a597f;}),_0x5c65fc=_0x1d6266['createContainerElement']('sup',{'id':'ref-'+_0x493f41,'class':'footnote'},[_0xa4665f]);return _0x5c65fc['getFillerOffset']=()=>null,_0x5c65fc;}function y(_0x1cf19f,_0x2ec476,_0x4ccdbc,{dataPipeline:_0x44eabc}={}){const {t:t}=_0x4ccdbc,_0x35aa63=_0x1cf19f['getAttribute']('footnoteId'),_0x4390bd=_0x2ec476['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x35aa63},function(_0x551474){const _0x575484=this['toDomElement'](_0x551474);return _0x575484['innerText']='^',_0x575484;}),_0x190cee=_0x44eabc?_0x2ec476['createContainerElement']('div',{'class':'footnote-content'}):_0x45537b(_0x2ec476['createEditableElement']('div',{'class':'footnote-content'}),_0x2ec476,{'label':t('Footnote\x20content.')});return _0x2ec476['insert'](_0x2ec476['createPositionAt'](_0x190cee,0x0),_0x2ec476['createSlot']()),_0x2ec476['createContainerElement']('li',{'class':'footnote-definition','id':_0x35aa63},[_0x4390bd,_0x190cee]);}class e extends _0x266e5d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x552f2b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x347190}=this,{plugins:_0x91ae00,model:_0x410135}=_0x347190,_0x317b3e=_0x91ae00['get'](_0x552f2b),_0xf48f92=_0x91ae00['get'](f);this['listenTo'](_0x317b3e,'outputTransformation',(_0x39cca9,_0x2b7a66)=>{const _0x1d43c3=l(_0x410135['createRangeIn'](_0x2b7a66['content']));if(!_0x1d43c3['length'])return;const _0x2b7859=_0xf48f92['getFootnotes'](),_0x3b1794=_0x1d43c3['reduce']((_0x4b66ca,_0x1dcae2)=>{const _0x5f07e3=_0x2b7859['find'](_0x1158c3=>_0x1158c3['id']===_0x1dcae2);if(_0x5f07e3){const _0xcd7c6b=_0x347190['data']['toView'](_0x5f07e3['definition'],{'isClipboardPipeline':!0x0}),_0x15b782=_0x347190['data']['htmlProcessor']['toData'](_0xcd7c6b);_0x4b66ca[_0x5f07e3['id']]=_0x15b782;}return _0x4b66ca;},Object['create'](null));_0x2b7a66['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3b1794));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2389d1}=this,{model:_0x156894,plugins:_0x2aa938}=_0x2389d1,{view:_0x2fd873}=_0x2389d1['editing'],_0x18f0e5=_0x2aa938['get'](_0x552f2b),_0x3aef80=_0x2aa938['get'](f),_0x5718ec=_0x2389d1['config']['get']('footnotes.multiBlock');let _0x481d1f=null;this['listenTo'](_0x2fd873['document'],'clipboardInput',(_0x34b385,_0x52b73c)=>{const _0x2e0028=_0x52b73c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x481d1f=_0x2e0028?JSON['parse'](_0x2e0028):null;}),this['listenTo'](_0x18f0e5,'contentInsertion',(_0x3e7c7f,_0x2d29ae)=>{const _0x2aef41=_0x2d29ae['sourceEditorId']===this['editor']['id'];_0x2aef41&&'drop'===_0x2d29ae['method']||_0x156894['change'](_0x422e55=>{let _0xa5fab6=_0x3aef80['getFootnotesDefinitionsObjectElement']();const _0x4d1afd=!!_0xa5fab6&&Array['from'](_0x156894['document']['selection']['getSelectedBlocks']())['includes'](_0xa5fab6);if(!_0x481d1f&&function(_0x42a089){for(const {item:_0x1e92fd}of _0x42a089)if(_0x1e92fd['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x156894['createRangeIn'](_0x2d29ae['content']))&&(_0x481d1f=function(_0x1a0d68,_0x4066d6){const _0x4cafa6=c(_0x1a0d68,_0x4066d6);if(!_0x4cafa6)return null;const _0x4fd8aa=Object['create'](null);for(const _0x3acdce of _0x4cafa6['getChildren']())_0x3acdce['is']('element','footnoteDefinition')&&_0x3acdce['hasAttribute']('footnoteId')&&(_0x4fd8aa[_0x3acdce['getAttribute']('footnoteId')]=_0x1a0d68['cloneElement'](_0x3acdce,!0x0));return Object['keys'](_0x4fd8aa)['length']?_0x4fd8aa:null;}(_0x422e55,_0x2d29ae['content'])),(_0xa5fab6&&!_0x4d1afd||!_0xa5fab6&&!_0x481d1f)&&function(_0x381092,_0x189668){const _0x252bbc=[];for(const {item:_0xbe8a07}of _0x381092['createRangeIn'](_0x189668))_0xbe8a07['is']('element','footnotesDefinitions')&&_0x252bbc['push'](_0xbe8a07);for(const _0x5c8577 of _0x252bbc)_0x381092['remove'](_0x5c8577);}(_0x422e55,_0x2d29ae['content']),!_0x481d1f)return;const {selection:_0x52e69d}=_0x156894['document'],_0x2054d7=_0x52e69d['getFirstRange']()['root'];_0xa5fab6&&!_0x4d1afd||(_0xa5fab6=c(_0x422e55,_0x2d29ae['content']),_0xa5fab6||=_0x3aef80['_insertEmptyFootnotesDefinitionsContainer'](_0x422e55,_0x2054d7));const _0x4f5fe7=Array['from'](_0x52e69d['getRanges']())['flatMap'](l),_0x4c2118=function(_0x5efdb2,_0x3e9d47,_0x5b1e28){const _0x4d520d=Object['create'](null);for(const {item:_0x1767cd}of _0x5efdb2['createRangeIn'](_0x3e9d47))if(_0x1767cd['is']('element','footnoteRef')){const _0x166d82=_0x1767cd['getAttribute']('footnoteId');if(!_0x5b1e28(_0x166d82))continue;_0x4d520d[_0x166d82]||(_0x4d520d[_0x166d82]=_0x42759a()),_0x5efdb2['setAttribute']('footnoteId',_0x4d520d[_0x166d82],_0x1767cd);}return _0x4d520d;}(_0x422e55,_0x2d29ae['content'],_0x302676=>{if(!_0x2aef41)return!0x0;return!!_0x3aef80['getFootnote'](_0x302676)&&!_0x4f5fe7['includes'](_0x302676);});for(const [_0x176120,_0xb31eed]of Object['entries'](_0x481d1f)){const _0x3fc43e=_0x4c2118[_0x176120]||_0x176120;let _0x15ea7c;if('string'!=typeof _0xb31eed)_0x15ea7c=_0xb31eed,_0x3fc43e!==_0x176120&&_0x422e55['setAttribute']('footnoteId',_0x3fc43e,_0x15ea7c);else{_0x15ea7c=_0x422e55['createElement']('footnoteDefinition',{'footnoteId':_0x3fc43e});const _0x5f01af=_0x2389d1['data']['htmlProcessor']['toView'](_0xb31eed);let _0x489681;if(_0x5718ec)_0x489681=_0x2389d1['data']['toModel'](_0x5f01af,_0x15ea7c);else{_0x489681=_0x422e55['createElement']('footnoteInlineContent');const _0x20d94b=_0x2389d1['data']['toModel'](_0x5f01af,_0x489681);_0x422e55['insert'](_0x20d94b,_0x489681);}_0x422e55['append'](_0x489681,_0x15ea7c);}_0x422e55['insert'](_0x15ea7c,_0xa5fab6,'end');}_0x481d1f=null;});});}}function c(_0x58d702,_0x29e8fa){for(const {item:_0x208e09}of _0x58d702['createRangeIn'](_0x29e8fa))if(_0x208e09['is']('element','footnotesDefinitions'))return _0x208e09;return null;}function l(_0x4abd04){const _0x5e75ce=new Set();for(const {item:_0x3dc5ed}of _0x4abd04)_0x3dc5ed['is']('element','footnoteRef')&&_0x5e75ce['add'](_0x3dc5ed['getAttribute']('footnoteId'));return Array['from'](_0x5e75ce);}class i extends _0x266e5d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40d7c9}=this,{componentFactory:_0x383c6d}=_0x40d7c9['ui'];_0x383c6d['add']('insertFootnote',E(_0x40d7c9,_0xdc759d)),_0x383c6d['add']('menuBar:insertFootnote',E(_0x40d7c9,_0x40eb09)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39f963=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a6a1c;for(const _0x576397 in _0x39f963){const _0x516444=_0x576397,_0xee4e30=_0x39f963[_0x516444];if('footnotesLicenseKeyValid'==_0xee4e30||'footnotesLicenseKeyInvalid'==_0xee4e30||'footnotesLicenseKeyExpired'==_0xee4e30||'footnotesLicenseKeyDomainLimit'==_0xee4e30||'footnotesLicenseKeyNotAllowed'==_0xee4e30||'footnotesLicenseKeyEvaluationLimit'==_0xee4e30||'footnotesLicenseKeyUsageLimit'==_0xee4e30){delete _0x39f963[_0x516444],_0x3a6a1c=_0xee4e30,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3a6a1c&&_0x39f963['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3a6a1c&&_0x39f963['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3a6a1c&&_0x39f963['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3a6a1c&&_0x39f963['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3a6a1c&&_0x39f963['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3a6a1c&&_0x39f963['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x567c73,_0xa0bbf7){const _0x43e3d6=_0x567c73['commands']['get']('insertFootnote');return _0x208e4b=>{const {t:t}=_0x208e4b,_0x3f6368=new _0xa0bbf7(_0x208e4b),_0x5e8437=_0x3f6368 instanceof _0x40eb09;return _0x3f6368['bind']('isEnabled')['to'](_0x43e3d6,'isEnabled'),_0x3f6368['set']({'label':t(_0x5e8437?'Footnote':'Insert\x20footnote'),'icon':_0x1d1c99,'tooltip':!0x0}),_0x3f6368['on']('execute',()=>{_0x43e3d6['execute'](),_0x567c73['editing']['view']['focus']();}),_0x3f6368;};}class lt extends _0x266e5d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1dc1c9{['refresh'](){const {editor:_0x55e60d}=this,_0x31fc9a=_0x55e60d['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x31fc9a,this['value']=_0x31fc9a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3e10bd}){const {editor:_0xe393bd}=this,_0x487551=_0xe393bd['plugins']['get'](f),_0x5f58d0=_0x487551['getFootnotesDefinitionsObjectElement']();_0x5f58d0&&W['includes'](_0x3e10bd)&&_0xe393bd['model']['change'](_0x4c588c=>{_0x4c588c['setAttribute']('footnotesListStyle',_0x3e10bd,_0x5f58d0),_0x487551['_updateFootnotesCounters'](_0x4c588c);});}}class C extends _0x1dc1c9{['refresh'](){const {editor:_0x184251}=this,_0x3b3ace=_0x184251['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3b3ace,this['value']=_0x3b3ace?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x15c23c}){const {editor:_0x16308e}=this,_0x1a5597=_0x16308e['plugins']['get'](f),_0x567694=_0x1a5597['getFootnotesDefinitionsObjectElement']();_0x567694&&Number['isInteger'](_0x15c23c)&&_0x16308e['model']['change'](_0x349fb9=>{_0x349fb9['setAttribute']('footnotesListStart',_0x15c23c,_0x567694),_0x1a5597['_updateFootnotesCounters'](_0x349fb9);});}}class P extends _0x266e5d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f288a}=this;_0x3f288a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3f288a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3f288a['commands']['add']('footnotesStyle',new S(_0x3f288a)),_0x3f288a['commands']['add']('footnotesStart',new C(_0x3f288a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x45b130}=this,{schema:_0x42e5b2}=_0x45b130['model'];_0x42e5b2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x18cdaa}=this,{conversion:_0x571824,model:_0x499b37}=_0x18cdaa,{schema:_0x2be836}=_0x499b37;_0x571824['for']('upcast')['add'](_0x38e57b=>{_0x38e57b['on']('element:ol',(_0x37f136,_0x32849b,_0x5a1cb3)=>{const _0x415294=_0x32849b['viewItem'],_0x4312a6=_0x32849b['modelCursor']?.['parent'];_0x415294['hasClass']('footnotes-list')&&_0x4312a6?.['is']('element','footnotesDefinitions')&&(function(_0x21a579,_0x50e830,_0x3dc7ce,_0x3219f3){if(!_0x3219f3['checkAttribute'](_0x50e830,'footnotesListStart'))return;let _0x14eecb=0x1;const _0x4a5837=_0x3dc7ce['consumable']['consume'](_0x21a579,{'attributes':'start'});if(_0x4a5837){const _0x2e1711=Number['parseInt'](_0x21a579['getAttribute']('start'),0xa);Number['isNaN'](_0x2e1711)||(_0x14eecb=_0x2e1711);}!_0x4a5837&&_0x50e830['hasAttribute']('footnotesListStart')||_0x3dc7ce['writer']['setAttribute']('footnotesListStart',_0x14eecb,_0x50e830);}(_0x415294,_0x4312a6,_0x5a1cb3,_0x2be836),function(_0xaaccd7,_0x2bbc88,_0x5b2388,_0x540662){if(!_0x540662['checkAttribute'](_0x2bbc88,'footnotesListStyle'))return;let _0xb80d26='decimal',_0x52ed4c=!0x1;if(_0x5b2388['consumable']['consume'](_0xaaccd7,{'attributes':'type'})){const _0x5e930a={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xaaccd7['getAttribute']('type')];_0x5e930a&&(_0xb80d26=_0x5e930a),_0x52ed4c=!0x0;}_0x5b2388['consumable']['consume'](_0xaaccd7,{'styles':'list-style-type'})&&(_0xb80d26=function(_0x12efc1){switch(_0x12efc1){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x12efc1;}}(_0xaaccd7['getStyle']('list-style-type')),_0x52ed4c=!0x0),!_0x52ed4c&&_0x2bbc88['hasAttribute']('footnotesListStyle')||_0x5b2388['writer']['setAttribute']('footnotesListStyle',_0xb80d26,_0x2bbc88);}(_0x415294,_0x4312a6,_0x5a1cb3,_0x2be836));});}),_0x571824['for']('downcast')['add'](_0x23665a=>{_0x23665a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x4118ae,_0x2adb85,_0x251741)=>{if(!_0x251741['consumable']['consume'](_0x2adb85['item'],_0x4118ae['name']))return;const _0x4e146b=M(_0x2adb85['item'],_0x251741['mapper']),{attributeNewValue:_0x345fc0}=_0x2adb85;null==_0x345fc0||0x1===_0x345fc0?_0x251741['writer']['removeAttribute']('start',_0x4e146b):_0x251741['writer']['setAttribute']('start',String(_0x345fc0),_0x4e146b);}),_0x23665a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5ccedf,_0x3e4664,_0x168c46)=>{if(!_0x168c46['consumable']['consume'](_0x3e4664['item'],_0x5ccedf['name']))return;const _0x3c8069=M(_0x3e4664['item'],_0x168c46['mapper']),{attributeNewValue:_0xa49e53}=_0x3e4664;_0xa49e53&&'decimal'!==_0xa49e53?_0x168c46['writer']['setStyle']('list-style-type',_0xa49e53,_0x3c8069):_0x168c46['writer']['removeStyle']('list-style-type',_0x3c8069);});});}['_definePostfixer'](){const {editor:_0x3f556b}=this,{model:_0x43e49d}=_0x3f556b,_0x5e571c=_0x3f556b['plugins']['get'](f),_0x4d168b=this['_getDefaultListStyle'](),_0x5dd94a=this['_getDefaultStartIndex']();_0x43e49d['document']['registerPostFixer'](_0x10b4a8=>{const _0x1d5aee=_0x43e49d['document']['differ']['getChanges']();let _0x4be364=!0x1;for(const _0x452511 of _0x1d5aee){if('insert'!==_0x452511['type']||'$text'===_0x452511['name'])continue;const _0x3efc7e=_0x43e49d['createRangeOn'](_0x452511['position']['nodeAfter']);for(const _0x576315 of _0x3efc7e['getItems']())_0x576315['is']('element','footnotesDefinitions')&&(!_0x576315['hasAttribute']('footnotesListStart')&&_0x43e49d['schema']['checkAttribute'](_0x576315,'footnotesListStart')&&(_0x10b4a8['setAttribute']('footnotesListStart',_0x5dd94a,_0x576315),_0x4be364=!0x0),!_0x576315['hasAttribute']('footnotesListStyle')&&_0x43e49d['schema']['checkAttribute'](_0x576315,'footnotesListStyle')&&(_0x10b4a8['setAttribute']('footnotesListStyle',_0x4d168b,_0x576315),_0x4be364=!0x0));}return _0x4be364&&_0x5e571c['_updateFootnotesCounters'](_0x10b4a8),_0x4be364;});}['_defineFormatter'](){const {editor:_0x286205}=this;_0x286205['plugins']['get'](f)['setFootnoteFormatter'](_0x1e1c92=>this['_formatFootnoteListValue'](_0x1e1c92));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x31023f,value:_0xc8b454,digits:_0x2c4ce1}){const _0x223ae7=_0x31023f['getAttribute']('footnotesListStyle'),_0x1a1664=_0x31023f['getAttribute']('footnotesListStart'),_0x48a598=Math['floor'](_0xc8b454)+(_0x1a1664??0x1)-0x1;switch(_0x223ae7){case'decimal-leading-zero':return function(_0x5e878c,_0x54899e){return String(_0x5e878c)['padStart'](_0x54899e,'0');}(_0x48a598,Math['max'](0x2,_0x2c4ce1));case'lower-alpha':case'lower-latin':return N(_0x48a598,!0x1);case'upper-alpha':case'upper-latin':return N(_0x48a598,!0x0);case'lower-roman':return X(_0x48a598,!0x1);case'upper-roman':return X(_0x48a598,!0x0);default:return String(_0x48a598);}}}function M(_0x410c13,_0x3ae53f){const _0x777ad9=_0x3ae53f['toViewElement'](_0x410c13);return Array['from'](_0x777ad9['getChildren']())['find'](_0x45f758=>_0x45f758['is']('element','ol')&&_0x45f758['hasClass']('footnotes-list'));}function N(_0x1ad226,_0x322aa7){let _0x1bcea0='',_0x1fe7b8=_0x1ad226;for(;_0x1fe7b8>0x0;){const _0x89e79d=(_0x1fe7b8-0x1)%0x1a;_0x1bcea0=String['fromCharCode'](0x61+_0x89e79d)+_0x1bcea0,_0x1fe7b8=Math['floor']((_0x1fe7b8-0x1)/0x1a);}return _0x322aa7?_0x1bcea0['toUpperCase']():_0x1bcea0;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x1c331f,_0x465694){let _0x4c8eda='',_0x3f458d=_0x1c331f;for(const {value:_0x478c4e,numeral:_0x2b11be}of V)for(;_0x3f458d>=_0x478c4e;)_0x4c8eda+=_0x2b11be,_0x3f458d-=_0x478c4e;return _0x465694?_0x4c8eda:_0x4c8eda['toLowerCase']();}class J extends _0x74243b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x142692();['focusCycler'];constructor(_0x35e12c,{styleButtonViews:_0x8b0388,styleGridAriaLabel:_0x382e00}){super(_0x35e12c),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x8b0388,_0x382e00),[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 _0x3b91a0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3b91a0['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x2e62d6=_0x276f3b=>_0x276f3b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2e62d6),this['keystrokes']['set']('arrowleft',_0x2e62d6),this['keystrokes']['set']('arrowup',_0x2e62d6),this['keystrokes']['set']('arrowdown',_0x2e62d6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x59d918,_0x467f47){const _0x33cd21=new _0x74243b(this['locale']);return _0x33cd21['children']=_0x33cd21['createCollection'](),_0x33cd21['children']['addMany'](_0x59d918),_0x33cd21['setTemplate']({'tag':'div','attributes':{'aria-label':_0x467f47,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x33cd21['children']}),_0x33cd21['children']['delegate']('execute')['to'](this),_0x33cd21['focus']=function(){for(const _0xf3ae8b of this['children'])if(_0xf3ae8b instanceof _0xdc759d&&_0xf3ae8b['isOn'])return void _0xf3ae8b['focus']();this['children']['first']['focus']();},_0x33cd21['focusTracker']=new rt(),_0x33cd21['keystrokes']=new nt(),_0x33cd21['render'](),_0x33cd21['keystrokes']['listenTo'](_0x33cd21['element']),this['children']['add'](_0x33cd21),_0x33cd21;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41d469=this['_createStartIndexPropertyView'](),_0x3dfe7f=[_0x41d469],_0x505d84=new it(this['locale'],_0x3dfe7f);return _0x505d84['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x505d84['buttonView']['bind']('isEnabled')['toMany'](_0x3dfe7f,'isEnabled',(..._0x3cc462)=>_0x3cc462['some'](_0x51be21=>_0x51be21)),_0x505d84['buttonView']['on']('change:isEnabled',(_0x1bdcfa,_0x399e36,_0x5da4a6)=>{_0x5da4a6||(_0x505d84['isCollapsed']=!0x0);}),this['children']['add'](_0x505d84),[_0x41d469,_0x505d84];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1e75e5=new et(this['locale'],ot);return _0x1e75e5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1e75e5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1e75e5['fieldView']['on']('input',()=>{const _0x4e2ce4=_0x1e75e5['fieldView']['element'],_0x4aebd9=_0x4e2ce4['valueAsNumber'];Number['isNaN'](_0x4aebd9)?_0x1e75e5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4e2ce4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4aebd9}):_0x1e75e5['errorText']=t(_0x4aebd9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1e75e5;}}class j extends _0x266e5d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xa6f471,_0x52fca9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d3a1f}=this,{componentFactory:_0x336ea3}=_0x4d3a1f['ui'];_0x4d3a1f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x336ea3['add']('footnotesStyle',function(_0xc2dd6a){return _0x16c18d=>{const {t:t}=_0x16c18d,_0x1196e9=_0xc2dd6a['commands']['get']('footnotesStyle'),_0xb6dacd=_0x10af08(_0x16c18d),{buttonView:_0x13cfa2}=_0xb6dacd;return _0xb6dacd['class']='ck-footnotes-styles-dropdown',_0xb6dacd['bind']('isEnabled')['to'](_0x1196e9,'isEnabled'),_0x13cfa2['set']({'label':t('Footnotes\x20style'),'icon':_0x1d1c99,'tooltip':!0x0}),_0xb6dacd['once']('change:isOpen',()=>{const _0x5d31e5=function({editor:_0xa1acb2,dropdownView:_0x2a8a5f}){const {t:t}=_0xa1acb2['locale'],_0x2f6914=t('Footnotes\x20definitions\x20styles'),_0x31fab7=function(_0x4fa0f4){const t=_0x4fa0f4['locale']['t'],_0x3b9b96=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x50842a},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x237c22},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4ab1ae},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x54fb8a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x18322f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4021f3}];return _0x3b9b96['map'](function(_0x2bd4db){const _0x40a66f=_0x2bd4db['locale'];return({label:_0x801028,icon:_0x1ef0e3,tooltip:_0x28b161,style:_0x7b6ba7})=>{const _0x33ac2f=_0x2bd4db['commands']['get']('footnotesStyle'),_0x148dae=new _0xdc759d(_0x40a66f);return _0x148dae['set']({'label':_0x801028,'icon':_0x1ef0e3,'tooltip':_0x28b161}),_0x148dae['bind']('isOn')['to'](_0x33ac2f,'value',_0x4ef156=>_0x4ef156===_0x7b6ba7),_0x148dae['bind']('isEnabled')['to'](_0x33ac2f,'isEnabled'),_0x148dae['on']('execute',()=>{_0x2bd4db['execute']('footnotesStyle',{'value':_0x7b6ba7}),_0x2bd4db['editing']['view']['focus']();}),_0x148dae;};}(_0x4fa0f4));}(_0xa1acb2),_0x569e3a=new J(_0xa1acb2['locale'],{'styleGridAriaLabel':_0x2f6914,'styleButtonViews':_0x31fab7}),_0x381d0f=_0xa1acb2['commands']['get']('footnotesStart');return _0x569e3a['startIndexFieldView']['bind']('isEnabled')['to'](_0x381d0f),_0x569e3a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x381d0f),_0x569e3a['on']('footnotesListStart',(_0x5bdfe0,_0x45ffd1)=>{_0xa1acb2['execute']('footnotesStart',{'value':_0x45ffd1['startIndex']});}),_0x569e3a['delegate']('execute')['to'](_0x2a8a5f),_0x569e3a;}({'editor':_0xc2dd6a,'dropdownView':_0xb6dacd});_0xb6dacd['panelView']['children']['add'](_0x5d31e5);}),_0xb6dacd;};}(_0x4d3a1f));}['afterInit'](){const {editor:_0x40c81b}=this,{t:t}=_0x40c81b['locale'],_0x168e5e=_0x40c81b['plugins']['get'](_0x52fca9),{defaultPositions:_0x5dd1fc}=_0x51e8cb;_0x168e5e['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x40c81b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x550941=>{let _0x20f0d4=_0x550941['getFirstPosition']()?.['parent'];return _0x20f0d4?.['is']('$text')&&(_0x20f0d4=_0x20f0d4['parent']),_0x20f0d4?.['is']('element')?_0x20f0d4['findAncestor'](Q):null;},'positions':[_0x5dd1fc['southArrowNorth'],_0x5dd1fc['southArrowNorthMiddleWest'],_0x5dd1fc['southArrowNorthMiddleEast'],_0x5dd1fc['southArrowNorthWest'],_0x5dd1fc['southArrowNorthEast'],_0x5dd1fc['northArrowSouth'],_0x5dd1fc['northArrowSouthMiddleWest'],_0x5dd1fc['northArrowSouthMiddleEast'],_0x5dd1fc['northArrowSouthWest'],_0x5dd1fc['northArrowSouthEast'],_0x5dd1fc['viewportStickyNorth']]});}}class ft extends _0x266e5d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x57b2ed,Command as _0x6da540}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1ffee4,isWidget as _0x2ce040,toWidgetEditable as _0x105eec,WidgetToolbarRepository as _0x172028}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x24a8a0,logWarning as _0x3fcbc6,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x56be17,ClickObserver as _0x42a7b6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0xe7a8ac}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x247fb5,ButtonView as _0xb5f745,View as _0x2ac7db,ViewCollection as _0x5ebd55,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x171975,BalloonPanelView as _0x256b86,createDropdown as _0x2a9075}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x111132,IconListStyleDecimal as _0x5103e3,IconListStyleDecimalLeadingZero as _0x134634,IconListStyleLowerRoman as _0x3dda16,IconListStyleUpperRoman as _0xc62943,IconListStyleLowerLatin as _0x280044,IconListStyleUpperLatin as _0x414a61}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x39d498,_0x171744){this['_model']=_0x39d498,this['_elementName']=_0x171744['elementName'],this['_getElementKey']=_0x171744['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x591494){const _0x45db46=new Set(),_0xcd0a99=new Map();for(const _0x4261ff of _0x591494){if('insert'===_0x4261ff['type']&&'$text'!==_0x4261ff['name']&&_0x4261ff['position']['nodeAfter']){const _0x3961d6=this['_model']['createRangeOn'](_0x4261ff['position']['nodeAfter']);for(const _0x310ff3 of _0x3961d6['getItems']()){if(!_0x310ff3['is']('element',this['_elementName']))continue;const _0x27037a=this['_getElementKey'](_0x310ff3);_0xcd0a99['has'](_0x27037a)||_0xcd0a99['set'](_0x27037a,[]),_0xcd0a99['get'](_0x27037a)['push'](_0x310ff3);}}if('remove'===_0x4261ff['type']&&_0x4261ff['name']===this['_elementName']){const _0x364636=this['_getElementKey']({'getAttribute':_0x223a64=>_0x4261ff['attributes']['get'](_0x223a64)});_0x45db46['add'](_0x364636);}}for(const [_0x268f81,_0x559412]of this['_trackedElements'])'$graveyard'===_0x559412['root']['rootName']&&_0x45db46['add'](_0x268f81);for(const _0x225774 of _0x45db46)this['_trackedElements']['delete'](_0x225774);for(const [_0x488486,_0xe7be36]of _0xcd0a99)this['_trackedElements']['set'](_0x488486,_0xe7be36[_0xe7be36['length']-0x1]);const _0x47aa3d=new Set();for(const [_0x4c0e0f,_0x393c3d]of _0xcd0a99)_0x45db46['has'](_0x4c0e0f)&&(_0x47aa3d['add'](_0x393c3d[0x0]),_0x393c3d['length']>0x1?_0xcd0a99['set'](_0x4c0e0f,_0x393c3d['slice'](0x1)):_0xcd0a99['delete'](_0x4c0e0f),_0x45db46['delete'](_0x4c0e0f));return{'removed':Array['from'](_0x45db46),'inserted':Array['from'](_0xcd0a99['values']())['flat'](),'moved':Array['from'](_0x47aa3d)};}}class f extends _0x57b2ed{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2f34c9){super(_0x2f34c9),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1af677=>_0x1af677['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x26f5de=>_0x26f5de['getAttribute']('footnoteId')});}['init'](){const {editor:_0x6b14b6}=this,{model:_0x2a06d4,data:_0x426ace}=_0x6b14b6;_0x2a06d4['document']['registerPostFixer'](_0x5f2336=>{const _0xc4df2d=_0x2a06d4['document']['differ']['getChanges']();let _0x2c866d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5f2336,_0xc4df2d)&&(_0x2c866d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5f2336,_0xc4df2d)&&(_0x2c866d=!0x0),this['_handleFootnoteReferencesChanges'](_0x5f2336,_0xc4df2d)&&(_0x2c866d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5f2336)&&(_0x2c866d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5f2336)&&(_0x2c866d=!0x0),this['_sortFootnoteDefinitions'](_0x5f2336)&&(_0x2c866d=!0x0),_0x2c866d;}),this['listenTo'](_0x2a06d4['document'],'change:data',()=>{_0x2a06d4['enqueueChange']({'isUndoable':!0x1},_0x31bfcd=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x31bfcd);});},{'priority':'low'}),this['listenTo'](_0x426ace,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x277eed){return this['_footnotes']['find'](_0x3f2c6b=>_0x3f2c6b['id']===_0x277eed)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4a442a){this['_footnoteFormatter']=_0x4a442a;}['_updateFootnotesCounters'](_0x29671f,_0x227209=0x0){let _0x1dc78b=!0x1;for(let _0x17718d=_0x227209;_0x17718d<this['_footnotes']['length'];_0x17718d++)this['_updateFootnoteRefCounter'](_0x29671f,_0x17718d)&&(_0x1dc78b=!0x0);return _0x1dc78b;}['_insertEmptyFootnotesDefinitionsContainer'](_0x422333,_0x4cc6f2){const _0x312b6d=_0x422333['createElement']('footnotesDefinitions',{});return _0x422333['append'](_0x312b6d,_0x4cc6f2),this['_footnotesDefinitions']=_0x312b6d,_0x312b6d;}['_ensureFootnotesDefinitionsContainerExists'](_0x2e71ef){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4edefd=this['_footnotes'][0x0]['reference']['root'],_0x770798=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2e71ef,_0x4edefd);for(const _0x4eaf5b of this['_footnotes'])_0x4eaf5b['definition']['parent']||_0x2e71ef['insert'](_0x4eaf5b['definition'],_0x770798,'end');this['_updateFootnotesCounters'](_0x2e71ef);}['_handleFootnotesDefinitionsObjectChanges'](_0x4a78cf,_0x16f245){let _0x1b2382=!0x1;const {inserted:_0x2bb43f,removed:_0x227b33,moved:_0x2427db}=this['_footnoteDefsContainerTracker']['getChanges'](_0x16f245);if(_0x2427db['length']&&(this['_footnotesDefinitions']=_0x2427db[0x0]),_0x2bb43f['length']){if(_0x2bb43f['length']>0x1||this['_footnotesDefinitions']&&_0x2bb43f['some'](_0x418015=>_0x418015!==this['_footnotesDefinitions'])){const _0x2ade31=_0x4a78cf['createElement']('footnotesDefinitions',{}),_0x230689=[];this['_footnotesDefinitions']&&_0x230689['push'](this['_footnotesDefinitions']),_0x230689['push'](..._0x2bb43f),_0x4a78cf['insert'](_0x2ade31,_0x230689[0x0],'before');for(const _0x4e4c84 of _0x230689)_0x4a78cf['move'](_0x4a78cf['createRangeIn'](_0x4e4c84),_0x4a78cf['createPositionAt'](_0x2ade31,'end')),_0x4a78cf['remove'](_0x4e4c84);this['_footnotesDefinitions']=_0x2ade31,this['_updateFootnotesCounters'](_0x4a78cf),_0x1b2382=!0x0;}else this['_footnotesDefinitions']=_0x2bb43f[0x0];}if(_0x227b33['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x14314e of this['_footnotes'])_0x4a78cf['remove'](_0x14314e['reference']),_0x1b2382=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1b2382;}['_handleFootnoteDefinitionsChanges'](_0x4b79fb,_0x38ebd7){let _0x1e872f=!0x1;const _0x110c60=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x155842,moved:_0x456e43}=this['_footnoteDefsTracker']['getChanges'](_0x38ebd7);for(const _0x37b2b3 of[..._0x456e43,..._0x155842]){const _0x491807=_0x37b2b3['getAttribute']('footnoteId'),_0x2072f4=this['getFootnote'](_0x491807);_0x2072f4&&(_0x2072f4['definition']=_0x37b2b3),_(_0x4b79fb,_0x110c60,_0x37b2b3)&&(_0x1e872f=!0x0);}return _0x1e872f;}['_handleFootnoteReferencesChanges'](_0x429db9,_0x27fff9){let _0x1cd35d=!0x1;const {removed:_0xf9b3c8,inserted:_0x378941,moved:_0x300f41}=this['_footnoteRefsTracker']['getChanges'](_0x27fff9);for(const _0x3f4cc2 of _0xf9b3c8)this['_handleRemoveFootnoteReferenceById'](_0x429db9,_0x3f4cc2)&&(_0x1cd35d=!0x0);for(const _0x3e910d of _0x378941)this['_handleInsertedFootnoteReference'](_0x429db9,_0x3e910d)&&(_0x1cd35d=!0x0);for(const _0x263256 of _0x300f41)this['_handleMovedFootnoteReference'](_0x429db9,_0x263256)&&(_0x1cd35d=!0x0);return _0x1cd35d;}['_handleFootnotesDefinitionsObjectSync'](_0x2f0ad1){if(!this['_footnotesDefinitions'])return!0x1;let _0x42d7b9=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5c5d9d=[];for(const _0x460333 of this['_footnotesDefinitions']['getChildren']()){const _0x5c5636=_0x460333['getAttribute']('footnoteId');this['getFootnote'](_0x5c5636)||(_0x5c5d9d['unshift'](_0x460333),_0x42d7b9=!0x0);}for(const _0x39708f of _0x5c5d9d)_0x2f0ad1['remove'](_0x39708f);}const _0x58aba2=new Set(),_0xaf415=[];for(const _0x58e77a of this['_footnotesDefinitions']['getChildren']()){const _0xfb965b=_0x58e77a['getAttribute']('footnoteId');_0x58aba2['has'](_0xfb965b)?(_0xaf415['unshift'](_0x58e77a),_0x42d7b9=!0x0):_0x58aba2['add'](_0xfb965b);}for(const _0x49f808 of _0xaf415)_0x2f0ad1['remove'](_0x49f808);return this['_footnotesDefinitions']['childCount']||(_0x2f0ad1['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x42d7b9=!0x0),_0x42d7b9;}['_handleInsertedFootnoteReference'](_0x17a318,_0x20b8e2){if(this['_footnotes']['find'](_0xfa57ff=>_0xfa57ff['reference']===_0x20b8e2))return!0x1;let _0x517a93=!0x1;const _0x506a16=_0x20b8e2['getAttribute']('footnoteId'),_0x2e552d=this['_footnotes']['findIndex'](_0x2beba3=>_0x2beba3['id']===_0x506a16);-0x1!==_0x2e552d&&(_0x17a318['remove'](this['_footnotes'][_0x2e552d]['reference']),this['_footnotes']['splice'](_0x2e552d,0x1),_0x517a93=!0x0);let _0x461167=this['_footnotesDefinitions']?function(_0x1ca1d8,_0x5887c4){for(const _0x3c09a9 of _0x1ca1d8['getChildren']())if(_0x3c09a9['getAttribute']('footnoteId')===_0x5887c4)return _0x3c09a9;return null;}(this['_footnotesDefinitions'],_0x506a16):null;_0x461167||(_0x461167=_0x17a318['createElement']('footnoteDefinition',{'footnoteId':_0x506a16}),this['_footnotesDefinitions']&&(_0x17a318['insert'](_0x461167,this['_footnotesDefinitions'],'end'),_0x517a93=!0x0));const _0xc3a79c={'id':_0x506a16,'reference':_0x20b8e2,'definition':_0x461167},_0x19d63b=I(this['editor']['model'],this['_footnotes'],_0x20b8e2);this['_footnotes']['splice'](_0x19d63b,0x0,_0xc3a79c);let _0x4c63bd=_0x19d63b;return-0x1!==_0x2e552d&&(_0x4c63bd=Math['min'](_0x19d63b,_0x2e552d)),this['_updateFootnotesCounters'](_0x17a318,_0x4c63bd)&&(_0x517a93=!0x0),_0x517a93;}['_handleRemoveFootnoteReferenceById'](_0x171ef2,_0x2fbfff){const _0x1b5248=this['_footnotes']['findIndex'](_0x4b2b55=>_0x4b2b55['id']===_0x2fbfff);if(-0x1===_0x1b5248)return!0x1;let _0x28ea72=!0x1;const _0x360111=this['_footnotes'][_0x1b5248];return'$graveyard'!==_0x360111['definition']['root']['rootName']&&(_0x171ef2['remove'](_0x360111['definition']),_0x28ea72=!0x0),this['_footnotes']['splice'](_0x1b5248,0x1),this['_updateFootnotesCounters'](_0x171ef2,_0x1b5248)&&(_0x28ea72=!0x0),_0x28ea72;}['_handleMovedFootnoteReference'](_0x21cf3b,_0x2568dc){const _0x11699d=_0x2568dc['getAttribute']('footnoteId'),_0x1ca1e8=this['_footnotes']['findIndex'](_0x2091f1=>_0x2091f1['id']===_0x11699d),_0x5c6079=this['_footnotes'][_0x1ca1e8];let _0x3be064=!0x1;_0x5c6079['reference']=_0x2568dc,this['_footnotes']['splice'](_0x1ca1e8,0x1);const _0x38385d=I(this['editor']['model'],this['_footnotes'],_0x2568dc);return this['_footnotes']['splice'](_0x38385d,0x0,_0x5c6079),this['_updateFootnotesCounters'](_0x21cf3b,Math['min'](_0x1ca1e8,_0x38385d))&&(_0x3be064=!0x0),_0x3be064;}['_updateFootnoteRefCounter'](_0x2e4e07,_0x3d930c){if(!this['_footnotesDefinitions'])return!0x1;const _0x303b90=this['_footnotes'][_0x3d930c];let _0x59b2fd;return _0x59b2fd=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x303b90,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3d930c+0x1}):String(_0x3d930c+0x1),_0x303b90['reference']['getAttribute']('footnoteCounter')!=_0x59b2fd&&(_0x2e4e07['setAttribute']('footnoteCounter',_0x59b2fd,_0x303b90['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x53d0ef){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1651ed,_0x1edd64){if(_0x1651ed['length']!==_0x1edd64['length'])return!0x1;for(let _0x228278=0x0;_0x228278<_0x1651ed['length'];_0x228278++)if(_0x1651ed[_0x228278]!==_0x1edd64[_0x228278])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1d79ca=>_0x1d79ca['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1114cd=>_0x1114cd['getAttribute']('footnoteId'))))return!0x1;let _0xd5a5e7=!0x1;for(let _0x219316=0x0;_0x219316<this['_footnotes']['length'];_0x219316++){const _0x888867=this['_footnotes'][_0x219316],_0x73d8fc=_0x53d0ef['createPositionBefore'](_0x888867['definition']),_0x2a81cf=_0x53d0ef['createPositionAt'](this['_footnotesDefinitions'],_0x219316);_0x73d8fc['isEqual'](_0x2a81cf)||(_0x53d0ef['move'](_0x53d0ef['createRangeOn'](_0x888867['definition']),_0x2a81cf),_0xd5a5e7=!0x0);}return _0xd5a5e7;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1b8e7d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x511c2f}=this['editor'];let _0x554d85=!0x1;for(let _0xd7746=0x0;_0xd7746<this['_footnotes']['length']-0x1;_0xd7746++){const _0x49e0af=this['_footnotes'][_0xd7746],_0x14ebcb=this['_footnotes'][_0xd7746+0x1],_0x1c5791=_0x511c2f['createPositionBefore'](_0x49e0af['reference']),_0x3e5e2b=_0x511c2f['createPositionBefore'](_0x14ebcb['reference']);'after'===_0x1c5791['compareWith'](_0x3e5e2b)&&(this['_handleMovedFootnoteReference'](_0x1b8e7d,_0x49e0af['reference']),_0xd7746=-0x1,_0x554d85=!0x0);}return _0x554d85;}}function _(_0x1258ca,_0x15809c,_0x14e17b){if(_0x14e17b['childCount'])return!0x1;const _0x1dc65d=_0x15809c?'paragraph':'footnoteInlineContent';return _0x1258ca['insert'](_0x1258ca['createElement'](_0x1dc65d),_0x14e17b),!0x0;}function I(_0x59dc7c,_0x1f5e14,_0x393113){if(0x0===_0x1f5e14['length'])return 0x0;const _0x56c587=_0x59dc7c['createPositionBefore'](_0x393113);for(let _0x52c3b7=0x0;_0x52c3b7<_0x1f5e14['length'];_0x52c3b7++){const _0x30b500=_0x1f5e14[_0x52c3b7],_0x150a64=_0x59dc7c['createPositionBefore'](_0x30b500['reference']);if('before'===_0x56c587['compareWith'](_0x150a64))return _0x52c3b7;}const _0x59148d=_0x393113['root'];let _0x498a1e=-0x1;for(let _0x2e27e1=_0x1f5e14['length']-0x1;_0x2e27e1>=0x0;_0x2e27e1--)if(_0x1f5e14[_0x2e27e1]['reference']['root']===_0x59148d){_0x498a1e=_0x2e27e1;break;}if(-0x1!==_0x498a1e)return _0x498a1e+0x1;const _0x57429b=_0x59dc7c['document']['getRootNames'](),_0x58e884=_0x57429b['indexOf'](_0x59148d['rootName']),_0x34a76a=_0x57429b[_0x58e884+0x1];if(_0x34a76a){for(let _0xb8591d=0x0;_0xb8591d<_0x1f5e14['length'];_0xb8591d++)if(_0x1f5e14[_0xb8591d]['reference']['root']['rootName']===_0x34a76a)return _0xb8591d;}return _0x1f5e14['length'];}class h extends _0x6da540{['refresh'](){const _0x368046=this['editor']['model']['document']['selection'],_0x4309b8=this['_getPositionToInsertFootnote'](_0x368046);this['isEnabled']=!!_0x4309b8;}['execute'](_0x2e2bfc){const {editor:_0x594f0e}=this,{model:_0x4bd0d3}=_0x594f0e,{selection:_0x169586}=_0x4bd0d3['document'],_0x278f63=this['_getPositionToInsertFootnote'](_0x169586);if(!_0x278f63)return;const _0x152787=_0x594f0e['plugins']['get']('FootnotesEditing'),_0x6b3d26=_0x2e2bfc?.['footnoteId']??_0x24a8a0();!function(_0x415a37){return'string'==typeof _0x415a37&&_0x415a37['length']>0x0&&!/\s/['test'](_0x415a37)&&!/^\d/['test'](_0x415a37);}(_0x6b3d26)?_0x3fcbc6('insert-footnote-command-executed-with-invalid-id'):(_0x4bd0d3['change'](_0x330d0b=>{const _0x5b8619=_0x330d0b['createElement']('footnoteRef',{'footnoteId':_0x6b3d26});_0x4bd0d3['insertObject'](_0x5b8619,_0x278f63,null);}),_0x152787['_moveSelectionToFootnoteDefinition'](_0x6b3d26));}['_getPositionToInsertFootnote'](_0x52c35b){const {model:_0x43b282}=this['editor'],{schema:_0x136543}=_0x43b282,_0x41b5fb=_0x52c35b['getFirstRange']();for(const _0x2f01e4 of _0x41b5fb['getItems']())if(_0x136543['isBlock'](_0x2f01e4)||_0x136543['isObject'](_0x2f01e4))return null;const _0x1ba542=_0x41b5fb['end'];return _0x136543['checkChild'](_0x1ba542,'footnoteRef')?_0x1ba542:null;}}class r extends _0x57b2ed{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x508980}=this;_0x508980['config']['define']('footnotes.multiBlock',!0x0),_0x508980['commands']['add']('insertFootnote',new h(_0x508980)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x482702){const _0x1e4ad2=_0x53b339([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]),_0x74dec8=0x47a28506,_0x4df943=0x47a5026e^_0x74dec8,_0x458ba7=window[_0x53b339([0x44,0x61,0x74,0x65])][_0x53b339([0x6e,0x6f,0x77])](),_0x421774=_0x482702[_0x53b339([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3b47ba=new window[(_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fed03=>{_0x421774[_0x53b339([0x6f,0x6e,0x63,0x65])](_0x53b339([0x72,0x65,0x61,0x64,0x79]),_0x2fed03);}),_0x458a13={[_0x53b339([0x6b,0x74,0x79])]:_0x53b339([0x45,0x43]),[_0x53b339([0x75,0x73,0x65])]:_0x53b339([0x73,0x69,0x67]),[_0x53b339([0x63,0x72,0x76])]:_0x53b339([0x50,0x2d,0x32,0x35,0x36]),[_0x53b339([0x78])]:_0x53b339([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]),[_0x53b339([0x79])]:_0x53b339([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]),[_0x53b339([0x61,0x6c,0x67])]:_0x53b339([0x45,0x53,0x32,0x35,0x36])},_0x302548=_0x421774[_0x53b339([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x53b339([0x67,0x65,0x74])](_0x53b339([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1962df(){let _0x3435f9,_0x1f0f8d=null,_0x457765=null;try{if(_0x302548==_0x53b339([0x47,0x50,0x4c]))return _0x53b339([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3435f9=_0x595205(),!_0x3435f9)return _0x53b339([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3435f9[_0x53b339([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x457765=_0x2f4ce3(_0x3435f9[_0x53b339([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3435f9[_0x53b339([0x6a,0x74,0x69])])),await _0x2fbb81()?_0x283c88()?_0x390cfe()?_0x53b339([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x235550()?(_0x3435f9[_0x53b339([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x53b339([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f0f8d=_0x376b57(_0x53b339([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4fa1a4()):_0x53b339([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x53b339([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x53b339([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x53b339([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x390cfe(){const _0x4a79a3=[_0x53b339([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x53b339([0x74,0x72,0x69,0x61,0x6c])][_0x53b339([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3435f9[_0x53b339([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x458ba7/0x3e8:0xe10*_0x4df943;return _0x3435f9[_0x53b339([0x65,0x78,0x70])]<_0x4a79a3;}function _0x283c88(){const _0x2be58d=_0x3435f9[_0x53b339([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2be58d&&(!!_0x2be58d[_0x53b339([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b339([0x2a]))||!!_0x2be58d[_0x53b339([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b339([0x46,0x4f,0x4f])));}function _0x235550(){const _0x4e9eeb=_0x3435f9[_0x53b339([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e9eeb||0x0==_0x4e9eeb[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x297d2f}=new URL(window[_0x53b339([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e9eeb[_0x53b339([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x297d2f))return!0x0;const _0x103950=_0x297d2f[_0x53b339([0x73,0x70,0x6c,0x69,0x74])](_0x53b339([0x2e]));return _0x4e9eeb[_0x53b339([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ac52e=>_0x2ac52e[_0x53b339([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53b339([0x2a])))[_0x53b339([0x6d,0x61,0x70])](_0x209cd6=>_0x209cd6[_0x53b339([0x73,0x70,0x6c,0x69,0x74])](_0x53b339([0x2e])))[_0x53b339([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x271d92=>_0x271d92[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x103950[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53b339([0x6d,0x61,0x70])](_0x16ea92=>Array(_0x103950[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16ea92[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x53b339([0x66,0x69,0x6c,0x6c])](_0x16ea92[0x0]===_0x53b339([0x2a])?_0x53b339([0x2a]):'')[_0x53b339([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16ea92))[_0x53b339([0x73,0x6f,0x6d,0x65])](_0x250e09=>_0x103950[_0x53b339([0x65,0x76,0x65,0x72,0x79])]((_0x350607,_0x3658fa)=>_0x250e09[_0x3658fa]===_0x350607||_0x250e09[_0x3658fa]===_0x53b339([0x2a])));}function _0x4fa1a4(){return _0x1f0f8d&&_0x457765?new window[(_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51f945,_0x2687f6)=>{_0x1f0f8d[_0x53b339([0x74,0x68,0x65,0x6e])](_0x51f945,_0x2687f6),_0x457765[_0x53b339([0x74,0x68,0x65,0x6e])](_0x8be96b=>{_0x8be96b!=_0x53b339([0x56,0x61,0x6c,0x69,0x64])&&_0x51f945(_0x8be96b);},_0x2687f6);}):_0x1f0f8d||_0x457765||_0x53b339([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2f4ce3(_0x57e4a8,_0x279c93){return new window[(_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fc121=>{if(_0x488d12())return _0x4fc121(_0x53b339([0x56,0x61,0x6c,0x69,0x64]));_0x2629bd(),_0x421774[_0x53b339([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x53b339([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a5f76=!0x1;const _0xbb9279=_0x24a8a0();function _0x410402(_0x347203){return!!_0x347203&&(typeof _0x347203===_0x53b339([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x347203===_0x53b339([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x347203[_0x53b339([0x74,0x68,0x65,0x6e])]===_0x53b339([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x347203[_0x53b339([0x63,0x61,0x74,0x63,0x68])]===_0x53b339([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ffe41(_0x428ffd){_0x560023(_0x428ffd)[_0x53b339([0x74,0x68,0x65,0x6e])](_0x2aae6f=>{if(!_0x2aae6f||_0x2aae6f[_0x53b339([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x53b339([0x6f,0x6b]))return _0x53b339([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17c6a6(_0x3e981f(_0xbb9279+_0x279c93))!=_0x2aae6f[_0x53b339([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x53b339([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x53b339([0x56,0x61,0x6c,0x69,0x64]);})[_0x53b339([0x74,0x68,0x65,0x6e])](_0x8a5529=>(_0x3eb8bf(),_0x8a5529),()=>{const _0x39b051=_0x2fc9f9();return null==_0x39b051?(_0x3eb8bf(),_0x53b339([0x56,0x61,0x6c,0x69,0x64])):_0x53b339(_0x458ba7-_0x39b051>(0x63ae0106^_0x74dec8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x53b339([0x74,0x68,0x65,0x6e])](_0x4fc121)[_0x53b339([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fc121(_0x53b339([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18a86f=0x47946b86^_0x74dec8;function _0x3eb8bf(){const _0x144366=_0x53b339([0x6c,0x6c,0x63,0x74,0x2d])+_0x17c6a6(_0x3e981f(_0x57e4a8)),_0x4b3911=_0x331b37(_0x17c6a6(window[_0x53b339([0x4d,0x61,0x74,0x68])][_0x53b339([0x63,0x65,0x69,0x6c])](_0x458ba7/_0x18a86f)));window[_0x53b339([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53b339([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144366,_0x4b3911);}function _0x2fc9f9(){const _0x190e2b=_0x53b339([0x6c,0x6c,0x63,0x74,0x2d])+_0x17c6a6(_0x3e981f(_0x57e4a8)),_0x108194=window[_0x53b339([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x53b339([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x190e2b);return _0x108194?window[_0x53b339([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x331b37(_0x108194),0x10)*_0x18a86f:null;}function _0x560023(_0x1a8be9){return new window[(_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ca07e,_0xea7370)=>{_0x1a8be9[_0x53b339([0x74,0x68,0x65,0x6e])](_0x5ca07e,_0xea7370),window[_0x53b339([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xea7370,0x47a351c6^_0x74dec8);});}}_0x421774[_0x53b339([0x6f,0x6e])](_0x53b339([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x38fec4,_0x2fa7eb)=>{if(_0x2fa7eb[0x0]!=_0x57e4a8)return _0x4fc121(_0x53b339([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fa7eb[0x1]={..._0x2fa7eb[0x1],[_0x53b339([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xbb9279};},{[_0x53b339([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53b339([0x68,0x69,0x67,0x68])}),_0x421774[_0x53b339([0x6f,0x6e])](_0x53b339([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x188b41=>{_0x410402(_0x188b41[_0x53b339([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a5f76=!0x0,_0x1ffe41(_0x188b41[_0x53b339([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x53b339([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x53b339([0x6c,0x6f,0x77])}),_0x3b47ba[_0x53b339([0x74,0x68,0x65,0x6e])](()=>{_0x4a5f76||_0x4fc121(_0x53b339([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x488d12(){return _0x421774[_0x53b339([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53b339([0x76,0x69,0x65,0x77])][_0x53b339([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x53b339([0x61,0x75,0x74,0x6f]);}function _0x2629bd(){_0x421774[_0x53b339([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x53b339([0x76,0x69,0x65,0x77])][_0x53b339([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x53b339([0x61,0x75,0x74,0x6f]);}}function _0x376b57(_0x385490){const _0x18bc59=[new window[(_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a6958=>setTimeout(_0x4a6958,0x47abbbca^_0x74dec8)),_0x3b47ba[_0x53b339([0x74,0x68,0x65,0x6e])](()=>new window[(_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e2ff5=>{let _0x1ff896=0x0;_0x421774[_0x53b339([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b339([0x6f,0x6e])](_0x53b339([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32bafc,_0x58cfd0)=>{_0x58cfd0[0x0][_0x53b339([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ff896++,_0x1ff896==(0x47a280ee^_0x74dec8)&&(_0x5e2ff5(),_0x32bafc[_0x53b339([0x6f,0x66,0x66])]());});}))];return window[_0x53b339([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x53b339([0x72,0x61,0x63,0x65])](_0x18bc59)[_0x53b339([0x74,0x68,0x65,0x6e])](()=>_0x385490);}async function _0x37c6e7(){await _0x3b47ba,_0x421774[_0x53b339([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b339([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4fe71c,_0x421774[_0x53b339([0x6d,0x6f,0x64,0x65,0x6c])][_0x53b339([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4fe71c,_0x421774[_0x53b339([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x53b339([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4df7bd(_0x2c4f26){const _0x456816=_0x34066a();_0x421774[_0x456816]=_0x53b339([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c4f26,_0x2c4f26!=_0x53b339([0x56,0x61,0x6c,0x69,0x64])&&_0x37c6e7();}function _0x34066a(){const _0x464d41=window[_0x53b339([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x53b339([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x53b339([0x6e,0x6f,0x77])]())[_0x53b339([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x53b339([0x2e]),'');let _0x14168c=_0x53b339([0x75]);for(let _0x1f85bb=0x0;_0x1f85bb<_0x464d41[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f85bb+=0x2){let _0x2b0a72=window[_0x53b339([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x464d41[_0x53b339([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f85bb,_0x1f85bb+0x2));_0x2b0a72>=_0x1e4ad2[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b0a72-=_0x1e4ad2[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x14168c+=_0x1e4ad2[_0x2b0a72];}return _0x14168c;}function _0x595205(){const _0x1c3de3=_0x302548[_0x53b339([0x73,0x70,0x6c,0x69,0x74])](_0x53b339([0x2e]));if(0x3!=_0x1c3de3[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1473dc(_0x1c3de3[0x1]);function _0x1473dc(_0x196764){const _0x1d0160=_0x140803(_0x196764);return _0x1d0160&&_0x2081cb()?_0x1d0160:null;function _0x2081cb(){const _0x17d169=_0x1d0160[_0x53b339([0x6a,0x74,0x69])],_0x51278c=window[_0x53b339([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17d169[_0x53b339([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17d169[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e8919={..._0x1d0160,[_0x53b339([0x6a,0x74,0x69])]:_0x17d169[_0x53b339([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17d169[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e8919[_0x53b339([0x76,0x63])],_0x3e981f(_0x3e8919)==_0x51278c;}}}async function _0x2fbb81(){let _0x46a1e2=!0x0;try{const _0x1ebd80=_0x302548[_0x53b339([0x73,0x70,0x6c,0x69,0x74])](_0x53b339([0x2e])),[_0x2dbbd5,_0xc87f73,_0x45e413]=_0x1ebd80;return _0x1238b5(_0x2dbbd5),await _0x2708d2(_0x2dbbd5,_0xc87f73,_0x45e413),_0x46a1e2;}catch{return!0x1;}function _0x1238b5(_0x42ffbf){const _0x42d1b5=_0x140803(_0x42ffbf);_0x42d1b5&&_0x42d1b5[_0x53b339([0x61,0x6c,0x67])]==_0x53b339([0x45,0x53,0x32,0x35,0x36])||(_0x46a1e2=!0x1);}async function _0x2708d2(_0x487098,_0x2a855f,_0x427ad0){const _0x337863=window[_0x53b339([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x53b339([0x66,0x72,0x6f,0x6d])](_0x3348ef(_0x427ad0),_0x14e643=>_0x14e643[_0x53b339([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b4604=new window[(_0x53b339([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x53b339([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x487098+_0x53b339([0x2e])+_0x2a855f),_0x53e237=window[_0x53b339([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x53b339([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53e237)return;const _0x3f6430=await _0x53e237[_0x53b339([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x53b339([0x6a,0x77,0x6b]),_0x458a13,{[_0x53b339([0x6e,0x61,0x6d,0x65])]:_0x53b339([0x45,0x43,0x44,0x53,0x41]),[_0x53b339([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x53b339([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x53b339([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53e237[_0x53b339([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x53b339([0x6e,0x61,0x6d,0x65])]:_0x53b339([0x45,0x43,0x44,0x53,0x41]),[_0x53b339([0x68,0x61,0x73,0x68])]:{[_0x53b339([0x6e,0x61,0x6d,0x65])]:_0x53b339([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f6430,_0x337863,_0x3b4604)||(_0x46a1e2=!0x1);}}function _0x140803(_0x297ed4){return _0x297ed4[_0x53b339([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x53b339([0x65,0x79]))?JSON[_0x53b339([0x70,0x61,0x72,0x73,0x65])](_0x3348ef(_0x297ed4)):null;}function _0x3348ef(_0x4532fb){return window[_0x53b339([0x61,0x74,0x6f,0x62])](_0x4532fb[_0x53b339([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x53b339([0x2b]))[_0x53b339([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x53b339([0x2f])));}function _0x3e981f(_0x344eca){let _0x50e15f=0x1505;function _0x1fe5d4(_0x3b8830){for(let _0xf47b58=0x0;_0xf47b58<_0x3b8830[_0x53b339([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf47b58++){const _0x1234d3=_0x3b8830[_0x53b339([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf47b58);_0x50e15f=(_0x50e15f<<0x5)+_0x50e15f+_0x1234d3,_0x50e15f&=_0x50e15f;}}function _0xf89bdf(_0x56810f){Array[_0x53b339([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56810f)?_0x56810f[_0x53b339([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf89bdf):_0x56810f&&typeof _0x56810f==_0x53b339([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x53b339([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56810f)[_0x53b339([0x73,0x6f,0x72,0x74])]()[_0x53b339([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14f6fa,_0x4edf77])=>{_0x1fe5d4(_0x14f6fa),_0xf89bdf(_0x4edf77);}):_0x1fe5d4(window[_0x53b339([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56810f));}return _0xf89bdf(_0x344eca),_0x50e15f>>>0x0;}function _0x17c6a6(_0x3ed64e){return _0x3ed64e[_0x53b339([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x53b339([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x53b339([0x30]));}function _0x331b37(_0x385b7f){return _0x385b7f[_0x53b339([0x73,0x70,0x6c,0x69,0x74])]('')[_0x53b339([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x53b339([0x6a,0x6f,0x69,0x6e])]('');}function _0x4fe71c(){}function _0x53b339(_0x1a7253){return _0x1a7253['map'](_0x2033f4=>String['fromCharCode'](_0x2033f4))['join']('');}_0x4df7bd(await _0x1962df());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2c8182){const {plugins:_0x181b8b,editing:_0x55760b,model:_0x4e3055}=this['editor'],_0x52e13f=_0x181b8b['get'](f)['getFootnote'](_0x2c8182);return!!_0x52e13f&&(_0x4e3055['change'](_0xbae93b=>{_0xbae93b['setSelection'](_0xbae93b['createPositionAt'](_0x52e13f['definition'],'end'));}),_0x55760b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1b0f59){const {plugins:_0x1c7949,editing:_0x2a854c,model:_0x2aabaf}=this['editor'],_0x18adc8=_0x1c7949['get'](f)['getFootnote'](_0x1b0f59);return!!_0x18adc8&&(_0x2aabaf['change'](_0x57119d=>{_0x57119d['setSelection'](_0x18adc8['reference'],'on');}),_0x2a854c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x13148b}=this['editor']['model'],_0x30ec80=this['editor']['config']['get']('footnotes.multiBlock');_0x13148b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x13148b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x13148b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x30ec80?_0x13148b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x13148b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x13148b['addChildCheck'](_0x5552ea=>{for(const _0x355594 of _0x5552ea)if('footnoteDefinition'===_0x355594['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xf94c6}=this,{conversion:_0x1d7652,editing:_0x262156}=_0xf94c6,{t:t}=_0xf94c6['locale'];_0x1d7652['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x33953c,{writer:_0xe1bb21,consumable:_0x4a5e85})=>{const _0x2235b9=_0x33953c['getChild'](0x0);if(!_0x2235b9||!_0x2235b9['is']('element','a'))return null;const _0x3c3890=_0x2235b9['getAttribute']('href')||'';if(!_0x3c3890['startsWith']('#'))return null;const _0x451a35=_0x3c3890['replace'](/^#/,'');if(!_0x451a35)return null;_0x4a5e85['consume'](_0x2235b9,{'name':!0x0,'attributes':['href']});for(const {item:_0x4c11ff}of _0x262156['view']['createRangeIn'](_0x2235b9))_0x4c11ff['is']('$textProxy')?_0x4a5e85['consume'](_0x4c11ff['textNode'],{'name':!0x0}):_0x4c11ff['is']('element')&&_0x4a5e85['consume'](_0x4c11ff,{'name':!0x0});return _0xe1bb21['createElement']('footnoteRef',{'footnoteId':_0x451a35});}}),_0x1d7652['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x19f2fa,{writer:_0x2583ad})=>b(_0x19f2fa,_0x2583ad)}),_0x1d7652['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f518a,{writer:_0x51b3f9})=>{const _0xc72747=_0x4f518a['getAttribute']('footnoteCounter');return _0x1ffee4(b(_0x4f518a,_0x51b3f9),_0x51b3f9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xc72747)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5430a1}=this,{t:t}=_0x5430a1['locale'],{conversion:_0x203eb2}=_0x5430a1;_0x203eb2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x203eb2['for']('upcast')['add'](_0x358430=>{_0x358430['on']('element:ol',(_0x37611a,_0x337040,_0x59d49d)=>{const _0x129adb=_0x337040['viewItem'];if(!_0x129adb['hasClass']('footnotes-list')||!_0x337040['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x59d49d['consumable']['consume'](_0x129adb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x30e060,modelCursor:_0x193c16}=_0x59d49d['convertChildren'](_0x337040['viewItem'],_0x337040['modelCursor']);_0x337040['modelRange']=_0x30e060,_0x337040['modelCursor']=_0x193c16;}),_0x358430['on']('element:hr',(_0x32010e,_0x168fbc,_0x12ba89)=>{const _0x2807ef=_0x168fbc['viewItem'];_0x2807ef['hasClass']('footnotes-divider')&&_0x168fbc['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x12ba89['consumable']['consume'](_0x2807ef,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x203eb2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3f37ea,{writer:_0x494050})=>D(_0x494050)}),_0x203eb2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x305af9,{writer:_0x23b756})=>{const _0x3cc083=D(_0x23b756,{'data-footnotes-list-label':t('Footnotes')}),_0x51036e=_0x1ffee4(_0x3cc083,_0x23b756,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x23b756['setCustomProperty']('footnotesDefinitions',!0x0,_0x51036e),_0x51036e;}});}['_defineDefinitionConverters'](){const {editor:_0x5d49a6}=this,{conversion:_0xc3fcaa,locale:_0x515eb3}=_0x5d49a6,_0x23691b=_0x5d49a6['config']['get']('footnotes.multiBlock');_0xc3fcaa['for']('upcast')['add'](_0x53825d=>{_0x53825d['on']('element:li',(_0x3d8371,_0x119326,_0x3ee110)=>{const _0x2a3843=_0x119326['viewItem'];if(!_0x2a3843['hasClass']('footnote-definition')||!_0x2a3843['getAttribute']('id'))return;const _0x4da198=_0x2a3843['parent'];if(!_0x4da198['is']('element','ol')||!_0x4da198['hasClass']('footnotes-list'))return;if(!_0x3ee110['consumable']['test'](_0x2a3843,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x513b62=_0x3ee110['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2a3843['getAttribute']('id')});if(!_0x3ee110['safeInsert'](_0x513b62,_0x119326['modelCursor']))return;_0x3ee110['consumable']['consume'](_0x2a3843,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x253733=Array['from'](_0x2a3843['getChildren']())['find'](_0x5d6a26=>_0x5d6a26['is']('element')&&_0x5d6a26['hasClass']('footnote-content'));for(const _0x2a6d3a of _0x2a3843['getChildren']())_0x2a6d3a['is']('element')&&(_0x3ee110['consumable']['consume'](_0x2a6d3a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3ee110['consumable']['consume'](_0x2a6d3a,{'name':!0x0,'classes':'footnote-content'}));if(_0x253733){if(_0x23691b)_0x3ee110['convertChildren'](_0x253733,_0x513b62);else{const _0x71d720=_0x3ee110['writer']['createElement']('footnoteInlineContent');_0x3ee110['writer']['insert'](_0x71d720,_0x513b62),_0x3ee110['convertChildren'](_0x253733,_0x71d720);}}_0x3ee110['updateConversionResult'](_0x513b62,_0x119326);});}),_0xc3fcaa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5ecb29,{writer:_0x49bfe6})=>y(_0x5ecb29,_0x49bfe6,_0x515eb3,{'dataPipeline':!0x0})}),_0xc3fcaa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f75ec,{writer:_0x9fb11b})=>y(_0x3f75ec,_0x9fb11b,_0x515eb3)});}['_defineBogusParagraphConverters'](){const {editor:_0x171de0}=this,{conversion:_0x1bdcf0}=_0x171de0;_0x171de0['config']['get']('footnotes.multiBlock')?(_0x1bdcf0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1bdcf0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x171de0['model']['document'],'change:data',()=>{!function(_0x46db80,_0x49ec20){const _0x173e0c=_0x46db80['document']['differ'],_0x4b3251=new Set();for(const _0x2c6b2b of _0x173e0c['getChanges']()){const _0x4b0862='attribute'==_0x2c6b2b['type']?_0x2c6b2b['range']['start']['parent']:_0x2c6b2b['position']['parent'];_0x4b0862['is']('element','footnoteDefinition')&&_0x4b3251['add'](_0x4b0862);}for(const _0x543179 of _0x4b3251['values']()){const _0x561367=Array['from'](_0x543179['getChildren']())['filter'](_0x1f249b=>v(_0x1f249b,_0x49ec20['mapper']));for(const _0xfd6c05 of _0x561367)_0x49ec20['reconvertItem'](_0xfd6c05);}}(_0x171de0['model'],_0x171de0['editing']);})):(_0x1bdcf0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1bdcf0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x9f196,{writer:_0xfa6784})=>{const _0x57f9f1=_0xfa6784['createContainerElement']('span');return _0xfa6784['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x57f9f1),_0x57f9f1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x34ae07}=this,{editing:_0x1bb6ec,t:t}=_0x34ae07,_0x5265a9=_0x34ae07['model']['document']['selection'];_0x34ae07['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x34ae07['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1bb6ec['view']['document'],'enter',(_0x3b40b8,_0x2a3e4b)=>{const _0x42724a=function(_0x5d288c){const _0x1bc5c6=_0x5d288c['getSelectedElement']();if(_0x1bc5c6?.['is']('element','footnoteRef'))return _0x1bc5c6;return null;}(_0x5265a9);if(_0x42724a){const _0x418316=_0x42724a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x418316),_0x2a3e4b['preventDefault'](),_0x3b40b8['stop']();}},{'context':_0x2ce040});}['_defineClickHandlers'](){const {editor:_0x4a5fc8}=this,{editing:_0x4e771b}=_0x4a5fc8;_0x4a5fc8['editing']['view']['addObserver'](_0x56be17),_0x4a5fc8['editing']['view']['addObserver'](_0x42a7b6);let _0x38b05d=!0x1;this['listenTo'](_0x4e771b['view']['document'],'pointerdown',(_0x5157a5,_0x4c4390)=>{const {target:_0x3849db}=_0x4c4390,_0x5445d4=_0x4e771b['view']['document']['selection'];_0x38b05d=!!(_0x3849db?.['is']('element','a')&&_0x3849db['parent']?.['is']('element','sup')&&_0x3849db['parent']['hasClass']('footnote'))&&_0x5445d4['getSelectedElement']()===_0x3849db['parent'];},{'priority':'high'}),this['listenTo'](_0x4e771b['view']['document'],'click',(_0x3d0ad8,_0x889a68)=>{const {target:_0x3afc17}=_0x889a68;if(!_0x3afc17?.['is']('element','a'))return;if(_0x3afc17['parent']?.['is']('element','sup')&&_0x3afc17['parent']['hasClass']('footnote')&&!_0x38b05d)return void _0x889a68['preventDefault']();let _0x237be6=_0x3afc17['getAttribute']('href');if(!_0x237be6?.['startsWith']('#'))return;_0x237be6=_0x237be6['slice'](0x1);let _0xd7daff=!0x1;(_0x237be6['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x237be6['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x237be6))&&(_0xd7daff=!0x0),_0xd7daff&&(_0x889a68['preventDefault'](),_0x3d0ad8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x211139}={}){return(_0x442a6e,{writer:_0x10f0dc})=>{if(!g(_0x442a6e))return null;if(!_0x211139)return _0x10f0dc['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x50fef0=_0x10f0dc['createContainerElement']('p');return _0x10f0dc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50fef0),_0x50fef0;};}function g(_0x357ce0){const {parent:_0x520b29}=_0x357ce0;if(!_0x520b29?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x520b29['childCount'])return!0x1;for(const _0x8f71c4 of _0x357ce0['getAttributeKeys']())if(!_0x8f71c4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x8f71c4)return!0x1;return!0x0;}function v(_0x25a419,_0x4eec17){if(!_0x25a419['is']('element','paragraph'))return!0x1;const _0x2fdc8b=_0x4eec17['toViewElement'](_0x25a419);return!!_0x2fdc8b&&g(_0x25a419)!==_0x2fdc8b['is']('element','span');}function Q(_0xceeef9){return _0x2ce040(_0xceeef9)&&_0xceeef9['is']('containerElement')&&!!_0xceeef9['getCustomProperty']('footnotesDefinitions');}function D(_0x31eba7,_0x4ec169={}){const _0xd87827=_0x31eba7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x452066=_0x31eba7['createContainerElement']('ol',{'class':'footnotes-list'},_0x31eba7['createSlot']());return _0x31eba7['createContainerElement']('div',{'class':'footnotes',..._0x4ec169},[_0xd87827,_0x452066]);}function b(_0x4cb34c,_0x8846b3){const _0x197e48=_0x4cb34c['getAttribute']('footnoteId'),_0x18e166=_0x4cb34c['getAttribute']('footnoteCounter'),_0x503853=_0x8846b3['createUIElement']('a',{'href':'#'+_0x197e48},function(_0x1b6474){const _0x435f51=this['toDomElement'](_0x1b6474);return _0x435f51['textContent']=_0x18e166,_0x435f51;}),_0x5bc819=_0x8846b3['createContainerElement']('sup',{'id':'ref-'+_0x197e48,'class':'footnote'},[_0x503853]);return _0x5bc819['getFillerOffset']=()=>null,_0x5bc819;}function y(_0x35e3d2,_0x5db038,_0x419f03,{dataPipeline:_0x53f1fc}={}){const {t:t}=_0x419f03,_0x410244=_0x35e3d2['getAttribute']('footnoteId'),_0x3f5588=_0x5db038['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x410244},function(_0x433c87){const _0x1f1085=this['toDomElement'](_0x433c87);return _0x1f1085['innerText']='^',_0x1f1085;}),_0x2acd2f=_0x53f1fc?_0x5db038['createContainerElement']('div',{'class':'footnote-content'}):_0x105eec(_0x5db038['createEditableElement']('div',{'class':'footnote-content'}),_0x5db038,{'label':t('Footnote\x20content.')});return _0x5db038['insert'](_0x5db038['createPositionAt'](_0x2acd2f,0x0),_0x5db038['createSlot']()),_0x5db038['createContainerElement']('li',{'class':'footnote-definition','id':_0x410244},[_0x3f5588,_0x2acd2f]);}class e extends _0x57b2ed{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0xe7a8ac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4e2067}=this,{plugins:_0x3e3c2c,model:_0x139101}=_0x4e2067,_0x366514=_0x3e3c2c['get'](_0xe7a8ac),_0x3f0fa0=_0x3e3c2c['get'](f);this['listenTo'](_0x366514,'outputTransformation',(_0x493536,_0x379d5c)=>{const _0xa93f2e=l(_0x139101['createRangeIn'](_0x379d5c['content']));if(!_0xa93f2e['length'])return;const _0x49a90a=_0x3f0fa0['getFootnotes'](),_0x3dd5e7=_0xa93f2e['reduce']((_0x2cad02,_0x24e8ae)=>{const _0x39db81=_0x49a90a['find'](_0x28401a=>_0x28401a['id']===_0x24e8ae);if(_0x39db81){const _0x2dac3c=_0x4e2067['data']['toView'](_0x39db81['definition'],{'isClipboardPipeline':!0x0}),_0x22112=_0x4e2067['data']['htmlProcessor']['toData'](_0x2dac3c);_0x2cad02[_0x39db81['id']]=_0x22112;}return _0x2cad02;},Object['create'](null));_0x379d5c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3dd5e7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x396aa7}=this,{model:_0x33baa5,plugins:_0xd7cc75}=_0x396aa7,{view:_0x48df68}=_0x396aa7['editing'],_0x566c13=_0xd7cc75['get'](_0xe7a8ac),_0x1e9f53=_0xd7cc75['get'](f),_0x49625e=_0x396aa7['config']['get']('footnotes.multiBlock');let _0x1f44d0=null;this['listenTo'](_0x48df68['document'],'clipboardInput',(_0x56e324,_0x4764c4)=>{const _0x39cf91=_0x4764c4['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1f44d0=_0x39cf91?JSON['parse'](_0x39cf91):null;}),this['listenTo'](_0x566c13,'contentInsertion',(_0x228f80,_0x1a070d)=>{const _0xe0a3d6=_0x1a070d['sourceEditorId']===this['editor']['id'];_0xe0a3d6&&'drop'===_0x1a070d['method']||_0x33baa5['change'](_0x311d97=>{let _0x3780c4=_0x1e9f53['getFootnotesDefinitionsObjectElement']();const _0x2d33fa=!!_0x3780c4&&Array['from'](_0x33baa5['document']['selection']['getSelectedBlocks']())['includes'](_0x3780c4);if(!_0x1f44d0&&function(_0x3f8b85){for(const {item:_0x565fba}of _0x3f8b85)if(_0x565fba['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x33baa5['createRangeIn'](_0x1a070d['content']))&&(_0x1f44d0=function(_0xd864ed,_0x36eb15){const _0x4dee51=c(_0xd864ed,_0x36eb15);if(!_0x4dee51)return null;const _0x25f723=Object['create'](null);for(const _0xd3d79d of _0x4dee51['getChildren']())_0xd3d79d['is']('element','footnoteDefinition')&&_0xd3d79d['hasAttribute']('footnoteId')&&(_0x25f723[_0xd3d79d['getAttribute']('footnoteId')]=_0xd864ed['cloneElement'](_0xd3d79d,!0x0));return Object['keys'](_0x25f723)['length']?_0x25f723:null;}(_0x311d97,_0x1a070d['content'])),(_0x3780c4&&!_0x2d33fa||!_0x3780c4&&!_0x1f44d0)&&function(_0x5a2579,_0x2ce3b5){const _0x53d500=[];for(const {item:_0x42f602}of _0x5a2579['createRangeIn'](_0x2ce3b5))_0x42f602['is']('element','footnotesDefinitions')&&_0x53d500['push'](_0x42f602);for(const _0x3f5847 of _0x53d500)_0x5a2579['remove'](_0x3f5847);}(_0x311d97,_0x1a070d['content']),!_0x1f44d0)return;const {selection:_0x46f7ce}=_0x33baa5['document'],_0x308a5a=_0x46f7ce['getFirstRange']()['root'];_0x3780c4&&!_0x2d33fa||(_0x3780c4=c(_0x311d97,_0x1a070d['content']),_0x3780c4||=_0x1e9f53['_insertEmptyFootnotesDefinitionsContainer'](_0x311d97,_0x308a5a));const _0x229d81=Array['from'](_0x46f7ce['getRanges']())['flatMap'](l),_0x3f2e44=function(_0x3382bb,_0x15e9a8,_0x5849fd){const _0x480313=Object['create'](null);for(const {item:_0x2fe2a9}of _0x3382bb['createRangeIn'](_0x15e9a8))if(_0x2fe2a9['is']('element','footnoteRef')){const _0x10bc56=_0x2fe2a9['getAttribute']('footnoteId');if(!_0x5849fd(_0x10bc56))continue;_0x480313[_0x10bc56]||(_0x480313[_0x10bc56]=_0x24a8a0()),_0x3382bb['setAttribute']('footnoteId',_0x480313[_0x10bc56],_0x2fe2a9);}return _0x480313;}(_0x311d97,_0x1a070d['content'],_0x596ee1=>{if(!_0xe0a3d6)return!0x0;return!!_0x1e9f53['getFootnote'](_0x596ee1)&&!_0x229d81['includes'](_0x596ee1);});for(const [_0xf73bf5,_0x3b209e]of Object['entries'](_0x1f44d0)){const _0xc6d059=_0x3f2e44[_0xf73bf5]||_0xf73bf5;let _0xc308c7;if('string'!=typeof _0x3b209e)_0xc308c7=_0x3b209e,_0xc6d059!==_0xf73bf5&&_0x311d97['setAttribute']('footnoteId',_0xc6d059,_0xc308c7);else{_0xc308c7=_0x311d97['createElement']('footnoteDefinition',{'footnoteId':_0xc6d059});const _0x2c20db=_0x396aa7['data']['htmlProcessor']['toView'](_0x3b209e);let _0x4932a9;if(_0x49625e)_0x4932a9=_0x396aa7['data']['toModel'](_0x2c20db,_0xc308c7);else{_0x4932a9=_0x311d97['createElement']('footnoteInlineContent');const _0x89e736=_0x396aa7['data']['toModel'](_0x2c20db,_0x4932a9);_0x311d97['insert'](_0x89e736,_0x4932a9);}_0x311d97['append'](_0x4932a9,_0xc308c7);}_0x311d97['insert'](_0xc308c7,_0x3780c4,'end');}_0x1f44d0=null;});});}}function c(_0x2b9afd,_0x33742b){for(const {item:_0x30db8a}of _0x2b9afd['createRangeIn'](_0x33742b))if(_0x30db8a['is']('element','footnotesDefinitions'))return _0x30db8a;return null;}function l(_0x6b9d5a){const _0x2825c0=new Set();for(const {item:_0x33b21b}of _0x6b9d5a)_0x33b21b['is']('element','footnoteRef')&&_0x2825c0['add'](_0x33b21b['getAttribute']('footnoteId'));return Array['from'](_0x2825c0);}class i extends _0x57b2ed{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x407111}=this,{componentFactory:_0x457234}=_0x407111['ui'];_0x457234['add']('insertFootnote',E(_0x407111,_0xb5f745)),_0x457234['add']('menuBar:insertFootnote',E(_0x407111,_0x247fb5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x329604=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a27f8;for(const _0x351ded in _0x329604){const _0x5d8863=_0x351ded,_0xb0b074=_0x329604[_0x5d8863];if('footnotesLicenseKeyValid'==_0xb0b074||'footnotesLicenseKeyInvalid'==_0xb0b074||'footnotesLicenseKeyExpired'==_0xb0b074||'footnotesLicenseKeyDomainLimit'==_0xb0b074||'footnotesLicenseKeyNotAllowed'==_0xb0b074||'footnotesLicenseKeyEvaluationLimit'==_0xb0b074||'footnotesLicenseKeyUsageLimit'==_0xb0b074){delete _0x329604[_0x5d8863],_0x5a27f8=_0xb0b074,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5a27f8&&_0x329604['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5a27f8&&_0x329604['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5a27f8&&_0x329604['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5a27f8&&_0x329604['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5a27f8&&_0x329604['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5a27f8&&_0x329604['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x8dee06,_0x15c5be){const _0x5a6c3b=_0x8dee06['commands']['get']('insertFootnote');return _0x31811e=>{const {t:t}=_0x31811e,_0x50ebf9=new _0x15c5be(_0x31811e),_0x381cb3=_0x50ebf9 instanceof _0x247fb5;return _0x50ebf9['bind']('isEnabled')['to'](_0x5a6c3b,'isEnabled'),_0x50ebf9['set']({'label':t(_0x381cb3?'Footnote':'Insert\x20footnote'),'icon':_0x111132,'tooltip':!0x0}),_0x50ebf9['on']('execute',()=>{_0x5a6c3b['execute'](),_0x8dee06['editing']['view']['focus']();}),_0x50ebf9;};}class lt extends _0x57b2ed{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x6da540{['refresh'](){const {editor:_0x1fcdfb}=this,_0x5e4b1b=_0x1fcdfb['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5e4b1b,this['value']=_0x5e4b1b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x31b591}){const {editor:_0x47f430}=this,_0x5b8658=_0x47f430['plugins']['get'](f),_0x5f3e3e=_0x5b8658['getFootnotesDefinitionsObjectElement']();_0x5f3e3e&&W['includes'](_0x31b591)&&_0x47f430['model']['change'](_0x483c31=>{_0x483c31['setAttribute']('footnotesListStyle',_0x31b591,_0x5f3e3e),_0x5b8658['_updateFootnotesCounters'](_0x483c31);});}}class C extends _0x6da540{['refresh'](){const {editor:_0x59c8ee}=this,_0x4952c0=_0x59c8ee['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4952c0,this['value']=_0x4952c0?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x36ff68}){const {editor:_0x58cfbb}=this,_0x4d680a=_0x58cfbb['plugins']['get'](f),_0x5516d5=_0x4d680a['getFootnotesDefinitionsObjectElement']();_0x5516d5&&Number['isInteger'](_0x36ff68)&&_0x58cfbb['model']['change'](_0x34b483=>{_0x34b483['setAttribute']('footnotesListStart',_0x36ff68,_0x5516d5),_0x4d680a['_updateFootnotesCounters'](_0x34b483);});}}class P extends _0x57b2ed{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x634cb1}=this;_0x634cb1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x634cb1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x634cb1['commands']['add']('footnotesStyle',new S(_0x634cb1)),_0x634cb1['commands']['add']('footnotesStart',new C(_0x634cb1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5e7736}=this,{schema:_0x1a1599}=_0x5e7736['model'];_0x1a1599['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1a53ca}=this,{conversion:_0x40a751,model:_0x41dfd6}=_0x1a53ca,{schema:_0x4b56dd}=_0x41dfd6;_0x40a751['for']('upcast')['add'](_0x4f732e=>{_0x4f732e['on']('element:ol',(_0x59c715,_0x1ad656,_0x7a6725)=>{const _0x36fb7a=_0x1ad656['viewItem'],_0x2a4ab7=_0x1ad656['modelCursor']?.['parent'];_0x36fb7a['hasClass']('footnotes-list')&&_0x2a4ab7?.['is']('element','footnotesDefinitions')&&(function(_0x197e9e,_0x30780f,_0x5e919e,_0x43a414){if(!_0x43a414['checkAttribute'](_0x30780f,'footnotesListStart'))return;let _0xcbf852=0x1;const _0x2cc44c=_0x5e919e['consumable']['consume'](_0x197e9e,{'attributes':'start'});if(_0x2cc44c){const _0xc2a5eb=Number['parseInt'](_0x197e9e['getAttribute']('start'),0xa);Number['isNaN'](_0xc2a5eb)||(_0xcbf852=_0xc2a5eb);}!_0x2cc44c&&_0x30780f['hasAttribute']('footnotesListStart')||_0x5e919e['writer']['setAttribute']('footnotesListStart',_0xcbf852,_0x30780f);}(_0x36fb7a,_0x2a4ab7,_0x7a6725,_0x4b56dd),function(_0x142712,_0x1e326c,_0x1554b4,_0x42e095){if(!_0x42e095['checkAttribute'](_0x1e326c,'footnotesListStyle'))return;let _0x1e870b='decimal',_0x46c85a=!0x1;if(_0x1554b4['consumable']['consume'](_0x142712,{'attributes':'type'})){const _0x218114={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x142712['getAttribute']('type')];_0x218114&&(_0x1e870b=_0x218114),_0x46c85a=!0x0;}_0x1554b4['consumable']['consume'](_0x142712,{'styles':'list-style-type'})&&(_0x1e870b=function(_0xab9344){switch(_0xab9344){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0xab9344;}}(_0x142712['getStyle']('list-style-type')),_0x46c85a=!0x0),!_0x46c85a&&_0x1e326c['hasAttribute']('footnotesListStyle')||_0x1554b4['writer']['setAttribute']('footnotesListStyle',_0x1e870b,_0x1e326c);}(_0x36fb7a,_0x2a4ab7,_0x7a6725,_0x4b56dd));});}),_0x40a751['for']('downcast')['add'](_0x45e15b=>{_0x45e15b['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5c5b65,_0xf0a802,_0x7d3af7)=>{if(!_0x7d3af7['consumable']['consume'](_0xf0a802['item'],_0x5c5b65['name']))return;const _0xde69aa=M(_0xf0a802['item'],_0x7d3af7['mapper']),{attributeNewValue:_0x16c0db}=_0xf0a802;null==_0x16c0db||0x1===_0x16c0db?_0x7d3af7['writer']['removeAttribute']('start',_0xde69aa):_0x7d3af7['writer']['setAttribute']('start',String(_0x16c0db),_0xde69aa);}),_0x45e15b['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2168f5,_0x75655d,_0x21b909)=>{if(!_0x21b909['consumable']['consume'](_0x75655d['item'],_0x2168f5['name']))return;const _0x79fb6a=M(_0x75655d['item'],_0x21b909['mapper']),{attributeNewValue:_0x1b2534}=_0x75655d;_0x1b2534&&'decimal'!==_0x1b2534?_0x21b909['writer']['setStyle']('list-style-type',_0x1b2534,_0x79fb6a):_0x21b909['writer']['removeStyle']('list-style-type',_0x79fb6a);});});}['_definePostfixer'](){const {editor:_0x52ee4c}=this,{model:_0xd9d94f}=_0x52ee4c,_0x19fe42=_0x52ee4c['plugins']['get'](f),_0x66a576=this['_getDefaultListStyle'](),_0x24cdd4=this['_getDefaultStartIndex']();_0xd9d94f['document']['registerPostFixer'](_0x560a99=>{const _0x4fe1cf=_0xd9d94f['document']['differ']['getChanges']();let _0x43b382=!0x1;for(const _0x469c6b of _0x4fe1cf){if('insert'!==_0x469c6b['type']||'$text'===_0x469c6b['name'])continue;const _0x1351da=_0xd9d94f['createRangeOn'](_0x469c6b['position']['nodeAfter']);for(const _0xebe315 of _0x1351da['getItems']())_0xebe315['is']('element','footnotesDefinitions')&&(!_0xebe315['hasAttribute']('footnotesListStart')&&_0xd9d94f['schema']['checkAttribute'](_0xebe315,'footnotesListStart')&&(_0x560a99['setAttribute']('footnotesListStart',_0x24cdd4,_0xebe315),_0x43b382=!0x0),!_0xebe315['hasAttribute']('footnotesListStyle')&&_0xd9d94f['schema']['checkAttribute'](_0xebe315,'footnotesListStyle')&&(_0x560a99['setAttribute']('footnotesListStyle',_0x66a576,_0xebe315),_0x43b382=!0x0));}return _0x43b382&&_0x19fe42['_updateFootnotesCounters'](_0x560a99),_0x43b382;});}['_defineFormatter'](){const {editor:_0x53de4d}=this;_0x53de4d['plugins']['get'](f)['setFootnoteFormatter'](_0xb0a2a6=>this['_formatFootnoteListValue'](_0xb0a2a6));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x51fffe,value:_0x366543,digits:_0x168018}){const _0x482ee6=_0x51fffe['getAttribute']('footnotesListStyle'),_0x595462=_0x51fffe['getAttribute']('footnotesListStart'),_0x32d8c7=Math['floor'](_0x366543)+(_0x595462??0x1)-0x1;switch(_0x482ee6){case'decimal-leading-zero':return function(_0x5a5c7d,_0x5bf8b4){return String(_0x5a5c7d)['padStart'](_0x5bf8b4,'0');}(_0x32d8c7,Math['max'](0x2,_0x168018));case'lower-alpha':case'lower-latin':return N(_0x32d8c7,!0x1);case'upper-alpha':case'upper-latin':return N(_0x32d8c7,!0x0);case'lower-roman':return X(_0x32d8c7,!0x1);case'upper-roman':return X(_0x32d8c7,!0x0);default:return String(_0x32d8c7);}}}function M(_0x51f3ab,_0x57ec14){const _0x5f3e3b=_0x57ec14['toViewElement'](_0x51f3ab);return Array['from'](_0x5f3e3b['getChildren']())['find'](_0x2ae6a6=>_0x2ae6a6['is']('element','ol')&&_0x2ae6a6['hasClass']('footnotes-list'));}function N(_0x1efb0d,_0x3b806f){let _0x2cec45='',_0x2223ed=_0x1efb0d;for(;_0x2223ed>0x0;){const _0x5c07db=(_0x2223ed-0x1)%0x1a;_0x2cec45=String['fromCharCode'](0x61+_0x5c07db)+_0x2cec45,_0x2223ed=Math['floor']((_0x2223ed-0x1)/0x1a);}return _0x3b806f?_0x2cec45['toUpperCase']():_0x2cec45;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x50555b,_0x11ff3b){let _0x2d32b9='',_0x4160b6=_0x50555b;for(const {value:_0x491d54,numeral:_0x5c58e6}of V)for(;_0x4160b6>=_0x491d54;)_0x2d32b9+=_0x5c58e6,_0x4160b6-=_0x491d54;return _0x11ff3b?_0x2d32b9:_0x2d32b9['toLowerCase']();}class J extends _0x2ac7db{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5ebd55();['focusCycler'];constructor(_0x37670e,{styleButtonViews:_0x1834fb,styleGridAriaLabel:_0x231aee}){super(_0x37670e),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1834fb,_0x231aee),[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 _0x2f97fd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2f97fd['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x5271e2=_0x48acb8=>_0x48acb8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5271e2),this['keystrokes']['set']('arrowleft',_0x5271e2),this['keystrokes']['set']('arrowup',_0x5271e2),this['keystrokes']['set']('arrowdown',_0x5271e2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3c84ff,_0xd810fd){const _0x26c8ff=new _0x2ac7db(this['locale']);return _0x26c8ff['children']=_0x26c8ff['createCollection'](),_0x26c8ff['children']['addMany'](_0x3c84ff),_0x26c8ff['setTemplate']({'tag':'div','attributes':{'aria-label':_0xd810fd,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x26c8ff['children']}),_0x26c8ff['children']['delegate']('execute')['to'](this),_0x26c8ff['focus']=function(){for(const _0x1cab05 of this['children'])if(_0x1cab05 instanceof _0xb5f745&&_0x1cab05['isOn'])return void _0x1cab05['focus']();this['children']['first']['focus']();},_0x26c8ff['focusTracker']=new rt(),_0x26c8ff['keystrokes']=new nt(),_0x26c8ff['render'](),_0x26c8ff['keystrokes']['listenTo'](_0x26c8ff['element']),this['children']['add'](_0x26c8ff),_0x26c8ff;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x117625=this['_createStartIndexPropertyView'](),_0x3245fd=[_0x117625],_0xc786e1=new it(this['locale'],_0x3245fd);return _0xc786e1['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xc786e1['buttonView']['bind']('isEnabled')['toMany'](_0x3245fd,'isEnabled',(..._0x4f066b)=>_0x4f066b['some'](_0xdbb942=>_0xdbb942)),_0xc786e1['buttonView']['on']('change:isEnabled',(_0xa70ebb,_0x189ca0,_0x5db419)=>{_0x5db419||(_0xc786e1['isCollapsed']=!0x0);}),this['children']['add'](_0xc786e1),[_0x117625,_0xc786e1];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x533101=new et(this['locale'],ot);return _0x533101['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x533101['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x533101['fieldView']['on']('input',()=>{const _0x102470=_0x533101['fieldView']['element'],_0x209a08=_0x102470['valueAsNumber'];Number['isNaN'](_0x209a08)?_0x533101['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x102470['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x209a08}):_0x533101['errorText']=t(_0x209a08<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x533101;}}class j extends _0x57b2ed{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x171975,_0x172028];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xdfa1b6}=this,{componentFactory:_0x8eaa09}=_0xdfa1b6['ui'];_0xdfa1b6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x8eaa09['add']('footnotesStyle',function(_0x106304){return _0x4dc026=>{const {t:t}=_0x4dc026,_0x71f10f=_0x106304['commands']['get']('footnotesStyle'),_0x62444b=_0x2a9075(_0x4dc026),{buttonView:_0x47a420}=_0x62444b;return _0x62444b['class']='ck-footnotes-styles-dropdown',_0x62444b['bind']('isEnabled')['to'](_0x71f10f,'isEnabled'),_0x47a420['set']({'label':t('Footnotes\x20style'),'icon':_0x111132,'tooltip':!0x0}),_0x62444b['once']('change:isOpen',()=>{const _0x3df8d8=function({editor:_0x77c7d4,dropdownView:_0x3d51e8}){const {t:t}=_0x77c7d4['locale'],_0x11b1b0=t('Footnotes\x20definitions\x20styles'),_0x5176c5=function(_0x22b8b6){const t=_0x22b8b6['locale']['t'],_0x494876=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5103e3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x134634},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3dda16},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xc62943},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x280044},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x414a61}];return _0x494876['map'](function(_0x2a101d){const _0x465da0=_0x2a101d['locale'];return({label:_0x29bd4d,icon:_0xe5d1a0,tooltip:_0x29854d,style:_0x4fc223})=>{const _0xcc0525=_0x2a101d['commands']['get']('footnotesStyle'),_0x36bccc=new _0xb5f745(_0x465da0);return _0x36bccc['set']({'label':_0x29bd4d,'icon':_0xe5d1a0,'tooltip':_0x29854d}),_0x36bccc['bind']('isOn')['to'](_0xcc0525,'value',_0x32bd33=>_0x32bd33===_0x4fc223),_0x36bccc['bind']('isEnabled')['to'](_0xcc0525,'isEnabled'),_0x36bccc['on']('execute',()=>{_0x2a101d['execute']('footnotesStyle',{'value':_0x4fc223}),_0x2a101d['editing']['view']['focus']();}),_0x36bccc;};}(_0x22b8b6));}(_0x77c7d4),_0x23541d=new J(_0x77c7d4['locale'],{'styleGridAriaLabel':_0x11b1b0,'styleButtonViews':_0x5176c5}),_0x29c41c=_0x77c7d4['commands']['get']('footnotesStart');return _0x23541d['startIndexFieldView']['bind']('isEnabled')['to'](_0x29c41c),_0x23541d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x29c41c),_0x23541d['on']('footnotesListStart',(_0x585e8c,_0x8ed5de)=>{_0x77c7d4['execute']('footnotesStart',{'value':_0x8ed5de['startIndex']});}),_0x23541d['delegate']('execute')['to'](_0x3d51e8),_0x23541d;}({'editor':_0x106304,'dropdownView':_0x62444b});_0x62444b['panelView']['children']['add'](_0x3df8d8);}),_0x62444b;};}(_0xdfa1b6));}['afterInit'](){const {editor:_0x5494a9}=this,{t:t}=_0x5494a9['locale'],_0x226f1f=_0x5494a9['plugins']['get'](_0x172028),{defaultPositions:_0x22cd26}=_0x256b86;_0x226f1f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5494a9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x877b1c=>{let _0x396f21=_0x877b1c['getFirstPosition']()?.['parent'];return _0x396f21?.['is']('$text')&&(_0x396f21=_0x396f21['parent']),_0x396f21?.['is']('element')?_0x396f21['findAncestor'](Q):null;},'positions':[_0x22cd26['southArrowNorth'],_0x22cd26['southArrowNorthMiddleWest'],_0x22cd26['southArrowNorthMiddleEast'],_0x22cd26['southArrowNorthWest'],_0x22cd26['southArrowNorthEast'],_0x22cd26['northArrowSouth'],_0x22cd26['northArrowSouthMiddleWest'],_0x22cd26['northArrowSouthMiddleEast'],_0x22cd26['northArrowSouthWest'],_0x22cd26['northArrowSouthEast'],_0x22cd26['viewportStickyNorth']]});}}class ft extends _0x57b2ed{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x5edb8c=>0x1!=_0x5edb8c}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3dcc0e=>0x1!=_0x3dcc0e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1c4d27=>{const {af:{dictionary:_0x12e230,getPluralForm:_0x338583}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x415888=>0x1!=_0x415888}};_0x1c4d27['af']||={'dictionary':{},'getPluralForm':null},_0x1c4d27['af']['dictionary']=Object['assign'](_0x1c4d27['af']['dictionary'],_0x12e230),_0x1c4d27['af']['getPluralForm']=_0x338583;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x230e46=>{const {af:{dictionary:_0x22547f,getPluralForm:_0x694aef}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x15bf81=>0x1!=_0x15bf81}};_0x230e46['af']||={'dictionary':{},'getPluralForm':null},_0x230e46['af']['dictionary']=Object['assign'](_0x230e46['af']['dictionary'],_0x22547f),_0x230e46['af']['getPluralForm']=_0x694aef;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x57a1ea=>0x0==_0x57a1ea?0x0:0x1==_0x57a1ea?0x1:0x2==_0x57a1ea?0x2:_0x57a1ea%0x64>=0x3&&_0x57a1ea%0x64<=0xa?0x3:_0x57a1ea%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x507e7a=>0x0==_0x507e7a?0x0:0x1==_0x507e7a?0x1:0x2==_0x507e7a?0x2:_0x507e7a%0x64>=0x3&&_0x507e7a%0x64<=0xa?0x3:_0x507e7a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1408b8=>{const {ar:{dictionary:_0x324393,getPluralForm:_0x1d1902}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x65593e=>0x0==_0x65593e?0x0:0x1==_0x65593e?0x1:0x2==_0x65593e?0x2:_0x65593e%0x64>=0x3&&_0x65593e%0x64<=0xa?0x3:_0x65593e%0x64>=0xb?0x4:0x5}};_0x1408b8['ar']||={'dictionary':{},'getPluralForm':null},_0x1408b8['ar']['dictionary']=Object['assign'](_0x1408b8['ar']['dictionary'],_0x324393),_0x1408b8['ar']['getPluralForm']=_0x1d1902;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x49f6c8=>{const {ar:{dictionary:_0x2078c4,getPluralForm:_0x386add}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x42b435=>0x0==_0x42b435?0x0:0x1==_0x42b435?0x1:0x2==_0x42b435?0x2:_0x42b435%0x64>=0x3&&_0x42b435%0x64<=0xa?0x3:_0x42b435%0x64>=0xb?0x4:0x5}};_0x49f6c8['ar']||={'dictionary':{},'getPluralForm':null},_0x49f6c8['ar']['dictionary']=Object['assign'](_0x49f6c8['ar']['dictionary'],_0x2078c4),_0x49f6c8['ar']['getPluralForm']=_0x386add;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x58df8b=>0x1!=_0x58df8b}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x53d16c=>0x1!=_0x53d16c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x32005c=>{const {ast:{dictionary:_0x195997,getPluralForm:_0x5c20ea}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xac0fad=>0x1!=_0xac0fad}};_0x32005c['ast']||={'dictionary':{},'getPluralForm':null},_0x32005c['ast']['dictionary']=Object['assign'](_0x32005c['ast']['dictionary'],_0x195997),_0x32005c['ast']['getPluralForm']=_0x5c20ea;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5b0143=>{const {ast:{dictionary:_0xcb6dd4,getPluralForm:_0x4f8bff}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4a6905=>0x1!=_0x4a6905}};_0x5b0143['ast']||={'dictionary':{},'getPluralForm':null},_0x5b0143['ast']['dictionary']=Object['assign'](_0x5b0143['ast']['dictionary'],_0xcb6dd4),_0x5b0143['ast']['getPluralForm']=_0x4f8bff;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x4cc776=>0x1!=_0x4cc776}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x549324=>0x1!=_0x549324}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x40617b=>{const {az:{dictionary:_0x4d0f1e,getPluralForm:_0x77d38b}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x604dbd=>0x1!=_0x604dbd}};_0x40617b['az']||={'dictionary':{},'getPluralForm':null},_0x40617b['az']['dictionary']=Object['assign'](_0x40617b['az']['dictionary'],_0x4d0f1e),_0x40617b['az']['getPluralForm']=_0x77d38b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2adecb=>{const {az:{dictionary:_0x14a665,getPluralForm:_0x374eab}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2dff27=>0x1!=_0x2dff27}};_0x2adecb['az']||={'dictionary':{},'getPluralForm':null},_0x2adecb['az']['dictionary']=Object['assign'](_0x2adecb['az']['dictionary'],_0x14a665),_0x2adecb['az']['getPluralForm']=_0x374eab;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x49d419=>_0x49d419%0xa==0x1&&_0x49d419%0x64!=0xb?0x0:_0x49d419%0xa>=0x2&&_0x49d419%0xa<=0x4&&(_0x49d419%0x64<0xa||_0x49d419%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x5009a0=>_0x5009a0%0xa==0x1&&_0x5009a0%0x64!=0xb?0x0:_0x5009a0%0xa>=0x2&&_0x5009a0%0xa<=0x4&&(_0x5009a0%0x64<0xa||_0x5009a0%0x64>=0x14)?0x1:0x2}};