@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251214.0 → 0.0.0-nightly-20251215.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 _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}));}}
23
+ import{global as _0x119491,ObservableMixin as _0xa82deb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x532854}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x176a5f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x348928}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x40bf05}from'../../utils/uploadutils.js';import{getImageUrls as _0x33bcd0,getImageDimension as _0xfba066}from'../../utils/editingutils.js';import{isAncestor as _0x157972}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0xa82deb(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x38a809,_0x1e926f,_0x24390e){super(),this['_editor']=_0x38a809,this['_dialog']=_0x1e926f,this['_imageElement']=_0x24390e,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 _0x251d32=this['_imageElement'],_0x535d49=_0x251d32['getAttribute']('uploadcareImageId'),_0x3e263d=_0x251d32['getAttribute']('src');if(_0x535d49)await this['_loadImageInfo'](_0x535d49,_0x3e263d);else{if(this['_imageCache']['has'](_0x3e263d)){const _0x4a3f54=this['_imageCache']['get'](_0x3e263d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a3f54['url'],this['imageDimension']=_0x4a3f54['dimension'],this['imageId']=_0x4a3f54['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1b619f}=this['_editor'],t=_0x1b619f['t'],_0x437b1d=new _0x348928(_0x1b619f,this['imageStatus'],this['_attributes']);_0x437b1d['bind']('status')['to'](this,'imageStatus'),_0x437b1d['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x437b1d['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x437b1d['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x437b1d,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x176a5f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x437b1d,'position':_0x532854['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x437b1d['focus']();},'onHide':()=>{_0x437b1d['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2d9e6b=>!_0x157972(_0x2d9e6b,_0x437b1d['element'])}});}['_loadImageInfo'](_0x35bdff,_0x185cf3){return _0x40bf05['getInfo'](_0x35bdff,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x42cfa4=>{const {width:_0x1898b9,height:_0x2e19c0}=_0x42cfa4['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x185cf3,this['imageDimension']={'width':_0x1898b9,'height':_0x2e19c0},this['imageId']=_0x35bdff;})['catch'](_0x4c4299=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c4299['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5d418a,_0x51e85e){return this['_getImageAsFile'](_0x5d418a)['then'](_0x473151=>_0x40bf05['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':_0x51e85e['signal'],'file':_0x473151,'onProgress':_0x5be70b=>{_0x5be70b&&_0x5be70b['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5be70b['value']));}}))['then'](_0x25e64f=>{const {width:_0x3a3790,height:_0x24938b}=_0x25e64f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x25e64f['cdnUrl'],this['imageDimension']={'width':_0x3a3790,'height':_0x24938b},this['imageId']=_0x25e64f['uuid'],this['imageUploadProgress']=null;const _0x830d1e=_0x5d418a['getAttribute']('src');this['_imageCache']['set'](_0x830d1e,{'id':_0x25e64f['uuid'],'url':_0x25e64f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3a6193=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a6193['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1f7d71,_0x1b3593){_0x1f7d71['on']('apply',(_0x525be5,_0x25ab46)=>{this['_replaceImage'](_0x1b3593,_0x25ab46['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1f7d71['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1f7d71['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2545e9,_0x358050,_0x4d5af2){const _0x1bd5de=this['_editor'],{width:_0x208a2c,height:_0x233a8b}=_0xfba066(_0x358050,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38b22e,imageSources:_0x411d2d}=_0x33bcd0(_0x358050,_0x208a2c);_0x1bd5de['model']['change'](_0x35fd96=>{if('$graveyard'===_0x2545e9['root']['rootName']){_0x1bd5de['execute']('insertImage',{'imageType':_0x2545e9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2545e9['getAttributes']()),'uploadcareImageId':_0x4d5af2,'src':_0x38b22e,'sources':_0x411d2d,'width':_0x208a2c,'height':_0x233a8b}});const _0x180a76=_0x2545e9['getChildren']();_0x2545e9=_0x1bd5de['model']['document']['selection']['getSelectedElement']();for(const _0x54c572 of _0x180a76)_0x35fd96['append'](_0x35fd96['cloneElement'](_0x54c572),_0x2545e9);}else _0x35fd96['setSelection'](_0x2545e9,'on'),_0x1bd5de['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2545e9['getAttributes']()),'uploadcareImageId':_0x4d5af2,'src':_0x38b22e,'sources':_0x411d2d,'width':_0x208a2c,'height':_0x233a8b},_0x2545e9);_0x35fd96['setSelection'](_0x2545e9,'on');});}async['_getImageAsFile'](_0x369389){const _0x4388a7=_0x119491['window'],_0x46a0b9=_0x119491['document']['location']['href'],_0x4b0e4a=new _0x4388a7['URL'](_0x369389['getAttribute']('src'),_0x46a0b9);if('data:'===_0x4b0e4a['protocol']){const _0x3dfb8c=_0x4b0e4a['href']['split'](','),_0x4fb8a1=_0x3dfb8c[0x0]['match'](/:(.*?);/)[0x1],_0x5be28d=_0x4fb8a1['split']('/')[0x1],_0x1c02a3=_0x4388a7['atob'](_0x3dfb8c[_0x3dfb8c['length']-0x1]);let _0x4805d8=_0x1c02a3['length'];const _0xfaed94=new _0x4388a7['Uint8Array'](_0x4805d8);for(;_0x4805d8--;)_0xfaed94[_0x4805d8]=_0x1c02a3['charCodeAt'](_0x4805d8);return new _0x4388a7['File']([_0xfaed94],'image.'+_0x5be28d,{'type':_0x4fb8a1});}const _0x4e8eb2=_0x4b0e4a['href']['split']('/'),_0x1c63ee=_0x4e8eb2[_0x4e8eb2['length']-0x1],_0x425cb1=_0x1c63ee['split']('.')[0x1];return _0x4388a7['fetch'](_0x4b0e4a['href'])['then'](_0x56e9bb=>_0x56e9bb['clone']()['blob']())['then'](_0x1aa885=>new _0x4388a7['File']([_0x1aa885],_0x1c63ee,{'type':'image/'+_0x425cb1}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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))}});}}
23
+ (function(_0x1c2f59,_0x2c24c6){const _0x123cf9=_0x1c1d,_0x3815e1=_0x1c2f59();while(!![]){try{const _0x23ec17=-parseInt(_0x123cf9(0x1ca))/0x1*(-parseInt(_0x123cf9(0x1d0))/0x2)+-parseInt(_0x123cf9(0x1c2))/0x3*(parseInt(_0x123cf9(0x1c0))/0x4)+parseInt(_0x123cf9(0x1c8))/0x5*(-parseInt(_0x123cf9(0x1be))/0x6)+-parseInt(_0x123cf9(0x1c1))/0x7*(-parseInt(_0x123cf9(0x1cf))/0x8)+-parseInt(_0x123cf9(0x1bf))/0x9*(-parseInt(_0x123cf9(0x1d1))/0xa)+-parseInt(_0x123cf9(0x1bd))/0xb*(parseInt(_0x123cf9(0x1c5))/0xc)+-parseInt(_0x123cf9(0x1c6))/0xd*(-parseInt(_0x123cf9(0x1d2))/0xe);if(_0x23ec17===_0x2c24c6)break;else _0x3815e1['push'](_0x3815e1['shift']());}catch(_0x436ab7){_0x3815e1['push'](_0x3815e1['shift']());}}}(_0xe638,0x36a9d));function _0xe638(){const _0x32d89b=['13otbwWO','bindTemplate','1025630XiNuuV','uc-light','1YzuPwp','imageSrc','ck-uploadcare-theme','image-edit','uc-cloud-image-editor','8Qnlbsl','465254NfREUK','354070qFBtNw','6373178VWgxbG','150359eTMrnW','6VsoFhf','27tOEoGg','20hRzgHh','1188026DHAOaX','83019jcQZlq','setTemplate','set','348tXkgKG'];_0xe638=function(){return _0x32d89b;};return _0xe638();}function _0x1c1d(_0x421f36,_0x476a54){const _0xe6383a=_0xe638();return _0x1c1d=function(_0x1c1dfd,_0x1c3209){_0x1c1dfd=_0x1c1dfd-0x1bd;let _0x5e3fc7=_0xe6383a[_0x1c1dfd];return _0x5e3fc7;},_0x1c1d(_0x421f36,_0x476a54);}import{View as _0xed5f17}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xed5f17{constructor(_0x533e6e,_0xf67dd7){const _0x347472=_0x1c1d;super(_0x533e6e);const _0x44635d=this[_0x347472(0x1c7)];this[_0x347472(0x1c4)](_0x347472(0x1cb),''),this[_0x347472(0x1c3)]({'tag':_0x347472(0x1ce),'attributes':{..._0xf67dd7,'class':[_0x347472(0x1c9),_0x347472(0x1cc)],'ctx-name':_0x347472(0x1cd),'cdn-url':_0x44635d['to'](_0x347472(0x1cb))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'}]}]}]});}}
23
+ import{IconError as _0x403f67}from'ckeditor5/src/icons.js';import{ButtonView as _0x423a6e,IconView as _0x32f353,View as _0x1c928c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1c928c{constructor(_0xfac3ec){super(_0xfac3ec);const t=_0xfac3ec['t'];this['set']('errorType',null);const _0x307d82=new _0x423a6e(_0xfac3ec);_0x307d82['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x307d82['withText']=!0x0,_0x307d82['class']='ck-button-action',_0x307d82['on']('execute',()=>{this['fire']('retry');}),_0x307d82['bind']('isVisible')['to'](this,'errorType',_0xd60f86=>'NotFound'!==_0xd60f86);const _0x15cbb9=new _0x32f353();_0x15cbb9['content']=_0x403f67,_0x15cbb9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3c9662=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':[_0x15cbb9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3c9662['to']('errorType',_0x120418=>t('NotFound'!==_0x120418?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x307d82]},{'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 _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'}]}]}]});}}
23
+ import{SpinnerView as _0x484d94,View as _0x324afb}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x324afb{constructor(_0x6df893){super(_0x6df893);const t=_0x6df893['t'],_0xf4438f=this['bindTemplate'],_0x31d7bf=new _0x484d94();_0x31d7bf['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':[_0x31d7bf,{'text':_0xf4438f['to']('imageUploadProgress',_0x3fe051=>t('Loading\x20image...')+'\x20('+(_0x3fe051||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 _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));});}}
23
+ const _0x2a264f=_0x5b9f;(function(_0x5e8809,_0x2c84df){const _0x49556e=_0x5b9f,_0x1b7b5a=_0x5e8809();while(!![]){try{const _0x14e056=-parseInt(_0x49556e(0x115))/0x1*(parseInt(_0x49556e(0xf3))/0x2)+-parseInt(_0x49556e(0xfc))/0x3*(-parseInt(_0x49556e(0x109))/0x4)+-parseInt(_0x49556e(0xf8))/0x5*(-parseInt(_0x49556e(0x102))/0x6)+parseInt(_0x49556e(0xf1))/0x7+parseInt(_0x49556e(0xf6))/0x8*(parseInt(_0x49556e(0x11e))/0x9)+-parseInt(_0x49556e(0x10a))/0xa*(-parseInt(_0x49556e(0xef))/0xb)+parseInt(_0x49556e(0x108))/0xc*(-parseInt(_0x49556e(0x104))/0xd);if(_0x14e056===_0x2c84df)break;else _0x1b7b5a['push'](_0x1b7b5a['shift']());}catch(_0x225c23){_0x1b7b5a['push'](_0x1b7b5a['shift']());}}}(_0x32f7,0xe8992));import{View as _0x2edc8f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4e4c34}from'./uploadcareimageeditformloadingview.js';function _0x32f7(){const _0x5f2fa5=['190qTQCJq','cdnUrl','_addErrorViewListeners','div','3wQYJrw','ready','_waitForImageEditorComponent','ck-reset_all-excluded','filter','apply','47904dGWslZ','uc-cloud-image-editor','5733ZWIRqo','element','addedNodes','clear','38124ThhQxy','1801128TnCdpI','14738340VgdvkY','nodeName','setTemplate','length','querySelector','fire','_focusableView','_editingView','render','status','once','49ewoBlg','focus','_errorView','error','_items','toLowerCase','retry','add','ck-uploadcare-form','387scbsEX','change:status','createCollection','uploading','getFocusableElement','addEventListener','detail','_setView','addMany','observe','set','11jUxRaX','_loadingView','408450SvObOl','_addUploadcareImageEditorListeners','4980phbgCX','cancel','disconnect','35336cTAhmX','target'];_0x32f7=function(){return _0x5f2fa5;};return _0x32f7();}import{UploadcareImageEditFormErrorView as _0x27afab}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xd29913}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x2b7e26}from'../../utils/dialogfocusmanagerview.js';function _0x5b9f(_0x36f971,_0x17b8ab){const _0x32f787=_0x32f7();return _0x5b9f=function(_0x5b9f45,_0x1b4b8b){_0x5b9f45=_0x5b9f45-0xef;let _0x46ea84=_0x32f787[_0x5b9f45];return _0x46ea84;},_0x5b9f(_0x36f971,_0x17b8ab);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x2b7e26{[_0x2a264f(0x119)];[_0x2a264f(0xf0)];[_0x2a264f(0x117)];[_0x2a264f(0x111)];[_0x2a264f(0x110)];constructor(_0x4bc7cf,_0x443873,_0x27721c){const _0x309071=_0x2a264f;super(_0x4bc7cf),this[_0x309071(0x119)]=this[_0x309071(0x120)](),this[_0x309071(0xf0)]=new _0x4e4c34(_0x4bc7cf),this[_0x309071(0x117)]=new _0x27afab(_0x4bc7cf),this[_0x309071(0x111)]=new _0xd29913(_0x4bc7cf,_0x27721c),this[_0x309071(0x110)]=new _0x2edc8f(_0x4bc7cf),this[_0x309071(0x110)][_0x309071(0x10c)](this[_0x309071(0x122)]()),this[_0x309071(0x128)](_0x309071(0x113),_0x443873),this[_0x309071(0x10c)]({'tag':_0x309071(0xfb),'attributes':{'class':['ck',_0x309071(0xff),_0x309071(0x11d)],'tabindex':'-1'},'children':this[_0x309071(0x119)]}),this[_0x309071(0x125)](),this[_0x309071(0x114)](_0x309071(0x112),()=>{const _0xa76ec=_0x309071;this[_0xa76ec(0xfe)](this[_0xa76ec(0x105)],_0x41a52e=>{const _0x523392=_0xa76ec;this[_0x523392(0xf2)](_0x41a52e);});}),this['on'](_0x309071(0x11f),()=>{const _0x276350=_0x309071;this[_0x276350(0x125)]();}),this[_0x309071(0xfa)]();}[_0x2a264f(0x116)](){const _0x1d9218=_0x2a264f;this[_0x1d9218(0x105)][_0x1d9218(0x116)]();}[_0x2a264f(0x125)](){const _0x2be0e9=_0x2a264f;switch(this[_0x2be0e9(0x119)][_0x2be0e9(0x107)](),this[_0x2be0e9(0x113)]){case _0x2be0e9(0x121):this[_0x2be0e9(0x119)][_0x2be0e9(0x11c)](this[_0x2be0e9(0xf0)]);break;case _0x2be0e9(0x118):this[_0x2be0e9(0x119)][_0x2be0e9(0x11c)](this[_0x2be0e9(0x117)]);break;case _0x2be0e9(0xfd):this[_0x2be0e9(0x119)][_0x2be0e9(0x126)]([this[_0x2be0e9(0x111)],this[_0x2be0e9(0x110)]]);}}[_0x2a264f(0xfe)](_0x5421b9,_0x177fb2){const _0x42dc92=_0x2a264f,_0x16b208=_0x42dc92(0x103),_0x4c9ffc=_0x5421b9[_0x42dc92(0x10e)](_0x16b208);if(_0x4c9ffc)return _0x177fb2(_0x4c9ffc);const _0x542b93=new MutationObserver(_0x23a9da=>{const _0x2d241c=_0x42dc92,_0x153017=_0x23a9da[_0x2d241c(0x100)](_0x414775=>_0x414775[_0x2d241c(0xf7)]===_0x5421b9&&_0x414775[_0x2d241c(0x106)][_0x2d241c(0x10d)]>0x0&&_0x414775[_0x2d241c(0x106)][0x0][_0x2d241c(0x10b)][_0x2d241c(0x11a)]()===_0x16b208);_0x153017[_0x2d241c(0x10d)]&&(_0x542b93[_0x2d241c(0xf5)](),_0x177fb2(_0x153017[0x0][_0x2d241c(0x106)][0x0]));});_0x542b93[_0x42dc92(0x127)](_0x5421b9,{'childList':!0x0,'subtree':!0x0});}[_0x2a264f(0xf2)](_0x14295f){const _0x23004f=_0x2a264f;_0x14295f[_0x23004f(0x123)](_0x23004f(0x101),_0x5f39ae=>{const _0x4feb11=_0x23004f;this[_0x4feb11(0x10f)](_0x4feb11(0x101),{'imageSrc':_0x5f39ae[_0x4feb11(0x124)][_0x4feb11(0xf9)]});}),_0x14295f[_0x23004f(0x123)](_0x23004f(0xf4),()=>{const _0x47cc16=_0x23004f;this[_0x47cc16(0x10f)](_0x47cc16(0xf4));});}[_0x2a264f(0xfa)](){const _0x16de93=_0x2a264f;this[_0x16de93(0x117)]['on'](_0x16de93(0x11b),()=>{const _0x3170ea=_0x16de93;this[_0x3170ea(0x10f)](_0x3170ea(0x11b));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)));}}
23
+ function _0x324d(){const _0x51de82=['250JsVUpR','unbind','300503KQGfzO','get','getSelectedElement','selection','22465WrBpuS','90BbQbMg','refresh','75695CGFEAp','26UNifWx','bind','editor','imageInline','execute','element','imageEditController','_isEditable','8AXBVYM','requires','uploadcare.allowExternalImagesEditing','1517004HZdEYu','isActive','set','config','342122jbeTKW','plugins','imageBlock','2753856gTBVbO','598864YQtUtz','isEnabled','model','document'];_0x324d=function(){return _0x51de82;};return _0x324d();}const _0x5f4ed2=_0xf42b;(function(_0x149175,_0x597d0a){const _0x5e7a85=_0xf42b,_0x1facc9=_0x149175();while(!![]){try{const _0x572bd4=parseInt(_0x5e7a85(0xbc))/0x1*(parseInt(_0x5e7a85(0xc0))/0x2)+parseInt(_0x5e7a85(0xcb))/0x3+-parseInt(_0x5e7a85(0xc8))/0x4*(-parseInt(_0x5e7a85(0xbf))/0x5)+-parseInt(_0x5e7a85(0xbd))/0x6*(-parseInt(_0x5e7a85(0xb8))/0x7)+parseInt(_0x5e7a85(0xd3))/0x8+-parseInt(_0x5e7a85(0xd2))/0x9+-parseInt(_0x5e7a85(0xd7))/0xa*(parseInt(_0x5e7a85(0xcf))/0xb);if(_0x572bd4===_0x597d0a)break;else _0x1facc9['push'](_0x1facc9['shift']());}catch(_0x4c1d2b){_0x1facc9['push'](_0x1facc9['shift']());}}}(_0x324d,0x71192));import{Command as _0x25267c}from'ckeditor5/src/core.js';import{Dialog as _0x5b0fc6}from'ckeditor5/src/ui.js';function _0xf42b(_0x368679,_0x3c9cc7){const _0x324db7=_0x324d();return _0xf42b=function(_0xf42b26,_0x2fd16e){_0xf42b26=_0xf42b26-0xb7;let _0x31a28e=_0x324db7[_0xf42b26];return _0x31a28e;},_0xf42b(_0x368679,_0x3c9cc7);}import{UploadcareImageEditController as _0x55c038}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x731b1}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x25267c{[_0x5f4ed2(0xc6)];static get[_0x5f4ed2(0xc9)](){return[_0x5b0fc6];}[_0x5f4ed2(0xc7)];constructor(_0x178601){const _0x14b35b=_0x5f4ed2;super(_0x178601),this[_0x14b35b(0xc6)]=void 0x0,this[_0x14b35b(0xc7)]=_0x731b1(_0x178601[_0x14b35b(0xce)][_0x14b35b(0xb9)](_0x14b35b(0xca))||[]),this[_0x14b35b(0xcd)]({'isActive':!0x1});}[_0x5f4ed2(0xbe)](){const _0x4649f7=_0x5f4ed2,_0x261f0c=this[_0x4649f7(0xc2)][_0x4649f7(0xd5)][_0x4649f7(0xd6)][_0x4649f7(0xbb)][_0x4649f7(0xba)]();this[_0x4649f7(0xd4)]=this[_0x4649f7(0xc7)](_0x261f0c);}[_0x5f4ed2(0xc4)](){const _0x42f810=_0x5f4ed2;this[_0x42f810(0xc6)]&&(this[_0x42f810(0xb7)](_0x42f810(0xcc)),this[_0x42f810(0xc6)]=void 0x0);const _0x75b2f6=this[_0x42f810(0xc2)][_0x42f810(0xd5)][_0x42f810(0xd6)][_0x42f810(0xbb)][_0x42f810(0xba)]();_0x75b2f6&&(_0x75b2f6['is'](_0x42f810(0xc5),_0x42f810(0xd1))||_0x75b2f6['is'](_0x42f810(0xc5),_0x42f810(0xc3)))&&(this[_0x42f810(0xc6)]=new _0x55c038(this[_0x42f810(0xc2)],this[_0x42f810(0xc2)][_0x42f810(0xd0)][_0x42f810(0xb9)](_0x5b0fc6),_0x75b2f6),this[_0x42f810(0xc1)](_0x42f810(0xcc))['to'](this[_0x42f810(0xc6)],_0x42f810(0xcc)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));}}
23
+ function _0x5d8d(){const _0x4ce531=['isPremiumPlugin','629659mdPqkO','36RmylmK','11gdtbay','356732exbyrh','2614110wJAvvt','ImageEditing','init','requires','UploadcareImageEditEditing','uploadcareImageEdit','add','isOfficialPlugin','8oWsxWC','4945884pZnCrB','ImageUtils','uploadcareImageReplace','2285661erVGYS','101774cfEypd','1371591ZpjUoU','pluginName','commands','25IGneGH'];_0x5d8d=function(){return _0x4ce531;};return _0x5d8d();}const _0x2c2d0e=_0x4eeb;(function(_0x4ba96a,_0x200877){const _0x54b190=_0x4eeb,_0x3ff069=_0x4ba96a();while(!![]){try{const _0xa797ac=-parseInt(_0x54b190(0x74))/0x1+parseInt(_0x54b190(0x6e))/0x2*(parseInt(_0x54b190(0x75))/0x3)+-parseInt(_0x54b190(0x77))/0x4*(parseInt(_0x54b190(0x72))/0x5)+parseInt(_0x54b190(0x81))/0x6+-parseInt(_0x54b190(0x6d))/0x7*(parseInt(_0x54b190(0x80))/0x8)+parseInt(_0x54b190(0x6f))/0x9+parseInt(_0x54b190(0x78))/0xa*(parseInt(_0x54b190(0x76))/0xb);if(_0xa797ac===_0x200877)break;else _0x3ff069['push'](_0x3ff069['shift']());}catch(_0x992e9){_0x3ff069['push'](_0x3ff069['shift']());}}}(_0x5d8d,0x6d0cf));function _0x4eeb(_0x209cac,_0x563441){const _0x5d8dba=_0x5d8d();return _0x4eeb=function(_0x4eeb4b,_0x94d39f){_0x4eeb4b=_0x4eeb4b-0x6b;let _0x18cd36=_0x5d8dba[_0x4eeb4b];return _0x18cd36;},_0x4eeb(_0x209cac,_0x563441);}import{Plugin as _0x1b9802}from'ckeditor5/src/core.js';import{Notification as _0x1452fa}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1f657a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1e2980}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3d9c38}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1b9802{static get[_0x2c2d0e(0x70)](){const _0x96db9=_0x2c2d0e;return _0x96db9(0x7c);}static get[_0x2c2d0e(0x7b)](){const _0x5a5755=_0x2c2d0e;return[_0x3d9c38,_0x1452fa,_0x5a5755(0x6b),_0x5a5755(0x79)];}static get[_0x2c2d0e(0x7f)](){return!0x0;}static get[_0x2c2d0e(0x73)](){return!0x0;}[_0x2c2d0e(0x7a)](){const _0x1d0b74=_0x2c2d0e,{editor:_0x38403f}=this;_0x38403f[_0x1d0b74(0x71)][_0x1d0b74(0x7e)](_0x1d0b74(0x7d),new _0x1f657a(_0x38403f)),_0x38403f[_0x1d0b74(0x71)][_0x1d0b74(0x7e)](_0x1d0b74(0x6c),new _0x1e2980(_0x38403f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']();});}}
23
+ import{Plugin as _0x18abb9}from'ckeditor5/src/core.js';import{ButtonView as _0x28c820}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1aff48}from'ckeditor5/src/icons.js';import{createElement as _0xc9f5cd}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 _0x18abb9{['_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 _0x3dfb34=this['editor'];_0x3dfb34['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1f069b=>{const _0x9b9859=_0x3dfb34['commands']['get']('uploadcareImageEdit'),_0x585c2b=new _0x28c820(_0x1f069b),t=_0x1f069b['t'];return _0x585c2b['set']({'icon':_0x1aff48,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x585c2b['bind']('isEnabled')['to'](_0x9b9859),_0x585c2b['bind']('isOn')['to'](_0x9b9859,'isActive'),this['listenTo'](_0x585c2b,'execute',()=>{_0x3dfb34['execute']('uploadcareImageEdit'),_0x3dfb34['editing']['view']['focus']();}),_0x585c2b;}),this['_initConfig']();}['_initConfig'](){const _0x1e33df=_0xc9f5cd(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1e33df),this['listenTo'](this['editor'],'destroy',()=>{_0x1e33df['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));})}};}}
23
+ var _0x5960d1=_0x4fcb;(function(_0x3da680,_0x5617b9){var _0x3f776c=_0x4fcb,_0x58893a=_0x3da680();while(!![]){try{var _0x2eb6a7=parseInt(_0x3f776c(0xbc))/0x1+parseInt(_0x3f776c(0xba))/0x2*(-parseInt(_0x3f776c(0xb4))/0x3)+parseInt(_0x3f776c(0xb5))/0x4+-parseInt(_0x3f776c(0xb7))/0x5*(parseInt(_0x3f776c(0xaf))/0x6)+parseInt(_0x3f776c(0xb0))/0x7+-parseInt(_0x3f776c(0xbf))/0x8*(parseInt(_0x3f776c(0xb3))/0x9)+parseInt(_0x3f776c(0xac))/0xa*(-parseInt(_0x3f776c(0xbb))/0xb);if(_0x2eb6a7===_0x5617b9)break;else _0x58893a['push'](_0x58893a['shift']());}catch(_0x49c1f3){_0x58893a['push'](_0x58893a['shift']());}}}(_0x2e73,0xc2287));import{FocusTracker as _0x3ffbff}from'ckeditor5/src/utils.js';import{View as _0x1c9798,FocusCycler as _0x3596bd}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x4fcb(_0x39895e,_0x3e041a){var _0x2e738d=_0x2e73();return _0x4fcb=function(_0x4fcbd0,_0x64c760){_0x4fcbd0=_0x4fcbd0-0xac;var _0x3f1f96=_0x2e738d[_0x4fcbd0];return _0x3f1f96;},_0x4fcb(_0x39895e,_0x3e041a);}export class DialogFocusManagerView extends _0x1c9798{[_0x5960d1(0xb8)];[_0x5960d1(0xad)];constructor(_0x23e47e){var _0x19cee0=_0x5960d1;super(_0x23e47e),this[_0x19cee0(0xb8)]=new _0x3ffbff(),this[_0x19cee0(0xad)]=new _0x3596bd({'focusables':this[_0x19cee0(0xb1)](),'focusTracker':this[_0x19cee0(0xb8)]});}[_0x5960d1(0xbe)](){var _0x180ee1=_0x5960d1;return{'tag':_0x180ee1(0xae),'attributes':{'aria-hidden':_0x180ee1(0xb9),'tabindex':'0'},'on':{'focus':this[_0x180ee1(0xbd)]['to'](()=>{var _0x345370=_0x180ee1;this[_0x345370(0xad)][_0x345370(0xb6)](_0x345370(0xb2));})}};}}function _0x2e73(){var _0x5859f0=['99RzPaCQ','633811qvrFIU','bindTemplate','getFocusableElement','512uyJmTT','678200qKVMPJ','focusCycler','div','983964XMYoDH','9445513tBrKeP','createCollection','forwardCycle','173061QVyMQN','1704oFipLO','5290980OTgCTx','fire','20ruCTlM','focusTracker','true','48ftFLIf'];_0x2e73=function(){return _0x5859f0;};return _0x2e73();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}
23
+ (function(_0x5d308d,_0x1df0e3){var _0x4c6aa9=_0x352b,_0x5e5647=_0x5d308d();while(!![]){try{var _0x37c722=parseInt(_0x4c6aa9(0xba))/0x1*(parseInt(_0x4c6aa9(0xb6))/0x2)+parseInt(_0x4c6aa9(0xb2))/0x3+parseInt(_0x4c6aa9(0xb1))/0x4+parseInt(_0x4c6aa9(0xb8))/0x5+-parseInt(_0x4c6aa9(0xb3))/0x6+-parseInt(_0x4c6aa9(0xb5))/0x7+parseInt(_0x4c6aa9(0xb9))/0x8;if(_0x37c722===_0x1df0e3)break;else _0x5e5647['push'](_0x5e5647['shift']());}catch(_0x5567b2){_0x5e5647['push'](_0x5e5647['shift']());}}}(_0x567d,0xef32f));function _0x567d(){var _0x534990=['1sESitS','275672TPhBcB','4299060LMQJhB','4697712ZBGNVS','includes','12497639cwXDNJ','1622290VuEcCZ','target','2605215JvDVSc','5711696HSWZtq'];_0x567d=function(){return _0x534990;};return _0x567d();}function _0x352b(_0x28ccef,_0x25fef0){var _0x567d0a=_0x567d();return _0x352b=function(_0x352b32,_0x25a3d8){_0x352b32=_0x352b32-0xb1;var _0x3c533f=_0x567d0a[_0x352b32];return _0x3c533f;},_0x352b(_0x28ccef,_0x25fef0);}import{getAncestors as _0x4f4434}from'ckeditor5/src/utils.js';export function isAncestor(_0xd00307,_0xdc7f04){var _0x2baab=_0x352b;return _0x4f4434(_0xd00307[_0x2baab(0xb7)])[_0x2baab(0xb4)](_0xdc7f04);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ var _0x3301a6=_0x489a;function _0x489a(_0x52e931,_0x542681){var _0x5c73cb=_0x5c73();return _0x489a=function(_0x489a5c,_0x197483){_0x489a5c=_0x489a5c-0x1de;var _0x1bae0b=_0x5c73cb[_0x489a5c];return _0x1bae0b;},_0x489a(_0x52e931,_0x542681);}(function(_0x286cbf,_0x10c6ab){var _0x5b879a=_0x489a,_0x7eb57=_0x286cbf();while(!![]){try{var _0xdf742=parseInt(_0x5b879a(0x1e6))/0x1+parseInt(_0x5b879a(0x1e7))/0x2*(parseInt(_0x5b879a(0x1df))/0x3)+-parseInt(_0x5b879a(0x1e0))/0x4+-parseInt(_0x5b879a(0x1e1))/0x5+-parseInt(_0x5b879a(0x1e8))/0x6+-parseInt(_0x5b879a(0x1e4))/0x7*(parseInt(_0x5b879a(0x1e3))/0x8)+parseInt(_0x5b879a(0x1e2))/0x9;if(_0xdf742===_0x10c6ab)break;else _0x7eb57['push'](_0x7eb57['shift']());}catch(_0x1745cd){_0x7eb57['push'](_0x7eb57['shift']());}}}(_0x5c73,0x73da2));import{uploadFile as _0x529bec,info as _0xb52013}from'@uploadcare/upload-client';function _0x5c73(){var _0x3b93e8=['320819MzXcqw','4868IPgIHG','4805340pIlHYA','upload','318ikrgcD','1265724tDQdNA','567230IsLGqI','12721770GwOZDR','352lHxyND','45668VcqipX','getInfo'];_0x5c73=function(){return _0x3b93e8;};return _0x5c73();}export class UploadUtils{static[_0x3301a6(0x1de)]({file:_0x58426e,..._0x3ba833}){return _0x529bec(_0x58426e,_0x3ba833);}static[_0x3301a6(0x1e5)](_0x4e9227,_0xff2fd4){return _0xb52013(_0x4e9227,_0xff2fd4);}}