@ckeditor/ckeditor5-footnotes 47.2.0-alpha.5 → 47.2.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- 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 _0x38bf2a,Command as _0x2c5759}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3a58b1,isWidget as _0xb7cd91,toWidgetEditable as _0x3215bc,WidgetToolbarRepository as _0x2b4c2f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x2c6977,logWarning as _0xc317f4,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3069c7,ClickObserver as _0x20e72a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x48e04d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x40c2d8,ButtonView as _0x96c644,View as _0x57adf2,ViewCollection as _0x442327,FocusCycler as _0x15f841,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1dce9d,BalloonPanelView as _0x45d10e,createDropdown as _0x1cbc3a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3f27de,IconListStyleDecimal as _0x367a65,IconListStyleDecimalLeadingZero as _0x1b36b1,IconListStyleLowerRoman as _0x5bbf1c,IconListStyleUpperRoman as _0xfa3859,IconListStyleLowerLatin as _0x34c741,IconListStyleUpperLatin as _0x32d945}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x446ef8,_0x55efb8){this['_model']=_0x446ef8,this['_elementName']=_0x55efb8['elementName'],this['_getElementKey']=_0x55efb8['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x12f896){const _0xddf40a=new Set(),_0x44378b=new Map();for(const _0x2a0592 of _0x12f896){if('insert'===_0x2a0592['type']&&'$text'!==_0x2a0592['name']&&_0x2a0592['position']['nodeAfter']){const _0x509b15=this['_model']['createRangeOn'](_0x2a0592['position']['nodeAfter']);for(const _0x288ec5 of _0x509b15['getItems']()){if(!_0x288ec5['is']('element',this['_elementName']))continue;const _0x820d5e=this['_getElementKey'](_0x288ec5);_0x44378b['has'](_0x820d5e)||_0x44378b['set'](_0x820d5e,[]),_0x44378b['get'](_0x820d5e)['push'](_0x288ec5);}}if('remove'===_0x2a0592['type']&&_0x2a0592['name']===this['_elementName']){const _0x1f2db3=this['_getElementKey']({'getAttribute':_0x4e2ed2=>_0x2a0592['attributes']['get'](_0x4e2ed2)});_0xddf40a['add'](_0x1f2db3);}}for(const [_0x8f336f,_0x3d2f63]of this['_trackedElements'])'$graveyard'===_0x3d2f63['root']['rootName']&&_0xddf40a['add'](_0x8f336f);for(const _0x31cf04 of _0xddf40a)this['_trackedElements']['delete'](_0x31cf04);for(const [_0x328b3f,_0x29829f]of _0x44378b)this['_trackedElements']['set'](_0x328b3f,_0x29829f[_0x29829f['length']-0x1]);const _0x73b808=new Set();for(const [_0x4ed6fd,_0x99fdee]of _0x44378b)_0xddf40a['has'](_0x4ed6fd)&&(_0x73b808['add'](_0x99fdee[0x0]),_0x99fdee['length']>0x1?_0x44378b['set'](_0x4ed6fd,_0x99fdee['slice'](0x1)):_0x44378b['delete'](_0x4ed6fd),_0xddf40a['delete'](_0x4ed6fd));return{'removed':Array['from'](_0xddf40a),'inserted':Array['from'](_0x44378b['values']())['flat'](),'moved':Array['from'](_0x73b808)};}}class c extends _0x38bf2a{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1d94e3){super(_0x1d94e3),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3d0497=>_0x3d0497['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x553264=>_0x553264['getAttribute']('footnoteId')});}['init'](){const {editor:_0x10d379}=this,{model:_0x2dbe8e,data:_0x392807}=_0x10d379;_0x2dbe8e['document']['registerPostFixer'](_0x1d5c79=>{const _0x128ead=_0x2dbe8e['document']['differ']['getChanges']();let _0x45f214=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1d5c79,_0x128ead)&&(_0x45f214=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1d5c79,_0x128ead)&&(_0x45f214=!0x0),this['_handleFootnoteReferencesChanges'](_0x1d5c79,_0x128ead)&&(_0x45f214=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1d5c79)&&(_0x45f214=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1d5c79)&&(_0x45f214=!0x0),this['_sortFootnoteDefinitions'](_0x1d5c79)&&(_0x45f214=!0x0),_0x45f214;}),this['listenTo'](_0x2dbe8e['document'],'change:data',()=>{_0x2dbe8e['enqueueChange']({'isUndoable':!0x1},_0x552744=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x552744);});},{'priority':'low'}),this['listenTo'](_0x392807,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2fc68f){return this['_footnotes']['find'](_0x4668ea=>_0x4668ea['id']===_0x2fc68f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x43dcd4){this['_footnoteFormatter']=_0x43dcd4;}['_updateFootnotesCounters'](_0x103253,_0x396c5b=0x0){let _0x3b02e4=!0x1;for(let _0x591cad=_0x396c5b;_0x591cad<this['_footnotes']['length'];_0x591cad++)this['_updateFootnoteRefCounter'](_0x103253,_0x591cad)&&(_0x3b02e4=!0x0);return _0x3b02e4;}['_insertEmptyFootnotesDefinitionsContainer'](_0x513990,_0x2d286c){const _0x33fcc7=_0x513990['createElement']('footnotesDefinitions',{});return _0x513990['append'](_0x33fcc7,_0x2d286c),this['_footnotesDefinitions']=_0x33fcc7,_0x33fcc7;}['_ensureFootnotesDefinitionsContainerExists'](_0x30a6d4){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x283e30=this['_footnotes'][0x0]['reference']['root'],_0xe94c80=this['_insertEmptyFootnotesDefinitionsContainer'](_0x30a6d4,_0x283e30);for(const _0x3b2b37 of this['_footnotes'])_0x3b2b37['definition']['parent']||_0x30a6d4['insert'](_0x3b2b37['definition'],_0xe94c80,'end');this['_updateFootnotesCounters'](_0x30a6d4);}['_handleFootnotesDefinitionsObjectChanges'](_0x1a5157,_0x47d361){let _0x30fc7c=!0x1;const {inserted:_0x4ed9bd,removed:_0x613da3,moved:_0x43f98d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x47d361);if(_0x43f98d['length']&&(this['_footnotesDefinitions']=_0x43f98d[0x0]),_0x4ed9bd['length']){if(_0x4ed9bd['length']>0x1||this['_footnotesDefinitions']&&_0x4ed9bd['some'](_0x45e032=>_0x45e032!==this['_footnotesDefinitions'])){const _0x414c14=_0x1a5157['createElement']('footnotesDefinitions',{}),_0x324bc1=[];this['_footnotesDefinitions']&&_0x324bc1['push'](this['_footnotesDefinitions']),_0x324bc1['push'](..._0x4ed9bd),_0x1a5157['insert'](_0x414c14,_0x324bc1[0x0],'before');for(const _0x524839 of _0x324bc1)_0x1a5157['move'](_0x1a5157['createRangeIn'](_0x524839),_0x1a5157['createPositionAt'](_0x414c14,'end')),_0x1a5157['remove'](_0x524839);this['_footnotesDefinitions']=_0x414c14,this['_updateFootnotesCounters'](_0x1a5157),_0x30fc7c=!0x0;}else this['_footnotesDefinitions']=_0x4ed9bd[0x0];}if(_0x613da3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x54a690 of this['_footnotes'])_0x1a5157['remove'](_0x54a690['reference']),_0x30fc7c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x30fc7c;}['_handleFootnoteDefinitionsChanges'](_0x441369,_0x1d39e6){let _0x49f3a5=!0x1;const _0x44fcc0=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2dfab9,moved:_0x1874c7}=this['_footnoteDefsTracker']['getChanges'](_0x1d39e6);for(const _0x492786 of[..._0x1874c7,..._0x2dfab9]){const _0x2d234d=_0x492786['getAttribute']('footnoteId'),_0xfbb294=this['getFootnote'](_0x2d234d);_0xfbb294&&(_0xfbb294['definition']=_0x492786),_(_0x441369,_0x44fcc0,_0x492786)&&(_0x49f3a5=!0x0);}return _0x49f3a5;}['_handleFootnoteReferencesChanges'](_0x36a7e5,_0x3cc62a){let _0x51d8f4=!0x1;const {removed:_0x202785,inserted:_0x241dbe,moved:_0x121fd9}=this['_footnoteRefsTracker']['getChanges'](_0x3cc62a);for(const _0x2eb2a6 of _0x202785)this['_handleRemoveFootnoteReferenceById'](_0x36a7e5,_0x2eb2a6)&&(_0x51d8f4=!0x0);for(const _0x4ec304 of _0x241dbe)this['_handleInsertedFootnoteReference'](_0x36a7e5,_0x4ec304)&&(_0x51d8f4=!0x0);for(const _0x35ed9b of _0x121fd9)this['_handleMovedFootnoteReference'](_0x36a7e5,_0x35ed9b)&&(_0x51d8f4=!0x0);return _0x51d8f4;}['_handleFootnotesDefinitionsObjectSync'](_0x5ef297){if(!this['_footnotesDefinitions'])return!0x1;let _0x4825eb=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x36b797=[];for(const _0x2e9eb2 of this['_footnotesDefinitions']['getChildren']()){const _0xca7839=_0x2e9eb2['getAttribute']('footnoteId');this['getFootnote'](_0xca7839)||(_0x36b797['unshift'](_0x2e9eb2),_0x4825eb=!0x0);}for(const _0x2910aa of _0x36b797)_0x5ef297['remove'](_0x2910aa);}const _0x35c235=new Set(),_0x7a2757=[];for(const _0x49ded5 of this['_footnotesDefinitions']['getChildren']()){const _0x5749e3=_0x49ded5['getAttribute']('footnoteId');_0x35c235['has'](_0x5749e3)?(_0x7a2757['unshift'](_0x49ded5),_0x4825eb=!0x0):_0x35c235['add'](_0x5749e3);}for(const _0x5eb23d of _0x7a2757)_0x5ef297['remove'](_0x5eb23d);return this['_footnotesDefinitions']['childCount']||(_0x5ef297['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4825eb=!0x0),_0x4825eb;}['_handleInsertedFootnoteReference'](_0x2924c1,_0x432ec6){if(this['_footnotes']['find'](_0x52a60f=>_0x52a60f['reference']===_0x432ec6))return!0x1;let _0x2bd28a=!0x1;const _0x593fe5=_0x432ec6['getAttribute']('footnoteId'),_0x24c6d5=this['_footnotes']['findIndex'](_0x374102=>_0x374102['id']===_0x593fe5);-0x1!==_0x24c6d5&&(_0x2924c1['remove'](this['_footnotes'][_0x24c6d5]['reference']),this['_footnotes']['splice'](_0x24c6d5,0x1),_0x2bd28a=!0x0);let _0x2e93dc=this['_footnotesDefinitions']?function(_0x36d59f,_0x45edb5){for(const _0x336103 of _0x36d59f['getChildren']())if(_0x336103['getAttribute']('footnoteId')===_0x45edb5)return _0x336103;return null;}(this['_footnotesDefinitions'],_0x593fe5):null;_0x2e93dc||(_0x2e93dc=_0x2924c1['createElement']('footnoteDefinition',{'footnoteId':_0x593fe5}),this['_footnotesDefinitions']&&(_0x2924c1['insert'](_0x2e93dc,this['_footnotesDefinitions'],'end'),_0x2bd28a=!0x0));const _0x308687={'id':_0x593fe5,'reference':_0x432ec6,'definition':_0x2e93dc},_0x5414e8=I(this['editor']['model'],this['_footnotes'],_0x432ec6);this['_footnotes']['splice'](_0x5414e8,0x0,_0x308687);let _0x5a0f7c=_0x5414e8;return-0x1!==_0x24c6d5&&(_0x5a0f7c=Math['min'](_0x5414e8,_0x24c6d5)),this['_updateFootnotesCounters'](_0x2924c1,_0x5a0f7c)&&(_0x2bd28a=!0x0),_0x2bd28a;}['_handleRemoveFootnoteReferenceById'](_0x587fd5,_0x5c466c){const _0x37c923=this['_footnotes']['findIndex'](_0x31ea8f=>_0x31ea8f['id']===_0x5c466c);if(-0x1===_0x37c923)return!0x1;let _0xd4ca49=!0x1;const _0x52d133=this['_footnotes'][_0x37c923];return'$graveyard'!==_0x52d133['definition']['root']['rootName']&&(_0x587fd5['remove'](_0x52d133['definition']),_0xd4ca49=!0x0),this['_footnotes']['splice'](_0x37c923,0x1),this['_updateFootnotesCounters'](_0x587fd5,_0x37c923)&&(_0xd4ca49=!0x0),_0xd4ca49;}['_handleMovedFootnoteReference'](_0x12ca28,_0x1d05cc){const _0x55f7bb=_0x1d05cc['getAttribute']('footnoteId'),_0x4a92c6=this['_footnotes']['findIndex'](_0x1fdde4=>_0x1fdde4['id']===_0x55f7bb),_0x18a60a=this['_footnotes'][_0x4a92c6];let _0x55e59f=!0x1;_0x18a60a['reference']=_0x1d05cc,this['_footnotes']['splice'](_0x4a92c6,0x1);const _0xacee7b=I(this['editor']['model'],this['_footnotes'],_0x1d05cc);return this['_footnotes']['splice'](_0xacee7b,0x0,_0x18a60a),this['_updateFootnotesCounters'](_0x12ca28,Math['min'](_0x4a92c6,_0xacee7b))&&(_0x55e59f=!0x0),_0x55e59f;}['_updateFootnoteRefCounter'](_0x80f1d2,_0x1ac083){if(!this['_footnotesDefinitions'])return!0x1;const _0x1d2d33=this['_footnotes'][_0x1ac083];let _0x29e546;return _0x29e546=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1d2d33,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1ac083+0x1}):String(_0x1ac083+0x1),_0x1d2d33['reference']['getAttribute']('footnoteCounter')!=_0x29e546&&(_0x80f1d2['setAttribute']('footnoteCounter',_0x29e546,_0x1d2d33['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4b3f85){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x525e59,_0x37dc39){if(_0x525e59['length']!==_0x37dc39['length'])return!0x1;for(let _0x1a3861=0x0;_0x1a3861<_0x525e59['length'];_0x1a3861++)if(_0x525e59[_0x1a3861]!==_0x37dc39[_0x1a3861])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2fc506=>_0x2fc506['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x10cd14=>_0x10cd14['getAttribute']('footnoteId'))))return!0x1;let _0x371cd9=!0x1;for(let _0x158c10=0x0;_0x158c10<this['_footnotes']['length'];_0x158c10++){const _0x38eb9c=this['_footnotes'][_0x158c10],_0x517a56=_0x4b3f85['createPositionBefore'](_0x38eb9c['definition']),_0x5d298e=_0x4b3f85['createPositionAt'](this['_footnotesDefinitions'],_0x158c10);_0x517a56['isEqual'](_0x5d298e)||(_0x4b3f85['move'](_0x4b3f85['createRangeOn'](_0x38eb9c['definition']),_0x5d298e),_0x371cd9=!0x0);}return _0x371cd9;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2d51f9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x273ece}=this['editor'];let _0x140522=!0x1;for(let _0x107718=0x0;_0x107718<this['_footnotes']['length']-0x1;_0x107718++){const _0x48bfc3=this['_footnotes'][_0x107718],_0x4157dc=this['_footnotes'][_0x107718+0x1],_0x596105=_0x273ece['createPositionBefore'](_0x48bfc3['reference']),_0x5e2d51=_0x273ece['createPositionBefore'](_0x4157dc['reference']);'after'===_0x596105['compareWith'](_0x5e2d51)&&(this['_handleMovedFootnoteReference'](_0x2d51f9,_0x48bfc3['reference']),_0x107718=-0x1,_0x140522=!0x0);}return _0x140522;}}function _(_0x5bbab5,_0x44dea4,_0x2d1326){if(_0x2d1326['childCount'])return!0x1;const _0x3e8b3f=_0x44dea4?'paragraph':'footnoteInlineContent';return _0x5bbab5['insert'](_0x5bbab5['createElement'](_0x3e8b3f),_0x2d1326),!0x0;}function I(_0x1c4726,_0x33e8e6,_0xa0270e){if(0x0===_0x33e8e6['length'])return 0x0;const _0x5309cc=_0x1c4726['createPositionBefore'](_0xa0270e);for(let _0x1e9be5=0x0;_0x1e9be5<_0x33e8e6['length'];_0x1e9be5++){const _0x34c7ed=_0x33e8e6[_0x1e9be5],_0x182f9f=_0x1c4726['createPositionBefore'](_0x34c7ed['reference']);if('before'===_0x5309cc['compareWith'](_0x182f9f))return _0x1e9be5;}const _0x3321f3=_0xa0270e['root'];let _0x34afba=-0x1;for(let _0x35cb99=_0x33e8e6['length']-0x1;_0x35cb99>=0x0;_0x35cb99--)if(_0x33e8e6[_0x35cb99]['reference']['root']===_0x3321f3){_0x34afba=_0x35cb99;break;}if(-0x1!==_0x34afba)return _0x34afba+0x1;const _0x28015b=_0x1c4726['document']['getRootNames'](),_0x3903b7=_0x28015b['indexOf'](_0x3321f3['rootName']),_0xaa56a9=_0x28015b[_0x3903b7+0x1];if(_0xaa56a9){for(let _0x1e9f78=0x0;_0x1e9f78<_0x33e8e6['length'];_0x1e9f78++)if(_0x33e8e6[_0x1e9f78]['reference']['root']['rootName']===_0xaa56a9)return _0x1e9f78;}return _0x33e8e6['length'];}class m extends _0x2c5759{['refresh'](){const _0x220f45=this['editor']['model']['document']['selection'],_0x15da60=this['_getPositionToInsertFootnote'](_0x220f45);this['isEnabled']=!!_0x15da60;}['execute'](_0x2e8c8c){const {editor:_0x339dca}=this,{model:_0x3946b3}=_0x339dca,{selection:_0x50653e}=_0x3946b3['document'],_0x53401d=this['_getPositionToInsertFootnote'](_0x50653e);if(!_0x53401d)return;const _0x21e3d9=_0x339dca['plugins']['get']('FootnotesEditing'),_0xe3bbbb=_0x2e8c8c?.['footnoteId']??_0x2c6977();!function(_0x1a27f8){return'string'==typeof _0x1a27f8&&_0x1a27f8['length']>0x0&&!/\s/['test'](_0x1a27f8)&&!/^\d/['test'](_0x1a27f8);}(_0xe3bbbb)?_0xc317f4('insert-footnote-command-executed-with-invalid-id'):(_0x3946b3['change'](_0x2f66ef=>{const _0x375466=_0x2f66ef['createElement']('footnoteRef',{'footnoteId':_0xe3bbbb});_0x3946b3['insertObject'](_0x375466,_0x53401d,null);}),_0x21e3d9['_moveSelectionToFootnoteDefinition'](_0xe3bbbb));}['_getPositionToInsertFootnote'](_0x28c6ff){const {model:_0x91e6e}=this['editor'],{schema:_0x2a808b}=_0x91e6e,_0x3488a1=_0x28c6ff['getFirstRange']();for(const _0x4efd67 of _0x3488a1['getItems']())if(_0x2a808b['isBlock'](_0x4efd67)||_0x2a808b['isObject'](_0x4efd67))return null;const _0x5e8e11=_0x3488a1['end'];return _0x2a808b['checkChild'](_0x5e8e11,'footnoteRef')?_0x5e8e11:null;}}class r extends _0x38bf2a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x7af19d}=this;_0x7af19d['config']['define']('footnotes.multiBlock',!0x0),_0x7af19d['commands']['add']('insertFootnote',new m(_0x7af19d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x139d5d){const _0x172b37=_0x4cdab4([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]),_0x3706ec=0x47a28506,_0x5c3a43=0x47a5fd0e^_0x3706ec,_0x55c3ee=window[_0x4cdab4([0x44,0x61,0x74,0x65])][_0x4cdab4([0x6e,0x6f,0x77])](),_0x5992f1=_0x139d5d[_0x4cdab4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x143ce8=new window[(_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b706b=>{_0x5992f1[_0x4cdab4([0x6f,0x6e,0x63,0x65])](_0x4cdab4([0x72,0x65,0x61,0x64,0x79]),_0x4b706b);}),_0x1a5756={[_0x4cdab4([0x6b,0x74,0x79])]:_0x4cdab4([0x45,0x43]),[_0x4cdab4([0x75,0x73,0x65])]:_0x4cdab4([0x73,0x69,0x67]),[_0x4cdab4([0x63,0x72,0x76])]:_0x4cdab4([0x50,0x2d,0x32,0x35,0x36]),[_0x4cdab4([0x78])]:_0x4cdab4([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]),[_0x4cdab4([0x79])]:_0x4cdab4([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]),[_0x4cdab4([0x61,0x6c,0x67])]:_0x4cdab4([0x45,0x53,0x32,0x35,0x36])},_0x3ee4f9=_0x5992f1[_0x4cdab4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cdab4([0x67,0x65,0x74])](_0x4cdab4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41a11a(){let _0x1e4ef6,_0x53b3b0=null,_0x9b12a=null;try{if(_0x3ee4f9==_0x4cdab4([0x47,0x50,0x4c]))return _0x4cdab4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e4ef6=_0x39f519(),!_0x1e4ef6)return _0x4cdab4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e4ef6[_0x4cdab4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9b12a=_0x3aea30(_0x1e4ef6[_0x4cdab4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e4ef6[_0x4cdab4([0x6a,0x74,0x69])])),await _0x5acf37()?_0x5c6722()?_0x359ee1()?_0x4cdab4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a15ad()?(_0x1e4ef6[_0x4cdab4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cdab4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53b3b0=_0x2a7cb6(_0x4cdab4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e4ef6[_0x4cdab4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cdab4([0x74,0x72,0x69,0x61,0x6c])&&(_0x53b3b0=_0x2a7cb6(_0x4cdab4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ddfae()):_0x4cdab4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cdab4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cdab4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4cdab4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x359ee1(){const _0x16a506=[_0x4cdab4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cdab4([0x74,0x72,0x69,0x61,0x6c])][_0x4cdab4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e4ef6[_0x4cdab4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55c3ee/0x3e8:0xe10*_0x5c3a43;return _0x1e4ef6[_0x4cdab4([0x65,0x78,0x70])]<_0x16a506;}function _0x5c6722(){const _0x34e5df=_0x1e4ef6[_0x4cdab4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34e5df&&(!!_0x34e5df[_0x4cdab4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cdab4([0x2a]))||!!_0x34e5df[_0x4cdab4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cdab4([0x46,0x4f,0x4f])));}function _0x2a15ad(){const _0x2976cf=_0x1e4ef6[_0x4cdab4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2976cf||0x0==_0x2976cf[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x102071}=new URL(window[_0x4cdab4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2976cf[_0x4cdab4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x102071))return!0x0;const _0x346d70=_0x102071[_0x4cdab4([0x73,0x70,0x6c,0x69,0x74])](_0x4cdab4([0x2e]));return _0x2976cf[_0x4cdab4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30f358=>_0x30f358[_0x4cdab4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cdab4([0x2a])))[_0x4cdab4([0x6d,0x61,0x70])](_0x14de76=>_0x14de76[_0x4cdab4([0x73,0x70,0x6c,0x69,0x74])](_0x4cdab4([0x2e])))[_0x4cdab4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1485ce=>_0x1485ce[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x346d70[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cdab4([0x6d,0x61,0x70])](_0x1c61fc=>Array(_0x346d70[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c61fc[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cdab4([0x66,0x69,0x6c,0x6c])](_0x1c61fc[0x0]===_0x4cdab4([0x2a])?_0x4cdab4([0x2a]):'')[_0x4cdab4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c61fc))[_0x4cdab4([0x73,0x6f,0x6d,0x65])](_0x308f01=>_0x346d70[_0x4cdab4([0x65,0x76,0x65,0x72,0x79])]((_0x2d3cbc,_0x4828de)=>_0x308f01[_0x4828de]===_0x2d3cbc||_0x308f01[_0x4828de]===_0x4cdab4([0x2a])));}function _0x2ddfae(){return _0x53b3b0&&_0x9b12a?new window[(_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x348888,_0x1fd578)=>{_0x53b3b0[_0x4cdab4([0x74,0x68,0x65,0x6e])](_0x348888,_0x1fd578),_0x9b12a[_0x4cdab4([0x74,0x68,0x65,0x6e])](_0x3288ab=>{_0x3288ab!=_0x4cdab4([0x56,0x61,0x6c,0x69,0x64])&&_0x348888(_0x3288ab);},_0x1fd578);}):_0x53b3b0||_0x9b12a||_0x4cdab4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3aea30(_0x148f88,_0x2c4e59){return new window[(_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58d35d=>{if(_0x528b7c())return _0x58d35d(_0x4cdab4([0x56,0x61,0x6c,0x69,0x64]));_0x5cc11d(),_0x5992f1[_0x4cdab4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cdab4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x216d01=!0x1;const _0x509cb0=_0x2c6977();function _0x2da8bf(_0x1abc90){return!!_0x1abc90&&(typeof _0x1abc90===_0x4cdab4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1abc90===_0x4cdab4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1abc90[_0x4cdab4([0x74,0x68,0x65,0x6e])]===_0x4cdab4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1abc90[_0x4cdab4([0x63,0x61,0x74,0x63,0x68])]===_0x4cdab4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3832ef(_0x56a2c0){_0x4adcfe(_0x56a2c0)[_0x4cdab4([0x74,0x68,0x65,0x6e])](_0x1cc9ee=>{if(!_0x1cc9ee||_0x1cc9ee[_0x4cdab4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cdab4([0x6f,0x6b]))return _0x4cdab4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d229e(_0x3e26e7(_0x509cb0+_0x2c4e59))!=_0x1cc9ee[_0x4cdab4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cdab4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cdab4([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cdab4([0x74,0x68,0x65,0x6e])](_0x366b94=>(_0x4926cf(),_0x366b94),()=>{const _0x55e0da=_0x43a09f();return null==_0x55e0da?(_0x4926cf(),_0x4cdab4([0x56,0x61,0x6c,0x69,0x64])):_0x4cdab4(_0x55c3ee-_0x55e0da>(0x63ae0106^_0x3706ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cdab4([0x74,0x68,0x65,0x6e])](_0x58d35d)[_0x4cdab4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58d35d(_0x4cdab4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c6662=0x47946b86^_0x3706ec;function _0x4926cf(){const _0x628711=_0x4cdab4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d229e(_0x3e26e7(_0x148f88)),_0x2dcd42=_0x43f753(_0x2d229e(window[_0x4cdab4([0x4d,0x61,0x74,0x68])][_0x4cdab4([0x63,0x65,0x69,0x6c])](_0x55c3ee/_0x3c6662)));window[_0x4cdab4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cdab4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x628711,_0x2dcd42);}function _0x43a09f(){const _0x5a2649=_0x4cdab4([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d229e(_0x3e26e7(_0x148f88)),_0x3469d7=window[_0x4cdab4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cdab4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a2649);return _0x3469d7?window[_0x4cdab4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43f753(_0x3469d7),0x10)*_0x3c6662:null;}function _0x4adcfe(_0x21aa46){return new window[(_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2180d5,_0x34db72)=>{_0x21aa46[_0x4cdab4([0x74,0x68,0x65,0x6e])](_0x2180d5,_0x34db72),window[_0x4cdab4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34db72,0x47a351c6^_0x3706ec);});}}_0x5992f1[_0x4cdab4([0x6f,0x6e])](_0x4cdab4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f7309,_0x191984)=>{if(_0x191984[0x0]!=_0x148f88)return _0x58d35d(_0x4cdab4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x191984[0x1]={..._0x191984[0x1],[_0x4cdab4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x509cb0};},{[_0x4cdab4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cdab4([0x68,0x69,0x67,0x68])}),_0x5992f1[_0x4cdab4([0x6f,0x6e])](_0x4cdab4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4df746=>{_0x2da8bf(_0x4df746[_0x4cdab4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x216d01=!0x0,_0x3832ef(_0x4df746[_0x4cdab4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cdab4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cdab4([0x6c,0x6f,0x77])}),_0x143ce8[_0x4cdab4([0x74,0x68,0x65,0x6e])](()=>{_0x216d01||_0x58d35d(_0x4cdab4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x528b7c(){return _0x5992f1[_0x4cdab4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cdab4([0x76,0x69,0x65,0x77])][_0x4cdab4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cdab4([0x61,0x75,0x74,0x6f]);}function _0x5cc11d(){_0x5992f1[_0x4cdab4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cdab4([0x76,0x69,0x65,0x77])][_0x4cdab4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cdab4([0x61,0x75,0x74,0x6f]);}}function _0x2a7cb6(_0x2ecba2){const _0x3a9784=[new window[(_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28c516=>setTimeout(_0x28c516,0x47abbbca^_0x3706ec)),_0x143ce8[_0x4cdab4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d236e=>{let _0x2f7fd8=0x0;_0x5992f1[_0x4cdab4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cdab4([0x6f,0x6e])](_0x4cdab4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44923e,_0x39eb27)=>{_0x39eb27[0x0][_0x4cdab4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f7fd8++,_0x2f7fd8==(0x47a284fe^_0x3706ec)&&(_0x3d236e(),_0x44923e[_0x4cdab4([0x6f,0x66,0x66])]());});}))];return window[_0x4cdab4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cdab4([0x72,0x61,0x63,0x65])](_0x3a9784)[_0x4cdab4([0x74,0x68,0x65,0x6e])](()=>_0x2ecba2);}async function _0x17b890(){await _0x143ce8,_0x5992f1[_0x4cdab4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cdab4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27321e,_0x5992f1[_0x4cdab4([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cdab4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27321e,_0x5992f1[_0x4cdab4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cdab4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x508174(_0x8a5892){const _0x138565=_0x36ec86();_0x5992f1[_0x138565]=_0x4cdab4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8a5892,_0x8a5892!=_0x4cdab4([0x56,0x61,0x6c,0x69,0x64])&&_0x17b890();}function _0x36ec86(){const _0x2a2c78=window[_0x4cdab4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cdab4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cdab4([0x6e,0x6f,0x77])]())[_0x4cdab4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cdab4([0x2e]),'');let _0x568170=_0x4cdab4([0x75]);for(let _0x328ba4=0x0;_0x328ba4<_0x2a2c78[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x328ba4+=0x2){let _0x33871b=window[_0x4cdab4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a2c78[_0x4cdab4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x328ba4,_0x328ba4+0x2));_0x33871b>=_0x172b37[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33871b-=_0x172b37[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x568170+=_0x172b37[_0x33871b];}return _0x568170;}function _0x39f519(){const _0x4122a3=_0x3ee4f9[_0x4cdab4([0x73,0x70,0x6c,0x69,0x74])](_0x4cdab4([0x2e]));if(0x3!=_0x4122a3[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e2ce5(_0x4122a3[0x1]);function _0x4e2ce5(_0x32a28a){const _0x5705f9=_0x317b92(_0x32a28a);return _0x5705f9&&_0x2122ef()?_0x5705f9:null;function _0x2122ef(){const _0x5d88b7=_0x5705f9[_0x4cdab4([0x6a,0x74,0x69])],_0xff7dd7=window[_0x4cdab4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d88b7[_0x4cdab4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d88b7[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30157={..._0x5705f9,[_0x4cdab4([0x6a,0x74,0x69])]:_0x5d88b7[_0x4cdab4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d88b7[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30157[_0x4cdab4([0x76,0x63])],_0x3e26e7(_0x30157)==_0xff7dd7;}}}async function _0x5acf37(){let _0x2dc78f=!0x0;try{const _0x4ca1b4=_0x3ee4f9[_0x4cdab4([0x73,0x70,0x6c,0x69,0x74])](_0x4cdab4([0x2e])),[_0x3112f3,_0x58dba5,_0x1b977b]=_0x4ca1b4;return _0x5eecf6(_0x3112f3),await _0x379e49(_0x3112f3,_0x58dba5,_0x1b977b),_0x2dc78f;}catch{return!0x1;}function _0x5eecf6(_0x6737c9){const _0x301b2d=_0x317b92(_0x6737c9);_0x301b2d&&_0x301b2d[_0x4cdab4([0x61,0x6c,0x67])]==_0x4cdab4([0x45,0x53,0x32,0x35,0x36])||(_0x2dc78f=!0x1);}async function _0x379e49(_0x53680e,_0x91f2aa,_0x376d50){const _0x5b8144=window[_0x4cdab4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cdab4([0x66,0x72,0x6f,0x6d])](_0x8a179d(_0x376d50),_0x14c2e8=>_0x14c2e8[_0x4cdab4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21f6a1=new window[(_0x4cdab4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cdab4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53680e+_0x4cdab4([0x2e])+_0x91f2aa),_0x3dfa50=window[_0x4cdab4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cdab4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3dfa50)return;const _0x242474=await _0x3dfa50[_0x4cdab4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cdab4([0x6a,0x77,0x6b]),_0x1a5756,{[_0x4cdab4([0x6e,0x61,0x6d,0x65])]:_0x4cdab4([0x45,0x43,0x44,0x53,0x41]),[_0x4cdab4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cdab4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cdab4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3dfa50[_0x4cdab4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cdab4([0x6e,0x61,0x6d,0x65])]:_0x4cdab4([0x45,0x43,0x44,0x53,0x41]),[_0x4cdab4([0x68,0x61,0x73,0x68])]:{[_0x4cdab4([0x6e,0x61,0x6d,0x65])]:_0x4cdab4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x242474,_0x5b8144,_0x21f6a1)||(_0x2dc78f=!0x1);}}function _0x317b92(_0x423eb9){return _0x423eb9[_0x4cdab4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cdab4([0x65,0x79]))?JSON[_0x4cdab4([0x70,0x61,0x72,0x73,0x65])](_0x8a179d(_0x423eb9)):null;}function _0x8a179d(_0x2375fd){return window[_0x4cdab4([0x61,0x74,0x6f,0x62])](_0x2375fd[_0x4cdab4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cdab4([0x2b]))[_0x4cdab4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cdab4([0x2f])));}function _0x3e26e7(_0x2283ac){let _0x199511=0x1505;function _0x580660(_0x16144f){for(let _0x57f337=0x0;_0x57f337<_0x16144f[_0x4cdab4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x57f337++){const _0x483069=_0x16144f[_0x4cdab4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x57f337);_0x199511=(_0x199511<<0x5)+_0x199511+_0x483069,_0x199511&=_0x199511;}}function _0x4b12d8(_0x1b50e2){Array[_0x4cdab4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b50e2)?_0x1b50e2[_0x4cdab4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b12d8):_0x1b50e2&&typeof _0x1b50e2==_0x4cdab4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cdab4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b50e2)[_0x4cdab4([0x73,0x6f,0x72,0x74])]()[_0x4cdab4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20f97b,_0x5a93c9])=>{_0x580660(_0x20f97b),_0x4b12d8(_0x5a93c9);}):_0x580660(window[_0x4cdab4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b50e2));}return _0x4b12d8(_0x2283ac),_0x199511>>>0x0;}function _0x2d229e(_0x1cca58){return _0x1cca58[_0x4cdab4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cdab4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cdab4([0x30]));}function _0x43f753(_0x2f800b){return _0x2f800b[_0x4cdab4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cdab4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cdab4([0x6a,0x6f,0x69,0x6e])]('');}function _0x27321e(){}function _0x4cdab4(_0x58fd82){return _0x58fd82['map'](_0x50accc=>String['fromCharCode'](_0x50accc))['join']('');}_0x508174(await _0x41a11a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x311f24){const {plugins:_0x5205cd,editing:_0xb4750e,model:_0x428b69}=this['editor'],_0x1a53d9=_0x5205cd['get'](c)['getFootnote'](_0x311f24);return!!_0x1a53d9&&(_0x428b69['change'](_0x483ab3=>{_0x483ab3['setSelection'](_0x483ab3['createPositionAt'](_0x1a53d9['definition'],'end'));}),_0xb4750e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x374e2d){const {plugins:_0x348c68,editing:_0x3c8a5d,model:_0x4d8775}=this['editor'],_0x4f57ff=_0x348c68['get'](c)['getFootnote'](_0x374e2d);return!!_0x4f57ff&&(_0x4d8775['change'](_0x5c2cdb=>{_0x5c2cdb['setSelection'](_0x4f57ff['reference'],'on');}),_0x3c8a5d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4458ce}=this['editor']['model'],_0x4240e7=this['editor']['config']['get']('footnotes.multiBlock');_0x4458ce['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4458ce['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4458ce['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4240e7?_0x4458ce['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4458ce['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4458ce['addChildCheck'](_0x9ebe6a=>{for(const _0x459f78 of _0x9ebe6a)if('footnoteDefinition'===_0x459f78['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x218b20}=this,{conversion:_0x4d877a,editing:_0x16b084}=_0x218b20,{t:t}=_0x218b20['locale'];_0x4d877a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x594f05,{writer:_0x3ef22e,consumable:_0x3023b7})=>{const _0x137d97=_0x594f05['getChild'](0x0);if(!_0x137d97||!_0x137d97['is']('element','a'))return null;const _0x1f74bd=_0x137d97['getAttribute']('href')||'';if(!_0x1f74bd['startsWith']('#'))return null;const _0x5a096d=_0x1f74bd['replace'](/^#/,'');if(!_0x5a096d)return null;_0x3023b7['consume'](_0x137d97,{'name':!0x0,'attributes':['href']});for(const {item:_0x4f2fb3}of _0x16b084['view']['createRangeIn'](_0x137d97))_0x4f2fb3['is']('$textProxy')?_0x3023b7['consume'](_0x4f2fb3['textNode'],{'name':!0x0}):_0x4f2fb3['is']('element')&&_0x3023b7['consume'](_0x4f2fb3,{'name':!0x0});return _0x3ef22e['createElement']('footnoteRef',{'footnoteId':_0x5a096d});}}),_0x4d877a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2f431a,{writer:_0x15deb7})=>D(_0x2f431a,_0x15deb7)}),_0x4d877a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xab921e,{writer:_0x1e05a6})=>{const _0x4b5e9b=_0xab921e['getAttribute']('footnoteCounter');return _0x3a58b1(D(_0xab921e,_0x1e05a6),_0x1e05a6,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4b5e9b)});}});}['_defineDefinitionsConverters'](){const {editor:_0x19b9f4}=this,{t:t}=_0x19b9f4['locale'],{conversion:_0xc4811c}=_0x19b9f4;_0xc4811c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xc4811c['for']('upcast')['add'](_0x52edaa=>{_0x52edaa['on']('element:ol',(_0xebc976,_0x41f6fb,_0x116fcb)=>{const _0x2c89dd=_0x41f6fb['viewItem'];if(!_0x2c89dd['hasClass']('footnotes-list')||!_0x41f6fb['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x116fcb['consumable']['consume'](_0x2c89dd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x222e10,modelCursor:_0x42dee9}=_0x116fcb['convertChildren'](_0x41f6fb['viewItem'],_0x41f6fb['modelCursor']);_0x41f6fb['modelRange']=_0x222e10,_0x41f6fb['modelCursor']=_0x42dee9;}),_0x52edaa['on']('element:hr',(_0xada71a,_0x40c257,_0x579c49)=>{const _0x264117=_0x40c257['viewItem'];_0x264117['hasClass']('footnotes-divider')&&_0x40c257['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x579c49['consumable']['consume'](_0x264117,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xc4811c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x344b51,{writer:_0xecb9aa})=>v(_0xecb9aa)}),_0xc4811c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50be87,{writer:_0x592485})=>{const _0x279613=v(_0x592485,{'data-footnotes-list-label':t('Footnotes')}),_0x10903a=_0x3a58b1(_0x279613,_0x592485,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x592485['setCustomProperty']('footnotesDefinitions',!0x0,_0x10903a),_0x10903a;}});}['_defineDefinitionConverters'](){const {editor:_0xe24279}=this,{conversion:_0x45b157,locale:_0x1c07ff}=_0xe24279,_0x1c0019=_0xe24279['config']['get']('footnotes.multiBlock');_0x45b157['for']('upcast')['add'](_0x51b88f=>{_0x51b88f['on']('element:li',(_0x4616d2,_0x584425,_0x32a84d)=>{const _0xe3c412=_0x584425['viewItem'];if(!_0xe3c412['hasClass']('footnote-definition')||!_0xe3c412['getAttribute']('id'))return;const _0x3e4213=_0xe3c412['parent'];if(!_0x3e4213['is']('element','ol')||!_0x3e4213['hasClass']('footnotes-list'))return;if(!_0x32a84d['consumable']['test'](_0xe3c412,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x44f85e=_0x32a84d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xe3c412['getAttribute']('id')});if(!_0x32a84d['safeInsert'](_0x44f85e,_0x584425['modelCursor']))return;_0x32a84d['consumable']['consume'](_0xe3c412,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x44f593=Array['from'](_0xe3c412['getChildren']())['find'](_0x34db59=>_0x34db59['is']('element')&&_0x34db59['hasClass']('footnote-content'));for(const _0x488829 of _0xe3c412['getChildren']())_0x488829['is']('element')&&(_0x32a84d['consumable']['consume'](_0x488829,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x32a84d['consumable']['consume'](_0x488829,{'name':!0x0,'classes':'footnote-content'}));if(_0x44f593){if(_0x1c0019)_0x32a84d['convertChildren'](_0x44f593,_0x44f85e);else{const _0x342e3b=_0x32a84d['writer']['createElement']('footnoteInlineContent');_0x32a84d['writer']['insert'](_0x342e3b,_0x44f85e),_0x32a84d['convertChildren'](_0x44f593,_0x342e3b);}}_0x32a84d['updateConversionResult'](_0x44f85e,_0x584425);});}),_0x45b157['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5ed162,{writer:_0x39a64c})=>b(_0x5ed162,_0x39a64c,_0x1c07ff,{'dataPipeline':!0x0})}),_0x45b157['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50e76b,{writer:_0x481935})=>b(_0x50e76b,_0x481935,_0x1c07ff)});}['_defineBogusParagraphConverters'](){const {editor:_0x3dd021}=this,{conversion:_0x31d26a}=_0x3dd021;_0x3dd021['config']['get']('footnotes.multiBlock')?(_0x31d26a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x31d26a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3dd021['model']['document'],'change:data',()=>{!function(_0x4cdbe0,_0x435b01){const _0x369bf0=_0x4cdbe0['document']['differ'],_0x350fab=new Set();for(const _0x5584d4 of _0x369bf0['getChanges']()){const _0x43abf7='attribute'==_0x5584d4['type']?_0x5584d4['range']['start']['parent']:_0x5584d4['position']['parent'];_0x43abf7['is']('element','footnoteDefinition')&&_0x350fab['add'](_0x43abf7);}for(const _0x2a79d3 of _0x350fab['values']()){const _0x7ab9bd=Array['from'](_0x2a79d3['getChildren']())['filter'](_0x3437e5=>g(_0x3437e5,_0x435b01['mapper']));for(const _0x532571 of _0x7ab9bd)_0x435b01['reconvertItem'](_0x532571);}}(_0x3dd021['model'],_0x3dd021['editing']);})):(_0x31d26a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x31d26a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x479f04,{writer:_0x202675})=>{const _0x48674e=_0x202675['createContainerElement']('span');return _0x202675['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x48674e),_0x48674e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x34eb77}=this,{editing:_0x229efa,t:t}=_0x34eb77,_0x33a2dc=_0x34eb77['model']['document']['selection'];_0x34eb77['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x34eb77['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x229efa['view']['document'],'enter',(_0xca3b49,_0x177626)=>{const _0x7eed56=function(_0x303aa0){const _0x3b26ec=_0x303aa0['getSelectedElement']();if(_0x3b26ec?.['is']('element','footnoteRef'))return _0x3b26ec;return null;}(_0x33a2dc);if(_0x7eed56){const _0x1ca2dc=_0x7eed56['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1ca2dc),_0x177626['preventDefault'](),_0xca3b49['stop']();}},{'context':_0xb7cd91});}['_defineClickHandlers'](){const {editor:_0x2ac5fb}=this,{editing:_0x9552e9}=_0x2ac5fb;_0x2ac5fb['editing']['view']['addObserver'](_0x3069c7),_0x2ac5fb['editing']['view']['addObserver'](_0x20e72a);let _0x189cfa=!0x1;this['listenTo'](_0x9552e9['view']['document'],'pointerdown',(_0x24843c,_0x2f68c9)=>{const {target:_0x4bdf2d}=_0x2f68c9,_0xc57f20=_0x9552e9['view']['document']['selection'];_0x189cfa=!!(_0x4bdf2d?.['is']('element','a')&&_0x4bdf2d['parent']?.['is']('element','sup')&&_0x4bdf2d['parent']['hasClass']('footnote'))&&_0xc57f20['getSelectedElement']()===_0x4bdf2d['parent'];},{'priority':'high'}),this['listenTo'](_0x9552e9['view']['document'],'click',(_0x47b64a,_0x2f56d6)=>{const {target:_0x1fe9bf}=_0x2f56d6;if(!_0x1fe9bf?.['is']('element','a'))return;if(_0x1fe9bf['parent']?.['is']('element','sup')&&_0x1fe9bf['parent']['hasClass']('footnote')&&!_0x189cfa)return void _0x2f56d6['preventDefault']();let _0x66c686=_0x1fe9bf['getAttribute']('href');if(!_0x66c686?.['startsWith']('#'))return;_0x66c686=_0x66c686['slice'](0x1);let _0x310d78=!0x1;(_0x66c686['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x66c686['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x66c686))&&(_0x310d78=!0x0),_0x310d78&&(_0x2f56d6['preventDefault'](),_0x47b64a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1e7587}={}){return(_0x30aedb,{writer:_0xf3c444})=>{if(!p(_0x30aedb))return null;if(!_0x1e7587)return _0xf3c444['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1cfc8c=_0xf3c444['createContainerElement']('p');return _0xf3c444['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1cfc8c),_0x1cfc8c;};}function p(_0x32af6d){const {parent:_0x53a4de}=_0x32af6d;if(!_0x53a4de?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x53a4de['childCount'])return!0x1;for(const _0x5c4c99 of _0x32af6d['getAttributeKeys']())if(!_0x5c4c99['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c4c99)return!0x1;return!0x0;}function g(_0x2df32f,_0x42d630){if(!_0x2df32f['is']('element','paragraph'))return!0x1;const _0x226788=_0x42d630['toViewElement'](_0x2df32f);return!!_0x226788&&p(_0x2df32f)!==_0x226788['is']('element','span');}function J(_0x5725d4){return _0xb7cd91(_0x5725d4)&&_0x5725d4['is']('containerElement')&&!!_0x5725d4['getCustomProperty']('footnotesDefinitions');}function v(_0x4642c1,_0x17634a={}){const _0x3a2460=_0x4642c1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x16b6aa=_0x4642c1['createContainerElement']('ol',{'class':'footnotes-list'},_0x4642c1['createSlot']());return _0x4642c1['createContainerElement']('div',{'class':'footnotes',..._0x17634a},[_0x3a2460,_0x16b6aa]);}function D(_0xa787c9,_0x3b4320){const _0x393075=_0xa787c9['getAttribute']('footnoteId'),_0x57d444=_0xa787c9['getAttribute']('footnoteCounter'),_0x58932d=_0x3b4320['createUIElement']('a',{'href':'#'+_0x393075},function(_0x30d277){const _0x2c9de8=this['toDomElement'](_0x30d277);return _0x2c9de8['textContent']=_0x57d444,_0x2c9de8;}),_0x26f2b4=_0x3b4320['createContainerElement']('sup',{'id':'ref-'+_0x393075,'class':'footnote'},[_0x58932d]);return _0x26f2b4['getFillerOffset']=()=>null,_0x26f2b4;}function b(_0x445723,_0x7c87bc,_0x5594fc,{dataPipeline:_0x4a4eac}={}){const {t:t}=_0x5594fc,_0x1454d2=_0x445723['getAttribute']('footnoteId'),_0x5e35d1=_0x7c87bc['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1454d2},function(_0x29c4ae){const _0x3daa94=this['toDomElement'](_0x29c4ae);return _0x3daa94['innerText']='^',_0x3daa94;}),_0x434ad2=_0x4a4eac?_0x7c87bc['createContainerElement']('div',{'class':'footnote-content'}):_0x3215bc(_0x7c87bc['createEditableElement']('div',{'class':'footnote-content'}),_0x7c87bc,{'label':t('Footnote\x20content.')});return _0x7c87bc['insert'](_0x7c87bc['createPositionAt'](_0x434ad2,0x0),_0x7c87bc['createSlot']()),_0x7c87bc['createContainerElement']('li',{'class':'footnote-definition','id':_0x1454d2},[_0x5e35d1,_0x434ad2]);}class e extends _0x38bf2a{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x48e04d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x376597}=this,{plugins:_0x218591,model:_0x5bbbca}=_0x376597,_0x3308bf=_0x218591['get'](_0x48e04d),_0x531f76=_0x218591['get'](c);this['listenTo'](_0x3308bf,'outputTransformation',(_0x1a55e1,_0x531cb7)=>{const _0x12be99=f(_0x5bbbca['createRangeIn'](_0x531cb7['content']));if(!_0x12be99['length'])return;const _0x26e56d=_0x531f76['getFootnotes'](),_0xcbe05=_0x12be99['reduce']((_0x2383cd,_0x3ed267)=>{const _0x4c3c13=_0x26e56d['find'](_0xec6eec=>_0xec6eec['id']===_0x3ed267);if(_0x4c3c13){const _0x2ff44d=_0x376597['data']['toView'](_0x4c3c13['definition'],{'isClipboardPipeline':!0x0}),_0xa58e31=_0x376597['data']['htmlProcessor']['toData'](_0x2ff44d);_0x2383cd[_0x4c3c13['id']]=_0xa58e31;}return _0x2383cd;},Object['create'](null));_0x531cb7['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xcbe05));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x55b6bb}=this,{model:_0x3fba2f,plugins:_0x20bb27}=_0x55b6bb,{view:_0x255dbe}=_0x55b6bb['editing'],_0x25e7b9=_0x20bb27['get'](_0x48e04d),_0x4e01c4=_0x20bb27['get'](c);let _0x4a3c43=null;this['listenTo'](_0x255dbe['document'],'clipboardInput',(_0x36674a,_0x555e41)=>{const _0x4a811b=_0x555e41['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4a3c43=_0x4a811b?JSON['parse'](_0x4a811b):null;}),this['listenTo'](_0x25e7b9,'contentInsertion',(_0x2dba6b,_0xeccdca)=>{const _0x5c2b78=_0xeccdca['sourceEditorId']===this['editor']['id'];_0x5c2b78&&'drop'===_0xeccdca['method']||_0x3fba2f['change'](_0x36ea21=>{let _0x1a65aa=_0x4e01c4['getFootnotesDefinitionsObjectElement']();const _0x19f9bc=!!_0x1a65aa&&Array['from'](_0x3fba2f['document']['selection']['getSelectedBlocks']())['includes'](_0x1a65aa);if(_0x1a65aa&&!_0x19f9bc&&function(_0x320716,_0x4bbe1e){const _0x19706e=[];for(const {item:_0x2d2c2d}of _0x320716['createRangeIn'](_0x4bbe1e))_0x2d2c2d['is']('element','footnotesDefinitions')&&_0x19706e['push'](_0x2d2c2d);for(const _0x41dfbd of _0x19706e)_0x320716['remove'](_0x41dfbd);}(_0x36ea21,_0xeccdca['content']),!_0x4a3c43)return;const {selection:_0x28b146}=_0x3fba2f['document'],_0x3bd757=_0x28b146['getFirstRange']()['root'];_0x1a65aa&&!_0x19f9bc||(_0x1a65aa=function(_0x14242f,_0x36fea0){for(const {item:_0x5df591}of _0x14242f['createRangeIn'](_0x36fea0))if(_0x5df591['is']('element','footnotesDefinitions'))return _0x5df591;return null;}(_0x36ea21,_0xeccdca['content']),_0x1a65aa||=_0x4e01c4['_insertEmptyFootnotesDefinitionsContainer'](_0x36ea21,_0x3bd757));const _0x3140ba=Array['from'](_0x28b146['getRanges']())['flatMap'](f),_0x45c75e=function(_0x30e9ee,_0x30a1c4,_0x23de3d){const _0x332add=Object['create'](null);for(const {item:_0x18bfee}of _0x30e9ee['createRangeIn'](_0x30a1c4))if(_0x18bfee['is']('element','footnoteRef')){const _0x405dda=_0x18bfee['getAttribute']('footnoteId');if(!_0x23de3d(_0x405dda))continue;_0x332add[_0x405dda]||(_0x332add[_0x405dda]=_0x2c6977()),_0x30e9ee['setAttribute']('footnoteId',_0x332add[_0x405dda],_0x18bfee);}return _0x332add;}(_0x36ea21,_0xeccdca['content'],_0x6ae7d=>{if(!_0x5c2b78)return!0x0;return!!_0x4e01c4['getFootnote'](_0x6ae7d)&&!_0x3140ba['includes'](_0x6ae7d);});for(const [_0x50c3bc,_0x3162b1]of Object['entries'](_0x4a3c43)){const _0x44720d=_0x45c75e[_0x50c3bc]||_0x50c3bc,_0x542408=_0x36ea21['createElement']('footnoteDefinition',{'footnoteId':_0x44720d}),_0x1821fe=_0x55b6bb['data']['htmlProcessor']['toView'](_0x3162b1),_0x494d16=_0x55b6bb['data']['toModel'](_0x1821fe,_0x542408);_0x36ea21['append'](_0x494d16,_0x542408),_0x36ea21['insert'](_0x542408,_0x1a65aa,'end');}_0x4a3c43=null;});});}}function f(_0x2e5341){const _0x42953d=new Set();for(const {item:_0x177cc2}of _0x2e5341)_0x177cc2['is']('element','footnoteRef')&&_0x42953d['add'](_0x177cc2['getAttribute']('footnoteId'));return Array['from'](_0x42953d);}class i extends _0x38bf2a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25bdda}=this,{componentFactory:_0x46b467}=_0x25bdda['ui'];_0x46b467['add']('insertFootnote',x(_0x25bdda,_0x96c644)),_0x46b467['add']('menuBar:insertFootnote',x(_0x25bdda,_0x40c2d8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x586ac2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x52c0df;for(const _0x41e217 in _0x586ac2){const _0x2b92ac=_0x41e217,_0x23bc60=_0x586ac2[_0x2b92ac];if('footnotesLicenseKeyValid'==_0x23bc60||'footnotesLicenseKeyInvalid'==_0x23bc60||'footnotesLicenseKeyExpired'==_0x23bc60||'footnotesLicenseKeyDomainLimit'==_0x23bc60||'footnotesLicenseKeyNotAllowed'==_0x23bc60||'footnotesLicenseKeyEvaluationLimit'==_0x23bc60||'footnotesLicenseKeyTrialLimit'==_0x23bc60||'footnotesLicenseKeyUsageLimit'==_0x23bc60){delete _0x586ac2[_0x2b92ac],_0x52c0df=_0x23bc60,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x52c0df&&_0x586ac2['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x52c0df&&_0x586ac2['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x52c0df&&_0x586ac2['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x52c0df&&_0x586ac2['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x52c0df&&_0x586ac2['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x52c0df&&_0x586ac2['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x52c0df&&_0x586ac2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xcce4ba,_0x2d2c17){const _0x4fc6c3=_0xcce4ba['commands']['get']('insertFootnote');return _0x29578e=>{const {t:t}=_0x29578e,_0x77497b=new _0x2d2c17(_0x29578e),_0x552e7b=_0x77497b instanceof _0x40c2d8;return _0x77497b['bind']('isEnabled')['to'](_0x4fc6c3,'isEnabled'),_0x77497b['set']({'label':t(_0x552e7b?'Footnote':'Insert\x20footnote'),'icon':_0x3f27de,'tooltip':!0x0}),_0x77497b['on']('execute',()=>{_0x4fc6c3['execute'](),_0xcce4ba['editing']['view']['focus']();}),_0x77497b;};}class lt extends _0x38bf2a{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x2c5759{['refresh'](){const {editor:_0x543623}=this,_0x3499df=_0x543623['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3499df,this['value']=_0x3499df?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3255e3}){const {editor:_0x3cf7f5}=this,_0x22d33b=_0x3cf7f5['plugins']['get'](c),_0x3d271f=_0x22d33b['getFootnotesDefinitionsObjectElement']();_0x3d271f&&Q['includes'](_0x3255e3)&&_0x3cf7f5['model']['change'](_0x388a68=>{_0x388a68['setAttribute']('footnotesListStyle',_0x3255e3,_0x3d271f),_0x22d33b['_updateFootnotesCounters'](_0x388a68);});}}class C extends _0x2c5759{['refresh'](){const {editor:_0x4b10d5}=this,_0x23d25c=_0x4b10d5['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x23d25c,this['value']=_0x23d25c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5593f5}){const {editor:_0x408ccb}=this,_0x20749f=_0x408ccb['plugins']['get'](c),_0x2f33d7=_0x20749f['getFootnotesDefinitionsObjectElement']();_0x2f33d7&&Number['isInteger'](_0x5593f5)&&_0x408ccb['model']['change'](_0x14b171=>{_0x14b171['setAttribute']('footnotesListStart',_0x5593f5,_0x2f33d7),_0x20749f['_updateFootnotesCounters'](_0x14b171);});}}class P extends _0x38bf2a{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x216695}=this;_0x216695['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x216695['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x216695['commands']['add']('footnotesStyle',new S(_0x216695)),_0x216695['commands']['add']('footnotesStart',new C(_0x216695)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1f300e}=this,{schema:_0x14db4b}=_0x1f300e['model'];_0x14db4b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1c962f}=this,{conversion:_0x60ebe2,model:_0x57cd67}=_0x1c962f,{schema:_0x1b47d7}=_0x57cd67;_0x60ebe2['for']('upcast')['add'](_0x3519f7=>{_0x3519f7['on']('element:ol',(_0x532c6c,_0x5f2173,_0x81dd7a)=>{const _0x3ea6b6=_0x5f2173['viewItem'],_0x574194=_0x5f2173['modelCursor']?.['parent'];_0x3ea6b6['hasClass']('footnotes-list')&&_0x574194?.['is']('element','footnotesDefinitions')&&(function(_0x4a3b2b,_0xe3d162,_0x4995da,_0x3e03af){if(!_0x3e03af['checkAttribute'](_0xe3d162,'footnotesListStart'))return;let _0x197726=0x1;const _0x3d708e=_0x4995da['consumable']['consume'](_0x4a3b2b,{'attributes':'start'});if(_0x3d708e){const _0xa7d56a=Number['parseInt'](_0x4a3b2b['getAttribute']('start'),0xa);Number['isNaN'](_0xa7d56a)||(_0x197726=_0xa7d56a);}!_0x3d708e&&_0xe3d162['hasAttribute']('footnotesListStart')||_0x4995da['writer']['setAttribute']('footnotesListStart',_0x197726,_0xe3d162);}(_0x3ea6b6,_0x574194,_0x81dd7a,_0x1b47d7),function(_0x44a63c,_0x22d3ba,_0x42271b,_0x12c480){if(!_0x12c480['checkAttribute'](_0x22d3ba,'footnotesListStyle'))return;let _0x45bc07='decimal',_0x45d56d=!0x1;if(_0x42271b['consumable']['consume'](_0x44a63c,{'attributes':'type'})){const _0x31f1d5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x44a63c['getAttribute']('type')];_0x31f1d5&&(_0x45bc07=_0x31f1d5),_0x45d56d=!0x0;}_0x42271b['consumable']['consume'](_0x44a63c,{'styles':'list-style-type'})&&(_0x45bc07=_0x44a63c['getStyle']('list-style-type'),_0x45d56d=!0x0),!_0x45d56d&&_0x22d3ba['hasAttribute']('footnotesListStyle')||_0x42271b['writer']['setAttribute']('footnotesListStyle',_0x45bc07,_0x22d3ba);}(_0x3ea6b6,_0x574194,_0x81dd7a,_0x1b47d7));});}),_0x60ebe2['for']('downcast')['add'](_0x4bc7d6=>{_0x4bc7d6['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x478fdc,_0x1ccf3c,_0x1cc7ca)=>{if(!_0x1cc7ca['consumable']['consume'](_0x1ccf3c['item'],_0x478fdc['name']))return;const _0x4511ec=M(_0x1ccf3c['item'],_0x1cc7ca['mapper']),{attributeNewValue:_0x42c83a}=_0x1ccf3c;null==_0x42c83a||0x1===_0x42c83a?_0x1cc7ca['writer']['removeAttribute']('start',_0x4511ec):_0x1cc7ca['writer']['setAttribute']('start',String(_0x42c83a),_0x4511ec);}),_0x4bc7d6['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x22675a,_0x5641bd,_0x59db2c)=>{if(!_0x59db2c['consumable']['consume'](_0x5641bd['item'],_0x22675a['name']))return;const _0x22b62f=M(_0x5641bd['item'],_0x59db2c['mapper']),{attributeNewValue:_0x2421cc}=_0x5641bd;_0x2421cc&&'decimal'!==_0x2421cc?_0x59db2c['writer']['setStyle']('list-style-type',_0x2421cc,_0x22b62f):_0x59db2c['writer']['removeStyle']('list-style-type',_0x22b62f);});});}['_definePostfixer'](){const {editor:_0x31cad6}=this,{model:_0x476a06}=_0x31cad6,_0x376675=_0x31cad6['plugins']['get'](c),_0x4a4e3c=this['_getDefaultListStyle'](),_0x1c6b24=this['_getDefaultStartIndex']();_0x476a06['document']['registerPostFixer'](_0x2dcecd=>{const _0x4d10be=_0x476a06['document']['differ']['getChanges']();let _0x4883cd=!0x1;for(const _0x1781c1 of _0x4d10be){if('insert'!==_0x1781c1['type']||'$text'===_0x1781c1['name'])continue;const _0x109c2e=_0x476a06['createRangeOn'](_0x1781c1['position']['nodeAfter']);for(const _0x128575 of _0x109c2e['getItems']())_0x128575['is']('element','footnotesDefinitions')&&(!_0x128575['hasAttribute']('footnotesListStart')&&_0x476a06['schema']['checkAttribute'](_0x128575,'footnotesListStart')&&(_0x2dcecd['setAttribute']('footnotesListStart',_0x1c6b24,_0x128575),_0x4883cd=!0x0),!_0x128575['hasAttribute']('footnotesListStyle')&&_0x476a06['schema']['checkAttribute'](_0x128575,'footnotesListStyle')&&(_0x2dcecd['setAttribute']('footnotesListStyle',_0x4a4e3c,_0x128575),_0x4883cd=!0x0));}return _0x4883cd&&_0x376675['_updateFootnotesCounters'](_0x2dcecd),_0x4883cd;});}['_defineFormatter'](){const {editor:_0x5a80a0}=this;_0x5a80a0['plugins']['get'](c)['setFootnoteFormatter'](_0x208b15=>this['_formatFootnoteListValue'](_0x208b15));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x58e727,value:_0x41ccc3,digits:_0xaccb9e}){const _0x5c2f0a=_0x58e727['getAttribute']('footnotesListStyle'),_0x56be6e=_0x58e727['getAttribute']('footnotesListStart'),_0x1a6782=Math['floor'](_0x41ccc3)+(_0x56be6e??0x1)-0x1;switch(_0x5c2f0a){case'decimal-leading-zero':return function(_0x4f7b31,_0x406e3c){return String(_0x4f7b31)['padStart'](_0x406e3c,'0');}(_0x1a6782,Math['max'](0x2,_0xaccb9e));case'lower-alpha':case'lower-latin':return N(_0x1a6782,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1a6782,!0x0);case'lower-roman':return X(_0x1a6782,!0x1);case'upper-roman':return X(_0x1a6782,!0x0);default:return String(_0x1a6782);}}}function M(_0x48ce0a,_0x3caad2){const _0x455fd8=_0x3caad2['toViewElement'](_0x48ce0a);return Array['from'](_0x455fd8['getChildren']())['find'](_0x1b08c1=>_0x1b08c1['is']('element','ol')&&_0x1b08c1['hasClass']('footnotes-list'));}function N(_0x4fc5b7,_0x171440){let _0x43a8f1='',_0x8d20c0=_0x4fc5b7;for(;_0x8d20c0>0x0;){const _0x22453e=(_0x8d20c0-0x1)%0x1a;_0x43a8f1=String['fromCharCode'](0x61+_0x22453e)+_0x43a8f1,_0x8d20c0=Math['floor']((_0x8d20c0-0x1)/0x1a);}return _0x171440?_0x43a8f1['toUpperCase']():_0x43a8f1;}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(_0x3b6324,_0x32e913){let _0x4c27aa='',_0x96dc21=_0x3b6324;for(const {value:_0x181a3a,numeral:_0x2db307}of V)for(;_0x96dc21>=_0x181a3a;)_0x4c27aa+=_0x2db307,_0x96dc21-=_0x181a3a;return _0x32e913?_0x4c27aa:_0x4c27aa['toLowerCase']();}class H extends _0x57adf2{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x442327();['focusCycler'];constructor(_0x3638bb,{styleButtonViews:_0x7ff5a9,styleGridAriaLabel:_0x5ca645}){super(_0x3638bb),(this['focusCycler']=new _0x15f841({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x7ff5a9,_0x5ca645),[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 _0x467af3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x467af3['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x512316=_0x525337=>_0x525337['stopPropagation']();this['keystrokes']['set']('arrowright',_0x512316),this['keystrokes']['set']('arrowleft',_0x512316),this['keystrokes']['set']('arrowup',_0x512316),this['keystrokes']['set']('arrowdown',_0x512316);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xdfa912,_0x5a129e){const _0x197a78=new _0x57adf2(this['locale']);return _0x197a78['children']=_0x197a78['createCollection'](),_0x197a78['children']['addMany'](_0xdfa912),_0x197a78['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5a129e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x197a78['children']}),_0x197a78['children']['delegate']('execute')['to'](this),_0x197a78['focus']=function(){for(const _0x24983c of this['children'])if(_0x24983c instanceof _0x96c644&&_0x24983c['isOn'])return void _0x24983c['focus']();this['children']['first']['focus']();},_0x197a78['focusTracker']=new ot(),_0x197a78['keystrokes']=new rt(),_0x197a78['render'](),_0x197a78['keystrokes']['listenTo'](_0x197a78['element']),this['children']['add'](_0x197a78),_0x197a78;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3cf024=this['_createStartIndexPropertyView'](),_0x4c5c23=[_0x3cf024],_0x2735df=new st(this['locale'],_0x4c5c23);return _0x2735df['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2735df['buttonView']['bind']('isEnabled')['toMany'](_0x4c5c23,'isEnabled',(..._0x3c7710)=>_0x3c7710['some'](_0x2af5a6=>_0x2af5a6)),_0x2735df['buttonView']['on']('change:isEnabled',(_0x307b80,_0x23da35,_0x5b54a6)=>{_0x5b54a6||(_0x2735df['isCollapsed']=!0x0);}),this['children']['add'](_0x2735df),[_0x3cf024,_0x2735df];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x9c834b=new it(this['locale'],et);return _0x9c834b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x9c834b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x9c834b['fieldView']['on']('input',()=>{const _0xbed530=_0x9c834b['fieldView']['element'],_0x55716a=_0xbed530['valueAsNumber'];Number['isNaN'](_0x55716a)?_0x9c834b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xbed530['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x55716a}):_0x9c834b['errorText']=t(_0x55716a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x9c834b;}}class j extends _0x38bf2a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1dce9d,_0x2b4c2f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f245e}=this,{componentFactory:_0x3fc2fd}=_0x4f245e['ui'];_0x4f245e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3fc2fd['add']('footnotesStyle',function(_0x69e34f){return _0x3f19ba=>{const {t:t}=_0x3f19ba,_0x403e73=_0x69e34f['commands']['get']('footnotesStyle'),_0x39b06b=_0x1cbc3a(_0x3f19ba),{buttonView:_0x5f2213}=_0x39b06b;return _0x39b06b['class']='ck-footnotes-styles-dropdown',_0x39b06b['bind']('isEnabled')['to'](_0x403e73,'isEnabled'),_0x5f2213['set']({'label':t('Footnotes\x20style'),'icon':_0x3f27de,'tooltip':!0x0}),_0x39b06b['once']('change:isOpen',()=>{const _0xa137e7=function({editor:_0x845e2a,dropdownView:_0x2d98c2}){const {t:t}=_0x845e2a['locale'],_0x28aa40=t('Footnotes\x20definitions\x20styles'),_0x4140ef=function(_0x3bf35c){const t=_0x3bf35c['locale']['t'],_0x3a3578=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x367a65},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1b36b1},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5bbf1c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xfa3859},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x34c741},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x32d945}];return _0x3a3578['map'](function(_0xb45705){const _0x57a77e=_0xb45705['locale'];return({label:_0x491c32,icon:_0x1aef1b,tooltip:_0x49f236,style:_0xe71d0c})=>{const _0x29c000=_0xb45705['commands']['get']('footnotesStyle'),_0x22daa7=new _0x96c644(_0x57a77e);return _0x22daa7['set']({'label':_0x491c32,'icon':_0x1aef1b,'tooltip':_0x49f236}),_0x22daa7['bind']('isOn')['to'](_0x29c000,'value',_0xaa4b3c=>_0xaa4b3c===_0xe71d0c),_0x22daa7['bind']('isEnabled')['to'](_0x29c000,'isEnabled'),_0x22daa7['on']('execute',()=>{_0xb45705['execute']('footnotesStyle',{'value':_0xe71d0c}),_0xb45705['editing']['view']['focus']();}),_0x22daa7;};}(_0x3bf35c));}(_0x845e2a),_0x24afe1=new H(_0x845e2a['locale'],{'styleGridAriaLabel':_0x28aa40,'styleButtonViews':_0x4140ef});return _0x24afe1['delegate']('execute')['to'](_0x2d98c2),_0x24afe1['on']('footnotesListStart',(_0x217b10,_0x701361)=>{_0x845e2a['execute']('footnotesStart',{'value':_0x701361['startIndex']});}),_0x24afe1;}({'editor':_0x69e34f,'dropdownView':_0x39b06b});_0x39b06b['panelView']['children']['add'](_0xa137e7);}),_0x39b06b;};}(_0x4f245e));}['afterInit'](){const {editor:_0x155979}=this,{t:t}=_0x155979['locale'],_0x1966ed=_0x155979['plugins']['get'](_0x2b4c2f),{defaultPositions:_0x529939}=_0x45d10e;_0x1966ed['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x155979['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xb880d=>{let _0x4f56c7=_0xb880d['getFirstPosition']()?.['parent'];return _0x4f56c7?.['is']('$text')&&(_0x4f56c7=_0x4f56c7['parent']),_0x4f56c7?.['is']('element')?_0x4f56c7['findAncestor'](J):null;},'positions':[_0x529939['southArrowNorth'],_0x529939['southArrowNorthMiddleWest'],_0x529939['southArrowNorthMiddleEast'],_0x529939['southArrowNorthWest'],_0x529939['southArrowNorthEast'],_0x529939['northArrowSouth'],_0x529939['northArrowSouthMiddleWest'],_0x529939['northArrowSouthMiddleEast'],_0x529939['northArrowSouthWest'],_0x529939['northArrowSouthEast'],_0x529939['viewportStickyNorth']]});}}class ft extends _0x38bf2a{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
|
23
|
+
import{Plugin as _0x275ec9,Command as _0x51142c}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3f947e,isWidget as _0x3f422d,toWidgetEditable as _0x5ef579,WidgetToolbarRepository as _0x4021c6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x58008f,logWarning as _0xb13374,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4c9082,ClickObserver as _0x383a16}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x50914d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3825d0,ButtonView as _0x31cc2b,View as _0x4cb5bf,ViewCollection as _0x100044,FocusCycler as _0x49121a,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x628725,BalloonPanelView as _0x113cf4,createDropdown as _0x4bebae}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x572da7,IconListStyleDecimal as _0x56d51f,IconListStyleDecimalLeadingZero as _0x256657,IconListStyleLowerRoman as _0x15d13e,IconListStyleUpperRoman as _0x2950a6,IconListStyleLowerLatin as _0x438409,IconListStyleUpperLatin as _0x5b5f23}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x25e4e0,_0x1fc61b){this['_model']=_0x25e4e0,this['_elementName']=_0x1fc61b['elementName'],this['_getElementKey']=_0x1fc61b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b30a7){const _0x19eee6=new Set(),_0x117d82=new Map();for(const _0x456e90 of _0x5b30a7){if('insert'===_0x456e90['type']&&'$text'!==_0x456e90['name']&&_0x456e90['position']['nodeAfter']){const _0x1771d4=this['_model']['createRangeOn'](_0x456e90['position']['nodeAfter']);for(const _0x468661 of _0x1771d4['getItems']()){if(!_0x468661['is']('element',this['_elementName']))continue;const _0x44e973=this['_getElementKey'](_0x468661);_0x117d82['has'](_0x44e973)||_0x117d82['set'](_0x44e973,[]),_0x117d82['get'](_0x44e973)['push'](_0x468661);}}if('remove'===_0x456e90['type']&&_0x456e90['name']===this['_elementName']){const _0x29cbab=this['_getElementKey']({'getAttribute':_0x4ad6b8=>_0x456e90['attributes']['get'](_0x4ad6b8)});_0x19eee6['add'](_0x29cbab);}}for(const [_0x508a75,_0x30d8ee]of this['_trackedElements'])'$graveyard'===_0x30d8ee['root']['rootName']&&_0x19eee6['add'](_0x508a75);for(const _0x3912a2 of _0x19eee6)this['_trackedElements']['delete'](_0x3912a2);for(const [_0x249aeb,_0x5ae5e5]of _0x117d82)this['_trackedElements']['set'](_0x249aeb,_0x5ae5e5[_0x5ae5e5['length']-0x1]);const _0x5dc1ab=new Set();for(const [_0x12de17,_0x2a82c4]of _0x117d82)_0x19eee6['has'](_0x12de17)&&(_0x5dc1ab['add'](_0x2a82c4[0x0]),_0x2a82c4['length']>0x1?_0x117d82['set'](_0x12de17,_0x2a82c4['slice'](0x1)):_0x117d82['delete'](_0x12de17),_0x19eee6['delete'](_0x12de17));return{'removed':Array['from'](_0x19eee6),'inserted':Array['from'](_0x117d82['values']())['flat'](),'moved':Array['from'](_0x5dc1ab)};}}class c extends _0x275ec9{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f14af){super(_0x1f14af),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4dbd28=>_0x4dbd28['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x592cac=>_0x592cac['getAttribute']('footnoteId')});}['init'](){const {editor:_0x22901d}=this,{model:_0x833253,data:_0x19ed06}=_0x22901d;_0x833253['document']['registerPostFixer'](_0x105d47=>{const _0x59fc61=_0x833253['document']['differ']['getChanges']();let _0x126547=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_handleFootnoteReferencesChanges'](_0x105d47,_0x59fc61)&&(_0x126547=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x105d47)&&(_0x126547=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x105d47)&&(_0x126547=!0x0),this['_sortFootnoteDefinitions'](_0x105d47)&&(_0x126547=!0x0),_0x126547;}),this['listenTo'](_0x833253['document'],'change:data',()=>{_0x833253['enqueueChange']({'isUndoable':!0x1},_0x96d3eb=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x96d3eb);});},{'priority':'low'}),this['listenTo'](_0x19ed06,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3893cf){return this['_footnotes']['find'](_0x5abc67=>_0x5abc67['id']===_0x3893cf)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xb6ae25){this['_footnoteFormatter']=_0xb6ae25;}['_updateFootnotesCounters'](_0x3346ab,_0x2ec4e8=0x0){let _0x3f3da5=!0x1;for(let _0x315557=_0x2ec4e8;_0x315557<this['_footnotes']['length'];_0x315557++)this['_updateFootnoteRefCounter'](_0x3346ab,_0x315557)&&(_0x3f3da5=!0x0);return _0x3f3da5;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3fb36b,_0x3a5d3f){const _0x14a34f=_0x3fb36b['createElement']('footnotesDefinitions',{});return _0x3fb36b['append'](_0x14a34f,_0x3a5d3f),this['_footnotesDefinitions']=_0x14a34f,_0x14a34f;}['_ensureFootnotesDefinitionsContainerExists'](_0x538377){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x36d804=this['_footnotes'][0x0]['reference']['root'],_0x4e4d0a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x538377,_0x36d804);for(const _0x12a953 of this['_footnotes'])_0x12a953['definition']['parent']||_0x538377['insert'](_0x12a953['definition'],_0x4e4d0a,'end');this['_updateFootnotesCounters'](_0x538377);}['_handleFootnotesDefinitionsObjectChanges'](_0x296462,_0x1fddf3){let _0x4259eb=!0x1;const {inserted:_0x4259c6,removed:_0x1c10cb,moved:_0x113abb}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1fddf3);if(_0x113abb['length']&&(this['_footnotesDefinitions']=_0x113abb[0x0]),_0x4259c6['length']){if(_0x4259c6['length']>0x1||this['_footnotesDefinitions']&&_0x4259c6['some'](_0xabee37=>_0xabee37!==this['_footnotesDefinitions'])){const _0x10a9eb=_0x296462['createElement']('footnotesDefinitions',{}),_0x46d98d=[];this['_footnotesDefinitions']&&_0x46d98d['push'](this['_footnotesDefinitions']),_0x46d98d['push'](..._0x4259c6),_0x296462['insert'](_0x10a9eb,_0x46d98d[0x0],'before');for(const _0x49842d of _0x46d98d)_0x296462['move'](_0x296462['createRangeIn'](_0x49842d),_0x296462['createPositionAt'](_0x10a9eb,'end')),_0x296462['remove'](_0x49842d);this['_footnotesDefinitions']=_0x10a9eb,this['_updateFootnotesCounters'](_0x296462),_0x4259eb=!0x0;}else this['_footnotesDefinitions']=_0x4259c6[0x0];}if(_0x1c10cb['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4bdbf9 of this['_footnotes'])_0x296462['remove'](_0x4bdbf9['reference']),_0x4259eb=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4259eb;}['_handleFootnoteDefinitionsChanges'](_0x52af0f,_0x335c7c){let _0x398e63=!0x1;const _0xddf09c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x532b0c,moved:_0x255162}=this['_footnoteDefsTracker']['getChanges'](_0x335c7c);for(const _0x92977f of[..._0x255162,..._0x532b0c]){const _0x1f9abd=_0x92977f['getAttribute']('footnoteId'),_0x4ce7af=this['getFootnote'](_0x1f9abd);_0x4ce7af&&(_0x4ce7af['definition']=_0x92977f),_(_0x52af0f,_0xddf09c,_0x92977f)&&(_0x398e63=!0x0);}return _0x398e63;}['_handleFootnoteReferencesChanges'](_0x1a5c29,_0x1c5e29){let _0x516a87=!0x1;const {removed:_0x3e528e,inserted:_0x2a1ff2,moved:_0x16acc1}=this['_footnoteRefsTracker']['getChanges'](_0x1c5e29);for(const _0x5614b7 of _0x3e528e)this['_handleRemoveFootnoteReferenceById'](_0x1a5c29,_0x5614b7)&&(_0x516a87=!0x0);for(const _0x74e568 of _0x2a1ff2)this['_handleInsertedFootnoteReference'](_0x1a5c29,_0x74e568)&&(_0x516a87=!0x0);for(const _0x1d3a5d of _0x16acc1)this['_handleMovedFootnoteReference'](_0x1a5c29,_0x1d3a5d)&&(_0x516a87=!0x0);return _0x516a87;}['_handleFootnotesDefinitionsObjectSync'](_0xe449d2){if(!this['_footnotesDefinitions'])return!0x1;let _0xf5cd4f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x7c3493=[];for(const _0x599c55 of this['_footnotesDefinitions']['getChildren']()){const _0x1cefee=_0x599c55['getAttribute']('footnoteId');this['getFootnote'](_0x1cefee)||(_0x7c3493['unshift'](_0x599c55),_0xf5cd4f=!0x0);}for(const _0x459d1e of _0x7c3493)_0xe449d2['remove'](_0x459d1e);}const _0x2ea7f6=new Set(),_0x5ebf25=[];for(const _0x58060f of this['_footnotesDefinitions']['getChildren']()){const _0x731888=_0x58060f['getAttribute']('footnoteId');_0x2ea7f6['has'](_0x731888)?(_0x5ebf25['unshift'](_0x58060f),_0xf5cd4f=!0x0):_0x2ea7f6['add'](_0x731888);}for(const _0x479c76 of _0x5ebf25)_0xe449d2['remove'](_0x479c76);return this['_footnotesDefinitions']['childCount']||(_0xe449d2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xf5cd4f=!0x0),_0xf5cd4f;}['_handleInsertedFootnoteReference'](_0x47a172,_0x1a6ccd){if(this['_footnotes']['find'](_0x4bb76b=>_0x4bb76b['reference']===_0x1a6ccd))return!0x1;let _0xa03499=!0x1;const _0xfbac29=_0x1a6ccd['getAttribute']('footnoteId'),_0x5e7eb0=this['_footnotes']['findIndex'](_0x521a3b=>_0x521a3b['id']===_0xfbac29);-0x1!==_0x5e7eb0&&(_0x47a172['remove'](this['_footnotes'][_0x5e7eb0]['reference']),this['_footnotes']['splice'](_0x5e7eb0,0x1),_0xa03499=!0x0);let _0xc75fc5=this['_footnotesDefinitions']?function(_0x2b0fce,_0x35b395){for(const _0x74af6c of _0x2b0fce['getChildren']())if(_0x74af6c['getAttribute']('footnoteId')===_0x35b395)return _0x74af6c;return null;}(this['_footnotesDefinitions'],_0xfbac29):null;_0xc75fc5||(_0xc75fc5=_0x47a172['createElement']('footnoteDefinition',{'footnoteId':_0xfbac29}),this['_footnotesDefinitions']&&(_0x47a172['insert'](_0xc75fc5,this['_footnotesDefinitions'],'end'),_0xa03499=!0x0));const _0x3bd9fd={'id':_0xfbac29,'reference':_0x1a6ccd,'definition':_0xc75fc5},_0x860426=I(this['editor']['model'],this['_footnotes'],_0x1a6ccd);this['_footnotes']['splice'](_0x860426,0x0,_0x3bd9fd);let _0x25e70d=_0x860426;return-0x1!==_0x5e7eb0&&(_0x25e70d=Math['min'](_0x860426,_0x5e7eb0)),this['_updateFootnotesCounters'](_0x47a172,_0x25e70d)&&(_0xa03499=!0x0),_0xa03499;}['_handleRemoveFootnoteReferenceById'](_0x49ecdc,_0x4b685c){const _0x268b14=this['_footnotes']['findIndex'](_0x59d0c8=>_0x59d0c8['id']===_0x4b685c);if(-0x1===_0x268b14)return!0x1;let _0xc5d99f=!0x1;const _0x1960fe=this['_footnotes'][_0x268b14];return'$graveyard'!==_0x1960fe['definition']['root']['rootName']&&(_0x49ecdc['remove'](_0x1960fe['definition']),_0xc5d99f=!0x0),this['_footnotes']['splice'](_0x268b14,0x1),this['_updateFootnotesCounters'](_0x49ecdc,_0x268b14)&&(_0xc5d99f=!0x0),_0xc5d99f;}['_handleMovedFootnoteReference'](_0x2b3c55,_0x376630){const _0x3b7042=_0x376630['getAttribute']('footnoteId'),_0x689952=this['_footnotes']['findIndex'](_0x553e8b=>_0x553e8b['id']===_0x3b7042),_0xad3e49=this['_footnotes'][_0x689952];let _0x5d9b0f=!0x1;_0xad3e49['reference']=_0x376630,this['_footnotes']['splice'](_0x689952,0x1);const _0x5d085e=I(this['editor']['model'],this['_footnotes'],_0x376630);return this['_footnotes']['splice'](_0x5d085e,0x0,_0xad3e49),this['_updateFootnotesCounters'](_0x2b3c55,Math['min'](_0x689952,_0x5d085e))&&(_0x5d9b0f=!0x0),_0x5d9b0f;}['_updateFootnoteRefCounter'](_0xb1ce6c,_0x483f2e){if(!this['_footnotesDefinitions'])return!0x1;const _0x296c3b=this['_footnotes'][_0x483f2e];let _0x3eca2b;return _0x3eca2b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x296c3b,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x483f2e+0x1}):String(_0x483f2e+0x1),_0x296c3b['reference']['getAttribute']('footnoteCounter')!=_0x3eca2b&&(_0xb1ce6c['setAttribute']('footnoteCounter',_0x3eca2b,_0x296c3b['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x17d2cf){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x202ab2,_0x3df971){if(_0x202ab2['length']!==_0x3df971['length'])return!0x1;for(let _0x315fdb=0x0;_0x315fdb<_0x202ab2['length'];_0x315fdb++)if(_0x202ab2[_0x315fdb]!==_0x3df971[_0x315fdb])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x425d35=>_0x425d35['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x45dffc=>_0x45dffc['getAttribute']('footnoteId'))))return!0x1;let _0x1ae08e=!0x1;for(let _0xa60fd9=0x0;_0xa60fd9<this['_footnotes']['length'];_0xa60fd9++){const _0x107045=this['_footnotes'][_0xa60fd9],_0x38fa90=_0x17d2cf['createPositionBefore'](_0x107045['definition']),_0x30d11c=_0x17d2cf['createPositionAt'](this['_footnotesDefinitions'],_0xa60fd9);_0x38fa90['isEqual'](_0x30d11c)||(_0x17d2cf['move'](_0x17d2cf['createRangeOn'](_0x107045['definition']),_0x30d11c),_0x1ae08e=!0x0);}return _0x1ae08e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3bf5c9){if(!this['_footnotes']['length'])return!0x1;const {model:_0x85702b}=this['editor'];let _0x579e9b=!0x1;for(let _0x3c8bbc=0x0;_0x3c8bbc<this['_footnotes']['length']-0x1;_0x3c8bbc++){const _0x589e19=this['_footnotes'][_0x3c8bbc],_0x2ef9eb=this['_footnotes'][_0x3c8bbc+0x1],_0x3d35=_0x85702b['createPositionBefore'](_0x589e19['reference']),_0xda5a15=_0x85702b['createPositionBefore'](_0x2ef9eb['reference']);'after'===_0x3d35['compareWith'](_0xda5a15)&&(this['_handleMovedFootnoteReference'](_0x3bf5c9,_0x589e19['reference']),_0x3c8bbc=-0x1,_0x579e9b=!0x0);}return _0x579e9b;}}function _(_0x2bdb1b,_0x56b89a,_0x21a33b){if(_0x21a33b['childCount'])return!0x1;const _0x4a9e96=_0x56b89a?'paragraph':'footnoteInlineContent';return _0x2bdb1b['insert'](_0x2bdb1b['createElement'](_0x4a9e96),_0x21a33b),!0x0;}function I(_0x3a4b3e,_0x1a5c19,_0x1ebe9b){if(0x0===_0x1a5c19['length'])return 0x0;const _0x25c7fb=_0x3a4b3e['createPositionBefore'](_0x1ebe9b);for(let _0x46c9b0=0x0;_0x46c9b0<_0x1a5c19['length'];_0x46c9b0++){const _0x7e27af=_0x1a5c19[_0x46c9b0],_0x4fa481=_0x3a4b3e['createPositionBefore'](_0x7e27af['reference']);if('before'===_0x25c7fb['compareWith'](_0x4fa481))return _0x46c9b0;}const _0x1ef092=_0x1ebe9b['root'];let _0x2ef27e=-0x1;for(let _0x700080=_0x1a5c19['length']-0x1;_0x700080>=0x0;_0x700080--)if(_0x1a5c19[_0x700080]['reference']['root']===_0x1ef092){_0x2ef27e=_0x700080;break;}if(-0x1!==_0x2ef27e)return _0x2ef27e+0x1;const _0x4c8473=_0x3a4b3e['document']['getRootNames'](),_0x327a06=_0x4c8473['indexOf'](_0x1ef092['rootName']),_0x16ae16=_0x4c8473[_0x327a06+0x1];if(_0x16ae16){for(let _0x486c47=0x0;_0x486c47<_0x1a5c19['length'];_0x486c47++)if(_0x1a5c19[_0x486c47]['reference']['root']['rootName']===_0x16ae16)return _0x486c47;}return _0x1a5c19['length'];}class m extends _0x51142c{['refresh'](){const _0x17cbf6=this['editor']['model']['document']['selection'],_0x4e29b0=this['_getPositionToInsertFootnote'](_0x17cbf6);this['isEnabled']=!!_0x4e29b0;}['execute'](_0x3920c8){const {editor:_0x245b63}=this,{model:_0x15fd4e}=_0x245b63,{selection:_0x2edde2}=_0x15fd4e['document'],_0x6a1481=this['_getPositionToInsertFootnote'](_0x2edde2);if(!_0x6a1481)return;const _0x4648a7=_0x245b63['plugins']['get']('FootnotesEditing'),_0x1cdc1a=_0x3920c8?.['footnoteId']??_0x58008f();!function(_0x5f5031){return'string'==typeof _0x5f5031&&_0x5f5031['length']>0x0&&!/\s/['test'](_0x5f5031)&&!/^\d/['test'](_0x5f5031);}(_0x1cdc1a)?_0xb13374('insert-footnote-command-executed-with-invalid-id'):(_0x15fd4e['change'](_0x3e275c=>{const _0x5eaa18=_0x3e275c['createElement']('footnoteRef',{'footnoteId':_0x1cdc1a});_0x15fd4e['insertObject'](_0x5eaa18,_0x6a1481,null);}),_0x4648a7['_moveSelectionToFootnoteDefinition'](_0x1cdc1a));}['_getPositionToInsertFootnote'](_0x691f59){const {model:_0x35184c}=this['editor'],{schema:_0xe9e36}=_0x35184c,_0x410b6c=_0x691f59['getFirstRange']();for(const _0x491469 of _0x410b6c['getItems']())if(_0xe9e36['isBlock'](_0x491469)||_0xe9e36['isObject'](_0x491469))return null;const _0x13dbec=_0x410b6c['end'];return _0xe9e36['checkChild'](_0x13dbec,'footnoteRef')?_0x13dbec:null;}}class r extends _0x275ec9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31db5a}=this;_0x31db5a['config']['define']('footnotes.multiBlock',!0x0),_0x31db5a['commands']['add']('insertFootnote',new m(_0x31db5a)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd6f0ed){const _0x3ef009=_0x157952([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]),_0x18599e=0x47a28506,_0x4ba0e4=0x47a5fd26^_0x18599e,_0x18a77d=window[_0x157952([0x44,0x61,0x74,0x65])][_0x157952([0x6e,0x6f,0x77])](),_0x585d2f=_0xd6f0ed[_0x157952([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b293e=new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41d487=>{_0x585d2f[_0x157952([0x6f,0x6e,0x63,0x65])](_0x157952([0x72,0x65,0x61,0x64,0x79]),_0x41d487);}),_0x4825b4={[_0x157952([0x6b,0x74,0x79])]:_0x157952([0x45,0x43]),[_0x157952([0x75,0x73,0x65])]:_0x157952([0x73,0x69,0x67]),[_0x157952([0x63,0x72,0x76])]:_0x157952([0x50,0x2d,0x32,0x35,0x36]),[_0x157952([0x78])]:_0x157952([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]),[_0x157952([0x79])]:_0x157952([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]),[_0x157952([0x61,0x6c,0x67])]:_0x157952([0x45,0x53,0x32,0x35,0x36])},_0xec11d7=_0x585d2f[_0x157952([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x157952([0x67,0x65,0x74])](_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5ae9cb(){let _0xf2272e,_0x313f16=null,_0x56664e=null;try{if(_0xec11d7==_0x157952([0x47,0x50,0x4c]))return _0x157952([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf2272e=_0xf4ba59(),!_0xf2272e)return _0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf2272e[_0x157952([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56664e=_0x3889b3(_0xf2272e[_0x157952([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf2272e[_0x157952([0x6a,0x74,0x69])])),await _0x30ede8()?_0x105243()?_0x4223b5()?_0x157952([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a600e()?(_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157952([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x313f16=_0x1067a7(_0x157952([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x157952([0x74,0x72,0x69,0x61,0x6c])&&(_0x313f16=_0x1067a7(_0x157952([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x53bbfc()):_0x157952([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x157952([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x157952([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4223b5(){const _0x1ff9df=[_0x157952([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x157952([0x74,0x72,0x69,0x61,0x6c])][_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a77d/0x3e8:0xe10*_0x4ba0e4;return _0xf2272e[_0x157952([0x65,0x78,0x70])]<_0x1ff9df;}function _0x105243(){const _0x35b518=_0xf2272e[_0x157952([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35b518&&(!!_0x35b518[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x2a]))||!!_0x35b518[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x46,0x4f,0x4f])));}function _0x4a600e(){const _0x37b3e0=_0xf2272e[_0x157952([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b3e0||0x0==_0x37b3e0[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3bc3cb}=new URL(window[_0x157952([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x37b3e0[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc3cb))return!0x0;const _0x42b5ec=_0x3bc3cb[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e]));return _0x37b3e0[_0x157952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3612e3=>_0x3612e3[_0x157952([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x157952([0x2a])))[_0x157952([0x6d,0x61,0x70])](_0x40c9d2=>_0x40c9d2[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e])))[_0x157952([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x426a84=>_0x426a84[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42b5ec[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157952([0x6d,0x61,0x70])](_0x531ec4=>Array(_0x42b5ec[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x531ec4[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x157952([0x66,0x69,0x6c,0x6c])](_0x531ec4[0x0]===_0x157952([0x2a])?_0x157952([0x2a]):'')[_0x157952([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x531ec4))[_0x157952([0x73,0x6f,0x6d,0x65])](_0xbec61d=>_0x42b5ec[_0x157952([0x65,0x76,0x65,0x72,0x79])]((_0x5de584,_0x118e8e)=>_0xbec61d[_0x118e8e]===_0x5de584||_0xbec61d[_0x118e8e]===_0x157952([0x2a])));}function _0x53bbfc(){return _0x313f16&&_0x56664e?new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28112a,_0x52a1e5)=>{_0x313f16[_0x157952([0x74,0x68,0x65,0x6e])](_0x28112a,_0x52a1e5),_0x56664e[_0x157952([0x74,0x68,0x65,0x6e])](_0x3f5bfb=>{_0x3f5bfb!=_0x157952([0x56,0x61,0x6c,0x69,0x64])&&_0x28112a(_0x3f5bfb);},_0x52a1e5);}):_0x313f16||_0x56664e||_0x157952([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3889b3(_0x3c3945,_0x114a89){return new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51383c=>{if(_0x2a9e40())return _0x51383c(_0x157952([0x56,0x61,0x6c,0x69,0x64]));_0xec607d(),_0x585d2f[_0x157952([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x48d4cd=!0x1;const _0x34e9d5=_0x58008f();function _0x200413(_0x2dd595){return!!_0x2dd595&&(typeof _0x2dd595===_0x157952([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2dd595===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2dd595[_0x157952([0x74,0x68,0x65,0x6e])]===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2dd595[_0x157952([0x63,0x61,0x74,0x63,0x68])]===_0x157952([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x8cd806(_0x40f363){_0x1050b9(_0x40f363)[_0x157952([0x74,0x68,0x65,0x6e])](_0x16eea9=>{if(!_0x16eea9||_0x16eea9[_0x157952([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x157952([0x6f,0x6b]))return _0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1335ea(_0xfefe5d(_0x34e9d5+_0x114a89))!=_0x16eea9[_0x157952([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x157952([0x56,0x61,0x6c,0x69,0x64]);})[_0x157952([0x74,0x68,0x65,0x6e])](_0x5796b3=>(_0x594791(),_0x5796b3),()=>{const _0x438551=_0x160d8d();return null==_0x438551?(_0x594791(),_0x157952([0x56,0x61,0x6c,0x69,0x64])):_0x157952(_0x18a77d-_0x438551>(0x63ae0106^_0x18599e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x157952([0x74,0x68,0x65,0x6e])](_0x51383c)[_0x157952([0x63,0x61,0x74,0x63,0x68])](()=>{_0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e58c6=0x47946b86^_0x18599e;function _0x594791(){const _0x5752eb=_0x157952([0x6c,0x6c,0x63,0x74,0x2d])+_0x1335ea(_0xfefe5d(_0x3c3945)),_0x3461ad=_0x372215(_0x1335ea(window[_0x157952([0x4d,0x61,0x74,0x68])][_0x157952([0x63,0x65,0x69,0x6c])](_0x18a77d/_0x5e58c6)));window[_0x157952([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157952([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5752eb,_0x3461ad);}function _0x160d8d(){const _0x1663e5=_0x157952([0x6c,0x6c,0x63,0x74,0x2d])+_0x1335ea(_0xfefe5d(_0x3c3945)),_0x53dffd=window[_0x157952([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x157952([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1663e5);return _0x53dffd?window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x372215(_0x53dffd),0x10)*_0x5e58c6:null;}function _0x1050b9(_0xc5ad1){return new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x276caf,_0x1337d9)=>{_0xc5ad1[_0x157952([0x74,0x68,0x65,0x6e])](_0x276caf,_0x1337d9),window[_0x157952([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1337d9,0x47a351c6^_0x18599e);});}}_0x585d2f[_0x157952([0x6f,0x6e])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a44c8,_0x2abbfe)=>{if(_0x2abbfe[0x0]!=_0x3c3945)return _0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2abbfe[0x1]={..._0x2abbfe[0x1],[_0x157952([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34e9d5};},{[_0x157952([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157952([0x68,0x69,0x67,0x68])}),_0x585d2f[_0x157952([0x6f,0x6e])](_0x157952([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x115985=>{_0x200413(_0x115985[_0x157952([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x48d4cd=!0x0,_0x8cd806(_0x115985[_0x157952([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x157952([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x157952([0x6c,0x6f,0x77])}),_0x2b293e[_0x157952([0x74,0x68,0x65,0x6e])](()=>{_0x48d4cd||_0x51383c(_0x157952([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a9e40(){return _0x585d2f[_0x157952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157952([0x76,0x69,0x65,0x77])][_0x157952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x157952([0x61,0x75,0x74,0x6f]);}function _0xec607d(){_0x585d2f[_0x157952([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x157952([0x76,0x69,0x65,0x77])][_0x157952([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x157952([0x61,0x75,0x74,0x6f]);}}function _0x1067a7(_0x4ccf34){const _0x113d0e=[new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446d22=>setTimeout(_0x446d22,0x47abbbca^_0x18599e)),_0x2b293e[_0x157952([0x74,0x68,0x65,0x6e])](()=>new window[(_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b0d23=>{let _0x5a8cc1=0x0;_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x6f,0x6e])](_0x157952([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ddefa,_0x5f0782)=>{_0x5f0782[0x0][_0x157952([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a8cc1++,_0x5a8cc1==(0x47a284fe^_0x18599e)&&(_0x4b0d23(),_0x3ddefa[_0x157952([0x6f,0x66,0x66])]());});}))];return window[_0x157952([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x157952([0x72,0x61,0x63,0x65])](_0x113d0e)[_0x157952([0x74,0x68,0x65,0x6e])](()=>_0x4ccf34);}async function _0x510eac(){await _0x2b293e,_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d4393,_0x585d2f[_0x157952([0x6d,0x6f,0x64,0x65,0x6c])][_0x157952([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d4393,_0x585d2f[_0x157952([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x157952([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b2d8e(_0x54fb42){const _0x324df6=_0x59e430();_0x585d2f[_0x324df6]=_0x157952([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54fb42,_0x54fb42!=_0x157952([0x56,0x61,0x6c,0x69,0x64])&&_0x510eac();}function _0x59e430(){const _0x163a36=window[_0x157952([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x157952([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x157952([0x6e,0x6f,0x77])]())[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x157952([0x2e]),'');let _0x2290ec=_0x157952([0x75]);for(let _0x1d489d=0x0;_0x1d489d<_0x163a36[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d489d+=0x2){let _0x4b718c=window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x163a36[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d489d,_0x1d489d+0x2));_0x4b718c>=_0x3ef009[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4b718c-=_0x3ef009[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2290ec+=_0x3ef009[_0x4b718c];}return _0x2290ec;}function _0xf4ba59(){const _0x1e550d=_0xec11d7[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e]));if(0x3!=_0x1e550d[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xf2e693(_0x1e550d[0x1]);function _0xf2e693(_0x4483ba){const _0x42d225=_0x402c4f(_0x4483ba);return _0x42d225&&_0x365e45()?_0x42d225:null;function _0x365e45(){const _0x51ad50=_0x42d225[_0x157952([0x6a,0x74,0x69])],_0x46aec6=window[_0x157952([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51ad50[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51ad50[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5777d6={..._0x42d225,[_0x157952([0x6a,0x74,0x69])]:_0x51ad50[_0x157952([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51ad50[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5777d6[_0x157952([0x76,0x63])],_0xfefe5d(_0x5777d6)==_0x46aec6;}}}async function _0x30ede8(){let _0xf32f60=!0x0;try{const _0x4bb56d=_0xec11d7[_0x157952([0x73,0x70,0x6c,0x69,0x74])](_0x157952([0x2e])),[_0x5816bb,_0xba0f46,_0x596765]=_0x4bb56d;return _0x530893(_0x5816bb),await _0x46c106(_0x5816bb,_0xba0f46,_0x596765),_0xf32f60;}catch{return!0x1;}function _0x530893(_0x501a2f){const _0x311379=_0x402c4f(_0x501a2f);_0x311379&&_0x311379[_0x157952([0x61,0x6c,0x67])]==_0x157952([0x45,0x53,0x32,0x35,0x36])||(_0xf32f60=!0x1);}async function _0x46c106(_0xb308c0,_0x53293d,_0x222a32){const _0x38ad67=window[_0x157952([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x157952([0x66,0x72,0x6f,0x6d])](_0x19f13a(_0x222a32),_0x44b9eb=>_0x44b9eb[_0x157952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xec55f5=new window[(_0x157952([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x157952([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb308c0+_0x157952([0x2e])+_0x53293d),_0xdf881f=window[_0x157952([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x157952([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdf881f)return;const _0x4fdba0=await _0xdf881f[_0x157952([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x157952([0x6a,0x77,0x6b]),_0x4825b4,{[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x45,0x43,0x44,0x53,0x41]),[_0x157952([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x157952([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x157952([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdf881f[_0x157952([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x45,0x43,0x44,0x53,0x41]),[_0x157952([0x68,0x61,0x73,0x68])]:{[_0x157952([0x6e,0x61,0x6d,0x65])]:_0x157952([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fdba0,_0x38ad67,_0xec55f5)||(_0xf32f60=!0x1);}}function _0x402c4f(_0x198036){return _0x198036[_0x157952([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x157952([0x65,0x79]))?JSON[_0x157952([0x70,0x61,0x72,0x73,0x65])](_0x19f13a(_0x198036)):null;}function _0x19f13a(_0x1f0834){return window[_0x157952([0x61,0x74,0x6f,0x62])](_0x1f0834[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x157952([0x2b]))[_0x157952([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x157952([0x2f])));}function _0xfefe5d(_0x3611c2){let _0x106e5f=0x1505;function _0x33ad64(_0x570888){for(let _0x4f62ba=0x0;_0x4f62ba<_0x570888[_0x157952([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f62ba++){const _0x4babf2=_0x570888[_0x157952([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f62ba);_0x106e5f=(_0x106e5f<<0x5)+_0x106e5f+_0x4babf2,_0x106e5f&=_0x106e5f;}}function _0x3b755f(_0x1c3cce){Array[_0x157952([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c3cce)?_0x1c3cce[_0x157952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b755f):_0x1c3cce&&typeof _0x1c3cce==_0x157952([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x157952([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c3cce)[_0x157952([0x73,0x6f,0x72,0x74])]()[_0x157952([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9b3a64,_0xd05d8])=>{_0x33ad64(_0x9b3a64),_0x3b755f(_0xd05d8);}):_0x33ad64(window[_0x157952([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c3cce));}return _0x3b755f(_0x3611c2),_0x106e5f>>>0x0;}function _0x1335ea(_0x2eee51){return _0x2eee51[_0x157952([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x157952([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x157952([0x30]));}function _0x372215(_0x1ffb80){return _0x1ffb80[_0x157952([0x73,0x70,0x6c,0x69,0x74])]('')[_0x157952([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x157952([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d4393(){}function _0x157952(_0x150717){return _0x150717['map'](_0x324b72=>String['fromCharCode'](_0x324b72))['join']('');}_0x4b2d8e(await _0x5ae9cb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x38231c){const {plugins:_0x203fe5,editing:_0x242d07,model:_0x24b118}=this['editor'],_0x5411f1=_0x203fe5['get'](c)['getFootnote'](_0x38231c);return!!_0x5411f1&&(_0x24b118['change'](_0x3fc5af=>{_0x3fc5af['setSelection'](_0x3fc5af['createPositionAt'](_0x5411f1['definition'],'end'));}),_0x242d07['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x411986){const {plugins:_0x53c48e,editing:_0x516a31,model:_0x573402}=this['editor'],_0x491099=_0x53c48e['get'](c)['getFootnote'](_0x411986);return!!_0x491099&&(_0x573402['change'](_0x277b20=>{_0x277b20['setSelection'](_0x491099['reference'],'on');}),_0x516a31['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1abee3}=this['editor']['model'],_0x24bc29=this['editor']['config']['get']('footnotes.multiBlock');_0x1abee3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1abee3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1abee3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x24bc29?_0x1abee3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1abee3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1abee3['addChildCheck'](_0x2669ad=>{for(const _0x5ea51f of _0x2669ad)if('footnoteDefinition'===_0x5ea51f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43ec70}=this,{conversion:_0x37e4ac,editing:_0x77a1d8}=_0x43ec70,{t:t}=_0x43ec70['locale'];_0x37e4ac['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xaab1ce,{writer:_0x22ab02,consumable:_0xbca81e})=>{const _0x52b59a=_0xaab1ce['getChild'](0x0);if(!_0x52b59a||!_0x52b59a['is']('element','a'))return null;const _0x4b7649=_0x52b59a['getAttribute']('href')||'';if(!_0x4b7649['startsWith']('#'))return null;const _0x1fe165=_0x4b7649['replace'](/^#/,'');if(!_0x1fe165)return null;_0xbca81e['consume'](_0x52b59a,{'name':!0x0,'attributes':['href']});for(const {item:_0x1912e6}of _0x77a1d8['view']['createRangeIn'](_0x52b59a))_0x1912e6['is']('$textProxy')?_0xbca81e['consume'](_0x1912e6['textNode'],{'name':!0x0}):_0x1912e6['is']('element')&&_0xbca81e['consume'](_0x1912e6,{'name':!0x0});return _0x22ab02['createElement']('footnoteRef',{'footnoteId':_0x1fe165});}}),_0x37e4ac['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcdea1f,{writer:_0x4084d0})=>D(_0xcdea1f,_0x4084d0)}),_0x37e4ac['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x32797d,{writer:_0x2fc648})=>{const _0x1b7b08=_0x32797d['getAttribute']('footnoteCounter');return _0x3f947e(D(_0x32797d,_0x2fc648),_0x2fc648,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1b7b08)});}});}['_defineDefinitionsConverters'](){const {editor:_0x481ae1}=this,{t:t}=_0x481ae1['locale'],{conversion:_0x409fb1}=_0x481ae1;_0x409fb1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x409fb1['for']('upcast')['add'](_0x2e6df8=>{_0x2e6df8['on']('element:ol',(_0x49321a,_0x3aa126,_0x3a9706)=>{const _0x1289f4=_0x3aa126['viewItem'];if(!_0x1289f4['hasClass']('footnotes-list')||!_0x3aa126['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3a9706['consumable']['consume'](_0x1289f4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28ebb0,modelCursor:_0x4f8a50}=_0x3a9706['convertChildren'](_0x3aa126['viewItem'],_0x3aa126['modelCursor']);_0x3aa126['modelRange']=_0x28ebb0,_0x3aa126['modelCursor']=_0x4f8a50;}),_0x2e6df8['on']('element:hr',(_0x4b5daf,_0x13e565,_0x50aab6)=>{const _0x3c6ee4=_0x13e565['viewItem'];_0x3c6ee4['hasClass']('footnotes-divider')&&_0x13e565['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x50aab6['consumable']['consume'](_0x3c6ee4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x409fb1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x193f11,{writer:_0x2adbba})=>v(_0x2adbba)}),_0x409fb1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e1680,{writer:_0x40faaa})=>{const _0x466f8c=v(_0x40faaa,{'data-footnotes-list-label':t('Footnotes')}),_0x339e52=_0x3f947e(_0x466f8c,_0x40faaa,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x40faaa['setCustomProperty']('footnotesDefinitions',!0x0,_0x339e52),_0x339e52;}});}['_defineDefinitionConverters'](){const {editor:_0x350d25}=this,{conversion:_0x4ba8bf,locale:_0x132f62}=_0x350d25,_0x2624ad=_0x350d25['config']['get']('footnotes.multiBlock');_0x4ba8bf['for']('upcast')['add'](_0x52afdc=>{_0x52afdc['on']('element:li',(_0x591f01,_0x25fb56,_0xb301bc)=>{const _0x30f7de=_0x25fb56['viewItem'];if(!_0x30f7de['hasClass']('footnote-definition')||!_0x30f7de['getAttribute']('id'))return;const _0x256e23=_0x30f7de['parent'];if(!_0x256e23['is']('element','ol')||!_0x256e23['hasClass']('footnotes-list'))return;if(!_0xb301bc['consumable']['test'](_0x30f7de,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2611bc=_0xb301bc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x30f7de['getAttribute']('id')});if(!_0xb301bc['safeInsert'](_0x2611bc,_0x25fb56['modelCursor']))return;_0xb301bc['consumable']['consume'](_0x30f7de,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1c7914=Array['from'](_0x30f7de['getChildren']())['find'](_0xf826f4=>_0xf826f4['is']('element')&&_0xf826f4['hasClass']('footnote-content'));for(const _0x3bb19e of _0x30f7de['getChildren']())_0x3bb19e['is']('element')&&(_0xb301bc['consumable']['consume'](_0x3bb19e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xb301bc['consumable']['consume'](_0x3bb19e,{'name':!0x0,'classes':'footnote-content'}));if(_0x1c7914){if(_0x2624ad)_0xb301bc['convertChildren'](_0x1c7914,_0x2611bc);else{const _0x3879d5=_0xb301bc['writer']['createElement']('footnoteInlineContent');_0xb301bc['writer']['insert'](_0x3879d5,_0x2611bc),_0xb301bc['convertChildren'](_0x1c7914,_0x3879d5);}}_0xb301bc['updateConversionResult'](_0x2611bc,_0x25fb56);});}),_0x4ba8bf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4277fb,{writer:_0x502d60})=>b(_0x4277fb,_0x502d60,_0x132f62,{'dataPipeline':!0x0})}),_0x4ba8bf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x28dd68,{writer:_0x4274e2})=>b(_0x28dd68,_0x4274e2,_0x132f62)});}['_defineBogusParagraphConverters'](){const {editor:_0x56036b}=this,{conversion:_0x37ccb1}=_0x56036b;_0x56036b['config']['get']('footnotes.multiBlock')?(_0x37ccb1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x37ccb1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x56036b['model']['document'],'change:data',()=>{!function(_0x31f43a,_0x328e19){const _0x51d1c7=_0x31f43a['document']['differ'],_0x245498=new Set();for(const _0x1aca63 of _0x51d1c7['getChanges']()){const _0x5161f3='attribute'==_0x1aca63['type']?_0x1aca63['range']['start']['parent']:_0x1aca63['position']['parent'];_0x5161f3['is']('element','footnoteDefinition')&&_0x245498['add'](_0x5161f3);}for(const _0x2bbd2c of _0x245498['values']()){const _0x198bde=Array['from'](_0x2bbd2c['getChildren']())['filter'](_0x59bc7a=>g(_0x59bc7a,_0x328e19['mapper']));for(const _0x5e409e of _0x198bde)_0x328e19['reconvertItem'](_0x5e409e);}}(_0x56036b['model'],_0x56036b['editing']);})):(_0x37ccb1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x37ccb1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x453738,{writer:_0x5bb91e})=>{const _0x3aad51=_0x5bb91e['createContainerElement']('span');return _0x5bb91e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3aad51),_0x3aad51;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb9466}=this,{editing:_0x4ac79b,t:t}=_0xb9466,_0x562cb6=_0xb9466['model']['document']['selection'];_0xb9466['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb9466['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4ac79b['view']['document'],'enter',(_0x2fcbdf,_0x45d2ab)=>{const _0x199416=function(_0x5dfe8c){const _0x593eb4=_0x5dfe8c['getSelectedElement']();if(_0x593eb4?.['is']('element','footnoteRef'))return _0x593eb4;return null;}(_0x562cb6);if(_0x199416){const _0x4586fc=_0x199416['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4586fc),_0x45d2ab['preventDefault'](),_0x2fcbdf['stop']();}},{'context':_0x3f422d});}['_defineClickHandlers'](){const {editor:_0x547228}=this,{editing:_0x1f3d34}=_0x547228;_0x547228['editing']['view']['addObserver'](_0x4c9082),_0x547228['editing']['view']['addObserver'](_0x383a16);let _0x100293=!0x1;this['listenTo'](_0x1f3d34['view']['document'],'pointerdown',(_0x4eb748,_0x2ee13f)=>{const {target:_0xf2dca5}=_0x2ee13f,_0x477edd=_0x1f3d34['view']['document']['selection'];_0x100293=!!(_0xf2dca5?.['is']('element','a')&&_0xf2dca5['parent']?.['is']('element','sup')&&_0xf2dca5['parent']['hasClass']('footnote'))&&_0x477edd['getSelectedElement']()===_0xf2dca5['parent'];},{'priority':'high'}),this['listenTo'](_0x1f3d34['view']['document'],'click',(_0x299612,_0x1c62c3)=>{const {target:_0x108b70}=_0x1c62c3;if(!_0x108b70?.['is']('element','a'))return;if(_0x108b70['parent']?.['is']('element','sup')&&_0x108b70['parent']['hasClass']('footnote')&&!_0x100293)return void _0x1c62c3['preventDefault']();let _0x7e4f1e=_0x108b70['getAttribute']('href');if(!_0x7e4f1e?.['startsWith']('#'))return;_0x7e4f1e=_0x7e4f1e['slice'](0x1);let _0x4cc834=!0x1;(_0x7e4f1e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x7e4f1e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x7e4f1e))&&(_0x4cc834=!0x0),_0x4cc834&&(_0x1c62c3['preventDefault'](),_0x299612['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x75ebb3}={}){return(_0x7ce398,{writer:_0x43bbc4})=>{if(!p(_0x7ce398))return null;if(!_0x75ebb3)return _0x43bbc4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x56f12a=_0x43bbc4['createContainerElement']('p');return _0x43bbc4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x56f12a),_0x56f12a;};}function p(_0x5dce32){const {parent:_0xb7bf2a}=_0x5dce32;if(!_0xb7bf2a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xb7bf2a['childCount'])return!0x1;for(const _0x127422 of _0x5dce32['getAttributeKeys']())if(!_0x127422['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x127422)return!0x1;return!0x0;}function g(_0x1c64d4,_0x359ab0){if(!_0x1c64d4['is']('element','paragraph'))return!0x1;const _0x11f7af=_0x359ab0['toViewElement'](_0x1c64d4);return!!_0x11f7af&&p(_0x1c64d4)!==_0x11f7af['is']('element','span');}function J(_0x33f50b){return _0x3f422d(_0x33f50b)&&_0x33f50b['is']('containerElement')&&!!_0x33f50b['getCustomProperty']('footnotesDefinitions');}function v(_0x5eb16b,_0x407423={}){const _0x53773c=_0x5eb16b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x10f05d=_0x5eb16b['createContainerElement']('ol',{'class':'footnotes-list'},_0x5eb16b['createSlot']());return _0x5eb16b['createContainerElement']('div',{'class':'footnotes',..._0x407423},[_0x53773c,_0x10f05d]);}function D(_0x1e441e,_0x3a10f4){const _0x2ba674=_0x1e441e['getAttribute']('footnoteId'),_0x2e6eaf=_0x1e441e['getAttribute']('footnoteCounter'),_0xdb6812=_0x3a10f4['createUIElement']('a',{'href':'#'+_0x2ba674},function(_0x52a697){const _0x3e6605=this['toDomElement'](_0x52a697);return _0x3e6605['textContent']=_0x2e6eaf,_0x3e6605;}),_0x33a638=_0x3a10f4['createContainerElement']('sup',{'id':'ref-'+_0x2ba674,'class':'footnote'},[_0xdb6812]);return _0x33a638['getFillerOffset']=()=>null,_0x33a638;}function b(_0x11f26c,_0x5ec437,_0x14a821,{dataPipeline:_0x4a510e}={}){const {t:t}=_0x14a821,_0x137e41=_0x11f26c['getAttribute']('footnoteId'),_0x42b4a8=_0x5ec437['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x137e41},function(_0x2cd8f4){const _0x1c26dd=this['toDomElement'](_0x2cd8f4);return _0x1c26dd['innerText']='^',_0x1c26dd;}),_0x37e470=_0x4a510e?_0x5ec437['createContainerElement']('div',{'class':'footnote-content'}):_0x5ef579(_0x5ec437['createEditableElement']('div',{'class':'footnote-content'}),_0x5ec437,{'label':t('Footnote\x20content.')});return _0x5ec437['insert'](_0x5ec437['createPositionAt'](_0x37e470,0x0),_0x5ec437['createSlot']()),_0x5ec437['createContainerElement']('li',{'class':'footnote-definition','id':_0x137e41},[_0x42b4a8,_0x37e470]);}class e extends _0x275ec9{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x50914d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x18d151}=this,{plugins:_0x154398,model:_0x2ad75b}=_0x18d151,_0x43ecc7=_0x154398['get'](_0x50914d),_0x4a5808=_0x154398['get'](c);this['listenTo'](_0x43ecc7,'outputTransformation',(_0x57c6d1,_0xc6c179)=>{const _0x3880c2=f(_0x2ad75b['createRangeIn'](_0xc6c179['content']));if(!_0x3880c2['length'])return;const _0x5b3a5a=_0x4a5808['getFootnotes'](),_0x5166e3=_0x3880c2['reduce']((_0x56868c,_0x90ad7)=>{const _0x77c70d=_0x5b3a5a['find'](_0x1a06e7=>_0x1a06e7['id']===_0x90ad7);if(_0x77c70d){const _0x404b12=_0x18d151['data']['toView'](_0x77c70d['definition'],{'isClipboardPipeline':!0x0}),_0x740bca=_0x18d151['data']['htmlProcessor']['toData'](_0x404b12);_0x56868c[_0x77c70d['id']]=_0x740bca;}return _0x56868c;},Object['create'](null));_0xc6c179['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5166e3));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0xec79f}=this,{model:_0xd7c6af,plugins:_0x962d7f}=_0xec79f,{view:_0x1ab42e}=_0xec79f['editing'],_0x55beca=_0x962d7f['get'](_0x50914d),_0x59f2a8=_0x962d7f['get'](c);let _0x49091c=null;this['listenTo'](_0x1ab42e['document'],'clipboardInput',(_0x7d2011,_0x444bcd)=>{const _0x97b2c3=_0x444bcd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x49091c=_0x97b2c3?JSON['parse'](_0x97b2c3):null;}),this['listenTo'](_0x55beca,'contentInsertion',(_0x596a80,_0x28d461)=>{const _0x14719f=_0x28d461['sourceEditorId']===this['editor']['id'];_0x14719f&&'drop'===_0x28d461['method']||_0xd7c6af['change'](_0x28f1d2=>{let _0x2e4a17=_0x59f2a8['getFootnotesDefinitionsObjectElement']();const _0xbdbf82=!!_0x2e4a17&&Array['from'](_0xd7c6af['document']['selection']['getSelectedBlocks']())['includes'](_0x2e4a17);if(_0x2e4a17&&!_0xbdbf82&&function(_0x238dba,_0x97497a){const _0x29da0f=[];for(const {item:_0x74bf3a}of _0x238dba['createRangeIn'](_0x97497a))_0x74bf3a['is']('element','footnotesDefinitions')&&_0x29da0f['push'](_0x74bf3a);for(const _0x324479 of _0x29da0f)_0x238dba['remove'](_0x324479);}(_0x28f1d2,_0x28d461['content']),!_0x49091c)return;const {selection:_0x4b8367}=_0xd7c6af['document'],_0x1fa8c1=_0x4b8367['getFirstRange']()['root'];_0x2e4a17&&!_0xbdbf82||(_0x2e4a17=function(_0xef486d,_0x5a07fd){for(const {item:_0x1a3d21}of _0xef486d['createRangeIn'](_0x5a07fd))if(_0x1a3d21['is']('element','footnotesDefinitions'))return _0x1a3d21;return null;}(_0x28f1d2,_0x28d461['content']),_0x2e4a17||=_0x59f2a8['_insertEmptyFootnotesDefinitionsContainer'](_0x28f1d2,_0x1fa8c1));const _0x4590db=Array['from'](_0x4b8367['getRanges']())['flatMap'](f),_0x375ab5=function(_0x3dda8e,_0x44d0e4,_0x5b55c9){const _0x43f199=Object['create'](null);for(const {item:_0x13aec3}of _0x3dda8e['createRangeIn'](_0x44d0e4))if(_0x13aec3['is']('element','footnoteRef')){const _0x82ee8b=_0x13aec3['getAttribute']('footnoteId');if(!_0x5b55c9(_0x82ee8b))continue;_0x43f199[_0x82ee8b]||(_0x43f199[_0x82ee8b]=_0x58008f()),_0x3dda8e['setAttribute']('footnoteId',_0x43f199[_0x82ee8b],_0x13aec3);}return _0x43f199;}(_0x28f1d2,_0x28d461['content'],_0x2744a0=>{if(!_0x14719f)return!0x0;return!!_0x59f2a8['getFootnote'](_0x2744a0)&&!_0x4590db['includes'](_0x2744a0);});for(const [_0x5444ed,_0x4f4e9e]of Object['entries'](_0x49091c)){const _0x5c2784=_0x375ab5[_0x5444ed]||_0x5444ed,_0x16a9bd=_0x28f1d2['createElement']('footnoteDefinition',{'footnoteId':_0x5c2784}),_0x4bb807=_0xec79f['data']['htmlProcessor']['toView'](_0x4f4e9e),_0x2e73d2=_0xec79f['data']['toModel'](_0x4bb807,_0x16a9bd);_0x28f1d2['append'](_0x2e73d2,_0x16a9bd),_0x28f1d2['insert'](_0x16a9bd,_0x2e4a17,'end');}_0x49091c=null;});});}}function f(_0x48f7e2){const _0x56ff79=new Set();for(const {item:_0x4cd427}of _0x48f7e2)_0x4cd427['is']('element','footnoteRef')&&_0x56ff79['add'](_0x4cd427['getAttribute']('footnoteId'));return Array['from'](_0x56ff79);}class i extends _0x275ec9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8b2d7e}=this,{componentFactory:_0x12a2a2}=_0x8b2d7e['ui'];_0x12a2a2['add']('insertFootnote',x(_0x8b2d7e,_0x31cc2b)),_0x12a2a2['add']('menuBar:insertFootnote',x(_0x8b2d7e,_0x3825d0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x297f81=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x12fc95;for(const _0x586257 in _0x297f81){const _0x2a1f7a=_0x586257,_0x92debc=_0x297f81[_0x2a1f7a];if('footnotesLicenseKeyValid'==_0x92debc||'footnotesLicenseKeyInvalid'==_0x92debc||'footnotesLicenseKeyExpired'==_0x92debc||'footnotesLicenseKeyDomainLimit'==_0x92debc||'footnotesLicenseKeyNotAllowed'==_0x92debc||'footnotesLicenseKeyEvaluationLimit'==_0x92debc||'footnotesLicenseKeyTrialLimit'==_0x92debc||'footnotesLicenseKeyUsageLimit'==_0x92debc){delete _0x297f81[_0x2a1f7a],_0x12fc95=_0x92debc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x12fc95&&_0x297f81['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x12fc95&&_0x297f81['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x12fc95&&_0x297f81['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x12fc95&&_0x297f81['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x388827,_0x220a55){const _0x421c59=_0x388827['commands']['get']('insertFootnote');return _0x1fe37d=>{const {t:t}=_0x1fe37d,_0x20b138=new _0x220a55(_0x1fe37d),_0x57cfee=_0x20b138 instanceof _0x3825d0;return _0x20b138['bind']('isEnabled')['to'](_0x421c59,'isEnabled'),_0x20b138['set']({'label':t(_0x57cfee?'Footnote':'Insert\x20footnote'),'icon':_0x572da7,'tooltip':!0x0}),_0x20b138['on']('execute',()=>{_0x421c59['execute'](),_0x388827['editing']['view']['focus']();}),_0x20b138;};}class lt extends _0x275ec9{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x51142c{['refresh'](){const {editor:_0x15acab}=this,_0x2dcbca=_0x15acab['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2dcbca,this['value']=_0x2dcbca?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x3b514f}){const {editor:_0x591677}=this,_0x2f64f1=_0x591677['plugins']['get'](c),_0x561433=_0x2f64f1['getFootnotesDefinitionsObjectElement']();_0x561433&&Q['includes'](_0x3b514f)&&_0x591677['model']['change'](_0x2ccf63=>{_0x2ccf63['setAttribute']('footnotesListStyle',_0x3b514f,_0x561433),_0x2f64f1['_updateFootnotesCounters'](_0x2ccf63);});}}class C extends _0x51142c{['refresh'](){const {editor:_0x43905b}=this,_0x9bcf02=_0x43905b['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x9bcf02,this['value']=_0x9bcf02?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4d1f0a}){const {editor:_0x2afb25}=this,_0x358b10=_0x2afb25['plugins']['get'](c),_0x2f9b0d=_0x358b10['getFootnotesDefinitionsObjectElement']();_0x2f9b0d&&Number['isInteger'](_0x4d1f0a)&&_0x2afb25['model']['change'](_0x55d9d7=>{_0x55d9d7['setAttribute']('footnotesListStart',_0x4d1f0a,_0x2f9b0d),_0x358b10['_updateFootnotesCounters'](_0x55d9d7);});}}class P extends _0x275ec9{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x218ae1}=this;_0x218ae1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x218ae1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x218ae1['commands']['add']('footnotesStyle',new S(_0x218ae1)),_0x218ae1['commands']['add']('footnotesStart',new C(_0x218ae1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4c7de1}=this,{schema:_0x2629f5}=_0x4c7de1['model'];_0x2629f5['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5ed711}=this,{conversion:_0xcb5b50,model:_0x24873c}=_0x5ed711,{schema:_0x3e8f9a}=_0x24873c;_0xcb5b50['for']('upcast')['add'](_0x493bae=>{_0x493bae['on']('element:ol',(_0x27894e,_0x514761,_0x22f481)=>{const _0x98e5e=_0x514761['viewItem'],_0x1a69ee=_0x514761['modelCursor']?.['parent'];_0x98e5e['hasClass']('footnotes-list')&&_0x1a69ee?.['is']('element','footnotesDefinitions')&&(function(_0x285e36,_0x57ec24,_0x538980,_0x555b3c){if(!_0x555b3c['checkAttribute'](_0x57ec24,'footnotesListStart'))return;let _0x21e7d7=0x1;const _0x5dd109=_0x538980['consumable']['consume'](_0x285e36,{'attributes':'start'});if(_0x5dd109){const _0x46b2cd=Number['parseInt'](_0x285e36['getAttribute']('start'),0xa);Number['isNaN'](_0x46b2cd)||(_0x21e7d7=_0x46b2cd);}!_0x5dd109&&_0x57ec24['hasAttribute']('footnotesListStart')||_0x538980['writer']['setAttribute']('footnotesListStart',_0x21e7d7,_0x57ec24);}(_0x98e5e,_0x1a69ee,_0x22f481,_0x3e8f9a),function(_0x977925,_0x283d50,_0x3c4a6b,_0xc72c07){if(!_0xc72c07['checkAttribute'](_0x283d50,'footnotesListStyle'))return;let _0x2329c3='decimal',_0x443a47=!0x1;if(_0x3c4a6b['consumable']['consume'](_0x977925,{'attributes':'type'})){const _0x650ad3={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x977925['getAttribute']('type')];_0x650ad3&&(_0x2329c3=_0x650ad3),_0x443a47=!0x0;}_0x3c4a6b['consumable']['consume'](_0x977925,{'styles':'list-style-type'})&&(_0x2329c3=_0x977925['getStyle']('list-style-type'),_0x443a47=!0x0),!_0x443a47&&_0x283d50['hasAttribute']('footnotesListStyle')||_0x3c4a6b['writer']['setAttribute']('footnotesListStyle',_0x2329c3,_0x283d50);}(_0x98e5e,_0x1a69ee,_0x22f481,_0x3e8f9a));});}),_0xcb5b50['for']('downcast')['add'](_0x2a204d=>{_0x2a204d['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5578de,_0x1a32c5,_0x4c4fd1)=>{if(!_0x4c4fd1['consumable']['consume'](_0x1a32c5['item'],_0x5578de['name']))return;const _0x89a5d1=M(_0x1a32c5['item'],_0x4c4fd1['mapper']),{attributeNewValue:_0x461d64}=_0x1a32c5;null==_0x461d64||0x1===_0x461d64?_0x4c4fd1['writer']['removeAttribute']('start',_0x89a5d1):_0x4c4fd1['writer']['setAttribute']('start',String(_0x461d64),_0x89a5d1);}),_0x2a204d['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2f4894,_0x2646b1,_0x37f962)=>{if(!_0x37f962['consumable']['consume'](_0x2646b1['item'],_0x2f4894['name']))return;const _0x588b61=M(_0x2646b1['item'],_0x37f962['mapper']),{attributeNewValue:_0x51827e}=_0x2646b1;_0x51827e&&'decimal'!==_0x51827e?_0x37f962['writer']['setStyle']('list-style-type',_0x51827e,_0x588b61):_0x37f962['writer']['removeStyle']('list-style-type',_0x588b61);});});}['_definePostfixer'](){const {editor:_0x3399b6}=this,{model:_0x553a82}=_0x3399b6,_0xea86e2=_0x3399b6['plugins']['get'](c),_0xdf5dd8=this['_getDefaultListStyle'](),_0x465cb5=this['_getDefaultStartIndex']();_0x553a82['document']['registerPostFixer'](_0x4983bb=>{const _0x2fa3d3=_0x553a82['document']['differ']['getChanges']();let _0x2d5396=!0x1;for(const _0x576548 of _0x2fa3d3){if('insert'!==_0x576548['type']||'$text'===_0x576548['name'])continue;const _0x540506=_0x553a82['createRangeOn'](_0x576548['position']['nodeAfter']);for(const _0x41d570 of _0x540506['getItems']())_0x41d570['is']('element','footnotesDefinitions')&&(!_0x41d570['hasAttribute']('footnotesListStart')&&_0x553a82['schema']['checkAttribute'](_0x41d570,'footnotesListStart')&&(_0x4983bb['setAttribute']('footnotesListStart',_0x465cb5,_0x41d570),_0x2d5396=!0x0),!_0x41d570['hasAttribute']('footnotesListStyle')&&_0x553a82['schema']['checkAttribute'](_0x41d570,'footnotesListStyle')&&(_0x4983bb['setAttribute']('footnotesListStyle',_0xdf5dd8,_0x41d570),_0x2d5396=!0x0));}return _0x2d5396&&_0xea86e2['_updateFootnotesCounters'](_0x4983bb),_0x2d5396;});}['_defineFormatter'](){const {editor:_0x1b2b42}=this;_0x1b2b42['plugins']['get'](c)['setFootnoteFormatter'](_0xf8421=>this['_formatFootnoteListValue'](_0xf8421));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x169a75,value:_0x3efc16,digits:_0x1df469}){const _0x189394=_0x169a75['getAttribute']('footnotesListStyle'),_0x31452f=_0x169a75['getAttribute']('footnotesListStart'),_0x2a51de=Math['floor'](_0x3efc16)+(_0x31452f??0x1)-0x1;switch(_0x189394){case'decimal-leading-zero':return function(_0x32646d,_0x14c684){return String(_0x32646d)['padStart'](_0x14c684,'0');}(_0x2a51de,Math['max'](0x2,_0x1df469));case'lower-alpha':case'lower-latin':return N(_0x2a51de,!0x1);case'upper-alpha':case'upper-latin':return N(_0x2a51de,!0x0);case'lower-roman':return X(_0x2a51de,!0x1);case'upper-roman':return X(_0x2a51de,!0x0);default:return String(_0x2a51de);}}}function M(_0x327695,_0x128f4d){const _0x4cec66=_0x128f4d['toViewElement'](_0x327695);return Array['from'](_0x4cec66['getChildren']())['find'](_0x27b98d=>_0x27b98d['is']('element','ol')&&_0x27b98d['hasClass']('footnotes-list'));}function N(_0xdac96d,_0x2f7f2a){let _0x5f0669='',_0x5d74bb=_0xdac96d;for(;_0x5d74bb>0x0;){const _0x5bae2b=(_0x5d74bb-0x1)%0x1a;_0x5f0669=String['fromCharCode'](0x61+_0x5bae2b)+_0x5f0669,_0x5d74bb=Math['floor']((_0x5d74bb-0x1)/0x1a);}return _0x2f7f2a?_0x5f0669['toUpperCase']():_0x5f0669;}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(_0x34d9bb,_0x3d4389){let _0x20c680='',_0x49fe50=_0x34d9bb;for(const {value:_0x490910,numeral:_0x3cd07f}of V)for(;_0x49fe50>=_0x490910;)_0x20c680+=_0x3cd07f,_0x49fe50-=_0x490910;return _0x3d4389?_0x20c680:_0x20c680['toLowerCase']();}class H extends _0x4cb5bf{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x100044();['focusCycler'];constructor(_0x35514a,{styleButtonViews:_0x43f9f1,styleGridAriaLabel:_0x598e4c}){super(_0x35514a),(this['focusCycler']=new _0x49121a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x43f9f1,_0x598e4c),[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 _0x332ed4 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x332ed4['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4db2d1=_0x3d6332=>_0x3d6332['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4db2d1),this['keystrokes']['set']('arrowleft',_0x4db2d1),this['keystrokes']['set']('arrowup',_0x4db2d1),this['keystrokes']['set']('arrowdown',_0x4db2d1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2d7fc0,_0xa154d5){const _0x40826e=new _0x4cb5bf(this['locale']);return _0x40826e['children']=_0x40826e['createCollection'](),_0x40826e['children']['addMany'](_0x2d7fc0),_0x40826e['setTemplate']({'tag':'div','attributes':{'aria-label':_0xa154d5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40826e['children']}),_0x40826e['children']['delegate']('execute')['to'](this),_0x40826e['focus']=function(){for(const _0x58a1cc of this['children'])if(_0x58a1cc instanceof _0x31cc2b&&_0x58a1cc['isOn'])return void _0x58a1cc['focus']();this['children']['first']['focus']();},_0x40826e['focusTracker']=new ot(),_0x40826e['keystrokes']=new rt(),_0x40826e['render'](),_0x40826e['keystrokes']['listenTo'](_0x40826e['element']),this['children']['add'](_0x40826e),_0x40826e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xdc5879=this['_createStartIndexPropertyView'](),_0x435b94=[_0xdc5879],_0x3e4739=new st(this['locale'],_0x435b94);return _0x3e4739['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3e4739['buttonView']['bind']('isEnabled')['toMany'](_0x435b94,'isEnabled',(..._0x1c2573)=>_0x1c2573['some'](_0xdbc168=>_0xdbc168)),_0x3e4739['buttonView']['on']('change:isEnabled',(_0x3bc2bc,_0xe2bbd0,_0x1c955a)=>{_0x1c955a||(_0x3e4739['isCollapsed']=!0x0);}),this['children']['add'](_0x3e4739),[_0xdc5879,_0x3e4739];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5737d6=new it(this['locale'],et);return _0x5737d6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5737d6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5737d6['fieldView']['on']('input',()=>{const _0x5cca0b=_0x5737d6['fieldView']['element'],_0x19b2f2=_0x5cca0b['valueAsNumber'];Number['isNaN'](_0x19b2f2)?_0x5737d6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5cca0b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x19b2f2}):_0x5737d6['errorText']=t(_0x19b2f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5737d6;}}class j extends _0x275ec9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x628725,_0x4021c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c8dfe}=this,{componentFactory:_0x3efaa6}=_0x1c8dfe['ui'];_0x1c8dfe['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3efaa6['add']('footnotesStyle',function(_0x46de29){return _0x445595=>{const {t:t}=_0x445595,_0x4e4588=_0x46de29['commands']['get']('footnotesStyle'),_0x2a7f72=_0x4bebae(_0x445595),{buttonView:_0x21c797}=_0x2a7f72;return _0x2a7f72['class']='ck-footnotes-styles-dropdown',_0x2a7f72['bind']('isEnabled')['to'](_0x4e4588,'isEnabled'),_0x21c797['set']({'label':t('Footnotes\x20style'),'icon':_0x572da7,'tooltip':!0x0}),_0x2a7f72['once']('change:isOpen',()=>{const _0x1cff8a=function({editor:_0x273c2c,dropdownView:_0x8b72b3}){const {t:t}=_0x273c2c['locale'],_0x239e66=t('Footnotes\x20definitions\x20styles'),_0x4c60cf=function(_0x17c67b){const t=_0x17c67b['locale']['t'],_0x2bf07c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x56d51f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x256657},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x15d13e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2950a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x438409},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5b5f23}];return _0x2bf07c['map'](function(_0x1f5d1d){const _0x3cf858=_0x1f5d1d['locale'];return({label:_0xe4aab6,icon:_0x24669c,tooltip:_0x1ebd57,style:_0x49f9c9})=>{const _0x4f0a65=_0x1f5d1d['commands']['get']('footnotesStyle'),_0x543530=new _0x31cc2b(_0x3cf858);return _0x543530['set']({'label':_0xe4aab6,'icon':_0x24669c,'tooltip':_0x1ebd57}),_0x543530['bind']('isOn')['to'](_0x4f0a65,'value',_0x3641e9=>_0x3641e9===_0x49f9c9),_0x543530['bind']('isEnabled')['to'](_0x4f0a65,'isEnabled'),_0x543530['on']('execute',()=>{_0x1f5d1d['execute']('footnotesStyle',{'value':_0x49f9c9}),_0x1f5d1d['editing']['view']['focus']();}),_0x543530;};}(_0x17c67b));}(_0x273c2c),_0x4be4a5=new H(_0x273c2c['locale'],{'styleGridAriaLabel':_0x239e66,'styleButtonViews':_0x4c60cf});return _0x4be4a5['delegate']('execute')['to'](_0x8b72b3),_0x4be4a5['on']('footnotesListStart',(_0x26ee70,_0x2911fc)=>{_0x273c2c['execute']('footnotesStart',{'value':_0x2911fc['startIndex']});}),_0x4be4a5;}({'editor':_0x46de29,'dropdownView':_0x2a7f72});_0x2a7f72['panelView']['children']['add'](_0x1cff8a);}),_0x2a7f72;};}(_0x1c8dfe));}['afterInit'](){const {editor:_0x2646dd}=this,{t:t}=_0x2646dd['locale'],_0x39fa1b=_0x2646dd['plugins']['get'](_0x4021c6),{defaultPositions:_0x2dd9aa}=_0x113cf4;_0x39fa1b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2646dd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xe7e321=>{let _0x2e38b2=_0xe7e321['getFirstPosition']()?.['parent'];return _0x2e38b2?.['is']('$text')&&(_0x2e38b2=_0x2e38b2['parent']),_0x2e38b2?.['is']('element')?_0x2e38b2['findAncestor'](J):null;},'positions':[_0x2dd9aa['southArrowNorth'],_0x2dd9aa['southArrowNorthMiddleWest'],_0x2dd9aa['southArrowNorthMiddleEast'],_0x2dd9aa['southArrowNorthWest'],_0x2dd9aa['southArrowNorthEast'],_0x2dd9aa['northArrowSouth'],_0x2dd9aa['northArrowSouthMiddleWest'],_0x2dd9aa['northArrowSouthMiddleEast'],_0x2dd9aa['northArrowSouthWest'],_0x2dd9aa['northArrowSouthEast'],_0x2dd9aa['viewportStickyNorth']]});}}class ft extends _0x275ec9{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
|
package/dist/translations/af.js
CHANGED
|
@@ -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':
|
|
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':_0x3d869f=>0x1!=_0x3d869f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2de7b7=>{const {af:{dictionary:_0x3d8fcb,getPluralForm:_0x38ccd3}}={'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':_0x1f89ce=>0x1!=_0x1f89ce}};_0x2de7b7['af']||={'dictionary':{},'getPluralForm':null},_0x2de7b7['af']['dictionary']=Object['assign'](_0x2de7b7['af']['dictionary'],_0x3d8fcb),_0x2de7b7['af']['getPluralForm']=_0x38ccd3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -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':
|
|
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':_0x573e33=>0x0==_0x573e33?0x0:0x1==_0x573e33?0x1:0x2==_0x573e33?0x2:_0x573e33%0x64>=0x3&&_0x573e33%0x64<=0xa?0x3:_0x573e33%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f1c1d=>{const {ar:{dictionary:_0x25455e,getPluralForm:_0x4e3f29}}={'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':_0x22e7b6=>0x0==_0x22e7b6?0x0:0x1==_0x22e7b6?0x1:0x2==_0x22e7b6?0x2:_0x22e7b6%0x64>=0x3&&_0x22e7b6%0x64<=0xa?0x3:_0x22e7b6%0x64>=0xb?0x4:0x5}};_0x1f1c1d['ar']||={'dictionary':{},'getPluralForm':null},_0x1f1c1d['ar']['dictionary']=Object['assign'](_0x1f1c1d['ar']['dictionary'],_0x25455e),_0x1f1c1d['ar']['getPluralForm']=_0x4e3f29;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -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':
|
|
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':_0x213ad3=>0x1!=_0x213ad3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x47d24a=>{const {ast:{dictionary:_0x80ba3c,getPluralForm:_0x58a935}}={'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':_0x36f562=>0x1!=_0x36f562}};_0x47d24a['ast']||={'dictionary':{},'getPluralForm':null},_0x47d24a['ast']['dictionary']=Object['assign'](_0x47d24a['ast']['dictionary'],_0x80ba3c),_0x47d24a['ast']['getPluralForm']=_0x58a935;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -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':
|
|
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':_0x479f52=>0x1!=_0x479f52}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf1ecb6=>{const {az:{dictionary:_0x50ba9a,getPluralForm:_0x85448d}}={'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':_0x1af8c9=>0x1!=_0x1af8c9}};_0xf1ecb6['az']||={'dictionary':{},'getPluralForm':null},_0xf1ecb6['az']['dictionary']=Object['assign'](_0xf1ecb6['az']['dictionary'],_0x50ba9a),_0xf1ecb6['az']['getPluralForm']=_0x85448d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -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':
|
|
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':_0x54e5f0=>_0x54e5f0%0xa==0x1&&_0x54e5f0%0x64!=0xb?0x0:_0x54e5f0%0xa>=0x2&&_0x54e5f0%0xa<=0x4&&(_0x54e5f0%0x64<0xa||_0x54e5f0%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27bc53=>{const {be:{dictionary:_0x53991a,getPluralForm:_0x1e3d74}}={'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':_0x4ec6f3=>_0x4ec6f3%0xa==0x1&&_0x4ec6f3%0x64!=0xb?0x0:_0x4ec6f3%0xa>=0x2&&_0x4ec6f3%0xa<=0x4&&(_0x4ec6f3%0x64<0xa||_0x4ec6f3%0x64>=0x14)?0x1:0x2}};_0x27bc53['be']||={'dictionary':{},'getPluralForm':null},_0x27bc53['be']['dictionary']=Object['assign'](_0x27bc53['be']['dictionary'],_0x53991a),_0x27bc53['be']['getPluralForm']=_0x1e3d74;})(window['CKEDITOR_TRANSLATIONS']||={});
|