@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250212.0 → 0.0.0-nightly-next-20250213.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.
- package/build/uploadcare.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +9 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5f5003,_0x2ed253){const _0x2c9894=_0x1d39,_0x977e25=_0x5f5003();while(!![]){try{const _0x3eb2d0=parseInt(_0x2c9894(0x17a))/0x1*(parseInt(_0x2c9894(0x197))/0x2)+parseInt(_0x2c9894(0x193))/0x3*(parseInt(_0x2c9894(0x196))/0x4)+-parseInt(_0x2c9894(0x179))/0x5+parseInt(_0x2c9894(0x165))/0x6*(-parseInt(_0x2c9894(0x170))/0x7)+-parseInt(_0x2c9894(0x174))/0x8+parseInt(_0x2c9894(0x172))/0x9+parseInt(_0x2c9894(0x18c))/0xa*(parseInt(_0x2c9894(0x18d))/0xb);if(_0x3eb2d0===_0x2ed253)break;else _0x977e25['push'](_0x977e25['shift']());}catch(_0x24d2fb){_0x977e25['push'](_0x977e25['shift']());}}}(_0x1bbf,0xa6fe2));import{global as _0x2a74a7,DomEmitterMixin as _0xe7bc9c}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x4d04a8){const _0x42efb7=_0x1d39,_0x165552=W(_0x4d04a8);return _0x1d206d=>!(!_0x1d206d||!_0x1d206d['is'](_0x42efb7(0x190),_0x42efb7(0x17b))&&!_0x1d206d['is'](_0x42efb7(0x190),_0x42efb7(0x171)))&&(!!_0x1d206d[_0x42efb7(0x173)](_0x42efb7(0x18a))||!!_0x1d206d[_0x42efb7(0x173)](_0x42efb7(0x16c))&&_0x165552(_0x1d206d[_0x42efb7(0x17f)](_0x42efb7(0x16c))));}export function getImageUrls(_0x1f794e,_0x1eaf75){const _0x6a754f=_0x1d39,_0x5e4dbb=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x6a754f(0x177)](_0x5ddf5c=>_0x5ddf5c<=_0x1eaf75)[_0x6a754f(0x164)](_0x10c34c=>_0x1f794e[_0x6a754f(0x17c)](/\/$/,'')+_0x6a754f(0x18e)+_0x10c34c+_0x6a754f(0x161)+_0x10c34c+'w');return{'imageFallbackUrl':_0x1f794e,'imageSources':[{'srcset':_0x5e4dbb[_0x6a754f(0x18b)](',\x20'),'sizes':_0x6a754f(0x195)+_0x1eaf75+_0x6a754f(0x191)+_0x1eaf75+'px','type':_0x6a754f(0x15e)}]};}function _0x1d39(_0x3a2fd6,_0x565ae5){const _0x1bbf5d=_0x1bbf();return _0x1d39=function(_0x1d39e8,_0x32fcb3){_0x1d39e8=_0x1d39e8-0x15e;let _0x3ecbcf=_0x1bbf5d[_0x1d39e8];return _0x3ecbcf;},_0x1d39(_0x3a2fd6,_0x565ae5);}export function getImageDimension(_0x31daf9,_0xe5cf77,_0x284760){const _0x2f92f9=_0x1d39,_0x448ac9=_0x31daf9[_0x2f92f9(0x178)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x448ac9?parseInt(_0x448ac9[0x1],0xa):_0xe5cf77,'height':_0x448ac9?parseInt(_0x448ac9[0x2],0xa):_0x284760};}function _0x1bbf(){const _0x1d35ec=['11291VMvWQh','imageInline','7422057wYOFpU','hasAttribute','4243632RDgann','stopListening','baseURI','filter','match','4263555qncSEd','763990voqLgI','imageBlock','replace','findViewImgElement','some','getAttribute','width','change','function','setStyle','listenTo','document','location','viewToDom','ImageUtils','view','uploadcareImageId','join','36610agrSXK','2266AWLVqJ','/-/resize/','addClass','element','px)\x20100vw,\x20','mapper','951BTsjJr','plugins','(max-width:\x20','4724bNbsoN','2ItYDGy','origin','image/webp','height','image-processing','x/\x20','load','aspect-ratio','map','2418qbJaWX','create','window','isArray','toViewElement','get','editing','src','domConverter','removeClass','removeStyle'];_0x1bbf=function(){return _0x1d35ec;};return _0x1bbf();}export function showImageProcessingIndicator(_0x3971c6,_0x3aa838){const _0x22038a=_0x1d39,_0x255c3f=Object[_0x22038a(0x166)](_0xe7bc9c),_0x2df0e8=_0x3971c6[_0x22038a(0x194)][_0x22038a(0x16a)](_0x22038a(0x188)),_0x1389c3=_0x3971c6[_0x22038a(0x16b)][_0x22038a(0x192)][_0x22038a(0x169)](_0x3aa838),_0x44be27=_0x2df0e8[_0x22038a(0x17d)](_0x1389c3),_0x44d770=_0x3971c6[_0x22038a(0x16b)][_0x22038a(0x189)][_0x22038a(0x16d)][_0x22038a(0x187)](_0x44be27),_0x5cb8b4=_0x3aa838[_0x22038a(0x17f)](_0x22038a(0x180)),_0x3af00a=_0x3aa838[_0x22038a(0x17f)](_0x22038a(0x15f)),_0x32a898=_0x22038a(0x160);_0x3971c6[_0x22038a(0x16b)][_0x22038a(0x189)][_0x22038a(0x181)](_0xabd03e=>{const _0x28b17d=_0x22038a;_0xabd03e[_0x28b17d(0x18f)](_0x32a898,_0x1389c3),_0xabd03e[_0x28b17d(0x183)](_0x28b17d(0x163),_0x5cb8b4+'/'+_0x3af00a,_0x44be27);}),_0x255c3f[_0x22038a(0x184)](_0x44d770,_0x22038a(0x162),()=>{const _0xf0891d=_0x22038a;_0x255c3f[_0xf0891d(0x175)](_0x44d770,_0xf0891d(0x162)),_0x3971c6[_0xf0891d(0x16b)][_0xf0891d(0x189)][_0xf0891d(0x181)](_0x2b167c=>{const _0x3e5586=_0xf0891d;_0x2b167c[_0x3e5586(0x16e)](_0x32a898,_0x1389c3),_0x2b167c[_0x3e5586(0x16f)](_0x3e5586(0x163),_0x44be27);});});}function W(_0x22d84b){const _0x367c84=_0x1d39;if(Array[_0x367c84(0x168)](_0x22d84b)){const _0x45f0ed=_0x22d84b[_0x367c84(0x164)](W);return _0x4ee58d=>_0x45f0ed[_0x367c84(0x17e)](_0x2e1ba8=>_0x2e1ba8(_0x4ee58d));}if(_0x367c84(0x198)==_0x22d84b){const _0x41727e=_0x2a74a7[_0x367c84(0x167)][_0x367c84(0x186)][_0x367c84(0x198)];return _0xe594e3=>new URL(_0xe594e3,_0x2a74a7[_0x367c84(0x185)][_0x367c84(0x176)])[_0x367c84(0x198)]==_0x41727e;}return _0x367c84(0x182)==typeof _0x22d84b?_0x22d84b:_0x22d84b instanceof RegExp?_0x27ed13=>!(!_0x27ed13[_0x367c84(0x178)](_0x22d84b)&&!_0x27ed13[_0x367c84(0x17c)](/^https?:\/\//,'')[_0x367c84(0x178)](_0x22d84b)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x568c(_0x56d03f,_0x598b76){var _0x37bd1b=_0x37bd();return _0x568c=function(_0x568ce6,_0x1b3a6c){_0x568ce6=_0x568ce6-0xdd;var _0x21e81c=_0x37bd1b[_0x568ce6];return _0x21e81c;},_0x568c(_0x56d03f,_0x598b76);}(function(_0x594fb3,_0x5ae664){var _0x4ba414=_0x568c,_0x35d7a8=_0x594fb3();while(!![]){try{var _0x47ce2d=-parseInt(_0x4ba414(0xe2))/0x1*(-parseInt(_0x4ba414(0xe8))/0x2)+parseInt(_0x4ba414(0xde))/0x3*(-parseInt(_0x4ba414(0xe4))/0x4)+-parseInt(_0x4ba414(0xe0))/0x5+parseInt(_0x4ba414(0xe6))/0x6+-parseInt(_0x4ba414(0xdf))/0x7+parseInt(_0x4ba414(0xe3))/0x8+parseInt(_0x4ba414(0xe5))/0x9*(-parseInt(_0x4ba414(0xe1))/0xa);if(_0x47ce2d===_0x5ae664)break;else _0x35d7a8['push'](_0x35d7a8['shift']());}catch(_0x19a5ae){_0x35d7a8['push'](_0x35d7a8['shift']());}}}(_0x37bd,0xe93f2));function _0x37bd(){var _0xc4809a=['9IUZWEa','1430527UHsLYP','902905vwKenP','50DWkAId','1979cSWVEO','12062952QEFnOq','1746340MJZpDz','3778227ulijby','11325510usnKBH','target','1368PvumtN','includes'];_0x37bd=function(){return _0xc4809a;};return _0x37bd();}import{getAncestors as _0x2caaba}from'ckeditor5/src/utils.js';export function isAncestor(_0x4408bc,_0x43e012){var _0x20a798=_0x568c;return _0x2caaba(_0x4408bc[_0x20a798(0xe7)])[_0x20a798(0xdd)](_0x43e012);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x16922d=_0x1012;(function(_0x4cf30a,_0x4c183b){var _0x4efd3b=_0x1012,_0x20fc2c=_0x4cf30a();while(!![]){try{var _0x15033c=-parseInt(_0x4efd3b(0x1ce))/0x1+-parseInt(_0x4efd3b(0x1c3))/0x2*(parseInt(_0x4efd3b(0x1c4))/0x3)+-parseInt(_0x4efd3b(0x1c1))/0x4*(-parseInt(_0x4efd3b(0x1c8))/0x5)+-parseInt(_0x4efd3b(0x1cd))/0x6+-parseInt(_0x4efd3b(0x1c9))/0x7*(parseInt(_0x4efd3b(0x1c6))/0x8)+parseInt(_0x4efd3b(0x1cc))/0x9*(-parseInt(_0x4efd3b(0x1c5))/0xa)+parseInt(_0x4efd3b(0x1cb))/0xb;if(_0x15033c===_0x4c183b)break;else _0x20fc2c['push'](_0x20fc2c['shift']());}catch(_0x10bf3d){_0x20fc2c['push'](_0x20fc2c['shift']());}}}(_0x3d55,0x5a055));import{uploadFile as _0x38fa7b,info as _0x2421fc}from'@uploadcare/upload-client';function _0x3d55(){var _0x197c3d=['1556100yZYpUo','524502zNnJRU','152948liUTiB','upload','269326atRiVt','9vQCnBJ','20XLKtxB','32TafRrD','getInfo','85sNNdGv','1106273DgnGoj','auto','24082685BpjyWj','2927889nPdToq'];_0x3d55=function(){return _0x197c3d;};return _0x3d55();}function _0x1012(_0x5ec0ff,_0xe79507){var _0x3d55c7=_0x3d55();return _0x1012=function(_0x1012e8,_0x166100){_0x1012e8=_0x1012e8-0x1c1;var _0x1791f1=_0x3d55c7[_0x1012e8];return _0x1791f1;},_0x1012(_0x5ec0ff,_0xe79507);}export default class C{static[_0x16922d(0x1c2)]({file:_0x253745,publicKey:_0x393761,signal:_0x4a455a,onProgress:_0x297169}){var _0x3fe7c9=_0x16922d;return _0x38fa7b(_0x253745,{'publicKey':_0x393761,'store':_0x3fe7c9(0x1ca),'signal':_0x4a455a,'onProgress':_0x297169});}static[_0x16922d(0x1c7)](_0x468a5e,_0x1b9384){return _0x2421fc(_0x468a5e,_0x1b9384);}}
|