@ckeditor/ckeditor5-uploadcare 47.7.0-alpha.0 → 47.7.0-alpha.1

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 _0x3c55fa,ObservableMixin as _0x193d4f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x723296}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x446489}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x581f48}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x1f3d8a}from'../../utils/uploadutils.js';import{getImageUrls as _0xfa0422,getImageDimension as _0x3b273a}from'../../utils/editingutils.js';import{isAncestor as _0x577d4f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x193d4f(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x564689,_0x472062,_0x50a06b){super(),this['_editor']=_0x564689,this['_dialog']=_0x472062,this['_imageElement']=_0x50a06b,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 _0x2ea481=this['_imageElement'],_0x2645f4=_0x2ea481['getAttribute']('uploadcareImageId'),_0x58e70a=_0x2ea481['getAttribute']('src');if(_0x2645f4)await this['_loadImageInfo'](_0x2645f4,_0x58e70a);else{if(this['_imageCache']['has'](_0x58e70a)){const _0x433f71=this['_imageCache']['get'](_0x58e70a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x433f71['url'],this['imageDimension']=_0x433f71['dimension'],this['imageId']=_0x433f71['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xf8b4ad}=this['_editor'],t=_0xf8b4ad['t'],_0x433e03=new _0x581f48(_0xf8b4ad,this['imageStatus'],this['_attributes']);_0x433e03['bind']('status')['to'](this,'imageStatus'),_0x433e03['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x433e03['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x433e03['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x433e03,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x446489,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x433e03,'position':_0x723296['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x433e03['focus']();},'onHide':()=>{_0x433e03['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x7e02ab=>!_0x577d4f(_0x7e02ab,_0x433e03['element'])}});}['_loadImageInfo'](_0x3fb203,_0x58b435){return _0x1f3d8a['getInfo'](_0x3fb203,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x169312=>{const {width:_0x5daa3d,height:_0x4ef1b8}=_0x169312['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x58b435,this['imageDimension']={'width':_0x5daa3d,'height':_0x4ef1b8},this['imageId']=_0x3fb203;})['catch'](_0x283a51=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x283a51['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x557a0e,_0x10dc27){return this['_getImageAsFile'](_0x557a0e)['then'](_0x5a9d91=>_0x1f3d8a['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':_0x10dc27['signal'],'file':_0x5a9d91,'onProgress':_0x25492a=>{_0x25492a&&_0x25492a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x25492a['value']));}}))['then'](_0x42894f=>{const {width:_0x47f7ca,height:_0x387a78}=_0x42894f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42894f['cdnUrl'],this['imageDimension']={'width':_0x47f7ca,'height':_0x387a78},this['imageId']=_0x42894f['uuid'],this['imageUploadProgress']=null;const _0x1557d0=_0x557a0e['getAttribute']('src');this['_imageCache']['set'](_0x1557d0,{'id':_0x42894f['uuid'],'url':_0x42894f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5a7c5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a7c5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1d5bbb,_0x35a473){_0x1d5bbb['on']('apply',(_0x555f29,_0x4f96f4)=>{this['_replaceImage'](_0x35a473,_0x4f96f4['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1d5bbb['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1d5bbb['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2a4bfa,_0x24bac5,_0x1d4ea5){const _0x4adfad=this['_editor'],{width:_0x41913f,height:_0x497dc1}=_0x3b273a(_0x24bac5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1c6822,imageSources:_0x14f760}=_0xfa0422(_0x24bac5,_0x41913f);_0x4adfad['model']['change'](_0x1d53fb=>{if('$graveyard'===_0x2a4bfa['root']['rootName']){_0x4adfad['execute']('insertImage',{'imageType':_0x2a4bfa['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2a4bfa['getAttributes']()),'uploadcareImageId':_0x1d4ea5,'src':_0x1c6822,'sources':_0x14f760,'width':_0x41913f,'height':_0x497dc1}});const _0x47cf14=_0x2a4bfa['getChildren']();_0x2a4bfa=_0x4adfad['model']['document']['selection']['getSelectedElement']();for(const _0x4d007d of _0x47cf14)_0x1d53fb['append'](_0x1d53fb['cloneElement'](_0x4d007d),_0x2a4bfa);}else _0x1d53fb['setSelection'](_0x2a4bfa,'on'),_0x4adfad['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2a4bfa['getAttributes']()),'uploadcareImageId':_0x1d4ea5,'src':_0x1c6822,'sources':_0x14f760,'width':_0x41913f,'height':_0x497dc1},_0x2a4bfa);_0x1d53fb['setSelection'](_0x2a4bfa,'on');});}async['_getImageAsFile'](_0x38d1b9){const _0x3f26be=_0x3c55fa['window'],_0x4348c1=_0x3c55fa['document']['location']['href'],_0x1c3c49=new _0x3f26be['URL'](_0x38d1b9['getAttribute']('src'),_0x4348c1);if('data:'===_0x1c3c49['protocol']){const _0x41d903=_0x1c3c49['href']['split'](','),_0x48237f=_0x41d903[0x0]['match'](/:(.*?);/)[0x1],_0x1f8247=_0x48237f['split']('/')[0x1],_0x40784d=_0x3f26be['atob'](_0x41d903[_0x41d903['length']-0x1]);let _0x42ac56=_0x40784d['length'];const _0x1b2bd8=new _0x3f26be['Uint8Array'](_0x42ac56);for(;_0x42ac56--;)_0x1b2bd8[_0x42ac56]=_0x40784d['charCodeAt'](_0x42ac56);return new _0x3f26be['File']([_0x1b2bd8],'image.'+_0x1f8247,{'type':_0x48237f});}const _0x322480=_0x1c3c49['href']['split']('/'),_0x190895=_0x322480[_0x322480['length']-0x1],_0x87b35e=_0x190895['split']('.')[0x1];return _0x3f26be['fetch'](_0x1c3c49['href'])['then'](_0x4a75d6=>_0x4a75d6['clone']()['blob']())['then'](_0x37906d=>new _0x3f26be['File']([_0x37906d],_0x190895,{'type':'image/'+_0x87b35e}));}}
23
+ import{global as _0x4cfe92,ObservableMixin as _0x2742f1}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x554c3a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x341f9b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3b470d}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x7e97e0}from'../../utils/uploadutils.js';import{getImageUrls as _0x11778f,getImageDimension as _0x122584}from'../../utils/editingutils.js';import{isAncestor as _0x300faa}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2742f1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1a58b0,_0x57c6ab,_0x541dce){super(),this['_editor']=_0x1a58b0,this['_dialog']=_0x57c6ab,this['_imageElement']=_0x541dce,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 _0x2cc436=this['_imageElement'],_0x45d381=_0x2cc436['getAttribute']('uploadcareImageId'),_0x254cc8=_0x2cc436['getAttribute']('src');if(_0x45d381)await this['_loadImageInfo'](_0x45d381,_0x254cc8);else{if(this['_imageCache']['has'](_0x254cc8)){const _0x3513e4=this['_imageCache']['get'](_0x254cc8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3513e4['url'],this['imageDimension']=_0x3513e4['dimension'],this['imageId']=_0x3513e4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x32cff4}=this['_editor'],t=_0x32cff4['t'],_0x3b91da=new _0x3b470d(_0x32cff4,this['imageStatus'],this['_attributes']);_0x3b91da['bind']('status')['to'](this,'imageStatus'),_0x3b91da['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3b91da['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3b91da['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3b91da,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x341f9b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3b91da,'position':_0x554c3a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3b91da['focus']();},'onHide':()=>{_0x3b91da['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x469561=>!_0x300faa(_0x469561,_0x3b91da['element'])}});}['_loadImageInfo'](_0x4da98b,_0x462385){return _0x7e97e0['getInfo'](_0x4da98b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x282622=>{const {width:_0x83d141,height:_0x52362e}=_0x282622['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x462385,this['imageDimension']={'width':_0x83d141,'height':_0x52362e},this['imageId']=_0x4da98b;})['catch'](_0x14d825=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x14d825['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x7ec51e,_0x58c541){return this['_getImageAsFile'](_0x7ec51e)['then'](_0x237a0c=>_0x7e97e0['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':_0x58c541['signal'],'file':_0x237a0c,'onProgress':_0x1efdd1=>{_0x1efdd1&&_0x1efdd1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1efdd1['value']));}}))['then'](_0x46aa08=>{const {width:_0x59c4be,height:_0x23a7cd}=_0x46aa08['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x46aa08['cdnUrl'],this['imageDimension']={'width':_0x59c4be,'height':_0x23a7cd},this['imageId']=_0x46aa08['uuid'],this['imageUploadProgress']=null;const _0x3c840e=_0x7ec51e['getAttribute']('src');this['_imageCache']['set'](_0x3c840e,{'id':_0x46aa08['uuid'],'url':_0x46aa08['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a742e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a742e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3cfb0c,_0xb1f146){_0x3cfb0c['on']('apply',(_0x4d9073,_0x8c7203)=>{this['_replaceImage'](_0xb1f146,_0x8c7203['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3cfb0c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3cfb0c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x35b7f4,_0x22cbe5,_0x24c994){const _0x25c816=this['_editor'],{width:_0x50b17b,height:_0x3f270c}=_0x122584(_0x22cbe5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d8970,imageSources:_0x160752}=_0x11778f(_0x22cbe5,_0x50b17b);_0x25c816['model']['change'](_0x12a59a=>{if('$graveyard'===_0x35b7f4['root']['rootName']){_0x25c816['execute']('insertImage',{'imageType':_0x35b7f4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x35b7f4['getAttributes']()),'uploadcareImageId':_0x24c994,'src':_0x4d8970,'sources':_0x160752,'width':_0x50b17b,'height':_0x3f270c}});const _0x95e4e0=_0x35b7f4['getChildren']();_0x35b7f4=_0x25c816['model']['document']['selection']['getSelectedElement']();for(const _0x24bda4 of _0x95e4e0)_0x12a59a['append'](_0x12a59a['cloneElement'](_0x24bda4),_0x35b7f4);}else _0x12a59a['setSelection'](_0x35b7f4,'on'),_0x25c816['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x35b7f4['getAttributes']()),'uploadcareImageId':_0x24c994,'src':_0x4d8970,'sources':_0x160752,'width':_0x50b17b,'height':_0x3f270c},_0x35b7f4);_0x12a59a['setSelection'](_0x35b7f4,'on');});}async['_getImageAsFile'](_0x5edc8b){const _0x10c677=_0x4cfe92['window'],_0x418c02=_0x4cfe92['document']['location']['href'],_0x54a1f9=new _0x10c677['URL'](_0x5edc8b['getAttribute']('src'),_0x418c02);if('data:'===_0x54a1f9['protocol']){const _0x1dc773=_0x54a1f9['href']['split'](','),_0x5a1c7d=_0x1dc773[0x0]['match'](/:(.*?);/)[0x1],_0x4785c3=_0x5a1c7d['split']('/')[0x1],_0x488c12=_0x10c677['atob'](_0x1dc773[_0x1dc773['length']-0x1]);let _0x43781a=_0x488c12['length'];const _0x1616ba=new _0x10c677['Uint8Array'](_0x43781a);for(;_0x43781a--;)_0x1616ba[_0x43781a]=_0x488c12['charCodeAt'](_0x43781a);return new _0x10c677['File']([_0x1616ba],'image.'+_0x4785c3,{'type':_0x5a1c7d});}const _0x29231b=_0x54a1f9['href']['split']('/'),_0x51cdae=_0x29231b[_0x29231b['length']-0x1],_0x1105f4=_0x51cdae['split']('.')[0x1];return _0x10c677['fetch'](_0x54a1f9['href'])['then'](_0x2e55e3=>_0x2e55e3['clone']()['blob']())['then'](_0x5b62ec=>new _0x10c677['File']([_0x5b62ec],_0x51cdae,{'type':'image/'+_0x1105f4}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5f25(_0xe92adf,_0x35c3db){const _0x388fb1=_0x388f();return _0x5f25=function(_0x5f254c,_0x4dc37f){_0x5f254c=_0x5f254c-0x1b4;let _0x202a6f=_0x388fb1[_0x5f254c];return _0x202a6f;},_0x5f25(_0xe92adf,_0x35c3db);}(function(_0x35b944,_0x2aa862){const _0x3ecc02=_0x5f25,_0xda55bb=_0x35b944();while(!![]){try{const _0x2577f3=-parseInt(_0x3ecc02(0x1bd))/0x1+-parseInt(_0x3ecc02(0x1b5))/0x2+parseInt(_0x3ecc02(0x1b8))/0x3*(parseInt(_0x3ecc02(0x1be))/0x4)+parseInt(_0x3ecc02(0x1b4))/0x5*(parseInt(_0x3ecc02(0x1c5))/0x6)+parseInt(_0x3ecc02(0x1bb))/0x7+-parseInt(_0x3ecc02(0x1b9))/0x8*(parseInt(_0x3ecc02(0x1c2))/0x9)+-parseInt(_0x3ecc02(0x1c0))/0xa*(-parseInt(_0x3ecc02(0x1c3))/0xb);if(_0x2577f3===_0x2aa862)break;else _0xda55bb['push'](_0xda55bb['shift']());}catch(_0xa3ead5){_0xda55bb['push'](_0xda55bb['shift']());}}}(_0x388f,0xd825f));import{View as _0x42fced}from'ckeditor5/src/ui.js';function _0x388f(){const _0x435583=['56KKbZoX','bindTemplate','80kbQPwH','imageSrc','157347hObwiY','2275823KdMGXV','set','174uzXJDI','setTemplate','175130iARsLY','3532024iRvKgi','uc-light','ck-uploadcare-theme','17241gPjzdQ','464KGrGfD','image-edit','9488080LrINoZ','uc-cloud-image-editor','441427PcLzov'];_0x388f=function(){return _0x435583;};return _0x388f();}export class UploadcareImageEditFormEditingView extends _0x42fced{constructor(_0x21b4d1,_0x28d407){const _0x365d8b=_0x5f25;super(_0x21b4d1);const _0xd9d9e=this[_0x365d8b(0x1bf)];this[_0x365d8b(0x1c4)](_0x365d8b(0x1c1),''),this[_0x365d8b(0x1c6)]({'tag':_0x365d8b(0x1bc),'attributes':{..._0x28d407,'class':[_0x365d8b(0x1b6),_0x365d8b(0x1b7)],'ctx-name':_0x365d8b(0x1ba),'cdn-url':_0xd9d9e['to'](_0x365d8b(0x1c1))}});}}
23
+ (function(_0x50b5d5,_0x579819){const _0x392682=_0x5d22,_0x1c7152=_0x50b5d5();while(!![]){try{const _0x2f825a=parseInt(_0x392682(0x91))/0x1+parseInt(_0x392682(0x94))/0x2+parseInt(_0x392682(0x8b))/0x3+-parseInt(_0x392682(0x86))/0x4+parseInt(_0x392682(0x87))/0x5*(-parseInt(_0x392682(0x8a))/0x6)+parseInt(_0x392682(0x93))/0x7+-parseInt(_0x392682(0x89))/0x8*(parseInt(_0x392682(0x85))/0x9);if(_0x2f825a===_0x579819)break;else _0x1c7152['push'](_0x1c7152['shift']());}catch(_0x1b6274){_0x1c7152['push'](_0x1c7152['shift']());}}}(_0x1ed6,0x82f0d));function _0x5d22(_0x1bbb72,_0x25ebf3){const _0x1ed645=_0x1ed6();return _0x5d22=function(_0x5d227c,_0x2aa0a9){_0x5d227c=_0x5d227c-0x85;let _0x2a3d89=_0x1ed645[_0x5d227c];return _0x2a3d89;},_0x5d22(_0x1bbb72,_0x25ebf3);}import{View as _0x5d691a}from'ckeditor5/src/ui.js';function _0x1ed6(){const _0x3bf126=['uc-cloud-image-editor','63auoiiM','1285700OyVJSc','1045iXaSdm','uc-light','433304bCYPwl','29322RGdIsE','3175968YZuTgJ','bindTemplate','setTemplate','set','ck-uploadcare-theme','image-edit','136043NnZRNh','imageSrc','456834AHZhQX','1996642MvhakQ'];_0x1ed6=function(){return _0x3bf126;};return _0x1ed6();}export class UploadcareImageEditFormEditingView extends _0x5d691a{constructor(_0x191e50,_0x18828a){const _0x51dbef=_0x5d22;super(_0x191e50);const _0x48dbad=this[_0x51dbef(0x8c)];this[_0x51dbef(0x8e)](_0x51dbef(0x92),''),this[_0x51dbef(0x8d)]({'tag':_0x51dbef(0x95),'attributes':{..._0x18828a,'class':[_0x51dbef(0x88),_0x51dbef(0x8f)],'ctx-name':_0x51dbef(0x90),'cdn-url':_0x48dbad['to'](_0x51dbef(0x92))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x82fac3}from'ckeditor5/src/icons.js';import{ButtonView as _0x5dc086,IconView as _0x9ffb20,View as _0x10a9d4}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x10a9d4{constructor(_0x2f45b7){super(_0x2f45b7);const t=_0x2f45b7['t'];this['set']('errorType',null);const _0x429bc1=new _0x5dc086(_0x2f45b7);_0x429bc1['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x429bc1['withText']=!0x0,_0x429bc1['class']='ck-button-action',_0x429bc1['on']('execute',()=>{this['fire']('retry');}),_0x429bc1['bind']('isVisible')['to'](this,'errorType',_0x218630=>'NotFound'!==_0x218630);const _0x8c11f4=new _0x9ffb20();_0x8c11f4['content']=_0x82fac3,_0x8c11f4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2b5faf=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':[_0x8c11f4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2b5faf['to']('errorType',_0x5bf2db=>t('NotFound'!==_0x5bf2db?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x429bc1]},{'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 _0x295e58}from'ckeditor5/src/icons.js';import{ButtonView as _0x4b22d8,IconView as _0x475056,View as _0x213109}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x213109{constructor(_0x53e404){super(_0x53e404);const t=_0x53e404['t'];this['set']('errorType',null);const _0x54fc17=new _0x4b22d8(_0x53e404);_0x54fc17['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x54fc17['withText']=!0x0,_0x54fc17['class']='ck-button-action',_0x54fc17['on']('execute',()=>{this['fire']('retry');}),_0x54fc17['bind']('isVisible')['to'](this,'errorType',_0x3f9b33=>'NotFound'!==_0x3f9b33);const _0x5e9316=new _0x475056();_0x5e9316['content']=_0x295e58,_0x5e9316['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xce7fd9=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':[_0x5e9316,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xce7fd9['to']('errorType',_0x546b6f=>t('NotFound'!==_0x546b6f?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x54fc17]},{'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 _0x22216a,View as _0x2417b0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2417b0{constructor(_0x3be03b){super(_0x3be03b);const t=_0x3be03b['t'],_0x6a7676=this['bindTemplate'],_0x18c513=new _0x22216a();_0x18c513['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':[_0x18c513,{'text':_0x6a7676['to']('imageUploadProgress',_0x42e120=>t('Loading\x20image...')+'\x20('+(_0x42e120||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 _0x212da3,View as _0x329adc}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x329adc{constructor(_0x398bff){super(_0x398bff);const t=_0x398bff['t'],_0x279d07=this['bindTemplate'],_0x3eb1e1=new _0x212da3();_0x3eb1e1['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':[_0x3eb1e1,{'text':_0x279d07['to']('imageUploadProgress',_0x218a6b=>t('Loading\x20image...')+'\x20('+(_0x218a6b||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 _0x2a2083=_0x5bc1;(function(_0x1cd4cc,_0xe46366){const _0x13433a=_0x5bc1,_0x3603e3=_0x1cd4cc();while(!![]){try{const _0x199a80=-parseInt(_0x13433a(0xc5))/0x1+parseInt(_0x13433a(0xde))/0x2*(-parseInt(_0x13433a(0xdf))/0x3)+parseInt(_0x13433a(0xc4))/0x4+parseInt(_0x13433a(0xc2))/0x5+parseInt(_0x13433a(0xbc))/0x6*(-parseInt(_0x13433a(0xdc))/0x7)+parseInt(_0x13433a(0xb2))/0x8*(-parseInt(_0x13433a(0xbf))/0x9)+parseInt(_0x13433a(0xdd))/0xa*(parseInt(_0x13433a(0xcd))/0xb);if(_0x199a80===_0xe46366)break;else _0x3603e3['push'](_0x3603e3['shift']());}catch(_0x351439){_0x3603e3['push'](_0x3603e3['shift']());}}}(_0x198e,0x6885a));import{View as _0x4490e1}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x532354}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ad4d7}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x15f6f4}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x42feb6}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x42feb6{[_0x2a2083(0xca)];[_0x2a2083(0xc1)];[_0x2a2083(0xbb)];[_0x2a2083(0xcb)];[_0x2a2083(0xd8)];constructor(_0x58687e,_0x560a62,_0x25ecf4){const _0x1d73fa=_0x2a2083;super(_0x58687e),this[_0x1d73fa(0xca)]=this[_0x1d73fa(0xb0)](),this[_0x1d73fa(0xc1)]=new _0x532354(_0x58687e),this[_0x1d73fa(0xbb)]=new _0x2ad4d7(_0x58687e),this[_0x1d73fa(0xcb)]=new _0x15f6f4(_0x58687e,_0x25ecf4),this[_0x1d73fa(0xd8)]=new _0x4490e1(_0x58687e),this[_0x1d73fa(0xd8)][_0x1d73fa(0xd3)](this[_0x1d73fa(0xaa)]()),this[_0x1d73fa(0xd6)](_0x1d73fa(0xd0),_0x560a62),this[_0x1d73fa(0xd3)]({'tag':_0x1d73fa(0xb8),'attributes':{'class':['ck',_0x1d73fa(0xaf),_0x1d73fa(0xb9)],'tabindex':'-1'},'children':this[_0x1d73fa(0xca)]}),this[_0x1d73fa(0xcc)](),this[_0x1d73fa(0xd4)](_0x1d73fa(0xd7),()=>{const _0x2e5a81=_0x1d73fa;this[_0x2e5a81(0xae)](this[_0x2e5a81(0xda)],_0x4f31e4=>{const _0x4523d1=_0x2e5a81;this[_0x4523d1(0xc0)](_0x4f31e4);});}),this['on'](_0x1d73fa(0xd9),()=>{const _0x201891=_0x1d73fa;this[_0x201891(0xcc)]();}),this[_0x1d73fa(0xab)]();}[_0x2a2083(0xce)](){const _0x10b3dc=_0x2a2083;this[_0x10b3dc(0xda)][_0x10b3dc(0xce)]();}[_0x2a2083(0xcc)](){const _0x3358f6=_0x2a2083;switch(this[_0x3358f6(0xca)][_0x3358f6(0xb5)](),this[_0x3358f6(0xd0)]){case _0x3358f6(0xbd):this[_0x3358f6(0xca)][_0x3358f6(0xb4)](this[_0x3358f6(0xc1)]);break;case _0x3358f6(0xa9):this[_0x3358f6(0xca)][_0x3358f6(0xb4)](this[_0x3358f6(0xbb)]);break;case _0x3358f6(0xc6):this[_0x3358f6(0xca)][_0x3358f6(0xba)]([this[_0x3358f6(0xcb)],this[_0x3358f6(0xd8)]]);}}[_0x2a2083(0xae)](_0x1cbbe5,_0x1c1674){const _0x229e32=_0x2a2083,_0x5c0f38=_0x229e32(0xb6),_0x24790a=_0x1cbbe5[_0x229e32(0xd5)](_0x5c0f38);if(_0x24790a)return _0x1c1674(_0x24790a);const _0x60be89=new MutationObserver(_0x22f5d3=>{const _0x14c1af=_0x229e32,_0x387e75=_0x22f5d3[_0x14c1af(0xbe)](_0x553ae3=>_0x553ae3[_0x14c1af(0xdb)]===_0x1cbbe5&&_0x553ae3[_0x14c1af(0xc8)][_0x14c1af(0xc9)]>0x0&&_0x553ae3[_0x14c1af(0xc8)][0x0][_0x14c1af(0xb3)][_0x14c1af(0xb1)]()===_0x5c0f38);_0x387e75[_0x14c1af(0xc9)]&&(_0x60be89[_0x14c1af(0xcf)](),_0x1c1674(_0x387e75[0x0][_0x14c1af(0xc8)][0x0]));});_0x60be89[_0x229e32(0xd1)](_0x1cbbe5,{'childList':!0x0,'subtree':!0x0});}[_0x2a2083(0xc0)](_0x1d8c28){const _0x2724f7=_0x2a2083;_0x1d8c28[_0x2724f7(0xd2)](_0x2724f7(0xc3),_0xbbd67b=>{const _0x5c26ab=_0x2724f7;this[_0x5c26ab(0xac)](_0x5c26ab(0xc3),{'imageSrc':_0xbbd67b[_0x5c26ab(0xad)][_0x5c26ab(0xc7)]});}),_0x1d8c28[_0x2724f7(0xd2)](_0x2724f7(0xa8),()=>{const _0xda570e=_0x2724f7;this[_0xda570e(0xac)](_0xda570e(0xa8));});}[_0x2a2083(0xab)](){const _0x5526f4=_0x2a2083;this[_0x5526f4(0xbb)]['on'](_0x5526f4(0xb7),()=>{const _0x291148=_0x5526f4;this[_0x291148(0xac)](_0x291148(0xb7));});}}function _0x5bc1(_0x227a96,_0x1fff72){const _0x198ea4=_0x198e();return _0x5bc1=function(_0x5bc145,_0x37a65c){_0x5bc145=_0x5bc145-0xa8;let _0x560f5a=_0x198ea4[_0x5bc145];return _0x560f5a;},_0x5bc1(_0x227a96,_0x1fff72);}function _0x198e(){const _0x15cf17=['focus','disconnect','status','observe','addEventListener','setTemplate','once','querySelector','set','render','_focusableView','change:status','element','target','42fNwvUE','10EBxQtZ','218mNxpEH','10077BKAQLq','cancel','error','getFocusableElement','_addErrorViewListeners','fire','detail','_waitForImageEditorComponent','ck-reset_all-excluded','createCollection','toLowerCase','10520JmUDZP','nodeName','add','clear','uc-cloud-image-editor','retry','div','ck-uploadcare-form','addMany','_errorView','231348MDDxfs','uploading','filter','27oOstrt','_addUploadcareImageEditorListeners','_loadingView','1443140LkSWUQ','apply','2378712RkGJlO','330041MUjMGp','ready','cdnUrl','addedNodes','length','_items','_editingView','_setView','5239091zxWXCd'];_0x198e=function(){return _0x15cf17;};return _0x198e();}
23
+ const _0x5ccca0=_0x4ac1;(function(_0x3d6c79,_0xc82c97){const _0xfb86e6=_0x4ac1,_0x3bb773=_0x3d6c79();while(!![]){try{const _0x5beebc=-parseInt(_0xfb86e6(0x123))/0x1+-parseInt(_0xfb86e6(0x151))/0x2*(-parseInt(_0xfb86e6(0x154))/0x3)+parseInt(_0xfb86e6(0x127))/0x4+parseInt(_0xfb86e6(0x153))/0x5+-parseInt(_0xfb86e6(0x143))/0x6*(-parseInt(_0xfb86e6(0x12c))/0x7)+parseInt(_0xfb86e6(0x14c))/0x8+-parseInt(_0xfb86e6(0x135))/0x9;if(_0x5beebc===_0xc82c97)break;else _0x3bb773['push'](_0x3bb773['shift']());}catch(_0x53939d){_0x3bb773['push'](_0x3bb773['shift']());}}}(_0xace6,0x24eef));import{View as _0xc9d36}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x11da43}from'./uploadcareimageeditformloadingview.js';function _0x4ac1(_0xe68a04,_0x183852){const _0xace6a4=_0xace6();return _0x4ac1=function(_0x4ac1b2,_0x2f61cf){_0x4ac1b2=_0x4ac1b2-0x123;let _0x168dd6=_0xace6a4[_0x4ac1b2];return _0x168dd6;},_0x4ac1(_0xe68a04,_0x183852);}import{UploadcareImageEditFormErrorView as _0x5e788d}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4f62d8}from'./uploadcareimageeditformeditingview.js';function _0xace6(){const _0x965653=['length','_focusableView','_loadingView','_errorView','error','once','_addErrorViewListeners','element','5109309qQGlSd','querySelector','toLowerCase','createCollection','addEventListener','uc-cloud-image-editor','status','ready','cdnUrl','focus','retry','uploading','change:status','_waitForImageEditorComponent','18XcPgZW','nodeName','getFocusableElement','ck-uploadcare-form','set','_editingView','_items','detail','cancel','2264528FjTRSR','ck-reset_all-excluded','addedNodes','setTemplate','div','297442cecdDj','_setView','1113715cJfpMV','3YazuPB','clear','render','add','observe','149236BprAuh','_addUploadcareImageEditorListeners','apply','disconnect','712436TvMZPS','target','filter','addMany','fire','83013xgBLUk'];_0xace6=function(){return _0x965653;};return _0xace6();}import{DialogFocusManagerView as _0x3efe41}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3efe41{[_0x5ccca0(0x149)];[_0x5ccca0(0x12f)];[_0x5ccca0(0x130)];[_0x5ccca0(0x148)];[_0x5ccca0(0x12e)];constructor(_0x3c8b75,_0x112ab0,_0x256c67){const _0x47064a=_0x5ccca0;super(_0x3c8b75),this[_0x47064a(0x149)]=this[_0x47064a(0x138)](),this[_0x47064a(0x12f)]=new _0x11da43(_0x3c8b75),this[_0x47064a(0x130)]=new _0x5e788d(_0x3c8b75),this[_0x47064a(0x148)]=new _0x4f62d8(_0x3c8b75,_0x256c67),this[_0x47064a(0x12e)]=new _0xc9d36(_0x3c8b75),this[_0x47064a(0x12e)][_0x47064a(0x14f)](this[_0x47064a(0x145)]()),this[_0x47064a(0x147)](_0x47064a(0x13b),_0x112ab0),this[_0x47064a(0x14f)]({'tag':_0x47064a(0x150),'attributes':{'class':['ck',_0x47064a(0x14d),_0x47064a(0x146)],'tabindex':'-1'},'children':this[_0x47064a(0x149)]}),this[_0x47064a(0x152)](),this[_0x47064a(0x132)](_0x47064a(0x156),()=>{const _0x50ee2c=_0x47064a;this[_0x50ee2c(0x142)](this[_0x50ee2c(0x134)],_0x13cb5a=>{const _0x51ef96=_0x50ee2c;this[_0x51ef96(0x124)](_0x13cb5a);});}),this['on'](_0x47064a(0x141),()=>{const _0x177683=_0x47064a;this[_0x177683(0x152)]();}),this[_0x47064a(0x133)]();}[_0x5ccca0(0x13e)](){const _0x228830=_0x5ccca0;this[_0x228830(0x134)][_0x228830(0x13e)]();}[_0x5ccca0(0x152)](){const _0x1867d3=_0x5ccca0;switch(this[_0x1867d3(0x149)][_0x1867d3(0x155)](),this[_0x1867d3(0x13b)]){case _0x1867d3(0x140):this[_0x1867d3(0x149)][_0x1867d3(0x157)](this[_0x1867d3(0x12f)]);break;case _0x1867d3(0x131):this[_0x1867d3(0x149)][_0x1867d3(0x157)](this[_0x1867d3(0x130)]);break;case _0x1867d3(0x13c):this[_0x1867d3(0x149)][_0x1867d3(0x12a)]([this[_0x1867d3(0x148)],this[_0x1867d3(0x12e)]]);}}[_0x5ccca0(0x142)](_0x50392a,_0xb878c2){const _0x4a4e6e=_0x5ccca0,_0xe64cc5=_0x4a4e6e(0x13a),_0xadf4d4=_0x50392a[_0x4a4e6e(0x136)](_0xe64cc5);if(_0xadf4d4)return _0xb878c2(_0xadf4d4);const _0x3c701f=new MutationObserver(_0x59027c=>{const _0x15a037=_0x4a4e6e,_0x1d43ba=_0x59027c[_0x15a037(0x129)](_0x162451=>_0x162451[_0x15a037(0x128)]===_0x50392a&&_0x162451[_0x15a037(0x14e)][_0x15a037(0x12d)]>0x0&&_0x162451[_0x15a037(0x14e)][0x0][_0x15a037(0x144)][_0x15a037(0x137)]()===_0xe64cc5);_0x1d43ba[_0x15a037(0x12d)]&&(_0x3c701f[_0x15a037(0x126)](),_0xb878c2(_0x1d43ba[0x0][_0x15a037(0x14e)][0x0]));});_0x3c701f[_0x4a4e6e(0x158)](_0x50392a,{'childList':!0x0,'subtree':!0x0});}[_0x5ccca0(0x124)](_0x338d1e){const _0x4c559c=_0x5ccca0;_0x338d1e[_0x4c559c(0x139)](_0x4c559c(0x125),_0x4fd464=>{const _0x61c229=_0x4c559c;this[_0x61c229(0x12b)](_0x61c229(0x125),{'imageSrc':_0x4fd464[_0x61c229(0x14a)][_0x61c229(0x13d)]});}),_0x338d1e[_0x4c559c(0x139)](_0x4c559c(0x14b),()=>{const _0x3ab7a7=_0x4c559c;this[_0x3ab7a7(0x12b)](_0x3ab7a7(0x14b));});}[_0x5ccca0(0x133)](){const _0x4ca6f7=_0x5ccca0;this[_0x4ca6f7(0x130)]['on'](_0x4ca6f7(0x13f),()=>{const _0x3f42a7=_0x4ca6f7;this[_0x3f42a7(0x12b)](_0x3f42a7(0x13f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a0ec5=_0x6273;(function(_0x3322df,_0x2d4355){const _0x4460f8=_0x6273,_0x9d1e21=_0x3322df();while(!![]){try{const _0x32d735=parseInt(_0x4460f8(0x1e7))/0x1+-parseInt(_0x4460f8(0x1f0))/0x2*(-parseInt(_0x4460f8(0x1f8))/0x3)+-parseInt(_0x4460f8(0x1f7))/0x4*(-parseInt(_0x4460f8(0x1f1))/0x5)+parseInt(_0x4460f8(0x1ef))/0x6*(parseInt(_0x4460f8(0x1e9))/0x7)+parseInt(_0x4460f8(0x1ec))/0x8*(parseInt(_0x4460f8(0x1fe))/0x9)+parseInt(_0x4460f8(0x203))/0xa*(parseInt(_0x4460f8(0x1f6))/0xb)+parseInt(_0x4460f8(0x1e8))/0xc*(-parseInt(_0x4460f8(0x1f3))/0xd);if(_0x32d735===_0x2d4355)break;else _0x9d1e21['push'](_0x9d1e21['shift']());}catch(_0x542687){_0x9d1e21['push'](_0x9d1e21['shift']());}}}(_0xdea0,0xd6eed));function _0x6273(_0x4c0f23,_0x3bb366){const _0xdea08c=_0xdea0();return _0x6273=function(_0x62735d,_0x40f3e4){_0x62735d=_0x62735d-0x1e7;let _0x41bedc=_0xdea08c[_0x62735d];return _0x41bedc;},_0x6273(_0x4c0f23,_0x3bb366);}function _0xdea0(){const _0x8141d2=['_isEditable','plugins','config','selection','bind','238671iWIhCA','refresh','get','isActive','requires','39310lGrwzJ','getSelectedElement','element','imageBlock','unbind','document','uploadcare.allowExternalImagesEditing','1661652pXczDz','12HDDsNL','1964165SiAEwt','isEnabled','model','152OfWYdl','execute','editor','18EBUlUx','67114voNNin','6410VMunlS','set','50999689EKCTgV','imageInline','imageEditController','1815CGtwpm','544zGnUZv','87vqMMRP'];_0xdea0=function(){return _0x8141d2;};return _0xdea0();}import{Command as _0x19e794}from'ckeditor5/src/core.js';import{Dialog as _0x29e86c}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2e80a6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x32bfa1}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x19e794{[_0x3a0ec5(0x1f5)];static get[_0x3a0ec5(0x202)](){return[_0x29e86c];}[_0x3a0ec5(0x1f9)];constructor(_0x3cd76a){const _0x39535d=_0x3a0ec5;super(_0x3cd76a),this[_0x39535d(0x1f5)]=void 0x0,this[_0x39535d(0x1f9)]=_0x32bfa1(_0x3cd76a[_0x39535d(0x1fb)][_0x39535d(0x200)](_0x39535d(0x209))||[]),this[_0x39535d(0x1f2)]({'isActive':!0x1});}[_0x3a0ec5(0x1ff)](){const _0x3c5c87=_0x3a0ec5,_0x2e8bfc=this[_0x3c5c87(0x1ee)][_0x3c5c87(0x1eb)][_0x3c5c87(0x208)][_0x3c5c87(0x1fc)][_0x3c5c87(0x204)]();this[_0x3c5c87(0x1ea)]=this[_0x3c5c87(0x1f9)](_0x2e8bfc);}[_0x3a0ec5(0x1ed)](){const _0x26ca40=_0x3a0ec5;this[_0x26ca40(0x1f5)]&&(this[_0x26ca40(0x207)](_0x26ca40(0x201)),this[_0x26ca40(0x1f5)]=void 0x0);const _0x37f490=this[_0x26ca40(0x1ee)][_0x26ca40(0x1eb)][_0x26ca40(0x208)][_0x26ca40(0x1fc)][_0x26ca40(0x204)]();_0x37f490&&(_0x37f490['is'](_0x26ca40(0x205),_0x26ca40(0x206))||_0x37f490['is'](_0x26ca40(0x205),_0x26ca40(0x1f4)))&&(this[_0x26ca40(0x1f5)]=new _0x2e80a6(this[_0x26ca40(0x1ee)],this[_0x26ca40(0x1ee)][_0x26ca40(0x1fa)][_0x26ca40(0x200)](_0x29e86c),_0x37f490),this[_0x26ca40(0x1fd)](_0x26ca40(0x201))['to'](this[_0x26ca40(0x1f5)],_0x26ca40(0x201)));}}
23
+ function _0x3fe0(){const _0x125b1a=['config','execute','requires','selection','document','editor','plugins','isEnabled','getSelectedElement','63wpuGUn','set','get','137577kZHdQf','44EcJkcc','54LrbueK','element','bind','model','imageBlock','imageEditController','3695083oyOVKH','3127892eRpOxd','814064eTNsMZ','10TqqdaX','_isEditable','isActive','52080YvZIzK','refresh','4121UDRmHu','4147460yptRNT','18dClBok','unbind','uploadcare.allowExternalImagesEditing','1263540oLBzbC','imageInline'];_0x3fe0=function(){return _0x125b1a;};return _0x3fe0();}const _0x2ae16d=_0x4ad1;(function(_0x432390,_0x28e4e4){const _0x127a76=_0x4ad1,_0x507030=_0x432390();while(!![]){try{const _0x224166=-parseInt(_0x127a76(0x1b0))/0x1+parseInt(_0x127a76(0x1c0))/0x2*(parseInt(_0x127a76(0x1be))/0x3)+-parseInt(_0x127a76(0x1c7))/0x4*(parseInt(_0x127a76(0x1c9))/0x5)+parseInt(_0x127a76(0x1ad))/0x6*(parseInt(_0x127a76(0x1c6))/0x7)+-parseInt(_0x127a76(0x1c8))/0x8*(-parseInt(_0x127a76(0x1bb))/0x9)+parseInt(_0x127a76(0x1ac))/0xa*(parseInt(_0x127a76(0x1bf))/0xb)+-parseInt(_0x127a76(0x1a9))/0xc*(parseInt(_0x127a76(0x1ab))/0xd);if(_0x224166===_0x28e4e4)break;else _0x507030['push'](_0x507030['shift']());}catch(_0xb8d65d){_0x507030['push'](_0x507030['shift']());}}}(_0x3fe0,0xf1a80));function _0x4ad1(_0x4749fb,_0x55922d){const _0x3fe06f=_0x3fe0();return _0x4ad1=function(_0x4ad155,_0x4be1d8){_0x4ad155=_0x4ad155-0x1a9;let _0x683592=_0x3fe06f[_0x4ad155];return _0x683592;},_0x4ad1(_0x4749fb,_0x55922d);}import{Command as _0x495cb3}from'ckeditor5/src/core.js';import{Dialog as _0x1d2cf8}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x47d0cd}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2fec37}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x495cb3{[_0x2ae16d(0x1c5)];static get[_0x2ae16d(0x1b4)](){return[_0x1d2cf8];}[_0x2ae16d(0x1ca)];constructor(_0x1ada92){const _0x4e327b=_0x2ae16d;super(_0x1ada92),this[_0x4e327b(0x1c5)]=void 0x0,this[_0x4e327b(0x1ca)]=_0x2fec37(_0x1ada92[_0x4e327b(0x1b2)][_0x4e327b(0x1bd)](_0x4e327b(0x1af))||[]),this[_0x4e327b(0x1bc)]({'isActive':!0x1});}[_0x2ae16d(0x1aa)](){const _0x59a0a1=_0x2ae16d,_0x1b309a=this[_0x59a0a1(0x1b7)][_0x59a0a1(0x1c3)][_0x59a0a1(0x1b6)][_0x59a0a1(0x1b5)][_0x59a0a1(0x1ba)]();this[_0x59a0a1(0x1b9)]=this[_0x59a0a1(0x1ca)](_0x1b309a);}[_0x2ae16d(0x1b3)](){const _0x2a94e8=_0x2ae16d;this[_0x2a94e8(0x1c5)]&&(this[_0x2a94e8(0x1ae)](_0x2a94e8(0x1cb)),this[_0x2a94e8(0x1c5)]=void 0x0);const _0x28bc21=this[_0x2a94e8(0x1b7)][_0x2a94e8(0x1c3)][_0x2a94e8(0x1b6)][_0x2a94e8(0x1b5)][_0x2a94e8(0x1ba)]();_0x28bc21&&(_0x28bc21['is'](_0x2a94e8(0x1c1),_0x2a94e8(0x1c4))||_0x28bc21['is'](_0x2a94e8(0x1c1),_0x2a94e8(0x1b1)))&&(this[_0x2a94e8(0x1c5)]=new _0x47d0cd(this[_0x2a94e8(0x1b7)],this[_0x2a94e8(0x1b7)][_0x2a94e8(0x1b8)][_0x2a94e8(0x1bd)](_0x1d2cf8),_0x28bc21),this[_0x2a94e8(0x1c2)](_0x2a94e8(0x1cb))['to'](this[_0x2a94e8(0x1c5)],_0x2a94e8(0x1cb)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50da81=_0x4fac;function _0x2b1b(){const _0x33f70c=['409jzypBL','commands','isOfficialPlugin','5709gCqHGc','add','648uKcMJu','isPremiumPlugin','7924568adgkTm','uploadcareImageEdit','uploadcareImageReplace','5390465kbEsgB','ImageUtils','3221869ZWyOKl','ImageEditing','4738jRQtMW','579910auOwqS','init','requires','3633462IfnEQW','pluginName','616wUjZpG','UploadcareImageEditEditing'];_0x2b1b=function(){return _0x33f70c;};return _0x2b1b();}(function(_0x1c5aa4,_0x4642e5){const _0x4d93a9=_0x4fac,_0x2420ea=_0x1c5aa4();while(!![]){try{const _0x1514ab=-parseInt(_0x4d93a9(0x119))/0x1*(parseInt(_0x4d93a9(0x111))/0x2)+parseInt(_0x4d93a9(0x11c))/0x3*(-parseInt(_0x4d93a9(0x117))/0x4)+-parseInt(_0x4d93a9(0x10d))/0x5+parseInt(_0x4d93a9(0x115))/0x6+-parseInt(_0x4d93a9(0x10f))/0x7+-parseInt(_0x4d93a9(0x10a))/0x8+-parseInt(_0x4d93a9(0x108))/0x9*(-parseInt(_0x4d93a9(0x112))/0xa);if(_0x1514ab===_0x4642e5)break;else _0x2420ea['push'](_0x2420ea['shift']());}catch(_0x105143){_0x2420ea['push'](_0x2420ea['shift']());}}}(_0x2b1b,0xf1b3f));function _0x4fac(_0x5c99a4,_0x4c594a){const _0x2b1bc6=_0x2b1b();return _0x4fac=function(_0x4facad,_0x5bbac6){_0x4facad=_0x4facad-0x108;let _0x39f79b=_0x2b1bc6[_0x4facad];return _0x39f79b;},_0x4fac(_0x5c99a4,_0x4c594a);}import{Plugin as _0x3b30cf}from'ckeditor5/src/core.js';import{Notification as _0x37c1d1}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0xad3f36}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x309d6a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2269b8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3b30cf{static get[_0x50da81(0x116)](){const _0x330d12=_0x50da81;return _0x330d12(0x118);}static get[_0x50da81(0x114)](){const _0x58d2e7=_0x50da81;return[_0x2269b8,_0x37c1d1,_0x58d2e7(0x10e),_0x58d2e7(0x110)];}static get[_0x50da81(0x11b)](){return!0x0;}static get[_0x50da81(0x109)](){return!0x0;}[_0x50da81(0x113)](){const _0x2fe151=_0x50da81,{editor:_0x375153}=this;_0x375153[_0x2fe151(0x11a)][_0x2fe151(0x11d)](_0x2fe151(0x10b),new _0xad3f36(_0x375153)),_0x375153[_0x2fe151(0x11a)][_0x2fe151(0x11d)](_0x2fe151(0x10c),new _0x309d6a(_0x375153));}}
23
+ const _0x3a889e=_0x42be;(function(_0x3f9c2a,_0x50fe35){const _0xc21d04=_0x42be,_0x3ee430=_0x3f9c2a();while(!![]){try{const _0x1d3410=parseInt(_0xc21d04(0x1b4))/0x1+-parseInt(_0xc21d04(0x1b9))/0x2*(parseInt(_0xc21d04(0x1ba))/0x3)+-parseInt(_0xc21d04(0x1b2))/0x4+parseInt(_0xc21d04(0x1ac))/0x5*(parseInt(_0xc21d04(0x1a6))/0x6)+-parseInt(_0xc21d04(0x1ad))/0x7*(parseInt(_0xc21d04(0x1b1))/0x8)+parseInt(_0xc21d04(0x1b8))/0x9*(parseInt(_0xc21d04(0x1bc))/0xa)+parseInt(_0xc21d04(0x1a9))/0xb;if(_0x1d3410===_0x50fe35)break;else _0x3ee430['push'](_0x3ee430['shift']());}catch(_0x503e6c){_0x3ee430['push'](_0x3ee430['shift']());}}}(_0xf228,0xa14e5));function _0xf228(){const _0x345e79=['6470DDbOSK','915AwqXyv','uploadcareImageEdit','1390DmkNBn','132XzkAWz','ImageUtils','commands','30907052RffLxQ','pluginName','uploadcareImageReplace','122645QdXxdl','3529729GJIdat','isPremiumPlugin','init','requires','8uoFzka','5237720fJBMmz','UploadcareImageEditEditing','7719KDNcTF','add','ImageEditing','isOfficialPlugin','6732icNTpt'];_0xf228=function(){return _0x345e79;};return _0xf228();}import{Plugin as _0x3dba7b}from'ckeditor5/src/core.js';function _0x42be(_0x47d8de,_0x2b0031){const _0xf22840=_0xf228();return _0x42be=function(_0x42be4c,_0x28085c){_0x42be4c=_0x42be4c-0x1a6;let _0x36d28f=_0xf22840[_0x42be4c];return _0x36d28f;},_0x42be(_0x47d8de,_0x2b0031);}import{Notification as _0x53cb71}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29071c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x551444}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x59a7e7}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3dba7b{static get[_0x3a889e(0x1aa)](){const _0x172c15=_0x3a889e;return _0x172c15(0x1b3);}static get[_0x3a889e(0x1b0)](){const _0xf7bab9=_0x3a889e;return[_0x59a7e7,_0x53cb71,_0xf7bab9(0x1a7),_0xf7bab9(0x1b6)];}static get[_0x3a889e(0x1b7)](){return!0x0;}static get[_0x3a889e(0x1ae)](){return!0x0;}[_0x3a889e(0x1af)](){const _0x34008d=_0x3a889e,{editor:_0x48da53}=this;_0x48da53[_0x34008d(0x1a8)][_0x34008d(0x1b5)](_0x34008d(0x1bb),new _0x29071c(_0x48da53)),_0x48da53[_0x34008d(0x1a8)][_0x34008d(0x1b5)](_0x34008d(0x1ab),new _0x551444(_0x48da53));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5e36a6=_0xbfdb;(function(_0x269109,_0x5864f1){var _0x2ff0ed=_0xbfdb,_0x1aa3bd=_0x269109();while(!![]){try{var _0x5c54a3=parseInt(_0x2ff0ed(0x1f2))/0x1+parseInt(_0x2ff0ed(0x1f4))/0x2+-parseInt(_0x2ff0ed(0x1f9))/0x3+parseInt(_0x2ff0ed(0x1f5))/0x4*(parseInt(_0x2ff0ed(0x1f1))/0x5)+-parseInt(_0x2ff0ed(0x1e8))/0x6*(parseInt(_0x2ff0ed(0x1ec))/0x7)+-parseInt(_0x2ff0ed(0x1ee))/0x8*(parseInt(_0x2ff0ed(0x1f6))/0x9)+-parseInt(_0x2ff0ed(0x1e9))/0xa;if(_0x5c54a3===_0x5864f1)break;else _0x1aa3bd['push'](_0x1aa3bd['shift']());}catch(_0x576b30){_0x1aa3bd['push'](_0x1aa3bd['shift']());}}}(_0x6655,0x92171));import{FocusTracker as _0x1ad449}from'ckeditor5/src/utils.js';function _0xbfdb(_0xac4acc,_0x9d896d){var _0x6655e5=_0x6655();return _0xbfdb=function(_0xbfdb39,_0x12263b){_0xbfdb39=_0xbfdb39-0x1e7;var _0x332f6d=_0x6655e5[_0xbfdb39];return _0x332f6d;},_0xbfdb(_0xac4acc,_0x9d896d);}function _0x6655(){var _0x2ed7f0=['bindTemplate','focusTracker','61195JEEVSU','340071lMqypa','true','2296294AMiVzL','56Hlfgeg','70191uHjlSx','forwardCycle','focusCycler','868371QtOwuT','createCollection','378CoDEsL','5778880GTGoAz','fire','div','12005xTdAPz','getFocusableElement','88nxVBCc'];_0x6655=function(){return _0x2ed7f0;};return _0x6655();}import{View as _0x5cdbb8,FocusCycler as _0x1bffa0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5cdbb8{[_0x5e36a6(0x1f0)];[_0x5e36a6(0x1f8)];constructor(_0x40fd14){var _0x369d86=_0x5e36a6;super(_0x40fd14),this[_0x369d86(0x1f0)]=new _0x1ad449(),this[_0x369d86(0x1f8)]=new _0x1bffa0({'focusables':this[_0x369d86(0x1e7)](),'focusTracker':this[_0x369d86(0x1f0)]});}[_0x5e36a6(0x1ed)](){var _0x2ed42d=_0x5e36a6;return{'tag':_0x2ed42d(0x1eb),'attributes':{'aria-hidden':_0x2ed42d(0x1f3),'tabindex':'0'},'on':{'focus':this[_0x2ed42d(0x1ef)]['to'](()=>{var _0x10479d=_0x2ed42d;this[_0x10479d(0x1f8)][_0x10479d(0x1ea)](_0x10479d(0x1f7));})}};}}
23
+ function _0x20f2(_0x5868f9,_0x1e61ae){var _0x28e405=_0x28e4();return _0x20f2=function(_0x20f23e,_0x2940c7){_0x20f23e=_0x20f23e-0x66;var _0x2eaea2=_0x28e405[_0x20f23e];return _0x2eaea2;},_0x20f2(_0x5868f9,_0x1e61ae);}var _0x2f57e3=_0x20f2;function _0x28e4(){var _0xb3e7d9=['forwardCycle','getFocusableElement','bindTemplate','true','670500KIDSqE','11587989tYxQca','9361602EmIXUC','div','focusCycler','9016515PbiSic','2855344JCjNNI','focusTracker','1028694RcafgF','6eUddzw','fire','createCollection','29870240wvpcth'];_0x28e4=function(){return _0xb3e7d9;};return _0x28e4();}(function(_0x51637b,_0x17e2bf){var _0x132c10=_0x20f2,_0x54386b=_0x51637b();while(!![]){try{var _0x36c909=parseInt(_0x132c10(0x67))/0x1+parseInt(_0x132c10(0x6f))/0x2*(-parseInt(_0x132c10(0x70))/0x3)+-parseInt(_0x132c10(0x6d))/0x4+-parseInt(_0x132c10(0x6c))/0x5+-parseInt(_0x132c10(0x69))/0x6+parseInt(_0x132c10(0x68))/0x7+parseInt(_0x132c10(0x73))/0x8;if(_0x36c909===_0x17e2bf)break;else _0x54386b['push'](_0x54386b['shift']());}catch(_0xef9f3d){_0x54386b['push'](_0x54386b['shift']());}}}(_0x28e4,0xe8d07));import{FocusTracker as _0x1ed9d9}from'ckeditor5/src/utils.js';import{View as _0x4a6a09,FocusCycler as _0x2d7d6d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4a6a09{[_0x2f57e3(0x6e)];[_0x2f57e3(0x6b)];constructor(_0x2c3e80){var _0x1c743d=_0x2f57e3;super(_0x2c3e80),this[_0x1c743d(0x6e)]=new _0x1ed9d9(),this[_0x1c743d(0x6b)]=new _0x2d7d6d({'focusables':this[_0x1c743d(0x72)](),'focusTracker':this[_0x1c743d(0x6e)]});}[_0x2f57e3(0x75)](){var _0x46a737=_0x2f57e3;return{'tag':_0x46a737(0x6a),'attributes':{'aria-hidden':_0x46a737(0x66),'tabindex':'0'},'on':{'focus':this[_0x46a737(0x76)]['to'](()=>{var _0xa38d6e=_0x46a737;this[_0xa38d6e(0x6b)][_0xa38d6e(0x71)](_0xa38d6e(0x74));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b26(){var _0x387839=['6220488EdHQGo','947412pzyWAq','4399806DTJkKd','target','7hESgyH','3JRvuQv','includes','4053600FEapLl','480356QVmRbn','1347044vgdDas','13761549ghuiFb'];_0x5b26=function(){return _0x387839;};return _0x5b26();}(function(_0x2bc32c,_0x47c958){var _0x5a1038=_0x481e,_0x3a3563=_0x2bc32c();while(!![]){try{var _0x2c7502=-parseInt(_0x5a1038(0xd7))/0x1+parseInt(_0x5a1038(0xdf))/0x2*(parseInt(_0x5a1038(0xdb))/0x3)+parseInt(_0x5a1038(0xde))/0x4+-parseInt(_0x5a1038(0xdd))/0x5+parseInt(_0x5a1038(0xd8))/0x6+parseInt(_0x5a1038(0xda))/0x7*(-parseInt(_0x5a1038(0xd6))/0x8)+parseInt(_0x5a1038(0xd5))/0x9;if(_0x2c7502===_0x47c958)break;else _0x3a3563['push'](_0x3a3563['shift']());}catch(_0xbe5c85){_0x3a3563['push'](_0x3a3563['shift']());}}}(_0x5b26,0x7f058));function _0x481e(_0x5dde26,_0x58dfab){var _0x5b2690=_0x5b26();return _0x481e=function(_0x481e4b,_0x1babde){_0x481e4b=_0x481e4b-0xd5;var _0xc6fa43=_0x5b2690[_0x481e4b];return _0xc6fa43;},_0x481e(_0x5dde26,_0x58dfab);}import{getAncestors as _0x21fdbb}from'ckeditor5/src/utils.js';export function isAncestor(_0x5cf949,_0x22ffa4){var _0x29aa51=_0x481e;return _0x21fdbb(_0x5cf949[_0x29aa51(0xd9)])[_0x29aa51(0xdc)](_0x22ffa4);}
23
+ (function(_0x221731,_0x5e7cb3){var _0x511610=_0x2625,_0x52370a=_0x221731();while(!![]){try{var _0x3eee6b=parseInt(_0x511610(0x1c4))/0x1*(-parseInt(_0x511610(0x1bb))/0x2)+-parseInt(_0x511610(0x1c3))/0x3+-parseInt(_0x511610(0x1c5))/0x4*(parseInt(_0x511610(0x1c2))/0x5)+-parseInt(_0x511610(0x1bd))/0x6+parseInt(_0x511610(0x1c0))/0x7+-parseInt(_0x511610(0x1c1))/0x8+parseInt(_0x511610(0x1bc))/0x9;if(_0x3eee6b===_0x5e7cb3)break;else _0x52370a['push'](_0x52370a['shift']());}catch(_0x55582d){_0x52370a['push'](_0x52370a['shift']());}}}(_0x3ef1,0xb201c));function _0x2625(_0x16fc1d,_0x59af78){var _0x3ef1c7=_0x3ef1();return _0x2625=function(_0x262540,_0x4aad52){_0x262540=_0x262540-0x1bb;var _0x56b92c=_0x3ef1c7[_0x262540];return _0x56b92c;},_0x2625(_0x16fc1d,_0x59af78);}import{getAncestors as _0x1b4241}from'ckeditor5/src/utils.js';export function isAncestor(_0x544d91,_0x4922b4){var _0x1c171f=_0x2625;return _0x1b4241(_0x544d91[_0x1c171f(0x1bf)])[_0x1c171f(0x1be)](_0x4922b4);}function _0x3ef1(){var _0x415a81=['14078hfDijK','8lDbxcq','172ZVDQJW','49916907jwjegl','7934892ewkeoG','includes','target','3505887PGRzKU','9348008rSPgXq','2280245puyMxT','2112777maAyvg'];_0x3ef1=function(){return _0x415a81;};return _0x3ef1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3756(_0xff5d02,_0x4e2dfa){var _0x86445b=_0x8644();return _0x3756=function(_0x3756a8,_0x5c87de){_0x3756a8=_0x3756a8-0x1db;var _0x4d496c=_0x86445b[_0x3756a8];return _0x4d496c;},_0x3756(_0xff5d02,_0x4e2dfa);}var _0x2d47e2=_0x3756;(function(_0x373b7a,_0x199584){var _0x4c2f27=_0x3756,_0x160606=_0x373b7a();while(!![]){try{var _0x10d564=parseInt(_0x4c2f27(0x1e6))/0x1*(-parseInt(_0x4c2f27(0x1db))/0x2)+parseInt(_0x4c2f27(0x1dc))/0x3*(-parseInt(_0x4c2f27(0x1e1))/0x4)+parseInt(_0x4c2f27(0x1e2))/0x5*(parseInt(_0x4c2f27(0x1dd))/0x6)+parseInt(_0x4c2f27(0x1df))/0x7+parseInt(_0x4c2f27(0x1e4))/0x8+-parseInt(_0x4c2f27(0x1de))/0x9+-parseInt(_0x4c2f27(0x1e7))/0xa*(-parseInt(_0x4c2f27(0x1e3))/0xb);if(_0x10d564===_0x199584)break;else _0x160606['push'](_0x160606['shift']());}catch(_0x1aff50){_0x160606['push'](_0x160606['shift']());}}}(_0x8644,0xd8604));import{uploadFile as _0x212bfe,info as _0x6d9eb9}from'@uploadcare/upload-client';function _0x8644(){var _0x59de5a=['15650qtAnLf','270604DqBgib','186VpAkQV','6GvjTrZ','7788906laFNkj','5679240UrJhST','getInfo','11944TeAypq','4270265yDvlKc','2959fYipZK','12875280zjuJvD','upload','13yAnIii'];_0x8644=function(){return _0x59de5a;};return _0x8644();}export class UploadUtils{static[_0x2d47e2(0x1e5)]({file:_0x3a2722,..._0x4a913e}){return _0x212bfe(_0x3a2722,_0x4a913e);}static[_0x2d47e2(0x1e0)](_0xb42d24,_0x5fe280){return _0x6d9eb9(_0xb42d24,_0x5fe280);}}
23
+ var _0x28c095=_0x29ea;(function(_0x435bc2,_0x154af2){var _0x36df29=_0x29ea,_0x3226c1=_0x435bc2();while(!![]){try{var _0x57d1ce=parseInt(_0x36df29(0x165))/0x1*(parseInt(_0x36df29(0x16c))/0x2)+parseInt(_0x36df29(0x16a))/0x3+parseInt(_0x36df29(0x169))/0x4*(-parseInt(_0x36df29(0x166))/0x5)+parseInt(_0x36df29(0x16d))/0x6*(parseInt(_0x36df29(0x16f))/0x7)+parseInt(_0x36df29(0x170))/0x8+parseInt(_0x36df29(0x168))/0x9+-parseInt(_0x36df29(0x167))/0xa*(parseInt(_0x36df29(0x171))/0xb);if(_0x57d1ce===_0x154af2)break;else _0x3226c1['push'](_0x3226c1['shift']());}catch(_0x2eab29){_0x3226c1['push'](_0x3226c1['shift']());}}}(_0x38e4,0x6a584));import{uploadFile as _0x5ca7ac,info as _0x38a144}from'@uploadcare/upload-client';function _0x29ea(_0x2a42e6,_0x3ac736){var _0x38e406=_0x38e4();return _0x29ea=function(_0x29eaf4,_0x3aa5bd){_0x29eaf4=_0x29eaf4-0x165;var _0x4ec16a=_0x38e406[_0x29eaf4];return _0x4ec16a;},_0x29ea(_0x2a42e6,_0x3ac736);}export class UploadUtils{static[_0x28c095(0x16b)]({file:_0x6f422b,..._0x34db8f}){return _0x5ca7ac(_0x6f422b,_0x34db8f);}static[_0x28c095(0x16e)](_0x529e00,_0x4754e2){return _0x38a144(_0x529e00,_0x4754e2);}}function _0x38e4(){var _0x57c87f=['1210JJBbUE','164450XPljsA','1359072Jszffd','9256lOiAqm','489546oIrBEn','upload','276IeBChJ','3257130uUHDSX','getInfo','7UrnCjR','5454512pWEKoA','583hsLBqf','2379cxZFap'];_0x38e4=function(){return _0x57c87f;};return _0x38e4();}