@ckeditor/ckeditor5-format-painter 48.1.0-alpha.4 → 48.1.0-alpha.5
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
|
-
_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};
|
|
23
|
+
import{Command as _0x44d266,Plugin as _0x32d784}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x1c2a4d}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x5e38e5,SplitButtonView as _0x3fe7da,UIModel as _0x49eb1e,addListToDropdown as _0x514b44}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x4e0ea7,Collection as _0x157e4b,global as _0x2f4601,uid as _0x13b3fe}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x3c45c9}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x307fe9}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class p extends _0x44d266{constructor(_0x24980b){super(_0x24980b),this['value']=void 0x0,this['on']('change:isEnabled',(_0x243c51,_0x2debc4,_0x501d4f)=>{_0x501d4f||this['reset']();}),this['on']('change:value',()=>_0x24980b['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x7bcd5f=this['editor']['model'],_0xb9f664=_0x7bcd5f['document']['selection'];return Object['fromEntries'](Array['from'](_0xb9f664['getAttributes']())['filter'](([_0x5322ed])=>_0x7bcd5f['schema']['getAttributeProperties'](_0x5322ed)['isFormatting']));}}class y extends _0x44d266{constructor(_0x41b3ab){super(_0x41b3ab),this['_removeFormatCommand']=new _0x1c2a4d(_0x41b3ab);}['execute'](_0x865534={}){const _0x5b460c=this['editor']['model'],_0x5bf57b=_0x5b460c['document']['selection'],_0x145c3a=Array['from'](_0x5bf57b['getRanges']()),_0x49b412=_0x5bf57b['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5b460c,_0x5bf57b)]:_0x145c3a;_0x5b460c['change'](_0x599b30=>{_0x599b30['setSelection'](_0x49b412),this['_removeFormatCommand']['execute']();for(const _0x218bc4 in _0x865534)for(const _0x3f0ee9 of _0x5b460c['schema']['getValidRanges'](_0x49b412,_0x218bc4))_0x599b30['setAttribute'](_0x218bc4,_0x865534[_0x218bc4],_0x3f0ee9);_0x599b30['setSelection'](_0x145c3a);});}['_createRangeOnEntireWord'](_0x2f858e,_0x32288e){const _0x18a7cb=_0x2f858e['createSelection'](_0x32288e);_0x2f858e['modifySelection'](_0x18a7cb,{'unit':'word','direction':'backward'});const _0x1ac787=_0x18a7cb['getFirstPosition']();_0x2f858e['modifySelection'](_0x18a7cb,{'unit':'word','direction':'forward'});const _0xd27cb0=_0x18a7cb['getLastPosition']();return _0x2f858e['createRange'](_0x1ac787,_0xd27cb0);}}class P extends _0x32d784{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c3303=this['editor'];_0x1c3303['commands']['add'](w,new p(_0x1c3303)),_0x1c3303['commands']['add'](g,new y(_0x1c3303)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x326814=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28ece9;for(const _0x818df7 in _0x326814){const _0x133af6=_0x818df7,_0x37346a=_0x326814[_0x133af6];if('formatPainterLicenseKeyValid'==_0x37346a||'formatPainterLicenseKeyInvalid'==_0x37346a||'formatPainterLicenseKeyExpired'==_0x37346a||'formatPainterLicenseKeyDomainLimit'==_0x37346a||'formatPainterLicenseKeyNotAllowed'==_0x37346a||'formatPainterLicenseKeyEvaluationLimit'==_0x37346a||'formatPainterLicenseKeyUsageLimit'==_0x37346a){delete _0x326814[_0x133af6],_0x28ece9=_0x37346a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x28ece9&&_0x326814['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x28ece9&&_0x326814['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x28ece9&&_0x326814['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x28ece9&&_0x326814['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x28ece9&&_0x326814['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x28ece9&&_0x326814['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x175e98,_0x4d7e85){const t=_0x175e98['t'];switch(_0x4d7e85){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 _0x4d7e85;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4e0ea7(_0x32d784){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29182c=this['editor'];_0x29182c['editing']['view']['addObserver'](_0x3c45c9),_0x29182c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x29182c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x29182c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x29182c['ui']['componentFactory']['add']('formatPainter',_0x2b0017=>{const _0x18e932=_0x5e38e5(_0x2b0017,_0x3fe7da),_0x80e3bd=_0x29182c['commands']['get'](w);_0x18e932['buttonView']['set']({'label':x(_0x29182c['locale'],'Paint\x20formatting'),'icon':_0x307fe9,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x18e932['class']='ck-format-painter-dropdown',_0x80e3bd&&(_0x18e932['bind']('isEnabled')['to'](_0x80e3bd,'isEnabled'),this['listenTo'](_0x80e3bd,'change:isEnabled',(_0x3114b7,_0xe6a973,_0x21524a)=>{_0x21524a||this['_finishPainting']();}),_0x18e932['buttonView']['bind']('isOn')['to'](_0x80e3bd,'value',_0x219432=>!!_0x219432),this['listenTo'](_0x29182c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x80e3bd,'change:value',(_0x598361,_0x25cc77,_0x21baf2)=>{this['_toggleSpecialCursor'](!!_0x21baf2);}));const _0x20def8=new _0x49eb1e({'withText':!0x0,'label':x(_0x29182c['locale'],'Continuous\x20painting'),'tooltip':x(_0x29182c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x514b44(_0x18e932,new _0x157e4b([{'type':'switchbutton','model':_0x20def8}]),{'role':'menu'});const _0x292eff=()=>{this['_copyFormatting'](),this['listenTo'](_0x2f4601['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x20def8['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x18e932,'execute',()=>{_0x20def8['isOn']=!_0x20def8['isOn'];}),this['listenTo'](_0x18e932['buttonView'],'execute',()=>{_0x29182c['editing']['view']['focus'](),_0x18e932['buttonView']['isOn']?this['_finishPainting']():_0x292eff();}),_0x29182c['keystrokes']['set']('Ctrl+Alt+C',(_0x4185fc,_0x34a0de)=>{_0x292eff(),_0x20def8['isOn']=!0x0,_0x34a0de();},{'priority':'high'}),_0x29182c['keystrokes']['set']('Ctrl+Alt+V',(_0x39dfe4,_0x2e33f7)=>{_0x18e932['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x20def8['isOn']||this['_finishPainting'](),_0x2e33f7());},{'priority':'high'}),_0x29182c['keystrokes']['set']('Esc',(_0xcb5a59,_0x15d3a3)=>{_0x18e932['buttonView']['isOn']&&(_0x20def8['isOn']=!0x1,this['_finishPainting'](),_0x29182c['ui']['ariaLiveAnnouncer']['announce'](x(_0x29182c['locale'],'Painting\x20cancelled.')),_0x15d3a3());}),_0x18e932;});}['afterInit'](){!async function(_0x55a4ea){const _0x202eea=_0x58adcb([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]),_0xc35e77=0x4597e011,_0x385760=0x459069d1^_0xc35e77,_0x284c97=window[_0x58adcb([0x44,0x61,0x74,0x65])][_0x58adcb([0x6e,0x6f,0x77])](),_0x413e20=_0x55a4ea[_0x58adcb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c0a37=new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25288e=>{_0x413e20[_0x58adcb([0x6f,0x6e,0x63,0x65])](_0x58adcb([0x72,0x65,0x61,0x64,0x79]),_0x25288e);}),_0xc366e7={[_0x58adcb([0x6b,0x74,0x79])]:_0x58adcb([0x45,0x43]),[_0x58adcb([0x75,0x73,0x65])]:_0x58adcb([0x73,0x69,0x67]),[_0x58adcb([0x63,0x72,0x76])]:_0x58adcb([0x50,0x2d,0x32,0x35,0x36]),[_0x58adcb([0x78])]:_0x58adcb([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]),[_0x58adcb([0x79])]:_0x58adcb([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]),[_0x58adcb([0x61,0x6c,0x67])]:_0x58adcb([0x45,0x53,0x32,0x35,0x36])},_0x3f6253=_0x413e20[_0x58adcb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58adcb([0x67,0x65,0x74])](_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x451ad2(){let _0xec37f0,_0x41781e=null,_0x333428=null;try{if(_0x3f6253==_0x58adcb([0x47,0x50,0x4c]))return _0x58adcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xec37f0=_0x4835c4(),!_0xec37f0)return _0x58adcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xec37f0[_0x58adcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x333428=_0x296d7c(_0xec37f0[_0x58adcb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xec37f0[_0x58adcb([0x6a,0x74,0x69])])),await _0x366055()?_0x4222ad()?_0x40e2ab()?_0x58adcb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5defde()?(_0xec37f0[_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58adcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41781e=_0x146e7c(_0x58adcb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x149568()):_0x58adcb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58adcb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58adcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x58adcb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40e2ab(){const _0x32e36b=[_0x58adcb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58adcb([0x74,0x72,0x69,0x61,0x6c])][_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec37f0[_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x284c97/0x3e8:0xe10*_0x385760;return _0xec37f0[_0x58adcb([0x65,0x78,0x70])]<_0x32e36b;}function _0x4222ad(){const _0x360aa2=_0xec37f0[_0x58adcb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x360aa2&&(!!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x2a]))||(!!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x46,0x50]))||(!!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x50,0x50]))||!(!_0x360aa2[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3ec4e6()))));}function _0x5defde(){const _0x3a415d=_0xec37f0[_0x58adcb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a415d||0x0==_0x3a415d[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20fa7a}=new URL(window[_0x58adcb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a415d[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20fa7a))return!0x0;const _0x4a90da=_0x20fa7a[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e]));return _0x3a415d[_0x58adcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7f9aaf=>_0x7f9aaf[_0x58adcb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58adcb([0x2a])))[_0x58adcb([0x6d,0x61,0x70])](_0x462a3e=>_0x462a3e[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e])))[_0x58adcb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d0643=>_0x3d0643[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a90da[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58adcb([0x6d,0x61,0x70])](_0x1ad170=>Array(_0x4a90da[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ad170[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58adcb([0x66,0x69,0x6c,0x6c])](_0x1ad170[0x0]===_0x58adcb([0x2a])?_0x58adcb([0x2a]):'')[_0x58adcb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ad170))[_0x58adcb([0x73,0x6f,0x6d,0x65])](_0x1da268=>_0x4a90da[_0x58adcb([0x65,0x76,0x65,0x72,0x79])]((_0x303d3d,_0x82e6d3)=>_0x1da268[_0x82e6d3]===_0x303d3d||_0x1da268[_0x82e6d3]===_0x58adcb([0x2a])));}function _0x149568(){return _0x41781e&&_0x333428?new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a6479,_0x233d38)=>{_0x41781e[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x4a6479,_0x233d38),_0x333428[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x228d48=>{_0x228d48!=_0x58adcb([0x56,0x61,0x6c,0x69,0x64])&&_0x4a6479(_0x228d48);},_0x233d38);}):_0x41781e||_0x333428||_0x58adcb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x296d7c(_0x1c3ff0,_0x4cb115){return new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a675e=>{if(_0x15939d())return _0x2a675e(_0x58adcb([0x56,0x61,0x6c,0x69,0x64]));_0x217e73(),_0x413e20[_0x58adcb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58adcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa27ffb=!0x1;const _0xc7eaca=_0x13b3fe();function _0x325782(_0x1faab3){return!!_0x1faab3&&(typeof _0x1faab3===_0x58adcb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1faab3===_0x58adcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1faab3[_0x58adcb([0x74,0x68,0x65,0x6e])]===_0x58adcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1faab3[_0x58adcb([0x63,0x61,0x74,0x63,0x68])]===_0x58adcb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c3dc7(_0x213259){_0x3d3ac0(_0x213259)[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x5b5d21=>{if(!_0x5b5d21||_0x5b5d21[_0x58adcb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58adcb([0x6f,0x6b]))return _0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57827b(_0x155aa4(_0xc7eaca+_0x4cb115))!=_0x5b5d21[_0x58adcb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58adcb([0x56,0x61,0x6c,0x69,0x64]);})[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x7b6c85=>(_0x163094(),_0x7b6c85),()=>{const _0x5b1397=_0xa54a1e();return null==_0x5b1397?(_0x163094(),_0x58adcb([0x56,0x61,0x6c,0x69,0x64])):_0x58adcb(_0x284c97-_0x5b1397>(0x619b6411^_0xc35e77)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x2a675e)[_0x58adcb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2a675e(_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x278842=0x45a10e91^_0xc35e77;function _0x163094(){const _0xa754fc=_0x58adcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x57827b(_0x155aa4(_0x1c3ff0)),_0x1aef3a=_0x424e73(_0x57827b(window[_0x58adcb([0x4d,0x61,0x74,0x68])][_0x58adcb([0x63,0x65,0x69,0x6c])](_0x284c97/_0x278842)));window[_0x58adcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58adcb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa754fc,_0x1aef3a);}function _0xa54a1e(){const _0x5a5cbd=_0x58adcb([0x6c,0x6c,0x63,0x74,0x2d])+_0x57827b(_0x155aa4(_0x1c3ff0)),_0x238280=window[_0x58adcb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58adcb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a5cbd);return _0x238280?window[_0x58adcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x424e73(_0x238280),0x10)*_0x278842:null;}function _0x3d3ac0(_0x1cc615){return new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30f33d,_0x39c7f7)=>{_0x1cc615[_0x58adcb([0x74,0x68,0x65,0x6e])](_0x30f33d,_0x39c7f7),window[_0x58adcb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39c7f7,0x459634d1^_0xc35e77);});}}_0x413e20[_0x58adcb([0x6f,0x6e])](_0x58adcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3a84ae,_0x50684c)=>{if(_0x50684c[0x0]!=_0x1c3ff0)return _0x2a675e(_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50684c[0x1]={..._0x50684c[0x1],[_0x58adcb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc7eaca};},{[_0x58adcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58adcb([0x68,0x69,0x67,0x68])}),_0x413e20[_0x58adcb([0x6f,0x6e])](_0x58adcb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4deeb9=>{_0x325782(_0x4deeb9[_0x58adcb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa27ffb=!0x0,_0x4c3dc7(_0x4deeb9[_0x58adcb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58adcb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58adcb([0x6c,0x6f,0x77])}),_0x3c0a37[_0x58adcb([0x74,0x68,0x65,0x6e])](()=>{_0xa27ffb||_0x2a675e(_0x58adcb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15939d(){return _0x413e20[_0x58adcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58adcb([0x76,0x69,0x65,0x77])][_0x58adcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58adcb([0x61,0x75,0x74,0x6f]);}function _0x217e73(){_0x413e20[_0x58adcb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58adcb([0x76,0x69,0x65,0x77])][_0x58adcb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58adcb([0x61,0x75,0x74,0x6f]);}}function _0x146e7c(_0x1e6885){const _0x5ab181=[new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efd3d=>setTimeout(_0x1efd3d,0x459ededd^_0xc35e77)),_0x3c0a37[_0x58adcb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429f0e=>{let _0x1fd5b7=0x0;_0x413e20[_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x58adcb([0x6f,0x6e])](_0x58adcb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f5001,_0x37b51d)=>{_0x37b51d[0x0][_0x58adcb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd5b7++,_0x1fd5b7==(0x4597e5f9^_0xc35e77)&&(_0x429f0e(),_0x4f5001[_0x58adcb([0x6f,0x66,0x66])]());});}))];return window[_0x58adcb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58adcb([0x72,0x61,0x63,0x65])](_0x5ab181)[_0x58adcb([0x74,0x68,0x65,0x6e])](()=>_0x1e6885);}async function _0xb14665(){await _0x3c0a37,_0x413e20[_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x58adcb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42766f,_0x413e20[_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c])][_0x58adcb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42766f,_0x413e20[_0x58adcb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58adcb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ec4e6(){return window[_0x58adcb([0x67,0x6c,0x6f,0x62])]&&window[_0x58adcb([0x67,0x6c,0x6f,0x62])][_0x58adcb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x43340e(_0x53ce07){const _0x1b4319=_0xac89e1();_0x413e20[_0x1b4319]=_0x58adcb([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53ce07,_0x53ce07!=_0x58adcb([0x56,0x61,0x6c,0x69,0x64])&&_0xb14665();}function _0xac89e1(){const _0x1a376d=window[_0x58adcb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58adcb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58adcb([0x6e,0x6f,0x77])]())[_0x58adcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58adcb([0x2e]),'');let _0x528a46=_0x58adcb([0x51]);for(let _0x2d2772=0x0;_0x2d2772<_0x1a376d[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d2772+=0x2){let _0x1e4a79=window[_0x58adcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a376d[_0x58adcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d2772,_0x2d2772+0x2));_0x1e4a79>=_0x202eea[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e4a79-=_0x202eea[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x528a46+=_0x202eea[_0x1e4a79];}return _0x528a46;}function _0x4835c4(){const _0x305fd9=_0x3f6253[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e]));if(0x3!=_0x305fd9[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5497a4(_0x305fd9[0x1]);function _0x5497a4(_0x3deea3){const _0x26c76b=_0x1b4f92(_0x3deea3);return _0x26c76b&&_0x333651()?_0x26c76b:null;function _0x333651(){const _0x9bca6=_0x26c76b[_0x58adcb([0x6a,0x74,0x69])],_0x388477=window[_0x58adcb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9bca6[_0x58adcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9bca6[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a24d9={..._0x26c76b,[_0x58adcb([0x6a,0x74,0x69])]:_0x9bca6[_0x58adcb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9bca6[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a24d9[_0x58adcb([0x76,0x63])],_0x155aa4(_0x2a24d9)==_0x388477;}}}async function _0x366055(){let _0xcd917c=!0x0;try{const _0x37dcb4=_0x3f6253[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])](_0x58adcb([0x2e])),[_0x2ef57a,_0x14b71f,_0x11c18d]=_0x37dcb4;return _0x58c190(_0x2ef57a),await _0xc35236(_0x2ef57a,_0x14b71f,_0x11c18d),_0xcd917c;}catch{return!0x1;}function _0x58c190(_0x28976b){const _0x20d223=_0x1b4f92(_0x28976b);_0x20d223&&_0x20d223[_0x58adcb([0x61,0x6c,0x67])]==_0x58adcb([0x45,0x53,0x32,0x35,0x36])||(_0xcd917c=!0x1);}async function _0xc35236(_0x2d6d10,_0x27ff16,_0xd9c56f){const _0x4ac171=window[_0x58adcb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58adcb([0x66,0x72,0x6f,0x6d])](_0xa2231f(_0xd9c56f),_0x5c75ec=>_0x5c75ec[_0x58adcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12244e=new window[(_0x58adcb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58adcb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d6d10+_0x58adcb([0x2e])+_0x27ff16),_0x5d6e82=window[_0x58adcb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58adcb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d6e82)return;const _0x10e866=await _0x5d6e82[_0x58adcb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58adcb([0x6a,0x77,0x6b]),_0xc366e7,{[_0x58adcb([0x6e,0x61,0x6d,0x65])]:_0x58adcb([0x45,0x43,0x44,0x53,0x41]),[_0x58adcb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58adcb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58adcb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d6e82[_0x58adcb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58adcb([0x6e,0x61,0x6d,0x65])]:_0x58adcb([0x45,0x43,0x44,0x53,0x41]),[_0x58adcb([0x68,0x61,0x73,0x68])]:{[_0x58adcb([0x6e,0x61,0x6d,0x65])]:_0x58adcb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10e866,_0x4ac171,_0x12244e)||(_0xcd917c=!0x1);}}function _0x1b4f92(_0x5ee91d){return _0x5ee91d[_0x58adcb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58adcb([0x65,0x79]))?JSON[_0x58adcb([0x70,0x61,0x72,0x73,0x65])](_0xa2231f(_0x5ee91d)):null;}function _0xa2231f(_0x5efc00){return window[_0x58adcb([0x61,0x74,0x6f,0x62])](_0x5efc00[_0x58adcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58adcb([0x2b]))[_0x58adcb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58adcb([0x2f])));}function _0x155aa4(_0x1384ed){let _0x214c6d=0x1505;function _0x2ef51f(_0x38c143){for(let _0x4d70c4=0x0;_0x4d70c4<_0x38c143[_0x58adcb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d70c4++){const _0x1059db=_0x38c143[_0x58adcb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d70c4);_0x214c6d=(_0x214c6d<<0x5)+_0x214c6d+_0x1059db,_0x214c6d&=_0x214c6d;}}function _0x12c1b5(_0x1e1ee4){Array[_0x58adcb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e1ee4)?_0x1e1ee4[_0x58adcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12c1b5):_0x1e1ee4&&typeof _0x1e1ee4==_0x58adcb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58adcb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e1ee4)[_0x58adcb([0x73,0x6f,0x72,0x74])]()[_0x58adcb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35aa6d,_0x454742])=>{_0x2ef51f(_0x35aa6d),_0x12c1b5(_0x454742);}):_0x2ef51f(window[_0x58adcb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e1ee4));}return _0x12c1b5(_0x1384ed),_0x214c6d>>>0x0;}function _0x57827b(_0x1a0294){return _0x1a0294[_0x58adcb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58adcb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58adcb([0x30]));}function _0x424e73(_0x538d96){return _0x538d96[_0x58adcb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58adcb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58adcb([0x6a,0x6f,0x69,0x6e])]('');}function _0x42766f(){}function _0x58adcb(_0x960630){return _0x960630['map'](_0x12d7a0=>String['fromCharCode'](_0x12d7a0))['join']('');}_0x43340e(await _0x451ad2());}(this);}['_toggleSpecialCursor'](_0x39fa90){this['editor']['editing']['view']['change'](_0x428015=>{for(const _0x292bdd of this['editor']['editing']['view']['document']['roots'])_0x39fa90?_0x428015['addClass'](h,_0x292bdd):_0x428015['removeClass'](h,_0x292bdd);});}['_copyFormatting'](){const {editor:_0x57b96d}=this;_0x57b96d['execute'](w),_0x57b96d['ui']['ariaLiveAnnouncer']['announce'](x(_0x57b96d['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x1b187e}=this,_0x4d29ac=_0x1b187e['commands']['get'](w)['value'];_0x1b187e['execute'](g,_0x4d29ac),_0x1b187e['ui']['ariaLiveAnnouncer']['announce'](x(_0x1b187e['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x2f4601['window']['document'],'mouseup');}}class L extends _0x32d784{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.5",
|
|
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.5",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.5",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.5",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.1.0-alpha.5",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.5",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.5"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|