@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250302.0 → 0.0.0-nightly-20250303.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 _0x51d21a,ObservableMixin as _0x7490f2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4c5688}from'ckeditor5/src/ui.js';import _0x26d18b from'./uploadcareimageeditformview.js';import _0x26a553 from'../../utils/uploadutils.js';import _0x56783a from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x1e21da,getImageDimension as _0x3ec5f9}from'../../utils/editingutils.js';import{isAncestor as _0x2200e0}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x7490f2(){constructor(_0x10fcba,_0x98b843,_0x2aa844){super(),this['_editor']=_0x10fcba,this['_dialog']=_0x98b843,this['_imageElement']=_0x2aa844,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 _0x410c0b=this['_imageElement'],_0x1620f6=_0x410c0b['getAttribute']('uploadcareImageId'),_0x4516e1=_0x410c0b['getAttribute']('src');if(_0x1620f6)await this['_loadImageInfo'](_0x1620f6,_0x4516e1);else{if(this['_imageCache']['has'](_0x4516e1)){const _0x4424c0=this['_imageCache']['get'](_0x4516e1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4424c0['url'],this['imageDimension']=_0x4424c0['dimension'],this['imageId']=_0x4424c0['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x18c2aa}=this['_editor'],t=_0x18c2aa['t'],_0x2904f5=new _0x26d18b(_0x18c2aa,this['imageStatus'],this['_attributes']);_0x2904f5['bind']('status')['to'](this,'imageStatus'),_0x2904f5['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2904f5['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2904f5['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2904f5,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x56783a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2904f5,'position':_0x4c5688['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2904f5['focus']();},'onHide':()=>{_0x2904f5['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x11fb1e=>!_0x2200e0(_0x11fb1e,_0x2904f5['element'])}});}['_loadImageInfo'](_0x7bd6a,_0x551604){return _0x26a553['getInfo'](_0x7bd6a,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x45392a=>{const {width:_0x14fe94,height:_0xd0268b}=_0x45392a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x551604,this['imageDimension']={'width':_0x14fe94,'height':_0xd0268b},this['imageId']=_0x7bd6a;})['catch'](_0x490f5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x490f5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x34399d,_0x5c145d){return this['_getImageAsFile'](_0x34399d)['then'](_0x4c5f6a=>_0x26a553['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5c145d['signal'],'file':_0x4c5f6a,'onProgress':_0x31547d=>{_0x31547d&&_0x31547d['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x31547d['value']));}}))['then'](_0x167a4c=>{const {width:_0x281b61,height:_0x37e8b3}=_0x167a4c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x167a4c['cdnUrl'],this['imageDimension']={'width':_0x281b61,'height':_0x37e8b3},this['imageId']=_0x167a4c['uuid'],this['imageUploadProgress']=null;const _0x1314fd=_0x34399d['getAttribute']('src');this['_imageCache']['set'](_0x1314fd,{'id':_0x167a4c['uuid'],'url':_0x167a4c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x119d33=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x119d33['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x38c994,_0x57e546){_0x38c994['on']('apply',(_0xf073d,_0x157a47)=>{this['_replaceImage'](_0x57e546,_0x157a47['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x38c994['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x38c994['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x312680,_0x178ebf,_0x563e64){const _0x3c6f27=this['_editor'],{width:_0x1249b,height:_0x37ab01}=_0x3ec5f9(_0x178ebf,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x40664f,imageSources:_0xbdffe3}=_0x1e21da(_0x178ebf,_0x1249b);_0x3c6f27['model']['change'](_0xb6606e=>{if('$graveyard'===_0x312680['root']['rootName']){_0x3c6f27['execute']('insertImage',{'imageType':_0x312680['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x312680['getAttributes']()),'uploadcareImageId':_0x563e64,'src':_0x40664f,'sources':_0xbdffe3,'width':_0x1249b,'height':_0x37ab01}});const _0x319dce=_0x312680['getChildren']();_0x312680=_0x3c6f27['model']['document']['selection']['getSelectedElement']();for(const _0x500583 of _0x319dce)_0xb6606e['append'](_0xb6606e['cloneElement'](_0x500583),_0x312680);}else _0xb6606e['setSelection'](_0x312680,'on'),_0x3c6f27['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x312680['getAttributes']()),'uploadcareImageId':_0x563e64,'src':_0x40664f,'sources':_0xbdffe3,'width':_0x1249b,'height':_0x37ab01},_0x312680);_0xb6606e['setSelection'](_0x312680,'on');});}async['_getImageAsFile'](_0x57349d){const _0x3f9a40=_0x51d21a['window'],_0x46eabd=_0x51d21a['document']['location']['href'],_0x524e09=new _0x3f9a40['URL'](_0x57349d['getAttribute']('src'),_0x46eabd);if('data:'===_0x524e09['protocol']){const _0x395200=_0x524e09['href']['split'](','),_0x5c0688=_0x395200[0x0]['match'](/:(.*?);/)[0x1],_0x4c837e=_0x5c0688['split']('/')[0x1],_0x4e483c=_0x3f9a40['atob'](_0x395200[_0x395200['length']-0x1]);let _0x1f448d=_0x4e483c['length'];const _0x3c002d=new _0x3f9a40['Uint8Array'](_0x1f448d);for(;_0x1f448d--;)_0x3c002d[_0x1f448d]=_0x4e483c['charCodeAt'](_0x1f448d);return new _0x3f9a40['File']([_0x3c002d],'image.'+_0x4c837e,{'type':_0x5c0688});}const _0x2576ba=_0x524e09['href']['split']('/'),_0x5b26ed=_0x2576ba[_0x2576ba['length']-0x1],_0x54de59=_0x5b26ed['split']('.')[0x1];return _0x3f9a40['fetch'](_0x524e09['href'])['then'](_0x5e1ee1=>_0x5e1ee1['clone']()['blob']())['then'](_0x2d1992=>new _0x3f9a40['File']([_0x2d1992],_0x5b26ed,{'type':'image/'+_0x54de59}));}}
23
+ import{global as _0x2e2eb6,ObservableMixin as _0x184f63}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50ea8b}from'ckeditor5/src/ui.js';import _0x3af96d from'./uploadcareimageeditformview.js';import _0x10df08 from'../../utils/uploadutils.js';import _0x5a2f7d from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x413c05,getImageDimension as _0x2be066}from'../../utils/editingutils.js';import{isAncestor as _0x3d2395}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x184f63(){constructor(_0x96aed5,_0x495589,_0x3ef998){super(),this['_editor']=_0x96aed5,this['_dialog']=_0x495589,this['_imageElement']=_0x3ef998,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 _0x1893d3=this['_imageElement'],_0x59cd86=_0x1893d3['getAttribute']('uploadcareImageId'),_0x48ee90=_0x1893d3['getAttribute']('src');if(_0x59cd86)await this['_loadImageInfo'](_0x59cd86,_0x48ee90);else{if(this['_imageCache']['has'](_0x48ee90)){const _0x8a4497=this['_imageCache']['get'](_0x48ee90);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8a4497['url'],this['imageDimension']=_0x8a4497['dimension'],this['imageId']=_0x8a4497['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x308dfe}=this['_editor'],t=_0x308dfe['t'],_0x293ee9=new _0x3af96d(_0x308dfe,this['imageStatus'],this['_attributes']);_0x293ee9['bind']('status')['to'](this,'imageStatus'),_0x293ee9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x293ee9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x293ee9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x293ee9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a2f7d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x293ee9,'position':_0x50ea8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x293ee9['focus']();},'onHide':()=>{_0x293ee9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x12b28a=>!_0x3d2395(_0x12b28a,_0x293ee9['element'])}});}['_loadImageInfo'](_0x133e53,_0x3f4faa){return _0x10df08['getInfo'](_0x133e53,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1f58df=>{const {width:_0x2ebb97,height:_0x32d090}=_0x1f58df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f4faa,this['imageDimension']={'width':_0x2ebb97,'height':_0x32d090},this['imageId']=_0x133e53;})['catch'](_0x4e7e6a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e7e6a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x464f1f,_0x4b1d9d){return this['_getImageAsFile'](_0x464f1f)['then'](_0x4607a0=>_0x10df08['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4b1d9d['signal'],'file':_0x4607a0,'onProgress':_0x562f81=>{_0x562f81&&_0x562f81['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x562f81['value']));}}))['then'](_0x4131f1=>{const {width:_0x1272ee,height:_0x2e448f}=_0x4131f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4131f1['cdnUrl'],this['imageDimension']={'width':_0x1272ee,'height':_0x2e448f},this['imageId']=_0x4131f1['uuid'],this['imageUploadProgress']=null;const _0x1797d7=_0x464f1f['getAttribute']('src');this['_imageCache']['set'](_0x1797d7,{'id':_0x4131f1['uuid'],'url':_0x4131f1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x151a0e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x151a0e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x9d5973,_0xa7ddfb){_0x9d5973['on']('apply',(_0xdc2b29,_0x3b38cc)=>{this['_replaceImage'](_0xa7ddfb,_0x3b38cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x9d5973['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x9d5973['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x380c31,_0x4413fc,_0x2f5ec8){const _0x54df6f=this['_editor'],{width:_0x329cfd,height:_0x4f7a24}=_0x2be066(_0x4413fc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x570952,imageSources:_0x57cd24}=_0x413c05(_0x4413fc,_0x329cfd);_0x54df6f['model']['change'](_0x4d492a=>{if('$graveyard'===_0x380c31['root']['rootName']){_0x54df6f['execute']('insertImage',{'imageType':_0x380c31['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x380c31['getAttributes']()),'uploadcareImageId':_0x2f5ec8,'src':_0x570952,'sources':_0x57cd24,'width':_0x329cfd,'height':_0x4f7a24}});const _0x2ceb47=_0x380c31['getChildren']();_0x380c31=_0x54df6f['model']['document']['selection']['getSelectedElement']();for(const _0x1b7205 of _0x2ceb47)_0x4d492a['append'](_0x4d492a['cloneElement'](_0x1b7205),_0x380c31);}else _0x4d492a['setSelection'](_0x380c31,'on'),_0x54df6f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x380c31['getAttributes']()),'uploadcareImageId':_0x2f5ec8,'src':_0x570952,'sources':_0x57cd24,'width':_0x329cfd,'height':_0x4f7a24},_0x380c31);_0x4d492a['setSelection'](_0x380c31,'on');});}async['_getImageAsFile'](_0x2d405a){const _0x537bdb=_0x2e2eb6['window'],_0x492d5a=_0x2e2eb6['document']['location']['href'],_0x494b23=new _0x537bdb['URL'](_0x2d405a['getAttribute']('src'),_0x492d5a);if('data:'===_0x494b23['protocol']){const _0x36daf6=_0x494b23['href']['split'](','),_0x5e2069=_0x36daf6[0x0]['match'](/:(.*?);/)[0x1],_0x34a0a4=_0x5e2069['split']('/')[0x1],_0x37edaa=_0x537bdb['atob'](_0x36daf6[_0x36daf6['length']-0x1]);let _0x25bd75=_0x37edaa['length'];const _0x138ab6=new _0x537bdb['Uint8Array'](_0x25bd75);for(;_0x25bd75--;)_0x138ab6[_0x25bd75]=_0x37edaa['charCodeAt'](_0x25bd75);return new _0x537bdb['File']([_0x138ab6],'image.'+_0x34a0a4,{'type':_0x5e2069});}const _0x4e913c=_0x494b23['href']['split']('/'),_0x163af8=_0x4e913c[_0x4e913c['length']-0x1],_0x56043a=_0x163af8['split']('.')[0x1];return _0x537bdb['fetch'](_0x494b23['href'])['then'](_0x330805=>_0x330805['clone']()['blob']())['then'](_0x35004f=>new _0x537bdb['File']([_0x35004f],_0x163af8,{'type':'image/'+_0x56043a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x40461b,_0x1e0bfa){const _0x196996=_0x27dd,_0x17b58b=_0x40461b();while(!![]){try{const _0x2d74c6=parseInt(_0x196996(0x185))/0x1*(-parseInt(_0x196996(0x186))/0x2)+parseInt(_0x196996(0x188))/0x3*(parseInt(_0x196996(0x182))/0x4)+parseInt(_0x196996(0x18e))/0x5*(-parseInt(_0x196996(0x191))/0x6)+-parseInt(_0x196996(0x18d))/0x7+-parseInt(_0x196996(0x18f))/0x8*(-parseInt(_0x196996(0x184))/0x9)+parseInt(_0x196996(0x190))/0xa+parseInt(_0x196996(0x193))/0xb;if(_0x2d74c6===_0x1e0bfa)break;else _0x17b58b['push'](_0x17b58b['shift']());}catch(_0xaef5f){_0x17b58b['push'](_0x17b58b['shift']());}}}(_0x5a3c,0xbe8cb));import{View as _0x391f09}from'ckeditor5/src/ui.js';export default class tt extends _0x391f09{constructor(_0x2c421c,_0x3b906e){const _0x25483f=_0x27dd;super(_0x2c421c);const _0x50da0c=this[_0x25483f(0x18a)];this[_0x25483f(0x181)](_0x25483f(0x189),''),this[_0x25483f(0x187)]({'tag':_0x25483f(0x192),'attributes':{..._0x3b906e,'class':[_0x25483f(0x18b),_0x25483f(0x18c)],'ctx-name':_0x25483f(0x183),'cdn-url':_0x50da0c['to'](_0x25483f(0x189))}});}}function _0x27dd(_0x3dce3f,_0x4243da){const _0x5a3c4f=_0x5a3c();return _0x27dd=function(_0x27ddc3,_0x1f34b8){_0x27ddc3=_0x27ddc3-0x181;let _0x2c1c53=_0x5a3c4f[_0x27ddc3];return _0x2c1c53;},_0x27dd(_0x3dce3f,_0x4243da);}function _0x5a3c(){const _0x282538=['7368YeWAff','554500YsJhIS','8563770LMqugt','uc-cloud-image-editor','28350003LxgCtC','set','16tuxbIx','image-edit','13707KLDwYp','16968ePtKtn','160iitNsT','setTemplate','448059FtGsSM','imageSrc','bindTemplate','uc-light','ck-uploadcare-theme','7473144RrWNkl','5teWJSJ'];_0x5a3c=function(){return _0x282538;};return _0x5a3c();}
23
+ (function(_0x14a22f,_0x78271b){const _0x4f4427=_0x5ed3,_0x1113a4=_0x14a22f();while(!![]){try{const _0x592e59=parseInt(_0x4f4427(0x73))/0x1*(parseInt(_0x4f4427(0x6d))/0x2)+parseInt(_0x4f4427(0x78))/0x3+-parseInt(_0x4f4427(0x6f))/0x4+parseInt(_0x4f4427(0x6e))/0x5*(-parseInt(_0x4f4427(0x74))/0x6)+-parseInt(_0x4f4427(0x7f))/0x7*(parseInt(_0x4f4427(0x7b))/0x8)+parseInt(_0x4f4427(0x7a))/0x9*(-parseInt(_0x4f4427(0x76))/0xa)+parseInt(_0x4f4427(0x72))/0xb;if(_0x592e59===_0x78271b)break;else _0x1113a4['push'](_0x1113a4['shift']());}catch(_0x2703a6){_0x1113a4['push'](_0x1113a4['shift']());}}}(_0x1a84,0xc23b1));import{View as _0xad179e}from'ckeditor5/src/ui.js';function _0x5ed3(_0x49e1d0,_0x4b2440){const _0x1a84f5=_0x1a84();return _0x5ed3=function(_0x5ed326,_0x21369d){_0x5ed326=_0x5ed326-0x6d;let _0x37a32e=_0x1a84f5[_0x5ed326];return _0x37a32e;},_0x5ed3(_0x49e1d0,_0x4b2440);}function _0x1a84(){const _0x1c8db3=['image-edit','190vErimB','bindTemplate','2636268zxRKAf','uc-light','252729tbjNQF','8024zxTYit','set','imageSrc','ck-uploadcare-theme','3269ZPIsuZ','1331234bcTDBs','10uwIdlu','4306816CbNMyL','setTemplate','uc-cloud-image-editor','18709108NcsMUm','1FOlvmM','1112964HEsuYy'];_0x1a84=function(){return _0x1c8db3;};return _0x1a84();}export default class tt extends _0xad179e{constructor(_0x50ddda,_0x2ad7bf){const _0xdbd77=_0x5ed3;super(_0x50ddda);const _0x474b16=this[_0xdbd77(0x77)];this[_0xdbd77(0x7c)](_0xdbd77(0x7d),''),this[_0xdbd77(0x70)]({'tag':_0xdbd77(0x71),'attributes':{..._0x2ad7bf,'class':[_0xdbd77(0x79),_0xdbd77(0x7e)],'ctx-name':_0xdbd77(0x75),'cdn-url':_0x474b16['to'](_0xdbd77(0x7d))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3be392,IconView as et,View as _0x5086f7}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x5086f7{constructor(_0x76c0cc){super(_0x76c0cc);const t=_0x76c0cc['t'];this['set']('errorType',null);const _0x150d98=new _0x3be392(_0x76c0cc);_0x150d98['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x150d98['withText']=!0x0,_0x150d98['class']='ck-button-action',_0x150d98['on']('execute',()=>{this['fire']('retry');}),_0x150d98['bind']('isVisible')['to'](this,'errorType',_0xd8b394=>'NotFound'!==_0xd8b394);const _0x545e42=new et();_0x545e42['content']=at,_0x545e42['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x31d72d=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':[_0x545e42,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x31d72d['to']('errorType',_0x306163=>t('NotFound'!==_0x306163?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x150d98]},{'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{ButtonView as _0x5e6a86,IconView as et,View as _0x8e8ffe}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x8e8ffe{constructor(_0x406b3f){super(_0x406b3f);const t=_0x406b3f['t'];this['set']('errorType',null);const _0x462642=new _0x5e6a86(_0x406b3f);_0x462642['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x462642['withText']=!0x0,_0x462642['class']='ck-button-action',_0x462642['on']('execute',()=>{this['fire']('retry');}),_0x462642['bind']('isVisible')['to'](this,'errorType',_0x40ae83=>'NotFound'!==_0x40ae83);const _0x32f1f7=new et();_0x32f1f7['content']=at,_0x32f1f7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4438a2=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':[_0x32f1f7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4438a2['to']('errorType',_0x3f10f5=>t('NotFound'!==_0x3f10f5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x462642]},{'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 _0x5640e6,View as _0x31fe42}from'ckeditor5/src/ui.js';export default class ta extends _0x31fe42{constructor(_0x474c54){super(_0x474c54);const t=_0x474c54['t'],_0x342029=this['bindTemplate'],_0x3cf365=new _0x5640e6();_0x3cf365['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':[_0x3cf365,{'text':_0x342029['to']('imageUploadProgress',_0x3fe904=>t('Loading\x20image...')+'\x20('+(_0x3fe904||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 _0xe6c9b2,View as _0x1b41c4}from'ckeditor5/src/ui.js';export default class ta extends _0x1b41c4{constructor(_0xf3fce8){super(_0xf3fce8);const t=_0xf3fce8['t'],_0x489b17=this['bindTemplate'],_0x2bdc33=new _0xe6c9b2();_0x2bdc33['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':[_0x2bdc33,{'text':_0x489b17['to']('imageUploadProgress',_0x28cdfc=>t('Loading\x20image...')+'\x20('+(_0x28cdfc||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
- function _0x59e5(_0x2094c7,_0x17f3db){const _0x45b609=_0x45b6();return _0x59e5=function(_0x59e519,_0x1f69f9){_0x59e519=_0x59e519-0xd7;let _0x1994f7=_0x45b609[_0x59e519];return _0x1994f7;},_0x59e5(_0x2094c7,_0x17f3db);}const _0x3ae4e0=_0x59e5;(function(_0x25baab,_0x2adf1f){const _0x4523df=_0x59e5,_0x3086e1=_0x25baab();while(!![]){try{const _0xa50a89=-parseInt(_0x4523df(0x101))/0x1+-parseInt(_0x4523df(0x108))/0x2*(-parseInt(_0x4523df(0x109))/0x3)+-parseInt(_0x4523df(0x107))/0x4+parseInt(_0x4523df(0x10d))/0x5+-parseInt(_0x4523df(0xf4))/0x6+parseInt(_0x4523df(0xe0))/0x7*(parseInt(_0x4523df(0xe2))/0x8)+-parseInt(_0x4523df(0xef))/0x9*(-parseInt(_0x4523df(0xda))/0xa);if(_0xa50a89===_0x2adf1f)break;else _0x3086e1['push'](_0x3086e1['shift']());}catch(_0x1368a4){_0x3086e1['push'](_0x3086e1['shift']());}}}(_0x45b6,0x1e7e8));import{View as _0x286b7f}from'ckeditor5/src/ui.js';function _0x45b6(){const _0x1698db=['filter','_waitForImageEditorComponent','observe','disconnect','ck-reset_all-excluded','detail','_editingView','apply','focus','_errorView','getFocusableElement','error','2188179GObRcg','_addErrorViewListeners','element','toLowerCase','status','955194lfFxva','createCollection','querySelector','once','cancel','change:status','_items','uploading','retry','_addUploadcareImageEditorListeners','addEventListener','cdnUrl','clear','178424luJglb','target','fire','ck-uploadcare-form','div','ready','462888FjWiIK','333746oSFXGq','3YEAPpM','addedNodes','addMany','_setView','920fUnwGa','_loadingView','render','nodeName','10gatdPz','length','_focusableView','setTemplate','add','set','7pBoeZK','uc-cloud-image-editor','1344488GFriTs'];_0x45b6=function(){return _0x1698db;};return _0x45b6();}import _0x5ab519 from'./uploadcareimageeditformloadingview.js';import _0x235a59 from'./uploadcareimageeditformerrorview.js';import _0x2c1a91 from'./uploadcareimageeditformeditingview.js';import _0x36f25a from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x36f25a{constructor(_0x10839c,_0x372797,_0x1a4ec6){const _0x516748=_0x59e5;super(_0x10839c),this[_0x516748(0xfa)]=this[_0x516748(0xf5)](),this[_0x516748(0xd7)]=new _0x5ab519(_0x10839c),this[_0x516748(0xec)]=new _0x235a59(_0x10839c),this[_0x516748(0xe9)]=new _0x2c1a91(_0x10839c,_0x1a4ec6),this[_0x516748(0xdc)]=new _0x286b7f(_0x10839c),this[_0x516748(0xdc)][_0x516748(0xdd)](this[_0x516748(0xed)]()),this[_0x516748(0xdf)](_0x516748(0xf3),_0x372797),this[_0x516748(0xdd)]({'tag':_0x516748(0x105),'attributes':{'class':['ck',_0x516748(0xe7),_0x516748(0x104)],'tabindex':'-1'},'children':this[_0x516748(0xfa)]}),this[_0x516748(0x10c)](),this[_0x516748(0xf7)](_0x516748(0xd8),()=>{const _0x2cb962=_0x516748;this[_0x2cb962(0xe4)](this[_0x2cb962(0xf1)],_0x302670=>{const _0x5bde3c=_0x2cb962;this[_0x5bde3c(0xfd)](_0x302670);});}),this['on'](_0x516748(0xf9),()=>{const _0x12cbf2=_0x516748;this[_0x12cbf2(0x10c)]();}),this[_0x516748(0xf0)]();}[_0x3ae4e0(0xeb)](){const _0x26ec88=_0x3ae4e0;this[_0x26ec88(0xf1)][_0x26ec88(0xeb)]();}[_0x3ae4e0(0x10c)](){const _0x301bdc=_0x3ae4e0;switch(this[_0x301bdc(0xfa)][_0x301bdc(0x100)](),this[_0x301bdc(0xf3)]){case _0x301bdc(0xfb):this[_0x301bdc(0xfa)][_0x301bdc(0xde)](this[_0x301bdc(0xd7)]);break;case _0x301bdc(0xee):this[_0x301bdc(0xfa)][_0x301bdc(0xde)](this[_0x301bdc(0xec)]);break;case _0x301bdc(0x106):this[_0x301bdc(0xfa)][_0x301bdc(0x10b)]([this[_0x301bdc(0xe9)],this[_0x301bdc(0xdc)]]);}}[_0x3ae4e0(0xe4)](_0xec1c72,_0x58505b){const _0x5c57fe=_0x3ae4e0,_0x7f59dc=_0x5c57fe(0xe1),_0x507ef6=_0xec1c72[_0x5c57fe(0xf6)](_0x7f59dc);if(_0x507ef6)return _0x58505b(_0x507ef6);const _0x246eee=new MutationObserver(_0xc6f41d=>{const _0x2a3cf1=_0x5c57fe,_0x4dae30=_0xc6f41d[_0x2a3cf1(0xe3)](_0x59bbf5=>_0x59bbf5[_0x2a3cf1(0x102)]===_0xec1c72&&_0x59bbf5[_0x2a3cf1(0x10a)][_0x2a3cf1(0xdb)]>0x0&&_0x59bbf5[_0x2a3cf1(0x10a)][0x0][_0x2a3cf1(0xd9)][_0x2a3cf1(0xf2)]()===_0x7f59dc);_0x4dae30[_0x2a3cf1(0xdb)]&&(_0x246eee[_0x2a3cf1(0xe6)](),_0x58505b(_0x4dae30[0x0][_0x2a3cf1(0x10a)][0x0]));});_0x246eee[_0x5c57fe(0xe5)](_0xec1c72,{'childList':!0x0,'subtree':!0x0});}[_0x3ae4e0(0xfd)](_0x5c2a73){const _0x301e79=_0x3ae4e0;_0x5c2a73[_0x301e79(0xfe)](_0x301e79(0xea),_0x50c10f=>{const _0x56fe67=_0x301e79;this[_0x56fe67(0x103)](_0x56fe67(0xea),{'imageSrc':_0x50c10f[_0x56fe67(0xe8)][_0x56fe67(0xff)]});}),_0x5c2a73[_0x301e79(0xfe)](_0x301e79(0xf8),()=>{const _0x398f74=_0x301e79;this[_0x398f74(0x103)](_0x398f74(0xf8));});}[_0x3ae4e0(0xf0)](){const _0x41bfb8=_0x3ae4e0;this[_0x41bfb8(0xec)]['on'](_0x41bfb8(0xfc),()=>{const _0x29869d=_0x41bfb8;this[_0x29869d(0x103)](_0x29869d(0xfc));});}}
23
+ function _0x4a73(){const _0x248845=['length','490788wCWZxJ','addEventListener','once','error','createCollection','_waitForImageEditorComponent','clear','ck-uploadcare-form','_errorView','fire','setTemplate','9FTwszk','addMany','div','8pActYJ','target','uploading','change:status','disconnect','cancel','4022722bDVfPK','_addErrorViewListeners','uc-cloud-image-editor','_items','2467990AsSKYs','_addUploadcareImageEditorListeners','ready','retry','7026ZlLUdl','element','nodeName','25004rdwNww','add','focus','_focusableView','getFocusableElement','65159uHizlV','_setView','render','_editingView','245linoCu','ck-reset_all-excluded','observe','set','addedNodes','status','toLowerCase','_loadingView','cdnUrl','apply','querySelector','detail','4UcAqXL','517930ZrxhRI','filter'];_0x4a73=function(){return _0x248845;};return _0x4a73();}const _0x5d9542=_0xa3d8;(function(_0x3ab758,_0x182dd1){const _0x48ba37=_0xa3d8,_0xefebdf=_0x3ab758();while(!![]){try{const _0x58e03e=parseInt(_0x48ba37(0x118))/0x1+-parseInt(_0x48ba37(0x129))/0x2+-parseInt(_0x48ba37(0xf4))/0x3*(-parseInt(_0x48ba37(0x128))/0x4)+-parseInt(_0x48ba37(0x11c))/0x5*(-parseInt(_0x48ba37(0x110))/0x6)+parseInt(_0x48ba37(0x113))/0x7*(-parseInt(_0x48ba37(0x102))/0x8)+-parseInt(_0x48ba37(0xff))/0x9*(parseInt(_0x48ba37(0x10c))/0xa)+parseInt(_0x48ba37(0x108))/0xb;if(_0x58e03e===_0x182dd1)break;else _0xefebdf['push'](_0xefebdf['shift']());}catch(_0x1479ca){_0xefebdf['push'](_0xefebdf['shift']());}}}(_0x4a73,0x22ca4));function _0xa3d8(_0x322d60,_0x148bf4){const _0x4a73ea=_0x4a73();return _0xa3d8=function(_0xa3d8f9,_0x407b19){_0xa3d8f9=_0xa3d8f9-0xf4;let _0x2023b9=_0x4a73ea[_0xa3d8f9];return _0x2023b9;},_0xa3d8(_0x322d60,_0x148bf4);}import{View as _0x1a1f82}from'ckeditor5/src/ui.js';import _0x141f7f from'./uploadcareimageeditformloadingview.js';import _0x2e2346 from'./uploadcareimageeditformerrorview.js';import _0x225ae0 from'./uploadcareimageeditformeditingview.js';import _0x500fa3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x500fa3{constructor(_0xa39948,_0xbb4bb5,_0x10eae5){const _0xbbe6e6=_0xa3d8;super(_0xa39948),this[_0xbbe6e6(0x10b)]=this[_0xbbe6e6(0xf8)](),this[_0xbbe6e6(0x123)]=new _0x141f7f(_0xa39948),this[_0xbbe6e6(0xfc)]=new _0x2e2346(_0xa39948),this[_0xbbe6e6(0x11b)]=new _0x225ae0(_0xa39948,_0x10eae5),this[_0xbbe6e6(0x116)]=new _0x1a1f82(_0xa39948),this[_0xbbe6e6(0x116)][_0xbbe6e6(0xfe)](this[_0xbbe6e6(0x117)]()),this[_0xbbe6e6(0x11f)](_0xbbe6e6(0x121),_0xbb4bb5),this[_0xbbe6e6(0xfe)]({'tag':_0xbbe6e6(0x101),'attributes':{'class':['ck',_0xbbe6e6(0x11d),_0xbbe6e6(0xfb)],'tabindex':'-1'},'children':this[_0xbbe6e6(0x10b)]}),this[_0xbbe6e6(0x119)](),this[_0xbbe6e6(0xf6)](_0xbbe6e6(0x11a),()=>{const _0x298ef9=_0xbbe6e6;this[_0x298ef9(0xf9)](this[_0x298ef9(0x111)],_0x1d6ac4=>{const _0xa5b980=_0x298ef9;this[_0xa5b980(0x10d)](_0x1d6ac4);});}),this['on'](_0xbbe6e6(0x105),()=>{const _0x133541=_0xbbe6e6;this[_0x133541(0x119)]();}),this[_0xbbe6e6(0x109)]();}[_0x5d9542(0x115)](){const _0x462449=_0x5d9542;this[_0x462449(0x111)][_0x462449(0x115)]();}[_0x5d9542(0x119)](){const _0x56695a=_0x5d9542;switch(this[_0x56695a(0x10b)][_0x56695a(0xfa)](),this[_0x56695a(0x121)]){case _0x56695a(0x104):this[_0x56695a(0x10b)][_0x56695a(0x114)](this[_0x56695a(0x123)]);break;case _0x56695a(0xf7):this[_0x56695a(0x10b)][_0x56695a(0x114)](this[_0x56695a(0xfc)]);break;case _0x56695a(0x10e):this[_0x56695a(0x10b)][_0x56695a(0x100)]([this[_0x56695a(0x11b)],this[_0x56695a(0x116)]]);}}[_0x5d9542(0xf9)](_0x55d677,_0x34922a){const _0x43923c=_0x5d9542,_0x2d7395=_0x43923c(0x10a),_0x37a653=_0x55d677[_0x43923c(0x126)](_0x2d7395);if(_0x37a653)return _0x34922a(_0x37a653);const _0x4225c1=new MutationObserver(_0xde70c6=>{const _0x2adfb1=_0x43923c,_0x5310a8=_0xde70c6[_0x2adfb1(0x12a)](_0x46deac=>_0x46deac[_0x2adfb1(0x103)]===_0x55d677&&_0x46deac[_0x2adfb1(0x120)][_0x2adfb1(0x12b)]>0x0&&_0x46deac[_0x2adfb1(0x120)][0x0][_0x2adfb1(0x112)][_0x2adfb1(0x122)]()===_0x2d7395);_0x5310a8[_0x2adfb1(0x12b)]&&(_0x4225c1[_0x2adfb1(0x106)](),_0x34922a(_0x5310a8[0x0][_0x2adfb1(0x120)][0x0]));});_0x4225c1[_0x43923c(0x11e)](_0x55d677,{'childList':!0x0,'subtree':!0x0});}[_0x5d9542(0x10d)](_0x27c04a){const _0x11de68=_0x5d9542;_0x27c04a[_0x11de68(0xf5)](_0x11de68(0x125),_0x32a29f=>{const _0x41b1c1=_0x11de68;this[_0x41b1c1(0xfd)](_0x41b1c1(0x125),{'imageSrc':_0x32a29f[_0x41b1c1(0x127)][_0x41b1c1(0x124)]});}),_0x27c04a[_0x11de68(0xf5)](_0x11de68(0x107),()=>{const _0x198ebd=_0x11de68;this[_0x198ebd(0xfd)](_0x198ebd(0x107));});}[_0x5d9542(0x109)](){const _0x42c6a6=_0x5d9542;this[_0x42c6a6(0xfc)]['on'](_0x42c6a6(0x10f),()=>{const _0x1cead6=_0x42c6a6;this[_0x1cead6(0xfd)](_0x1cead6(0x10f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa452ae=_0x285f;(function(_0x5b27c9,_0x50c067){const _0x268384=_0x285f,_0x3a1d0f=_0x5b27c9();while(!![]){try{const _0x117397=-parseInt(_0x268384(0x1e0))/0x1*(parseInt(_0x268384(0x1e2))/0x2)+-parseInt(_0x268384(0x1e4))/0x3*(parseInt(_0x268384(0x1f2))/0x4)+-parseInt(_0x268384(0x1eb))/0x5*(parseInt(_0x268384(0x1dd))/0x6)+-parseInt(_0x268384(0x1fa))/0x7+-parseInt(_0x268384(0x1ef))/0x8*(-parseInt(_0x268384(0x1e3))/0x9)+parseInt(_0x268384(0x1f9))/0xa*(parseInt(_0x268384(0x1ed))/0xb)+parseInt(_0x268384(0x1e9))/0xc;if(_0x117397===_0x50c067)break;else _0x3a1d0f['push'](_0x3a1d0f['shift']());}catch(_0x4d23e0){_0x3a1d0f['push'](_0x3a1d0f['shift']());}}}(_0x599e,0xbdf99));import{Command as _0xc316f2}from'ckeditor5/src/core.js';import{Dialog as _0x478ade}from'ckeditor5/src/ui.js';function _0x599e(){const _0x426178=['_isEditable','isActive','11850gJjbUw','getSelectedElement','element','304576MnPNDT','imageEditController','4JxiqDj','45rHdEBt','77397WZSmNp','bind','get','plugins','model','28599372UHwFMO','uploadcare.allowExternalImagesEditing','1165xPdRXO','config','11zzqvzo','set','1392296dneFub','document','imageBlock','140JpSVYV','refresh','execute','unbind','requires','imageInline','editor','9904360BqEuIi','10454311PzIaAs','isEnabled','selection'];_0x599e=function(){return _0x426178;};return _0x599e();}import _0x1a0e23 from'./ui/uploadcareimageeditcontroller.js';function _0x285f(_0x47900b,_0x2c9198){const _0x599edd=_0x599e();return _0x285f=function(_0x285ffb,_0x56c0e4){_0x285ffb=_0x285ffb-0x1dd;let _0x46d634=_0x599edd[_0x285ffb];return _0x46d634;},_0x285f(_0x47900b,_0x2c9198);}import{createEditabilityChecker as _0x14e996}from'../utils/editingutils.js';export default class V extends _0xc316f2{static get[_0xa452ae(0x1f6)](){return[_0x478ade];}constructor(_0x49d349){const _0x55b7a4=_0xa452ae;super(_0x49d349),this[_0x55b7a4(0x1e1)]=void 0x0,this[_0x55b7a4(0x1fd)]=_0x14e996(_0x49d349[_0x55b7a4(0x1ec)][_0x55b7a4(0x1e6)](_0x55b7a4(0x1ea))||[]),this[_0x55b7a4(0x1ee)]({'isActive':!0x1});}[_0xa452ae(0x1f3)](){const _0x49429c=_0xa452ae,_0x13539e=this[_0x49429c(0x1f8)][_0x49429c(0x1e8)][_0x49429c(0x1f0)][_0x49429c(0x1fc)][_0x49429c(0x1de)]();this[_0x49429c(0x1fb)]=this[_0x49429c(0x1fd)](_0x13539e);}[_0xa452ae(0x1f4)](){const _0x1f03f5=_0xa452ae;this[_0x1f03f5(0x1e1)]&&(this[_0x1f03f5(0x1f5)](_0x1f03f5(0x1fe)),this[_0x1f03f5(0x1e1)]=void 0x0);const _0x2e99d4=this[_0x1f03f5(0x1f8)][_0x1f03f5(0x1e8)][_0x1f03f5(0x1f0)][_0x1f03f5(0x1fc)][_0x1f03f5(0x1de)]();_0x2e99d4&&(_0x2e99d4['is'](_0x1f03f5(0x1df),_0x1f03f5(0x1f1))||_0x2e99d4['is'](_0x1f03f5(0x1df),_0x1f03f5(0x1f7)))&&(this[_0x1f03f5(0x1e1)]=new _0x1a0e23(this[_0x1f03f5(0x1f8)],this[_0x1f03f5(0x1f8)][_0x1f03f5(0x1e7)][_0x1f03f5(0x1e6)](_0x478ade),_0x2e99d4),this[_0x1f03f5(0x1e5)](_0x1f03f5(0x1fe))['to'](this[_0x1f03f5(0x1e1)],_0x1f03f5(0x1fe)));}}
23
+ function _0x97f5(_0x4d2a58,_0x52c6b2){const _0x4d200d=_0x4d20();return _0x97f5=function(_0x97f500,_0x201f56){_0x97f500=_0x97f500-0x150;let _0x1b5d99=_0x4d200d[_0x97f500];return _0x1b5d99;},_0x97f5(_0x4d2a58,_0x52c6b2);}const _0x2393f1=_0x97f5;(function(_0x1ee6e0,_0x2edb6b){const _0x497a4b=_0x97f5,_0x290dca=_0x1ee6e0();while(!![]){try{const _0x3d0379=parseInt(_0x497a4b(0x15b))/0x1*(-parseInt(_0x497a4b(0x157))/0x2)+-parseInt(_0x497a4b(0x158))/0x3*(-parseInt(_0x497a4b(0x166))/0x4)+parseInt(_0x497a4b(0x150))/0x5+parseInt(_0x497a4b(0x167))/0x6*(parseInt(_0x497a4b(0x164))/0x7)+-parseInt(_0x497a4b(0x169))/0x8+parseInt(_0x497a4b(0x151))/0x9*(parseInt(_0x497a4b(0x16f))/0xa)+parseInt(_0x497a4b(0x156))/0xb;if(_0x3d0379===_0x2edb6b)break;else _0x290dca['push'](_0x290dca['shift']());}catch(_0x5f12ac){_0x290dca['push'](_0x290dca['shift']());}}}(_0x4d20,0x8c910));import{Command as _0x5bf593}from'ckeditor5/src/core.js';import{Dialog as _0x5be8e7}from'ckeditor5/src/ui.js';import _0x5299b2 from'./ui/uploadcareimageeditcontroller.js';function _0x4d20(){const _0x37a712=['154QwQpBt','48llhEPu','isEnabled','editor','7789sfwsWM','selection','set','model','imageEditController','execute','imageBlock','isActive','unbind','1806ejxfuv','document','228392WKWkvs','3774OkadYK','getSelectedElement','4800392vKygPy','imageInline','requires','config','plugins','element','640xtyIJQ','uploadcare.allowExternalImagesEditing','2090890sOmxDb','37872olmWWX','get','refresh','bind','_isEditable','134442EKnTqM'];_0x4d20=function(){return _0x37a712;};return _0x4d20();}import{createEditabilityChecker as _0x420153}from'../utils/editingutils.js';export default class J extends _0x5bf593{static get[_0x2393f1(0x16b)](){return[_0x5be8e7];}constructor(_0x3b9730){const _0x55db76=_0x2393f1;super(_0x3b9730),this[_0x55db76(0x15f)]=void 0x0,this[_0x55db76(0x155)]=_0x420153(_0x3b9730[_0x55db76(0x16c)][_0x55db76(0x152)](_0x55db76(0x170))||[]),this[_0x55db76(0x15d)]({'isActive':!0x1});}[_0x2393f1(0x153)](){const _0x5f2d33=_0x2393f1,_0x3ee2b6=this[_0x5f2d33(0x15a)][_0x5f2d33(0x15e)][_0x5f2d33(0x165)][_0x5f2d33(0x15c)][_0x5f2d33(0x168)]();this[_0x5f2d33(0x159)]=this[_0x5f2d33(0x155)](_0x3ee2b6);}[_0x2393f1(0x160)](){const _0x1ffd24=_0x2393f1;this[_0x1ffd24(0x15f)]&&(this[_0x1ffd24(0x163)](_0x1ffd24(0x162)),this[_0x1ffd24(0x15f)]=void 0x0);const _0x869157=this[_0x1ffd24(0x15a)][_0x1ffd24(0x15e)][_0x1ffd24(0x165)][_0x1ffd24(0x15c)][_0x1ffd24(0x168)]();_0x869157&&(_0x869157['is'](_0x1ffd24(0x16e),_0x1ffd24(0x161))||_0x869157['is'](_0x1ffd24(0x16e),_0x1ffd24(0x16a)))&&(this[_0x1ffd24(0x15f)]=new _0x5299b2(this[_0x1ffd24(0x15a)],this[_0x1ffd24(0x15a)][_0x1ffd24(0x16d)][_0x1ffd24(0x152)](_0x5be8e7),_0x869157),this[_0x1ffd24(0x154)](_0x1ffd24(0x162))['to'](this[_0x1ffd24(0x15f)],_0x1ffd24(0x162)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24e817=_0x2b5d;(function(_0x20089f,_0x2b3a85){const _0x49814b=_0x2b5d,_0x37d2ea=_0x20089f();while(!![]){try{const _0x44be4f=parseInt(_0x49814b(0x1d1))/0x1*(parseInt(_0x49814b(0x1cb))/0x2)+parseInt(_0x49814b(0x1d6))/0x3*(-parseInt(_0x49814b(0x1c4))/0x4)+-parseInt(_0x49814b(0x1d3))/0x5+-parseInt(_0x49814b(0x1ca))/0x6+parseInt(_0x49814b(0x1d2))/0x7+parseInt(_0x49814b(0x1cf))/0x8*(parseInt(_0x49814b(0x1cd))/0x9)+parseInt(_0x49814b(0x1d0))/0xa;if(_0x44be4f===_0x2b3a85)break;else _0x37d2ea['push'](_0x37d2ea['shift']());}catch(_0x4347c4){_0x37d2ea['push'](_0x37d2ea['shift']());}}}(_0x31a4,0x70656));function _0x2b5d(_0x4feae4,_0x2e781f){const _0x31a497=_0x31a4();return _0x2b5d=function(_0x2b5d0a,_0x295d97){_0x2b5d0a=_0x2b5d0a-0x1c1;let _0x46138e=_0x31a497[_0x2b5d0a];return _0x46138e;},_0x2b5d(_0x4feae4,_0x2e781f);}import{Plugin as _0x342eb3}from'ckeditor5/src/core.js';import{Notification as _0x16e69a}from'ckeditor5/src/ui.js';import _0x2dd23f from'./uploadcareimageeditcommand.js';import _0xffd3ca from'./uploadcareimagereplacecommand.js';function _0x31a4(){const _0x3b540a=['196888fnWDyZ','12831960zYcgXC','2cDqANI','6162387BIxvKi','4190125ENjDWS','add','ImageUtils','35031iuzqQI','commands','uploadcareImageReplace','requires','148mozRJG','UploadcareImageEditEditing','init','isPremiumPlugin','ImageEditing','isOfficialPlugin','5034216mFYAYZ','332114joIMqQ','uploadcareImageEdit','27GwEqIT','pluginName'];_0x31a4=function(){return _0x3b540a;};return _0x31a4();}import _0x14f1c3 from'../uploadcareediting.js';export default class m extends _0x342eb3{static get[_0x24e817(0x1ce)](){const _0x907ec1=_0x24e817;return _0x907ec1(0x1c5);}static get[_0x24e817(0x1c3)](){const _0x59d8d0=_0x24e817;return[_0x14f1c3,_0x16e69a,_0x59d8d0(0x1d5),_0x59d8d0(0x1c8)];}static get[_0x24e817(0x1c9)](){return!0x0;}static get[_0x24e817(0x1c7)](){return!0x0;}[_0x24e817(0x1c6)](){const _0x29e6bb=_0x24e817,{editor:_0x2d0e6e}=this;_0x2d0e6e[_0x29e6bb(0x1c1)][_0x29e6bb(0x1d4)](_0x29e6bb(0x1cc),new _0x2dd23f(_0x2d0e6e)),_0x2d0e6e[_0x29e6bb(0x1c1)][_0x29e6bb(0x1d4)](_0x29e6bb(0x1c2),new _0xffd3ca(_0x2d0e6e));}}
23
+ const _0x48339e=_0x4a73;(function(_0x18602c,_0x429806){const _0x2e89bd=_0x4a73,_0x262209=_0x18602c();while(!![]){try{const _0xe64460=parseInt(_0x2e89bd(0x106))/0x1*(-parseInt(_0x2e89bd(0xf6))/0x2)+-parseInt(_0x2e89bd(0xf8))/0x3*(-parseInt(_0x2e89bd(0x109))/0x4)+parseInt(_0x2e89bd(0x108))/0x5+parseInt(_0x2e89bd(0xfe))/0x6*(-parseInt(_0x2e89bd(0x10a))/0x7)+parseInt(_0x2e89bd(0xfb))/0x8*(parseInt(_0x2e89bd(0xfd))/0x9)+-parseInt(_0x2e89bd(0x105))/0xa+parseInt(_0x2e89bd(0x104))/0xb*(-parseInt(_0x2e89bd(0xff))/0xc);if(_0xe64460===_0x429806)break;else _0x262209['push'](_0x262209['shift']());}catch(_0x53fbf3){_0x262209['push'](_0x262209['shift']());}}}(_0x23db,0x2d3d5));import{Plugin as _0x491f89}from'ckeditor5/src/core.js';import{Notification as _0x4e9c2d}from'ckeditor5/src/ui.js';import _0x90beed from'./uploadcareimageeditcommand.js';function _0x4a73(_0x59926f,_0xd5e6cf){const _0x23db77=_0x23db();return _0x4a73=function(_0x4a738d,_0x15a240){_0x4a738d=_0x4a738d-0xf4;let _0x429e1c=_0x23db77[_0x4a738d];return _0x429e1c;},_0x4a73(_0x59926f,_0xd5e6cf);}import _0x2f58c4 from'./uploadcareimagereplacecommand.js';import _0x5020f5 from'../uploadcareediting.js';function _0x23db(){const _0x3b73e6=['26CmcvJH','isPremiumPlugin','3HPSjOJ','UploadcareImageEditEditing','uploadcareImageReplace','237584UiQaxx','ImageEditing','99FudyhG','238362TjmySD','7296dBGOhY','requires','isOfficialPlugin','pluginName','ImageUtils','4642NErDrj','2620590iHZRny','9841dahgFX','init','1586685kBMXSq','910324BLdyjy','7toViDO','uploadcareImageEdit','add','commands'];_0x23db=function(){return _0x3b73e6;};return _0x23db();}export default class m extends _0x491f89{static get[_0x48339e(0x102)](){const _0x1a2c7a=_0x48339e;return _0x1a2c7a(0xf9);}static get[_0x48339e(0x100)](){const _0x40719e=_0x48339e;return[_0x5020f5,_0x4e9c2d,_0x40719e(0x103),_0x40719e(0xfc)];}static get[_0x48339e(0x101)](){return!0x0;}static get[_0x48339e(0xf7)](){return!0x0;}[_0x48339e(0x107)](){const _0x4e20d8=_0x48339e,{editor:_0x5ba97e}=this;_0x5ba97e[_0x4e20d8(0xf5)][_0x4e20d8(0xf4)](_0x4e20d8(0x10b),new _0x90beed(_0x5ba97e)),_0x5ba97e[_0x4e20d8(0xf5)][_0x4e20d8(0xf4)](_0x4e20d8(0xfa),new _0x2f58c4(_0x5ba97e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x546880}from'ckeditor5/src/core.js';import{ButtonView as _0x3a9f1c}from'ckeditor5/src/ui.js';import{createElement as _0xb0df8}from'ckeditor5/src/utils.js';import _0x48ac9d from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x546880{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x13a2bc=this['editor'];_0x13a2bc['ui']['componentFactory']['add']('uploadcareImageEdit',_0x330b08=>{const _0x21da10=_0x13a2bc['commands']['get']('uploadcareImageEdit'),_0x3a1a93=new _0x3a9f1c(_0x330b08),t=_0x330b08['t'];return _0x3a1a93['set']({'icon':_0x48ac9d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3a1a93['bind']('isEnabled')['to'](_0x21da10),_0x3a1a93['bind']('isOn')['to'](_0x21da10,'isActive'),this['listenTo'](_0x3a1a93,'execute',()=>{_0x13a2bc['execute']('uploadcareImageEdit'),_0x13a2bc['editing']['view']['focus']();}),_0x3a1a93;}),this['_initConfig']();}['_initConfig'](){const _0x4eaca6=_0xb0df8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4eaca6),this['listenTo'](this['editor'],'destroy',()=>{_0x4eaca6['remove']();});}}
23
+ import{Plugin as _0x15bc00}from'ckeditor5/src/core.js';import{ButtonView as _0x30194d}from'ckeditor5/src/ui.js';import{createElement as _0x17d946}from'ckeditor5/src/utils.js';import _0x5764a6 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x15bc00{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0xfcb3a=this['editor'];_0xfcb3a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x326d2a=>{const _0x200fc1=_0xfcb3a['commands']['get']('uploadcareImageEdit'),_0x25f273=new _0x30194d(_0x326d2a),t=_0x326d2a['t'];return _0x25f273['set']({'icon':_0x5764a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25f273['bind']('isEnabled')['to'](_0x200fc1),_0x25f273['bind']('isOn')['to'](_0x200fc1,'isActive'),this['listenTo'](_0x25f273,'execute',()=>{_0xfcb3a['execute']('uploadcareImageEdit'),_0xfcb3a['editing']['view']['focus']();}),_0x25f273;}),this['_initConfig']();}['_initConfig'](){const _0x42a9cf=_0x17d946(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x42a9cf),this['listenTo'](this['editor'],'destroy',()=>{_0x42a9cf['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x219d(){const _0x5061ea=['change','removeAttribute','isEnabled','execute','document','2mFSJXj','refresh','430355tgBWYh','8zBHHIQ','4824519HYYMIM','630240jqCUSa','editor','srcset','imageBlock','2754920totPPG','model','700902hTidvj','5146464YTlNOH','10809945wEAuir','element','selection','imageInline','sizes','setAttributes','getSelectedElement'];_0x219d=function(){return _0x5061ea;};return _0x219d();}const _0x1393e2=_0xdfd2;(function(_0x1e7673,_0x3cd46d){const _0x2074db=_0xdfd2,_0x514962=_0x1e7673();while(!![]){try{const _0x49ec42=parseInt(_0x2074db(0x17a))/0x1+-parseInt(_0x2074db(0x178))/0x2*(-parseInt(_0x2074db(0x16a))/0x3)+parseInt(_0x2074db(0x17b))/0x4*(-parseInt(_0x2074db(0x168))/0x5)+-parseInt(_0x2074db(0x164))/0x6+-parseInt(_0x2074db(0x163))/0x7+parseInt(_0x2074db(0x16b))/0x8+parseInt(_0x2074db(0x16c))/0x9;if(_0x49ec42===_0x3cd46d)break;else _0x514962['push'](_0x514962['shift']());}catch(_0x3aef75){_0x514962['push'](_0x514962['shift']());}}}(_0x219d,0x95751));import{Command as _0x4afb00}from'ckeditor5/src/core.js';function _0xdfd2(_0x454b70,_0x399198){const _0x219d15=_0x219d();return _0xdfd2=function(_0xdfd270,_0x5b2517){_0xdfd270=_0xdfd270-0x163;let _0x4efb63=_0x219d15[_0xdfd270];return _0x4efb63;},_0xdfd2(_0x454b70,_0x399198);}export default class X extends _0x4afb00{[_0x1393e2(0x179)](){const _0x8edd6f=_0x1393e2,_0x4749d9=this[_0x8edd6f(0x165)][_0x8edd6f(0x169)][_0x8edd6f(0x177)][_0x8edd6f(0x16e)][_0x8edd6f(0x172)]();this[_0x8edd6f(0x175)]=Boolean(_0x4749d9&&(_0x4749d9['is'](_0x8edd6f(0x16d),_0x8edd6f(0x167))||_0x4749d9['is'](_0x8edd6f(0x16d),_0x8edd6f(0x16f))));}[_0x1393e2(0x176)](_0x1e1a49){const _0x40910d=_0x1393e2,_0x1faab0=this[_0x40910d(0x165)][_0x40910d(0x169)][_0x40910d(0x177)][_0x40910d(0x16e)][_0x40910d(0x172)]();this[_0x40910d(0x165)][_0x40910d(0x169)][_0x40910d(0x173)](_0x361e9d=>{const _0x5513e4=_0x40910d;_0x361e9d[_0x5513e4(0x171)](_0x1e1a49,_0x1faab0),_0x361e9d[_0x5513e4(0x174)](_0x5513e4(0x166),_0x1faab0),_0x361e9d[_0x5513e4(0x174)](_0x5513e4(0x170),_0x1faab0);});}}
23
+ const _0x426ea5=_0x3b27;(function(_0x33fce1,_0x1bbb33){const _0x301fd3=_0x3b27,_0x34cec1=_0x33fce1();while(!![]){try{const _0x211bee=parseInt(_0x301fd3(0x1d2))/0x1*(parseInt(_0x301fd3(0x1d6))/0x2)+parseInt(_0x301fd3(0x1c7))/0x3*(-parseInt(_0x301fd3(0x1d4))/0x4)+parseInt(_0x301fd3(0x1ca))/0x5*(parseInt(_0x301fd3(0x1be))/0x6)+-parseInt(_0x301fd3(0x1bf))/0x7+-parseInt(_0x301fd3(0x1bd))/0x8+parseInt(_0x301fd3(0x1c8))/0x9*(-parseInt(_0x301fd3(0x1d5))/0xa)+parseInt(_0x301fd3(0x1cc))/0xb;if(_0x211bee===_0x1bbb33)break;else _0x34cec1['push'](_0x34cec1['shift']());}catch(_0x3522ce){_0x34cec1['push'](_0x34cec1['shift']());}}}(_0x9e40,0x7759d));function _0x3b27(_0x308114,_0x3025a3){const _0x9e4009=_0x9e40();return _0x3b27=function(_0x3b2754,_0x30516b){_0x3b2754=_0x3b2754-0x1bc;let _0x55765c=_0x9e4009[_0x3b2754];return _0x55765c;},_0x3b27(_0x308114,_0x3025a3);}function _0x9e40(){const _0x400e68=['113467GYHPso','refresh','4kHSSBn','27430HXJiZA','8KSzHYC','isEnabled','109072mdCNzt','18AqDuWJ','3589166Kxboge','setAttributes','editor','getSelectedElement','srcset','execute','sizes','change','1290651gGShcl','2007vXZiLb','imageBlock','292355LVJKhD','element','15706438VtkNyM','imageInline','model','document','removeAttribute','selection'];_0x9e40=function(){return _0x400e68;};return _0x9e40();}import{Command as _0x41d5e2}from'ckeditor5/src/core.js';export default class O extends _0x41d5e2{[_0x426ea5(0x1d3)](){const _0x54f4dc=_0x426ea5,_0x4e23a5=this[_0x54f4dc(0x1c1)][_0x54f4dc(0x1ce)][_0x54f4dc(0x1cf)][_0x54f4dc(0x1d1)][_0x54f4dc(0x1c2)]();this[_0x54f4dc(0x1bc)]=Boolean(_0x4e23a5&&(_0x4e23a5['is'](_0x54f4dc(0x1cb),_0x54f4dc(0x1c9))||_0x4e23a5['is'](_0x54f4dc(0x1cb),_0x54f4dc(0x1cd))));}[_0x426ea5(0x1c4)](_0xec9a2a){const _0x4ea966=_0x426ea5,_0x5dc7a7=this[_0x4ea966(0x1c1)][_0x4ea966(0x1ce)][_0x4ea966(0x1cf)][_0x4ea966(0x1d1)][_0x4ea966(0x1c2)]();this[_0x4ea966(0x1c1)][_0x4ea966(0x1ce)][_0x4ea966(0x1c6)](_0x4c568a=>{const _0xccedb4=_0x4ea966;_0x4c568a[_0xccedb4(0x1c0)](_0xec9a2a,_0x5dc7a7),_0x4c568a[_0xccedb4(0x1d0)](_0xccedb4(0x1c3),_0x5dc7a7),_0x4c568a[_0xccedb4(0x1d0)](_0xccedb4(0x1c5),_0x5dc7a7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd4c027=_0x275b;(function(_0x48db83,_0x3d1fd4){var _0x376aa0=_0x275b,_0x236513=_0x48db83();while(!![]){try{var _0x2fcec6=-parseInt(_0x376aa0(0x16e))/0x1+parseInt(_0x376aa0(0x169))/0x2*(-parseInt(_0x376aa0(0x165))/0x3)+-parseInt(_0x376aa0(0x16b))/0x4*(parseInt(_0x376aa0(0x166))/0x5)+-parseInt(_0x376aa0(0x161))/0x6*(parseInt(_0x376aa0(0x168))/0x7)+-parseInt(_0x376aa0(0x171))/0x8*(-parseInt(_0x376aa0(0x163))/0x9)+parseInt(_0x376aa0(0x167))/0xa+parseInt(_0x376aa0(0x164))/0xb;if(_0x2fcec6===_0x3d1fd4)break;else _0x236513['push'](_0x236513['shift']());}catch(_0x553fbf){_0x236513['push'](_0x236513['shift']());}}}(_0x4ffc,0x9abde));import{FocusTracker as _0x4c2918}from'ckeditor5/src/utils.js';import{View as _0x5d6994,FocusCycler as _0x342c74}from'ckeditor5/src/ui.js';function _0x275b(_0x148d95,_0x6a97e3){var _0x4ffc20=_0x4ffc();return _0x275b=function(_0x275bfe,_0xff1151){_0x275bfe=_0x275bfe-0x160;var _0x5b8297=_0x4ffc20[_0x275bfe];return _0x5b8297;},_0x275b(_0x148d95,_0x6a97e3);}import'../../theme/uploadcare-form.css';export default class q extends _0x5d6994{constructor(_0x2a9bf3){var _0x1f0b38=_0x275b;super(_0x2a9bf3),this[_0x1f0b38(0x16d)]=new _0x4c2918(),this[_0x1f0b38(0x160)]=new _0x342c74({'focusables':this[_0x1f0b38(0x162)](),'focusTracker':this[_0x1f0b38(0x16d)]});}[_0xd4c027(0x170)](){var _0x498e04=_0xd4c027;return{'tag':_0x498e04(0x173),'attributes':{'aria-hidden':_0x498e04(0x16a),'tabindex':'0'},'on':{'focus':this[_0x498e04(0x172)]['to'](()=>{var _0x19b7b4=_0x498e04;this[_0x19b7b4(0x160)][_0x19b7b4(0x16c)](_0x19b7b4(0x16f));})}};}}function _0x4ffc(){var _0x153198=['23360876JlWXVM','113121obKwGD','2475rKDKjy','12325450nWUrGL','396431JaXqvG','60qsEwsP','true','820DCbZkt','fire','focusTracker','1254500yiQACX','forwardCycle','getFocusableElement','23504xxLmba','bindTemplate','div','focusCycler','132NgcXhQ','createCollection','3096rEleFz'];_0x4ffc=function(){return _0x153198;};return _0x4ffc();}
23
+ var _0x2e67ef=_0x5dab;function _0x32de(){var _0x3fa91d=['fire','bindTemplate','257046pJbxhr','forwardCycle','focusTracker','getFocusableElement','939086gGzVFA','focusCycler','9fPrVug','1668184lTcuFp','3058700AxGidq','createCollection','10951160ElFuba','210LeuWLH','2097044sLlPdS','div','true','3688188ZEtcQp'];_0x32de=function(){return _0x3fa91d;};return _0x32de();}(function(_0x368aa8,_0x336145){var _0x564e80=_0x5dab,_0x2bcfef=_0x368aa8();while(!![]){try{var _0x48728a=parseInt(_0x564e80(0x10f))/0x1+parseInt(_0x564e80(0x112))/0x2+-parseInt(_0x564e80(0x108))/0x3+-parseInt(_0x564e80(0x117))/0x4+parseInt(_0x564e80(0x113))/0x5+-parseInt(_0x564e80(0x10b))/0x6*(parseInt(_0x564e80(0x116))/0x7)+parseInt(_0x564e80(0x115))/0x8*(parseInt(_0x564e80(0x111))/0x9);if(_0x48728a===_0x336145)break;else _0x2bcfef['push'](_0x2bcfef['shift']());}catch(_0x3cdca2){_0x2bcfef['push'](_0x2bcfef['shift']());}}}(_0x32de,0xae8ae));function _0x5dab(_0x5f474c,_0x3fe409){var _0x32defa=_0x32de();return _0x5dab=function(_0x5dab36,_0x28dd6f){_0x5dab36=_0x5dab36-0x106;var _0x47bdcb=_0x32defa[_0x5dab36];return _0x47bdcb;},_0x5dab(_0x5f474c,_0x3fe409);}import{FocusTracker as _0x2dd080}from'ckeditor5/src/utils.js';import{View as _0x42d96c,FocusCycler as _0x6eebe1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x42d96c{constructor(_0x30c7f8){var _0x511bb3=_0x5dab;super(_0x30c7f8),this[_0x511bb3(0x10d)]=new _0x2dd080(),this[_0x511bb3(0x110)]=new _0x6eebe1({'focusables':this[_0x511bb3(0x114)](),'focusTracker':this[_0x511bb3(0x10d)]});}[_0x2e67ef(0x10e)](){var _0x27573d=_0x2e67ef;return{'tag':_0x27573d(0x106),'attributes':{'aria-hidden':_0x27573d(0x107),'tabindex':'0'},'on':{'focus':this[_0x27573d(0x10a)]['to'](()=>{var _0xb8d402=_0x27573d;this[_0xb8d402(0x110)][_0xb8d402(0x109)](_0xb8d402(0x10c));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3cd789,_0x5461f5){const _0x32d08c=_0x4bf8,_0x5ee146=_0x3cd789();while(!![]){try{const _0x1fb04b=-parseInt(_0x32d08c(0x1a6))/0x1*(parseInt(_0x32d08c(0x18a))/0x2)+parseInt(_0x32d08c(0x185))/0x3+parseInt(_0x32d08c(0x18e))/0x4*(-parseInt(_0x32d08c(0x180))/0x5)+-parseInt(_0x32d08c(0x176))/0x6+-parseInt(_0x32d08c(0x17c))/0x7*(-parseInt(_0x32d08c(0x17a))/0x8)+parseInt(_0x32d08c(0x1a8))/0x9*(-parseInt(_0x32d08c(0x18d))/0xa)+parseInt(_0x32d08c(0x186))/0xb;if(_0x1fb04b===_0x5461f5)break;else _0x5ee146['push'](_0x5ee146['shift']());}catch(_0x49d1a4){_0x5ee146['push'](_0x5ee146['shift']());}}}(_0x3cfe,0x9b37c));import{global as _0x283ab5,DomEmitterMixin as _0x4d2ac0}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x2bc5d6){const _0x4c013c=_0x4bf8,_0xa6bae4=R(_0x2bc5d6);return _0x1fbf27=>!(!_0x1fbf27||!_0x1fbf27['is'](_0x4c013c(0x1a4),_0x4c013c(0x199))&&!_0x1fbf27['is'](_0x4c013c(0x1a4),_0x4c013c(0x1a5)))&&(!!_0x1fbf27[_0x4c013c(0x187)](_0x4c013c(0x1a9))||!!_0x1fbf27[_0x4c013c(0x187)](_0x4c013c(0x179))&&_0xa6bae4(_0x1fbf27[_0x4c013c(0x19c)](_0x4c013c(0x179))));}export function getImageUrls(_0x4d2d90,_0x2ca2b9){const _0x2ce509=_0x4bf8,_0x483caa=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x2ce509(0x16f)](_0x3dafd1=>_0x3dafd1<=_0x2ca2b9)[_0x2ce509(0x17b)](_0x26e484=>_0x4d2d90[_0x2ce509(0x194)](/\/$/,'')+_0x2ce509(0x197)+_0x26e484+_0x2ce509(0x195)+_0x26e484+'w');return{'imageFallbackUrl':_0x4d2d90,'imageSources':[{'srcset':_0x483caa[_0x2ce509(0x17f)](',\x20'),'sizes':_0x2ce509(0x19e)+_0x2ca2b9+_0x2ce509(0x192)+_0x2ca2b9+'px','type':_0x2ce509(0x19f)}]};}function _0x3cfe(){const _0x1a637b=['toViewElement','105438ttHUGv','window','match','10uITQuy','133804yntwMK','addClass','function','domConverter','px)\x20100vw,\x20','create','replace','x/\x20','view','/-/resize/','viewToDom','imageBlock','some','baseURI','getAttribute','aspect-ratio','(max-width:\x20','image/webp','ImageUtils','load','width','plugins','element','imageInline','4XaXgaC','mapper','4079574LPFTKp','uploadcareImageId','filter','removeClass','location','document','setStyle','stopListening','listenTo','1834890pVWTWf','isArray','height','src','477416vjCOKf','map','7HNrQwY','editing','get','join','40mkddQX','change','removeStyle','origin','findViewImgElement','1980276TufLQT','12689468NsJATr','hasAttribute','image-processing'];_0x3cfe=function(){return _0x1a637b;};return _0x3cfe();}export function getImageDimension(_0x18144f,_0x4df3c0,_0x852ee3){const _0x302c53=_0x4bf8,_0x285353=_0x18144f[_0x302c53(0x18c)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x285353?parseInt(_0x285353[0x1],0xa):_0x4df3c0,'height':_0x285353?parseInt(_0x285353[0x2],0xa):_0x852ee3};}export function showImageProcessingIndicator(_0x379d47,_0x4d62e3){const _0x2f96dd=_0x4bf8,_0x44c58d=Object[_0x2f96dd(0x193)](_0x4d2ac0),_0x486473=_0x379d47[_0x2f96dd(0x1a3)][_0x2f96dd(0x17e)](_0x2f96dd(0x1a0)),_0x12d7fe=_0x379d47[_0x2f96dd(0x17d)][_0x2f96dd(0x1a7)][_0x2f96dd(0x189)](_0x4d62e3),_0x10ce45=_0x486473[_0x2f96dd(0x184)](_0x12d7fe),_0x27e403=_0x379d47[_0x2f96dd(0x17d)][_0x2f96dd(0x196)][_0x2f96dd(0x191)][_0x2f96dd(0x198)](_0x10ce45),_0x328c5c=_0x4d62e3[_0x2f96dd(0x19c)](_0x2f96dd(0x1a2)),_0x159e4d=_0x4d62e3[_0x2f96dd(0x19c)](_0x2f96dd(0x178)),_0x2e899e=_0x2f96dd(0x188);_0x379d47[_0x2f96dd(0x17d)][_0x2f96dd(0x196)][_0x2f96dd(0x181)](_0x36ec19=>{const _0x33fecd=_0x2f96dd;_0x36ec19[_0x33fecd(0x18f)](_0x2e899e,_0x12d7fe),_0x36ec19[_0x33fecd(0x173)](_0x33fecd(0x19d),_0x328c5c+'/'+_0x159e4d,_0x10ce45);}),_0x44c58d[_0x2f96dd(0x175)](_0x27e403,_0x2f96dd(0x1a1),()=>{const _0x874f30=_0x2f96dd;_0x44c58d[_0x874f30(0x174)](_0x27e403,_0x874f30(0x1a1)),_0x379d47[_0x874f30(0x17d)][_0x874f30(0x196)][_0x874f30(0x181)](_0x1ab77f=>{const _0x318cfe=_0x874f30;_0x1ab77f[_0x318cfe(0x170)](_0x2e899e,_0x12d7fe),_0x1ab77f[_0x318cfe(0x182)](_0x318cfe(0x19d),_0x10ce45);});});}function _0x4bf8(_0x34f95e,_0x8907a5){const _0x3cfe0d=_0x3cfe();return _0x4bf8=function(_0x4bf892,_0x2308f9){_0x4bf892=_0x4bf892-0x16f;let _0x2e6bd5=_0x3cfe0d[_0x4bf892];return _0x2e6bd5;},_0x4bf8(_0x34f95e,_0x8907a5);}function R(_0x37f33d){const _0x12afdf=_0x4bf8;if(Array[_0x12afdf(0x177)](_0x37f33d)){const _0x1fbc46=_0x37f33d[_0x12afdf(0x17b)](R);return _0x3468db=>_0x1fbc46[_0x12afdf(0x19a)](_0x2d4d8f=>_0x2d4d8f(_0x3468db));}if(_0x12afdf(0x183)==_0x37f33d){const _0x27aa30=_0x283ab5[_0x12afdf(0x18b)][_0x12afdf(0x171)][_0x12afdf(0x183)];return _0x48cee0=>new URL(_0x48cee0,_0x283ab5[_0x12afdf(0x172)][_0x12afdf(0x19b)])[_0x12afdf(0x183)]==_0x27aa30;}return _0x12afdf(0x190)==typeof _0x37f33d?_0x37f33d:_0x37f33d instanceof RegExp?_0x48092a=>!(!_0x48092a[_0x12afdf(0x18c)](_0x37f33d)&&!_0x48092a[_0x12afdf(0x194)](/^https?:\/\//,'')[_0x12afdf(0x18c)](_0x37f33d)):()=>!0x1;}
23
+ (function(_0x16db43,_0x3f3cca){const _0x1eabeb=_0x336c,_0x4785d4=_0x16db43();while(!![]){try{const _0x33ff4f=parseInt(_0x1eabeb(0x105))/0x1*(-parseInt(_0x1eabeb(0xe4))/0x2)+-parseInt(_0x1eabeb(0xe2))/0x3+-parseInt(_0x1eabeb(0xec))/0x4+-parseInt(_0x1eabeb(0x104))/0x5*(parseInt(_0x1eabeb(0xfd))/0x6)+parseInt(_0x1eabeb(0x101))/0x7*(parseInt(_0x1eabeb(0xee))/0x8)+parseInt(_0x1eabeb(0xfa))/0x9+-parseInt(_0x1eabeb(0xea))/0xa*(-parseInt(_0x1eabeb(0xd6))/0xb);if(_0x33ff4f===_0x3f3cca)break;else _0x4785d4['push'](_0x4785d4['shift']());}catch(_0x2126fb){_0x4785d4['push'](_0x4785d4['shift']());}}}(_0x9bd1,0x7270e));function _0x9bd1(){const _0x5b1943=['189NWIKcX','some','filter','58595QfyBwS','1HLEJmr','window','uploadcareImageId','editing','baseURI','element','change','ImageUtils','origin','image-processing','toViewElement','match','11VhBWzt','get','imageBlock','domConverter','removeClass','hasAttribute','join','location','image/webp','map','create','isArray','1660437ItFjrz','load','1490504dpRoDH','imageInline','(max-width:\x20','view','width','src','18427810AshpHR','getAttribute','283564ZSZvKI','function','159504cUmtZC','replace','stopListening','plugins','document','x/\x20','aspect-ratio','height','findViewImgElement','px)\x20100vw,\x20','listenTo','setStyle','1549116FFzqVq','removeStyle','viewToDom','366ZJLyDv','mapper','/-/resize/','addClass'];_0x9bd1=function(){return _0x5b1943;};return _0x9bd1();}import{global as _0x453486,DomEmitterMixin as _0xc0c838}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x3879a3){const _0x507af8=_0x336c,_0x260005=V(_0x3879a3);return _0x12115f=>!(!_0x12115f||!_0x12115f['is'](_0x507af8(0x10a),_0x507af8(0xd8))&&!_0x12115f['is'](_0x507af8(0x10a),_0x507af8(0xe5)))&&(!!_0x12115f[_0x507af8(0xdb)](_0x507af8(0x107))||!!_0x12115f[_0x507af8(0xdb)](_0x507af8(0xe9))&&_0x260005(_0x12115f[_0x507af8(0xeb)](_0x507af8(0xe9))));}export function getImageUrls(_0x1ee8d3,_0x32ee3d){const _0x3484d9=_0x336c,_0x19ddcc=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3484d9(0x103)](_0x5ad3be=>_0x5ad3be<=_0x32ee3d)[_0x3484d9(0xdf)](_0x3c8c83=>_0x1ee8d3[_0x3484d9(0xef)](/\/$/,'')+_0x3484d9(0xff)+_0x3c8c83+_0x3484d9(0xf3)+_0x3c8c83+'w');return{'imageFallbackUrl':_0x1ee8d3,'imageSources':[{'srcset':_0x19ddcc[_0x3484d9(0xdc)](',\x20'),'sizes':_0x3484d9(0xe6)+_0x32ee3d+_0x3484d9(0xf7)+_0x32ee3d+'px','type':_0x3484d9(0xde)}]};}export function getImageDimension(_0x4bdb5f,_0xcbbd60,_0x4d9f76){const _0x258449=_0x336c,_0x1780a0=_0x4bdb5f[_0x258449(0xd5)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x1780a0?parseInt(_0x1780a0[0x1],0xa):_0xcbbd60,'height':_0x1780a0?parseInt(_0x1780a0[0x2],0xa):_0x4d9f76};}export function showImageProcessingIndicator(_0x206a53,_0x59680a){const _0x3bc3ac=_0x336c,_0x2f55f0=Object[_0x3bc3ac(0xe0)](_0xc0c838),_0x133158=_0x206a53[_0x3bc3ac(0xf1)][_0x3bc3ac(0xd7)](_0x3bc3ac(0x10c)),_0x1e3f7a=_0x206a53[_0x3bc3ac(0x108)][_0x3bc3ac(0xfe)][_0x3bc3ac(0x10f)](_0x59680a),_0x103db7=_0x133158[_0x3bc3ac(0xf6)](_0x1e3f7a),_0xa2bfd6=_0x206a53[_0x3bc3ac(0x108)][_0x3bc3ac(0xe7)][_0x3bc3ac(0xd9)][_0x3bc3ac(0xfc)](_0x103db7),_0x1edf39=_0x59680a[_0x3bc3ac(0xeb)](_0x3bc3ac(0xe8)),_0x40c4a4=_0x59680a[_0x3bc3ac(0xeb)](_0x3bc3ac(0xf5)),_0x2a0bf2=_0x3bc3ac(0x10e);_0x206a53[_0x3bc3ac(0x108)][_0x3bc3ac(0xe7)][_0x3bc3ac(0x10b)](_0x3ad0a7=>{const _0x4d6d6c=_0x3bc3ac;_0x3ad0a7[_0x4d6d6c(0x100)](_0x2a0bf2,_0x1e3f7a),_0x3ad0a7[_0x4d6d6c(0xf9)](_0x4d6d6c(0xf4),_0x1edf39+'/'+_0x40c4a4,_0x103db7);}),_0x2f55f0[_0x3bc3ac(0xf8)](_0xa2bfd6,_0x3bc3ac(0xe3),()=>{const _0x2530ba=_0x3bc3ac;_0x2f55f0[_0x2530ba(0xf0)](_0xa2bfd6,_0x2530ba(0xe3)),_0x206a53[_0x2530ba(0x108)][_0x2530ba(0xe7)][_0x2530ba(0x10b)](_0x31586a=>{const _0x190dad=_0x2530ba;_0x31586a[_0x190dad(0xda)](_0x2a0bf2,_0x1e3f7a),_0x31586a[_0x190dad(0xfb)](_0x190dad(0xf4),_0x103db7);});});}function _0x336c(_0x9f64a5,_0x26b1c3){const _0x9bd16b=_0x9bd1();return _0x336c=function(_0x336c54,_0x1be94b){_0x336c54=_0x336c54-0xd5;let _0x418fbb=_0x9bd16b[_0x336c54];return _0x418fbb;},_0x336c(_0x9f64a5,_0x26b1c3);}function V(_0x205323){const _0x4bb27c=_0x336c;if(Array[_0x4bb27c(0xe1)](_0x205323)){const _0x49bb56=_0x205323[_0x4bb27c(0xdf)](V);return _0x391bcb=>_0x49bb56[_0x4bb27c(0x102)](_0x2beee8=>_0x2beee8(_0x391bcb));}if(_0x4bb27c(0x10d)==_0x205323){const _0x1ca1d5=_0x453486[_0x4bb27c(0x106)][_0x4bb27c(0xdd)][_0x4bb27c(0x10d)];return _0x37abdb=>new URL(_0x37abdb,_0x453486[_0x4bb27c(0xf2)][_0x4bb27c(0x109)])[_0x4bb27c(0x10d)]==_0x1ca1d5;}return _0x4bb27c(0xed)==typeof _0x205323?_0x205323:_0x205323 instanceof RegExp?_0x1a9a7d=>!(!_0x1a9a7d[_0x4bb27c(0xd5)](_0x205323)&&!_0x1a9a7d[_0x4bb27c(0xef)](/^https?:\/\//,'')[_0x4bb27c(0xd5)](_0x205323)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x117054,_0x2a1ebe){var _0x2e3bba=_0x49db,_0x29e8de=_0x117054();while(!![]){try{var _0x144323=-parseInt(_0x2e3bba(0x1cd))/0x1*(parseInt(_0x2e3bba(0x1c9))/0x2)+-parseInt(_0x2e3bba(0x1cc))/0x3+-parseInt(_0x2e3bba(0x1cf))/0x4*(-parseInt(_0x2e3bba(0x1ce))/0x5)+parseInt(_0x2e3bba(0x1cb))/0x6+parseInt(_0x2e3bba(0x1d2))/0x7*(parseInt(_0x2e3bba(0x1c7))/0x8)+-parseInt(_0x2e3bba(0x1d0))/0x9+parseInt(_0x2e3bba(0x1c8))/0xa;if(_0x144323===_0x2a1ebe)break;else _0x29e8de['push'](_0x29e8de['shift']());}catch(_0x3b0652){_0x29e8de['push'](_0x29e8de['shift']());}}}(_0x532c,0xe957b));import{getAncestors as _0x523009}from'ckeditor5/src/utils.js';function _0x49db(_0x1f3122,_0x364b6b){var _0x532c2f=_0x532c();return _0x49db=function(_0x49dbba,_0x118506){_0x49dbba=_0x49dbba-0x1c7;var _0xe58f0f=_0x532c2f[_0x49dbba];return _0xe58f0f;},_0x49db(_0x1f3122,_0x364b6b);}export function isAncestor(_0xd6c7c2,_0x495260){var _0x516159=_0x49db;return _0x523009(_0xd6c7c2[_0x516159(0x1ca)])[_0x516159(0x1d1)](_0x495260);}function _0x532c(){var _0x562ad3=['includes','9075983NubSin','8BXHSNJ','4893280JEWzHB','2nFOgJm','target','6052470teVYjA','2239167rTQvFi','40643bvCPhl','11545NtAIut','580mtFlsA','12479796FusVuM'];_0x532c=function(){return _0x562ad3;};return _0x532c();}
23
+ (function(_0x9dabe8,_0x4aa3f1){var _0x126760=_0x5d44,_0x144d1d=_0x9dabe8();while(!![]){try{var _0x6284fc=-parseInt(_0x126760(0x10b))/0x1*(-parseInt(_0x126760(0x106))/0x2)+-parseInt(_0x126760(0x10f))/0x3+-parseInt(_0x126760(0x10c))/0x4*(parseInt(_0x126760(0x104))/0x5)+parseInt(_0x126760(0x110))/0x6*(-parseInt(_0x126760(0x10d))/0x7)+parseInt(_0x126760(0x108))/0x8+parseInt(_0x126760(0x107))/0x9*(-parseInt(_0x126760(0x103))/0xa)+parseInt(_0x126760(0x109))/0xb*(parseInt(_0x126760(0x105))/0xc);if(_0x6284fc===_0x4aa3f1)break;else _0x144d1d['push'](_0x144d1d['shift']());}catch(_0x327835){_0x144d1d['push'](_0x144d1d['shift']());}}}(_0x143a,0xe8c28));function _0x5d44(_0x27d835,_0x4b531c){var _0x143ad0=_0x143a();return _0x5d44=function(_0x5d446e,_0x469d8e){_0x5d446e=_0x5d446e-0x103;var _0x494a83=_0x143ad0[_0x5d446e];return _0x494a83;},_0x5d44(_0x27d835,_0x4b531c);}import{getAncestors as _0x474a8a}from'ckeditor5/src/utils.js';function _0x143a(){var _0x237bba=['744076SYNpUB','52641PQwiCf','1611000DJRvFa','22tKXCRY','includes','3AmOoWH','20EkODnC','406427AwykQc','target','4476687xNcxUL','78bcFZhI','2650iXJMsn','1827740ivCrLL','31563852ixVbHI'];_0x143a=function(){return _0x237bba;};return _0x143a();}export function isAncestor(_0xcfe358,_0x365425){var _0x3c7432=_0x5d44;return _0x474a8a(_0xcfe358[_0x3c7432(0x10e)])[_0x3c7432(0x10a)](_0x365425);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xeea2(_0x3d78aa,_0x18c4fb){var _0x5632f6=_0x5632();return _0xeea2=function(_0xeea2ae,_0x34de27){_0xeea2ae=_0xeea2ae-0x1ce;var _0x30b9cb=_0x5632f6[_0xeea2ae];return _0x30b9cb;},_0xeea2(_0x3d78aa,_0x18c4fb);}function _0x5632(){var _0x230733=['4PGLwha','auto','upload','6URsQzQ','5397guZbZI','13426303DKqaxU','2424zVXUvP','367210YbxbxG','getInfo','855926CBXrpq','8949465llLVeB','10UgsEcM','648639SzYGES','4368880BTTTXC'];_0x5632=function(){return _0x230733;};return _0x5632();}var _0x295729=_0xeea2;(function(_0x5b802e,_0x2e8c58){var _0x5467b3=_0xeea2,_0x34a0ff=_0x5b802e();while(!![]){try{var _0x2c979e=-parseInt(_0x5467b3(0x1d0))/0x1+-parseInt(_0x5467b3(0x1d8))/0x2*(parseInt(_0x5467b3(0x1d3))/0x3)+parseInt(_0x5467b3(0x1d5))/0x4*(parseInt(_0x5467b3(0x1ce))/0x5)+-parseInt(_0x5467b3(0x1db))/0x6*(-parseInt(_0x5467b3(0x1d9))/0x7)+-parseInt(_0x5467b3(0x1d4))/0x8+parseInt(_0x5467b3(0x1d1))/0x9+parseInt(_0x5467b3(0x1d2))/0xa*(parseInt(_0x5467b3(0x1da))/0xb);if(_0x2c979e===_0x2e8c58)break;else _0x34a0ff['push'](_0x34a0ff['shift']());}catch(_0x2178ba){_0x34a0ff['push'](_0x34a0ff['shift']());}}}(_0x5632,0x86159));import{uploadFile as _0x27ed83,info as _0x44a559}from'@uploadcare/upload-client';export default class k{static[_0x295729(0x1d7)]({file:_0x36a268,publicKey:_0x26c1e4,signal:_0x2700f1,onProgress:_0x2932f7}){var _0x2b33df=_0x295729;return _0x27ed83(_0x36a268,{'publicKey':_0x26c1e4,'store':_0x2b33df(0x1d6),'signal':_0x2700f1,'onProgress':_0x2932f7});}static[_0x295729(0x1cf)](_0x1e98f7,_0x5ef185){return _0x44a559(_0x1e98f7,_0x5ef185);}}
23
+ function _0x43c7(_0x9c0aeb,_0x98ee9b){var _0x284270=_0x2842();return _0x43c7=function(_0x43c7c2,_0x2a1c24){_0x43c7c2=_0x43c7c2-0x1f2;var _0x4c40c7=_0x284270[_0x43c7c2];return _0x4c40c7;},_0x43c7(_0x9c0aeb,_0x98ee9b);}function _0x2842(){var _0x50d3fd=['11750470aohKXY','544fgJGDH','869070kwphFq','143332dEwzTN','23569ETvlqa','upload','auto','278945qkYphj','getInfo','1668746IlhniQ','125634RiHgbo','68KhuQrp','9XgioKB'];_0x2842=function(){return _0x50d3fd;};return _0x2842();}var _0x31d848=_0x43c7;(function(_0x129381,_0x506255){var _0x2070d8=_0x43c7,_0x3ba6cb=_0x129381();while(!![]){try{var _0x2efa0a=parseInt(_0x2070d8(0x1f8))/0x1+-parseInt(_0x2070d8(0x1fd))/0x2+parseInt(_0x2070d8(0x1fe))/0x3+-parseInt(_0x2070d8(0x1f2))/0x4*(parseInt(_0x2070d8(0x1fb))/0x5)+-parseInt(_0x2070d8(0x1f6))/0x6+parseInt(_0x2070d8(0x1f7))/0x7*(parseInt(_0x2070d8(0x1f5))/0x8)+-parseInt(_0x2070d8(0x1f3))/0x9*(-parseInt(_0x2070d8(0x1f4))/0xa);if(_0x2efa0a===_0x506255)break;else _0x3ba6cb['push'](_0x3ba6cb['shift']());}catch(_0x541cc8){_0x3ba6cb['push'](_0x3ba6cb['shift']());}}}(_0x2842,0xac2cf));import{uploadFile as _0x44d4df,info as _0x32508d}from'@uploadcare/upload-client';export default class k{static[_0x31d848(0x1f9)]({file:_0x1f8516,publicKey:_0x1cac5b,signal:_0x3356b7,onProgress:_0x2c5d88}){var _0x493ce5=_0x31d848;return _0x44d4df(_0x1f8516,{'publicKey':_0x1cac5b,'store':_0x493ce5(0x1fa),'signal':_0x3356b7,'onProgress':_0x2c5d88});}static[_0x31d848(0x1fc)](_0x1562c8,_0xa2377b){return _0x32508d(_0x1562c8,_0xa2377b);}}