@ckeditor/ckeditor5-format-painter 48.1.0-alpha.3 → 48.1.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
|
-
_0x16bae4(_0x3a9e37){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x316eb7=this['editor'];_0x316eb7['editing']['view']['addObserver'](_0x8ebd33),_0x316eb7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x316eb7['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x316eb7['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x316eb7['ui']['componentFactory']['add']('formatPainter',_0x1e2288=>{const _0x38dc39=_0x1e193c(_0x1e2288,_0x570626),_0x284f0f=_0x316eb7['commands']['get'](w);_0x38dc39['buttonView']['set']({'label':x(_0x316eb7['locale'],'Paint\x20formatting'),'icon':_0x332d49,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x38dc39['class']='ck-format-painter-dropdown',_0x284f0f&&(_0x38dc39['bind']('isEnabled')['to'](_0x284f0f,'isEnabled'),this['listenTo'](_0x284f0f,'change:isEnabled',(_0x167de7,_0x63205c,_0xb08e09)=>{_0xb08e09||this['_finishPainting']();}),_0x38dc39['buttonView']['bind']('isOn')['to'](_0x284f0f,'value',_0x347b97=>!!_0x347b97),this['listenTo'](_0x316eb7,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x284f0f,'change:value',(_0x1a13e9,_0x2b8991,_0x2af5be)=>{this['_toggleSpecialCursor'](!!_0x2af5be);}));const _0x26bf9d=new _0x483af2({'withText':!0x0,'label':x(_0x316eb7['locale'],'Continuous\x20painting'),'tooltip':x(_0x316eb7['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x7cb4a3(_0x38dc39,new _0x2b1688([{'type':'switchbutton','model':_0x26bf9d}]),{'role':'menu'});const _0x2e62e7=()=>{this['_copyFormatting'](),this['listenTo'](_0x5a13ad['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x26bf9d['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x38dc39,'execute',()=>{_0x26bf9d['isOn']=!_0x26bf9d['isOn'];}),this['listenTo'](_0x38dc39['buttonView'],'execute',()=>{_0x316eb7['editing']['view']['focus'](),_0x38dc39['buttonView']['isOn']?this['_finishPainting']():_0x2e62e7();}),_0x316eb7['keystrokes']['set']('Ctrl+Alt+C',(_0x43edfb,_0x2c7959)=>{_0x2e62e7(),_0x26bf9d['isOn']=!0x0,_0x2c7959();},{'priority':'high'}),_0x316eb7['keystrokes']['set']('Ctrl+Alt+V',(_0xc25b8c,_0x112489)=>{_0x38dc39['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x26bf9d['isOn']||this['_finishPainting'](),_0x112489());},{'priority':'high'}),_0x316eb7['keystrokes']['set']('Esc',(_0x55754f,_0x301dc5)=>{_0x38dc39['buttonView']['isOn']&&(_0x26bf9d['isOn']=!0x1,this['_finishPainting'](),_0x316eb7['ui']['ariaLiveAnnouncer']['announce'](x(_0x316eb7['locale'],'Painting\x20cancelled.')),_0x301dc5());}),_0x38dc39;});}['afterInit'](){!async function(_0x23b3bf){const _0x399db7=_0x3a467f([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]),_0x313657=0x4597e011,_0x1d85bf=0x45906981^_0x313657,_0x5c1995=window[_0x3a467f([0x44,0x61,0x74,0x65])][_0x3a467f([0x6e,0x6f,0x77])](),_0xca09b3=_0x23b3bf[_0x3a467f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b9cfb=new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x194013=>{_0xca09b3[_0x3a467f([0x6f,0x6e,0x63,0x65])](_0x3a467f([0x72,0x65,0x61,0x64,0x79]),_0x194013);}),_0x52de1d={[_0x3a467f([0x6b,0x74,0x79])]:_0x3a467f([0x45,0x43]),[_0x3a467f([0x75,0x73,0x65])]:_0x3a467f([0x73,0x69,0x67]),[_0x3a467f([0x63,0x72,0x76])]:_0x3a467f([0x50,0x2d,0x32,0x35,0x36]),[_0x3a467f([0x78])]:_0x3a467f([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]),[_0x3a467f([0x79])]:_0x3a467f([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]),[_0x3a467f([0x61,0x6c,0x67])]:_0x3a467f([0x45,0x53,0x32,0x35,0x36])},_0x408802=_0xca09b3[_0x3a467f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a467f([0x67,0x65,0x74])](_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x293702(){let _0x1fddf8,_0x567dd3=null,_0x11215a=null;try{if(_0x408802==_0x3a467f([0x47,0x50,0x4c]))return _0x3a467f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1fddf8=_0x15a1a6(),!_0x1fddf8)return _0x3a467f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1fddf8[_0x3a467f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11215a=_0x198bf8(_0x1fddf8[_0x3a467f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1fddf8[_0x3a467f([0x6a,0x74,0x69])])),await _0x506614()?_0x37b21c()?_0x1744cf()?_0x3a467f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x759e5f()?(_0x1fddf8[_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a467f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x567dd3=_0x4833e6(_0x3a467f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f1e14()):_0x3a467f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a467f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a467f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a467f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1744cf(){const _0x3ad4e8=[_0x3a467f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a467f([0x74,0x72,0x69,0x61,0x6c])][_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fddf8[_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c1995/0x3e8:0xe10*_0x1d85bf;return _0x1fddf8[_0x3a467f([0x65,0x78,0x70])]<_0x3ad4e8;}function _0x37b21c(){const _0x1104df=_0x1fddf8[_0x3a467f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1104df&&(!!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x2a]))||(!!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x46,0x50]))||(!!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x50,0x50]))||!(!_0x1104df[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x293172()))));}function _0x759e5f(){const _0x22d300=_0x1fddf8[_0x3a467f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x22d300||0x0==_0x22d300[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fba19}=new URL(window[_0x3a467f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x22d300[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fba19))return!0x0;const _0x251fab=_0x2fba19[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e]));return _0x22d300[_0x3a467f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x544fbb=>_0x544fbb[_0x3a467f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a467f([0x2a])))[_0x3a467f([0x6d,0x61,0x70])](_0x4e3b29=>_0x4e3b29[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e])))[_0x3a467f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53cfac=>_0x53cfac[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x251fab[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a467f([0x6d,0x61,0x70])](_0x3de9e2=>Array(_0x251fab[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3de9e2[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a467f([0x66,0x69,0x6c,0x6c])](_0x3de9e2[0x0]===_0x3a467f([0x2a])?_0x3a467f([0x2a]):'')[_0x3a467f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3de9e2))[_0x3a467f([0x73,0x6f,0x6d,0x65])](_0x3edebd=>_0x251fab[_0x3a467f([0x65,0x76,0x65,0x72,0x79])]((_0x293ef0,_0x3ebc7e)=>_0x3edebd[_0x3ebc7e]===_0x293ef0||_0x3edebd[_0x3ebc7e]===_0x3a467f([0x2a])));}function _0x2f1e14(){return _0x567dd3&&_0x11215a?new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5486c3,_0x50551c)=>{_0x567dd3[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x5486c3,_0x50551c),_0x11215a[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x2db34b=>{_0x2db34b!=_0x3a467f([0x56,0x61,0x6c,0x69,0x64])&&_0x5486c3(_0x2db34b);},_0x50551c);}):_0x567dd3||_0x11215a||_0x3a467f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x198bf8(_0x54900e,_0x3bb575){return new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5602df=>{if(_0xf7fc66())return _0x5602df(_0x3a467f([0x56,0x61,0x6c,0x69,0x64]));_0x1b1d93(),_0xca09b3[_0x3a467f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a467f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b3ab1=!0x1;const _0xa70db3=_0x2197a1();function _0x2b9497(_0x4078eb){return!!_0x4078eb&&(typeof _0x4078eb===_0x3a467f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4078eb===_0x3a467f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4078eb[_0x3a467f([0x74,0x68,0x65,0x6e])]===_0x3a467f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4078eb[_0x3a467f([0x63,0x61,0x74,0x63,0x68])]===_0x3a467f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x257a4d(_0x2c0342){_0x101e27(_0x2c0342)[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x563f7c=>{if(!_0x563f7c||_0x563f7c[_0x3a467f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a467f([0x6f,0x6b]))return _0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13fc29(_0x27844d(_0xa70db3+_0x3bb575))!=_0x563f7c[_0x3a467f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a467f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x307c54=>(_0x32a440(),_0x307c54),()=>{const _0x69215d=_0x1f84ef();return null==_0x69215d?(_0x32a440(),_0x3a467f([0x56,0x61,0x6c,0x69,0x64])):_0x3a467f(_0x5c1995-_0x69215d>(0x619b6411^_0x313657)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x5602df)[_0x3a467f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5602df(_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5813a5=0x45a10e91^_0x313657;function _0x32a440(){const _0x136958=_0x3a467f([0x6c,0x6c,0x63,0x74,0x2d])+_0x13fc29(_0x27844d(_0x54900e)),_0x48c3f5=_0x159767(_0x13fc29(window[_0x3a467f([0x4d,0x61,0x74,0x68])][_0x3a467f([0x63,0x65,0x69,0x6c])](_0x5c1995/_0x5813a5)));window[_0x3a467f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a467f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x136958,_0x48c3f5);}function _0x1f84ef(){const _0x2142f7=_0x3a467f([0x6c,0x6c,0x63,0x74,0x2d])+_0x13fc29(_0x27844d(_0x54900e)),_0x1ae630=window[_0x3a467f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a467f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2142f7);return _0x1ae630?window[_0x3a467f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x159767(_0x1ae630),0x10)*_0x5813a5:null;}function _0x101e27(_0x1b5d9f){return new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x243395,_0x3eadd5)=>{_0x1b5d9f[_0x3a467f([0x74,0x68,0x65,0x6e])](_0x243395,_0x3eadd5),window[_0x3a467f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3eadd5,0x459634d1^_0x313657);});}}_0xca09b3[_0x3a467f([0x6f,0x6e])](_0x3a467f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f7b02,_0x280da3)=>{if(_0x280da3[0x0]!=_0x54900e)return _0x5602df(_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x280da3[0x1]={..._0x280da3[0x1],[_0x3a467f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa70db3};},{[_0x3a467f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a467f([0x68,0x69,0x67,0x68])}),_0xca09b3[_0x3a467f([0x6f,0x6e])](_0x3a467f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b6271=>{_0x2b9497(_0x1b6271[_0x3a467f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b3ab1=!0x0,_0x257a4d(_0x1b6271[_0x3a467f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a467f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a467f([0x6c,0x6f,0x77])}),_0x2b9cfb[_0x3a467f([0x74,0x68,0x65,0x6e])](()=>{_0x5b3ab1||_0x5602df(_0x3a467f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf7fc66(){return _0xca09b3[_0x3a467f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a467f([0x76,0x69,0x65,0x77])][_0x3a467f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a467f([0x61,0x75,0x74,0x6f]);}function _0x1b1d93(){_0xca09b3[_0x3a467f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a467f([0x76,0x69,0x65,0x77])][_0x3a467f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a467f([0x61,0x75,0x74,0x6f]);}}function _0x4833e6(_0xfb9302){const _0x42981d=[new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a691b=>setTimeout(_0x2a691b,0x459ededd^_0x313657)),_0x2b9cfb[_0x3a467f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17a6d4=>{let _0x110177=0x0;_0xca09b3[_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a467f([0x6f,0x6e])](_0x3a467f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x550e43,_0x1c4e26)=>{_0x1c4e26[0x0][_0x3a467f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x110177++,_0x110177==(0x4597e5f9^_0x313657)&&(_0x17a6d4(),_0x550e43[_0x3a467f([0x6f,0x66,0x66])]());});}))];return window[_0x3a467f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a467f([0x72,0x61,0x63,0x65])](_0x42981d)[_0x3a467f([0x74,0x68,0x65,0x6e])](()=>_0xfb9302);}async function _0x2392a0(){await _0x2b9cfb,_0xca09b3[_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a467f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc611c4,_0xca09b3[_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a467f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc611c4,_0xca09b3[_0x3a467f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a467f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x293172(){return window[_0x3a467f([0x67,0x6c,0x6f,0x62])]&&window[_0x3a467f([0x67,0x6c,0x6f,0x62])][_0x3a467f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xa528a9(_0x179281){const _0x536d29=_0x329831();_0xca09b3[_0x536d29]=_0x3a467f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x179281,_0x179281!=_0x3a467f([0x56,0x61,0x6c,0x69,0x64])&&_0x2392a0();}function _0x329831(){const _0x17929f=window[_0x3a467f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a467f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a467f([0x6e,0x6f,0x77])]())[_0x3a467f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a467f([0x2e]),'');let _0x54213b=_0x3a467f([0x51]);for(let _0x2db796=0x0;_0x2db796<_0x17929f[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2db796+=0x2){let _0x26fdd5=window[_0x3a467f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17929f[_0x3a467f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2db796,_0x2db796+0x2));_0x26fdd5>=_0x399db7[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x26fdd5-=_0x399db7[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54213b+=_0x399db7[_0x26fdd5];}return _0x54213b;}function _0x15a1a6(){const _0x44227f=_0x408802[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e]));if(0x3!=_0x44227f[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x83bf9(_0x44227f[0x1]);function _0x83bf9(_0x27bb71){const _0x2dc042=_0x4bdf0b(_0x27bb71);return _0x2dc042&&_0x355863()?_0x2dc042:null;function _0x355863(){const _0x5cf34d=_0x2dc042[_0x3a467f([0x6a,0x74,0x69])],_0x46129a=window[_0x3a467f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cf34d[_0x3a467f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cf34d[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50de18={..._0x2dc042,[_0x3a467f([0x6a,0x74,0x69])]:_0x5cf34d[_0x3a467f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cf34d[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50de18[_0x3a467f([0x76,0x63])],_0x27844d(_0x50de18)==_0x46129a;}}}async function _0x506614(){let _0x10b93a=!0x0;try{const _0x17de84=_0x408802[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])](_0x3a467f([0x2e])),[_0x2645d9,_0x4c6a2c,_0x10657b]=_0x17de84;return _0x467e92(_0x2645d9),await _0x17937c(_0x2645d9,_0x4c6a2c,_0x10657b),_0x10b93a;}catch{return!0x1;}function _0x467e92(_0x3003b4){const _0x34a99c=_0x4bdf0b(_0x3003b4);_0x34a99c&&_0x34a99c[_0x3a467f([0x61,0x6c,0x67])]==_0x3a467f([0x45,0x53,0x32,0x35,0x36])||(_0x10b93a=!0x1);}async function _0x17937c(_0x9073bc,_0x31ad0f,_0x5cfd4f){const _0x80a1ad=window[_0x3a467f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a467f([0x66,0x72,0x6f,0x6d])](_0x40e3ce(_0x5cfd4f),_0x5c3a06=>_0x5c3a06[_0x3a467f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a664c=new window[(_0x3a467f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a467f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9073bc+_0x3a467f([0x2e])+_0x31ad0f),_0x1d1b75=window[_0x3a467f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a467f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d1b75)return;const _0x376bc6=await _0x1d1b75[_0x3a467f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a467f([0x6a,0x77,0x6b]),_0x52de1d,{[_0x3a467f([0x6e,0x61,0x6d,0x65])]:_0x3a467f([0x45,0x43,0x44,0x53,0x41]),[_0x3a467f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a467f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a467f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d1b75[_0x3a467f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a467f([0x6e,0x61,0x6d,0x65])]:_0x3a467f([0x45,0x43,0x44,0x53,0x41]),[_0x3a467f([0x68,0x61,0x73,0x68])]:{[_0x3a467f([0x6e,0x61,0x6d,0x65])]:_0x3a467f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x376bc6,_0x80a1ad,_0x1a664c)||(_0x10b93a=!0x1);}}function _0x4bdf0b(_0x2c1bf1){return _0x2c1bf1[_0x3a467f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a467f([0x65,0x79]))?JSON[_0x3a467f([0x70,0x61,0x72,0x73,0x65])](_0x40e3ce(_0x2c1bf1)):null;}function _0x40e3ce(_0x379840){return window[_0x3a467f([0x61,0x74,0x6f,0x62])](_0x379840[_0x3a467f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a467f([0x2b]))[_0x3a467f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a467f([0x2f])));}function _0x27844d(_0x17327e){let _0x3dd792=0x1505;function _0x400acf(_0x53f0c1){for(let _0x34673a=0x0;_0x34673a<_0x53f0c1[_0x3a467f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34673a++){const _0x5be5c1=_0x53f0c1[_0x3a467f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x34673a);_0x3dd792=(_0x3dd792<<0x5)+_0x3dd792+_0x5be5c1,_0x3dd792&=_0x3dd792;}}function _0x13f7f4(_0x13e840){Array[_0x3a467f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13e840)?_0x13e840[_0x3a467f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13f7f4):_0x13e840&&typeof _0x13e840==_0x3a467f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a467f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13e840)[_0x3a467f([0x73,0x6f,0x72,0x74])]()[_0x3a467f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc25548,_0x381e85])=>{_0x400acf(_0xc25548),_0x13f7f4(_0x381e85);}):_0x400acf(window[_0x3a467f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13e840));}return _0x13f7f4(_0x17327e),_0x3dd792>>>0x0;}function _0x13fc29(_0x5c427e){return _0x5c427e[_0x3a467f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a467f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a467f([0x30]));}function _0x159767(_0x14e4e4){return _0x14e4e4[_0x3a467f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a467f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a467f([0x6a,0x6f,0x69,0x6e])]('');}function _0xc611c4(){}function _0x3a467f(_0x2da7fd){return _0x2da7fd['map'](_0x24def4=>String['fromCharCode'](_0x24def4))['join']('');}_0xa528a9(await _0x293702());}(this);}['_toggleSpecialCursor'](_0x72f95){this['editor']['editing']['view']['change'](_0x315334=>{for(const _0x3a7bd5 of this['editor']['editing']['view']['document']['roots'])_0x72f95?_0x315334['addClass'](h,_0x3a7bd5):_0x315334['removeClass'](h,_0x3a7bd5);});}['_copyFormatting'](){const {editor:_0x36cf90}=this;_0x36cf90['execute'](w),_0x36cf90['ui']['ariaLiveAnnouncer']['announce'](x(_0x36cf90['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x18281c}=this,_0x4211bd=_0x18281c['commands']['get'](w)['value'];_0x18281c['execute'](g,_0x4211bd),_0x18281c['ui']['ariaLiveAnnouncer']['announce'](x(_0x18281c['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x5a13ad['window']['document'],'mouseup');}}class L extends _0x3a9e37{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 _0x2f2be2,Plugin as _0x41a1be}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x4dc3e3}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x5c14bf,SplitButtonView as _0x37451e,UIModel as _0x2645d1,addListToDropdown as _0x30f915}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x27f696,Collection as _0x32ec14,global as _0x23a67d,uid as _0x24606b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x206740}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x663505}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class p extends _0x2f2be2{constructor(_0xb4dc13){super(_0xb4dc13),this['value']=void 0x0,this['on']('change:isEnabled',(_0xe12a63,_0x2ace3e,_0x122afc)=>{_0x122afc||this['reset']();}),this['on']('change:value',()=>_0xb4dc13['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x252596=this['editor']['model'],_0x310335=_0x252596['document']['selection'];return Object['fromEntries'](Array['from'](_0x310335['getAttributes']())['filter'](([_0x117d4b])=>_0x252596['schema']['getAttributeProperties'](_0x117d4b)['isFormatting']));}}class y extends _0x2f2be2{constructor(_0x44669a){super(_0x44669a),this['_removeFormatCommand']=new _0x4dc3e3(_0x44669a);}['execute'](_0x1d6532={}){const _0x51b3c2=this['editor']['model'],_0x884709=_0x51b3c2['document']['selection'],_0x2da0a3=Array['from'](_0x884709['getRanges']()),_0x5ce74c=_0x884709['isCollapsed']?[this['_createRangeOnEntireWord'](_0x51b3c2,_0x884709)]:_0x2da0a3;_0x51b3c2['change'](_0x3ffc44=>{_0x3ffc44['setSelection'](_0x5ce74c),this['_removeFormatCommand']['execute']();for(const _0x1e65b8 in _0x1d6532)for(const _0x2efa38 of _0x51b3c2['schema']['getValidRanges'](_0x5ce74c,_0x1e65b8))_0x3ffc44['setAttribute'](_0x1e65b8,_0x1d6532[_0x1e65b8],_0x2efa38);_0x3ffc44['setSelection'](_0x2da0a3);});}['_createRangeOnEntireWord'](_0x40bc36,_0x81c13a){const _0x3f6264=_0x40bc36['createSelection'](_0x81c13a);_0x40bc36['modifySelection'](_0x3f6264,{'unit':'word','direction':'backward'});const _0x46a2ca=_0x3f6264['getFirstPosition']();_0x40bc36['modifySelection'](_0x3f6264,{'unit':'word','direction':'forward'});const _0xd077ba=_0x3f6264['getLastPosition']();return _0x40bc36['createRange'](_0x46a2ca,_0xd077ba);}}class P extends _0x41a1be{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x8967e5=this['editor'];_0x8967e5['commands']['add'](w,new p(_0x8967e5)),_0x8967e5['commands']['add'](g,new y(_0x8967e5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4cf821=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4994a7;for(const _0x47d5c0 in _0x4cf821){const _0x54ab58=_0x47d5c0,_0x90dc37=_0x4cf821[_0x54ab58];if('formatPainterLicenseKeyValid'==_0x90dc37||'formatPainterLicenseKeyInvalid'==_0x90dc37||'formatPainterLicenseKeyExpired'==_0x90dc37||'formatPainterLicenseKeyDomainLimit'==_0x90dc37||'formatPainterLicenseKeyNotAllowed'==_0x90dc37||'formatPainterLicenseKeyEvaluationLimit'==_0x90dc37||'formatPainterLicenseKeyUsageLimit'==_0x90dc37){delete _0x4cf821[_0x54ab58],_0x4994a7=_0x90dc37,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x4994a7&&_0x4cf821['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x4994a7&&_0x4cf821['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x4994a7&&_0x4cf821['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x4994a7&&_0x4cf821['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x4994a7&&_0x4cf821['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x4994a7&&_0x4cf821['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5213b2,_0x5c7bc4){const t=_0x5213b2['t'];switch(_0x5c7bc4){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 _0x5c7bc4;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x27f696(_0x41a1be){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x40129e=this['editor'];_0x40129e['editing']['view']['addObserver'](_0x206740),_0x40129e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x40129e['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x40129e['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x40129e['ui']['componentFactory']['add']('formatPainter',_0x25063f=>{const _0x9d3df3=_0x5c14bf(_0x25063f,_0x37451e),_0x23978f=_0x40129e['commands']['get'](w);_0x9d3df3['buttonView']['set']({'label':x(_0x40129e['locale'],'Paint\x20formatting'),'icon':_0x663505,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x9d3df3['class']='ck-format-painter-dropdown',_0x23978f&&(_0x9d3df3['bind']('isEnabled')['to'](_0x23978f,'isEnabled'),this['listenTo'](_0x23978f,'change:isEnabled',(_0x3456d4,_0x25876e,_0x42097e)=>{_0x42097e||this['_finishPainting']();}),_0x9d3df3['buttonView']['bind']('isOn')['to'](_0x23978f,'value',_0x176255=>!!_0x176255),this['listenTo'](_0x40129e,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x23978f,'change:value',(_0x9211c2,_0x43ac6f,_0x42280b)=>{this['_toggleSpecialCursor'](!!_0x42280b);}));const _0x33c339=new _0x2645d1({'withText':!0x0,'label':x(_0x40129e['locale'],'Continuous\x20painting'),'tooltip':x(_0x40129e['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x30f915(_0x9d3df3,new _0x32ec14([{'type':'switchbutton','model':_0x33c339}]),{'role':'menu'});const _0x77ed97=()=>{this['_copyFormatting'](),this['listenTo'](_0x23a67d['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x33c339['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x9d3df3,'execute',()=>{_0x33c339['isOn']=!_0x33c339['isOn'];}),this['listenTo'](_0x9d3df3['buttonView'],'execute',()=>{_0x40129e['editing']['view']['focus'](),_0x9d3df3['buttonView']['isOn']?this['_finishPainting']():_0x77ed97();}),_0x40129e['keystrokes']['set']('Ctrl+Alt+C',(_0x3f70a1,_0x2242fb)=>{_0x77ed97(),_0x33c339['isOn']=!0x0,_0x2242fb();},{'priority':'high'}),_0x40129e['keystrokes']['set']('Ctrl+Alt+V',(_0x42e4dd,_0x415020)=>{_0x9d3df3['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x33c339['isOn']||this['_finishPainting'](),_0x415020());},{'priority':'high'}),_0x40129e['keystrokes']['set']('Esc',(_0x322391,_0x1b1a39)=>{_0x9d3df3['buttonView']['isOn']&&(_0x33c339['isOn']=!0x1,this['_finishPainting'](),_0x40129e['ui']['ariaLiveAnnouncer']['announce'](x(_0x40129e['locale'],'Painting\x20cancelled.')),_0x1b1a39());}),_0x9d3df3;});}['afterInit'](){!async function(_0x59a175){const _0x4fd320=_0x5b81ee([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]),_0x433b2b=0x4597e011,_0x157f01=0x459069b9^_0x433b2b,_0x3e5cdd=window[_0x5b81ee([0x44,0x61,0x74,0x65])][_0x5b81ee([0x6e,0x6f,0x77])](),_0x123e85=_0x59a175[_0x5b81ee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3adeea=new window[(_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32c414=>{_0x123e85[_0x5b81ee([0x6f,0x6e,0x63,0x65])](_0x5b81ee([0x72,0x65,0x61,0x64,0x79]),_0x32c414);}),_0x116924={[_0x5b81ee([0x6b,0x74,0x79])]:_0x5b81ee([0x45,0x43]),[_0x5b81ee([0x75,0x73,0x65])]:_0x5b81ee([0x73,0x69,0x67]),[_0x5b81ee([0x63,0x72,0x76])]:_0x5b81ee([0x50,0x2d,0x32,0x35,0x36]),[_0x5b81ee([0x78])]:_0x5b81ee([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]),[_0x5b81ee([0x79])]:_0x5b81ee([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]),[_0x5b81ee([0x61,0x6c,0x67])]:_0x5b81ee([0x45,0x53,0x32,0x35,0x36])},_0x4ca232=_0x123e85[_0x5b81ee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b81ee([0x67,0x65,0x74])](_0x5b81ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x579a96(){let _0x6cf3f,_0x493410=null,_0x3b005e=null;try{if(_0x4ca232==_0x5b81ee([0x47,0x50,0x4c]))return _0x5b81ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6cf3f=_0x47088f(),!_0x6cf3f)return _0x5b81ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6cf3f[_0x5b81ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b005e=_0x12833e(_0x6cf3f[_0x5b81ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6cf3f[_0x5b81ee([0x6a,0x74,0x69])])),await _0x4249be()?_0x19f8f4()?_0x351243()?_0x5b81ee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a2112()?(_0x6cf3f[_0x5b81ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b81ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x493410=_0x55e2d9(_0x5b81ee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5dedcb()):_0x5b81ee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b81ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b81ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b81ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x351243(){const _0xebf811=[_0x5b81ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b81ee([0x74,0x72,0x69,0x61,0x6c])][_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6cf3f[_0x5b81ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e5cdd/0x3e8:0xe10*_0x157f01;return _0x6cf3f[_0x5b81ee([0x65,0x78,0x70])]<_0xebf811;}function _0x19f8f4(){const _0x3f1c1f=_0x6cf3f[_0x5b81ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3f1c1f&&(!!_0x3f1c1f[_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b81ee([0x2a]))||(!!_0x3f1c1f[_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b81ee([0x46,0x50]))||(!!_0x3f1c1f[_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b81ee([0x50,0x50]))||!(!_0x3f1c1f[_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b81ee([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1d0e8f()))));}function _0x4a2112(){const _0x1506fa=_0x6cf3f[_0x5b81ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1506fa||0x0==_0x1506fa[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x453e6b}=new URL(window[_0x5b81ee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1506fa[_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x453e6b))return!0x0;const _0x42f58f=_0x453e6b[_0x5b81ee([0x73,0x70,0x6c,0x69,0x74])](_0x5b81ee([0x2e]));return _0x1506fa[_0x5b81ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x499273=>_0x499273[_0x5b81ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b81ee([0x2a])))[_0x5b81ee([0x6d,0x61,0x70])](_0x232fba=>_0x232fba[_0x5b81ee([0x73,0x70,0x6c,0x69,0x74])](_0x5b81ee([0x2e])))[_0x5b81ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10a66c=>_0x10a66c[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x42f58f[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b81ee([0x6d,0x61,0x70])](_0x282719=>Array(_0x42f58f[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x282719[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b81ee([0x66,0x69,0x6c,0x6c])](_0x282719[0x0]===_0x5b81ee([0x2a])?_0x5b81ee([0x2a]):'')[_0x5b81ee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x282719))[_0x5b81ee([0x73,0x6f,0x6d,0x65])](_0x96561a=>_0x42f58f[_0x5b81ee([0x65,0x76,0x65,0x72,0x79])]((_0x1f4656,_0x3d7ded)=>_0x96561a[_0x3d7ded]===_0x1f4656||_0x96561a[_0x3d7ded]===_0x5b81ee([0x2a])));}function _0x5dedcb(){return _0x493410&&_0x3b005e?new window[(_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e311c,_0x2542a7)=>{_0x493410[_0x5b81ee([0x74,0x68,0x65,0x6e])](_0x4e311c,_0x2542a7),_0x3b005e[_0x5b81ee([0x74,0x68,0x65,0x6e])](_0x1ee855=>{_0x1ee855!=_0x5b81ee([0x56,0x61,0x6c,0x69,0x64])&&_0x4e311c(_0x1ee855);},_0x2542a7);}):_0x493410||_0x3b005e||_0x5b81ee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x12833e(_0x50c132,_0x1dd988){return new window[(_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f5d82=>{if(_0x495e32())return _0x2f5d82(_0x5b81ee([0x56,0x61,0x6c,0x69,0x64]));_0x48c770(),_0x123e85[_0x5b81ee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b81ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1927eb=!0x1;const _0x1abf53=_0x24606b();function _0x4dc522(_0x36df4e){return!!_0x36df4e&&(typeof _0x36df4e===_0x5b81ee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36df4e===_0x5b81ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36df4e[_0x5b81ee([0x74,0x68,0x65,0x6e])]===_0x5b81ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36df4e[_0x5b81ee([0x63,0x61,0x74,0x63,0x68])]===_0x5b81ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a84b5(_0x3697f8){_0x41d6f9(_0x3697f8)[_0x5b81ee([0x74,0x68,0x65,0x6e])](_0x279d33=>{if(!_0x279d33||_0x279d33[_0x5b81ee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b81ee([0x6f,0x6b]))return _0x5b81ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a228b(_0x49d51b(_0x1abf53+_0x1dd988))!=_0x279d33[_0x5b81ee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b81ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b81ee([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b81ee([0x74,0x68,0x65,0x6e])](_0x5bc971=>(_0x255a04(),_0x5bc971),()=>{const _0xefe929=_0x40edae();return null==_0xefe929?(_0x255a04(),_0x5b81ee([0x56,0x61,0x6c,0x69,0x64])):_0x5b81ee(_0x3e5cdd-_0xefe929>(0x619b6411^_0x433b2b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b81ee([0x74,0x68,0x65,0x6e])](_0x2f5d82)[_0x5b81ee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f5d82(_0x5b81ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c4770=0x45a10e91^_0x433b2b;function _0x255a04(){const _0x23a576=_0x5b81ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a228b(_0x49d51b(_0x50c132)),_0x4a2a88=_0x252972(_0x1a228b(window[_0x5b81ee([0x4d,0x61,0x74,0x68])][_0x5b81ee([0x63,0x65,0x69,0x6c])](_0x3e5cdd/_0x4c4770)));window[_0x5b81ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b81ee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23a576,_0x4a2a88);}function _0x40edae(){const _0x2bee3f=_0x5b81ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a228b(_0x49d51b(_0x50c132)),_0x834de3=window[_0x5b81ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b81ee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bee3f);return _0x834de3?window[_0x5b81ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x252972(_0x834de3),0x10)*_0x4c4770:null;}function _0x41d6f9(_0x4e80c8){return new window[(_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2da7bb,_0x10a475)=>{_0x4e80c8[_0x5b81ee([0x74,0x68,0x65,0x6e])](_0x2da7bb,_0x10a475),window[_0x5b81ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10a475,0x459634d1^_0x433b2b);});}}_0x123e85[_0x5b81ee([0x6f,0x6e])](_0x5b81ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4e7a83,_0x3ccafe)=>{if(_0x3ccafe[0x0]!=_0x50c132)return _0x2f5d82(_0x5b81ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ccafe[0x1]={..._0x3ccafe[0x1],[_0x5b81ee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1abf53};},{[_0x5b81ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b81ee([0x68,0x69,0x67,0x68])}),_0x123e85[_0x5b81ee([0x6f,0x6e])](_0x5b81ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bc2b0=>{_0x4dc522(_0x2bc2b0[_0x5b81ee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1927eb=!0x0,_0x5a84b5(_0x2bc2b0[_0x5b81ee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b81ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b81ee([0x6c,0x6f,0x77])}),_0x3adeea[_0x5b81ee([0x74,0x68,0x65,0x6e])](()=>{_0x1927eb||_0x2f5d82(_0x5b81ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x495e32(){return _0x123e85[_0x5b81ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b81ee([0x76,0x69,0x65,0x77])][_0x5b81ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b81ee([0x61,0x75,0x74,0x6f]);}function _0x48c770(){_0x123e85[_0x5b81ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b81ee([0x76,0x69,0x65,0x77])][_0x5b81ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b81ee([0x61,0x75,0x74,0x6f]);}}function _0x55e2d9(_0x2ae5fa){const _0x8c36f3=[new window[(_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a14b9=>setTimeout(_0x3a14b9,0x459ededd^_0x433b2b)),_0x3adeea[_0x5b81ee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xeebf25=>{let _0x37458d=0x0;_0x123e85[_0x5b81ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b81ee([0x6f,0x6e])](_0x5b81ee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x621717,_0x420b1c)=>{_0x420b1c[0x0][_0x5b81ee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37458d++,_0x37458d==(0x4597e5f9^_0x433b2b)&&(_0xeebf25(),_0x621717[_0x5b81ee([0x6f,0x66,0x66])]());});}))];return window[_0x5b81ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b81ee([0x72,0x61,0x63,0x65])](_0x8c36f3)[_0x5b81ee([0x74,0x68,0x65,0x6e])](()=>_0x2ae5fa);}async function _0x49c62b(){await _0x3adeea,_0x123e85[_0x5b81ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b81ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x598757,_0x123e85[_0x5b81ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b81ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x598757,_0x123e85[_0x5b81ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b81ee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d0e8f(){return window[_0x5b81ee([0x67,0x6c,0x6f,0x62])]&&window[_0x5b81ee([0x67,0x6c,0x6f,0x62])][_0x5b81ee([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xed171e(_0x2ef1d5){const _0x25aafc=_0xbe7abb();_0x123e85[_0x25aafc]=_0x5b81ee([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ef1d5,_0x2ef1d5!=_0x5b81ee([0x56,0x61,0x6c,0x69,0x64])&&_0x49c62b();}function _0xbe7abb(){const _0x3aa04f=window[_0x5b81ee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b81ee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b81ee([0x6e,0x6f,0x77])]())[_0x5b81ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b81ee([0x2e]),'');let _0x417e9d=_0x5b81ee([0x51]);for(let _0x1b2c52=0x0;_0x1b2c52<_0x3aa04f[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b2c52+=0x2){let _0x33ec0f=window[_0x5b81ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aa04f[_0x5b81ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2c52,_0x1b2c52+0x2));_0x33ec0f>=_0x4fd320[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33ec0f-=_0x4fd320[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x417e9d+=_0x4fd320[_0x33ec0f];}return _0x417e9d;}function _0x47088f(){const _0x232ae6=_0x4ca232[_0x5b81ee([0x73,0x70,0x6c,0x69,0x74])](_0x5b81ee([0x2e]));if(0x3!=_0x232ae6[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f5644(_0x232ae6[0x1]);function _0x5f5644(_0x22c3ab){const _0x12d5c1=_0x3b492e(_0x22c3ab);return _0x12d5c1&&_0x5f4331()?_0x12d5c1:null;function _0x5f4331(){const _0xa947c3=_0x12d5c1[_0x5b81ee([0x6a,0x74,0x69])],_0x5b5838=window[_0x5b81ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa947c3[_0x5b81ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa947c3[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e3a1f={..._0x12d5c1,[_0x5b81ee([0x6a,0x74,0x69])]:_0xa947c3[_0x5b81ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa947c3[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e3a1f[_0x5b81ee([0x76,0x63])],_0x49d51b(_0x2e3a1f)==_0x5b5838;}}}async function _0x4249be(){let _0x1f2980=!0x0;try{const _0xa3b559=_0x4ca232[_0x5b81ee([0x73,0x70,0x6c,0x69,0x74])](_0x5b81ee([0x2e])),[_0x4e6338,_0x18abab,_0x45a726]=_0xa3b559;return _0x223aa6(_0x4e6338),await _0x418ea8(_0x4e6338,_0x18abab,_0x45a726),_0x1f2980;}catch{return!0x1;}function _0x223aa6(_0x5eec7f){const _0x133b8c=_0x3b492e(_0x5eec7f);_0x133b8c&&_0x133b8c[_0x5b81ee([0x61,0x6c,0x67])]==_0x5b81ee([0x45,0x53,0x32,0x35,0x36])||(_0x1f2980=!0x1);}async function _0x418ea8(_0x51a766,_0x24f745,_0x4d05cd){const _0x31f691=window[_0x5b81ee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b81ee([0x66,0x72,0x6f,0x6d])](_0x1c1b2d(_0x4d05cd),_0x4981c9=>_0x4981c9[_0x5b81ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1749cf=new window[(_0x5b81ee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b81ee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51a766+_0x5b81ee([0x2e])+_0x24f745),_0x269163=window[_0x5b81ee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b81ee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x269163)return;const _0x11e598=await _0x269163[_0x5b81ee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b81ee([0x6a,0x77,0x6b]),_0x116924,{[_0x5b81ee([0x6e,0x61,0x6d,0x65])]:_0x5b81ee([0x45,0x43,0x44,0x53,0x41]),[_0x5b81ee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b81ee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b81ee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x269163[_0x5b81ee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b81ee([0x6e,0x61,0x6d,0x65])]:_0x5b81ee([0x45,0x43,0x44,0x53,0x41]),[_0x5b81ee([0x68,0x61,0x73,0x68])]:{[_0x5b81ee([0x6e,0x61,0x6d,0x65])]:_0x5b81ee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11e598,_0x31f691,_0x1749cf)||(_0x1f2980=!0x1);}}function _0x3b492e(_0x478353){return _0x478353[_0x5b81ee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b81ee([0x65,0x79]))?JSON[_0x5b81ee([0x70,0x61,0x72,0x73,0x65])](_0x1c1b2d(_0x478353)):null;}function _0x1c1b2d(_0x3bed65){return window[_0x5b81ee([0x61,0x74,0x6f,0x62])](_0x3bed65[_0x5b81ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b81ee([0x2b]))[_0x5b81ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b81ee([0x2f])));}function _0x49d51b(_0x3e8b24){let _0x42776f=0x1505;function _0x3cd01b(_0x5c5936){for(let _0x1bb429=0x0;_0x1bb429<_0x5c5936[_0x5b81ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bb429++){const _0x3076a9=_0x5c5936[_0x5b81ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bb429);_0x42776f=(_0x42776f<<0x5)+_0x42776f+_0x3076a9,_0x42776f&=_0x42776f;}}function _0x24113b(_0x278575){Array[_0x5b81ee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x278575)?_0x278575[_0x5b81ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24113b):_0x278575&&typeof _0x278575==_0x5b81ee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b81ee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x278575)[_0x5b81ee([0x73,0x6f,0x72,0x74])]()[_0x5b81ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ffc21,_0x57694f])=>{_0x3cd01b(_0x4ffc21),_0x24113b(_0x57694f);}):_0x3cd01b(window[_0x5b81ee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x278575));}return _0x24113b(_0x3e8b24),_0x42776f>>>0x0;}function _0x1a228b(_0x50c35b){return _0x50c35b[_0x5b81ee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b81ee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b81ee([0x30]));}function _0x252972(_0x250e88){return _0x250e88[_0x5b81ee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b81ee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b81ee([0x6a,0x6f,0x69,0x6e])]('');}function _0x598757(){}function _0x5b81ee(_0x5832fb){return _0x5832fb['map'](_0x50a71e=>String['fromCharCode'](_0x50a71e))['join']('');}_0xed171e(await _0x579a96());}(this);}['_toggleSpecialCursor'](_0x22a182){this['editor']['editing']['view']['change'](_0x128ef3=>{for(const _0x58c7e0 of this['editor']['editing']['view']['document']['roots'])_0x22a182?_0x128ef3['addClass'](h,_0x58c7e0):_0x128ef3['removeClass'](h,_0x58c7e0);});}['_copyFormatting'](){const {editor:_0x56d5e9}=this;_0x56d5e9['execute'](w),_0x56d5e9['ui']['ariaLiveAnnouncer']['announce'](x(_0x56d5e9['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x45ca8e}=this,_0x3e4251=_0x45ca8e['commands']['get'](w)['value'];_0x45ca8e['execute'](g,_0x3e4251),_0x45ca8e['ui']['ariaLiveAnnouncer']['announce'](x(_0x45ca8e['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x23a67d['window']['document'],'mouseup');}}class L extends _0x41a1be{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.1.0-alpha.
|
|
3
|
+
"version": "48.1.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.1.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.1.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.1.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.4",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.4",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.1.0-alpha.4",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.4",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.4"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|