@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250205.0 → 0.0.0-nightly-20250207.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(_0x371d8c,_0x27898b){const _0x3aa86d=_0x5251,_0x3f6e88=_0x371d8c();while(!![]){try{const _0x5ef15b=parseInt(_0x3aa86d(0x1ed))/0x1+-parseInt(_0x3aa86d(0x1f0))/0x2*(parseInt(_0x3aa86d(0x1ef))/0x3)+-parseInt(_0x3aa86d(0x1f9))/0x4+parseInt(_0x3aa86d(0x20b))/0x5+parseInt(_0x3aa86d(0x1f3))/0x6*(parseInt(_0x3aa86d(0x1da))/0x7)+-parseInt(_0x3aa86d(0x1ea))/0x8*(parseInt(_0x3aa86d(0x1e2))/0x9)+parseInt(_0x3aa86d(0x204))/0xa;if(_0x5ef15b===_0x27898b)break;else _0x3f6e88['push'](_0x3f6e88['shift']());}catch(_0x38381c){_0x3f6e88['push'](_0x3f6e88['shift']());}}}(_0x3775,0x6cd8e));import{global as _0x3e42a9,DomEmitterMixin as _0x1c3ceb}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5007ed){const _0x5a0385=_0x5251,_0x29c427=W(_0x5007ed);return _0x1f9b30=>!(!_0x1f9b30||!_0x1f9b30['is'](_0x5a0385(0x1f1),_0x5a0385(0x1fd))&&!_0x1f9b30['is'](_0x5a0385(0x1f1),_0x5a0385(0x1e5)))&&(!!_0x1f9b30[_0x5a0385(0x20e)](_0x5a0385(0x1ec))||!!_0x1f9b30[_0x5a0385(0x20e)](_0x5a0385(0x1e7))&&_0x29c427(_0x1f9b30[_0x5a0385(0x1df)](_0x5a0385(0x1e7))));}function _0x3775(){const _0x37b5ec=['document','stopListening','listenTo','6683550fXzYOm','height','replace','editing','isArray','function','/-/resize/','777200DOLNIo','removeStyle','load','hasAttribute','create','window','aspect-ratio','view','findViewImgElement','18921JFZXTR','removeClass','match','width','ImageUtils','getAttribute','domConverter','some','739305ECJaVW','origin','setStyle','imageInline','filter','src','map','change','56CsKIYm','addClass','uploadcareImageId','553505AAgcOg','viewToDom','35877xaDRIR','58SOZcJM','element','px)\x20100vw,\x20','744siIwrM','toViewElement','location','(max-width:\x20','x/\x20','get','1379232NCkCCc','plugins','image-processing','mapper','imageBlock','image/webp','baseURI','join'];_0x3775=function(){return _0x37b5ec;};return _0x3775();}export function getImageUrls(_0x159195,_0x242417){const _0x3b803f=_0x5251,_0x5c3bcf=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3b803f(0x1e6)](_0x38ab68=>_0x38ab68<=_0x242417)[_0x3b803f(0x1e8)](_0x53e732=>_0x159195[_0x3b803f(0x206)](/\/$/,'')+_0x3b803f(0x20a)+_0x53e732+_0x3b803f(0x1f7)+_0x53e732+'w');return{'imageFallbackUrl':_0x159195,'imageSources':[{'srcset':_0x5c3bcf[_0x3b803f(0x200)](',\x20'),'sizes':_0x3b803f(0x1f6)+_0x242417+_0x3b803f(0x1f2)+_0x242417+'px','type':_0x3b803f(0x1fe)}]};}function _0x5251(_0x584d12,_0x539fe4){const _0x3775d8=_0x3775();return _0x5251=function(_0x525154,_0x46469a){_0x525154=_0x525154-0x1da;let _0x45cf93=_0x3775d8[_0x525154];return _0x45cf93;},_0x5251(_0x584d12,_0x539fe4);}export function getImageDimension(_0x3d9bc8,_0x4cc684,_0x571b1c){const _0x2d3fe5=_0x5251,_0x33dec2=_0x3d9bc8[_0x2d3fe5(0x1dc)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x33dec2?parseInt(_0x33dec2[0x1],0xa):_0x4cc684,'height':_0x33dec2?parseInt(_0x33dec2[0x2],0xa):_0x571b1c};}export function showImageProcessingIndicator(_0xe705c5,_0x54dcae){const _0x54bd2=_0x5251,_0x881af3=Object[_0x54bd2(0x20f)](_0x1c3ceb),_0x33efd0=_0xe705c5[_0x54bd2(0x1fa)][_0x54bd2(0x1f8)](_0x54bd2(0x1de)),_0x89dd9f=_0xe705c5[_0x54bd2(0x207)][_0x54bd2(0x1fc)][_0x54bd2(0x1f4)](_0x54dcae),_0x50c9cc=_0x33efd0[_0x54bd2(0x213)](_0x89dd9f),_0x7ea4f1=_0xe705c5[_0x54bd2(0x207)][_0x54bd2(0x212)][_0x54bd2(0x1e0)][_0x54bd2(0x1ee)](_0x50c9cc),_0x5392c3=_0x54dcae[_0x54bd2(0x1df)](_0x54bd2(0x1dd)),_0xc625ac=_0x54dcae[_0x54bd2(0x1df)](_0x54bd2(0x205)),_0x3bb722=_0x54bd2(0x1fb);_0xe705c5[_0x54bd2(0x207)][_0x54bd2(0x212)][_0x54bd2(0x1e9)](_0x172d63=>{const _0x23ba6b=_0x54bd2;_0x172d63[_0x23ba6b(0x1eb)](_0x3bb722,_0x89dd9f),_0x172d63[_0x23ba6b(0x1e4)](_0x23ba6b(0x211),_0x5392c3+'/'+_0xc625ac,_0x50c9cc);}),_0x881af3[_0x54bd2(0x203)](_0x7ea4f1,_0x54bd2(0x20d),()=>{const _0x5e8f66=_0x54bd2;_0x881af3[_0x5e8f66(0x202)](_0x7ea4f1,_0x5e8f66(0x20d)),_0xe705c5[_0x5e8f66(0x207)][_0x5e8f66(0x212)][_0x5e8f66(0x1e9)](_0x463a36=>{const _0x596abc=_0x5e8f66;_0x463a36[_0x596abc(0x1db)](_0x3bb722,_0x89dd9f),_0x463a36[_0x596abc(0x20c)](_0x596abc(0x211),_0x50c9cc);});});}function W(_0x5b07f7){const _0x39defd=_0x5251;if(Array[_0x39defd(0x208)](_0x5b07f7)){const _0x4a8f56=_0x5b07f7[_0x39defd(0x1e8)](W);return _0x5a7013=>_0x4a8f56[_0x39defd(0x1e1)](_0x3fce75=>_0x3fce75(_0x5a7013));}if(_0x39defd(0x1e3)==_0x5b07f7){const _0x448757=_0x3e42a9[_0x39defd(0x210)][_0x39defd(0x1f5)][_0x39defd(0x1e3)];return _0x6336b7=>new URL(_0x6336b7,_0x3e42a9[_0x39defd(0x201)][_0x39defd(0x1ff)])[_0x39defd(0x1e3)]==_0x448757;}return _0x39defd(0x209)==typeof _0x5b07f7?_0x5b07f7:_0x5b07f7 instanceof RegExp?_0x29b9ce=>!(!_0x29b9ce[_0x39defd(0x1dc)](_0x5b07f7)&&!_0x29b9ce[_0x39defd(0x206)](/^https?:\/\//,'')[_0x39defd(0x1dc)](_0x5b07f7)):()=>!0x1;}
23
+ (function(_0x3a6e17,_0x3074cf){const _0x44e73a=_0x3a20,_0x51be46=_0x3a6e17();while(!![]){try{const _0x1b4e20=-parseInt(_0x44e73a(0x1b1))/0x1+parseInt(_0x44e73a(0x18f))/0x2*(-parseInt(_0x44e73a(0x1b8))/0x3)+parseInt(_0x44e73a(0x1a8))/0x4+parseInt(_0x44e73a(0x1ad))/0x5+-parseInt(_0x44e73a(0x18d))/0x6*(parseInt(_0x44e73a(0x183))/0x7)+-parseInt(_0x44e73a(0x1af))/0x8*(-parseInt(_0x44e73a(0x194))/0x9)+parseInt(_0x44e73a(0x1a1))/0xa*(-parseInt(_0x44e73a(0x1a4))/0xb);if(_0x1b4e20===_0x3074cf)break;else _0x51be46['push'](_0x51be46['shift']());}catch(_0x2455a6){_0x51be46['push'](_0x51be46['shift']());}}}(_0x4753,0x625d6));import{global as _0x144c0e,DomEmitterMixin as _0x495aa8}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x7c5bcd){const _0x5e5166=_0x3a20,_0x4ea39a=W(_0x7c5bcd);return _0x35cd3d=>!(!_0x35cd3d||!_0x35cd3d['is'](_0x5e5166(0x180),_0x5e5166(0x187))&&!_0x35cd3d['is'](_0x5e5166(0x180),_0x5e5166(0x18b)))&&(!!_0x35cd3d[_0x5e5166(0x1a6)](_0x5e5166(0x186))||!!_0x35cd3d[_0x5e5166(0x1a6)](_0x5e5166(0x196))&&_0x4ea39a(_0x35cd3d[_0x5e5166(0x19c)](_0x5e5166(0x196))));}function _0x3a20(_0x45a6e8,_0x3e1918){const _0x4753fe=_0x4753();return _0x3a20=function(_0x3a20e4,_0x5b9c38){_0x3a20e4=_0x3a20e4-0x180;let _0x591b0a=_0x4753fe[_0x3a20e4];return _0x591b0a;},_0x3a20(_0x45a6e8,_0x3e1918);}export function getImageUrls(_0x4a5130,_0x52ca55){const _0x121547=_0x3a20,_0x3c2e04=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x121547(0x19a)](_0x7e0d5a=>_0x7e0d5a<=_0x52ca55)[_0x121547(0x182)](_0x34c561=>_0x4a5130[_0x121547(0x1b2)](/\/$/,'')+_0x121547(0x1ba)+_0x34c561+_0x121547(0x193)+_0x34c561+'w');return{'imageFallbackUrl':_0x4a5130,'imageSources':[{'srcset':_0x3c2e04[_0x121547(0x1b9)](',\x20'),'sizes':_0x121547(0x1a7)+_0x52ca55+_0x121547(0x1a2)+_0x52ca55+'px','type':_0x121547(0x192)}]};}function _0x4753(){const _0x1026dd=['/-/resize/','element','view','map','49UWvKlM','viewToDom','findViewImgElement','uploadcareImageId','imageBlock','baseURI','ImageUtils','some','imageInline','isArray','647142CcIsQp','editing','4KRMhGm','create','removeClass','image/webp','x/\x20','63SwFTwJ','setStyle','src','image-processing','change','height','filter','listenTo','getAttribute','stopListening','match','toViewElement','mapper','10CpAphM','px)\x20100vw,\x20','aspect-ratio','6596447VlDeWr','plugins','hasAttribute','(max-width:\x20','3050068mINviD','get','function','document','window','2457875KQmwKf','domConverter','717512ABMShg','origin','35115owEFzB','replace','removeStyle','location','addClass','width','load','133833Lffwtq','join'];_0x4753=function(){return _0x1026dd;};return _0x4753();}export function getImageDimension(_0x5e9dec,_0x385835,_0x306302){const _0x5781bf=_0x3a20,_0x324420=_0x5e9dec[_0x5781bf(0x19e)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x324420?parseInt(_0x324420[0x1],0xa):_0x385835,'height':_0x324420?parseInt(_0x324420[0x2],0xa):_0x306302};}export function showImageProcessingIndicator(_0x31ef58,_0x5c3153){const _0x48192b=_0x3a20,_0x1a6eeb=Object[_0x48192b(0x190)](_0x495aa8),_0x2ac7d8=_0x31ef58[_0x48192b(0x1a5)][_0x48192b(0x1a9)](_0x48192b(0x189)),_0x1a2f8c=_0x31ef58[_0x48192b(0x18e)][_0x48192b(0x1a0)][_0x48192b(0x19f)](_0x5c3153),_0x28e6a8=_0x2ac7d8[_0x48192b(0x185)](_0x1a2f8c),_0x3af610=_0x31ef58[_0x48192b(0x18e)][_0x48192b(0x181)][_0x48192b(0x1ae)][_0x48192b(0x184)](_0x28e6a8),_0x4587e9=_0x5c3153[_0x48192b(0x19c)](_0x48192b(0x1b6)),_0x1d522f=_0x5c3153[_0x48192b(0x19c)](_0x48192b(0x199)),_0xd72352=_0x48192b(0x197);_0x31ef58[_0x48192b(0x18e)][_0x48192b(0x181)][_0x48192b(0x198)](_0x599aa4=>{const _0x34163c=_0x48192b;_0x599aa4[_0x34163c(0x1b5)](_0xd72352,_0x1a2f8c),_0x599aa4[_0x34163c(0x195)](_0x34163c(0x1a3),_0x4587e9+'/'+_0x1d522f,_0x28e6a8);}),_0x1a6eeb[_0x48192b(0x19b)](_0x3af610,_0x48192b(0x1b7),()=>{const _0x276544=_0x48192b;_0x1a6eeb[_0x276544(0x19d)](_0x3af610,_0x276544(0x1b7)),_0x31ef58[_0x276544(0x18e)][_0x276544(0x181)][_0x276544(0x198)](_0x47f75c=>{const _0x3b4227=_0x276544;_0x47f75c[_0x3b4227(0x191)](_0xd72352,_0x1a2f8c),_0x47f75c[_0x3b4227(0x1b3)](_0x3b4227(0x1a3),_0x28e6a8);});});}function W(_0x38e98f){const _0x3e722b=_0x3a20;if(Array[_0x3e722b(0x18c)](_0x38e98f)){const _0x3f5e69=_0x38e98f[_0x3e722b(0x182)](W);return _0x1def59=>_0x3f5e69[_0x3e722b(0x18a)](_0x4121cb=>_0x4121cb(_0x1def59));}if(_0x3e722b(0x1b0)==_0x38e98f){const _0x495f48=_0x144c0e[_0x3e722b(0x1ac)][_0x3e722b(0x1b4)][_0x3e722b(0x1b0)];return _0x33ddb7=>new URL(_0x33ddb7,_0x144c0e[_0x3e722b(0x1ab)][_0x3e722b(0x188)])[_0x3e722b(0x1b0)]==_0x495f48;}return _0x3e722b(0x1aa)==typeof _0x38e98f?_0x38e98f:_0x38e98f instanceof RegExp?_0x52f4f3=>!(!_0x52f4f3[_0x3e722b(0x19e)](_0x38e98f)&&!_0x52f4f3[_0x3e722b(0x1b2)](/^https?:\/\//,'')[_0x3e722b(0x19e)](_0x38e98f)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x466c5d,_0x43f59e){var _0x2ce3ea=_0x57aa,_0x2fc018=_0x466c5d();while(!![]){try{var _0x14dd1c=-parseInt(_0x2ce3ea(0xef))/0x1+parseInt(_0x2ce3ea(0xf2))/0x2+-parseInt(_0x2ce3ea(0xec))/0x3*(-parseInt(_0x2ce3ea(0xee))/0x4)+-parseInt(_0x2ce3ea(0xe9))/0x5+-parseInt(_0x2ce3ea(0xf0))/0x6+parseInt(_0x2ce3ea(0xf1))/0x7*(parseInt(_0x2ce3ea(0xea))/0x8)+-parseInt(_0x2ce3ea(0xe8))/0x9*(-parseInt(_0x2ce3ea(0xed))/0xa);if(_0x14dd1c===_0x43f59e)break;else _0x2fc018['push'](_0x2fc018['shift']());}catch(_0x8ccfd4){_0x2fc018['push'](_0x2fc018['shift']());}}}(_0x20c5,0xa4569));import{getAncestors as _0x3ccd10}from'ckeditor5/src/utils.js';function _0x57aa(_0x5aa270,_0x5edbbd){var _0x20c53b=_0x20c5();return _0x57aa=function(_0x57aa4b,_0x422fae){_0x57aa4b=_0x57aa4b-0xe7;var _0x3da8c0=_0x20c53b[_0x57aa4b];return _0x3da8c0;},_0x57aa(_0x5aa270,_0x5edbbd);}export function isAncestor(_0x3ec591,_0x79cef9){var _0x38279f=_0x57aa;return _0x3ccd10(_0x3ec591[_0x38279f(0xeb)])[_0x38279f(0xe7)](_0x79cef9);}function _0x20c5(){var _0x1bd522=['includes','4714830nPySfl','4100805rBCOtM','8txhxfp','target','3IIyfuI','10xQOhqZ','3900364Lwgwxw','999375qQSwAR','1656570VyAAuV','1021699yTPqfO','2247684Qdkdwz'];_0x20c5=function(){return _0x1bd522;};return _0x20c5();}
23
+ function _0x343e(_0x4597b6,_0x4057d3){var _0x4bd8d1=_0x4bd8();return _0x343e=function(_0x343e53,_0x25bd92){_0x343e53=_0x343e53-0xad;var _0x504325=_0x4bd8d1[_0x343e53];return _0x504325;},_0x343e(_0x4597b6,_0x4057d3);}(function(_0x42aad2,_0x4b1ac3){var _0x59b2e8=_0x343e,_0x15c392=_0x42aad2();while(!![]){try{var _0x395c5c=-parseInt(_0x59b2e8(0xb6))/0x1+parseInt(_0x59b2e8(0xae))/0x2*(parseInt(_0x59b2e8(0xaf))/0x3)+-parseInt(_0x59b2e8(0xb8))/0x4*(-parseInt(_0x59b2e8(0xb1))/0x5)+-parseInt(_0x59b2e8(0xb7))/0x6*(-parseInt(_0x59b2e8(0xb0))/0x7)+-parseInt(_0x59b2e8(0xb3))/0x8+parseInt(_0x59b2e8(0xb4))/0x9+-parseInt(_0x59b2e8(0xad))/0xa;if(_0x395c5c===_0x4b1ac3)break;else _0x15c392['push'](_0x15c392['shift']());}catch(_0x405589){_0x15c392['push'](_0x15c392['shift']());}}}(_0x4bd8,0xc88f8));function _0x4bd8(){var _0x4ab2c7=['3LhUKSH','2381953ukkREr','7052015ElNSZM','target','11600088SoXNKs','9051660QLUhvG','includes','768785VRqhYy','12sTXVeQ','4OWidwy','16308440kPmZMq','3148870rtNiiq'];_0x4bd8=function(){return _0x4ab2c7;};return _0x4bd8();}import{getAncestors as _0x4fa385}from'ckeditor5/src/utils.js';export function isAncestor(_0x114989,_0x23bb37){var _0x45b5c3=_0x343e;return _0x4fa385(_0x114989[_0x45b5c3(0xb2)])[_0x45b5c3(0xb5)](_0x23bb37);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b7772=_0x572f;(function(_0x78f51b,_0x4cc64f){var _0x4995b0=_0x572f,_0x204e7c=_0x78f51b();while(!![]){try{var _0x2a2d66=-parseInt(_0x4995b0(0x1e3))/0x1+parseInt(_0x4995b0(0x1e7))/0x2*(-parseInt(_0x4995b0(0x1e9))/0x3)+parseInt(_0x4995b0(0x1e1))/0x4*(-parseInt(_0x4995b0(0x1dd))/0x5)+-parseInt(_0x4995b0(0x1e2))/0x6*(-parseInt(_0x4995b0(0x1e5))/0x7)+-parseInt(_0x4995b0(0x1e4))/0x8+-parseInt(_0x4995b0(0x1df))/0x9+parseInt(_0x4995b0(0x1e8))/0xa;if(_0x2a2d66===_0x4cc64f)break;else _0x204e7c['push'](_0x204e7c['shift']());}catch(_0x1cf753){_0x204e7c['push'](_0x204e7c['shift']());}}}(_0x2ce3,0xed3a7));function _0x2ce3(){var _0x36b458=['20JFjjrP','getInfo','3961899GBvUaF','upload','415736XnZUgJ','9911670YuavTN','1127882jRHugX','727920baZrEo','7nbWXhv','auto','8rssVBL','26201890oJtqyb','919221woSKYl'];_0x2ce3=function(){return _0x36b458;};return _0x2ce3();}import{uploadFile as _0x187fff,info as _0x942070}from'@uploadcare/upload-client';function _0x572f(_0x1c28a9,_0x785672){var _0x2ce339=_0x2ce3();return _0x572f=function(_0x572fbb,_0x26b939){_0x572fbb=_0x572fbb-0x1dd;var _0x23ecd8=_0x2ce339[_0x572fbb];return _0x23ecd8;},_0x572f(_0x1c28a9,_0x785672);}export default class C{static[_0x2b7772(0x1e0)]({file:_0x139b97,publicKey:_0xea6aa9,signal:_0x3e1df4,onProgress:_0x4efb5e}){var _0x19fcc7=_0x2b7772;return _0x187fff(_0x139b97,{'publicKey':_0xea6aa9,'store':_0x19fcc7(0x1e6),'signal':_0x3e1df4,'onProgress':_0x4efb5e});}static[_0x2b7772(0x1de)](_0x4565c9,_0x2b8cdf){return _0x942070(_0x4565c9,_0x2b8cdf);}}
23
+ function _0x2671(_0x204ba0,_0x3ecc0b){var _0xfee3d8=_0xfee3();return _0x2671=function(_0x2671a2,_0x343f2d){_0x2671a2=_0x2671a2-0x130;var _0x1f2866=_0xfee3d8[_0x2671a2];return _0x1f2866;},_0x2671(_0x204ba0,_0x3ecc0b);}var _0x4aa22c=_0x2671;(function(_0xc2d4b1,_0x2ade70){var _0x1bd7cb=_0x2671,_0x29538f=_0xc2d4b1();while(!![]){try{var _0x59678f=-parseInt(_0x1bd7cb(0x133))/0x1+parseInt(_0x1bd7cb(0x136))/0x2*(parseInt(_0x1bd7cb(0x13a))/0x3)+-parseInt(_0x1bd7cb(0x131))/0x4+-parseInt(_0x1bd7cb(0x134))/0x5+parseInt(_0x1bd7cb(0x130))/0x6*(-parseInt(_0x1bd7cb(0x132))/0x7)+-parseInt(_0x1bd7cb(0x137))/0x8*(parseInt(_0x1bd7cb(0x138))/0x9)+parseInt(_0x1bd7cb(0x139))/0xa;if(_0x59678f===_0x2ade70)break;else _0x29538f['push'](_0x29538f['shift']());}catch(_0x2f2e11){_0x29538f['push'](_0x29538f['shift']());}}}(_0xfee3,0xbfd18));import{uploadFile as _0x5d6370,info as _0x39cec4}from'@uploadcare/upload-client';export default class C{static[_0x4aa22c(0x135)]({file:_0x122154,publicKey:_0xa783f1,signal:_0x1707a4,onProgress:_0x2a540f}){var _0x63bae0=_0x4aa22c;return _0x5d6370(_0x122154,{'publicKey':_0xa783f1,'store':_0x63bae0(0x13b),'signal':_0x1707a4,'onProgress':_0x2a540f});}static[_0x4aa22c(0x13c)](_0x64fd9c,_0x3d51f1){return _0x39cec4(_0x64fd9c,_0x3d51f1);}}function _0xfee3(){var _0x5c9226=['40115360kMwGQo','3pnbRXW','auto','getInfo','45012rGvSDu','2432900EJIFkT','840mNjJRo','961142IuhCnh','2099550kzkEpI','upload','2261978hRfKvB','11738560IiOQRk','9MmgbMW'];_0xfee3=function(){return _0x5c9226;};return _0xfee3();}