@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250201.0

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x8a455f,_0x2a6404){const _0x3c30d0=_0x58a9,_0x92e962=_0x8a455f();while(!![]){try{const _0x5ad908=parseInt(_0x3c30d0(0x120))/0x1+parseInt(_0x3c30d0(0x136))/0x2+parseInt(_0x3c30d0(0x13e))/0x3*(-parseInt(_0x3c30d0(0x124))/0x4)+parseInt(_0x3c30d0(0x126))/0x5*(-parseInt(_0x3c30d0(0x14a))/0x6)+parseInt(_0x3c30d0(0x14b))/0x7*(parseInt(_0x3c30d0(0x148))/0x8)+-parseInt(_0x3c30d0(0x135))/0x9+-parseInt(_0x3c30d0(0x137))/0xa*(parseInt(_0x3c30d0(0x140))/0xb);if(_0x5ad908===_0x2a6404)break;else _0x92e962['push'](_0x92e962['shift']());}catch(_0x1a7e34){_0x92e962['push'](_0x92e962['shift']());}}}(_0x384a,0x6ac2c));import{global as _0x45da20,DomEmitterMixin as _0x3a694a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x733a01){const _0x1cc4c5=_0x58a9,_0x2ec6a0=W(_0x733a01);return _0x5d6f11=>!(!_0x5d6f11||!_0x5d6f11['is'](_0x1cc4c5(0x11b),_0x1cc4c5(0x11d))&&!_0x5d6f11['is'](_0x1cc4c5(0x11b),_0x1cc4c5(0x127)))&&(!!_0x5d6f11[_0x1cc4c5(0x145)](_0x1cc4c5(0x130))||!!_0x5d6f11[_0x1cc4c5(0x145)](_0x1cc4c5(0x128))&&_0x2ec6a0(_0x5d6f11[_0x1cc4c5(0x129)](_0x1cc4c5(0x128))));}function _0x384a(){const _0x22b1fd=['element','aspect-ratio','imageBlock','load','create','570400tIwZDY','toViewElement','document','change','8596trItbe','(max-width:\x20','5NoRfkO','imageInline','src','getAttribute','function','some','match','x/\x20','height','setStyle','uploadcareImageId','listenTo','baseURI','replace','findViewImgElement','2833524nPufCY','1680480PqLfoV','9660ToNbCD','get','window','filter','px)\x20100vw,\x20','view','location','204yihGis','stopListening','4246puLONG','image-processing','mapper','viewToDom','domConverter','hasAttribute','image/webp','editing','5130464CfxLux','addClass','4684872mjYlvu','7hDDOEI','/-/resize/','join','origin','width','removeClass','removeStyle','ImageUtils','plugins','isArray','map'];_0x384a=function(){return _0x22b1fd;};return _0x384a();}export function getImageUrls(_0x3d8992,_0x4ae75f){const _0x3c6771=_0x58a9,_0x56416d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3c6771(0x13a)](_0x25cb53=>_0x25cb53<=_0x4ae75f)[_0x3c6771(0x11a)](_0x54528b=>_0x3d8992[_0x3c6771(0x133)](/\/$/,'')+_0x3c6771(0x14c)+_0x54528b+_0x3c6771(0x12d)+_0x54528b+'w');return{'imageFallbackUrl':_0x3d8992,'imageSources':[{'srcset':_0x56416d[_0x3c6771(0x14d)](',\x20'),'sizes':_0x3c6771(0x125)+_0x4ae75f+_0x3c6771(0x13b)+_0x4ae75f+'px','type':_0x3c6771(0x146)}]};}export function getImageDimension(_0x3f0633,_0x59e29a,_0x2e85f4){const _0x835e0d=_0x58a9,_0x49bf9f=_0x3f0633[_0x835e0d(0x12c)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x49bf9f?parseInt(_0x49bf9f[0x1],0xa):_0x59e29a,'height':_0x49bf9f?parseInt(_0x49bf9f[0x2],0xa):_0x2e85f4};}export function showImageProcessingIndicator(_0x5a40f2,_0x2df6d8){const _0x19f134=_0x58a9,_0x28e473=Object[_0x19f134(0x11f)](_0x3a694a),_0x96102=_0x5a40f2[_0x19f134(0x118)][_0x19f134(0x138)](_0x19f134(0x117)),_0x3162ce=_0x5a40f2[_0x19f134(0x147)][_0x19f134(0x142)][_0x19f134(0x121)](_0x2df6d8),_0x1aaceb=_0x96102[_0x19f134(0x134)](_0x3162ce),_0x525cb7=_0x5a40f2[_0x19f134(0x147)][_0x19f134(0x13c)][_0x19f134(0x144)][_0x19f134(0x143)](_0x1aaceb),_0x34604a=_0x2df6d8[_0x19f134(0x129)](_0x19f134(0x14f)),_0x3b6938=_0x2df6d8[_0x19f134(0x129)](_0x19f134(0x12e)),_0x37b1b3=_0x19f134(0x141);_0x5a40f2[_0x19f134(0x147)][_0x19f134(0x13c)][_0x19f134(0x123)](_0x2feb5c=>{const _0x1b1a9f=_0x19f134;_0x2feb5c[_0x1b1a9f(0x149)](_0x37b1b3,_0x3162ce),_0x2feb5c[_0x1b1a9f(0x12f)](_0x1b1a9f(0x11c),_0x34604a+'/'+_0x3b6938,_0x1aaceb);}),_0x28e473[_0x19f134(0x131)](_0x525cb7,_0x19f134(0x11e),()=>{const _0x3344dc=_0x19f134;_0x28e473[_0x3344dc(0x13f)](_0x525cb7,_0x3344dc(0x11e)),_0x5a40f2[_0x3344dc(0x147)][_0x3344dc(0x13c)][_0x3344dc(0x123)](_0x4274c8=>{const _0x53bf72=_0x3344dc;_0x4274c8[_0x53bf72(0x150)](_0x37b1b3,_0x3162ce),_0x4274c8[_0x53bf72(0x151)](_0x53bf72(0x11c),_0x1aaceb);});});}function _0x58a9(_0x4cfc19,_0x285fd1){const _0x384a37=_0x384a();return _0x58a9=function(_0x58a980,_0x495cd7){_0x58a980=_0x58a980-0x117;let _0x4f89ad=_0x384a37[_0x58a980];return _0x4f89ad;},_0x58a9(_0x4cfc19,_0x285fd1);}function W(_0x43dec2){const _0x3dac7e=_0x58a9;if(Array[_0x3dac7e(0x119)](_0x43dec2)){const _0x2aef11=_0x43dec2[_0x3dac7e(0x11a)](W);return _0x3ef010=>_0x2aef11[_0x3dac7e(0x12b)](_0x438e4e=>_0x438e4e(_0x3ef010));}if(_0x3dac7e(0x14e)==_0x43dec2){const _0x19c629=_0x45da20[_0x3dac7e(0x139)][_0x3dac7e(0x13d)][_0x3dac7e(0x14e)];return _0x1e5335=>new URL(_0x1e5335,_0x45da20[_0x3dac7e(0x122)][_0x3dac7e(0x132)])[_0x3dac7e(0x14e)]==_0x19c629;}return _0x3dac7e(0x12a)==typeof _0x43dec2?_0x43dec2:_0x43dec2 instanceof RegExp?_0x4fbca2=>!(!_0x4fbca2[_0x3dac7e(0x12c)](_0x43dec2)&&!_0x4fbca2[_0x3dac7e(0x133)](/^https?:\/\//,'')[_0x3dac7e(0x12c)](_0x43dec2)):()=>!0x1;}
23
+ (function(_0x5aabb4,_0x1b91f1){const _0x995f07=_0x2339,_0x2255b5=_0x5aabb4();while(!![]){try{const _0x2bcf04=parseInt(_0x995f07(0x101))/0x1*(parseInt(_0x995f07(0x110))/0x2)+parseInt(_0x995f07(0xdc))/0x3*(-parseInt(_0x995f07(0xf0))/0x4)+-parseInt(_0x995f07(0x10b))/0x5+parseInt(_0x995f07(0xf1))/0x6+parseInt(_0x995f07(0xef))/0x7*(parseInt(_0x995f07(0x108))/0x8)+-parseInt(_0x995f07(0xe8))/0x9+-parseInt(_0x995f07(0xe4))/0xa*(-parseInt(_0x995f07(0xe0))/0xb);if(_0x2bcf04===_0x1b91f1)break;else _0x2255b5['push'](_0x2255b5['shift']());}catch(_0xecf030){_0x2255b5['push'](_0x2255b5['shift']());}}}(_0x5a8a,0x637f9));function _0x2339(_0x347d9e,_0x229824){const _0x5a8a65=_0x5a8a();return _0x2339=function(_0x2339c0,_0x292e2f){_0x2339c0=_0x2339c0-0xd9;let _0x512e2d=_0x5a8a65[_0x2339c0];return _0x512e2d;},_0x2339(_0x347d9e,_0x229824);}import{global as _0x9c6048,DomEmitterMixin as _0x3e0f60}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x399bc2){const _0x346a5e=_0x2339,_0x3430f3=W(_0x399bc2);return _0x183b37=>!(!_0x183b37||!_0x183b37['is'](_0x346a5e(0xfd),_0x346a5e(0x105))&&!_0x183b37['is'](_0x346a5e(0xfd),_0x346a5e(0xe7)))&&(!!_0x183b37[_0x346a5e(0xeb)](_0x346a5e(0x10c))||!!_0x183b37[_0x346a5e(0xeb)](_0x346a5e(0xe6))&&_0x3430f3(_0x183b37[_0x346a5e(0xd9)](_0x346a5e(0xe6))));}export function getImageUrls(_0x14ad3a,_0x34cf90){const _0x6c8c39=_0x2339,_0x45fe6f=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x6c8c39(0x10a)](_0x54abd2=>_0x54abd2<=_0x34cf90)[_0x6c8c39(0xdd)](_0x50c218=>_0x14ad3a[_0x6c8c39(0x106)](/\/$/,'')+_0x6c8c39(0xe5)+_0x50c218+_0x6c8c39(0xf9)+_0x50c218+'w');return{'imageFallbackUrl':_0x14ad3a,'imageSources':[{'srcset':_0x45fe6f[_0x6c8c39(0xff)](',\x20'),'sizes':_0x6c8c39(0xe9)+_0x34cf90+_0x6c8c39(0xe2)+_0x34cf90+'px','type':_0x6c8c39(0xfa)}]};}export function getImageDimension(_0x29b59f,_0x2064ef,_0x25997e){const _0x377d82=_0x2339,_0x2736df=_0x29b59f[_0x377d82(0x100)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2736df?parseInt(_0x2736df[0x1],0xa):_0x2064ef,'height':_0x2736df?parseInt(_0x2736df[0x2],0xa):_0x25997e};}function _0x5a8a(){const _0x2cf26e=['create','hasAttribute','some','change','load','63Csnmmi','3908BteEPU','797952QjTzfa','listenTo','removeClass','location','height','image-processing','viewToDom','mapper','x/\x20','image/webp','isArray','stopListening','element','addClass','join','match','4RszFam','removeStyle','ImageUtils','aspect-ratio','imageBlock','replace','toViewElement','142864aRBxnc','domConverter','filter','2899665WxIxKR','uploadcareImageId','width','baseURI','get','16838FtkbZP','view','window','findViewImgElement','getAttribute','origin','setStyle','816udfAEn','map','function','plugins','429033KHsfOr','editing','px)\x20100vw,\x20','document','250hknIay','/-/resize/','src','imageInline','443187qrmazM','(max-width:\x20'];_0x5a8a=function(){return _0x2cf26e;};return _0x5a8a();}export function showImageProcessingIndicator(_0x1c359b,_0x54d2a7){const _0x4d825d=_0x2339,_0x1844c5=Object[_0x4d825d(0xea)](_0x3e0f60),_0x89d1d0=_0x1c359b[_0x4d825d(0xdf)][_0x4d825d(0x10f)](_0x4d825d(0x103)),_0x14464f=_0x1c359b[_0x4d825d(0xe1)][_0x4d825d(0xf8)][_0x4d825d(0x107)](_0x54d2a7),_0x455202=_0x89d1d0[_0x4d825d(0x113)](_0x14464f),_0x23c840=_0x1c359b[_0x4d825d(0xe1)][_0x4d825d(0x111)][_0x4d825d(0x109)][_0x4d825d(0xf7)](_0x455202),_0x815b70=_0x54d2a7[_0x4d825d(0xd9)](_0x4d825d(0x10d)),_0x1fdd4c=_0x54d2a7[_0x4d825d(0xd9)](_0x4d825d(0xf5)),_0x41c0f3=_0x4d825d(0xf6);_0x1c359b[_0x4d825d(0xe1)][_0x4d825d(0x111)][_0x4d825d(0xed)](_0x334d34=>{const _0x275127=_0x4d825d;_0x334d34[_0x275127(0xfe)](_0x41c0f3,_0x14464f),_0x334d34[_0x275127(0xdb)](_0x275127(0x104),_0x815b70+'/'+_0x1fdd4c,_0x455202);}),_0x1844c5[_0x4d825d(0xf2)](_0x23c840,_0x4d825d(0xee),()=>{const _0x38c530=_0x4d825d;_0x1844c5[_0x38c530(0xfc)](_0x23c840,_0x38c530(0xee)),_0x1c359b[_0x38c530(0xe1)][_0x38c530(0x111)][_0x38c530(0xed)](_0x5c50eb=>{const _0x40618b=_0x38c530;_0x5c50eb[_0x40618b(0xf3)](_0x41c0f3,_0x14464f),_0x5c50eb[_0x40618b(0x102)](_0x40618b(0x104),_0x455202);});});}function W(_0x398491){const _0x33ad1a=_0x2339;if(Array[_0x33ad1a(0xfb)](_0x398491)){const _0x48ff04=_0x398491[_0x33ad1a(0xdd)](W);return _0x37c94f=>_0x48ff04[_0x33ad1a(0xec)](_0x23f580=>_0x23f580(_0x37c94f));}if(_0x33ad1a(0xda)==_0x398491){const _0x24f708=_0x9c6048[_0x33ad1a(0x112)][_0x33ad1a(0xf4)][_0x33ad1a(0xda)];return _0x2f7df1=>new URL(_0x2f7df1,_0x9c6048[_0x33ad1a(0xe3)][_0x33ad1a(0x10e)])[_0x33ad1a(0xda)]==_0x24f708;}return _0x33ad1a(0xde)==typeof _0x398491?_0x398491:_0x398491 instanceof RegExp?_0xa03d6b=>!(!_0xa03d6b[_0x33ad1a(0x100)](_0x398491)&&!_0xa03d6b[_0x33ad1a(0x106)](/^https?:\/\//,'')[_0x33ad1a(0x100)](_0x398491)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1e37cc,_0x49affe){var _0x20dd1a=_0x3f3b,_0x23ae1d=_0x1e37cc();while(!![]){try{var _0x25dce7=-parseInt(_0x20dd1a(0x1d8))/0x1*(parseInt(_0x20dd1a(0x1d7))/0x2)+parseInt(_0x20dd1a(0x1cf))/0x3+-parseInt(_0x20dd1a(0x1da))/0x4+-parseInt(_0x20dd1a(0x1db))/0x5*(-parseInt(_0x20dd1a(0x1d2))/0x6)+parseInt(_0x20dd1a(0x1d6))/0x7+parseInt(_0x20dd1a(0x1d0))/0x8*(-parseInt(_0x20dd1a(0x1d3))/0x9)+-parseInt(_0x20dd1a(0x1d4))/0xa*(-parseInt(_0x20dd1a(0x1d1))/0xb);if(_0x25dce7===_0x49affe)break;else _0x23ae1d['push'](_0x23ae1d['shift']());}catch(_0x345a2b){_0x23ae1d['push'](_0x23ae1d['shift']());}}}(_0x2702,0x67887));import{getAncestors as _0x59e13f}from'ckeditor5/src/utils.js';export function isAncestor(_0x31157f,_0x1b681d){var _0x2f7dea=_0x3f3b;return _0x59e13f(_0x31157f[_0x2f7dea(0x1d5)])[_0x2f7dea(0x1d9)](_0x1b681d);}function _0x3f3b(_0x33e1e6,_0x1d91a2){var _0x270200=_0x2702();return _0x3f3b=function(_0x3f3b90,_0x4baf04){_0x3f3b90=_0x3f3b90-0x1cf;var _0x309212=_0x270200[_0x3f3b90];return _0x309212;},_0x3f3b(_0x33e1e6,_0x1d91a2);}function _0x2702(){var _0x5c922f=['370948wKzhjA','3385iudJcG','265863wpTtUv','728IHfsls','11wBntrz','948LxgzQV','17937LKwqEK','10467610rSJTiy','target','999838kcMlnx','31954IzIQzW','43rTfuvC','includes'];_0x2702=function(){return _0x5c922f;};return _0x2702();}
23
+ (function(_0x5c8c49,_0x1197a9){var _0x3efd1e=_0x52c3,_0x35bcf4=_0x5c8c49();while(!![]){try{var _0x2d6c2b=parseInt(_0x3efd1e(0xae))/0x1+parseInt(_0x3efd1e(0xb1))/0x2+parseInt(_0x3efd1e(0xb5))/0x3+parseInt(_0x3efd1e(0xb6))/0x4*(parseInt(_0x3efd1e(0xb4))/0x5)+-parseInt(_0x3efd1e(0xaf))/0x6+-parseInt(_0x3efd1e(0xb3))/0x7+-parseInt(_0x3efd1e(0xad))/0x8;if(_0x2d6c2b===_0x1197a9)break;else _0x35bcf4['push'](_0x35bcf4['shift']());}catch(_0x67266e){_0x35bcf4['push'](_0x35bcf4['shift']());}}}(_0x2fe3,0x40323));function _0x2fe3(){var _0x60dd53=['includes','972026qtdhbf','target','1016148fFSEvK','30RAqMVk','763410AltxAe','78940VjbcIp','2986248QvUzFw','409159wNSYGw','2919960IEOJYu'];_0x2fe3=function(){return _0x60dd53;};return _0x2fe3();}function _0x52c3(_0x31d729,_0x55475d){var _0x2fe3f3=_0x2fe3();return _0x52c3=function(_0x52c3d6,_0xd74bc4){_0x52c3d6=_0x52c3d6-0xad;var _0x439428=_0x2fe3f3[_0x52c3d6];return _0x439428;},_0x52c3(_0x31d729,_0x55475d);}import{getAncestors as _0x353acf}from'ckeditor5/src/utils.js';export function isAncestor(_0x2cd9f5,_0x41465e){var _0x1a968a=_0x52c3;return _0x353acf(_0x2cd9f5[_0x1a968a(0xb2)])[_0x1a968a(0xb0)](_0x41465e);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2d4974=_0x27a3;(function(_0x290430,_0x1fbf19){var _0x29df61=_0x27a3,_0x15c3da=_0x290430();while(!![]){try{var _0x1f2b17=parseInt(_0x29df61(0x175))/0x1*(-parseInt(_0x29df61(0x17d))/0x2)+-parseInt(_0x29df61(0x179))/0x3*(-parseInt(_0x29df61(0x171))/0x4)+parseInt(_0x29df61(0x177))/0x5+-parseInt(_0x29df61(0x17a))/0x6+parseInt(_0x29df61(0x174))/0x7*(-parseInt(_0x29df61(0x17e))/0x8)+-parseInt(_0x29df61(0x172))/0x9*(-parseInt(_0x29df61(0x176))/0xa)+parseInt(_0x29df61(0x173))/0xb;if(_0x1f2b17===_0x1fbf19)break;else _0x15c3da['push'](_0x15c3da['shift']());}catch(_0x5c1c02){_0x15c3da['push'](_0x15c3da['shift']());}}}(_0x63ac,0xd0bcf));import{uploadFile as _0x4e4829,info as _0x4c7f86}from'@uploadcare/upload-client';function _0x27a3(_0x2d7d6d,_0x445215){var _0x63ace3=_0x63ac();return _0x27a3=function(_0x27a346,_0x16694e){_0x27a346=_0x27a346-0x171;var _0x4a09df=_0x63ace3[_0x27a346];return _0x4a09df;},_0x27a3(_0x2d7d6d,_0x445215);}export default class C{static[_0x2d4974(0x17b)]({file:_0x685f3c,publicKey:_0x3ab8b9,signal:_0x150b46,onProgress:_0x4087ee}){var _0x15b6ae=_0x2d4974;return _0x4e4829(_0x685f3c,{'publicKey':_0x3ab8b9,'store':_0x15b6ae(0x178),'signal':_0x150b46,'onProgress':_0x4087ee});}static[_0x2d4974(0x17c)](_0x265df5,_0x49c0b1){return _0x4c7f86(_0x265df5,_0x49c0b1);}}function _0x63ac(){var _0x3f56ad=['3MJdVwh','8599092VkgLcJ','upload','getInfo','31082hUbLSg','48HRgmMe','3974356ZxmvMo','9TtVTZw','18874790yOSVdu','927332dULPPi','106YffnIX','5266210vzAigh','7471375wSUgGX','auto'];_0x63ac=function(){return _0x3f56ad;};return _0x63ac();}
23
+ function _0x3974(_0xcf85fe,_0x33e9f5){var _0x379b20=_0x379b();return _0x3974=function(_0x397437,_0x38eca3){_0x397437=_0x397437-0x72;var _0x443160=_0x379b20[_0x397437];return _0x443160;},_0x3974(_0xcf85fe,_0x33e9f5);}var _0xdfacde=_0x3974;(function(_0x5d275e,_0x3c5a6f){var _0x571ab9=_0x3974,_0x5e2704=_0x5d275e();while(!![]){try{var _0x5cabd8=parseInt(_0x571ab9(0x7b))/0x1*(-parseInt(_0x571ab9(0x75))/0x2)+parseInt(_0x571ab9(0x7a))/0x3+-parseInt(_0x571ab9(0x73))/0x4+-parseInt(_0x571ab9(0x76))/0x5+parseInt(_0x571ab9(0x78))/0x6+-parseInt(_0x571ab9(0x74))/0x7+-parseInt(_0x571ab9(0x77))/0x8*(-parseInt(_0x571ab9(0x72))/0x9);if(_0x5cabd8===_0x3c5a6f)break;else _0x5e2704['push'](_0x5e2704['shift']());}catch(_0x1e6703){_0x5e2704['push'](_0x5e2704['shift']());}}}(_0x379b,0x1a20e));import{uploadFile as _0x4af09c,info as _0x32eb4d}from'@uploadcare/upload-client';export default class C{static[_0xdfacde(0x7c)]({file:_0x311251,publicKey:_0x4a96e7,signal:_0x53b45c,onProgress:_0x2d0992}){var _0x42115a=_0xdfacde;return _0x4af09c(_0x311251,{'publicKey':_0x4a96e7,'store':_0x42115a(0x7d),'signal':_0x53b45c,'onProgress':_0x2d0992});}static[_0xdfacde(0x79)](_0x161800,_0x475a63){return _0x32eb4d(_0x161800,_0x475a63);}}function _0x379b(){var _0x504d9f=['497693RBHkgl','6eXLYoH','354325FFqfIr','982104TjCXcx','668334HvbmpN','getInfo','360393bjOeTa','28331ouGCLn','upload','auto','9NxItxD','81216RVjyty'];_0x379b=function(){return _0x504d9f;};return _0x379b();}