@ckeditor/ckeditor5-paste-from-office-enhanced 48.0.0-alpha.0 → 48.0.0-alpha.10

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x118bb6}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x47be3e,PasteFromOffice as _0x1cd220,parsePasteOfficeHtml as _0x42e33f}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x396a8d,uid as _0x115d99}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x568a36,ViewDocument as _0x1fd81c,ViewDomConverter as _0x1a180d}from'@ckeditor/ckeditor5-engine/dist/index.js';const a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function l(_0x460d6a){return a['test'](_0x460d6a);}const d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function w(_0x5e2b9a,_0x4618dd){const _0x15ff92=new Map();for(const [_0xc56c28,_0xbfccfb]of _0x4618dd){if(!_0xc56c28['tagName']&&!_0xc56c28['className'])continue;const _0x311142=!_0xc56c28['tagName']||_0x5e2b9a['name']===_0xc56c28['tagName'],_0x273a9c=!_0xc56c28['className']||_0x5e2b9a['hasClass'](_0xc56c28['className']);_0x311142&&_0x273a9c&&_0x15ff92['set'](_0xc56c28,_0xbfccfb);}return _0x15ff92;}function m(_0x5aaac7){const _0x3dbd39={};for(let _0x115086=0x0;_0x115086<_0x5aaac7['length'];_0x115086++){const _0x4579b9=_0x5aaac7[_0x115086],_0x1cb3b1=_0x5aaac7['getPropertyValue'](_0x4579b9);'initial'!==_0x1cb3b1&&(_0x3dbd39[_0x4579b9]=_0x1cb3b1);}return _0x3dbd39;}function p(_0x1ca058){const _0x49e2b3=_0x1ca058['split'](',')['map'](_0x4ed913=>_0x4ed913['trim']()),_0x41d8f0=[];for(const _0x7dd29e of _0x49e2b3){const _0x38493e=d['exec'](_0x7dd29e);_0x38493e&&_0x41d8f0['push'](_0x38493e['groups']);}return _0x41d8f0;}function y(_0x290c9d){const _0x191964={};for(const _0x362d05 of _0x290c9d)Object['assign'](_0x191964,_0x362d05);return _0x191964;}class h extends _0x47be3e{['execute'](_0x42b789){const {body:_0x141247,styles:_0xf3c5a7}=_0x42b789['_parsedData'],_0x425bd0=new _0x568a36(_0x141247['document']),_0x5b41fb=_0x425bd0['createRangeIn'](_0x141247),_0x349b37=function(_0x439784){const _0x25d0bf={};for(const _0x5e1adb of _0x439784)for(const _0x1791c6 of _0x5e1adb['cssRules'])if(_0x1791c6 instanceof CSSStyleRule){const _0x317e98=m(_0x1791c6['style']);_0x25d0bf[_0x1791c6['selectorText']]=Object['assign']({},_0x25d0bf[_0x1791c6['selectorText']]||{},_0x317e98);}return _0x25d0bf;}(_0xf3c5a7),_0x21d7b1=function(_0x214e6a){const _0x579b5c=new Map();for(const _0x49e3f5 in _0x214e6a){const _0x14353a=p(_0x49e3f5),_0x4a20cc=_0x214e6a[_0x49e3f5];for(const _0x155d59 of _0x14353a)_0x579b5c['set'](_0x155d59,_0x4a20cc);}return _0x579b5c;}(_0x349b37);for(const _0x308567 of _0x5b41fb){if('elementStart'!==_0x308567['type'])continue;const _0x3df5ca=w(_0x308567['item'],_0x21d7b1);if(_0x3df5ca['size']){const _0x848190=y(Array['from'](_0x3df5ca['values']()));for(const _0x33a074 in _0x848190){const _0x5222b4=_0x308567['item'];_0x5222b4['hasStyle'](_0x33a074)||_0x425bd0['setStyle'](_0x33a074,_0x848190[_0x33a074],_0x5222b4);}}}_0x42b789['content']=_0x141247;}['isActive'](_0x3c9fab){return super['isActive'](_0x3c9fab)||l(_0x3c9fab);}}class g extends _0x118bb6{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1cd220];}['init'](){const _0x34e268=this['editor'],_0x5dad6f=_0x34e268['plugins']['get']('ClipboardPipeline'),_0xe2a560=_0x34e268['editing']['view']['document'],_0x4ae857=new h(_0xe2a560);_0x5dad6f['on']('inputTransformation',(_0xf06b4b,_0x1e0003)=>{const _0x8b3fd8=_0x1e0003['dataTransfer']['getData']('text/html');_0x4ae857['isActive'](_0x8b3fd8)&&(_0x1e0003['_parsedData']||(_0x1e0003['_parsedData']=_0x42e33f(_0x8b3fd8,_0xe2a560['stylesProcessor'])),_0x4ae857['execute'](_0x1e0003));},{'priority':_0x396a8d['get']('high')+0xb});}['afterInit'](){!async function(_0x535c66){const _0x166f7e=_0x493849([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x394258=0x7374585f,_0x28b6f6=0x7373dc97^_0x394258,_0x3bdcb4=window[_0x493849([0x44,0x61,0x74,0x65])][_0x493849([0x6e,0x6f,0x77])](),_0x188940=_0x535c66[_0x493849([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d1f87=new window[(_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562a4a=>{_0x188940[_0x493849([0x6f,0x6e,0x63,0x65])](_0x493849([0x72,0x65,0x61,0x64,0x79]),_0x562a4a);}),_0x1f0494={[_0x493849([0x6b,0x74,0x79])]:_0x493849([0x45,0x43]),[_0x493849([0x75,0x73,0x65])]:_0x493849([0x73,0x69,0x67]),[_0x493849([0x63,0x72,0x76])]:_0x493849([0x50,0x2d,0x32,0x35,0x36]),[_0x493849([0x78])]:_0x493849([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]),[_0x493849([0x79])]:_0x493849([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]),[_0x493849([0x61,0x6c,0x67])]:_0x493849([0x45,0x53,0x32,0x35,0x36])},_0x25d268=_0x188940[_0x493849([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x493849([0x67,0x65,0x74])](_0x493849([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d0679(){let _0x318db1,_0x5e2a28=null,_0x1c2db5=null;try{if(_0x25d268==_0x493849([0x47,0x50,0x4c]))return _0x493849([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x318db1=_0x5b1f85(),!_0x318db1)return _0x493849([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x318db1[_0x493849([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c2db5=_0x181177(_0x318db1[_0x493849([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x318db1[_0x493849([0x6a,0x74,0x69])])),await _0x22af00()?_0x2e66eb()?_0x518b4a()?_0x493849([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a4af0()?(_0x318db1[_0x493849([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x493849([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e2a28=_0x2716a5(_0x493849([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x313bc9()):_0x493849([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x493849([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x493849([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x493849([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x518b4a(){const _0x18334d=[_0x493849([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x493849([0x74,0x72,0x69,0x61,0x6c])][_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x318db1[_0x493849([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3bdcb4/0x3e8:0xe10*_0x28b6f6;return _0x318db1[_0x493849([0x65,0x78,0x70])]<_0x18334d;}function _0x2e66eb(){const _0x30f527=_0x318db1[_0x493849([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30f527&&(!!_0x30f527[_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493849([0x2a]))||(!!_0x30f527[_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493849([0x50,0x4f,0x45]))||(!!_0x30f527[_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493849([0x50,0x50]))||!(!_0x30f527[_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493849([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2ea9de()))));}function _0x5a4af0(){const _0x526d22=_0x318db1[_0x493849([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x526d22||0x0==_0x526d22[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5350c5}=new URL(window[_0x493849([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x526d22[_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5350c5))return!0x0;const _0x361dc1=_0x5350c5[_0x493849([0x73,0x70,0x6c,0x69,0x74])](_0x493849([0x2e]));return _0x526d22[_0x493849([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50c918=>_0x50c918[_0x493849([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x493849([0x2a])))[_0x493849([0x6d,0x61,0x70])](_0x30fc22=>_0x30fc22[_0x493849([0x73,0x70,0x6c,0x69,0x74])](_0x493849([0x2e])))[_0x493849([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dd054=>_0x2dd054[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x361dc1[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x493849([0x6d,0x61,0x70])](_0x3d7a83=>Array(_0x361dc1[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d7a83[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x493849([0x66,0x69,0x6c,0x6c])](_0x3d7a83[0x0]===_0x493849([0x2a])?_0x493849([0x2a]):'')[_0x493849([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d7a83))[_0x493849([0x73,0x6f,0x6d,0x65])](_0x420ca6=>_0x361dc1[_0x493849([0x65,0x76,0x65,0x72,0x79])]((_0x4304d1,_0xe962ea)=>_0x420ca6[_0xe962ea]===_0x4304d1||_0x420ca6[_0xe962ea]===_0x493849([0x2a])));}function _0x313bc9(){return _0x5e2a28&&_0x1c2db5?new window[(_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36f8f9,_0x1f83bb)=>{_0x5e2a28[_0x493849([0x74,0x68,0x65,0x6e])](_0x36f8f9,_0x1f83bb),_0x1c2db5[_0x493849([0x74,0x68,0x65,0x6e])](_0x51cef2=>{_0x51cef2!=_0x493849([0x56,0x61,0x6c,0x69,0x64])&&_0x36f8f9(_0x51cef2);},_0x1f83bb);}):_0x5e2a28||_0x1c2db5||_0x493849([0x56,0x61,0x6c,0x69,0x64]);}}function _0x181177(_0x41963f,_0x53dc46){return new window[(_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b141c=>{if(_0x59084a())return _0x5b141c(_0x493849([0x56,0x61,0x6c,0x69,0x64]));_0x393dc2(),_0x188940[_0x493849([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x493849([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26fe39=!0x1;const _0x38eee3=_0x115d99();function _0x3ac971(_0x2fc059){return!!_0x2fc059&&(typeof _0x2fc059===_0x493849([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2fc059===_0x493849([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2fc059[_0x493849([0x74,0x68,0x65,0x6e])]===_0x493849([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2fc059[_0x493849([0x63,0x61,0x74,0x63,0x68])]===_0x493849([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x289e3a(_0x17ab74){_0x1082ca(_0x17ab74)[_0x493849([0x74,0x68,0x65,0x6e])](_0x11ffe5=>{if(!_0x11ffe5||_0x11ffe5[_0x493849([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x493849([0x6f,0x6b]))return _0x493849([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x33b702(_0xed35da(_0x38eee3+_0x53dc46))!=_0x11ffe5[_0x493849([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x493849([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x493849([0x56,0x61,0x6c,0x69,0x64]);})[_0x493849([0x74,0x68,0x65,0x6e])](_0x37d535=>(_0x1f616a(),_0x37d535),()=>{const _0x18333c=_0x360883();return null==_0x18333c?(_0x1f616a(),_0x493849([0x56,0x61,0x6c,0x69,0x64])):_0x493849(_0x3bdcb4-_0x18333c>(0x5778dc5f^_0x394258)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x493849([0x74,0x68,0x65,0x6e])](_0x5b141c)[_0x493849([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b141c(_0x493849([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x990f77=0x7342b6df^_0x394258;function _0x1f616a(){const _0x27f9f6=_0x493849([0x6c,0x6c,0x63,0x74,0x2d])+_0x33b702(_0xed35da(_0x41963f)),_0xe185e8=_0x3fa377(_0x33b702(window[_0x493849([0x4d,0x61,0x74,0x68])][_0x493849([0x63,0x65,0x69,0x6c])](_0x3bdcb4/_0x990f77)));window[_0x493849([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x493849([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27f9f6,_0xe185e8);}function _0x360883(){const _0x2bbacf=_0x493849([0x6c,0x6c,0x63,0x74,0x2d])+_0x33b702(_0xed35da(_0x41963f)),_0x4997e4=window[_0x493849([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x493849([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bbacf);return _0x4997e4?window[_0x493849([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fa377(_0x4997e4),0x10)*_0x990f77:null;}function _0x1082ca(_0x33b5fd){return new window[(_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f45cc,_0x56f087)=>{_0x33b5fd[_0x493849([0x74,0x68,0x65,0x6e])](_0x4f45cc,_0x56f087),window[_0x493849([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x56f087,0x73758c9f^_0x394258);});}}_0x188940[_0x493849([0x6f,0x6e])](_0x493849([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c2fbc,_0x8c1ac7)=>{if(_0x8c1ac7[0x0]!=_0x41963f)return _0x5b141c(_0x493849([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x8c1ac7[0x1]={..._0x8c1ac7[0x1],[_0x493849([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38eee3};},{[_0x493849([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x493849([0x68,0x69,0x67,0x68])}),_0x188940[_0x493849([0x6f,0x6e])](_0x493849([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49e270=>{_0x3ac971(_0x49e270[_0x493849([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26fe39=!0x0,_0x289e3a(_0x49e270[_0x493849([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x493849([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x493849([0x6c,0x6f,0x77])}),_0x2d1f87[_0x493849([0x74,0x68,0x65,0x6e])](()=>{_0x26fe39||_0x5b141c(_0x493849([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59084a(){return _0x188940[_0x493849([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x493849([0x76,0x69,0x65,0x77])][_0x493849([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x493849([0x61,0x75,0x74,0x6f]);}function _0x393dc2(){_0x188940[_0x493849([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x493849([0x76,0x69,0x65,0x77])][_0x493849([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x493849([0x61,0x75,0x74,0x6f]);}}function _0x2716a5(_0x1af527){const _0x35129a=[new window[(_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7f3e64=>setTimeout(_0x7f3e64,0x737d6693^_0x394258)),_0x2d1f87[_0x493849([0x74,0x68,0x65,0x6e])](()=>new window[(_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37f839=>{let _0x204220=0x0;_0x188940[_0x493849([0x6d,0x6f,0x64,0x65,0x6c])][_0x493849([0x6f,0x6e])](_0x493849([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5bfbbf,_0x490844)=>{_0x490844[0x0][_0x493849([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x204220++,_0x204220==(0x73745db7^_0x394258)&&(_0x37f839(),_0x5bfbbf[_0x493849([0x6f,0x66,0x66])]());});}))];return window[_0x493849([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x493849([0x72,0x61,0x63,0x65])](_0x35129a)[_0x493849([0x74,0x68,0x65,0x6e])](()=>_0x1af527);}async function _0x50013a(){await _0x2d1f87,_0x188940[_0x493849([0x6d,0x6f,0x64,0x65,0x6c])][_0x493849([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x30dd4b,_0x188940[_0x493849([0x6d,0x6f,0x64,0x65,0x6c])][_0x493849([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x30dd4b,_0x188940[_0x493849([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x493849([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2ea9de(){return window[_0x493849([0x67,0x6c,0x6f,0x62])]&&window[_0x493849([0x67,0x6c,0x6f,0x62])][_0x493849([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x36aac9(_0x28e670){const _0xff4a92=_0x3491ff();_0x188940[_0xff4a92]=_0x493849([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28e670,_0x28e670!=_0x493849([0x56,0x61,0x6c,0x69,0x64])&&_0x50013a();}function _0x3491ff(){const _0x2b72ee=window[_0x493849([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x493849([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x493849([0x6e,0x6f,0x77])]())[_0x493849([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x493849([0x2e]),'');let _0x20a531=_0x493849([0x73]);for(let _0x459843=0x0;_0x459843<_0x2b72ee[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x459843+=0x2){let _0x1cd39d=window[_0x493849([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b72ee[_0x493849([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x459843,_0x459843+0x2));_0x1cd39d>=_0x166f7e[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1cd39d-=_0x166f7e[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20a531+=_0x166f7e[_0x1cd39d];}return _0x20a531;}function _0x5b1f85(){const _0x5c2969=_0x25d268[_0x493849([0x73,0x70,0x6c,0x69,0x74])](_0x493849([0x2e]));if(0x3!=_0x5c2969[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x358233(_0x5c2969[0x1]);function _0x358233(_0xa5ff12){const _0x78085e=_0xe16fe5(_0xa5ff12);return _0x78085e&&_0x274e91()?_0x78085e:null;function _0x274e91(){const _0xa58c88=_0x78085e[_0x493849([0x6a,0x74,0x69])],_0x1fe6f7=window[_0x493849([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa58c88[_0x493849([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa58c88[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2bc883={..._0x78085e,[_0x493849([0x6a,0x74,0x69])]:_0xa58c88[_0x493849([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa58c88[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2bc883[_0x493849([0x76,0x63])],_0xed35da(_0x2bc883)==_0x1fe6f7;}}}async function _0x22af00(){let _0x41fcc1=!0x0;try{const _0x441da8=_0x25d268[_0x493849([0x73,0x70,0x6c,0x69,0x74])](_0x493849([0x2e])),[_0x2e1719,_0x56b1ce,_0x3543ce]=_0x441da8;return _0x25e926(_0x2e1719),await _0x3a0b66(_0x2e1719,_0x56b1ce,_0x3543ce),_0x41fcc1;}catch{return!0x1;}function _0x25e926(_0x587be5){const _0x4f4e2d=_0xe16fe5(_0x587be5);_0x4f4e2d&&_0x4f4e2d[_0x493849([0x61,0x6c,0x67])]==_0x493849([0x45,0x53,0x32,0x35,0x36])||(_0x41fcc1=!0x1);}async function _0x3a0b66(_0x239dd2,_0x54a6a8,_0x2b8fab){const _0x53c511=window[_0x493849([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x493849([0x66,0x72,0x6f,0x6d])](_0x9fb25e(_0x2b8fab),_0x163b45=>_0x163b45[_0x493849([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc595e2=new window[(_0x493849([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x493849([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x239dd2+_0x493849([0x2e])+_0x54a6a8),_0xd6ae25=window[_0x493849([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x493849([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd6ae25)return;const _0x30bfd3=await _0xd6ae25[_0x493849([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x493849([0x6a,0x77,0x6b]),_0x1f0494,{[_0x493849([0x6e,0x61,0x6d,0x65])]:_0x493849([0x45,0x43,0x44,0x53,0x41]),[_0x493849([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x493849([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x493849([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd6ae25[_0x493849([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x493849([0x6e,0x61,0x6d,0x65])]:_0x493849([0x45,0x43,0x44,0x53,0x41]),[_0x493849([0x68,0x61,0x73,0x68])]:{[_0x493849([0x6e,0x61,0x6d,0x65])]:_0x493849([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30bfd3,_0x53c511,_0xc595e2)||(_0x41fcc1=!0x1);}}function _0xe16fe5(_0x3f606d){return _0x3f606d[_0x493849([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x493849([0x65,0x79]))?JSON[_0x493849([0x70,0x61,0x72,0x73,0x65])](_0x9fb25e(_0x3f606d)):null;}function _0x9fb25e(_0x1223a7){return window[_0x493849([0x61,0x74,0x6f,0x62])](_0x1223a7[_0x493849([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x493849([0x2b]))[_0x493849([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x493849([0x2f])));}function _0xed35da(_0x478dba){let _0x46fec7=0x1505;function _0x2e4259(_0x5ea8df){for(let _0xeebe95=0x0;_0xeebe95<_0x5ea8df[_0x493849([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xeebe95++){const _0x5940b9=_0x5ea8df[_0x493849([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xeebe95);_0x46fec7=(_0x46fec7<<0x5)+_0x46fec7+_0x5940b9,_0x46fec7&=_0x46fec7;}}function _0x464fe7(_0x450512){Array[_0x493849([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x450512)?_0x450512[_0x493849([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x464fe7):_0x450512&&typeof _0x450512==_0x493849([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x493849([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x450512)[_0x493849([0x73,0x6f,0x72,0x74])]()[_0x493849([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47b1ac,_0x26bec3])=>{_0x2e4259(_0x47b1ac),_0x464fe7(_0x26bec3);}):_0x2e4259(window[_0x493849([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x450512));}return _0x464fe7(_0x478dba),_0x46fec7>>>0x0;}function _0x33b702(_0x33c32f){return _0x33c32f[_0x493849([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x493849([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x493849([0x30]));}function _0x3fa377(_0x3fb744){return _0x3fb744[_0x493849([0x73,0x70,0x6c,0x69,0x74])]('')[_0x493849([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x493849([0x6a,0x6f,0x69,0x6e])]('');}function _0x30dd4b(){}function _0x493849(_0xd1dce){return _0xd1dce['map'](_0x20c394=>String['fromCharCode'](_0x20c394))['join']('');}_0x36aac9(await _0x5d0679());}(this);}}const O=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],E=['color','font-family','font-size'],L={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x4c88fc=>Number(_0x4c88fc)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function x(_0x489ddd){return O['includes'](_0x489ddd);}function F(_0x21186a){return Array['from'](_0x21186a['getStyleNames']())['filter'](x);}function K(_0x3f6eb0,_0x21e36c,_0x4f2e5a){const {spanStyles:_0x3a9427,stylesToBeHtmlElements:_0x1d7fc7}=function(_0x1333b9,_0x4d2c04){const _0x564dbd={},_0x37367f={};return _0x4d2c04['forEach'](_0x540cd7=>{const _0x505c26=_0x1333b9['getStyle'](_0x540cd7);if(_0x505c26){if(function(_0x43cc2a){return E['includes'](_0x43cc2a);}(_0x540cd7))_0x564dbd[_0x540cd7]=_0x505c26;else{if(function(_0x23deda){return _0x23deda in L;}(_0x540cd7)){const _0x339e05=_0x505c26['split']('\x20');L[_0x540cd7]['forEach'](([_0x2b27f9,_0xb08c9])=>{for(const _0x588b6c of _0x339e05){('function'==typeof _0x2b27f9&&_0x2b27f9(_0x588b6c)||_0x2b27f9===_0x588b6c)&&(_0x37367f[_0x540cd7]=[..._0x37367f[_0x540cd7]||[],[_0x2b27f9,_0xb08c9]]);}});}}}}),{'spanStyles':_0x564dbd,'stylesToBeHtmlElements':_0x37367f};}(_0x3f6eb0,_0x4f2e5a);!function(_0x209fda,_0x11f2ff,_0xc3b5ec){for(const _0x1a02ec in _0xc3b5ec){_0xc3b5ec[_0x1a02ec]['forEach'](([,_0x109840])=>{const _0x595c0c=_0x11f2ff['createElement'](_0x109840,[],_0x209fda['getChildren']());_0x11f2ff['insertChild'](0x0,_0x595c0c,_0x209fda);}),_0x11f2ff['removeStyle'](_0x1a02ec,_0x209fda);}}(_0x3f6eb0,_0x21e36c,_0x1d7fc7),function(_0x4652c9,_0x2fcab7,_0x4f3460){if(!Object['keys'](_0x4f3460)['length'])return;const _0x4a5d62=_0x2fcab7['createElement']('span',[],_0x4652c9['getChildren']());_0x2fcab7['setStyle'](_0x4f3460,_0x4a5d62),_0x2fcab7['insertChild'](0x0,_0x4a5d62,_0x4652c9),_0x2fcab7['removeStyle'](Object['keys'](_0x4f3460),_0x4652c9);}(_0x3f6eb0,_0x21e36c,_0x3a9427);}class P extends _0x47be3e{['execute'](_0x8a5e2a){const {body:_0x1f3028}=_0x8a5e2a['_parsedData'],_0x56f5e4=new _0x568a36(_0x1f3028['document']),_0x32c114=_0x56f5e4['createRangeIn'](_0x1f3028),_0x25b266=new _0x1fd81c(_0x56f5e4['document']['stylesProcessor']),_0x36572c=[...new _0x1a180d(_0x25b266)['blockElements'],'font'],_0x94b389=_0x32c114['getItems']();for(const _0x8d3a57 of _0x94b389)_0x8d3a57['is']('element')&&_0x36572c['includes'](_0x8d3a57['name'])&&K(_0x8d3a57,_0x56f5e4,F(_0x8d3a57));_0x8a5e2a['content']=_0x1f3028;}['isActive'](_0x50926e){return super['isActive'](_0x50926e)||l(_0x50926e);}}class b extends _0x118bb6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1cd220];}['init'](){const _0x3183da=this['editor'],_0x26bf06=_0x3183da['plugins']['get']('ClipboardPipeline'),_0x525c62=_0x3183da['editing']['view']['document'],_0x2781ec=new P(_0x525c62);_0x26bf06['on']('inputTransformation',(_0x3e2928,_0xb2318)=>{const _0x494d88=_0xb2318['dataTransfer']['getData']('text/html');_0x2781ec['isActive'](_0x494d88)&&(_0xb2318['_parsedData']||(_0xb2318['_parsedData']=_0x42e33f(_0x494d88,_0x525c62['stylesProcessor'])),_0x2781ec['execute'](_0xb2318));},{'priority':_0x396a8d['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x16fc81=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x36412f;for(const _0x2727a8 in _0x16fc81){const _0x57eb0e=_0x2727a8,_0x65e89c=_0x16fc81[_0x57eb0e];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x65e89c||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x65e89c||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x65e89c||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x65e89c||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x65e89c||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x65e89c||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x65e89c){delete _0x16fc81[_0x57eb0e],_0x36412f=_0x65e89c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x36412f&&_0x16fc81['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x36412f&&_0x16fc81['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x36412f&&_0x16fc81['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x36412f&&_0x16fc81['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x36412f&&_0x16fc81['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x36412f&&_0x16fc81['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class v extends _0x118bb6{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1cd220,g,b];}}export{v as PasteFromOfficeEnhanced};
23
+ import{Plugin as _0x2eb340}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x2161e6,PasteFromOffice as _0x5d44de,parsePasteOfficeHtml as _0x5e23b9}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x539745,uid as _0x28c32d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x3e3a9c,ViewDocument as _0x2ec5f1,ViewDomConverter as _0x52901d}from'@ckeditor/ckeditor5-engine/dist/index.js';const a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function l(_0x3d09d9){return a['test'](_0x3d09d9);}const d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function w(_0x159f2c,_0x5a3f00){const _0x57ddce=new Map();for(const [_0x20f7d5,_0x1594e1]of _0x5a3f00){if(!_0x20f7d5['tagName']&&!_0x20f7d5['className'])continue;const _0x411e4d=!_0x20f7d5['tagName']||_0x159f2c['name']===_0x20f7d5['tagName'],_0x39a3c6=!_0x20f7d5['className']||_0x159f2c['hasClass'](_0x20f7d5['className']);_0x411e4d&&_0x39a3c6&&_0x57ddce['set'](_0x20f7d5,_0x1594e1);}return _0x57ddce;}function m(_0x59f7e9){const _0xb79871={};for(let _0x527880=0x0;_0x527880<_0x59f7e9['length'];_0x527880++){const _0x488cf4=_0x59f7e9[_0x527880],_0x5077d6=_0x59f7e9['getPropertyValue'](_0x488cf4);'initial'!==_0x5077d6&&(_0xb79871[_0x488cf4]=_0x5077d6);}return _0xb79871;}function p(_0x3a814a){const _0x50ef76=_0x3a814a['split'](',')['map'](_0x1c97be=>_0x1c97be['trim']()),_0x56d3a9=[];for(const _0x465939 of _0x50ef76){const _0x3bbce8=d['exec'](_0x465939);_0x3bbce8&&_0x56d3a9['push'](_0x3bbce8['groups']);}return _0x56d3a9;}function y(_0x39c015){const _0x2b8aaa={};for(const _0x3502a5 of _0x39c015)Object['assign'](_0x2b8aaa,_0x3502a5);return _0x2b8aaa;}class h extends _0x2161e6{['execute'](_0x4894f5){const {body:_0x37fab8,styles:_0x36fabf}=_0x4894f5['_parsedData'],_0x3c93b8=new _0x3e3a9c(_0x37fab8['document']),_0x28a74f=_0x3c93b8['createRangeIn'](_0x37fab8),_0x12e7a3=function(_0x31a6dd){const _0x222e27={};for(const _0x41cdea of _0x31a6dd)for(const _0x646868 of _0x41cdea['cssRules'])if(_0x646868 instanceof CSSStyleRule){const _0x3d1f32=m(_0x646868['style']);_0x222e27[_0x646868['selectorText']]=Object['assign']({},_0x222e27[_0x646868['selectorText']]||{},_0x3d1f32);}return _0x222e27;}(_0x36fabf),_0x4282a7=function(_0x3a20ad){const _0x328c05=new Map();for(const _0x2e23bc in _0x3a20ad){const _0x1bea16=p(_0x2e23bc),_0x30f980=_0x3a20ad[_0x2e23bc];for(const _0x3746d1 of _0x1bea16)_0x328c05['set'](_0x3746d1,_0x30f980);}return _0x328c05;}(_0x12e7a3);for(const _0x450f13 of _0x28a74f){if('elementStart'!==_0x450f13['type'])continue;const _0x4e4c81=w(_0x450f13['item'],_0x4282a7);if(_0x4e4c81['size']){const _0x562b02=y(Array['from'](_0x4e4c81['values']()));for(const _0x1c8ebf in _0x562b02){const _0x59042a=_0x450f13['item'];_0x59042a['hasStyle'](_0x1c8ebf)||_0x3c93b8['setStyle'](_0x1c8ebf,_0x562b02[_0x1c8ebf],_0x59042a);}}}_0x4894f5['content']=_0x37fab8;}['isActive'](_0x2b604f){return super['isActive'](_0x2b604f)||l(_0x2b604f);}}class g extends _0x2eb340{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5d44de];}['init'](){const _0x33f42a=this['editor'],_0x48f116=_0x33f42a['plugins']['get']('ClipboardPipeline'),_0x270ade=_0x33f42a['editing']['view']['document'],_0x2c9531=new h(_0x270ade);_0x48f116['on']('inputTransformation',(_0x3c3421,_0x546fdf)=>{const _0x3d76b8=_0x546fdf['dataTransfer']['getData']('text/html');_0x2c9531['isActive'](_0x3d76b8)&&(_0x546fdf['_parsedData']||(_0x546fdf['_parsedData']=_0x5e23b9(_0x3d76b8,_0x270ade['stylesProcessor'])),_0x2c9531['execute'](_0x546fdf));},{'priority':_0x539745['get']('high')+0xb});}['afterInit'](){!async function(_0x229b3d){const _0x2f2aec=_0x17eea3([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0xb66b39=0x7374585f,_0x2e07c8=0x7373dde7^_0xb66b39,_0x1469dc=window[_0x17eea3([0x44,0x61,0x74,0x65])][_0x17eea3([0x6e,0x6f,0x77])](),_0x61031=_0x229b3d[_0x17eea3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43fef3=new window[(_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e2ab1=>{_0x61031[_0x17eea3([0x6f,0x6e,0x63,0x65])](_0x17eea3([0x72,0x65,0x61,0x64,0x79]),_0x2e2ab1);}),_0x2b54cb={[_0x17eea3([0x6b,0x74,0x79])]:_0x17eea3([0x45,0x43]),[_0x17eea3([0x75,0x73,0x65])]:_0x17eea3([0x73,0x69,0x67]),[_0x17eea3([0x63,0x72,0x76])]:_0x17eea3([0x50,0x2d,0x32,0x35,0x36]),[_0x17eea3([0x78])]:_0x17eea3([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]),[_0x17eea3([0x79])]:_0x17eea3([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]),[_0x17eea3([0x61,0x6c,0x67])]:_0x17eea3([0x45,0x53,0x32,0x35,0x36])},_0x35bdef=_0x61031[_0x17eea3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17eea3([0x67,0x65,0x74])](_0x17eea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31a9e1(){let _0x54d1f0,_0x4b661e=null,_0x227b6c=null;try{if(_0x35bdef==_0x17eea3([0x47,0x50,0x4c]))return _0x17eea3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54d1f0=_0x3a3734(),!_0x54d1f0)return _0x17eea3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54d1f0[_0x17eea3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x227b6c=_0x381978(_0x54d1f0[_0x17eea3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54d1f0[_0x17eea3([0x6a,0x74,0x69])])),await _0x44c8a4()?_0x359c3c()?_0x1f6f1b()?_0x17eea3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18993e()?(_0x54d1f0[_0x17eea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17eea3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b661e=_0x4b2fcc(_0x17eea3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c76d8()):_0x17eea3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17eea3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17eea3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17eea3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f6f1b(){const _0x4dab50=[_0x17eea3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17eea3([0x74,0x72,0x69,0x61,0x6c])][_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54d1f0[_0x17eea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1469dc/0x3e8:0xe10*_0x2e07c8;return _0x54d1f0[_0x17eea3([0x65,0x78,0x70])]<_0x4dab50;}function _0x359c3c(){const _0x1cce87=_0x54d1f0[_0x17eea3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1cce87&&(!!_0x1cce87[_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17eea3([0x2a]))||(!!_0x1cce87[_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17eea3([0x50,0x4f,0x45]))||(!!_0x1cce87[_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17eea3([0x50,0x50]))||!(!_0x1cce87[_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17eea3([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1c2745()))));}function _0x18993e(){const _0x503162=_0x54d1f0[_0x17eea3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x503162||0x0==_0x503162[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x20fa4b}=new URL(window[_0x17eea3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x503162[_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20fa4b))return!0x0;const _0x25e251=_0x20fa4b[_0x17eea3([0x73,0x70,0x6c,0x69,0x74])](_0x17eea3([0x2e]));return _0x503162[_0x17eea3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c9223=>_0x1c9223[_0x17eea3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17eea3([0x2a])))[_0x17eea3([0x6d,0x61,0x70])](_0x1b688c=>_0x1b688c[_0x17eea3([0x73,0x70,0x6c,0x69,0x74])](_0x17eea3([0x2e])))[_0x17eea3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ddec7=>_0x4ddec7[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25e251[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17eea3([0x6d,0x61,0x70])](_0x6f41c2=>Array(_0x25e251[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x6f41c2[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17eea3([0x66,0x69,0x6c,0x6c])](_0x6f41c2[0x0]===_0x17eea3([0x2a])?_0x17eea3([0x2a]):'')[_0x17eea3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x6f41c2))[_0x17eea3([0x73,0x6f,0x6d,0x65])](_0x452073=>_0x25e251[_0x17eea3([0x65,0x76,0x65,0x72,0x79])]((_0x24fb17,_0x1aade7)=>_0x452073[_0x1aade7]===_0x24fb17||_0x452073[_0x1aade7]===_0x17eea3([0x2a])));}function _0x2c76d8(){return _0x4b661e&&_0x227b6c?new window[(_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13291b,_0x1b0b57)=>{_0x4b661e[_0x17eea3([0x74,0x68,0x65,0x6e])](_0x13291b,_0x1b0b57),_0x227b6c[_0x17eea3([0x74,0x68,0x65,0x6e])](_0xb2b051=>{_0xb2b051!=_0x17eea3([0x56,0x61,0x6c,0x69,0x64])&&_0x13291b(_0xb2b051);},_0x1b0b57);}):_0x4b661e||_0x227b6c||_0x17eea3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x381978(_0x304744,_0x297481){return new window[(_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56ab5c=>{if(_0x253018())return _0x56ab5c(_0x17eea3([0x56,0x61,0x6c,0x69,0x64]));_0x44282f(),_0x61031[_0x17eea3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17eea3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x8fca28=!0x1;const _0x4a798f=_0x28c32d();function _0x3d7675(_0x3317a3){return!!_0x3317a3&&(typeof _0x3317a3===_0x17eea3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3317a3===_0x17eea3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3317a3[_0x17eea3([0x74,0x68,0x65,0x6e])]===_0x17eea3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3317a3[_0x17eea3([0x63,0x61,0x74,0x63,0x68])]===_0x17eea3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x302f45(_0x32d0e7){_0x5b3fb6(_0x32d0e7)[_0x17eea3([0x74,0x68,0x65,0x6e])](_0x4842e8=>{if(!_0x4842e8||_0x4842e8[_0x17eea3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17eea3([0x6f,0x6b]))return _0x17eea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x13812c(_0x1c64e9(_0x4a798f+_0x297481))!=_0x4842e8[_0x17eea3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17eea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17eea3([0x56,0x61,0x6c,0x69,0x64]);})[_0x17eea3([0x74,0x68,0x65,0x6e])](_0x2511fe=>(_0x29f68c(),_0x2511fe),()=>{const _0x3afe1a=_0x2a05cb();return null==_0x3afe1a?(_0x29f68c(),_0x17eea3([0x56,0x61,0x6c,0x69,0x64])):_0x17eea3(_0x1469dc-_0x3afe1a>(0x5778dc5f^_0xb66b39)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17eea3([0x74,0x68,0x65,0x6e])](_0x56ab5c)[_0x17eea3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56ab5c(_0x17eea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa885be=0x7342b6df^_0xb66b39;function _0x29f68c(){const _0x3e3777=_0x17eea3([0x6c,0x6c,0x63,0x74,0x2d])+_0x13812c(_0x1c64e9(_0x304744)),_0x30629a=_0x1262e1(_0x13812c(window[_0x17eea3([0x4d,0x61,0x74,0x68])][_0x17eea3([0x63,0x65,0x69,0x6c])](_0x1469dc/_0xa885be)));window[_0x17eea3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17eea3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3777,_0x30629a);}function _0x2a05cb(){const _0x56807d=_0x17eea3([0x6c,0x6c,0x63,0x74,0x2d])+_0x13812c(_0x1c64e9(_0x304744)),_0x2a4055=window[_0x17eea3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17eea3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56807d);return _0x2a4055?window[_0x17eea3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1262e1(_0x2a4055),0x10)*_0xa885be:null;}function _0x5b3fb6(_0x525625){return new window[(_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x299b73,_0x54c94c)=>{_0x525625[_0x17eea3([0x74,0x68,0x65,0x6e])](_0x299b73,_0x54c94c),window[_0x17eea3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54c94c,0x73758c9f^_0xb66b39);});}}_0x61031[_0x17eea3([0x6f,0x6e])](_0x17eea3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2af73e,_0x35e55a)=>{if(_0x35e55a[0x0]!=_0x304744)return _0x56ab5c(_0x17eea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35e55a[0x1]={..._0x35e55a[0x1],[_0x17eea3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a798f};},{[_0x17eea3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17eea3([0x68,0x69,0x67,0x68])}),_0x61031[_0x17eea3([0x6f,0x6e])](_0x17eea3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4daf67=>{_0x3d7675(_0x4daf67[_0x17eea3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x8fca28=!0x0,_0x302f45(_0x4daf67[_0x17eea3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17eea3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17eea3([0x6c,0x6f,0x77])}),_0x43fef3[_0x17eea3([0x74,0x68,0x65,0x6e])](()=>{_0x8fca28||_0x56ab5c(_0x17eea3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x253018(){return _0x61031[_0x17eea3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17eea3([0x76,0x69,0x65,0x77])][_0x17eea3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17eea3([0x61,0x75,0x74,0x6f]);}function _0x44282f(){_0x61031[_0x17eea3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17eea3([0x76,0x69,0x65,0x77])][_0x17eea3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17eea3([0x61,0x75,0x74,0x6f]);}}function _0x4b2fcc(_0x386ba3){const _0x5ce611=[new window[(_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31f495=>setTimeout(_0x31f495,0x737d6693^_0xb66b39)),_0x43fef3[_0x17eea3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x252400=>{let _0x3f8d73=0x0;_0x61031[_0x17eea3([0x6d,0x6f,0x64,0x65,0x6c])][_0x17eea3([0x6f,0x6e])](_0x17eea3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53f833,_0x1e044a)=>{_0x1e044a[0x0][_0x17eea3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f8d73++,_0x3f8d73==(0x73745db7^_0xb66b39)&&(_0x252400(),_0x53f833[_0x17eea3([0x6f,0x66,0x66])]());});}))];return window[_0x17eea3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17eea3([0x72,0x61,0x63,0x65])](_0x5ce611)[_0x17eea3([0x74,0x68,0x65,0x6e])](()=>_0x386ba3);}async function _0x20fcb8(){await _0x43fef3,_0x61031[_0x17eea3([0x6d,0x6f,0x64,0x65,0x6c])][_0x17eea3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x227992,_0x61031[_0x17eea3([0x6d,0x6f,0x64,0x65,0x6c])][_0x17eea3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x227992,_0x61031[_0x17eea3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17eea3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c2745(){return window[_0x17eea3([0x67,0x6c,0x6f,0x62])]&&window[_0x17eea3([0x67,0x6c,0x6f,0x62])][_0x17eea3([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x109b86(_0x3d29a6){const _0x7cdfa1=_0x14c2d4();_0x61031[_0x7cdfa1]=_0x17eea3([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3d29a6,_0x3d29a6!=_0x17eea3([0x56,0x61,0x6c,0x69,0x64])&&_0x20fcb8();}function _0x14c2d4(){const _0x522fda=window[_0x17eea3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17eea3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17eea3([0x6e,0x6f,0x77])]())[_0x17eea3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17eea3([0x2e]),'');let _0x40b64c=_0x17eea3([0x73]);for(let _0x375c86=0x0;_0x375c86<_0x522fda[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x375c86+=0x2){let _0x53dbd8=window[_0x17eea3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x522fda[_0x17eea3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x375c86,_0x375c86+0x2));_0x53dbd8>=_0x2f2aec[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53dbd8-=_0x2f2aec[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40b64c+=_0x2f2aec[_0x53dbd8];}return _0x40b64c;}function _0x3a3734(){const _0x1bf5f0=_0x35bdef[_0x17eea3([0x73,0x70,0x6c,0x69,0x74])](_0x17eea3([0x2e]));if(0x3!=_0x1bf5f0[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51e69d(_0x1bf5f0[0x1]);function _0x51e69d(_0x33ab0b){const _0x5191e6=_0x8ae10(_0x33ab0b);return _0x5191e6&&_0x5bd3b5()?_0x5191e6:null;function _0x5bd3b5(){const _0x319780=_0x5191e6[_0x17eea3([0x6a,0x74,0x69])],_0x122b78=window[_0x17eea3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x319780[_0x17eea3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x319780[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc8baf0={..._0x5191e6,[_0x17eea3([0x6a,0x74,0x69])]:_0x319780[_0x17eea3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x319780[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc8baf0[_0x17eea3([0x76,0x63])],_0x1c64e9(_0xc8baf0)==_0x122b78;}}}async function _0x44c8a4(){let _0x44bbda=!0x0;try{const _0x1727e5=_0x35bdef[_0x17eea3([0x73,0x70,0x6c,0x69,0x74])](_0x17eea3([0x2e])),[_0x59d5a3,_0x1e83f0,_0x5a48a4]=_0x1727e5;return _0x33dc76(_0x59d5a3),await _0x1c8c7f(_0x59d5a3,_0x1e83f0,_0x5a48a4),_0x44bbda;}catch{return!0x1;}function _0x33dc76(_0xf28cc6){const _0x5ecfe5=_0x8ae10(_0xf28cc6);_0x5ecfe5&&_0x5ecfe5[_0x17eea3([0x61,0x6c,0x67])]==_0x17eea3([0x45,0x53,0x32,0x35,0x36])||(_0x44bbda=!0x1);}async function _0x1c8c7f(_0x5d8700,_0x15ed02,_0x1f578d){const _0x823269=window[_0x17eea3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17eea3([0x66,0x72,0x6f,0x6d])](_0x5505ae(_0x1f578d),_0x19606c=>_0x19606c[_0x17eea3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50bf58=new window[(_0x17eea3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17eea3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d8700+_0x17eea3([0x2e])+_0x15ed02),_0x4eca5f=window[_0x17eea3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17eea3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4eca5f)return;const _0x2fb603=await _0x4eca5f[_0x17eea3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17eea3([0x6a,0x77,0x6b]),_0x2b54cb,{[_0x17eea3([0x6e,0x61,0x6d,0x65])]:_0x17eea3([0x45,0x43,0x44,0x53,0x41]),[_0x17eea3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17eea3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17eea3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4eca5f[_0x17eea3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17eea3([0x6e,0x61,0x6d,0x65])]:_0x17eea3([0x45,0x43,0x44,0x53,0x41]),[_0x17eea3([0x68,0x61,0x73,0x68])]:{[_0x17eea3([0x6e,0x61,0x6d,0x65])]:_0x17eea3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fb603,_0x823269,_0x50bf58)||(_0x44bbda=!0x1);}}function _0x8ae10(_0x5855c7){return _0x5855c7[_0x17eea3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17eea3([0x65,0x79]))?JSON[_0x17eea3([0x70,0x61,0x72,0x73,0x65])](_0x5505ae(_0x5855c7)):null;}function _0x5505ae(_0x2e2de8){return window[_0x17eea3([0x61,0x74,0x6f,0x62])](_0x2e2de8[_0x17eea3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17eea3([0x2b]))[_0x17eea3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17eea3([0x2f])));}function _0x1c64e9(_0x4b2c7e){let _0x4c6ac5=0x1505;function _0x559d10(_0x2a474a){for(let _0x4b8e3d=0x0;_0x4b8e3d<_0x2a474a[_0x17eea3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b8e3d++){const _0x3a54d9=_0x2a474a[_0x17eea3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b8e3d);_0x4c6ac5=(_0x4c6ac5<<0x5)+_0x4c6ac5+_0x3a54d9,_0x4c6ac5&=_0x4c6ac5;}}function _0x43e275(_0x4c7a4b){Array[_0x17eea3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c7a4b)?_0x4c7a4b[_0x17eea3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43e275):_0x4c7a4b&&typeof _0x4c7a4b==_0x17eea3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17eea3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c7a4b)[_0x17eea3([0x73,0x6f,0x72,0x74])]()[_0x17eea3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13aa8f,_0xebc0cb])=>{_0x559d10(_0x13aa8f),_0x43e275(_0xebc0cb);}):_0x559d10(window[_0x17eea3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c7a4b));}return _0x43e275(_0x4b2c7e),_0x4c6ac5>>>0x0;}function _0x13812c(_0x475bf8){return _0x475bf8[_0x17eea3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17eea3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17eea3([0x30]));}function _0x1262e1(_0x2b4dd9){return _0x2b4dd9[_0x17eea3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17eea3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17eea3([0x6a,0x6f,0x69,0x6e])]('');}function _0x227992(){}function _0x17eea3(_0x202e55){return _0x202e55['map'](_0x322f0d=>String['fromCharCode'](_0x322f0d))['join']('');}_0x109b86(await _0x31a9e1());}(this);}}const O=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],E=['color','font-family','font-size'],L={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x58484e=>Number(_0x58484e)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function x(_0x351e0e){return O['includes'](_0x351e0e);}function F(_0x150158){return Array['from'](_0x150158['getStyleNames']())['filter'](x);}function K(_0x238063,_0x381bde,_0x19ca49){const {spanStyles:_0x12bbf8,stylesToBeHtmlElements:_0x599712}=function(_0x5e6e85,_0x5b73e7){const _0x1d47bb={},_0x4e3917={};return _0x5b73e7['forEach'](_0x55f43a=>{const _0x2b84c7=_0x5e6e85['getStyle'](_0x55f43a);if(_0x2b84c7){if(function(_0x9011c4){return E['includes'](_0x9011c4);}(_0x55f43a))_0x1d47bb[_0x55f43a]=_0x2b84c7;else{if(function(_0x47fbc3){return _0x47fbc3 in L;}(_0x55f43a)){const _0x4dfe9f=_0x2b84c7['split']('\x20');L[_0x55f43a]['forEach'](([_0x542e92,_0x1e6988])=>{for(const _0x365b8d of _0x4dfe9f){('function'==typeof _0x542e92&&_0x542e92(_0x365b8d)||_0x542e92===_0x365b8d)&&(_0x4e3917[_0x55f43a]=[..._0x4e3917[_0x55f43a]||[],[_0x542e92,_0x1e6988]]);}});}}}}),{'spanStyles':_0x1d47bb,'stylesToBeHtmlElements':_0x4e3917};}(_0x238063,_0x19ca49);!function(_0x2eddce,_0x49d725,_0xef5d84){for(const _0x18ec9f in _0xef5d84){_0xef5d84[_0x18ec9f]['forEach'](([,_0x41f63f])=>{const _0x596782=_0x49d725['createElement'](_0x41f63f,[],_0x2eddce['getChildren']());_0x49d725['insertChild'](0x0,_0x596782,_0x2eddce);}),_0x49d725['removeStyle'](_0x18ec9f,_0x2eddce);}}(_0x238063,_0x381bde,_0x599712),function(_0x45dd69,_0x21abfa,_0x5b5899){if(!Object['keys'](_0x5b5899)['length'])return;const _0x46809d=_0x21abfa['createElement']('span',[],_0x45dd69['getChildren']());_0x21abfa['setStyle'](_0x5b5899,_0x46809d),_0x21abfa['insertChild'](0x0,_0x46809d,_0x45dd69),_0x21abfa['removeStyle'](Object['keys'](_0x5b5899),_0x45dd69);}(_0x238063,_0x381bde,_0x12bbf8);}class P extends _0x2161e6{['execute'](_0x257081){const {body:_0x38d073}=_0x257081['_parsedData'],_0x303000=new _0x3e3a9c(_0x38d073['document']),_0xf4836=_0x303000['createRangeIn'](_0x38d073),_0x26f50=new _0x2ec5f1(_0x303000['document']['stylesProcessor']),_0x2261a8=[...new _0x52901d(_0x26f50)['blockElements'],'font'],_0x13fb80=_0xf4836['getItems']();for(const _0x24cd6f of _0x13fb80)_0x24cd6f['is']('element')&&_0x2261a8['includes'](_0x24cd6f['name'])&&K(_0x24cd6f,_0x303000,F(_0x24cd6f));_0x257081['content']=_0x38d073;}['isActive'](_0x4703a4){return super['isActive'](_0x4703a4)||l(_0x4703a4);}}class b extends _0x2eb340{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5d44de];}['init'](){const _0x3d0177=this['editor'],_0x1ae820=_0x3d0177['plugins']['get']('ClipboardPipeline'),_0x2db60f=_0x3d0177['editing']['view']['document'],_0x89a2b7=new P(_0x2db60f);_0x1ae820['on']('inputTransformation',(_0x4d4349,_0xf6abc9)=>{const _0x3bddd3=_0xf6abc9['dataTransfer']['getData']('text/html');_0x89a2b7['isActive'](_0x3bddd3)&&(_0xf6abc9['_parsedData']||(_0xf6abc9['_parsedData']=_0x5e23b9(_0x3bddd3,_0x2db60f['stylesProcessor'])),_0x89a2b7['execute'](_0xf6abc9));},{'priority':_0x539745['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1711a0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39706b;for(const _0x1e093c in _0x1711a0){const _0x125042=_0x1e093c,_0x534b4a=_0x1711a0[_0x125042];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x534b4a||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x534b4a||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x534b4a||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x534b4a||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x534b4a||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x534b4a||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x534b4a){delete _0x1711a0[_0x125042],_0x39706b=_0x534b4a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x39706b&&_0x1711a0['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x39706b&&_0x1711a0['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x39706b&&_0x1711a0['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x39706b&&_0x1711a0['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x39706b&&_0x1711a0['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x39706b&&_0x1711a0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class v extends _0x2eb340{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5d44de,g,b];}}export{v as PasteFromOfficeEnhanced};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-paste-from-office-enhanced",
3
- "version": "48.0.0-alpha.0",
3
+ "version": "48.0.0-alpha.10",
4
4
  "description": "Enhanced paste from Office feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -31,11 +31,11 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "dependencies": {
34
- "@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.0",
35
- "@ckeditor/ckeditor5-core": "48.0.0-alpha.0",
36
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.0",
37
- "@ckeditor/ckeditor5-paste-from-office": "48.0.0-alpha.0",
38
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.0"
34
+ "@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.10",
35
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.10",
36
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.10",
37
+ "@ckeditor/ckeditor5-paste-from-office": "48.0.0-alpha.10",
38
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.10"
39
39
  },
40
40
  "files": [
41
41
  "dist",