@ckeditor/ckeditor5-format-painter 48.1.0-alpha.7 → 48.1.0-alpha.8
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
|
-
_0x8ad6a4(_0x3fc9dc){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x13ad83=this['editor'];_0x13ad83['editing']['view']['addObserver'](_0x345ed5),_0x13ad83['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x13ad83['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x13ad83['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x13ad83['ui']['componentFactory']['add']('formatPainter',_0x587f88=>{const _0x1eac41=_0x3d6ee0(_0x587f88,_0x4e9187),_0x45730d=_0x13ad83['commands']['get'](w);_0x1eac41['buttonView']['set']({'label':x(_0x13ad83['locale'],'Paint\x20formatting'),'icon':_0x8bcf8c,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x1eac41['class']='ck-format-painter-dropdown',_0x45730d&&(_0x1eac41['bind']('isEnabled')['to'](_0x45730d,'isEnabled'),this['listenTo'](_0x45730d,'change:isEnabled',(_0x186c2f,_0x2892f6,_0x5e500e)=>{_0x5e500e||this['_finishPainting']();}),_0x1eac41['buttonView']['bind']('isOn')['to'](_0x45730d,'value',_0x49e560=>!!_0x49e560),this['listenTo'](_0x13ad83,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x45730d,'change:value',(_0x15fe33,_0x22fd33,_0x321b65)=>{this['_toggleSpecialCursor'](!!_0x321b65);}));const _0x28d101=new _0x39f202({'withText':!0x0,'label':x(_0x13ad83['locale'],'Continuous\x20painting'),'tooltip':x(_0x13ad83['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x52b1fb(_0x1eac41,new _0x337fc2([{'type':'switchbutton','model':_0x28d101}]),{'role':'menu'});const _0x3bbe4f=()=>{this['_copyFormatting'](),this['listenTo'](_0x216b93['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x28d101['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x1eac41,'execute',()=>{_0x28d101['isOn']=!_0x28d101['isOn'];}),this['listenTo'](_0x1eac41['buttonView'],'execute',()=>{_0x13ad83['editing']['view']['focus'](),_0x1eac41['buttonView']['isOn']?this['_finishPainting']():_0x3bbe4f();}),_0x13ad83['keystrokes']['set']('Ctrl+Alt+C',(_0x392152,_0xd9d9ce)=>{_0x3bbe4f(),_0x28d101['isOn']=!0x0,_0xd9d9ce();},{'priority':'high'}),_0x13ad83['keystrokes']['set']('Ctrl+Alt+V',(_0x37e5df,_0x49c616)=>{_0x1eac41['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x28d101['isOn']||this['_finishPainting'](),_0x49c616());},{'priority':'high'}),_0x13ad83['keystrokes']['set']('Esc',(_0xf49dcc,_0x51ac79)=>{_0x1eac41['buttonView']['isOn']&&(_0x28d101['isOn']=!0x1,this['_finishPainting'](),_0x13ad83['ui']['ariaLiveAnnouncer']['announce'](x(_0x13ad83['locale'],'Painting\x20cancelled.')),_0x51ac79());}),_0x1eac41;});}['afterInit'](){!async function(_0x11f8ca){const _0x2a676c=_0x3ffb08([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]),_0x54c41c=0x4597e011,_0xc76f18=0x459069c9^_0x54c41c,_0xc65481=window[_0x3ffb08([0x44,0x61,0x74,0x65])][_0x3ffb08([0x6e,0x6f,0x77])](),_0x5ab418=_0x11f8ca[_0x3ffb08([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa11227=new window[(_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x434c78=>{_0x5ab418[_0x3ffb08([0x6f,0x6e,0x63,0x65])](_0x3ffb08([0x72,0x65,0x61,0x64,0x79]),_0x434c78);}),_0x1a2b6={[_0x3ffb08([0x6b,0x74,0x79])]:_0x3ffb08([0x45,0x43]),[_0x3ffb08([0x75,0x73,0x65])]:_0x3ffb08([0x73,0x69,0x67]),[_0x3ffb08([0x63,0x72,0x76])]:_0x3ffb08([0x50,0x2d,0x32,0x35,0x36]),[_0x3ffb08([0x78])]:_0x3ffb08([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]),[_0x3ffb08([0x79])]:_0x3ffb08([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]),[_0x3ffb08([0x61,0x6c,0x67])]:_0x3ffb08([0x45,0x53,0x32,0x35,0x36])},_0x9e0bf1=_0x5ab418[_0x3ffb08([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3ffb08([0x67,0x65,0x74])](_0x3ffb08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x479e91(){let _0x3bb358,_0x47b4ab=null,_0x5ec760=null;try{if(_0x9e0bf1==_0x3ffb08([0x47,0x50,0x4c]))return _0x3ffb08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bb358=_0x5322a1(),!_0x3bb358)return _0x3ffb08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bb358[_0x3ffb08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ec760=_0x4ceb32(_0x3bb358[_0x3ffb08([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bb358[_0x3ffb08([0x6a,0x74,0x69])])),await _0xcb76c6()?_0x2063d4()?_0x4a2f7e()?_0x3ffb08([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x583d3f()?(_0x3bb358[_0x3ffb08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3ffb08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47b4ab=_0x33dc01(_0x3ffb08([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5170b8()):_0x3ffb08([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3ffb08([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3ffb08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3ffb08([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a2f7e(){const _0x44f7c6=[_0x3ffb08([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3ffb08([0x74,0x72,0x69,0x61,0x6c])][_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bb358[_0x3ffb08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc65481/0x3e8:0xe10*_0xc76f18;return _0x3bb358[_0x3ffb08([0x65,0x78,0x70])]<_0x44f7c6;}function _0x2063d4(){const _0x366918=_0x3bb358[_0x3ffb08([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x366918&&(!!_0x366918[_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffb08([0x2a]))||(!!_0x366918[_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffb08([0x46,0x50]))||(!!_0x366918[_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffb08([0x50,0x50]))||!(!_0x366918[_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffb08([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x438e87()))));}function _0x583d3f(){const _0x1dfd45=_0x3bb358[_0x3ffb08([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1dfd45||0x0==_0x1dfd45[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe0a0e2}=new URL(window[_0x3ffb08([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1dfd45[_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe0a0e2))return!0x0;const _0x551997=_0xe0a0e2[_0x3ffb08([0x73,0x70,0x6c,0x69,0x74])](_0x3ffb08([0x2e]));return _0x1dfd45[_0x3ffb08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f8ad3=>_0x3f8ad3[_0x3ffb08([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffb08([0x2a])))[_0x3ffb08([0x6d,0x61,0x70])](_0x2a1c55=>_0x2a1c55[_0x3ffb08([0x73,0x70,0x6c,0x69,0x74])](_0x3ffb08([0x2e])))[_0x3ffb08([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d0016=>_0x4d0016[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x551997[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ffb08([0x6d,0x61,0x70])](_0x22bcd5=>Array(_0x551997[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22bcd5[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3ffb08([0x66,0x69,0x6c,0x6c])](_0x22bcd5[0x0]===_0x3ffb08([0x2a])?_0x3ffb08([0x2a]):'')[_0x3ffb08([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22bcd5))[_0x3ffb08([0x73,0x6f,0x6d,0x65])](_0x1fd51f=>_0x551997[_0x3ffb08([0x65,0x76,0x65,0x72,0x79])]((_0x355a38,_0x57e6ec)=>_0x1fd51f[_0x57e6ec]===_0x355a38||_0x1fd51f[_0x57e6ec]===_0x3ffb08([0x2a])));}function _0x5170b8(){return _0x47b4ab&&_0x5ec760?new window[(_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434af8,_0x3cb5cd)=>{_0x47b4ab[_0x3ffb08([0x74,0x68,0x65,0x6e])](_0x434af8,_0x3cb5cd),_0x5ec760[_0x3ffb08([0x74,0x68,0x65,0x6e])](_0x40f4c5=>{_0x40f4c5!=_0x3ffb08([0x56,0x61,0x6c,0x69,0x64])&&_0x434af8(_0x40f4c5);},_0x3cb5cd);}):_0x47b4ab||_0x5ec760||_0x3ffb08([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ceb32(_0x5f4edb,_0x135fd9){return new window[(_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1982bd=>{if(_0x1127d7())return _0x1982bd(_0x3ffb08([0x56,0x61,0x6c,0x69,0x64]));_0x4056a4(),_0x5ab418[_0x3ffb08([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3ffb08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36b608=!0x1;const _0x5a0b7a=_0x48239d();function _0x4aab29(_0xfdf7f){return!!_0xfdf7f&&(typeof _0xfdf7f===_0x3ffb08([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xfdf7f===_0x3ffb08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xfdf7f[_0x3ffb08([0x74,0x68,0x65,0x6e])]===_0x3ffb08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xfdf7f[_0x3ffb08([0x63,0x61,0x74,0x63,0x68])]===_0x3ffb08([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a000c(_0x47aa1b){_0x3f04d3(_0x47aa1b)[_0x3ffb08([0x74,0x68,0x65,0x6e])](_0x18e529=>{if(!_0x18e529||_0x18e529[_0x3ffb08([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3ffb08([0x6f,0x6b]))return _0x3ffb08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e932a(_0x5120ac(_0x5a0b7a+_0x135fd9))!=_0x18e529[_0x3ffb08([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3ffb08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3ffb08([0x56,0x61,0x6c,0x69,0x64]);})[_0x3ffb08([0x74,0x68,0x65,0x6e])](_0x4ff992=>(_0x518b43(),_0x4ff992),()=>{const _0x315b3d=_0x51cfab();return null==_0x315b3d?(_0x518b43(),_0x3ffb08([0x56,0x61,0x6c,0x69,0x64])):_0x3ffb08(_0xc65481-_0x315b3d>(0x619b6411^_0x54c41c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3ffb08([0x74,0x68,0x65,0x6e])](_0x1982bd)[_0x3ffb08([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1982bd(_0x3ffb08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57dc95=0x45a10e91^_0x54c41c;function _0x518b43(){const _0x58c497=_0x3ffb08([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e932a(_0x5120ac(_0x5f4edb)),_0x21a211=_0x59fff3(_0x5e932a(window[_0x3ffb08([0x4d,0x61,0x74,0x68])][_0x3ffb08([0x63,0x65,0x69,0x6c])](_0xc65481/_0x57dc95)));window[_0x3ffb08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ffb08([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58c497,_0x21a211);}function _0x51cfab(){const _0x50f5fe=_0x3ffb08([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e932a(_0x5120ac(_0x5f4edb)),_0x2cf934=window[_0x3ffb08([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3ffb08([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50f5fe);return _0x2cf934?window[_0x3ffb08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59fff3(_0x2cf934),0x10)*_0x57dc95:null;}function _0x3f04d3(_0x46ae82){return new window[(_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x400e35,_0x54888d)=>{_0x46ae82[_0x3ffb08([0x74,0x68,0x65,0x6e])](_0x400e35,_0x54888d),window[_0x3ffb08([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54888d,0x459634d1^_0x54c41c);});}}_0x5ab418[_0x3ffb08([0x6f,0x6e])](_0x3ffb08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1cd27e,_0x81d8ea)=>{if(_0x81d8ea[0x0]!=_0x5f4edb)return _0x1982bd(_0x3ffb08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x81d8ea[0x1]={..._0x81d8ea[0x1],[_0x3ffb08([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a0b7a};},{[_0x3ffb08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ffb08([0x68,0x69,0x67,0x68])}),_0x5ab418[_0x3ffb08([0x6f,0x6e])](_0x3ffb08([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ef781=>{_0x4aab29(_0x3ef781[_0x3ffb08([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36b608=!0x0,_0x1a000c(_0x3ef781[_0x3ffb08([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3ffb08([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3ffb08([0x6c,0x6f,0x77])}),_0xa11227[_0x3ffb08([0x74,0x68,0x65,0x6e])](()=>{_0x36b608||_0x1982bd(_0x3ffb08([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1127d7(){return _0x5ab418[_0x3ffb08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ffb08([0x76,0x69,0x65,0x77])][_0x3ffb08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3ffb08([0x61,0x75,0x74,0x6f]);}function _0x4056a4(){_0x5ab418[_0x3ffb08([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3ffb08([0x76,0x69,0x65,0x77])][_0x3ffb08([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3ffb08([0x61,0x75,0x74,0x6f]);}}function _0x33dc01(_0x4613c4){const _0x3ea579=[new window[(_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223db9=>setTimeout(_0x223db9,0x459ededd^_0x54c41c)),_0xa11227[_0x3ffb08([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3da747=>{let _0x321a21=0x0;_0x5ab418[_0x3ffb08([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffb08([0x6f,0x6e])](_0x3ffb08([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x528539,_0xc1a742)=>{_0xc1a742[0x0][_0x3ffb08([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x321a21++,_0x321a21==(0x4597e5f9^_0x54c41c)&&(_0x3da747(),_0x528539[_0x3ffb08([0x6f,0x66,0x66])]());});}))];return window[_0x3ffb08([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3ffb08([0x72,0x61,0x63,0x65])](_0x3ea579)[_0x3ffb08([0x74,0x68,0x65,0x6e])](()=>_0x4613c4);}async function _0x38f360(){await _0xa11227,_0x5ab418[_0x3ffb08([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffb08([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d7338,_0x5ab418[_0x3ffb08([0x6d,0x6f,0x64,0x65,0x6c])][_0x3ffb08([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d7338,_0x5ab418[_0x3ffb08([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3ffb08([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x438e87(){return window[_0x3ffb08([0x67,0x6c,0x6f,0x62])]&&window[_0x3ffb08([0x67,0x6c,0x6f,0x62])][_0x3ffb08([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1bdf3f(_0x3a822f){const _0x445bec=_0x47e30b();_0x5ab418[_0x445bec]=_0x3ffb08([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a822f,_0x3a822f!=_0x3ffb08([0x56,0x61,0x6c,0x69,0x64])&&_0x38f360();}function _0x47e30b(){const _0x34c450=window[_0x3ffb08([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3ffb08([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3ffb08([0x6e,0x6f,0x77])]())[_0x3ffb08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3ffb08([0x2e]),'');let _0x1cf25b=_0x3ffb08([0x51]);for(let _0x3d7be0=0x0;_0x3d7be0<_0x34c450[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d7be0+=0x2){let _0x1144ea=window[_0x3ffb08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34c450[_0x3ffb08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d7be0,_0x3d7be0+0x2));_0x1144ea>=_0x2a676c[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1144ea-=_0x2a676c[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1cf25b+=_0x2a676c[_0x1144ea];}return _0x1cf25b;}function _0x5322a1(){const _0x2fe884=_0x9e0bf1[_0x3ffb08([0x73,0x70,0x6c,0x69,0x74])](_0x3ffb08([0x2e]));if(0x3!=_0x2fe884[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x224da0(_0x2fe884[0x1]);function _0x224da0(_0x385a0c){const _0x4e208c=_0x896b56(_0x385a0c);return _0x4e208c&&_0x3dbce9()?_0x4e208c:null;function _0x3dbce9(){const _0x2b51f1=_0x4e208c[_0x3ffb08([0x6a,0x74,0x69])],_0x28a61f=window[_0x3ffb08([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b51f1[_0x3ffb08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b51f1[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5046a6={..._0x4e208c,[_0x3ffb08([0x6a,0x74,0x69])]:_0x2b51f1[_0x3ffb08([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b51f1[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5046a6[_0x3ffb08([0x76,0x63])],_0x5120ac(_0x5046a6)==_0x28a61f;}}}async function _0xcb76c6(){let _0x55dd20=!0x0;try{const _0x1e2f60=_0x9e0bf1[_0x3ffb08([0x73,0x70,0x6c,0x69,0x74])](_0x3ffb08([0x2e])),[_0x35480e,_0x5bf706,_0x496fe5]=_0x1e2f60;return _0x24bb92(_0x35480e),await _0x5eca4a(_0x35480e,_0x5bf706,_0x496fe5),_0x55dd20;}catch{return!0x1;}function _0x24bb92(_0x47959e){const _0x1f81aa=_0x896b56(_0x47959e);_0x1f81aa&&_0x1f81aa[_0x3ffb08([0x61,0x6c,0x67])]==_0x3ffb08([0x45,0x53,0x32,0x35,0x36])||(_0x55dd20=!0x1);}async function _0x5eca4a(_0x2d8f01,_0x2114c5,_0x2e3ab9){const _0x218906=window[_0x3ffb08([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3ffb08([0x66,0x72,0x6f,0x6d])](_0x278f23(_0x2e3ab9),_0x43e52e=>_0x43e52e[_0x3ffb08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37e17d=new window[(_0x3ffb08([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3ffb08([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d8f01+_0x3ffb08([0x2e])+_0x2114c5),_0x3d6478=window[_0x3ffb08([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3ffb08([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d6478)return;const _0x959add=await _0x3d6478[_0x3ffb08([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3ffb08([0x6a,0x77,0x6b]),_0x1a2b6,{[_0x3ffb08([0x6e,0x61,0x6d,0x65])]:_0x3ffb08([0x45,0x43,0x44,0x53,0x41]),[_0x3ffb08([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3ffb08([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3ffb08([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d6478[_0x3ffb08([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3ffb08([0x6e,0x61,0x6d,0x65])]:_0x3ffb08([0x45,0x43,0x44,0x53,0x41]),[_0x3ffb08([0x68,0x61,0x73,0x68])]:{[_0x3ffb08([0x6e,0x61,0x6d,0x65])]:_0x3ffb08([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x959add,_0x218906,_0x37e17d)||(_0x55dd20=!0x1);}}function _0x896b56(_0x10a7e4){return _0x10a7e4[_0x3ffb08([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3ffb08([0x65,0x79]))?JSON[_0x3ffb08([0x70,0x61,0x72,0x73,0x65])](_0x278f23(_0x10a7e4)):null;}function _0x278f23(_0x1c0e05){return window[_0x3ffb08([0x61,0x74,0x6f,0x62])](_0x1c0e05[_0x3ffb08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3ffb08([0x2b]))[_0x3ffb08([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3ffb08([0x2f])));}function _0x5120ac(_0x5ad935){let _0x150e71=0x1505;function _0xcfea96(_0x289e9f){for(let _0x52166=0x0;_0x52166<_0x289e9f[_0x3ffb08([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52166++){const _0x3bcc3a=_0x289e9f[_0x3ffb08([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x52166);_0x150e71=(_0x150e71<<0x5)+_0x150e71+_0x3bcc3a,_0x150e71&=_0x150e71;}}function _0x307b17(_0x43ed19){Array[_0x3ffb08([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43ed19)?_0x43ed19[_0x3ffb08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x307b17):_0x43ed19&&typeof _0x43ed19==_0x3ffb08([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3ffb08([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43ed19)[_0x3ffb08([0x73,0x6f,0x72,0x74])]()[_0x3ffb08([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x551c63,_0x5c3101])=>{_0xcfea96(_0x551c63),_0x307b17(_0x5c3101);}):_0xcfea96(window[_0x3ffb08([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43ed19));}return _0x307b17(_0x5ad935),_0x150e71>>>0x0;}function _0x5e932a(_0x502f4e){return _0x502f4e[_0x3ffb08([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3ffb08([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3ffb08([0x30]));}function _0x59fff3(_0x29f7e9){return _0x29f7e9[_0x3ffb08([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3ffb08([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3ffb08([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d7338(){}function _0x3ffb08(_0x316edb){return _0x316edb['map'](_0x4be43e=>String['fromCharCode'](_0x4be43e))['join']('');}_0x1bdf3f(await _0x479e91());}(this);}['_toggleSpecialCursor'](_0x59cccc){this['editor']['editing']['view']['change'](_0x5dcc3a=>{for(const _0x5b51c2 of this['editor']['editing']['view']['document']['roots'])_0x59cccc?_0x5dcc3a['addClass'](h,_0x5b51c2):_0x5dcc3a['removeClass'](h,_0x5b51c2);});}['_copyFormatting'](){const {editor:_0x5c8d7a}=this;_0x5c8d7a['execute'](w),_0x5c8d7a['ui']['ariaLiveAnnouncer']['announce'](x(_0x5c8d7a['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xba25f8}=this,_0x5537b=_0xba25f8['commands']['get'](w)['value'];_0xba25f8['execute'](g,_0x5537b),_0xba25f8['ui']['ariaLiveAnnouncer']['announce'](x(_0xba25f8['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x216b93['window']['document'],'mouseup');}}class L extends _0x3fc9dc{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 _0x44d400,Plugin as _0x351bc5}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x22b02b}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x235881,SplitButtonView as _0xde8e85,UIModel as _0xf8e150,addListToDropdown as _0x589694}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x472e11,Collection as _0x961b9e,global as _0x228a5f,uid as _0x5b4776}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x411aa1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x53aba7}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',g='pasteFormat',h='ck-format-painter-active';class p extends _0x44d400{constructor(_0x1a28ba){super(_0x1a28ba),this['value']=void 0x0,this['on']('change:isEnabled',(_0x498d6d,_0x296a26,_0x240a41)=>{_0x240a41||this['reset']();}),this['on']('change:value',()=>_0x1a28ba['commands']['get'](g)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x2ff204=this['editor']['model'],_0x186ddf=_0x2ff204['document']['selection'];return Object['fromEntries'](Array['from'](_0x186ddf['getAttributes']())['filter'](([_0x535e97])=>_0x2ff204['schema']['getAttributeProperties'](_0x535e97)['isFormatting']));}}class y extends _0x44d400{constructor(_0x4acff8){super(_0x4acff8),this['_removeFormatCommand']=new _0x22b02b(_0x4acff8);}['execute'](_0x519003={}){const _0x9f4b16=this['editor']['model'],_0x218fc4=_0x9f4b16['document']['selection'],_0xe84e0=Array['from'](_0x218fc4['getRanges']()),_0x16b4ac=_0x218fc4['isCollapsed']?[this['_createRangeOnEntireWord'](_0x9f4b16,_0x218fc4)]:_0xe84e0;_0x9f4b16['change'](_0x518e41=>{_0x518e41['setSelection'](_0x16b4ac),this['_removeFormatCommand']['execute']();for(const _0x6d5137 in _0x519003)for(const _0x5b10fa of _0x9f4b16['schema']['getValidRanges'](_0x16b4ac,_0x6d5137))_0x518e41['setAttribute'](_0x6d5137,_0x519003[_0x6d5137],_0x5b10fa);_0x518e41['setSelection'](_0xe84e0);});}['_createRangeOnEntireWord'](_0x41a6f5,_0x25703d){const _0x482450=_0x41a6f5['createSelection'](_0x25703d);_0x41a6f5['modifySelection'](_0x482450,{'unit':'word','direction':'backward'});const _0x58eb6b=_0x482450['getFirstPosition']();_0x41a6f5['modifySelection'](_0x482450,{'unit':'word','direction':'forward'});const _0x5f4bb9=_0x482450['getLastPosition']();return _0x41a6f5['createRange'](_0x58eb6b,_0x5f4bb9);}}class P extends _0x351bc5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x530485=this['editor'];_0x530485['commands']['add'](w,new p(_0x530485)),_0x530485['commands']['add'](g,new y(_0x530485)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2e3648=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4293dd;for(const _0x1daca7 in _0x2e3648){const _0x305ba1=_0x1daca7,_0x4953f2=_0x2e3648[_0x305ba1];if('formatPainterLicenseKeyValid'==_0x4953f2||'formatPainterLicenseKeyInvalid'==_0x4953f2||'formatPainterLicenseKeyExpired'==_0x4953f2||'formatPainterLicenseKeyDomainLimit'==_0x4953f2||'formatPainterLicenseKeyNotAllowed'==_0x4953f2||'formatPainterLicenseKeyEvaluationLimit'==_0x4953f2||'formatPainterLicenseKeyUsageLimit'==_0x4953f2){delete _0x2e3648[_0x305ba1],_0x4293dd=_0x4953f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x4293dd&&_0x2e3648['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x4293dd&&_0x2e3648['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x4293dd&&_0x2e3648['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x4293dd&&_0x2e3648['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x4293dd&&_0x2e3648['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x4293dd&&_0x2e3648['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2d3eb9,_0x33eabc){const t=_0x2d3eb9['t'];switch(_0x33eabc){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 _0x33eabc;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x472e11(_0x351bc5){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x45dd7f=this['editor'];_0x45dd7f['editing']['view']['addObserver'](_0x411aa1),_0x45dd7f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x45dd7f['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x45dd7f['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x45dd7f['ui']['componentFactory']['add']('formatPainter',_0x4b07e5=>{const _0x17d379=_0x235881(_0x4b07e5,_0xde8e85),_0x3d2dc9=_0x45dd7f['commands']['get'](w);_0x17d379['buttonView']['set']({'label':x(_0x45dd7f['locale'],'Paint\x20formatting'),'icon':_0x53aba7,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x17d379['class']='ck-format-painter-dropdown',_0x3d2dc9&&(_0x17d379['bind']('isEnabled')['to'](_0x3d2dc9,'isEnabled'),this['listenTo'](_0x3d2dc9,'change:isEnabled',(_0xc3b6c2,_0x2b4a7c,_0x2626ba)=>{_0x2626ba||this['_finishPainting']();}),_0x17d379['buttonView']['bind']('isOn')['to'](_0x3d2dc9,'value',_0x14481e=>!!_0x14481e),this['listenTo'](_0x45dd7f,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x3d2dc9,'change:value',(_0xc19207,_0x521ea5,_0x40a15c)=>{this['_toggleSpecialCursor'](!!_0x40a15c);}));const _0x277a92=new _0xf8e150({'withText':!0x0,'label':x(_0x45dd7f['locale'],'Continuous\x20painting'),'tooltip':x(_0x45dd7f['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x589694(_0x17d379,new _0x961b9e([{'type':'switchbutton','model':_0x277a92}]),{'role':'menu'});const _0x47f0aa=()=>{this['_copyFormatting'](),this['listenTo'](_0x228a5f['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x277a92['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x17d379,'execute',()=>{_0x277a92['isOn']=!_0x277a92['isOn'];}),this['listenTo'](_0x17d379['buttonView'],'execute',()=>{_0x45dd7f['editing']['view']['focus'](),_0x17d379['buttonView']['isOn']?this['_finishPainting']():_0x47f0aa();}),_0x45dd7f['keystrokes']['set']('Ctrl+Alt+C',(_0x65879e,_0x240b1d)=>{_0x47f0aa(),_0x277a92['isOn']=!0x0,_0x240b1d();},{'priority':'high'}),_0x45dd7f['keystrokes']['set']('Ctrl+Alt+V',(_0x4768e4,_0x226efe)=>{_0x17d379['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x277a92['isOn']||this['_finishPainting'](),_0x226efe());},{'priority':'high'}),_0x45dd7f['keystrokes']['set']('Esc',(_0x4a4dca,_0x34a0ef)=>{_0x17d379['buttonView']['isOn']&&(_0x277a92['isOn']=!0x1,this['_finishPainting'](),_0x45dd7f['ui']['ariaLiveAnnouncer']['announce'](x(_0x45dd7f['locale'],'Painting\x20cancelled.')),_0x34a0ef());}),_0x17d379;});}['afterInit'](){!async function(_0x610e76){const _0x44bcb9=_0xd8f399([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]),_0x596075=0x4597e011,_0x3e4581=0x459069e1^_0x596075,_0x27a39a=window[_0xd8f399([0x44,0x61,0x74,0x65])][_0xd8f399([0x6e,0x6f,0x77])](),_0x35942d=_0x610e76[_0xd8f399([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5dc2a1=new window[(_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4b94=>{_0x35942d[_0xd8f399([0x6f,0x6e,0x63,0x65])](_0xd8f399([0x72,0x65,0x61,0x64,0x79]),_0x2a4b94);}),_0xb973a8={[_0xd8f399([0x6b,0x74,0x79])]:_0xd8f399([0x45,0x43]),[_0xd8f399([0x75,0x73,0x65])]:_0xd8f399([0x73,0x69,0x67]),[_0xd8f399([0x63,0x72,0x76])]:_0xd8f399([0x50,0x2d,0x32,0x35,0x36]),[_0xd8f399([0x78])]:_0xd8f399([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]),[_0xd8f399([0x79])]:_0xd8f399([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]),[_0xd8f399([0x61,0x6c,0x67])]:_0xd8f399([0x45,0x53,0x32,0x35,0x36])},_0x454131=_0x35942d[_0xd8f399([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd8f399([0x67,0x65,0x74])](_0xd8f399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x573ebb(){let _0xf72038,_0x40b148=null,_0x207e05=null;try{if(_0x454131==_0xd8f399([0x47,0x50,0x4c]))return _0xd8f399([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf72038=_0x1ac440(),!_0xf72038)return _0xd8f399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf72038[_0xd8f399([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x207e05=_0x4d78c4(_0xf72038[_0xd8f399([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf72038[_0xd8f399([0x6a,0x74,0x69])])),await _0x271fb9()?_0xa47ec()?_0x1eb643()?_0xd8f399([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xca73f7()?(_0xf72038[_0xd8f399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd8f399([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x40b148=_0x295712(_0xd8f399([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e85dc()):_0xd8f399([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd8f399([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd8f399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xd8f399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1eb643(){const _0x2e0c90=[_0xd8f399([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd8f399([0x74,0x72,0x69,0x61,0x6c])][_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf72038[_0xd8f399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x27a39a/0x3e8:0xe10*_0x3e4581;return _0xf72038[_0xd8f399([0x65,0x78,0x70])]<_0x2e0c90;}function _0xa47ec(){const _0xe1f24a=_0xf72038[_0xd8f399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe1f24a&&(!!_0xe1f24a[_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8f399([0x2a]))||(!!_0xe1f24a[_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8f399([0x46,0x50]))||(!!_0xe1f24a[_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8f399([0x50,0x50]))||!(!_0xe1f24a[_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8f399([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x47724a()))));}function _0xca73f7(){const _0x38dcd0=_0xf72038[_0xd8f399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38dcd0||0x0==_0x38dcd0[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52491b}=new URL(window[_0xd8f399([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38dcd0[_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52491b))return!0x0;const _0x22f7ef=_0x52491b[_0xd8f399([0x73,0x70,0x6c,0x69,0x74])](_0xd8f399([0x2e]));return _0x38dcd0[_0xd8f399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d2d56=>_0x3d2d56[_0xd8f399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd8f399([0x2a])))[_0xd8f399([0x6d,0x61,0x70])](_0x2e600e=>_0x2e600e[_0xd8f399([0x73,0x70,0x6c,0x69,0x74])](_0xd8f399([0x2e])))[_0xd8f399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x467b7e=>_0x467b7e[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22f7ef[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd8f399([0x6d,0x61,0x70])](_0x2e78ae=>Array(_0x22f7ef[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2e78ae[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xd8f399([0x66,0x69,0x6c,0x6c])](_0x2e78ae[0x0]===_0xd8f399([0x2a])?_0xd8f399([0x2a]):'')[_0xd8f399([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2e78ae))[_0xd8f399([0x73,0x6f,0x6d,0x65])](_0x3d7d4a=>_0x22f7ef[_0xd8f399([0x65,0x76,0x65,0x72,0x79])]((_0x598ede,_0x363c0d)=>_0x3d7d4a[_0x363c0d]===_0x598ede||_0x3d7d4a[_0x363c0d]===_0xd8f399([0x2a])));}function _0x4e85dc(){return _0x40b148&&_0x207e05?new window[(_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a5952,_0x1f3335)=>{_0x40b148[_0xd8f399([0x74,0x68,0x65,0x6e])](_0x4a5952,_0x1f3335),_0x207e05[_0xd8f399([0x74,0x68,0x65,0x6e])](_0x4aea1e=>{_0x4aea1e!=_0xd8f399([0x56,0x61,0x6c,0x69,0x64])&&_0x4a5952(_0x4aea1e);},_0x1f3335);}):_0x40b148||_0x207e05||_0xd8f399([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d78c4(_0x297699,_0x264571){return new window[(_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x243fad=>{if(_0x24c8fb())return _0x243fad(_0xd8f399([0x56,0x61,0x6c,0x69,0x64]));_0x373c04(),_0x35942d[_0xd8f399([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd8f399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x588a6a=!0x1;const _0x58dda1=_0x5b4776();function _0x4d4f89(_0x5d6729){return!!_0x5d6729&&(typeof _0x5d6729===_0xd8f399([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d6729===_0xd8f399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d6729[_0xd8f399([0x74,0x68,0x65,0x6e])]===_0xd8f399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d6729[_0xd8f399([0x63,0x61,0x74,0x63,0x68])]===_0xd8f399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x599c86(_0x3a5d25){_0x275322(_0x3a5d25)[_0xd8f399([0x74,0x68,0x65,0x6e])](_0x349506=>{if(!_0x349506||_0x349506[_0xd8f399([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd8f399([0x6f,0x6b]))return _0xd8f399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x113637(_0x5e531c(_0x58dda1+_0x264571))!=_0x349506[_0xd8f399([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd8f399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd8f399([0x56,0x61,0x6c,0x69,0x64]);})[_0xd8f399([0x74,0x68,0x65,0x6e])](_0x542c60=>(_0x273399(),_0x542c60),()=>{const _0x71df03=_0xd5cef0();return null==_0x71df03?(_0x273399(),_0xd8f399([0x56,0x61,0x6c,0x69,0x64])):_0xd8f399(_0x27a39a-_0x71df03>(0x619b6411^_0x596075)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd8f399([0x74,0x68,0x65,0x6e])](_0x243fad)[_0xd8f399([0x63,0x61,0x74,0x63,0x68])](()=>{_0x243fad(_0xd8f399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x163414=0x45a10e91^_0x596075;function _0x273399(){const _0x12dd72=_0xd8f399([0x6c,0x6c,0x63,0x74,0x2d])+_0x113637(_0x5e531c(_0x297699)),_0xcb91fa=_0x1ea67c(_0x113637(window[_0xd8f399([0x4d,0x61,0x74,0x68])][_0xd8f399([0x63,0x65,0x69,0x6c])](_0x27a39a/_0x163414)));window[_0xd8f399([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd8f399([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12dd72,_0xcb91fa);}function _0xd5cef0(){const _0x51f1a7=_0xd8f399([0x6c,0x6c,0x63,0x74,0x2d])+_0x113637(_0x5e531c(_0x297699)),_0x52ca62=window[_0xd8f399([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd8f399([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51f1a7);return _0x52ca62?window[_0xd8f399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ea67c(_0x52ca62),0x10)*_0x163414:null;}function _0x275322(_0x24f7dd){return new window[(_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b8e4e,_0x3f3369)=>{_0x24f7dd[_0xd8f399([0x74,0x68,0x65,0x6e])](_0x4b8e4e,_0x3f3369),window[_0xd8f399([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f3369,0x459634d1^_0x596075);});}}_0x35942d[_0xd8f399([0x6f,0x6e])](_0xd8f399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39bd01,_0x2035ac)=>{if(_0x2035ac[0x0]!=_0x297699)return _0x243fad(_0xd8f399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2035ac[0x1]={..._0x2035ac[0x1],[_0xd8f399([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58dda1};},{[_0xd8f399([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd8f399([0x68,0x69,0x67,0x68])}),_0x35942d[_0xd8f399([0x6f,0x6e])](_0xd8f399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x254c8c=>{_0x4d4f89(_0x254c8c[_0xd8f399([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x588a6a=!0x0,_0x599c86(_0x254c8c[_0xd8f399([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd8f399([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd8f399([0x6c,0x6f,0x77])}),_0x5dc2a1[_0xd8f399([0x74,0x68,0x65,0x6e])](()=>{_0x588a6a||_0x243fad(_0xd8f399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24c8fb(){return _0x35942d[_0xd8f399([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd8f399([0x76,0x69,0x65,0x77])][_0xd8f399([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd8f399([0x61,0x75,0x74,0x6f]);}function _0x373c04(){_0x35942d[_0xd8f399([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd8f399([0x76,0x69,0x65,0x77])][_0xd8f399([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd8f399([0x61,0x75,0x74,0x6f]);}}function _0x295712(_0x17a625){const _0x4cfa1c=[new window[(_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4acf73=>setTimeout(_0x4acf73,0x459ededd^_0x596075)),_0x5dc2a1[_0xd8f399([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xea2022=>{let _0x2985a2=0x0;_0x35942d[_0xd8f399([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8f399([0x6f,0x6e])](_0xd8f399([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x292a21,_0x55c401)=>{_0x55c401[0x0][_0xd8f399([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2985a2++,_0x2985a2==(0x4597e5f9^_0x596075)&&(_0xea2022(),_0x292a21[_0xd8f399([0x6f,0x66,0x66])]());});}))];return window[_0xd8f399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd8f399([0x72,0x61,0x63,0x65])](_0x4cfa1c)[_0xd8f399([0x74,0x68,0x65,0x6e])](()=>_0x17a625);}async function _0x23a693(){await _0x5dc2a1,_0x35942d[_0xd8f399([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8f399([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fdc0f,_0x35942d[_0xd8f399([0x6d,0x6f,0x64,0x65,0x6c])][_0xd8f399([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fdc0f,_0x35942d[_0xd8f399([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd8f399([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x47724a(){return window[_0xd8f399([0x67,0x6c,0x6f,0x62])]&&window[_0xd8f399([0x67,0x6c,0x6f,0x62])][_0xd8f399([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xd47b38(_0x3a66e9){const _0x45385e=_0x54b710();_0x35942d[_0x45385e]=_0xd8f399([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a66e9,_0x3a66e9!=_0xd8f399([0x56,0x61,0x6c,0x69,0x64])&&_0x23a693();}function _0x54b710(){const _0x2a54eb=window[_0xd8f399([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd8f399([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd8f399([0x6e,0x6f,0x77])]())[_0xd8f399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd8f399([0x2e]),'');let _0x2e7ea2=_0xd8f399([0x51]);for(let _0x2bf3ca=0x0;_0x2bf3ca<_0x2a54eb[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bf3ca+=0x2){let _0x2f6864=window[_0xd8f399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a54eb[_0xd8f399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bf3ca,_0x2bf3ca+0x2));_0x2f6864>=_0x44bcb9[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f6864-=_0x44bcb9[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e7ea2+=_0x44bcb9[_0x2f6864];}return _0x2e7ea2;}function _0x1ac440(){const _0x1e34e7=_0x454131[_0xd8f399([0x73,0x70,0x6c,0x69,0x74])](_0xd8f399([0x2e]));if(0x3!=_0x1e34e7[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33d5cf(_0x1e34e7[0x1]);function _0x33d5cf(_0x24aa62){const _0x2076d3=_0x5682ae(_0x24aa62);return _0x2076d3&&_0x38d8f3()?_0x2076d3:null;function _0x38d8f3(){const _0x52cd96=_0x2076d3[_0xd8f399([0x6a,0x74,0x69])],_0x43f1ac=window[_0xd8f399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52cd96[_0xd8f399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52cd96[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e28a8={..._0x2076d3,[_0xd8f399([0x6a,0x74,0x69])]:_0x52cd96[_0xd8f399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52cd96[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e28a8[_0xd8f399([0x76,0x63])],_0x5e531c(_0x2e28a8)==_0x43f1ac;}}}async function _0x271fb9(){let _0x420630=!0x0;try{const _0x4a8986=_0x454131[_0xd8f399([0x73,0x70,0x6c,0x69,0x74])](_0xd8f399([0x2e])),[_0x2c0976,_0x50928d,_0x40bab1]=_0x4a8986;return _0x4e1027(_0x2c0976),await _0x3690ea(_0x2c0976,_0x50928d,_0x40bab1),_0x420630;}catch{return!0x1;}function _0x4e1027(_0x2f5077){const _0x152c93=_0x5682ae(_0x2f5077);_0x152c93&&_0x152c93[_0xd8f399([0x61,0x6c,0x67])]==_0xd8f399([0x45,0x53,0x32,0x35,0x36])||(_0x420630=!0x1);}async function _0x3690ea(_0x3ca4d7,_0x4ee876,_0x550a07){const _0x4477a4=window[_0xd8f399([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd8f399([0x66,0x72,0x6f,0x6d])](_0x17245c(_0x550a07),_0x8e3f0c=>_0x8e3f0c[_0xd8f399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2aa35a=new window[(_0xd8f399([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd8f399([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ca4d7+_0xd8f399([0x2e])+_0x4ee876),_0x30d1f2=window[_0xd8f399([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd8f399([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30d1f2)return;const _0x169767=await _0x30d1f2[_0xd8f399([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd8f399([0x6a,0x77,0x6b]),_0xb973a8,{[_0xd8f399([0x6e,0x61,0x6d,0x65])]:_0xd8f399([0x45,0x43,0x44,0x53,0x41]),[_0xd8f399([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd8f399([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd8f399([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30d1f2[_0xd8f399([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd8f399([0x6e,0x61,0x6d,0x65])]:_0xd8f399([0x45,0x43,0x44,0x53,0x41]),[_0xd8f399([0x68,0x61,0x73,0x68])]:{[_0xd8f399([0x6e,0x61,0x6d,0x65])]:_0xd8f399([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x169767,_0x4477a4,_0x2aa35a)||(_0x420630=!0x1);}}function _0x5682ae(_0x575647){return _0x575647[_0xd8f399([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd8f399([0x65,0x79]))?JSON[_0xd8f399([0x70,0x61,0x72,0x73,0x65])](_0x17245c(_0x575647)):null;}function _0x17245c(_0xf067ee){return window[_0xd8f399([0x61,0x74,0x6f,0x62])](_0xf067ee[_0xd8f399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd8f399([0x2b]))[_0xd8f399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd8f399([0x2f])));}function _0x5e531c(_0x89e5b8){let _0x2c2317=0x1505;function _0x40ae5b(_0x4605e9){for(let _0x242ae1=0x0;_0x242ae1<_0x4605e9[_0xd8f399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x242ae1++){const _0x2f5b62=_0x4605e9[_0xd8f399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x242ae1);_0x2c2317=(_0x2c2317<<0x5)+_0x2c2317+_0x2f5b62,_0x2c2317&=_0x2c2317;}}function _0x44278b(_0x2d8c89){Array[_0xd8f399([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d8c89)?_0x2d8c89[_0xd8f399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44278b):_0x2d8c89&&typeof _0x2d8c89==_0xd8f399([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd8f399([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d8c89)[_0xd8f399([0x73,0x6f,0x72,0x74])]()[_0xd8f399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x144ac0,_0x44aaee])=>{_0x40ae5b(_0x144ac0),_0x44278b(_0x44aaee);}):_0x40ae5b(window[_0xd8f399([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d8c89));}return _0x44278b(_0x89e5b8),_0x2c2317>>>0x0;}function _0x113637(_0x40b16e){return _0x40b16e[_0xd8f399([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd8f399([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd8f399([0x30]));}function _0x1ea67c(_0x34387b){return _0x34387b[_0xd8f399([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd8f399([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd8f399([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fdc0f(){}function _0xd8f399(_0x41600f){return _0x41600f['map'](_0x3cfe57=>String['fromCharCode'](_0x3cfe57))['join']('');}_0xd47b38(await _0x573ebb());}(this);}['_toggleSpecialCursor'](_0x230736){this['editor']['editing']['view']['change'](_0x5cb9d5=>{for(const _0x59f30f of this['editor']['editing']['view']['document']['roots'])_0x230736?_0x5cb9d5['addClass'](h,_0x59f30f):_0x5cb9d5['removeClass'](h,_0x59f30f);});}['_copyFormatting'](){const {editor:_0x28cbba}=this;_0x28cbba['execute'](w),_0x28cbba['ui']['ariaLiveAnnouncer']['announce'](x(_0x28cbba['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3fab02}=this,_0x10f853=_0x3fab02['commands']['get'](w)['value'];_0x3fab02['execute'](g,_0x10f853),_0x3fab02['ui']['ariaLiveAnnouncer']['announce'](x(_0x3fab02['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x228a5f['window']['document'],'mouseup');}}class L extends _0x351bc5{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.8",
|
|
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.8",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.1.0-alpha.8",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.1.0-alpha.8",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.1.0-alpha.8",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.1.0-alpha.8",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.1.0-alpha.8"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|