@ckeditor/ckeditor5-format-painter 48.2.0-alpha.3 → 48.2.0-alpha.4
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
|
-
_0x2fd264(_0x42bd40){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x270c1b=this['editor'];_0x270c1b['editing']['view']['addObserver'](_0x3103d0),_0x270c1b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x270c1b['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x270c1b['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x270c1b['ui']['componentFactory']['add']('formatPainter',_0x39e5c5=>{const _0x429ec4=_0x271c9b(_0x39e5c5,_0x54805f),_0x1c6715=_0x270c1b['commands']['get'](w);_0x429ec4['buttonView']['set']({'label':p(_0x270c1b['locale'],'Paint\x20formatting'),'icon':_0x40c5a0,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x429ec4['class']='ck-format-painter-dropdown',_0x1c6715&&(_0x429ec4['bind']('isEnabled')['to'](_0x1c6715,'isEnabled'),this['listenTo'](_0x1c6715,'change:isEnabled',(_0x1ac7fd,_0x150f3c,_0x3c6ade)=>{_0x3c6ade||this['_finishPainting']();}),_0x429ec4['buttonView']['bind']('isOn')['to'](_0x1c6715,'value',_0x4c1a45=>!!_0x4c1a45),this['listenTo'](_0x270c1b,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x1c6715,'change:value',(_0x5d2da3,_0x2dd996,_0x47dbab)=>{this['_toggleSpecialCursor'](!!_0x47dbab);}));const _0x4f406d=new _0x4a1d7({'withText':!0x0,'label':p(_0x270c1b['locale'],'Continuous\x20painting'),'tooltip':p(_0x270c1b['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x366e79(_0x429ec4,new _0x231fc6([{'type':'switchbutton','model':_0x4f406d}]),{'role':'menu'});const _0x3ca895=()=>{this['_copyFormatting'](),this['listenTo'](_0x2333d2['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4f406d['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x429ec4,'execute',()=>{_0x4f406d['isOn']=!_0x4f406d['isOn'];}),this['listenTo'](_0x429ec4['buttonView'],'execute',()=>{_0x270c1b['editing']['view']['focus'](),_0x429ec4['buttonView']['isOn']?this['_finishPainting']():_0x3ca895();}),_0x270c1b['keystrokes']['set']('Ctrl+Alt+C',(_0x33c89f,_0x46769a)=>{_0x3ca895(),_0x4f406d['isOn']=!0x0,_0x46769a();},{'priority':'high'}),_0x270c1b['keystrokes']['set']('Ctrl+Alt+V',(_0x54583a,_0x404023)=>{_0x429ec4['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4f406d['isOn']||this['_finishPainting'](),_0x404023());},{'priority':'high'}),_0x270c1b['keystrokes']['set']('Esc',(_0x419e57,_0x37f99c)=>{_0x429ec4['buttonView']['isOn']&&(_0x4f406d['isOn']=!0x1,this['_finishPainting'](),_0x270c1b['ui']['ariaLiveAnnouncer']['announce'](p(_0x270c1b['locale'],'Painting\x20cancelled.')),_0x37f99c());}),_0x429ec4;});}['afterInit'](){!async function(_0x50559f){const _0x521ebc=_0x35c7ed([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]),_0x103bcf=0x4597e011,_0x5d37fd=0x45906b99^_0x103bcf,_0x1824db=window[_0x35c7ed([0x44,0x61,0x74,0x65])][_0x35c7ed([0x6e,0x6f,0x77])](),_0x21b6f2=_0x50559f[_0x35c7ed([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15f324=new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d2284=>{_0x21b6f2[_0x35c7ed([0x6f,0x6e,0x63,0x65])](_0x35c7ed([0x72,0x65,0x61,0x64,0x79]),_0x2d2284);}),_0x2ce724={[_0x35c7ed([0x6b,0x74,0x79])]:_0x35c7ed([0x45,0x43]),[_0x35c7ed([0x75,0x73,0x65])]:_0x35c7ed([0x73,0x69,0x67]),[_0x35c7ed([0x63,0x72,0x76])]:_0x35c7ed([0x50,0x2d,0x32,0x35,0x36]),[_0x35c7ed([0x78])]:_0x35c7ed([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]),[_0x35c7ed([0x79])]:_0x35c7ed([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]),[_0x35c7ed([0x61,0x6c,0x67])]:_0x35c7ed([0x45,0x53,0x32,0x35,0x36])},_0xc45cc1=_0x21b6f2[_0x35c7ed([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35c7ed([0x67,0x65,0x74])](_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x875a20(){let _0x1de169,_0x4d2998=null,_0x2f9cfd=null;try{if(_0xc45cc1==_0x35c7ed([0x47,0x50,0x4c]))return _0x35c7ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1de169=_0x344dc2(),!_0x1de169)return _0x35c7ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1de169[_0x35c7ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f9cfd=_0x50ce4f(_0x1de169[_0x35c7ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1de169[_0x35c7ed([0x6a,0x74,0x69])])),await _0x497373()?_0x1477c1()?_0x989a4b()?_0x35c7ed([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x481ef6()?(_0x1de169[_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35c7ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4d2998=_0x95d791(_0x35c7ed([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x421ea8()):_0x35c7ed([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35c7ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35c7ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35c7ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x989a4b(){const _0x5c6e7e=[_0x35c7ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35c7ed([0x74,0x72,0x69,0x61,0x6c])][_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1de169[_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1824db/0x3e8:0xe10*_0x5d37fd;return _0x1de169[_0x35c7ed([0x65,0x78,0x70])]<_0x5c6e7e;}function _0x1477c1(){const _0x981504=_0x1de169[_0x35c7ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x981504&&(!!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x2a]))||(!!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x46,0x50]))||(!!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x50,0x50]))||!(!_0x981504[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x19b723()))));}function _0x481ef6(){const _0x32a81d=_0x1de169[_0x35c7ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32a81d||0x0==_0x32a81d[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31e4c5}=new URL(window[_0x35c7ed([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32a81d[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31e4c5))return!0x0;const _0x3d45d5=_0x31e4c5[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e]));return _0x32a81d[_0x35c7ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x287b62=>_0x287b62[_0x35c7ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c7ed([0x2a])))[_0x35c7ed([0x6d,0x61,0x70])](_0x3ae47a=>_0x3ae47a[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e])))[_0x35c7ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b9f35=>_0x2b9f35[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d45d5[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c7ed([0x6d,0x61,0x70])](_0xf89c8c=>Array(_0x3d45d5[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf89c8c[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c7ed([0x66,0x69,0x6c,0x6c])](_0xf89c8c[0x0]===_0x35c7ed([0x2a])?_0x35c7ed([0x2a]):'')[_0x35c7ed([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf89c8c))[_0x35c7ed([0x73,0x6f,0x6d,0x65])](_0x1151f5=>_0x3d45d5[_0x35c7ed([0x65,0x76,0x65,0x72,0x79])]((_0x4d36c5,_0x256e2e)=>_0x1151f5[_0x256e2e]===_0x4d36c5||_0x1151f5[_0x256e2e]===_0x35c7ed([0x2a])));}function _0x421ea8(){return _0x4d2998&&_0x2f9cfd?new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51060f,_0x83e74)=>{_0x4d2998[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x51060f,_0x83e74),_0x2f9cfd[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x3d7eea=>{_0x3d7eea!=_0x35c7ed([0x56,0x61,0x6c,0x69,0x64])&&_0x51060f(_0x3d7eea);},_0x83e74);}):_0x4d2998||_0x2f9cfd||_0x35c7ed([0x56,0x61,0x6c,0x69,0x64]);}}function _0x50ce4f(_0x1565f6,_0x3f5771){return new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d65ae=>{if(_0x4af9d4())return _0x3d65ae(_0x35c7ed([0x56,0x61,0x6c,0x69,0x64]));_0x2ad9c6(),_0x21b6f2[_0x35c7ed([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35c7ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e9d7c=!0x1;const _0x1e6e49=_0x273b31();function _0x37af57(_0x64338d){return!!_0x64338d&&(typeof _0x64338d===_0x35c7ed([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x64338d===_0x35c7ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x64338d[_0x35c7ed([0x74,0x68,0x65,0x6e])]===_0x35c7ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x64338d[_0x35c7ed([0x63,0x61,0x74,0x63,0x68])]===_0x35c7ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x248de8(_0x248476){_0x591329(_0x248476)[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x526339=>{if(!_0x526339||_0x526339[_0x35c7ed([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35c7ed([0x6f,0x6b]))return _0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4111c1(_0x4e242b(_0x1e6e49+_0x3f5771))!=_0x526339[_0x35c7ed([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35c7ed([0x56,0x61,0x6c,0x69,0x64]);})[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0xd4b301=>(_0x51ae24(),_0xd4b301),()=>{const _0x14f2a4=_0x12564e();return null==_0x14f2a4?(_0x51ae24(),_0x35c7ed([0x56,0x61,0x6c,0x69,0x64])):_0x35c7ed(_0x1824db-_0x14f2a4>(0x619b6411^_0x103bcf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x3d65ae)[_0x35c7ed([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d65ae(_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x29c7db=0x45a10e91^_0x103bcf;function _0x51ae24(){const _0x557b15=_0x35c7ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x4111c1(_0x4e242b(_0x1565f6)),_0x10d15b=_0x216247(_0x4111c1(window[_0x35c7ed([0x4d,0x61,0x74,0x68])][_0x35c7ed([0x63,0x65,0x69,0x6c])](_0x1824db/_0x29c7db)));window[_0x35c7ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c7ed([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x557b15,_0x10d15b);}function _0x12564e(){const _0x375c4a=_0x35c7ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x4111c1(_0x4e242b(_0x1565f6)),_0x5800d8=window[_0x35c7ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c7ed([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x375c4a);return _0x5800d8?window[_0x35c7ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x216247(_0x5800d8),0x10)*_0x29c7db:null;}function _0x591329(_0x44b8a1){return new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x332696,_0x16efe4)=>{_0x44b8a1[_0x35c7ed([0x74,0x68,0x65,0x6e])](_0x332696,_0x16efe4),window[_0x35c7ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16efe4,0x459634d1^_0x103bcf);});}}_0x21b6f2[_0x35c7ed([0x6f,0x6e])](_0x35c7ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15e560,_0x69fec1)=>{if(_0x69fec1[0x0]!=_0x1565f6)return _0x3d65ae(_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x69fec1[0x1]={..._0x69fec1[0x1],[_0x35c7ed([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e6e49};},{[_0x35c7ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c7ed([0x68,0x69,0x67,0x68])}),_0x21b6f2[_0x35c7ed([0x6f,0x6e])](_0x35c7ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c6e0a=>{_0x37af57(_0x1c6e0a[_0x35c7ed([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e9d7c=!0x0,_0x248de8(_0x1c6e0a[_0x35c7ed([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35c7ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c7ed([0x6c,0x6f,0x77])}),_0x15f324[_0x35c7ed([0x74,0x68,0x65,0x6e])](()=>{_0x3e9d7c||_0x3d65ae(_0x35c7ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4af9d4(){return _0x21b6f2[_0x35c7ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c7ed([0x76,0x69,0x65,0x77])][_0x35c7ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35c7ed([0x61,0x75,0x74,0x6f]);}function _0x2ad9c6(){_0x21b6f2[_0x35c7ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c7ed([0x76,0x69,0x65,0x77])][_0x35c7ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35c7ed([0x61,0x75,0x74,0x6f]);}}function _0x95d791(_0x5217fc){const _0x59546a=[new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24a9b1=>setTimeout(_0x24a9b1,0x459ededd^_0x103bcf)),_0x15f324[_0x35c7ed([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107d83=>{let _0x348dae=0x0;_0x21b6f2[_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c7ed([0x6f,0x6e])](_0x35c7ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x566e52,_0x411794)=>{_0x411794[0x0][_0x35c7ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x348dae++,_0x348dae==(0x4597e5f9^_0x103bcf)&&(_0x107d83(),_0x566e52[_0x35c7ed([0x6f,0x66,0x66])]());});}))];return window[_0x35c7ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35c7ed([0x72,0x61,0x63,0x65])](_0x59546a)[_0x35c7ed([0x74,0x68,0x65,0x6e])](()=>_0x5217fc);}async function _0x82ac85(){await _0x15f324,_0x21b6f2[_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c7ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26208c,_0x21b6f2[_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c7ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26208c,_0x21b6f2[_0x35c7ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35c7ed([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19b723(){return window[_0x35c7ed([0x67,0x6c,0x6f,0x62])]&&window[_0x35c7ed([0x67,0x6c,0x6f,0x62])][_0x35c7ed([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1ba9bd(_0xb6b364){const _0x10dc02=_0x4408e1();_0x21b6f2[_0x10dc02]=_0x35c7ed([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb6b364,_0xb6b364!=_0x35c7ed([0x56,0x61,0x6c,0x69,0x64])&&_0x82ac85();}function _0x4408e1(){const _0x4c6302=window[_0x35c7ed([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35c7ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35c7ed([0x6e,0x6f,0x77])]())[_0x35c7ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35c7ed([0x2e]),'');let _0x1fbd08=_0x35c7ed([0x51]);for(let _0x59ea69=0x0;_0x59ea69<_0x4c6302[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ea69+=0x2){let _0x3eb184=window[_0x35c7ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c6302[_0x35c7ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59ea69,_0x59ea69+0x2));_0x3eb184>=_0x521ebc[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3eb184-=_0x521ebc[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fbd08+=_0x521ebc[_0x3eb184];}return _0x1fbd08;}function _0x344dc2(){const _0x38d5f0=_0xc45cc1[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e]));if(0x3!=_0x38d5f0[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x141468(_0x38d5f0[0x1]);function _0x141468(_0x4cea15){const _0x30d9c3=_0x99204b(_0x4cea15);return _0x30d9c3&&_0x18f9b2()?_0x30d9c3:null;function _0x18f9b2(){const _0x2b0186=_0x30d9c3[_0x35c7ed([0x6a,0x74,0x69])],_0x2b07e2=window[_0x35c7ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b0186[_0x35c7ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b0186[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x547acb={..._0x30d9c3,[_0x35c7ed([0x6a,0x74,0x69])]:_0x2b0186[_0x35c7ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b0186[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x547acb[_0x35c7ed([0x76,0x63])],_0x4e242b(_0x547acb)==_0x2b07e2;}}}async function _0x497373(){let _0x3abacd=!0x0;try{const _0x563df1=_0xc45cc1[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])](_0x35c7ed([0x2e])),[_0x22130e,_0x55acd4,_0x1e44c8]=_0x563df1;return _0x88493(_0x22130e),await _0x183d38(_0x22130e,_0x55acd4,_0x1e44c8),_0x3abacd;}catch{return!0x1;}function _0x88493(_0x309c78){const _0x4fa4f9=_0x99204b(_0x309c78);_0x4fa4f9&&_0x4fa4f9[_0x35c7ed([0x61,0x6c,0x67])]==_0x35c7ed([0x45,0x53,0x32,0x35,0x36])||(_0x3abacd=!0x1);}async function _0x183d38(_0x26f3d4,_0x108745,_0x4ef787){const _0x560449=window[_0x35c7ed([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35c7ed([0x66,0x72,0x6f,0x6d])](_0x51a7fc(_0x4ef787),_0x50b1aa=>_0x50b1aa[_0x35c7ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1aebb0=new window[(_0x35c7ed([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35c7ed([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26f3d4+_0x35c7ed([0x2e])+_0x108745),_0xd0453c=window[_0x35c7ed([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35c7ed([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd0453c)return;const _0x5afa1b=await _0xd0453c[_0x35c7ed([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35c7ed([0x6a,0x77,0x6b]),_0x2ce724,{[_0x35c7ed([0x6e,0x61,0x6d,0x65])]:_0x35c7ed([0x45,0x43,0x44,0x53,0x41]),[_0x35c7ed([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35c7ed([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35c7ed([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd0453c[_0x35c7ed([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35c7ed([0x6e,0x61,0x6d,0x65])]:_0x35c7ed([0x45,0x43,0x44,0x53,0x41]),[_0x35c7ed([0x68,0x61,0x73,0x68])]:{[_0x35c7ed([0x6e,0x61,0x6d,0x65])]:_0x35c7ed([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5afa1b,_0x560449,_0x1aebb0)||(_0x3abacd=!0x1);}}function _0x99204b(_0x32e5ce){return _0x32e5ce[_0x35c7ed([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35c7ed([0x65,0x79]))?JSON[_0x35c7ed([0x70,0x61,0x72,0x73,0x65])](_0x51a7fc(_0x32e5ce)):null;}function _0x51a7fc(_0x3ff2b4){return window[_0x35c7ed([0x61,0x74,0x6f,0x62])](_0x3ff2b4[_0x35c7ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35c7ed([0x2b]))[_0x35c7ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35c7ed([0x2f])));}function _0x4e242b(_0x57895e){let _0x34fe9e=0x1505;function _0x4a649e(_0x3d5ef8){for(let _0x59b62c=0x0;_0x59b62c<_0x3d5ef8[_0x35c7ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59b62c++){const _0x56298f=_0x3d5ef8[_0x35c7ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59b62c);_0x34fe9e=(_0x34fe9e<<0x5)+_0x34fe9e+_0x56298f,_0x34fe9e&=_0x34fe9e;}}function _0x4e1213(_0x4f7b49){Array[_0x35c7ed([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f7b49)?_0x4f7b49[_0x35c7ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4e1213):_0x4f7b49&&typeof _0x4f7b49==_0x35c7ed([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35c7ed([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f7b49)[_0x35c7ed([0x73,0x6f,0x72,0x74])]()[_0x35c7ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x314d07,_0x5a4354])=>{_0x4a649e(_0x314d07),_0x4e1213(_0x5a4354);}):_0x4a649e(window[_0x35c7ed([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f7b49));}return _0x4e1213(_0x57895e),_0x34fe9e>>>0x0;}function _0x4111c1(_0x279cb7){return _0x279cb7[_0x35c7ed([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35c7ed([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35c7ed([0x30]));}function _0x216247(_0x113af5){return _0x113af5[_0x35c7ed([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35c7ed([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35c7ed([0x6a,0x6f,0x69,0x6e])]('');}function _0x26208c(){}function _0x35c7ed(_0x262da4){return _0x262da4['map'](_0x2d500a=>String['fromCharCode'](_0x2d500a))['join']('');}_0x1ba9bd(await _0x875a20());}(this);}['_toggleSpecialCursor'](_0x56c148){this['editor']['editing']['view']['change'](_0x1e7190=>{for(const _0x3fe25d of this['editor']['editing']['view']['document']['roots'])_0x56c148?_0x1e7190['addClass'](h,_0x3fe25d):_0x1e7190['removeClass'](h,_0x3fe25d);});}['_copyFormatting'](){const {editor:_0x5c1e26}=this;_0x5c1e26['execute'](w),_0x5c1e26['ui']['ariaLiveAnnouncer']['announce'](p(_0x5c1e26['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x446222}=this,_0x2fb851=_0x446222['commands']['get'](w)['value'];_0x446222['execute'](g,_0x2fb851),_0x446222['ui']['ariaLiveAnnouncer']['announce'](p(_0x446222['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x2333d2['window']['document'],'mouseup');}}class FormatPainter extends _0x42bd40{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
|
|
23
|
+
import{Command as _0x146492,Plugin as _0x14c244}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x20fb50}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x362eb9,SplitButtonView as _0x563775,UIModel as _0x1838be,addListToDropdown as _0x150ca6}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x5f4588,Collection as _0x4566cb,global as _0x1e9561,uid as _0x35327c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x5a4c91}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x58d117}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class CopyFormatCommand extends _0x146492{constructor(_0xadc0f3){super(_0xadc0f3),this['value']=void 0x0,this['on']('change:isEnabled',(_0xfa8e58,_0x1c605e,_0x2d0ee0)=>{_0x2d0ee0||this['reset']();}),this['on']('change:value',()=>_0xadc0f3['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x5384fe=this['editor']['model'],_0x2f6c84=_0x5384fe['document']['selection'];return Object['fromEntries'](Array['from'](_0x2f6c84['getAttributes']())['filter'](([_0x15e266])=>_0x5384fe['schema']['getAttributeProperties'](_0x15e266)['isFormatting']));}}class PasteFormatCommand extends _0x146492{constructor(_0x430e9b){super(_0x430e9b),this['_removeFormatCommand']=new _0x20fb50(_0x430e9b);}['execute'](_0xc44a4={}){const _0x4d51d5=this['editor']['model'],_0x52729c=_0x4d51d5['document']['selection'],_0xbd0ff2=Array['from'](_0x52729c['getRanges']()),_0xa9fedc=_0x52729c['isCollapsed']?[this['_createRangeOnEntireWord'](_0x4d51d5,_0x52729c)]:_0xbd0ff2;_0x4d51d5['change'](_0x26ab8f=>{_0x26ab8f['setSelection'](_0xa9fedc),this['_removeFormatCommand']['execute']();for(const _0x1dc691 in _0xc44a4)for(const _0x1db806 of _0x4d51d5['schema']['getValidRanges'](_0xa9fedc,_0x1dc691))_0x26ab8f['setAttribute'](_0x1dc691,_0xc44a4[_0x1dc691],_0x1db806);_0x26ab8f['setSelection'](_0xbd0ff2);});}['_createRangeOnEntireWord'](_0x31e810,_0x520763){const _0x9ad90a=_0x31e810['createSelection'](_0x520763);_0x31e810['modifySelection'](_0x9ad90a,{'unit':'word','direction':'backward'});const _0x5d13de=_0x9ad90a['getFirstPosition']();_0x31e810['modifySelection'](_0x9ad90a,{'unit':'word','direction':'forward'});const _0x5093ed=_0x9ad90a['getLastPosition']();return _0x31e810['createRange'](_0x5d13de,_0x5093ed);}}class FormatPainterEditing extends _0x14c244{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x59ebdd=this['editor'];_0x59ebdd['commands']['add'](w,new CopyFormatCommand(_0x59ebdd)),_0x59ebdd['commands']['add'](g,new PasteFormatCommand(_0x59ebdd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x316262=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e5997;for(const _0x36b76a in _0x316262){const _0x3ba37d=_0x36b76a,_0x4b0683=_0x316262[_0x3ba37d];if('formatPainterLicenseKeyValid'==_0x4b0683||'formatPainterLicenseKeyInvalid'==_0x4b0683||'formatPainterLicenseKeyExpired'==_0x4b0683||'formatPainterLicenseKeyDomainLimit'==_0x4b0683||'formatPainterLicenseKeyNotAllowed'==_0x4b0683||'formatPainterLicenseKeyEvaluationLimit'==_0x4b0683||'formatPainterLicenseKeyUsageLimit'==_0x4b0683){delete _0x316262[_0x3ba37d],_0x2e5997=_0x4b0683,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x2e5997&&_0x316262['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x2e5997&&_0x316262['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x2e5997&&_0x316262['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x2e5997&&_0x316262['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x2e5997&&_0x316262['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x2e5997&&_0x316262['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function p(_0x56435d,_0x4e3679){const t=_0x56435d['t'];switch(_0x4e3679){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.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x4e3679;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5f4588(_0x14c244){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3e5786=this['editor'];_0x3e5786['editing']['view']['addObserver'](_0x5a4c91),_0x3e5786['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':p(_0x3e5786['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':p(_0x3e5786['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3e5786['ui']['componentFactory']['add']('formatPainter',_0x362fe7=>{const _0x562935=_0x362eb9(_0x362fe7,_0x563775),_0x90aca5=_0x3e5786['commands']['get'](w);_0x562935['buttonView']['set']({'label':p(_0x3e5786['locale'],'Paint\x20formatting'),'icon':_0x58d117,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x562935['class']='ck-format-painter-dropdown',_0x90aca5&&(_0x562935['bind']('isEnabled')['to'](_0x90aca5,'isEnabled'),this['listenTo'](_0x90aca5,'change:isEnabled',(_0x49eeb0,_0x3959ef,_0x1a11d2)=>{_0x1a11d2||this['_finishPainting']();}),_0x562935['buttonView']['bind']('isOn')['to'](_0x90aca5,'value',_0x2c9c18=>!!_0x2c9c18),this['listenTo'](_0x3e5786,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x90aca5,'change:value',(_0xa7af6d,_0xe8b898,_0xcb06d3)=>{this['_toggleSpecialCursor'](!!_0xcb06d3);}));const _0x577c36=new _0x1838be({'withText':!0x0,'label':p(_0x3e5786['locale'],'Continuous\x20painting'),'tooltip':p(_0x3e5786['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x150ca6(_0x562935,new _0x4566cb([{'type':'switchbutton','model':_0x577c36}]),{'role':'menu'});const _0x321883=()=>{this['_copyFormatting'](),this['listenTo'](_0x1e9561['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x577c36['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x562935,'execute',()=>{_0x577c36['isOn']=!_0x577c36['isOn'];}),this['listenTo'](_0x562935['buttonView'],'execute',()=>{_0x3e5786['editing']['view']['focus'](),_0x562935['buttonView']['isOn']?this['_finishPainting']():_0x321883();}),_0x3e5786['keystrokes']['set']('Ctrl+Alt+C',(_0x164190,_0x39e922)=>{_0x321883(),_0x577c36['isOn']=!0x0,_0x39e922();},{'priority':'high'}),_0x3e5786['keystrokes']['set']('Ctrl+Alt+V',(_0x38f374,_0x351da5)=>{_0x562935['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x577c36['isOn']||this['_finishPainting'](),_0x351da5());},{'priority':'high'}),_0x3e5786['keystrokes']['set']('Esc',(_0x4f352d,_0x5937f2)=>{_0x562935['buttonView']['isOn']&&(_0x577c36['isOn']=!0x1,this['_finishPainting'](),_0x3e5786['ui']['ariaLiveAnnouncer']['announce'](p(_0x3e5786['locale'],'Painting\x20cancelled.')),_0x5937f2());}),_0x562935;});}['afterInit'](){!async function(_0x39afd3){const _0x43a214=_0x5d9a5b([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]),_0x51ca0f=0x4597e011,_0x4c6da6=0x45906bb1^_0x51ca0f,_0x3d3ffb=window[_0x5d9a5b([0x44,0x61,0x74,0x65])][_0x5d9a5b([0x6e,0x6f,0x77])](),_0x1f731c=_0x39afd3[_0x5d9a5b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1f45a4=new window[(_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36efd2=>{_0x1f731c[_0x5d9a5b([0x6f,0x6e,0x63,0x65])](_0x5d9a5b([0x72,0x65,0x61,0x64,0x79]),_0x36efd2);}),_0x198c64={[_0x5d9a5b([0x6b,0x74,0x79])]:_0x5d9a5b([0x45,0x43]),[_0x5d9a5b([0x75,0x73,0x65])]:_0x5d9a5b([0x73,0x69,0x67]),[_0x5d9a5b([0x63,0x72,0x76])]:_0x5d9a5b([0x50,0x2d,0x32,0x35,0x36]),[_0x5d9a5b([0x78])]:_0x5d9a5b([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]),[_0x5d9a5b([0x79])]:_0x5d9a5b([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]),[_0x5d9a5b([0x61,0x6c,0x67])]:_0x5d9a5b([0x45,0x53,0x32,0x35,0x36])},_0x25e961=_0x1f731c[_0x5d9a5b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d9a5b([0x67,0x65,0x74])](_0x5d9a5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x377b7c(){let _0x59b700,_0x53bffc=null,_0x5132ec=null;try{if(_0x25e961==_0x5d9a5b([0x47,0x50,0x4c]))return _0x5d9a5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x59b700=_0x5c682b(),!_0x59b700)return _0x5d9a5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x59b700[_0x5d9a5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5132ec=_0x18f1f6(_0x59b700[_0x5d9a5b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x59b700[_0x5d9a5b([0x6a,0x74,0x69])])),await _0x1f0ffe()?_0x7d25ff()?_0x4f4c51()?_0x5d9a5b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x41f59f()?(_0x59b700[_0x5d9a5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d9a5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53bffc=_0x2401e3(_0x5d9a5b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3106ef()):_0x5d9a5b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d9a5b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d9a5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d9a5b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f4c51(){const _0x5d41df=[_0x5d9a5b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d9a5b([0x74,0x72,0x69,0x61,0x6c])][_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59b700[_0x5d9a5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d3ffb/0x3e8:0xe10*_0x4c6da6;return _0x59b700[_0x5d9a5b([0x65,0x78,0x70])]<_0x5d41df;}function _0x7d25ff(){const _0x5c44e6=_0x59b700[_0x5d9a5b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c44e6&&(!!_0x5c44e6[_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9a5b([0x2a]))||(!!_0x5c44e6[_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9a5b([0x46,0x50]))||(!!_0x5c44e6[_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9a5b([0x50,0x50]))||!(!_0x5c44e6[_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9a5b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x440d62()))));}function _0x41f59f(){const _0x6c54b4=_0x59b700[_0x5d9a5b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6c54b4||0x0==_0x6c54b4[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x425f10}=new URL(window[_0x5d9a5b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6c54b4[_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x425f10))return!0x0;const _0x5ea95f=_0x425f10[_0x5d9a5b([0x73,0x70,0x6c,0x69,0x74])](_0x5d9a5b([0x2e]));return _0x6c54b4[_0x5d9a5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21b348=>_0x21b348[_0x5d9a5b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d9a5b([0x2a])))[_0x5d9a5b([0x6d,0x61,0x70])](_0x580ea5=>_0x580ea5[_0x5d9a5b([0x73,0x70,0x6c,0x69,0x74])](_0x5d9a5b([0x2e])))[_0x5d9a5b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9af0f4=>_0x9af0f4[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5ea95f[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d9a5b([0x6d,0x61,0x70])](_0x53c1a1=>Array(_0x5ea95f[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53c1a1[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d9a5b([0x66,0x69,0x6c,0x6c])](_0x53c1a1[0x0]===_0x5d9a5b([0x2a])?_0x5d9a5b([0x2a]):'')[_0x5d9a5b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53c1a1))[_0x5d9a5b([0x73,0x6f,0x6d,0x65])](_0x1bbfff=>_0x5ea95f[_0x5d9a5b([0x65,0x76,0x65,0x72,0x79])]((_0x75b8ee,_0x559ad5)=>_0x1bbfff[_0x559ad5]===_0x75b8ee||_0x1bbfff[_0x559ad5]===_0x5d9a5b([0x2a])));}function _0x3106ef(){return _0x53bffc&&_0x5132ec?new window[(_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9edfc1,_0x333432)=>{_0x53bffc[_0x5d9a5b([0x74,0x68,0x65,0x6e])](_0x9edfc1,_0x333432),_0x5132ec[_0x5d9a5b([0x74,0x68,0x65,0x6e])](_0x5158e3=>{_0x5158e3!=_0x5d9a5b([0x56,0x61,0x6c,0x69,0x64])&&_0x9edfc1(_0x5158e3);},_0x333432);}):_0x53bffc||_0x5132ec||_0x5d9a5b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x18f1f6(_0x561338,_0x467d4d){return new window[(_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9209=>{if(_0x1b38b7())return _0x1d9209(_0x5d9a5b([0x56,0x61,0x6c,0x69,0x64]));_0x59238b(),_0x1f731c[_0x5d9a5b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d9a5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x455591=!0x1;const _0x2c6979=_0x35327c();function _0x238272(_0x4b0c04){return!!_0x4b0c04&&(typeof _0x4b0c04===_0x5d9a5b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b0c04===_0x5d9a5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b0c04[_0x5d9a5b([0x74,0x68,0x65,0x6e])]===_0x5d9a5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b0c04[_0x5d9a5b([0x63,0x61,0x74,0x63,0x68])]===_0x5d9a5b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18f65f(_0x121d24){_0x346805(_0x121d24)[_0x5d9a5b([0x74,0x68,0x65,0x6e])](_0x4b0c73=>{if(!_0x4b0c73||_0x4b0c73[_0x5d9a5b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d9a5b([0x6f,0x6b]))return _0x5d9a5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e9d8d(_0x3bea72(_0x2c6979+_0x467d4d))!=_0x4b0c73[_0x5d9a5b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d9a5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d9a5b([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d9a5b([0x74,0x68,0x65,0x6e])](_0x30aad4=>(_0x4bfecb(),_0x30aad4),()=>{const _0x5ba07b=_0x2d35a9();return null==_0x5ba07b?(_0x4bfecb(),_0x5d9a5b([0x56,0x61,0x6c,0x69,0x64])):_0x5d9a5b(_0x3d3ffb-_0x5ba07b>(0x619b6411^_0x51ca0f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d9a5b([0x74,0x68,0x65,0x6e])](_0x1d9209)[_0x5d9a5b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1d9209(_0x5d9a5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ddb47=0x45a10e91^_0x51ca0f;function _0x4bfecb(){const _0x3f197d=_0x5d9a5b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e9d8d(_0x3bea72(_0x561338)),_0x8d22d6=_0x2a27f7(_0x3e9d8d(window[_0x5d9a5b([0x4d,0x61,0x74,0x68])][_0x5d9a5b([0x63,0x65,0x69,0x6c])](_0x3d3ffb/_0x4ddb47)));window[_0x5d9a5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d9a5b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f197d,_0x8d22d6);}function _0x2d35a9(){const _0x38feeb=_0x5d9a5b([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e9d8d(_0x3bea72(_0x561338)),_0x3c76f7=window[_0x5d9a5b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d9a5b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38feeb);return _0x3c76f7?window[_0x5d9a5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a27f7(_0x3c76f7),0x10)*_0x4ddb47:null;}function _0x346805(_0x4c2d6f){return new window[(_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a3a8f,_0xd99e8d)=>{_0x4c2d6f[_0x5d9a5b([0x74,0x68,0x65,0x6e])](_0x2a3a8f,_0xd99e8d),window[_0x5d9a5b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd99e8d,0x459634d1^_0x51ca0f);});}}_0x1f731c[_0x5d9a5b([0x6f,0x6e])](_0x5d9a5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18c52d,_0x5d2732)=>{if(_0x5d2732[0x0]!=_0x561338)return _0x1d9209(_0x5d9a5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d2732[0x1]={..._0x5d2732[0x1],[_0x5d9a5b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c6979};},{[_0x5d9a5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d9a5b([0x68,0x69,0x67,0x68])}),_0x1f731c[_0x5d9a5b([0x6f,0x6e])](_0x5d9a5b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x416761=>{_0x238272(_0x416761[_0x5d9a5b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x455591=!0x0,_0x18f65f(_0x416761[_0x5d9a5b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d9a5b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d9a5b([0x6c,0x6f,0x77])}),_0x1f45a4[_0x5d9a5b([0x74,0x68,0x65,0x6e])](()=>{_0x455591||_0x1d9209(_0x5d9a5b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b38b7(){return _0x1f731c[_0x5d9a5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d9a5b([0x76,0x69,0x65,0x77])][_0x5d9a5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d9a5b([0x61,0x75,0x74,0x6f]);}function _0x59238b(){_0x1f731c[_0x5d9a5b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d9a5b([0x76,0x69,0x65,0x77])][_0x5d9a5b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d9a5b([0x61,0x75,0x74,0x6f]);}}function _0x2401e3(_0x4ddf92){const _0x5a4f9f=[new window[(_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x450a38=>setTimeout(_0x450a38,0x459ededd^_0x51ca0f)),_0x1f45a4[_0x5d9a5b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x441ed1=>{let _0x3bc571=0x0;_0x1f731c[_0x5d9a5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d9a5b([0x6f,0x6e])](_0x5d9a5b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xfe37ec,_0x3af74b)=>{_0x3af74b[0x0][_0x5d9a5b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3bc571++,_0x3bc571==(0x4597e5f9^_0x51ca0f)&&(_0x441ed1(),_0xfe37ec[_0x5d9a5b([0x6f,0x66,0x66])]());});}))];return window[_0x5d9a5b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d9a5b([0x72,0x61,0x63,0x65])](_0x5a4f9f)[_0x5d9a5b([0x74,0x68,0x65,0x6e])](()=>_0x4ddf92);}async function _0x3c6663(){await _0x1f45a4,_0x1f731c[_0x5d9a5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d9a5b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x430506,_0x1f731c[_0x5d9a5b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d9a5b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x430506,_0x1f731c[_0x5d9a5b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d9a5b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x440d62(){return window[_0x5d9a5b([0x67,0x6c,0x6f,0x62])]&&window[_0x5d9a5b([0x67,0x6c,0x6f,0x62])][_0x5d9a5b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x46df82(_0x4e6878){const _0x267edc=_0x4298c8();_0x1f731c[_0x267edc]=_0x5d9a5b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e6878,_0x4e6878!=_0x5d9a5b([0x56,0x61,0x6c,0x69,0x64])&&_0x3c6663();}function _0x4298c8(){const _0x41f71e=window[_0x5d9a5b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d9a5b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d9a5b([0x6e,0x6f,0x77])]())[_0x5d9a5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d9a5b([0x2e]),'');let _0x5cbc7c=_0x5d9a5b([0x51]);for(let _0x70d99b=0x0;_0x70d99b<_0x41f71e[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x70d99b+=0x2){let _0x37a53a=window[_0x5d9a5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41f71e[_0x5d9a5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x70d99b,_0x70d99b+0x2));_0x37a53a>=_0x43a214[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37a53a-=_0x43a214[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cbc7c+=_0x43a214[_0x37a53a];}return _0x5cbc7c;}function _0x5c682b(){const _0xc5f5b0=_0x25e961[_0x5d9a5b([0x73,0x70,0x6c,0x69,0x74])](_0x5d9a5b([0x2e]));if(0x3!=_0xc5f5b0[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15a233(_0xc5f5b0[0x1]);function _0x15a233(_0x5660e5){const _0x57caf9=_0x96a428(_0x5660e5);return _0x57caf9&&_0x1ff817()?_0x57caf9:null;function _0x1ff817(){const _0xcacc34=_0x57caf9[_0x5d9a5b([0x6a,0x74,0x69])],_0x2b8374=window[_0x5d9a5b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcacc34[_0x5d9a5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcacc34[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bfec8={..._0x57caf9,[_0x5d9a5b([0x6a,0x74,0x69])]:_0xcacc34[_0x5d9a5b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xcacc34[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bfec8[_0x5d9a5b([0x76,0x63])],_0x3bea72(_0x4bfec8)==_0x2b8374;}}}async function _0x1f0ffe(){let _0x2a20e1=!0x0;try{const _0x3a06a1=_0x25e961[_0x5d9a5b([0x73,0x70,0x6c,0x69,0x74])](_0x5d9a5b([0x2e])),[_0x1d9df9,_0x227f47,_0x20f7d7]=_0x3a06a1;return _0x2fa963(_0x1d9df9),await _0x4784ef(_0x1d9df9,_0x227f47,_0x20f7d7),_0x2a20e1;}catch{return!0x1;}function _0x2fa963(_0x112e30){const _0x1217e6=_0x96a428(_0x112e30);_0x1217e6&&_0x1217e6[_0x5d9a5b([0x61,0x6c,0x67])]==_0x5d9a5b([0x45,0x53,0x32,0x35,0x36])||(_0x2a20e1=!0x1);}async function _0x4784ef(_0x5c1646,_0x563cae,_0x1f77f0){const _0x2a83fc=window[_0x5d9a5b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d9a5b([0x66,0x72,0x6f,0x6d])](_0x5a4eec(_0x1f77f0),_0x48da21=>_0x48da21[_0x5d9a5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a8f64=new window[(_0x5d9a5b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d9a5b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c1646+_0x5d9a5b([0x2e])+_0x563cae),_0x11e1e6=window[_0x5d9a5b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d9a5b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x11e1e6)return;const _0x424a9c=await _0x11e1e6[_0x5d9a5b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d9a5b([0x6a,0x77,0x6b]),_0x198c64,{[_0x5d9a5b([0x6e,0x61,0x6d,0x65])]:_0x5d9a5b([0x45,0x43,0x44,0x53,0x41]),[_0x5d9a5b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d9a5b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d9a5b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x11e1e6[_0x5d9a5b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d9a5b([0x6e,0x61,0x6d,0x65])]:_0x5d9a5b([0x45,0x43,0x44,0x53,0x41]),[_0x5d9a5b([0x68,0x61,0x73,0x68])]:{[_0x5d9a5b([0x6e,0x61,0x6d,0x65])]:_0x5d9a5b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x424a9c,_0x2a83fc,_0x4a8f64)||(_0x2a20e1=!0x1);}}function _0x96a428(_0x595ef5){return _0x595ef5[_0x5d9a5b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d9a5b([0x65,0x79]))?JSON[_0x5d9a5b([0x70,0x61,0x72,0x73,0x65])](_0x5a4eec(_0x595ef5)):null;}function _0x5a4eec(_0x53ef20){return window[_0x5d9a5b([0x61,0x74,0x6f,0x62])](_0x53ef20[_0x5d9a5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d9a5b([0x2b]))[_0x5d9a5b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d9a5b([0x2f])));}function _0x3bea72(_0x39e48f){let _0x21280c=0x1505;function _0x31c448(_0x25b302){for(let _0x1b95d8=0x0;_0x1b95d8<_0x25b302[_0x5d9a5b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b95d8++){const _0xc69298=_0x25b302[_0x5d9a5b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b95d8);_0x21280c=(_0x21280c<<0x5)+_0x21280c+_0xc69298,_0x21280c&=_0x21280c;}}function _0x21ce2f(_0x9dfa0d){Array[_0x5d9a5b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9dfa0d)?_0x9dfa0d[_0x5d9a5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21ce2f):_0x9dfa0d&&typeof _0x9dfa0d==_0x5d9a5b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d9a5b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9dfa0d)[_0x5d9a5b([0x73,0x6f,0x72,0x74])]()[_0x5d9a5b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2adbc0,_0x113d1c])=>{_0x31c448(_0x2adbc0),_0x21ce2f(_0x113d1c);}):_0x31c448(window[_0x5d9a5b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9dfa0d));}return _0x21ce2f(_0x39e48f),_0x21280c>>>0x0;}function _0x3e9d8d(_0x55da32){return _0x55da32[_0x5d9a5b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d9a5b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d9a5b([0x30]));}function _0x2a27f7(_0x456354){return _0x456354[_0x5d9a5b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d9a5b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d9a5b([0x6a,0x6f,0x69,0x6e])]('');}function _0x430506(){}function _0x5d9a5b(_0x1b1fed){return _0x1b1fed['map'](_0x28d5d4=>String['fromCharCode'](_0x28d5d4))['join']('');}_0x46df82(await _0x377b7c());}(this);}['_toggleSpecialCursor'](_0x418853){this['editor']['editing']['view']['change'](_0x29749a=>{for(const _0x4df916 of this['editor']['editing']['view']['document']['roots'])_0x418853?_0x29749a['addClass'](h,_0x4df916):_0x29749a['removeClass'](h,_0x4df916);});}['_copyFormatting'](){const {editor:_0xe43b52}=this;_0xe43b52['execute'](w),_0xe43b52['ui']['ariaLiveAnnouncer']['announce'](p(_0xe43b52['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x527e8d}=this,_0x293ef8=_0x527e8d['commands']['get'](w)['value'];_0x527e8d['execute'](g,_0x293ef8),_0x527e8d['ui']['ariaLiveAnnouncer']['announce'](p(_0x527e8d['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x1e9561['window']['document'],'mouseup');}}class FormatPainter extends _0x14c244{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{CopyFormatCommand,FormatPainter,FormatPainterEditing,FormatPainterUI,PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "48.2.0-alpha.
|
|
3
|
+
"version": "48.2.0-alpha.4",
|
|
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.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.2.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.4",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.4",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.2.0-alpha.4",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.4",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.4"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|