@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250213.0 → 0.0.0-nightly-next-20250214.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
|
-
(function(
|
|
23
|
+
(function(_0x213820,_0x23533e){const _0xc94d5a=_0x303f,_0x3bbc79=_0x213820();while(!![]){try{const _0x218164=-parseInt(_0xc94d5a(0xad))/0x1*(-parseInt(_0xc94d5a(0x90))/0x2)+parseInt(_0xc94d5a(0xae))/0x3+-parseInt(_0xc94d5a(0x86))/0x4+parseInt(_0xc94d5a(0x91))/0x5*(parseInt(_0xc94d5a(0x94))/0x6)+parseInt(_0xc94d5a(0x9a))/0x7*(parseInt(_0xc94d5a(0x85))/0x8)+-parseInt(_0xc94d5a(0xa7))/0x9*(parseInt(_0xc94d5a(0x95))/0xa)+-parseInt(_0xc94d5a(0x8d))/0xb;if(_0x218164===_0x23533e)break;else _0x3bbc79['push'](_0x3bbc79['shift']());}catch(_0x1ad340){_0x3bbc79['push'](_0x3bbc79['shift']());}}}(_0xc20d,0x706fe));function _0x303f(_0x45a229,_0x3fed42){const _0xc20d71=_0xc20d();return _0x303f=function(_0x303fb6,_0x278d32){_0x303fb6=_0x303fb6-0x74;let _0x419bd4=_0xc20d71[_0x303fb6];return _0x419bd4;},_0x303f(_0x45a229,_0x3fed42);}import{global as _0x2ea50f,DomEmitterMixin as _0x52c19b}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x343e7a){const _0x1d4ab3=_0x303f,_0x19648c=R(_0x343e7a);return _0x1c26b6=>!(!_0x1c26b6||!_0x1c26b6['is'](_0x1d4ab3(0x81),_0x1d4ab3(0x89))&&!_0x1c26b6['is'](_0x1d4ab3(0x81),_0x1d4ab3(0x84)))&&(!!_0x1c26b6[_0x1d4ab3(0xa1)](_0x1d4ab3(0x9e))||!!_0x1c26b6[_0x1d4ab3(0xa1)](_0x1d4ab3(0xab))&&_0x19648c(_0x1c26b6[_0x1d4ab3(0x8a)](_0x1d4ab3(0xab))));}export function getImageUrls(_0x4f4eb8,_0x160e5f){const _0x480049=_0x303f,_0x3670a9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x480049(0xa4)](_0x238148=>_0x238148<=_0x160e5f)[_0x480049(0x87)](_0x5561a6=>_0x4f4eb8[_0x480049(0x8c)](/\/$/,'')+_0x480049(0xa2)+_0x5561a6+_0x480049(0x7d)+_0x5561a6+'w');return{'imageFallbackUrl':_0x4f4eb8,'imageSources':[{'srcset':_0x3670a9[_0x480049(0x7f)](',\x20'),'sizes':_0x480049(0x98)+_0x160e5f+_0x480049(0x7b)+_0x160e5f+'px','type':_0x480049(0xa8)}]};}export function getImageDimension(_0x3c446c,_0x280923,_0x29d971){const _0x4c7f7e=_0x303f,_0x5d4f25=_0x3c446c[_0x4c7f7e(0x75)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x5d4f25?parseInt(_0x5d4f25[0x1],0xa):_0x280923,'height':_0x5d4f25?parseInt(_0x5d4f25[0x2],0xa):_0x29d971};}function _0xc20d(){const _0x169c98=['aspect-ratio','uploadcareImageId','document','plugins','hasAttribute','/-/resize/','view','filter','baseURI','height','5313969zZFabR','image/webp','stopListening','some','src','isArray','1IoCCmZ','741735FIzHVw','window','match','editing','change','findViewImgElement','origin','listenTo','px)\x20100vw,\x20','toViewElement','x/\x20','width','join','domConverter','element','create','location','imageInline','6619432toebiL','1679288BBvwhu','map','viewToDom','imageBlock','getAttribute','removeStyle','replace','1300541hSKfyk','ImageUtils','get','351282tOgIqs','15LKtdSY','function','addClass','677442oeSBbH','10hVpjpL','load','mapper','(max-width:\x20','removeClass','7SlBfha','setStyle','image-processing'];_0xc20d=function(){return _0x169c98;};return _0xc20d();}export function showImageProcessingIndicator(_0x211767,_0x43c591){const _0x2c6cdb=_0x303f,_0x488f02=Object[_0x2c6cdb(0x82)](_0x52c19b),_0xd0c2a9=_0x211767[_0x2c6cdb(0xa0)][_0x2c6cdb(0x8f)](_0x2c6cdb(0x8e)),_0x93be61=_0x211767[_0x2c6cdb(0x76)][_0x2c6cdb(0x97)][_0x2c6cdb(0x7c)](_0x43c591),_0x6e1179=_0xd0c2a9[_0x2c6cdb(0x78)](_0x93be61),_0x3403fe=_0x211767[_0x2c6cdb(0x76)][_0x2c6cdb(0xa3)][_0x2c6cdb(0x80)][_0x2c6cdb(0x88)](_0x6e1179),_0x2db7c2=_0x43c591[_0x2c6cdb(0x8a)](_0x2c6cdb(0x7e)),_0x1ff4df=_0x43c591[_0x2c6cdb(0x8a)](_0x2c6cdb(0xa6)),_0x15ebc3=_0x2c6cdb(0x9c);_0x211767[_0x2c6cdb(0x76)][_0x2c6cdb(0xa3)][_0x2c6cdb(0x77)](_0x3fd1e5=>{const _0x767012=_0x2c6cdb;_0x3fd1e5[_0x767012(0x93)](_0x15ebc3,_0x93be61),_0x3fd1e5[_0x767012(0x9b)](_0x767012(0x9d),_0x2db7c2+'/'+_0x1ff4df,_0x6e1179);}),_0x488f02[_0x2c6cdb(0x7a)](_0x3403fe,_0x2c6cdb(0x96),()=>{const _0xf5aae=_0x2c6cdb;_0x488f02[_0xf5aae(0xa9)](_0x3403fe,_0xf5aae(0x96)),_0x211767[_0xf5aae(0x76)][_0xf5aae(0xa3)][_0xf5aae(0x77)](_0x3a49bf=>{const _0x14ab75=_0xf5aae;_0x3a49bf[_0x14ab75(0x99)](_0x15ebc3,_0x93be61),_0x3a49bf[_0x14ab75(0x8b)](_0x14ab75(0x9d),_0x6e1179);});});}function R(_0x482c84){const _0x439dd9=_0x303f;if(Array[_0x439dd9(0xac)](_0x482c84)){const _0x2f9199=_0x482c84[_0x439dd9(0x87)](R);return _0x39cca5=>_0x2f9199[_0x439dd9(0xaa)](_0x183ab7=>_0x183ab7(_0x39cca5));}if(_0x439dd9(0x79)==_0x482c84){const _0x5c74a8=_0x2ea50f[_0x439dd9(0x74)][_0x439dd9(0x83)][_0x439dd9(0x79)];return _0x1d7589=>new URL(_0x1d7589,_0x2ea50f[_0x439dd9(0x9f)][_0x439dd9(0xa5)])[_0x439dd9(0x79)]==_0x5c74a8;}return _0x439dd9(0x92)==typeof _0x482c84?_0x482c84:_0x482c84 instanceof RegExp?_0x55da2b=>!(!_0x55da2b[_0x439dd9(0x75)](_0x482c84)&&!_0x55da2b[_0x439dd9(0x8c)](/^https?:\/\//,'')[_0x439dd9(0x75)](_0x482c84)):()=>!0x1;}
|
package/src/utils/isancestor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x218f3c,_0x151ab3){var _0x39bc65=_0x3971,_0x241805=_0x218f3c();while(!![]){try{var _0x4d1c1c=-parseInt(_0x39bc65(0x14d))/0x1*(-parseInt(_0x39bc65(0x153))/0x2)+-parseInt(_0x39bc65(0x14f))/0x3*(-parseInt(_0x39bc65(0x14b))/0x4)+-parseInt(_0x39bc65(0x150))/0x5*(parseInt(_0x39bc65(0x152))/0x6)+parseInt(_0x39bc65(0x14e))/0x7+-parseInt(_0x39bc65(0x154))/0x8+parseInt(_0x39bc65(0x14c))/0x9*(parseInt(_0x39bc65(0x155))/0xa)+parseInt(_0x39bc65(0x157))/0xb;if(_0x4d1c1c===_0x151ab3)break;else _0x241805['push'](_0x241805['shift']());}catch(_0xabe307){_0x241805['push'](_0x241805['shift']());}}}(_0x5eef,0xa50ae));import{getAncestors as _0xdcdeed}from'ckeditor5/src/utils.js';function _0x3971(_0x321bb1,_0x4e5213){var _0x5eef73=_0x5eef();return _0x3971=function(_0x3971a7,_0x3ae654){_0x3971a7=_0x3971a7-0x14b;var _0x224947=_0x5eef73[_0x3971a7];return _0x224947;},_0x3971(_0x321bb1,_0x4e5213);}function _0x5eef(){var _0x1af268=['9159514OSWTTe','6XamjYE','5RjTfYK','includes','7082796MNOeYk','783916mrvEiL','8759584xfuKuc','280aVsogq','target','5199304zuuugP','339616cAipdS','195588wGWXYJ','1LFeIsy'];_0x5eef=function(){return _0x1af268;};return _0x5eef();}export function isAncestor(_0x4f9120,_0x4b5df2){var _0x1aa3de=_0x3971;return _0xdcdeed(_0x4f9120[_0x1aa3de(0x156)])[_0x1aa3de(0x151)](_0x4b5df2);}
|
package/src/utils/uploadutils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x40b6(_0x54cc22,_0x376902){var _0x12871e=_0x1287();return _0x40b6=function(_0x40b63e,_0x55f3e6){_0x40b63e=_0x40b63e-0x146;var _0x1fe537=_0x12871e[_0x40b63e];return _0x1fe537;},_0x40b6(_0x54cc22,_0x376902);}var _0x4206c5=_0x40b6;(function(_0x13faac,_0x31b962){var _0x4da4ab=_0x40b6,_0x484ad0=_0x13faac();while(!![]){try{var _0x30a7ef=-parseInt(_0x4da4ab(0x153))/0x1*(parseInt(_0x4da4ab(0x14e))/0x2)+-parseInt(_0x4da4ab(0x14a))/0x3+parseInt(_0x4da4ab(0x14c))/0x4*(parseInt(_0x4da4ab(0x147))/0x5)+-parseInt(_0x4da4ab(0x148))/0x6*(-parseInt(_0x4da4ab(0x14b))/0x7)+parseInt(_0x4da4ab(0x152))/0x8+-parseInt(_0x4da4ab(0x150))/0x9+parseInt(_0x4da4ab(0x146))/0xa*(parseInt(_0x4da4ab(0x151))/0xb);if(_0x30a7ef===_0x31b962)break;else _0x484ad0['push'](_0x484ad0['shift']());}catch(_0x41427e){_0x484ad0['push'](_0x484ad0['shift']());}}}(_0x1287,0x803e5));function _0x1287(){var _0x4c7e18=['4JTmZnn','getInfo','832248mNaBvW','46365wePRLw','7683200GmQCRk','385954sFaNfn','2300InrdCZ','395JjlLlw','24OLyNWX','upload','2279649GhOUxs','194516WZMqQT','5496JsVAMn','auto'];_0x1287=function(){return _0x4c7e18;};return _0x1287();}import{uploadFile as _0x4e0ed7,info as _0x568033}from'@uploadcare/upload-client';export default class C{static[_0x4206c5(0x149)]({file:_0x54c462,publicKey:_0x301e6a,signal:_0x5cece2,onProgress:_0x1cc33e}){var _0x166f74=_0x4206c5;return _0x4e0ed7(_0x54c462,{'publicKey':_0x301e6a,'store':_0x166f74(0x14d),'signal':_0x5cece2,'onProgress':_0x1cc33e});}static[_0x4206c5(0x14f)](_0x18afc3,_0x2f223c){return _0x568033(_0x18afc3,_0x2f223c);}}
|