@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251103.0 → 0.0.0-nightly-20251105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.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/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x370733}from'ckeditor5/src/core.js';import{isWidget as _0x5c6ff7,toWidget as _0x3697f5,toWidgetEditable as _0x1a7095}from'ckeditor5/src/widget.js';import{uid as _0x22f426}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5d03b0,ClickObserver as _0x57c99f}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1ff412}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4f9786}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x370733{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1ff412];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52857c}=this;_0x52857c['config']['define']('footnotes.multiBlock',!0x0),_0x52857c['commands']['add']('insertFootnote',new _0x4f9786(_0x52857c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3c1f3e){const _0xf94c80=_0x324158([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]),_0x214046=0x47a28506,_0x37cd01=0x47a5fd0e^_0x214046,_0x190135=window[_0x324158([0x44,0x61,0x74,0x65])][_0x324158([0x6e,0x6f,0x77])](),_0x120a4d=_0x3c1f3e[_0x324158([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x91afac=new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d59a6=>{_0x120a4d[_0x324158([0x6f,0x6e,0x63,0x65])](_0x324158([0x72,0x65,0x61,0x64,0x79]),_0x4d59a6);}),_0x22d629={[_0x324158([0x6b,0x74,0x79])]:_0x324158([0x45,0x43]),[_0x324158([0x75,0x73,0x65])]:_0x324158([0x73,0x69,0x67]),[_0x324158([0x63,0x72,0x76])]:_0x324158([0x50,0x2d,0x32,0x35,0x36]),[_0x324158([0x78])]:_0x324158([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]),[_0x324158([0x79])]:_0x324158([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]),[_0x324158([0x61,0x6c,0x67])]:_0x324158([0x45,0x53,0x32,0x35,0x36])},_0x34922f=_0x120a4d[_0x324158([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x324158([0x67,0x65,0x74])](_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54ec6f(){let _0x1c764,_0x37856d=null,_0x4d375f=null;try{if(_0x34922f==_0x324158([0x47,0x50,0x4c]))return _0x324158([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c764=_0x1f0f99(),!_0x1c764)return _0x324158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c764[_0x324158([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d375f=_0x24cf12(_0x1c764[_0x324158([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c764[_0x324158([0x6a,0x74,0x69])])),await _0xd91870()?_0x45bd1b()?_0x596615()?_0x324158([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3caef7()?(_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x324158([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37856d=_0x22bd9d(_0x324158([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x324158([0x74,0x72,0x69,0x61,0x6c])&&(_0x37856d=_0x22bd9d(_0x324158([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fed44()):_0x324158([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x324158([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x324158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x324158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x596615(){const _0x3b1ae6=[_0x324158([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x324158([0x74,0x72,0x69,0x61,0x6c])][_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x190135/0x3e8:0xe10*_0x37cd01;return _0x1c764[_0x324158([0x65,0x78,0x70])]<_0x3b1ae6;}function _0x45bd1b(){const _0x461dfa=_0x1c764[_0x324158([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x461dfa&&(!!_0x461dfa[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324158([0x2a]))||!!_0x461dfa[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324158([0x46,0x4f,0x4f])));}function _0x3caef7(){const _0x5e916f=_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e916f||0x0==_0x5e916f[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8a10e7}=new URL(window[_0x324158([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e916f[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a10e7))return!0x0;const _0x45c6a9=_0x8a10e7[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e]));return _0x5e916f[_0x324158([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x244cd1=>_0x244cd1[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324158([0x2a])))[_0x324158([0x6d,0x61,0x70])](_0x5e7ee9=>_0x5e7ee9[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e])))[_0x324158([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2acdfb=>_0x2acdfb[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45c6a9[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x324158([0x6d,0x61,0x70])](_0x1e8962=>Array(_0x45c6a9[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e8962[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x324158([0x66,0x69,0x6c,0x6c])](_0x1e8962[0x0]===_0x324158([0x2a])?_0x324158([0x2a]):'')[_0x324158([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e8962))[_0x324158([0x73,0x6f,0x6d,0x65])](_0x394964=>_0x45c6a9[_0x324158([0x65,0x76,0x65,0x72,0x79])]((_0x29959a,_0x2eae3b)=>_0x394964[_0x2eae3b]===_0x29959a||_0x394964[_0x2eae3b]===_0x324158([0x2a])));}function _0x3fed44(){return _0x37856d&&_0x4d375f?new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cff37,_0x4b675f)=>{_0x37856d[_0x324158([0x74,0x68,0x65,0x6e])](_0x4cff37,_0x4b675f),_0x4d375f[_0x324158([0x74,0x68,0x65,0x6e])](_0x327b9a=>{_0x327b9a!=_0x324158([0x56,0x61,0x6c,0x69,0x64])&&_0x4cff37(_0x327b9a);},_0x4b675f);}):_0x37856d||_0x4d375f||_0x324158([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24cf12(_0x2f3656,_0x22a0e5){return new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255203=>{if(_0xfcb2ef())return _0x255203(_0x324158([0x56,0x61,0x6c,0x69,0x64]));_0x3418ca(),_0x120a4d[_0x324158([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x324158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31064f=!0x1;const _0x5ba893=_0x22f426();function _0x115f9b(_0x8bd8ac){return!!_0x8bd8ac&&(typeof _0x8bd8ac===_0x324158([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8bd8ac===_0x324158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8bd8ac[_0x324158([0x74,0x68,0x65,0x6e])]===_0x324158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8bd8ac[_0x324158([0x63,0x61,0x74,0x63,0x68])]===_0x324158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f5031(_0x32bd3c){_0x5e83f5(_0x32bd3c)[_0x324158([0x74,0x68,0x65,0x6e])](_0x26fecd=>{if(!_0x26fecd||_0x26fecd[_0x324158([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x324158([0x6f,0x6b]))return _0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c826f(_0x53beaa(_0x5ba893+_0x22a0e5))!=_0x26fecd[_0x324158([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x324158([0x56,0x61,0x6c,0x69,0x64]);})[_0x324158([0x74,0x68,0x65,0x6e])](_0x56d1e6=>(_0x50733f(),_0x56d1e6),()=>{const _0xcca71=_0x4624a0();return null==_0xcca71?(_0x50733f(),_0x324158([0x56,0x61,0x6c,0x69,0x64])):_0x324158(_0x190135-_0xcca71>(0x63ae0106^_0x214046)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x324158([0x74,0x68,0x65,0x6e])](_0x255203)[_0x324158([0x63,0x61,0x74,0x63,0x68])](()=>{_0x255203(_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13e105=0x47946b86^_0x214046;function _0x50733f(){const _0x825598=_0x324158([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c826f(_0x53beaa(_0x2f3656)),_0x24acb4=_0x4ffd7c(_0x3c826f(window[_0x324158([0x4d,0x61,0x74,0x68])][_0x324158([0x63,0x65,0x69,0x6c])](_0x190135/_0x13e105)));window[_0x324158([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x324158([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x825598,_0x24acb4);}function _0x4624a0(){const _0x4cd0c7=_0x324158([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c826f(_0x53beaa(_0x2f3656)),_0x2fefb6=window[_0x324158([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x324158([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cd0c7);return _0x2fefb6?window[_0x324158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ffd7c(_0x2fefb6),0x10)*_0x13e105:null;}function _0x5e83f5(_0x861e12){return new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x212d0d,_0x5288be)=>{_0x861e12[_0x324158([0x74,0x68,0x65,0x6e])](_0x212d0d,_0x5288be),window[_0x324158([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5288be,0x47a351c6^_0x214046);});}}_0x120a4d[_0x324158([0x6f,0x6e])](_0x324158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fcbef,_0x357019)=>{if(_0x357019[0x0]!=_0x2f3656)return _0x255203(_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x357019[0x1]={..._0x357019[0x1],[_0x324158([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ba893};},{[_0x324158([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x324158([0x68,0x69,0x67,0x68])}),_0x120a4d[_0x324158([0x6f,0x6e])](_0x324158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23e353=>{_0x115f9b(_0x23e353[_0x324158([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31064f=!0x0,_0x4f5031(_0x23e353[_0x324158([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x324158([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x324158([0x6c,0x6f,0x77])}),_0x91afac[_0x324158([0x74,0x68,0x65,0x6e])](()=>{_0x31064f||_0x255203(_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfcb2ef(){return _0x120a4d[_0x324158([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x324158([0x76,0x69,0x65,0x77])][_0x324158([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x324158([0x61,0x75,0x74,0x6f]);}function _0x3418ca(){_0x120a4d[_0x324158([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x324158([0x76,0x69,0x65,0x77])][_0x324158([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x324158([0x61,0x75,0x74,0x6f]);}}function _0x22bd9d(_0x3bd85f){const _0x47d5e1=[new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x893830=>setTimeout(_0x893830,0x47abbbca^_0x214046)),_0x91afac[_0x324158([0x74,0x68,0x65,0x6e])](()=>new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53baa9=>{let _0x34b422=0x0;_0x120a4d[_0x324158([0x6d,0x6f,0x64,0x65,0x6c])][_0x324158([0x6f,0x6e])](_0x324158([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46630a,_0xf39e81)=>{_0xf39e81[0x0][_0x324158([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34b422++,_0x34b422==(0x47a284fe^_0x214046)&&(_0x53baa9(),_0x46630a[_0x324158([0x6f,0x66,0x66])]());});}))];return window[_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x324158([0x72,0x61,0x63,0x65])](_0x47d5e1)[_0x324158([0x74,0x68,0x65,0x6e])](()=>_0x3bd85f);}async function _0x58ca8d(){await _0x91afac,_0x120a4d[_0x324158([0x6d,0x6f,0x64,0x65,0x6c])][_0x324158([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fd96a,_0x120a4d[_0x324158([0x6d,0x6f,0x64,0x65,0x6c])][_0x324158([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fd96a,_0x120a4d[_0x324158([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x324158([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31188f(_0x1235cf){const _0x490f3b=_0x288f6c();_0x120a4d[_0x490f3b]=_0x324158([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1235cf,_0x1235cf!=_0x324158([0x56,0x61,0x6c,0x69,0x64])&&_0x58ca8d();}function _0x288f6c(){const _0x47728a=window[_0x324158([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x324158([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x324158([0x6e,0x6f,0x77])]())[_0x324158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x324158([0x2e]),'');let _0x3d231e=_0x324158([0x75]);for(let _0x5b7108=0x0;_0x5b7108<_0x47728a[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b7108+=0x2){let _0xda896a=window[_0x324158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47728a[_0x324158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b7108,_0x5b7108+0x2));_0xda896a>=_0xf94c80[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xda896a-=_0xf94c80[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d231e+=_0xf94c80[_0xda896a];}return _0x3d231e;}function _0x1f0f99(){const _0x58f5fa=_0x34922f[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e]));if(0x3!=_0x58f5fa[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d4ccc(_0x58f5fa[0x1]);function _0x1d4ccc(_0x3f2fb2){const _0x411dbf=_0x1afef1(_0x3f2fb2);return _0x411dbf&&_0x1d9fdd()?_0x411dbf:null;function _0x1d9fdd(){const _0xed0174=_0x411dbf[_0x324158([0x6a,0x74,0x69])],_0x39b342=window[_0x324158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xed0174[_0x324158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xed0174[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x358a24={..._0x411dbf,[_0x324158([0x6a,0x74,0x69])]:_0xed0174[_0x324158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xed0174[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x358a24[_0x324158([0x76,0x63])],_0x53beaa(_0x358a24)==_0x39b342;}}}async function _0xd91870(){let _0x538edd=!0x0;try{const _0x1b36d7=_0x34922f[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e])),[_0x263d47,_0x5b6815,_0x483610]=_0x1b36d7;return _0x145594(_0x263d47),await _0x9b3b55(_0x263d47,_0x5b6815,_0x483610),_0x538edd;}catch{return!0x1;}function _0x145594(_0x3a2f22){const _0x2c4bb0=_0x1afef1(_0x3a2f22);_0x2c4bb0&&_0x2c4bb0[_0x324158([0x61,0x6c,0x67])]==_0x324158([0x45,0x53,0x32,0x35,0x36])||(_0x538edd=!0x1);}async function _0x9b3b55(_0x2058e6,_0x3f61d1,_0x2d2a6f){const _0x2b3c9b=window[_0x324158([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x324158([0x66,0x72,0x6f,0x6d])](_0x200935(_0x2d2a6f),_0x1a7161=>_0x1a7161[_0x324158([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x338680=new window[(_0x324158([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x324158([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2058e6+_0x324158([0x2e])+_0x3f61d1),_0x5a7848=window[_0x324158([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x324158([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a7848)return;const _0x54185d=await _0x5a7848[_0x324158([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x324158([0x6a,0x77,0x6b]),_0x22d629,{[_0x324158([0x6e,0x61,0x6d,0x65])]:_0x324158([0x45,0x43,0x44,0x53,0x41]),[_0x324158([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x324158([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x324158([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a7848[_0x324158([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x324158([0x6e,0x61,0x6d,0x65])]:_0x324158([0x45,0x43,0x44,0x53,0x41]),[_0x324158([0x68,0x61,0x73,0x68])]:{[_0x324158([0x6e,0x61,0x6d,0x65])]:_0x324158([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54185d,_0x2b3c9b,_0x338680)||(_0x538edd=!0x1);}}function _0x1afef1(_0x36a001){return _0x36a001[_0x324158([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x324158([0x65,0x79]))?JSON[_0x324158([0x70,0x61,0x72,0x73,0x65])](_0x200935(_0x36a001)):null;}function _0x200935(_0x1771d2){return window[_0x324158([0x61,0x74,0x6f,0x62])](_0x1771d2[_0x324158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x324158([0x2b]))[_0x324158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x324158([0x2f])));}function _0x53beaa(_0x29cede){let _0x107d0b=0x1505;function _0x1aeb08(_0x1e8b7a){for(let _0x19dd85=0x0;_0x19dd85<_0x1e8b7a[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19dd85++){const _0x4e9e1e=_0x1e8b7a[_0x324158([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19dd85);_0x107d0b=(_0x107d0b<<0x5)+_0x107d0b+_0x4e9e1e,_0x107d0b&=_0x107d0b;}}function _0x31302c(_0x1b6b78){Array[_0x324158([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b6b78)?_0x1b6b78[_0x324158([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31302c):_0x1b6b78&&typeof _0x1b6b78==_0x324158([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x324158([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b6b78)[_0x324158([0x73,0x6f,0x72,0x74])]()[_0x324158([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35d077,_0x3e7c87])=>{_0x1aeb08(_0x35d077),_0x31302c(_0x3e7c87);}):_0x1aeb08(window[_0x324158([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b6b78));}return _0x31302c(_0x29cede),_0x107d0b>>>0x0;}function _0x3c826f(_0x52bcd2){return _0x52bcd2[_0x324158([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x324158([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x324158([0x30]));}function _0x4ffd7c(_0x35767f){return _0x35767f[_0x324158([0x73,0x70,0x6c,0x69,0x74])]('')[_0x324158([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x324158([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fd96a(){}function _0x324158(_0x1fbbbb){return _0x1fbbbb['map'](_0x5713cb=>String['fromCharCode'](_0x5713cb))['join']('');}_0x31188f(await _0x54ec6f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5e230a){const {plugins:_0x3eaf96,editing:_0xd601c0,model:_0x534226}=this['editor'],_0x29d150=_0x3eaf96['get'](_0x1ff412)['getFootnote'](_0x5e230a);return!!_0x29d150&&(_0x534226['change'](_0x15b3e5=>{_0x15b3e5['setSelection'](_0x15b3e5['createPositionAt'](_0x29d150['definition'],'end'));}),_0xd601c0['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x256da2){const {plugins:_0x471ad4,editing:_0x29eea2,model:_0x2cc4b5}=this['editor'],_0x265305=_0x471ad4['get'](_0x1ff412)['getFootnote'](_0x256da2);return!!_0x265305&&(_0x2cc4b5['change'](_0x2b3895=>{_0x2b3895['setSelection'](_0x265305['reference'],'on');}),_0x29eea2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xe3cb75}=this['editor']['model'],_0x49f29a=this['editor']['config']['get']('footnotes.multiBlock');_0xe3cb75['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xe3cb75['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xe3cb75['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x49f29a?_0xe3cb75['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xe3cb75['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xe3cb75['addChildCheck'](_0x30f137=>{for(const _0x55c22f of _0x30f137)if('footnoteDefinition'===_0x55c22f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x56fce3}=this,{conversion:_0x53e5b0,editing:_0x556448}=_0x56fce3,{t:t}=_0x56fce3['locale'];_0x53e5b0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x414311,{writer:_0x4160ca,consumable:_0x3dcdd4})=>{const _0x39cbe9=_0x414311['getChild'](0x0);if(!_0x39cbe9||!_0x39cbe9['is']('element','a'))return null;const _0x3a3246=_0x39cbe9['getAttribute']('href')||'';if(!_0x3a3246['startsWith']('#'))return null;const _0x27efff=_0x3a3246['replace'](/^#/,'');if(!_0x27efff)return null;_0x3dcdd4['consume'](_0x39cbe9,{'name':!0x0,'attributes':['href']});for(const {item:_0x1a39f5}of _0x556448['view']['createRangeIn'](_0x39cbe9))_0x1a39f5['is']('$textProxy')?_0x3dcdd4['consume'](_0x1a39f5['textNode'],{'name':!0x0}):_0x1a39f5['is']('element')&&_0x3dcdd4['consume'](_0x1a39f5,{'name':!0x0});return _0x4160ca['createElement']('footnoteRef',{'footnoteId':_0x27efff});}}),_0x53e5b0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x356de5,{writer:_0x43ec04})=>D(_0x356de5,_0x43ec04)}),_0x53e5b0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x33dd0d,{writer:_0x8b60fe})=>{const _0x42cf36=_0x33dd0d['getAttribute']('footnoteCounter');return _0x3697f5(D(_0x33dd0d,_0x8b60fe),_0x8b60fe,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x42cf36)});}});}['_defineDefinitionsConverters'](){const {editor:_0x21bf98}=this,{t:t}=_0x21bf98['locale'],{conversion:_0x41e369}=_0x21bf98;_0x41e369['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x41e369['for']('upcast')['add'](_0x77ad2d=>{_0x77ad2d['on']('element:ol',(_0x3bab9a,_0x23bd4c,_0x1e0c0b)=>{const _0x4c05df=_0x23bd4c['viewItem'];if(!_0x4c05df['hasClass']('footnotes-list')||!_0x23bd4c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1e0c0b['consumable']['consume'](_0x4c05df,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x29e142,modelCursor:_0x518976}=_0x1e0c0b['convertChildren'](_0x23bd4c['viewItem'],_0x23bd4c['modelCursor']);_0x23bd4c['modelRange']=_0x29e142,_0x23bd4c['modelCursor']=_0x518976;}),_0x77ad2d['on']('element:hr',(_0x1c486d,_0x28c14d,_0x3bac76)=>{const _0x4c0108=_0x28c14d['viewItem'];_0x4c0108['hasClass']('footnotes-divider')&&_0x28c14d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3bac76['consumable']['consume'](_0x4c0108,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x41e369['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x500c63,{writer:_0x3d2664})=>g(_0x3d2664)}),_0x41e369['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x109639,{writer:_0x2dad7d})=>{const _0x2c2827=g(_0x2dad7d,{'data-footnotes-list-label':t('Footnotes')}),_0x2bf673=_0x3697f5(_0x2c2827,_0x2dad7d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2dad7d['setCustomProperty']('footnotesDefinitions',!0x0,_0x2bf673),_0x2bf673;}});}['_defineDefinitionConverters'](){const {editor:_0x417427}=this,{conversion:_0x2c84b0,locale:_0x4bc9cc}=_0x417427,_0x45ebb7=_0x417427['config']['get']('footnotes.multiBlock');_0x2c84b0['for']('upcast')['add'](_0x40ef1b=>{_0x40ef1b['on']('element:li',(_0x47def6,_0x2cf723,_0x489ddf)=>{const _0x65398a=_0x2cf723['viewItem'];if(!_0x65398a['hasClass']('footnote-definition')||!_0x65398a['getAttribute']('id'))return;const _0x2e7abf=_0x65398a['parent'];if(!_0x2e7abf['is']('element','ol')||!_0x2e7abf['hasClass']('footnotes-list'))return;if(!_0x489ddf['consumable']['test'](_0x65398a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5b8a49=_0x489ddf['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x65398a['getAttribute']('id')});if(!_0x489ddf['safeInsert'](_0x5b8a49,_0x2cf723['modelCursor']))return;_0x489ddf['consumable']['consume'](_0x65398a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x34974a=Array['from'](_0x65398a['getChildren']())['find'](_0x3f230f=>_0x3f230f['is']('element')&&_0x3f230f['hasClass']('footnote-content'));for(const _0x14749f of _0x65398a['getChildren']())_0x14749f['is']('element')&&(_0x489ddf['consumable']['consume'](_0x14749f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x489ddf['consumable']['consume'](_0x14749f,{'name':!0x0,'classes':'footnote-content'}));if(_0x34974a){if(_0x45ebb7)_0x489ddf['convertChildren'](_0x34974a,_0x5b8a49);else{const _0x173fd0=_0x489ddf['writer']['createElement']('footnoteInlineContent');_0x489ddf['writer']['insert'](_0x173fd0,_0x5b8a49),_0x489ddf['convertChildren'](_0x34974a,_0x173fd0);}}_0x489ddf['updateConversionResult'](_0x5b8a49,_0x2cf723);});}),_0x2c84b0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x57527e,{writer:_0x500a75})=>v(_0x57527e,_0x500a75,_0x4bc9cc,{'dataPipeline':!0x0})}),_0x2c84b0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3e8e22,{writer:_0x54a4c4})=>v(_0x3e8e22,_0x54a4c4,_0x4bc9cc)});}['_defineBogusParagraphConverters'](){const {editor:_0x2adfd8}=this,{conversion:_0x4aaf0f}=_0x2adfd8;_0x2adfd8['config']['get']('footnotes.multiBlock')?(_0x4aaf0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x4aaf0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2adfd8['model']['document'],'change:data',()=>{!function(_0x2d7afb,_0x4565f3){const _0x3727de=_0x2d7afb['document']['differ'],_0xd4995b=new Set();for(const _0x72287d of _0x3727de['getChanges']()){const _0x58af88='attribute'==_0x72287d['type']?_0x72287d['range']['start']['parent']:_0x72287d['position']['parent'];_0x58af88['is']('element','footnoteDefinition')&&_0xd4995b['add'](_0x58af88);}for(const _0xc1cc58 of _0xd4995b['values']()){const _0x348eed=Array['from'](_0xc1cc58['getChildren']())['filter'](_0x59573a=>p(_0x59573a,_0x4565f3['mapper']));for(const _0x480b87 of _0x348eed)_0x4565f3['reconvertItem'](_0x480b87);}}(_0x2adfd8['model'],_0x2adfd8['editing']);})):(_0x4aaf0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x4aaf0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xd44651,{writer:_0x59bb5a})=>{const _0x12ff14=_0x59bb5a['createContainerElement']('span');return _0x59bb5a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x12ff14),_0x12ff14;}}));}['_defineKeyboardHandlers'](){const {editor:_0x419770}=this,{editing:_0x1de057,t:t}=_0x419770,_0x4c89f6=_0x419770['model']['document']['selection'];_0x419770['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x419770['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1de057['view']['document'],'enter',(_0x1bb257,_0x421946)=>{const _0x18c71b=function(_0x257cc8){const _0x3e0d62=_0x257cc8['getSelectedElement']();if(_0x3e0d62?.['is']('element','footnoteRef'))return _0x3e0d62;return null;}(_0x4c89f6);if(_0x18c71b){const _0x475cc7=_0x18c71b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x475cc7),_0x421946['preventDefault'](),_0x1bb257['stop']();}},{'context':_0x5c6ff7});}['_defineClickHandlers'](){const {editor:_0x2ffb99}=this,{editing:_0x3de9b4}=_0x2ffb99;_0x2ffb99['editing']['view']['addObserver'](_0x5d03b0),_0x2ffb99['editing']['view']['addObserver'](_0x57c99f);let _0x1812cb=!0x1;this['listenTo'](_0x3de9b4['view']['document'],'pointerdown',(_0x4ea6f6,_0x41b841)=>{const {target:_0x38722e}=_0x41b841,_0x42fde1=_0x3de9b4['view']['document']['selection'];_0x1812cb=!!(_0x38722e['is']('element','a')&&_0x38722e['parent']?.['is']('element','sup')&&_0x38722e['parent']['hasClass']('footnote'))&&_0x42fde1['getSelectedElement']()===_0x38722e['parent'];},{'priority':'high'}),this['listenTo'](_0x3de9b4['view']['document'],'click',(_0x1cb8f4,_0x124b94)=>{const {target:_0x5b3936}=_0x124b94;if(!_0x5b3936['is']('element','a'))return;if(_0x5b3936['parent']?.['is']('element','sup')&&_0x5b3936['parent']['hasClass']('footnote')&&!_0x1812cb)return void _0x124b94['preventDefault']();let _0x59b916=_0x5b3936['getAttribute']('href');if(!_0x59b916?.['startsWith']('#'))return;_0x59b916=_0x59b916['slice'](0x1);let _0x584286=!0x1;(_0x59b916['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x59b916['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x59b916))&&(_0x584286=!0x0),_0x584286&&(_0x124b94['preventDefault'](),_0x1cb8f4['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x1725b8}={}){return(_0xe02696,{writer:_0x5ba04d})=>{if(!h(_0xe02696))return null;if(!_0x1725b8)return _0x5ba04d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x48f464=_0x5ba04d['createContainerElement']('p');return _0x5ba04d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x48f464),_0x48f464;};}function h(_0x14698b){const {parent:_0x11d79a}=_0x14698b;if(!_0x11d79a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x11d79a['childCount'])return!0x1;for(const _0x33a8ee of _0x14698b['getAttributeKeys']())if(!_0x33a8ee['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x33a8ee)return!0x1;return!0x0;}function p(_0x2ac117,_0x477164){if(!_0x2ac117['is']('element','paragraph'))return!0x1;const _0x6cd3f5=_0x477164['toViewElement'](_0x2ac117);return!!_0x6cd3f5&&h(_0x2ac117)!==_0x6cd3f5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5d2043){return _0x5c6ff7(_0x5d2043)&&_0x5d2043['is']('containerElement')&&!!_0x5d2043['getCustomProperty']('footnotesDefinitions');}function g(_0x18c810,_0x17a200={}){const _0x7a547c=_0x18c810['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x55240b=_0x18c810['createContainerElement']('ol',{'class':'footnotes-list'},_0x18c810['createSlot']());return _0x18c810['createContainerElement']('div',{'class':'footnotes',..._0x17a200},[_0x7a547c,_0x55240b]);}function D(_0x3cb16f,_0x2cb27b){const _0x156ba4=_0x3cb16f['getAttribute']('footnoteId'),_0x22fdbd=_0x3cb16f['getAttribute']('footnoteCounter'),_0x5e04f8=_0x2cb27b['createUIElement']('a',{'href':'#'+_0x156ba4},function(_0xc8c7b6){const _0xd7cb58=this['toDomElement'](_0xc8c7b6);return _0xd7cb58['textContent']=_0x22fdbd,_0xd7cb58;}),_0x24243f=_0x2cb27b['createContainerElement']('sup',{'id':'ref-'+_0x156ba4,'class':'footnote'},[_0x5e04f8]);return _0x24243f['getFillerOffset']=()=>null,_0x24243f;}function v(_0x5d250e,_0xd2e345,_0xb24bbe,{dataPipeline:_0x24cbd0}={}){const {t:t}=_0xb24bbe,_0x788011=_0x5d250e['getAttribute']('footnoteId'),_0x1961f3=_0xd2e345['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x788011},function(_0x1c110a){const _0x274f18=this['toDomElement'](_0x1c110a);return _0x274f18['innerText']='^',_0x274f18;}),_0x2b7544=_0x24cbd0?_0xd2e345['createContainerElement']('div',{'class':'footnote-content'}):_0x1a7095(_0xd2e345['createEditableElement']('div',{'class':'footnote-content'}),_0xd2e345,{'label':t('Footnote\x20content.')});return _0xd2e345['insert'](_0xd2e345['createPositionAt'](_0x2b7544,0x0),_0xd2e345['createSlot']()),_0xd2e345['createContainerElement']('li',{'class':'footnote-definition','id':_0x788011},[_0x1961f3,_0x2b7544]);}
|
|
23
|
+
import{Plugin as _0x150c4b}from'ckeditor5/src/core.js';import{isWidget as _0x36934c,toWidget as _0x1a7e18,toWidgetEditable as _0x237808}from'ckeditor5/src/widget.js';import{uid as _0x442019}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3d7413,ClickObserver as _0x3d6845}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x39a344}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1c3e95}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x150c4b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x39a344];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x312c76}=this;_0x312c76['config']['define']('footnotes.multiBlock',!0x0),_0x312c76['commands']['add']('insertFootnote',new _0x1c3e95(_0x312c76)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2a572b){const _0x44d2a5=_0x326c1e([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]),_0x4025dd=0x47a28506,_0x314122=0x47a5fd3e^_0x4025dd,_0x3a9ac1=window[_0x326c1e([0x44,0x61,0x74,0x65])][_0x326c1e([0x6e,0x6f,0x77])](),_0x14a871=_0x2a572b[_0x326c1e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37befc=new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158f73=>{_0x14a871[_0x326c1e([0x6f,0x6e,0x63,0x65])](_0x326c1e([0x72,0x65,0x61,0x64,0x79]),_0x158f73);}),_0x4aa1ba={[_0x326c1e([0x6b,0x74,0x79])]:_0x326c1e([0x45,0x43]),[_0x326c1e([0x75,0x73,0x65])]:_0x326c1e([0x73,0x69,0x67]),[_0x326c1e([0x63,0x72,0x76])]:_0x326c1e([0x50,0x2d,0x32,0x35,0x36]),[_0x326c1e([0x78])]:_0x326c1e([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]),[_0x326c1e([0x79])]:_0x326c1e([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]),[_0x326c1e([0x61,0x6c,0x67])]:_0x326c1e([0x45,0x53,0x32,0x35,0x36])},_0x1f6634=_0x14a871[_0x326c1e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x326c1e([0x67,0x65,0x74])](_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2019ab(){let _0x378a53,_0x58c1c2=null,_0x525eb5=null;try{if(_0x1f6634==_0x326c1e([0x47,0x50,0x4c]))return _0x326c1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x378a53=_0x20e82e(),!_0x378a53)return _0x326c1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x378a53[_0x326c1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x525eb5=_0x575881(_0x378a53[_0x326c1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x378a53[_0x326c1e([0x6a,0x74,0x69])])),await _0x5b7a06()?_0x4df718()?_0x2522f9()?_0x326c1e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2141b2()?(_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326c1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58c1c2=_0x3bb5a4(_0x326c1e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326c1e([0x74,0x72,0x69,0x61,0x6c])&&(_0x58c1c2=_0x3bb5a4(_0x326c1e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45ac12()):_0x326c1e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x326c1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x326c1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x326c1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2522f9(){const _0x287ab6=[_0x326c1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x326c1e([0x74,0x72,0x69,0x61,0x6c])][_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a9ac1/0x3e8:0xe10*_0x314122;return _0x378a53[_0x326c1e([0x65,0x78,0x70])]<_0x287ab6;}function _0x4df718(){const _0x2854f9=_0x378a53[_0x326c1e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2854f9&&(!!_0x2854f9[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c1e([0x2a]))||!!_0x2854f9[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c1e([0x46,0x4f,0x4f])));}function _0x2141b2(){const _0x4016eb=_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4016eb||0x0==_0x4016eb[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc80227}=new URL(window[_0x326c1e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4016eb[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80227))return!0x0;const _0x58012b=_0xc80227[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e]));return _0x4016eb[_0x326c1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a0205=>_0x3a0205[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c1e([0x2a])))[_0x326c1e([0x6d,0x61,0x70])](_0x386694=>_0x386694[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e])))[_0x326c1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x562223=>_0x562223[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58012b[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326c1e([0x6d,0x61,0x70])](_0x4c1d21=>Array(_0x58012b[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c1d21[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326c1e([0x66,0x69,0x6c,0x6c])](_0x4c1d21[0x0]===_0x326c1e([0x2a])?_0x326c1e([0x2a]):'')[_0x326c1e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c1d21))[_0x326c1e([0x73,0x6f,0x6d,0x65])](_0x6b1b9b=>_0x58012b[_0x326c1e([0x65,0x76,0x65,0x72,0x79])]((_0x321f4d,_0x2ba9d6)=>_0x6b1b9b[_0x2ba9d6]===_0x321f4d||_0x6b1b9b[_0x2ba9d6]===_0x326c1e([0x2a])));}function _0x45ac12(){return _0x58c1c2&&_0x525eb5?new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d86c5,_0x1023a1)=>{_0x58c1c2[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x2d86c5,_0x1023a1),_0x525eb5[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x10d431=>{_0x10d431!=_0x326c1e([0x56,0x61,0x6c,0x69,0x64])&&_0x2d86c5(_0x10d431);},_0x1023a1);}):_0x58c1c2||_0x525eb5||_0x326c1e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x575881(_0x5abfc2,_0x211a69){return new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b81fc=>{if(_0x1cadec())return _0x3b81fc(_0x326c1e([0x56,0x61,0x6c,0x69,0x64]));_0x439ce0(),_0x14a871[_0x326c1e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x326c1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44030f=!0x1;const _0x3760a4=_0x442019();function _0x35c64d(_0x5b537c){return!!_0x5b537c&&(typeof _0x5b537c===_0x326c1e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b537c===_0x326c1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b537c[_0x326c1e([0x74,0x68,0x65,0x6e])]===_0x326c1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b537c[_0x326c1e([0x63,0x61,0x74,0x63,0x68])]===_0x326c1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f0e27(_0xd077a){_0x1f9e3d(_0xd077a)[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x486d72=>{if(!_0x486d72||_0x486d72[_0x326c1e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x326c1e([0x6f,0x6b]))return _0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e9b0e(_0x434ce1(_0x3760a4+_0x211a69))!=_0x486d72[_0x326c1e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x326c1e([0x56,0x61,0x6c,0x69,0x64]);})[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x18258f=>(_0x230fdd(),_0x18258f),()=>{const _0x534e74=_0xac94d1();return null==_0x534e74?(_0x230fdd(),_0x326c1e([0x56,0x61,0x6c,0x69,0x64])):_0x326c1e(_0x3a9ac1-_0x534e74>(0x63ae0106^_0x4025dd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x3b81fc)[_0x326c1e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b81fc(_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53f825=0x47946b86^_0x4025dd;function _0x230fdd(){const _0x13ccb6=_0x326c1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e9b0e(_0x434ce1(_0x5abfc2)),_0x628012=_0x1e301d(_0x3e9b0e(window[_0x326c1e([0x4d,0x61,0x74,0x68])][_0x326c1e([0x63,0x65,0x69,0x6c])](_0x3a9ac1/_0x53f825)));window[_0x326c1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326c1e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13ccb6,_0x628012);}function _0xac94d1(){const _0x4b620f=_0x326c1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e9b0e(_0x434ce1(_0x5abfc2)),_0x1c508d=window[_0x326c1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326c1e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b620f);return _0x1c508d?window[_0x326c1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e301d(_0x1c508d),0x10)*_0x53f825:null;}function _0x1f9e3d(_0x890448){return new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29465f,_0x2d823d)=>{_0x890448[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x29465f,_0x2d823d),window[_0x326c1e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d823d,0x47a351c6^_0x4025dd);});}}_0x14a871[_0x326c1e([0x6f,0x6e])](_0x326c1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e302e,_0x3ffb25)=>{if(_0x3ffb25[0x0]!=_0x5abfc2)return _0x3b81fc(_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ffb25[0x1]={..._0x3ffb25[0x1],[_0x326c1e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3760a4};},{[_0x326c1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326c1e([0x68,0x69,0x67,0x68])}),_0x14a871[_0x326c1e([0x6f,0x6e])](_0x326c1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19e6e7=>{_0x35c64d(_0x19e6e7[_0x326c1e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44030f=!0x0,_0x1f0e27(_0x19e6e7[_0x326c1e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x326c1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326c1e([0x6c,0x6f,0x77])}),_0x37befc[_0x326c1e([0x74,0x68,0x65,0x6e])](()=>{_0x44030f||_0x3b81fc(_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1cadec(){return _0x14a871[_0x326c1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326c1e([0x76,0x69,0x65,0x77])][_0x326c1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x326c1e([0x61,0x75,0x74,0x6f]);}function _0x439ce0(){_0x14a871[_0x326c1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326c1e([0x76,0x69,0x65,0x77])][_0x326c1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x326c1e([0x61,0x75,0x74,0x6f]);}}function _0x3bb5a4(_0x169d5b){const _0x1a6c26=[new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4ae9=>setTimeout(_0x3a4ae9,0x47abbbca^_0x4025dd)),_0x37befc[_0x326c1e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9ebf=>{let _0x1ab83f=0x0;_0x14a871[_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c1e([0x6f,0x6e])](_0x326c1e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4285b6,_0x313540)=>{_0x313540[0x0][_0x326c1e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ab83f++,_0x1ab83f==(0x47a284fe^_0x4025dd)&&(_0x5d9ebf(),_0x4285b6[_0x326c1e([0x6f,0x66,0x66])]());});}))];return window[_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x326c1e([0x72,0x61,0x63,0x65])](_0x1a6c26)[_0x326c1e([0x74,0x68,0x65,0x6e])](()=>_0x169d5b);}async function _0x3b0e4d(){await _0x37befc,_0x14a871[_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c1e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x166dba,_0x14a871[_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c1e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x166dba,_0x14a871[_0x326c1e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1338e6(_0x2f8a30){const _0x19afd5=_0x1c17e0();_0x14a871[_0x19afd5]=_0x326c1e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f8a30,_0x2f8a30!=_0x326c1e([0x56,0x61,0x6c,0x69,0x64])&&_0x3b0e4d();}function _0x1c17e0(){const _0x1f8767=window[_0x326c1e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x326c1e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x326c1e([0x6e,0x6f,0x77])]())[_0x326c1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x326c1e([0x2e]),'');let _0x5a55e7=_0x326c1e([0x75]);for(let _0x5c8a50=0x0;_0x5c8a50<_0x1f8767[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c8a50+=0x2){let _0x429771=window[_0x326c1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8767[_0x326c1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c8a50,_0x5c8a50+0x2));_0x429771>=_0x44d2a5[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x429771-=_0x44d2a5[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a55e7+=_0x44d2a5[_0x429771];}return _0x5a55e7;}function _0x20e82e(){const _0x28a19a=_0x1f6634[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e]));if(0x3!=_0x28a19a[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f314e(_0x28a19a[0x1]);function _0x5f314e(_0x55bea2){const _0x55e112=_0x64920f(_0x55bea2);return _0x55e112&&_0x45a56a()?_0x55e112:null;function _0x45a56a(){const _0x2e9190=_0x55e112[_0x326c1e([0x6a,0x74,0x69])],_0x30bd11=window[_0x326c1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e9190[_0x326c1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e9190[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a3145={..._0x55e112,[_0x326c1e([0x6a,0x74,0x69])]:_0x2e9190[_0x326c1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e9190[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a3145[_0x326c1e([0x76,0x63])],_0x434ce1(_0x1a3145)==_0x30bd11;}}}async function _0x5b7a06(){let _0x59d9b5=!0x0;try{const _0x57998c=_0x1f6634[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e])),[_0x422325,_0xfafc03,_0x262b8d]=_0x57998c;return _0x6a3650(_0x422325),await _0x3035f6(_0x422325,_0xfafc03,_0x262b8d),_0x59d9b5;}catch{return!0x1;}function _0x6a3650(_0x1b4e8f){const _0x5cca29=_0x64920f(_0x1b4e8f);_0x5cca29&&_0x5cca29[_0x326c1e([0x61,0x6c,0x67])]==_0x326c1e([0x45,0x53,0x32,0x35,0x36])||(_0x59d9b5=!0x1);}async function _0x3035f6(_0x39484d,_0x10b4e3,_0x1db29b){const _0x149d8f=window[_0x326c1e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x326c1e([0x66,0x72,0x6f,0x6d])](_0x3e218c(_0x1db29b),_0x2b4d17=>_0x2b4d17[_0x326c1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3347b2=new window[(_0x326c1e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x326c1e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39484d+_0x326c1e([0x2e])+_0x10b4e3),_0x1c655d=window[_0x326c1e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x326c1e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c655d)return;const _0x5d3cd7=await _0x1c655d[_0x326c1e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x326c1e([0x6a,0x77,0x6b]),_0x4aa1ba,{[_0x326c1e([0x6e,0x61,0x6d,0x65])]:_0x326c1e([0x45,0x43,0x44,0x53,0x41]),[_0x326c1e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x326c1e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x326c1e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c655d[_0x326c1e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x326c1e([0x6e,0x61,0x6d,0x65])]:_0x326c1e([0x45,0x43,0x44,0x53,0x41]),[_0x326c1e([0x68,0x61,0x73,0x68])]:{[_0x326c1e([0x6e,0x61,0x6d,0x65])]:_0x326c1e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d3cd7,_0x149d8f,_0x3347b2)||(_0x59d9b5=!0x1);}}function _0x64920f(_0x45c1a7){return _0x45c1a7[_0x326c1e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x326c1e([0x65,0x79]))?JSON[_0x326c1e([0x70,0x61,0x72,0x73,0x65])](_0x3e218c(_0x45c1a7)):null;}function _0x3e218c(_0x2829bd){return window[_0x326c1e([0x61,0x74,0x6f,0x62])](_0x2829bd[_0x326c1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x326c1e([0x2b]))[_0x326c1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x326c1e([0x2f])));}function _0x434ce1(_0x4b375c){let _0x593728=0x1505;function _0x331320(_0x1c5dec){for(let _0x2bf514=0x0;_0x2bf514<_0x1c5dec[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bf514++){const _0xd6c1b0=_0x1c5dec[_0x326c1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bf514);_0x593728=(_0x593728<<0x5)+_0x593728+_0xd6c1b0,_0x593728&=_0x593728;}}function _0x420cca(_0x331143){Array[_0x326c1e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x331143)?_0x331143[_0x326c1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x420cca):_0x331143&&typeof _0x331143==_0x326c1e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x326c1e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x331143)[_0x326c1e([0x73,0x6f,0x72,0x74])]()[_0x326c1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25b090,_0x56146f])=>{_0x331320(_0x25b090),_0x420cca(_0x56146f);}):_0x331320(window[_0x326c1e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x331143));}return _0x420cca(_0x4b375c),_0x593728>>>0x0;}function _0x3e9b0e(_0x492838){return _0x492838[_0x326c1e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x326c1e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x326c1e([0x30]));}function _0x1e301d(_0xa80db1){return _0xa80db1[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x326c1e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x326c1e([0x6a,0x6f,0x69,0x6e])]('');}function _0x166dba(){}function _0x326c1e(_0x20fc62){return _0x20fc62['map'](_0x7dd805=>String['fromCharCode'](_0x7dd805))['join']('');}_0x1338e6(await _0x2019ab());}(this);}['_moveSelectionToFootnoteDefinition'](_0x446452){const {plugins:_0x5c081e,editing:_0x1e3dd7,model:_0x18eac1}=this['editor'],_0x1c1be5=_0x5c081e['get'](_0x39a344)['getFootnote'](_0x446452);return!!_0x1c1be5&&(_0x18eac1['change'](_0x5de01b=>{_0x5de01b['setSelection'](_0x5de01b['createPositionAt'](_0x1c1be5['definition'],'end'));}),_0x1e3dd7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2feb66){const {plugins:_0x528629,editing:_0x1c8113,model:_0x4649ea}=this['editor'],_0x39878d=_0x528629['get'](_0x39a344)['getFootnote'](_0x2feb66);return!!_0x39878d&&(_0x4649ea['change'](_0x282561=>{_0x282561['setSelection'](_0x39878d['reference'],'on');}),_0x1c8113['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3e7042}=this['editor']['model'],_0x36bf3f=this['editor']['config']['get']('footnotes.multiBlock');_0x3e7042['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3e7042['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3e7042['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x36bf3f?_0x3e7042['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3e7042['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3e7042['addChildCheck'](_0x39e07f=>{for(const _0x656fe3 of _0x39e07f)if('footnoteDefinition'===_0x656fe3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4ecdff}=this,{conversion:_0x26ca2c,editing:_0x479ce0}=_0x4ecdff,{t:t}=_0x4ecdff['locale'];_0x26ca2c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x51578b,{writer:_0x1c2c62,consumable:_0xa55e23})=>{const _0x5066ca=_0x51578b['getChild'](0x0);if(!_0x5066ca||!_0x5066ca['is']('element','a'))return null;const _0x438ff3=_0x5066ca['getAttribute']('href')||'';if(!_0x438ff3['startsWith']('#'))return null;const _0x47806c=_0x438ff3['replace'](/^#/,'');if(!_0x47806c)return null;_0xa55e23['consume'](_0x5066ca,{'name':!0x0,'attributes':['href']});for(const {item:_0x37c730}of _0x479ce0['view']['createRangeIn'](_0x5066ca))_0x37c730['is']('$textProxy')?_0xa55e23['consume'](_0x37c730['textNode'],{'name':!0x0}):_0x37c730['is']('element')&&_0xa55e23['consume'](_0x37c730,{'name':!0x0});return _0x1c2c62['createElement']('footnoteRef',{'footnoteId':_0x47806c});}}),_0x26ca2c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xda5e02,{writer:_0x165432})=>D(_0xda5e02,_0x165432)}),_0x26ca2c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x208329,{writer:_0x169d6b})=>{const _0x4417b9=_0x208329['getAttribute']('footnoteCounter');return _0x1a7e18(D(_0x208329,_0x169d6b),_0x169d6b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4417b9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3ddd17}=this,{t:t}=_0x3ddd17['locale'],{conversion:_0x9c622e}=_0x3ddd17;_0x9c622e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9c622e['for']('upcast')['add'](_0x4ddf75=>{_0x4ddf75['on']('element:ol',(_0x40c54c,_0x4a3b55,_0x76a5ee)=>{const _0x2744a0=_0x4a3b55['viewItem'];if(!_0x2744a0['hasClass']('footnotes-list')||!_0x4a3b55['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x76a5ee['consumable']['consume'](_0x2744a0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3d207e,modelCursor:_0x12d89c}=_0x76a5ee['convertChildren'](_0x4a3b55['viewItem'],_0x4a3b55['modelCursor']);_0x4a3b55['modelRange']=_0x3d207e,_0x4a3b55['modelCursor']=_0x12d89c;}),_0x4ddf75['on']('element:hr',(_0x396165,_0x4fac52,_0x2ba92b)=>{const _0x278d88=_0x4fac52['viewItem'];_0x278d88['hasClass']('footnotes-divider')&&_0x4fac52['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2ba92b['consumable']['consume'](_0x278d88,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9c622e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ae6ad,{writer:_0x4e8868})=>g(_0x4e8868)}),_0x9c622e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5ade3f,{writer:_0x9d00e9})=>{const _0x25178c=g(_0x9d00e9,{'data-footnotes-list-label':t('Footnotes')}),_0x486a47=_0x1a7e18(_0x25178c,_0x9d00e9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x9d00e9['setCustomProperty']('footnotesDefinitions',!0x0,_0x486a47),_0x486a47;}});}['_defineDefinitionConverters'](){const {editor:_0x4da188}=this,{conversion:_0x1799a8,locale:_0x397650}=_0x4da188,_0x2593a4=_0x4da188['config']['get']('footnotes.multiBlock');_0x1799a8['for']('upcast')['add'](_0x54b078=>{_0x54b078['on']('element:li',(_0x1fec44,_0x2bae04,_0xc8fc02)=>{const _0x1e850e=_0x2bae04['viewItem'];if(!_0x1e850e['hasClass']('footnote-definition')||!_0x1e850e['getAttribute']('id'))return;const _0x20342b=_0x1e850e['parent'];if(!_0x20342b['is']('element','ol')||!_0x20342b['hasClass']('footnotes-list'))return;if(!_0xc8fc02['consumable']['test'](_0x1e850e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xe97d1e=_0xc8fc02['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1e850e['getAttribute']('id')});if(!_0xc8fc02['safeInsert'](_0xe97d1e,_0x2bae04['modelCursor']))return;_0xc8fc02['consumable']['consume'](_0x1e850e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5560cb=Array['from'](_0x1e850e['getChildren']())['find'](_0x114537=>_0x114537['is']('element')&&_0x114537['hasClass']('footnote-content'));for(const _0x4a5aba of _0x1e850e['getChildren']())_0x4a5aba['is']('element')&&(_0xc8fc02['consumable']['consume'](_0x4a5aba,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xc8fc02['consumable']['consume'](_0x4a5aba,{'name':!0x0,'classes':'footnote-content'}));if(_0x5560cb){if(_0x2593a4)_0xc8fc02['convertChildren'](_0x5560cb,_0xe97d1e);else{const _0x1e28f8=_0xc8fc02['writer']['createElement']('footnoteInlineContent');_0xc8fc02['writer']['insert'](_0x1e28f8,_0xe97d1e),_0xc8fc02['convertChildren'](_0x5560cb,_0x1e28f8);}}_0xc8fc02['updateConversionResult'](_0xe97d1e,_0x2bae04);});}),_0x1799a8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3af28f,{writer:_0x3bfb2c})=>v(_0x3af28f,_0x3bfb2c,_0x397650,{'dataPipeline':!0x0})}),_0x1799a8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x508b28,{writer:_0x50432d})=>v(_0x508b28,_0x50432d,_0x397650)});}['_defineBogusParagraphConverters'](){const {editor:_0x2e73c4}=this,{conversion:_0x119df4}=_0x2e73c4;_0x2e73c4['config']['get']('footnotes.multiBlock')?(_0x119df4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x119df4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2e73c4['model']['document'],'change:data',()=>{!function(_0x37384c,_0x1c2b0c){const _0x2df3f7=_0x37384c['document']['differ'],_0x173c11=new Set();for(const _0x4b6c0a of _0x2df3f7['getChanges']()){const _0x1e54ef='attribute'==_0x4b6c0a['type']?_0x4b6c0a['range']['start']['parent']:_0x4b6c0a['position']['parent'];_0x1e54ef['is']('element','footnoteDefinition')&&_0x173c11['add'](_0x1e54ef);}for(const _0x98039e of _0x173c11['values']()){const _0x76611c=Array['from'](_0x98039e['getChildren']())['filter'](_0x1cf866=>p(_0x1cf866,_0x1c2b0c['mapper']));for(const _0x16a030 of _0x76611c)_0x1c2b0c['reconvertItem'](_0x16a030);}}(_0x2e73c4['model'],_0x2e73c4['editing']);})):(_0x119df4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x119df4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x351537,{writer:_0x74f36})=>{const _0x32a503=_0x74f36['createContainerElement']('span');return _0x74f36['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x32a503),_0x32a503;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c7e16}=this,{editing:_0x246fc4,t:t}=_0x4c7e16,_0x1b32e4=_0x4c7e16['model']['document']['selection'];_0x4c7e16['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x4c7e16['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x246fc4['view']['document'],'enter',(_0x268c2d,_0x25bce8)=>{const _0x3debce=function(_0x4620f0){const _0xae8ab8=_0x4620f0['getSelectedElement']();if(_0xae8ab8?.['is']('element','footnoteRef'))return _0xae8ab8;return null;}(_0x1b32e4);if(_0x3debce){const _0x3c5097=_0x3debce['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3c5097),_0x25bce8['preventDefault'](),_0x268c2d['stop']();}},{'context':_0x36934c});}['_defineClickHandlers'](){const {editor:_0x5204f6}=this,{editing:_0xc276c7}=_0x5204f6;_0x5204f6['editing']['view']['addObserver'](_0x3d7413),_0x5204f6['editing']['view']['addObserver'](_0x3d6845);let _0x56d936=!0x1;this['listenTo'](_0xc276c7['view']['document'],'pointerdown',(_0xea0321,_0x4b555b)=>{const {target:_0x4cf118}=_0x4b555b,_0x571492=_0xc276c7['view']['document']['selection'];_0x56d936=!!(_0x4cf118['is']('element','a')&&_0x4cf118['parent']?.['is']('element','sup')&&_0x4cf118['parent']['hasClass']('footnote'))&&_0x571492['getSelectedElement']()===_0x4cf118['parent'];},{'priority':'high'}),this['listenTo'](_0xc276c7['view']['document'],'click',(_0x4d3fe0,_0x4fd565)=>{const {target:_0xed2b20}=_0x4fd565;if(!_0xed2b20['is']('element','a'))return;if(_0xed2b20['parent']?.['is']('element','sup')&&_0xed2b20['parent']['hasClass']('footnote')&&!_0x56d936)return void _0x4fd565['preventDefault']();let _0x1a2981=_0xed2b20['getAttribute']('href');if(!_0x1a2981?.['startsWith']('#'))return;_0x1a2981=_0x1a2981['slice'](0x1);let _0x34c050=!0x1;(_0x1a2981['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1a2981['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1a2981))&&(_0x34c050=!0x0),_0x34c050&&(_0x4fd565['preventDefault'](),_0x4d3fe0['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x456810}={}){return(_0x46d267,{writer:_0x163a87})=>{if(!h(_0x46d267))return null;if(!_0x456810)return _0x163a87['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x69621b=_0x163a87['createContainerElement']('p');return _0x163a87['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x69621b),_0x69621b;};}function h(_0x171684){const {parent:_0x3c2e63}=_0x171684;if(!_0x3c2e63?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3c2e63['childCount'])return!0x1;for(const _0x474ffc of _0x171684['getAttributeKeys']())if(!_0x474ffc['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x474ffc)return!0x1;return!0x0;}function p(_0x4fe13c,_0x50be90){if(!_0x4fe13c['is']('element','paragraph'))return!0x1;const _0xf32535=_0x50be90['toViewElement'](_0x4fe13c);return!!_0xf32535&&h(_0x4fe13c)!==_0xf32535['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x40f241){return _0x36934c(_0x40f241)&&_0x40f241['is']('containerElement')&&!!_0x40f241['getCustomProperty']('footnotesDefinitions');}function g(_0x578b0c,_0x521ee4={}){const _0x14a1d2=_0x578b0c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3ecd0a=_0x578b0c['createContainerElement']('ol',{'class':'footnotes-list'},_0x578b0c['createSlot']());return _0x578b0c['createContainerElement']('div',{'class':'footnotes',..._0x521ee4},[_0x14a1d2,_0x3ecd0a]);}function D(_0x240530,_0xd995d4){const _0x3c06c2=_0x240530['getAttribute']('footnoteId'),_0x464a79=_0x240530['getAttribute']('footnoteCounter'),_0x159a03=_0xd995d4['createUIElement']('a',{'href':'#'+_0x3c06c2},function(_0x5ad3a2){const _0x3a7b4a=this['toDomElement'](_0x5ad3a2);return _0x3a7b4a['textContent']=_0x464a79,_0x3a7b4a;}),_0x4104c0=_0xd995d4['createContainerElement']('sup',{'id':'ref-'+_0x3c06c2,'class':'footnote'},[_0x159a03]);return _0x4104c0['getFillerOffset']=()=>null,_0x4104c0;}function v(_0x47c8d7,_0x56b56c,_0x318236,{dataPipeline:_0xd6f91f}={}){const {t:t}=_0x318236,_0x336051=_0x47c8d7['getAttribute']('footnoteId'),_0x1e00cf=_0x56b56c['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x336051},function(_0x5291e8){const _0x3e6378=this['toDomElement'](_0x5291e8);return _0x3e6378['innerText']='^',_0x3e6378;}),_0x5a592b=_0xd6f91f?_0x56b56c['createContainerElement']('div',{'class':'footnote-content'}):_0x237808(_0x56b56c['createEditableElement']('div',{'class':'footnote-content'}),_0x56b56c,{'label':t('Footnote\x20content.')});return _0x56b56c['insert'](_0x56b56c['createPositionAt'](_0x5a592b,0x0),_0x56b56c['createSlot']()),_0x56b56c['createContainerElement']('li',{'class':'footnote-definition','id':_0x336051},[_0x1e00cf,_0x5a592b]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49aaf5=_0x5d20;function _0x5d20(_0x5b3766,_0x53b843){const _0x5ec59b=_0x5ec5();return _0x5d20=function(_0x5d2084,_0x4d0bf5){_0x5d2084=_0x5d2084-0x89;let _0x4c7b0f=_0x5ec59b[_0x5d2084];return _0x4c7b0f;},_0x5d20(_0x5b3766,_0x53b843);}(function(_0x305356,_0x496c1b){const _0x2b5b4f=_0x5d20,_0x10782c=_0x305356();while(!![]){try{const _0x2a0e02=parseInt(_0x2b5b4f(0x97))/0x1+parseInt(_0x2b5b4f(0x9b))/0x2+-parseInt(_0x2b5b4f(0x8f))/0x3*(-parseInt(_0x2b5b4f(0x99))/0x4)+parseInt(_0x2b5b4f(0x98))/0x5*(parseInt(_0x2b5b4f(0x8e))/0x6)+-parseInt(_0x2b5b4f(0x94))/0x7+parseInt(_0x2b5b4f(0x95))/0x8*(parseInt(_0x2b5b4f(0x8a))/0x9)+-parseInt(_0x2b5b4f(0x9c))/0xa;if(_0x2a0e02===_0x496c1b)break;else _0x10782c['push'](_0x10782c['shift']());}catch(_0x2e6779){_0x10782c['push'](_0x10782c['shift']());}}}(_0x5ec5,0x3b19f));import{Command as _0x14219e}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5c8930}from'../../footnotestracker.js';function _0x5ec5(){const _0x2ccedd=['764883wNNfYn','56oOFDqA','isInteger','218711astGDE','5lmjKAy','163356HdIeLC','change','397380HFWYIa','10407780niAcsH','setAttribute','getAttribute','execute','isEnabled','value','606051zAKwjm','model','_updateFootnotesCounters','footnotesListStart','324738zWGQrA','33tzpJtW','get','plugins','getFootnotesDefinitionsObjectElement','refresh'];_0x5ec5=function(){return _0x2ccedd;};return _0x5ec5();}export class FootnotesStartCommand extends _0x14219e{[_0x49aaf5(0x93)](){const _0x3cfd4e=_0x49aaf5,{editor:_0x2b11f4}=this,_0x47f409=_0x2b11f4[_0x3cfd4e(0x91)][_0x3cfd4e(0x90)](_0x5c8930)[_0x3cfd4e(0x92)]();this[_0x3cfd4e(0xa0)]=!!_0x47f409,this[_0x3cfd4e(0x89)]=_0x47f409?.[_0x3cfd4e(0x9e)](_0x3cfd4e(0x8d))??null;}[_0x49aaf5(0x9f)]({value:_0x358293}){const _0x325163=_0x49aaf5,{editor:_0x16946e}=this,_0x448739=_0x16946e[_0x325163(0x91)][_0x325163(0x90)](_0x5c8930),_0x505d73=_0x448739[_0x325163(0x92)]();_0x505d73&&Number[_0x325163(0x96)](_0x358293)&&_0x16946e[_0x325163(0x8b)][_0x325163(0x9a)](_0x2691c8=>{const _0x41d1f2=_0x325163;_0x2691c8[_0x41d1f2(0x9d)](_0x41d1f2(0x8d),_0x358293,_0x505d73),_0x448739[_0x41d1f2(0x8c)](_0x2691c8);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3918(_0x34ace5,_0x27ab68){const _0x3cba28=_0x3cba();return _0x3918=function(_0x391886,_0x4c191d){_0x391886=_0x391886-0x1d8;let _0x55517b=_0x3cba28[_0x391886];return _0x55517b;},_0x3918(_0x34ace5,_0x27ab68);}const _0x511d75=_0x3918;(function(_0x5189eb,_0x2992f6){const _0xf5ba47=_0x3918,_0x280547=_0x5189eb();while(!![]){try{const _0x506c06=-parseInt(_0xf5ba47(0x1ec))/0x1*(parseInt(_0xf5ba47(0x1e6))/0x2)+parseInt(_0xf5ba47(0x1ea))/0x3+-parseInt(_0xf5ba47(0x1e1))/0x4+-parseInt(_0xf5ba47(0x1de))/0x5+-parseInt(_0xf5ba47(0x1dc))/0x6+parseInt(_0xf5ba47(0x1dd))/0x7+parseInt(_0xf5ba47(0x1e5))/0x8;if(_0x506c06===_0x2992f6)break;else _0x280547['push'](_0x280547['shift']());}catch(_0x5b34ee){_0x280547['push'](_0x280547['shift']());}}}(_0x3cba,0xe1a8e));import{Command as _0x1db954}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x17b18c}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x7d77c}from'../../footnotestracker.js';function _0x3cba(){const _0x2756ed=['refresh','947924YefJOg','isEnabled','plugins','getAttribute','20656264tPbBRy','1000OXufVN','model','change','value','1470447gVeJSH','includes','2744aqFrea','footnotesListStyle','_updateFootnotesCounters','execute','getFootnotesDefinitionsObjectElement','setAttribute','7692900ywAGCp','8602286pCwJIV','2428235JdjIpx','get'];_0x3cba=function(){return _0x2756ed;};return _0x3cba();}export class FootnotesStyleCommand extends _0x1db954{[_0x511d75(0x1e0)](){const _0x280383=_0x511d75,{editor:_0x42f23a}=this,_0x45e607=_0x42f23a[_0x280383(0x1e3)][_0x280383(0x1df)](_0x7d77c)[_0x280383(0x1da)]();this[_0x280383(0x1e2)]=!!_0x45e607,this[_0x280383(0x1e9)]=_0x45e607?.[_0x280383(0x1e4)](_0x280383(0x1ed))??null;}[_0x511d75(0x1d9)]({value:_0x159d2d}){const _0x4123a4=_0x511d75,{editor:_0x35723d}=this,_0xe5f755=_0x35723d[_0x4123a4(0x1e3)][_0x4123a4(0x1df)](_0x7d77c),_0x400364=_0xe5f755[_0x4123a4(0x1da)]();_0x400364&&_0x17b18c[_0x4123a4(0x1eb)](_0x159d2d)&&_0x35723d[_0x4123a4(0x1e7)][_0x4123a4(0x1e8)](_0x3e5ff9=>{const _0x37885e=_0x4123a4;_0x3e5ff9[_0x37885e(0x1db)](_0x37885e(0x1ed),_0x159d2d,_0x400364),_0xe5f755[_0x37885e(0x1d8)](_0x3e5ff9);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x202e08=_0x2cd2;(function(_0x1ce3df,_0x3369a5){const _0x2ee943=_0x2cd2,_0x181c7d=_0x1ce3df();while(!![]){try{const _0x158ae4=-parseInt(_0x2ee943(0x125))/0x1+-parseInt(_0x2ee943(0x12d))/0x2+parseInt(_0x2ee943(0x127))/0x3*(-parseInt(_0x2ee943(0x121))/0x4)+parseInt(_0x2ee943(0x130))/0x5+-parseInt(_0x2ee943(0x122))/0x6*(-parseInt(_0x2ee943(0x131))/0x7)+-parseInt(_0x2ee943(0x129))/0x8*(-parseInt(_0x2ee943(0x124))/0x9)+parseInt(_0x2ee943(0x120))/0xa;if(_0x158ae4===_0x3369a5)break;else _0x181c7d['push'](_0x181c7d['shift']());}catch(_0x5e75a){_0x181c7d['push'](_0x181c7d['shift']());}}}(_0x42e6,0x4de0b));function _0x42e6(){const _0x41897d=['921734IOIxhk','lower-roman','upper-latin','2634995iEFHcR','13636ACOutX','7256970wnKjWe','1782764VYojEc','498EiAuEB','decimal-leading-zero','12762gwVsHX','254063sahZaR','upper-alpha','3aCROsP','lower-latin','368podcyf','lower-alpha','upper-roman','decimal'];_0x42e6=function(){return _0x41897d;};return _0x42e6();}function _0x2cd2(_0x65c1ee,_0x4c50e7){const _0x42e677=_0x42e6();return _0x2cd2=function(_0x2cd26c,_0x3fe6ef){_0x2cd26c=_0x2cd26c-0x120;let _0x2a030c=_0x42e677[_0x2cd26c];return _0x2a030c;},_0x2cd2(_0x65c1ee,_0x4c50e7);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x202e08(0x12c),_0x202e08(0x123),_0x202e08(0x128),_0x202e08(0x12f),_0x202e08(0x12a),_0x202e08(0x126),_0x202e08(0x12e),_0x202e08(0x12b)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1c06(_0x3b21f3,_0x45839d){const _0xa3ae61=_0xa3ae();return _0x1c06=function(_0x1c065f,_0x22eed6){_0x1c065f=_0x1c065f-0x6b;let _0x532200=_0xa3ae61[_0x1c065f];return _0x532200;},_0x1c06(_0x3b21f3,_0x45839d);}const _0x5a5d33=_0x1c06;(function(_0x2cf897,_0xf0b692){const _0x332c80=_0x1c06,_0x3255b3=_0x2cf897();while(!![]){try{const _0x1e3033=parseInt(_0x332c80(0x82))/0x1*(-parseInt(_0x332c80(0xcf))/0x2)+parseInt(_0x332c80(0xb6))/0x3+-parseInt(_0x332c80(0xbd))/0x4+parseInt(_0x332c80(0xc2))/0x5*(-parseInt(_0x332c80(0xa4))/0x6)+parseInt(_0x332c80(0xcc))/0x7+parseInt(_0x332c80(0x99))/0x8*(parseInt(_0x332c80(0xc6))/0x9)+parseInt(_0x332c80(0xb7))/0xa;if(_0x1e3033===_0xf0b692)break;else _0x3255b3['push'](_0x3255b3['shift']());}catch(_0xa01f92){_0x3255b3['push'](_0x3255b3['shift']());}}}(_0xa3ae,0xf14c0));import{Plugin as _0x2c8189}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0xabd851}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x48ea7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x49f6e4}from'../footnotestracker.js';import{FootnotesEditing as _0x34fd7d}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2c8189{static get[_0x5a5d33(0x7e)](){const _0x468630=_0x5a5d33;return _0x468630(0x96);}static get[_0x5a5d33(0xac)](){return[_0x34fd7d,_0x49f6e4];}static get[_0x5a5d33(0xa6)](){return!0x0;}static get[_0x5a5d33(0x72)](){return!0x0;}[_0x5a5d33(0x9d)](){const _0x10f048=_0x5a5d33,{editor:_0x55c062}=this;_0x55c062[_0x10f048(0xa9)][_0x10f048(0x7f)](_0x10f048(0xc4),_0x10f048(0x88)),_0x55c062[_0x10f048(0xa9)][_0x10f048(0x7f)](_0x10f048(0x84),0x1),_0x55c062[_0x10f048(0xa7)][_0x10f048(0xb5)](_0x10f048(0xbf),new _0xabd851(_0x55c062)),_0x55c062[_0x10f048(0xa7)][_0x10f048(0xb5)](_0x10f048(0xa2),new _0x48ea7(_0x55c062)),this[_0x10f048(0x9e)](),this[_0x10f048(0x91)](),this[_0x10f048(0xb1)](),this[_0x10f048(0xaf)]();}[_0x5a5d33(0x9e)](){const _0x5e1882=_0x5a5d33,{editor:_0x5984ca}=this,{schema:_0x225ba4}=_0x5984ca[_0x5e1882(0xae)];_0x225ba4[_0x5e1882(0xc1)](_0x5e1882(0xbc),{'allowAttributes':[_0x5e1882(0xc5),_0x5e1882(0xa5)]});}[_0x5a5d33(0x91)](){const _0x5471a8=_0x5a5d33,{editor:_0x241d94}=this,{conversion:_0x12e976,model:_0x1b30fb}=_0x241d94,{schema:_0x28ce08}=_0x1b30fb;_0x12e976[_0x5471a8(0xa3)](_0x5471a8(0xb3))[_0x5471a8(0xb5)](_0x57a10a=>{const _0x1e6beb=_0x5471a8;_0x57a10a['on'](_0x1e6beb(0x8d),(_0x51ad26,_0x5cd837,_0x4746b2)=>{const _0x439067=_0x1e6beb,_0x1e2d9f=_0x5cd837[_0x439067(0xbb)],_0x6faa87=_0x5cd837[_0x439067(0xa8)]?.[_0x439067(0xb2)];_0x1e2d9f[_0x439067(0x74)](_0x439067(0x79))&&_0x6faa87?.['is'](_0x439067(0xc3),_0x439067(0xbc))&&(function(_0x49e3ad,_0x1ff163,_0xcec147,_0x360f2a){const _0x343672=_0x439067;if(!_0x360f2a[_0x343672(0x73)](_0x1ff163,_0x343672(0xa5)))return;let _0x171335=0x1;const _0x31f235=_0xcec147[_0x343672(0x7a)][_0x343672(0x98)](_0x49e3ad,{'attributes':_0x343672(0xc9)});if(_0x31f235){const _0x4512d0=Number[_0x343672(0x6f)](_0x49e3ad[_0x343672(0xc8)](_0x343672(0xc9)),0xa);Number[_0x343672(0xcb)](_0x4512d0)||(_0x171335=_0x4512d0);}!_0x31f235&&_0x1ff163[_0x343672(0x93)](_0x343672(0xa5))||_0xcec147[_0x343672(0x70)][_0x343672(0xad)](_0x343672(0xa5),_0x171335,_0x1ff163);}(_0x1e2d9f,_0x6faa87,_0x4746b2,_0x28ce08),function(_0xeae86f,_0x253a71,_0x2cfe71,_0x521b44){const _0x4694ab=_0x439067;if(!_0x521b44[_0x4694ab(0x73)](_0x253a71,_0x4694ab(0xc5)))return;let _0x1b68b4=_0x4694ab(0x88),_0x52df6d=!0x1;if(_0x2cfe71[_0x4694ab(0x7a)][_0x4694ab(0x98)](_0xeae86f,{'attributes':_0x4694ab(0x71)})){const _0x4292f3={0x1:_0x4694ab(0x88),'a':_0x4694ab(0x9a),'A':_0x4694ab(0xa0),'i':_0x4694ab(0xb0),'I':_0x4694ab(0x94)}[_0xeae86f[_0x4694ab(0xc8)](_0x4694ab(0x71))];_0x4292f3&&(_0x1b68b4=_0x4292f3),_0x52df6d=!0x0;}_0x2cfe71[_0x4694ab(0x7a)][_0x4694ab(0x98)](_0xeae86f,{'styles':_0x4694ab(0x77)})&&(_0x1b68b4=_0xeae86f[_0x4694ab(0x9f)](_0x4694ab(0x77)),_0x52df6d=!0x0),!_0x52df6d&&_0x253a71[_0x4694ab(0x93)](_0x4694ab(0xc5))||_0x2cfe71[_0x4694ab(0x70)][_0x4694ab(0xad)](_0x4694ab(0xc5),_0x1b68b4,_0x253a71);}(_0x1e2d9f,_0x6faa87,_0x4746b2,_0x28ce08));});}),_0x12e976[_0x5471a8(0xa3)](_0x5471a8(0x90))[_0x5471a8(0xb5)](_0x4954a7=>{const _0x18a8d5=_0x5471a8;_0x4954a7['on'](_0x18a8d5(0x85),(_0x1fd47d,_0x538bd4,_0x248c2f)=>{const _0x560a51=_0x18a8d5;if(!_0x248c2f[_0x560a51(0x7a)][_0x560a51(0x98)](_0x538bd4[_0x560a51(0x7c)],_0x1fd47d[_0x560a51(0x78)]))return;const _0x2b281b=C(_0x538bd4[_0x560a51(0x7c)],_0x248c2f[_0x560a51(0xaa)]),{attributeNewValue:_0x536620}=_0x538bd4;null==_0x536620||0x1===_0x536620?_0x248c2f[_0x560a51(0x70)][_0x560a51(0x83)](_0x560a51(0xc9),_0x2b281b):_0x248c2f[_0x560a51(0x70)][_0x560a51(0xad)](_0x560a51(0xc9),String(_0x536620),_0x2b281b);}),_0x4954a7['on'](_0x18a8d5(0xce),(_0x5eac22,_0x3787a1,_0x41a511)=>{const _0x46ed8d=_0x18a8d5;if(!_0x41a511[_0x46ed8d(0x7a)][_0x46ed8d(0x98)](_0x3787a1[_0x46ed8d(0x7c)],_0x5eac22[_0x46ed8d(0x78)]))return;const _0x3dd6f3=C(_0x3787a1[_0x46ed8d(0x7c)],_0x41a511[_0x46ed8d(0xaa)]),{attributeNewValue:_0x824ca5}=_0x3787a1;_0x824ca5&&_0x46ed8d(0x88)!==_0x824ca5?_0x41a511[_0x46ed8d(0x70)][_0x46ed8d(0x8f)](_0x46ed8d(0x77),_0x824ca5,_0x3dd6f3):_0x41a511[_0x46ed8d(0x70)][_0x46ed8d(0x7d)](_0x46ed8d(0x77),_0x3dd6f3);});});}[_0x5a5d33(0xaf)](){const _0x343ff8=_0x5a5d33,{editor:_0xeb5e4b}=this,{model:_0x387b40}=_0xeb5e4b,_0x45d8a4=_0xeb5e4b[_0x343ff8(0x86)][_0x343ff8(0x9c)](_0x49f6e4),_0x26996e=this[_0x343ff8(0x8c)](),_0x4106bf=this[_0x343ff8(0x8b)]();_0x387b40[_0x343ff8(0xb8)][_0x343ff8(0xcd)](_0x25a577=>{const _0x18a605=_0x343ff8,_0x378760=_0x387b40[_0x18a605(0xb8)][_0x18a605(0x6b)][_0x18a605(0x81)]();let _0x2f7dca=!0x1;for(const _0x787b45 of _0x378760){if(_0x18a605(0x97)!==_0x787b45[_0x18a605(0x71)]||_0x18a605(0x92)===_0x787b45[_0x18a605(0x78)])continue;const _0x2cec42=_0x387b40[_0x18a605(0xb4)](_0x787b45[_0x18a605(0x9b)][_0x18a605(0x8e)]);for(const _0x46084f of _0x2cec42[_0x18a605(0x80)]())_0x46084f['is'](_0x18a605(0xc3),_0x18a605(0xbc))&&(!_0x46084f[_0x18a605(0x93)](_0x18a605(0xa5))&&_0x387b40[_0x18a605(0x8a)][_0x18a605(0x73)](_0x46084f,_0x18a605(0xa5))&&(_0x25a577[_0x18a605(0xad)](_0x18a605(0xa5),_0x4106bf,_0x46084f),_0x2f7dca=!0x0),!_0x46084f[_0x18a605(0x93)](_0x18a605(0xc5))&&_0x387b40[_0x18a605(0x8a)][_0x18a605(0x73)](_0x46084f,_0x18a605(0xc5))&&(_0x25a577[_0x18a605(0xad)](_0x18a605(0xc5),_0x26996e,_0x46084f),_0x2f7dca=!0x0));}return _0x2f7dca&&_0x45d8a4[_0x18a605(0xa1)](_0x25a577),_0x2f7dca;});}[_0x5a5d33(0xb1)](){const _0x3d2aa2=_0x5a5d33,{editor:_0x5e732a}=this;_0x5e732a[_0x3d2aa2(0x86)][_0x3d2aa2(0x9c)](_0x49f6e4)[_0x3d2aa2(0x76)](_0x52503e=>this[_0x3d2aa2(0xc7)](_0x52503e));}[_0x5a5d33(0x8c)](){const _0x64fc21=_0x5a5d33;return this[_0x64fc21(0x6c)][_0x64fc21(0xa9)][_0x64fc21(0x9c)](_0x64fc21(0xc4));}[_0x5a5d33(0x8b)](){const _0x5e3f86=_0x5a5d33;return this[_0x5e3f86(0x6c)][_0x5e3f86(0xa9)][_0x5e3f86(0x9c)](_0x5e3f86(0x84));}[_0x5a5d33(0xc7)]({container:_0x3b08a1,value:_0x5e66d1,digits:_0x6e3a21}){const _0x986a72=_0x5a5d33,_0x19b7d5=_0x3b08a1[_0x986a72(0xc8)](_0x986a72(0xc5)),_0x353b4d=_0x3b08a1[_0x986a72(0xc8)](_0x986a72(0xa5)),_0x7e7f3f=Math[_0x986a72(0x75)](_0x5e66d1)+(_0x353b4d??0x1)-0x1;switch(_0x19b7d5){case _0x986a72(0x6e):return function(_0x377196,_0x576daf){const _0x14315b=_0x986a72;return String(_0x377196)[_0x14315b(0x89)](_0x576daf,'0');}(_0x7e7f3f,Math[_0x986a72(0xba)](0x2,_0x6e3a21));case _0x986a72(0x9a):case _0x986a72(0x6d):return M(_0x7e7f3f,!0x1);case _0x986a72(0xa0):case _0x986a72(0xc0):return M(_0x7e7f3f,!0x0);case _0x986a72(0xb0):return V(_0x7e7f3f,!0x1);case _0x986a72(0x94):return V(_0x7e7f3f,!0x0);default:return String(_0x7e7f3f);}}}function C(_0x6b37bf,_0x4b3bd0){const _0x5ea19f=_0x5a5d33,_0x388c1e=_0x4b3bd0[_0x5ea19f(0x87)](_0x6b37bf);return Array[_0x5ea19f(0x95)](_0x388c1e[_0x5ea19f(0xbe)]())[_0x5ea19f(0xca)](_0x4b8464=>_0x4b8464['is'](_0x5ea19f(0xc3),'ol')&&_0x4b8464[_0x5ea19f(0x74)](_0x5ea19f(0x79)));}function M(_0x20ecc0,_0x758ab1){const _0xa625b4=_0x5a5d33;let _0x44a21d='',_0x32eadf=_0x20ecc0;for(;_0x32eadf>0x0;){const _0xadaca=(_0x32eadf-0x1)%0x1a;_0x44a21d=String[_0xa625b4(0xb9)](0x61+_0xadaca)+_0x44a21d,_0x32eadf=Math[_0xa625b4(0x75)]((_0x32eadf-0x1)/0x1a);}return _0x758ab1?_0x44a21d[_0xa625b4(0xab)]():_0x44a21d;}const N=[{'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 V(_0x354dd0,_0x4ce10a){const _0x2846ca=_0x5a5d33;let _0x563fd7='',_0x317b86=_0x354dd0;for(const {value:_0x5ec764,numeral:_0x5079f7}of N)for(;_0x317b86>=_0x5ec764;)_0x563fd7+=_0x5079f7,_0x317b86-=_0x5ec764;return _0x4ce10a?_0x563fd7:_0x563fd7[_0x2846ca(0x7b)]();}function _0xa3ae(){const _0x8d4183=['_updateFootnotesCounters','footnotesStart','for','2966982eGorjt','footnotesListStart','isOfficialPlugin','commands','modelCursor','config','mapper','toUpperCase','requires','setAttribute','model','_definePostfixer','lower-roman','_defineFormatter','parent','upcast','createRangeOn','add','1101243qMLkOc','9845080NXcPgd','document','fromCharCode','max','viewItem','footnotesDefinitions','249632kSJIct','getChildren','footnotesStyle','upper-latin','extend','10quEYBW','element','footnotes.footnotesProperties.defaultListStyle','footnotesListStyle','9UaYfGM','_formatFootnoteListValue','getAttribute','start','find','isNaN','7643706yAeQSo','registerPostFixer','attribute:footnotesListStyle:footnotesDefinitions','3234vmpvoH','differ','editor','lower-latin','decimal-leading-zero','parseInt','writer','type','isPremiumPlugin','checkAttribute','hasClass','floor','setFootnoteFormatter','list-style-type','name','footnotes-list','consumable','toLowerCase','item','removeStyle','pluginName','define','getItems','getChanges','917ErqQcF','removeAttribute','footnotes.footnotesProperties.defaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','plugins','toViewElement','decimal','padStart','schema','_getDefaultStartIndex','_getDefaultListStyle','element:ol','nodeAfter','setStyle','downcast','_defineConverters','$text','hasAttribute','upper-roman','from','FootnotesPropertiesEditing','insert','consume','8631968GLikEL','lower-alpha','position','get','init','_defineSchema','getStyle','upper-alpha'];_0xa3ae=function(){return _0x8d4183;};return _0xa3ae();}
|
|
23
|
+
function _0x26dc(){const _0x4c764b=['writer','padStart','footnotes.footnotesProperties.defaultStartIndex','mapper','_defineConverters','8ZxYlgS','$text','upper-alpha','max','config','footnotesListStyle','292IkAHyr','setStyle','commands','_defineSchema','hasClass','55qrAatH','editor','parent','plugins','for','modelCursor','getItems','position','item','consume','_defineFormatter','setFootnoteFormatter','fromCharCode','element','consumable','getChildren','toLowerCase','toUpperCase','hasAttribute','requires','813355mPQoKx','530664opuDCU','_definePostfixer','getAttribute','get','footnotes.footnotesProperties.defaultListStyle','list-style-type','getChanges','checkAttribute','footnotesStyle','decimal','find','registerPostFixer','setAttribute','differ','parseInt','_updateFootnotesCounters','_getDefaultStartIndex','footnotesDefinitions','isPremiumPlugin','element:ol','4AOIWZF','pluginName','define','1042947sFCYgH','upper-roman','3992880uAACqn','getStyle','lower-roman','upcast','insert','name','FootnotesPropertiesEditing','lower-latin','removeStyle','removeAttribute','60Vhfcft','extend','isNaN','type','isOfficialPlugin','attribute:footnotesListStyle:footnotesDefinitions','_formatFootnoteListValue','footnotesStart','decimal-leading-zero','start','lower-alpha','132651MWiaac','footnotes-list','from','init','schema','footnotesListStart','1191hUPhpM','_getDefaultListStyle','attribute:footnotesListStart:footnotesDefinitions','document','floor','toViewElement','upper-latin','1111292CKzEUP','nodeAfter','createRangeOn','add','viewItem','model','downcast'];_0x26dc=function(){return _0x4c764b;};return _0x26dc();}const _0x3c5bf0=_0x256c;function _0x256c(_0x38219f,_0x225bc1){const _0x26dc12=_0x26dc();return _0x256c=function(_0x256c00,_0x272bc2){_0x256c00=_0x256c00-0x185;let _0x24bbae=_0x26dc12[_0x256c00];return _0x24bbae;},_0x256c(_0x38219f,_0x225bc1);}(function(_0x311f07,_0x171ec9){const _0x46c462=_0x256c,_0x4226ff=_0x311f07();while(!![]){try{const _0x566c7b=-parseInt(_0x46c462(0x197))/0x1*(parseInt(_0x46c462(0x1b0))/0x2)+-parseInt(_0x46c462(0x191))/0x3+-parseInt(_0x46c462(0x1de))/0x4*(-parseInt(_0x46c462(0x1c9))/0x5)+-parseInt(_0x46c462(0x1e3))/0x6+parseInt(_0x46c462(0x19e))/0x7*(parseInt(_0x46c462(0x1aa))/0x8)+-parseInt(_0x46c462(0x1e1))/0x9*(-parseInt(_0x46c462(0x186))/0xa)+-parseInt(_0x46c462(0x1b5))/0xb*(-parseInt(_0x46c462(0x1ca))/0xc);if(_0x566c7b===_0x171ec9)break;else _0x4226ff['push'](_0x4226ff['shift']());}catch(_0x28701e){_0x4226ff['push'](_0x4226ff['shift']());}}}(_0x26dc,0x567cc));import{Plugin as _0x12288a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x5f01c8}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3de18c}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x1ac04f}from'../footnotestracker.js';import{FootnotesEditing as _0x274c0c}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x12288a{static get[_0x3c5bf0(0x1df)](){const _0x11e5d1=_0x3c5bf0;return _0x11e5d1(0x1e9);}static get[_0x3c5bf0(0x1c8)](){return[_0x274c0c,_0x1ac04f];}static get[_0x3c5bf0(0x18a)](){return!0x0;}static get[_0x3c5bf0(0x1dc)](){return!0x0;}[_0x3c5bf0(0x194)](){const _0x55c27e=_0x3c5bf0,{editor:_0x37d9c2}=this;_0x37d9c2[_0x55c27e(0x1ae)][_0x55c27e(0x1e0)](_0x55c27e(0x1ce),_0x55c27e(0x1d3)),_0x37d9c2[_0x55c27e(0x1ae)][_0x55c27e(0x1e0)](_0x55c27e(0x1a7),0x1),_0x37d9c2[_0x55c27e(0x1b2)][_0x55c27e(0x1a1)](_0x55c27e(0x1d2),new _0x5f01c8(_0x37d9c2)),_0x37d9c2[_0x55c27e(0x1b2)][_0x55c27e(0x1a1)](_0x55c27e(0x18d),new _0x3de18c(_0x37d9c2)),this[_0x55c27e(0x1b3)](),this[_0x55c27e(0x1a9)](),this[_0x55c27e(0x1bf)](),this[_0x55c27e(0x1cb)]();}[_0x3c5bf0(0x1b3)](){const _0x36b64d=_0x3c5bf0,{editor:_0x38f725}=this,{schema:_0x2f621d}=_0x38f725[_0x36b64d(0x1a3)];_0x2f621d[_0x36b64d(0x187)](_0x36b64d(0x1db),{'allowAttributes':[_0x36b64d(0x1af),_0x36b64d(0x196)]});}[_0x3c5bf0(0x1a9)](){const _0x3fd27c=_0x3c5bf0,{editor:_0x2dcd2d}=this,{conversion:_0x52fc8e,model:_0x313f8f}=_0x2dcd2d,{schema:_0x4c9a71}=_0x313f8f;_0x52fc8e[_0x3fd27c(0x1b9)](_0x3fd27c(0x1e6))[_0x3fd27c(0x1a1)](_0x4403ba=>{const _0x33f3fc=_0x3fd27c;_0x4403ba['on'](_0x33f3fc(0x1dd),(_0x5dd29d,_0x55271c,_0x59e03a)=>{const _0xb3619a=_0x33f3fc,_0x204cc5=_0x55271c[_0xb3619a(0x1a2)],_0x4e0e32=_0x55271c[_0xb3619a(0x1ba)]?.[_0xb3619a(0x1b7)];_0x204cc5[_0xb3619a(0x1b4)](_0xb3619a(0x192))&&_0x4e0e32?.['is'](_0xb3619a(0x1c2),_0xb3619a(0x1db))&&(function(_0x33e321,_0x5e60ab,_0x2dfbfc,_0x24ecc2){const _0x4959a8=_0xb3619a;if(!_0x24ecc2[_0x4959a8(0x1d1)](_0x5e60ab,_0x4959a8(0x196)))return;let _0x572e6c=0x1;const _0x10169d=_0x2dfbfc[_0x4959a8(0x1c3)][_0x4959a8(0x1be)](_0x33e321,{'attributes':_0x4959a8(0x18f)});if(_0x10169d){const _0x502526=Number[_0x4959a8(0x1d8)](_0x33e321[_0x4959a8(0x1cc)](_0x4959a8(0x18f)),0xa);Number[_0x4959a8(0x188)](_0x502526)||(_0x572e6c=_0x502526);}!_0x10169d&&_0x5e60ab[_0x4959a8(0x1c7)](_0x4959a8(0x196))||_0x2dfbfc[_0x4959a8(0x1a5)][_0x4959a8(0x1d6)](_0x4959a8(0x196),_0x572e6c,_0x5e60ab);}(_0x204cc5,_0x4e0e32,_0x59e03a,_0x4c9a71),function(_0x5c0b7f,_0x75069a,_0x558f57,_0x1ec15c){const _0x2f2f89=_0xb3619a;if(!_0x1ec15c[_0x2f2f89(0x1d1)](_0x75069a,_0x2f2f89(0x1af)))return;let _0x5d34c2=_0x2f2f89(0x1d3),_0x4690cc=!0x1;if(_0x558f57[_0x2f2f89(0x1c3)][_0x2f2f89(0x1be)](_0x5c0b7f,{'attributes':_0x2f2f89(0x189)})){const _0x5c9eec={0x1:_0x2f2f89(0x1d3),'a':_0x2f2f89(0x190),'A':_0x2f2f89(0x1ac),'i':_0x2f2f89(0x1e5),'I':_0x2f2f89(0x1e2)}[_0x5c0b7f[_0x2f2f89(0x1cc)](_0x2f2f89(0x189))];_0x5c9eec&&(_0x5d34c2=_0x5c9eec),_0x4690cc=!0x0;}_0x558f57[_0x2f2f89(0x1c3)][_0x2f2f89(0x1be)](_0x5c0b7f,{'styles':_0x2f2f89(0x1cf)})&&(_0x5d34c2=_0x5c0b7f[_0x2f2f89(0x1e4)](_0x2f2f89(0x1cf)),_0x4690cc=!0x0),!_0x4690cc&&_0x75069a[_0x2f2f89(0x1c7)](_0x2f2f89(0x1af))||_0x558f57[_0x2f2f89(0x1a5)][_0x2f2f89(0x1d6)](_0x2f2f89(0x1af),_0x5d34c2,_0x75069a);}(_0x204cc5,_0x4e0e32,_0x59e03a,_0x4c9a71));});}),_0x52fc8e[_0x3fd27c(0x1b9)](_0x3fd27c(0x1a4))[_0x3fd27c(0x1a1)](_0x137813=>{const _0x20bf87=_0x3fd27c;_0x137813['on'](_0x20bf87(0x199),(_0x59febf,_0x5c433e,_0x228d75)=>{const _0x128e29=_0x20bf87;if(!_0x228d75[_0x128e29(0x1c3)][_0x128e29(0x1be)](_0x5c433e[_0x128e29(0x1bd)],_0x59febf[_0x128e29(0x1e8)]))return;const _0x589419=C(_0x5c433e[_0x128e29(0x1bd)],_0x228d75[_0x128e29(0x1a8)]),{attributeNewValue:_0x823b6c}=_0x5c433e;null==_0x823b6c||0x1===_0x823b6c?_0x228d75[_0x128e29(0x1a5)][_0x128e29(0x185)](_0x128e29(0x18f),_0x589419):_0x228d75[_0x128e29(0x1a5)][_0x128e29(0x1d6)](_0x128e29(0x18f),String(_0x823b6c),_0x589419);}),_0x137813['on'](_0x20bf87(0x18b),(_0x63da6,_0x4e3950,_0xf7e27)=>{const _0x53345c=_0x20bf87;if(!_0xf7e27[_0x53345c(0x1c3)][_0x53345c(0x1be)](_0x4e3950[_0x53345c(0x1bd)],_0x63da6[_0x53345c(0x1e8)]))return;const _0x455357=C(_0x4e3950[_0x53345c(0x1bd)],_0xf7e27[_0x53345c(0x1a8)]),{attributeNewValue:_0x1e7c52}=_0x4e3950;_0x1e7c52&&_0x53345c(0x1d3)!==_0x1e7c52?_0xf7e27[_0x53345c(0x1a5)][_0x53345c(0x1b1)](_0x53345c(0x1cf),_0x1e7c52,_0x455357):_0xf7e27[_0x53345c(0x1a5)][_0x53345c(0x1eb)](_0x53345c(0x1cf),_0x455357);});});}[_0x3c5bf0(0x1cb)](){const _0x23ae70=_0x3c5bf0,{editor:_0x2e6e22}=this,{model:_0x43aec1}=_0x2e6e22,_0x10f8a5=_0x2e6e22[_0x23ae70(0x1b8)][_0x23ae70(0x1cd)](_0x1ac04f),_0x27642d=this[_0x23ae70(0x198)](),_0x37883b=this[_0x23ae70(0x1da)]();_0x43aec1[_0x23ae70(0x19a)][_0x23ae70(0x1d5)](_0x285f74=>{const _0x6f225a=_0x23ae70,_0x315fb1=_0x43aec1[_0x6f225a(0x19a)][_0x6f225a(0x1d7)][_0x6f225a(0x1d0)]();let _0x57f4d4=!0x1;for(const _0x57c441 of _0x315fb1){if(_0x6f225a(0x1e7)!==_0x57c441[_0x6f225a(0x189)]||_0x6f225a(0x1ab)===_0x57c441[_0x6f225a(0x1e8)])continue;const _0x1b86d2=_0x43aec1[_0x6f225a(0x1a0)](_0x57c441[_0x6f225a(0x1bc)][_0x6f225a(0x19f)]);for(const _0x38eac0 of _0x1b86d2[_0x6f225a(0x1bb)]())_0x38eac0['is'](_0x6f225a(0x1c2),_0x6f225a(0x1db))&&(!_0x38eac0[_0x6f225a(0x1c7)](_0x6f225a(0x196))&&_0x43aec1[_0x6f225a(0x195)][_0x6f225a(0x1d1)](_0x38eac0,_0x6f225a(0x196))&&(_0x285f74[_0x6f225a(0x1d6)](_0x6f225a(0x196),_0x37883b,_0x38eac0),_0x57f4d4=!0x0),!_0x38eac0[_0x6f225a(0x1c7)](_0x6f225a(0x1af))&&_0x43aec1[_0x6f225a(0x195)][_0x6f225a(0x1d1)](_0x38eac0,_0x6f225a(0x1af))&&(_0x285f74[_0x6f225a(0x1d6)](_0x6f225a(0x1af),_0x27642d,_0x38eac0),_0x57f4d4=!0x0));}return _0x57f4d4&&_0x10f8a5[_0x6f225a(0x1d9)](_0x285f74),_0x57f4d4;});}[_0x3c5bf0(0x1bf)](){const _0x1f44fa=_0x3c5bf0,{editor:_0x97be5b}=this;_0x97be5b[_0x1f44fa(0x1b8)][_0x1f44fa(0x1cd)](_0x1ac04f)[_0x1f44fa(0x1c0)](_0x532b8f=>this[_0x1f44fa(0x18c)](_0x532b8f));}[_0x3c5bf0(0x198)](){const _0x2de91f=_0x3c5bf0;return this[_0x2de91f(0x1b6)][_0x2de91f(0x1ae)][_0x2de91f(0x1cd)](_0x2de91f(0x1ce));}[_0x3c5bf0(0x1da)](){const _0x388c72=_0x3c5bf0;return this[_0x388c72(0x1b6)][_0x388c72(0x1ae)][_0x388c72(0x1cd)](_0x388c72(0x1a7));}[_0x3c5bf0(0x18c)]({container:_0x22d17f,value:_0x248d4d,digits:_0x3b8c60}){const _0x3a1829=_0x3c5bf0,_0xdef80e=_0x22d17f[_0x3a1829(0x1cc)](_0x3a1829(0x1af)),_0x1e7b09=_0x22d17f[_0x3a1829(0x1cc)](_0x3a1829(0x196)),_0x26bc6=Math[_0x3a1829(0x19b)](_0x248d4d)+(_0x1e7b09??0x1)-0x1;switch(_0xdef80e){case _0x3a1829(0x18e):return function(_0x3b6ff2,_0x160b7f){const _0x4018d1=_0x3a1829;return String(_0x3b6ff2)[_0x4018d1(0x1a6)](_0x160b7f,'0');}(_0x26bc6,Math[_0x3a1829(0x1ad)](0x2,_0x3b8c60));case _0x3a1829(0x190):case _0x3a1829(0x1ea):return M(_0x26bc6,!0x1);case _0x3a1829(0x1ac):case _0x3a1829(0x19d):return M(_0x26bc6,!0x0);case _0x3a1829(0x1e5):return V(_0x26bc6,!0x1);case _0x3a1829(0x1e2):return V(_0x26bc6,!0x0);default:return String(_0x26bc6);}}}function C(_0x6e8bd6,_0x3b63f7){const _0x5092cf=_0x3c5bf0,_0x10d503=_0x3b63f7[_0x5092cf(0x19c)](_0x6e8bd6);return Array[_0x5092cf(0x193)](_0x10d503[_0x5092cf(0x1c4)]())[_0x5092cf(0x1d4)](_0xb8f283=>_0xb8f283['is'](_0x5092cf(0x1c2),'ol')&&_0xb8f283[_0x5092cf(0x1b4)](_0x5092cf(0x192)));}function M(_0x869fb5,_0x59cbbc){const _0x3a4921=_0x3c5bf0;let _0x3b370c='',_0x31275a=_0x869fb5;for(;_0x31275a>0x0;){const _0x54fc91=(_0x31275a-0x1)%0x1a;_0x3b370c=String[_0x3a4921(0x1c1)](0x61+_0x54fc91)+_0x3b370c,_0x31275a=Math[_0x3a4921(0x19b)]((_0x31275a-0x1)/0x1a);}return _0x59cbbc?_0x3b370c[_0x3a4921(0x1c6)]():_0x3b370c;}const N=[{'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 V(_0x1384b1,_0x5729d7){const _0x3472cd=_0x3c5bf0;let _0x454b26='',_0x580c49=_0x1384b1;for(const {value:_0x2490dd,numeral:_0x482aa7}of N)for(;_0x580c49>=_0x2490dd;)_0x454b26+=_0x482aa7,_0x580c49-=_0x2490dd;return _0x5729d7?_0x454b26:_0x454b26[_0x3472cd(0x1c5)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x6e93a1,ButtonView as _0x1a3cbe,ContextualBalloon as _0x255e5a,createDropdown as _0x5a3e12}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3eb2ce}from'ckeditor5/src/widget.js';import{Plugin as _0x38be80}from'ckeditor5/src/core.js';import{IconFootnote as _0xc5ffc,IconListStyleDecimal as _0x37ab77,IconListStyleDecimalLeadingZero as _0x363750,IconListStyleLowerLatin as _0xc17108,IconListStyleLowerRoman as _0x11fe8c,IconListStyleUpperLatin as _0x35e7b7,IconListStyleUpperRoman as _0x9f9bfe}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3196f7}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x12fe14}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x38be80{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x255e5a,_0x3eb2ce];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2abc88}=this,{componentFactory:_0x46c603}=_0x2abc88['ui'];_0x2abc88['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x46c603['add']('footnotesStyle',function(_0x3ade62){return _0x4e3872=>{const {t:t}=_0x4e3872,_0x2218c8=_0x3ade62['commands']['get']('footnotesStyle'),_0x5b30ad=_0x5a3e12(_0x4e3872),{buttonView:_0x4dac7e}=_0x5b30ad;return _0x5b30ad['class']='ck-footnotes-styles-dropdown',_0x5b30ad['bind']('isEnabled')['to'](_0x2218c8,'isEnabled'),_0x4dac7e['set']({'label':t('Footnotes\x20style'),'icon':_0xc5ffc,'tooltip':!0x0}),_0x5b30ad['once']('change:isOpen',()=>{const _0x5814c4=function({editor:_0x10d740,dropdownView:_0xafabf3}){const {t:t}=_0x10d740['locale'],_0x59e25e=t('Footnotes\x20definitions\x20styles'),_0x5acd08=function(_0x214b62){const t=_0x214b62['locale']['t'],_0xf147e8=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x37ab77},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x363750},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x11fe8c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x9f9bfe},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xc17108},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x35e7b7}];return _0xf147e8['map'](function(_0x39e895){const _0x5779b3=_0x39e895['locale'];return({label:_0x51da4b,icon:_0x3cf54f,tooltip:_0x593c88,style:_0x100b00})=>{const _0x12d1da=_0x39e895['commands']['get']('footnotesStyle'),_0x4ee476=new _0x1a3cbe(_0x5779b3);return _0x4ee476['set']({'label':_0x51da4b,'icon':_0x3cf54f,'tooltip':_0x593c88}),_0x4ee476['bind']('isOn')['to'](_0x12d1da,'value',_0x1e483a=>_0x1e483a===_0x100b00),_0x4ee476['bind']('isEnabled')['to'](_0x12d1da,'isEnabled'),_0x4ee476['on']('execute',()=>{_0x39e895['execute']('footnotesStyle',{'value':_0x100b00}),_0x39e895['editing']['view']['focus']();}),_0x4ee476;};}(_0x214b62));}(_0x10d740),_0x3f9eb3=new _0x3196f7(_0x10d740['locale'],{'styleGridAriaLabel':_0x59e25e,'styleButtonViews':_0x5acd08});return _0x3f9eb3['delegate']('execute')['to'](_0xafabf3),_0x3f9eb3['on']('footnotesListStart',(_0x241b4c,_0x99d8b9)=>{_0x10d740['execute']('footnotesStart',{'value':_0x99d8b9['startIndex']});}),_0x3f9eb3;}({'editor':_0x3ade62,'dropdownView':_0x5b30ad});_0x5b30ad['panelView']['children']['add'](_0x5814c4);}),_0x5b30ad;};}(_0x2abc88));}['afterInit'](){const {editor:_0x1236b7}=this,{t:t}=_0x1236b7['locale'],_0x586985=_0x1236b7['plugins']['get'](_0x3eb2ce),{defaultPositions:_0x500931}=_0x6e93a1;_0x586985['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1236b7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1d202d=>{let _0x33c15a=_0x1d202d['getFirstPosition']()?.['parent'];return _0x33c15a?.['is']('$text')&&(_0x33c15a=_0x33c15a['parent']),_0x33c15a?.['is']('element')?_0x33c15a['findAncestor'](_0x12fe14):null;},'positions':[_0x500931['southArrowNorth'],_0x500931['southArrowNorthMiddleWest'],_0x500931['southArrowNorthMiddleEast'],_0x500931['southArrowNorthWest'],_0x500931['southArrowNorthEast'],_0x500931['northArrowSouth'],_0x500931['northArrowSouthMiddleWest'],_0x500931['northArrowSouthMiddleEast'],_0x500931['northArrowSouthWest'],_0x500931['northArrowSouthEast'],_0x500931['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3d16c4,View as _0x546542,ViewCollection as _0x337488,FocusCycler as _0x572004,addKeyboardHandlingForGrid as _0x314fc7,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x546542{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x337488();['focusCycler'];constructor(_0xa78de5,{styleButtonViews:_0x268876,styleGridAriaLabel:_0x59e8f1}){super(_0xa78de5),(this['focusCycler']=new _0x572004({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x268876,_0x59e8f1),[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 _0x2f3b8f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2f3b8f['element']);_0x314fc7({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x1e0f7d=_0x42b142=>_0x42b142['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1e0f7d),this['keystrokes']['set']('arrowleft',_0x1e0f7d),this['keystrokes']['set']('arrowup',_0x1e0f7d),this['keystrokes']['set']('arrowdown',_0x1e0f7d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1c1dd2,_0x18d6e8){const _0x54508d=new _0x546542(this['locale']);return _0x54508d['children']=_0x54508d['createCollection'](),_0x54508d['children']['addMany'](_0x1c1dd2),_0x54508d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x18d6e8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x54508d['children']}),_0x54508d['children']['delegate']('execute')['to'](this),_0x54508d['focus']=function(){for(const _0x4cad6f of this['children'])if(_0x4cad6f instanceof _0x3d16c4&&_0x4cad6f['isOn'])return void _0x4cad6f['focus']();this['children']['first']['focus']();},_0x54508d['focusTracker']=new et(),_0x54508d['keystrokes']=new ot(),_0x54508d['render'](),_0x54508d['keystrokes']['listenTo'](_0x54508d['element']),this['children']['add'](_0x54508d),_0x54508d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x202c0b=this['_createStartIndexPropertyView'](),_0x567cc3=[_0x202c0b],_0x555582=new tt(this['locale'],_0x567cc3);return _0x555582['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x555582['buttonView']['bind']('isEnabled')['toMany'](_0x567cc3,'isEnabled',(..._0x5ee6bb)=>_0x5ee6bb['some'](_0x9ca1eb=>_0x9ca1eb)),_0x555582['buttonView']['on']('change:isEnabled',(_0x3f2cb4,_0x3692fb,_0x4ce8d6)=>{_0x4ce8d6||(_0x555582['isCollapsed']=!0x0);}),this['children']['add'](_0x555582),[_0x202c0b,_0x555582];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4357b5=new st(this['locale'],it);return _0x4357b5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4357b5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4357b5['fieldView']['on']('input',()=>{const _0x517737=_0x4357b5['fieldView']['element'],_0x5f4fd1=_0x517737['valueAsNumber'];Number['isNaN'](_0x5f4fd1)?_0x4357b5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x517737['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5f4fd1}):_0x4357b5['errorText']=t(_0x5f4fd1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4357b5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x457ba9=_0x2e0b;(function(_0x44df79,_0x125432){var _0x2fd62f=_0x2e0b,_0x39107b=_0x44df79();while(!![]){try{var _0x5c7597=parseInt(_0x2fd62f(0x8e))/0x1+parseInt(_0x2fd62f(0x91))/0x2+-parseInt(_0x2fd62f(0x93))/0x3*(-parseInt(_0x2fd62f(0x87))/0x4)+-parseInt(_0x2fd62f(0x90))/0x5*(parseInt(_0x2fd62f(0x92))/0x6)+parseInt(_0x2fd62f(0x85))/0x7*(-parseInt(_0x2fd62f(0x88))/0x8)+parseInt(_0x2fd62f(0x8d))/0x9*(-parseInt(_0x2fd62f(0x89))/0xa)+parseInt(_0x2fd62f(0x8c))/0xb;if(_0x5c7597===_0x125432)break;else _0x39107b['push'](_0x39107b['shift']());}catch(_0x479ed5){_0x39107b['push'](_0x39107b['shift']());}}}(_0x2b42,0x3f58b));import{Plugin as _0x52477c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2030e8}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x309086}from'./footnotesproperties/footnotespropertiesui.js';function _0x2b42(){var _0x286511=['881067APZSbl','159129lijiVR','156261htppQE','requires','5RIhsSE','787398JsYARX','1531482dRkjvi','22233nqmHqa','isOfficialPlugin','56DfGNlG','isPremiumPlugin','4bjadKY','87392BsQSrE','20lZarnk','FootnotesProperties','pluginName'];_0x2b42=function(){return _0x286511;};return _0x2b42();}function _0x2e0b(_0x35a878,_0x2c2812){var _0x2b42cf=_0x2b42();return _0x2e0b=function(_0x2e0b06,_0x3cfed2){_0x2e0b06=_0x2e0b06-0x85;var _0x5a2306=_0x2b42cf[_0x2e0b06];return _0x5a2306;},_0x2e0b(_0x35a878,_0x2c2812);}export class FootnotesProperties extends _0x52477c{static get[_0x457ba9(0x8b)](){var _0x2b31bb=_0x457ba9;return _0x2b31bb(0x8a);}static get[_0x457ba9(0x8f)](){return[_0x2030e8,_0x309086];}static get[_0x457ba9(0x94)](){return!0x0;}static get[_0x457ba9(0x86)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x28ff21=_0x366b;(function(_0x26a6b7,_0x18edba){const _0x38b7c0=_0x366b,_0x1b62c1=_0x26a6b7();while(!![]){try{const _0x192102=parseInt(_0x38b7c0(0xc0))/0x1+-parseInt(_0x38b7c0(0x9b))/0x2*(parseInt(_0x38b7c0(0xb6))/0x3)+-parseInt(_0x38b7c0(0xad))/0x4*(parseInt(_0x38b7c0(0xf4))/0x5)+parseInt(_0x38b7c0(0xec))/0x6*(parseInt(_0x38b7c0(0xc8))/0x7)+parseInt(_0x38b7c0(0xc1))/0x8*(parseInt(_0x38b7c0(0xba))/0x9)+parseInt(_0x38b7c0(0x9c))/0xa*(-parseInt(_0x38b7c0(0x9d))/0xb)+-parseInt(_0x38b7c0(0xa3))/0xc*(-parseInt(_0x38b7c0(0xd7))/0xd);if(_0x192102===_0x18edba)break;else _0x1b62c1['push'](_0x1b62c1['shift']());}catch(_0x573794){_0x1b62c1['push'](_0x1b62c1['shift']());}}}(_0x38e9,0x2f708));import{Plugin as _0x3f3c7d}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5dc8fd}from'./modelelementtracker.js';export class FootnotesTracker extends _0x3f3c7d{[_0x28ff21(0xca)]=[];[_0x28ff21(0xbc)]=null;[_0x28ff21(0xcb)]=null;[_0x28ff21(0xc4)];[_0x28ff21(0xed)];[_0x28ff21(0xf1)];static get[_0x28ff21(0xc9)](){const _0x372dfd=_0x28ff21;return _0x372dfd(0xd5);}static get[_0x28ff21(0xa1)](){return!0x0;}static get[_0x28ff21(0xbf)](){return!0x0;}constructor(_0x37c519){const _0x3c4a0f=_0x28ff21;super(_0x37c519),this[_0x3c4a0f(0xc4)]=new _0x5dc8fd(this[_0x3c4a0f(0xd1)][_0x3c4a0f(0xbe)],{'elementName':_0x3c4a0f(0xaf),'getElementKey':()=>_0x3c4a0f(0xa7)}),this[_0x3c4a0f(0xed)]=new _0x5dc8fd(this[_0x3c4a0f(0xd1)][_0x3c4a0f(0xbe)],{'elementName':_0x3c4a0f(0xe5),'getElementKey':_0x29ba16=>_0x29ba16[_0x3c4a0f(0xd6)](_0x3c4a0f(0xf2))}),this[_0x3c4a0f(0xf1)]=new _0x5dc8fd(this[_0x3c4a0f(0xd1)][_0x3c4a0f(0xbe)],{'elementName':_0x3c4a0f(0xb0),'getElementKey':_0x2b9415=>_0x2b9415[_0x3c4a0f(0xd6)](_0x3c4a0f(0xf2))});}[_0x28ff21(0xe0)](){const _0x1a3da2=_0x28ff21,{editor:_0x50bde1}=this,{model:_0xf34a9a,data:_0x1b4401}=_0x50bde1;_0xf34a9a[_0x1a3da2(0xb9)][_0x1a3da2(0xb5)](_0x5f1ba3=>{const _0x2962c8=_0x1a3da2,_0x2a773f=_0xf34a9a[_0x2962c8(0xb9)][_0x2962c8(0xf3)][_0x2962c8(0xb7)]();let _0x4a834a=!0x1;return this[_0x2962c8(0x93)](_0x5f1ba3,_0x2a773f)&&(_0x4a834a=!0x0),this[_0x2962c8(0xea)](_0x5f1ba3,_0x2a773f)&&(_0x4a834a=!0x0),this[_0x2962c8(0xdf)](_0x5f1ba3,_0x2a773f)&&(_0x4a834a=!0x0),this[_0x2962c8(0xb2)](_0x5f1ba3)&&(_0x4a834a=!0x0),this[_0x2962c8(0x90)](_0x5f1ba3)&&(_0x4a834a=!0x0),this[_0x2962c8(0xcd)](_0x5f1ba3)&&(_0x4a834a=!0x0),_0x4a834a;}),this[_0x1a3da2(0xae)](_0xf34a9a[_0x1a3da2(0xb9)],_0x1a3da2(0x9e),()=>{const _0x1e7978=_0x1a3da2;_0xf34a9a[_0x1e7978(0xe3)]({'isUndoable':!0x1},_0x38f116=>{const _0x3c43d0=_0x1e7978;this[_0x3c43d0(0xf6)](_0x38f116);});},{'priority':_0x1a3da2(0x9f)}),this[_0x1a3da2(0xae)](_0x1b4401,_0x1a3da2(0xe4),()=>{const _0x8d0889=_0x1a3da2;this[_0x8d0889(0xca)]=[],this[_0x8d0889(0xc4)][_0x8d0889(0xce)](),this[_0x8d0889(0xed)][_0x8d0889(0xce)](),this[_0x8d0889(0xf1)][_0x8d0889(0xce)]();},{'priority':_0x1a3da2(0xbd)});}[_0x28ff21(0xe1)](){const _0x217a97=_0x28ff21;return this[_0x217a97(0xbc)];}[_0x28ff21(0xa9)](_0x276083){const _0xa5055b=_0x28ff21;return this[_0xa5055b(0xca)][_0xa5055b(0xa6)](_0x2e2b49=>_0x2e2b49['id']===_0x276083)||null;}[_0x28ff21(0xcc)](){const _0x3a9355=_0x28ff21;return Array[_0x3a9355(0xc3)](this[_0x3a9355(0xca)]);}[_0x28ff21(0xf7)](){const _0x325ea7=_0x28ff21;return this[_0x325ea7(0xcb)];}[_0x28ff21(0x92)](_0x480b83){const _0x293e97=_0x28ff21;this[_0x293e97(0xcb)]=_0x480b83;}[_0x28ff21(0xcf)](_0x67564,_0x161f31=0x0){const _0x840cf6=_0x28ff21;let _0x58abbb=!0x1;for(let _0xc98d0e=_0x161f31;_0xc98d0e<this[_0x840cf6(0xca)][_0x840cf6(0x9a)];_0xc98d0e++)this[_0x840cf6(0xc6)](_0x67564,_0xc98d0e)&&(_0x58abbb=!0x0);return _0x58abbb;}[_0x28ff21(0xc5)](_0x1a5ec0,_0x98765b){const _0x41df72=_0x28ff21,_0x4ed274=_0x1a5ec0[_0x41df72(0xf0)](_0x41df72(0xaf),{});return _0x1a5ec0[_0x41df72(0xd3)](_0x4ed274,_0x98765b),this[_0x41df72(0xbc)]=_0x4ed274,_0x4ed274;}[_0x28ff21(0xf6)](_0x48b699){const _0x18fe52=_0x28ff21;if(!this[_0x18fe52(0xca)][_0x18fe52(0x9a)]||this[_0x18fe52(0xbc)])return;const _0x147fda=this[_0x18fe52(0xca)][0x0][_0x18fe52(0x98)][_0x18fe52(0xe7)],_0x8427b=this[_0x18fe52(0xc5)](_0x48b699,_0x147fda);for(const _0x4fcbe3 of this[_0x18fe52(0xca)])_0x4fcbe3[_0x18fe52(0xb4)][_0x18fe52(0x96)]||_0x48b699[_0x18fe52(0xd8)](_0x4fcbe3[_0x18fe52(0xb4)],_0x8427b,_0x18fe52(0xb8));this[_0x18fe52(0xcf)](_0x48b699);}[_0x28ff21(0x93)](_0x4bcda0,_0x138deb){const _0x2e1230=_0x28ff21;let _0x5344c6=!0x1;const {inserted:_0x2df622,removed:_0x256b20,moved:_0xd36007}=this[_0x2e1230(0xc4)][_0x2e1230(0xb7)](_0x138deb);if(_0xd36007[_0x2e1230(0x9a)]&&(this[_0x2e1230(0xbc)]=_0xd36007[0x0]),_0x2df622[_0x2e1230(0x9a)]){if(_0x2df622[_0x2e1230(0x9a)]>0x1||this[_0x2e1230(0xbc)]&&_0x2df622[_0x2e1230(0xd2)](_0x433f80=>_0x433f80!==this[_0x2e1230(0xbc)])){const _0x9476ff=_0x4bcda0[_0x2e1230(0xf0)](_0x2e1230(0xaf),{}),_0x417e8d=[];this[_0x2e1230(0xbc)]&&_0x417e8d[_0x2e1230(0xdd)](this[_0x2e1230(0xbc)]),_0x417e8d[_0x2e1230(0xdd)](..._0x2df622),_0x4bcda0[_0x2e1230(0xd8)](_0x9476ff,_0x417e8d[0x0],_0x2e1230(0x95));for(const _0x5f0495 of _0x417e8d)_0x4bcda0[_0x2e1230(0xb1)](_0x4bcda0[_0x2e1230(0xde)](_0x5f0495),_0x4bcda0[_0x2e1230(0xf5)](_0x9476ff,_0x2e1230(0xb8))),_0x4bcda0[_0x2e1230(0xd9)](_0x5f0495);this[_0x2e1230(0xbc)]=_0x9476ff,this[_0x2e1230(0xcf)](_0x4bcda0),_0x5344c6=!0x0;}else this[_0x2e1230(0xbc)]=_0x2df622[0x0];}if(_0x256b20[_0x2e1230(0x9a)]&&_0x2e1230(0xdc)===this[_0x2e1230(0xbc)]?.[_0x2e1230(0xe7)][_0x2e1230(0xd4)]){for(const _0x134c19 of this[_0x2e1230(0xca)])_0x4bcda0[_0x2e1230(0xd9)](_0x134c19[_0x2e1230(0x98)]),_0x5344c6=!0x0;this[_0x2e1230(0xca)]=[],this[_0x2e1230(0xbc)]=null;}return _0x5344c6;}[_0x28ff21(0xea)](_0x4cc1cb,_0xa14422){const _0x5c45b5=_0x28ff21;let _0x2af03c=!0x1;const _0x1cff08=this[_0x5c45b5(0xd1)][_0x5c45b5(0xbb)][_0x5c45b5(0x99)](_0x5c45b5(0xa2)),{inserted:_0x118428,moved:_0x23a890}=this[_0x5c45b5(0xf1)][_0x5c45b5(0xb7)](_0xa14422);for(const _0x1d382f of[..._0x23a890,..._0x118428]){const _0x4e9dce=_0x1d382f[_0x5c45b5(0xd6)](_0x5c45b5(0xf2)),_0x2a5b64=this[_0x5c45b5(0xa9)](_0x4e9dce);_0x2a5b64&&(_0x2a5b64[_0x5c45b5(0xb4)]=_0x1d382f),_(_0x4cc1cb,_0x1cff08,_0x1d382f)&&(_0x2af03c=!0x0);}return _0x2af03c;}[_0x28ff21(0xdf)](_0x4acf36,_0x5dd3ad){const _0x2dd28b=_0x28ff21;let _0x603b65=!0x1;const {removed:_0x2fe55e,inserted:_0x24e046,moved:_0x1c17c2}=this[_0x2dd28b(0xed)][_0x2dd28b(0xb7)](_0x5dd3ad);for(const _0x548394 of _0x2fe55e)this[_0x2dd28b(0xef)](_0x4acf36,_0x548394)&&(_0x603b65=!0x0);for(const _0x6d32a of _0x24e046)this[_0x2dd28b(0xa8)](_0x4acf36,_0x6d32a)&&(_0x603b65=!0x0);for(const _0x5bcd8a of _0x1c17c2)this[_0x2dd28b(0xee)](_0x4acf36,_0x5bcd8a)&&(_0x603b65=!0x0);return _0x603b65;}[_0x28ff21(0x90)](_0x46f6ef){const _0x1cd220=_0x28ff21;if(!this[_0x1cd220(0xbc)])return!0x1;let _0x2ee8a3=!0x1;if(this[_0x1cd220(0xbc)][_0x1cd220(0x94)]!==this[_0x1cd220(0xca)][_0x1cd220(0x9a)]){const _0x36f52a=[];for(const _0x1f0a69 of this[_0x1cd220(0xbc)][_0x1cd220(0xab)]()){const _0x4f1291=_0x1f0a69[_0x1cd220(0xd6)](_0x1cd220(0xf2));this[_0x1cd220(0xa9)](_0x4f1291)||(_0x36f52a[_0x1cd220(0xda)](_0x1f0a69),_0x2ee8a3=!0x0);}for(const _0x3d313d of _0x36f52a)_0x46f6ef[_0x1cd220(0xd9)](_0x3d313d);}const _0x380acd=new Set(),_0x28f6ea=[];for(const _0x52eb4b of this[_0x1cd220(0xbc)][_0x1cd220(0xab)]()){const _0x361185=_0x52eb4b[_0x1cd220(0xd6)](_0x1cd220(0xf2));_0x380acd[_0x1cd220(0xa4)](_0x361185)?(_0x28f6ea[_0x1cd220(0xda)](_0x52eb4b),_0x2ee8a3=!0x0):_0x380acd[_0x1cd220(0xdb)](_0x361185);}for(const _0x27d983 of _0x28f6ea)_0x46f6ef[_0x1cd220(0xd9)](_0x27d983);return this[_0x1cd220(0xbc)][_0x1cd220(0x94)]||(_0x46f6ef[_0x1cd220(0xd9)](this[_0x1cd220(0xbc)]),this[_0x1cd220(0xbc)]=null,_0x2ee8a3=!0x0),_0x2ee8a3;}[_0x28ff21(0xa8)](_0x2545a3,_0x50fecc){const _0xd0ca8d=_0x28ff21;if(this[_0xd0ca8d(0xca)][_0xd0ca8d(0xa6)](_0x3cf561=>_0x3cf561[_0xd0ca8d(0x98)]===_0x50fecc))return!0x1;let _0x158d58=!0x1;const _0xd9c1a7=_0x50fecc[_0xd0ca8d(0xd6)](_0xd0ca8d(0xf2)),_0x28a7a=this[_0xd0ca8d(0xca)][_0xd0ca8d(0x97)](_0x134e6f=>_0x134e6f['id']===_0xd9c1a7);-0x1!==_0x28a7a&&(_0x2545a3[_0xd0ca8d(0xd9)](this[_0xd0ca8d(0xca)][_0x28a7a][_0xd0ca8d(0x98)]),this[_0xd0ca8d(0xca)][_0xd0ca8d(0x91)](_0x28a7a,0x1),_0x158d58=!0x0);let _0xeccb33=this[_0xd0ca8d(0xbc)]?function(_0x32629a,_0x495580){const _0x45c8a1=_0xd0ca8d;for(const _0x27ecbc of _0x32629a[_0x45c8a1(0xab)]())if(_0x27ecbc[_0x45c8a1(0xd6)](_0x45c8a1(0xf2))===_0x495580)return _0x27ecbc;return null;}(this[_0xd0ca8d(0xbc)],_0xd9c1a7):null;_0xeccb33||(_0xeccb33=_0x2545a3[_0xd0ca8d(0xf0)](_0xd0ca8d(0xb0),{'footnoteId':_0xd9c1a7}),this[_0xd0ca8d(0xbc)]&&(_0x2545a3[_0xd0ca8d(0xd8)](_0xeccb33,this[_0xd0ca8d(0xbc)],_0xd0ca8d(0xb8)),_0x158d58=!0x0));const _0x56d00b={'id':_0xd9c1a7,'reference':_0x50fecc,'definition':_0xeccb33},_0xdca657=I(this[_0xd0ca8d(0xd1)][_0xd0ca8d(0xbe)],this[_0xd0ca8d(0xca)],_0x50fecc);this[_0xd0ca8d(0xca)][_0xd0ca8d(0x91)](_0xdca657,0x0,_0x56d00b);let _0x19a0ce=_0xdca657;return-0x1!==_0x28a7a&&(_0x19a0ce=Math[_0xd0ca8d(0xc2)](_0xdca657,_0x28a7a)),this[_0xd0ca8d(0xcf)](_0x2545a3,_0x19a0ce)&&(_0x158d58=!0x0),_0x158d58;}[_0x28ff21(0xef)](_0x3c2f59,_0x1e143c){const _0x34e855=_0x28ff21,_0x9362d0=this[_0x34e855(0xca)][_0x34e855(0x97)](_0x38a925=>_0x38a925['id']===_0x1e143c);if(-0x1===_0x9362d0)return!0x1;let _0xba66ed=!0x1;const _0x151784=this[_0x34e855(0xca)][_0x9362d0];return _0x34e855(0xdc)!==_0x151784[_0x34e855(0xb4)][_0x34e855(0xe7)][_0x34e855(0xd4)]&&(_0x3c2f59[_0x34e855(0xd9)](_0x151784[_0x34e855(0xb4)]),_0xba66ed=!0x0),this[_0x34e855(0xca)][_0x34e855(0x91)](_0x9362d0,0x1),this[_0x34e855(0xcf)](_0x3c2f59,_0x9362d0)&&(_0xba66ed=!0x0),_0xba66ed;}[_0x28ff21(0xee)](_0x1a1bdb,_0x5472f3){const _0x5dc373=_0x28ff21,_0x8055ff=_0x5472f3[_0x5dc373(0xd6)](_0x5dc373(0xf2)),_0x49e416=this[_0x5dc373(0xca)][_0x5dc373(0x97)](_0x490462=>_0x490462['id']===_0x8055ff),_0x48ff49=this[_0x5dc373(0xca)][_0x49e416];let _0x408dc9=!0x1;_0x48ff49[_0x5dc373(0x98)]=_0x5472f3,this[_0x5dc373(0xca)][_0x5dc373(0x91)](_0x49e416,0x1);const _0x1eb99a=I(this[_0x5dc373(0xd1)][_0x5dc373(0xbe)],this[_0x5dc373(0xca)],_0x5472f3);return this[_0x5dc373(0xca)][_0x5dc373(0x91)](_0x1eb99a,0x0,_0x48ff49),this[_0x5dc373(0xcf)](_0x1a1bdb,Math[_0x5dc373(0xc2)](_0x49e416,_0x1eb99a))&&(_0x408dc9=!0x0),_0x408dc9;}[_0x28ff21(0xc6)](_0x584262,_0x77c424){const _0x5a8c43=_0x28ff21;if(!this[_0x5a8c43(0xbc)])return!0x1;const _0x288ddf=this[_0x5a8c43(0xca)][_0x77c424];let _0x2b66be;return _0x2b66be=this[_0x5a8c43(0xcb)]?this[_0x5a8c43(0xcb)]({'footnote':_0x288ddf,'container':this[_0x5a8c43(0xbc)],'digits':String(this[_0x5a8c43(0xca)][_0x5a8c43(0x9a)])[_0x5a8c43(0x9a)],'value':_0x77c424+0x1}):String(_0x77c424+0x1),_0x288ddf[_0x5a8c43(0x98)][_0x5a8c43(0xd6)](_0x5a8c43(0xe8))!=_0x2b66be&&(_0x584262[_0x5a8c43(0xaa)](_0x5a8c43(0xe8),_0x2b66be,_0x288ddf[_0x5a8c43(0x98)]),!0x0);}[_0x28ff21(0xcd)](_0x225da0){const _0x5f5af3=_0x28ff21;if(!this[_0x5f5af3(0xbc)]||this[_0x5f5af3(0xca)][_0x5f5af3(0x9a)]<0x2)return!0x1;if(function(_0x3dbe36,_0x573203){const _0x2b9a23=_0x5f5af3;if(_0x3dbe36[_0x2b9a23(0x9a)]!==_0x573203[_0x2b9a23(0x9a)])return!0x1;for(let _0x5745c2=0x0;_0x5745c2<_0x3dbe36[_0x2b9a23(0x9a)];_0x5745c2++)if(_0x3dbe36[_0x5745c2]!==_0x573203[_0x5745c2])return!0x1;return!0x0;}(this[_0x5f5af3(0xca)][_0x5f5af3(0xa0)](_0x203f23=>_0x203f23['id']),Array[_0x5f5af3(0xc3)](this[_0x5f5af3(0xbc)][_0x5f5af3(0xab)]())[_0x5f5af3(0xa0)](_0x5a0fb8=>_0x5a0fb8[_0x5f5af3(0xd6)](_0x5f5af3(0xf2)))))return!0x1;let _0x3fcfbf=!0x1;for(let _0x340bf8=0x0;_0x340bf8<this[_0x5f5af3(0xca)][_0x5f5af3(0x9a)];_0x340bf8++){const _0x1e2173=this[_0x5f5af3(0xca)][_0x340bf8],_0x292cf9=_0x225da0[_0x5f5af3(0xeb)](_0x1e2173[_0x5f5af3(0xb4)]),_0x3a369a=_0x225da0[_0x5f5af3(0xf5)](this[_0x5f5af3(0xbc)],_0x340bf8);_0x292cf9[_0x5f5af3(0xa5)](_0x3a369a)||(_0x225da0[_0x5f5af3(0xb1)](_0x225da0[_0x5f5af3(0xe9)](_0x1e2173[_0x5f5af3(0xb4)]),_0x3a369a),_0x3fcfbf=!0x0);}return _0x3fcfbf;}[_0x28ff21(0xb2)](_0xefc44c){const _0x5f0974=_0x28ff21;if(!this[_0x5f0974(0xca)][_0x5f0974(0x9a)])return!0x1;const {model:_0x551576}=this[_0x5f0974(0xd1)];let _0xdfd9db=!0x1;for(let _0x48357a=0x0;_0x48357a<this[_0x5f0974(0xca)][_0x5f0974(0x9a)]-0x1;_0x48357a++){const _0x1a54f2=this[_0x5f0974(0xca)][_0x48357a],_0xd90f4a=this[_0x5f0974(0xca)][_0x48357a+0x1],_0x4d29ea=_0x551576[_0x5f0974(0xeb)](_0x1a54f2[_0x5f0974(0x98)]),_0x5d04ad=_0x551576[_0x5f0974(0xeb)](_0xd90f4a[_0x5f0974(0x98)]);_0x5f0974(0xe2)===_0x4d29ea[_0x5f0974(0xb3)](_0x5d04ad)&&(this[_0x5f0974(0xee)](_0xefc44c,_0x1a54f2[_0x5f0974(0x98)]),_0x48357a=-0x1,_0xdfd9db=!0x0);}return _0xdfd9db;}}function _0x366b(_0x40a0c8,_0x2fd65b){const _0x38e92b=_0x38e9();return _0x366b=function(_0x366b94,_0xac4709){_0x366b94=_0x366b94-0x90;let _0x54e73b=_0x38e92b[_0x366b94];return _0x54e73b;},_0x366b(_0x40a0c8,_0x2fd65b);}function _0x38e9(){const _0x128b45=['createPositionBefore','33240tSMOMG','_footnoteRefsTracker','_handleMovedFootnoteReference','_handleRemoveFootnoteReferenceById','createElement','_footnoteDefsTracker','footnoteId','differ','353315jHoZAg','createPositionAt','_ensureFootnotesDefinitionsContainerExists','getFootnotesFormatter','_handleFootnotesDefinitionsObjectSync','splice','setFootnoteFormatter','_handleFootnotesDefinitionsObjectChanges','childCount','before','parent','findIndex','reference','get','length','214NiugWL','10BOeymQ','1722655OliCjf','change:data','low','map','isOfficialPlugin','footnotes.multiBlock','59808thasXU','has','isEqual','find','singleton','_handleInsertedFootnoteReference','getFootnote','setAttribute','getChildren','paragraph','8rbBgCB','listenTo','footnotesDefinitions','footnoteDefinition','move','_ensureFootnotesReferencesHaveProperOrder','compareWith','definition','registerPostFixer','10239rWWfYd','getChanges','end','document','27wlWhUE','config','_footnotesDefinitions','high','model','isPremiumPlugin','198461kkPUGk','126904aJwWne','min','from','_footnoteDefsContainerTracker','_insertEmptyFootnotesDefinitionsContainer','_updateFootnoteRefCounter','footnoteInlineContent','42lYYmRF','pluginName','_footnotes','_footnoteFormatter','getFootnotes','_sortFootnoteDefinitions','reset','_updateFootnotesCounters','getRootNames','editor','some','append','rootName','FootnotesTracker','getAttribute','1508xuCHey','insert','remove','unshift','add','$graveyard','push','createRangeIn','_handleFootnoteReferencesChanges','init','getFootnotesDefinitionsObjectElement','after','enqueueChange','set','footnoteRef','indexOf','root','footnoteCounter','createRangeOn','_handleFootnoteDefinitionsChanges'];_0x38e9=function(){return _0x128b45;};return _0x38e9();}function _(_0x593b89,_0x5da5b3,_0x3d8db4){const _0x12c163=_0x28ff21;if(_0x3d8db4[_0x12c163(0x94)])return!0x1;const _0x34d1c7=_0x5da5b3?_0x12c163(0xac):_0x12c163(0xc7);return _0x593b89[_0x12c163(0xd8)](_0x593b89[_0x12c163(0xf0)](_0x34d1c7),_0x3d8db4),!0x0;}function I(_0x480c1e,_0x178103,_0x4d77b0){const _0x450c01=_0x28ff21;if(0x0===_0x178103[_0x450c01(0x9a)])return 0x0;const _0x1328df=_0x480c1e[_0x450c01(0xeb)](_0x4d77b0);for(let _0x1c85b2=0x0;_0x1c85b2<_0x178103[_0x450c01(0x9a)];_0x1c85b2++){const _0x5de4ad=_0x178103[_0x1c85b2],_0x4c8790=_0x480c1e[_0x450c01(0xeb)](_0x5de4ad[_0x450c01(0x98)]);if(_0x450c01(0x95)===_0x1328df[_0x450c01(0xb3)](_0x4c8790))return _0x1c85b2;}const _0x371b7e=_0x4d77b0[_0x450c01(0xe7)];let _0x1345ec=-0x1;for(let _0x1ed828=_0x178103[_0x450c01(0x9a)]-0x1;_0x1ed828>=0x0;_0x1ed828--)if(_0x178103[_0x1ed828][_0x450c01(0x98)][_0x450c01(0xe7)]===_0x371b7e){_0x1345ec=_0x1ed828;break;}if(-0x1!==_0x1345ec)return _0x1345ec+0x1;const _0x482f75=_0x480c1e[_0x450c01(0xb9)][_0x450c01(0xd0)](),_0x344000=_0x482f75[_0x450c01(0xe6)](_0x371b7e[_0x450c01(0xd4)]),_0x9e857f=_0x482f75[_0x344000+0x1];if(_0x9e857f){for(let _0x38de16=0x0;_0x38de16<_0x178103[_0x450c01(0x9a)];_0x38de16++)if(_0x178103[_0x38de16][_0x450c01(0x98)][_0x450c01(0xe7)][_0x450c01(0xd4)]===_0x9e857f)return _0x38de16;}return _0x178103[_0x450c01(0x9a)];}
|
|
23
|
+
const _0x2c5c44=_0xe431;(function(_0x4b4167,_0x5e6fdc){const _0x2caca4=_0xe431,_0xa5ea59=_0x4b4167();while(!![]){try{const _0x543519=parseInt(_0x2caca4(0x243))/0x1*(parseInt(_0x2caca4(0x247))/0x2)+-parseInt(_0x2caca4(0x254))/0x3*(parseInt(_0x2caca4(0x229))/0x4)+parseInt(_0x2caca4(0x20f))/0x5+parseInt(_0x2caca4(0x23c))/0x6*(-parseInt(_0x2caca4(0x223))/0x7)+parseInt(_0x2caca4(0x220))/0x8+parseInt(_0x2caca4(0x21e))/0x9+-parseInt(_0x2caca4(0x23a))/0xa*(-parseInt(_0x2caca4(0x22a))/0xb);if(_0x543519===_0x5e6fdc)break;else _0xa5ea59['push'](_0xa5ea59['shift']());}catch(_0x3814c0){_0xa5ea59['push'](_0xa5ea59['shift']());}}}(_0x2f07,0x6d4b4));import{Plugin as _0x2a0192}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x87bba4}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2a0192{[_0x2c5c44(0x20a)]=[];[_0x2c5c44(0x24f)]=null;[_0x2c5c44(0x201)]=null;[_0x2c5c44(0x233)];[_0x2c5c44(0x22b)];[_0x2c5c44(0x24c)];static get[_0x2c5c44(0x218)](){const _0xaef489=_0x2c5c44;return _0xaef489(0x226);}static get[_0x2c5c44(0x203)](){return!0x0;}static get[_0x2c5c44(0x211)](){return!0x0;}constructor(_0xd9cd45){const _0x4a7130=_0x2c5c44;super(_0xd9cd45),this[_0x4a7130(0x233)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x200),'getElementKey':()=>_0x4a7130(0x206)}),this[_0x4a7130(0x22b)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x240),'getElementKey':_0x3b1862=>_0x3b1862[_0x4a7130(0x1f6)](_0x4a7130(0x236))}),this[_0x4a7130(0x24c)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x22c),'getElementKey':_0x2da968=>_0x2da968[_0x4a7130(0x1f6)](_0x4a7130(0x236))});}[_0x2c5c44(0x216)](){const _0x229e11=_0x2c5c44,{editor:_0xf991db}=this,{model:_0x241521,data:_0x5cc788}=_0xf991db;_0x241521[_0x229e11(0x209)][_0x229e11(0x244)](_0x403736=>{const _0x22b098=_0x229e11,_0x2c8277=_0x241521[_0x22b098(0x209)][_0x22b098(0x24b)][_0x22b098(0x252)]();let _0x408ec5=!0x1;return this[_0x22b098(0x246)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x239)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x250)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x210)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x1f2)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x224)](_0x403736)&&(_0x408ec5=!0x0),_0x408ec5;}),this[_0x229e11(0x1fa)](_0x241521[_0x229e11(0x209)],_0x229e11(0x22e),()=>{const _0x46313b=_0x229e11;_0x241521[_0x46313b(0x251)]({'isUndoable':!0x1},_0x449d43=>{const _0x27eab4=_0x46313b;this[_0x27eab4(0x234)](_0x449d43);});},{'priority':_0x229e11(0x24a)}),this[_0x229e11(0x1fa)](_0x5cc788,_0x229e11(0x245),()=>{const _0x570413=_0x229e11;this[_0x570413(0x20a)]=[],this[_0x570413(0x233)][_0x570413(0x21c)](),this[_0x570413(0x22b)][_0x570413(0x21c)](),this[_0x570413(0x24c)][_0x570413(0x21c)]();},{'priority':_0x229e11(0x213)});}[_0x2c5c44(0x221)](){const _0x278e00=_0x2c5c44;return this[_0x278e00(0x24f)];}[_0x2c5c44(0x1f9)](_0x749436){const _0x16d76f=_0x2c5c44;return this[_0x16d76f(0x20a)][_0x16d76f(0x202)](_0x4ce049=>_0x4ce049['id']===_0x749436)||null;}[_0x2c5c44(0x205)](){const _0x3a6221=_0x2c5c44;return Array[_0x3a6221(0x21f)](this[_0x3a6221(0x20a)]);}[_0x2c5c44(0x21a)](){const _0x1e38fd=_0x2c5c44;return this[_0x1e38fd(0x201)];}[_0x2c5c44(0x237)](_0x4b4221){const _0x1fba41=_0x2c5c44;this[_0x1fba41(0x201)]=_0x4b4221;}[_0x2c5c44(0x1fc)](_0x1a2f66,_0x1413e1=0x0){const _0x4ac969=_0x2c5c44;let _0x2408a0=!0x1;for(let _0x37749b=_0x1413e1;_0x37749b<this[_0x4ac969(0x20a)][_0x4ac969(0x217)];_0x37749b++)this[_0x4ac969(0x1fe)](_0x1a2f66,_0x37749b)&&(_0x2408a0=!0x0);return _0x2408a0;}[_0x2c5c44(0x20d)](_0x2ea287,_0x3ee368){const _0x2034dc=_0x2c5c44,_0x4764c6=_0x2ea287[_0x2034dc(0x21d)](_0x2034dc(0x200),{});return _0x2ea287[_0x2034dc(0x214)](_0x4764c6,_0x3ee368),this[_0x2034dc(0x24f)]=_0x4764c6,_0x4764c6;}[_0x2c5c44(0x234)](_0x508644){const _0x3d975b=_0x2c5c44;if(!this[_0x3d975b(0x20a)][_0x3d975b(0x217)]||this[_0x3d975b(0x24f)])return;const _0xb281ff=this[_0x3d975b(0x20a)][0x0][_0x3d975b(0x227)][_0x3d975b(0x1ff)],_0x16cbb6=this[_0x3d975b(0x20d)](_0x508644,_0xb281ff);for(const _0x5d1f6 of this[_0x3d975b(0x20a)])_0x5d1f6[_0x3d975b(0x20e)][_0x3d975b(0x1f0)]||_0x508644[_0x3d975b(0x1fd)](_0x5d1f6[_0x3d975b(0x20e)],_0x16cbb6,_0x3d975b(0x253));this[_0x3d975b(0x1fc)](_0x508644);}[_0x2c5c44(0x246)](_0x5527f7,_0x114279){const _0x1472b3=_0x2c5c44;let _0x46ed10=!0x1;const {inserted:_0x5639f4,removed:_0x1f522b,moved:_0x5bf7f9}=this[_0x1472b3(0x233)][_0x1472b3(0x252)](_0x114279);if(_0x5bf7f9[_0x1472b3(0x217)]&&(this[_0x1472b3(0x24f)]=_0x5bf7f9[0x0]),_0x5639f4[_0x1472b3(0x217)]){if(_0x5639f4[_0x1472b3(0x217)]>0x1||this[_0x1472b3(0x24f)]&&_0x5639f4[_0x1472b3(0x255)](_0xe78977=>_0xe78977!==this[_0x1472b3(0x24f)])){const _0x484b0e=_0x5527f7[_0x1472b3(0x21d)](_0x1472b3(0x200),{}),_0x33a825=[];this[_0x1472b3(0x24f)]&&_0x33a825[_0x1472b3(0x242)](this[_0x1472b3(0x24f)]),_0x33a825[_0x1472b3(0x242)](..._0x5639f4),_0x5527f7[_0x1472b3(0x1fd)](_0x484b0e,_0x33a825[0x0],_0x1472b3(0x235));for(const _0x40773f of _0x33a825)_0x5527f7[_0x1472b3(0x232)](_0x5527f7[_0x1472b3(0x1f8)](_0x40773f),_0x5527f7[_0x1472b3(0x23e)](_0x484b0e,_0x1472b3(0x253))),_0x5527f7[_0x1472b3(0x21b)](_0x40773f);this[_0x1472b3(0x24f)]=_0x484b0e,this[_0x1472b3(0x1fc)](_0x5527f7),_0x46ed10=!0x0;}else this[_0x1472b3(0x24f)]=_0x5639f4[0x0];}if(_0x1f522b[_0x1472b3(0x217)]&&_0x1472b3(0x1f5)===this[_0x1472b3(0x24f)]?.[_0x1472b3(0x1ff)][_0x1472b3(0x23d)]){for(const _0x48f383 of this[_0x1472b3(0x20a)])_0x5527f7[_0x1472b3(0x21b)](_0x48f383[_0x1472b3(0x227)]),_0x46ed10=!0x0;this[_0x1472b3(0x20a)]=[],this[_0x1472b3(0x24f)]=null;}return _0x46ed10;}[_0x2c5c44(0x239)](_0x2912b7,_0x24e039){const _0x1a7d48=_0x2c5c44;let _0x36c6c2=!0x1;const _0x53823c=this[_0x1a7d48(0x23f)][_0x1a7d48(0x204)][_0x1a7d48(0x230)](_0x1a7d48(0x24e)),{inserted:_0x488eff,moved:_0xc9ca6f}=this[_0x1a7d48(0x24c)][_0x1a7d48(0x252)](_0x24e039);for(const _0x4b745e of[..._0xc9ca6f,..._0x488eff]){const _0x3097b1=_0x4b745e[_0x1a7d48(0x1f6)](_0x1a7d48(0x236)),_0x517580=this[_0x1a7d48(0x1f9)](_0x3097b1);_0x517580&&(_0x517580[_0x1a7d48(0x20e)]=_0x4b745e),_(_0x2912b7,_0x53823c,_0x4b745e)&&(_0x36c6c2=!0x0);}return _0x36c6c2;}[_0x2c5c44(0x250)](_0x428a95,_0x4e1378){const _0x350333=_0x2c5c44;let _0x1753f3=!0x1;const {removed:_0x173682,inserted:_0x532dc8,moved:_0x46e567}=this[_0x350333(0x22b)][_0x350333(0x252)](_0x4e1378);for(const _0x447a00 of _0x173682)this[_0x350333(0x212)](_0x428a95,_0x447a00)&&(_0x1753f3=!0x0);for(const _0x358ee3 of _0x532dc8)this[_0x350333(0x231)](_0x428a95,_0x358ee3)&&(_0x1753f3=!0x0);for(const _0x4f56ba of _0x46e567)this[_0x350333(0x1fb)](_0x428a95,_0x4f56ba)&&(_0x1753f3=!0x0);return _0x1753f3;}[_0x2c5c44(0x1f2)](_0x1d9d04){const _0x1da206=_0x2c5c44;if(!this[_0x1da206(0x24f)])return!0x1;let _0x1b62d2=!0x1;if(this[_0x1da206(0x24f)][_0x1da206(0x207)]!==this[_0x1da206(0x20a)][_0x1da206(0x217)]){const _0xe332ca=[];for(const _0x5b74c8 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x3fbbe2=_0x5b74c8[_0x1da206(0x1f6)](_0x1da206(0x236));this[_0x1da206(0x1f9)](_0x3fbbe2)||(_0xe332ca[_0x1da206(0x1f1)](_0x5b74c8),_0x1b62d2=!0x0);}for(const _0x126c67 of _0xe332ca)_0x1d9d04[_0x1da206(0x21b)](_0x126c67);}const _0x44691f=new Set(),_0x567820=[];for(const _0x234cc1 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x148025=_0x234cc1[_0x1da206(0x1f6)](_0x1da206(0x236));_0x44691f[_0x1da206(0x228)](_0x148025)?(_0x567820[_0x1da206(0x1f1)](_0x234cc1),_0x1b62d2=!0x0):_0x44691f[_0x1da206(0x22d)](_0x148025);}for(const _0x5174e6 of _0x567820)_0x1d9d04[_0x1da206(0x21b)](_0x5174e6);return this[_0x1da206(0x24f)][_0x1da206(0x207)]||(_0x1d9d04[_0x1da206(0x21b)](this[_0x1da206(0x24f)]),this[_0x1da206(0x24f)]=null,_0x1b62d2=!0x0),_0x1b62d2;}[_0x2c5c44(0x231)](_0x3708b7,_0x32b8e8){const _0x1ca41f=_0x2c5c44;if(this[_0x1ca41f(0x20a)][_0x1ca41f(0x202)](_0x417cf2=>_0x417cf2[_0x1ca41f(0x227)]===_0x32b8e8))return!0x1;let _0x4ddc1f=!0x1;const _0x127e74=_0x32b8e8[_0x1ca41f(0x1f6)](_0x1ca41f(0x236)),_0x21acd5=this[_0x1ca41f(0x20a)][_0x1ca41f(0x249)](_0x5613d5=>_0x5613d5['id']===_0x127e74);-0x1!==_0x21acd5&&(_0x3708b7[_0x1ca41f(0x21b)](this[_0x1ca41f(0x20a)][_0x21acd5][_0x1ca41f(0x227)]),this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x21acd5,0x1),_0x4ddc1f=!0x0);let _0x2c49b7=this[_0x1ca41f(0x24f)]?function(_0x1b1981,_0x487f97){const _0x5748bb=_0x1ca41f;for(const _0x3f0723 of _0x1b1981[_0x5748bb(0x225)]())if(_0x3f0723[_0x5748bb(0x1f6)](_0x5748bb(0x236))===_0x487f97)return _0x3f0723;return null;}(this[_0x1ca41f(0x24f)],_0x127e74):null;_0x2c49b7||(_0x2c49b7=_0x3708b7[_0x1ca41f(0x21d)](_0x1ca41f(0x22c),{'footnoteId':_0x127e74}),this[_0x1ca41f(0x24f)]&&(_0x3708b7[_0x1ca41f(0x1fd)](_0x2c49b7,this[_0x1ca41f(0x24f)],_0x1ca41f(0x253)),_0x4ddc1f=!0x0));const _0x137b18={'id':_0x127e74,'reference':_0x32b8e8,'definition':_0x2c49b7},_0x17a5bc=I(this[_0x1ca41f(0x23f)][_0x1ca41f(0x238)],this[_0x1ca41f(0x20a)],_0x32b8e8);this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x17a5bc,0x0,_0x137b18);let _0x390901=_0x17a5bc;return-0x1!==_0x21acd5&&(_0x390901=Math[_0x1ca41f(0x1f3)](_0x17a5bc,_0x21acd5)),this[_0x1ca41f(0x1fc)](_0x3708b7,_0x390901)&&(_0x4ddc1f=!0x0),_0x4ddc1f;}[_0x2c5c44(0x212)](_0x391c14,_0x5cb452){const _0x85240f=_0x2c5c44,_0x4219f3=this[_0x85240f(0x20a)][_0x85240f(0x249)](_0x1b7e88=>_0x1b7e88['id']===_0x5cb452);if(-0x1===_0x4219f3)return!0x1;let _0x145741=!0x1;const _0x357e8b=this[_0x85240f(0x20a)][_0x4219f3];return _0x85240f(0x1f5)!==_0x357e8b[_0x85240f(0x20e)][_0x85240f(0x1ff)][_0x85240f(0x23d)]&&(_0x391c14[_0x85240f(0x21b)](_0x357e8b[_0x85240f(0x20e)]),_0x145741=!0x0),this[_0x85240f(0x20a)][_0x85240f(0x222)](_0x4219f3,0x1),this[_0x85240f(0x1fc)](_0x391c14,_0x4219f3)&&(_0x145741=!0x0),_0x145741;}[_0x2c5c44(0x1fb)](_0x403130,_0x4e4d07){const _0x522171=_0x2c5c44,_0x1e240d=_0x4e4d07[_0x522171(0x1f6)](_0x522171(0x236)),_0x1fee47=this[_0x522171(0x20a)][_0x522171(0x249)](_0x4efdaf=>_0x4efdaf['id']===_0x1e240d),_0x4cb921=this[_0x522171(0x20a)][_0x1fee47];let _0x5d696e=!0x1;_0x4cb921[_0x522171(0x227)]=_0x4e4d07,this[_0x522171(0x20a)][_0x522171(0x222)](_0x1fee47,0x1);const _0x1c5aea=I(this[_0x522171(0x23f)][_0x522171(0x238)],this[_0x522171(0x20a)],_0x4e4d07);return this[_0x522171(0x20a)][_0x522171(0x222)](_0x1c5aea,0x0,_0x4cb921),this[_0x522171(0x1fc)](_0x403130,Math[_0x522171(0x1f3)](_0x1fee47,_0x1c5aea))&&(_0x5d696e=!0x0),_0x5d696e;}[_0x2c5c44(0x1fe)](_0x2d2cb5,_0x570c5d){const _0x271f57=_0x2c5c44;if(!this[_0x271f57(0x24f)])return!0x1;const _0xf254df=this[_0x271f57(0x20a)][_0x570c5d];let _0x2850fb;return _0x2850fb=this[_0x271f57(0x201)]?this[_0x271f57(0x201)]({'footnote':_0xf254df,'container':this[_0x271f57(0x24f)],'digits':String(this[_0x271f57(0x20a)][_0x271f57(0x217)])[_0x271f57(0x217)],'value':_0x570c5d+0x1}):String(_0x570c5d+0x1),_0xf254df[_0x271f57(0x227)][_0x271f57(0x1f6)](_0x271f57(0x219))!=_0x2850fb&&(_0x2d2cb5[_0x271f57(0x248)](_0x271f57(0x219),_0x2850fb,_0xf254df[_0x271f57(0x227)]),!0x0);}[_0x2c5c44(0x224)](_0xeab594){const _0x4a8e9e=_0x2c5c44;if(!this[_0x4a8e9e(0x24f)]||this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)]<0x2)return!0x1;if(function(_0x1d828d,_0x5f1317){const _0x114743=_0x4a8e9e;if(_0x1d828d[_0x114743(0x217)]!==_0x5f1317[_0x114743(0x217)])return!0x1;for(let _0x172f7f=0x0;_0x172f7f<_0x1d828d[_0x114743(0x217)];_0x172f7f++)if(_0x1d828d[_0x172f7f]!==_0x5f1317[_0x172f7f])return!0x1;return!0x0;}(this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x22f)](_0x48de35=>_0x48de35['id']),Array[_0x4a8e9e(0x21f)](this[_0x4a8e9e(0x24f)][_0x4a8e9e(0x225)]())[_0x4a8e9e(0x22f)](_0x463f1a=>_0x463f1a[_0x4a8e9e(0x1f6)](_0x4a8e9e(0x236)))))return!0x1;let _0x268ccb=!0x1;for(let _0x4326d7=0x0;_0x4326d7<this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)];_0x4326d7++){const _0x10f154=this[_0x4a8e9e(0x20a)][_0x4326d7],_0x395abb=_0xeab594[_0x4a8e9e(0x24d)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e=_0xeab594[_0x4a8e9e(0x23e)](this[_0x4a8e9e(0x24f)],_0x4326d7);_0x395abb[_0x4a8e9e(0x1f7)](_0x66156e)||(_0xeab594[_0x4a8e9e(0x232)](_0xeab594[_0x4a8e9e(0x20b)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e),_0x268ccb=!0x0);}return _0x268ccb;}[_0x2c5c44(0x210)](_0x201180){const _0x27a7bb=_0x2c5c44;if(!this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)])return!0x1;const {model:_0x3823de}=this[_0x27a7bb(0x23f)];let _0x527be1=!0x1;for(let _0x19558b=0x0;_0x19558b<this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)]-0x1;_0x19558b++){const _0x291957=this[_0x27a7bb(0x20a)][_0x19558b],_0x284e31=this[_0x27a7bb(0x20a)][_0x19558b+0x1],_0x32b0bf=_0x3823de[_0x27a7bb(0x24d)](_0x291957[_0x27a7bb(0x227)]),_0x529517=_0x3823de[_0x27a7bb(0x24d)](_0x284e31[_0x27a7bb(0x227)]);_0x27a7bb(0x241)===_0x32b0bf[_0x27a7bb(0x215)](_0x529517)&&(this[_0x27a7bb(0x1fb)](_0x201180,_0x291957[_0x27a7bb(0x227)]),_0x19558b=-0x1,_0x527be1=!0x0);}return _0x527be1;}}function _0xe431(_0x50182a,_0x2328f4){const _0x2f07e1=_0x2f07();return _0xe431=function(_0xe43132,_0x310c59){_0xe43132=_0xe43132-0x1f0;let _0x13ea2e=_0x2f07e1[_0xe43132];return _0x13ea2e;},_0xe431(_0x50182a,_0x2328f4);}function _(_0x355ba6,_0x5d3d8f,_0x1f89bf){const _0x13b100=_0x2c5c44;if(_0x1f89bf[_0x13b100(0x207)])return!0x1;const _0x5efcfc=_0x5d3d8f?_0x13b100(0x23b):_0x13b100(0x208);return _0x355ba6[_0x13b100(0x1fd)](_0x355ba6[_0x13b100(0x21d)](_0x5efcfc),_0x1f89bf),!0x0;}function _0x2f07(){const _0xeb9dbf=['_footnoteRefsTracker','footnoteDefinition','add','change:data','map','get','_handleInsertedFootnoteReference','move','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','before','footnoteId','setFootnoteFormatter','model','_handleFootnoteDefinitionsChanges','120vNUqrf','paragraph','1657938OXQngP','rootName','createPositionAt','editor','footnoteRef','after','push','191vrJAUB','registerPostFixer','set','_handleFootnotesDefinitionsObjectChanges','1362yAlwWr','setAttribute','findIndex','low','differ','_footnoteDefsTracker','createPositionBefore','footnotes.multiBlock','_footnotesDefinitions','_handleFootnoteReferencesChanges','enqueueChange','getChanges','end','3fHcAst','some','parent','unshift','_handleFootnotesDefinitionsObjectSync','min','indexOf','$graveyard','getAttribute','isEqual','createRangeIn','getFootnote','listenTo','_handleMovedFootnoteReference','_updateFootnotesCounters','insert','_updateFootnoteRefCounter','root','footnotesDefinitions','_footnoteFormatter','find','isOfficialPlugin','config','getFootnotes','singleton','childCount','footnoteInlineContent','document','_footnotes','createRangeOn','getRootNames','_insertEmptyFootnotesDefinitionsContainer','definition','2365710LOlBey','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_handleRemoveFootnoteReferenceById','high','append','compareWith','init','length','pluginName','footnoteCounter','getFootnotesFormatter','remove','reset','createElement','3064473LlgkXB','from','377904OlvGYb','getFootnotesDefinitionsObjectElement','splice','7XlrHrw','_sortFootnoteDefinitions','getChildren','FootnotesTracker','reference','has','3087236oDIDAT','462781dUYecC'];_0x2f07=function(){return _0xeb9dbf;};return _0x2f07();}function I(_0x201f74,_0x1099f3,_0x252bb1){const _0x3339e1=_0x2c5c44;if(0x0===_0x1099f3[_0x3339e1(0x217)])return 0x0;const _0x15a2a9=_0x201f74[_0x3339e1(0x24d)](_0x252bb1);for(let _0xa47f3a=0x0;_0xa47f3a<_0x1099f3[_0x3339e1(0x217)];_0xa47f3a++){const _0x5aad15=_0x1099f3[_0xa47f3a],_0x2452f3=_0x201f74[_0x3339e1(0x24d)](_0x5aad15[_0x3339e1(0x227)]);if(_0x3339e1(0x235)===_0x15a2a9[_0x3339e1(0x215)](_0x2452f3))return _0xa47f3a;}const _0x362621=_0x252bb1[_0x3339e1(0x1ff)];let _0x59ca83=-0x1;for(let _0x5d34d6=_0x1099f3[_0x3339e1(0x217)]-0x1;_0x5d34d6>=0x0;_0x5d34d6--)if(_0x1099f3[_0x5d34d6][_0x3339e1(0x227)][_0x3339e1(0x1ff)]===_0x362621){_0x59ca83=_0x5d34d6;break;}if(-0x1!==_0x59ca83)return _0x59ca83+0x1;const _0x3b8fd0=_0x201f74[_0x3339e1(0x209)][_0x3339e1(0x20c)](),_0x238a98=_0x3b8fd0[_0x3339e1(0x1f4)](_0x362621[_0x3339e1(0x23d)]),_0x32c9d3=_0x3b8fd0[_0x238a98+0x1];if(_0x32c9d3){for(let _0x495e34=0x0;_0x495e34<_0x1099f3[_0x3339e1(0x217)];_0x495e34++)if(_0x1099f3[_0x495e34][_0x3339e1(0x227)][_0x3339e1(0x1ff)][_0x3339e1(0x23d)]===_0x32c9d3)return _0x495e34;}return _0x1099f3[_0x3339e1(0x217)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x552799,MenuBarMenuListItemButtonView as _0x29b8a6}from'ckeditor5/src/ui.js';import{Plugin as _0x58f75f}from'ckeditor5/src/core.js';import{IconFootnote as _0x1e0b5a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x58f75f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x385317}=this,{componentFactory:_0x285f87}=_0x385317['ui'];_0x285f87['add']('insertFootnote',x(_0x385317,_0x552799)),_0x285f87['add']('menuBar:insertFootnote',x(_0x385317,_0x29b8a6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x313974=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c97a1;for(const _0x57c4d5 in _0x313974){const _0x7e7114=_0x57c4d5,_0x368a34=_0x313974[_0x7e7114];if('footnotesLicenseKeyValid'==_0x368a34||'footnotesLicenseKeyInvalid'==_0x368a34||'footnotesLicenseKeyExpired'==_0x368a34||'footnotesLicenseKeyDomainLimit'==_0x368a34||'footnotesLicenseKeyNotAllowed'==_0x368a34||'footnotesLicenseKeyEvaluationLimit'==_0x368a34||'footnotesLicenseKeyTrialLimit'==_0x368a34||'footnotesLicenseKeyUsageLimit'==_0x368a34){delete _0x313974[_0x7e7114],_0x4c97a1=_0x368a34,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4c97a1&&_0x313974['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4c97a1&&_0x313974['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4c97a1&&_0x313974['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x57f8be,_0x795c26){const _0x1da3c1=_0x57f8be['commands']['get']('insertFootnote');return _0x193be8=>{const {t:t}=_0x193be8,_0x542516=new _0x795c26(_0x193be8),_0x198b95=_0x542516 instanceof _0x29b8a6;return _0x542516['bind']('isEnabled')['to'](_0x1da3c1,'isEnabled'),_0x542516['set']({'label':t(_0x198b95?'Footnote':'Insert\x20footnote'),'icon':_0x1e0b5a,'tooltip':!0x0}),_0x542516['on']('execute',()=>{_0x1da3c1['execute'](),_0x57f8be['editing']['view']['focus']();}),_0x542516;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44c2bc,_0x1f704d){var _0x4b03fb=_0xe234,_0x49136a=_0x44c2bc();while(!![]){try{var _0x16f48f=parseInt(_0x4b03fb(0x108))/0x1*(-parseInt(_0x4b03fb(0x106))/0x2)+-parseInt(_0x4b03fb(0x104))/0x3*(parseInt(_0x4b03fb(0x10a))/0x4)+parseInt(_0x4b03fb(0x103))/0x5+-parseInt(_0x4b03fb(0x102))/0x6+parseInt(_0x4b03fb(0x107))/0x7*(-parseInt(_0x4b03fb(0x109))/0x8)+parseInt(_0x4b03fb(0x105))/0x9+parseInt(_0x4b03fb(0x10b))/0xa;if(_0x16f48f===_0x1f704d)break;else _0x49136a['push'](_0x49136a['shift']());}catch(_0x34b99c){_0x49136a['push'](_0x49136a['shift']());}}}(_0x5b2a,0xf2a3f));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0xe234(_0x48be14,_0x2d40e4){var _0x5b2a02=_0x5b2a();return _0xe234=function(_0xe234bc,_0x465ca9){_0xe234bc=_0xe234bc-0x102;var _0x3db23a=_0x5b2a02[_0xe234bc];return _0x3db23a;},_0xe234(_0x48be14,_0x2d40e4);}function _0x5b2a(){var _0x3fe3ee=['31102850rovYjf','2012376ScaywD','2917715YUMTBI','1184433ximNTc','6616377kdbTxv','382AbvWst','581pIIsgt','4157SKQkfc','70024jQinIb','16fQtXza'];_0x5b2a=function(){return _0x3fe3ee;};return _0x5b2a();}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x406683=_0x2e6f;function _0x2e6f(_0x35f708,_0x5df8cb){const _0xbcf734=_0xbcf7();return _0x2e6f=function(_0x2e6fd6,_0x3d7cb2){_0x2e6fd6=_0x2e6fd6-0x179;let _0x4cd143=_0xbcf734[_0x2e6fd6];return _0x4cd143;},_0x2e6f(_0x35f708,_0x5df8cb);}function _0xbcf7(){const _0x4541ad=['clear','getItems','type','2247534OhfkOz','19699960QWJXaS','_model','getChanges','$text','attributes','remove','1755264GosFpu','flat','elementName','set','slice','length','$graveyard','name','add','nodeAfter','getElementKey','values','has','142198jEVkpp','_getElementKey','element','rootName','_elementName','position','insert','get','2636112PgscAc','reset','from','delete','10YViCyS','push','createRangeOn','root','4872408rXLAei','_trackedElements','1250130rQDpkm'];_0xbcf7=function(){return _0x4541ad;};return _0xbcf7();}(function(_0xee407b,_0x51f635){const _0x4c81a0=_0x2e6f,_0xd46eaf=_0xee407b();while(!![]){try{const _0x3592c4=parseInt(_0x4c81a0(0x18d))/0x1+parseInt(_0x4c81a0(0x180))/0x2+-parseInt(_0x4c81a0(0x179))/0x3+-parseInt(_0x4c81a0(0x19d))/0x4+-parseInt(_0x4c81a0(0x199))/0x5*(parseInt(_0x4c81a0(0x195))/0x6)+parseInt(_0x4c81a0(0x19f))/0x7+parseInt(_0x4c81a0(0x17a))/0x8;if(_0x3592c4===_0x51f635)break;else _0xd46eaf['push'](_0xd46eaf['shift']());}catch(_0x2a8cba){_0xd46eaf['push'](_0xd46eaf['shift']());}}}(_0xbcf7,0xc6f53));export class ModelElementTracker{[_0x406683(0x17b)];[_0x406683(0x191)];[_0x406683(0x18e)];[_0x406683(0x19e)]=new Map();constructor(_0x3d7346,_0x298433){const _0x13ca23=_0x406683;this[_0x13ca23(0x17b)]=_0x3d7346,this[_0x13ca23(0x191)]=_0x298433[_0x13ca23(0x182)],this[_0x13ca23(0x18e)]=_0x298433[_0x13ca23(0x18a)];}[_0x406683(0x196)](){const _0x22522a=_0x406683;this[_0x22522a(0x19e)][_0x22522a(0x1a0)]();}[_0x406683(0x17c)](_0x37e935){const _0x5600db=_0x406683,_0x122452=new Set(),_0x4c5bc7=new Map();for(const _0x3b80cb of _0x37e935){if(_0x5600db(0x193)===_0x3b80cb[_0x5600db(0x1a2)]&&_0x5600db(0x17d)!==_0x3b80cb[_0x5600db(0x187)]&&_0x3b80cb[_0x5600db(0x192)][_0x5600db(0x189)]){const _0x4e03af=this[_0x5600db(0x17b)][_0x5600db(0x19b)](_0x3b80cb[_0x5600db(0x192)][_0x5600db(0x189)]);for(const _0x43dd83 of _0x4e03af[_0x5600db(0x1a1)]()){if(!_0x43dd83['is'](_0x5600db(0x18f),this[_0x5600db(0x191)]))continue;const _0x5b3aa9=this[_0x5600db(0x18e)](_0x43dd83);_0x4c5bc7[_0x5600db(0x18c)](_0x5b3aa9)||_0x4c5bc7[_0x5600db(0x183)](_0x5b3aa9,[]),_0x4c5bc7[_0x5600db(0x194)](_0x5b3aa9)[_0x5600db(0x19a)](_0x43dd83);}}if(_0x5600db(0x17f)===_0x3b80cb[_0x5600db(0x1a2)]&&_0x3b80cb[_0x5600db(0x187)]===this[_0x5600db(0x191)]){const _0x428a10=this[_0x5600db(0x18e)]({'getAttribute':_0x143198=>_0x3b80cb[_0x5600db(0x17e)][_0x5600db(0x194)](_0x143198)});_0x122452[_0x5600db(0x188)](_0x428a10);}}for(const [_0x1e9106,_0xcfe1a5]of this[_0x5600db(0x19e)])_0x5600db(0x186)===_0xcfe1a5[_0x5600db(0x19c)][_0x5600db(0x190)]&&_0x122452[_0x5600db(0x188)](_0x1e9106);for(const _0x2336c7 of _0x122452)this[_0x5600db(0x19e)][_0x5600db(0x198)](_0x2336c7);for(const [_0xbf6610,_0x534bef]of _0x4c5bc7)this[_0x5600db(0x19e)][_0x5600db(0x183)](_0xbf6610,_0x534bef[_0x534bef[_0x5600db(0x185)]-0x1]);const _0x19aac6=new Set();for(const [_0x2f53ae,_0x40eba3]of _0x4c5bc7)_0x122452[_0x5600db(0x18c)](_0x2f53ae)&&(_0x19aac6[_0x5600db(0x188)](_0x40eba3[0x0]),_0x40eba3[_0x5600db(0x185)]>0x1?_0x4c5bc7[_0x5600db(0x183)](_0x2f53ae,_0x40eba3[_0x5600db(0x184)](0x1)):_0x4c5bc7[_0x5600db(0x198)](_0x2f53ae),_0x122452[_0x5600db(0x198)](_0x2f53ae));return{'removed':Array[_0x5600db(0x197)](_0x122452),'inserted':Array[_0x5600db(0x197)](_0x4c5bc7[_0x5600db(0x18b)]())[_0x5600db(0x181)](),'moved':Array[_0x5600db(0x197)](_0x19aac6)};}}
|