@ckeditor/ckeditor5-format-painter 48.0.0-alpha.0 → 48.0.0-alpha.1
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/dist/index.js +2 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0x51c3af(_0x593e4e){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4eb3a2=this['editor'];_0x4eb3a2['editing']['view']['addObserver'](_0x385422),_0x4eb3a2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x4eb3a2['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x4eb3a2['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x4eb3a2['ui']['componentFactory']['add']('formatPainter',_0x4e9e96=>{const _0x3780b4=_0x428ac(_0x4e9e96,_0xd2c12c),_0x2ea898=_0x4eb3a2['commands']['get'](w);_0x3780b4['buttonView']['set']({'label':x(_0x4eb3a2['locale'],'Paint\x20formatting'),'icon':_0x2cfd42,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x3780b4['class']='ck-format-painter-dropdown',_0x2ea898&&(_0x3780b4['bind']('isEnabled')['to'](_0x2ea898,'isEnabled'),this['listenTo'](_0x2ea898,'change:isEnabled',(_0x19a108,_0x597769,_0x2845b5)=>{_0x2845b5||this['_finishPainting']();}),_0x3780b4['buttonView']['bind']('isOn')['to'](_0x2ea898,'value',_0x2d6eac=>!!_0x2d6eac),this['listenTo'](_0x4eb3a2,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x2ea898,'change:value',(_0x38fa57,_0x5c2548,_0xee86f7)=>{this['_toggleSpecialCursor'](!!_0xee86f7);}));const _0x2367c6=new _0xc554e1({'withText':!0x0,'label':x(_0x4eb3a2['locale'],'Continuous\x20painting'),'tooltip':x(_0x4eb3a2['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x137f1f(_0x3780b4,new _0x4cb69e([{'type':'switchbutton','model':_0x2367c6}]),{'role':'menu'});const _0x878f2d=()=>{this['_copyFormatting'](),this['listenTo'](_0x449c58['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2367c6['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x3780b4,'execute',()=>{_0x2367c6['isOn']=!_0x2367c6['isOn'];}),this['listenTo'](_0x3780b4['buttonView'],'execute',()=>{_0x4eb3a2['editing']['view']['focus'](),_0x3780b4['buttonView']['isOn']?this['_finishPainting']():_0x878f2d();}),_0x4eb3a2['keystrokes']['set']('Ctrl+Alt+C',(_0x51905c,_0x2c5b11)=>{_0x878f2d(),_0x2367c6['isOn']=!0x0,_0x2c5b11();},{'priority':'high'}),_0x4eb3a2['keystrokes']['set']('Ctrl+Alt+V',(_0x220e0f,_0x3f9c3c)=>{_0x3780b4['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2367c6['isOn']||this['_finishPainting'](),_0x3f9c3c());},{'priority':'high'}),_0x4eb3a2['keystrokes']['set']('Esc',(_0x118f73,_0x23260c)=>{_0x3780b4['buttonView']['isOn']&&(_0x2367c6['isOn']=!0x1,this['_finishPainting'](),_0x23260c());}),_0x3780b4;});}['afterInit'](){!async function(_0x24db81){const _0x4c194d=_0x10ae8c([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x1f1482=0x4597e011,_0x467120=0x459064d9^_0x1f1482,_0x5978dd=window[_0x10ae8c([0x44,0x61,0x74,0x65])][_0x10ae8c([0x6e,0x6f,0x77])](),_0x5174e2=_0x24db81[_0x10ae8c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3dca92=new window[(_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5800c6=>{_0x5174e2[_0x10ae8c([0x6f,0x6e,0x63,0x65])](_0x10ae8c([0x72,0x65,0x61,0x64,0x79]),_0x5800c6);}),_0x2b3f7c={[_0x10ae8c([0x6b,0x74,0x79])]:_0x10ae8c([0x45,0x43]),[_0x10ae8c([0x75,0x73,0x65])]:_0x10ae8c([0x73,0x69,0x67]),[_0x10ae8c([0x63,0x72,0x76])]:_0x10ae8c([0x50,0x2d,0x32,0x35,0x36]),[_0x10ae8c([0x78])]:_0x10ae8c([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]),[_0x10ae8c([0x79])]:_0x10ae8c([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]),[_0x10ae8c([0x61,0x6c,0x67])]:_0x10ae8c([0x45,0x53,0x32,0x35,0x36])},_0xab5ed0=_0x5174e2[_0x10ae8c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10ae8c([0x67,0x65,0x74])](_0x10ae8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34cd2d(){let _0x13a798,_0x277d91=null,_0x1d4a3b=null;try{if(_0xab5ed0==_0x10ae8c([0x47,0x50,0x4c]))return _0x10ae8c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13a798=_0x41b0e2(),!_0x13a798)return _0x10ae8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13a798[_0x10ae8c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d4a3b=_0x527b97(_0x13a798[_0x10ae8c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13a798[_0x10ae8c([0x6a,0x74,0x69])])),await _0x5f829f()?_0x3ee01a()?_0x2c988d()?_0x10ae8c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4753f4()?(_0x13a798[_0x10ae8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10ae8c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x277d91=_0x628f93(_0x10ae8c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe036d9()):_0x10ae8c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10ae8c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10ae8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10ae8c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c988d(){const _0x441521=[_0x10ae8c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10ae8c([0x74,0x72,0x69,0x61,0x6c])][_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13a798[_0x10ae8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5978dd/0x3e8:0xe10*_0x467120;return _0x13a798[_0x10ae8c([0x65,0x78,0x70])]<_0x441521;}function _0x3ee01a(){const _0x104a8f=_0x13a798[_0x10ae8c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x104a8f&&(!!_0x104a8f[_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ae8c([0x2a]))||(!!_0x104a8f[_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ae8c([0x46,0x50]))||(!!_0x104a8f[_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ae8c([0x50,0x50]))||!(!_0x104a8f[_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ae8c([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x26c1f2()))));}function _0x4753f4(){const _0x247ab0=_0x13a798[_0x10ae8c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x247ab0||0x0==_0x247ab0[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x190109}=new URL(window[_0x10ae8c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x247ab0[_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x190109))return!0x0;const _0x3b079b=_0x190109[_0x10ae8c([0x73,0x70,0x6c,0x69,0x74])](_0x10ae8c([0x2e]));return _0x247ab0[_0x10ae8c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b7239=>_0x3b7239[_0x10ae8c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ae8c([0x2a])))[_0x10ae8c([0x6d,0x61,0x70])](_0x3d5265=>_0x3d5265[_0x10ae8c([0x73,0x70,0x6c,0x69,0x74])](_0x10ae8c([0x2e])))[_0x10ae8c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b3b46=>_0x2b3b46[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3b079b[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10ae8c([0x6d,0x61,0x70])](_0x14b29d=>Array(_0x3b079b[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14b29d[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10ae8c([0x66,0x69,0x6c,0x6c])](_0x14b29d[0x0]===_0x10ae8c([0x2a])?_0x10ae8c([0x2a]):'')[_0x10ae8c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14b29d))[_0x10ae8c([0x73,0x6f,0x6d,0x65])](_0x4fc4fd=>_0x3b079b[_0x10ae8c([0x65,0x76,0x65,0x72,0x79])]((_0x271e9b,_0x43a037)=>_0x4fc4fd[_0x43a037]===_0x271e9b||_0x4fc4fd[_0x43a037]===_0x10ae8c([0x2a])));}function _0xe036d9(){return _0x277d91&&_0x1d4a3b?new window[(_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48729b,_0xba0f8a)=>{_0x277d91[_0x10ae8c([0x74,0x68,0x65,0x6e])](_0x48729b,_0xba0f8a),_0x1d4a3b[_0x10ae8c([0x74,0x68,0x65,0x6e])](_0x2344bb=>{_0x2344bb!=_0x10ae8c([0x56,0x61,0x6c,0x69,0x64])&&_0x48729b(_0x2344bb);},_0xba0f8a);}):_0x277d91||_0x1d4a3b||_0x10ae8c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x527b97(_0x46ce39,_0x4983ee){return new window[(_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a87db=>{if(_0x4edaf8())return _0x4a87db(_0x10ae8c([0x56,0x61,0x6c,0x69,0x64]));_0x4fa781(),_0x5174e2[_0x10ae8c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10ae8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2aecd1=!0x1;const _0xf2e43f=_0x53d5e3();function _0x2469d3(_0x4e9e1c){return!!_0x4e9e1c&&(typeof _0x4e9e1c===_0x10ae8c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e9e1c===_0x10ae8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e9e1c[_0x10ae8c([0x74,0x68,0x65,0x6e])]===_0x10ae8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e9e1c[_0x10ae8c([0x63,0x61,0x74,0x63,0x68])]===_0x10ae8c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52f7d0(_0x45a194){_0x764d03(_0x45a194)[_0x10ae8c([0x74,0x68,0x65,0x6e])](_0x1e86f2=>{if(!_0x1e86f2||_0x1e86f2[_0x10ae8c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10ae8c([0x6f,0x6b]))return _0x10ae8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3254b2(_0x25bf70(_0xf2e43f+_0x4983ee))!=_0x1e86f2[_0x10ae8c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10ae8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10ae8c([0x56,0x61,0x6c,0x69,0x64]);})[_0x10ae8c([0x74,0x68,0x65,0x6e])](_0x5703c2=>(_0x9750ad(),_0x5703c2),()=>{const _0x139d78=_0x3ced42();return null==_0x139d78?(_0x9750ad(),_0x10ae8c([0x56,0x61,0x6c,0x69,0x64])):_0x10ae8c(_0x5978dd-_0x139d78>(0x619b6411^_0x1f1482)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10ae8c([0x74,0x68,0x65,0x6e])](_0x4a87db)[_0x10ae8c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a87db(_0x10ae8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x41cc3e=0x45a10e91^_0x1f1482;function _0x9750ad(){const _0x1c6ab4=_0x10ae8c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3254b2(_0x25bf70(_0x46ce39)),_0x43634c=_0x30f9c1(_0x3254b2(window[_0x10ae8c([0x4d,0x61,0x74,0x68])][_0x10ae8c([0x63,0x65,0x69,0x6c])](_0x5978dd/_0x41cc3e)));window[_0x10ae8c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10ae8c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c6ab4,_0x43634c);}function _0x3ced42(){const _0x33cba6=_0x10ae8c([0x6c,0x6c,0x63,0x74,0x2d])+_0x3254b2(_0x25bf70(_0x46ce39)),_0x6763d0=window[_0x10ae8c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10ae8c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33cba6);return _0x6763d0?window[_0x10ae8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30f9c1(_0x6763d0),0x10)*_0x41cc3e:null;}function _0x764d03(_0x478f93){return new window[(_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46b742,_0x4d43db)=>{_0x478f93[_0x10ae8c([0x74,0x68,0x65,0x6e])](_0x46b742,_0x4d43db),window[_0x10ae8c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d43db,0x459634d1^_0x1f1482);});}}_0x5174e2[_0x10ae8c([0x6f,0x6e])](_0x10ae8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x82e82a,_0x1aa70d)=>{if(_0x1aa70d[0x0]!=_0x46ce39)return _0x4a87db(_0x10ae8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1aa70d[0x1]={..._0x1aa70d[0x1],[_0x10ae8c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf2e43f};},{[_0x10ae8c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10ae8c([0x68,0x69,0x67,0x68])}),_0x5174e2[_0x10ae8c([0x6f,0x6e])](_0x10ae8c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7124dd=>{_0x2469d3(_0x7124dd[_0x10ae8c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2aecd1=!0x0,_0x52f7d0(_0x7124dd[_0x10ae8c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10ae8c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10ae8c([0x6c,0x6f,0x77])}),_0x3dca92[_0x10ae8c([0x74,0x68,0x65,0x6e])](()=>{_0x2aecd1||_0x4a87db(_0x10ae8c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4edaf8(){return _0x5174e2[_0x10ae8c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10ae8c([0x76,0x69,0x65,0x77])][_0x10ae8c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10ae8c([0x61,0x75,0x74,0x6f]);}function _0x4fa781(){_0x5174e2[_0x10ae8c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10ae8c([0x76,0x69,0x65,0x77])][_0x10ae8c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10ae8c([0x61,0x75,0x74,0x6f]);}}function _0x628f93(_0x268ea7){const _0x282979=[new window[(_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e69f=>setTimeout(_0x53e69f,0x459ededd^_0x1f1482)),_0x3dca92[_0x10ae8c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x333dbb=>{let _0x34aa5f=0x0;_0x5174e2[_0x10ae8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x10ae8c([0x6f,0x6e])](_0x10ae8c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e89cd,_0x367ab5)=>{_0x367ab5[0x0][_0x10ae8c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34aa5f++,_0x34aa5f==(0x4597e5f9^_0x1f1482)&&(_0x333dbb(),_0x5e89cd[_0x10ae8c([0x6f,0x66,0x66])]());});}))];return window[_0x10ae8c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10ae8c([0x72,0x61,0x63,0x65])](_0x282979)[_0x10ae8c([0x74,0x68,0x65,0x6e])](()=>_0x268ea7);}async function _0x5457b7(){await _0x3dca92,_0x5174e2[_0x10ae8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x10ae8c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3cba6f,_0x5174e2[_0x10ae8c([0x6d,0x6f,0x64,0x65,0x6c])][_0x10ae8c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3cba6f,_0x5174e2[_0x10ae8c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10ae8c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26c1f2(){return window[_0x10ae8c([0x67,0x6c,0x6f,0x62])]&&window[_0x10ae8c([0x67,0x6c,0x6f,0x62])][_0x10ae8c([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x58a87c(_0x43426d){const _0x1a34f6=_0x4a3bc9();_0x5174e2[_0x1a34f6]=_0x10ae8c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43426d,_0x43426d!=_0x10ae8c([0x56,0x61,0x6c,0x69,0x64])&&_0x5457b7();}function _0x4a3bc9(){const _0x221c22=window[_0x10ae8c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10ae8c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10ae8c([0x6e,0x6f,0x77])]())[_0x10ae8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10ae8c([0x2e]),'');let _0x26c32f=_0x10ae8c([0x51]);for(let _0x499c38=0x0;_0x499c38<_0x221c22[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x499c38+=0x2){let _0x3875ef=window[_0x10ae8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x221c22[_0x10ae8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x499c38,_0x499c38+0x2));_0x3875ef>=_0x4c194d[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3875ef-=_0x4c194d[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x26c32f+=_0x4c194d[_0x3875ef];}return _0x26c32f;}function _0x41b0e2(){const _0x519847=_0xab5ed0[_0x10ae8c([0x73,0x70,0x6c,0x69,0x74])](_0x10ae8c([0x2e]));if(0x3!=_0x519847[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3601c9(_0x519847[0x1]);function _0x3601c9(_0x2d11c6){const _0x1c5758=_0x4ef895(_0x2d11c6);return _0x1c5758&&_0x1be55b()?_0x1c5758:null;function _0x1be55b(){const _0x2dc592=_0x1c5758[_0x10ae8c([0x6a,0x74,0x69])],_0x400be3=window[_0x10ae8c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2dc592[_0x10ae8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dc592[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x322de3={..._0x1c5758,[_0x10ae8c([0x6a,0x74,0x69])]:_0x2dc592[_0x10ae8c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2dc592[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x322de3[_0x10ae8c([0x76,0x63])],_0x25bf70(_0x322de3)==_0x400be3;}}}async function _0x5f829f(){let _0x567931=!0x0;try{const _0x1be95c=_0xab5ed0[_0x10ae8c([0x73,0x70,0x6c,0x69,0x74])](_0x10ae8c([0x2e])),[_0xaa03f1,_0x2cafba,_0x5516e5]=_0x1be95c;return _0x5dec7c(_0xaa03f1),await _0x1db280(_0xaa03f1,_0x2cafba,_0x5516e5),_0x567931;}catch{return!0x1;}function _0x5dec7c(_0x36f019){const _0x50811a=_0x4ef895(_0x36f019);_0x50811a&&_0x50811a[_0x10ae8c([0x61,0x6c,0x67])]==_0x10ae8c([0x45,0x53,0x32,0x35,0x36])||(_0x567931=!0x1);}async function _0x1db280(_0x2fd2a1,_0x1b021b,_0x3779b6){const _0x4257bc=window[_0x10ae8c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10ae8c([0x66,0x72,0x6f,0x6d])](_0x13d598(_0x3779b6),_0x37cc10=>_0x37cc10[_0x10ae8c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3129e3=new window[(_0x10ae8c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10ae8c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2fd2a1+_0x10ae8c([0x2e])+_0x1b021b),_0x2de62c=window[_0x10ae8c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10ae8c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2de62c)return;const _0x54d2c3=await _0x2de62c[_0x10ae8c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10ae8c([0x6a,0x77,0x6b]),_0x2b3f7c,{[_0x10ae8c([0x6e,0x61,0x6d,0x65])]:_0x10ae8c([0x45,0x43,0x44,0x53,0x41]),[_0x10ae8c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10ae8c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10ae8c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2de62c[_0x10ae8c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10ae8c([0x6e,0x61,0x6d,0x65])]:_0x10ae8c([0x45,0x43,0x44,0x53,0x41]),[_0x10ae8c([0x68,0x61,0x73,0x68])]:{[_0x10ae8c([0x6e,0x61,0x6d,0x65])]:_0x10ae8c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54d2c3,_0x4257bc,_0x3129e3)||(_0x567931=!0x1);}}function _0x4ef895(_0xf5311a){return _0xf5311a[_0x10ae8c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10ae8c([0x65,0x79]))?JSON[_0x10ae8c([0x70,0x61,0x72,0x73,0x65])](_0x13d598(_0xf5311a)):null;}function _0x13d598(_0x211b54){return window[_0x10ae8c([0x61,0x74,0x6f,0x62])](_0x211b54[_0x10ae8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10ae8c([0x2b]))[_0x10ae8c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10ae8c([0x2f])));}function _0x25bf70(_0x51a367){let _0x503887=0x1505;function _0x21fda9(_0x19a4e7){for(let _0xc1235b=0x0;_0xc1235b<_0x19a4e7[_0x10ae8c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc1235b++){const _0xcdd81b=_0x19a4e7[_0x10ae8c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc1235b);_0x503887=(_0x503887<<0x5)+_0x503887+_0xcdd81b,_0x503887&=_0x503887;}}function _0x5af264(_0x92ffce){Array[_0x10ae8c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x92ffce)?_0x92ffce[_0x10ae8c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5af264):_0x92ffce&&typeof _0x92ffce==_0x10ae8c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10ae8c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x92ffce)[_0x10ae8c([0x73,0x6f,0x72,0x74])]()[_0x10ae8c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x355d3c,_0x4434be])=>{_0x21fda9(_0x355d3c),_0x5af264(_0x4434be);}):_0x21fda9(window[_0x10ae8c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x92ffce));}return _0x5af264(_0x51a367),_0x503887>>>0x0;}function _0x3254b2(_0x1f938c){return _0x1f938c[_0x10ae8c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10ae8c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10ae8c([0x30]));}function _0x30f9c1(_0x71fafc){return _0x71fafc[_0x10ae8c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10ae8c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10ae8c([0x6a,0x6f,0x69,0x6e])]('');}function _0x3cba6f(){}function _0x10ae8c(_0x38529d){return _0x38529d['map'](_0x1966ab=>String['fromCharCode'](_0x1966ab))['join']('');}_0x58a87c(await _0x34cd2d());}(this);}['_toggleSpecialCursor'](_0x401641){this['editor']['editing']['view']['change'](_0x48d598=>{for(const _0x52d416 of this['editor']['editing']['view']['document']['roots'])_0x401641?_0x48d598['addClass'](g,_0x52d416):_0x48d598['removeClass'](g,_0x52d416);});}['_copyFormatting'](){const {editor:_0x5f026b}=this;_0x5f026b['execute'](w),_0x5f026b['ui']['ariaLiveAnnouncer']['announce'](x(_0x5f026b['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x2efc15}=this,_0x520e80=_0x2efc15['commands']['get'](w)['value'];_0x2efc15['execute'](h,_0x520e80),_0x2efc15['ui']['ariaLiveAnnouncer']['announce'](x(_0x2efc15['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x449c58['window']['document'],'mouseup');}}class L extends _0x593e4e{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{p as CopyFormatCommand,L as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
|
|
23
|
+
import{Command as _0xabc1d1,Plugin as _0x3306a2}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x1be379}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x415607,SplitButtonView as _0x42178c,UIModel as _0x49d457,addListToDropdown as _0x5c56c8}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x4edfb3,Collection as _0x580d68,global as _0xc93e60,uid as _0x2d8717}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x26d0b5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x4f5c4d}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',h='pasteFormat',g='ck-format-painter-active';class p extends _0xabc1d1{constructor(_0x58debb){super(_0x58debb),this['value']=void 0x0,this['on']('change:isEnabled',(_0x5f0ce3,_0x52b09f,_0x57a129)=>{_0x57a129||this['reset']();}),this['on']('change:value',()=>_0x58debb['commands']['get'](h)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x38a96e=this['editor']['model'],_0x2e33e3=_0x38a96e['document']['selection'];return Object['fromEntries'](Array['from'](_0x2e33e3['getAttributes']())['filter'](([_0x21269d])=>_0x38a96e['schema']['getAttributeProperties'](_0x21269d)['isFormatting']));}}class y extends _0xabc1d1{constructor(_0x5df993){super(_0x5df993),this['_removeFormatCommand']=new _0x1be379(_0x5df993);}['execute'](_0x1a5170={}){const _0x5bab44=this['editor']['model'],_0x3c8348=_0x5bab44['document']['selection'],_0x1b68af=Array['from'](_0x3c8348['getRanges']()),_0x445302=_0x3c8348['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5bab44,_0x3c8348)]:_0x1b68af;_0x5bab44['change'](_0x1afed7=>{_0x1afed7['setSelection'](_0x445302),this['_removeFormatCommand']['execute']();for(const _0x4b2364 in _0x1a5170)for(const _0x5964cf of _0x5bab44['schema']['getValidRanges'](_0x445302,_0x4b2364))_0x1afed7['setAttribute'](_0x4b2364,_0x1a5170[_0x4b2364],_0x5964cf);_0x1afed7['setSelection'](_0x1b68af);});}['_createRangeOnEntireWord'](_0x49b1e1,_0x50bf11){const _0x4fe99b=_0x49b1e1['createSelection'](_0x50bf11);_0x49b1e1['modifySelection'](_0x4fe99b,{'unit':'word','direction':'backward'});const _0x9ddd7b=_0x4fe99b['getFirstPosition']();_0x49b1e1['modifySelection'](_0x4fe99b,{'unit':'word','direction':'forward'});const _0x5f039b=_0x4fe99b['getLastPosition']();return _0x49b1e1['createRange'](_0x9ddd7b,_0x5f039b);}}class P extends _0x3306a2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x58982c=this['editor'];_0x58982c['commands']['add'](w,new p(_0x58982c)),_0x58982c['commands']['add'](h,new y(_0x58982c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x470eb5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3cd246;for(const _0x1a50de in _0x470eb5){const _0x57b33e=_0x1a50de,_0x3d724f=_0x470eb5[_0x57b33e];if('formatPainterLicenseKeyValid'==_0x3d724f||'formatPainterLicenseKeyInvalid'==_0x3d724f||'formatPainterLicenseKeyExpired'==_0x3d724f||'formatPainterLicenseKeyDomainLimit'==_0x3d724f||'formatPainterLicenseKeyNotAllowed'==_0x3d724f||'formatPainterLicenseKeyEvaluationLimit'==_0x3d724f||'formatPainterLicenseKeyUsageLimit'==_0x3d724f){delete _0x470eb5[_0x57b33e],_0x3cd246=_0x3d724f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x3cd246&&_0x470eb5['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x3cd246&&_0x470eb5['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x3cd246&&_0x470eb5['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x3cd246&&_0x470eb5['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x3cd246&&_0x470eb5['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x3cd246&&_0x470eb5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x956614,_0x403fd8){const t=_0x956614['t'];switch(_0x403fd8){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x403fd8;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4edfb3(_0x3306a2){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x40f06e=this['editor'];_0x40f06e['editing']['view']['addObserver'](_0x26d0b5),_0x40f06e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x40f06e['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x40f06e['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x40f06e['ui']['componentFactory']['add']('formatPainter',_0x53974d=>{const _0x58d473=_0x415607(_0x53974d,_0x42178c),_0x1dca84=_0x40f06e['commands']['get'](w);_0x58d473['buttonView']['set']({'label':x(_0x40f06e['locale'],'Paint\x20formatting'),'icon':_0x4f5c4d,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x58d473['class']='ck-format-painter-dropdown',_0x1dca84&&(_0x58d473['bind']('isEnabled')['to'](_0x1dca84,'isEnabled'),this['listenTo'](_0x1dca84,'change:isEnabled',(_0x8147c6,_0x4e259a,_0x3f7a19)=>{_0x3f7a19||this['_finishPainting']();}),_0x58d473['buttonView']['bind']('isOn')['to'](_0x1dca84,'value',_0xaf9a00=>!!_0xaf9a00),this['listenTo'](_0x40f06e,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x1dca84,'change:value',(_0x123f90,_0x4499f3,_0x2968f6)=>{this['_toggleSpecialCursor'](!!_0x2968f6);}));const _0x4f3c09=new _0x49d457({'withText':!0x0,'label':x(_0x40f06e['locale'],'Continuous\x20painting'),'tooltip':x(_0x40f06e['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x5c56c8(_0x58d473,new _0x580d68([{'type':'switchbutton','model':_0x4f3c09}]),{'role':'menu'});const _0x339c35=()=>{this['_copyFormatting'](),this['listenTo'](_0xc93e60['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4f3c09['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x58d473,'execute',()=>{_0x4f3c09['isOn']=!_0x4f3c09['isOn'];}),this['listenTo'](_0x58d473['buttonView'],'execute',()=>{_0x40f06e['editing']['view']['focus'](),_0x58d473['buttonView']['isOn']?this['_finishPainting']():_0x339c35();}),_0x40f06e['keystrokes']['set']('Ctrl+Alt+C',(_0xc65a5d,_0x22ed24)=>{_0x339c35(),_0x4f3c09['isOn']=!0x0,_0x22ed24();},{'priority':'high'}),_0x40f06e['keystrokes']['set']('Ctrl+Alt+V',(_0x5685d1,_0x125691)=>{_0x58d473['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4f3c09['isOn']||this['_finishPainting'](),_0x125691());},{'priority':'high'}),_0x40f06e['keystrokes']['set']('Esc',(_0x173152,_0x467728)=>{_0x58d473['buttonView']['isOn']&&(_0x4f3c09['isOn']=!0x1,this['_finishPainting'](),_0x467728());}),_0x58d473;});}['afterInit'](){!async function(_0x36d8f7){const _0x322ba0=_0x2b33b7([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x18ff1e=0x4597e011,_0x3292e5=0x459064f1^_0x18ff1e,_0x2f7f5e=window[_0x2b33b7([0x44,0x61,0x74,0x65])][_0x2b33b7([0x6e,0x6f,0x77])](),_0x239914=_0x36d8f7[_0x2b33b7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x464730=new window[(_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58521c=>{_0x239914[_0x2b33b7([0x6f,0x6e,0x63,0x65])](_0x2b33b7([0x72,0x65,0x61,0x64,0x79]),_0x58521c);}),_0x24bad3={[_0x2b33b7([0x6b,0x74,0x79])]:_0x2b33b7([0x45,0x43]),[_0x2b33b7([0x75,0x73,0x65])]:_0x2b33b7([0x73,0x69,0x67]),[_0x2b33b7([0x63,0x72,0x76])]:_0x2b33b7([0x50,0x2d,0x32,0x35,0x36]),[_0x2b33b7([0x78])]:_0x2b33b7([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]),[_0x2b33b7([0x79])]:_0x2b33b7([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]),[_0x2b33b7([0x61,0x6c,0x67])]:_0x2b33b7([0x45,0x53,0x32,0x35,0x36])},_0x536380=_0x239914[_0x2b33b7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b33b7([0x67,0x65,0x74])](_0x2b33b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x369d9c(){let _0x25a819,_0x8b9312=null,_0x5c82a6=null;try{if(_0x536380==_0x2b33b7([0x47,0x50,0x4c]))return _0x2b33b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25a819=_0x5eee83(),!_0x25a819)return _0x2b33b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25a819[_0x2b33b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c82a6=_0x45e91c(_0x25a819[_0x2b33b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25a819[_0x2b33b7([0x6a,0x74,0x69])])),await _0x233f62()?_0x351fb5()?_0x4a0cba()?_0x2b33b7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x586649()?(_0x25a819[_0x2b33b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b33b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8b9312=_0x2dba50(_0x2b33b7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1da587()):_0x2b33b7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b33b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b33b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b33b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a0cba(){const _0x54139f=[_0x2b33b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b33b7([0x74,0x72,0x69,0x61,0x6c])][_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25a819[_0x2b33b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f7f5e/0x3e8:0xe10*_0x3292e5;return _0x25a819[_0x2b33b7([0x65,0x78,0x70])]<_0x54139f;}function _0x351fb5(){const _0x116ab5=_0x25a819[_0x2b33b7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x116ab5&&(!!_0x116ab5[_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b33b7([0x2a]))||(!!_0x116ab5[_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b33b7([0x46,0x50]))||(!!_0x116ab5[_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b33b7([0x50,0x50]))||!(!_0x116ab5[_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b33b7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2d8e00()))));}function _0x586649(){const _0x353766=_0x25a819[_0x2b33b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x353766||0x0==_0x353766[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2a37c8}=new URL(window[_0x2b33b7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x353766[_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a37c8))return!0x0;const _0x33c186=_0x2a37c8[_0x2b33b7([0x73,0x70,0x6c,0x69,0x74])](_0x2b33b7([0x2e]));return _0x353766[_0x2b33b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4643ff=>_0x4643ff[_0x2b33b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b33b7([0x2a])))[_0x2b33b7([0x6d,0x61,0x70])](_0x3b5f93=>_0x3b5f93[_0x2b33b7([0x73,0x70,0x6c,0x69,0x74])](_0x2b33b7([0x2e])))[_0x2b33b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a77dc=>_0x1a77dc[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x33c186[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b33b7([0x6d,0x61,0x70])](_0x26261d=>Array(_0x33c186[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26261d[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b33b7([0x66,0x69,0x6c,0x6c])](_0x26261d[0x0]===_0x2b33b7([0x2a])?_0x2b33b7([0x2a]):'')[_0x2b33b7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26261d))[_0x2b33b7([0x73,0x6f,0x6d,0x65])](_0x316dfc=>_0x33c186[_0x2b33b7([0x65,0x76,0x65,0x72,0x79])]((_0x192b74,_0x568289)=>_0x316dfc[_0x568289]===_0x192b74||_0x316dfc[_0x568289]===_0x2b33b7([0x2a])));}function _0x1da587(){return _0x8b9312&&_0x5c82a6?new window[(_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573be6,_0x51f71e)=>{_0x8b9312[_0x2b33b7([0x74,0x68,0x65,0x6e])](_0x573be6,_0x51f71e),_0x5c82a6[_0x2b33b7([0x74,0x68,0x65,0x6e])](_0x4e5bea=>{_0x4e5bea!=_0x2b33b7([0x56,0x61,0x6c,0x69,0x64])&&_0x573be6(_0x4e5bea);},_0x51f71e);}):_0x8b9312||_0x5c82a6||_0x2b33b7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45e91c(_0x3ac081,_0xe17f31){return new window[(_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e6c2=>{if(_0x1e3ae0())return _0x11e6c2(_0x2b33b7([0x56,0x61,0x6c,0x69,0x64]));_0x65a561(),_0x239914[_0x2b33b7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b33b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x63feb=!0x1;const _0x350dd7=_0x2d8717();function _0x5d5853(_0x4ee579){return!!_0x4ee579&&(typeof _0x4ee579===_0x2b33b7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ee579===_0x2b33b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ee579[_0x2b33b7([0x74,0x68,0x65,0x6e])]===_0x2b33b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ee579[_0x2b33b7([0x63,0x61,0x74,0x63,0x68])]===_0x2b33b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf17e00(_0x49bb44){_0x53c56e(_0x49bb44)[_0x2b33b7([0x74,0x68,0x65,0x6e])](_0xba0bb4=>{if(!_0xba0bb4||_0xba0bb4[_0x2b33b7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b33b7([0x6f,0x6b]))return _0x2b33b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5be6a0(_0x466fde(_0x350dd7+_0xe17f31))!=_0xba0bb4[_0x2b33b7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b33b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b33b7([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b33b7([0x74,0x68,0x65,0x6e])](_0x1d0909=>(_0x2f0040(),_0x1d0909),()=>{const _0x3a362d=_0x200313();return null==_0x3a362d?(_0x2f0040(),_0x2b33b7([0x56,0x61,0x6c,0x69,0x64])):_0x2b33b7(_0x2f7f5e-_0x3a362d>(0x619b6411^_0x18ff1e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b33b7([0x74,0x68,0x65,0x6e])](_0x11e6c2)[_0x2b33b7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11e6c2(_0x2b33b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4fc395=0x45a10e91^_0x18ff1e;function _0x2f0040(){const _0x47a3f5=_0x2b33b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5be6a0(_0x466fde(_0x3ac081)),_0x2a385b=_0x2458de(_0x5be6a0(window[_0x2b33b7([0x4d,0x61,0x74,0x68])][_0x2b33b7([0x63,0x65,0x69,0x6c])](_0x2f7f5e/_0x4fc395)));window[_0x2b33b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b33b7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47a3f5,_0x2a385b);}function _0x200313(){const _0x3aae3b=_0x2b33b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x5be6a0(_0x466fde(_0x3ac081)),_0x336b6d=window[_0x2b33b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b33b7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3aae3b);return _0x336b6d?window[_0x2b33b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2458de(_0x336b6d),0x10)*_0x4fc395:null;}function _0x53c56e(_0x5678c8){return new window[(_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1eaa18,_0x1d4c86)=>{_0x5678c8[_0x2b33b7([0x74,0x68,0x65,0x6e])](_0x1eaa18,_0x1d4c86),window[_0x2b33b7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d4c86,0x459634d1^_0x18ff1e);});}}_0x239914[_0x2b33b7([0x6f,0x6e])](_0x2b33b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44a075,_0x568832)=>{if(_0x568832[0x0]!=_0x3ac081)return _0x11e6c2(_0x2b33b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x568832[0x1]={..._0x568832[0x1],[_0x2b33b7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x350dd7};},{[_0x2b33b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b33b7([0x68,0x69,0x67,0x68])}),_0x239914[_0x2b33b7([0x6f,0x6e])](_0x2b33b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x12a412=>{_0x5d5853(_0x12a412[_0x2b33b7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x63feb=!0x0,_0xf17e00(_0x12a412[_0x2b33b7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b33b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b33b7([0x6c,0x6f,0x77])}),_0x464730[_0x2b33b7([0x74,0x68,0x65,0x6e])](()=>{_0x63feb||_0x11e6c2(_0x2b33b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e3ae0(){return _0x239914[_0x2b33b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b33b7([0x76,0x69,0x65,0x77])][_0x2b33b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b33b7([0x61,0x75,0x74,0x6f]);}function _0x65a561(){_0x239914[_0x2b33b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b33b7([0x76,0x69,0x65,0x77])][_0x2b33b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b33b7([0x61,0x75,0x74,0x6f]);}}function _0x2dba50(_0x534654){const _0x1f219a=[new window[(_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319e90=>setTimeout(_0x319e90,0x459ededd^_0x18ff1e)),_0x464730[_0x2b33b7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b6529=>{let _0x2c6652=0x0;_0x239914[_0x2b33b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b33b7([0x6f,0x6e])](_0x2b33b7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1af3f3,_0x3f5d81)=>{_0x3f5d81[0x0][_0x2b33b7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c6652++,_0x2c6652==(0x4597e5f9^_0x18ff1e)&&(_0x2b6529(),_0x1af3f3[_0x2b33b7([0x6f,0x66,0x66])]());});}))];return window[_0x2b33b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b33b7([0x72,0x61,0x63,0x65])](_0x1f219a)[_0x2b33b7([0x74,0x68,0x65,0x6e])](()=>_0x534654);}async function _0x5c1c53(){await _0x464730,_0x239914[_0x2b33b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b33b7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x216a78,_0x239914[_0x2b33b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b33b7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x216a78,_0x239914[_0x2b33b7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b33b7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d8e00(){return window[_0x2b33b7([0x67,0x6c,0x6f,0x62])]&&window[_0x2b33b7([0x67,0x6c,0x6f,0x62])][_0x2b33b7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x292503(_0x2496da){const _0x18beb0=_0x36f72a();_0x239914[_0x18beb0]=_0x2b33b7([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2496da,_0x2496da!=_0x2b33b7([0x56,0x61,0x6c,0x69,0x64])&&_0x5c1c53();}function _0x36f72a(){const _0x50a460=window[_0x2b33b7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b33b7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b33b7([0x6e,0x6f,0x77])]())[_0x2b33b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b33b7([0x2e]),'');let _0x4d46a3=_0x2b33b7([0x51]);for(let _0xd7d727=0x0;_0xd7d727<_0x50a460[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd7d727+=0x2){let _0xedcc9e=window[_0x2b33b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a460[_0x2b33b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd7d727,_0xd7d727+0x2));_0xedcc9e>=_0x322ba0[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xedcc9e-=_0x322ba0[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d46a3+=_0x322ba0[_0xedcc9e];}return _0x4d46a3;}function _0x5eee83(){const _0x52b7e4=_0x536380[_0x2b33b7([0x73,0x70,0x6c,0x69,0x74])](_0x2b33b7([0x2e]));if(0x3!=_0x52b7e4[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x267e07(_0x52b7e4[0x1]);function _0x267e07(_0x4e680d){const _0x1df5e8=_0xa74314(_0x4e680d);return _0x1df5e8&&_0x1b3b98()?_0x1df5e8:null;function _0x1b3b98(){const _0x34d293=_0x1df5e8[_0x2b33b7([0x6a,0x74,0x69])],_0x26bad6=window[_0x2b33b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34d293[_0x2b33b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34d293[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1821b2={..._0x1df5e8,[_0x2b33b7([0x6a,0x74,0x69])]:_0x34d293[_0x2b33b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x34d293[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1821b2[_0x2b33b7([0x76,0x63])],_0x466fde(_0x1821b2)==_0x26bad6;}}}async function _0x233f62(){let _0x46f0ea=!0x0;try{const _0xf11be3=_0x536380[_0x2b33b7([0x73,0x70,0x6c,0x69,0x74])](_0x2b33b7([0x2e])),[_0x387600,_0x20b836,_0x83c5e2]=_0xf11be3;return _0x7a1b1d(_0x387600),await _0x17a6a1(_0x387600,_0x20b836,_0x83c5e2),_0x46f0ea;}catch{return!0x1;}function _0x7a1b1d(_0x4e90e1){const _0x66fff5=_0xa74314(_0x4e90e1);_0x66fff5&&_0x66fff5[_0x2b33b7([0x61,0x6c,0x67])]==_0x2b33b7([0x45,0x53,0x32,0x35,0x36])||(_0x46f0ea=!0x1);}async function _0x17a6a1(_0xd5b15,_0x453883,_0x23eaee){const _0x5ea8a8=window[_0x2b33b7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b33b7([0x66,0x72,0x6f,0x6d])](_0x436761(_0x23eaee),_0x5c6d40=>_0x5c6d40[_0x2b33b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x519daf=new window[(_0x2b33b7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b33b7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd5b15+_0x2b33b7([0x2e])+_0x453883),_0x4dee63=window[_0x2b33b7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b33b7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dee63)return;const _0x15bee8=await _0x4dee63[_0x2b33b7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b33b7([0x6a,0x77,0x6b]),_0x24bad3,{[_0x2b33b7([0x6e,0x61,0x6d,0x65])]:_0x2b33b7([0x45,0x43,0x44,0x53,0x41]),[_0x2b33b7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b33b7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b33b7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dee63[_0x2b33b7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b33b7([0x6e,0x61,0x6d,0x65])]:_0x2b33b7([0x45,0x43,0x44,0x53,0x41]),[_0x2b33b7([0x68,0x61,0x73,0x68])]:{[_0x2b33b7([0x6e,0x61,0x6d,0x65])]:_0x2b33b7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15bee8,_0x5ea8a8,_0x519daf)||(_0x46f0ea=!0x1);}}function _0xa74314(_0x222994){return _0x222994[_0x2b33b7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b33b7([0x65,0x79]))?JSON[_0x2b33b7([0x70,0x61,0x72,0x73,0x65])](_0x436761(_0x222994)):null;}function _0x436761(_0x525ed0){return window[_0x2b33b7([0x61,0x74,0x6f,0x62])](_0x525ed0[_0x2b33b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b33b7([0x2b]))[_0x2b33b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b33b7([0x2f])));}function _0x466fde(_0x3e0048){let _0x3e0887=0x1505;function _0x5acfad(_0x2f9dbd){for(let _0xdc6328=0x0;_0xdc6328<_0x2f9dbd[_0x2b33b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdc6328++){const _0x446367=_0x2f9dbd[_0x2b33b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdc6328);_0x3e0887=(_0x3e0887<<0x5)+_0x3e0887+_0x446367,_0x3e0887&=_0x3e0887;}}function _0x57521d(_0x5e2675){Array[_0x2b33b7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e2675)?_0x5e2675[_0x2b33b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57521d):_0x5e2675&&typeof _0x5e2675==_0x2b33b7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b33b7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e2675)[_0x2b33b7([0x73,0x6f,0x72,0x74])]()[_0x2b33b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4cf2e6,_0x2d433d])=>{_0x5acfad(_0x4cf2e6),_0x57521d(_0x2d433d);}):_0x5acfad(window[_0x2b33b7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e2675));}return _0x57521d(_0x3e0048),_0x3e0887>>>0x0;}function _0x5be6a0(_0x32f506){return _0x32f506[_0x2b33b7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b33b7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b33b7([0x30]));}function _0x2458de(_0xb74a00){return _0xb74a00[_0x2b33b7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b33b7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b33b7([0x6a,0x6f,0x69,0x6e])]('');}function _0x216a78(){}function _0x2b33b7(_0x56bdd7){return _0x56bdd7['map'](_0x1e4bb5=>String['fromCharCode'](_0x1e4bb5))['join']('');}_0x292503(await _0x369d9c());}(this);}['_toggleSpecialCursor'](_0x510920){this['editor']['editing']['view']['change'](_0x32ee6f=>{for(const _0x2c1c97 of this['editor']['editing']['view']['document']['roots'])_0x510920?_0x32ee6f['addClass'](g,_0x2c1c97):_0x32ee6f['removeClass'](g,_0x2c1c97);});}['_copyFormatting'](){const {editor:_0x205ff2}=this;_0x205ff2['execute'](w),_0x205ff2['ui']['ariaLiveAnnouncer']['announce'](x(_0x205ff2['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3cbc15}=this,_0x2b84bd=_0x3cbc15['commands']['get'](w)['value'];_0x3cbc15['execute'](h,_0x2b84bd),_0x3cbc15['ui']['ariaLiveAnnouncer']['announce'](x(_0x3cbc15['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0xc93e60['window']['document'],'mouseup');}}class L extends _0x3306a2{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{p as CopyFormatCommand,L as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "48.0.0-alpha.
|
|
3
|
+
"version": "48.0.0-alpha.1",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckeditor/ckeditor5-core": "48.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.1",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.1",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.1",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.0.0-alpha.1",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.1",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.1"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|