@ckeditor/ckeditor5-paste-from-office-enhanced 44.1.0 → 44.2.0-alpha.1

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 (41) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/paste-from-office-enhanced.js +2 -2
  4. package/dist/index-content.css +2 -2
  5. package/dist/index-editor.css +2 -2
  6. package/dist/index.css +2 -2
  7. package/dist/index.js +2 -2
  8. package/package.json +26 -6
  9. package/src/augmentation.d.ts +1 -1
  10. package/src/augmentation.js +1 -1
  11. package/src/index.d.ts +1 -1
  12. package/src/index.js +2 -2
  13. package/src/legacyerrors.d.ts +1 -1
  14. package/src/legacyerrors.js +2 -2
  15. package/src/normalizers/inliner/msofficestylesinliner.d.ts +1 -1
  16. package/src/normalizers/inliner/msofficestylesinliner.js +2 -2
  17. package/src/normalizers/inliner/utils.d.ts +1 -1
  18. package/src/normalizers/inliner/utils.js +2 -2
  19. package/src/normalizers/propagator/msofficeinlinestylepropagator.d.ts +1 -1
  20. package/src/normalizers/propagator/msofficeinlinestylepropagator.js +2 -2
  21. package/src/normalizers/propagator/utils.d.ts +1 -1
  22. package/src/normalizers/propagator/utils.js +2 -2
  23. package/src/pastefromofficeenhanced.d.ts +1 -1
  24. package/src/pastefromofficeenhanced.js +2 -2
  25. package/src/pastefromofficeenhancedinliner.d.ts +1 -1
  26. package/src/pastefromofficeenhancedinliner.js +2 -2
  27. package/src/pastefromofficeenhancedpropagator.d.ts +1 -1
  28. package/src/pastefromofficeenhancedpropagator.js +2 -2
  29. package/src/utils.d.ts +1 -1
  30. package/src/utils.js +2 -2
  31. package/dist/augmentation.d.ts +0 -14
  32. package/dist/index.d.ts +0 -13
  33. package/dist/legacyerrors.d.ts +0 -9
  34. package/dist/normalizers/inliner/msofficestylesinliner.d.ts +0 -46
  35. package/dist/normalizers/inliner/utils.d.ts +0 -132
  36. package/dist/normalizers/propagator/msofficeinlinestylepropagator.d.ts +0 -47
  37. package/dist/normalizers/propagator/utils.d.ts +0 -101
  38. package/dist/pastefromofficeenhanced.d.ts +0 -41
  39. package/dist/pastefromofficeenhancedinliner.d.ts +0 -41
  40. package/dist/pastefromofficeenhancedpropagator.d.ts +0 -43
  41. package/dist/utils.d.ts +0 -15
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x472b(){const _0x523c88=['1489548rORUkf','content','isActive','element','4837624EcLbJp','stylesProcessor','995zkAZWM','329790yrGwZa','1420mCzfmX','document','includes','font','976906fXnQFH','27219vtCnmO','55182rXyVbC','name','getItems','execute','blockElements','_parsedData','createRangeIn'];_0x472b=function(){return _0x523c88;};return _0x472b();}const _0x2b1a67=_0x321e;(function(_0x4a9a93,_0x45ecd4){const _0x3b1a1a=_0x321e,_0x2a1803=_0x4a9a93();while(!![]){try{const _0x37d269=-parseInt(_0x3b1a1a(0x15e))/0x1+parseInt(_0x3b1a1a(0x157))/0x2+parseInt(_0x3b1a1a(0x15d))/0x3+-parseInt(_0x3b1a1a(0x158))/0x4*(parseInt(_0x3b1a1a(0x156))/0x5)+-parseInt(_0x3b1a1a(0x150))/0x6+-parseInt(_0x3b1a1a(0x15c))/0x7+parseInt(_0x3b1a1a(0x154))/0x8;if(_0x37d269===_0x45ecd4)break;else _0x2a1803['push'](_0x2a1803['shift']());}catch(_0x5ea43b){_0x2a1803['push'](_0x2a1803['shift']());}}}(_0x472b,0x40b44));function _0x321e(_0x112f8b,_0x8b68fe){const _0x472b71=_0x472b();return _0x321e=function(_0x321e3d,_0xf48fc7){_0x321e3d=_0x321e3d-0x14e;let _0x6a6cf3=_0x472b71[_0x321e3d];return _0x6a6cf3;},_0x321e(_0x112f8b,_0x8b68fe);}import{UpcastWriter as _0x23a99d,DomConverter as _0x380450,ViewDocument as _0x28fd74}from'ckeditor5/src/engine.js';import{MSWordNormalizer as _0x325883}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x35789d}from'../../utils.js';import{getStylePropertyNamesToPropagate as _0x210294,propagateStyleProperties as _0x5b90de}from'./utils.js';export default class m extends _0x325883{[_0x2b1a67(0x161)](_0x27b161){const _0x8661c7=_0x2b1a67,{body:_0x294a0d}=_0x27b161[_0x8661c7(0x14e)],_0x1fea08=new _0x23a99d(_0x294a0d[_0x8661c7(0x159)]),_0x35f4f9=_0x1fea08[_0x8661c7(0x14f)](_0x294a0d),_0x413ef9=new _0x28fd74(_0x1fea08[_0x8661c7(0x159)][_0x8661c7(0x155)]),_0x24cf2e=[...new _0x380450(_0x413ef9)[_0x8661c7(0x162)],_0x8661c7(0x15b)],_0x21f0db=_0x35f4f9[_0x8661c7(0x160)]();for(const _0x21325f of _0x21f0db)if(_0x21325f['is'](_0x8661c7(0x153))&&_0x24cf2e[_0x8661c7(0x15a)](_0x21325f[_0x8661c7(0x15f)])){const _0x45ce98=_0x210294(_0x21325f);_0x5b90de(_0x21325f,_0x1fea08,_0x45ce98);}_0x27b161[_0x8661c7(0x151)]=_0x294a0d;}[_0x2b1a67(0x152)](_0x2b3854){const _0x404e63=_0x2b1a67;return super[_0x404e63(0x152)](_0x2b3854)||_0x35789d(_0x2b3854);}}
23
+ const _0x1497ad=_0x1435;(function(_0x1381f4,_0x2c626e){const _0x711752=_0x1435,_0x3aa405=_0x1381f4();while(!![]){try{const _0x123f6a=parseInt(_0x711752(0x164))/0x1*(parseInt(_0x711752(0x159))/0x2)+parseInt(_0x711752(0x150))/0x3*(-parseInt(_0x711752(0x165))/0x4)+parseInt(_0x711752(0x15b))/0x5+-parseInt(_0x711752(0x166))/0x6+-parseInt(_0x711752(0x155))/0x7*(-parseInt(_0x711752(0x154))/0x8)+-parseInt(_0x711752(0x15f))/0x9*(-parseInt(_0x711752(0x163))/0xa)+-parseInt(_0x711752(0x156))/0xb;if(_0x123f6a===_0x2c626e)break;else _0x3aa405['push'](_0x3aa405['shift']());}catch(_0x4126c7){_0x3aa405['push'](_0x3aa405['shift']());}}}(_0x3124,0x4fc9c));import{UpcastWriter as _0x29318f,DomConverter as _0x4b04b1,ViewDocument as _0x1a4c51}from'ckeditor5/src/engine.js';import{MSWordNormalizer as _0x45fbff}from'@ckeditor/ckeditor5-paste-from-office';import{isMSExcelContent as _0x1d6c2b}from'../../utils.js';import{getStylePropertyNamesToPropagate as _0x58474f,propagateStyleProperties as _0x4ded7f}from'./utils.js';function _0x1435(_0x4b6890,_0x50f289){const _0x312413=_0x3124();return _0x1435=function(_0x143556,_0x4d8abb){_0x143556=_0x143556-0x14f;let _0x1fb03f=_0x312413[_0x143556];return _0x1fb03f;},_0x1435(_0x4b6890,_0x50f289);}export default class f extends _0x45fbff{[_0x1497ad(0x161)](_0x1db1c3){const _0x4c6c65=_0x1497ad,{body:_0x37e8a3}=_0x1db1c3[_0x4c6c65(0x153)],_0x48142b=new _0x29318f(_0x37e8a3[_0x4c6c65(0x15a)]),_0x10214f=_0x48142b[_0x4c6c65(0x157)](_0x37e8a3),_0x56f7a7=new _0x1a4c51(_0x48142b[_0x4c6c65(0x15a)][_0x4c6c65(0x151)]),_0x275af1=[...new _0x4b04b1(_0x56f7a7)[_0x4c6c65(0x15e)],_0x4c6c65(0x152)],_0x5dc357=_0x10214f[_0x4c6c65(0x158)]();for(const _0x592293 of _0x5dc357)if(_0x592293['is'](_0x4c6c65(0x160))&&_0x275af1[_0x4c6c65(0x14f)](_0x592293[_0x4c6c65(0x162)])){const _0x181e7e=_0x58474f(_0x592293);_0x4ded7f(_0x592293,_0x48142b,_0x181e7e);}_0x1db1c3[_0x4c6c65(0x15d)]=_0x37e8a3;}[_0x1497ad(0x15c)](_0x50b2f1){const _0xba318e=_0x1497ad;return super[_0xba318e(0x15c)](_0x50b2f1)||_0x1d6c2b(_0x50b2f1);}}function _0x3124(){const _0x38801a=['122890wTYpwe','2LQktfV','100876bMbsYC','2041776DryNcr','includes','12trVCkQ','stylesProcessor','font','_parsedData','884104zzpehj','35miWhbv','3065931cpuovr','createRangeIn','getItems','153490bsxuvd','document','1150245osHDba','isActive','content','blockElements','81tvrACD','element','execute','name'];_0x3124=function(){return _0x38801a;};return _0x3124();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1459(_0x3885cf,_0x5d1137){const _0x22db03=_0x22db();return _0x1459=function(_0x145982,_0x5f4b1a){_0x145982=_0x145982-0x10b;let _0x21edba=_0x22db03[_0x145982];return _0x21edba;},_0x1459(_0x3885cf,_0x5d1137);}const _0x22a960=_0x1459;(function(_0xf6f911,_0x53e4c4){const _0x36b993=_0x1459,_0x5d1c8d=_0xf6f911();while(!![]){try{const _0x5f2bf9=parseInt(_0x36b993(0x124))/0x1*(parseInt(_0x36b993(0x119))/0x2)+parseInt(_0x36b993(0x136))/0x3+-parseInt(_0x36b993(0x133))/0x4*(-parseInt(_0x36b993(0x123))/0x5)+parseInt(_0x36b993(0x12d))/0x6+-parseInt(_0x36b993(0x112))/0x7+-parseInt(_0x36b993(0x12b))/0x8+-parseInt(_0x36b993(0x120))/0x9*(parseInt(_0x36b993(0x122))/0xa);if(_0x5f2bf9===_0x53e4c4)break;else _0x5d1c8d['push'](_0x5d1c8d['shift']());}catch(_0x3f5cee){_0x5d1c8d['push'](_0x5d1c8d['shift']());}}}(_0x22db,0x2b233));export const CSS_PROPERTIES_TO_PROPAGATE=[_0x22a960(0x127),_0x22a960(0x134),_0x22a960(0x11d),_0x22a960(0x114),_0x22a960(0x126),_0x22a960(0x130),_0x22a960(0x132),_0x22a960(0x125)];export const CSS_PROPERTIES_TO_BE_SPANS=[_0x22a960(0x127),_0x22a960(0x134),_0x22a960(0x11d)];export const CSS_PROPERTIES_TO_BE_HTML_ELEMENTS={'font-style':[[_0x22a960(0x11f),'i']],'font-weight':[[_0x22a960(0x12f),_0x22a960(0x12c)],[_0x22a960(0x116),_0x22a960(0x12c)],[_0x22a960(0x113),_0x22a960(0x12c)],[_0x52b1a0=>Number(_0x52b1a0)>=0x258,_0x22a960(0x12c)]],'text-decoration':[[_0x22a960(0x121),'u'],[_0x22a960(0x110),'s']],'text-decoration-line':[[_0x22a960(0x121),'u'],[_0x22a960(0x110),'s']],'vertical-align':[[_0x22a960(0x11c),_0x22a960(0x11c)],[_0x22a960(0x10f),_0x22a960(0x128)]]};export function isPropertyToBePropagated(_0x4ad89f){const _0x99bc60=_0x22a960;return CSS_PROPERTIES_TO_PROPAGATE[_0x99bc60(0x11b)](_0x4ad89f);}export function isPropertyToBePropagatedAsSpan(_0x6a77c2){const _0x15b101=_0x22a960;return CSS_PROPERTIES_TO_BE_SPANS[_0x15b101(0x11b)](_0x6a77c2);}export function isPropertyToBePropagatedAsHTMLElement(_0x37584d){return _0x37584d in CSS_PROPERTIES_TO_BE_HTML_ELEMENTS;}export function getStylePropertyNamesToPropagate(_0x4c75bf){const _0x29df13=_0x22a960;return Array[_0x29df13(0x10e)](_0x4c75bf[_0x29df13(0x10c)]())[_0x29df13(0x115)](isPropertyToBePropagated);}export function propagateStyleProperties(_0x44fa31,_0x573370,_0x254bd8){const {spanStyles:_0x1213ac,stylesToBeHtmlElements:_0x1b9b5b}=getStylesToPropagate(_0x44fa31,_0x254bd8);propagateStylesAsHTMLElements(_0x44fa31,_0x573370,_0x1b9b5b),propagateStylesAsSpan(_0x44fa31,_0x573370,_0x1213ac);}export function propagateStylesAsHTMLElements(_0x4efbc8,_0x18f3f4,_0x427506){const _0x403e9e=_0x22a960;for(const _0x316977 in _0x427506){_0x427506[_0x316977][_0x403e9e(0x10d)](([,_0x5ca516])=>{const _0x40d709=_0x403e9e,_0x4501d5=_0x18f3f4[_0x40d709(0x11e)](_0x5ca516,[],_0x4efbc8[_0x40d709(0x129)]());_0x18f3f4[_0x40d709(0x10b)](0x0,_0x4501d5,_0x4efbc8);}),_0x18f3f4[_0x403e9e(0x118)](_0x316977,_0x4efbc8);}}export function propagateStylesAsSpan(_0x515f66,_0x2d00e1,_0x5456bb){const _0x1eb1ef=_0x22a960;if(!Object[_0x1eb1ef(0x111)](_0x5456bb)[_0x1eb1ef(0x12e)])return;const _0x1a5ee0=_0x2d00e1[_0x1eb1ef(0x11e)](_0x1eb1ef(0x135),[],_0x515f66[_0x1eb1ef(0x129)]());_0x2d00e1[_0x1eb1ef(0x11a)](_0x5456bb,_0x1a5ee0),_0x2d00e1[_0x1eb1ef(0x10b)](0x0,_0x1a5ee0,_0x515f66),_0x2d00e1[_0x1eb1ef(0x118)](Object[_0x1eb1ef(0x111)](_0x5456bb),_0x515f66);}export function getStylesToPropagate(_0x378cdc,_0x1cb636){const _0x1bb778=_0x22a960,_0x385d47={},_0x91a8b7={};return _0x1cb636[_0x1bb778(0x10d)](_0x1c2ed1=>{const _0x32b1cb=_0x1bb778,_0x339cf1=_0x378cdc[_0x32b1cb(0x131)](_0x1c2ed1);if(_0x339cf1){if(isPropertyToBePropagatedAsSpan(_0x1c2ed1))_0x385d47[_0x1c2ed1]=_0x339cf1;else{if(isPropertyToBePropagatedAsHTMLElement(_0x1c2ed1)){const _0x31b27c=_0x339cf1[_0x32b1cb(0x12a)]('\x20');CSS_PROPERTIES_TO_BE_HTML_ELEMENTS[_0x1c2ed1][_0x32b1cb(0x10d)](([_0x3b75e6,_0x52521b])=>{const _0x359fdb=_0x32b1cb;for(const _0x5af47e of _0x31b27c){(_0x359fdb(0x117)==typeof _0x3b75e6&&_0x3b75e6(_0x5af47e)||_0x3b75e6===_0x5af47e)&&(_0x91a8b7[_0x1c2ed1]=[..._0x91a8b7[_0x1c2ed1]||[],[_0x3b75e6,_0x52521b]]);}});}}}}),{'spanStyles':_0x385d47,'stylesToBeHtmlElements':_0x91a8b7};}function _0x22db(){const _0x14b94e=['function','removeStyle','106508yyzuYr','setStyle','includes','sub','font-size','createElement','italic','18kdfaoG','underline','1349410otWMKL','5eHeXUw','2pxiyOD','vertical-align','text-decoration-line','color','sup','getChildren','split','1477208BlXUrZ','strong','1012134tnrsEp','length','medium','font-weight','getStyle','font-style','773764nLEqEp','font-family','span','543858PsCDRz','insertChild','getStyleNames','forEach','from','super','line-through','keys','130900TiLeze','bolder','text-decoration','filter','bold'];_0x22db=function(){return _0x14b94e;};return _0x22db();}
23
+ const _0x248031=_0x47af;function _0x47af(_0x146149,_0x4639a5){const _0x2ef506=_0x2ef5();return _0x47af=function(_0x47af43,_0x3d225c){_0x47af43=_0x47af43-0xd8;let _0x36800f=_0x2ef506[_0x47af43];return _0x36800f;},_0x47af(_0x146149,_0x4639a5);}(function(_0x48165f,_0x443703){const _0x2cef4f=_0x47af,_0x5c3705=_0x48165f();while(!![]){try{const _0x2c02cb=parseInt(_0x2cef4f(0xee))/0x1+parseInt(_0x2cef4f(0xe8))/0x2+parseInt(_0x2cef4f(0xfe))/0x3+parseInt(_0x2cef4f(0xe1))/0x4*(parseInt(_0x2cef4f(0xe0))/0x5)+-parseInt(_0x2cef4f(0xeb))/0x6+parseInt(_0x2cef4f(0xfd))/0x7+-parseInt(_0x2cef4f(0xf1))/0x8*(parseInt(_0x2cef4f(0xd8))/0x9);if(_0x2c02cb===_0x443703)break;else _0x5c3705['push'](_0x5c3705['shift']());}catch(_0x21382e){_0x5c3705['push'](_0x5c3705['shift']());}}}(_0x2ef5,0x387a2));export const CSS_PROPERTIES_TO_PROPAGATE=[_0x248031(0xf7),_0x248031(0xf9),_0x248031(0x100),_0x248031(0xfb),_0x248031(0xea),_0x248031(0xf6),_0x248031(0xe2),_0x248031(0xdc)];export const CSS_PROPERTIES_TO_BE_SPANS=[_0x248031(0xf7),_0x248031(0xf9),_0x248031(0x100)];export const CSS_PROPERTIES_TO_BE_HTML_ELEMENTS={'font-style':[[_0x248031(0xf4),'i']],'font-weight':[[_0x248031(0xf8),_0x248031(0x102)],[_0x248031(0xe3),_0x248031(0x102)],[_0x248031(0x101),_0x248031(0x102)],[_0x10aa25=>Number(_0x10aa25)>=0x258,_0x248031(0x102)]],'text-decoration':[[_0x248031(0xf5),'u'],[_0x248031(0xe6),'s']],'text-decoration-line':[[_0x248031(0xf5),'u'],[_0x248031(0xe6),'s']],'vertical-align':[[_0x248031(0xec),_0x248031(0xec)],[_0x248031(0xf3),_0x248031(0xef)]]};export function isPropertyToBePropagated(_0x54b605){const _0x4251e1=_0x248031;return CSS_PROPERTIES_TO_PROPAGATE[_0x4251e1(0xe5)](_0x54b605);}export function isPropertyToBePropagatedAsSpan(_0x41e53b){const _0x3fb5f9=_0x248031;return CSS_PROPERTIES_TO_BE_SPANS[_0x3fb5f9(0xe5)](_0x41e53b);}export function isPropertyToBePropagatedAsHTMLElement(_0xe7de41){return _0xe7de41 in CSS_PROPERTIES_TO_BE_HTML_ELEMENTS;}function _0x2ef5(){const _0x40a71c=['includes','line-through','split','89018auNPyq','getChildren','text-decoration-line','562494wEmfPJ','sub','createElement','313384LSpgkx','sup','length','16ULdqwr','forEach','super','italic','underline','font-weight','color','medium','font-family','span','text-decoration','insertChild','1732507PXhbiO','419658TUwLyh','getStyle','font-size','bolder','strong','2513502gQGIel','keys','removeStyle','getStyleNames','vertical-align','setStyle','filter','function','35sKGNFk','79060kFtfok','font-style','bold','from'];_0x2ef5=function(){return _0x40a71c;};return _0x2ef5();}export function getStylePropertyNamesToPropagate(_0x37ac69){const _0x5bbfcb=_0x248031;return Array[_0x5bbfcb(0xe4)](_0x37ac69[_0x5bbfcb(0xdb)]())[_0x5bbfcb(0xde)](isPropertyToBePropagated);}export function propagateStyleProperties(_0x4e991f,_0x4fdb7c,_0x2c8285){const {spanStyles:_0x5d454f,stylesToBeHtmlElements:_0x184e02}=getStylesToPropagate(_0x4e991f,_0x2c8285);propagateStylesAsHTMLElements(_0x4e991f,_0x4fdb7c,_0x184e02),propagateStylesAsSpan(_0x4e991f,_0x4fdb7c,_0x5d454f);}export function propagateStylesAsHTMLElements(_0x513302,_0x11086b,_0x1ece55){const _0x1fc11a=_0x248031;for(const _0x4cccba in _0x1ece55){_0x1ece55[_0x4cccba][_0x1fc11a(0xf2)](([,_0x3ee7e0])=>{const _0x3f9b06=_0x1fc11a,_0x3e7130=_0x11086b[_0x3f9b06(0xed)](_0x3ee7e0,[],_0x513302[_0x3f9b06(0xe9)]());_0x11086b[_0x3f9b06(0xfc)](0x0,_0x3e7130,_0x513302);}),_0x11086b[_0x1fc11a(0xda)](_0x4cccba,_0x513302);}}export function propagateStylesAsSpan(_0x2fc2d1,_0x27ff53,_0x1b8381){const _0x41a730=_0x248031;if(!Object[_0x41a730(0xd9)](_0x1b8381)[_0x41a730(0xf0)])return;const _0x5e195c=_0x27ff53[_0x41a730(0xed)](_0x41a730(0xfa),[],_0x2fc2d1[_0x41a730(0xe9)]());_0x27ff53[_0x41a730(0xdd)](_0x1b8381,_0x5e195c),_0x27ff53[_0x41a730(0xfc)](0x0,_0x5e195c,_0x2fc2d1),_0x27ff53[_0x41a730(0xda)](Object[_0x41a730(0xd9)](_0x1b8381),_0x2fc2d1);}export function getStylesToPropagate(_0x197e1c,_0x57dd7e){const _0x1b3996=_0x248031,_0x4edc38={},_0x1aa873={};return _0x57dd7e[_0x1b3996(0xf2)](_0x416734=>{const _0x4ed955=_0x1b3996,_0x3129d1=_0x197e1c[_0x4ed955(0xff)](_0x416734);if(_0x3129d1){if(isPropertyToBePropagatedAsSpan(_0x416734))_0x4edc38[_0x416734]=_0x3129d1;else{if(isPropertyToBePropagatedAsHTMLElement(_0x416734)){const _0x26201c=_0x3129d1[_0x4ed955(0xe7)]('\x20');CSS_PROPERTIES_TO_BE_HTML_ELEMENTS[_0x416734][_0x4ed955(0xf2)](([_0x2ff852,_0x1b4ac7])=>{const _0xfb57f2=_0x4ed955;for(const _0x391ccc of _0x26201c){(_0xfb57f2(0xdf)==typeof _0x2ff852&&_0x2ff852(_0x391ccc)||_0x2ff852===_0x391ccc)&&(_0x1aa873[_0x416734]=[..._0x1aa873[_0x416734]||[],[_0x2ff852,_0x1b4ac7]]);}});}}}}),{'spanStyles':_0x4edc38,'stylesToBeHtmlElements':_0x1aa873};}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4361b2=_0x26f5;function _0x4251(){var _0x5c54c5=['pluginName','isPremiumPlugin','155TDRrwP','isOfficialPlugin','63137nkYDCr','PasteFromOfficeEnhanced','6947413pfbnkj','40RVuaRW','requires','179169dNQoXt','68394ImGIyr','3935728POSvHj','PasteFromOffice','42236swsdLM','173223ZRELTW','42RdAOcs','18BiZiHS'];_0x4251=function(){return _0x5c54c5;};return _0x4251();}(function(_0x51e2a2,_0xfa4b70){var _0x5d343e=_0x26f5,_0x2dc33b=_0x51e2a2();while(!![]){try{var _0x1ffb66=parseInt(_0x5d343e(0x123))/0x1+parseInt(_0x5d343e(0x11e))/0x2*(-parseInt(_0x5d343e(0x117))/0x3)+-parseInt(_0x5d343e(0x11b))/0x4*(parseInt(_0x5d343e(0x121))/0x5)+-parseInt(_0x5d343e(0x118))/0x6*(parseInt(_0x5d343e(0x11d))/0x7)+parseInt(_0x5d343e(0x119))/0x8+-parseInt(_0x5d343e(0x11c))/0x9*(-parseInt(_0x5d343e(0x115))/0xa)+parseInt(_0x5d343e(0x114))/0xb;if(_0x1ffb66===_0xfa4b70)break;else _0x2dc33b['push'](_0x2dc33b['shift']());}catch(_0x2f7bec){_0x2dc33b['push'](_0x2dc33b['shift']());}}}(_0x4251,0x50acc));function _0x26f5(_0x55fcdc,_0xbb8f11){var _0x425117=_0x4251();return _0x26f5=function(_0x26f59c,_0x345c69){_0x26f59c=_0x26f59c-0x113;var _0x2d6515=_0x425117[_0x26f59c];return _0x2d6515;},_0x26f5(_0x55fcdc,_0xbb8f11);}import{Plugin as _0x5f40e1}from'ckeditor5/src/core.js';import _0x28f123 from'./pastefromofficeenhancedinliner.js';import _0xcd05cd from'./pastefromofficeenhancedpropagator.js';export default class a extends _0x5f40e1{static get[_0x4361b2(0x11f)](){var _0x58c8df=_0x4361b2;return _0x58c8df(0x113);}static get[_0x4361b2(0x122)](){return!0x0;}static get[_0x4361b2(0x120)](){return!0x0;}static get[_0x4361b2(0x116)](){var _0x5318ae=_0x4361b2;return[_0x5318ae(0x11a),_0x28f123,_0xcd05cd];}}
23
+ var _0x4a8010=_0x45f6;(function(_0x1625fd,_0x3a4e2d){var _0x303091=_0x45f6,_0x3a0a48=_0x1625fd();while(!![]){try{var _0x45b732=-parseInt(_0x303091(0x76))/0x1+parseInt(_0x303091(0x78))/0x2+parseInt(_0x303091(0x7f))/0x3*(-parseInt(_0x303091(0x80))/0x4)+-parseInt(_0x303091(0x71))/0x5*(parseInt(_0x303091(0x70))/0x6)+-parseInt(_0x303091(0x7a))/0x7*(parseInt(_0x303091(0x7b))/0x8)+parseInt(_0x303091(0x81))/0x9*(-parseInt(_0x303091(0x73))/0xa)+-parseInt(_0x303091(0x79))/0xb*(-parseInt(_0x303091(0x7e))/0xc);if(_0x45b732===_0x3a4e2d)break;else _0x3a0a48['push'](_0x3a0a48['shift']());}catch(_0x52b879){_0x3a0a48['push'](_0x3a0a48['shift']());}}}(_0x1bc8,0x7acad));function _0x45f6(_0x33048a,_0x43b165){var _0x1bc86f=_0x1bc8();return _0x45f6=function(_0x45f6e1,_0x2698ee){_0x45f6e1=_0x45f6e1-0x70;var _0x2b4f44=_0x1bc86f[_0x45f6e1];return _0x2b4f44;},_0x45f6(_0x33048a,_0x43b165);}function _0x1bc8(){var _0x3a1bc4=['13540dOXElr','isPremiumPlugin','PasteFromOfficeEnhanced','646698GTcSJc','isOfficialPlugin','739442eKMkFJ','43051591YayWrM','5073817wfLAQZ','8QEdPCk','pluginName','PasteFromOffice','12niGacC','18LCSnBr','354356rUiTLN','6219RpDzYA','648BFkbkg','43605oeYuIB','requires'];_0x1bc8=function(){return _0x3a1bc4;};return _0x1bc8();}import{Plugin as _0xa77344}from'ckeditor5/src/core.js';import _0x3434c0 from'./pastefromofficeenhancedinliner.js';import _0x827725 from'./pastefromofficeenhancedpropagator.js';export default class a extends _0xa77344{static get[_0x4a8010(0x7c)](){var _0x364f27=_0x4a8010;return _0x364f27(0x75);}static get[_0x4a8010(0x77)](){return!0x0;}static get[_0x4a8010(0x74)](){return!0x0;}static get[_0x4a8010(0x72)](){var _0x1240df=_0x4a8010;return[_0x1240df(0x7d),_0x3434c0,_0x827725];}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3577(_0x37c8f5,_0x599737){const _0x3db878=_0x3db8();return _0x3577=function(_0x357791,_0x5609d6){_0x357791=_0x357791-0x189;let _0x29af20=_0x3db878[_0x357791];return _0x29af20;},_0x3577(_0x37c8f5,_0x599737);}const _0x31e74e=_0x3577;(function(_0x19fd74,_0x38b550){const _0x4e1540=_0x3577,_0x68624c=_0x19fd74();while(!![]){try{const _0xc64ce7=parseInt(_0x4e1540(0x1ad))/0x1*(parseInt(_0x4e1540(0x1a0))/0x2)+-parseInt(_0x4e1540(0x1af))/0x3*(parseInt(_0x4e1540(0x18b))/0x4)+-parseInt(_0x4e1540(0x197))/0x5+-parseInt(_0x4e1540(0x1a7))/0x6+-parseInt(_0x4e1540(0x1a2))/0x7*(parseInt(_0x4e1540(0x1a4))/0x8)+-parseInt(_0x4e1540(0x1a9))/0x9*(parseInt(_0x4e1540(0x1ab))/0xa)+parseInt(_0x4e1540(0x196))/0xb;if(_0xc64ce7===_0x38b550)break;else _0x68624c['push'](_0x68624c['shift']());}catch(_0x17dbfe){_0x68624c['push'](_0x68624c['shift']());}}}(_0x3db8,0xc8fe6));function _0x3db8(){const _0x2316a3=['execute','10wLsCRa','view','36857VlXwhN','isActive','3VbCqlx','requires','dataTransfer','2230188fOXCtf','getData','join','fromCharCode','editing','pluginName','afterInit','_parsedData','isPremiumPlugin','isOfficialPlugin','document','69369509SmthzA','7349455afVtcG','init','PasteFromOffice','stylesProcessor','ClipboardPipeline','href','inputTransformation','text/html','high','4tTrAHn','get','31633UOobzU','PasteFromOfficeEnhancedInliner','2856rHkhId','map','editor','8524650wodxhk','plugins','4457403rqMMdE'];_0x3db8=function(){return _0x2316a3;};return _0x3db8();}import{Plugin as _0x563d55}from'ckeditor5/src/core.js';import{parseHtml as _0x3ab987}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x2b6f97,uid as _0x5a56e1}from'ckeditor5/src/utils.js';import _0x1d1f4c from'./normalizers/inliner/msofficestylesinliner.js';export default class i extends _0x563d55{static get[_0x31e74e(0x190)](){const _0x506814=_0x31e74e;return _0x506814(0x1a3);}static get[_0x31e74e(0x194)](){return!0x0;}static get[_0x31e74e(0x193)](){return!0x0;}static get[_0x31e74e(0x189)](){const _0x57c404=_0x31e74e;return[_0x57c404(0x199)];}[_0x31e74e(0x198)](){const _0x722bfb=_0x31e74e,_0x495aec=this[_0x722bfb(0x1a6)],_0x4b0dbe=_0x495aec[_0x722bfb(0x1a8)][_0x722bfb(0x1a1)](_0x722bfb(0x19b)),_0xa899fb=_0x495aec[_0x722bfb(0x18f)][_0x722bfb(0x1ac)][_0x722bfb(0x195)],_0x4655fe=new _0x1d1f4c(_0xa899fb);_0x4b0dbe['on'](_0x722bfb(0x19d),(_0x8a6e13,_0x1fcfcd)=>{const _0x2986b2=_0x722bfb,_0x324f60=_0x1fcfcd[_0x2986b2(0x18a)][_0x2986b2(0x18c)](_0x2986b2(0x19e));_0x4655fe[_0x2986b2(0x1ae)](_0x324f60)&&(_0x1fcfcd[_0x2986b2(0x192)]||(_0x1fcfcd[_0x2986b2(0x192)]=_0x3ab987(_0x324f60,_0xa899fb[_0x2986b2(0x19a)])),_0x4655fe[_0x2986b2(0x1aa)](_0x1fcfcd));},{'priority':_0x2b6f97[_0x722bfb(0x1a1)](_0x722bfb(0x19f))+0xb});}[_0x31e74e(0x191)](){!async function(_0x4ebfc8){const _0x29dc4e=_0x5189f7([0x75,0x76,0x7a,0x58,0x72,0x35,0x79,0x68,0x67,0x6d,0x71,0x33,0x62,0x37,0x49,0x64,0x41,0x4f,0x63,0x39,0x6e,0x51,0x4a,0x54,0x45,0x53,0x34,0x6c,0x4d,0x46,0x32,0x43,0x74,0x44,0x6b,0x6a,0x50,0x69,0x61,0x31,0x48,0x36,0x57,0x73,0x5a,0x70,0x30,0x38,0x52,0x4b,0x4e,0x47,0x6f,0x59,0x78,0x42,0x77,0x66,0x65,0x55,0x56,0x4c]),_0x415761=0x498d7657,_0x3019af=0x498a2f8f^_0x415761,_0x13bc84=window[_0x5189f7([0x44,0x61,0x74,0x65])][_0x5189f7([0x6e,0x6f,0x77])](),_0x455cc9=_0x4ebfc8[_0x5189f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56a72b=new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1533da=>{_0x455cc9[_0x5189f7([0x6f,0x6e,0x63,0x65])](_0x5189f7([0x72,0x65,0x61,0x64,0x79]),_0x1533da);}),_0x236613={[_0x5189f7([0x6b,0x74,0x79])]:_0x5189f7([0x45,0x43]),[_0x5189f7([0x75,0x73,0x65])]:_0x5189f7([0x73,0x69,0x67]),[_0x5189f7([0x63,0x72,0x76])]:_0x5189f7([0x50,0x2d,0x32,0x35,0x36]),[_0x5189f7([0x78])]:_0x5189f7([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]),[_0x5189f7([0x79])]:_0x5189f7([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]),[_0x5189f7([0x61,0x6c,0x67])]:_0x5189f7([0x45,0x53,0x32,0x35,0x36])},_0x43a680=_0x455cc9[_0x5189f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5189f7([0x67,0x65,0x74])](_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3784cf(){let _0x54a1ff,_0x59dd28=null,_0x49f387=null;try{if(_0x43a680==_0x5189f7([0x47,0x50,0x4c]))return _0x5189f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54a1ff=_0x4608ed(),!_0x54a1ff)return _0x5189f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54a1ff[_0x5189f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x49f387=_0x1ed0e0(_0x54a1ff[_0x5189f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54a1ff[_0x5189f7([0x6a,0x74,0x69])])),await _0x240109()?_0x31c9f1()?_0x366a52()?_0x5189f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x23081b()?(_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5189f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59dd28=_0x4d3488(_0x5189f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5189f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x59dd28=_0x4d3488(_0x5189f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5189f7([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x59dd28=_0x4d3488(_0x5189f7([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1710c2()):_0x5189f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5189f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5189f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x167dd5){return _0x5189f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x366a52(){const _0x34b617=[_0x5189f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5189f7([0x74,0x72,0x69,0x61,0x6c])][_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13bc84/0x3e8:0xe10*_0x3019af;return _0x54a1ff[_0x5189f7([0x65,0x78,0x70])]<_0x34b617;}function _0x31c9f1(){const _0x11d557=_0x54a1ff[_0x5189f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11d557&&(!!_0x11d557[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x2a]))||(!!_0x11d557[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x50,0x4f,0x45]))||!!_0x11d557[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x50,0x50]))));}function _0x23081b(){const _0x1121a7=_0x3577,_0x4ce966=_0x54a1ff[_0x5189f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ce966||0x0==_0x4ce966[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x303d87}=new URL(window[_0x5189f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1121a7(0x19c)]);if(_0x4ce966[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x303d87))return!0x0;const _0x20a51c=_0x303d87[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e]));return _0x4ce966[_0x5189f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a820e=>_0x2a820e[_0x5189f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5189f7([0x2a])))[_0x5189f7([0x6d,0x61,0x70])](_0x131736=>_0x131736[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e])))[_0x5189f7([0x73,0x6f,0x6d,0x65])](_0x55a3c7=>_0x20a51c[_0x5189f7([0x65,0x76,0x65,0x72,0x79])]((_0x362352,_0x24d340)=>_0x55a3c7[_0x24d340]===_0x362352||_0x55a3c7[_0x24d340]===_0x5189f7([0x2a])));}function _0x1710c2(){return _0x59dd28&&_0x49f387?new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa4d8c,_0x412469)=>{_0x59dd28[_0x5189f7([0x74,0x68,0x65,0x6e])](_0xa4d8c,_0x412469),_0x49f387[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x3486e1=>{_0x3486e1!=_0x5189f7([0x56,0x61,0x6c,0x69,0x64])&&_0xa4d8c(_0x3486e1);},_0x412469);}):_0x59dd28||_0x49f387||_0x5189f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ed0e0(_0x9c972b,_0x5ec7b7){return new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7b81d1=>{if(_0x175f11())return _0x7b81d1(_0x5189f7([0x56,0x61,0x6c,0x69,0x64]));_0x54e0cf(),_0x455cc9[_0x5189f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5189f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3163a7=!0x1;const _0x2d5b0e=_0x5a56e1();function _0x24cdf0(_0x5444ee){return!!_0x5444ee&&(typeof _0x5444ee===_0x5189f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5444ee===_0x5189f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5444ee[_0x5189f7([0x74,0x68,0x65,0x6e])]===_0x5189f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5444ee[_0x5189f7([0x63,0x61,0x74,0x63,0x68])]===_0x5189f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18473c(_0x8f33c7){_0x1488ef(_0x8f33c7)[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x38b155=>{if(!_0x38b155||_0x38b155[_0x5189f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5189f7([0x6f,0x6b]))return _0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x547abb(_0x46fedd(_0x2d5b0e+_0x5ec7b7))!=_0x38b155[_0x5189f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5189f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x71e116=>(_0x572432(),_0x71e116),()=>{const _0x3a190e=_0x53f515();return null==_0x3a190e?(_0x572432(),_0x5189f7([0x56,0x61,0x6c,0x69,0x64])):_0x5189f7(_0x13bc84-_0x3a190e>(0x6d81f257^_0x415761)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x7b81d1)[_0x5189f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7b81d1(_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x143561=0x49bb98d7^_0x415761;function _0x572432(){const _0x5f268a=_0x5189f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x547abb(_0x46fedd(_0x9c972b)),_0x13ebc0=_0x2d0d54(_0x547abb(window[_0x5189f7([0x4d,0x61,0x74,0x68])][_0x5189f7([0x63,0x65,0x69,0x6c])](_0x13bc84/_0x143561)));window[_0x5189f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5189f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5f268a,_0x13ebc0);}function _0x53f515(){const _0x24d8e2=_0x5189f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x547abb(_0x46fedd(_0x9c972b)),_0x4fa2b1=window[_0x5189f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5189f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24d8e2);return _0x4fa2b1?window[_0x5189f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0d54(_0x4fa2b1),0x10)*_0x143561:null;}function _0x1488ef(_0x1abb5c){return new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50500e,_0x3d596c)=>{_0x1abb5c[_0x5189f7([0x74,0x68,0x65,0x6e])](_0x50500e,_0x3d596c),window[_0x5189f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d596c,0x498ca297^_0x415761);});}}_0x455cc9[_0x5189f7([0x6f,0x6e])](_0x5189f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4638eb,_0x4d7a1f)=>{if(_0x4d7a1f[0x0]!=_0x9c972b)return _0x7b81d1(_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4d7a1f[0x1]={..._0x4d7a1f[0x1],[_0x5189f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d5b0e};},{[_0x5189f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5189f7([0x68,0x69,0x67,0x68])}),_0x455cc9[_0x5189f7([0x6f,0x6e])](_0x5189f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47359c=>{_0x24cdf0(_0x47359c[_0x5189f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3163a7=!0x0,_0x18473c(_0x47359c[_0x5189f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5189f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5189f7([0x6c,0x6f,0x77])}),_0x56a72b[_0x5189f7([0x74,0x68,0x65,0x6e])](()=>{_0x3163a7||_0x7b81d1(_0x5189f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x175f11(){return _0x455cc9[_0x5189f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5189f7([0x76,0x69,0x65,0x77])][_0x5189f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5189f7([0x61,0x75,0x74,0x6f]);}function _0x54e0cf(){_0x455cc9[_0x5189f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5189f7([0x76,0x69,0x65,0x77])][_0x5189f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5189f7([0x61,0x75,0x74,0x6f]);}}function _0x4d3488(_0x41ce29){const _0x4620f0=[new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ba7d3=>setTimeout(_0x2ba7d3,0x4984489b^_0x415761)),_0x56a72b[_0x5189f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dae56=>{let _0x480065=0x0;_0x455cc9[_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5189f7([0x6f,0x6e])](_0x5189f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13542d,_0x2ccff3)=>{_0x2ccff3[0x0][_0x5189f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x480065++,_0x480065==(0x498d77af^_0x415761)&&(_0x1dae56(),_0x13542d[_0x5189f7([0x6f,0x66,0x66])]());});}))];return window[_0x5189f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5189f7([0x72,0x61,0x63,0x65])](_0x4620f0)[_0x5189f7([0x74,0x68,0x65,0x6e])](()=>_0x41ce29);}async function _0x2bfbb5(){await _0x56a72b,_0x455cc9[_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5189f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19b540,_0x455cc9[_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x5189f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19b540,_0x455cc9[_0x5189f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5189f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x260466(_0x21cc63){const _0x18fd36=_0x233e17();_0x455cc9[_0x18fd36]=_0x5189f7([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])+_0x21cc63,_0x21cc63!=_0x5189f7([0x56,0x61,0x6c,0x69,0x64])&&_0x2bfbb5();}function _0x233e17(){const _0x42c4fc=window[_0x5189f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5189f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5189f7([0x6e,0x6f,0x77])]())[_0x5189f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5189f7([0x2e]),'');let _0x33f602=_0x5189f7([0x75]);for(let _0xf6f120=0x0;_0xf6f120<_0x42c4fc[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf6f120+=0x2){let _0x21241d=window[_0x5189f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42c4fc[_0x5189f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf6f120,_0xf6f120+0x2));_0x21241d>=_0x29dc4e[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21241d-=_0x29dc4e[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33f602+=_0x29dc4e[_0x21241d];}return _0x33f602;}function _0x4608ed(){const _0x322cdc=_0x43a680[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e]));if(0x3!=_0x322cdc[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e40c2(_0x322cdc[0x1]);function _0x4e40c2(_0x5c8575){const _0x554c07=_0x37e6bc(_0x5c8575);return _0x554c07&&_0x16e068()?_0x554c07:null;function _0x16e068(){const _0x552843=_0x554c07[_0x5189f7([0x6a,0x74,0x69])],_0x1142ed=window[_0x5189f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x552843[_0x5189f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x552843[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x133cb0={..._0x554c07,[_0x5189f7([0x6a,0x74,0x69])]:_0x552843[_0x5189f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x552843[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x133cb0[_0x5189f7([0x76,0x63])],_0x46fedd(_0x133cb0)==_0x1142ed;}}}async function _0x240109(){let _0x1e0ac3=!0x0;try{const _0x398e2=_0x43a680[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])](_0x5189f7([0x2e])),[_0xeed81f,_0x15d706,_0x4a4421]=_0x398e2;return _0x5ee805(_0xeed81f),await _0x283bc6(_0xeed81f,_0x15d706,_0x4a4421),_0x1e0ac3;}catch(_0x42f2f4){return!0x1;}function _0x5ee805(_0x4fce68){const _0x2c55b9=_0x37e6bc(_0x4fce68);_0x2c55b9&&_0x2c55b9[_0x5189f7([0x61,0x6c,0x67])]==_0x5189f7([0x45,0x53,0x32,0x35,0x36])||(_0x1e0ac3=!0x1);}async function _0x283bc6(_0x35cada,_0x2b21e7,_0x2f2a89){const _0x222b3d=window[_0x5189f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5189f7([0x66,0x72,0x6f,0x6d])](_0x3c3eb8(_0x2f2a89),_0x2a94d1=>_0x2a94d1[_0x5189f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22506f=new window[(_0x5189f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5189f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35cada+_0x5189f7([0x2e])+_0x2b21e7),_0x4dd814=window[_0x5189f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5189f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dd814)return;const _0x9b6207=await _0x4dd814[_0x5189f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5189f7([0x6a,0x77,0x6b]),_0x236613,{[_0x5189f7([0x6e,0x61,0x6d,0x65])]:_0x5189f7([0x45,0x43,0x44,0x53,0x41]),[_0x5189f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5189f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5189f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dd814[_0x5189f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5189f7([0x6e,0x61,0x6d,0x65])]:_0x5189f7([0x45,0x43,0x44,0x53,0x41]),[_0x5189f7([0x68,0x61,0x73,0x68])]:{[_0x5189f7([0x6e,0x61,0x6d,0x65])]:_0x5189f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9b6207,_0x222b3d,_0x22506f)||(_0x1e0ac3=!0x1);}}function _0x37e6bc(_0x5aa418){return _0x5aa418[_0x5189f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5189f7([0x65,0x79]))?JSON[_0x5189f7([0x70,0x61,0x72,0x73,0x65])](_0x3c3eb8(_0x5aa418)):null;}function _0x3c3eb8(_0x4a57cb){return window[_0x5189f7([0x61,0x74,0x6f,0x62])](_0x4a57cb[_0x5189f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5189f7([0x2b]))[_0x5189f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5189f7([0x2f])));}function _0x46fedd(_0x4e71c3){let _0x5c4422=0x1505;function _0x531f60(_0x3e0750){for(let _0x1192ef=0x0;_0x1192ef<_0x3e0750[_0x5189f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1192ef++){const _0x18bbd2=_0x3e0750[_0x5189f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1192ef);_0x5c4422=(_0x5c4422<<0x5)+_0x5c4422+_0x18bbd2,_0x5c4422&=_0x5c4422;}}function _0x279838(_0x2727f9){Array[_0x5189f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2727f9)?_0x2727f9[_0x5189f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x279838):_0x2727f9&&typeof _0x2727f9==_0x5189f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5189f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2727f9)[_0x5189f7([0x73,0x6f,0x72,0x74])]()[_0x5189f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1490cc,_0x27b563])=>{_0x531f60(_0x1490cc),_0x279838(_0x27b563);}):_0x531f60(window[_0x5189f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2727f9));}return _0x279838(_0x4e71c3),_0x5c4422>>>0x0;}function _0x547abb(_0x4b685b){return _0x4b685b[_0x5189f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5189f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5189f7([0x30]));}function _0x2d0d54(_0x357722){return _0x357722[_0x5189f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5189f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5189f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x19b540(){}function _0x5189f7(_0x5ba1bb){const _0x59e75e=_0x3577;return _0x5ba1bb[_0x59e75e(0x1a5)](_0x284184=>String[_0x59e75e(0x18e)](_0x284184))[_0x59e75e(0x18d)]('');}_0x260466(await _0x3784cf());}(this);}}
23
+ function _0x58b5(_0x48fe39,_0x243cd4){const _0x485a70=_0x485a();return _0x58b5=function(_0x58b545,_0x59fd35){_0x58b545=_0x58b545-0xd2;let _0x2f6a6b=_0x485a70[_0x58b545];return _0x2f6a6b;},_0x58b5(_0x48fe39,_0x243cd4);}const _0x2d7de4=_0x58b5;(function(_0x12ba3c,_0x1599ed){const _0x4ef6e4=_0x58b5,_0x58aeca=_0x12ba3c();while(!![]){try{const _0x4e780f=-parseInt(_0x4ef6e4(0xdf))/0x1*(-parseInt(_0x4ef6e4(0xe7))/0x2)+parseInt(_0x4ef6e4(0xef))/0x3+-parseInt(_0x4ef6e4(0xdc))/0x4+parseInt(_0x4ef6e4(0xd9))/0x5+-parseInt(_0x4ef6e4(0xe0))/0x6*(-parseInt(_0x4ef6e4(0xdb))/0x7)+-parseInt(_0x4ef6e4(0xed))/0x8*(-parseInt(_0x4ef6e4(0xe9))/0x9)+-parseInt(_0x4ef6e4(0xd6))/0xa*(parseInt(_0x4ef6e4(0xf1))/0xb);if(_0x4e780f===_0x1599ed)break;else _0x58aeca['push'](_0x58aeca['shift']());}catch(_0x29e76a){_0x58aeca['push'](_0x58aeca['shift']());}}}(_0x485a,0x52cd1));import{Plugin as _0x101b19}from'ckeditor5/src/core.js';import{parseHtml as _0x19be38}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x16ca43,uid as _0x4a1318}from'ckeditor5/src/utils.js';import _0x32c095 from'./normalizers/inliner/msofficestylesinliner.js';function _0x485a(){const _0x590209=['pluginName','634224ATUxye','_parsedData','2034609eUlUyl','view','209605RaAJeI','init','execute','high','requires','PasteFromOffice','get','isActive','plugins','isOfficialPlugin','editor','editing','750FwLSGY','map','getData','2275335MWFrNo','join','1093211Whbtcf','1639304ixKeQt','afterInit','PasteFromOfficeEnhancedInliner','10mQknaU','12EmJlTu','fromCharCode','dataTransfer','inputTransformation','isPremiumPlugin','document','ClipboardPipeline','130642IZPywL','stylesProcessor','9bkTfib','text/html','href'];_0x485a=function(){return _0x590209;};return _0x485a();}export default class i extends _0x101b19{static get[_0x2d7de4(0xec)](){const _0x553a2a=_0x2d7de4;return _0x553a2a(0xde);}static get[_0x2d7de4(0xd3)](){return!0x0;}static get[_0x2d7de4(0xe4)](){return!0x0;}static get[_0x2d7de4(0xf5)](){const _0x570825=_0x2d7de4;return[_0x570825(0xf6)];}[_0x2d7de4(0xf2)](){const _0x10f327=_0x2d7de4,_0xb017c1=this[_0x10f327(0xd4)],_0x972b2f=_0xb017c1[_0x10f327(0xd2)][_0x10f327(0xf7)](_0x10f327(0xe6)),_0x325a06=_0xb017c1[_0x10f327(0xd5)][_0x10f327(0xf0)][_0x10f327(0xe5)],_0x3485bc=new _0x32c095(_0x325a06);_0x972b2f['on'](_0x10f327(0xe3),(_0x16d3f4,_0x4b77d9)=>{const _0x490957=_0x10f327,_0x48c540=_0x4b77d9[_0x490957(0xe2)][_0x490957(0xd8)](_0x490957(0xea));_0x3485bc[_0x490957(0xf8)](_0x48c540)&&(_0x4b77d9[_0x490957(0xee)]||(_0x4b77d9[_0x490957(0xee)]=_0x19be38(_0x48c540,_0x325a06[_0x490957(0xe8)])),_0x3485bc[_0x490957(0xf3)](_0x4b77d9));},{'priority':_0x16ca43[_0x10f327(0xf7)](_0x10f327(0xf4))+0xb});}[_0x2d7de4(0xdd)](){!async function(_0x4bd409){const _0xe50f0f=_0x2dde3a([0x46,0x77,0x53,0x56,0x4b,0x6a,0x71,0x67,0x41,0x55,0x78,0x54,0x30,0x6f,0x4c,0x69,0x4f,0x35,0x57,0x45,0x52,0x62,0x51,0x39,0x7a,0x31,0x37,0x33,0x43,0x68,0x6b,0x73,0x74,0x6c,0x4d,0x44,0x47,0x5a,0x63,0x72,0x34,0x64,0x50,0x75,0x48,0x61,0x58,0x36,0x6e,0x38,0x4e,0x65,0x32,0x42,0x4a,0x66,0x70,0x6d,0x79,0x59,0x49,0x76]),_0x56223f=0x10a252e0,_0x14042e=0x10a50cf0^_0x56223f,_0x594af0=window[_0x2dde3a([0x44,0x61,0x74,0x65])][_0x2dde3a([0x6e,0x6f,0x77])](),_0x44a136=_0x4bd409[_0x2dde3a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4fc02f=new window[(_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e5a88=>{_0x44a136[_0x2dde3a([0x6f,0x6e,0x63,0x65])](_0x2dde3a([0x72,0x65,0x61,0x64,0x79]),_0x2e5a88);}),_0x5dbe88={[_0x2dde3a([0x6b,0x74,0x79])]:_0x2dde3a([0x45,0x43]),[_0x2dde3a([0x75,0x73,0x65])]:_0x2dde3a([0x73,0x69,0x67]),[_0x2dde3a([0x63,0x72,0x76])]:_0x2dde3a([0x50,0x2d,0x32,0x35,0x36]),[_0x2dde3a([0x78])]:_0x2dde3a([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]),[_0x2dde3a([0x79])]:_0x2dde3a([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]),[_0x2dde3a([0x61,0x6c,0x67])]:_0x2dde3a([0x45,0x53,0x32,0x35,0x36])},_0x2f5683=_0x44a136[_0x2dde3a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dde3a([0x67,0x65,0x74])](_0x2dde3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4147a4(){let _0x1378f1,_0x57a436=null,_0x355b97=null;try{if(_0x2f5683==_0x2dde3a([0x47,0x50,0x4c]))return _0x2dde3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1378f1=_0xc370ea(),!_0x1378f1)return _0x2dde3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1378f1[_0x2dde3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x355b97=_0x23fd5b(_0x1378f1[_0x2dde3a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1378f1[_0x2dde3a([0x6a,0x74,0x69])])),await _0x16a6e7()?_0x3db606()?_0xa4ef16()?_0x2dde3a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21adb0()?(_0x1378f1[_0x2dde3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dde3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57a436=_0x2add4e(_0x2dde3a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1378f1[_0x2dde3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dde3a([0x74,0x72,0x69,0x61,0x6c])&&(_0x57a436=_0x2add4e(_0x2dde3a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5561bb()):_0x2dde3a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dde3a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dde3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x7cef01){return _0x2dde3a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xa4ef16(){const _0x54473f=[_0x2dde3a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dde3a([0x74,0x72,0x69,0x61,0x6c])][_0x2dde3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1378f1[_0x2dde3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x594af0/0x3e8:0xe10*_0x14042e;return _0x1378f1[_0x2dde3a([0x65,0x78,0x70])]<_0x54473f;}function _0x3db606(){const _0x51ea76=_0x1378f1[_0x2dde3a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51ea76&&(!!_0x51ea76[_0x2dde3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dde3a([0x2a]))||(!!_0x51ea76[_0x2dde3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dde3a([0x50,0x4f,0x45]))||!!_0x51ea76[_0x2dde3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dde3a([0x50,0x50]))));}function _0x21adb0(){const _0x209280=_0x58b5,_0x1f327c=_0x1378f1[_0x2dde3a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1f327c||0x0==_0x1f327c[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e213f}=new URL(window[_0x2dde3a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x209280(0xeb)]);if(_0x1f327c[_0x2dde3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e213f))return!0x0;const _0x5a7f23=_0x3e213f[_0x2dde3a([0x73,0x70,0x6c,0x69,0x74])](_0x2dde3a([0x2e]));return _0x1f327c[_0x2dde3a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b0934=>_0x4b0934[_0x2dde3a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dde3a([0x2a])))[_0x2dde3a([0x6d,0x61,0x70])](_0x1adb8c=>_0x1adb8c[_0x2dde3a([0x73,0x70,0x6c,0x69,0x74])](_0x2dde3a([0x2e])))[_0x2dde3a([0x73,0x6f,0x6d,0x65])](_0x491df4=>_0x5a7f23[_0x2dde3a([0x65,0x76,0x65,0x72,0x79])]((_0x5e1baf,_0x3cbb4c)=>_0x491df4[_0x3cbb4c]===_0x5e1baf||_0x491df4[_0x3cbb4c]===_0x2dde3a([0x2a])));}function _0x5561bb(){return _0x57a436&&_0x355b97?new window[(_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f3ad3,_0x345ac4)=>{_0x57a436[_0x2dde3a([0x74,0x68,0x65,0x6e])](_0x4f3ad3,_0x345ac4),_0x355b97[_0x2dde3a([0x74,0x68,0x65,0x6e])](_0x18c396=>{_0x18c396!=_0x2dde3a([0x56,0x61,0x6c,0x69,0x64])&&_0x4f3ad3(_0x18c396);},_0x345ac4);}):_0x57a436||_0x355b97||_0x2dde3a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23fd5b(_0x363bce,_0x4600d8){return new window[(_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13fa27=>{if(_0x5d95f6())return _0x13fa27(_0x2dde3a([0x56,0x61,0x6c,0x69,0x64]));_0x7c8414(),_0x44a136[_0x2dde3a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dde3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58c79d=!0x1;const _0x560cea=_0x4a1318();function _0x3543ac(_0x26015d){return!!_0x26015d&&(typeof _0x26015d===_0x2dde3a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26015d===_0x2dde3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26015d[_0x2dde3a([0x74,0x68,0x65,0x6e])]===_0x2dde3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26015d[_0x2dde3a([0x63,0x61,0x74,0x63,0x68])]===_0x2dde3a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2dbfd4(_0x5c0999){_0x496410(_0x5c0999)[_0x2dde3a([0x74,0x68,0x65,0x6e])](_0x2aaa2c=>{if(!_0x2aaa2c||_0x2aaa2c[_0x2dde3a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dde3a([0x6f,0x6b]))return _0x2dde3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56c39f(_0x4e0d2b(_0x560cea+_0x4600d8))!=_0x2aaa2c[_0x2dde3a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dde3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dde3a([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dde3a([0x74,0x68,0x65,0x6e])](_0x180999=>(_0x2c366d(),_0x180999),()=>{const _0x3b546d=_0x16b7a3();return null==_0x3b546d?(_0x2c366d(),_0x2dde3a([0x56,0x61,0x6c,0x69,0x64])):_0x2dde3a(_0x594af0-_0x3b546d>(0x34aed6e0^_0x56223f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dde3a([0x74,0x68,0x65,0x6e])](_0x13fa27)[_0x2dde3a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13fa27(_0x2dde3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4692d8=0x1094bc60^_0x56223f;function _0x2c366d(){const _0x579b04=_0x2dde3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x56c39f(_0x4e0d2b(_0x363bce)),_0xaa43b3=_0x511fd6(_0x56c39f(window[_0x2dde3a([0x4d,0x61,0x74,0x68])][_0x2dde3a([0x63,0x65,0x69,0x6c])](_0x594af0/_0x4692d8)));window[_0x2dde3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dde3a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x579b04,_0xaa43b3);}function _0x16b7a3(){const _0x5706dd=_0x2dde3a([0x6c,0x6c,0x63,0x74,0x2d])+_0x56c39f(_0x4e0d2b(_0x363bce)),_0x30e3ec=window[_0x2dde3a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dde3a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5706dd);return _0x30e3ec?window[_0x2dde3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x511fd6(_0x30e3ec),0x10)*_0x4692d8:null;}function _0x496410(_0x3e900){return new window[(_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc996ec,_0x354599)=>{_0x3e900[_0x2dde3a([0x74,0x68,0x65,0x6e])](_0xc996ec,_0x354599),window[_0x2dde3a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354599,0x10a38620^_0x56223f);});}}_0x44a136[_0x2dde3a([0x6f,0x6e])](_0x2dde3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f962d,_0x3ec5a7)=>{if(_0x3ec5a7[0x0]!=_0x363bce)return _0x13fa27(_0x2dde3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ec5a7[0x1]={..._0x3ec5a7[0x1],[_0x2dde3a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x560cea};},{[_0x2dde3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dde3a([0x68,0x69,0x67,0x68])}),_0x44a136[_0x2dde3a([0x6f,0x6e])](_0x2dde3a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5716fd=>{_0x3543ac(_0x5716fd[_0x2dde3a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58c79d=!0x0,_0x2dbfd4(_0x5716fd[_0x2dde3a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dde3a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dde3a([0x6c,0x6f,0x77])}),_0x4fc02f[_0x2dde3a([0x74,0x68,0x65,0x6e])](()=>{_0x58c79d||_0x13fa27(_0x2dde3a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d95f6(){return _0x44a136[_0x2dde3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dde3a([0x76,0x69,0x65,0x77])][_0x2dde3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dde3a([0x61,0x75,0x74,0x6f]);}function _0x7c8414(){_0x44a136[_0x2dde3a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dde3a([0x76,0x69,0x65,0x77])][_0x2dde3a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dde3a([0x61,0x75,0x74,0x6f]);}}function _0x2add4e(_0x129318){const _0x302b08=[new window[(_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x375d6f=>setTimeout(_0x375d6f,0x10ab6c2c^_0x56223f)),_0x4fc02f[_0x2dde3a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aa197=>{let _0x33b246=0x0;_0x44a136[_0x2dde3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dde3a([0x6f,0x6e])](_0x2dde3a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x542d97,_0x3e6d2a)=>{_0x3e6d2a[0x0][_0x2dde3a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33b246++,_0x33b246==(0x10a25318^_0x56223f)&&(_0x3aa197(),_0x542d97[_0x2dde3a([0x6f,0x66,0x66])]());});}))];return window[_0x2dde3a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dde3a([0x72,0x61,0x63,0x65])](_0x302b08)[_0x2dde3a([0x74,0x68,0x65,0x6e])](()=>_0x129318);}async function _0x134b44(){await _0x4fc02f,_0x44a136[_0x2dde3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dde3a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x75d126,_0x44a136[_0x2dde3a([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dde3a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x75d126,_0x44a136[_0x2dde3a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dde3a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26f233(_0x237fa1){const _0xd63cfa=_0xe19df6();_0x44a136[_0xd63cfa]=_0x2dde3a([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])+_0x237fa1,_0x237fa1!=_0x2dde3a([0x56,0x61,0x6c,0x69,0x64])&&_0x134b44();}function _0xe19df6(){const _0x14fd6d=window[_0x2dde3a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dde3a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dde3a([0x6e,0x6f,0x77])]())[_0x2dde3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dde3a([0x2e]),'');let _0x5229d1=_0x2dde3a([0x46]);for(let _0x5db26e=0x0;_0x5db26e<_0x14fd6d[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5db26e+=0x2){let _0x3a77b2=window[_0x2dde3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14fd6d[_0x2dde3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5db26e,_0x5db26e+0x2));_0x3a77b2>=_0xe50f0f[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a77b2-=_0xe50f0f[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5229d1+=_0xe50f0f[_0x3a77b2];}return _0x5229d1;}function _0xc370ea(){const _0xb0f232=_0x2f5683[_0x2dde3a([0x73,0x70,0x6c,0x69,0x74])](_0x2dde3a([0x2e]));if(0x3!=_0xb0f232[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39d998(_0xb0f232[0x1]);function _0x39d998(_0x5bf286){const _0x52bda4=_0x5be054(_0x5bf286);return _0x52bda4&&_0x8b5f34()?_0x52bda4:null;function _0x8b5f34(){const _0x30f831=_0x52bda4[_0x2dde3a([0x6a,0x74,0x69])],_0x24764a=window[_0x2dde3a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30f831[_0x2dde3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30f831[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3f8413={..._0x52bda4,[_0x2dde3a([0x6a,0x74,0x69])]:_0x30f831[_0x2dde3a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30f831[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3f8413[_0x2dde3a([0x76,0x63])],_0x4e0d2b(_0x3f8413)==_0x24764a;}}}async function _0x16a6e7(){let _0x4a1df8=!0x0;try{const _0x1469e6=_0x2f5683[_0x2dde3a([0x73,0x70,0x6c,0x69,0x74])](_0x2dde3a([0x2e])),[_0x2b3072,_0x37b304,_0x19050c]=_0x1469e6;return _0x432153(_0x2b3072),await _0x23961d(_0x2b3072,_0x37b304,_0x19050c),_0x4a1df8;}catch(_0x34637a){return!0x1;}function _0x432153(_0x5dbbbf){const _0x30a76d=_0x5be054(_0x5dbbbf);_0x30a76d&&_0x30a76d[_0x2dde3a([0x61,0x6c,0x67])]==_0x2dde3a([0x45,0x53,0x32,0x35,0x36])||(_0x4a1df8=!0x1);}async function _0x23961d(_0x113ade,_0x560b66,_0x3fb5d4){const _0x2a720b=window[_0x2dde3a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dde3a([0x66,0x72,0x6f,0x6d])](_0x11df5c(_0x3fb5d4),_0xe4d775=>_0xe4d775[_0x2dde3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x345ffa=new window[(_0x2dde3a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dde3a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x113ade+_0x2dde3a([0x2e])+_0x560b66),_0x1e66d2=window[_0x2dde3a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dde3a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e66d2)return;const _0x31d9b9=await _0x1e66d2[_0x2dde3a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dde3a([0x6a,0x77,0x6b]),_0x5dbe88,{[_0x2dde3a([0x6e,0x61,0x6d,0x65])]:_0x2dde3a([0x45,0x43,0x44,0x53,0x41]),[_0x2dde3a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dde3a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dde3a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e66d2[_0x2dde3a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dde3a([0x6e,0x61,0x6d,0x65])]:_0x2dde3a([0x45,0x43,0x44,0x53,0x41]),[_0x2dde3a([0x68,0x61,0x73,0x68])]:{[_0x2dde3a([0x6e,0x61,0x6d,0x65])]:_0x2dde3a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x31d9b9,_0x2a720b,_0x345ffa)||(_0x4a1df8=!0x1);}}function _0x5be054(_0x71b3bc){return _0x71b3bc[_0x2dde3a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dde3a([0x65,0x79]))?JSON[_0x2dde3a([0x70,0x61,0x72,0x73,0x65])](_0x11df5c(_0x71b3bc)):null;}function _0x11df5c(_0x193800){return window[_0x2dde3a([0x61,0x74,0x6f,0x62])](_0x193800[_0x2dde3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dde3a([0x2b]))[_0x2dde3a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dde3a([0x2f])));}function _0x4e0d2b(_0x1f8b72){let _0xd287d0=0x1505;function _0x35212a(_0xc75820){for(let _0x2c3e01=0x0;_0x2c3e01<_0xc75820[_0x2dde3a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c3e01++){const _0xb52a77=_0xc75820[_0x2dde3a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c3e01);_0xd287d0=(_0xd287d0<<0x5)+_0xd287d0+_0xb52a77,_0xd287d0&=_0xd287d0;}}function _0x5690b2(_0xbc589b){Array[_0x2dde3a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xbc589b)?_0xbc589b[_0x2dde3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5690b2):_0xbc589b&&typeof _0xbc589b==_0x2dde3a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dde3a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xbc589b)[_0x2dde3a([0x73,0x6f,0x72,0x74])]()[_0x2dde3a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27134e,_0x5a7299])=>{_0x35212a(_0x27134e),_0x5690b2(_0x5a7299);}):_0x35212a(window[_0x2dde3a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xbc589b));}return _0x5690b2(_0x1f8b72),_0xd287d0>>>0x0;}function _0x56c39f(_0x47c087){return _0x47c087[_0x2dde3a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dde3a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dde3a([0x30]));}function _0x511fd6(_0x3ef741){return _0x3ef741[_0x2dde3a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dde3a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dde3a([0x6a,0x6f,0x69,0x6e])]('');}function _0x75d126(){}function _0x2dde3a(_0x1f5abb){const _0x1094ff=_0x58b5;return _0x1f5abb[_0x1094ff(0xd7)](_0x259dfc=>String[_0x1094ff(0xe1)](_0x259dfc))[_0x1094ff(0xda)]('');}_0x26f233(await _0x4147a4());}(this);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3998d1=_0x515c;function _0x515c(_0x5cb541,_0x32673a){const _0xbc0fde=_0xbc0f();return _0x515c=function(_0x515ce4,_0x2dbe5b){_0x515ce4=_0x515ce4-0x148;let _0x5279c8=_0xbc0fde[_0x515ce4];return _0x5279c8;},_0x515c(_0x5cb541,_0x32673a);}(function(_0x328aa6,_0x27495b){const _0x1fdfa2=_0x515c,_0x19a5b8=_0x328aa6();while(!![]){try{const _0x3a9e91=parseInt(_0x1fdfa2(0x159))/0x1+-parseInt(_0x1fdfa2(0x180))/0x2*(-parseInt(_0x1fdfa2(0x17f))/0x3)+parseInt(_0x1fdfa2(0x169))/0x4+parseInt(_0x1fdfa2(0x14b))/0x5*(-parseInt(_0x1fdfa2(0x181))/0x6)+-parseInt(_0x1fdfa2(0x163))/0x7*(parseInt(_0x1fdfa2(0x17a))/0x8)+-parseInt(_0x1fdfa2(0x150))/0x9*(parseInt(_0x1fdfa2(0x14d))/0xa)+-parseInt(_0x1fdfa2(0x14e))/0xb*(parseInt(_0x1fdfa2(0x176))/0xc);if(_0x3a9e91===_0x27495b)break;else _0x19a5b8['push'](_0x19a5b8['shift']());}catch(_0x2e2a0c){_0x19a5b8['push'](_0x19a5b8['shift']());}}}(_0xbc0f,0x1aa49));import{Plugin as _0x5a1fd3}from'ckeditor5/src/core.js';function _0xbc0f(){const _0x3165ee=['view','execute','_showLicenseError','pasteFromOfficeEnhancedLicenseKeyTrialLimit','trialLimit','171220AkQLuu','pasteFromOfficeEnhancedLicenseKeyValid','config','dataTransfer','domainLimit','stylesProcessor','get','pasteFromOfficeEnhancedLicenseKeyDomainLimit','requires','ClipboardPipeline','usageLimit','PasteFromOfficeEnhancedPropagator','pasteFromOfficeEnhancedLicenseKeyUsageLimit','5496jltyiv','isPremiumPlugin','_parsedData','init','72sRdKbZ','pluginName','pasteFromOfficeEnhancedLicenseKeyInvalid','_licenseKeyCheckInterval','PasteFromOffice','620601IBPTcc','2mRZIzA','36PTwdln','pasteFromOfficeEnhancedLicenseKeyExpired','featureNotAllowed','document','27310LnpqwI','isActive','1070pDQHaP','4367bCPSXT','editor','1935oFIGNn','plugins','PasteFromOfficeEnhanced','text/html','licenseKey','invalid','developmentLimit','destroy','inputTransformation','171157AMRECF','editing','evaluationLimit','getData','pasteFromOfficeEnhancedLicenseKeyEvaluationLimit','isOfficialPlugin','high','pasteFromOfficeEnhancedLicenseKeyDevelopmentLimit','pasteFromOfficeEnhancedLicenseKeyNotAllowed','expired','57631EMCVvh'];_0xbc0f=function(){return _0x3165ee;};return _0xbc0f();}import{parseHtml as _0x2609aa}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x24e26d}from'ckeditor5/src/utils.js';import _0x508d77 from'./normalizers/propagator/msofficeinlinestylepropagator.js';export default class s extends _0x5a1fd3{static get[_0x3998d1(0x17b)](){const _0xaf6aac=_0x3998d1;return _0xaf6aac(0x174);}static get[_0x3998d1(0x15e)](){return!0x0;}static get[_0x3998d1(0x177)](){return!0x0;}static get[_0x3998d1(0x171)](){const _0xe9e828=_0x3998d1;return[_0xe9e828(0x17e)];}[_0x3998d1(0x179)](){const _0x1d0dfe=_0x3998d1,_0x394610=this[_0x1d0dfe(0x14f)],_0x5e2ea3=_0x394610[_0x1d0dfe(0x151)][_0x1d0dfe(0x16f)](_0x1d0dfe(0x172)),_0x32ea8a=_0x394610[_0x1d0dfe(0x15a)][_0x1d0dfe(0x164)][_0x1d0dfe(0x14a)],_0x4a779a=new _0x508d77(_0x32ea8a);_0x5e2ea3['on'](_0x1d0dfe(0x158),(_0x2c70e3,_0x379c1b)=>{const _0x1a3373=_0x1d0dfe,_0x55f3bf=_0x379c1b[_0x1a3373(0x16c)][_0x1a3373(0x15c)](_0x1a3373(0x153));_0x4a779a[_0x1a3373(0x14c)](_0x55f3bf)&&(_0x379c1b[_0x1a3373(0x178)]||(_0x379c1b[_0x1a3373(0x178)]=_0x2609aa(_0x55f3bf,_0x32ea8a[_0x1a3373(0x16e)])),_0x4a779a[_0x1a3373(0x165)](_0x379c1b));},{'priority':_0x24e26d[_0x1d0dfe(0x16f)](_0x1d0dfe(0x15f))+0xa}),this[_0x1d0dfe(0x154)]=this[_0x1d0dfe(0x14f)][_0x1d0dfe(0x16b)][_0x1d0dfe(0x16f)](_0x1d0dfe(0x154));const _0x1d016d=this[_0x1d0dfe(0x14f)];this[_0x1d0dfe(0x17d)]=setInterval(()=>{const _0x53196a=_0x1d0dfe;let _0x27abf0;for(const _0x441808 in _0x1d016d){const _0x4327d1=_0x441808,_0x2b5db5=_0x1d016d[_0x4327d1];if(_0x53196a(0x16a)==_0x2b5db5||_0x53196a(0x17c)==_0x2b5db5||_0x53196a(0x148)==_0x2b5db5||_0x53196a(0x170)==_0x2b5db5||_0x53196a(0x161)==_0x2b5db5||_0x53196a(0x15d)==_0x2b5db5||_0x53196a(0x167)==_0x2b5db5||_0x53196a(0x160)==_0x2b5db5||_0x53196a(0x175)==_0x2b5db5){delete _0x1d016d[_0x4327d1],_0x27abf0=_0x2b5db5,clearInterval(this[_0x53196a(0x17d)]),this[_0x53196a(0x17d)]=void 0x0;break;}}_0x53196a(0x17c)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x155)),_0x53196a(0x148)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x162)),_0x53196a(0x170)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x16d)),_0x53196a(0x161)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x149),_0x53196a(0x152)),_0x53196a(0x15d)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x15b)),_0x53196a(0x167)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x168)),_0x53196a(0x160)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x156)),_0x53196a(0x175)==_0x27abf0&&_0x1d016d[_0x53196a(0x166)](_0x53196a(0x173));},0x3e8);}[_0x3998d1(0x157)](){const _0x1bdc67=_0x3998d1;super[_0x1bdc67(0x157)](),this[_0x1bdc67(0x17d)]&&clearInterval(this[_0x1bdc67(0x17d)]);}}
23
+ const _0x2fd00b=_0x3fa0;(function(_0x46c87f,_0x3228c9){const _0x54d97b=_0x3fa0,_0x2bac1b=_0x46c87f();while(!![]){try{const _0x2390c9=parseInt(_0x54d97b(0x1eb))/0x1*(parseInt(_0x54d97b(0x1df))/0x2)+parseInt(_0x54d97b(0x201))/0x3+parseInt(_0x54d97b(0x1f7))/0x4*(parseInt(_0x54d97b(0x20f))/0x5)+parseInt(_0x54d97b(0x210))/0x6+-parseInt(_0x54d97b(0x20a))/0x7+-parseInt(_0x54d97b(0x1fc))/0x8*(-parseInt(_0x54d97b(0x202))/0x9)+-parseInt(_0x54d97b(0x1f8))/0xa;if(_0x2390c9===_0x3228c9)break;else _0x2bac1b['push'](_0x2bac1b['shift']());}catch(_0x360e1d){_0x2bac1b['push'](_0x2bac1b['shift']());}}}(_0x3452,0x47072));import{Plugin as _0x1abc97}from'ckeditor5/src/core.js';function _0x3fa0(_0x26904d,_0xcbcc2f){const _0x345256=_0x3452();return _0x3fa0=function(_0x3fa0fa,_0x42bda0){_0x3fa0fa=_0x3fa0fa-0x1db;let _0x209f1c=_0x345256[_0x3fa0fa];return _0x209f1c;},_0x3fa0(_0x26904d,_0xcbcc2f);}import{parseHtml as _0x276c81}from'@ckeditor/ckeditor5-paste-from-office';import{priorities as _0x305fdf}from'ckeditor5/src/utils.js';import _0x55b66b from'./normalizers/propagator/msofficeinlinestylepropagator.js';export default class s extends _0x1abc97{static get[_0x2fd00b(0x20e)](){const _0x5305bc=_0x2fd00b;return _0x5305bc(0x1ef);}static get[_0x2fd00b(0x1ea)](){return!0x0;}static get[_0x2fd00b(0x1f2)](){return!0x0;}static get[_0x2fd00b(0x1ec)](){const _0x5cbd5b=_0x2fd00b;return[_0x5cbd5b(0x1f0)];}[_0x2fd00b(0x1db)](){const _0x1a2e8d=_0x2fd00b,_0x2ff785=this[_0x1a2e8d(0x205)],_0x2370d2=_0x2ff785[_0x1a2e8d(0x1e3)][_0x1a2e8d(0x209)](_0x1a2e8d(0x1fe)),_0xb7d11=_0x2ff785[_0x1a2e8d(0x1e9)][_0x1a2e8d(0x207)][_0x1a2e8d(0x1e0)],_0x3ef0c9=new _0x55b66b(_0xb7d11);_0x2370d2['on'](_0x1a2e8d(0x1fd),(_0x3a89e4,_0x3e2ff4)=>{const _0xc21b9c=_0x1a2e8d,_0x1ea160=_0x3e2ff4[_0xc21b9c(0x1e7)][_0xc21b9c(0x1f1)](_0xc21b9c(0x1ed));_0x3ef0c9[_0xc21b9c(0x1f6)](_0x1ea160)&&(_0x3e2ff4[_0xc21b9c(0x1f5)]||(_0x3e2ff4[_0xc21b9c(0x1f5)]=_0x276c81(_0x1ea160,_0xb7d11[_0xc21b9c(0x20c)])),_0x3ef0c9[_0xc21b9c(0x1dd)](_0x3e2ff4));},{'priority':_0x305fdf[_0x1a2e8d(0x209)](_0x1a2e8d(0x1e6))+0xa}),this[_0x1a2e8d(0x1e1)]=this[_0x1a2e8d(0x205)][_0x1a2e8d(0x20d)][_0x1a2e8d(0x209)](_0x1a2e8d(0x1e1));const _0x43d1ca=this[_0x1a2e8d(0x205)];this[_0x1a2e8d(0x1e8)]=setInterval(()=>{const _0x3a837=_0x1a2e8d;let _0x7d1639;for(const _0x5754ce in _0x43d1ca){const _0xdab008=_0x5754ce,_0x3c82ff=_0x43d1ca[_0xdab008];if(_0x3a837(0x1e2)==_0x3c82ff||_0x3a837(0x1ff)==_0x3c82ff||_0x3a837(0x208)==_0x3c82ff||_0x3a837(0x1de)==_0x3c82ff||_0x3a837(0x1f9)==_0x3c82ff||_0x3a837(0x1dc)==_0x3c82ff||_0x3a837(0x1fb)==_0x3c82ff||_0x3a837(0x1ee)==_0x3c82ff){delete _0x43d1ca[_0xdab008],_0x7d1639=_0x3c82ff,clearInterval(this[_0x3a837(0x1e8)]),this[_0x3a837(0x1e8)]=void 0x0;break;}}_0x3a837(0x1ff)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x206)),_0x3a837(0x208)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x1f4)),_0x3a837(0x1de)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x1fa)),_0x3a837(0x1f9)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x200),_0x3a837(0x1f3)),_0x3a837(0x1dc)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x204)),_0x3a837(0x1fb)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x203)),_0x3a837(0x1ee)==_0x7d1639&&_0x43d1ca[_0x3a837(0x1e4)](_0x3a837(0x1e5));},0x3e8);}[_0x2fd00b(0x20b)](){const _0x3ba70f=_0x2fd00b;super[_0x3ba70f(0x20b)](),this[_0x3ba70f(0x1e8)]&&clearInterval(this[_0x3ba70f(0x1e8)]);}}function _0x3452(){const _0x529541=['init','pasteFromOfficeEnhancedLicenseKeyEvaluationLimit','execute','pasteFromOfficeEnhancedLicenseKeyDomainLimit','32594cOEvKI','document','licenseKey','pasteFromOfficeEnhancedLicenseKeyValid','plugins','_showLicenseError','usageLimit','high','dataTransfer','_licenseKeyCheckInterval','editing','isOfficialPlugin','6KpKrtm','requires','text/html','pasteFromOfficeEnhancedLicenseKeyUsageLimit','PasteFromOfficeEnhancedPropagator','PasteFromOffice','getData','isPremiumPlugin','PasteFromOfficeEnhanced','expired','_parsedData','isActive','8gNSUFh','365200XwMMxq','pasteFromOfficeEnhancedLicenseKeyNotAllowed','domainLimit','pasteFromOfficeEnhancedLicenseKeyTrialLimit','306968GjJPls','inputTransformation','ClipboardPipeline','pasteFromOfficeEnhancedLicenseKeyInvalid','featureNotAllowed','1414083RAIGqP','9jUXbux','trialLimit','evaluationLimit','editor','invalid','view','pasteFromOfficeEnhancedLicenseKeyExpired','get','3041626bYuaxP','destroy','stylesProcessor','config','pluginName','249385wozQgt','328200cxQqTp'];_0x3452=function(){return _0x529541;};return _0x3452();}
package/src/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
package/src/utils.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x48c543,_0x3eaf16){const _0x198afa=_0x169b,_0x24e95f=_0x48c543();while(!![]){try{const _0x45c664=parseInt(_0x198afa(0x87))/0x1+parseInt(_0x198afa(0x85))/0x2*(parseInt(_0x198afa(0x86))/0x3)+-parseInt(_0x198afa(0x82))/0x4+-parseInt(_0x198afa(0x80))/0x5*(-parseInt(_0x198afa(0x7e))/0x6)+-parseInt(_0x198afa(0x7f))/0x7+parseInt(_0x198afa(0x84))/0x8+-parseInt(_0x198afa(0x83))/0x9;if(_0x45c664===_0x3eaf16)break;else _0x24e95f['push'](_0x24e95f['shift']());}catch(_0x322ae9){_0x24e95f['push'](_0x24e95f['shift']());}}}(_0x4601,0xf1ac4));const x=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;export function isMSExcelContent(_0x325172){const _0x146467=_0x169b;return x[_0x146467(0x81)](_0x325172);}function _0x169b(_0x4658fd,_0x22bd4c){const _0x4601c3=_0x4601();return _0x169b=function(_0x169bf0,_0x11eea3){_0x169bf0=_0x169bf0-0x7e;let _0x1967c1=_0x4601c3[_0x169bf0];return _0x1967c1;},_0x169b(_0x4658fd,_0x22bd4c);}function _0x4601(){const _0x369739=['12033272rnHuIy','39206oRJmhR','24IGgZXa','347168ElFJWX','6190866nRVaZd','2722230WTGfzP','5FaCBrA','test','4829996RcjvHL','4083129Mrmbrl'];_0x4601=function(){return _0x369739;};return _0x4601();}
23
+ function _0x3222(_0x38fbfb,_0x53384c){const _0x569e5a=_0x569e();return _0x3222=function(_0x3222f5,_0x1147e4){_0x3222f5=_0x3222f5-0x158;let _0x363c1d=_0x569e5a[_0x3222f5];return _0x363c1d;},_0x3222(_0x38fbfb,_0x53384c);}function _0x569e(){const _0x43d877=['837222pJacPN','3859604VlHpbi','5612526FUqlYB','1809796aVVsij','273340fWsYjt','test','620316bnEHaA','584046YVqtNa'];_0x569e=function(){return _0x43d877;};return _0x569e();}(function(_0x4e810f,_0x192ca2){const _0x4423f7=_0x3222,_0x11e7c3=_0x4e810f();while(!![]){try{const _0x5bf4c1=parseInt(_0x4423f7(0x15c))/0x1+-parseInt(_0x4423f7(0x15b))/0x2+parseInt(_0x4423f7(0x15d))/0x3+-parseInt(_0x4423f7(0x158))/0x4+parseInt(_0x4423f7(0x159))/0x5+parseInt(_0x4423f7(0x15f))/0x6+-parseInt(_0x4423f7(0x15e))/0x7;if(_0x5bf4c1===_0x192ca2)break;else _0x11e7c3['push'](_0x11e7c3['shift']());}catch(_0x619ec5){_0x11e7c3['push'](_0x11e7c3['shift']());}}}(_0x569e,0x83a5e));const m=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;export function isMSExcelContent(_0x58bbc2){const _0xc93268=_0x3222;return m[_0xc93268(0x15a)](_0x58bbc2);}
@@ -1,14 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { PasteFromOfficeEnhanced } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface PluginsMap {
12
- [PasteFromOfficeEnhanced.pluginName]: PasteFromOfficeEnhanced;
13
- }
14
- }
package/dist/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module paste-from-office-enhanced
11
- */
12
- export { default as PasteFromOfficeEnhanced } from './pastefromofficeenhanced.js';
13
- import './augmentation.js';
@@ -1,9 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- export {};
@@ -1,46 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { type NormalizerData, MSWordNormalizer } from '@ckeditor/ckeditor5-paste-from-office';
10
- /**
11
- * A normalizer that inlines styles passed along the content from MS Office.
12
- *
13
- * Normalizers are registered by the {@link module:paste-from-office-enhanced/pastefromofficeenhanced~PasteFromOfficeEnhanced}
14
- * plugin and run on {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:inputTransformation inputTransformation event}.
15
- * They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
16
- *
17
- * This particular normalizer turns a pasted content such as:
18
- *
19
- * ```html
20
- * <style>
21
- * p { margin-top: 10px }
22
- * .foo { font-family: Arial }
23
- * <style>
24
- * <p class="foo">Foo</p>
25
- * ```
26
- *
27
- * into:
28
- *
29
- * ```html
30
- * <style>
31
- * p { margin-top: 10px }
32
- * .foo { font-family: Arial }
33
- * <style>
34
- * <p class="foo" style="margin-top: 10px; font-family: Arial">Foo</p>
35
- * ```
36
- */
37
- export default class MSOfficeStylesInliner extends MSWordNormalizer {
38
- /**
39
- * @inheritDoc
40
- */
41
- execute(data: NormalizerData): void;
42
- /**
43
- * @inheritDoc
44
- */
45
- isActive(htmlString: string): boolean;
46
- }
@@ -1,132 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module paste-from-office-enhanced/normalizers/msofficestylesinliner/utils
11
- */
12
- import { type ViewElement } from 'ckeditor5/src/engine.js';
13
- type StyleSelector = string;
14
- type CSSStyleDefinitions = Record<string, string>;
15
- type ExtractedStyles = Record<StyleSelector, CSSStyleDefinitions>;
16
- type ExpandedStyles = Map<ParsedCSSSelector, CSSStyleDefinitions>;
17
- type ParsedCSSSelector = {
18
- tagName?: StyleSelector;
19
- className?: StyleSelector;
20
- };
21
- /**
22
- * Returns style definitions that match given element.
23
- *
24
- * @param element
25
- * @param expandedStyles
26
- * @returns
27
- */
28
- export declare function getMatchingStyles(element: ViewElement, expandedStyles: ExpandedStyles): ExpandedStyles;
29
- /**
30
- * Converts CSSStyleSheets into a simple object format:
31
- *
32
- * ```js
33
- * {
34
- * 'p, p.foo': {
35
- * 'font-family': 'Arial'
36
- * },
37
- * 'td': {
38
- * 'background': 'red'
39
- * },
40
- * // ...
41
- * }
42
- * ```
43
- * @param styles
44
- * @returns
45
- */
46
- export declare function extractStyles(styles: Array<CSSStyleSheet>): ExtractedStyles;
47
- /**
48
- * Expands styles object with complex selector into a map of unique parsed selectors and style definitions.
49
- *
50
- * ```ts
51
- * const styles = {
52
- * 'p, p.foo': {
53
- * 'font-family': 'Arial'
54
- * },
55
- * 'td': {
56
- * 'background': 'red'
57
- * },
58
- * // ...
59
- * }
60
- *
61
- * expandStyles( styles );
62
- *
63
- * {
64
- * { tagName: 'p' }: {
65
- * 'font-family': 'Arial'
66
- * },
67
- * { tagName: 'p', className: 'foo }: {
68
- * 'font-family': 'Arial'
69
- * },
70
- * { tagName: 'td' }: {
71
- * 'background': 'red'
72
- * },
73
- * // ...
74
- * }
75
- * ```
76
- * @param styles
77
- * @returns
78
- */
79
- export declare function expandStyles(styles: ExtractedStyles): ExpandedStyles;
80
- /**
81
- * Converts a native CSSStyleDeclaration into a simple object.
82
- *
83
- * ```ts
84
- * {
85
- * 'font-family': 'Arial'
86
- * 'background': 'red',
87
- * // ...
88
- * }
89
- * ```
90
- * @param declaration
91
- * @returns
92
- */
93
- export declare function parseCSSStyleDeclaration(declaration: CSSStyleDeclaration): CSSStyleDefinitions;
94
- /**
95
- * Parses CSS selector into an array of objects with tagName and className properties.
96
- *
97
- * ```ts
98
- * parseCSSSelector( 'p, p.foo' );
99
- * ```
100
- *
101
- * returns:
102
- *
103
- * ```ts
104
- * [
105
- * { tagName: 'p' },
106
- * { tagName: 'p', className: 'foo' }
107
- * ]
108
- * ```
109
- * @param selector
110
- * @returns
111
- */
112
- export declare function parseCSSSelector(selector: string): Array<ParsedCSSSelector>;
113
- /**
114
- * Flattens multiple style definitions considering their order to simulate a CSS cascade.
115
- *
116
- * ```ts
117
- * flattenStyleDefinitions( [
118
- * { 'font-family': 'Arial', 'margin-top': '1px', 'font-size': '10px' },
119
- * { 'font-family': 'monospace', 'margin-top': '3px' }
120
- * ] );
121
- * ```
122
- *
123
- * returns:
124
- *
125
- * ```ts
126
- * { 'font-family': 'monospace', 'margin-top': '3px', 'font-size': '10px' }
127
- * ```
128
- * @param definitions
129
- * @returns
130
- */
131
- export declare function flattenStyleDefinitions(definitions: Array<CSSStyleDefinitions>): CSSStyleDefinitions;
132
- export {};
@@ -1,47 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { type NormalizerData, MSWordNormalizer } from '@ckeditor/ckeditor5-paste-from-office';
10
- /**
11
- * A normalizer that propagates inline styles from block element into `span` element with style properties
12
- * and/or creates an `HTML` structure based on early mentioned block element styles.
13
- *
14
- * Normalizers are registered by the {@link module:paste-from-office-enhanced/pastefromofficeenhanced~PasteFromOfficeEnhanced}
15
- * plugin and run on {@link module:clipboard/clipboardpipeline~ClipboardPipeline#event:inputTransformation inputTransformation event}.
16
- * They detect environment-specific quirks and transform it into a form compatible with other CKEditor features.
17
- *
18
- * This particular normalizer turns a pasted content such as:
19
- *
20
- * ```html
21
- * <p style="color:red;font-size:10px;font-weight:bold;">
22
- * foo
23
- * </p>
24
- * ```
25
- *
26
- * into:
27
- *
28
- * ```html
29
- * <p>
30
- * <span style="color:red;font-size:10px">
31
- * <strong>
32
- * foo
33
- * </strong>
34
- * </span>
35
- * </p>
36
- * ```
37
- */
38
- export default class MSOfficeInlineStylePropagator extends MSWordNormalizer {
39
- /**
40
- * @inheritDoc
41
- */
42
- execute(data: NormalizerData): void;
43
- /**
44
- * @inheritDoc
45
- */
46
- isActive(htmlString: string): boolean;
47
- }