@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251225.0 → 0.0.0-nightly-20251226.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,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0xce1280,ObservableMixin as _0x1716ee}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x13f161}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a6dd2}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x31a096}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x1c6288}from'../../utils/uploadutils.js';import{getImageUrls as _0x5c40c7,getImageDimension as _0x238da1}from'../../utils/editingutils.js';import{isAncestor as _0x549b28}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1716ee(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x570404,_0x2d3ec3,_0x4ad402){super(),this['_editor']=_0x570404,this['_dialog']=_0x2d3ec3,this['_imageElement']=_0x4ad402,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x286eaf=this['_imageElement'],_0x4a47b9=_0x286eaf['getAttribute']('uploadcareImageId'),_0x1c1b3b=_0x286eaf['getAttribute']('src');if(_0x4a47b9)await this['_loadImageInfo'](_0x4a47b9,_0x1c1b3b);else{if(this['_imageCache']['has'](_0x1c1b3b)){const _0x1ba7f0=this['_imageCache']['get'](_0x1c1b3b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1ba7f0['url'],this['imageDimension']=_0x1ba7f0['dimension'],this['imageId']=_0x1ba7f0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29fed4}=this['_editor'],t=_0x29fed4['t'],_0x355ed9=new _0x31a096(_0x29fed4,this['imageStatus'],this['_attributes']);_0x355ed9['bind']('status')['to'](this,'imageStatus'),_0x355ed9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x355ed9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x355ed9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x355ed9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a6dd2,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x355ed9,'position':_0x13f161['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x355ed9['focus']();},'onHide':()=>{_0x355ed9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd92bdd=>!_0x549b28(_0xd92bdd,_0x355ed9['element'])}});}['_loadImageInfo'](_0x3c94eb,_0x163c22){return _0x1c6288['getInfo'](_0x3c94eb,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3996c9=>{const {width:_0xdd8191,height:_0x1d09d9}=_0x3996c9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x163c22,this['imageDimension']={'width':_0xdd8191,'height':_0x1d09d9},this['imageId']=_0x3c94eb;})['catch'](_0x22d585=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22d585['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1761fa,_0x32d170){return this['_getImageAsFile'](_0x1761fa)['then'](_0x185139=>_0x1c6288['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x32d170['signal'],'file':_0x185139,'onProgress':_0x5e85df=>{_0x5e85df&&_0x5e85df['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5e85df['value']));}}))['then'](_0x3221c4=>{const {width:_0xcf510a,height:_0x2d189a}=_0x3221c4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3221c4['cdnUrl'],this['imageDimension']={'width':_0xcf510a,'height':_0x2d189a},this['imageId']=_0x3221c4['uuid'],this['imageUploadProgress']=null;const _0x3df923=_0x1761fa['getAttribute']('src');this['_imageCache']['set'](_0x3df923,{'id':_0x3221c4['uuid'],'url':_0x3221c4['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xd7f0a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd7f0a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xc011c7,_0x17baa5){_0xc011c7['on']('apply',(_0x110676,_0x568d80)=>{this['_replaceImage'](_0x17baa5,_0x568d80['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xc011c7['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xc011c7['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3126ac,_0xf926a6,_0x31a4bd){const _0x8df00d=this['_editor'],{width:_0x1b6990,height:_0x3d1f8a}=_0x238da1(_0xf926a6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2641f5,imageSources:_0x41573b}=_0x5c40c7(_0xf926a6,_0x1b6990);_0x8df00d['model']['change'](_0x33a3a3=>{if('$graveyard'===_0x3126ac['root']['rootName']){_0x8df00d['execute']('insertImage',{'imageType':_0x3126ac['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3126ac['getAttributes']()),'uploadcareImageId':_0x31a4bd,'src':_0x2641f5,'sources':_0x41573b,'width':_0x1b6990,'height':_0x3d1f8a}});const _0x53d7d8=_0x3126ac['getChildren']();_0x3126ac=_0x8df00d['model']['document']['selection']['getSelectedElement']();for(const _0x5695b6 of _0x53d7d8)_0x33a3a3['append'](_0x33a3a3['cloneElement'](_0x5695b6),_0x3126ac);}else _0x33a3a3['setSelection'](_0x3126ac,'on'),_0x8df00d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3126ac['getAttributes']()),'uploadcareImageId':_0x31a4bd,'src':_0x2641f5,'sources':_0x41573b,'width':_0x1b6990,'height':_0x3d1f8a},_0x3126ac);_0x33a3a3['setSelection'](_0x3126ac,'on');});}async['_getImageAsFile'](_0x5de5de){const _0x477d82=_0xce1280['window'],_0x4b88bf=_0xce1280['document']['location']['href'],_0x34697c=new _0x477d82['URL'](_0x5de5de['getAttribute']('src'),_0x4b88bf);if('data:'===_0x34697c['protocol']){const _0x56807b=_0x34697c['href']['split'](','),_0x369615=_0x56807b[0x0]['match'](/:(.*?);/)[0x1],_0x340555=_0x369615['split']('/')[0x1],_0x46fd26=_0x477d82['atob'](_0x56807b[_0x56807b['length']-0x1]);let _0x4f8725=_0x46fd26['length'];const _0x3ecd17=new _0x477d82['Uint8Array'](_0x4f8725);for(;_0x4f8725--;)_0x3ecd17[_0x4f8725]=_0x46fd26['charCodeAt'](_0x4f8725);return new _0x477d82['File']([_0x3ecd17],'image.'+_0x340555,{'type':_0x369615});}const _0x2866fc=_0x34697c['href']['split']('/'),_0x56a009=_0x2866fc[_0x2866fc['length']-0x1],_0x5cbebd=_0x56a009['split']('.')[0x1];return _0x477d82['fetch'](_0x34697c['href'])['then'](_0x200f9b=>_0x200f9b['clone']()['blob']())['then'](_0x3d6fa6=>new _0x477d82['File']([_0x3d6fa6],_0x56a009,{'type':'image/'+_0x5cbebd}));}}
23
+ import{global as _0x512580,ObservableMixin as _0x44de94}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x118bde}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4facdd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1eb74a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x3b54de}from'../../utils/uploadutils.js';import{getImageUrls as _0x4de195,getImageDimension as _0x13d4ec}from'../../utils/editingutils.js';import{isAncestor as _0x30846e}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x44de94(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x304e59,_0x54bda0,_0x521566){super(),this['_editor']=_0x304e59,this['_dialog']=_0x54bda0,this['_imageElement']=_0x521566,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x384a11=this['_imageElement'],_0x914666=_0x384a11['getAttribute']('uploadcareImageId'),_0x2ac35a=_0x384a11['getAttribute']('src');if(_0x914666)await this['_loadImageInfo'](_0x914666,_0x2ac35a);else{if(this['_imageCache']['has'](_0x2ac35a)){const _0x2ea720=this['_imageCache']['get'](_0x2ac35a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2ea720['url'],this['imageDimension']=_0x2ea720['dimension'],this['imageId']=_0x2ea720['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5299bb}=this['_editor'],t=_0x5299bb['t'],_0x3c1171=new _0x1eb74a(_0x5299bb,this['imageStatus'],this['_attributes']);_0x3c1171['bind']('status')['to'](this,'imageStatus'),_0x3c1171['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3c1171['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3c1171['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3c1171,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4facdd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3c1171,'position':_0x118bde['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3c1171['focus']();},'onHide':()=>{_0x3c1171['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4e69f4=>!_0x30846e(_0x4e69f4,_0x3c1171['element'])}});}['_loadImageInfo'](_0x3896fa,_0x558853){return _0x3b54de['getInfo'](_0x3896fa,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4a8aa4=>{const {width:_0xcb874f,height:_0x1f5454}=_0x4a8aa4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x558853,this['imageDimension']={'width':_0xcb874f,'height':_0x1f5454},this['imageId']=_0x3896fa;})['catch'](_0x1f0027=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f0027['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x24667c,_0xfee29f){return this['_getImageAsFile'](_0x24667c)['then'](_0x35ef76=>_0x3b54de['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0xfee29f['signal'],'file':_0x35ef76,'onProgress':_0xa681aa=>{_0xa681aa&&_0xa681aa['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xa681aa['value']));}}))['then'](_0x42cabd=>{const {width:_0x4d15f2,height:_0x29225e}=_0x42cabd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42cabd['cdnUrl'],this['imageDimension']={'width':_0x4d15f2,'height':_0x29225e},this['imageId']=_0x42cabd['uuid'],this['imageUploadProgress']=null;const _0x4f90b4=_0x24667c['getAttribute']('src');this['_imageCache']['set'](_0x4f90b4,{'id':_0x42cabd['uuid'],'url':_0x42cabd['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5a8604=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a8604['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4cbf85,_0x105501){_0x4cbf85['on']('apply',(_0x34b6d5,_0x5a1b98)=>{this['_replaceImage'](_0x105501,_0x5a1b98['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4cbf85['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4cbf85['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3c9f3c,_0x3467cc,_0x6e7c3a){const _0x1c0a7f=this['_editor'],{width:_0x19d499,height:_0x5c82a8}=_0x13d4ec(_0x3467cc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x459941,imageSources:_0x2c5310}=_0x4de195(_0x3467cc,_0x19d499);_0x1c0a7f['model']['change'](_0x1bb536=>{if('$graveyard'===_0x3c9f3c['root']['rootName']){_0x1c0a7f['execute']('insertImage',{'imageType':_0x3c9f3c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3c9f3c['getAttributes']()),'uploadcareImageId':_0x6e7c3a,'src':_0x459941,'sources':_0x2c5310,'width':_0x19d499,'height':_0x5c82a8}});const _0x50a9f5=_0x3c9f3c['getChildren']();_0x3c9f3c=_0x1c0a7f['model']['document']['selection']['getSelectedElement']();for(const _0x15144f of _0x50a9f5)_0x1bb536['append'](_0x1bb536['cloneElement'](_0x15144f),_0x3c9f3c);}else _0x1bb536['setSelection'](_0x3c9f3c,'on'),_0x1c0a7f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3c9f3c['getAttributes']()),'uploadcareImageId':_0x6e7c3a,'src':_0x459941,'sources':_0x2c5310,'width':_0x19d499,'height':_0x5c82a8},_0x3c9f3c);_0x1bb536['setSelection'](_0x3c9f3c,'on');});}async['_getImageAsFile'](_0x3d702b){const _0x1fb36d=_0x512580['window'],_0x5515c6=_0x512580['document']['location']['href'],_0x5f1785=new _0x1fb36d['URL'](_0x3d702b['getAttribute']('src'),_0x5515c6);if('data:'===_0x5f1785['protocol']){const _0x3129f9=_0x5f1785['href']['split'](','),_0x5de92e=_0x3129f9[0x0]['match'](/:(.*?);/)[0x1],_0xb629a4=_0x5de92e['split']('/')[0x1],_0x9695d9=_0x1fb36d['atob'](_0x3129f9[_0x3129f9['length']-0x1]);let _0x6f1ae9=_0x9695d9['length'];const _0x3ad5d8=new _0x1fb36d['Uint8Array'](_0x6f1ae9);for(;_0x6f1ae9--;)_0x3ad5d8[_0x6f1ae9]=_0x9695d9['charCodeAt'](_0x6f1ae9);return new _0x1fb36d['File']([_0x3ad5d8],'image.'+_0xb629a4,{'type':_0x5de92e});}const _0x2ace37=_0x5f1785['href']['split']('/'),_0x59d32f=_0x2ace37[_0x2ace37['length']-0x1],_0x3ef7c6=_0x59d32f['split']('.')[0x1];return _0x1fb36d['fetch'](_0x5f1785['href'])['then'](_0x369a69=>_0x369a69['clone']()['blob']())['then'](_0x36fb3f=>new _0x1fb36d['File']([_0x36fb3f],_0x59d32f,{'type':'image/'+_0x3ef7c6}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x39d5(_0x2aac13,_0x23124b){const _0x1ae4e7=_0x1ae4();return _0x39d5=function(_0x39d593,_0x319333){_0x39d593=_0x39d593-0x169;let _0x533bd1=_0x1ae4e7[_0x39d593];return _0x533bd1;},_0x39d5(_0x2aac13,_0x23124b);}(function(_0x1e7684,_0x32daab){const _0xfe99d9=_0x39d5,_0x35eb59=_0x1e7684();while(!![]){try{const _0x194d52=parseInt(_0xfe99d9(0x174))/0x1*(-parseInt(_0xfe99d9(0x171))/0x2)+-parseInt(_0xfe99d9(0x169))/0x3*(parseInt(_0xfe99d9(0x178))/0x4)+-parseInt(_0xfe99d9(0x17b))/0x5*(-parseInt(_0xfe99d9(0x16b))/0x6)+parseInt(_0xfe99d9(0x179))/0x7+parseInt(_0xfe99d9(0x16c))/0x8*(parseInt(_0xfe99d9(0x16d))/0x9)+parseInt(_0xfe99d9(0x175))/0xa+-parseInt(_0xfe99d9(0x176))/0xb;if(_0x194d52===_0x32daab)break;else _0x35eb59['push'](_0x35eb59['shift']());}catch(_0x2f9e3a){_0x35eb59['push'](_0x35eb59['shift']());}}}(_0x1ae4,0x19806));import{View as _0xa7c29e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa7c29e{constructor(_0xb6fa65,_0x557b28){const _0x1a0c51=_0x39d5;super(_0xb6fa65);const _0x1e3452=this[_0x1a0c51(0x16e)];this[_0x1a0c51(0x173)](_0x1a0c51(0x172),''),this[_0x1a0c51(0x16a)]({'tag':_0x1a0c51(0x16f),'attributes':{..._0x557b28,'class':[_0x1a0c51(0x177),_0x1a0c51(0x17a)],'ctx-name':_0x1a0c51(0x170),'cdn-url':_0x1e3452['to'](_0x1a0c51(0x172))}});}}function _0x1ae4(){const _0x5321e1=['2BQhdmC','1432540hlwCqA','2398055quUhzR','uc-light','117628uBtOKJ','1153586jfeIXk','ck-uploadcare-theme','155585vfeuij','3zKWcYs','setTemplate','18gZkGrr','22456habswY','153phNInj','bindTemplate','uc-cloud-image-editor','image-edit','97256fuaHrR','imageSrc','set'];_0x1ae4=function(){return _0x5321e1;};return _0x1ae4();}
23
+ (function(_0x22fcab,_0xaab7e9){const _0x3dbd37=_0x5b10,_0x25177f=_0x22fcab();while(!![]){try{const _0x4203bd=-parseInt(_0x3dbd37(0xd7))/0x1+-parseInt(_0x3dbd37(0xdb))/0x2+-parseInt(_0x3dbd37(0xe0))/0x3+-parseInt(_0x3dbd37(0xdf))/0x4*(-parseInt(_0x3dbd37(0xd0))/0x5)+-parseInt(_0x3dbd37(0xd5))/0x6+parseInt(_0x3dbd37(0xd3))/0x7*(parseInt(_0x3dbd37(0xd9))/0x8)+parseInt(_0x3dbd37(0xda))/0x9;if(_0x4203bd===_0xaab7e9)break;else _0x25177f['push'](_0x25177f['shift']());}catch(_0x6e07d){_0x25177f['push'](_0x25177f['shift']());}}}(_0x2c03,0x7f84c));function _0x2c03(){const _0x5a1285=['2032930slepXP','set','imageSrc','setTemplate','282868LAqDci','594345FHLQUR','30RfChJF','uc-light','bindTemplate','7FsZVkA','uc-cloud-image-editor','280200BoqaLL','ck-uploadcare-theme','770864OYdFlU','image-edit','6340136QsmKnD','12038769oOAYEC'];_0x2c03=function(){return _0x5a1285;};return _0x2c03();}function _0x5b10(_0x2e89a6,_0x449cf){const _0x2c036f=_0x2c03();return _0x5b10=function(_0x5b1077,_0x408822){_0x5b1077=_0x5b1077-0xd0;let _0x20b96b=_0x2c036f[_0x5b1077];return _0x20b96b;},_0x5b10(_0x2e89a6,_0x449cf);}import{View as _0x572cce}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x572cce{constructor(_0x358650,_0x46b012){const _0x260968=_0x5b10;super(_0x358650);const _0x5923fa=this[_0x260968(0xd2)];this[_0x260968(0xdc)](_0x260968(0xdd),''),this[_0x260968(0xde)]({'tag':_0x260968(0xd4),'attributes':{..._0x46b012,'class':[_0x260968(0xd1),_0x260968(0xd6)],'ctx-name':_0x260968(0xd8),'cdn-url':_0x5923fa['to'](_0x260968(0xdd))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2e1c02}from'ckeditor5/src/icons.js';import{ButtonView as _0x46ca63,IconView as _0x2da285,View as _0x29dc64}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x29dc64{constructor(_0x253539){super(_0x253539);const t=_0x253539['t'];this['set']('errorType',null);const _0x334eea=new _0x46ca63(_0x253539);_0x334eea['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x334eea['withText']=!0x0,_0x334eea['class']='ck-button-action',_0x334eea['on']('execute',()=>{this['fire']('retry');}),_0x334eea['bind']('isVisible')['to'](this,'errorType',_0x354adc=>'NotFound'!==_0x354adc);const _0x4d91e7=new _0x2da285();_0x4d91e7['content']=_0x2e1c02,_0x4d91e7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3de3ab=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x4d91e7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3de3ab['to']('errorType',_0x42b021=>t('NotFound'!==_0x42b021?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x334eea]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x3fb6cc}from'ckeditor5/src/icons.js';import{ButtonView as _0x282890,IconView as _0x3075dc,View as _0x145c69}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x145c69{constructor(_0x9cd1ae){super(_0x9cd1ae);const t=_0x9cd1ae['t'];this['set']('errorType',null);const _0x3ac43d=new _0x282890(_0x9cd1ae);_0x3ac43d['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x3ac43d['withText']=!0x0,_0x3ac43d['class']='ck-button-action',_0x3ac43d['on']('execute',()=>{this['fire']('retry');}),_0x3ac43d['bind']('isVisible')['to'](this,'errorType',_0x32c9ac=>'NotFound'!==_0x32c9ac);const _0x3d7d1c=new _0x3075dc();_0x3d7d1c['content']=_0x3fb6cc,_0x3d7d1c['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3f422=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x3d7d1c,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3f422['to']('errorType',_0x3585b8=>t('NotFound'!==_0x3585b8?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x3ac43d]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x2849af,View as _0x47abf2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x47abf2{constructor(_0x1317dc){super(_0x1317dc);const t=_0x1317dc['t'],_0x3e5962=this['bindTemplate'],_0x4ce4aa=new _0x2849af();_0x4ce4aa['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x4ce4aa,{'text':_0x3e5962['to']('imageUploadProgress',_0x42e20e=>t('Loading\x20image...')+'\x20('+(_0x42e20e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x5b342a,View as _0xf6a849}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xf6a849{constructor(_0x40ae9b){super(_0x40ae9b);const t=_0x40ae9b['t'],_0x5dbce9=this['bindTemplate'],_0x155fff=new _0x5b342a();_0x155fff['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x155fff,{'text':_0x5dbce9['to']('imageUploadProgress',_0x5010cb=>t('Loading\x20image...')+'\x20('+(_0x5010cb||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37b005=_0x3a9b;function _0x3a9b(_0x217b72,_0x2d8ac8){const _0x102a79=_0x102a();return _0x3a9b=function(_0x3a9bc0,_0x89c60c){_0x3a9bc0=_0x3a9bc0-0x19f;let _0x5c776c=_0x102a79[_0x3a9bc0];return _0x5c776c;},_0x3a9b(_0x217b72,_0x2d8ac8);}(function(_0x1955d7,_0x4ea400){const _0xc8c978=_0x3a9b,_0x7c1f69=_0x1955d7();while(!![]){try{const _0x163c18=-parseInt(_0xc8c978(0x1c7))/0x1+-parseInt(_0xc8c978(0x1d1))/0x2+parseInt(_0xc8c978(0x1cd))/0x3*(-parseInt(_0xc8c978(0x1b3))/0x4)+-parseInt(_0xc8c978(0x1ad))/0x5+-parseInt(_0xc8c978(0x1b1))/0x6*(parseInt(_0xc8c978(0x1cb))/0x7)+parseInt(_0xc8c978(0x1b5))/0x8*(-parseInt(_0xc8c978(0x1d3))/0x9)+parseInt(_0xc8c978(0x1a0))/0xa*(parseInt(_0xc8c978(0x1a4))/0xb);if(_0x163c18===_0x4ea400)break;else _0x7c1f69['push'](_0x7c1f69['shift']());}catch(_0x543c5b){_0x7c1f69['push'](_0x7c1f69['shift']());}}}(_0x102a,0xb1649));import{View as _0x594f68}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x58d7a3}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x34ee34}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x364d33}from'./uploadcareimageeditformeditingview.js';function _0x102a(){const _0x108c67=['disconnect','querySelector','target','_addUploadcareImageEditorListeners','setTemplate','retry','detail','_editingView','uploading','nodeName','addEventListener','addedNodes','change:status','_addErrorViewListeners','cdnUrl','element','addMany','1235670eKLnhb','ck-uploadcare-form','div','once','7UDYNOr','focus','27GjZnYt','uc-cloud-image-editor','add','_loadingView','2625018aZhGtU','clear','56250ZYwSgm','createCollection','status','_setView','_focusableView','26559410jbgOVO','set','_errorView','_waitForImageEditorComponent','22KvqInC','filter','ready','getFocusableElement','observe','fire','cancel','error','length','4715420ChHOwF','toLowerCase','_items','ck-reset_all-excluded','753666ShKZTa','apply','94292pOBhuO','render','968wFcCJF'];_0x102a=function(){return _0x108c67;};return _0x102a();}import{DialogFocusManagerView as _0xb4583}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0xb4583{[_0x37b005(0x1af)];[_0x37b005(0x1d0)];[_0x37b005(0x1a2)];[_0x37b005(0x1bd)];[_0x37b005(0x19f)];constructor(_0xa63f35,_0x5afabf,_0x416488){const _0x48ce5b=_0x37b005;super(_0xa63f35),this[_0x48ce5b(0x1af)]=this[_0x48ce5b(0x1d4)](),this[_0x48ce5b(0x1d0)]=new _0x58d7a3(_0xa63f35),this[_0x48ce5b(0x1a2)]=new _0x34ee34(_0xa63f35),this[_0x48ce5b(0x1bd)]=new _0x364d33(_0xa63f35,_0x416488),this[_0x48ce5b(0x19f)]=new _0x594f68(_0xa63f35),this[_0x48ce5b(0x19f)][_0x48ce5b(0x1ba)](this[_0x48ce5b(0x1a7)]()),this[_0x48ce5b(0x1a1)](_0x48ce5b(0x1d5),_0x5afabf),this[_0x48ce5b(0x1ba)]({'tag':_0x48ce5b(0x1c9),'attributes':{'class':['ck',_0x48ce5b(0x1b0),_0x48ce5b(0x1c8)],'tabindex':'-1'},'children':this[_0x48ce5b(0x1af)]}),this[_0x48ce5b(0x1d6)](),this[_0x48ce5b(0x1ca)](_0x48ce5b(0x1b4),()=>{const _0x32b89f=_0x48ce5b;this[_0x32b89f(0x1a3)](this[_0x32b89f(0x1c5)],_0x959f0e=>{const _0x2a03f1=_0x32b89f;this[_0x2a03f1(0x1b9)](_0x959f0e);});}),this['on'](_0x48ce5b(0x1c2),()=>{const _0x31c953=_0x48ce5b;this[_0x31c953(0x1d6)]();}),this[_0x48ce5b(0x1c3)]();}[_0x37b005(0x1cc)](){const _0x5072ce=_0x37b005;this[_0x5072ce(0x1c5)][_0x5072ce(0x1cc)]();}[_0x37b005(0x1d6)](){const _0x4568e7=_0x37b005;switch(this[_0x4568e7(0x1af)][_0x4568e7(0x1d2)](),this[_0x4568e7(0x1d5)]){case _0x4568e7(0x1be):this[_0x4568e7(0x1af)][_0x4568e7(0x1cf)](this[_0x4568e7(0x1d0)]);break;case _0x4568e7(0x1ab):this[_0x4568e7(0x1af)][_0x4568e7(0x1cf)](this[_0x4568e7(0x1a2)]);break;case _0x4568e7(0x1a6):this[_0x4568e7(0x1af)][_0x4568e7(0x1c6)]([this[_0x4568e7(0x1bd)],this[_0x4568e7(0x19f)]]);}}[_0x37b005(0x1a3)](_0x4f4ca6,_0x160275){const _0x2b3ce1=_0x37b005,_0x4b2df1=_0x2b3ce1(0x1ce),_0x594eeb=_0x4f4ca6[_0x2b3ce1(0x1b7)](_0x4b2df1);if(_0x594eeb)return _0x160275(_0x594eeb);const _0x22a073=new MutationObserver(_0x1436b8=>{const _0x4d1712=_0x2b3ce1,_0x4ded62=_0x1436b8[_0x4d1712(0x1a5)](_0x5e4629=>_0x5e4629[_0x4d1712(0x1b8)]===_0x4f4ca6&&_0x5e4629[_0x4d1712(0x1c1)][_0x4d1712(0x1ac)]>0x0&&_0x5e4629[_0x4d1712(0x1c1)][0x0][_0x4d1712(0x1bf)][_0x4d1712(0x1ae)]()===_0x4b2df1);_0x4ded62[_0x4d1712(0x1ac)]&&(_0x22a073[_0x4d1712(0x1b6)](),_0x160275(_0x4ded62[0x0][_0x4d1712(0x1c1)][0x0]));});_0x22a073[_0x2b3ce1(0x1a8)](_0x4f4ca6,{'childList':!0x0,'subtree':!0x0});}[_0x37b005(0x1b9)](_0x2bb16a){const _0x2d60ee=_0x37b005;_0x2bb16a[_0x2d60ee(0x1c0)](_0x2d60ee(0x1b2),_0x22dcd8=>{const _0x5bf00c=_0x2d60ee;this[_0x5bf00c(0x1a9)](_0x5bf00c(0x1b2),{'imageSrc':_0x22dcd8[_0x5bf00c(0x1bc)][_0x5bf00c(0x1c4)]});}),_0x2bb16a[_0x2d60ee(0x1c0)](_0x2d60ee(0x1aa),()=>{const _0x45c9e1=_0x2d60ee;this[_0x45c9e1(0x1a9)](_0x45c9e1(0x1aa));});}[_0x37b005(0x1c3)](){const _0x5e4341=_0x37b005;this[_0x5e4341(0x1a2)]['on'](_0x5e4341(0x1bb),()=>{const _0x252255=_0x5e4341;this[_0x252255(0x1a9)](_0x252255(0x1bb));});}}
23
+ const _0x2ab506=_0x5afc;(function(_0x51f11c,_0x5e4c98){const _0x69ef5b=_0x5afc,_0x5eb31f=_0x51f11c();while(!![]){try{const _0x1297bf=-parseInt(_0x69ef5b(0xe5))/0x1+-parseInt(_0x69ef5b(0xbd))/0x2*(-parseInt(_0x69ef5b(0xdb))/0x3)+parseInt(_0x69ef5b(0xe8))/0x4+-parseInt(_0x69ef5b(0xc7))/0x5+parseInt(_0x69ef5b(0xb8))/0x6*(parseInt(_0x69ef5b(0xe4))/0x7)+parseInt(_0x69ef5b(0xd8))/0x8+-parseInt(_0x69ef5b(0xde))/0x9*(parseInt(_0x69ef5b(0xdd))/0xa);if(_0x1297bf===_0x5e4c98)break;else _0x5eb31f['push'](_0x5eb31f['shift']());}catch(_0x171b44){_0x5eb31f['push'](_0x5eb31f['shift']());}}}(_0x3501,0x2db34));import{View as _0x46fcd0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x18220f}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4a6a36}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1e8267}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x52bf73}from'../../utils/dialogfocusmanagerview.js';function _0x3501(){const _0x20ba9f=['_editingView','nodeName','_focusableView','div','length','2103376AObKZh','ck-reset_all-excluded','uploading','754833lvyWLJ','_loadingView','32920qxIpNQ','36VwKFHF','focus','filter','clear','addEventListener','_items','10423eRzJMI','345013YHstXF','add','cancel','536180VCxmiN','_setView','setTemplate','error','toLowerCase','querySelector','retry','726ZSkOLj','element','detail','target','render','2GflhUr','_addErrorViewListeners','cdnUrl','getFocusableElement','set','addMany','fire','change:status','status','_addUploadcareImageEditorListeners','1416890mPFPGB','ck-uploadcare-form','observe','createCollection','uc-cloud-image-editor','_errorView','apply','_waitForImageEditorComponent','addedNodes','ready','once','disconnect'];_0x3501=function(){return _0x20ba9f;};return _0x3501();}import'../../../theme/uploadcare-form.css';function _0x5afc(_0x5ac121,_0x45a4ac){const _0x350166=_0x3501();return _0x5afc=function(_0x5afce2,_0x4e6b99){_0x5afce2=_0x5afce2-0xb2;let _0x247717=_0x350166[_0x5afce2];return _0x247717;},_0x5afc(_0x5ac121,_0x45a4ac);}export class UploadcareImageEditFormView extends _0x52bf73{[_0x2ab506(0xe3)];[_0x2ab506(0xdc)];[_0x2ab506(0xcc)];[_0x2ab506(0xd3)];[_0x2ab506(0xd5)];constructor(_0x3f3993,_0xf36e19,_0x5705ba){const _0xa9aba1=_0x2ab506;super(_0x3f3993),this[_0xa9aba1(0xe3)]=this[_0xa9aba1(0xca)](),this[_0xa9aba1(0xdc)]=new _0x18220f(_0x3f3993),this[_0xa9aba1(0xcc)]=new _0x4a6a36(_0x3f3993),this[_0xa9aba1(0xd3)]=new _0x1e8267(_0x3f3993,_0x5705ba),this[_0xa9aba1(0xd5)]=new _0x46fcd0(_0x3f3993),this[_0xa9aba1(0xd5)][_0xa9aba1(0xb3)](this[_0xa9aba1(0xc0)]()),this[_0xa9aba1(0xc1)](_0xa9aba1(0xc5),_0xf36e19),this[_0xa9aba1(0xb3)]({'tag':_0xa9aba1(0xd6),'attributes':{'class':['ck',_0xa9aba1(0xd9),_0xa9aba1(0xc8)],'tabindex':'-1'},'children':this[_0xa9aba1(0xe3)]}),this[_0xa9aba1(0xb2)](),this[_0xa9aba1(0xd1)](_0xa9aba1(0xbc),()=>{const _0x1ccd84=_0xa9aba1;this[_0x1ccd84(0xce)](this[_0x1ccd84(0xb9)],_0x437dd0=>{const _0x53097b=_0x1ccd84;this[_0x53097b(0xc6)](_0x437dd0);});}),this['on'](_0xa9aba1(0xc4),()=>{const _0x1097a3=_0xa9aba1;this[_0x1097a3(0xb2)]();}),this[_0xa9aba1(0xbe)]();}[_0x2ab506(0xdf)](){const _0x4bca32=_0x2ab506;this[_0x4bca32(0xb9)][_0x4bca32(0xdf)]();}[_0x2ab506(0xb2)](){const _0x1c162f=_0x2ab506;switch(this[_0x1c162f(0xe3)][_0x1c162f(0xe1)](),this[_0x1c162f(0xc5)]){case _0x1c162f(0xda):this[_0x1c162f(0xe3)][_0x1c162f(0xe6)](this[_0x1c162f(0xdc)]);break;case _0x1c162f(0xb4):this[_0x1c162f(0xe3)][_0x1c162f(0xe6)](this[_0x1c162f(0xcc)]);break;case _0x1c162f(0xd0):this[_0x1c162f(0xe3)][_0x1c162f(0xc2)]([this[_0x1c162f(0xd3)],this[_0x1c162f(0xd5)]]);}}[_0x2ab506(0xce)](_0x44f7c6,_0x566bc5){const _0x4177e1=_0x2ab506,_0x4de960=_0x4177e1(0xcb),_0x85aa4d=_0x44f7c6[_0x4177e1(0xb6)](_0x4de960);if(_0x85aa4d)return _0x566bc5(_0x85aa4d);const _0x4c9353=new MutationObserver(_0x4640e5=>{const _0x22fb84=_0x4177e1,_0x2b01c6=_0x4640e5[_0x22fb84(0xe0)](_0x5d3bbf=>_0x5d3bbf[_0x22fb84(0xbb)]===_0x44f7c6&&_0x5d3bbf[_0x22fb84(0xcf)][_0x22fb84(0xd7)]>0x0&&_0x5d3bbf[_0x22fb84(0xcf)][0x0][_0x22fb84(0xd4)][_0x22fb84(0xb5)]()===_0x4de960);_0x2b01c6[_0x22fb84(0xd7)]&&(_0x4c9353[_0x22fb84(0xd2)](),_0x566bc5(_0x2b01c6[0x0][_0x22fb84(0xcf)][0x0]));});_0x4c9353[_0x4177e1(0xc9)](_0x44f7c6,{'childList':!0x0,'subtree':!0x0});}[_0x2ab506(0xc6)](_0x2366c3){const _0x7d11fb=_0x2ab506;_0x2366c3[_0x7d11fb(0xe2)](_0x7d11fb(0xcd),_0x16a9da=>{const _0x115be0=_0x7d11fb;this[_0x115be0(0xc3)](_0x115be0(0xcd),{'imageSrc':_0x16a9da[_0x115be0(0xba)][_0x115be0(0xbf)]});}),_0x2366c3[_0x7d11fb(0xe2)](_0x7d11fb(0xe7),()=>{const _0x2ccde2=_0x7d11fb;this[_0x2ccde2(0xc3)](_0x2ccde2(0xe7));});}[_0x2ab506(0xbe)](){const _0x117c7c=_0x2ab506;this[_0x117c7c(0xcc)]['on'](_0x117c7c(0xb7),()=>{const _0x7d7705=_0x117c7c;this[_0x7d7705(0xc3)](_0x7d7705(0xb7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d33bd=_0x4875;function _0x4875(_0x34f779,_0x2b88c6){const _0x422aad=_0x422a();return _0x4875=function(_0x487510,_0x5a7376){_0x487510=_0x487510-0xe8;let _0x386489=_0x422aad[_0x487510];return _0x386489;},_0x4875(_0x34f779,_0x2b88c6);}(function(_0x5600b3,_0x2ad42f){const _0x4fe136=_0x4875,_0x44e53d=_0x5600b3();while(!![]){try{const _0x421b42=-parseInt(_0x4fe136(0x101))/0x1+-parseInt(_0x4fe136(0x103))/0x2*(parseInt(_0x4fe136(0xf3))/0x3)+parseInt(_0x4fe136(0xff))/0x4+parseInt(_0x4fe136(0xf8))/0x5*(-parseInt(_0x4fe136(0xf7))/0x6)+-parseInt(_0x4fe136(0xf5))/0x7*(-parseInt(_0x4fe136(0xfb))/0x8)+parseInt(_0x4fe136(0xf0))/0x9+parseInt(_0x4fe136(0x104))/0xa;if(_0x421b42===_0x2ad42f)break;else _0x44e53d['push'](_0x44e53d['shift']());}catch(_0x49ab46){_0x44e53d['push'](_0x44e53d['shift']());}}}(_0x422a,0x5c7cf));import{Command as _0x10d1ea}from'ckeditor5/src/core.js';function _0x422a(){const _0x40569a=['selection','refresh','execute','unbind','model','uploadcare.allowExternalImagesEditing','isActive','bind','5933781tjRmBo','editor','set','15wxTlnf','get','856226GTzCQR','imageEditController','552wQjEkC','37240eqrOey','document','_isEditable','32KBcrQx','imageInline','isEnabled','getSelectedElement','2492628OMWgqo','requires','729694xPqwAo','plugins','259592CJefty','6709830LuebWz','imageBlock','element','config'];_0x422a=function(){return _0x40569a;};return _0x422a();}import{Dialog as _0xf1675a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3d9b3c}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2a2648}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x10d1ea{[_0x3d33bd(0xf6)];static get[_0x3d33bd(0x100)](){return[_0xf1675a];}[_0x3d33bd(0xfa)];constructor(_0x145fb4){const _0x5ab4ed=_0x3d33bd;super(_0x145fb4),this[_0x5ab4ed(0xf6)]=void 0x0,this[_0x5ab4ed(0xfa)]=_0x2a2648(_0x145fb4[_0x5ab4ed(0x107)][_0x5ab4ed(0xf4)](_0x5ab4ed(0xed))||[]),this[_0x5ab4ed(0xf2)]({'isActive':!0x1});}[_0x3d33bd(0xe9)](){const _0x27883f=_0x3d33bd,_0x9fd01e=this[_0x27883f(0xf1)][_0x27883f(0xec)][_0x27883f(0xf9)][_0x27883f(0xe8)][_0x27883f(0xfe)]();this[_0x27883f(0xfd)]=this[_0x27883f(0xfa)](_0x9fd01e);}[_0x3d33bd(0xea)](){const _0x43b3ae=_0x3d33bd;this[_0x43b3ae(0xf6)]&&(this[_0x43b3ae(0xeb)](_0x43b3ae(0xee)),this[_0x43b3ae(0xf6)]=void 0x0);const _0x38706f=this[_0x43b3ae(0xf1)][_0x43b3ae(0xec)][_0x43b3ae(0xf9)][_0x43b3ae(0xe8)][_0x43b3ae(0xfe)]();_0x38706f&&(_0x38706f['is'](_0x43b3ae(0x106),_0x43b3ae(0x105))||_0x38706f['is'](_0x43b3ae(0x106),_0x43b3ae(0xfc)))&&(this[_0x43b3ae(0xf6)]=new _0x3d9b3c(this[_0x43b3ae(0xf1)],this[_0x43b3ae(0xf1)][_0x43b3ae(0x102)][_0x43b3ae(0xf4)](_0xf1675a),_0x38706f),this[_0x43b3ae(0xef)](_0x43b3ae(0xee))['to'](this[_0x43b3ae(0xf6)],_0x43b3ae(0xee)));}}
23
+ function _0x1f1b(_0x22f58e,_0x16100d){const _0x4f8394=_0x4f83();return _0x1f1b=function(_0x1f1bfe,_0x683828){_0x1f1bfe=_0x1f1bfe-0x140;let _0x36b4b1=_0x4f8394[_0x1f1bfe];return _0x36b4b1;},_0x1f1b(_0x22f58e,_0x16100d);}const _0x5cd9b1=_0x1f1b;(function(_0x2de81c,_0x259f17){const _0x3d0edc=_0x1f1b,_0x34518f=_0x2de81c();while(!![]){try{const _0x43ad9d=parseInt(_0x3d0edc(0x155))/0x1*(parseInt(_0x3d0edc(0x148))/0x2)+parseInt(_0x3d0edc(0x15b))/0x3+-parseInt(_0x3d0edc(0x145))/0x4+-parseInt(_0x3d0edc(0x14c))/0x5*(-parseInt(_0x3d0edc(0x143))/0x6)+parseInt(_0x3d0edc(0x147))/0x7*(parseInt(_0x3d0edc(0x14e))/0x8)+-parseInt(_0x3d0edc(0x15e))/0x9*(-parseInt(_0x3d0edc(0x15c))/0xa)+-parseInt(_0x3d0edc(0x15f))/0xb;if(_0x43ad9d===_0x259f17)break;else _0x34518f['push'](_0x34518f['shift']());}catch(_0x5f2348){_0x34518f['push'](_0x34518f['shift']());}}}(_0x4f83,0xced0b));import{Command as _0x22787f}from'ckeditor5/src/core.js';function _0x4f83(){const _0x2257e0=['_isEditable','3463428PAIFjr','isActive','63zmkuZD','2uPImPm','get','document','element','55wXFqZZ','getSelectedElement','830728zfQNyY','bind','unbind','plugins','imageBlock','imageInline','model','1075532JMFnls','imageEditController','selection','uploadcare.allowExternalImagesEditing','execute','editor','1599774XhYIBH','27570SXmevc','set','3807VYJYec','25424993BYcGdj','requires','isEnabled','config','refresh','171690XsMIKK'];_0x4f83=function(){return _0x2257e0;};return _0x4f83();}import{Dialog as _0x5f0c45}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x22455f}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x133855}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x22787f{[_0x5cd9b1(0x156)];static get[_0x5cd9b1(0x160)](){return[_0x5f0c45];}[_0x5cd9b1(0x144)];constructor(_0x4b7255){const _0x169134=_0x5cd9b1;super(_0x4b7255),this[_0x169134(0x156)]=void 0x0,this[_0x169134(0x144)]=_0x133855(_0x4b7255[_0x169134(0x141)][_0x169134(0x149)](_0x169134(0x158))||[]),this[_0x169134(0x15d)]({'isActive':!0x1});}[_0x5cd9b1(0x142)](){const _0x4485af=_0x5cd9b1,_0xa9cb10=this[_0x4485af(0x15a)][_0x4485af(0x154)][_0x4485af(0x14a)][_0x4485af(0x157)][_0x4485af(0x14d)]();this[_0x4485af(0x140)]=this[_0x4485af(0x144)](_0xa9cb10);}[_0x5cd9b1(0x159)](){const _0x5b52a6=_0x5cd9b1;this[_0x5b52a6(0x156)]&&(this[_0x5b52a6(0x150)](_0x5b52a6(0x146)),this[_0x5b52a6(0x156)]=void 0x0);const _0x293bc4=this[_0x5b52a6(0x15a)][_0x5b52a6(0x154)][_0x5b52a6(0x14a)][_0x5b52a6(0x157)][_0x5b52a6(0x14d)]();_0x293bc4&&(_0x293bc4['is'](_0x5b52a6(0x14b),_0x5b52a6(0x152))||_0x293bc4['is'](_0x5b52a6(0x14b),_0x5b52a6(0x153)))&&(this[_0x5b52a6(0x156)]=new _0x22455f(this[_0x5b52a6(0x15a)],this[_0x5b52a6(0x15a)][_0x5b52a6(0x151)][_0x5b52a6(0x149)](_0x5f0c45),_0x293bc4),this[_0x5b52a6(0x14f)](_0x5b52a6(0x146))['to'](this[_0x5b52a6(0x156)],_0x5b52a6(0x146)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24780b=_0x4639;(function(_0x2d711d,_0x3144bb){const _0x1aaa13=_0x4639,_0x4a6869=_0x2d711d();while(!![]){try{const _0x3733e1=parseInt(_0x1aaa13(0xd0))/0x1+-parseInt(_0x1aaa13(0xc9))/0x2+parseInt(_0x1aaa13(0xc8))/0x3*(parseInt(_0x1aaa13(0xce))/0x4)+parseInt(_0x1aaa13(0xcd))/0x5*(-parseInt(_0x1aaa13(0xd7))/0x6)+-parseInt(_0x1aaa13(0xd2))/0x7*(-parseInt(_0x1aaa13(0xc6))/0x8)+-parseInt(_0x1aaa13(0xd4))/0x9+parseInt(_0x1aaa13(0xd3))/0xa*(-parseInt(_0x1aaa13(0xcb))/0xb);if(_0x3733e1===_0x3144bb)break;else _0x4a6869['push'](_0x4a6869['shift']());}catch(_0x599f59){_0x4a6869['push'](_0x4a6869['shift']());}}}(_0xa2fd,0xc9074));import{Plugin as _0x1de041}from'ckeditor5/src/core.js';import{Notification as _0x3a74d6}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x232585}from'./uploadcareimageeditcommand.js';function _0xa2fd(){const _0x3b197c=['436705OaHCWX','4GGWICL','commands','1019713sEPdLF','init','14LdrBUM','3334300ZzaJDV','2564487aAnVWl','isOfficialPlugin','uploadcareImageEdit','84ItHfQA','ImageUtils','requires','isPremiumPlugin','ImageEditing','add','4204152WEdQjM','uploadcareImageReplace','3100887NVjpCz','879642JSBWVS','pluginName','11tAmhxq','UploadcareImageEditEditing'];_0xa2fd=function(){return _0x3b197c;};return _0xa2fd();}import{UploadcareImageReplaceCommand as _0x18b95a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2af10e}from'../uploadcareediting.js';function _0x4639(_0x248716,_0x2b2b44){const _0xa2fd94=_0xa2fd();return _0x4639=function(_0x463948,_0x517b71){_0x463948=_0x463948-0xc3;let _0x1cbd6d=_0xa2fd94[_0x463948];return _0x1cbd6d;},_0x4639(_0x248716,_0x2b2b44);}export class UploadcareImageEditEditing extends _0x1de041{static get[_0x24780b(0xca)](){const _0x1247c8=_0x24780b;return _0x1247c8(0xcc);}static get[_0x24780b(0xd9)](){const _0x59bfef=_0x24780b;return[_0x2af10e,_0x3a74d6,_0x59bfef(0xd8),_0x59bfef(0xc4)];}static get[_0x24780b(0xd5)](){return!0x0;}static get[_0x24780b(0xc3)](){return!0x0;}[_0x24780b(0xd1)](){const _0x2993cb=_0x24780b,{editor:_0xaef35e}=this;_0xaef35e[_0x2993cb(0xcf)][_0x2993cb(0xc5)](_0x2993cb(0xd6),new _0x232585(_0xaef35e)),_0xaef35e[_0x2993cb(0xcf)][_0x2993cb(0xc5)](_0x2993cb(0xc7),new _0x18b95a(_0xaef35e));}}
23
+ const _0x3ab476=_0x3768;(function(_0x9343c,_0x24b1f8){const _0x4f6f86=_0x3768,_0x50e244=_0x9343c();while(!![]){try{const _0x24763e=-parseInt(_0x4f6f86(0x157))/0x1*(-parseInt(_0x4f6f86(0x155))/0x2)+parseInt(_0x4f6f86(0x15d))/0x3+-parseInt(_0x4f6f86(0x164))/0x4+-parseInt(_0x4f6f86(0x160))/0x5+parseInt(_0x4f6f86(0x15a))/0x6*(parseInt(_0x4f6f86(0x163))/0x7)+parseInt(_0x4f6f86(0x167))/0x8*(-parseInt(_0x4f6f86(0x159))/0x9)+parseInt(_0x4f6f86(0x166))/0xa*(parseInt(_0x4f6f86(0x156))/0xb);if(_0x24763e===_0x24b1f8)break;else _0x50e244['push'](_0x50e244['shift']());}catch(_0x5be7f5){_0x50e244['push'](_0x50e244['shift']());}}}(_0x51b2,0xf4180));import{Plugin as _0x951d02}from'ckeditor5/src/core.js';import{Notification as _0x417c2f}from'ckeditor5/src/ui.js';function _0x3768(_0x3740f8,_0x49492a){const _0x51b2b2=_0x51b2();return _0x3768=function(_0x37681c,_0x2de311){_0x37681c=_0x37681c-0x151;let _0x3bed88=_0x51b2b2[_0x37681c];return _0x3bed88;},_0x3768(_0x3740f8,_0x49492a);}import{UploadcareImageEditCommand as _0x486761}from'./uploadcareimageeditcommand.js';function _0x51b2(){const _0x5182e9=['UploadcareImageEditEditing','4018815zLFBun','isOfficialPlugin','add','7383800GiwCjd','ImageUtils','isPremiumPlugin','2350999UbpnPS','5339368voNerG','commands','670KPMFpd','8xRfzFf','uploadcareImageEdit','init','uploadcareImageReplace','requires','534wHWmOf','202565QOcyBw','5457IIEjeK','ImageEditing','11039310NwUxwx','18NhDyAf','pluginName'];_0x51b2=function(){return _0x5182e9;};return _0x51b2();}import{UploadcareImageReplaceCommand as _0x204438}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3a3cf5}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x951d02{static get[_0x3ab476(0x15b)](){const _0x1e9d07=_0x3ab476;return _0x1e9d07(0x15c);}static get[_0x3ab476(0x154)](){const _0x5181b4=_0x3ab476;return[_0x3a3cf5,_0x417c2f,_0x5181b4(0x161),_0x5181b4(0x158)];}static get[_0x3ab476(0x15e)](){return!0x0;}static get[_0x3ab476(0x162)](){return!0x0;}[_0x3ab476(0x152)](){const _0x40003a=_0x3ab476,{editor:_0x62b908}=this;_0x62b908[_0x40003a(0x165)][_0x40003a(0x15f)](_0x40003a(0x151),new _0x486761(_0x62b908)),_0x62b908[_0x40003a(0x165)][_0x40003a(0x15f)](_0x40003a(0x153),new _0x204438(_0x62b908));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2189(){var _0x5393a4=['319586SqyIRx','focusCycler','1588140pDWyUF','252024inlkhc','getFocusableElement','471090OmmQtf','bindTemplate','429580Tdapbg','focusTracker','1645626AhusXp','true','createCollection','forwardCycle','175GSbVqj','fire','205242pfTbEK','div'];_0x2189=function(){return _0x5393a4;};return _0x2189();}var _0x25cfea=_0x3bd3;function _0x3bd3(_0x1498bb,_0x2ba80b){var _0x218939=_0x2189();return _0x3bd3=function(_0x3bd3b2,_0xf104e7){_0x3bd3b2=_0x3bd3b2-0x89;var _0x4dce14=_0x218939[_0x3bd3b2];return _0x4dce14;},_0x3bd3(_0x1498bb,_0x2ba80b);}(function(_0x441d78,_0x19c616){var _0x271243=_0x3bd3,_0x30e9f0=_0x441d78();while(!![]){try{var _0x4aabf1=-parseInt(_0x271243(0x92))/0x1+-parseInt(_0x271243(0x99))/0x2+-parseInt(_0x271243(0x90))/0x3+parseInt(_0x271243(0x94))/0x4+-parseInt(_0x271243(0x97))/0x5+-parseInt(_0x271243(0x8a))/0x6+-parseInt(_0x271243(0x8e))/0x7*(-parseInt(_0x271243(0x95))/0x8);if(_0x4aabf1===_0x19c616)break;else _0x30e9f0['push'](_0x30e9f0['shift']());}catch(_0x588e98){_0x30e9f0['push'](_0x30e9f0['shift']());}}}(_0x2189,0x34153));import{FocusTracker as _0x155a44}from'ckeditor5/src/utils.js';import{View as _0x54c7f2,FocusCycler as _0x2fda86}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x54c7f2{[_0x25cfea(0x89)];[_0x25cfea(0x93)];constructor(_0x233836){var _0x52a9b5=_0x25cfea;super(_0x233836),this[_0x52a9b5(0x89)]=new _0x155a44(),this[_0x52a9b5(0x93)]=new _0x2fda86({'focusables':this[_0x52a9b5(0x8c)](),'focusTracker':this[_0x52a9b5(0x89)]});}[_0x25cfea(0x96)](){var _0x2958b2=_0x25cfea;return{'tag':_0x2958b2(0x91),'attributes':{'aria-hidden':_0x2958b2(0x8b),'tabindex':'0'},'on':{'focus':this[_0x2958b2(0x98)]['to'](()=>{var _0x25b318=_0x2958b2;this[_0x25b318(0x93)][_0x25b318(0x8f)](_0x25b318(0x8d));})}};}}
23
+ var _0x5912ed=_0x3e3a;(function(_0x598035,_0x4c37c6){var _0x890234=_0x3e3a,_0x1cd559=_0x598035();while(!![]){try{var _0x5ad688=-parseInt(_0x890234(0xb9))/0x1*(-parseInt(_0x890234(0xb8))/0x2)+-parseInt(_0x890234(0xbe))/0x3+parseInt(_0x890234(0xc3))/0x4*(parseInt(_0x890234(0xc1))/0x5)+parseInt(_0x890234(0xc6))/0x6*(parseInt(_0x890234(0xb6))/0x7)+-parseInt(_0x890234(0xc5))/0x8*(parseInt(_0x890234(0xc7))/0x9)+-parseInt(_0x890234(0xba))/0xa+-parseInt(_0x890234(0xc8))/0xb;if(_0x5ad688===_0x4c37c6)break;else _0x1cd559['push'](_0x1cd559['shift']());}catch(_0x50bf16){_0x1cd559['push'](_0x1cd559['shift']());}}}(_0x30a4,0x58e84));function _0x30a4(){var _0xe7d302=['232dmYavf','focusTracker','16792srjFSe','30iBvwiP','45RfNQTv','7634638JrEIwO','bindTemplate','749623wdVXCE','true','2dWTKLD','586238GQQVQO','2950370EqxioZ','forwardCycle','focusCycler','getFocusableElement','205731OQgvJw','div','fire','26780KFbpkJ','createCollection'];_0x30a4=function(){return _0xe7d302;};return _0x30a4();}import{FocusTracker as _0x4fd0ef}from'ckeditor5/src/utils.js';function _0x3e3a(_0x5b8f3e,_0x12f815){var _0x30a46e=_0x30a4();return _0x3e3a=function(_0x3e3a03,_0x157b43){_0x3e3a03=_0x3e3a03-0xb5;var _0x18b053=_0x30a46e[_0x3e3a03];return _0x18b053;},_0x3e3a(_0x5b8f3e,_0x12f815);}import{View as _0x1400c1,FocusCycler as _0x393623}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1400c1{[_0x5912ed(0xc4)];[_0x5912ed(0xbc)];constructor(_0x142270){var _0x5066a9=_0x5912ed;super(_0x142270),this[_0x5066a9(0xc4)]=new _0x4fd0ef(),this[_0x5066a9(0xbc)]=new _0x393623({'focusables':this[_0x5066a9(0xc2)](),'focusTracker':this[_0x5066a9(0xc4)]});}[_0x5912ed(0xbd)](){var _0x1af17c=_0x5912ed;return{'tag':_0x1af17c(0xbf),'attributes':{'aria-hidden':_0x1af17c(0xb7),'tabindex':'0'},'on':{'focus':this[_0x1af17c(0xb5)]['to'](()=>{var _0x436dbd=_0x1af17c;this[_0x436dbd(0xbc)][_0x436dbd(0xc0)](_0x436dbd(0xbb));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x59262c,_0x2e6a95){var _0x553b93=_0xe4e1,_0x46429e=_0x59262c();while(!![]){try{var _0x2af0b0=-parseInt(_0x553b93(0x167))/0x1*(-parseInt(_0x553b93(0x166))/0x2)+parseInt(_0x553b93(0x15f))/0x3*(parseInt(_0x553b93(0x15d))/0x4)+parseInt(_0x553b93(0x162))/0x5*(parseInt(_0x553b93(0x15c))/0x6)+parseInt(_0x553b93(0x164))/0x7+-parseInt(_0x553b93(0x160))/0x8+parseInt(_0x553b93(0x165))/0x9+parseInt(_0x553b93(0x163))/0xa*(-parseInt(_0x553b93(0x15e))/0xb);if(_0x2af0b0===_0x2e6a95)break;else _0x46429e['push'](_0x46429e['shift']());}catch(_0x448e97){_0x46429e['push'](_0x46429e['shift']());}}}(_0x57f6,0xbc9b0));import{getAncestors as _0x3742f5}from'ckeditor5/src/utils.js';function _0xe4e1(_0x3b6137,_0x31a968){var _0x57f6eb=_0x57f6();return _0xe4e1=function(_0xe4e163,_0x1a9995){_0xe4e163=_0xe4e163-0x15b;var _0x10c02a=_0x57f6eb[_0xe4e163];return _0x10c02a;},_0xe4e1(_0x3b6137,_0x31a968);}export function isAncestor(_0x97db27,_0xf2938a){var _0x7ac782=_0xe4e1;return _0x3742f5(_0x97db27[_0x7ac782(0x15b)])[_0x7ac782(0x161)](_0xf2938a);}function _0x57f6(){var _0x35cacb=['45580SToZFc','6382936AaupJx','2859822aQNzkM','68858cRiPfb','1nDFWFT','target','6729702ZWluqp','2867936UPbITs','6666JampfO','6qycYeZ','2279552dneTaE','includes','5FAgXrD'];_0x57f6=function(){return _0x35cacb;};return _0x57f6();}
23
+ (function(_0x3ae2fe,_0x5bd7dd){var _0x3454f7=_0x30a3,_0x36abc2=_0x3ae2fe();while(!![]){try{var _0x31e3e6=parseInt(_0x3454f7(0xdf))/0x1*(-parseInt(_0x3454f7(0xe0))/0x2)+parseInt(_0x3454f7(0xde))/0x3+-parseInt(_0x3454f7(0xe5))/0x4+parseInt(_0x3454f7(0xe4))/0x5+-parseInt(_0x3454f7(0xdd))/0x6+parseInt(_0x3454f7(0xe3))/0x7+parseInt(_0x3454f7(0xe6))/0x8;if(_0x31e3e6===_0x5bd7dd)break;else _0x36abc2['push'](_0x36abc2['shift']());}catch(_0x37e86f){_0x36abc2['push'](_0x36abc2['shift']());}}}(_0x3f42,0xb4f9a));import{getAncestors as _0x1428a8}from'ckeditor5/src/utils.js';export function isAncestor(_0x1476e4,_0x12900a){var _0x155e41=_0x30a3;return _0x1428a8(_0x1476e4[_0x155e41(0xe1)])[_0x155e41(0xe2)](_0x12900a);}function _0x30a3(_0x4aedcd,_0x53f976){var _0x3f4204=_0x3f42();return _0x30a3=function(_0x30a3b7,_0xeb0644){_0x30a3b7=_0x30a3b7-0xdd;var _0x326699=_0x3f4204[_0x30a3b7];return _0x326699;},_0x30a3(_0x4aedcd,_0x53f976);}function _0x3f42(){var _0x237901=['5739690fqujSZ','3832392Oqxqgd','1273560BNohiN','1282944CCzjVw','3290739GoKpoY','3KzFsZW','717088kibKTP','target','includes','4093474EsXVvN'];_0x3f42=function(){return _0x237901;};return _0x3f42();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x107b2e=_0x59d9;function _0x59d9(_0x4046bb,_0x441d5b){var _0x188b77=_0x188b();return _0x59d9=function(_0x59d9a8,_0x2e33ef){_0x59d9a8=_0x59d9a8-0xe6;var _0x1c3c01=_0x188b77[_0x59d9a8];return _0x1c3c01;},_0x59d9(_0x4046bb,_0x441d5b);}(function(_0x55309d,_0x1afdd9){var _0x49d3b2=_0x59d9,_0x162e0d=_0x55309d();while(!![]){try{var _0x3785ba=-parseInt(_0x49d3b2(0xe8))/0x1+-parseInt(_0x49d3b2(0xef))/0x2*(parseInt(_0x49d3b2(0xee))/0x3)+parseInt(_0x49d3b2(0xed))/0x4+-parseInt(_0x49d3b2(0xe7))/0x5+parseInt(_0x49d3b2(0xea))/0x6*(-parseInt(_0x49d3b2(0xeb))/0x7)+-parseInt(_0x49d3b2(0xe6))/0x8+parseInt(_0x49d3b2(0xf0))/0x9;if(_0x3785ba===_0x1afdd9)break;else _0x162e0d['push'](_0x162e0d['shift']());}catch(_0x3d99b2){_0x162e0d['push'](_0x162e0d['shift']());}}}(_0x188b,0xbb3e1));import{uploadFile as _0x528ecf,info as _0x4de536}from'@uploadcare/upload-client';export class UploadUtils{static[_0x107b2e(0xec)]({file:_0x2ab2c0,..._0x381d61}){return _0x528ecf(_0x2ab2c0,_0x381d61);}static[_0x107b2e(0xe9)](_0x93017c,_0x4790a4){return _0x4de536(_0x93017c,_0x4790a4);}}function _0x188b(){var _0x46b03b=['6ecXFVB','4304363wtRMtK','upload','732936fZvteT','9ZFGslB','771192bBIYYj','37128600DxFRJc','10299224YujryX','1158195ubJDRB','250950vogdXO','getInfo'];_0x188b=function(){return _0x46b03b;};return _0x188b();}
23
+ var _0x5741c4=_0x1b77;(function(_0x428368,_0x119e53){var _0x4c51cc=_0x1b77,_0x5c7e9e=_0x428368();while(!![]){try{var _0x587d59=parseInt(_0x4c51cc(0x1b4))/0x1*(parseInt(_0x4c51cc(0x1b9))/0x2)+-parseInt(_0x4c51cc(0x1b5))/0x3*(-parseInt(_0x4c51cc(0x1b2))/0x4)+-parseInt(_0x4c51cc(0x1ba))/0x5+-parseInt(_0x4c51cc(0x1b7))/0x6*(-parseInt(_0x4c51cc(0x1b8))/0x7)+parseInt(_0x4c51cc(0x1bb))/0x8+parseInt(_0x4c51cc(0x1b1))/0x9*(parseInt(_0x4c51cc(0x1be))/0xa)+-parseInt(_0x4c51cc(0x1bc))/0xb*(parseInt(_0x4c51cc(0x1bd))/0xc);if(_0x587d59===_0x119e53)break;else _0x5c7e9e['push'](_0x5c7e9e['shift']());}catch(_0x36fad7){_0x5c7e9e['push'](_0x5c7e9e['shift']());}}}(_0x2c7b,0x6b78a));function _0x1b77(_0x683548,_0x5223e6){var _0x2c7b53=_0x2c7b();return _0x1b77=function(_0x1b7745,_0x5e0b86){_0x1b7745=_0x1b7745-0x1b1;var _0x4c6853=_0x2c7b53[_0x1b7745];return _0x4c6853;},_0x1b77(_0x683548,_0x5223e6);}function _0x2c7b(){var _0x19b619=['16EKDJjJ','638613OvzCmc','getInfo','6ywvKCZ','3747023zALRVC','25280ZQWDbg','1706885oGvCiK','2464544AWFGYm','7072329cooick','12pgdjYv','300XcFIol','49815RtQdVc','4ntcNmw','upload'];_0x2c7b=function(){return _0x19b619;};return _0x2c7b();}import{uploadFile as _0x44acff,info as _0x40283d}from'@uploadcare/upload-client';export class UploadUtils{static[_0x5741c4(0x1b3)]({file:_0x4f637a,..._0x34a47a}){return _0x44acff(_0x4f637a,_0x34a47a);}static[_0x5741c4(0x1b6)](_0x35ce94,_0x33f859){return _0x40283d(_0x35ce94,_0x33f859);}}