@ckeditor/ckeditor5-footnotes 47.2.0-alpha.5 → 47.2.0-alpha.7
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 _0x49c36c,Command as _0x2dc098}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x140c4f,isWidget as _0x5b5b76,toWidgetEditable as _0x42f4eb,WidgetToolbarRepository as _0xdc63b1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3d10b0,logWarning as _0x37fb22,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x14bbcd,ClickObserver as _0x2be962}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4c5597}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1c4855,ButtonView as _0x43f6c3,View as _0x1243c8,ViewCollection as _0xb8eda8,FocusCycler as _0x2bd343,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1daaf3,BalloonPanelView as _0x520500,createDropdown as _0x1d2237}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4969aa,IconListStyleDecimal as _0x4cb109,IconListStyleDecimalLeadingZero as _0x3fd1c6,IconListStyleLowerRoman as _0x4dd4e6,IconListStyleUpperRoman as _0x56fa6d,IconListStyleLowerLatin as _0x5c033e,IconListStyleUpperLatin as _0x265453}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1f8158,_0x57a3ca){this['_model']=_0x1f8158,this['_elementName']=_0x57a3ca['elementName'],this['_getElementKey']=_0x57a3ca['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5b656){const _0x46a3f4=new Set(),_0x4602de=new Map();for(const _0x11f920 of _0x5b656){if('insert'===_0x11f920['type']&&'$text'!==_0x11f920['name']&&_0x11f920['position']['nodeAfter']){const _0x168091=this['_model']['createRangeOn'](_0x11f920['position']['nodeAfter']);for(const _0xe69034 of _0x168091['getItems']()){if(!_0xe69034['is']('element',this['_elementName']))continue;const _0x370a28=this['_getElementKey'](_0xe69034);_0x4602de['has'](_0x370a28)||_0x4602de['set'](_0x370a28,[]),_0x4602de['get'](_0x370a28)['push'](_0xe69034);}}if('remove'===_0x11f920['type']&&_0x11f920['name']===this['_elementName']){const _0x2907e8=this['_getElementKey']({'getAttribute':_0x4e1ea2=>_0x11f920['attributes']['get'](_0x4e1ea2)});_0x46a3f4['add'](_0x2907e8);}}for(const [_0x576894,_0xda2135]of this['_trackedElements'])'$graveyard'===_0xda2135['root']['rootName']&&_0x46a3f4['add'](_0x576894);for(const _0x342194 of _0x46a3f4)this['_trackedElements']['delete'](_0x342194);for(const [_0x30ae89,_0x349c89]of _0x4602de)this['_trackedElements']['set'](_0x30ae89,_0x349c89[_0x349c89['length']-0x1]);const _0xa751e5=new Set();for(const [_0x1367d5,_0x22d240]of _0x4602de)_0x46a3f4['has'](_0x1367d5)&&(_0xa751e5['add'](_0x22d240[0x0]),_0x22d240['length']>0x1?_0x4602de['set'](_0x1367d5,_0x22d240['slice'](0x1)):_0x4602de['delete'](_0x1367d5),_0x46a3f4['delete'](_0x1367d5));return{'removed':Array['from'](_0x46a3f4),'inserted':Array['from'](_0x4602de['values']())['flat'](),'moved':Array['from'](_0xa751e5)};}}class c extends _0x49c36c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x165914){super(_0x165914),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e044c=>_0x1e044c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x23f8c2=>_0x23f8c2['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1611aa}=this,{model:_0x527939,data:_0x37876d}=_0x1611aa;_0x527939['document']['registerPostFixer'](_0x5a47a2=>{const _0x22a184=_0x527939['document']['differ']['getChanges']();let _0xd45bc2=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_handleFootnoteReferencesChanges'](_0x5a47a2,_0x22a184)&&(_0xd45bc2=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5a47a2)&&(_0xd45bc2=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5a47a2)&&(_0xd45bc2=!0x0),this['_sortFootnoteDefinitions'](_0x5a47a2)&&(_0xd45bc2=!0x0),_0xd45bc2;}),this['listenTo'](_0x527939['document'],'change:data',()=>{_0x527939['enqueueChange']({'isUndoable':!0x1},_0x3964ea=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3964ea);});},{'priority':'low'}),this['listenTo'](_0x37876d,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x3b27e5){return this['_footnotes']['find'](_0x229fa4=>_0x229fa4['id']===_0x3b27e5)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x4d55d7){this['_footnoteFormatter']=_0x4d55d7;}['_updateFootnotesCounters'](_0x2a26ae,_0x342900=0x0){let _0x15c974=!0x1;for(let _0x384cc8=_0x342900;_0x384cc8<this['_footnotes']['length'];_0x384cc8++)this['_updateFootnoteRefCounter'](_0x2a26ae,_0x384cc8)&&(_0x15c974=!0x0);return _0x15c974;}['_insertEmptyFootnotesDefinitionsContainer'](_0x11d0cf,_0x24b3a1){const _0x5721c2=_0x11d0cf['createElement']('footnotesDefinitions',{});return _0x11d0cf['append'](_0x5721c2,_0x24b3a1),this['_footnotesDefinitions']=_0x5721c2,_0x5721c2;}['_ensureFootnotesDefinitionsContainerExists'](_0x80c54c){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x34bccd=this['_footnotes'][0x0]['reference']['root'],_0x49ce7b=this['_insertEmptyFootnotesDefinitionsContainer'](_0x80c54c,_0x34bccd);for(const _0x27dd28 of this['_footnotes'])_0x27dd28['definition']['parent']||_0x80c54c['insert'](_0x27dd28['definition'],_0x49ce7b,'end');this['_updateFootnotesCounters'](_0x80c54c);}['_handleFootnotesDefinitionsObjectChanges'](_0x13aae3,_0x4678d5){let _0x57531b=!0x1;const {inserted:_0x49e6eb,removed:_0x4dfb0a,moved:_0x50ed7d}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4678d5);if(_0x50ed7d['length']&&(this['_footnotesDefinitions']=_0x50ed7d[0x0]),_0x49e6eb['length']){if(_0x49e6eb['length']>0x1||this['_footnotesDefinitions']&&_0x49e6eb['some'](_0x3fb678=>_0x3fb678!==this['_footnotesDefinitions'])){const _0x53b3e4=_0x13aae3['createElement']('footnotesDefinitions',{}),_0x1bad31=[];this['_footnotesDefinitions']&&_0x1bad31['push'](this['_footnotesDefinitions']),_0x1bad31['push'](..._0x49e6eb),_0x13aae3['insert'](_0x53b3e4,_0x1bad31[0x0],'before');for(const _0x44f2bd of _0x1bad31)_0x13aae3['move'](_0x13aae3['createRangeIn'](_0x44f2bd),_0x13aae3['createPositionAt'](_0x53b3e4,'end')),_0x13aae3['remove'](_0x44f2bd);this['_footnotesDefinitions']=_0x53b3e4,this['_updateFootnotesCounters'](_0x13aae3),_0x57531b=!0x0;}else this['_footnotesDefinitions']=_0x49e6eb[0x0];}if(_0x4dfb0a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2a34bd of this['_footnotes'])_0x13aae3['remove'](_0x2a34bd['reference']),_0x57531b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x57531b;}['_handleFootnoteDefinitionsChanges'](_0x256443,_0x42a325){let _0x231877=!0x1;const _0x2c7418=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x11254d,moved:_0x2bb893}=this['_footnoteDefsTracker']['getChanges'](_0x42a325);for(const _0x5ecf87 of[..._0x2bb893,..._0x11254d]){const _0xc0687d=_0x5ecf87['getAttribute']('footnoteId'),_0x506525=this['getFootnote'](_0xc0687d);_0x506525&&(_0x506525['definition']=_0x5ecf87),_(_0x256443,_0x2c7418,_0x5ecf87)&&(_0x231877=!0x0);}return _0x231877;}['_handleFootnoteReferencesChanges'](_0x1ebb6a,_0x54fb46){let _0x4f96a9=!0x1;const {removed:_0xe7161,inserted:_0x5f3001,moved:_0x188359}=this['_footnoteRefsTracker']['getChanges'](_0x54fb46);for(const _0x4816f6 of _0xe7161)this['_handleRemoveFootnoteReferenceById'](_0x1ebb6a,_0x4816f6)&&(_0x4f96a9=!0x0);for(const _0x1c24ea of _0x5f3001)this['_handleInsertedFootnoteReference'](_0x1ebb6a,_0x1c24ea)&&(_0x4f96a9=!0x0);for(const _0x4bec42 of _0x188359)this['_handleMovedFootnoteReference'](_0x1ebb6a,_0x4bec42)&&(_0x4f96a9=!0x0);return _0x4f96a9;}['_handleFootnotesDefinitionsObjectSync'](_0x1803f2){if(!this['_footnotesDefinitions'])return!0x1;let _0x8ba9e3=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4c21b6=[];for(const _0x3b0801 of this['_footnotesDefinitions']['getChildren']()){const _0xa7038=_0x3b0801['getAttribute']('footnoteId');this['getFootnote'](_0xa7038)||(_0x4c21b6['unshift'](_0x3b0801),_0x8ba9e3=!0x0);}for(const _0x49c23a of _0x4c21b6)_0x1803f2['remove'](_0x49c23a);}const _0x3c5286=new Set(),_0x52b8f1=[];for(const _0x3889ca of this['_footnotesDefinitions']['getChildren']()){const _0x7bd701=_0x3889ca['getAttribute']('footnoteId');_0x3c5286['has'](_0x7bd701)?(_0x52b8f1['unshift'](_0x3889ca),_0x8ba9e3=!0x0):_0x3c5286['add'](_0x7bd701);}for(const _0x3efa97 of _0x52b8f1)_0x1803f2['remove'](_0x3efa97);return this['_footnotesDefinitions']['childCount']||(_0x1803f2['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x8ba9e3=!0x0),_0x8ba9e3;}['_handleInsertedFootnoteReference'](_0x3995e8,_0xf8748c){if(this['_footnotes']['find'](_0x361041=>_0x361041['reference']===_0xf8748c))return!0x1;let _0x534706=!0x1;const _0x1609d9=_0xf8748c['getAttribute']('footnoteId'),_0x5e9662=this['_footnotes']['findIndex'](_0x52cd21=>_0x52cd21['id']===_0x1609d9);-0x1!==_0x5e9662&&(_0x3995e8['remove'](this['_footnotes'][_0x5e9662]['reference']),this['_footnotes']['splice'](_0x5e9662,0x1),_0x534706=!0x0);let _0x213f1e=this['_footnotesDefinitions']?function(_0x355525,_0x3da633){for(const _0x2b810b of _0x355525['getChildren']())if(_0x2b810b['getAttribute']('footnoteId')===_0x3da633)return _0x2b810b;return null;}(this['_footnotesDefinitions'],_0x1609d9):null;_0x213f1e||(_0x213f1e=_0x3995e8['createElement']('footnoteDefinition',{'footnoteId':_0x1609d9}),this['_footnotesDefinitions']&&(_0x3995e8['insert'](_0x213f1e,this['_footnotesDefinitions'],'end'),_0x534706=!0x0));const _0x36adf5={'id':_0x1609d9,'reference':_0xf8748c,'definition':_0x213f1e},_0x29deab=I(this['editor']['model'],this['_footnotes'],_0xf8748c);this['_footnotes']['splice'](_0x29deab,0x0,_0x36adf5);let _0x27a88b=_0x29deab;return-0x1!==_0x5e9662&&(_0x27a88b=Math['min'](_0x29deab,_0x5e9662)),this['_updateFootnotesCounters'](_0x3995e8,_0x27a88b)&&(_0x534706=!0x0),_0x534706;}['_handleRemoveFootnoteReferenceById'](_0x1445b0,_0x5f0fcf){const _0x41d1ba=this['_footnotes']['findIndex'](_0x37aac3=>_0x37aac3['id']===_0x5f0fcf);if(-0x1===_0x41d1ba)return!0x1;let _0x2b6a32=!0x1;const _0x4b34e1=this['_footnotes'][_0x41d1ba];return'$graveyard'!==_0x4b34e1['definition']['root']['rootName']&&(_0x1445b0['remove'](_0x4b34e1['definition']),_0x2b6a32=!0x0),this['_footnotes']['splice'](_0x41d1ba,0x1),this['_updateFootnotesCounters'](_0x1445b0,_0x41d1ba)&&(_0x2b6a32=!0x0),_0x2b6a32;}['_handleMovedFootnoteReference'](_0x534f07,_0x85572d){const _0x1e6c7d=_0x85572d['getAttribute']('footnoteId'),_0x5f1c57=this['_footnotes']['findIndex'](_0x541f45=>_0x541f45['id']===_0x1e6c7d),_0x524293=this['_footnotes'][_0x5f1c57];let _0x32ff1b=!0x1;_0x524293['reference']=_0x85572d,this['_footnotes']['splice'](_0x5f1c57,0x1);const _0x2e5c99=I(this['editor']['model'],this['_footnotes'],_0x85572d);return this['_footnotes']['splice'](_0x2e5c99,0x0,_0x524293),this['_updateFootnotesCounters'](_0x534f07,Math['min'](_0x5f1c57,_0x2e5c99))&&(_0x32ff1b=!0x0),_0x32ff1b;}['_updateFootnoteRefCounter'](_0x3a4cc1,_0x543268){if(!this['_footnotesDefinitions'])return!0x1;const _0x37da89=this['_footnotes'][_0x543268];let _0x59ce7b;return _0x59ce7b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x37da89,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x543268+0x1}):String(_0x543268+0x1),_0x37da89['reference']['getAttribute']('footnoteCounter')!=_0x59ce7b&&(_0x3a4cc1['setAttribute']('footnoteCounter',_0x59ce7b,_0x37da89['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2f9b59){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x44c0bf,_0x4dbad5){if(_0x44c0bf['length']!==_0x4dbad5['length'])return!0x1;for(let _0xc1a560=0x0;_0xc1a560<_0x44c0bf['length'];_0xc1a560++)if(_0x44c0bf[_0xc1a560]!==_0x4dbad5[_0xc1a560])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x35827c=>_0x35827c['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x204a48=>_0x204a48['getAttribute']('footnoteId'))))return!0x1;let _0x2b449e=!0x1;for(let _0x369b22=0x0;_0x369b22<this['_footnotes']['length'];_0x369b22++){const _0x3adf19=this['_footnotes'][_0x369b22],_0x38fa9d=_0x2f9b59['createPositionBefore'](_0x3adf19['definition']),_0x3d39b5=_0x2f9b59['createPositionAt'](this['_footnotesDefinitions'],_0x369b22);_0x38fa9d['isEqual'](_0x3d39b5)||(_0x2f9b59['move'](_0x2f9b59['createRangeOn'](_0x3adf19['definition']),_0x3d39b5),_0x2b449e=!0x0);}return _0x2b449e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x56afd3){if(!this['_footnotes']['length'])return!0x1;const {model:_0x48022b}=this['editor'];let _0x34d043=!0x1;for(let _0x5134fb=0x0;_0x5134fb<this['_footnotes']['length']-0x1;_0x5134fb++){const _0x4b726e=this['_footnotes'][_0x5134fb],_0x521c83=this['_footnotes'][_0x5134fb+0x1],_0x50404e=_0x48022b['createPositionBefore'](_0x4b726e['reference']),_0x1b559d=_0x48022b['createPositionBefore'](_0x521c83['reference']);'after'===_0x50404e['compareWith'](_0x1b559d)&&(this['_handleMovedFootnoteReference'](_0x56afd3,_0x4b726e['reference']),_0x5134fb=-0x1,_0x34d043=!0x0);}return _0x34d043;}}function _(_0x42b9d5,_0x87b05c,_0x39f1d8){if(_0x39f1d8['childCount'])return!0x1;const _0xa78362=_0x87b05c?'paragraph':'footnoteInlineContent';return _0x42b9d5['insert'](_0x42b9d5['createElement'](_0xa78362),_0x39f1d8),!0x0;}function I(_0x300957,_0x475da3,_0x550728){if(0x0===_0x475da3['length'])return 0x0;const _0x4c7a70=_0x300957['createPositionBefore'](_0x550728);for(let _0x5f7ca1=0x0;_0x5f7ca1<_0x475da3['length'];_0x5f7ca1++){const _0x39e945=_0x475da3[_0x5f7ca1],_0x403187=_0x300957['createPositionBefore'](_0x39e945['reference']);if('before'===_0x4c7a70['compareWith'](_0x403187))return _0x5f7ca1;}const _0x51a8e4=_0x550728['root'];let _0x213d47=-0x1;for(let _0x3cab40=_0x475da3['length']-0x1;_0x3cab40>=0x0;_0x3cab40--)if(_0x475da3[_0x3cab40]['reference']['root']===_0x51a8e4){_0x213d47=_0x3cab40;break;}if(-0x1!==_0x213d47)return _0x213d47+0x1;const _0x441fe6=_0x300957['document']['getRootNames'](),_0x44bdc9=_0x441fe6['indexOf'](_0x51a8e4['rootName']),_0x3f9eb0=_0x441fe6[_0x44bdc9+0x1];if(_0x3f9eb0){for(let _0x405945=0x0;_0x405945<_0x475da3['length'];_0x405945++)if(_0x475da3[_0x405945]['reference']['root']['rootName']===_0x3f9eb0)return _0x405945;}return _0x475da3['length'];}class m extends _0x2dc098{['refresh'](){const _0x31867b=this['editor']['model']['document']['selection'],_0xba88cf=this['_getPositionToInsertFootnote'](_0x31867b);this['isEnabled']=!!_0xba88cf;}['execute'](_0x5e2424){const {editor:_0x2ae3cf}=this,{model:_0x23174c}=_0x2ae3cf,{selection:_0x1bb926}=_0x23174c['document'],_0x5811f7=this['_getPositionToInsertFootnote'](_0x1bb926);if(!_0x5811f7)return;const _0x4f4028=_0x2ae3cf['plugins']['get']('FootnotesEditing'),_0x16afcc=_0x5e2424?.['footnoteId']??_0x3d10b0();!function(_0x4a3e29){return'string'==typeof _0x4a3e29&&_0x4a3e29['length']>0x0&&!/\s/['test'](_0x4a3e29)&&!/^\d/['test'](_0x4a3e29);}(_0x16afcc)?_0x37fb22('insert-footnote-command-executed-with-invalid-id'):(_0x23174c['change'](_0x3687e5=>{const _0xcab53f=_0x3687e5['createElement']('footnoteRef',{'footnoteId':_0x16afcc});_0x23174c['insertObject'](_0xcab53f,_0x5811f7,null);}),_0x4f4028['_moveSelectionToFootnoteDefinition'](_0x16afcc));}['_getPositionToInsertFootnote'](_0x348b62){const {model:_0x6bb188}=this['editor'],{schema:_0x5dcec7}=_0x6bb188,_0x42d3a9=_0x348b62['getFirstRange']();for(const _0x3086ad of _0x42d3a9['getItems']())if(_0x5dcec7['isBlock'](_0x3086ad)||_0x5dcec7['isObject'](_0x3086ad))return null;const _0x2eeffc=_0x42d3a9['end'];return _0x5dcec7['checkChild'](_0x2eeffc,'footnoteRef')?_0x2eeffc:null;}}class r extends _0x49c36c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ce888}=this;_0x5ce888['config']['define']('footnotes.multiBlock',!0x0),_0x5ce888['commands']['add']('insertFootnote',new m(_0x5ce888)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4fce60){const _0x24a337=_0x49ee85([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]),_0x18a939=0x47a28506,_0x2f3496=0x47a5fd3e^_0x18a939,_0x17a090=window[_0x49ee85([0x44,0x61,0x74,0x65])][_0x49ee85([0x6e,0x6f,0x77])](),_0x58a99a=_0x4fce60[_0x49ee85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d3a6c=new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92a618=>{_0x58a99a[_0x49ee85([0x6f,0x6e,0x63,0x65])](_0x49ee85([0x72,0x65,0x61,0x64,0x79]),_0x92a618);}),_0x5a3f97={[_0x49ee85([0x6b,0x74,0x79])]:_0x49ee85([0x45,0x43]),[_0x49ee85([0x75,0x73,0x65])]:_0x49ee85([0x73,0x69,0x67]),[_0x49ee85([0x63,0x72,0x76])]:_0x49ee85([0x50,0x2d,0x32,0x35,0x36]),[_0x49ee85([0x78])]:_0x49ee85([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]),[_0x49ee85([0x79])]:_0x49ee85([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]),[_0x49ee85([0x61,0x6c,0x67])]:_0x49ee85([0x45,0x53,0x32,0x35,0x36])},_0x2aa75d=_0x58a99a[_0x49ee85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x49ee85([0x67,0x65,0x74])](_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2d80bf(){let _0x54c714,_0x17e391=null,_0x31bc2d=null;try{if(_0x2aa75d==_0x49ee85([0x47,0x50,0x4c]))return _0x49ee85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54c714=_0x32b908(),!_0x54c714)return _0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54c714[_0x49ee85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31bc2d=_0x10731b(_0x54c714[_0x49ee85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54c714[_0x49ee85([0x6a,0x74,0x69])])),await _0x4af885()?_0x42909f()?_0x576fa3()?_0x49ee85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1268b2()?(_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ee85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17e391=_0x719f31(_0x49ee85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x49ee85([0x74,0x72,0x69,0x61,0x6c])&&(_0x17e391=_0x719f31(_0x49ee85([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x130e16()):_0x49ee85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x49ee85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x49ee85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x576fa3(){const _0x2f331b=[_0x49ee85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x49ee85([0x74,0x72,0x69,0x61,0x6c])][_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17a090/0x3e8:0xe10*_0x2f3496;return _0x54c714[_0x49ee85([0x65,0x78,0x70])]<_0x2f331b;}function _0x42909f(){const _0x4a668f=_0x54c714[_0x49ee85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a668f&&(!!_0x4a668f[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x2a]))||!!_0x4a668f[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x46,0x4f,0x4f])));}function _0x1268b2(){const _0x55a00c=_0x54c714[_0x49ee85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x55a00c||0x0==_0x55a00c[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x275636}=new URL(window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x55a00c[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x275636))return!0x0;const _0x44f500=_0x275636[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e]));return _0x55a00c[_0x49ee85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6fc5=>_0x3b6fc5[_0x49ee85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ee85([0x2a])))[_0x49ee85([0x6d,0x61,0x70])](_0x5bbbe3=>_0x5bbbe3[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e])))[_0x49ee85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e0a5f=>_0x3e0a5f[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44f500[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49ee85([0x6d,0x61,0x70])](_0x5a3635=>Array(_0x44f500[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a3635[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x49ee85([0x66,0x69,0x6c,0x6c])](_0x5a3635[0x0]===_0x49ee85([0x2a])?_0x49ee85([0x2a]):'')[_0x49ee85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a3635))[_0x49ee85([0x73,0x6f,0x6d,0x65])](_0x51cd93=>_0x44f500[_0x49ee85([0x65,0x76,0x65,0x72,0x79])]((_0x5af9c4,_0x2655c3)=>_0x51cd93[_0x2655c3]===_0x5af9c4||_0x51cd93[_0x2655c3]===_0x49ee85([0x2a])));}function _0x130e16(){return _0x17e391&&_0x31bc2d?new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52b1bb,_0x521319)=>{_0x17e391[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x52b1bb,_0x521319),_0x31bc2d[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x2cc987=>{_0x2cc987!=_0x49ee85([0x56,0x61,0x6c,0x69,0x64])&&_0x52b1bb(_0x2cc987);},_0x521319);}):_0x17e391||_0x31bc2d||_0x49ee85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10731b(_0x5002f2,_0x206ac3){return new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4dfbea=>{if(_0x452bba())return _0x4dfbea(_0x49ee85([0x56,0x61,0x6c,0x69,0x64]));_0x33b919(),_0x58a99a[_0x49ee85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cf0d1=!0x1;const _0x4a49db=_0x3d10b0();function _0x522b17(_0x171d93){return!!_0x171d93&&(typeof _0x171d93===_0x49ee85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x171d93===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x171d93[_0x49ee85([0x74,0x68,0x65,0x6e])]===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x171d93[_0x49ee85([0x63,0x61,0x74,0x63,0x68])]===_0x49ee85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12935f(_0x4c3788){_0x582b86(_0x4c3788)[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x15c3f3=>{if(!_0x15c3f3||_0x15c3f3[_0x49ee85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x49ee85([0x6f,0x6b]))return _0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2168ca(_0x1cab8d(_0x4a49db+_0x206ac3))!=_0x15c3f3[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x49ee85([0x56,0x61,0x6c,0x69,0x64]);})[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x3898b3=>(_0x274293(),_0x3898b3),()=>{const _0x9dfcd0=_0x5d4e65();return null==_0x9dfcd0?(_0x274293(),_0x49ee85([0x56,0x61,0x6c,0x69,0x64])):_0x49ee85(_0x17a090-_0x9dfcd0>(0x63ae0106^_0x18a939)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x4dfbea)[_0x49ee85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x222194=0x47946b86^_0x18a939;function _0x274293(){const _0x5a5fd0=_0x49ee85([0x6c,0x6c,0x63,0x74,0x2d])+_0x2168ca(_0x1cab8d(_0x5002f2)),_0x52108d=_0x5887ed(_0x2168ca(window[_0x49ee85([0x4d,0x61,0x74,0x68])][_0x49ee85([0x63,0x65,0x69,0x6c])](_0x17a090/_0x222194)));window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ee85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a5fd0,_0x52108d);}function _0x5d4e65(){const _0x329804=_0x49ee85([0x6c,0x6c,0x63,0x74,0x2d])+_0x2168ca(_0x1cab8d(_0x5002f2)),_0x599769=window[_0x49ee85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x49ee85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x329804);return _0x599769?window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5887ed(_0x599769),0x10)*_0x222194:null;}function _0x582b86(_0x27c844){return new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39bedf,_0x508603)=>{_0x27c844[_0x49ee85([0x74,0x68,0x65,0x6e])](_0x39bedf,_0x508603),window[_0x49ee85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x508603,0x47a351c6^_0x18a939);});}}_0x58a99a[_0x49ee85([0x6f,0x6e])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x111f54,_0xb0788e)=>{if(_0xb0788e[0x0]!=_0x5002f2)return _0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb0788e[0x1]={..._0xb0788e[0x1],[_0x49ee85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a49db};},{[_0x49ee85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ee85([0x68,0x69,0x67,0x68])}),_0x58a99a[_0x49ee85([0x6f,0x6e])](_0x49ee85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58b1b4=>{_0x522b17(_0x58b1b4[_0x49ee85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cf0d1=!0x0,_0x12935f(_0x58b1b4[_0x49ee85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x49ee85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x49ee85([0x6c,0x6f,0x77])}),_0x2d3a6c[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>{_0x4cf0d1||_0x4dfbea(_0x49ee85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x452bba(){return _0x58a99a[_0x49ee85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ee85([0x76,0x69,0x65,0x77])][_0x49ee85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x49ee85([0x61,0x75,0x74,0x6f]);}function _0x33b919(){_0x58a99a[_0x49ee85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x49ee85([0x76,0x69,0x65,0x77])][_0x49ee85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x49ee85([0x61,0x75,0x74,0x6f]);}}function _0x719f31(_0x421c74){const _0x1b605d=[new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a5d72=>setTimeout(_0x1a5d72,0x47abbbca^_0x18a939)),_0x2d3a6c[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2818f8=>{let _0x1ada67=0x0;_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x6f,0x6e])](_0x49ee85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18ecea,_0x95a5ac)=>{_0x95a5ac[0x0][_0x49ee85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ada67++,_0x1ada67==(0x47a284fe^_0x18a939)&&(_0x2818f8(),_0x18ecea[_0x49ee85([0x6f,0x66,0x66])]());});}))];return window[_0x49ee85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x49ee85([0x72,0x61,0x63,0x65])](_0x1b605d)[_0x49ee85([0x74,0x68,0x65,0x6e])](()=>_0x421c74);}async function _0x35af1a(){await _0x2d3a6c,_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c73fd,_0x58a99a[_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c])][_0x49ee85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c73fd,_0x58a99a[_0x49ee85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x49ee85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x552625(_0x54a96d){const _0x538726=_0x1c2baf();_0x58a99a[_0x538726]=_0x49ee85([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54a96d,_0x54a96d!=_0x49ee85([0x56,0x61,0x6c,0x69,0x64])&&_0x35af1a();}function _0x1c2baf(){const _0x29e0be=window[_0x49ee85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x49ee85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x49ee85([0x6e,0x6f,0x77])]())[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x49ee85([0x2e]),'');let _0x406281=_0x49ee85([0x75]);for(let _0x1cd669=0x0;_0x1cd669<_0x29e0be[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cd669+=0x2){let _0x50844e=window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29e0be[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cd669,_0x1cd669+0x2));_0x50844e>=_0x24a337[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x50844e-=_0x24a337[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x406281+=_0x24a337[_0x50844e];}return _0x406281;}function _0x32b908(){const _0x38f303=_0x2aa75d[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e]));if(0x3!=_0x38f303[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e9710(_0x38f303[0x1]);function _0x2e9710(_0x3d0599){const _0x470a70=_0xd03380(_0x3d0599);return _0x470a70&&_0x34402e()?_0x470a70:null;function _0x34402e(){const _0x46fcc7=_0x470a70[_0x49ee85([0x6a,0x74,0x69])],_0x198111=window[_0x49ee85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46fcc7[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46fcc7[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x469018={..._0x470a70,[_0x49ee85([0x6a,0x74,0x69])]:_0x46fcc7[_0x49ee85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46fcc7[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x469018[_0x49ee85([0x76,0x63])],_0x1cab8d(_0x469018)==_0x198111;}}}async function _0x4af885(){let _0x358cf4=!0x0;try{const _0x5432cb=_0x2aa75d[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])](_0x49ee85([0x2e])),[_0x419361,_0x2b5749,_0x1773ef]=_0x5432cb;return _0x91cf14(_0x419361),await _0x426dd2(_0x419361,_0x2b5749,_0x1773ef),_0x358cf4;}catch{return!0x1;}function _0x91cf14(_0x175c39){const _0x58b5c3=_0xd03380(_0x175c39);_0x58b5c3&&_0x58b5c3[_0x49ee85([0x61,0x6c,0x67])]==_0x49ee85([0x45,0x53,0x32,0x35,0x36])||(_0x358cf4=!0x1);}async function _0x426dd2(_0x5331b9,_0x4dcef9,_0x3595e0){const _0x329e25=window[_0x49ee85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x49ee85([0x66,0x72,0x6f,0x6d])](_0x5505a1(_0x3595e0),_0x106ecf=>_0x106ecf[_0x49ee85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1c4ff1=new window[(_0x49ee85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x49ee85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5331b9+_0x49ee85([0x2e])+_0x4dcef9),_0x25cd0a=window[_0x49ee85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x49ee85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25cd0a)return;const _0x41c4d4=await _0x25cd0a[_0x49ee85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x49ee85([0x6a,0x77,0x6b]),_0x5a3f97,{[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x45,0x43,0x44,0x53,0x41]),[_0x49ee85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x49ee85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25cd0a[_0x49ee85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x45,0x43,0x44,0x53,0x41]),[_0x49ee85([0x68,0x61,0x73,0x68])]:{[_0x49ee85([0x6e,0x61,0x6d,0x65])]:_0x49ee85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41c4d4,_0x329e25,_0x1c4ff1)||(_0x358cf4=!0x1);}}function _0xd03380(_0x81332c){return _0x81332c[_0x49ee85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x49ee85([0x65,0x79]))?JSON[_0x49ee85([0x70,0x61,0x72,0x73,0x65])](_0x5505a1(_0x81332c)):null;}function _0x5505a1(_0x211789){return window[_0x49ee85([0x61,0x74,0x6f,0x62])](_0x211789[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x49ee85([0x2b]))[_0x49ee85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x49ee85([0x2f])));}function _0x1cab8d(_0x57d169){let _0x46128e=0x1505;function _0x13161c(_0x51ff88){for(let _0x5a7a76=0x0;_0x5a7a76<_0x51ff88[_0x49ee85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a7a76++){const _0x539c92=_0x51ff88[_0x49ee85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a7a76);_0x46128e=(_0x46128e<<0x5)+_0x46128e+_0x539c92,_0x46128e&=_0x46128e;}}function _0xd90e10(_0x179d20){Array[_0x49ee85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x179d20)?_0x179d20[_0x49ee85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd90e10):_0x179d20&&typeof _0x179d20==_0x49ee85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x49ee85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x179d20)[_0x49ee85([0x73,0x6f,0x72,0x74])]()[_0x49ee85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x317007,_0x4236ba])=>{_0x13161c(_0x317007),_0xd90e10(_0x4236ba);}):_0x13161c(window[_0x49ee85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x179d20));}return _0xd90e10(_0x57d169),_0x46128e>>>0x0;}function _0x2168ca(_0x46d18e){return _0x46d18e[_0x49ee85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x49ee85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x49ee85([0x30]));}function _0x5887ed(_0x44d41b){return _0x44d41b[_0x49ee85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x49ee85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x49ee85([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c73fd(){}function _0x49ee85(_0x5b039a){return _0x5b039a['map'](_0x1b3dff=>String['fromCharCode'](_0x1b3dff))['join']('');}_0x552625(await _0x2d80bf());}(this);}['_moveSelectionToFootnoteDefinition'](_0x22a431){const {plugins:_0x36bf5c,editing:_0xefc442,model:_0x22389b}=this['editor'],_0x31306a=_0x36bf5c['get'](c)['getFootnote'](_0x22a431);return!!_0x31306a&&(_0x22389b['change'](_0x50600a=>{_0x50600a['setSelection'](_0x50600a['createPositionAt'](_0x31306a['definition'],'end'));}),_0xefc442['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4971ac){const {plugins:_0x13e03a,editing:_0x1fdb15,model:_0x58b1b7}=this['editor'],_0x72993f=_0x13e03a['get'](c)['getFootnote'](_0x4971ac);return!!_0x72993f&&(_0x58b1b7['change'](_0x5e5f66=>{_0x5e5f66['setSelection'](_0x72993f['reference'],'on');}),_0x1fdb15['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x449e65}=this['editor']['model'],_0x591c9d=this['editor']['config']['get']('footnotes.multiBlock');_0x449e65['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x449e65['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x449e65['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x591c9d?_0x449e65['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x449e65['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x449e65['addChildCheck'](_0x470d05=>{for(const _0x196c21 of _0x470d05)if('footnoteDefinition'===_0x196c21['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x33c5ba}=this,{conversion:_0x24d1ae,editing:_0x851d3e}=_0x33c5ba,{t:t}=_0x33c5ba['locale'];_0x24d1ae['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x54d4c7,{writer:_0x46188f,consumable:_0x276d5d})=>{const _0x4dce4c=_0x54d4c7['getChild'](0x0);if(!_0x4dce4c||!_0x4dce4c['is']('element','a'))return null;const _0x3126cb=_0x4dce4c['getAttribute']('href')||'';if(!_0x3126cb['startsWith']('#'))return null;const _0x384ade=_0x3126cb['replace'](/^#/,'');if(!_0x384ade)return null;_0x276d5d['consume'](_0x4dce4c,{'name':!0x0,'attributes':['href']});for(const {item:_0x4d71da}of _0x851d3e['view']['createRangeIn'](_0x4dce4c))_0x4d71da['is']('$textProxy')?_0x276d5d['consume'](_0x4d71da['textNode'],{'name':!0x0}):_0x4d71da['is']('element')&&_0x276d5d['consume'](_0x4d71da,{'name':!0x0});return _0x46188f['createElement']('footnoteRef',{'footnoteId':_0x384ade});}}),_0x24d1ae['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x77738c,{writer:_0x1edb1d})=>D(_0x77738c,_0x1edb1d)}),_0x24d1ae['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xd60fb6,{writer:_0x814fb2})=>{const _0x109470=_0xd60fb6['getAttribute']('footnoteCounter');return _0x140c4f(D(_0xd60fb6,_0x814fb2),_0x814fb2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x109470)});}});}['_defineDefinitionsConverters'](){const {editor:_0x114664}=this,{t:t}=_0x114664['locale'],{conversion:_0x153ebf}=_0x114664;_0x153ebf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x153ebf['for']('upcast')['add'](_0x278aa5=>{_0x278aa5['on']('element:ol',(_0x1f08ba,_0x442942,_0x18f4ac)=>{const _0x5ceec8=_0x442942['viewItem'];if(!_0x5ceec8['hasClass']('footnotes-list')||!_0x442942['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x18f4ac['consumable']['consume'](_0x5ceec8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x54bf2f,modelCursor:_0x2866a8}=_0x18f4ac['convertChildren'](_0x442942['viewItem'],_0x442942['modelCursor']);_0x442942['modelRange']=_0x54bf2f,_0x442942['modelCursor']=_0x2866a8;}),_0x278aa5['on']('element:hr',(_0x3c71f8,_0x1b10ad,_0x3cfef0)=>{const _0x4e0ccd=_0x1b10ad['viewItem'];_0x4e0ccd['hasClass']('footnotes-divider')&&_0x1b10ad['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3cfef0['consumable']['consume'](_0x4e0ccd,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x153ebf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x464444,{writer:_0x102227})=>v(_0x102227)}),_0x153ebf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5db34b,{writer:_0x10b283})=>{const _0x4a7adc=v(_0x10b283,{'data-footnotes-list-label':t('Footnotes')}),_0xc1aac4=_0x140c4f(_0x4a7adc,_0x10b283,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x10b283['setCustomProperty']('footnotesDefinitions',!0x0,_0xc1aac4),_0xc1aac4;}});}['_defineDefinitionConverters'](){const {editor:_0x4f962a}=this,{conversion:_0x266ff9,locale:_0x228962}=_0x4f962a,_0x1f8b6a=_0x4f962a['config']['get']('footnotes.multiBlock');_0x266ff9['for']('upcast')['add'](_0x202415=>{_0x202415['on']('element:li',(_0x131bf2,_0x3fafc8,_0x976fa9)=>{const _0x4aae84=_0x3fafc8['viewItem'];if(!_0x4aae84['hasClass']('footnote-definition')||!_0x4aae84['getAttribute']('id'))return;const _0x130479=_0x4aae84['parent'];if(!_0x130479['is']('element','ol')||!_0x130479['hasClass']('footnotes-list'))return;if(!_0x976fa9['consumable']['test'](_0x4aae84,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x46a68d=_0x976fa9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4aae84['getAttribute']('id')});if(!_0x976fa9['safeInsert'](_0x46a68d,_0x3fafc8['modelCursor']))return;_0x976fa9['consumable']['consume'](_0x4aae84,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x578da7=Array['from'](_0x4aae84['getChildren']())['find'](_0x2743d6=>_0x2743d6['is']('element')&&_0x2743d6['hasClass']('footnote-content'));for(const _0x5ad054 of _0x4aae84['getChildren']())_0x5ad054['is']('element')&&(_0x976fa9['consumable']['consume'](_0x5ad054,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x976fa9['consumable']['consume'](_0x5ad054,{'name':!0x0,'classes':'footnote-content'}));if(_0x578da7){if(_0x1f8b6a)_0x976fa9['convertChildren'](_0x578da7,_0x46a68d);else{const _0x5c9680=_0x976fa9['writer']['createElement']('footnoteInlineContent');_0x976fa9['writer']['insert'](_0x5c9680,_0x46a68d),_0x976fa9['convertChildren'](_0x578da7,_0x5c9680);}}_0x976fa9['updateConversionResult'](_0x46a68d,_0x3fafc8);});}),_0x266ff9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16f68b,{writer:_0x5451c9})=>b(_0x16f68b,_0x5451c9,_0x228962,{'dataPipeline':!0x0})}),_0x266ff9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c0ae5,{writer:_0x2aa306})=>b(_0x1c0ae5,_0x2aa306,_0x228962)});}['_defineBogusParagraphConverters'](){const {editor:_0x840c1f}=this,{conversion:_0x12086d}=_0x840c1f;_0x840c1f['config']['get']('footnotes.multiBlock')?(_0x12086d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x12086d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x840c1f['model']['document'],'change:data',()=>{!function(_0x25ba90,_0x43dc7d){const _0x1dbbc1=_0x25ba90['document']['differ'],_0x27d11a=new Set();for(const _0x3b4804 of _0x1dbbc1['getChanges']()){const _0x5a215a='attribute'==_0x3b4804['type']?_0x3b4804['range']['start']['parent']:_0x3b4804['position']['parent'];_0x5a215a['is']('element','footnoteDefinition')&&_0x27d11a['add'](_0x5a215a);}for(const _0xe33b97 of _0x27d11a['values']()){const _0x56b9d9=Array['from'](_0xe33b97['getChildren']())['filter'](_0x54b6fe=>g(_0x54b6fe,_0x43dc7d['mapper']));for(const _0x35c674 of _0x56b9d9)_0x43dc7d['reconvertItem'](_0x35c674);}}(_0x840c1f['model'],_0x840c1f['editing']);})):(_0x12086d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x12086d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1cddcf,{writer:_0x5ea8b1})=>{const _0x399fa2=_0x5ea8b1['createContainerElement']('span');return _0x5ea8b1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x399fa2),_0x399fa2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3b270d}=this,{editing:_0x2967ee,t:t}=_0x3b270d,_0x122ce8=_0x3b270d['model']['document']['selection'];_0x3b270d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3b270d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2967ee['view']['document'],'enter',(_0x11ea62,_0x3f0207)=>{const _0x19aff4=function(_0x11ad4f){const _0x4d201e=_0x11ad4f['getSelectedElement']();if(_0x4d201e?.['is']('element','footnoteRef'))return _0x4d201e;return null;}(_0x122ce8);if(_0x19aff4){const _0xeb4657=_0x19aff4['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xeb4657),_0x3f0207['preventDefault'](),_0x11ea62['stop']();}},{'context':_0x5b5b76});}['_defineClickHandlers'](){const {editor:_0x1820b5}=this,{editing:_0x57109d}=_0x1820b5;_0x1820b5['editing']['view']['addObserver'](_0x14bbcd),_0x1820b5['editing']['view']['addObserver'](_0x2be962);let _0x3a90d0=!0x1;this['listenTo'](_0x57109d['view']['document'],'pointerdown',(_0x273742,_0xc72e25)=>{const {target:_0x12ebb7}=_0xc72e25,_0x292b43=_0x57109d['view']['document']['selection'];_0x3a90d0=!!(_0x12ebb7?.['is']('element','a')&&_0x12ebb7['parent']?.['is']('element','sup')&&_0x12ebb7['parent']['hasClass']('footnote'))&&_0x292b43['getSelectedElement']()===_0x12ebb7['parent'];},{'priority':'high'}),this['listenTo'](_0x57109d['view']['document'],'click',(_0x5b46f9,_0x311c5b)=>{const {target:_0x5ad347}=_0x311c5b;if(!_0x5ad347?.['is']('element','a'))return;if(_0x5ad347['parent']?.['is']('element','sup')&&_0x5ad347['parent']['hasClass']('footnote')&&!_0x3a90d0)return void _0x311c5b['preventDefault']();let _0x139c5c=_0x5ad347['getAttribute']('href');if(!_0x139c5c?.['startsWith']('#'))return;_0x139c5c=_0x139c5c['slice'](0x1);let _0x3b7c04=!0x1;(_0x139c5c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x139c5c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x139c5c))&&(_0x3b7c04=!0x0),_0x3b7c04&&(_0x311c5b['preventDefault'](),_0x5b46f9['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x492272}={}){return(_0x210d88,{writer:_0x7d52b5})=>{if(!p(_0x210d88))return null;if(!_0x492272)return _0x7d52b5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4f7e11=_0x7d52b5['createContainerElement']('p');return _0x7d52b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4f7e11),_0x4f7e11;};}function p(_0x47aa2b){const {parent:_0x1ae13a}=_0x47aa2b;if(!_0x1ae13a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1ae13a['childCount'])return!0x1;for(const _0x1d14e4 of _0x47aa2b['getAttributeKeys']())if(!_0x1d14e4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1d14e4)return!0x1;return!0x0;}function g(_0x4d2fa1,_0x2a7c39){if(!_0x4d2fa1['is']('element','paragraph'))return!0x1;const _0x498018=_0x2a7c39['toViewElement'](_0x4d2fa1);return!!_0x498018&&p(_0x4d2fa1)!==_0x498018['is']('element','span');}function J(_0x5c35aa){return _0x5b5b76(_0x5c35aa)&&_0x5c35aa['is']('containerElement')&&!!_0x5c35aa['getCustomProperty']('footnotesDefinitions');}function v(_0xa0395d,_0x3f00bf={}){const _0x27528a=_0xa0395d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x9dcc57=_0xa0395d['createContainerElement']('ol',{'class':'footnotes-list'},_0xa0395d['createSlot']());return _0xa0395d['createContainerElement']('div',{'class':'footnotes',..._0x3f00bf},[_0x27528a,_0x9dcc57]);}function D(_0x1c8182,_0x14c5b2){const _0x489e42=_0x1c8182['getAttribute']('footnoteId'),_0x1cc8f0=_0x1c8182['getAttribute']('footnoteCounter'),_0x453341=_0x14c5b2['createUIElement']('a',{'href':'#'+_0x489e42},function(_0x21c220){const _0x16e5cc=this['toDomElement'](_0x21c220);return _0x16e5cc['textContent']=_0x1cc8f0,_0x16e5cc;}),_0x54d26b=_0x14c5b2['createContainerElement']('sup',{'id':'ref-'+_0x489e42,'class':'footnote'},[_0x453341]);return _0x54d26b['getFillerOffset']=()=>null,_0x54d26b;}function b(_0x224b33,_0x110307,_0xb7c16b,{dataPipeline:_0x393db5}={}){const {t:t}=_0xb7c16b,_0x2cace8=_0x224b33['getAttribute']('footnoteId'),_0x445eca=_0x110307['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cace8},function(_0x1c8e0c){const _0x3a385d=this['toDomElement'](_0x1c8e0c);return _0x3a385d['innerText']='^',_0x3a385d;}),_0x53379f=_0x393db5?_0x110307['createContainerElement']('div',{'class':'footnote-content'}):_0x42f4eb(_0x110307['createEditableElement']('div',{'class':'footnote-content'}),_0x110307,{'label':t('Footnote\x20content.')});return _0x110307['insert'](_0x110307['createPositionAt'](_0x53379f,0x0),_0x110307['createSlot']()),_0x110307['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cace8},[_0x445eca,_0x53379f]);}class e extends _0x49c36c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4c5597];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x11bdc2}=this,{plugins:_0x277405,model:_0x518384}=_0x11bdc2,_0x3fa6fc=_0x277405['get'](_0x4c5597),_0x2b2746=_0x277405['get'](c);this['listenTo'](_0x3fa6fc,'outputTransformation',(_0x187b2f,_0x3f47fc)=>{const _0x10b25d=f(_0x518384['createRangeIn'](_0x3f47fc['content']));if(!_0x10b25d['length'])return;const _0x5bf47f=_0x2b2746['getFootnotes'](),_0x3f044a=_0x10b25d['reduce']((_0xaa6c51,_0x1d4a3b)=>{const _0x5e0085=_0x5bf47f['find'](_0x451810=>_0x451810['id']===_0x1d4a3b);if(_0x5e0085){const _0x372f87=_0x11bdc2['data']['toView'](_0x5e0085['definition'],{'isClipboardPipeline':!0x0}),_0x5729db=_0x11bdc2['data']['htmlProcessor']['toData'](_0x372f87);_0xaa6c51[_0x5e0085['id']]=_0x5729db;}return _0xaa6c51;},Object['create'](null));_0x3f47fc['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3f044a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x159f8b}=this,{model:_0x44484b,plugins:_0x457705}=_0x159f8b,{view:_0x380ccb}=_0x159f8b['editing'],_0x51409d=_0x457705['get'](_0x4c5597),_0x472974=_0x457705['get'](c);let _0x494be0=null;this['listenTo'](_0x380ccb['document'],'clipboardInput',(_0x422739,_0x277795)=>{const _0x568d9e=_0x277795['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x494be0=_0x568d9e?JSON['parse'](_0x568d9e):null;}),this['listenTo'](_0x51409d,'contentInsertion',(_0x230ce5,_0x1f5a58)=>{const _0x45e585=_0x1f5a58['sourceEditorId']===this['editor']['id'];_0x45e585&&'drop'===_0x1f5a58['method']||_0x44484b['change'](_0x4cc286=>{let _0x1dfe97=_0x472974['getFootnotesDefinitionsObjectElement']();const _0x56f510=!!_0x1dfe97&&Array['from'](_0x44484b['document']['selection']['getSelectedBlocks']())['includes'](_0x1dfe97);if(_0x1dfe97&&!_0x56f510&&function(_0x220f34,_0x56bb9f){const _0x4731dc=[];for(const {item:_0x45d46e}of _0x220f34['createRangeIn'](_0x56bb9f))_0x45d46e['is']('element','footnotesDefinitions')&&_0x4731dc['push'](_0x45d46e);for(const _0x480436 of _0x4731dc)_0x220f34['remove'](_0x480436);}(_0x4cc286,_0x1f5a58['content']),!_0x494be0)return;const {selection:_0x418ddf}=_0x44484b['document'],_0x2da2ad=_0x418ddf['getFirstRange']()['root'];_0x1dfe97&&!_0x56f510||(_0x1dfe97=function(_0x3a99c6,_0x1c0140){for(const {item:_0x4fdf51}of _0x3a99c6['createRangeIn'](_0x1c0140))if(_0x4fdf51['is']('element','footnotesDefinitions'))return _0x4fdf51;return null;}(_0x4cc286,_0x1f5a58['content']),_0x1dfe97||=_0x472974['_insertEmptyFootnotesDefinitionsContainer'](_0x4cc286,_0x2da2ad));const _0x31016a=Array['from'](_0x418ddf['getRanges']())['flatMap'](f),_0xbff1db=function(_0x2e2e2b,_0x38749d,_0xcff88f){const _0x2eb6fc=Object['create'](null);for(const {item:_0x3985af}of _0x2e2e2b['createRangeIn'](_0x38749d))if(_0x3985af['is']('element','footnoteRef')){const _0x1c6d36=_0x3985af['getAttribute']('footnoteId');if(!_0xcff88f(_0x1c6d36))continue;_0x2eb6fc[_0x1c6d36]||(_0x2eb6fc[_0x1c6d36]=_0x3d10b0()),_0x2e2e2b['setAttribute']('footnoteId',_0x2eb6fc[_0x1c6d36],_0x3985af);}return _0x2eb6fc;}(_0x4cc286,_0x1f5a58['content'],_0x339bbd=>{if(!_0x45e585)return!0x0;return!!_0x472974['getFootnote'](_0x339bbd)&&!_0x31016a['includes'](_0x339bbd);});for(const [_0x282629,_0x10291a]of Object['entries'](_0x494be0)){const _0x4eb4bd=_0xbff1db[_0x282629]||_0x282629,_0x611008=_0x4cc286['createElement']('footnoteDefinition',{'footnoteId':_0x4eb4bd}),_0x322c55=_0x159f8b['data']['htmlProcessor']['toView'](_0x10291a),_0x1c52eb=_0x159f8b['data']['toModel'](_0x322c55,_0x611008);_0x4cc286['append'](_0x1c52eb,_0x611008),_0x4cc286['insert'](_0x611008,_0x1dfe97,'end');}_0x494be0=null;});});}}function f(_0x5a4aa4){const _0x5656c0=new Set();for(const {item:_0x1fd079}of _0x5a4aa4)_0x1fd079['is']('element','footnoteRef')&&_0x5656c0['add'](_0x1fd079['getAttribute']('footnoteId'));return Array['from'](_0x5656c0);}class i extends _0x49c36c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58d2f0}=this,{componentFactory:_0x519e57}=_0x58d2f0['ui'];_0x519e57['add']('insertFootnote',x(_0x58d2f0,_0x43f6c3)),_0x519e57['add']('menuBar:insertFootnote',x(_0x58d2f0,_0x1c4855)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22bd37=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c77af;for(const _0x33e97d in _0x22bd37){const _0x174239=_0x33e97d,_0x4d0efa=_0x22bd37[_0x174239];if('footnotesLicenseKeyValid'==_0x4d0efa||'footnotesLicenseKeyInvalid'==_0x4d0efa||'footnotesLicenseKeyExpired'==_0x4d0efa||'footnotesLicenseKeyDomainLimit'==_0x4d0efa||'footnotesLicenseKeyNotAllowed'==_0x4d0efa||'footnotesLicenseKeyEvaluationLimit'==_0x4d0efa||'footnotesLicenseKeyTrialLimit'==_0x4d0efa||'footnotesLicenseKeyUsageLimit'==_0x4d0efa){delete _0x22bd37[_0x174239],_0x3c77af=_0x4d0efa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c77af&&_0x22bd37['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c77af&&_0x22bd37['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c77af&&_0x22bd37['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c77af&&_0x22bd37['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5f44d0,_0x190635){const _0xa7b9ef=_0x5f44d0['commands']['get']('insertFootnote');return _0x5c080a=>{const {t:t}=_0x5c080a,_0x430344=new _0x190635(_0x5c080a),_0x517e3d=_0x430344 instanceof _0x1c4855;return _0x430344['bind']('isEnabled')['to'](_0xa7b9ef,'isEnabled'),_0x430344['set']({'label':t(_0x517e3d?'Footnote':'Insert\x20footnote'),'icon':_0x4969aa,'tooltip':!0x0}),_0x430344['on']('execute',()=>{_0xa7b9ef['execute'](),_0x5f44d0['editing']['view']['focus']();}),_0x430344;};}class lt extends _0x49c36c{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 _0x2dc098{['refresh'](){const {editor:_0x6a2809}=this,_0x31411d=_0x6a2809['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x31411d,this['value']=_0x31411d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xd64772}){const {editor:_0x3a2441}=this,_0x5523a8=_0x3a2441['plugins']['get'](c),_0x4db777=_0x5523a8['getFootnotesDefinitionsObjectElement']();_0x4db777&&Q['includes'](_0xd64772)&&_0x3a2441['model']['change'](_0x4f7bc3=>{_0x4f7bc3['setAttribute']('footnotesListStyle',_0xd64772,_0x4db777),_0x5523a8['_updateFootnotesCounters'](_0x4f7bc3);});}}class C extends _0x2dc098{['refresh'](){const {editor:_0x1f3678}=this,_0x19a522=_0x1f3678['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x19a522,this['value']=_0x19a522?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x3ab8b3}){const {editor:_0x5a285e}=this,_0x3f2d55=_0x5a285e['plugins']['get'](c),_0x56b2e9=_0x3f2d55['getFootnotesDefinitionsObjectElement']();_0x56b2e9&&Number['isInteger'](_0x3ab8b3)&&_0x5a285e['model']['change'](_0x4a68db=>{_0x4a68db['setAttribute']('footnotesListStart',_0x3ab8b3,_0x56b2e9),_0x3f2d55['_updateFootnotesCounters'](_0x4a68db);});}}class P extends _0x49c36c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xafa0}=this;_0xafa0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xafa0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xafa0['commands']['add']('footnotesStyle',new S(_0xafa0)),_0xafa0['commands']['add']('footnotesStart',new C(_0xafa0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3f146c}=this,{schema:_0x26fdab}=_0x3f146c['model'];_0x26fdab['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x26cfac}=this,{conversion:_0x4e4e27,model:_0x518e4e}=_0x26cfac,{schema:_0x393765}=_0x518e4e;_0x4e4e27['for']('upcast')['add'](_0x1b82f1=>{_0x1b82f1['on']('element:ol',(_0x52ee95,_0x1c1b33,_0x4e5b20)=>{const _0x4f4481=_0x1c1b33['viewItem'],_0x172efc=_0x1c1b33['modelCursor']?.['parent'];_0x4f4481['hasClass']('footnotes-list')&&_0x172efc?.['is']('element','footnotesDefinitions')&&(function(_0x1acea9,_0x4dbdf4,_0x559e8a,_0x352527){if(!_0x352527['checkAttribute'](_0x4dbdf4,'footnotesListStart'))return;let _0x5a30e3=0x1;const _0xf5d115=_0x559e8a['consumable']['consume'](_0x1acea9,{'attributes':'start'});if(_0xf5d115){const _0x2f9bfe=Number['parseInt'](_0x1acea9['getAttribute']('start'),0xa);Number['isNaN'](_0x2f9bfe)||(_0x5a30e3=_0x2f9bfe);}!_0xf5d115&&_0x4dbdf4['hasAttribute']('footnotesListStart')||_0x559e8a['writer']['setAttribute']('footnotesListStart',_0x5a30e3,_0x4dbdf4);}(_0x4f4481,_0x172efc,_0x4e5b20,_0x393765),function(_0x5e241e,_0x56f315,_0x4fae7a,_0x4461df){if(!_0x4461df['checkAttribute'](_0x56f315,'footnotesListStyle'))return;let _0x589167='decimal',_0x5b60cd=!0x1;if(_0x4fae7a['consumable']['consume'](_0x5e241e,{'attributes':'type'})){const _0x47c3d0={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e241e['getAttribute']('type')];_0x47c3d0&&(_0x589167=_0x47c3d0),_0x5b60cd=!0x0;}_0x4fae7a['consumable']['consume'](_0x5e241e,{'styles':'list-style-type'})&&(_0x589167=_0x5e241e['getStyle']('list-style-type'),_0x5b60cd=!0x0),!_0x5b60cd&&_0x56f315['hasAttribute']('footnotesListStyle')||_0x4fae7a['writer']['setAttribute']('footnotesListStyle',_0x589167,_0x56f315);}(_0x4f4481,_0x172efc,_0x4e5b20,_0x393765));});}),_0x4e4e27['for']('downcast')['add'](_0x542470=>{_0x542470['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x8e2830,_0x1a3328,_0x4f4919)=>{if(!_0x4f4919['consumable']['consume'](_0x1a3328['item'],_0x8e2830['name']))return;const _0x5485fb=M(_0x1a3328['item'],_0x4f4919['mapper']),{attributeNewValue:_0xd5ee29}=_0x1a3328;null==_0xd5ee29||0x1===_0xd5ee29?_0x4f4919['writer']['removeAttribute']('start',_0x5485fb):_0x4f4919['writer']['setAttribute']('start',String(_0xd5ee29),_0x5485fb);}),_0x542470['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x452faf,_0x31955a,_0x27da93)=>{if(!_0x27da93['consumable']['consume'](_0x31955a['item'],_0x452faf['name']))return;const _0x30bd9f=M(_0x31955a['item'],_0x27da93['mapper']),{attributeNewValue:_0x266649}=_0x31955a;_0x266649&&'decimal'!==_0x266649?_0x27da93['writer']['setStyle']('list-style-type',_0x266649,_0x30bd9f):_0x27da93['writer']['removeStyle']('list-style-type',_0x30bd9f);});});}['_definePostfixer'](){const {editor:_0x227ae5}=this,{model:_0x4cf1cf}=_0x227ae5,_0x20244d=_0x227ae5['plugins']['get'](c),_0x4bf554=this['_getDefaultListStyle'](),_0x2bb405=this['_getDefaultStartIndex']();_0x4cf1cf['document']['registerPostFixer'](_0xffc542=>{const _0x52695d=_0x4cf1cf['document']['differ']['getChanges']();let _0x59e711=!0x1;for(const _0x46db1f of _0x52695d){if('insert'!==_0x46db1f['type']||'$text'===_0x46db1f['name'])continue;const _0x3e3ab7=_0x4cf1cf['createRangeOn'](_0x46db1f['position']['nodeAfter']);for(const _0x3efea0 of _0x3e3ab7['getItems']())_0x3efea0['is']('element','footnotesDefinitions')&&(!_0x3efea0['hasAttribute']('footnotesListStart')&&_0x4cf1cf['schema']['checkAttribute'](_0x3efea0,'footnotesListStart')&&(_0xffc542['setAttribute']('footnotesListStart',_0x2bb405,_0x3efea0),_0x59e711=!0x0),!_0x3efea0['hasAttribute']('footnotesListStyle')&&_0x4cf1cf['schema']['checkAttribute'](_0x3efea0,'footnotesListStyle')&&(_0xffc542['setAttribute']('footnotesListStyle',_0x4bf554,_0x3efea0),_0x59e711=!0x0));}return _0x59e711&&_0x20244d['_updateFootnotesCounters'](_0xffc542),_0x59e711;});}['_defineFormatter'](){const {editor:_0x19cef8}=this;_0x19cef8['plugins']['get'](c)['setFootnoteFormatter'](_0xa1cb3c=>this['_formatFootnoteListValue'](_0xa1cb3c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4b07bf,value:_0x2d3b95,digits:_0x407ad2}){const _0x81cd45=_0x4b07bf['getAttribute']('footnotesListStyle'),_0x1b66df=_0x4b07bf['getAttribute']('footnotesListStart'),_0x5db5ba=Math['floor'](_0x2d3b95)+(_0x1b66df??0x1)-0x1;switch(_0x81cd45){case'decimal-leading-zero':return function(_0x3219bc,_0x31ffee){return String(_0x3219bc)['padStart'](_0x31ffee,'0');}(_0x5db5ba,Math['max'](0x2,_0x407ad2));case'lower-alpha':case'lower-latin':return N(_0x5db5ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5db5ba,!0x0);case'lower-roman':return X(_0x5db5ba,!0x1);case'upper-roman':return X(_0x5db5ba,!0x0);default:return String(_0x5db5ba);}}}function M(_0x2f2212,_0x2690f7){const _0x2340fd=_0x2690f7['toViewElement'](_0x2f2212);return Array['from'](_0x2340fd['getChildren']())['find'](_0xeae65f=>_0xeae65f['is']('element','ol')&&_0xeae65f['hasClass']('footnotes-list'));}function N(_0x10b180,_0xe2bcda){let _0x17c287='',_0xc7ec4b=_0x10b180;for(;_0xc7ec4b>0x0;){const _0x6ce05e=(_0xc7ec4b-0x1)%0x1a;_0x17c287=String['fromCharCode'](0x61+_0x6ce05e)+_0x17c287,_0xc7ec4b=Math['floor']((_0xc7ec4b-0x1)/0x1a);}return _0xe2bcda?_0x17c287['toUpperCase']():_0x17c287;}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(_0x223254,_0x49654e){let _0x4d908c='',_0x52f3ae=_0x223254;for(const {value:_0x3d2e8f,numeral:_0x1d23b9}of V)for(;_0x52f3ae>=_0x3d2e8f;)_0x4d908c+=_0x1d23b9,_0x52f3ae-=_0x3d2e8f;return _0x49654e?_0x4d908c:_0x4d908c['toLowerCase']();}class H extends _0x1243c8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0xb8eda8();['focusCycler'];constructor(_0xaf5aa5,{styleButtonViews:_0x36be81,styleGridAriaLabel:_0x2e0d31}){super(_0xaf5aa5),(this['focusCycler']=new _0x2bd343({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x36be81,_0x2e0d31),[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 _0x3e5e50 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3e5e50['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 _0x47ed08=_0x2ea65b=>_0x2ea65b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47ed08),this['keystrokes']['set']('arrowleft',_0x47ed08),this['keystrokes']['set']('arrowup',_0x47ed08),this['keystrokes']['set']('arrowdown',_0x47ed08);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x36c4fe,_0x3ffa65){const _0x254093=new _0x1243c8(this['locale']);return _0x254093['children']=_0x254093['createCollection'](),_0x254093['children']['addMany'](_0x36c4fe),_0x254093['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3ffa65,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x254093['children']}),_0x254093['children']['delegate']('execute')['to'](this),_0x254093['focus']=function(){for(const _0x23a2d3 of this['children'])if(_0x23a2d3 instanceof _0x43f6c3&&_0x23a2d3['isOn'])return void _0x23a2d3['focus']();this['children']['first']['focus']();},_0x254093['focusTracker']=new ot(),_0x254093['keystrokes']=new rt(),_0x254093['render'](),_0x254093['keystrokes']['listenTo'](_0x254093['element']),this['children']['add'](_0x254093),_0x254093;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3c33d4=this['_createStartIndexPropertyView'](),_0x2ba44b=[_0x3c33d4],_0xc691dc=new st(this['locale'],_0x2ba44b);return _0xc691dc['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xc691dc['buttonView']['bind']('isEnabled')['toMany'](_0x2ba44b,'isEnabled',(..._0x43d259)=>_0x43d259['some'](_0x2d7768=>_0x2d7768)),_0xc691dc['buttonView']['on']('change:isEnabled',(_0x4eaf44,_0xff0fec,_0x1e7871)=>{_0x1e7871||(_0xc691dc['isCollapsed']=!0x0);}),this['children']['add'](_0xc691dc),[_0x3c33d4,_0xc691dc];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4e7826=new it(this['locale'],et);return _0x4e7826['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4e7826['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e7826['fieldView']['on']('input',()=>{const _0x36172e=_0x4e7826['fieldView']['element'],_0x55de70=_0x36172e['valueAsNumber'];Number['isNaN'](_0x55de70)?_0x4e7826['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x36172e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x55de70}):_0x4e7826['errorText']=t(_0x55de70<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4e7826;}}class j extends _0x49c36c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1daaf3,_0xdc63b1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eb26e}=this,{componentFactory:_0x336b74}=_0x5eb26e['ui'];_0x5eb26e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x336b74['add']('footnotesStyle',function(_0x3372a2){return _0x79c9b2=>{const {t:t}=_0x79c9b2,_0x384f38=_0x3372a2['commands']['get']('footnotesStyle'),_0x17be52=_0x1d2237(_0x79c9b2),{buttonView:_0x5840a3}=_0x17be52;return _0x17be52['class']='ck-footnotes-styles-dropdown',_0x17be52['bind']('isEnabled')['to'](_0x384f38,'isEnabled'),_0x5840a3['set']({'label':t('Footnotes\x20style'),'icon':_0x4969aa,'tooltip':!0x0}),_0x17be52['once']('change:isOpen',()=>{const _0x3d38eb=function({editor:_0x2ce496,dropdownView:_0x3fdb4d}){const {t:t}=_0x2ce496['locale'],_0x126fb8=t('Footnotes\x20definitions\x20styles'),_0x3b3a6d=function(_0x3f0701){const t=_0x3f0701['locale']['t'],_0x264e87=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4cb109},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3fd1c6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4dd4e6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x56fa6d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5c033e},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x265453}];return _0x264e87['map'](function(_0x2743c6){const _0x1623b1=_0x2743c6['locale'];return({label:_0x3ab0e4,icon:_0x13cd07,tooltip:_0x45b592,style:_0x58b37b})=>{const _0x3e8a48=_0x2743c6['commands']['get']('footnotesStyle'),_0x55d715=new _0x43f6c3(_0x1623b1);return _0x55d715['set']({'label':_0x3ab0e4,'icon':_0x13cd07,'tooltip':_0x45b592}),_0x55d715['bind']('isOn')['to'](_0x3e8a48,'value',_0x6f7031=>_0x6f7031===_0x58b37b),_0x55d715['bind']('isEnabled')['to'](_0x3e8a48,'isEnabled'),_0x55d715['on']('execute',()=>{_0x2743c6['execute']('footnotesStyle',{'value':_0x58b37b}),_0x2743c6['editing']['view']['focus']();}),_0x55d715;};}(_0x3f0701));}(_0x2ce496),_0x44a157=new H(_0x2ce496['locale'],{'styleGridAriaLabel':_0x126fb8,'styleButtonViews':_0x3b3a6d});return _0x44a157['delegate']('execute')['to'](_0x3fdb4d),_0x44a157['on']('footnotesListStart',(_0x53f610,_0x19c638)=>{_0x2ce496['execute']('footnotesStart',{'value':_0x19c638['startIndex']});}),_0x44a157;}({'editor':_0x3372a2,'dropdownView':_0x17be52});_0x17be52['panelView']['children']['add'](_0x3d38eb);}),_0x17be52;};}(_0x5eb26e));}['afterInit'](){const {editor:_0x2d883a}=this,{t:t}=_0x2d883a['locale'],_0x2bba37=_0x2d883a['plugins']['get'](_0xdc63b1),{defaultPositions:_0x1b5bbe}=_0x520500;_0x2bba37['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2d883a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x32a54e=>{let _0x10b1cd=_0x32a54e['getFirstPosition']()?.['parent'];return _0x10b1cd?.['is']('$text')&&(_0x10b1cd=_0x10b1cd['parent']),_0x10b1cd?.['is']('element')?_0x10b1cd['findAncestor'](J):null;},'positions':[_0x1b5bbe['southArrowNorth'],_0x1b5bbe['southArrowNorthMiddleWest'],_0x1b5bbe['southArrowNorthMiddleEast'],_0x1b5bbe['southArrowNorthWest'],_0x1b5bbe['southArrowNorthEast'],_0x1b5bbe['northArrowSouth'],_0x1b5bbe['northArrowSouthMiddleWest'],_0x1b5bbe['northArrowSouthMiddleEast'],_0x1b5bbe['northArrowSouthWest'],_0x1b5bbe['northArrowSouthEast'],_0x1b5bbe['viewportStickyNorth']]});}}class ft extends _0x49c36c{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':_0xd0659f=>0x1!=_0xd0659f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31d409=>{const {af:{dictionary:_0x374ce1,getPluralForm:_0x308a8a}}={'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':_0x514fcd=>0x1!=_0x514fcd}};_0x31d409['af']||={'dictionary':{},'getPluralForm':null},_0x31d409['af']['dictionary']=Object['assign'](_0x31d409['af']['dictionary'],_0x374ce1),_0x31d409['af']['getPluralForm']=_0x308a8a;})(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':_0x1bd9fd=>0x0==_0x1bd9fd?0x0:0x1==_0x1bd9fd?0x1:0x2==_0x1bd9fd?0x2:_0x1bd9fd%0x64>=0x3&&_0x1bd9fd%0x64<=0xa?0x3:_0x1bd9fd%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x108bf4=>{const {ar:{dictionary:_0x8521af,getPluralForm:_0x58a75a}}={'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':_0x59ef26=>0x0==_0x59ef26?0x0:0x1==_0x59ef26?0x1:0x2==_0x59ef26?0x2:_0x59ef26%0x64>=0x3&&_0x59ef26%0x64<=0xa?0x3:_0x59ef26%0x64>=0xb?0x4:0x5}};_0x108bf4['ar']||={'dictionary':{},'getPluralForm':null},_0x108bf4['ar']['dictionary']=Object['assign'](_0x108bf4['ar']['dictionary'],_0x8521af),_0x108bf4['ar']['getPluralForm']=_0x58a75a;})(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':_0x32232e=>0x1!=_0x32232e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40a442=>{const {ast:{dictionary:_0x571154,getPluralForm:_0xda3cf9}}={'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':_0x41ce70=>0x1!=_0x41ce70}};_0x40a442['ast']||={'dictionary':{},'getPluralForm':null},_0x40a442['ast']['dictionary']=Object['assign'](_0x40a442['ast']['dictionary'],_0x571154),_0x40a442['ast']['getPluralForm']=_0xda3cf9;})(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':_0x1e49a0=>0x1!=_0x1e49a0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26f7c1=>{const {az:{dictionary:_0x10431b,getPluralForm:_0x432d72}}={'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':_0x5ea31f=>0x1!=_0x5ea31f}};_0x26f7c1['az']||={'dictionary':{},'getPluralForm':null},_0x26f7c1['az']['dictionary']=Object['assign'](_0x26f7c1['az']['dictionary'],_0x10431b),_0x26f7c1['az']['getPluralForm']=_0x432d72;})(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':_0x4dfb11=>_0x4dfb11%0xa==0x1&&_0x4dfb11%0x64!=0xb?0x0:_0x4dfb11%0xa>=0x2&&_0x4dfb11%0xa<=0x4&&(_0x4dfb11%0x64<0xa||_0x4dfb11%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c7973=>{const {be:{dictionary:_0x461f6b,getPluralForm:_0x501372}}={'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':_0x52c45b=>_0x52c45b%0xa==0x1&&_0x52c45b%0x64!=0xb?0x0:_0x52c45b%0xa>=0x2&&_0x52c45b%0xa<=0x4&&(_0x52c45b%0x64<0xa||_0x52c45b%0x64>=0x14)?0x1:0x2}};_0x2c7973['be']||={'dictionary':{},'getPluralForm':null},_0x2c7973['be']['dictionary']=Object['assign'](_0x2c7973['be']['dictionary'],_0x461f6b),_0x2c7973['be']['getPluralForm']=_0x501372;})(window['CKEDITOR_TRANSLATIONS']||={});
|