@ckeditor/ckeditor5-paste-from-office-enhanced 48.0.0-alpha.2 → 48.0.0-alpha.3

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 _0x48b766}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x479730,PasteFromOffice as _0x2e90ef,parsePasteOfficeHtml as _0x375dcf}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x1a9904,uid as _0x273207}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x53530a,ViewDocument as _0x42f407,ViewDomConverter as _0x5d05ed}from'@ckeditor/ckeditor5-engine/dist/index.js';const a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function l(_0x189e72){return a['test'](_0x189e72);}const d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function w(_0x4adfff,_0x10bc03){const _0x4cfa42=new Map();for(const [_0x4f03bf,_0x5121f3]of _0x10bc03){if(!_0x4f03bf['tagName']&&!_0x4f03bf['className'])continue;const _0xaef42=!_0x4f03bf['tagName']||_0x4adfff['name']===_0x4f03bf['tagName'],_0x32c060=!_0x4f03bf['className']||_0x4adfff['hasClass'](_0x4f03bf['className']);_0xaef42&&_0x32c060&&_0x4cfa42['set'](_0x4f03bf,_0x5121f3);}return _0x4cfa42;}function m(_0x2af5d8){const _0x1d5a9c={};for(let _0x224fda=0x0;_0x224fda<_0x2af5d8['length'];_0x224fda++){const _0x3b4295=_0x2af5d8[_0x224fda],_0x40ddfd=_0x2af5d8['getPropertyValue'](_0x3b4295);'initial'!==_0x40ddfd&&(_0x1d5a9c[_0x3b4295]=_0x40ddfd);}return _0x1d5a9c;}function p(_0x18dbab){const _0x53d550=_0x18dbab['split'](',')['map'](_0x5c047d=>_0x5c047d['trim']()),_0x2ea44f=[];for(const _0x23130b of _0x53d550){const _0x2f5c86=d['exec'](_0x23130b);_0x2f5c86&&_0x2ea44f['push'](_0x2f5c86['groups']);}return _0x2ea44f;}function y(_0x58605b){const _0x41b07e={};for(const _0x2955fb of _0x58605b)Object['assign'](_0x41b07e,_0x2955fb);return _0x41b07e;}class h extends _0x479730{['execute'](_0x2293d5){const {body:_0x203d09,styles:_0x567c9e}=_0x2293d5['_parsedData'],_0x162133=new _0x53530a(_0x203d09['document']),_0x351b22=_0x162133['createRangeIn'](_0x203d09),_0x43bba1=function(_0x47fc94){const _0x465b3e={};for(const _0x56f66b of _0x47fc94)for(const _0x33e1d8 of _0x56f66b['cssRules'])if(_0x33e1d8 instanceof CSSStyleRule){const _0x20145b=m(_0x33e1d8['style']);_0x465b3e[_0x33e1d8['selectorText']]=Object['assign']({},_0x465b3e[_0x33e1d8['selectorText']]||{},_0x20145b);}return _0x465b3e;}(_0x567c9e),_0x119aa3=function(_0x1f2516){const _0x1c2bbb=new Map();for(const _0x55dab7 in _0x1f2516){const _0x5bc6f8=p(_0x55dab7),_0x1765df=_0x1f2516[_0x55dab7];for(const _0x54e297 of _0x5bc6f8)_0x1c2bbb['set'](_0x54e297,_0x1765df);}return _0x1c2bbb;}(_0x43bba1);for(const _0x48c72d of _0x351b22){if('elementStart'!==_0x48c72d['type'])continue;const _0x4f7bb1=w(_0x48c72d['item'],_0x119aa3);if(_0x4f7bb1['size']){const _0x274052=y(Array['from'](_0x4f7bb1['values']()));for(const _0x452663 in _0x274052){const _0x3f2e80=_0x48c72d['item'];_0x3f2e80['hasStyle'](_0x452663)||_0x162133['setStyle'](_0x452663,_0x274052[_0x452663],_0x3f2e80);}}}_0x2293d5['content']=_0x203d09;}['isActive'](_0x346a2f){return super['isActive'](_0x346a2f)||l(_0x346a2f);}}class g extends _0x48b766{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2e90ef];}['init'](){const _0x53013a=this['editor'],_0x1bc153=_0x53013a['plugins']['get']('ClipboardPipeline'),_0x944834=_0x53013a['editing']['view']['document'],_0x262347=new h(_0x944834);_0x1bc153['on']('inputTransformation',(_0xf97287,_0x48eede)=>{const _0x3ac2f7=_0x48eede['dataTransfer']['getData']('text/html');_0x262347['isActive'](_0x3ac2f7)&&(_0x48eede['_parsedData']||(_0x48eede['_parsedData']=_0x375dcf(_0x3ac2f7,_0x944834['stylesProcessor'])),_0x262347['execute'](_0x48eede));},{'priority':_0x1a9904['get']('high')+0xb});}['afterInit'](){!async function(_0xb0ebcb){const _0x188512=_0xb2cf69([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]),_0x7a4c86=0x7374585f,_0x1fefd1=0x7373dca7^_0x7a4c86,_0x3e3889=window[_0xb2cf69([0x44,0x61,0x74,0x65])][_0xb2cf69([0x6e,0x6f,0x77])](),_0x1c9a82=_0xb0ebcb[_0xb2cf69([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe0f101=new window[(_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3176e4=>{_0x1c9a82[_0xb2cf69([0x6f,0x6e,0x63,0x65])](_0xb2cf69([0x72,0x65,0x61,0x64,0x79]),_0x3176e4);}),_0x11ae6c={[_0xb2cf69([0x6b,0x74,0x79])]:_0xb2cf69([0x45,0x43]),[_0xb2cf69([0x75,0x73,0x65])]:_0xb2cf69([0x73,0x69,0x67]),[_0xb2cf69([0x63,0x72,0x76])]:_0xb2cf69([0x50,0x2d,0x32,0x35,0x36]),[_0xb2cf69([0x78])]:_0xb2cf69([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]),[_0xb2cf69([0x79])]:_0xb2cf69([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]),[_0xb2cf69([0x61,0x6c,0x67])]:_0xb2cf69([0x45,0x53,0x32,0x35,0x36])},_0x1c91fe=_0x1c9a82[_0xb2cf69([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb2cf69([0x67,0x65,0x74])](_0xb2cf69([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2860be(){let _0x401e3a,_0x366c94=null,_0x3cc01a=null;try{if(_0x1c91fe==_0xb2cf69([0x47,0x50,0x4c]))return _0xb2cf69([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x401e3a=_0x109652(),!_0x401e3a)return _0xb2cf69([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x401e3a[_0xb2cf69([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3cc01a=_0x1a359c(_0x401e3a[_0xb2cf69([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x401e3a[_0xb2cf69([0x6a,0x74,0x69])])),await _0x5e817f()?_0x337478()?_0x29a7fe()?_0xb2cf69([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xef2e0f()?(_0x401e3a[_0xb2cf69([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb2cf69([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x366c94=_0x520495(_0xb2cf69([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xeee0b7()):_0xb2cf69([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb2cf69([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb2cf69([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb2cf69([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29a7fe(){const _0x291d3b=[_0xb2cf69([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb2cf69([0x74,0x72,0x69,0x61,0x6c])][_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401e3a[_0xb2cf69([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e3889/0x3e8:0xe10*_0x1fefd1;return _0x401e3a[_0xb2cf69([0x65,0x78,0x70])]<_0x291d3b;}function _0x337478(){const _0x24a832=_0x401e3a[_0xb2cf69([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24a832&&(!!_0x24a832[_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb2cf69([0x2a]))||(!!_0x24a832[_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb2cf69([0x50,0x4f,0x45]))||(!!_0x24a832[_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb2cf69([0x50,0x50]))||!(!_0x24a832[_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb2cf69([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x18e51a()))));}function _0xef2e0f(){const _0x409691=_0x401e3a[_0xb2cf69([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x409691||0x0==_0x409691[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f1296}=new URL(window[_0xb2cf69([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x409691[_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f1296))return!0x0;const _0xe86366=_0x3f1296[_0xb2cf69([0x73,0x70,0x6c,0x69,0x74])](_0xb2cf69([0x2e]));return _0x409691[_0xb2cf69([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51a3f7=>_0x51a3f7[_0xb2cf69([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb2cf69([0x2a])))[_0xb2cf69([0x6d,0x61,0x70])](_0xf29e3=>_0xf29e3[_0xb2cf69([0x73,0x70,0x6c,0x69,0x74])](_0xb2cf69([0x2e])))[_0xb2cf69([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c8265=>_0x4c8265[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe86366[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb2cf69([0x6d,0x61,0x70])](_0x1f8541=>Array(_0xe86366[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1f8541[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb2cf69([0x66,0x69,0x6c,0x6c])](_0x1f8541[0x0]===_0xb2cf69([0x2a])?_0xb2cf69([0x2a]):'')[_0xb2cf69([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1f8541))[_0xb2cf69([0x73,0x6f,0x6d,0x65])](_0x4580c5=>_0xe86366[_0xb2cf69([0x65,0x76,0x65,0x72,0x79])]((_0x10cc1c,_0x14324d)=>_0x4580c5[_0x14324d]===_0x10cc1c||_0x4580c5[_0x14324d]===_0xb2cf69([0x2a])));}function _0xeee0b7(){return _0x366c94&&_0x3cc01a?new window[(_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a31b4,_0x171618)=>{_0x366c94[_0xb2cf69([0x74,0x68,0x65,0x6e])](_0x4a31b4,_0x171618),_0x3cc01a[_0xb2cf69([0x74,0x68,0x65,0x6e])](_0xf20c84=>{_0xf20c84!=_0xb2cf69([0x56,0x61,0x6c,0x69,0x64])&&_0x4a31b4(_0xf20c84);},_0x171618);}):_0x366c94||_0x3cc01a||_0xb2cf69([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a359c(_0x3d45d7,_0x150256){return new window[(_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47ce7a=>{if(_0x5617d4())return _0x47ce7a(_0xb2cf69([0x56,0x61,0x6c,0x69,0x64]));_0x131678(),_0x1c9a82[_0xb2cf69([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb2cf69([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b9514=!0x1;const _0xdf0faf=_0x273207();function _0x718229(_0x14483b){return!!_0x14483b&&(typeof _0x14483b===_0xb2cf69([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14483b===_0xb2cf69([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14483b[_0xb2cf69([0x74,0x68,0x65,0x6e])]===_0xb2cf69([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14483b[_0xb2cf69([0x63,0x61,0x74,0x63,0x68])]===_0xb2cf69([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13e565(_0x30d312){_0x7c97c0(_0x30d312)[_0xb2cf69([0x74,0x68,0x65,0x6e])](_0x1a28a2=>{if(!_0x1a28a2||_0x1a28a2[_0xb2cf69([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb2cf69([0x6f,0x6b]))return _0xb2cf69([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x412f84(_0x8ad2e1(_0xdf0faf+_0x150256))!=_0x1a28a2[_0xb2cf69([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb2cf69([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb2cf69([0x56,0x61,0x6c,0x69,0x64]);})[_0xb2cf69([0x74,0x68,0x65,0x6e])](_0x40dd25=>(_0x20efed(),_0x40dd25),()=>{const _0x407099=_0x5d4a03();return null==_0x407099?(_0x20efed(),_0xb2cf69([0x56,0x61,0x6c,0x69,0x64])):_0xb2cf69(_0x3e3889-_0x407099>(0x5778dc5f^_0x7a4c86)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb2cf69([0x74,0x68,0x65,0x6e])](_0x47ce7a)[_0xb2cf69([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47ce7a(_0xb2cf69([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x195a5a=0x7342b6df^_0x7a4c86;function _0x20efed(){const _0x565ddf=_0xb2cf69([0x6c,0x6c,0x63,0x74,0x2d])+_0x412f84(_0x8ad2e1(_0x3d45d7)),_0x133588=_0x59ddec(_0x412f84(window[_0xb2cf69([0x4d,0x61,0x74,0x68])][_0xb2cf69([0x63,0x65,0x69,0x6c])](_0x3e3889/_0x195a5a)));window[_0xb2cf69([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb2cf69([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x565ddf,_0x133588);}function _0x5d4a03(){const _0x7df791=_0xb2cf69([0x6c,0x6c,0x63,0x74,0x2d])+_0x412f84(_0x8ad2e1(_0x3d45d7)),_0x2469d9=window[_0xb2cf69([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb2cf69([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7df791);return _0x2469d9?window[_0xb2cf69([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59ddec(_0x2469d9),0x10)*_0x195a5a:null;}function _0x7c97c0(_0x535e70){return new window[(_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39636c,_0x3c55b3)=>{_0x535e70[_0xb2cf69([0x74,0x68,0x65,0x6e])](_0x39636c,_0x3c55b3),window[_0xb2cf69([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3c55b3,0x73758c9f^_0x7a4c86);});}}_0x1c9a82[_0xb2cf69([0x6f,0x6e])](_0xb2cf69([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13c3bb,_0x419cd5)=>{if(_0x419cd5[0x0]!=_0x3d45d7)return _0x47ce7a(_0xb2cf69([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x419cd5[0x1]={..._0x419cd5[0x1],[_0xb2cf69([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdf0faf};},{[_0xb2cf69([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb2cf69([0x68,0x69,0x67,0x68])}),_0x1c9a82[_0xb2cf69([0x6f,0x6e])](_0xb2cf69([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x296b44=>{_0x718229(_0x296b44[_0xb2cf69([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b9514=!0x0,_0x13e565(_0x296b44[_0xb2cf69([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb2cf69([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb2cf69([0x6c,0x6f,0x77])}),_0xe0f101[_0xb2cf69([0x74,0x68,0x65,0x6e])](()=>{_0x5b9514||_0x47ce7a(_0xb2cf69([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5617d4(){return _0x1c9a82[_0xb2cf69([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb2cf69([0x76,0x69,0x65,0x77])][_0xb2cf69([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb2cf69([0x61,0x75,0x74,0x6f]);}function _0x131678(){_0x1c9a82[_0xb2cf69([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb2cf69([0x76,0x69,0x65,0x77])][_0xb2cf69([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb2cf69([0x61,0x75,0x74,0x6f]);}}function _0x520495(_0x1dc2ae){const _0x25e444=[new window[(_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e45c0=>setTimeout(_0x3e45c0,0x737d6693^_0x7a4c86)),_0xe0f101[_0xb2cf69([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f687d=>{let _0x5e109a=0x0;_0x1c9a82[_0xb2cf69([0x6d,0x6f,0x64,0x65,0x6c])][_0xb2cf69([0x6f,0x6e])](_0xb2cf69([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ea41d,_0x4b5f3b)=>{_0x4b5f3b[0x0][_0xb2cf69([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5e109a++,_0x5e109a==(0x73745db7^_0x7a4c86)&&(_0x4f687d(),_0x4ea41d[_0xb2cf69([0x6f,0x66,0x66])]());});}))];return window[_0xb2cf69([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb2cf69([0x72,0x61,0x63,0x65])](_0x25e444)[_0xb2cf69([0x74,0x68,0x65,0x6e])](()=>_0x1dc2ae);}async function _0x1004e5(){await _0xe0f101,_0x1c9a82[_0xb2cf69([0x6d,0x6f,0x64,0x65,0x6c])][_0xb2cf69([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x295d8d,_0x1c9a82[_0xb2cf69([0x6d,0x6f,0x64,0x65,0x6c])][_0xb2cf69([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x295d8d,_0x1c9a82[_0xb2cf69([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb2cf69([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x18e51a(){return window[_0xb2cf69([0x67,0x6c,0x6f,0x62])]&&window[_0xb2cf69([0x67,0x6c,0x6f,0x62])][_0xb2cf69([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x13e0e0(_0x26c7b9){const _0x2dddff=_0x281d9b();_0x1c9a82[_0x2dddff]=_0xb2cf69([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])+_0x26c7b9,_0x26c7b9!=_0xb2cf69([0x56,0x61,0x6c,0x69,0x64])&&_0x1004e5();}function _0x281d9b(){const _0x511f6f=window[_0xb2cf69([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb2cf69([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb2cf69([0x6e,0x6f,0x77])]())[_0xb2cf69([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb2cf69([0x2e]),'');let _0x2d1e05=_0xb2cf69([0x73]);for(let _0x2c58e0=0x0;_0x2c58e0<_0x511f6f[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c58e0+=0x2){let _0x1754a3=window[_0xb2cf69([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x511f6f[_0xb2cf69([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c58e0,_0x2c58e0+0x2));_0x1754a3>=_0x188512[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1754a3-=_0x188512[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d1e05+=_0x188512[_0x1754a3];}return _0x2d1e05;}function _0x109652(){const _0x107ffd=_0x1c91fe[_0xb2cf69([0x73,0x70,0x6c,0x69,0x74])](_0xb2cf69([0x2e]));if(0x3!=_0x107ffd[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x229f2f(_0x107ffd[0x1]);function _0x229f2f(_0x2d4686){const _0x57637a=_0x32ec5b(_0x2d4686);return _0x57637a&&_0x229226()?_0x57637a:null;function _0x229226(){const _0xaf68e3=_0x57637a[_0xb2cf69([0x6a,0x74,0x69])],_0x4a4768=window[_0xb2cf69([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaf68e3[_0xb2cf69([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaf68e3[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x384732={..._0x57637a,[_0xb2cf69([0x6a,0x74,0x69])]:_0xaf68e3[_0xb2cf69([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xaf68e3[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x384732[_0xb2cf69([0x76,0x63])],_0x8ad2e1(_0x384732)==_0x4a4768;}}}async function _0x5e817f(){let _0x4515f7=!0x0;try{const _0x27a93f=_0x1c91fe[_0xb2cf69([0x73,0x70,0x6c,0x69,0x74])](_0xb2cf69([0x2e])),[_0x37b4fa,_0x5f400b,_0x1b741e]=_0x27a93f;return _0x47b790(_0x37b4fa),await _0x409891(_0x37b4fa,_0x5f400b,_0x1b741e),_0x4515f7;}catch{return!0x1;}function _0x47b790(_0x1a4103){const _0x3547e9=_0x32ec5b(_0x1a4103);_0x3547e9&&_0x3547e9[_0xb2cf69([0x61,0x6c,0x67])]==_0xb2cf69([0x45,0x53,0x32,0x35,0x36])||(_0x4515f7=!0x1);}async function _0x409891(_0x44e166,_0x492d2c,_0x54e513){const _0x160f0c=window[_0xb2cf69([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb2cf69([0x66,0x72,0x6f,0x6d])](_0x1d6ee3(_0x54e513),_0x48c1b7=>_0x48c1b7[_0xb2cf69([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x489d66=new window[(_0xb2cf69([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb2cf69([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44e166+_0xb2cf69([0x2e])+_0x492d2c),_0xe2b969=window[_0xb2cf69([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb2cf69([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe2b969)return;const _0x4594a8=await _0xe2b969[_0xb2cf69([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb2cf69([0x6a,0x77,0x6b]),_0x11ae6c,{[_0xb2cf69([0x6e,0x61,0x6d,0x65])]:_0xb2cf69([0x45,0x43,0x44,0x53,0x41]),[_0xb2cf69([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb2cf69([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb2cf69([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe2b969[_0xb2cf69([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb2cf69([0x6e,0x61,0x6d,0x65])]:_0xb2cf69([0x45,0x43,0x44,0x53,0x41]),[_0xb2cf69([0x68,0x61,0x73,0x68])]:{[_0xb2cf69([0x6e,0x61,0x6d,0x65])]:_0xb2cf69([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4594a8,_0x160f0c,_0x489d66)||(_0x4515f7=!0x1);}}function _0x32ec5b(_0x5a031d){return _0x5a031d[_0xb2cf69([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb2cf69([0x65,0x79]))?JSON[_0xb2cf69([0x70,0x61,0x72,0x73,0x65])](_0x1d6ee3(_0x5a031d)):null;}function _0x1d6ee3(_0x208417){return window[_0xb2cf69([0x61,0x74,0x6f,0x62])](_0x208417[_0xb2cf69([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb2cf69([0x2b]))[_0xb2cf69([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb2cf69([0x2f])));}function _0x8ad2e1(_0x375afd){let _0x5698b3=0x1505;function _0x219adb(_0x2b6f1c){for(let _0x620af0=0x0;_0x620af0<_0x2b6f1c[_0xb2cf69([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x620af0++){const _0x1d4dcd=_0x2b6f1c[_0xb2cf69([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x620af0);_0x5698b3=(_0x5698b3<<0x5)+_0x5698b3+_0x1d4dcd,_0x5698b3&=_0x5698b3;}}function _0x1d591c(_0x1578c2){Array[_0xb2cf69([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1578c2)?_0x1578c2[_0xb2cf69([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d591c):_0x1578c2&&typeof _0x1578c2==_0xb2cf69([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb2cf69([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1578c2)[_0xb2cf69([0x73,0x6f,0x72,0x74])]()[_0xb2cf69([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5826d4,_0x3b8e91])=>{_0x219adb(_0x5826d4),_0x1d591c(_0x3b8e91);}):_0x219adb(window[_0xb2cf69([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1578c2));}return _0x1d591c(_0x375afd),_0x5698b3>>>0x0;}function _0x412f84(_0x14aa7c){return _0x14aa7c[_0xb2cf69([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb2cf69([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb2cf69([0x30]));}function _0x59ddec(_0x4e6358){return _0x4e6358[_0xb2cf69([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb2cf69([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb2cf69([0x6a,0x6f,0x69,0x6e])]('');}function _0x295d8d(){}function _0xb2cf69(_0x5e50a2){return _0x5e50a2['map'](_0x3c81f6=>String['fromCharCode'](_0x3c81f6))['join']('');}_0x13e0e0(await _0x2860be());}(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'],[_0x1f48dd=>Number(_0x1f48dd)>=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(_0x57b13b){return O['includes'](_0x57b13b);}function F(_0x33f68e){return Array['from'](_0x33f68e['getStyleNames']())['filter'](x);}function K(_0x5e53d3,_0x3b866e,_0x39071b){const {spanStyles:_0x2fbca9,stylesToBeHtmlElements:_0x12c3a9}=function(_0x41747b,_0x269398){const _0x2d4b50={},_0x23340d={};return _0x269398['forEach'](_0x1453d6=>{const _0x3e943c=_0x41747b['getStyle'](_0x1453d6);if(_0x3e943c){if(function(_0x23787a){return E['includes'](_0x23787a);}(_0x1453d6))_0x2d4b50[_0x1453d6]=_0x3e943c;else{if(function(_0x41f9f0){return _0x41f9f0 in L;}(_0x1453d6)){const _0x485fdb=_0x3e943c['split']('\x20');L[_0x1453d6]['forEach'](([_0x2e3080,_0x47e952])=>{for(const _0x12e298 of _0x485fdb){('function'==typeof _0x2e3080&&_0x2e3080(_0x12e298)||_0x2e3080===_0x12e298)&&(_0x23340d[_0x1453d6]=[..._0x23340d[_0x1453d6]||[],[_0x2e3080,_0x47e952]]);}});}}}}),{'spanStyles':_0x2d4b50,'stylesToBeHtmlElements':_0x23340d};}(_0x5e53d3,_0x39071b);!function(_0x27a1bf,_0x359635,_0xf56a52){for(const _0x2c61c3 in _0xf56a52){_0xf56a52[_0x2c61c3]['forEach'](([,_0x5ef10b])=>{const _0x56539f=_0x359635['createElement'](_0x5ef10b,[],_0x27a1bf['getChildren']());_0x359635['insertChild'](0x0,_0x56539f,_0x27a1bf);}),_0x359635['removeStyle'](_0x2c61c3,_0x27a1bf);}}(_0x5e53d3,_0x3b866e,_0x12c3a9),function(_0x34d625,_0x507ce,_0x55b2be){if(!Object['keys'](_0x55b2be)['length'])return;const _0x2090bd=_0x507ce['createElement']('span',[],_0x34d625['getChildren']());_0x507ce['setStyle'](_0x55b2be,_0x2090bd),_0x507ce['insertChild'](0x0,_0x2090bd,_0x34d625),_0x507ce['removeStyle'](Object['keys'](_0x55b2be),_0x34d625);}(_0x5e53d3,_0x3b866e,_0x2fbca9);}class P extends _0x479730{['execute'](_0x35d8ae){const {body:_0x2d0ade}=_0x35d8ae['_parsedData'],_0x51c1b8=new _0x53530a(_0x2d0ade['document']),_0x4211d4=_0x51c1b8['createRangeIn'](_0x2d0ade),_0x3586e5=new _0x42f407(_0x51c1b8['document']['stylesProcessor']),_0x9af683=[...new _0x5d05ed(_0x3586e5)['blockElements'],'font'],_0x1b355d=_0x4211d4['getItems']();for(const _0x3a7ef2 of _0x1b355d)_0x3a7ef2['is']('element')&&_0x9af683['includes'](_0x3a7ef2['name'])&&K(_0x3a7ef2,_0x51c1b8,F(_0x3a7ef2));_0x35d8ae['content']=_0x2d0ade;}['isActive'](_0x28fd86){return super['isActive'](_0x28fd86)||l(_0x28fd86);}}class b extends _0x48b766{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2e90ef];}['init'](){const _0x26a02f=this['editor'],_0x50d11=_0x26a02f['plugins']['get']('ClipboardPipeline'),_0x438302=_0x26a02f['editing']['view']['document'],_0x2948ab=new P(_0x438302);_0x50d11['on']('inputTransformation',(_0x11e32e,_0x26b2d3)=>{const _0x2747aa=_0x26b2d3['dataTransfer']['getData']('text/html');_0x2948ab['isActive'](_0x2747aa)&&(_0x26b2d3['_parsedData']||(_0x26b2d3['_parsedData']=_0x375dcf(_0x2747aa,_0x438302['stylesProcessor'])),_0x2948ab['execute'](_0x26b2d3));},{'priority':_0x1a9904['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ace6d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd037ee;for(const _0x3da693 in _0x1ace6d){const _0x2493ca=_0x3da693,_0x52fc7b=_0x1ace6d[_0x2493ca];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x52fc7b||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x52fc7b||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x52fc7b||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x52fc7b||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x52fc7b||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x52fc7b||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x52fc7b){delete _0x1ace6d[_0x2493ca],_0xd037ee=_0x52fc7b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xd037ee&&_0x1ace6d['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xd037ee&&_0x1ace6d['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xd037ee&&_0x1ace6d['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xd037ee&&_0x1ace6d['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xd037ee&&_0x1ace6d['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xd037ee&&_0x1ace6d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class v extends _0x48b766{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2e90ef,g,b];}}export{v as PasteFromOfficeEnhanced};
23
+ import{Plugin as _0x3f6a48}from'@ckeditor/ckeditor5-core/dist/index.js';import{PasteFromOfficeMSWordNormalizer as _0x27dc05,PasteFromOffice as _0x558452,parsePasteOfficeHtml as _0x3231e5}from'@ckeditor/ckeditor5-paste-from-office/dist/index.js';import{priorities as _0x388c0e,uid as _0x1916f5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{ViewUpcastWriter as _0x237704,ViewDocument as _0x5df81a,ViewDomConverter as _0x20c1bc}from'@ckeditor/ckeditor5-engine/dist/index.js';const a=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function l(_0x526669){return a['test'](_0x526669);}const d=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function w(_0x230a25,_0x52be72){const _0x1ec862=new Map();for(const [_0x1a2724,_0x36e24d]of _0x52be72){if(!_0x1a2724['tagName']&&!_0x1a2724['className'])continue;const _0x3b4c11=!_0x1a2724['tagName']||_0x230a25['name']===_0x1a2724['tagName'],_0x4d0454=!_0x1a2724['className']||_0x230a25['hasClass'](_0x1a2724['className']);_0x3b4c11&&_0x4d0454&&_0x1ec862['set'](_0x1a2724,_0x36e24d);}return _0x1ec862;}function m(_0x5e5cd9){const _0x3d4c8d={};for(let _0x18d629=0x0;_0x18d629<_0x5e5cd9['length'];_0x18d629++){const _0xf47139=_0x5e5cd9[_0x18d629],_0x5a2b5d=_0x5e5cd9['getPropertyValue'](_0xf47139);'initial'!==_0x5a2b5d&&(_0x3d4c8d[_0xf47139]=_0x5a2b5d);}return _0x3d4c8d;}function p(_0xd00760){const _0x3ae243=_0xd00760['split'](',')['map'](_0x2399fc=>_0x2399fc['trim']()),_0x441daa=[];for(const _0x940871 of _0x3ae243){const _0x58fd63=d['exec'](_0x940871);_0x58fd63&&_0x441daa['push'](_0x58fd63['groups']);}return _0x441daa;}function y(_0x285531){const _0xee4894={};for(const _0x4264cf of _0x285531)Object['assign'](_0xee4894,_0x4264cf);return _0xee4894;}class h extends _0x27dc05{['execute'](_0x5e624b){const {body:_0x43e0af,styles:_0x2e00b7}=_0x5e624b['_parsedData'],_0x194a11=new _0x237704(_0x43e0af['document']),_0x2ed47c=_0x194a11['createRangeIn'](_0x43e0af),_0x2e6ed0=function(_0xd41532){const _0x2498b7={};for(const _0x58020a of _0xd41532)for(const _0x3f451b of _0x58020a['cssRules'])if(_0x3f451b instanceof CSSStyleRule){const _0x1747e0=m(_0x3f451b['style']);_0x2498b7[_0x3f451b['selectorText']]=Object['assign']({},_0x2498b7[_0x3f451b['selectorText']]||{},_0x1747e0);}return _0x2498b7;}(_0x2e00b7),_0xef72ea=function(_0x55f317){const _0x28a94c=new Map();for(const _0xcb1177 in _0x55f317){const _0x218f26=p(_0xcb1177),_0x20e488=_0x55f317[_0xcb1177];for(const _0x1df52b of _0x218f26)_0x28a94c['set'](_0x1df52b,_0x20e488);}return _0x28a94c;}(_0x2e6ed0);for(const _0x304d81 of _0x2ed47c){if('elementStart'!==_0x304d81['type'])continue;const _0xbd3417=w(_0x304d81['item'],_0xef72ea);if(_0xbd3417['size']){const _0x494f31=y(Array['from'](_0xbd3417['values']()));for(const _0x4226c8 in _0x494f31){const _0x27dd24=_0x304d81['item'];_0x27dd24['hasStyle'](_0x4226c8)||_0x194a11['setStyle'](_0x4226c8,_0x494f31[_0x4226c8],_0x27dd24);}}}_0x5e624b['content']=_0x43e0af;}['isActive'](_0x41dcc8){return super['isActive'](_0x41dcc8)||l(_0x41dcc8);}}class g extends _0x3f6a48{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x558452];}['init'](){const _0x130654=this['editor'],_0x5ba444=_0x130654['plugins']['get']('ClipboardPipeline'),_0x2d62a8=_0x130654['editing']['view']['document'],_0x447b9a=new h(_0x2d62a8);_0x5ba444['on']('inputTransformation',(_0xebb64c,_0x5c24e5)=>{const _0x4b6de5=_0x5c24e5['dataTransfer']['getData']('text/html');_0x447b9a['isActive'](_0x4b6de5)&&(_0x5c24e5['_parsedData']||(_0x5c24e5['_parsedData']=_0x3231e5(_0x4b6de5,_0x2d62a8['stylesProcessor'])),_0x447b9a['execute'](_0x5c24e5));},{'priority':_0x388c0e['get']('high')+0xb});}['afterInit'](){!async function(_0x2b834c){const _0x87d080=_0x4aa8d5([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]),_0x1de9d6=0x7374585f,_0x2b2106=0x7373dd4f^_0x1de9d6,_0x1e26d9=window[_0x4aa8d5([0x44,0x61,0x74,0x65])][_0x4aa8d5([0x6e,0x6f,0x77])](),_0x5621f8=_0x2b834c[_0x4aa8d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40877f=new window[(_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e59cc=>{_0x5621f8[_0x4aa8d5([0x6f,0x6e,0x63,0x65])](_0x4aa8d5([0x72,0x65,0x61,0x64,0x79]),_0x1e59cc);}),_0xf2c420={[_0x4aa8d5([0x6b,0x74,0x79])]:_0x4aa8d5([0x45,0x43]),[_0x4aa8d5([0x75,0x73,0x65])]:_0x4aa8d5([0x73,0x69,0x67]),[_0x4aa8d5([0x63,0x72,0x76])]:_0x4aa8d5([0x50,0x2d,0x32,0x35,0x36]),[_0x4aa8d5([0x78])]:_0x4aa8d5([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]),[_0x4aa8d5([0x79])]:_0x4aa8d5([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]),[_0x4aa8d5([0x61,0x6c,0x67])]:_0x4aa8d5([0x45,0x53,0x32,0x35,0x36])},_0x14ece2=_0x5621f8[_0x4aa8d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4aa8d5([0x67,0x65,0x74])](_0x4aa8d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5eb6a0(){let _0x137da9,_0x55c03c=null,_0x2e47ad=null;try{if(_0x14ece2==_0x4aa8d5([0x47,0x50,0x4c]))return _0x4aa8d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x137da9=_0x2ac777(),!_0x137da9)return _0x4aa8d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x137da9[_0x4aa8d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e47ad=_0x5bd4e0(_0x137da9[_0x4aa8d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x137da9[_0x4aa8d5([0x6a,0x74,0x69])])),await _0x46c92e()?_0x1af890()?_0x171567()?_0x4aa8d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22449d()?(_0x137da9[_0x4aa8d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4aa8d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55c03c=_0x2d5b1b(_0x4aa8d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d546e()):_0x4aa8d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa8d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4aa8d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4aa8d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x171567(){const _0x54b6b8=[_0x4aa8d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4aa8d5([0x74,0x72,0x69,0x61,0x6c])][_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x137da9[_0x4aa8d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e26d9/0x3e8:0xe10*_0x2b2106;return _0x137da9[_0x4aa8d5([0x65,0x78,0x70])]<_0x54b6b8;}function _0x1af890(){const _0x444360=_0x137da9[_0x4aa8d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x444360&&(!!_0x444360[_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa8d5([0x2a]))||(!!_0x444360[_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa8d5([0x50,0x4f,0x45]))||(!!_0x444360[_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa8d5([0x50,0x50]))||!(!_0x444360[_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa8d5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4b6a57()))));}function _0x22449d(){const _0x4499f1=_0x137da9[_0x4aa8d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4499f1||0x0==_0x4499f1[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x548894}=new URL(window[_0x4aa8d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4499f1[_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x548894))return!0x0;const _0x133243=_0x548894[_0x4aa8d5([0x73,0x70,0x6c,0x69,0x74])](_0x4aa8d5([0x2e]));return _0x4499f1[_0x4aa8d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53adc6=>_0x53adc6[_0x4aa8d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4aa8d5([0x2a])))[_0x4aa8d5([0x6d,0x61,0x70])](_0x4722ff=>_0x4722ff[_0x4aa8d5([0x73,0x70,0x6c,0x69,0x74])](_0x4aa8d5([0x2e])))[_0x4aa8d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x483503=>_0x483503[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x133243[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4aa8d5([0x6d,0x61,0x70])](_0x2837f9=>Array(_0x133243[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2837f9[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4aa8d5([0x66,0x69,0x6c,0x6c])](_0x2837f9[0x0]===_0x4aa8d5([0x2a])?_0x4aa8d5([0x2a]):'')[_0x4aa8d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2837f9))[_0x4aa8d5([0x73,0x6f,0x6d,0x65])](_0x48e797=>_0x133243[_0x4aa8d5([0x65,0x76,0x65,0x72,0x79])]((_0xc03954,_0x18b3d7)=>_0x48e797[_0x18b3d7]===_0xc03954||_0x48e797[_0x18b3d7]===_0x4aa8d5([0x2a])));}function _0x4d546e(){return _0x55c03c&&_0x2e47ad?new window[(_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cfefa,_0x2d7f0f)=>{_0x55c03c[_0x4aa8d5([0x74,0x68,0x65,0x6e])](_0x2cfefa,_0x2d7f0f),_0x2e47ad[_0x4aa8d5([0x74,0x68,0x65,0x6e])](_0x3ae5d7=>{_0x3ae5d7!=_0x4aa8d5([0x56,0x61,0x6c,0x69,0x64])&&_0x2cfefa(_0x3ae5d7);},_0x2d7f0f);}):_0x55c03c||_0x2e47ad||_0x4aa8d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bd4e0(_0x4230d1,_0x379565){return new window[(_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x346bc0=>{if(_0x2c3b9d())return _0x346bc0(_0x4aa8d5([0x56,0x61,0x6c,0x69,0x64]));_0x7f12ff(),_0x5621f8[_0x4aa8d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4aa8d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ff01d=!0x1;const _0x3c4a92=_0x1916f5();function _0x3a97eb(_0x541b94){return!!_0x541b94&&(typeof _0x541b94===_0x4aa8d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x541b94===_0x4aa8d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x541b94[_0x4aa8d5([0x74,0x68,0x65,0x6e])]===_0x4aa8d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x541b94[_0x4aa8d5([0x63,0x61,0x74,0x63,0x68])]===_0x4aa8d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bb15c(_0x119e65){_0x552eb3(_0x119e65)[_0x4aa8d5([0x74,0x68,0x65,0x6e])](_0x37c80c=>{if(!_0x37c80c||_0x37c80c[_0x4aa8d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4aa8d5([0x6f,0x6b]))return _0x4aa8d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42446b(_0x4221fa(_0x3c4a92+_0x379565))!=_0x37c80c[_0x4aa8d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4aa8d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4aa8d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa8d5([0x74,0x68,0x65,0x6e])](_0x3f038e=>(_0x4d692e(),_0x3f038e),()=>{const _0x2cf83e=_0x3c4610();return null==_0x2cf83e?(_0x4d692e(),_0x4aa8d5([0x56,0x61,0x6c,0x69,0x64])):_0x4aa8d5(_0x1e26d9-_0x2cf83e>(0x5778dc5f^_0x1de9d6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4aa8d5([0x74,0x68,0x65,0x6e])](_0x346bc0)[_0x4aa8d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x346bc0(_0x4aa8d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3780c7=0x7342b6df^_0x1de9d6;function _0x4d692e(){const _0x597bba=_0x4aa8d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x42446b(_0x4221fa(_0x4230d1)),_0x19625e=_0x82ff3e(_0x42446b(window[_0x4aa8d5([0x4d,0x61,0x74,0x68])][_0x4aa8d5([0x63,0x65,0x69,0x6c])](_0x1e26d9/_0x3780c7)));window[_0x4aa8d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa8d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x597bba,_0x19625e);}function _0x3c4610(){const _0x5bdf7a=_0x4aa8d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x42446b(_0x4221fa(_0x4230d1)),_0x10e404=window[_0x4aa8d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4aa8d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5bdf7a);return _0x10e404?window[_0x4aa8d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x82ff3e(_0x10e404),0x10)*_0x3780c7:null;}function _0x552eb3(_0x145949){return new window[(_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cd7fb,_0x5d60f9)=>{_0x145949[_0x4aa8d5([0x74,0x68,0x65,0x6e])](_0x4cd7fb,_0x5d60f9),window[_0x4aa8d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d60f9,0x73758c9f^_0x1de9d6);});}}_0x5621f8[_0x4aa8d5([0x6f,0x6e])](_0x4aa8d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fab42,_0x385eaa)=>{if(_0x385eaa[0x0]!=_0x4230d1)return _0x346bc0(_0x4aa8d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x385eaa[0x1]={..._0x385eaa[0x1],[_0x4aa8d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c4a92};},{[_0x4aa8d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa8d5([0x68,0x69,0x67,0x68])}),_0x5621f8[_0x4aa8d5([0x6f,0x6e])](_0x4aa8d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49b54f=>{_0x3a97eb(_0x49b54f[_0x4aa8d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ff01d=!0x0,_0x3bb15c(_0x49b54f[_0x4aa8d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4aa8d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4aa8d5([0x6c,0x6f,0x77])}),_0x40877f[_0x4aa8d5([0x74,0x68,0x65,0x6e])](()=>{_0x3ff01d||_0x346bc0(_0x4aa8d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c3b9d(){return _0x5621f8[_0x4aa8d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa8d5([0x76,0x69,0x65,0x77])][_0x4aa8d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4aa8d5([0x61,0x75,0x74,0x6f]);}function _0x7f12ff(){_0x5621f8[_0x4aa8d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4aa8d5([0x76,0x69,0x65,0x77])][_0x4aa8d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4aa8d5([0x61,0x75,0x74,0x6f]);}}function _0x2d5b1b(_0xaccd6a){const _0x3f6468=[new window[(_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351f49=>setTimeout(_0x351f49,0x737d6693^_0x1de9d6)),_0x40877f[_0x4aa8d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bda11=>{let _0x437067=0x0;_0x5621f8[_0x4aa8d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa8d5([0x6f,0x6e])](_0x4aa8d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b68d7,_0x395247)=>{_0x395247[0x0][_0x4aa8d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x437067++,_0x437067==(0x73745db7^_0x1de9d6)&&(_0x2bda11(),_0x5b68d7[_0x4aa8d5([0x6f,0x66,0x66])]());});}))];return window[_0x4aa8d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4aa8d5([0x72,0x61,0x63,0x65])](_0x3f6468)[_0x4aa8d5([0x74,0x68,0x65,0x6e])](()=>_0xaccd6a);}async function _0xb8ca08(){await _0x40877f,_0x5621f8[_0x4aa8d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa8d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x370f94,_0x5621f8[_0x4aa8d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4aa8d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x370f94,_0x5621f8[_0x4aa8d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4aa8d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b6a57(){return window[_0x4aa8d5([0x67,0x6c,0x6f,0x62])]&&window[_0x4aa8d5([0x67,0x6c,0x6f,0x62])][_0x4aa8d5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x16572f(_0x272ebd){const _0x2187c0=_0x92e60a();_0x5621f8[_0x2187c0]=_0x4aa8d5([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])+_0x272ebd,_0x272ebd!=_0x4aa8d5([0x56,0x61,0x6c,0x69,0x64])&&_0xb8ca08();}function _0x92e60a(){const _0x17b228=window[_0x4aa8d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4aa8d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4aa8d5([0x6e,0x6f,0x77])]())[_0x4aa8d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4aa8d5([0x2e]),'');let _0x5b08c3=_0x4aa8d5([0x73]);for(let _0x482262=0x0;_0x482262<_0x17b228[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x482262+=0x2){let _0x5aa943=window[_0x4aa8d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17b228[_0x4aa8d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x482262,_0x482262+0x2));_0x5aa943>=_0x87d080[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5aa943-=_0x87d080[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b08c3+=_0x87d080[_0x5aa943];}return _0x5b08c3;}function _0x2ac777(){const _0x5e11bd=_0x14ece2[_0x4aa8d5([0x73,0x70,0x6c,0x69,0x74])](_0x4aa8d5([0x2e]));if(0x3!=_0x5e11bd[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27aca0(_0x5e11bd[0x1]);function _0x27aca0(_0x40ce6b){const _0x52e064=_0x565d94(_0x40ce6b);return _0x52e064&&_0x5defa3()?_0x52e064:null;function _0x5defa3(){const _0x4d870e=_0x52e064[_0x4aa8d5([0x6a,0x74,0x69])],_0x20c382=window[_0x4aa8d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d870e[_0x4aa8d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d870e[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24bdea={..._0x52e064,[_0x4aa8d5([0x6a,0x74,0x69])]:_0x4d870e[_0x4aa8d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d870e[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24bdea[_0x4aa8d5([0x76,0x63])],_0x4221fa(_0x24bdea)==_0x20c382;}}}async function _0x46c92e(){let _0x298592=!0x0;try{const _0x579cdc=_0x14ece2[_0x4aa8d5([0x73,0x70,0x6c,0x69,0x74])](_0x4aa8d5([0x2e])),[_0x31d859,_0x32be5a,_0x347195]=_0x579cdc;return _0x391f02(_0x31d859),await _0x3b6a3d(_0x31d859,_0x32be5a,_0x347195),_0x298592;}catch{return!0x1;}function _0x391f02(_0x1c6be7){const _0x9e2dc8=_0x565d94(_0x1c6be7);_0x9e2dc8&&_0x9e2dc8[_0x4aa8d5([0x61,0x6c,0x67])]==_0x4aa8d5([0x45,0x53,0x32,0x35,0x36])||(_0x298592=!0x1);}async function _0x3b6a3d(_0x4b686d,_0x46d31f,_0x1955d7){const _0x47ef20=window[_0x4aa8d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4aa8d5([0x66,0x72,0x6f,0x6d])](_0x2bbcea(_0x1955d7),_0x36400c=>_0x36400c[_0x4aa8d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d5634=new window[(_0x4aa8d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4aa8d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b686d+_0x4aa8d5([0x2e])+_0x46d31f),_0x2429ea=window[_0x4aa8d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4aa8d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2429ea)return;const _0x5b0474=await _0x2429ea[_0x4aa8d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4aa8d5([0x6a,0x77,0x6b]),_0xf2c420,{[_0x4aa8d5([0x6e,0x61,0x6d,0x65])]:_0x4aa8d5([0x45,0x43,0x44,0x53,0x41]),[_0x4aa8d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4aa8d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4aa8d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2429ea[_0x4aa8d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4aa8d5([0x6e,0x61,0x6d,0x65])]:_0x4aa8d5([0x45,0x43,0x44,0x53,0x41]),[_0x4aa8d5([0x68,0x61,0x73,0x68])]:{[_0x4aa8d5([0x6e,0x61,0x6d,0x65])]:_0x4aa8d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5b0474,_0x47ef20,_0x5d5634)||(_0x298592=!0x1);}}function _0x565d94(_0x4f9bd3){return _0x4f9bd3[_0x4aa8d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4aa8d5([0x65,0x79]))?JSON[_0x4aa8d5([0x70,0x61,0x72,0x73,0x65])](_0x2bbcea(_0x4f9bd3)):null;}function _0x2bbcea(_0x18d7f9){return window[_0x4aa8d5([0x61,0x74,0x6f,0x62])](_0x18d7f9[_0x4aa8d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4aa8d5([0x2b]))[_0x4aa8d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4aa8d5([0x2f])));}function _0x4221fa(_0x49c4e5){let _0x542b4e=0x1505;function _0x35a7b7(_0x4032b6){for(let _0x3a5eb7=0x0;_0x3a5eb7<_0x4032b6[_0x4aa8d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a5eb7++){const _0x3672ab=_0x4032b6[_0x4aa8d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a5eb7);_0x542b4e=(_0x542b4e<<0x5)+_0x542b4e+_0x3672ab,_0x542b4e&=_0x542b4e;}}function _0x47221b(_0x38fe8e){Array[_0x4aa8d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x38fe8e)?_0x38fe8e[_0x4aa8d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47221b):_0x38fe8e&&typeof _0x38fe8e==_0x4aa8d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4aa8d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x38fe8e)[_0x4aa8d5([0x73,0x6f,0x72,0x74])]()[_0x4aa8d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41a7ca,_0x392252])=>{_0x35a7b7(_0x41a7ca),_0x47221b(_0x392252);}):_0x35a7b7(window[_0x4aa8d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x38fe8e));}return _0x47221b(_0x49c4e5),_0x542b4e>>>0x0;}function _0x42446b(_0x2d65ff){return _0x2d65ff[_0x4aa8d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4aa8d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4aa8d5([0x30]));}function _0x82ff3e(_0x3efbe6){return _0x3efbe6[_0x4aa8d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4aa8d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4aa8d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x370f94(){}function _0x4aa8d5(_0xa3897e){return _0xa3897e['map'](_0x4297f0=>String['fromCharCode'](_0x4297f0))['join']('');}_0x16572f(await _0x5eb6a0());}(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'],[_0x287d7b=>Number(_0x287d7b)>=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(_0x5c897f){return O['includes'](_0x5c897f);}function F(_0x2ec91a){return Array['from'](_0x2ec91a['getStyleNames']())['filter'](x);}function K(_0x3e5409,_0x2dda93,_0x1d1164){const {spanStyles:_0x1292b3,stylesToBeHtmlElements:_0x5ba250}=function(_0xc59015,_0x493a4f){const _0x4f81b5={},_0x523bce={};return _0x493a4f['forEach'](_0xf33cfa=>{const _0x582fdb=_0xc59015['getStyle'](_0xf33cfa);if(_0x582fdb){if(function(_0x26b443){return E['includes'](_0x26b443);}(_0xf33cfa))_0x4f81b5[_0xf33cfa]=_0x582fdb;else{if(function(_0x3e0ed1){return _0x3e0ed1 in L;}(_0xf33cfa)){const _0x2d5a8a=_0x582fdb['split']('\x20');L[_0xf33cfa]['forEach'](([_0x2bcc92,_0x23aa6c])=>{for(const _0x2d1731 of _0x2d5a8a){('function'==typeof _0x2bcc92&&_0x2bcc92(_0x2d1731)||_0x2bcc92===_0x2d1731)&&(_0x523bce[_0xf33cfa]=[..._0x523bce[_0xf33cfa]||[],[_0x2bcc92,_0x23aa6c]]);}});}}}}),{'spanStyles':_0x4f81b5,'stylesToBeHtmlElements':_0x523bce};}(_0x3e5409,_0x1d1164);!function(_0xc3596f,_0x594824,_0x8eba12){for(const _0xd90b70 in _0x8eba12){_0x8eba12[_0xd90b70]['forEach'](([,_0x392a78])=>{const _0x51aa54=_0x594824['createElement'](_0x392a78,[],_0xc3596f['getChildren']());_0x594824['insertChild'](0x0,_0x51aa54,_0xc3596f);}),_0x594824['removeStyle'](_0xd90b70,_0xc3596f);}}(_0x3e5409,_0x2dda93,_0x5ba250),function(_0x1de679,_0x4e557c,_0x16898a){if(!Object['keys'](_0x16898a)['length'])return;const _0x5eba99=_0x4e557c['createElement']('span',[],_0x1de679['getChildren']());_0x4e557c['setStyle'](_0x16898a,_0x5eba99),_0x4e557c['insertChild'](0x0,_0x5eba99,_0x1de679),_0x4e557c['removeStyle'](Object['keys'](_0x16898a),_0x1de679);}(_0x3e5409,_0x2dda93,_0x1292b3);}class P extends _0x27dc05{['execute'](_0x3cf641){const {body:_0x21f401}=_0x3cf641['_parsedData'],_0x12fda2=new _0x237704(_0x21f401['document']),_0x442b31=_0x12fda2['createRangeIn'](_0x21f401),_0x3f59a3=new _0x5df81a(_0x12fda2['document']['stylesProcessor']),_0x3e8c0d=[...new _0x20c1bc(_0x3f59a3)['blockElements'],'font'],_0x2a0c92=_0x442b31['getItems']();for(const _0x49903b of _0x2a0c92)_0x49903b['is']('element')&&_0x3e8c0d['includes'](_0x49903b['name'])&&K(_0x49903b,_0x12fda2,F(_0x49903b));_0x3cf641['content']=_0x21f401;}['isActive'](_0x319cd8){return super['isActive'](_0x319cd8)||l(_0x319cd8);}}class b extends _0x3f6a48{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x558452];}['init'](){const _0x3fd24b=this['editor'],_0x88f053=_0x3fd24b['plugins']['get']('ClipboardPipeline'),_0x3e1e5c=_0x3fd24b['editing']['view']['document'],_0x3dd2d5=new P(_0x3e1e5c);_0x88f053['on']('inputTransformation',(_0x101c4e,_0x2f1fd9)=>{const _0xd3933=_0x2f1fd9['dataTransfer']['getData']('text/html');_0x3dd2d5['isActive'](_0xd3933)&&(_0x2f1fd9['_parsedData']||(_0x2f1fd9['_parsedData']=_0x3231e5(_0xd3933,_0x3e1e5c['stylesProcessor'])),_0x3dd2d5['execute'](_0x2f1fd9));},{'priority':_0x388c0e['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x495702=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16802c;for(const _0x3eefd9 in _0x495702){const _0x7e9c89=_0x3eefd9,_0x1db669=_0x495702[_0x7e9c89];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x1db669||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x1db669||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x1db669||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x1db669||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x1db669||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x1db669||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x1db669){delete _0x495702[_0x7e9c89],_0x16802c=_0x1db669,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x16802c&&_0x495702['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x16802c&&_0x495702['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x16802c&&_0x495702['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x16802c&&_0x495702['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x16802c&&_0x495702['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x16802c&&_0x495702['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class v extends _0x3f6a48{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x558452,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.2",
3
+ "version": "48.0.0-alpha.3",
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.2",
35
- "@ckeditor/ckeditor5-core": "48.0.0-alpha.2",
36
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.2",
37
- "@ckeditor/ckeditor5-paste-from-office": "48.0.0-alpha.2",
38
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.2"
34
+ "@ckeditor/ckeditor5-clipboard": "48.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.3",
37
+ "@ckeditor/ckeditor5-paste-from-office": "48.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.3"
39
39
  },
40
40
  "files": [
41
41
  "dist",