@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251213.0 → 0.0.0-nightly-20251214.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 _0x16040c,ObservableMixin as _0x5beb70}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2a18f2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x19217a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1c4864}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x24d91b}from'../../utils/uploadutils.js';import{getImageUrls as _0x4682c8,getImageDimension as _0x3a4e33}from'../../utils/editingutils.js';import{isAncestor as _0x3a5582}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x5beb70(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x47c5e3,_0xd40f18,_0x4fff56){super(),this['_editor']=_0x47c5e3,this['_dialog']=_0xd40f18,this['_imageElement']=_0x4fff56,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 _0x232c1a=this['_imageElement'],_0x1a4c4b=_0x232c1a['getAttribute']('uploadcareImageId'),_0x2bda3a=_0x232c1a['getAttribute']('src');if(_0x1a4c4b)await this['_loadImageInfo'](_0x1a4c4b,_0x2bda3a);else{if(this['_imageCache']['has'](_0x2bda3a)){const _0x2a0dd1=this['_imageCache']['get'](_0x2bda3a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a0dd1['url'],this['imageDimension']=_0x2a0dd1['dimension'],this['imageId']=_0x2a0dd1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x103a7b}=this['_editor'],t=_0x103a7b['t'],_0x42b25e=new _0x1c4864(_0x103a7b,this['imageStatus'],this['_attributes']);_0x42b25e['bind']('status')['to'](this,'imageStatus'),_0x42b25e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x42b25e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x42b25e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x42b25e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x19217a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x42b25e,'position':_0x2a18f2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x42b25e['focus']();},'onHide':()=>{_0x42b25e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x26030a=>!_0x3a5582(_0x26030a,_0x42b25e['element'])}});}['_loadImageInfo'](_0xc9bf0e,_0x47a8a1){return _0x24d91b['getInfo'](_0xc9bf0e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1bc7b8=>{const {width:_0x2bfc28,height:_0x125314}=_0x1bc7b8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47a8a1,this['imageDimension']={'width':_0x2bfc28,'height':_0x125314},this['imageId']=_0xc9bf0e;})['catch'](_0x57e97b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x57e97b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x54389b,_0x4e110a){return this['_getImageAsFile'](_0x54389b)['then'](_0x560a00=>_0x24d91b['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':_0x4e110a['signal'],'file':_0x560a00,'onProgress':_0x3d08ac=>{_0x3d08ac&&_0x3d08ac['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3d08ac['value']));}}))['then'](_0x1a9a54=>{const {width:_0x45241c,height:_0x1f0bb1}=_0x1a9a54['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a9a54['cdnUrl'],this['imageDimension']={'width':_0x45241c,'height':_0x1f0bb1},this['imageId']=_0x1a9a54['uuid'],this['imageUploadProgress']=null;const _0x13d566=_0x54389b['getAttribute']('src');this['_imageCache']['set'](_0x13d566,{'id':_0x1a9a54['uuid'],'url':_0x1a9a54['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x22d6e3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22d6e3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5ebdf3,_0x4c4977){_0x5ebdf3['on']('apply',(_0x54970d,_0x39240f)=>{this['_replaceImage'](_0x4c4977,_0x39240f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5ebdf3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5ebdf3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x115e47,_0x110cf7,_0x31aa05){const _0x3fe115=this['_editor'],{width:_0x198fad,height:_0xff5a98}=_0x3a4e33(_0x110cf7,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6096a8,imageSources:_0x2ad517}=_0x4682c8(_0x110cf7,_0x198fad);_0x3fe115['model']['change'](_0x13310f=>{if('$graveyard'===_0x115e47['root']['rootName']){_0x3fe115['execute']('insertImage',{'imageType':_0x115e47['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x115e47['getAttributes']()),'uploadcareImageId':_0x31aa05,'src':_0x6096a8,'sources':_0x2ad517,'width':_0x198fad,'height':_0xff5a98}});const _0x57254e=_0x115e47['getChildren']();_0x115e47=_0x3fe115['model']['document']['selection']['getSelectedElement']();for(const _0x2c4648 of _0x57254e)_0x13310f['append'](_0x13310f['cloneElement'](_0x2c4648),_0x115e47);}else _0x13310f['setSelection'](_0x115e47,'on'),_0x3fe115['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x115e47['getAttributes']()),'uploadcareImageId':_0x31aa05,'src':_0x6096a8,'sources':_0x2ad517,'width':_0x198fad,'height':_0xff5a98},_0x115e47);_0x13310f['setSelection'](_0x115e47,'on');});}async['_getImageAsFile'](_0x124ba5){const _0x37f358=_0x16040c['window'],_0x2c49f8=_0x16040c['document']['location']['href'],_0x44507a=new _0x37f358['URL'](_0x124ba5['getAttribute']('src'),_0x2c49f8);if('data:'===_0x44507a['protocol']){const _0x517a2a=_0x44507a['href']['split'](','),_0x39df58=_0x517a2a[0x0]['match'](/:(.*?);/)[0x1],_0x28d555=_0x39df58['split']('/')[0x1],_0xf875ff=_0x37f358['atob'](_0x517a2a[_0x517a2a['length']-0x1]);let _0x516038=_0xf875ff['length'];const _0x25bdda=new _0x37f358['Uint8Array'](_0x516038);for(;_0x516038--;)_0x25bdda[_0x516038]=_0xf875ff['charCodeAt'](_0x516038);return new _0x37f358['File']([_0x25bdda],'image.'+_0x28d555,{'type':_0x39df58});}const _0x46941d=_0x44507a['href']['split']('/'),_0x3018df=_0x46941d[_0x46941d['length']-0x1],_0x59cf57=_0x3018df['split']('.')[0x1];return _0x37f358['fetch'](_0x44507a['href'])['then'](_0x26a867=>_0x26a867['clone']()['blob']())['then'](_0x30e81d=>new _0x37f358['File']([_0x30e81d],_0x3018df,{'type':'image/'+_0x59cf57}));}}
23
+ import{global as _0x5d6ac7,ObservableMixin as _0x263098}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1f8458}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3ece6b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1b9954}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x138138}from'../../utils/uploadutils.js';import{getImageUrls as _0x4bfe47,getImageDimension as _0x24a0c9}from'../../utils/editingutils.js';import{isAncestor as _0x2f42a5}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x263098(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x599c36,_0x43dd12,_0x5dd5af){super(),this['_editor']=_0x599c36,this['_dialog']=_0x43dd12,this['_imageElement']=_0x5dd5af,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 _0x53846c=this['_imageElement'],_0x53d382=_0x53846c['getAttribute']('uploadcareImageId'),_0x2dfcfa=_0x53846c['getAttribute']('src');if(_0x53d382)await this['_loadImageInfo'](_0x53d382,_0x2dfcfa);else{if(this['_imageCache']['has'](_0x2dfcfa)){const _0x5b6fb5=this['_imageCache']['get'](_0x2dfcfa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5b6fb5['url'],this['imageDimension']=_0x5b6fb5['dimension'],this['imageId']=_0x5b6fb5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x8b5a4e}=this['_editor'],t=_0x8b5a4e['t'],_0x52a106=new _0x1b9954(_0x8b5a4e,this['imageStatus'],this['_attributes']);_0x52a106['bind']('status')['to'](this,'imageStatus'),_0x52a106['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x52a106['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x52a106['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x52a106,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x3ece6b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x52a106,'position':_0x1f8458['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x52a106['focus']();},'onHide':()=>{_0x52a106['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5b949d=>!_0x2f42a5(_0x5b949d,_0x52a106['element'])}});}['_loadImageInfo'](_0x489448,_0x14dc22){return _0x138138['getInfo'](_0x489448,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x13e150=>{const {width:_0x25401e,height:_0x4ac188}=_0x13e150['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14dc22,this['imageDimension']={'width':_0x25401e,'height':_0x4ac188},this['imageId']=_0x489448;})['catch'](_0x505420=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x505420['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x12caf6,_0x10944d){return this['_getImageAsFile'](_0x12caf6)['then'](_0x28aaf5=>_0x138138['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':_0x10944d['signal'],'file':_0x28aaf5,'onProgress':_0x44bad3=>{_0x44bad3&&_0x44bad3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x44bad3['value']));}}))['then'](_0x10ca91=>{const {width:_0x53795f,height:_0x29e597}=_0x10ca91['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x10ca91['cdnUrl'],this['imageDimension']={'width':_0x53795f,'height':_0x29e597},this['imageId']=_0x10ca91['uuid'],this['imageUploadProgress']=null;const _0x4262a1=_0x12caf6['getAttribute']('src');this['_imageCache']['set'](_0x4262a1,{'id':_0x10ca91['uuid'],'url':_0x10ca91['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x26339f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26339f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x19d1a9,_0x46ef35){_0x19d1a9['on']('apply',(_0x370713,_0x41fd6d)=>{this['_replaceImage'](_0x46ef35,_0x41fd6d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x19d1a9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x19d1a9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1e0d9c,_0x5b200b,_0x24de36){const _0x193363=this['_editor'],{width:_0x23fdb8,height:_0x257722}=_0x24a0c9(_0x5b200b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x144010,imageSources:_0x394d79}=_0x4bfe47(_0x5b200b,_0x23fdb8);_0x193363['model']['change'](_0x9cc528=>{if('$graveyard'===_0x1e0d9c['root']['rootName']){_0x193363['execute']('insertImage',{'imageType':_0x1e0d9c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1e0d9c['getAttributes']()),'uploadcareImageId':_0x24de36,'src':_0x144010,'sources':_0x394d79,'width':_0x23fdb8,'height':_0x257722}});const _0x67f46d=_0x1e0d9c['getChildren']();_0x1e0d9c=_0x193363['model']['document']['selection']['getSelectedElement']();for(const _0x17fcc7 of _0x67f46d)_0x9cc528['append'](_0x9cc528['cloneElement'](_0x17fcc7),_0x1e0d9c);}else _0x9cc528['setSelection'](_0x1e0d9c,'on'),_0x193363['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1e0d9c['getAttributes']()),'uploadcareImageId':_0x24de36,'src':_0x144010,'sources':_0x394d79,'width':_0x23fdb8,'height':_0x257722},_0x1e0d9c);_0x9cc528['setSelection'](_0x1e0d9c,'on');});}async['_getImageAsFile'](_0x12816a){const _0x52bb33=_0x5d6ac7['window'],_0x25565d=_0x5d6ac7['document']['location']['href'],_0x3484fa=new _0x52bb33['URL'](_0x12816a['getAttribute']('src'),_0x25565d);if('data:'===_0x3484fa['protocol']){const _0x42c727=_0x3484fa['href']['split'](','),_0x32a588=_0x42c727[0x0]['match'](/:(.*?);/)[0x1],_0x499203=_0x32a588['split']('/')[0x1],_0x1872c8=_0x52bb33['atob'](_0x42c727[_0x42c727['length']-0x1]);let _0x5e659a=_0x1872c8['length'];const _0xfc39aa=new _0x52bb33['Uint8Array'](_0x5e659a);for(;_0x5e659a--;)_0xfc39aa[_0x5e659a]=_0x1872c8['charCodeAt'](_0x5e659a);return new _0x52bb33['File']([_0xfc39aa],'image.'+_0x499203,{'type':_0x32a588});}const _0xb25486=_0x3484fa['href']['split']('/'),_0xdaa247=_0xb25486[_0xb25486['length']-0x1],_0x5d7a43=_0xdaa247['split']('.')[0x1];return _0x52bb33['fetch'](_0x3484fa['href'])['then'](_0x3b5310=>_0x3b5310['clone']()['blob']())['then'](_0x168a6d=>new _0x52bb33['File']([_0x168a6d],_0xdaa247,{'type':'image/'+_0x5d7a43}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x62f015,_0x157778){const _0x51da8d=_0x4606,_0x69fce=_0x62f015();while(!![]){try{const _0x1a62a9=-parseInt(_0x51da8d(0x189))/0x1*(-parseInt(_0x51da8d(0x18d))/0x2)+-parseInt(_0x51da8d(0x183))/0x3+parseInt(_0x51da8d(0x180))/0x4*(-parseInt(_0x51da8d(0x18c))/0x5)+parseInt(_0x51da8d(0x186))/0x6*(-parseInt(_0x51da8d(0x18f))/0x7)+-parseInt(_0x51da8d(0x17f))/0x8+parseInt(_0x51da8d(0x18a))/0x9+-parseInt(_0x51da8d(0x185))/0xa*(-parseInt(_0x51da8d(0x187))/0xb);if(_0x1a62a9===_0x157778)break;else _0x69fce['push'](_0x69fce['shift']());}catch(_0xffb13d){_0x69fce['push'](_0x69fce['shift']());}}}(_0x276b,0x465af));function _0x276b(){const _0x44fbfc=['uc-cloud-image-editor','4340kYRwDt','imageSrc','image-edit','3495136rxfJzn','268pKuNWA','set','setTemplate','1035597OkCROf','uc-light','7676370Nzygyl','438oKnxDd','11AYUMLt','ck-uploadcare-theme','1jlgfcy','1375722NXpJDq','bindTemplate','575YGjTmZ','405472vGyyvO'];_0x276b=function(){return _0x44fbfc;};return _0x276b();}import{View as _0x351fb7}from'ckeditor5/src/ui.js';function _0x4606(_0x5b6a08,_0x575459){const _0x276b8c=_0x276b();return _0x4606=function(_0x460641,_0x570247){_0x460641=_0x460641-0x17f;let _0x370cdd=_0x276b8c[_0x460641];return _0x370cdd;},_0x4606(_0x5b6a08,_0x575459);}export class UploadcareImageEditFormEditingView extends _0x351fb7{constructor(_0xd71ebe,_0x22a049){const _0x15eca1=_0x4606;super(_0xd71ebe);const _0x284c73=this[_0x15eca1(0x18b)];this[_0x15eca1(0x181)](_0x15eca1(0x190),''),this[_0x15eca1(0x182)]({'tag':_0x15eca1(0x18e),'attributes':{..._0x22a049,'class':[_0x15eca1(0x184),_0x15eca1(0x188)],'ctx-name':_0x15eca1(0x191),'cdn-url':_0x284c73['to'](_0x15eca1(0x190))}});}}
23
+ function _0x179d(){const _0x1193e1=['set','13822250sXHNnr','2031805pnzZOo','12iyOUcF','2811qMJgBb','33OHvIFH','1894452kcHRYM','2928MvvAKZ','setTemplate','6KvPQNl','uc-light','ck-uploadcare-theme','bindTemplate','imageSrc','image-edit','48537UQNZFS','5735172PUSbLF','240214ALeBed','7664eagssX','uc-cloud-image-editor'];_0x179d=function(){return _0x1193e1;};return _0x179d();}(function(_0x52936b,_0x4daa74){const _0x408286=_0x55b4,_0x391226=_0x52936b();while(!![]){try{const _0x42fe35=parseInt(_0x408286(0xeb))/0x1*(parseInt(_0x408286(0xf1))/0x2)+parseInt(_0x408286(0xf2))/0x3*(-parseInt(_0x408286(0xec))/0x4)+-parseInt(_0x408286(0xf0))/0x5*(parseInt(_0x408286(0xf7))/0x6)+-parseInt(_0x408286(0xf4))/0x7+parseInt(_0x408286(0xf5))/0x8*(parseInt(_0x408286(0xfd))/0x9)+-parseInt(_0x408286(0xef))/0xa+-parseInt(_0x408286(0xf3))/0xb*(-parseInt(_0x408286(0xfe))/0xc);if(_0x42fe35===_0x4daa74)break;else _0x391226['push'](_0x391226['shift']());}catch(_0x5db0a0){_0x391226['push'](_0x391226['shift']());}}}(_0x179d,0xf2c61));import{View as _0x5ed757}from'ckeditor5/src/ui.js';function _0x55b4(_0x355f47,_0x8668ef){const _0x179da2=_0x179d();return _0x55b4=function(_0x55b4d6,_0x51d795){_0x55b4d6=_0x55b4d6-0xeb;let _0x1dc24c=_0x179da2[_0x55b4d6];return _0x1dc24c;},_0x55b4(_0x355f47,_0x8668ef);}export class UploadcareImageEditFormEditingView extends _0x5ed757{constructor(_0x4bbf32,_0x42acff){const _0x5cace0=_0x55b4;super(_0x4bbf32);const _0x502d8e=this[_0x5cace0(0xfa)];this[_0x5cace0(0xee)](_0x5cace0(0xfb),''),this[_0x5cace0(0xf6)]({'tag':_0x5cace0(0xed),'attributes':{..._0x42acff,'class':[_0x5cace0(0xf8),_0x5cace0(0xf9)],'ctx-name':_0x5cace0(0xfc),'cdn-url':_0x502d8e['to'](_0x5cace0(0xfb))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x295ea2}from'ckeditor5/src/icons.js';import{ButtonView as _0x157ebf,IconView as _0x439754,View as _0x2bf5c2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2bf5c2{constructor(_0x4aa0ce){super(_0x4aa0ce);const t=_0x4aa0ce['t'];this['set']('errorType',null);const _0x1f82b8=new _0x157ebf(_0x4aa0ce);_0x1f82b8['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1f82b8['withText']=!0x0,_0x1f82b8['class']='ck-button-action',_0x1f82b8['on']('execute',()=>{this['fire']('retry');}),_0x1f82b8['bind']('isVisible')['to'](this,'errorType',_0x50b4f5=>'NotFound'!==_0x50b4f5);const _0x3de431=new _0x439754();_0x3de431['content']=_0x295ea2,_0x3de431['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x130c59=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':[_0x3de431,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x130c59['to']('errorType',_0x775d52=>t('NotFound'!==_0x775d52?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1f82b8]},{'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 _0x4ded13}from'ckeditor5/src/icons.js';import{ButtonView as _0x1acda9,IconView as _0x3ab637,View as _0x43dfe0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x43dfe0{constructor(_0x2ef4c9){super(_0x2ef4c9);const t=_0x2ef4c9['t'];this['set']('errorType',null);const _0x1519f5=new _0x1acda9(_0x2ef4c9);_0x1519f5['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1519f5['withText']=!0x0,_0x1519f5['class']='ck-button-action',_0x1519f5['on']('execute',()=>{this['fire']('retry');}),_0x1519f5['bind']('isVisible')['to'](this,'errorType',_0x3066a1=>'NotFound'!==_0x3066a1);const _0x218df7=new _0x3ab637();_0x218df7['content']=_0x4ded13,_0x218df7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5d60f2=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':[_0x218df7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5d60f2['to']('errorType',_0x1aad75=>t('NotFound'!==_0x1aad75?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1519f5]},{'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 _0x2fe81b,View as _0x10f352}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x10f352{constructor(_0x2bb45a){super(_0x2bb45a);const t=_0x2bb45a['t'],_0x31f056=this['bindTemplate'],_0x1c1e10=new _0x2fe81b();_0x1c1e10['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':[_0x1c1e10,{'text':_0x31f056['to']('imageUploadProgress',_0x3d23a0=>t('Loading\x20image...')+'\x20('+(_0x3d23a0||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 _0x1eb541,View as _0x14bc03}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x14bc03{constructor(_0x4455dc){super(_0x4455dc);const t=_0x4455dc['t'],_0x3aaef1=this['bindTemplate'],_0x40b074=new _0x1eb541();_0x40b074['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':[_0x40b074,{'text':_0x3aaef1['to']('imageUploadProgress',_0x2e16a2=>t('Loading\x20image...')+'\x20('+(_0x2e16a2||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 _0x19fa(_0x546698,_0x19d166){const _0x5b8f5e=_0x5b8f();return _0x19fa=function(_0x19faa1,_0x5d5c5c){_0x19faa1=_0x19faa1-0x18f;let _0x2d8a12=_0x5b8f5e[_0x19faa1];return _0x2d8a12;},_0x19fa(_0x546698,_0x19d166);}const _0x37f12c=_0x19fa;function _0x5b8f(){const _0x24f884=['status','uploading','4166460bjLPVQ','clear','observe','fire','render','_loadingView','_addErrorViewListeners','_setView','addMany','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','ready','cancel','706058epezTZ','apply','disconnect','_errorView','addEventListener','focus','add','ck-reset_all-excluded','set','detail','once','length','626105hGzMXB','error','_focusableView','div','cdnUrl','createCollection','querySelector','5926768xSJCQw','nodeName','23613hMibND','176GuuMtQ','addedNodes','_editingView','retry','ck-uploadcare-form','getFocusableElement','target','filter','toLowerCase','change:status','uc-cloud-image-editor','312837JDBHaK','160374AyAUGV','element','_items','setTemplate'];_0x5b8f=function(){return _0x24f884;};return _0x5b8f();}(function(_0x5b2041,_0x46445a){const _0x4afb39=_0x19fa,_0x365ca5=_0x5b2041();while(!![]){try{const _0x227cce=-parseInt(_0x4afb39(0x1b9))/0x1+-parseInt(_0x4afb39(0x197))/0x2+parseInt(_0x4afb39(0x1ac))/0x3*(-parseInt(_0x4afb39(0x1ad))/0x4)+-parseInt(_0x4afb39(0x1a3))/0x5+parseInt(_0x4afb39(0x1bf))/0x6+-parseInt(_0x4afb39(0x1b8))/0x7+parseInt(_0x4afb39(0x1aa))/0x8;if(_0x227cce===_0x46445a)break;else _0x365ca5['push'](_0x365ca5['shift']());}catch(_0x3d37cc){_0x365ca5['push'](_0x365ca5['shift']());}}}(_0x5b8f,0x63071));import{View as _0x1f2bf0}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3d8050}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1ffce0}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x597edb}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4a3e22}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4a3e22{[_0x37f12c(0x1bb)];[_0x37f12c(0x18f)];[_0x37f12c(0x19a)];[_0x37f12c(0x1af)];[_0x37f12c(0x1a5)];constructor(_0x4ee6ec,_0x5401a2,_0xd4afcf){const _0x231033=_0x37f12c;super(_0x4ee6ec),this[_0x231033(0x1bb)]=this[_0x231033(0x1a8)](),this[_0x231033(0x18f)]=new _0x3d8050(_0x4ee6ec),this[_0x231033(0x19a)]=new _0x1ffce0(_0x4ee6ec),this[_0x231033(0x1af)]=new _0x597edb(_0x4ee6ec,_0xd4afcf),this[_0x231033(0x1a5)]=new _0x1f2bf0(_0x4ee6ec),this[_0x231033(0x1a5)][_0x231033(0x1bc)](this[_0x231033(0x1b2)]()),this[_0x231033(0x19f)](_0x231033(0x1bd),_0x5401a2),this[_0x231033(0x1bc)]({'tag':_0x231033(0x1a6),'attributes':{'class':['ck',_0x231033(0x19e),_0x231033(0x1b1)],'tabindex':'-1'},'children':this[_0x231033(0x1bb)]}),this[_0x231033(0x191)](),this[_0x231033(0x1a1)](_0x231033(0x1c3),()=>{const _0xc830bc=_0x231033;this[_0xc830bc(0x193)](this[_0xc830bc(0x1ba)],_0x1d1b4f=>{const _0x3a3e53=_0xc830bc;this[_0x3a3e53(0x194)](_0x1d1b4f);});}),this['on'](_0x231033(0x1b6),()=>{const _0x4fe79a=_0x231033;this[_0x4fe79a(0x191)]();}),this[_0x231033(0x190)]();}[_0x37f12c(0x19c)](){const _0x269357=_0x37f12c;this[_0x269357(0x1ba)][_0x269357(0x19c)]();}[_0x37f12c(0x191)](){const _0x3348b6=_0x37f12c;switch(this[_0x3348b6(0x1bb)][_0x3348b6(0x1c0)](),this[_0x3348b6(0x1bd)]){case _0x3348b6(0x1be):this[_0x3348b6(0x1bb)][_0x3348b6(0x19d)](this[_0x3348b6(0x18f)]);break;case _0x3348b6(0x1a4):this[_0x3348b6(0x1bb)][_0x3348b6(0x19d)](this[_0x3348b6(0x19a)]);break;case _0x3348b6(0x195):this[_0x3348b6(0x1bb)][_0x3348b6(0x192)]([this[_0x3348b6(0x1af)],this[_0x3348b6(0x1a5)]]);}}[_0x37f12c(0x193)](_0x401b94,_0xbf5b3){const _0x5a035e=_0x37f12c,_0x30b90a=_0x5a035e(0x1b7),_0x15338e=_0x401b94[_0x5a035e(0x1a9)](_0x30b90a);if(_0x15338e)return _0xbf5b3(_0x15338e);const _0x3e1b30=new MutationObserver(_0x326ad6=>{const _0xf419da=_0x5a035e,_0xb044c3=_0x326ad6[_0xf419da(0x1b4)](_0x418e9e=>_0x418e9e[_0xf419da(0x1b3)]===_0x401b94&&_0x418e9e[_0xf419da(0x1ae)][_0xf419da(0x1a2)]>0x0&&_0x418e9e[_0xf419da(0x1ae)][0x0][_0xf419da(0x1ab)][_0xf419da(0x1b5)]()===_0x30b90a);_0xb044c3[_0xf419da(0x1a2)]&&(_0x3e1b30[_0xf419da(0x199)](),_0xbf5b3(_0xb044c3[0x0][_0xf419da(0x1ae)][0x0]));});_0x3e1b30[_0x5a035e(0x1c1)](_0x401b94,{'childList':!0x0,'subtree':!0x0});}[_0x37f12c(0x194)](_0x3d51f4){const _0x1b50ac=_0x37f12c;_0x3d51f4[_0x1b50ac(0x19b)](_0x1b50ac(0x198),_0x11f942=>{const _0x1afc3e=_0x1b50ac;this[_0x1afc3e(0x1c2)](_0x1afc3e(0x198),{'imageSrc':_0x11f942[_0x1afc3e(0x1a0)][_0x1afc3e(0x1a7)]});}),_0x3d51f4[_0x1b50ac(0x19b)](_0x1b50ac(0x196),()=>{const _0x4e1ace=_0x1b50ac;this[_0x4e1ace(0x1c2)](_0x4e1ace(0x196));});}[_0x37f12c(0x190)](){const _0x240656=_0x37f12c;this[_0x240656(0x19a)]['on'](_0x240656(0x1b0),()=>{const _0x34c3c8=_0x240656;this[_0x34c3c8(0x1c2)](_0x34c3c8(0x1b0));});}}
23
+ const _0x35dbf6=_0x40db;(function(_0x29564e,_0x1eae10){const _0x8fb0eb=_0x40db,_0x15245b=_0x29564e();while(!![]){try{const _0x374d66=-parseInt(_0x8fb0eb(0x1da))/0x1+parseInt(_0x8fb0eb(0x1e7))/0x2+parseInt(_0x8fb0eb(0x1db))/0x3*(-parseInt(_0x8fb0eb(0x1e1))/0x4)+-parseInt(_0x8fb0eb(0x206))/0x5*(parseInt(_0x8fb0eb(0x1ec))/0x6)+-parseInt(_0x8fb0eb(0x1f6))/0x7*(-parseInt(_0x8fb0eb(0x1df))/0x8)+-parseInt(_0x8fb0eb(0x1fd))/0x9+parseInt(_0x8fb0eb(0x1fe))/0xa;if(_0x374d66===_0x1eae10)break;else _0x15245b['push'](_0x15245b['shift']());}catch(_0x146044){_0x15245b['push'](_0x15245b['shift']());}}}(_0x2f6d,0x1cfa3));import{View as _0x124e5a}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x514f1e}from'./uploadcareimageeditformloadingview.js';function _0x2f6d(){const _0x324a2b=['_waitForImageEditorComponent','toLowerCase','disconnect','target','change:status','status','element','_errorView','_addUploadcareImageEditorListeners','clear','221703nCoRwi','15SADKUE','_editingView','render','_focusableView','1437032xCzKiy','addMany','38884xUgitS','add','div','_loadingView','filter','_addErrorViewListeners','343642MeqeBM','ck-uploadcare-form','observe','addEventListener','ck-reset_all-excluded','18gRMlvE','cancel','ready','apply','querySelector','getFocusableElement','length','nodeName','uc-cloud-image-editor','detail','7XiGlci','createCollection','once','error','focus','retry','fire','995571zyhlur','2254810IiNBiv','setTemplate','set','_setView','uploading','addedNodes','_items','cdnUrl','128855VsHGyT'];_0x2f6d=function(){return _0x324a2b;};return _0x2f6d();}import{UploadcareImageEditFormErrorView as _0x4acdb5}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x20e9ff}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x1422c2}from'../../utils/dialogfocusmanagerview.js';function _0x40db(_0x230873,_0x510c0d){const _0x2f6d0d=_0x2f6d();return _0x40db=function(_0x40db8a,_0x1b8730){_0x40db8a=_0x40db8a-0x1d5;let _0x25f3cb=_0x2f6d0d[_0x40db8a];return _0x25f3cb;},_0x40db(_0x230873,_0x510c0d);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1422c2{[_0x35dbf6(0x204)];[_0x35dbf6(0x1e4)];[_0x35dbf6(0x1d7)];[_0x35dbf6(0x1dc)];[_0x35dbf6(0x1de)];constructor(_0x127d64,_0x5888f7,_0x492cbe){const _0x5f03e0=_0x35dbf6;super(_0x127d64),this[_0x5f03e0(0x204)]=this[_0x5f03e0(0x1f7)](),this[_0x5f03e0(0x1e4)]=new _0x514f1e(_0x127d64),this[_0x5f03e0(0x1d7)]=new _0x4acdb5(_0x127d64),this[_0x5f03e0(0x1dc)]=new _0x20e9ff(_0x127d64,_0x492cbe),this[_0x5f03e0(0x1de)]=new _0x124e5a(_0x127d64),this[_0x5f03e0(0x1de)][_0x5f03e0(0x1ff)](this[_0x5f03e0(0x1f1)]()),this[_0x5f03e0(0x200)](_0x5f03e0(0x1d5),_0x5888f7),this[_0x5f03e0(0x1ff)]({'tag':_0x5f03e0(0x1e3),'attributes':{'class':['ck',_0x5f03e0(0x1eb),_0x5f03e0(0x1e8)],'tabindex':'-1'},'children':this[_0x5f03e0(0x204)]}),this[_0x5f03e0(0x201)](),this[_0x5f03e0(0x1f8)](_0x5f03e0(0x1dd),()=>{const _0x41baa4=_0x5f03e0;this[_0x41baa4(0x207)](this[_0x41baa4(0x1d6)],_0x44f7c8=>{const _0x5d8315=_0x41baa4;this[_0x5d8315(0x1d8)](_0x44f7c8);});}),this['on'](_0x5f03e0(0x20b),()=>{const _0x2c492c=_0x5f03e0;this[_0x2c492c(0x201)]();}),this[_0x5f03e0(0x1e6)]();}[_0x35dbf6(0x1fa)](){const _0x191ea4=_0x35dbf6;this[_0x191ea4(0x1d6)][_0x191ea4(0x1fa)]();}[_0x35dbf6(0x201)](){const _0x4a704a=_0x35dbf6;switch(this[_0x4a704a(0x204)][_0x4a704a(0x1d9)](),this[_0x4a704a(0x1d5)]){case _0x4a704a(0x202):this[_0x4a704a(0x204)][_0x4a704a(0x1e2)](this[_0x4a704a(0x1e4)]);break;case _0x4a704a(0x1f9):this[_0x4a704a(0x204)][_0x4a704a(0x1e2)](this[_0x4a704a(0x1d7)]);break;case _0x4a704a(0x1ee):this[_0x4a704a(0x204)][_0x4a704a(0x1e0)]([this[_0x4a704a(0x1dc)],this[_0x4a704a(0x1de)]]);}}[_0x35dbf6(0x207)](_0x17bab6,_0x1f2eb6){const _0x2ff739=_0x35dbf6,_0x2adc3f=_0x2ff739(0x1f4),_0x200b98=_0x17bab6[_0x2ff739(0x1f0)](_0x2adc3f);if(_0x200b98)return _0x1f2eb6(_0x200b98);const _0x2e1c28=new MutationObserver(_0x5e24a6=>{const _0x3a8207=_0x2ff739,_0x583363=_0x5e24a6[_0x3a8207(0x1e5)](_0xfb263e=>_0xfb263e[_0x3a8207(0x20a)]===_0x17bab6&&_0xfb263e[_0x3a8207(0x203)][_0x3a8207(0x1f2)]>0x0&&_0xfb263e[_0x3a8207(0x203)][0x0][_0x3a8207(0x1f3)][_0x3a8207(0x208)]()===_0x2adc3f);_0x583363[_0x3a8207(0x1f2)]&&(_0x2e1c28[_0x3a8207(0x209)](),_0x1f2eb6(_0x583363[0x0][_0x3a8207(0x203)][0x0]));});_0x2e1c28[_0x2ff739(0x1e9)](_0x17bab6,{'childList':!0x0,'subtree':!0x0});}[_0x35dbf6(0x1d8)](_0x44859e){const _0x1fc77e=_0x35dbf6;_0x44859e[_0x1fc77e(0x1ea)](_0x1fc77e(0x1ef),_0x312e2a=>{const _0x1fcd83=_0x1fc77e;this[_0x1fcd83(0x1fc)](_0x1fcd83(0x1ef),{'imageSrc':_0x312e2a[_0x1fcd83(0x1f5)][_0x1fcd83(0x205)]});}),_0x44859e[_0x1fc77e(0x1ea)](_0x1fc77e(0x1ed),()=>{const _0x39b672=_0x1fc77e;this[_0x39b672(0x1fc)](_0x39b672(0x1ed));});}[_0x35dbf6(0x1e6)](){const _0x1d89c2=_0x35dbf6;this[_0x1d89c2(0x1d7)]['on'](_0x1d89c2(0x1fb),()=>{const _0x38ad22=_0x1d89c2;this[_0x38ad22(0x1fc)](_0x38ad22(0x1fb));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x92e36e=_0x5ef0;(function(_0x23e06c,_0xe63e38){const _0x45ca87=_0x5ef0,_0x419cc1=_0x23e06c();while(!![]){try{const _0x4f44b1=-parseInt(_0x45ca87(0x1a0))/0x1*(-parseInt(_0x45ca87(0x18d))/0x2)+-parseInt(_0x45ca87(0x192))/0x3+-parseInt(_0x45ca87(0x18b))/0x4*(-parseInt(_0x45ca87(0x18f))/0x5)+parseInt(_0x45ca87(0x1ab))/0x6*(parseInt(_0x45ca87(0x19c))/0x7)+parseInt(_0x45ca87(0x190))/0x8+-parseInt(_0x45ca87(0x18e))/0x9*(-parseInt(_0x45ca87(0x1a5))/0xa)+-parseInt(_0x45ca87(0x1a7))/0xb*(parseInt(_0x45ca87(0x1a8))/0xc);if(_0x4f44b1===_0xe63e38)break;else _0x419cc1['push'](_0x419cc1['shift']());}catch(_0x46b15b){_0x419cc1['push'](_0x419cc1['shift']());}}}(_0x6153,0x2f89c));function _0x5ef0(_0x402a1e,_0x511a98){const _0x61534a=_0x6153();return _0x5ef0=function(_0x5ef005,_0x314b7d){_0x5ef005=_0x5ef005-0x18a;let _0x51875c=_0x61534a[_0x5ef005];return _0x51875c;},_0x5ef0(_0x402a1e,_0x511a98);}import{Command as _0x38d0a4}from'ckeditor5/src/core.js';import{Dialog as _0x3c220c}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5a5f8a}from'./ui/uploadcareimageeditcontroller.js';function _0x6153(){const _0x2c90ed=['isActive','516RqKVUy','9ERAlSm','225bHdPrJ','782328ElvPDP','document','335721YKeHtJ','refresh','bind','requires','plugins','model','isEnabled','config','uploadcare.allowExternalImagesEditing','get','294NFOfwq','imageInline','set','imageEditController','984aHiuWf','execute','unbind','imageBlock','_isEditable','1282210GznEDD','getSelectedElement','4829nPiSyD','21372vNILnn','editor','selection','55494gcqFGF','element','19568QBHneP'];_0x6153=function(){return _0x2c90ed;};return _0x6153();}import{createEditabilityChecker as _0x3fa063}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x38d0a4{[_0x92e36e(0x19f)];static get[_0x92e36e(0x195)](){return[_0x3c220c];}[_0x92e36e(0x1a4)];constructor(_0x207218){const _0x1a6960=_0x92e36e;super(_0x207218),this[_0x1a6960(0x19f)]=void 0x0,this[_0x1a6960(0x1a4)]=_0x3fa063(_0x207218[_0x1a6960(0x199)][_0x1a6960(0x19b)](_0x1a6960(0x19a))||[]),this[_0x1a6960(0x19e)]({'isActive':!0x1});}[_0x92e36e(0x193)](){const _0x47c1e9=_0x92e36e,_0x1c01f9=this[_0x47c1e9(0x1a9)][_0x47c1e9(0x197)][_0x47c1e9(0x191)][_0x47c1e9(0x1aa)][_0x47c1e9(0x1a6)]();this[_0x47c1e9(0x198)]=this[_0x47c1e9(0x1a4)](_0x1c01f9);}[_0x92e36e(0x1a1)](){const _0x596eb3=_0x92e36e;this[_0x596eb3(0x19f)]&&(this[_0x596eb3(0x1a2)](_0x596eb3(0x18c)),this[_0x596eb3(0x19f)]=void 0x0);const _0x40da6c=this[_0x596eb3(0x1a9)][_0x596eb3(0x197)][_0x596eb3(0x191)][_0x596eb3(0x1aa)][_0x596eb3(0x1a6)]();_0x40da6c&&(_0x40da6c['is'](_0x596eb3(0x18a),_0x596eb3(0x1a3))||_0x40da6c['is'](_0x596eb3(0x18a),_0x596eb3(0x19d)))&&(this[_0x596eb3(0x19f)]=new _0x5a5f8a(this[_0x596eb3(0x1a9)],this[_0x596eb3(0x1a9)][_0x596eb3(0x196)][_0x596eb3(0x19b)](_0x3c220c),_0x40da6c),this[_0x596eb3(0x194)](_0x596eb3(0x18c))['to'](this[_0x596eb3(0x19f)],_0x596eb3(0x18c)));}}
23
+ const _0x882fb1=_0x1e22;(function(_0x117be6,_0x4537e6){const _0x2c6f74=_0x1e22,_0x186b3c=_0x117be6();while(!![]){try{const _0x3aa1ff=-parseInt(_0x2c6f74(0xac))/0x1*(parseInt(_0x2c6f74(0xbc))/0x2)+parseInt(_0x2c6f74(0xb1))/0x3*(parseInt(_0x2c6f74(0xb3))/0x4)+parseInt(_0x2c6f74(0xb5))/0x5*(parseInt(_0x2c6f74(0xc5))/0x6)+parseInt(_0x2c6f74(0xaa))/0x7*(parseInt(_0x2c6f74(0xb0))/0x8)+parseInt(_0x2c6f74(0xba))/0x9*(-parseInt(_0x2c6f74(0xc8))/0xa)+-parseInt(_0x2c6f74(0xbb))/0xb+parseInt(_0x2c6f74(0xc1))/0xc;if(_0x3aa1ff===_0x4537e6)break;else _0x186b3c['push'](_0x186b3c['shift']());}catch(_0x13db63){_0x186b3c['push'](_0x186b3c['shift']());}}}(_0x368a,0x48c38));import{Command as _0x3510b5}from'ckeditor5/src/core.js';function _0x368a(){const _0x1f6e21=['unbind','imageInline','config','6FHqlYS','uploadcare.allowExternalImagesEditing','selection','100eYlPrd','bind','plugins','refresh','2870203TNnFiN','get','267MBXqMA','document','getSelectedElement','editor','8TncXPk','3HindUz','imageEditController','411612kKIupu','execute','1387145UpsxWV','model','requires','element','isEnabled','175590toIOiQ','3794505EAzzLL','1732ttIxUM','set','imageBlock','_isEditable','isActive','3347472oqrJCM'];_0x368a=function(){return _0x1f6e21;};return _0x368a();}import{Dialog as _0x4ffa8a}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3292e8}from'./ui/uploadcareimageeditcontroller.js';function _0x1e22(_0x25fd1c,_0x356907){const _0x368ae8=_0x368a();return _0x1e22=function(_0x1e22e4,_0x285159){_0x1e22e4=_0x1e22e4-0xa8;let _0x25fa00=_0x368ae8[_0x1e22e4];return _0x25fa00;},_0x1e22(_0x25fd1c,_0x356907);}import{createEditabilityChecker as _0x121d78}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3510b5{[_0x882fb1(0xb2)];static get[_0x882fb1(0xb7)](){return[_0x4ffa8a];}[_0x882fb1(0xbf)];constructor(_0x2fc980){const _0x490c07=_0x882fb1;super(_0x2fc980),this[_0x490c07(0xb2)]=void 0x0,this[_0x490c07(0xbf)]=_0x121d78(_0x2fc980[_0x490c07(0xc4)][_0x490c07(0xab)](_0x490c07(0xc6))||[]),this[_0x490c07(0xbd)]({'isActive':!0x1});}[_0x882fb1(0xa9)](){const _0x4bbc88=_0x882fb1,_0x5a015a=this[_0x4bbc88(0xaf)][_0x4bbc88(0xb6)][_0x4bbc88(0xad)][_0x4bbc88(0xc7)][_0x4bbc88(0xae)]();this[_0x4bbc88(0xb9)]=this[_0x4bbc88(0xbf)](_0x5a015a);}[_0x882fb1(0xb4)](){const _0x5ab18e=_0x882fb1;this[_0x5ab18e(0xb2)]&&(this[_0x5ab18e(0xc2)](_0x5ab18e(0xc0)),this[_0x5ab18e(0xb2)]=void 0x0);const _0x1aff18=this[_0x5ab18e(0xaf)][_0x5ab18e(0xb6)][_0x5ab18e(0xad)][_0x5ab18e(0xc7)][_0x5ab18e(0xae)]();_0x1aff18&&(_0x1aff18['is'](_0x5ab18e(0xb8),_0x5ab18e(0xbe))||_0x1aff18['is'](_0x5ab18e(0xb8),_0x5ab18e(0xc3)))&&(this[_0x5ab18e(0xb2)]=new _0x3292e8(this[_0x5ab18e(0xaf)],this[_0x5ab18e(0xaf)][_0x5ab18e(0xa8)][_0x5ab18e(0xab)](_0x4ffa8a),_0x1aff18),this[_0x5ab18e(0xc9)](_0x5ab18e(0xc0))['to'](this[_0x5ab18e(0xb2)],_0x5ab18e(0xc0)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cbc71=_0xb2be;function _0x45b9(){const _0x57257d=['commands','pluginName','268820Kxciym','ImageUtils','16wkIruy','uploadcareImageEdit','UploadcareImageEditEditing','261SMzRmR','ImageEditing','186OZWcyV','add','1718349hScOdQ','isOfficialPlugin','999030HMFwpK','init','7024YCnRNM','isPremiumPlugin','9746478hjaUkJ','uploadcareImageReplace','5884578MHyOoA','requires','1080230xooSmA'];_0x45b9=function(){return _0x57257d;};return _0x45b9();}(function(_0x1ab537,_0x2e1b80){const _0x4df1f2=_0xb2be,_0x343acc=_0x1ab537();while(!![]){try{const _0x3c90ba=parseInt(_0x4df1f2(0x13a))/0x1+-parseInt(_0x4df1f2(0x13c))/0x2+parseInt(_0x4df1f2(0x138))/0x3*(-parseInt(_0x4df1f2(0x128))/0x4)+parseInt(_0x4df1f2(0x131))/0x5+-parseInt(_0x4df1f2(0x12a))/0x6+parseInt(_0x4df1f2(0x12c))/0x7*(-parseInt(_0x4df1f2(0x133))/0x8)+parseInt(_0x4df1f2(0x136))/0x9*(parseInt(_0x4df1f2(0x12e))/0xa);if(_0x3c90ba===_0x2e1b80)break;else _0x343acc['push'](_0x343acc['shift']());}catch(_0x3b9592){_0x343acc['push'](_0x343acc['shift']());}}}(_0x45b9,0xf1dd0));import{Plugin as _0x2df3cf}from'ckeditor5/src/core.js';import{Notification as _0x1a9c10}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2ae0c9}from'./uploadcareimageeditcommand.js';function _0xb2be(_0x52eb26,_0x3d90ff){const _0x45b953=_0x45b9();return _0xb2be=function(_0xb2be1e,_0x142ddf){_0xb2be1e=_0xb2be1e-0x127;let _0x5cf023=_0x45b953[_0xb2be1e];return _0x5cf023;},_0xb2be(_0x52eb26,_0x3d90ff);}import{UploadcareImageReplaceCommand as _0x4d7b11}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x186557}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x2df3cf{static get[_0x2cbc71(0x130)](){const _0x3995f9=_0x2cbc71;return _0x3995f9(0x135);}static get[_0x2cbc71(0x12d)](){const _0x43eaaf=_0x2cbc71;return[_0x186557,_0x1a9c10,_0x43eaaf(0x132),_0x43eaaf(0x137)];}static get[_0x2cbc71(0x13b)](){return!0x0;}static get[_0x2cbc71(0x129)](){return!0x0;}[_0x2cbc71(0x127)](){const _0x7646eb=_0x2cbc71,{editor:_0x5bd9d6}=this;_0x5bd9d6[_0x7646eb(0x12f)][_0x7646eb(0x139)](_0x7646eb(0x134),new _0x2ae0c9(_0x5bd9d6)),_0x5bd9d6[_0x7646eb(0x12f)][_0x7646eb(0x139)](_0x7646eb(0x12b),new _0x4d7b11(_0x5bd9d6));}}
23
+ function _0x262b(_0xb373c3,_0x380cf6){const _0x50f64a=_0x50f6();return _0x262b=function(_0x262b87,_0x31c2b9){_0x262b87=_0x262b87-0xef;let _0x215d21=_0x50f64a[_0x262b87];return _0x215d21;},_0x262b(_0xb373c3,_0x380cf6);}const _0x554a0d=_0x262b;(function(_0x5698ed,_0x49d2c3){const _0x45dc3f=_0x262b,_0x305de8=_0x5698ed();while(!![]){try{const _0x134070=parseInt(_0x45dc3f(0xef))/0x1+parseInt(_0x45dc3f(0x101))/0x2*(-parseInt(_0x45dc3f(0xfa))/0x3)+parseInt(_0x45dc3f(0xf0))/0x4+parseInt(_0x45dc3f(0xfc))/0x5*(parseInt(_0x45dc3f(0xf4))/0x6)+parseInt(_0x45dc3f(0xf6))/0x7*(parseInt(_0x45dc3f(0x100))/0x8)+-parseInt(_0x45dc3f(0x102))/0x9+-parseInt(_0x45dc3f(0xf1))/0xa*(parseInt(_0x45dc3f(0xf2))/0xb);if(_0x134070===_0x49d2c3)break;else _0x305de8['push'](_0x305de8['shift']());}catch(_0x1ff4e5){_0x305de8['push'](_0x305de8['shift']());}}}(_0x50f6,0x4ae5d));import{Plugin as _0x5037ee}from'ckeditor5/src/core.js';function _0x50f6(){const _0x3c6343=['add','ImageUtils','42jlBhrR','uploadcareImageReplace','79510vSKnOe','UploadcareImageEditEditing','pluginName','init','27152mbOuxx','15146jwvRdt','4743405dnyxhs','commands','ImageEditing','uploadcareImageEdit','297140cQWZJp','311880fLdMht','1747300qaQnyt','22fMEBOg','isOfficialPlugin','222bwtOpY','isPremiumPlugin','672YQXvmY','requires'];_0x50f6=function(){return _0x3c6343;};return _0x50f6();}import{Notification as _0x18ca2f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x3db708}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x2b6810}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x4dada}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5037ee{static get[_0x554a0d(0xfe)](){const _0x30faa5=_0x554a0d;return _0x30faa5(0xfd);}static get[_0x554a0d(0xf7)](){const _0x5525a1=_0x554a0d;return[_0x4dada,_0x18ca2f,_0x5525a1(0xf9),_0x5525a1(0x104)];}static get[_0x554a0d(0xf3)](){return!0x0;}static get[_0x554a0d(0xf5)](){return!0x0;}[_0x554a0d(0xff)](){const _0x5b8066=_0x554a0d,{editor:_0x13f523}=this;_0x13f523[_0x5b8066(0x103)][_0x5b8066(0xf8)](_0x5b8066(0x105),new _0x3db708(_0x13f523)),_0x13f523[_0x5b8066(0x103)][_0x5b8066(0xf8)](_0x5b8066(0xfb),new _0x2b6810(_0x13f523));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4a8104}from'ckeditor5/src/core.js';import{ButtonView as _0x3ee28a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x56092c}from'ckeditor5/src/icons.js';import{createElement as _0x47344a}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4a8104{['_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 _0xf8d9ce=this['editor'];_0xf8d9ce['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4140aa=>{const _0x477058=_0xf8d9ce['commands']['get']('uploadcareImageEdit'),_0x536b02=new _0x3ee28a(_0x4140aa),t=_0x4140aa['t'];return _0x536b02['set']({'icon':_0x56092c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x536b02['bind']('isEnabled')['to'](_0x477058),_0x536b02['bind']('isOn')['to'](_0x477058,'isActive'),this['listenTo'](_0x536b02,'execute',()=>{_0xf8d9ce['execute']('uploadcareImageEdit'),_0xf8d9ce['editing']['view']['focus']();}),_0x536b02;}),this['_initConfig']();}['_initConfig'](){const _0x254f91=_0x47344a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x254f91),this['listenTo'](this['editor'],'destroy',()=>{_0x254f91['remove']();});}}
23
+ import{Plugin as _0x342f9b}from'ckeditor5/src/core.js';import{ButtonView as _0x50ff20}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x23c6c7}from'ckeditor5/src/icons.js';import{createElement as _0x4f4424}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x342f9b{['_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 _0xab10c7=this['editor'];_0xab10c7['ui']['componentFactory']['add']('uploadcareImageEdit',_0x581459=>{const _0x32d262=_0xab10c7['commands']['get']('uploadcareImageEdit'),_0xc6bc1=new _0x50ff20(_0x581459),t=_0x581459['t'];return _0xc6bc1['set']({'icon':_0x23c6c7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xc6bc1['bind']('isEnabled')['to'](_0x32d262),_0xc6bc1['bind']('isOn')['to'](_0x32d262,'isActive'),this['listenTo'](_0xc6bc1,'execute',()=>{_0xab10c7['execute']('uploadcareImageEdit'),_0xab10c7['editing']['view']['focus']();}),_0xc6bc1;}),this['_initConfig']();}['_initConfig'](){const _0x5623c9=_0x4f4424(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5623c9),this['listenTo'](this['editor'],'destroy',()=>{_0x5623c9['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x157a8b=_0x2ed8;function _0x5763(){var _0x3d26de=['2780435mROdps','408579PPTPhb','97238ENNjit','bindTemplate','24324jBvhzr','7564086FgNBoR','50000570knMfFp','fire','getFocusableElement','true','1255peFxyz','2346760byTWNh','createCollection','div','forwardCycle','31hOtGtG','focusCycler','focusTracker','4xJOTMm'];_0x5763=function(){return _0x3d26de;};return _0x5763();}(function(_0x3f6e83,_0x559b5f){var _0x466dec=_0x2ed8,_0x417609=_0x3f6e83();while(!![]){try{var _0x2133b0=-parseInt(_0x466dec(0x1a0))/0x1*(parseInt(_0x466dec(0x193))/0x2)+-parseInt(_0x466dec(0x1a5))/0x3*(parseInt(_0x466dec(0x1a3))/0x4)+parseInt(_0x466dec(0x19b))/0x5*(-parseInt(_0x466dec(0x195))/0x6)+-parseInt(_0x466dec(0x1a4))/0x7+-parseInt(_0x466dec(0x19c))/0x8+-parseInt(_0x466dec(0x196))/0x9+parseInt(_0x466dec(0x197))/0xa;if(_0x2133b0===_0x559b5f)break;else _0x417609['push'](_0x417609['shift']());}catch(_0x234308){_0x417609['push'](_0x417609['shift']());}}}(_0x5763,0xc54b5));function _0x2ed8(_0x45681e,_0x4c0b1b){var _0x57639e=_0x5763();return _0x2ed8=function(_0x2ed81a,_0x53df1a){_0x2ed81a=_0x2ed81a-0x193;var _0x312915=_0x57639e[_0x2ed81a];return _0x312915;},_0x2ed8(_0x45681e,_0x4c0b1b);}import{FocusTracker as _0x56a4ac}from'ckeditor5/src/utils.js';import{View as _0x13c529,FocusCycler as _0x584adf}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x13c529{[_0x157a8b(0x1a2)];[_0x157a8b(0x1a1)];constructor(_0x776d43){var _0x55e54c=_0x157a8b;super(_0x776d43),this[_0x55e54c(0x1a2)]=new _0x56a4ac(),this[_0x55e54c(0x1a1)]=new _0x584adf({'focusables':this[_0x55e54c(0x19d)](),'focusTracker':this[_0x55e54c(0x1a2)]});}[_0x157a8b(0x199)](){var _0x14c762=_0x157a8b;return{'tag':_0x14c762(0x19e),'attributes':{'aria-hidden':_0x14c762(0x19a),'tabindex':'0'},'on':{'focus':this[_0x14c762(0x194)]['to'](()=>{var _0x2f9b96=_0x14c762;this[_0x2f9b96(0x1a1)][_0x2f9b96(0x198)](_0x2f9b96(0x19f));})}};}}
23
+ function _0x4a90(){var _0x3cdb14=['1gmMjYi','462344MUINXi','35nYdzdy','focusTracker','true','215162HFvMmZ','8148BoKwux','1322072yrSyAE','focusCycler','9FOYCHi','11272668xdQvlS','bindTemplate','545496NmIwGP','createCollection','forwardCycle','fire','div','370mdqhQW','getFocusableElement','319070TaUsiY'];_0x4a90=function(){return _0x3cdb14;};return _0x4a90();}var _0x18abfa=_0x543a;(function(_0xb5eb01,_0x1a0d75){var _0x1ed4ae=_0x543a,_0xe16b01=_0xb5eb01();while(!![]){try{var _0x10427f=parseInt(_0x1ed4ae(0x1aa))/0x1*(-parseInt(_0x1ed4ae(0x1af))/0x2)+-parseInt(_0x1ed4ae(0x1b6))/0x3+-parseInt(_0x1ed4ae(0x1b1))/0x4+parseInt(_0x1ed4ae(0x1a7))/0x5*(parseInt(_0x1ed4ae(0x1b0))/0x6)+parseInt(_0x1ed4ae(0x1ac))/0x7*(-parseInt(_0x1ed4ae(0x1ab))/0x8)+parseInt(_0x1ed4ae(0x1b3))/0x9*(-parseInt(_0x1ed4ae(0x1a9))/0xa)+parseInt(_0x1ed4ae(0x1b4))/0xb;if(_0x10427f===_0x1a0d75)break;else _0xe16b01['push'](_0xe16b01['shift']());}catch(_0x382468){_0xe16b01['push'](_0xe16b01['shift']());}}}(_0x4a90,0x2d09d));function _0x543a(_0x817026,_0x3c5f40){var _0x4a901a=_0x4a90();return _0x543a=function(_0x543ac1,_0x200965){_0x543ac1=_0x543ac1-0x1a4;var _0x39f324=_0x4a901a[_0x543ac1];return _0x39f324;},_0x543a(_0x817026,_0x3c5f40);}import{FocusTracker as _0x349d6a}from'ckeditor5/src/utils.js';import{View as _0x5b2986,FocusCycler as _0x37b4b0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5b2986{[_0x18abfa(0x1ad)];[_0x18abfa(0x1b2)];constructor(_0x4c9abf){var _0x55a8de=_0x18abfa;super(_0x4c9abf),this[_0x55a8de(0x1ad)]=new _0x349d6a(),this[_0x55a8de(0x1b2)]=new _0x37b4b0({'focusables':this[_0x55a8de(0x1b7)](),'focusTracker':this[_0x55a8de(0x1ad)]});}[_0x18abfa(0x1a8)](){var _0x5af26e=_0x18abfa;return{'tag':_0x5af26e(0x1a6),'attributes':{'aria-hidden':_0x5af26e(0x1ae),'tabindex':'0'},'on':{'focus':this[_0x5af26e(0x1b5)]['to'](()=>{var _0x353045=_0x5af26e;this[_0x353045(0x1b2)][_0x353045(0x1a5)](_0x353045(0x1a4));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x551484,_0x57b743){const _0x455805=_0x3454,_0x55a316=_0x551484();while(!![]){try{const _0x36ad14=-parseInt(_0x455805(0x1d4))/0x1+parseInt(_0x455805(0x1cc))/0x2+-parseInt(_0x455805(0x1d7))/0x3+parseInt(_0x455805(0x1da))/0x4+parseInt(_0x455805(0x1c9))/0x5*(parseInt(_0x455805(0x1e3))/0x6)+parseInt(_0x455805(0x1d9))/0x7*(parseInt(_0x455805(0x1e1))/0x8)+-parseInt(_0x455805(0x1e2))/0x9*(parseInt(_0x455805(0x1f2))/0xa);if(_0x36ad14===_0x57b743)break;else _0x55a316['push'](_0x55a316['shift']());}catch(_0x3be8b8){_0x55a316['push'](_0x55a316['shift']());}}}(_0x9742,0xb7c2b));import{global as _0x5a2574,DomEmitterMixin as _0x586336}from'ckeditor5/src/utils.js';function _0x3454(_0x2fc8ca,_0x34ea85){const _0x97426d=_0x9742();return _0x3454=function(_0x345437,_0x15b14d){_0x345437=_0x345437-0x1c0;let _0x3e9921=_0x97426d[_0x345437];return _0x3e9921;},_0x3454(_0x2fc8ca,_0x34ea85);}function _0x9742(){const _0x200047=['document','domConverter','imageBlock','join','baseURI','px)\x20100vw,\x20','(max-width:\x20','removeStyle','setStyle','x/\x20','get','/-/resize/','findViewImgElement','isArray','5ngsWgG','view','element','1613534DMAvCT','origin','toViewElement','getAttribute','stopListening','plugins','aspect-ratio','function','1037163iiIHNN','image/webp','match','1897800LhdXHP','map','392896MHUFso','5641524yGIgXG','uploadcareImageId','image-processing','ImageUtils','load','editing','hasAttribute','8mZURTd','577161jsqikl','5897082PUXfwM','filter','imageInline','replace','removeClass','width','viewToDom','window','src','addClass','location','height','listenTo','some','mapper','130DBSbDd','change'];_0x9742=function(){return _0x200047;};return _0x9742();}export function createEditabilityChecker(_0x395c2e){const _0x1ae655=_0x3454,_0x37b28d=z(_0x395c2e);return _0x475318=>!(!_0x475318||!_0x475318['is'](_0x1ae655(0x1cb),_0x1ae655(0x1f6))&&!_0x475318['is'](_0x1ae655(0x1cb),_0x1ae655(0x1e5)))&&(!!_0x475318[_0x1ae655(0x1e0)](_0x1ae655(0x1db))||!!_0x475318[_0x1ae655(0x1e0)](_0x1ae655(0x1eb))&&_0x37b28d(_0x475318[_0x1ae655(0x1cf)](_0x1ae655(0x1eb))));}export function getImageUrls(_0x278854,_0x58b555){const _0x3dc7ef=_0x3454,_0x3d296d=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3dc7ef(0x1e4)](_0x334763=>_0x334763<=_0x58b555)[_0x3dc7ef(0x1d8)](_0x1f1c80=>_0x278854[_0x3dc7ef(0x1e6)](/\/$/,'')+_0x3dc7ef(0x1c6)+_0x1f1c80+_0x3dc7ef(0x1c4)+_0x1f1c80+'w');return{'imageFallbackUrl':_0x278854,'imageSources':[{'srcset':_0x3d296d[_0x3dc7ef(0x1f7)](',\x20'),'sizes':_0x3dc7ef(0x1c1)+_0x58b555+_0x3dc7ef(0x1c0)+_0x58b555+'px','type':_0x3dc7ef(0x1d5)}]};}export function getImageDimension(_0x5998a2,_0xc958fa,_0x6f7c0d){const _0x5e2ccc=_0x3454,_0x427745=_0x5998a2[_0x5e2ccc(0x1d6)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x427745?parseInt(_0x427745[0x1],0xa):_0xc958fa,'height':_0x427745?parseInt(_0x427745[0x2],0xa):_0x6f7c0d};}export function showImageProcessingIndicator(_0x46df75,_0x21a6a7){const _0x383f8f=_0x3454,_0x56ba06=new(_0x586336())(),_0x20f245=_0x46df75[_0x383f8f(0x1d1)][_0x383f8f(0x1c5)](_0x383f8f(0x1dd)),_0x538846=_0x46df75[_0x383f8f(0x1df)][_0x383f8f(0x1f1)][_0x383f8f(0x1ce)](_0x21a6a7),_0x4d5a31=_0x20f245[_0x383f8f(0x1c7)](_0x538846),_0x52407f=_0x46df75[_0x383f8f(0x1df)][_0x383f8f(0x1ca)][_0x383f8f(0x1f5)][_0x383f8f(0x1e9)](_0x4d5a31),_0xf41522=_0x21a6a7[_0x383f8f(0x1cf)](_0x383f8f(0x1e8)),_0x429cbd=_0x21a6a7[_0x383f8f(0x1cf)](_0x383f8f(0x1ee)),_0x317425=_0x383f8f(0x1dc);_0x46df75[_0x383f8f(0x1df)][_0x383f8f(0x1ca)][_0x383f8f(0x1f3)](_0x500495=>{const _0x107a2c=_0x383f8f;_0x500495[_0x107a2c(0x1ec)](_0x317425,_0x538846),_0x500495[_0x107a2c(0x1c3)](_0x107a2c(0x1d2),_0xf41522+'/'+_0x429cbd,_0x4d5a31);}),_0x56ba06[_0x383f8f(0x1ef)](_0x52407f,_0x383f8f(0x1de),()=>{const _0x4c6684=_0x383f8f;_0x56ba06[_0x4c6684(0x1d0)](_0x52407f,_0x4c6684(0x1de)),_0x46df75[_0x4c6684(0x1df)][_0x4c6684(0x1ca)][_0x4c6684(0x1f3)](_0x50cd16=>{const _0x4287cf=_0x4c6684;_0x50cd16[_0x4287cf(0x1e7)](_0x317425,_0x538846),_0x50cd16[_0x4287cf(0x1c2)](_0x4287cf(0x1d2),_0x4d5a31);});});}function z(_0x344215){const _0x5f3d17=_0x3454;if(Array[_0x5f3d17(0x1c8)](_0x344215)){const _0x34274b=_0x344215[_0x5f3d17(0x1d8)](z);return _0x27574b=>_0x34274b[_0x5f3d17(0x1f0)](_0x45525f=>_0x45525f(_0x27574b));}if(_0x5f3d17(0x1cd)==_0x344215){const _0x1d7b15=_0x5a2574[_0x5f3d17(0x1ea)][_0x5f3d17(0x1ed)][_0x5f3d17(0x1cd)];return _0x503445=>new URL(_0x503445,_0x5a2574[_0x5f3d17(0x1f4)][_0x5f3d17(0x1f8)])[_0x5f3d17(0x1cd)]==_0x1d7b15;}return _0x5f3d17(0x1d3)==typeof _0x344215?_0x344215:_0x344215 instanceof RegExp?_0x2e8eb6=>!(!_0x2e8eb6[_0x5f3d17(0x1d6)](_0x344215)&&!_0x2e8eb6[_0x5f3d17(0x1e6)](/^https?:\/\//,'')[_0x5f3d17(0x1d6)](_0x344215)):()=>!0x1;}
23
+ (function(_0x111722,_0x1beaa4){const _0x5044fe=_0x386e,_0x2e1c6a=_0x111722();while(!![]){try{const _0x2468ee=-parseInt(_0x5044fe(0x20c))/0x1*(-parseInt(_0x5044fe(0x1f5))/0x2)+-parseInt(_0x5044fe(0x205))/0x3+parseInt(_0x5044fe(0x20a))/0x4*(-parseInt(_0x5044fe(0x209))/0x5)+-parseInt(_0x5044fe(0x201))/0x6+parseInt(_0x5044fe(0x1f6))/0x7+parseInt(_0x5044fe(0x218))/0x8+parseInt(_0x5044fe(0x21b))/0x9;if(_0x2468ee===_0x1beaa4)break;else _0x2e1c6a['push'](_0x2e1c6a['shift']());}catch(_0x24f2b8){_0x2e1c6a['push'](_0x2e1c6a['shift']());}}}(_0x10a3,0x912eb));function _0x386e(_0x8d950c,_0x22cdf3){const _0x10a39a=_0x10a3();return _0x386e=function(_0x386e6c,_0x5e6dbf){_0x386e6c=_0x386e6c-0x1e9;let _0x2b08a3=_0x10a39a[_0x386e6c];return _0x2b08a3;},_0x386e(_0x8d950c,_0x22cdf3);}import{global as _0x36a65b,DomEmitterMixin as _0x5559b7}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x54dc9a){const _0x32f9ae=_0x386e,_0x3ccd58=R(_0x54dc9a);return _0x3ab237=>!(!_0x3ab237||!_0x3ab237['is'](_0x32f9ae(0x217),_0x32f9ae(0x1e9))&&!_0x3ab237['is'](_0x32f9ae(0x217),_0x32f9ae(0x1ed)))&&(!!_0x3ab237[_0x32f9ae(0x210)](_0x32f9ae(0x200))||!!_0x3ab237[_0x32f9ae(0x210)](_0x32f9ae(0x214))&&_0x3ccd58(_0x3ab237[_0x32f9ae(0x1f3)](_0x32f9ae(0x214))));}export function getImageUrls(_0x1849c7,_0x363071){const _0x45cc50=_0x386e,_0x1c989=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x45cc50(0x204)](_0x38f9c8=>_0x38f9c8<=_0x363071)[_0x45cc50(0x212)](_0x4dd610=>_0x1849c7[_0x45cc50(0x207)](/\/$/,'')+_0x45cc50(0x220)+_0x4dd610+_0x45cc50(0x213)+_0x4dd610+'w');return{'imageFallbackUrl':_0x1849c7,'imageSources':[{'srcset':_0x1c989[_0x45cc50(0x1f0)](',\x20'),'sizes':_0x45cc50(0x208)+_0x363071+_0x45cc50(0x21d)+_0x363071+'px','type':_0x45cc50(0x203)}]};}export function getImageDimension(_0x55c40b,_0x3e0e5e,_0x4f9cc6){const _0x32c5a7=_0x386e,_0x13a047=_0x55c40b[_0x32c5a7(0x211)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x13a047?parseInt(_0x13a047[0x1],0xa):_0x3e0e5e,'height':_0x13a047?parseInt(_0x13a047[0x2],0xa):_0x4f9cc6};}export function showImageProcessingIndicator(_0x4f5d6b,_0x31e47f){const _0x15bed3=_0x386e,_0x2897db=new(_0x5559b7())(),_0x34445f=_0x4f5d6b[_0x15bed3(0x1fd)][_0x15bed3(0x206)](_0x15bed3(0x1fe)),_0x2c3515=_0x4f5d6b[_0x15bed3(0x1f1)][_0x15bed3(0x20b)][_0x15bed3(0x1fb)](_0x31e47f),_0x1c7ae9=_0x34445f[_0x15bed3(0x215)](_0x2c3515),_0x82d5a7=_0x4f5d6b[_0x15bed3(0x1f1)][_0x15bed3(0x1ea)][_0x15bed3(0x1ff)][_0x15bed3(0x202)](_0x1c7ae9),_0x342376=_0x31e47f[_0x15bed3(0x1f3)](_0x15bed3(0x1f8)),_0x502a93=_0x31e47f[_0x15bed3(0x1f3)](_0x15bed3(0x1eb)),_0x111632=_0x15bed3(0x1f9);_0x4f5d6b[_0x15bed3(0x1f1)][_0x15bed3(0x1ea)][_0x15bed3(0x21c)](_0x161bae=>{const _0x2eb249=_0x15bed3;_0x161bae[_0x2eb249(0x1fa)](_0x111632,_0x2c3515),_0x161bae[_0x2eb249(0x1f7)](_0x2eb249(0x21e),_0x342376+'/'+_0x502a93,_0x1c7ae9);}),_0x2897db[_0x15bed3(0x1ef)](_0x82d5a7,_0x15bed3(0x1f4),()=>{const _0x4438df=_0x15bed3;_0x2897db[_0x4438df(0x1ee)](_0x82d5a7,_0x4438df(0x1f4)),_0x4f5d6b[_0x4438df(0x1f1)][_0x4438df(0x1ea)][_0x4438df(0x21c)](_0x4e7444=>{const _0x5c1bfb=_0x4438df;_0x4e7444[_0x5c1bfb(0x20f)](_0x111632,_0x2c3515),_0x4e7444[_0x5c1bfb(0x219)](_0x5c1bfb(0x21e),_0x1c7ae9);});});}function R(_0x32b4ea){const _0x3564f7=_0x386e;if(Array[_0x3564f7(0x21f)](_0x32b4ea)){const _0x192477=_0x32b4ea[_0x3564f7(0x212)](R);return _0x2f81cc=>_0x192477[_0x3564f7(0x20e)](_0x336342=>_0x336342(_0x2f81cc));}if(_0x3564f7(0x1ec)==_0x32b4ea){const _0x31f6e8=_0x36a65b[_0x3564f7(0x1f2)][_0x3564f7(0x20d)][_0x3564f7(0x1ec)];return _0x4b221b=>new URL(_0x4b221b,_0x36a65b[_0x3564f7(0x1fc)][_0x3564f7(0x216)])[_0x3564f7(0x1ec)]==_0x31f6e8;}return _0x3564f7(0x21a)==typeof _0x32b4ea?_0x32b4ea:_0x32b4ea instanceof RegExp?_0x5480b7=>!(!_0x5480b7[_0x3564f7(0x211)](_0x32b4ea)&&!_0x5480b7[_0x3564f7(0x207)](/^https?:\/\//,'')[_0x3564f7(0x211)](_0x32b4ea)):()=>!0x1;}function _0x10a3(){const _0x60d32c=['origin','imageInline','stopListening','listenTo','join','editing','window','getAttribute','load','577996TVidqK','2441481iTLLPb','setStyle','width','image-processing','addClass','toViewElement','document','plugins','ImageUtils','domConverter','uploadcareImageId','3535794PAKNRC','viewToDom','image/webp','filter','313221YZKQSy','get','replace','(max-width:\x20','655CoWAdT','13340LGwFPN','mapper','1ObDnoD','location','some','removeClass','hasAttribute','match','map','x/\x20','src','findViewImgElement','baseURI','element','6692408nmPpoz','removeStyle','function','2258334DqzNHs','change','px)\x20100vw,\x20','aspect-ratio','isArray','/-/resize/','imageBlock','view','height'];_0x10a3=function(){return _0x60d32c;};return _0x10a3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2081bd,_0x3ee3d1){var _0x572bb4=_0x3235,_0x58fe37=_0x2081bd();while(!![]){try{var _0xfc51ab=parseInt(_0x572bb4(0x126))/0x1+parseInt(_0x572bb4(0x124))/0x2+parseInt(_0x572bb4(0x12a))/0x3*(parseInt(_0x572bb4(0x122))/0x4)+-parseInt(_0x572bb4(0x125))/0x5*(-parseInt(_0x572bb4(0x11f))/0x6)+-parseInt(_0x572bb4(0x11e))/0x7*(parseInt(_0x572bb4(0x128))/0x8)+-parseInt(_0x572bb4(0x120))/0x9+-parseInt(_0x572bb4(0x129))/0xa*(parseInt(_0x572bb4(0x127))/0xb);if(_0xfc51ab===_0x3ee3d1)break;else _0x58fe37['push'](_0x58fe37['shift']());}catch(_0xd5fb26){_0x58fe37['push'](_0x58fe37['shift']());}}}(_0x4e09,0x1a56e));function _0x3235(_0x26ca4a,_0x5a22af){var _0x4e0977=_0x4e09();return _0x3235=function(_0x323520,_0x23b568){_0x323520=_0x323520-0x11e;var _0x58ced1=_0x4e0977[_0x323520];return _0x58ced1;},_0x3235(_0x26ca4a,_0x5a22af);}import{getAncestors as _0x9f282c}from'ckeditor5/src/utils.js';export function isAncestor(_0x36f16b,_0x374460){var _0x438674=_0x3235;return _0x9f282c(_0x36f16b[_0x438674(0x121)])[_0x438674(0x123)](_0x374460);}function _0x4e09(){var _0x215e3d=['350884lfxmla','5ogeObC','154376SAhSdl','341GadyhK','167080QvSaJm','139970LEQJIT','3jNCbJT','21EfKbBU','954462SjylVI','702054QNQQrn','target','774236HQUrCf','includes'];_0x4e09=function(){return _0x215e3d;};return _0x4e09();}
23
+ function _0xc8ec(){var _0x88318=['3350053fPpwJz','2228208QLGaIr','2WxxIzN','2836364vaFnhR','target','8daNYFx','7051023zWGdwH','includes','2524180cacdaP','1766649VKzWaD','898884KWYSjd'];_0xc8ec=function(){return _0x88318;};return _0xc8ec();}(function(_0x5056d1,_0x24f707){var _0x5a9fcf=_0x36ae,_0x41fe45=_0x5056d1();while(!![]){try{var _0x1fb291=-parseInt(_0x5a9fcf(0x75))/0x1+parseInt(_0x5a9fcf(0x78))/0x2*(parseInt(_0x5a9fcf(0x74))/0x3)+parseInt(_0x5a9fcf(0x79))/0x4+-parseInt(_0x5a9fcf(0x73))/0x5+parseInt(_0x5a9fcf(0x77))/0x6+parseInt(_0x5a9fcf(0x76))/0x7*(-parseInt(_0x5a9fcf(0x7b))/0x8)+parseInt(_0x5a9fcf(0x71))/0x9;if(_0x1fb291===_0x24f707)break;else _0x41fe45['push'](_0x41fe45['shift']());}catch(_0xcd16fb){_0x41fe45['push'](_0x41fe45['shift']());}}}(_0xc8ec,0x8b47a));import{getAncestors as _0x2ccd70}from'ckeditor5/src/utils.js';function _0x36ae(_0x263761,_0x1bc3a6){var _0xc8ec91=_0xc8ec();return _0x36ae=function(_0x36aeee,_0x584e7b){_0x36aeee=_0x36aeee-0x71;var _0x27457e=_0xc8ec91[_0x36aeee];return _0x27457e;},_0x36ae(_0x263761,_0x1bc3a6);}export function isAncestor(_0x157451,_0x7dfbbf){var _0x56385a=_0x36ae;return _0x2ccd70(_0x157451[_0x56385a(0x7a)])[_0x56385a(0x72)](_0x7dfbbf);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x554495=_0xe10b;(function(_0x203567,_0x509834){var _0x20fdd7=_0xe10b,_0x55fbb9=_0x203567();while(!![]){try{var _0x42a04f=parseInt(_0x20fdd7(0x18e))/0x1*(-parseInt(_0x20fdd7(0x191))/0x2)+parseInt(_0x20fdd7(0x187))/0x3*(parseInt(_0x20fdd7(0x18c))/0x4)+-parseInt(_0x20fdd7(0x192))/0x5*(-parseInt(_0x20fdd7(0x18f))/0x6)+-parseInt(_0x20fdd7(0x189))/0x7+-parseInt(_0x20fdd7(0x190))/0x8+parseInt(_0x20fdd7(0x18a))/0x9+parseInt(_0x20fdd7(0x18b))/0xa;if(_0x42a04f===_0x509834)break;else _0x55fbb9['push'](_0x55fbb9['shift']());}catch(_0xdf3ee5){_0x55fbb9['push'](_0x55fbb9['shift']());}}}(_0x4b27,0x86ba4));function _0xe10b(_0x27cceb,_0x352e8a){var _0x4b2760=_0x4b27();return _0xe10b=function(_0xe10b91,_0x1c072e){_0xe10b91=_0xe10b91-0x187;var _0x1d5144=_0x4b2760[_0xe10b91];return _0x1d5144;},_0xe10b(_0x27cceb,_0x352e8a);}function _0x4b27(){var _0x58c03b=['20mOzLSD','getInfo','42083vjQZbc','1119036tVeYbI','3359080qYpXAj','38nmqZcK','25mDqBJu','560691GrFhGV','upload','3160535FsCRCw','2926305mYCfaj','306510dKjXVq'];_0x4b27=function(){return _0x58c03b;};return _0x4b27();}import{uploadFile as _0x4572d2,info as _0xb16532}from'@uploadcare/upload-client';export class UploadUtils{static[_0x554495(0x188)]({file:_0x2076a1,..._0x21113d}){return _0x4572d2(_0x2076a1,_0x21113d);}static[_0x554495(0x18d)](_0x10bdb6,_0x5c2b4f){return _0xb16532(_0x10bdb6,_0x5c2b4f);}}
23
+ function _0x141d(_0x15e23a,_0x4da092){var _0x296eb5=_0x296e();return _0x141d=function(_0x141dfd,_0x59f973){_0x141dfd=_0x141dfd-0x199;var _0x22fd0c=_0x296eb5[_0x141dfd];return _0x22fd0c;},_0x141d(_0x15e23a,_0x4da092);}function _0x296e(){var _0x583fd9=['upload','18361UOrdWt','109116GVXgXj','824wdJsur','796763YkbJBA','30mcTeCM','649772GWNVpp','464PSuVsp','getInfo','132HepLMM','1114675qdpTqC','9567WATupo','1101537Balahm','1ANlWbG'];_0x296e=function(){return _0x583fd9;};return _0x296e();}var _0x38de65=_0x141d;(function(_0x30c42f,_0x346a8a){var _0x248f2c=_0x141d,_0x1035e8=_0x30c42f();while(!![]){try{var _0x1fdd6=-parseInt(_0x248f2c(0x1a1))/0x1*(-parseInt(_0x248f2c(0x19a))/0x2)+-parseInt(_0x248f2c(0x19f))/0x3*(parseInt(_0x248f2c(0x19b))/0x4)+parseInt(_0x248f2c(0x19e))/0x5+-parseInt(_0x248f2c(0x1a4))/0x6+-parseInt(_0x248f2c(0x1a3))/0x7*(parseInt(_0x248f2c(0x1a5))/0x8)+-parseInt(_0x248f2c(0x1a0))/0x9*(parseInt(_0x248f2c(0x199))/0xa)+-parseInt(_0x248f2c(0x1a6))/0xb*(-parseInt(_0x248f2c(0x19d))/0xc);if(_0x1fdd6===_0x346a8a)break;else _0x1035e8['push'](_0x1035e8['shift']());}catch(_0x8fa7cf){_0x1035e8['push'](_0x1035e8['shift']());}}}(_0x296e,0x4de96));import{uploadFile as _0x3a3af5,info as _0x581413}from'@uploadcare/upload-client';export class UploadUtils{static[_0x38de65(0x1a2)]({file:_0x5193e6,..._0x3a1ade}){return _0x3a3af5(_0x5193e6,_0x3a1ade);}static[_0x38de65(0x19c)](_0x59e856,_0x3d4115){return _0x581413(_0x59e856,_0x3d4115);}}