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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +16 -5
  3. package/build/uploadcare.js +1 -1
  4. package/dist/index.js +3 -3
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +8 -8
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4d13d5,ObservableMixin as _0x161ccb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4e916d}from'ckeditor5/src/ui.js';import _0x82327 from'./uploadcareimageeditformview.js';import _0x21d56e from'../../utils/uploadutils.js';import _0x2eab27 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xc5924c,getImageDimension as _0x13f4c2}from'../../utils/editingutils.js';import{isAncestor as _0x299516}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x161ccb(){constructor(_0x2eb750,_0x2d60d0,_0x4c4627){super(),this['_editor']=_0x2eb750,this['_dialog']=_0x2d60d0,this['_imageElement']=_0x4c4627,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 _0x548a78=this['_imageElement'],_0x4ee782=_0x548a78['getAttribute']('uploadcareImageId'),_0x4fccc3=_0x548a78['getAttribute']('src');if(_0x4ee782)await this['_loadImageInfo'](_0x4ee782,_0x4fccc3);else{if(this['_imageCache']['has'](_0x4fccc3)){const _0x2b326d=this['_imageCache']['get'](_0x4fccc3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b326d['url'],this['imageDimension']=_0x2b326d['dimension'],this['imageId']=_0x2b326d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x48e914}=this['_editor'],t=_0x48e914['t'],_0x476baa=new _0x82327(_0x48e914,this['imageStatus'],this['_attributes']);_0x476baa['bind']('status')['to'](this,'imageStatus'),_0x476baa['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x476baa['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x476baa['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x476baa,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2eab27,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x476baa,'position':_0x4e916d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x476baa['focus']();},'onHide':()=>{_0x476baa['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37eb7a=>!_0x299516(_0x37eb7a,_0x476baa['element'])}});}['_loadImageInfo'](_0x3e275d,_0x356591){return _0x21d56e['getInfo'](_0x3e275d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4a6e97=>{const {width:_0xa27bd0,height:_0x58bff7}=_0x4a6e97['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x356591,this['imageDimension']={'width':_0xa27bd0,'height':_0x58bff7},this['imageId']=_0x3e275d;})['catch'](_0x5293d3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5293d3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x273988,_0x3b4d36){return this['_getImageAsFile'](_0x273988)['then'](_0x43ce97=>_0x21d56e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3b4d36['signal'],'file':_0x43ce97,'onProgress':_0x205ed4=>{_0x205ed4&&_0x205ed4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x205ed4['value']));}}))['then'](_0x14489c=>{const {width:_0x679d70,height:_0x193e47}=_0x14489c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14489c['cdnUrl'],this['imageDimension']={'width':_0x679d70,'height':_0x193e47},this['imageId']=_0x14489c['uuid'],this['imageUploadProgress']=null;const _0x4dd0f4=_0x273988['getAttribute']('src');this['_imageCache']['set'](_0x4dd0f4,{'id':_0x14489c['uuid'],'url':_0x14489c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xd46a00=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd46a00['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x87cee9,_0xdc69d0){_0x87cee9['on']('apply',(_0x4a4286,_0x4071e3)=>{this['_replaceImage'](_0xdc69d0,_0x4071e3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x87cee9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x87cee9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x13e72f,_0x536de6,_0x486d9f){const _0x29fed8=this['_editor'],{width:_0x44f620,height:_0xaa4924}=_0x13f4c2(_0x536de6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2aae2d,imageSources:_0x71b6ba}=_0xc5924c(_0x536de6,_0x44f620);_0x29fed8['model']['change'](_0x4b4691=>{if('$graveyard'===_0x13e72f['root']['rootName']){_0x29fed8['execute']('insertImage',{'imageType':_0x13e72f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x13e72f['getAttributes']()),'uploadcareImageId':_0x486d9f,'src':_0x2aae2d,'sources':_0x71b6ba,'width':_0x44f620,'height':_0xaa4924}});const _0x47c9d8=_0x13e72f['getChildren']();_0x13e72f=_0x29fed8['model']['document']['selection']['getSelectedElement']();for(const _0x1a6bfd of _0x47c9d8)_0x4b4691['append'](_0x4b4691['cloneElement'](_0x1a6bfd),_0x13e72f);}else _0x4b4691['setSelection'](_0x13e72f,'on'),_0x29fed8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x13e72f['getAttributes']()),'uploadcareImageId':_0x486d9f,'src':_0x2aae2d,'sources':_0x71b6ba,'width':_0x44f620,'height':_0xaa4924},_0x13e72f);_0x4b4691['setSelection'](_0x13e72f,'on');});}async['_getImageAsFile'](_0xa3262e){const _0x56987b=_0x4d13d5['window'],_0x2de041=_0x4d13d5['document']['location']['href'],_0x7595d4=new _0x56987b['URL'](_0xa3262e['getAttribute']('src'),_0x2de041);if('data:'===_0x7595d4['protocol']){const _0x68a6b5=_0x7595d4['href']['split'](','),_0x322b4b=_0x68a6b5[0x0]['match'](/:(.*?);/)[0x1],_0x25dcc2=_0x322b4b['split']('/')[0x1],_0x2992c4=_0x56987b['atob'](_0x68a6b5[_0x68a6b5['length']-0x1]);let _0x2088d6=_0x2992c4['length'];const _0x2bd0e8=new _0x56987b['Uint8Array'](_0x2088d6);for(;_0x2088d6--;)_0x2bd0e8[_0x2088d6]=_0x2992c4['charCodeAt'](_0x2088d6);return new _0x56987b['File']([_0x2bd0e8],'image.'+_0x25dcc2,{'type':_0x322b4b});}const _0x376973=_0x7595d4['href']['split']('/'),_0x2728bc=_0x376973[_0x376973['length']-0x1],_0x3e722a=_0x2728bc['split']('.')[0x1];return _0x56987b['fetch'](_0x7595d4['href'])['then'](_0x59cfe5=>_0x59cfe5['clone']()['blob']())['then'](_0xad3021=>new _0x56987b['File']([_0xad3021],_0x2728bc,{'type':'image/'+_0x3e722a}));}}
23
+ import{global as _0x1f2082,ObservableMixin as _0x4fa689}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1043da}from'ckeditor5/src/ui.js';import _0x3cdc0d from'./uploadcareimageeditformview.js';import _0x4fe6ac from'../../utils/uploadutils.js';import _0xc46832 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x5592a9,getImageDimension as _0x17b387}from'../../utils/editingutils.js';import{isAncestor as _0x59d374}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x4fa689(){constructor(_0x161c37,_0x34deea,_0x48224f){super(),this['_editor']=_0x161c37,this['_dialog']=_0x34deea,this['_imageElement']=_0x48224f,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 _0x355983=this['_imageElement'],_0x512455=_0x355983['getAttribute']('uploadcareImageId'),_0x4b1d50=_0x355983['getAttribute']('src');if(_0x512455)await this['_loadImageInfo'](_0x512455,_0x4b1d50);else{if(this['_imageCache']['has'](_0x4b1d50)){const _0x27ba70=this['_imageCache']['get'](_0x4b1d50);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x27ba70['url'],this['imageDimension']=_0x27ba70['dimension'],this['imageId']=_0x27ba70['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1c868b}=this['_editor'],t=_0x1c868b['t'],_0xb4c132=new _0x3cdc0d(_0x1c868b,this['imageStatus'],this['_attributes']);_0xb4c132['bind']('status')['to'](this,'imageStatus'),_0xb4c132['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb4c132['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb4c132['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb4c132,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xc46832,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb4c132,'position':_0x1043da['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb4c132['focus']();},'onHide':()=>{_0xb4c132['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3988b1=>!_0x59d374(_0x3988b1,_0xb4c132['element'])}});}['_loadImageInfo'](_0x8f46ab,_0x122c5a){return _0x4fe6ac['getInfo'](_0x8f46ab,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3dff5c=>{const {width:_0x5c90ea,height:_0x156d84}=_0x3dff5c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x122c5a,this['imageDimension']={'width':_0x5c90ea,'height':_0x156d84},this['imageId']=_0x8f46ab;})['catch'](_0x5a9613=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5a9613['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1e0d0a,_0x50bc70){return this['_getImageAsFile'](_0x1e0d0a)['then'](_0x8b1e64=>_0x4fe6ac['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x50bc70['signal'],'file':_0x8b1e64,'onProgress':_0x305496=>{_0x305496&&_0x305496['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x305496['value']));}}))['then'](_0x34164d=>{const {width:_0x211a0c,height:_0x38816a}=_0x34164d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34164d['cdnUrl'],this['imageDimension']={'width':_0x211a0c,'height':_0x38816a},this['imageId']=_0x34164d['uuid'],this['imageUploadProgress']=null;const _0x465de9=_0x1e0d0a['getAttribute']('src');this['_imageCache']['set'](_0x465de9,{'id':_0x34164d['uuid'],'url':_0x34164d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4c4c3c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4c4c3c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x8c25d2,_0x100c82){_0x8c25d2['on']('apply',(_0x56fbaa,_0x566d2d)=>{this['_replaceImage'](_0x100c82,_0x566d2d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x8c25d2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x8c25d2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x554be4,_0x308949,_0x2df818){const _0x4f5de5=this['_editor'],{width:_0x129428,height:_0x5aa3b5}=_0x17b387(_0x308949,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x176386,imageSources:_0xcbf063}=_0x5592a9(_0x308949,_0x129428);_0x4f5de5['model']['change'](_0x17873a=>{if('$graveyard'===_0x554be4['root']['rootName']){_0x4f5de5['execute']('insertImage',{'imageType':_0x554be4['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x554be4['getAttributes']()),'uploadcareImageId':_0x2df818,'src':_0x176386,'sources':_0xcbf063,'width':_0x129428,'height':_0x5aa3b5}});const _0x927028=_0x554be4['getChildren']();_0x554be4=_0x4f5de5['model']['document']['selection']['getSelectedElement']();for(const _0x45fce3 of _0x927028)_0x17873a['append'](_0x17873a['cloneElement'](_0x45fce3),_0x554be4);}else _0x17873a['setSelection'](_0x554be4,'on'),_0x4f5de5['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x554be4['getAttributes']()),'uploadcareImageId':_0x2df818,'src':_0x176386,'sources':_0xcbf063,'width':_0x129428,'height':_0x5aa3b5},_0x554be4);_0x17873a['setSelection'](_0x554be4,'on');});}async['_getImageAsFile'](_0x12ee5a){const _0x26102d=_0x1f2082['window'],_0x3b6dbf=_0x1f2082['document']['location']['href'],_0x954efd=new _0x26102d['URL'](_0x12ee5a['getAttribute']('src'),_0x3b6dbf);if('data:'===_0x954efd['protocol']){const _0x548b8b=_0x954efd['href']['split'](','),_0x2afc25=_0x548b8b[0x0]['match'](/:(.*?);/)[0x1],_0x2a3e39=_0x2afc25['split']('/')[0x1],_0x135750=_0x26102d['atob'](_0x548b8b[_0x548b8b['length']-0x1]);let _0x532532=_0x135750['length'];const _0x4530b7=new _0x26102d['Uint8Array'](_0x532532);for(;_0x532532--;)_0x4530b7[_0x532532]=_0x135750['charCodeAt'](_0x532532);return new _0x26102d['File']([_0x4530b7],'image.'+_0x2a3e39,{'type':_0x2afc25});}const _0x51fd1c=_0x954efd['href']['split']('/'),_0x1f1606=_0x51fd1c[_0x51fd1c['length']-0x1],_0x1624ab=_0x1f1606['split']('.')[0x1];return _0x26102d['fetch'](_0x954efd['href'])['then'](_0xad764d=>_0xad764d['clone']()['blob']())['then'](_0x112f88=>new _0x26102d['File']([_0x112f88],_0x1f1606,{'type':'image/'+_0x1624ab}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4dd0(){const _0x254bdd=['imageSrc','setTemplate','319Uaqlfn','131004WMJgSw','uc-light','49340IlnRzv','7352kUypES','bindTemplate','uc-cloud-image-editor','1730565SWUNpH','41808kpxPah','737023yWkCnO','set','12GaTYAy','image-edit','ck-uploadcare-theme','6QRHCLH','235rrMDUh','69489VUGAUo'];_0x4dd0=function(){return _0x254bdd;};return _0x4dd0();}(function(_0x3b4705,_0x5b8548){const _0x11d4c8=_0xf099,_0x576cd0=_0x3b4705();while(!![]){try{const _0x4593d2=-parseInt(_0x11d4c8(0x145))/0x1+-parseInt(_0x11d4c8(0x149))/0x2*(-parseInt(_0x11d4c8(0x143))/0x3)+parseInt(_0x11d4c8(0x14c))/0x4*(-parseInt(_0x11d4c8(0x144))/0x5)+-parseInt(_0x11d4c8(0x153))/0x6*(-parseInt(_0x11d4c8(0x151))/0x7)+parseInt(_0x11d4c8(0x150))/0x8+-parseInt(_0x11d4c8(0x14f))/0x9+-parseInt(_0x11d4c8(0x14b))/0xa*(-parseInt(_0x11d4c8(0x148))/0xb);if(_0x4593d2===_0x5b8548)break;else _0x576cd0['push'](_0x576cd0['shift']());}catch(_0x23fba5){_0x576cd0['push'](_0x576cd0['shift']());}}}(_0x4dd0,0x229a6));import{View as _0x1b12fb}from'ckeditor5/src/ui.js';function _0xf099(_0x3c132c,_0xc68110){const _0x4dd024=_0x4dd0();return _0xf099=function(_0xf099ce,_0x2683e4){_0xf099ce=_0xf099ce-0x141;let _0x81e192=_0x4dd024[_0xf099ce];return _0x81e192;},_0xf099(_0x3c132c,_0xc68110);}export default class tt extends _0x1b12fb{constructor(_0x2159de,_0x1910ee){const _0x324b4e=_0xf099;super(_0x2159de);const _0x5d2d47=this[_0x324b4e(0x14d)];this[_0x324b4e(0x152)](_0x324b4e(0x146),''),this[_0x324b4e(0x147)]({'tag':_0x324b4e(0x14e),'attributes':{..._0x1910ee,'class':[_0x324b4e(0x14a),_0x324b4e(0x142)],'ctx-name':_0x324b4e(0x141),'cdn-url':_0x5d2d47['to'](_0x324b4e(0x146))}});}}
23
+ (function(_0x2eb85e,_0x4e6b35){const _0x459f6d=_0x4fd5,_0x11f10f=_0x2eb85e();while(!![]){try{const _0x33f35e=parseInt(_0x459f6d(0x6e))/0x1+parseInt(_0x459f6d(0x70))/0x2+parseInt(_0x459f6d(0x75))/0x3+parseInt(_0x459f6d(0x77))/0x4+parseInt(_0x459f6d(0x73))/0x5*(parseInt(_0x459f6d(0x68))/0x6)+-parseInt(_0x459f6d(0x72))/0x7*(parseInt(_0x459f6d(0x76))/0x8)+-parseInt(_0x459f6d(0x6d))/0x9;if(_0x33f35e===_0x4e6b35)break;else _0x11f10f['push'](_0x11f10f['shift']());}catch(_0x610cd4){_0x11f10f['push'](_0x11f10f['shift']());}}}(_0x592f,0x62bad));function _0x592f(){const _0x121e8d=['303236kqSnfp','ck-uploadcare-theme','851746bYJKUO','set','28aAMKeW','65JrQJlj','imageSrc','617265NbEOyS','1581856JOCfpb','2771680rwArpa','bindTemplate','110202njxYwa','uc-cloud-image-editor','setTemplate','image-edit','uc-light','6041070lVthIM'];_0x592f=function(){return _0x121e8d;};return _0x592f();}function _0x4fd5(_0x2be7f9,_0x216bb3){const _0x592fe1=_0x592f();return _0x4fd5=function(_0x4fd547,_0x25087c){_0x4fd547=_0x4fd547-0x67;let _0xfda1f1=_0x592fe1[_0x4fd547];return _0xfda1f1;},_0x4fd5(_0x2be7f9,_0x216bb3);}import{View as _0x2f2b12}from'ckeditor5/src/ui.js';export default class tt extends _0x2f2b12{constructor(_0x992a14,_0x185ce2){const _0x1b2645=_0x4fd5;super(_0x992a14);const _0x3458a9=this[_0x1b2645(0x67)];this[_0x1b2645(0x71)](_0x1b2645(0x74),''),this[_0x1b2645(0x6a)]({'tag':_0x1b2645(0x69),'attributes':{..._0x185ce2,'class':[_0x1b2645(0x6c),_0x1b2645(0x6f)],'ctx-name':_0x1b2645(0x6b),'cdn-url':_0x3458a9['to'](_0x1b2645(0x74))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x397f62,IconView as et,View as _0x36b409}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x36b409{constructor(_0x3fbca3){super(_0x3fbca3);const t=_0x3fbca3['t'];this['set']('errorType',null);const _0x29f63a=new _0x397f62(_0x3fbca3);_0x29f63a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x29f63a['withText']=!0x0,_0x29f63a['class']='ck-button-action',_0x29f63a['on']('execute',()=>{this['fire']('retry');}),_0x29f63a['bind']('isVisible')['to'](this,'errorType',_0x1c6910=>'NotFound'!==_0x1c6910);const _0x5aa8c0=new et();_0x5aa8c0['content']=at,_0x5aa8c0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x140980=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':[_0x5aa8c0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x140980['to']('errorType',_0x5df490=>t('NotFound'!==_0x5df490?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x29f63a]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{ButtonView as _0x6aece3,IconView as et,View as _0x73ed6}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x73ed6{constructor(_0x15fc66){super(_0x15fc66);const t=_0x15fc66['t'];this['set']('errorType',null);const _0x5528cf=new _0x6aece3(_0x15fc66);_0x5528cf['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5528cf['withText']=!0x0,_0x5528cf['class']='ck-button-action',_0x5528cf['on']('execute',()=>{this['fire']('retry');}),_0x5528cf['bind']('isVisible')['to'](this,'errorType',_0x1d3234=>'NotFound'!==_0x1d3234);const _0x1a66d4=new et();_0x1a66d4['content']=at,_0x1a66d4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x14ecc1=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':[_0x1a66d4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x14ecc1['to']('errorType',_0x3c752a=>t('NotFound'!==_0x3c752a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5528cf]},{'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 _0x1fe15e,View as _0x219355}from'ckeditor5/src/ui.js';export default class ta extends _0x219355{constructor(_0x3863c2){super(_0x3863c2);const t=_0x3863c2['t'],_0x1b17a8=this['bindTemplate'],_0x212657=new _0x1fe15e();_0x212657['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':[_0x212657,{'text':_0x1b17a8['to']('imageUploadProgress',_0x1dedda=>t('Loading\x20image...')+'\x20('+(_0x1dedda||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 _0x5af99a,View as _0x3f4a08}from'ckeditor5/src/ui.js';export default class ta extends _0x3f4a08{constructor(_0x20c124){super(_0x20c124);const t=_0x20c124['t'],_0xb4f9ab=this['bindTemplate'],_0x491836=new _0x5af99a();_0x491836['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':[_0x491836,{'text':_0xb4f9ab['to']('imageUploadProgress',_0x113a9e=>t('Loading\x20image...')+'\x20('+(_0x113a9e||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 _0x76cb(){const _0x5b43e0=['status','6299316MMTGui','setTemplate','_errorView','ck-uploadcare-form','3970jKhaGc','set','querySelector','cdnUrl','addedNodes','_addUploadcareImageEditorListeners','_addErrorViewListeners','_items','retry','addMany','filter','_waitForImageEditorComponent','uploading','change:status','_loadingView','18vfrKjP','addEventListener','target','disconnect','1004038dEBaVu','div','4453224vCVbDd','fire','cancel','_focusableView','clear','observe','error','29167120ZoovXC','render','nodeName','focus','_setView','uc-cloud-image-editor','ck-reset_all-excluded','detail','509692snTiNX','element','9zxDysp','once','add','_editingView','getFocusableElement','apply','createCollection','length','69955VVwNVl','4348PZOMke','toLowerCase','ready'];_0x76cb=function(){return _0x5b43e0;};return _0x76cb();}function _0x4209(_0x9ec863,_0x1d82a0){const _0x76cb02=_0x76cb();return _0x4209=function(_0x4209c3,_0x330e71){_0x4209c3=_0x4209c3-0x7f;let _0x56f068=_0x76cb02[_0x4209c3];return _0x56f068;},_0x4209(_0x9ec863,_0x1d82a0);}const _0x48b9ca=_0x4209;(function(_0x91e353,_0x187198){const _0x5e43fa=_0x4209,_0xf1ba3c=_0x91e353();while(!![]){try{const _0x50d0b5=parseInt(_0x5e43fa(0x9f))/0x1+-parseInt(_0x5e43fa(0x95))/0x2*(-parseInt(_0x5e43fa(0x97))/0x3)+-parseInt(_0x5e43fa(0xa0))/0x4*(-parseInt(_0x5e43fa(0xa8))/0x5)+parseInt(_0x5e43fa(0x80))/0x6*(parseInt(_0x5e43fa(0x84))/0x7)+parseInt(_0x5e43fa(0x86))/0x8+parseInt(_0x5e43fa(0xa4))/0x9+-parseInt(_0x5e43fa(0x8d))/0xa;if(_0x50d0b5===_0x187198)break;else _0xf1ba3c['push'](_0xf1ba3c['shift']());}catch(_0x8eb277){_0xf1ba3c['push'](_0xf1ba3c['shift']());}}}(_0x76cb,0x7231a));import{View as _0x15947e}from'ckeditor5/src/ui.js';import _0x37b61a from'./uploadcareimageeditformloadingview.js';import _0x26ce72 from'./uploadcareimageeditformerrorview.js';import _0x3021e6 from'./uploadcareimageeditformeditingview.js';import _0x3daf23 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x3daf23{constructor(_0x3b1dda,_0x393a40,_0x31b72a){const _0x166b60=_0x4209;super(_0x3b1dda),this[_0x166b60(0xaf)]=this[_0x166b60(0x9d)](),this[_0x166b60(0x7f)]=new _0x37b61a(_0x3b1dda),this[_0x166b60(0xa6)]=new _0x26ce72(_0x3b1dda),this[_0x166b60(0x9a)]=new _0x3021e6(_0x3b1dda,_0x31b72a),this[_0x166b60(0x89)]=new _0x15947e(_0x3b1dda),this[_0x166b60(0x89)][_0x166b60(0xa5)](this[_0x166b60(0x9b)]()),this[_0x166b60(0xa9)](_0x166b60(0xa3),_0x393a40),this[_0x166b60(0xa5)]({'tag':_0x166b60(0x85),'attributes':{'class':['ck',_0x166b60(0x93),_0x166b60(0xa7)],'tabindex':'-1'},'children':this[_0x166b60(0xaf)]}),this[_0x166b60(0x91)](),this[_0x166b60(0x98)](_0x166b60(0x8e),()=>{const _0x17efa1=_0x166b60;this[_0x17efa1(0xb3)](this[_0x17efa1(0x96)],_0x1e5e89=>{const _0xb3bce1=_0x17efa1;this[_0xb3bce1(0xad)](_0x1e5e89);});}),this['on'](_0x166b60(0xb5),()=>{const _0x3dc867=_0x166b60;this[_0x3dc867(0x91)]();}),this[_0x166b60(0xae)]();}[_0x48b9ca(0x90)](){const _0x14e6ea=_0x48b9ca;this[_0x14e6ea(0x96)][_0x14e6ea(0x90)]();}[_0x48b9ca(0x91)](){const _0x1082ce=_0x48b9ca;switch(this[_0x1082ce(0xaf)][_0x1082ce(0x8a)](),this[_0x1082ce(0xa3)]){case _0x1082ce(0xb4):this[_0x1082ce(0xaf)][_0x1082ce(0x99)](this[_0x1082ce(0x7f)]);break;case _0x1082ce(0x8c):this[_0x1082ce(0xaf)][_0x1082ce(0x99)](this[_0x1082ce(0xa6)]);break;case _0x1082ce(0xa2):this[_0x1082ce(0xaf)][_0x1082ce(0xb1)]([this[_0x1082ce(0x9a)],this[_0x1082ce(0x89)]]);}}[_0x48b9ca(0xb3)](_0x227efd,_0x5246ab){const _0x5d16c9=_0x48b9ca,_0x4c6f1d=_0x5d16c9(0x92),_0x130f63=_0x227efd[_0x5d16c9(0xaa)](_0x4c6f1d);if(_0x130f63)return _0x5246ab(_0x130f63);const _0x5970c4=new MutationObserver(_0x9ff192=>{const _0x3e0f9c=_0x5d16c9,_0x1e73cc=_0x9ff192[_0x3e0f9c(0xb2)](_0xde4813=>_0xde4813[_0x3e0f9c(0x82)]===_0x227efd&&_0xde4813[_0x3e0f9c(0xac)][_0x3e0f9c(0x9e)]>0x0&&_0xde4813[_0x3e0f9c(0xac)][0x0][_0x3e0f9c(0x8f)][_0x3e0f9c(0xa1)]()===_0x4c6f1d);_0x1e73cc[_0x3e0f9c(0x9e)]&&(_0x5970c4[_0x3e0f9c(0x83)](),_0x5246ab(_0x1e73cc[0x0][_0x3e0f9c(0xac)][0x0]));});_0x5970c4[_0x5d16c9(0x8b)](_0x227efd,{'childList':!0x0,'subtree':!0x0});}[_0x48b9ca(0xad)](_0x3d2175){const _0x1d267d=_0x48b9ca;_0x3d2175[_0x1d267d(0x81)](_0x1d267d(0x9c),_0x280e56=>{const _0x950759=_0x1d267d;this[_0x950759(0x87)](_0x950759(0x9c),{'imageSrc':_0x280e56[_0x950759(0x94)][_0x950759(0xab)]});}),_0x3d2175[_0x1d267d(0x81)](_0x1d267d(0x88),()=>{const _0x8353e6=_0x1d267d;this[_0x8353e6(0x87)](_0x8353e6(0x88));});}[_0x48b9ca(0xae)](){const _0x5d144a=_0x48b9ca;this[_0x5d144a(0xa6)]['on'](_0x5d144a(0xb0),()=>{const _0x127fbb=_0x5d144a;this[_0x127fbb(0x87)](_0x127fbb(0xb0));});}}
23
+ const _0x48d700=_0x2b64;function _0x243a(){const _0x37a041=['observe','_focusableView','addedNodes','querySelector','status','createCollection','1415bgSvCY','12077248RiGmCK','disconnect','uc-cloud-image-editor','ck-reset_all-excluded','3089527gtuhLw','element','4638244RaOeth','detail','toLowerCase','_errorView','ck-uploadcare-form','addEventListener','cancel','length','change:status','_addErrorViewListeners','3998335IzRbli','target','getFocusableElement','addMany','2114166ROEDDW','error','retry','_items','once','render','add','apply','18hkTYpW','_editingView','17808093zXTfoI','set','clear','nodeName','_setView','setTemplate','focus','div','_addUploadcareImageEditorListeners','_waitForImageEditorComponent','1970GsGfZh','filter','ready','fire','cdnUrl','_loadingView','uploading'];_0x243a=function(){return _0x37a041;};return _0x243a();}(function(_0x192e43,_0x145dc7){const _0x3aeb05=_0x2b64,_0x40b942=_0x192e43();while(!![]){try{const _0xdb737a=-parseInt(_0x3aeb05(0xbc))/0x1*(-parseInt(_0x3aeb05(0xe5))/0x2)+-parseInt(_0x3aeb05(0xd1))/0x3+-parseInt(_0x3aeb05(0xc3))/0x4+-parseInt(_0x3aeb05(0xcd))/0x5+-parseInt(_0x3aeb05(0xd9))/0x6*(parseInt(_0x3aeb05(0xc1))/0x7)+parseInt(_0x3aeb05(0xbd))/0x8+parseInt(_0x3aeb05(0xdb))/0x9;if(_0xdb737a===_0x145dc7)break;else _0x40b942['push'](_0x40b942['shift']());}catch(_0x1468c2){_0x40b942['push'](_0x40b942['shift']());}}}(_0x243a,0xda47b));import{View as _0x4e23e7}from'ckeditor5/src/ui.js';function _0x2b64(_0x17ed02,_0x16b44a){const _0x243a1d=_0x243a();return _0x2b64=function(_0x2b64e8,_0x472124){_0x2b64e8=_0x2b64e8-0xb9;let _0xff3a1=_0x243a1d[_0x2b64e8];return _0xff3a1;},_0x2b64(_0x17ed02,_0x16b44a);}import _0x5d671d from'./uploadcareimageeditformloadingview.js';import _0x45d2d8 from'./uploadcareimageeditformerrorview.js';import _0x199322 from'./uploadcareimageeditformeditingview.js';import _0x582575 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x582575{constructor(_0x538a9f,_0x2c7b29,_0x58294e){const _0x113a35=_0x2b64;super(_0x538a9f),this[_0x113a35(0xd4)]=this[_0x113a35(0xbb)](),this[_0x113a35(0xea)]=new _0x5d671d(_0x538a9f),this[_0x113a35(0xc6)]=new _0x45d2d8(_0x538a9f),this[_0x113a35(0xda)]=new _0x199322(_0x538a9f,_0x58294e),this[_0x113a35(0xed)]=new _0x4e23e7(_0x538a9f),this[_0x113a35(0xed)][_0x113a35(0xe0)](this[_0x113a35(0xcf)]()),this[_0x113a35(0xdc)](_0x113a35(0xba),_0x2c7b29),this[_0x113a35(0xe0)]({'tag':_0x113a35(0xe2),'attributes':{'class':['ck',_0x113a35(0xc0),_0x113a35(0xc7)],'tabindex':'-1'},'children':this[_0x113a35(0xd4)]}),this[_0x113a35(0xdf)](),this[_0x113a35(0xd5)](_0x113a35(0xd6),()=>{const _0x5f0979=_0x113a35;this[_0x5f0979(0xe4)](this[_0x5f0979(0xc2)],_0x59b6c7=>{const _0x231717=_0x5f0979;this[_0x231717(0xe3)](_0x59b6c7);});}),this['on'](_0x113a35(0xcb),()=>{const _0x2d0708=_0x113a35;this[_0x2d0708(0xdf)]();}),this[_0x113a35(0xcc)]();}[_0x48d700(0xe1)](){const _0x30172a=_0x48d700;this[_0x30172a(0xc2)][_0x30172a(0xe1)]();}[_0x48d700(0xdf)](){const _0x12533d=_0x48d700;switch(this[_0x12533d(0xd4)][_0x12533d(0xdd)](),this[_0x12533d(0xba)]){case _0x12533d(0xeb):this[_0x12533d(0xd4)][_0x12533d(0xd7)](this[_0x12533d(0xea)]);break;case _0x12533d(0xd2):this[_0x12533d(0xd4)][_0x12533d(0xd7)](this[_0x12533d(0xc6)]);break;case _0x12533d(0xe7):this[_0x12533d(0xd4)][_0x12533d(0xd0)]([this[_0x12533d(0xda)],this[_0x12533d(0xed)]]);}}[_0x48d700(0xe4)](_0x66e99a,_0x3d4716){const _0x202303=_0x48d700,_0x2479ad=_0x202303(0xbf),_0x5d902a=_0x66e99a[_0x202303(0xb9)](_0x2479ad);if(_0x5d902a)return _0x3d4716(_0x5d902a);const _0x566d80=new MutationObserver(_0x24200e=>{const _0x2698cb=_0x202303,_0x46124e=_0x24200e[_0x2698cb(0xe6)](_0x421fdc=>_0x421fdc[_0x2698cb(0xce)]===_0x66e99a&&_0x421fdc[_0x2698cb(0xee)][_0x2698cb(0xca)]>0x0&&_0x421fdc[_0x2698cb(0xee)][0x0][_0x2698cb(0xde)][_0x2698cb(0xc5)]()===_0x2479ad);_0x46124e[_0x2698cb(0xca)]&&(_0x566d80[_0x2698cb(0xbe)](),_0x3d4716(_0x46124e[0x0][_0x2698cb(0xee)][0x0]));});_0x566d80[_0x202303(0xec)](_0x66e99a,{'childList':!0x0,'subtree':!0x0});}[_0x48d700(0xe3)](_0x2c7653){const _0x13cb5e=_0x48d700;_0x2c7653[_0x13cb5e(0xc8)](_0x13cb5e(0xd8),_0x3374dd=>{const _0x1b8556=_0x13cb5e;this[_0x1b8556(0xe8)](_0x1b8556(0xd8),{'imageSrc':_0x3374dd[_0x1b8556(0xc4)][_0x1b8556(0xe9)]});}),_0x2c7653[_0x13cb5e(0xc8)](_0x13cb5e(0xc9),()=>{const _0x3051b1=_0x13cb5e;this[_0x3051b1(0xe8)](_0x3051b1(0xc9));});}[_0x48d700(0xcc)](){const _0x203560=_0x48d700;this[_0x203560(0xc6)]['on'](_0x203560(0xd3),()=>{const _0x31625e=_0x203560;this[_0x31625e(0xe8)](_0x31625e(0xd3));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x594994=_0x15ea;(function(_0x40f6fd,_0x4d6161){const _0x4881cc=_0x15ea,_0x1f232f=_0x40f6fd();while(!![]){try{const _0x58c105=parseInt(_0x4881cc(0x1dc))/0x1*(-parseInt(_0x4881cc(0x1de))/0x2)+parseInt(_0x4881cc(0x1ce))/0x3*(parseInt(_0x4881cc(0x1d7))/0x4)+-parseInt(_0x4881cc(0x1cb))/0x5*(parseInt(_0x4881cc(0x1d9))/0x6)+parseInt(_0x4881cc(0x1d3))/0x7+-parseInt(_0x4881cc(0x1c3))/0x8+-parseInt(_0x4881cc(0x1d6))/0x9*(-parseInt(_0x4881cc(0x1d5))/0xa)+parseInt(_0x4881cc(0x1c2))/0xb;if(_0x58c105===_0x4d6161)break;else _0x1f232f['push'](_0x1f232f['shift']());}catch(_0x12a78a){_0x1f232f['push'](_0x1f232f['shift']());}}}(_0x488f,0xc934a));function _0x488f(){const _0x1d70c6=['set','11407886vVQgOH','get','6730GCmQSf','15084rQQyTh','263988KStrFC','imageEditController','18nEhKHU','imageInline','getSelectedElement','1DMAjkg','requires','1789994tWFHZX','element','model','document','unbind','14894319kEVPfY','12237152nHIelo','config','uploadcare.allowExternalImagesEditing','bind','isActive','isEnabled','plugins','selection','2648105jSNmxn','refresh','imageBlock','33bTSAHs','editor','_isEditable','execute'];_0x488f=function(){return _0x1d70c6;};return _0x488f();}function _0x15ea(_0x39e94a,_0x29ce83){const _0x488ff6=_0x488f();return _0x15ea=function(_0x15eace,_0x2cab30){_0x15eace=_0x15eace-0x1c1;let _0x1397b2=_0x488ff6[_0x15eace];return _0x1397b2;},_0x15ea(_0x39e94a,_0x29ce83);}import{Command as _0x58711d}from'ckeditor5/src/core.js';import{Dialog as _0x234d10}from'ckeditor5/src/ui.js';import _0x516dd1 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x56c38e}from'../utils/editingutils.js';export default class J extends _0x58711d{static get[_0x594994(0x1dd)](){return[_0x234d10];}constructor(_0x87ebd2){const _0x2a9114=_0x594994;super(_0x87ebd2),this[_0x2a9114(0x1d8)]=void 0x0,this[_0x2a9114(0x1d0)]=_0x56c38e(_0x87ebd2[_0x2a9114(0x1c4)][_0x2a9114(0x1d4)](_0x2a9114(0x1c5))||[]),this[_0x2a9114(0x1d2)]({'isActive':!0x1});}[_0x594994(0x1cc)](){const _0xda27e=_0x594994,_0x33e914=this[_0xda27e(0x1cf)][_0xda27e(0x1e0)][_0xda27e(0x1e1)][_0xda27e(0x1ca)][_0xda27e(0x1db)]();this[_0xda27e(0x1c8)]=this[_0xda27e(0x1d0)](_0x33e914);}[_0x594994(0x1d1)](){const _0x10685e=_0x594994;this[_0x10685e(0x1d8)]&&(this[_0x10685e(0x1c1)](_0x10685e(0x1c7)),this[_0x10685e(0x1d8)]=void 0x0);const _0x23fa91=this[_0x10685e(0x1cf)][_0x10685e(0x1e0)][_0x10685e(0x1e1)][_0x10685e(0x1ca)][_0x10685e(0x1db)]();_0x23fa91&&(_0x23fa91['is'](_0x10685e(0x1df),_0x10685e(0x1cd))||_0x23fa91['is'](_0x10685e(0x1df),_0x10685e(0x1da)))&&(this[_0x10685e(0x1d8)]=new _0x516dd1(this[_0x10685e(0x1cf)],this[_0x10685e(0x1cf)][_0x10685e(0x1c9)][_0x10685e(0x1d4)](_0x234d10),_0x23fa91),this[_0x10685e(0x1c6)](_0x10685e(0x1c7))['to'](this[_0x10685e(0x1d8)],_0x10685e(0x1c7)));}}
23
+ const _0x44abed=_0x3c3c;function _0x3c3c(_0x3ac6cf,_0x25ff0e){const _0x2dd283=_0x2dd2();return _0x3c3c=function(_0x3c3c17,_0x5da6af){_0x3c3c17=_0x3c3c17-0x9a;let _0x37d678=_0x2dd283[_0x3c3c17];return _0x37d678;},_0x3c3c(_0x3ac6cf,_0x25ff0e);}(function(_0x41de3d,_0x53f6c9){const _0x115eee=_0x3c3c,_0x3eb164=_0x41de3d();while(!![]){try{const _0x59ae41=-parseInt(_0x115eee(0xa1))/0x1*(-parseInt(_0x115eee(0xa5))/0x2)+-parseInt(_0x115eee(0x9a))/0x3*(parseInt(_0x115eee(0xa3))/0x4)+-parseInt(_0x115eee(0xa0))/0x5*(-parseInt(_0x115eee(0xab))/0x6)+parseInt(_0x115eee(0x9e))/0x7+parseInt(_0x115eee(0xa2))/0x8+parseInt(_0x115eee(0xae))/0x9*(-parseInt(_0x115eee(0xb9))/0xa)+-parseInt(_0x115eee(0xaf))/0xb;if(_0x59ae41===_0x53f6c9)break;else _0x3eb164['push'](_0x3eb164['shift']());}catch(_0x5c2ac1){_0x3eb164['push'](_0x3eb164['shift']());}}}(_0x2dd2,0x90939));import{Command as _0x2dc691}from'ckeditor5/src/core.js';function _0x2dd2(){const _0x5faaae=['element','model','imageEditController','3394874wUsnTd','isActive','245INCZYw','2EbTUhG','3166440NhUhtZ','4107388xCBleu','set','616124fbQaSn','document','get','isEnabled','plugins','requires','60972iXSLcS','editor','refresh','81ZYKVSW','1854413hrvyQw','imageInline','imageBlock','execute','getSelectedElement','_isEditable','bind','selection','uploadcare.allowExternalImagesEditing','unbind','230260bsBAfa','config','3jXrBBA'];_0x2dd2=function(){return _0x5faaae;};return _0x2dd2();}import{Dialog as _0x40f968}from'ckeditor5/src/ui.js';import _0x555dd2 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xf5aae7}from'../utils/editingutils.js';export default class J extends _0x2dc691{static get[_0x44abed(0xaa)](){return[_0x40f968];}constructor(_0x15c6b9){const _0x52b082=_0x44abed;super(_0x15c6b9),this[_0x52b082(0x9d)]=void 0x0,this[_0x52b082(0xb4)]=_0xf5aae7(_0x15c6b9[_0x52b082(0xba)][_0x52b082(0xa7)](_0x52b082(0xb7))||[]),this[_0x52b082(0xa4)]({'isActive':!0x1});}[_0x44abed(0xad)](){const _0x414a5a=_0x44abed,_0x4429c8=this[_0x414a5a(0xac)][_0x414a5a(0x9c)][_0x414a5a(0xa6)][_0x414a5a(0xb6)][_0x414a5a(0xb3)]();this[_0x414a5a(0xa8)]=this[_0x414a5a(0xb4)](_0x4429c8);}[_0x44abed(0xb2)](){const _0x1da893=_0x44abed;this[_0x1da893(0x9d)]&&(this[_0x1da893(0xb8)](_0x1da893(0x9f)),this[_0x1da893(0x9d)]=void 0x0);const _0x5f1e54=this[_0x1da893(0xac)][_0x1da893(0x9c)][_0x1da893(0xa6)][_0x1da893(0xb6)][_0x1da893(0xb3)]();_0x5f1e54&&(_0x5f1e54['is'](_0x1da893(0x9b),_0x1da893(0xb1))||_0x5f1e54['is'](_0x1da893(0x9b),_0x1da893(0xb0)))&&(this[_0x1da893(0x9d)]=new _0x555dd2(this[_0x1da893(0xac)],this[_0x1da893(0xac)][_0x1da893(0xa9)][_0x1da893(0xa7)](_0x40f968),_0x5f1e54),this[_0x1da893(0xb5)](_0x1da893(0x9f))['to'](this[_0x1da893(0x9d)],_0x1da893(0x9f)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b955c=_0x4080;(function(_0xdb998,_0x40cf87){const _0x2d7982=_0x4080,_0x1f7960=_0xdb998();while(!![]){try{const _0x2cf9a5=parseInt(_0x2d7982(0x1a4))/0x1*(parseInt(_0x2d7982(0x19a))/0x2)+parseInt(_0x2d7982(0x1a1))/0x3+parseInt(_0x2d7982(0x198))/0x4*(parseInt(_0x2d7982(0x19c))/0x5)+parseInt(_0x2d7982(0x1a6))/0x6+parseInt(_0x2d7982(0x1a3))/0x7+-parseInt(_0x2d7982(0x1a9))/0x8+-parseInt(_0x2d7982(0x1a5))/0x9*(parseInt(_0x2d7982(0x194))/0xa);if(_0x2cf9a5===_0x40cf87)break;else _0x1f7960['push'](_0x1f7960['shift']());}catch(_0x1aeeab){_0x1f7960['push'](_0x1f7960['shift']());}}}(_0x50db,0xd30a3));import{Plugin as _0xf2c861}from'ckeditor5/src/core.js';import{Notification as _0xf470cf}from'ckeditor5/src/ui.js';function _0x50db(){const _0xed9c92=['8905938XdeUQw','isPremiumPlugin','ImageUtils','5435072zSjYmL','37252760coZgte','UploadcareImageEditEditing','isOfficialPlugin','uploadcareImageEdit','4712212BgwkLo','commands','4MPLZbT','requires','5FKZiRh','add','init','uploadcareImageReplace','pluginName','5041938djLCfR','ImageEditing','37065ifStpg','460381CrTXUp','9lipJAY'];_0x50db=function(){return _0xed9c92;};return _0x50db();}import _0x32aee5 from'./uploadcareimageeditcommand.js';function _0x4080(_0x2b69fb,_0x9810d2){const _0x50dbd9=_0x50db();return _0x4080=function(_0x40807d,_0x55fe19){_0x40807d=_0x40807d-0x194;let _0x392abb=_0x50dbd9[_0x40807d];return _0x392abb;},_0x4080(_0x2b69fb,_0x9810d2);}import _0x29ac6c from'./uploadcareimagereplacecommand.js';import _0x3f6d39 from'../uploadcareediting.js';export default class m extends _0xf2c861{static get[_0x2b955c(0x1a0)](){const _0x672f5f=_0x2b955c;return _0x672f5f(0x195);}static get[_0x2b955c(0x19b)](){const _0x7b4e59=_0x2b955c;return[_0x3f6d39,_0xf470cf,_0x7b4e59(0x1a8),_0x7b4e59(0x1a2)];}static get[_0x2b955c(0x196)](){return!0x0;}static get[_0x2b955c(0x1a7)](){return!0x0;}[_0x2b955c(0x19e)](){const _0x30c8f0=_0x2b955c,{editor:_0x145a63}=this;_0x145a63[_0x30c8f0(0x199)][_0x30c8f0(0x19d)](_0x30c8f0(0x197),new _0x32aee5(_0x145a63)),_0x145a63[_0x30c8f0(0x199)][_0x30c8f0(0x19d)](_0x30c8f0(0x19f),new _0x29ac6c(_0x145a63));}}
23
+ const _0x50b1a3=_0x4609;(function(_0xb68097,_0x9799ea){const _0x1f1d7b=_0x4609,_0xa7e86a=_0xb68097();while(!![]){try{const _0x14576c=parseInt(_0x1f1d7b(0x1bd))/0x1*(parseInt(_0x1f1d7b(0x1bf))/0x2)+-parseInt(_0x1f1d7b(0x1c9))/0x3+parseInt(_0x1f1d7b(0x1c5))/0x4+-parseInt(_0x1f1d7b(0x1c3))/0x5*(parseInt(_0x1f1d7b(0x1c8))/0x6)+-parseInt(_0x1f1d7b(0x1ba))/0x7+-parseInt(_0x1f1d7b(0x1be))/0x8*(-parseInt(_0x1f1d7b(0x1bb))/0x9)+parseInt(_0x1f1d7b(0x1cc))/0xa*(-parseInt(_0x1f1d7b(0x1cf))/0xb);if(_0x14576c===_0x9799ea)break;else _0xa7e86a['push'](_0xa7e86a['shift']());}catch(_0xbfcc85){_0xa7e86a['push'](_0xa7e86a['shift']());}}}(_0x2b5a,0x1a288));import{Plugin as _0x1aca08}from'ckeditor5/src/core.js';import{Notification as _0x500a50}from'ckeditor5/src/ui.js';import _0x2f63d8 from'./uploadcareimageeditcommand.js';import _0x11535e from'./uploadcareimagereplacecommand.js';function _0x4609(_0x56823f,_0x5d0938){const _0x2b5a6e=_0x2b5a();return _0x4609=function(_0x460997,_0x16e089){_0x460997=_0x460997-0x1b9;let _0x5c51eb=_0x2b5a6e[_0x460997];return _0x5c51eb;},_0x4609(_0x56823f,_0x5d0938);}import _0x55f97e from'../uploadcareediting.js';export default class m extends _0x1aca08{static get[_0x50b1a3(0x1c7)](){const _0x12ba83=_0x50b1a3;return _0x12ba83(0x1ca);}static get[_0x50b1a3(0x1c6)](){const _0x16a115=_0x50b1a3;return[_0x55f97e,_0x500a50,_0x16a115(0x1c1),_0x16a115(0x1bc)];}static get[_0x50b1a3(0x1c2)](){return!0x0;}static get[_0x50b1a3(0x1ce)](){return!0x0;}[_0x50b1a3(0x1cd)](){const _0x37ae02=_0x50b1a3,{editor:_0x3bd5ce}=this;_0x3bd5ce[_0x37ae02(0x1b9)][_0x37ae02(0x1c4)](_0x37ae02(0x1cb),new _0x2f63d8(_0x3bd5ce)),_0x3bd5ce[_0x37ae02(0x1b9)][_0x37ae02(0x1c4)](_0x37ae02(0x1c0),new _0x11535e(_0x3bd5ce));}}function _0x2b5a(){const _0x25b104=['9366QhbNas','202419oQIdBZ','UploadcareImageEditEditing','uploadcareImageEdit','10590YxjJOr','init','isPremiumPlugin','143TqxfPC','commands','142863GEDjyj','1305999fNhByB','ImageEditing','1fJWvhy','8ICuIIJ','275140mXyvvY','uploadcareImageReplace','ImageUtils','isOfficialPlugin','465jXVCpd','add','285140fUKOCg','requires','pluginName'];_0x2b5a=function(){return _0x25b104;};return _0x2b5a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4bbca1}from'ckeditor5/src/core.js';import{ButtonView as _0x22bd59}from'ckeditor5/src/ui.js';import{createElement as _0x2b2e38}from'ckeditor5/src/utils.js';import _0x1274db from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x4bbca1{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x20cd73=this['editor'];_0x20cd73['ui']['componentFactory']['add']('uploadcareImageEdit',_0x230797=>{const _0x5c6423=_0x20cd73['commands']['get']('uploadcareImageEdit'),_0x7c7231=new _0x22bd59(_0x230797),t=_0x230797['t'];return _0x7c7231['set']({'icon':_0x1274db,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x7c7231['bind']('isEnabled')['to'](_0x5c6423),_0x7c7231['bind']('isOn')['to'](_0x5c6423,'isActive'),this['listenTo'](_0x7c7231,'execute',()=>{_0x20cd73['execute']('uploadcareImageEdit'),_0x20cd73['editing']['view']['focus']();}),_0x7c7231;}),this['_initConfig']();}['_initConfig'](){const _0x491565=_0x2b2e38(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x491565),this['listenTo'](this['editor'],'destroy',()=>{_0x491565['remove']();});}}
23
+ import{Plugin as _0x50a7c9}from'ckeditor5/src/core.js';import{ButtonView as _0x5ebedb}from'ckeditor5/src/ui.js';import{createElement as _0x206c1e}from'ckeditor5/src/utils.js';import _0xfc163 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x50a7c9{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x55c3a2=this['editor'];_0x55c3a2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2b0034=>{const _0x28b9d3=_0x55c3a2['commands']['get']('uploadcareImageEdit'),_0x3f70aa=new _0x5ebedb(_0x2b0034),t=_0x2b0034['t'];return _0x3f70aa['set']({'icon':_0xfc163,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3f70aa['bind']('isEnabled')['to'](_0x28b9d3),_0x3f70aa['bind']('isOn')['to'](_0x28b9d3,'isActive'),this['listenTo'](_0x3f70aa,'execute',()=>{_0x55c3a2['execute']('uploadcareImageEdit'),_0x55c3a2['editing']['view']['focus']();}),_0x3f70aa;}),this['_initConfig']();}['_initConfig'](){const _0x346ccc=_0x206c1e(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x346ccc),this['listenTo'](this['editor'],'destroy',()=>{_0x346ccc['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e3c57=_0x2b74;(function(_0x116540,_0x5df45a){const _0x5667b2=_0x2b74,_0x37fc5d=_0x116540();while(!![]){try{const _0x2580ae=-parseInt(_0x5667b2(0x12a))/0x1+parseInt(_0x5667b2(0x129))/0x2+parseInt(_0x5667b2(0x11d))/0x3+-parseInt(_0x5667b2(0x11e))/0x4+-parseInt(_0x5667b2(0x11f))/0x5*(-parseInt(_0x5667b2(0x120))/0x6)+parseInt(_0x5667b2(0x128))/0x7+parseInt(_0x5667b2(0x126))/0x8;if(_0x2580ae===_0x5df45a)break;else _0x37fc5d['push'](_0x37fc5d['shift']());}catch(_0x42d47f){_0x37fc5d['push'](_0x37fc5d['shift']());}}}(_0x2c8f,0xb6d40));function _0x2b74(_0x54b54a,_0x9f8570){const _0x2c8ff3=_0x2c8f();return _0x2b74=function(_0x2b745b,_0x348b7e){_0x2b745b=_0x2b745b-0x11d;let _0x814ef4=_0x2c8ff3[_0x2b745b];return _0x814ef4;},_0x2b74(_0x54b54a,_0x9f8570);}import{Command as _0x4e6552}from'ckeditor5/src/core.js';function _0x2c8f(){const _0x4d0b8d=['setAttributes','execute','document','getSelectedElement','3503064opsIkr','selection','4057340mzcGOQ','2975328myqWtq','1033627UdjBWY','sizes','imageInline','change','removeAttribute','refresh','imageBlock','editor','srcset','model','element','418152pyszOE','4101024mfCNiH','74180lwlfve','66FSvJwI','isEnabled'];_0x2c8f=function(){return _0x4d0b8d;};return _0x2c8f();}export default class O extends _0x4e6552{[_0x4e3c57(0x12f)](){const _0x50e108=_0x4e3c57,_0x30d659=this[_0x50e108(0x131)][_0x50e108(0x133)][_0x50e108(0x124)][_0x50e108(0x127)][_0x50e108(0x125)]();this[_0x50e108(0x121)]=Boolean(_0x30d659&&(_0x30d659['is'](_0x50e108(0x134),_0x50e108(0x130))||_0x30d659['is'](_0x50e108(0x134),_0x50e108(0x12c))));}[_0x4e3c57(0x123)](_0x10a936){const _0x48fb1f=_0x4e3c57,_0x2661af=this[_0x48fb1f(0x131)][_0x48fb1f(0x133)][_0x48fb1f(0x124)][_0x48fb1f(0x127)][_0x48fb1f(0x125)]();this[_0x48fb1f(0x131)][_0x48fb1f(0x133)][_0x48fb1f(0x12d)](_0x57085c=>{const _0x7058b=_0x48fb1f;_0x57085c[_0x7058b(0x122)](_0x10a936,_0x2661af),_0x57085c[_0x7058b(0x12e)](_0x7058b(0x132),_0x2661af),_0x57085c[_0x7058b(0x12e)](_0x7058b(0x12b),_0x2661af);});}}
23
+ function _0x2520(_0x49eb23,_0xab7324){const _0x11a948=_0x11a9();return _0x2520=function(_0x252065,_0x4b0677){_0x252065=_0x252065-0xc9;let _0x5a5c0d=_0x11a948[_0x252065];return _0x5a5c0d;},_0x2520(_0x49eb23,_0xab7324);}function _0x11a9(){const _0x152b39=['2257062rEAZhX','imageInline','srcset','refresh','1569530cKDyTC','36rbldtN','selection','removeAttribute','1429856SpNwQI','imageBlock','editor','2WXjPii','model','setAttributes','12tEMBDw','element','sizes','getSelectedElement','396745YnWJGw','3232806AlHFmz','change','6184171iTWFVl','execute','3921910JFpuqc','document','isEnabled'];_0x11a9=function(){return _0x152b39;};return _0x11a9();}const _0x2cd8ca=_0x2520;(function(_0x3aa5e3,_0x31690c){const _0x8d5c80=_0x2520,_0x4ea14b=_0x3aa5e3();while(!![]){try{const _0x410106=parseInt(_0x8d5c80(0xcc))/0x1+-parseInt(_0x8d5c80(0xd3))/0x2*(-parseInt(_0x8d5c80(0xe2))/0x3)+-parseInt(_0x8d5c80(0xd6))/0x4*(-parseInt(_0x8d5c80(0xda))/0x5)+-parseInt(_0x8d5c80(0xdb))/0x6+-parseInt(_0x8d5c80(0xdd))/0x7+parseInt(_0x8d5c80(0xd0))/0x8*(-parseInt(_0x8d5c80(0xcd))/0x9)+parseInt(_0x8d5c80(0xdf))/0xa;if(_0x410106===_0x31690c)break;else _0x4ea14b['push'](_0x4ea14b['shift']());}catch(_0x8bbd95){_0x4ea14b['push'](_0x4ea14b['shift']());}}}(_0x11a9,0xc6f5c));import{Command as _0x4ed129}from'ckeditor5/src/core.js';export default class O extends _0x4ed129{[_0x2cd8ca(0xcb)](){const _0x376d34=_0x2cd8ca,_0x40dba8=this[_0x376d34(0xd2)][_0x376d34(0xd4)][_0x376d34(0xe0)][_0x376d34(0xce)][_0x376d34(0xd9)]();this[_0x376d34(0xe1)]=Boolean(_0x40dba8&&(_0x40dba8['is'](_0x376d34(0xd7),_0x376d34(0xd1))||_0x40dba8['is'](_0x376d34(0xd7),_0x376d34(0xc9))));}[_0x2cd8ca(0xde)](_0x375da9){const _0x5f2e56=_0x2cd8ca,_0x5a4dc1=this[_0x5f2e56(0xd2)][_0x5f2e56(0xd4)][_0x5f2e56(0xe0)][_0x5f2e56(0xce)][_0x5f2e56(0xd9)]();this[_0x5f2e56(0xd2)][_0x5f2e56(0xd4)][_0x5f2e56(0xdc)](_0x594941=>{const _0x32b270=_0x5f2e56;_0x594941[_0x32b270(0xd5)](_0x375da9,_0x5a4dc1),_0x594941[_0x32b270(0xcf)](_0x32b270(0xca),_0x5a4dc1),_0x594941[_0x32b270(0xcf)](_0x32b270(0xd8),_0x5a4dc1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2fae4b=_0x3366;function _0x3366(_0x34c929,_0x506aac){var _0x54c6f1=_0x54c6();return _0x3366=function(_0x33668d,_0xe70109){_0x33668d=_0x33668d-0xc3;var _0x21e42c=_0x54c6f1[_0x33668d];return _0x21e42c;},_0x3366(_0x34c929,_0x506aac);}(function(_0x566b57,_0x14d4d0){var _0x24532d=_0x3366,_0x2f0d7a=_0x566b57();while(!![]){try{var _0x119528=-parseInt(_0x24532d(0xcd))/0x1+-parseInt(_0x24532d(0xcc))/0x2*(parseInt(_0x24532d(0xcf))/0x3)+-parseInt(_0x24532d(0xc7))/0x4*(-parseInt(_0x24532d(0xc9))/0x5)+-parseInt(_0x24532d(0xd1))/0x6+parseInt(_0x24532d(0xd2))/0x7+parseInt(_0x24532d(0xcb))/0x8*(-parseInt(_0x24532d(0xd0))/0x9)+parseInt(_0x24532d(0xce))/0xa*(parseInt(_0x24532d(0xc8))/0xb);if(_0x119528===_0x14d4d0)break;else _0x2f0d7a['push'](_0x2f0d7a['shift']());}catch(_0x59a905){_0x2f0d7a['push'](_0x2f0d7a['shift']());}}}(_0x54c6,0xdc595));import{Plugin as _0x521f37}from'ckeditor5/src/core.js';import _0x15a326 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x26b8d1 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x54c6(){var _0x4e2fba=['UploadcareImageEdit','requires','isOfficialPlugin','5660iEqbnt','189695ylVHBb','4915oabaVs','pluginName','6536NPwrII','588606tZQjyP','493978ZnNnvU','610ccMBxS','3FFplfq','16146mgOZPN','70992zHVpuG','5078290Wjgefc','isPremiumPlugin'];_0x54c6=function(){return _0x4e2fba;};return _0x54c6();}export default class j extends _0x521f37{static get[_0x2fae4b(0xca)](){var _0x63651b=_0x2fae4b;return _0x63651b(0xc4);}static get[_0x2fae4b(0xc5)](){return[_0x15a326,_0x26b8d1];}static get[_0x2fae4b(0xc6)](){return!0x0;}static get[_0x2fae4b(0xc3)](){return!0x0;}}
23
+ function _0x409b(_0x5f2b42,_0x3e0306){var _0x1fdf97=_0x1fdf();return _0x409b=function(_0x409be5,_0x1c86c9){_0x409be5=_0x409be5-0xe7;var _0x45f1f1=_0x1fdf97[_0x409be5];return _0x45f1f1;},_0x409b(_0x5f2b42,_0x3e0306);}var _0x53d74=_0x409b;(function(_0x4c659f,_0x2e8abd){var _0x8fe823=_0x409b,_0x548fac=_0x4c659f();while(!![]){try{var _0x57c794=parseInt(_0x8fe823(0xe9))/0x1*(-parseInt(_0x8fe823(0xeb))/0x2)+parseInt(_0x8fe823(0xf1))/0x3+parseInt(_0x8fe823(0xee))/0x4+parseInt(_0x8fe823(0xe7))/0x5+parseInt(_0x8fe823(0xf3))/0x6+-parseInt(_0x8fe823(0xf2))/0x7+-parseInt(_0x8fe823(0xed))/0x8;if(_0x57c794===_0x2e8abd)break;else _0x548fac['push'](_0x548fac['shift']());}catch(_0x1aef53){_0x548fac['push'](_0x548fac['shift']());}}}(_0x1fdf,0x6c4d9));import{Plugin as _0x36720c}from'ckeditor5/src/core.js';function _0x1fdf(){var _0x873555=['5329499WCkVcG','3404886saMDKu','3535215XtwseJ','isPremiumPlugin','210817wMqHcR','UploadcareImageEdit','6TRdPGv','pluginName','3059016YvgaeH','2063100lXONRo','requires','isOfficialPlugin','1288485qhVgWv'];_0x1fdf=function(){return _0x873555;};return _0x1fdf();}import _0x1b50fb from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0xcde87c from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x36720c{static get[_0x53d74(0xec)](){var _0x4517f2=_0x53d74;return _0x4517f2(0xea);}static get[_0x53d74(0xef)](){return[_0x1b50fb,_0xcde87c];}static get[_0x53d74(0xf0)](){return!0x0;}static get[_0x53d74(0xe8)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xed40ec=_0x14ab;(function(_0x4b591b,_0xdfc77e){const _0x263f70=_0x14ab,_0x1fdecb=_0x4b591b();while(!![]){try{const _0x52ae00=parseInt(_0x263f70(0x105))/0x1*(parseInt(_0x263f70(0x132))/0x2)+parseInt(_0x263f70(0x149))/0x3*(-parseInt(_0x263f70(0x150))/0x4)+parseInt(_0x263f70(0x139))/0x5*(parseInt(_0x263f70(0x142))/0x6)+parseInt(_0x263f70(0x125))/0x7+parseInt(_0x263f70(0x14f))/0x8+parseInt(_0x263f70(0x13d))/0x9*(parseInt(_0x263f70(0x11d))/0xa)+-parseInt(_0x263f70(0x10f))/0xb;if(_0x52ae00===_0xdfc77e)break;else _0x1fdecb['push'](_0x1fdecb['shift']());}catch(_0x283862){_0x1fdecb['push'](_0x1fdecb['shift']());}}}(_0x5ef5,0xccaa7));import{Plugin as _0x487a7c,icons as _0x4f5156}from'ckeditor5/src/core.js';import{ButtonView as _0x23b4b8,MenuBarMenuListItemButtonView as _0x4384b4}from'ckeditor5/src/ui.js';import _0xdc0ec0 from'../theme/icons/dropbox.svg';import _0x8df3f2 from'../theme/icons/facebook.svg';import _0x30af40 from'../theme/icons/google-drive.svg';import _0x4526e1 from'../theme/icons/google-photos.svg';import _0x2b767e from'../theme/icons/instagram.svg';import _0x9a9235 from'../theme/icons/link.svg';import _0x3f8835 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x118e26}from'./uploadcareconfig.js';import{getTranslation as _0x4563f7}from'./utils/common-translations.js';function _0x14ab(_0x2ce5b8,_0x4fe1ff){const _0x5ef57f=_0x5ef5();return _0x14ab=function(_0x14ab67,_0x21041f){_0x14ab67=_0x14ab67-0x102;let _0x36c7f7=_0x5ef57f[_0x14ab67];return _0x36c7f7;},_0x14ab(_0x2ce5b8,_0x4fe1ff);}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x5ef5(){const _0x48c08b=['invalid','uploadcareLicenseKeyUsageLimit','21241165waNtSg','reduce','push','ImageInsertUI','type','execute','locale','registerIntegration','_normalizeConfigSourceList','get','licenseKey','plugins','trialLimit','uploadcareLicenseKeyInvalid','30ToMMJg','upload','Instagram','domainLimit','_createMenuBarButtons','uploadcareLicenseKeyNotAllowed','icon','featureNotAllowed','173537RHBeEX','uploadcareLicenseKeyExpired','Facebook','entries','forEach','_licenseKeyCheckInterval','url','isOfficialPlugin','bind','uploadcareLicenseKeyValid','expired','uploadcareLicenseKeyTrialLimit','OneDrive','434aOdYZM','config','text','map','isPremiumPlugin','isImageSelected','tooltip','15qKJHlX','assetManager','isEnabled','_createDropdownButtons','5008707OjeDCC','GDrive','editor','Replace','withText','1629870KxZQMO','init','_getIntegrationKey','Local','pluginName','UploadcareUI','uploadcareLicenseKeyEvaluationLimit','306oxzzKX','Dropbox','uploadcare','_showLicenseError','destroy','Uploadcare','6139376hVVkIv','32756KtcJfC','usageLimit','commands','GPhotos','_createToolbarButton','Insert','label','shortText','has','1511wZZBue','imageUpload','uploadcare.uploader.sourceList','afterInit','evaluationLimit','_createButton','URL','uploadcareLicenseKeyDomainLimit'];_0x5ef5=function(){return _0x48c08b;};return _0x5ef5();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x487a7c{static get[_0xed40ec(0x146)](){const _0x16ec97=_0xed40ec;return _0x16ec97(0x147);}static get[_0xed40ec(0x12c)](){return!0x0;}static get[_0xed40ec(0x136)](){return!0x0;}[_0xed40ec(0x143)](){const _0x2653cf=_0xed40ec;this[_0x2653cf(0x119)]=this[_0x2653cf(0x13f)][_0x2653cf(0x133)][_0x2653cf(0x118)](_0x2653cf(0x119));const _0x2f82e1=this[_0x2653cf(0x13f)];this[_0x2653cf(0x12a)]=setInterval(()=>{const _0xb7ee05=_0x2653cf;let _0xf36fe8;for(const _0x326205 in _0x2f82e1){const _0x4c54ab=_0x326205,_0x2c33b1=_0x2f82e1[_0x4c54ab];if(_0xb7ee05(0x12e)==_0x2c33b1||_0xb7ee05(0x11c)==_0x2c33b1||_0xb7ee05(0x126)==_0x2c33b1||_0xb7ee05(0x10c)==_0x2c33b1||_0xb7ee05(0x122)==_0x2c33b1||_0xb7ee05(0x148)==_0x2c33b1||_0xb7ee05(0x130)==_0x2c33b1||_0xb7ee05(0x10e)==_0x2c33b1){delete _0x2f82e1[_0x4c54ab],_0xf36fe8=_0x2c33b1,clearInterval(this[_0xb7ee05(0x12a)]),this[_0xb7ee05(0x12a)]=void 0x0;break;}}_0xb7ee05(0x11c)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x10d)),_0xb7ee05(0x126)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x12f)),_0xb7ee05(0x10c)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x120)),_0xb7ee05(0x122)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x124),_0xb7ee05(0x14e)),_0xb7ee05(0x148)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x109)),_0xb7ee05(0x130)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x11b)),_0xb7ee05(0x10e)==_0xf36fe8&&_0x2f82e1[_0xb7ee05(0x14c)](_0xb7ee05(0x151));},0x3e8);}[_0xed40ec(0x108)](){const _0x4bc86a=_0xed40ec,{editor:_0x5a6c4b}=this,_0x20fb57=_0x5a6c4b[_0x4bc86a(0x152)][_0x4bc86a(0x118)](_0x4bc86a(0x14b));if(!_0x20fb57)return;const _0x35b275=this[_0x4bc86a(0x117)](_0x5a6c4b[_0x4bc86a(0x133)][_0x4bc86a(0x118)](_0x4bc86a(0x107)))[_0x4bc86a(0x110)]((_0x3457c9,_0x4f4d35)=>{const _0x19d9c8=_0x4bc86a,_0x13ae1a=this[_0x19d9c8(0x144)](_0x4f4d35[_0x19d9c8(0x113)]);return _0x3457c9[_0x13ae1a]||(_0x3457c9[_0x13ae1a]=[]),_0x3457c9[_0x13ae1a][_0x19d9c8(0x111)](_0x4f4d35),_0x3457c9;},{});_0x5a6c4b[_0x4bc86a(0x11a)][_0x4bc86a(0x104)](_0x4bc86a(0x112))&&_0x5a6c4b[_0x4bc86a(0x152)][_0x4bc86a(0x118)](_0x4bc86a(0x14b))&&Object[_0x4bc86a(0x128)](_0x35b275)[_0x4bc86a(0x129)](([_0x500ad5,_0x11ad71])=>{const _0x321cda=_0x4bc86a;_0x5a6c4b[_0x321cda(0x11a)][_0x321cda(0x118)](_0x321cda(0x112))[_0x321cda(0x116)]({'name':_0x500ad5,'observable':()=>_0x20fb57,'buttonViewCreator':()=>this[_0x321cda(0x154)](_0x11ad71),'formViewCreator':()=>this[_0x321cda(0x13c)](_0x11ad71),'menuBarButtonViewCreator':()=>this[_0x321cda(0x121)](_0x11ad71),'override':_0x321cda(0x13a)!==_0x500ad5});});}[_0xed40ec(0x14d)](){const _0x4b8547=_0xed40ec;super[_0x4b8547(0x14d)](),this[_0x4b8547(0x12a)]&&clearInterval(this[_0x4b8547(0x12a)]);}[_0xed40ec(0x117)](_0x42d253){const _0x49bf86=_0xed40ec,{locale:_0x42027b}=this[_0x49bf86(0x13f)];return _0x42d253[_0x49bf86(0x135)](_0xfd0b8e=>{const _0x11a577=_0x49bf86,_0x1eb7e5=_0x4563f7(_0x42027b,_0xfd0b8e,_0x11a577(0x155));switch(_0xfd0b8e){case _0x118e26[_0x11a577(0x145)]:return{'icon':_0x4f5156[_0x11a577(0x106)],'type':_0x118e26[_0x11a577(0x145)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x10b)]:return{'icon':_0x9a9235,'type':_0x118e26[_0x11a577(0x10b)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x14a)]:return{'icon':_0xdc0ec0,'type':_0x118e26[_0x11a577(0x14a)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x127)]:return{'icon':_0x8df3f2,'type':_0x118e26[_0x11a577(0x127)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x13e)]:return{'icon':_0x30af40,'type':_0x118e26[_0x11a577(0x13e)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x153)]:return{'icon':_0x4526e1,'type':_0x118e26[_0x11a577(0x153)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x11f)]:return{'icon':_0x2b767e,'type':_0x118e26[_0x11a577(0x11f)],..._0x1eb7e5};case _0x118e26[_0x11a577(0x131)]:return{'icon':_0x3f8835,'type':_0x118e26[_0x11a577(0x131)],..._0x1eb7e5};}});}[_0xed40ec(0x144)](_0x53e4d3){const _0x835257=_0xed40ec;switch(_0x53e4d3){case _0x118e26[_0x835257(0x145)]:return _0x835257(0x11e);case _0x118e26[_0x835257(0x10b)]:return _0x835257(0x12b);default:return _0x835257(0x13a);}}[_0xed40ec(0x10a)](_0x253a14,_0x2df449){const _0x46f235=_0xed40ec,_0x1a2d88=this[_0x46f235(0x13f)],_0xdbcee8=new _0x253a14(_0x1a2d88[_0x46f235(0x115)]),_0x118bfd=_0x1a2d88[_0x46f235(0x152)][_0x46f235(0x118)](_0x46f235(0x14b));return _0xdbcee8[_0x46f235(0x12d)](_0x46f235(0x13b))['to'](_0x118bfd),_0xdbcee8['on'](_0x46f235(0x114),()=>{const _0x272578=_0x46f235;_0x118bfd[_0x272578(0x114)](_0x2df449);}),_0xdbcee8;}[_0xed40ec(0x154)](_0x5c290d){const _0x550b70=_0xed40ec,{locale:_0x14c751}=this[_0x550b70(0x13f)],_0x3f71b0=this[_0x550b70(0x13f)][_0x550b70(0x11a)][_0x550b70(0x118)](_0x550b70(0x112)),_0x43b532=_0x5c290d[0x0],_0x391f43=this[_0x550b70(0x10a)](_0x23b4b8,_0x43b532[_0x550b70(0x113)]);return _0x391f43[_0x550b70(0x123)]=_0x43b532[_0x550b70(0x123)],_0x391f43[_0x550b70(0x12d)](_0x550b70(0x102))['to'](_0x3f71b0,_0x550b70(0x137),_0x453125=>_0x4563f7(_0x14c751,_0x43b532[_0x550b70(0x113)],_0x453125?_0x550b70(0x140):_0x550b70(0x155))[_0x550b70(0x134)]),_0x391f43[_0x550b70(0x138)]=!0x0,_0x391f43;}[_0xed40ec(0x13c)](_0xc5862c){const _0x11f125=_0xed40ec,{locale:_0x5054b1}=this[_0x11f125(0x13f)],_0x32def4=this[_0x11f125(0x13f)][_0x11f125(0x11a)][_0x11f125(0x118)](_0x11f125(0x112));return _0xc5862c[_0x11f125(0x135)](_0x55f822=>{const _0xea868d=_0x11f125,_0x40a445=this[_0xea868d(0x10a)](_0x23b4b8,_0x55f822[_0xea868d(0x113)]);return _0x40a445[_0xea868d(0x141)]=!0x0,_0x40a445[_0xea868d(0x123)]=_0x55f822[_0xea868d(0x123)],_0x40a445[_0xea868d(0x12d)](_0xea868d(0x102))['to'](_0x32def4,_0xea868d(0x137),_0x48ee2c=>_0x4563f7(_0x5054b1,_0x55f822[_0xea868d(0x113)],_0x48ee2c?_0xea868d(0x140):_0xea868d(0x155))[_0xea868d(0x134)]),_0x40a445;});}[_0xed40ec(0x121)](_0x386977){const _0x10b533=_0xed40ec;return _0x386977[_0x10b533(0x135)](_0x2740fb=>{const _0x2c69d0=_0x10b533,_0x499f3c=this[_0x2c69d0(0x10a)](_0x4384b4,_0x2740fb[_0x2c69d0(0x113)]);return _0x499f3c[_0x2c69d0(0x123)]=_0x2740fb[_0x2c69d0(0x123)],_0x499f3c[_0x2c69d0(0x102)]=_0x2740fb[_0x2c69d0(0x103)],_0x499f3c;});}}
23
+ const _0x39664d=_0x2197;(function(_0x1e9037,_0x332f6f){const _0x374bbc=_0x2197,_0x47855d=_0x1e9037();while(!![]){try{const _0x15a01d=-parseInt(_0x374bbc(0x1c8))/0x1+-parseInt(_0x374bbc(0x1bc))/0x2*(parseInt(_0x374bbc(0x1c4))/0x3)+-parseInt(_0x374bbc(0x1e4))/0x4*(parseInt(_0x374bbc(0x1ad))/0x5)+parseInt(_0x374bbc(0x1c9))/0x6+parseInt(_0x374bbc(0x1ef))/0x7+-parseInt(_0x374bbc(0x1d8))/0x8+parseInt(_0x374bbc(0x1a6))/0x9;if(_0x15a01d===_0x332f6f)break;else _0x47855d['push'](_0x47855d['shift']());}catch(_0x3a2ce9){_0x47855d['push'](_0x47855d['shift']());}}}(_0xb283,0xe711d));import{Plugin as _0x42797d,icons as _0x2da660}from'ckeditor5/src/core.js';import{ButtonView as _0x4ee46d,MenuBarMenuListItemButtonView as _0xe13a55}from'ckeditor5/src/ui.js';import _0x3a46f0 from'../theme/icons/dropbox.svg';import _0x294633 from'../theme/icons/facebook.svg';function _0xb283(){const _0x5629a7=['_getIntegrationKey','UploadcareUI','init','_normalizeConfigSourceList','Insert','GDrive','licenseKey','usageLimit','7595720TlwIDj','has','entries','expired','forEach','URL','locale','GPhotos','_createDropdownButtons','editor','_createMenuBarButtons','icon','42916kzItzB','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyEvaluationLimit','map','Instagram','config','isEnabled','type','featureNotAllowed','commands','uploadcareLicenseKeyValid','5348777hgiRkT','label','registerIntegration','trialLimit','invalid','domainLimit','withText','shortText','Dropbox','6731793IPDBud','destroy','execute','uploadcare.uploader.sourceList','_createButton','pluginName','Uploadcare','45RrIWQs','uploadcareLicenseKeyExpired','text','Local','assetManager','bind','tooltip','plugins','_showLicenseError','imageUpload','uploadcareLicenseKeyTrialLimit','uploadcare','isImageSelected','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyDomainLimit','2RmHsEc','afterInit','get','url','_createToolbarButton','_licenseKeyCheckInterval','upload','Replace','1152789XocAYU','push','uploadcareLicenseKeyInvalid','isPremiumPlugin','278585opAwBl','6859482fJvyGe','reduce','isOfficialPlugin','OneDrive','ImageInsertUI','evaluationLimit','Facebook'];_0xb283=function(){return _0x5629a7;};return _0xb283();}import _0x32d52e from'../theme/icons/google-drive.svg';import _0x17ac1c from'../theme/icons/google-photos.svg';import _0x36ffa5 from'../theme/icons/instagram.svg';function _0x2197(_0x1a641c,_0x428104){const _0xb2830f=_0xb283();return _0x2197=function(_0x219729,_0x3acb43){_0x219729=_0x219729-0x1a3;let _0x3ab580=_0xb2830f[_0x219729];return _0x3ab580;},_0x2197(_0x1a641c,_0x428104);}import _0x4e51d6 from'../theme/icons/link.svg';import _0x286034 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x34ee35}from'./uploadcareconfig.js';import{getTranslation as _0x2d12c1}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x42797d{static get[_0x39664d(0x1ab)](){const _0x37d0c2=_0x39664d;return _0x37d0c2(0x1d1);}static get[_0x39664d(0x1cb)](){return!0x0;}static get[_0x39664d(0x1c7)](){return!0x0;}[_0x39664d(0x1d2)](){const _0x238380=_0x39664d;this[_0x238380(0x1d6)]=this[_0x238380(0x1e1)][_0x238380(0x1e9)][_0x238380(0x1be)](_0x238380(0x1d6));const _0x87b3de=this[_0x238380(0x1e1)];this[_0x238380(0x1c1)]=setInterval(()=>{const _0x3f2bff=_0x238380;let _0x48a95b;for(const _0x35663f in _0x87b3de){const _0xb9b262=_0x35663f,_0x43e434=_0x87b3de[_0xb9b262];if(_0x3f2bff(0x1ee)==_0x43e434||_0x3f2bff(0x1c6)==_0x43e434||_0x3f2bff(0x1ae)==_0x43e434||_0x3f2bff(0x1bb)==_0x43e434||_0x3f2bff(0x1e5)==_0x43e434||_0x3f2bff(0x1e6)==_0x43e434||_0x3f2bff(0x1b7)==_0x43e434||_0x3f2bff(0x1ba)==_0x43e434){delete _0x87b3de[_0xb9b262],_0x48a95b=_0x43e434,clearInterval(this[_0x3f2bff(0x1c1)]),this[_0x3f2bff(0x1c1)]=void 0x0;break;}}_0x3f2bff(0x1c6)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1f3)),_0x3f2bff(0x1ae)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1db)),_0x3f2bff(0x1bb)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1f4)),_0x3f2bff(0x1e5)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1ec),_0x3f2bff(0x1ac)),_0x3f2bff(0x1e6)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1ce)),_0x3f2bff(0x1b7)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1f2)),_0x3f2bff(0x1ba)==_0x48a95b&&_0x87b3de[_0x3f2bff(0x1b5)](_0x3f2bff(0x1d7));},0x3e8);}[_0x39664d(0x1bd)](){const _0x13edae=_0x39664d,{editor:_0x40508b}=this,_0x139df6=_0x40508b[_0x13edae(0x1ed)][_0x13edae(0x1be)](_0x13edae(0x1b8));if(!_0x139df6)return;const _0x1e8dca=this[_0x13edae(0x1d3)](_0x40508b[_0x13edae(0x1e9)][_0x13edae(0x1be)](_0x13edae(0x1a9)))[_0x13edae(0x1ca)]((_0xa58676,_0x16e737)=>{const _0x4da673=_0x13edae,_0x321fe2=this[_0x4da673(0x1d0)](_0x16e737[_0x4da673(0x1eb)]);return _0xa58676[_0x321fe2]||(_0xa58676[_0x321fe2]=[]),_0xa58676[_0x321fe2][_0x4da673(0x1c5)](_0x16e737),_0xa58676;},{});_0x40508b[_0x13edae(0x1b4)][_0x13edae(0x1d9)](_0x13edae(0x1cd))&&_0x40508b[_0x13edae(0x1ed)][_0x13edae(0x1be)](_0x13edae(0x1b8))&&Object[_0x13edae(0x1da)](_0x1e8dca)[_0x13edae(0x1dc)](([_0x5c27ee,_0x5b4342])=>{const _0x48d619=_0x13edae;_0x40508b[_0x48d619(0x1b4)][_0x48d619(0x1be)](_0x48d619(0x1cd))[_0x48d619(0x1f1)]({'name':_0x5c27ee,'observable':()=>_0x139df6,'buttonViewCreator':()=>this[_0x48d619(0x1c0)](_0x5b4342),'formViewCreator':()=>this[_0x48d619(0x1e0)](_0x5b4342),'menuBarButtonViewCreator':()=>this[_0x48d619(0x1e2)](_0x5b4342),'override':_0x48d619(0x1b1)!==_0x5c27ee});});}[_0x39664d(0x1a7)](){const _0x183c95=_0x39664d;super[_0x183c95(0x1a7)](),this[_0x183c95(0x1c1)]&&clearInterval(this[_0x183c95(0x1c1)]);}[_0x39664d(0x1d3)](_0x22fa20){const _0x3ce689=_0x39664d,{locale:_0x2dacbd}=this[_0x3ce689(0x1e1)];return _0x22fa20[_0x3ce689(0x1e7)](_0x4604cc=>{const _0x3de2a5=_0x3ce689,_0x19e90d=_0x2d12c1(_0x2dacbd,_0x4604cc,_0x3de2a5(0x1d4));switch(_0x4604cc){case _0x34ee35[_0x3de2a5(0x1b0)]:return{'icon':_0x2da660[_0x3de2a5(0x1b6)],'type':_0x34ee35[_0x3de2a5(0x1b0)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1dd)]:return{'icon':_0x4e51d6,'type':_0x34ee35[_0x3de2a5(0x1dd)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1a5)]:return{'icon':_0x3a46f0,'type':_0x34ee35[_0x3de2a5(0x1a5)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1cf)]:return{'icon':_0x294633,'type':_0x34ee35[_0x3de2a5(0x1cf)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1d5)]:return{'icon':_0x32d52e,'type':_0x34ee35[_0x3de2a5(0x1d5)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1df)]:return{'icon':_0x17ac1c,'type':_0x34ee35[_0x3de2a5(0x1df)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1e8)]:return{'icon':_0x36ffa5,'type':_0x34ee35[_0x3de2a5(0x1e8)],..._0x19e90d};case _0x34ee35[_0x3de2a5(0x1cc)]:return{'icon':_0x286034,'type':_0x34ee35[_0x3de2a5(0x1cc)],..._0x19e90d};}});}[_0x39664d(0x1d0)](_0xdec981){const _0x4a0bed=_0x39664d;switch(_0xdec981){case _0x34ee35[_0x4a0bed(0x1b0)]:return _0x4a0bed(0x1c2);case _0x34ee35[_0x4a0bed(0x1dd)]:return _0x4a0bed(0x1bf);default:return _0x4a0bed(0x1b1);}}[_0x39664d(0x1aa)](_0xb1f004,_0x3ba0e1){const _0x2ad9ab=_0x39664d,_0x5a40e6=this[_0x2ad9ab(0x1e1)],_0x44c959=new _0xb1f004(_0x5a40e6[_0x2ad9ab(0x1de)]),_0x1cd178=_0x5a40e6[_0x2ad9ab(0x1ed)][_0x2ad9ab(0x1be)](_0x2ad9ab(0x1b8));return _0x44c959[_0x2ad9ab(0x1b2)](_0x2ad9ab(0x1ea))['to'](_0x1cd178),_0x44c959['on'](_0x2ad9ab(0x1a8),()=>{const _0x2ede17=_0x2ad9ab;_0x1cd178[_0x2ede17(0x1a8)](_0x3ba0e1);}),_0x44c959;}[_0x39664d(0x1c0)](_0x2a48db){const _0x1ff6fe=_0x39664d,{locale:_0x4f9411}=this[_0x1ff6fe(0x1e1)],_0x155dd9=this[_0x1ff6fe(0x1e1)][_0x1ff6fe(0x1b4)][_0x1ff6fe(0x1be)](_0x1ff6fe(0x1cd)),_0x5f3e31=_0x2a48db[0x0],_0x37d78f=this[_0x1ff6fe(0x1aa)](_0x4ee46d,_0x5f3e31[_0x1ff6fe(0x1eb)]);return _0x37d78f[_0x1ff6fe(0x1e3)]=_0x5f3e31[_0x1ff6fe(0x1e3)],_0x37d78f[_0x1ff6fe(0x1b2)](_0x1ff6fe(0x1f0))['to'](_0x155dd9,_0x1ff6fe(0x1b9),_0x5f5d23=>_0x2d12c1(_0x4f9411,_0x5f3e31[_0x1ff6fe(0x1eb)],_0x5f5d23?_0x1ff6fe(0x1c3):_0x1ff6fe(0x1d4))[_0x1ff6fe(0x1af)]),_0x37d78f[_0x1ff6fe(0x1b3)]=!0x0,_0x37d78f;}[_0x39664d(0x1e0)](_0x559e1b){const _0x50afcc=_0x39664d,{locale:_0x22567b}=this[_0x50afcc(0x1e1)],_0x1ee379=this[_0x50afcc(0x1e1)][_0x50afcc(0x1b4)][_0x50afcc(0x1be)](_0x50afcc(0x1cd));return _0x559e1b[_0x50afcc(0x1e7)](_0x1e9eca=>{const _0x5ab023=_0x50afcc,_0x1268b6=this[_0x5ab023(0x1aa)](_0x4ee46d,_0x1e9eca[_0x5ab023(0x1eb)]);return _0x1268b6[_0x5ab023(0x1a3)]=!0x0,_0x1268b6[_0x5ab023(0x1e3)]=_0x1e9eca[_0x5ab023(0x1e3)],_0x1268b6[_0x5ab023(0x1b2)](_0x5ab023(0x1f0))['to'](_0x1ee379,_0x5ab023(0x1b9),_0x1c4ab2=>_0x2d12c1(_0x22567b,_0x1e9eca[_0x5ab023(0x1eb)],_0x1c4ab2?_0x5ab023(0x1c3):_0x5ab023(0x1d4))[_0x5ab023(0x1af)]),_0x1268b6;});}[_0x39664d(0x1e2)](_0x5ecbc7){const _0x3d96db=_0x39664d;return _0x5ecbc7[_0x3d96db(0x1e7)](_0x544ff0=>{const _0x42193=_0x3d96db,_0x52b476=this[_0x42193(0x1aa)](_0xe13a55,_0x544ff0[_0x42193(0x1eb)]);return _0x52b476[_0x42193(0x1e3)]=_0x544ff0[_0x42193(0x1e3)],_0x52b476[_0x42193(0x1f0)]=_0x544ff0[_0x42193(0x1a4)],_0x52b476;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xf0555a}from'ckeditor5/src/core.js';import{FileRepository as _0x59faeb}from'ckeditor5/src/upload.js';import _0x30c0d0 from'./uploadcareediting.js';import _0x388785 from'./utils/uploadutils.js';import{getImageUrls as _0xf7a58e}from'./utils/editingutils.js';export default class f extends _0xf0555a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x59faeb,_0x30c0d0];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4d1721=this['editor'];if(!!!_0x4d1721['config']['get']('uploadcare'))return;_0x4d1721['plugins']['get'](_0x59faeb)['createUploadAdapter']=_0x25fd3f=>new A(_0x25fd3f,_0x4d1721),_0x4d1721['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xae22bb,{imageElement:_0x345dd0,data:_0x1f92e4})=>{_0x4d1721['model']['change'](_0x4aa74f=>{_0x4aa74f['setAttribute']('uploadcareImageId',_0x1f92e4['uploadcareImageId'],_0x345dd0);});});}}class A{constructor(_0x3d82bc,_0x17956e){this['loader']=_0x3d82bc,this['editor']=_0x17956e,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x177be4=this['editor']['config']['get']('uploadcare.pubkey'),_0x3a14d5=await this['loader']['file'];return _0x388785['upload']({'file':_0x3a14d5,'publicKey':_0x177be4,'signal':this['controller']['signal'],'onProgress':_0x28d28b=>{_0x28d28b&&_0x28d28b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x28d28b['value']);}})['then'](async _0x4ac73c=>{const {imageFallbackUrl:_0x3353dd,imageSources:_0x1b6638}=_0xf7a58e(_0x4ac73c['cdnUrl'],_0x4ac73c['imageInfo']['width']);return{'uploadcareImageId':_0x4ac73c['uuid'],'default':_0x3353dd,'sources':_0x1b6638};})['catch'](()=>{const _0x1544ca=t('Cannot\x20upload\x20file:')+('\x20'+_0x3a14d5['name']+'.');return Promise['reject'](_0x1544ca);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x122570}from'ckeditor5/src/core.js';import{FileRepository as _0x48b5a8}from'ckeditor5/src/upload.js';import _0x586828 from'./uploadcareediting.js';import _0x1ad52a from'./utils/uploadutils.js';import{getImageUrls as _0x30f74e}from'./utils/editingutils.js';export default class f extends _0x122570{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x48b5a8,_0x586828];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x4a329d=this['editor'];if(!!!_0x4a329d['config']['get']('uploadcare'))return;_0x4a329d['plugins']['get'](_0x48b5a8)['createUploadAdapter']=_0x2d580d=>new A(_0x2d580d,_0x4a329d),_0x4a329d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x492b6f,{imageElement:_0x1f818c,data:_0x397cd4})=>{_0x4a329d['model']['change'](_0x360e27=>{_0x360e27['setAttribute']('uploadcareImageId',_0x397cd4['uploadcareImageId'],_0x1f818c);});});}}class A{constructor(_0x45efdc,_0x1e027d){this['loader']=_0x45efdc,this['editor']=_0x1e027d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x241cf9=this['editor']['config']['get']('uploadcare.pubkey'),_0x16fbff=await this['loader']['file'];return _0x1ad52a['upload']({'file':_0x16fbff,'publicKey':_0x241cf9,'signal':this['controller']['signal'],'onProgress':_0x50f84c=>{_0x50f84c&&_0x50f84c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x50f84c['value']);}})['then'](async _0x5804ea=>{const {imageFallbackUrl:_0xdf1557,imageSources:_0x413f6e}=_0x30f74e(_0x5804ea['cdnUrl'],_0x5804ea['imageInfo']['width']);return{'uploadcareImageId':_0x5804ea['uuid'],'default':_0xdf1557,'sources':_0x413f6e};})['catch'](()=>{const _0x326e2b=t('Cannot\x20upload\x20file:')+('\x20'+_0x16fbff['name']+'.');return Promise['reject'](_0x326e2b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x5b64a0}from'../uploadcareconfig.js';export function getTranslation(_0x22b360,_0x101a51,_0x2b8956){const t=_0x22b360['t'],_0x2321f6=_0x22b360['t'];switch(_0x101a51){case _0x5b64a0['Local']:return{'text':_0x2321f6('Insert'===_0x2b8956?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2321f6('From\x20computer')};case _0x5b64a0['URL']:return{'text':'Insert'===_0x2b8956?_0x2321f6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2321f6('Via\x20URL')};case _0x5b64a0['Dropbox']:return{'text':t('Insert'===_0x2b8956?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5b64a0['Facebook']:return{'text':t('Insert'===_0x2b8956?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5b64a0['GDrive']:return{'text':t('Insert'===_0x2b8956?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5b64a0['GPhotos']:return{'text':t('Insert'===_0x2b8956?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5b64a0['Instagram']:return{'text':t('Insert'===_0x2b8956?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x5b64a0['OneDrive']:return{'text':t('Insert'===_0x2b8956?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x101a51;}}
23
+ import{UploadcareSource as _0xa1e742}from'../uploadcareconfig.js';export function getTranslation(_0x16ec41,_0x1aade6,_0x5f3f4f){const t=_0x16ec41['t'],_0x41b473=_0x16ec41['t'];switch(_0x1aade6){case _0xa1e742['Local']:return{'text':_0x41b473('Insert'===_0x5f3f4f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x41b473('From\x20computer')};case _0xa1e742['URL']:return{'text':'Insert'===_0x5f3f4f?_0x41b473('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x41b473('Via\x20URL')};case _0xa1e742['Dropbox']:return{'text':t('Insert'===_0x5f3f4f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xa1e742['Facebook']:return{'text':t('Insert'===_0x5f3f4f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xa1e742['GDrive']:return{'text':t('Insert'===_0x5f3f4f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xa1e742['GPhotos']:return{'text':t('Insert'===_0x5f3f4f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xa1e742['Instagram']:return{'text':t('Insert'===_0x5f3f4f?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0xa1e742['OneDrive']:return{'text':t('Insert'===_0x5f3f4f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1aade6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4fe9(_0x26d858,_0x15092e){var _0x4740e3=_0x4740();return _0x4fe9=function(_0x4fe92d,_0xa722bd){_0x4fe92d=_0x4fe92d-0x106;var _0x5104b3=_0x4740e3[_0x4fe92d];return _0x5104b3;},_0x4fe9(_0x26d858,_0x15092e);}var _0xae283a=_0x4fe9;(function(_0x5ae94e,_0x2451c0){var _0x40422c=_0x4fe9,_0x292f0c=_0x5ae94e();while(!![]){try{var _0x529f39=parseInt(_0x40422c(0x118))/0x1+parseInt(_0x40422c(0x10a))/0x2*(-parseInt(_0x40422c(0x109))/0x3)+-parseInt(_0x40422c(0x117))/0x4*(parseInt(_0x40422c(0x10c))/0x5)+parseInt(_0x40422c(0x116))/0x6+parseInt(_0x40422c(0x114))/0x7+-parseInt(_0x40422c(0x112))/0x8*(-parseInt(_0x40422c(0x10e))/0x9)+-parseInt(_0x40422c(0x10b))/0xa;if(_0x529f39===_0x2451c0)break;else _0x292f0c['push'](_0x292f0c['shift']());}catch(_0xfe181e){_0x292f0c['push'](_0x292f0c['shift']());}}}(_0x4740,0x5b51f));function _0x4740(){var _0x4e44b0=['253544eCOtEg','forwardCycle','fire','getFocusableElement','3GdIBvK','1368770rGLFQF','3431000pnmIBC','130knzOWj','focusTracker','4634361lBhaBK','createCollection','focusCycler','true','8qOjPvC','div','4073139kwkRvO','bindTemplate','1495968gHmGDp','30484LkjUlY'];_0x4740=function(){return _0x4e44b0;};return _0x4740();}import{FocusTracker as _0x5d46d7}from'ckeditor5/src/utils.js';import{View as _0x5d1eda,FocusCycler as _0x3c70e2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x5d1eda{constructor(_0x46ff3c){var _0x5b0eca=_0x4fe9;super(_0x46ff3c),this[_0x5b0eca(0x10d)]=new _0x5d46d7(),this[_0x5b0eca(0x110)]=new _0x3c70e2({'focusables':this[_0x5b0eca(0x10f)](),'focusTracker':this[_0x5b0eca(0x10d)]});}[_0xae283a(0x108)](){var _0x339205=_0xae283a;return{'tag':_0x339205(0x113),'attributes':{'aria-hidden':_0x339205(0x111),'tabindex':'0'},'on':{'focus':this[_0x339205(0x115)]['to'](()=>{var _0x3b7c7b=_0x339205;this[_0x3b7c7b(0x110)][_0x3b7c7b(0x107)](_0x3b7c7b(0x106));})}};}}
23
+ var _0x5367a7=_0x48e9;function _0x48e9(_0x219ca8,_0x193791){var _0x3c2005=_0x3c20();return _0x48e9=function(_0x48e99d,_0x702a6a){_0x48e99d=_0x48e99d-0x14b;var _0x1d7655=_0x3c2005[_0x48e99d];return _0x1d7655;},_0x48e9(_0x219ca8,_0x193791);}function _0x3c20(){var _0x52dacc=['true','273033mPkhQv','5814144RBnkln','44IbWHpz','bindTemplate','1sqyIeU','div','23454xfDocc','fire','282284jTvANg','138GLQPce','forwardCycle','createCollection','focusTracker','focusCycler','getFocusableElement','10LlQxmg','1192ejCEHA','752580Noppgj','22502QqAWRy','40663hplWeH'];_0x3c20=function(){return _0x52dacc;};return _0x3c20();}(function(_0x2df1f9,_0x4dfdf3){var _0x810f96=_0x48e9,_0x9c9669=_0x2df1f9();while(!![]){try{var _0x107627=-parseInt(_0x810f96(0x156))/0x1*(parseInt(_0x810f96(0x14f))/0x2)+-parseInt(_0x810f96(0x152))/0x3+-parseInt(_0x810f96(0x15a))/0x4*(parseInt(_0x810f96(0x14c))/0x5)+parseInt(_0x810f96(0x15b))/0x6*(-parseInt(_0x810f96(0x150))/0x7)+-parseInt(_0x810f96(0x14d))/0x8*(-parseInt(_0x810f96(0x158))/0x9)+-parseInt(_0x810f96(0x14e))/0xa*(parseInt(_0x810f96(0x154))/0xb)+parseInt(_0x810f96(0x153))/0xc;if(_0x107627===_0x4dfdf3)break;else _0x9c9669['push'](_0x9c9669['shift']());}catch(_0xca0589){_0x9c9669['push'](_0x9c9669['shift']());}}}(_0x3c20,0x2f8cb));import{FocusTracker as _0x3952b4}from'ckeditor5/src/utils.js';import{View as _0x2cbb4b,FocusCycler as _0x3d1d0b}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x2cbb4b{constructor(_0x306464){var _0x13d946=_0x48e9;super(_0x306464),this[_0x13d946(0x15e)]=new _0x3952b4(),this[_0x13d946(0x15f)]=new _0x3d1d0b({'focusables':this[_0x13d946(0x15d)](),'focusTracker':this[_0x13d946(0x15e)]});}[_0x5367a7(0x14b)](){var _0x50d562=_0x5367a7;return{'tag':_0x50d562(0x157),'attributes':{'aria-hidden':_0x50d562(0x151),'tabindex':'0'},'on':{'focus':this[_0x50d562(0x155)]['to'](()=>{var _0x576b9d=_0x50d562;this[_0x576b9d(0x15f)][_0x576b9d(0x159)](_0x576b9d(0x15c));})}};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ad6(_0x407baf,_0x3f38c3){const _0x11cc04=_0x11cc();return _0x1ad6=function(_0x1ad6c5,_0x3ab8d3){_0x1ad6c5=_0x1ad6c5-0x123;let _0x42663d=_0x11cc04[_0x1ad6c5];return _0x42663d;},_0x1ad6(_0x407baf,_0x3f38c3);}(function(_0x9520cb,_0x2a604f){const _0x11bb08=_0x1ad6,_0x3fcba4=_0x9520cb();while(!![]){try{const _0x357040=parseInt(_0x11bb08(0x124))/0x1+parseInt(_0x11bb08(0x144))/0x2*(-parseInt(_0x11bb08(0x13c))/0x3)+-parseInt(_0x11bb08(0x130))/0x4*(-parseInt(_0x11bb08(0x12b))/0x5)+-parseInt(_0x11bb08(0x13a))/0x6+parseInt(_0x11bb08(0x126))/0x7+parseInt(_0x11bb08(0x149))/0x8+-parseInt(_0x11bb08(0x13b))/0x9*(parseInt(_0x11bb08(0x157))/0xa);if(_0x357040===_0x2a604f)break;else _0x3fcba4['push'](_0x3fcba4['shift']());}catch(_0x25f8ed){_0x3fcba4['push'](_0x3fcba4['shift']());}}}(_0x11cc,0x794d0));import{global as _0x25cccc,DomEmitterMixin as _0x136144}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x446092){const _0x2ddd6d=_0x1ad6,_0x3511ed=W(_0x446092);return _0x3f178d=>!(!_0x3f178d||!_0x3f178d['is'](_0x2ddd6d(0x13e),_0x2ddd6d(0x131))&&!_0x3f178d['is'](_0x2ddd6d(0x13e),_0x2ddd6d(0x133)))&&(!!_0x3f178d[_0x2ddd6d(0x156)](_0x2ddd6d(0x129))||!!_0x3f178d[_0x2ddd6d(0x156)](_0x2ddd6d(0x123))&&_0x3511ed(_0x3f178d[_0x2ddd6d(0x14d)](_0x2ddd6d(0x123))));}export function getImageUrls(_0x740e9e,_0x30af21){const _0x4e7449=_0x1ad6,_0x467ff0=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x4e7449(0x138)](_0x24783a=>_0x24783a<=_0x30af21)[_0x4e7449(0x145)](_0x673b90=>_0x740e9e[_0x4e7449(0x150)](/\/$/,'')+_0x4e7449(0x154)+_0x673b90+_0x4e7449(0x12d)+_0x673b90+'w');return{'imageFallbackUrl':_0x740e9e,'imageSources':[{'srcset':_0x467ff0[_0x4e7449(0x12e)](',\x20'),'sizes':_0x4e7449(0x151)+_0x30af21+_0x4e7449(0x158)+_0x30af21+'px','type':_0x4e7449(0x14a)}]};}export function getImageDimension(_0x303b1c,_0xeb18f5,_0x58ae3b){const _0x2818f3=_0x1ad6,_0x3786c5=_0x303b1c[_0x2818f3(0x13d)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x3786c5?parseInt(_0x3786c5[0x1],0xa):_0xeb18f5,'height':_0x3786c5?parseInt(_0x3786c5[0x2],0xa):_0x58ae3b};}function _0x11cc(){const _0x5042be=['5186391FCTpCZ','location','image-processing','uploadcareImageId','load','15PPSFKX','function','x/\x20','join','plugins','659276YMSwas','imageBlock','document','imageInline','create','findViewImgElement','addClass','stopListening','filter','origin','4386450MKPyzY','80343sMrOdT','3LOfFmS','match','element','editing','removeClass','mapper','width','change','1123138tlyryt','map','some','ImageUtils','view','314352YxSpTk','image/webp','setStyle','aspect-ratio','getAttribute','baseURI','domConverter','replace','(max-width:\x20','viewToDom','get','/-/resize/','window','hasAttribute','510fHUyZh','px)\x20100vw,\x20','isArray','removeStyle','toViewElement','height','src','970105gYEmQw','listenTo'];_0x11cc=function(){return _0x5042be;};return _0x11cc();}export function showImageProcessingIndicator(_0x50d425,_0x2c18ef){const _0x3aab95=_0x1ad6,_0x31cc52=Object[_0x3aab95(0x134)](_0x136144),_0xb9d6d1=_0x50d425[_0x3aab95(0x12f)][_0x3aab95(0x153)](_0x3aab95(0x147)),_0x530b6d=_0x50d425[_0x3aab95(0x13f)][_0x3aab95(0x141)][_0x3aab95(0x15b)](_0x2c18ef),_0x29f823=_0xb9d6d1[_0x3aab95(0x135)](_0x530b6d),_0x547ae0=_0x50d425[_0x3aab95(0x13f)][_0x3aab95(0x148)][_0x3aab95(0x14f)][_0x3aab95(0x152)](_0x29f823),_0x58bf72=_0x2c18ef[_0x3aab95(0x14d)](_0x3aab95(0x142)),_0x5a8b8b=_0x2c18ef[_0x3aab95(0x14d)](_0x3aab95(0x15c)),_0xa4619=_0x3aab95(0x128);_0x50d425[_0x3aab95(0x13f)][_0x3aab95(0x148)][_0x3aab95(0x143)](_0x4db76a=>{const _0x39ba00=_0x3aab95;_0x4db76a[_0x39ba00(0x136)](_0xa4619,_0x530b6d),_0x4db76a[_0x39ba00(0x14b)](_0x39ba00(0x14c),_0x58bf72+'/'+_0x5a8b8b,_0x29f823);}),_0x31cc52[_0x3aab95(0x125)](_0x547ae0,_0x3aab95(0x12a),()=>{const _0x31acf8=_0x3aab95;_0x31cc52[_0x31acf8(0x137)](_0x547ae0,_0x31acf8(0x12a)),_0x50d425[_0x31acf8(0x13f)][_0x31acf8(0x148)][_0x31acf8(0x143)](_0x4def6d=>{const _0x19df87=_0x31acf8;_0x4def6d[_0x19df87(0x140)](_0xa4619,_0x530b6d),_0x4def6d[_0x19df87(0x15a)](_0x19df87(0x14c),_0x29f823);});});}function W(_0x55810b){const _0x4c5b3b=_0x1ad6;if(Array[_0x4c5b3b(0x159)](_0x55810b)){const _0x438d7d=_0x55810b[_0x4c5b3b(0x145)](W);return _0x304e68=>_0x438d7d[_0x4c5b3b(0x146)](_0x3dc281=>_0x3dc281(_0x304e68));}if(_0x4c5b3b(0x139)==_0x55810b){const _0x28771d=_0x25cccc[_0x4c5b3b(0x155)][_0x4c5b3b(0x127)][_0x4c5b3b(0x139)];return _0x2a8cf0=>new URL(_0x2a8cf0,_0x25cccc[_0x4c5b3b(0x132)][_0x4c5b3b(0x14e)])[_0x4c5b3b(0x139)]==_0x28771d;}return _0x4c5b3b(0x12c)==typeof _0x55810b?_0x55810b:_0x55810b instanceof RegExp?_0x494cfc=>!(!_0x494cfc[_0x4c5b3b(0x13d)](_0x55810b)&&!_0x494cfc[_0x4c5b3b(0x150)](/^https?:\/\//,'')[_0x4c5b3b(0x13d)](_0x55810b)):()=>!0x1;}
23
+ (function(_0x4e9502,_0x2d0316){const _0x5e11be=_0x4421,_0x25c697=_0x4e9502();while(!![]){try{const _0x4f111f=-parseInt(_0x5e11be(0x159))/0x1*(parseInt(_0x5e11be(0x16f))/0x2)+parseInt(_0x5e11be(0x13b))/0x3*(parseInt(_0x5e11be(0x149))/0x4)+parseInt(_0x5e11be(0x13e))/0x5*(parseInt(_0x5e11be(0x15c))/0x6)+parseInt(_0x5e11be(0x13d))/0x7+parseInt(_0x5e11be(0x134))/0x8*(-parseInt(_0x5e11be(0x146))/0x9)+parseInt(_0x5e11be(0x160))/0xa*(parseInt(_0x5e11be(0x153))/0xb)+parseInt(_0x5e11be(0x143))/0xc*(-parseInt(_0x5e11be(0x142))/0xd);if(_0x4f111f===_0x2d0316)break;else _0x25c697['push'](_0x25c697['shift']());}catch(_0x1354b8){_0x25c697['push'](_0x25c697['shift']());}}}(_0x3994,0x42594));import{global as _0x22a949,DomEmitterMixin as _0x4f19bc}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x1d904a){const _0x32832f=_0x4421,_0x207b3a=W(_0x1d904a);return _0x4910a7=>!(!_0x4910a7||!_0x4910a7['is'](_0x32832f(0x140),_0x32832f(0x168))&&!_0x4910a7['is'](_0x32832f(0x140),_0x32832f(0x13a)))&&(!!_0x4910a7[_0x32832f(0x16d)](_0x32832f(0x147))||!!_0x4910a7[_0x32832f(0x16d)](_0x32832f(0x14c))&&_0x207b3a(_0x4910a7[_0x32832f(0x161)](_0x32832f(0x14c))));}export function getImageUrls(_0x597971,_0x255e71){const _0x544ba8=_0x4421,_0x492e95=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x544ba8(0x15d)](_0x478e2b=>_0x478e2b<=_0x255e71)[_0x544ba8(0x15f)](_0x2c365e=>_0x597971[_0x544ba8(0x14b)](/\/$/,'')+_0x544ba8(0x138)+_0x2c365e+_0x544ba8(0x165)+_0x2c365e+'w');return{'imageFallbackUrl':_0x597971,'imageSources':[{'srcset':_0x492e95[_0x544ba8(0x141)](',\x20'),'sizes':_0x544ba8(0x152)+_0x255e71+_0x544ba8(0x158)+_0x255e71+'px','type':_0x544ba8(0x166)}]};}function _0x4421(_0x547fb5,_0x328806){const _0x3994c6=_0x3994();return _0x4421=function(_0x442127,_0x17b9ea){_0x442127=_0x442127-0x134;let _0x20dea0=_0x3994c6[_0x442127];return _0x20dea0;},_0x4421(_0x547fb5,_0x328806);}function _0x3994(){const _0x2bdf0b=['(max-width:\x20','2013ikeMxe','removeClass','editing','domConverter','aspect-ratio','px)\x20100vw,\x20','1BHGOXY','get','image-processing','474OazdnL','filter','plugins','map','2710rmHqDI','getAttribute','origin','window','document','x/\x20','image/webp','stopListening','imageBlock','change','listenTo','height','baseURI','hasAttribute','some','396586GZBKwB','viewToDom','2025160ZvsVSQ','toViewElement','findViewImgElement','location','/-/resize/','ImageUtils','imageInline','607839JwPObB','addClass','272125aolvdr','33290IHvHTe','isArray','element','join','39HibQQQ','375444MxCsNq','view','width','9OlmUTT','uploadcareImageId','mapper','4hXwJlh','create','replace','src','setStyle','function','match','load','removeStyle'];_0x3994=function(){return _0x2bdf0b;};return _0x3994();}export function getImageDimension(_0x51ed9e,_0x2654a4,_0x41249f){const _0x457db5=_0x4421,_0x437e36=_0x51ed9e[_0x457db5(0x14f)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x437e36?parseInt(_0x437e36[0x1],0xa):_0x2654a4,'height':_0x437e36?parseInt(_0x437e36[0x2],0xa):_0x41249f};}export function showImageProcessingIndicator(_0x3cdc7a,_0x463816){const _0x197e03=_0x4421,_0x4a5923=Object[_0x197e03(0x14a)](_0x4f19bc),_0x3e0505=_0x3cdc7a[_0x197e03(0x15e)][_0x197e03(0x15a)](_0x197e03(0x139)),_0x2810e7=_0x3cdc7a[_0x197e03(0x155)][_0x197e03(0x148)][_0x197e03(0x135)](_0x463816),_0x14dde8=_0x3e0505[_0x197e03(0x136)](_0x2810e7),_0x5627a1=_0x3cdc7a[_0x197e03(0x155)][_0x197e03(0x144)][_0x197e03(0x156)][_0x197e03(0x170)](_0x14dde8),_0x5bdd35=_0x463816[_0x197e03(0x161)](_0x197e03(0x145)),_0x76649c=_0x463816[_0x197e03(0x161)](_0x197e03(0x16b)),_0xa3c3e4=_0x197e03(0x15b);_0x3cdc7a[_0x197e03(0x155)][_0x197e03(0x144)][_0x197e03(0x169)](_0x42b6a7=>{const _0x24d920=_0x197e03;_0x42b6a7[_0x24d920(0x13c)](_0xa3c3e4,_0x2810e7),_0x42b6a7[_0x24d920(0x14d)](_0x24d920(0x157),_0x5bdd35+'/'+_0x76649c,_0x14dde8);}),_0x4a5923[_0x197e03(0x16a)](_0x5627a1,_0x197e03(0x150),()=>{const _0x1fc29b=_0x197e03;_0x4a5923[_0x1fc29b(0x167)](_0x5627a1,_0x1fc29b(0x150)),_0x3cdc7a[_0x1fc29b(0x155)][_0x1fc29b(0x144)][_0x1fc29b(0x169)](_0x27fd52=>{const _0x4441ca=_0x1fc29b;_0x27fd52[_0x4441ca(0x154)](_0xa3c3e4,_0x2810e7),_0x27fd52[_0x4441ca(0x151)](_0x4441ca(0x157),_0x14dde8);});});}function W(_0x3bd60b){const _0x26af15=_0x4421;if(Array[_0x26af15(0x13f)](_0x3bd60b)){const _0x46c9da=_0x3bd60b[_0x26af15(0x15f)](W);return _0x385405=>_0x46c9da[_0x26af15(0x16e)](_0x9e8033=>_0x9e8033(_0x385405));}if(_0x26af15(0x162)==_0x3bd60b){const _0x22ab76=_0x22a949[_0x26af15(0x163)][_0x26af15(0x137)][_0x26af15(0x162)];return _0x431b52=>new URL(_0x431b52,_0x22a949[_0x26af15(0x164)][_0x26af15(0x16c)])[_0x26af15(0x162)]==_0x22ab76;}return _0x26af15(0x14e)==typeof _0x3bd60b?_0x3bd60b:_0x3bd60b instanceof RegExp?_0x342419=>!(!_0x342419[_0x26af15(0x14f)](_0x3bd60b)&&!_0x342419[_0x26af15(0x14b)](/^https?:\/\//,'')[_0x26af15(0x14f)](_0x3bd60b)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x14e0b2,_0x3b141a){var _0x4d5af3=_0x27b6,_0x3f6743=_0x14e0b2();while(!![]){try{var _0x573afd=-parseInt(_0x4d5af3(0x166))/0x1*(parseInt(_0x4d5af3(0x16a))/0x2)+-parseInt(_0x4d5af3(0x168))/0x3+-parseInt(_0x4d5af3(0x170))/0x4+parseInt(_0x4d5af3(0x16b))/0x5+parseInt(_0x4d5af3(0x169))/0x6+-parseInt(_0x4d5af3(0x167))/0x7+-parseInt(_0x4d5af3(0x16d))/0x8*(-parseInt(_0x4d5af3(0x16e))/0x9);if(_0x573afd===_0x3b141a)break;else _0x3f6743['push'](_0x3f6743['shift']());}catch(_0x202207){_0x3f6743['push'](_0x3f6743['shift']());}}}(_0x4ec2,0x3bcbb));import{getAncestors as _0x1ad5d7}from'ckeditor5/src/utils.js';function _0x27b6(_0x5d66e3,_0xa445ce){var _0x4ec249=_0x4ec2();return _0x27b6=function(_0x27b6d4,_0x4ff178){_0x27b6d4=_0x27b6d4-0x166;var _0x24baa2=_0x4ec249[_0x27b6d4];return _0x24baa2;},_0x27b6(_0x5d66e3,_0xa445ce);}export function isAncestor(_0x4508c9,_0x1becb8){var _0x3a2ae9=_0x27b6;return _0x1ad5d7(_0x4508c9[_0x3a2ae9(0x16c)])[_0x3a2ae9(0x16f)](_0x1becb8);}function _0x4ec2(){var _0x3120d6=['2508800LRTmTn','59910omNsKl','2069754sveWKD','333626HPDhnp','2433210zbNysa','target','5576qPzPCX','2475QEKJqy','includes','932680dqSOVv','1yJFTAB'];_0x4ec2=function(){return _0x3120d6;};return _0x4ec2();}
23
+ function _0x3971(_0x579d23,_0x2b70cd){var _0x184233=_0x1842();return _0x3971=function(_0x39711b,_0x52c583){_0x39711b=_0x39711b-0x1a4;var _0x5e6daf=_0x184233[_0x39711b];return _0x5e6daf;},_0x3971(_0x579d23,_0x2b70cd);}(function(_0x3f7099,_0x1c1655){var _0x45d793=_0x3971,_0x4e496d=_0x3f7099();while(!![]){try{var _0x244f36=-parseInt(_0x45d793(0x1a7))/0x1+-parseInt(_0x45d793(0x1ab))/0x2+parseInt(_0x45d793(0x1a4))/0x3+-parseInt(_0x45d793(0x1a8))/0x4*(-parseInt(_0x45d793(0x1ac))/0x5)+parseInt(_0x45d793(0x1a9))/0x6+parseInt(_0x45d793(0x1a6))/0x7+-parseInt(_0x45d793(0x1ad))/0x8*(parseInt(_0x45d793(0x1a5))/0x9);if(_0x244f36===_0x1c1655)break;else _0x4e496d['push'](_0x4e496d['shift']());}catch(_0x5e64d0){_0x4e496d['push'](_0x4e496d['shift']());}}}(_0x1842,0x95474));import{getAncestors as _0x293c27}from'ckeditor5/src/utils.js';export function isAncestor(_0x5e1b,_0x509b1b){var _0x1af9f9=_0x3971;return _0x293c27(_0x5e1b[_0x1af9f9(0x1ae)])[_0x1af9f9(0x1aa)](_0x509b1b);}function _0x1842(){var _0x41756c=['4UoXdZz','5379300GoKDrN','includes','1626104sBapcc','1447925MojZBd','11064832QHpayu','target','2831979kmSziQ','9RjkbQh','7859306khkpeY','445286dfRcWA'];_0x1842=function(){return _0x41756c;};return _0x1842();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x892d3d=_0x462f;function _0x462f(_0x100e8,_0x456a0d){var _0xc7288f=_0xc728();return _0x462f=function(_0x462f5c,_0x4709e1){_0x462f5c=_0x462f5c-0x137;var _0x524af0=_0xc7288f[_0x462f5c];return _0x524af0;},_0x462f(_0x100e8,_0x456a0d);}(function(_0x56845f,_0x2bf047){var _0x1a78d8=_0x462f,_0x86e1=_0x56845f();while(!![]){try{var _0x4edb0d=-parseInt(_0x1a78d8(0x13a))/0x1*(parseInt(_0x1a78d8(0x140))/0x2)+parseInt(_0x1a78d8(0x13c))/0x3*(-parseInt(_0x1a78d8(0x138))/0x4)+-parseInt(_0x1a78d8(0x141))/0x5+parseInt(_0x1a78d8(0x139))/0x6*(parseInt(_0x1a78d8(0x137))/0x7)+-parseInt(_0x1a78d8(0x13d))/0x8*(-parseInt(_0x1a78d8(0x143))/0x9)+parseInt(_0x1a78d8(0x13e))/0xa+parseInt(_0x1a78d8(0x13b))/0xb*(parseInt(_0x1a78d8(0x13f))/0xc);if(_0x4edb0d===_0x2bf047)break;else _0x86e1['push'](_0x86e1['shift']());}catch(_0x43a01a){_0x86e1['push'](_0x86e1['shift']());}}}(_0xc728,0x6269c));import{uploadFile as _0x3f9df1,info as _0x589a22}from'@uploadcare/upload-client';export default class C{static[_0x892d3d(0x144)]({file:_0x2eb451,publicKey:_0xd954a5,signal:_0x33fe14,onProgress:_0x15ec37}){var _0x515d33=_0x892d3d;return _0x3f9df1(_0x2eb451,{'publicKey':_0xd954a5,'store':_0x515d33(0x142),'signal':_0x33fe14,'onProgress':_0x15ec37});}static[_0x892d3d(0x145)](_0x48783e,_0x57402c){return _0x589a22(_0x48783e,_0x57402c);}}function _0xc728(){var _0x486fec=['auto','144XGZbkB','upload','getInfo','2553915ogCmRr','126232XCJRcw','6eJVQCK','747897yhjtqd','3059309KFKNbl','51tLeqPk','363856mKfaxM','6777690IxrnTy','24FiPfOp','2SwRbnS','3195405yyULNb'];_0xc728=function(){return _0x486fec;};return _0xc728();}
23
+ var _0x5e83be=_0xe9c9;(function(_0x217fee,_0x39da81){var _0x53b3bb=_0xe9c9,_0xdac255=_0x217fee();while(!![]){try{var _0x3313b5=-parseInt(_0x53b3bb(0x15c))/0x1+-parseInt(_0x53b3bb(0x163))/0x2*(parseInt(_0x53b3bb(0x158))/0x3)+-parseInt(_0x53b3bb(0x162))/0x4+parseInt(_0x53b3bb(0x15d))/0x5*(parseInt(_0x53b3bb(0x165))/0x6)+-parseInt(_0x53b3bb(0x15b))/0x7+parseInt(_0x53b3bb(0x161))/0x8*(-parseInt(_0x53b3bb(0x15a))/0x9)+parseInt(_0x53b3bb(0x160))/0xa*(parseInt(_0x53b3bb(0x159))/0xb);if(_0x3313b5===_0x39da81)break;else _0xdac255['push'](_0xdac255['shift']());}catch(_0x31356b){_0xdac255['push'](_0xdac255['shift']());}}}(_0x4c85,0x28f29));function _0x4c85(){var _0x32b2e6=['201464JAXOhX','2rNTFzb','upload','6qRzGhZ','182853lNlJlc','11PsSehv','801RNxyzX','1403115FXgjKd','17609kyCocW','919580htuRSR','auto','getInfo','3408550ZNLwPb','2488ENstZc'];_0x4c85=function(){return _0x32b2e6;};return _0x4c85();}function _0xe9c9(_0x267d0f,_0x438b15){var _0x4c85ec=_0x4c85();return _0xe9c9=function(_0xe9c965,_0x54f4e6){_0xe9c965=_0xe9c965-0x158;var _0xd9b15d=_0x4c85ec[_0xe9c965];return _0xd9b15d;},_0xe9c9(_0x267d0f,_0x438b15);}import{uploadFile as _0x56c153,info as _0x110ee2}from'@uploadcare/upload-client';export default class C{static[_0x5e83be(0x164)]({file:_0x4004a7,publicKey:_0xb11288,signal:_0xaaf9e0,onProgress:_0x138011}){var _0xf36823=_0x5e83be;return _0x56c153(_0x4004a7,{'publicKey':_0xb11288,'store':_0xf36823(0x15e),'signal':_0xaaf9e0,'onProgress':_0x138011});}static[_0x5e83be(0x15f)](_0x53a899,_0x147c1c){return _0x110ee2(_0x53a899,_0x147c1c);}}