@ckeditor/ckeditor5-format-painter 48.0.0-alpha.3 → 48.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
24
|
-
_0xfc20a7(_0x22bcd6){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1d3ec8=this['editor'];_0x1d3ec8['editing']['view']['addObserver'](_0x127b17),_0x1d3ec8['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x1d3ec8['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x1d3ec8['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x1d3ec8['ui']['componentFactory']['add']('formatPainter',_0x2f22b7=>{const _0x3fa209=_0x44cbba(_0x2f22b7,_0x41e6fc),_0xfb3a92=_0x1d3ec8['commands']['get'](w);_0x3fa209['buttonView']['set']({'label':x(_0x1d3ec8['locale'],'Paint\x20formatting'),'icon':_0x47184e,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x3fa209['class']='ck-format-painter-dropdown',_0xfb3a92&&(_0x3fa209['bind']('isEnabled')['to'](_0xfb3a92,'isEnabled'),this['listenTo'](_0xfb3a92,'change:isEnabled',(_0x580aa6,_0x4f57f7,_0x590342)=>{_0x590342||this['_finishPainting']();}),_0x3fa209['buttonView']['bind']('isOn')['to'](_0xfb3a92,'value',_0x50f6c2=>!!_0x50f6c2),this['listenTo'](_0x1d3ec8,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0xfb3a92,'change:value',(_0x5a223b,_0x2a9d2d,_0x43602f)=>{this['_toggleSpecialCursor'](!!_0x43602f);}));const _0x4ce68c=new _0x5ac28d({'withText':!0x0,'label':x(_0x1d3ec8['locale'],'Continuous\x20painting'),'tooltip':x(_0x1d3ec8['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0xfd61e2(_0x3fa209,new _0x1be841([{'type':'switchbutton','model':_0x4ce68c}]),{'role':'menu'});const _0x371fc3=()=>{this['_copyFormatting'](),this['listenTo'](_0x1f27ed['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x4ce68c['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x3fa209,'execute',()=>{_0x4ce68c['isOn']=!_0x4ce68c['isOn'];}),this['listenTo'](_0x3fa209['buttonView'],'execute',()=>{_0x1d3ec8['editing']['view']['focus'](),_0x3fa209['buttonView']['isOn']?this['_finishPainting']():_0x371fc3();}),_0x1d3ec8['keystrokes']['set']('Ctrl+Alt+C',(_0xe6a2d0,_0x17aff4)=>{_0x371fc3(),_0x4ce68c['isOn']=!0x0,_0x17aff4();},{'priority':'high'}),_0x1d3ec8['keystrokes']['set']('Ctrl+Alt+V',(_0x5cfc20,_0x2bca04)=>{_0x3fa209['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x4ce68c['isOn']||this['_finishPainting'](),_0x2bca04());},{'priority':'high'}),_0x1d3ec8['keystrokes']['set']('Esc',(_0x508777,_0x226412)=>{_0x3fa209['buttonView']['isOn']&&(_0x4ce68c['isOn']=!0x1,this['_finishPainting'](),_0x226412());}),_0x3fa209;});}['afterInit'](){!async function(_0x430df5){const _0x151479=_0x2a00a7([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]),_0x14b885=0x4597e011,_0x4b597e=0x45906501^_0x14b885,_0x10e2dd=window[_0x2a00a7([0x44,0x61,0x74,0x65])][_0x2a00a7([0x6e,0x6f,0x77])](),_0x5e14b9=_0x430df5[_0x2a00a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x567550=new window[(_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5bd80b=>{_0x5e14b9[_0x2a00a7([0x6f,0x6e,0x63,0x65])](_0x2a00a7([0x72,0x65,0x61,0x64,0x79]),_0x5bd80b);}),_0x402dc6={[_0x2a00a7([0x6b,0x74,0x79])]:_0x2a00a7([0x45,0x43]),[_0x2a00a7([0x75,0x73,0x65])]:_0x2a00a7([0x73,0x69,0x67]),[_0x2a00a7([0x63,0x72,0x76])]:_0x2a00a7([0x50,0x2d,0x32,0x35,0x36]),[_0x2a00a7([0x78])]:_0x2a00a7([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]),[_0x2a00a7([0x79])]:_0x2a00a7([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]),[_0x2a00a7([0x61,0x6c,0x67])]:_0x2a00a7([0x45,0x53,0x32,0x35,0x36])},_0x3b5405=_0x5e14b9[_0x2a00a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a00a7([0x67,0x65,0x74])](_0x2a00a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d2ff8(){let _0x5a6361,_0x30d3a6=null,_0x47c103=null;try{if(_0x3b5405==_0x2a00a7([0x47,0x50,0x4c]))return _0x2a00a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a6361=_0x489f46(),!_0x5a6361)return _0x2a00a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a6361[_0x2a00a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47c103=_0x2b329c(_0x5a6361[_0x2a00a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a6361[_0x2a00a7([0x6a,0x74,0x69])])),await _0x27ddac()?_0xdf4c0()?_0x3d91e6()?_0x2a00a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x29a9c5()?(_0x5a6361[_0x2a00a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a00a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x30d3a6=_0x391bf6(_0x2a00a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x17fbaa()):_0x2a00a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a00a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a00a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a00a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d91e6(){const _0x37f13a=[_0x2a00a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a00a7([0x74,0x72,0x69,0x61,0x6c])][_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a6361[_0x2a00a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10e2dd/0x3e8:0xe10*_0x4b597e;return _0x5a6361[_0x2a00a7([0x65,0x78,0x70])]<_0x37f13a;}function _0xdf4c0(){const _0x5a761c=_0x5a6361[_0x2a00a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a761c&&(!!_0x5a761c[_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a00a7([0x2a]))||(!!_0x5a761c[_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a00a7([0x46,0x50]))||(!!_0x5a761c[_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a00a7([0x50,0x50]))||!(!_0x5a761c[_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a00a7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4b81ee()))));}function _0x29a9c5(){const _0x2a6608=_0x5a6361[_0x2a00a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a6608||0x0==_0x2a6608[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39017f}=new URL(window[_0x2a00a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a6608[_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39017f))return!0x0;const _0x1aabc5=_0x39017f[_0x2a00a7([0x73,0x70,0x6c,0x69,0x74])](_0x2a00a7([0x2e]));return _0x2a6608[_0x2a00a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x108c51=>_0x108c51[_0x2a00a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a00a7([0x2a])))[_0x2a00a7([0x6d,0x61,0x70])](_0x4e05c8=>_0x4e05c8[_0x2a00a7([0x73,0x70,0x6c,0x69,0x74])](_0x2a00a7([0x2e])))[_0x2a00a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16f05f=>_0x16f05f[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1aabc5[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a00a7([0x6d,0x61,0x70])](_0x521e1e=>Array(_0x1aabc5[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x521e1e[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a00a7([0x66,0x69,0x6c,0x6c])](_0x521e1e[0x0]===_0x2a00a7([0x2a])?_0x2a00a7([0x2a]):'')[_0x2a00a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x521e1e))[_0x2a00a7([0x73,0x6f,0x6d,0x65])](_0x2e9a83=>_0x1aabc5[_0x2a00a7([0x65,0x76,0x65,0x72,0x79])]((_0x2361ba,_0x29a595)=>_0x2e9a83[_0x29a595]===_0x2361ba||_0x2e9a83[_0x29a595]===_0x2a00a7([0x2a])));}function _0x17fbaa(){return _0x30d3a6&&_0x47c103?new window[(_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x191584,_0x3b0192)=>{_0x30d3a6[_0x2a00a7([0x74,0x68,0x65,0x6e])](_0x191584,_0x3b0192),_0x47c103[_0x2a00a7([0x74,0x68,0x65,0x6e])](_0x2bd4f1=>{_0x2bd4f1!=_0x2a00a7([0x56,0x61,0x6c,0x69,0x64])&&_0x191584(_0x2bd4f1);},_0x3b0192);}):_0x30d3a6||_0x47c103||_0x2a00a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b329c(_0x589e56,_0x4c06b2){return new window[(_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35702b=>{if(_0x334751())return _0x35702b(_0x2a00a7([0x56,0x61,0x6c,0x69,0x64]));_0x561621(),_0x5e14b9[_0x2a00a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a00a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7283b5=!0x1;const _0x592f06=_0x144af5();function _0x2208b4(_0x204e10){return!!_0x204e10&&(typeof _0x204e10===_0x2a00a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x204e10===_0x2a00a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x204e10[_0x2a00a7([0x74,0x68,0x65,0x6e])]===_0x2a00a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x204e10[_0x2a00a7([0x63,0x61,0x74,0x63,0x68])]===_0x2a00a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x468b6b(_0x9c2d2c){_0x39d597(_0x9c2d2c)[_0x2a00a7([0x74,0x68,0x65,0x6e])](_0x1ca49f=>{if(!_0x1ca49f||_0x1ca49f[_0x2a00a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a00a7([0x6f,0x6b]))return _0x2a00a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x125382(_0x1601df(_0x592f06+_0x4c06b2))!=_0x1ca49f[_0x2a00a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a00a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a00a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a00a7([0x74,0x68,0x65,0x6e])](_0x1d7b3a=>(_0x4e0106(),_0x1d7b3a),()=>{const _0x1bb224=_0x185f93();return null==_0x1bb224?(_0x4e0106(),_0x2a00a7([0x56,0x61,0x6c,0x69,0x64])):_0x2a00a7(_0x10e2dd-_0x1bb224>(0x619b6411^_0x14b885)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a00a7([0x74,0x68,0x65,0x6e])](_0x35702b)[_0x2a00a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35702b(_0x2a00a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x49695e=0x45a10e91^_0x14b885;function _0x4e0106(){const _0x41a420=_0x2a00a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x125382(_0x1601df(_0x589e56)),_0x1bca0d=_0x39225c(_0x125382(window[_0x2a00a7([0x4d,0x61,0x74,0x68])][_0x2a00a7([0x63,0x65,0x69,0x6c])](_0x10e2dd/_0x49695e)));window[_0x2a00a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a00a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a420,_0x1bca0d);}function _0x185f93(){const _0x11454a=_0x2a00a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x125382(_0x1601df(_0x589e56)),_0x3bc8cf=window[_0x2a00a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a00a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11454a);return _0x3bc8cf?window[_0x2a00a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39225c(_0x3bc8cf),0x10)*_0x49695e:null;}function _0x39d597(_0xea99fa){return new window[(_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17e57c,_0x28043a)=>{_0xea99fa[_0x2a00a7([0x74,0x68,0x65,0x6e])](_0x17e57c,_0x28043a),window[_0x2a00a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28043a,0x459634d1^_0x14b885);});}}_0x5e14b9[_0x2a00a7([0x6f,0x6e])](_0x2a00a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f8d4b,_0x25882)=>{if(_0x25882[0x0]!=_0x589e56)return _0x35702b(_0x2a00a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x25882[0x1]={..._0x25882[0x1],[_0x2a00a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x592f06};},{[_0x2a00a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a00a7([0x68,0x69,0x67,0x68])}),_0x5e14b9[_0x2a00a7([0x6f,0x6e])](_0x2a00a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1999a5=>{_0x2208b4(_0x1999a5[_0x2a00a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7283b5=!0x0,_0x468b6b(_0x1999a5[_0x2a00a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a00a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a00a7([0x6c,0x6f,0x77])}),_0x567550[_0x2a00a7([0x74,0x68,0x65,0x6e])](()=>{_0x7283b5||_0x35702b(_0x2a00a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x334751(){return _0x5e14b9[_0x2a00a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a00a7([0x76,0x69,0x65,0x77])][_0x2a00a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a00a7([0x61,0x75,0x74,0x6f]);}function _0x561621(){_0x5e14b9[_0x2a00a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a00a7([0x76,0x69,0x65,0x77])][_0x2a00a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a00a7([0x61,0x75,0x74,0x6f]);}}function _0x391bf6(_0x5d456e){const _0x2b27f3=[new window[(_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x276c70=>setTimeout(_0x276c70,0x459ededd^_0x14b885)),_0x567550[_0x2a00a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a5719=>{let _0xdaf3df=0x0;_0x5e14b9[_0x2a00a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a00a7([0x6f,0x6e])](_0x2a00a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x340234,_0x30101e)=>{_0x30101e[0x0][_0x2a00a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdaf3df++,_0xdaf3df==(0x4597e5f9^_0x14b885)&&(_0x2a5719(),_0x340234[_0x2a00a7([0x6f,0x66,0x66])]());});}))];return window[_0x2a00a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a00a7([0x72,0x61,0x63,0x65])](_0x2b27f3)[_0x2a00a7([0x74,0x68,0x65,0x6e])](()=>_0x5d456e);}async function _0x33f487(){await _0x567550,_0x5e14b9[_0x2a00a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a00a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21f43c,_0x5e14b9[_0x2a00a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a00a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21f43c,_0x5e14b9[_0x2a00a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a00a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b81ee(){return window[_0x2a00a7([0x67,0x6c,0x6f,0x62])]&&window[_0x2a00a7([0x67,0x6c,0x6f,0x62])][_0x2a00a7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4e1482(_0x58c469){const _0x2f9ff6=_0x384dac();_0x5e14b9[_0x2f9ff6]=_0x2a00a7([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58c469,_0x58c469!=_0x2a00a7([0x56,0x61,0x6c,0x69,0x64])&&_0x33f487();}function _0x384dac(){const _0x27ba3d=window[_0x2a00a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a00a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a00a7([0x6e,0x6f,0x77])]())[_0x2a00a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a00a7([0x2e]),'');let _0xf8c6ff=_0x2a00a7([0x51]);for(let _0x2abfe8=0x0;_0x2abfe8<_0x27ba3d[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2abfe8+=0x2){let _0x19d669=window[_0x2a00a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27ba3d[_0x2a00a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2abfe8,_0x2abfe8+0x2));_0x19d669>=_0x151479[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19d669-=_0x151479[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf8c6ff+=_0x151479[_0x19d669];}return _0xf8c6ff;}function _0x489f46(){const _0x18b5a5=_0x3b5405[_0x2a00a7([0x73,0x70,0x6c,0x69,0x74])](_0x2a00a7([0x2e]));if(0x3!=_0x18b5a5[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3adc1b(_0x18b5a5[0x1]);function _0x3adc1b(_0x131344){const _0x1a97f2=_0x535cb7(_0x131344);return _0x1a97f2&&_0x58218d()?_0x1a97f2:null;function _0x58218d(){const _0xf62da1=_0x1a97f2[_0x2a00a7([0x6a,0x74,0x69])],_0x41ba61=window[_0x2a00a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf62da1[_0x2a00a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf62da1[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3da085={..._0x1a97f2,[_0x2a00a7([0x6a,0x74,0x69])]:_0xf62da1[_0x2a00a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf62da1[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3da085[_0x2a00a7([0x76,0x63])],_0x1601df(_0x3da085)==_0x41ba61;}}}async function _0x27ddac(){let _0x21623d=!0x0;try{const _0x12177a=_0x3b5405[_0x2a00a7([0x73,0x70,0x6c,0x69,0x74])](_0x2a00a7([0x2e])),[_0x4d5218,_0x5f0749,_0x52e07f]=_0x12177a;return _0x1dbabb(_0x4d5218),await _0x2ab7b8(_0x4d5218,_0x5f0749,_0x52e07f),_0x21623d;}catch{return!0x1;}function _0x1dbabb(_0x2ee97b){const _0x40d6a6=_0x535cb7(_0x2ee97b);_0x40d6a6&&_0x40d6a6[_0x2a00a7([0x61,0x6c,0x67])]==_0x2a00a7([0x45,0x53,0x32,0x35,0x36])||(_0x21623d=!0x1);}async function _0x2ab7b8(_0x1e6d40,_0x441a40,_0xdafec8){const _0x284b95=window[_0x2a00a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a00a7([0x66,0x72,0x6f,0x6d])](_0x4e78bb(_0xdafec8),_0x35a0a6=>_0x35a0a6[_0x2a00a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb26bc6=new window[(_0x2a00a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a00a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e6d40+_0x2a00a7([0x2e])+_0x441a40),_0x3d3bc4=window[_0x2a00a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a00a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d3bc4)return;const _0x13e63d=await _0x3d3bc4[_0x2a00a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a00a7([0x6a,0x77,0x6b]),_0x402dc6,{[_0x2a00a7([0x6e,0x61,0x6d,0x65])]:_0x2a00a7([0x45,0x43,0x44,0x53,0x41]),[_0x2a00a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a00a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a00a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d3bc4[_0x2a00a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a00a7([0x6e,0x61,0x6d,0x65])]:_0x2a00a7([0x45,0x43,0x44,0x53,0x41]),[_0x2a00a7([0x68,0x61,0x73,0x68])]:{[_0x2a00a7([0x6e,0x61,0x6d,0x65])]:_0x2a00a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x13e63d,_0x284b95,_0xb26bc6)||(_0x21623d=!0x1);}}function _0x535cb7(_0x5af3c1){return _0x5af3c1[_0x2a00a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a00a7([0x65,0x79]))?JSON[_0x2a00a7([0x70,0x61,0x72,0x73,0x65])](_0x4e78bb(_0x5af3c1)):null;}function _0x4e78bb(_0x1a23b8){return window[_0x2a00a7([0x61,0x74,0x6f,0x62])](_0x1a23b8[_0x2a00a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a00a7([0x2b]))[_0x2a00a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a00a7([0x2f])));}function _0x1601df(_0x1fd855){let _0x291dc9=0x1505;function _0x266c1a(_0x395bff){for(let _0x3b7ce1=0x0;_0x3b7ce1<_0x395bff[_0x2a00a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b7ce1++){const _0x14e661=_0x395bff[_0x2a00a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b7ce1);_0x291dc9=(_0x291dc9<<0x5)+_0x291dc9+_0x14e661,_0x291dc9&=_0x291dc9;}}function _0x5a1769(_0x11a91d){Array[_0x2a00a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x11a91d)?_0x11a91d[_0x2a00a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a1769):_0x11a91d&&typeof _0x11a91d==_0x2a00a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a00a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x11a91d)[_0x2a00a7([0x73,0x6f,0x72,0x74])]()[_0x2a00a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x508bef,_0x1c605a])=>{_0x266c1a(_0x508bef),_0x5a1769(_0x1c605a);}):_0x266c1a(window[_0x2a00a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x11a91d));}return _0x5a1769(_0x1fd855),_0x291dc9>>>0x0;}function _0x125382(_0x3e3951){return _0x3e3951[_0x2a00a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a00a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a00a7([0x30]));}function _0x39225c(_0x1b9ae6){return _0x1b9ae6[_0x2a00a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a00a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a00a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x21f43c(){}function _0x2a00a7(_0x172eae){return _0x172eae['map'](_0x470f9d=>String['fromCharCode'](_0x470f9d))['join']('');}_0x4e1482(await _0x1d2ff8());}(this);}['_toggleSpecialCursor'](_0x5dd31e){this['editor']['editing']['view']['change'](_0x43c5af=>{for(const _0x20ec7a of this['editor']['editing']['view']['document']['roots'])_0x5dd31e?_0x43c5af['addClass'](g,_0x20ec7a):_0x43c5af['removeClass'](g,_0x20ec7a);});}['_copyFormatting'](){const {editor:_0x77421d}=this;_0x77421d['execute'](w),_0x77421d['ui']['ariaLiveAnnouncer']['announce'](x(_0x77421d['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x50a8b1}=this,_0x10c1a3=_0x50a8b1['commands']['get'](w)['value'];_0x50a8b1['execute'](h,_0x10c1a3),_0x50a8b1['ui']['ariaLiveAnnouncer']['announce'](x(_0x50a8b1['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x1f27ed['window']['document'],'mouseup');}}class L extends _0x22bcd6{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 _0xfc0f26,Plugin as _0x4f8173}from'@ckeditor/ckeditor5-core/dist/index.js';import{RemoveFormatCommand as _0x3bbb1e}from'@ckeditor/ckeditor5-remove-format/dist/index.js';import{createDropdown as _0x41576a,SplitButtonView as _0x2d5724,UIModel as _0x4df739,addListToDropdown as _0x53edf5}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DomEmitterMixin as _0x2c4e4e,Collection as _0x5c5f19,global as _0x47b1e6,uid as _0x767a3d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ClickObserver as _0x116cfa}from'@ckeditor/ckeditor5-engine/dist/index.js';import{IconPaintRoller as _0x119ee6}from'@ckeditor/ckeditor5-icons/dist/index.js';const w='copyFormat',h='pasteFormat',g='ck-format-painter-active';class p extends _0xfc0f26{constructor(_0x43af5c){super(_0x43af5c),this['value']=void 0x0,this['on']('change:isEnabled',(_0x5dde39,_0x2d9839,_0x50120d)=>{_0x50120d||this['reset']();}),this['on']('change:value',()=>_0x43af5c['commands']['get'](h)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x4bf636=this['editor']['model'],_0x4c0503=_0x4bf636['document']['selection'];return Object['fromEntries'](Array['from'](_0x4c0503['getAttributes']())['filter'](([_0x10d580])=>_0x4bf636['schema']['getAttributeProperties'](_0x10d580)['isFormatting']));}}class y extends _0xfc0f26{constructor(_0x2012f8){super(_0x2012f8),this['_removeFormatCommand']=new _0x3bbb1e(_0x2012f8);}['execute'](_0x50d117={}){const _0x2c8cad=this['editor']['model'],_0x18021e=_0x2c8cad['document']['selection'],_0x2ac5d4=Array['from'](_0x18021e['getRanges']()),_0x16be61=_0x18021e['isCollapsed']?[this['_createRangeOnEntireWord'](_0x2c8cad,_0x18021e)]:_0x2ac5d4;_0x2c8cad['change'](_0x32c71f=>{_0x32c71f['setSelection'](_0x16be61),this['_removeFormatCommand']['execute']();for(const _0x271462 in _0x50d117)for(const _0x303492 of _0x2c8cad['schema']['getValidRanges'](_0x16be61,_0x271462))_0x32c71f['setAttribute'](_0x271462,_0x50d117[_0x271462],_0x303492);_0x32c71f['setSelection'](_0x2ac5d4);});}['_createRangeOnEntireWord'](_0x889f21,_0x25c022){const _0x2653fe=_0x889f21['createSelection'](_0x25c022);_0x889f21['modifySelection'](_0x2653fe,{'unit':'word','direction':'backward'});const _0x21d0ed=_0x2653fe['getFirstPosition']();_0x889f21['modifySelection'](_0x2653fe,{'unit':'word','direction':'forward'});const _0x5b593e=_0x2653fe['getLastPosition']();return _0x889f21['createRange'](_0x21d0ed,_0x5b593e);}}class P extends _0x4f8173{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4c8a13=this['editor'];_0x4c8a13['commands']['add'](w,new p(_0x4c8a13)),_0x4c8a13['commands']['add'](h,new y(_0x4c8a13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x550ecd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f0f07;for(const _0x3575be in _0x550ecd){const _0x46e953=_0x3575be,_0x4d1ba5=_0x550ecd[_0x46e953];if('formatPainterLicenseKeyValid'==_0x4d1ba5||'formatPainterLicenseKeyInvalid'==_0x4d1ba5||'formatPainterLicenseKeyExpired'==_0x4d1ba5||'formatPainterLicenseKeyDomainLimit'==_0x4d1ba5||'formatPainterLicenseKeyNotAllowed'==_0x4d1ba5||'formatPainterLicenseKeyEvaluationLimit'==_0x4d1ba5||'formatPainterLicenseKeyUsageLimit'==_0x4d1ba5){delete _0x550ecd[_0x46e953],_0x1f0f07=_0x4d1ba5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x1f0f07&&_0x550ecd['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x1f0f07&&_0x550ecd['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x1f0f07&&_0x550ecd['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x1f0f07&&_0x550ecd['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x1f0f07&&_0x550ecd['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x1f0f07&&_0x550ecd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x59b5dd,_0x3cdd98){const t=_0x59b5dd['t'];switch(_0x3cdd98){case'Paint\x20formatting':return t('Paint\x20formatting');case'Copy\x20text\x20formatting':return t('Copy\x20text\x20formatting');case'Paste\x20text\x20formatting':return t('Paste\x20text\x20formatting');case'Continuous\x20painting':return t('Continuous\x20painting');case'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.':return t('Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.');case'Formatting\x20copied.':return t('Formatting\x20copied.');case'Pasted\x20formatting.':return t('Pasted\x20formatting.');default:return _0x3cdd98;}}class k extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2c4e4e(_0x4f8173){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5fb536=this['editor'];_0x5fb536['editing']['view']['addObserver'](_0x116cfa),_0x5fb536['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':x(_0x5fb536['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':x(_0x5fb536['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x5fb536['ui']['componentFactory']['add']('formatPainter',_0x17937a=>{const _0x475aad=_0x41576a(_0x17937a,_0x2d5724),_0x5edbff=_0x5fb536['commands']['get'](w);_0x475aad['buttonView']['set']({'label':x(_0x5fb536['locale'],'Paint\x20formatting'),'icon':_0x119ee6,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x475aad['class']='ck-format-painter-dropdown',_0x5edbff&&(_0x475aad['bind']('isEnabled')['to'](_0x5edbff,'isEnabled'),this['listenTo'](_0x5edbff,'change:isEnabled',(_0x1ca5e6,_0x317cf3,_0x7a8cea)=>{_0x7a8cea||this['_finishPainting']();}),_0x475aad['buttonView']['bind']('isOn')['to'](_0x5edbff,'value',_0x1370d2=>!!_0x1370d2),this['listenTo'](_0x5fb536,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x5edbff,'change:value',(_0x24a6cb,_0x7f74f9,_0x57925a)=>{this['_toggleSpecialCursor'](!!_0x57925a);}));const _0x30d9e0=new _0x4df739({'withText':!0x0,'label':x(_0x5fb536['locale'],'Continuous\x20painting'),'tooltip':x(_0x5fb536['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x53edf5(_0x475aad,new _0x5c5f19([{'type':'switchbutton','model':_0x30d9e0}]),{'role':'menu'});const _0x32cc83=()=>{this['_copyFormatting'](),this['listenTo'](_0x47b1e6['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x30d9e0['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x475aad,'execute',()=>{_0x30d9e0['isOn']=!_0x30d9e0['isOn'];}),this['listenTo'](_0x475aad['buttonView'],'execute',()=>{_0x5fb536['editing']['view']['focus'](),_0x475aad['buttonView']['isOn']?this['_finishPainting']():_0x32cc83();}),_0x5fb536['keystrokes']['set']('Ctrl+Alt+C',(_0x27198b,_0x4bb727)=>{_0x32cc83(),_0x30d9e0['isOn']=!0x0,_0x4bb727();},{'priority':'high'}),_0x5fb536['keystrokes']['set']('Ctrl+Alt+V',(_0x3fb65e,_0x508a05)=>{_0x475aad['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x30d9e0['isOn']||this['_finishPainting'](),_0x508a05());},{'priority':'high'}),_0x5fb536['keystrokes']['set']('Esc',(_0x9bb025,_0x3ca750)=>{_0x475aad['buttonView']['isOn']&&(_0x30d9e0['isOn']=!0x1,this['_finishPainting'](),_0x3ca750());}),_0x475aad;});}['afterInit'](){!async function(_0x20ce8e){const _0x364052=_0x14001f([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]),_0x44fcdb=0x4597e011,_0x355746=0x45906539^_0x44fcdb,_0x58735e=window[_0x14001f([0x44,0x61,0x74,0x65])][_0x14001f([0x6e,0x6f,0x77])](),_0x118bc4=_0x20ce8e[_0x14001f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5d6065=new window[(_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31d011=>{_0x118bc4[_0x14001f([0x6f,0x6e,0x63,0x65])](_0x14001f([0x72,0x65,0x61,0x64,0x79]),_0x31d011);}),_0x150d69={[_0x14001f([0x6b,0x74,0x79])]:_0x14001f([0x45,0x43]),[_0x14001f([0x75,0x73,0x65])]:_0x14001f([0x73,0x69,0x67]),[_0x14001f([0x63,0x72,0x76])]:_0x14001f([0x50,0x2d,0x32,0x35,0x36]),[_0x14001f([0x78])]:_0x14001f([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]),[_0x14001f([0x79])]:_0x14001f([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]),[_0x14001f([0x61,0x6c,0x67])]:_0x14001f([0x45,0x53,0x32,0x35,0x36])},_0x53d116=_0x118bc4[_0x14001f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x14001f([0x67,0x65,0x74])](_0x14001f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x107163(){let _0x4d007f,_0x20e41d=null,_0x2a0de3=null;try{if(_0x53d116==_0x14001f([0x47,0x50,0x4c]))return _0x14001f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4d007f=_0x300bb2(),!_0x4d007f)return _0x14001f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4d007f[_0x14001f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a0de3=_0x3affbe(_0x4d007f[_0x14001f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4d007f[_0x14001f([0x6a,0x74,0x69])])),await _0x253b7d()?_0x5c63a3()?_0x36df02()?_0x14001f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54273e()?(_0x4d007f[_0x14001f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14001f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x20e41d=_0x4f0ab3(_0x14001f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1469a9()):_0x14001f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x14001f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x14001f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x14001f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36df02(){const _0x49ad7c=[_0x14001f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x14001f([0x74,0x72,0x69,0x61,0x6c])][_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d007f[_0x14001f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58735e/0x3e8:0xe10*_0x355746;return _0x4d007f[_0x14001f([0x65,0x78,0x70])]<_0x49ad7c;}function _0x5c63a3(){const _0x7af0d8=_0x4d007f[_0x14001f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x7af0d8&&(!!_0x7af0d8[_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14001f([0x2a]))||(!!_0x7af0d8[_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14001f([0x46,0x50]))||(!!_0x7af0d8[_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14001f([0x50,0x50]))||!(!_0x7af0d8[_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14001f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x130cd0()))));}function _0x54273e(){const _0x841383=_0x4d007f[_0x14001f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x841383||0x0==_0x841383[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4786dd}=new URL(window[_0x14001f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x841383[_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4786dd))return!0x0;const _0x4f450f=_0x4786dd[_0x14001f([0x73,0x70,0x6c,0x69,0x74])](_0x14001f([0x2e]));return _0x841383[_0x14001f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x505b00=>_0x505b00[_0x14001f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14001f([0x2a])))[_0x14001f([0x6d,0x61,0x70])](_0x5634a8=>_0x5634a8[_0x14001f([0x73,0x70,0x6c,0x69,0x74])](_0x14001f([0x2e])))[_0x14001f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c7687=>_0x4c7687[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f450f[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14001f([0x6d,0x61,0x70])](_0x35d09d=>Array(_0x4f450f[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35d09d[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14001f([0x66,0x69,0x6c,0x6c])](_0x35d09d[0x0]===_0x14001f([0x2a])?_0x14001f([0x2a]):'')[_0x14001f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35d09d))[_0x14001f([0x73,0x6f,0x6d,0x65])](_0x4e84b2=>_0x4f450f[_0x14001f([0x65,0x76,0x65,0x72,0x79])]((_0x4d1864,_0x32f692)=>_0x4e84b2[_0x32f692]===_0x4d1864||_0x4e84b2[_0x32f692]===_0x14001f([0x2a])));}function _0x1469a9(){return _0x20e41d&&_0x2a0de3?new window[(_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ea7e7,_0x264ad9)=>{_0x20e41d[_0x14001f([0x74,0x68,0x65,0x6e])](_0x5ea7e7,_0x264ad9),_0x2a0de3[_0x14001f([0x74,0x68,0x65,0x6e])](_0x2a5ae6=>{_0x2a5ae6!=_0x14001f([0x56,0x61,0x6c,0x69,0x64])&&_0x5ea7e7(_0x2a5ae6);},_0x264ad9);}):_0x20e41d||_0x2a0de3||_0x14001f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3affbe(_0x8dde99,_0x51e5a3){return new window[(_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a903c=>{if(_0x12d479())return _0x1a903c(_0x14001f([0x56,0x61,0x6c,0x69,0x64]));_0x50e6b9(),_0x118bc4[_0x14001f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x14001f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x268778=!0x1;const _0x25369f=_0x767a3d();function _0x2f2035(_0x11ccc9){return!!_0x11ccc9&&(typeof _0x11ccc9===_0x14001f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11ccc9===_0x14001f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11ccc9[_0x14001f([0x74,0x68,0x65,0x6e])]===_0x14001f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11ccc9[_0x14001f([0x63,0x61,0x74,0x63,0x68])]===_0x14001f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x198e12(_0x44d300){_0x526f54(_0x44d300)[_0x14001f([0x74,0x68,0x65,0x6e])](_0xf53059=>{if(!_0xf53059||_0xf53059[_0x14001f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x14001f([0x6f,0x6b]))return _0x14001f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f0480(_0x4330f5(_0x25369f+_0x51e5a3))!=_0xf53059[_0x14001f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x14001f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x14001f([0x56,0x61,0x6c,0x69,0x64]);})[_0x14001f([0x74,0x68,0x65,0x6e])](_0x224446=>(_0x581f50(),_0x224446),()=>{const _0x1b68b5=_0xb45097();return null==_0x1b68b5?(_0x581f50(),_0x14001f([0x56,0x61,0x6c,0x69,0x64])):_0x14001f(_0x58735e-_0x1b68b5>(0x619b6411^_0x44fcdb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x14001f([0x74,0x68,0x65,0x6e])](_0x1a903c)[_0x14001f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1a903c(_0x14001f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d483a=0x45a10e91^_0x44fcdb;function _0x581f50(){const _0xc9bc0b=_0x14001f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f0480(_0x4330f5(_0x8dde99)),_0x978b9=_0x109617(_0x2f0480(window[_0x14001f([0x4d,0x61,0x74,0x68])][_0x14001f([0x63,0x65,0x69,0x6c])](_0x58735e/_0x1d483a)));window[_0x14001f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14001f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc9bc0b,_0x978b9);}function _0xb45097(){const _0x3c32a8=_0x14001f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f0480(_0x4330f5(_0x8dde99)),_0x3fa42c=window[_0x14001f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14001f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c32a8);return _0x3fa42c?window[_0x14001f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x109617(_0x3fa42c),0x10)*_0x1d483a:null;}function _0x526f54(_0x1dde7a){return new window[(_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2334a6,_0xab1a3c)=>{_0x1dde7a[_0x14001f([0x74,0x68,0x65,0x6e])](_0x2334a6,_0xab1a3c),window[_0x14001f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xab1a3c,0x459634d1^_0x44fcdb);});}}_0x118bc4[_0x14001f([0x6f,0x6e])](_0x14001f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8910d,_0x414740)=>{if(_0x414740[0x0]!=_0x8dde99)return _0x1a903c(_0x14001f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x414740[0x1]={..._0x414740[0x1],[_0x14001f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25369f};},{[_0x14001f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14001f([0x68,0x69,0x67,0x68])}),_0x118bc4[_0x14001f([0x6f,0x6e])](_0x14001f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x110a19=>{_0x2f2035(_0x110a19[_0x14001f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x268778=!0x0,_0x198e12(_0x110a19[_0x14001f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x14001f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14001f([0x6c,0x6f,0x77])}),_0x5d6065[_0x14001f([0x74,0x68,0x65,0x6e])](()=>{_0x268778||_0x1a903c(_0x14001f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12d479(){return _0x118bc4[_0x14001f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14001f([0x76,0x69,0x65,0x77])][_0x14001f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x14001f([0x61,0x75,0x74,0x6f]);}function _0x50e6b9(){_0x118bc4[_0x14001f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14001f([0x76,0x69,0x65,0x77])][_0x14001f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14001f([0x61,0x75,0x74,0x6f]);}}function _0x4f0ab3(_0x12327f){const _0x559c85=[new window[(_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f9378=>setTimeout(_0x2f9378,0x459ededd^_0x44fcdb)),_0x5d6065[_0x14001f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a2447=>{let _0x26405b=0x0;_0x118bc4[_0x14001f([0x6d,0x6f,0x64,0x65,0x6c])][_0x14001f([0x6f,0x6e])](_0x14001f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f3ceb,_0x42daab)=>{_0x42daab[0x0][_0x14001f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x26405b++,_0x26405b==(0x4597e5f9^_0x44fcdb)&&(_0x4a2447(),_0x1f3ceb[_0x14001f([0x6f,0x66,0x66])]());});}))];return window[_0x14001f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14001f([0x72,0x61,0x63,0x65])](_0x559c85)[_0x14001f([0x74,0x68,0x65,0x6e])](()=>_0x12327f);}async function _0x4c1635(){await _0x5d6065,_0x118bc4[_0x14001f([0x6d,0x6f,0x64,0x65,0x6c])][_0x14001f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x540917,_0x118bc4[_0x14001f([0x6d,0x6f,0x64,0x65,0x6c])][_0x14001f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x540917,_0x118bc4[_0x14001f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14001f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x130cd0(){return window[_0x14001f([0x67,0x6c,0x6f,0x62])]&&window[_0x14001f([0x67,0x6c,0x6f,0x62])][_0x14001f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x478ffc(_0x18d9f3){const _0x45fea8=_0x17ee64();_0x118bc4[_0x45fea8]=_0x14001f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18d9f3,_0x18d9f3!=_0x14001f([0x56,0x61,0x6c,0x69,0x64])&&_0x4c1635();}function _0x17ee64(){const _0x1f3ee5=window[_0x14001f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x14001f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14001f([0x6e,0x6f,0x77])]())[_0x14001f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14001f([0x2e]),'');let _0x1c3baa=_0x14001f([0x51]);for(let _0x321094=0x0;_0x321094<_0x1f3ee5[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x321094+=0x2){let _0x64036e=window[_0x14001f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f3ee5[_0x14001f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x321094,_0x321094+0x2));_0x64036e>=_0x364052[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x64036e-=_0x364052[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c3baa+=_0x364052[_0x64036e];}return _0x1c3baa;}function _0x300bb2(){const _0x4d9d8d=_0x53d116[_0x14001f([0x73,0x70,0x6c,0x69,0x74])](_0x14001f([0x2e]));if(0x3!=_0x4d9d8d[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x144c83(_0x4d9d8d[0x1]);function _0x144c83(_0x52500e){const _0x22ad43=_0x2b1177(_0x52500e);return _0x22ad43&&_0x4e5214()?_0x22ad43:null;function _0x4e5214(){const _0xf22e4f=_0x22ad43[_0x14001f([0x6a,0x74,0x69])],_0x10e5f3=window[_0x14001f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf22e4f[_0x14001f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf22e4f[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x104535={..._0x22ad43,[_0x14001f([0x6a,0x74,0x69])]:_0xf22e4f[_0x14001f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf22e4f[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x104535[_0x14001f([0x76,0x63])],_0x4330f5(_0x104535)==_0x10e5f3;}}}async function _0x253b7d(){let _0xef88d6=!0x0;try{const _0x5c125a=_0x53d116[_0x14001f([0x73,0x70,0x6c,0x69,0x74])](_0x14001f([0x2e])),[_0x1fc077,_0x195836,_0x5ac8ab]=_0x5c125a;return _0x49c912(_0x1fc077),await _0x586ebc(_0x1fc077,_0x195836,_0x5ac8ab),_0xef88d6;}catch{return!0x1;}function _0x49c912(_0x51ac12){const _0x4e83c6=_0x2b1177(_0x51ac12);_0x4e83c6&&_0x4e83c6[_0x14001f([0x61,0x6c,0x67])]==_0x14001f([0x45,0x53,0x32,0x35,0x36])||(_0xef88d6=!0x1);}async function _0x586ebc(_0x4bf507,_0x19fe4b,_0x3fe245){const _0x565b78=window[_0x14001f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x14001f([0x66,0x72,0x6f,0x6d])](_0xb3ec7d(_0x3fe245),_0x479dc7=>_0x479dc7[_0x14001f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x21f422=new window[(_0x14001f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x14001f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4bf507+_0x14001f([0x2e])+_0x19fe4b),_0x383a4b=window[_0x14001f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x14001f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x383a4b)return;const _0x2da383=await _0x383a4b[_0x14001f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x14001f([0x6a,0x77,0x6b]),_0x150d69,{[_0x14001f([0x6e,0x61,0x6d,0x65])]:_0x14001f([0x45,0x43,0x44,0x53,0x41]),[_0x14001f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x14001f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x14001f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x383a4b[_0x14001f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x14001f([0x6e,0x61,0x6d,0x65])]:_0x14001f([0x45,0x43,0x44,0x53,0x41]),[_0x14001f([0x68,0x61,0x73,0x68])]:{[_0x14001f([0x6e,0x61,0x6d,0x65])]:_0x14001f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2da383,_0x565b78,_0x21f422)||(_0xef88d6=!0x1);}}function _0x2b1177(_0xf36d6f){return _0xf36d6f[_0x14001f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x14001f([0x65,0x79]))?JSON[_0x14001f([0x70,0x61,0x72,0x73,0x65])](_0xb3ec7d(_0xf36d6f)):null;}function _0xb3ec7d(_0x58669e){return window[_0x14001f([0x61,0x74,0x6f,0x62])](_0x58669e[_0x14001f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x14001f([0x2b]))[_0x14001f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x14001f([0x2f])));}function _0x4330f5(_0x1b1d07){let _0x26bae7=0x1505;function _0x146961(_0x5a530d){for(let _0x180a56=0x0;_0x180a56<_0x5a530d[_0x14001f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x180a56++){const _0x400f87=_0x5a530d[_0x14001f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x180a56);_0x26bae7=(_0x26bae7<<0x5)+_0x26bae7+_0x400f87,_0x26bae7&=_0x26bae7;}}function _0x520c44(_0x4c9e7f){Array[_0x14001f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c9e7f)?_0x4c9e7f[_0x14001f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x520c44):_0x4c9e7f&&typeof _0x4c9e7f==_0x14001f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x14001f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c9e7f)[_0x14001f([0x73,0x6f,0x72,0x74])]()[_0x14001f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x54900d,_0x3740fb])=>{_0x146961(_0x54900d),_0x520c44(_0x3740fb);}):_0x146961(window[_0x14001f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c9e7f));}return _0x520c44(_0x1b1d07),_0x26bae7>>>0x0;}function _0x2f0480(_0x30f265){return _0x30f265[_0x14001f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x14001f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x14001f([0x30]));}function _0x109617(_0x173ddc){return _0x173ddc[_0x14001f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x14001f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x14001f([0x6a,0x6f,0x69,0x6e])]('');}function _0x540917(){}function _0x14001f(_0x1f7ac0){return _0x1f7ac0['map'](_0xe56ea9=>String['fromCharCode'](_0xe56ea9))['join']('');}_0x478ffc(await _0x107163());}(this);}['_toggleSpecialCursor'](_0x491135){this['editor']['editing']['view']['change'](_0x5e8573=>{for(const _0x2e6f87 of this['editor']['editing']['view']['document']['roots'])_0x491135?_0x5e8573['addClass'](g,_0x2e6f87):_0x5e8573['removeClass'](g,_0x2e6f87);});}['_copyFormatting'](){const {editor:_0x57c5c6}=this;_0x57c5c6['execute'](w),_0x57c5c6['ui']['ariaLiveAnnouncer']['announce'](x(_0x57c5c6['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x336509}=this,_0x5d5f13=_0x336509['commands']['get'](w)['value'];_0x336509['execute'](h,_0x5d5f13),_0x336509['ui']['ariaLiveAnnouncer']['announce'](x(_0x336509['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](w)['reset'](),this['stopListening'](_0x47b1e6['window']['document'],'mouseup');}}class L extends _0x4f8173{static get['requires'](){return[P,k];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{p as CopyFormatCommand,L as FormatPainter,P as FormatPainterEditing,k as FormatPainterUI,y as PasteFormatCommand};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-format-painter",
|
|
3
|
-
"version": "48.0.0-alpha.
|
|
3
|
+
"version": "48.0.0-alpha.4",
|
|
4
4
|
"description": "Format painter feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckeditor/ckeditor5-core": "48.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-remove-format": "48.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.0.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.0.0-alpha.4",
|
|
26
|
+
"@ckeditor/ckeditor5-icons": "48.0.0-alpha.4",
|
|
27
|
+
"@ckeditor/ckeditor5-remove-format": "48.0.0-alpha.4",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.0.0-alpha.4",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.0.0-alpha.4"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|