@ckeditor/ckeditor5-uploadcare 45.2.1-alpha.9 → 46.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index-editor.css +2 -2
  3. package/dist/index.css +2 -2
  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/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +11 -11
  152. package/src/augmentation.d.ts +4 -4
  153. package/src/index.d.ts +10 -8
  154. package/src/index.js +1 -1
  155. package/src/ui/uploadcarecontroller.d.ts +2 -2
  156. package/src/ui/uploadcarecontroller.js +2 -2
  157. package/src/ui/uploadcareformview.d.ts +3 -3
  158. package/src/ui/uploadcareformview.js +1 -1
  159. package/src/uploadcare.d.ts +3 -3
  160. package/src/uploadcare.js +1 -1
  161. package/src/uploadcarecommand.d.ts +2 -2
  162. package/src/uploadcarecommand.js +1 -1
  163. package/src/uploadcareconfig.d.ts +2 -3
  164. package/src/uploadcareconfig.js +1 -1
  165. package/src/uploadcareediting.d.ts +13 -3
  166. package/src/uploadcareediting.js +1 -1
  167. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +2 -2
  168. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  169. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
  170. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  171. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  172. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  173. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
  174. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  175. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +3 -3
  176. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  177. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  178. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  179. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  180. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  181. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +3 -4
  182. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  183. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  184. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  185. package/src/uploadcareimageedit.d.ts +3 -3
  186. package/src/uploadcareimageedit.js +1 -1
  187. package/src/uploadcareui.d.ts +1 -1
  188. package/src/uploadcareui.js +1 -1
  189. package/src/uploadcareuploadadapter.d.ts +2 -2
  190. package/src/uploadcareuploadadapter.js +1 -1
  191. package/src/utils/common-translations.js +1 -1
  192. package/src/utils/dialogfocusmanagerview.d.ts +1 -1
  193. package/src/utils/dialogfocusmanagerview.js +1 -1
  194. package/src/utils/editingutils.js +1 -1
  195. package/src/utils/isancestor.js +1 -1
  196. package/src/utils/uploadutils.js +1 -1
@@ -15,7 +15,7 @@ import '../../theme/uploadcare-theme.css';
15
15
  * It registers the `'uploadcareImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
16
16
  * that allows you to open the Uploadcare dialog and edit the image.
17
17
  */
18
- export default class UploadcareImageEditUI extends Plugin {
18
+ export declare class UploadcareImageEditUI extends Plugin {
19
19
  /**
20
20
  * @inheritDoc
21
21
  */
@@ -31,13 +31,13 @@ export default class UploadcareImageEditUI extends Plugin {
31
31
  /**
32
32
  * The cache of image URLs that had been uploaded to Uploadcare.
33
33
  */
34
- get imageCache(): ImageCache;
34
+ get imageCache(): UploadcareImageCache;
35
35
  /**
36
36
  * @inheritDoc
37
37
  */
38
38
  init(): void;
39
39
  }
40
- type ImageCache = Map<string, {
40
+ export type UploadcareImageCache = Map<string, {
41
41
  id: string;
42
42
  url: string;
43
43
  dimension: {
@@ -45,4 +45,3 @@ type ImageCache = Map<string, {
45
45
  height: number;
46
46
  };
47
47
  }>;
48
- export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1e97cf}from'ckeditor5/src/core.js';import{ButtonView as _0xbcbc25}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x291f99}from'ckeditor5/src/icons.js';import{createElement as _0x4fa15d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x1e97cf{['_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 _0x1e690d=this['editor'];_0x1e690d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4e0d50=>{const _0x5209ec=_0x1e690d['commands']['get']('uploadcareImageEdit'),_0x1c82dd=new _0xbcbc25(_0x4e0d50),t=_0x4e0d50['t'];return _0x1c82dd['set']({'icon':_0x291f99,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1c82dd['bind']('isEnabled')['to'](_0x5209ec),_0x1c82dd['bind']('isOn')['to'](_0x5209ec,'isActive'),this['listenTo'](_0x1c82dd,'execute',()=>{_0x1e690d['execute']('uploadcareImageEdit'),_0x1e690d['editing']['view']['focus']();}),_0x1c82dd;}),this['_initConfig']();}['_initConfig'](){const _0x287fdf=_0x4fa15d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x287fdf),this['listenTo'](this['editor'],'destroy',()=>{_0x287fdf['remove']();});}}
23
+ import{Plugin as _0x57baf0}from'ckeditor5/src/core.js';import{ButtonView as _0x1ed3c4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x34b0af}from'ckeditor5/src/icons.js';import{createElement as _0xe79a77}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x57baf0{['_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 _0x4c1b2c=this['editor'];_0x4c1b2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1eec14=>{const _0x3e37bb=_0x4c1b2c['commands']['get']('uploadcareImageEdit'),_0x3b4576=new _0x1ed3c4(_0x1eec14),t=_0x1eec14['t'];return _0x3b4576['set']({'icon':_0x34b0af,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b4576['bind']('isEnabled')['to'](_0x3e37bb),_0x3b4576['bind']('isOn')['to'](_0x3e37bb,'isActive'),this['listenTo'](_0x3b4576,'execute',()=>{_0x4c1b2c['execute']('uploadcareImageEdit'),_0x4c1b2c['editing']['view']['focus']();}),_0x3b4576;}),this['_initConfig']();}['_initConfig'](){const _0x5944cc=_0xe79a77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5944cc),this['listenTo'](this['editor'],'destroy',()=>{_0x5944cc['remove']();});}}
@@ -11,7 +11,7 @@ import { Command } from 'ckeditor5/src/core.js';
11
11
  *
12
12
  * It replaces given image element attributes.
13
13
  */
14
- export default class UploadcareImageReplaceCommand extends Command {
14
+ export declare class UploadcareImageReplaceCommand extends Command {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x235f(_0x3adb94,_0x34e1b7){const _0x4c434c=_0x4c43();return _0x235f=function(_0x235f1d,_0x2eb74d){_0x235f1d=_0x235f1d-0x1bf;let _0x377fda=_0x4c434c[_0x235f1d];return _0x377fda;},_0x235f(_0x3adb94,_0x34e1b7);}function _0x4c43(){const _0x40d4b7=['refresh','119604hCcnBm','106qCaKeL','editor','imageBlock','getSelectedElement','document','6884EEIeyf','element','2561853iQxwAE','895560VZsvlg','removeAttribute','sizes','1017304BPfScr','18FQYhDC','execute','selection','srcset','setAttributes','imageInline','change','1250472eycGNG','5ZotKdI','isEnabled','107910GaMRqB','model'];_0x4c43=function(){return _0x40d4b7;};return _0x4c43();}const _0x5e33ae=_0x235f;(function(_0x45006a,_0x241844){const _0x19535f=_0x235f,_0x46738f=_0x45006a();while(!![]){try{const _0x387569=parseInt(_0x19535f(0x1d5))/0x1*(-parseInt(_0x19535f(0x1c0))/0x2)+parseInt(_0x19535f(0x1c3))/0x3+-parseInt(_0x19535f(0x1d4))/0x4+parseInt(_0x19535f(0x1cf))/0x5*(parseInt(_0x19535f(0x1ce))/0x6)+parseInt(_0x19535f(0x1c2))/0x7+-parseInt(_0x19535f(0x1c6))/0x8*(parseInt(_0x19535f(0x1c7))/0x9)+-parseInt(_0x19535f(0x1d1))/0xa;if(_0x387569===_0x241844)break;else _0x46738f['push'](_0x46738f['shift']());}catch(_0x37f6e1){_0x46738f['push'](_0x46738f['shift']());}}}(_0x4c43,0x34031));import{Command as _0x306e2b}from'ckeditor5/src/core.js';export default class O extends _0x306e2b{[_0x5e33ae(0x1d3)](){const _0x10844f=_0x5e33ae,_0x293bad=this[_0x10844f(0x1d6)][_0x10844f(0x1d2)][_0x10844f(0x1bf)][_0x10844f(0x1c9)][_0x10844f(0x1d8)]();this[_0x10844f(0x1d0)]=Boolean(_0x293bad&&(_0x293bad['is'](_0x10844f(0x1c1),_0x10844f(0x1d7))||_0x293bad['is'](_0x10844f(0x1c1),_0x10844f(0x1cc))));}[_0x5e33ae(0x1c8)](_0xef9e4c){const _0x381220=_0x5e33ae,_0x55ae68=this[_0x381220(0x1d6)][_0x381220(0x1d2)][_0x381220(0x1bf)][_0x381220(0x1c9)][_0x381220(0x1d8)]();this[_0x381220(0x1d6)][_0x381220(0x1d2)][_0x381220(0x1cd)](_0x570758=>{const _0x4f91e0=_0x381220;_0x570758[_0x4f91e0(0x1cb)](_0xef9e4c,_0x55ae68),_0x570758[_0x4f91e0(0x1c4)](_0x4f91e0(0x1ca),_0x55ae68),_0x570758[_0x4f91e0(0x1c4)](_0x4f91e0(0x1c5),_0x55ae68);});}}
23
+ function _0x6e08(_0x425855,_0x43ff14){const _0xb95c53=_0xb95c();return _0x6e08=function(_0x6e08d8,_0x320baa){_0x6e08d8=_0x6e08d8-0x1e4;let _0x43729d=_0xb95c53[_0x6e08d8];return _0x43729d;},_0x6e08(_0x425855,_0x43ff14);}const _0x2b407a=_0x6e08;function _0xb95c(){const _0x26fadd=['1940541ZqryqN','document','getSelectedElement','execute','64274irWFHk','isEnabled','sizes','setAttributes','removeAttribute','7342408kvSPya','60950LPYYxx','editor','element','4986216ACqPmc','509536sUoaqE','5CPorEO','change','model','908352uzXWvw','srcset','imageInline','refresh','imageBlock','selection'];_0xb95c=function(){return _0x26fadd;};return _0xb95c();}(function(_0x204ba6,_0x82e3f){const _0x2762e4=_0x6e08,_0x1f688a=_0x204ba6();while(!![]){try{const _0x1426c7=parseInt(_0x2762e4(0x1f9))/0x1+-parseInt(_0x2762e4(0x1e5))/0x2+-parseInt(_0x2762e4(0x1ef))/0x3+-parseInt(_0x2762e4(0x1e9))/0x4*(parseInt(_0x2762e4(0x1e6))/0x5)+parseInt(_0x2762e4(0x1e4))/0x6+-parseInt(_0x2762e4(0x1f3))/0x7+parseInt(_0x2762e4(0x1f8))/0x8;if(_0x1426c7===_0x82e3f)break;else _0x1f688a['push'](_0x1f688a['shift']());}catch(_0x357ef0){_0x1f688a['push'](_0x1f688a['shift']());}}}(_0xb95c,0xa409e));import{Command as _0xe65e1c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xe65e1c{[_0x2b407a(0x1ec)](){const _0x557f80=_0x2b407a,_0x59b76a=this[_0x557f80(0x1fa)][_0x557f80(0x1e8)][_0x557f80(0x1f0)][_0x557f80(0x1ee)][_0x557f80(0x1f1)]();this[_0x557f80(0x1f4)]=Boolean(_0x59b76a&&(_0x59b76a['is'](_0x557f80(0x1fb),_0x557f80(0x1ed))||_0x59b76a['is'](_0x557f80(0x1fb),_0x557f80(0x1eb))));}[_0x2b407a(0x1f2)](_0x3ce4aa){const _0xd370f2=_0x2b407a,_0x25e2af=this[_0xd370f2(0x1fa)][_0xd370f2(0x1e8)][_0xd370f2(0x1f0)][_0xd370f2(0x1ee)][_0xd370f2(0x1f1)]();this[_0xd370f2(0x1fa)][_0xd370f2(0x1e8)][_0xd370f2(0x1e7)](_0x43d915=>{const _0x189f7a=_0xd370f2;_0x43d915[_0x189f7a(0x1f6)](_0x3ce4aa,_0x25e2af),_0x43d915[_0x189f7a(0x1f7)](_0x189f7a(0x1ea),_0x25e2af),_0x43d915[_0x189f7a(0x1f7)](_0x189f7a(0x1f5),_0x25e2af);});}}
@@ -7,12 +7,12 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
- import UploadcareImageEditEditing from './uploadcareimageedit/uploadcareimageeditediting.js';
11
- import UploadcareImageEditUI from './uploadcareimageedit/uploadcareimageeditui.js';
10
+ import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
11
+ import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
12
12
  /**
13
13
  * The Uploadcare image edit feature.
14
14
  */
15
- export default class UploadcareImageEdit extends Plugin {
15
+ export declare class UploadcareImageEdit extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x21f86a=_0x3020;function _0x4737(){var _0x3c1a7d=['74RaPWCu','794423OYXgaO','pluginName','109352FJbsMX','84856najcep','UploadcareImageEdit','22pWGcRM','70jQLBBP','requires','207549xrhPSL','isOfficialPlugin','1392730vLKdWH','2327tiZwDj','2189418TWwFAf','45uLtsnw','isPremiumPlugin'];_0x4737=function(){return _0x3c1a7d;};return _0x4737();}function _0x3020(_0x419ec7,_0x55bd9b){var _0x473788=_0x4737();return _0x3020=function(_0x30206c,_0x151c7c){_0x30206c=_0x30206c-0x1f0;var _0x13f38a=_0x473788[_0x30206c];return _0x13f38a;},_0x3020(_0x419ec7,_0x55bd9b);}(function(_0x23e640,_0x5e968d){var _0x19bd4b=_0x3020,_0x1f30ae=_0x23e640();while(!![]){try{var _0x52aba7=-parseInt(_0x19bd4b(0x1f6))/0x1*(parseInt(_0x19bd4b(0x1fa))/0x2)+-parseInt(_0x19bd4b(0x1f3))/0x3+parseInt(_0x19bd4b(0x1fe))/0x4*(parseInt(_0x19bd4b(0x1f1))/0x5)+parseInt(_0x19bd4b(0x1f7))/0x6+-parseInt(_0x19bd4b(0x1fb))/0x7+parseInt(_0x19bd4b(0x1fd))/0x8*(parseInt(_0x19bd4b(0x1f8))/0x9)+parseInt(_0x19bd4b(0x1f5))/0xa*(-parseInt(_0x19bd4b(0x1f0))/0xb);if(_0x52aba7===_0x5e968d)break;else _0x1f30ae['push'](_0x1f30ae['shift']());}catch(_0x543590){_0x1f30ae['push'](_0x1f30ae['shift']());}}}(_0x4737,0x2ca8f));import{Plugin as _0x560f48}from'ckeditor5/src/core.js';import _0x1fd7e4 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x94d2d4 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x560f48{static get[_0x21f86a(0x1fc)](){var _0x1d9cdd=_0x21f86a;return _0x1d9cdd(0x1ff);}static get[_0x21f86a(0x1f2)](){return[_0x1fd7e4,_0x94d2d4];}static get[_0x21f86a(0x1f4)](){return!0x0;}static get[_0x21f86a(0x1f9)](){return!0x0;}}
23
+ function _0x5c35(_0x32d0f5,_0x4e9939){var _0x4950b4=_0x4950();return _0x5c35=function(_0x5c3584,_0x390475){_0x5c3584=_0x5c3584-0x97;var _0x2b764b=_0x4950b4[_0x5c3584];return _0x2b764b;},_0x5c35(_0x32d0f5,_0x4e9939);}var _0x20209c=_0x5c35;(function(_0x2dde03,_0x54a910){var _0x15e5d2=_0x5c35,_0x512324=_0x2dde03();while(!![]){try{var _0x56e224=-parseInt(_0x15e5d2(0x9a))/0x1+-parseInt(_0x15e5d2(0xa1))/0x2+-parseInt(_0x15e5d2(0xa3))/0x3*(parseInt(_0x15e5d2(0xa4))/0x4)+parseInt(_0x15e5d2(0xa2))/0x5*(parseInt(_0x15e5d2(0x98))/0x6)+-parseInt(_0x15e5d2(0x9f))/0x7+parseInt(_0x15e5d2(0x9e))/0x8+-parseInt(_0x15e5d2(0x9c))/0x9;if(_0x56e224===_0x54a910)break;else _0x512324['push'](_0x512324['shift']());}catch(_0x166042){_0x512324['push'](_0x512324['shift']());}}}(_0x4950,0x25deb));function _0x4950(){var _0x2a1184=['105819PeMxCO','isPremiumPlugin','78624CVsHVD','5jfyBjp','3lIoEkE','75316HZlVEg','UploadcareImageEdit','1558818KqCfXv','isOfficialPlugin','40141IEnlbW','pluginName','605826HxJLwE','requires','608200XSKhkf'];_0x4950=function(){return _0x2a1184;};return _0x4950();}import{Plugin as _0x3e7e4}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x6545}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x442c49}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3e7e4{static get[_0x20209c(0x9b)](){var _0x52e2df=_0x20209c;return _0x52e2df(0x97);}static get[_0x20209c(0x9d)](){return[_0x6545,_0x442c49];}static get[_0x20209c(0x99)](){return!0x0;}static get[_0x20209c(0xa0)](){return!0x0;}}
@@ -13,7 +13,7 @@ import '../theme/uploadcareimageedit.css';
13
13
  /**
14
14
  * The UI plugin of the AI assistant.
15
15
  */
16
- export default class UploadcareUI extends Plugin {
16
+ export declare class UploadcareUI extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d690c=_0x5303;(function(_0x31d219,_0x46752e){const _0x5e11f8=_0x5303,_0x553896=_0x31d219();while(!![]){try{const _0x45e686=parseInt(_0x5e11f8(0x21a))/0x1*(parseInt(_0x5e11f8(0x1f1))/0x2)+parseInt(_0x5e11f8(0x1d8))/0x3+parseInt(_0x5e11f8(0x204))/0x4*(parseInt(_0x5e11f8(0x1f4))/0x5)+parseInt(_0x5e11f8(0x1e3))/0x6*(parseInt(_0x5e11f8(0x1fd))/0x7)+-parseInt(_0x5e11f8(0x1d6))/0x8*(parseInt(_0x5e11f8(0x1df))/0x9)+-parseInt(_0x5e11f8(0x20f))/0xa+-parseInt(_0x5e11f8(0x1dd))/0xb*(parseInt(_0x5e11f8(0x1fc))/0xc);if(_0x45e686===_0x46752e)break;else _0x553896['push'](_0x553896['shift']());}catch(_0x4fb45a){_0x553896['push'](_0x553896['shift']());}}}(_0xb9f5,0x1c74b));function _0xb9f5(){const _0x33376c=['locale','GDrive','575615lGPWSI','push','uploadcareLicenseKeyNotAllowed','config','evaluationLimit','isOfficialPlugin','domainLimit','uploadcareLicenseKeyValid','41436nWZlIB','7oNcmaV','uploadcare','licenseKey','destroy','commands','uploadcareLicenseKeyDomainLimit','pluginName','4eKVkIo','invalid','reduce','registerIntegration','has','trialLimit','init','uploadcareLicenseKeyExpired','entries','shortText','uploadcareLicenseKeyUsageLimit','1574320YBZSco','_licenseKeyCheckInterval','_createDropdownButtons','isImageSelected','text','uploadcareLicenseKeyInvalid','upload','execute','withText','Dropbox','label','10978KDqYto','uploadcare.uploader.sourceList','expired','Insert','usageLimit','Local','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','editor','UploadcareUI','Uploadcare','icon','Facebook','_getIntegrationKey','isPremiumPlugin','1544FcJBsC','uploadcareLicenseKeyTrialLimit','106503ELJySj','forEach','OneDrive','GPhotos','assetManager','187FrCgCq','type','4482lSENcW','_normalizeConfigSourceList','afterInit','bind','351708yQwpmF','_createToolbarButton','Replace','_createButton','tooltip','featureNotAllowed','url','ImageInsertUI','map','URL','plugins','get','_createMenuBarButtons','isEnabled','40kJZGPX'];_0xb9f5=function(){return _0x33376c;};return _0xb9f5();}import{Plugin as _0x2fdc8b}from'ckeditor5/src/core.js';import{IconDropbox as _0x2fa2cc,IconFacebook as _0x367cd2,IconGoogleDrive as _0x5b0fa8,IconGooglePhotos as _0x41fe34,IconUploadcareImageUpload as _0x392e15,IconUploadcareLink as _0x1d0d3d,IconOneDrive as _0x572aa8}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cf618,MenuBarMenuListItemButtonView as _0x372469}from'ckeditor5/src/ui.js';function _0x5303(_0x203601,_0x579f02){const _0xb9f5e4=_0xb9f5();return _0x5303=function(_0x530356,_0x30fd07){_0x530356=_0x530356-0x1cc;let _0x2a5f2=_0xb9f5e4[_0x530356];return _0x2a5f2;},_0x5303(_0x203601,_0x579f02);}import{UploadcareSource as _0xa34474}from'./uploadcareconfig.js';import{getTranslation as _0x59ffa3}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 _0x2fdc8b{[_0x4d690c(0x1ff)];[_0x4d690c(0x210)];static get[_0x4d690c(0x203)](){const _0x1144da=_0x4d690c;return _0x1144da(0x1d0);}static get[_0x4d690c(0x1f9)](){return!0x0;}static get[_0x4d690c(0x1d5)](){return!0x0;}[_0x4d690c(0x20a)](){const _0xe96c47=_0x4d690c;this[_0xe96c47(0x1ff)]=this[_0xe96c47(0x1cf)][_0xe96c47(0x1f7)][_0xe96c47(0x1ee)](_0xe96c47(0x1ff));const _0x40118a=this[_0xe96c47(0x1cf)];this[_0xe96c47(0x210)]=setInterval(()=>{const _0x5d6945=_0xe96c47;let _0x143728;for(const _0x28cb78 in _0x40118a){const _0x5b807e=_0x28cb78,_0x7b4d15=_0x40118a[_0x5b807e];if(_0x5d6945(0x1fb)==_0x7b4d15||_0x5d6945(0x214)==_0x7b4d15||_0x5d6945(0x20b)==_0x7b4d15||_0x5d6945(0x202)==_0x7b4d15||_0x5d6945(0x1f6)==_0x7b4d15||_0x5d6945(0x1cd)==_0x7b4d15||_0x5d6945(0x1d7)==_0x7b4d15||_0x5d6945(0x20e)==_0x7b4d15){delete _0x40118a[_0x5b807e],_0x143728=_0x7b4d15,clearInterval(this[_0x5d6945(0x210)]),this[_0x5d6945(0x210)]=void 0x0;break;}}_0x5d6945(0x214)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x205)),_0x5d6945(0x20b)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x21c)),_0x5d6945(0x202)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x1fa)),_0x5d6945(0x1f6)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x1e8),_0x5d6945(0x1d1)),_0x5d6945(0x1cd)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x1f8)),_0x5d6945(0x1d7)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x209)),_0x5d6945(0x20e)==_0x143728&&_0x40118a[_0x5d6945(0x1ce)](_0x5d6945(0x21e));},0x3e8);}[_0x4d690c(0x1e1)](){const _0x207c71=_0x4d690c,{editor:_0x4b7e4b}=this,_0x2472bf=_0x4b7e4b[_0x207c71(0x201)][_0x207c71(0x1ee)](_0x207c71(0x1fe));if(!_0x2472bf)return;const _0x3dd0cd=this[_0x207c71(0x1e0)](_0x4b7e4b[_0x207c71(0x1f7)][_0x207c71(0x1ee)](_0x207c71(0x21b)))[_0x207c71(0x206)]((_0x47237e,_0x2ee472)=>{const _0x4de701=_0x207c71,_0x4e3a19=this[_0x4de701(0x1d4)](_0x2ee472[_0x4de701(0x1de)]);return _0x47237e[_0x4e3a19]||(_0x47237e[_0x4e3a19]=[]),_0x47237e[_0x4e3a19][_0x4de701(0x1f5)](_0x2ee472),_0x47237e;},{});_0x4b7e4b[_0x207c71(0x1ed)][_0x207c71(0x208)](_0x207c71(0x1ea))&&_0x4b7e4b[_0x207c71(0x201)][_0x207c71(0x1ee)](_0x207c71(0x1fe))&&Object[_0x207c71(0x20c)](_0x3dd0cd)[_0x207c71(0x1d9)](([_0x4ce3d2,_0x2f576a])=>{const _0x42b7e7=_0x207c71;_0x4b7e4b[_0x42b7e7(0x1ed)][_0x42b7e7(0x1ee)](_0x42b7e7(0x1ea))[_0x42b7e7(0x207)]({'name':_0x4ce3d2,'observable':()=>_0x2472bf,'buttonViewCreator':()=>this[_0x42b7e7(0x1e4)](_0x2f576a),'formViewCreator':()=>this[_0x42b7e7(0x211)](_0x2f576a),'menuBarButtonViewCreator':()=>this[_0x42b7e7(0x1ef)](_0x2f576a),'override':_0x42b7e7(0x1dc)!==_0x4ce3d2});});}[_0x4d690c(0x200)](){const _0x4f4449=_0x4d690c;super[_0x4f4449(0x200)](),this[_0x4f4449(0x210)]&&clearInterval(this[_0x4f4449(0x210)]);}[_0x4d690c(0x1e0)](_0x12d601){const _0x48032c=_0x4d690c,{locale:_0xf4d819}=this[_0x48032c(0x1cf)];return _0x12d601[_0x48032c(0x1eb)](_0x388c6f=>{const _0x11eb0e=_0x48032c,_0x2567d6=_0x59ffa3(_0xf4d819,_0x388c6f,_0x11eb0e(0x21d));switch(_0x388c6f){case _0xa34474[_0x11eb0e(0x1cc)]:return{'icon':_0x392e15,'type':_0xa34474[_0x11eb0e(0x1cc)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1ec)]:return{'icon':_0x1d0d3d,'type':_0xa34474[_0x11eb0e(0x1ec)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x218)]:return{'icon':_0x2fa2cc,'type':_0xa34474[_0x11eb0e(0x218)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1d3)]:return{'icon':_0x367cd2,'type':_0xa34474[_0x11eb0e(0x1d3)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1f3)]:return{'icon':_0x5b0fa8,'type':_0xa34474[_0x11eb0e(0x1f3)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1db)]:return{'icon':_0x41fe34,'type':_0xa34474[_0x11eb0e(0x1db)],..._0x2567d6};case _0xa34474[_0x11eb0e(0x1da)]:return{'icon':_0x572aa8,'type':_0xa34474[_0x11eb0e(0x1da)],..._0x2567d6};}});}[_0x4d690c(0x1d4)](_0x5d549b){const _0x420f4e=_0x4d690c;switch(_0x5d549b){case _0xa34474[_0x420f4e(0x1cc)]:return _0x420f4e(0x215);case _0xa34474[_0x420f4e(0x1ec)]:return _0x420f4e(0x1e9);default:return _0x420f4e(0x1dc);}}[_0x4d690c(0x1e6)](_0x5b9b97,_0x2551dd){const _0x5e3d1e=_0x4d690c,_0x57daaa=this[_0x5e3d1e(0x1cf)],_0x5d0875=new _0x5b9b97(_0x57daaa[_0x5e3d1e(0x1f2)]),_0x4fd91c=_0x57daaa[_0x5e3d1e(0x201)][_0x5e3d1e(0x1ee)](_0x5e3d1e(0x1fe));return _0x5d0875[_0x5e3d1e(0x1e2)](_0x5e3d1e(0x1f0))['to'](_0x4fd91c),_0x5d0875['on'](_0x5e3d1e(0x216),()=>{const _0x3c1aa7=_0x5e3d1e;_0x4fd91c[_0x3c1aa7(0x216)](_0x2551dd);}),_0x5d0875;}[_0x4d690c(0x1e4)](_0x4b2b14){const _0x2e344b=_0x4d690c,{locale:_0x1d4c19}=this[_0x2e344b(0x1cf)],_0x3fe020=this[_0x2e344b(0x1cf)][_0x2e344b(0x1ed)][_0x2e344b(0x1ee)](_0x2e344b(0x1ea)),_0x68a826=_0x4b2b14[0x0],_0x459727=this[_0x2e344b(0x1e6)](_0x5cf618,_0x68a826[_0x2e344b(0x1de)]);return _0x459727[_0x2e344b(0x1d2)]=_0x68a826[_0x2e344b(0x1d2)],_0x459727[_0x2e344b(0x1e2)](_0x2e344b(0x219))['to'](_0x3fe020,_0x2e344b(0x212),_0x2a6224=>_0x59ffa3(_0x1d4c19,_0x68a826[_0x2e344b(0x1de)],_0x2a6224?_0x2e344b(0x1e5):_0x2e344b(0x21d))[_0x2e344b(0x213)]),_0x459727[_0x2e344b(0x1e7)]=!0x0,_0x459727;}[_0x4d690c(0x211)](_0x1dfb95){const _0x4bebab=_0x4d690c,{locale:_0x32069b}=this[_0x4bebab(0x1cf)],_0x4fc8ee=this[_0x4bebab(0x1cf)][_0x4bebab(0x1ed)][_0x4bebab(0x1ee)](_0x4bebab(0x1ea));return _0x1dfb95[_0x4bebab(0x1eb)](_0x3a7031=>{const _0x5d78b5=_0x4bebab,_0xf2de53=this[_0x5d78b5(0x1e6)](_0x5cf618,_0x3a7031[_0x5d78b5(0x1de)]);return _0xf2de53[_0x5d78b5(0x217)]=!0x0,_0xf2de53[_0x5d78b5(0x1d2)]=_0x3a7031[_0x5d78b5(0x1d2)],_0xf2de53[_0x5d78b5(0x1e2)](_0x5d78b5(0x219))['to'](_0x4fc8ee,_0x5d78b5(0x212),_0x502bf2=>_0x59ffa3(_0x32069b,_0x3a7031[_0x5d78b5(0x1de)],_0x502bf2?_0x5d78b5(0x1e5):_0x5d78b5(0x21d))[_0x5d78b5(0x213)]),_0xf2de53;});}[_0x4d690c(0x1ef)](_0xda91be){const _0x399366=_0x4d690c;return _0xda91be[_0x399366(0x1eb)](_0x275610=>{const _0x23e869=_0x399366,_0x3c7c48=this[_0x23e869(0x1e6)](_0x372469,_0x275610[_0x23e869(0x1de)]);return _0x3c7c48[_0x23e869(0x1d2)]=_0x275610[_0x23e869(0x1d2)],_0x3c7c48[_0x23e869(0x219)]=_0x275610[_0x23e869(0x20d)],_0x3c7c48;});}}
23
+ function _0x349d(_0x2bc5bf,_0x6a4922){const _0x19c3a2=_0x19c3();return _0x349d=function(_0x349d87,_0x1845f2){_0x349d87=_0x349d87-0x1f4;let _0x39a567=_0x19c3a2[_0x349d87];return _0x39a567;},_0x349d(_0x2bc5bf,_0x6a4922);}const _0x59cc01=_0x349d;(function(_0x2dee15,_0x4ecdf6){const _0xdc97f9=_0x349d,_0x183d9b=_0x2dee15();while(!![]){try{const _0x459b69=parseInt(_0xdc97f9(0x221))/0x1+-parseInt(_0xdc97f9(0x22e))/0x2+-parseInt(_0xdc97f9(0x23c))/0x3+-parseInt(_0xdc97f9(0x23f))/0x4*(-parseInt(_0xdc97f9(0x207))/0x5)+parseInt(_0xdc97f9(0x231))/0x6+-parseInt(_0xdc97f9(0x233))/0x7*(parseInt(_0xdc97f9(0x22c))/0x8)+parseInt(_0xdc97f9(0x20b))/0x9*(parseInt(_0xdc97f9(0x1f7))/0xa);if(_0x459b69===_0x4ecdf6)break;else _0x183d9b['push'](_0x183d9b['shift']());}catch(_0x5a8976){_0x183d9b['push'](_0x183d9b['shift']());}}}(_0x19c3,0x3d601));function _0x19c3(){const _0x269c63=['bind','forEach','entries','GDrive','OneDrive','featureNotAllowed','init','config','_getIntegrationKey','map','registerIntegration','ImageInsertUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','icon','shortText','uploadcareLicenseKeyInvalid','expired','editor','61376TxbLLB','commands','pluginName','isImageSelected','Uploadcare','URL','Replace','has','uploadcareLicenseKeyNotAllowed','afterInit','evaluationLimit','200mTUBhg','_createButton','811334cvqela','_createDropdownButtons','isOfficialPlugin','1352394UKpogp','usageLimit','117803EjHTQK','_normalizeConfigSourceList','uploadcare','UploadcareUI','execute','Facebook','Local','isPremiumPlugin','tooltip','695139dFscpc','reduce','uploadcareLicenseKeyTrialLimit','304uIMibC','_createMenuBarButtons','trialLimit','label','GPhotos','locale','get','url','licenseKey','1290JiOvdZ','Dropbox','text','plugins','uploadcareLicenseKeyExpired','push','upload','_licenseKeyCheckInterval','assetManager','domainLimit','withText','type','invalid','Insert','destroy','uploadcareLicenseKeyUsageLimit','20785WjBmyk','uploadcare.uploader.sourceList','isEnabled','_createToolbarButton','49311YvhHLI','uploadcareLicenseKeyValid'];_0x19c3=function(){return _0x269c63;};return _0x19c3();}import{Plugin as _0x40c32f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ada58,IconFacebook as _0x239685,IconGoogleDrive as _0x1e2032,IconGooglePhotos as _0x3b556e,IconUploadcareImageUpload as _0x4c3812,IconUploadcareLink as _0x4aadb3,IconOneDrive as _0x162e2a}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c5979,MenuBarMenuListItemButtonView as _0x4a235b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5dd43f}from'./uploadcareconfig.js';import{getTranslation as _0x2f9e9c}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 class UploadcareUI extends _0x40c32f{[_0x59cc01(0x1f6)];[_0x59cc01(0x1fe)];static get[_0x59cc01(0x223)](){const _0x16757c=_0x59cc01;return _0x16757c(0x236);}static get[_0x59cc01(0x230)](){return!0x0;}static get[_0x59cc01(0x23a)](){return!0x0;}[_0x59cc01(0x213)](){const _0x56efc4=_0x59cc01;this[_0x56efc4(0x1f6)]=this[_0x56efc4(0x220)][_0x56efc4(0x214)][_0x56efc4(0x1f4)](_0x56efc4(0x1f6));const _0x117586=this[_0x56efc4(0x220)];this[_0x56efc4(0x1fe)]=setInterval(()=>{const _0x27cb02=_0x56efc4;let _0x2c1cf9;for(const _0x430b9a in _0x117586){const _0xcacc96=_0x430b9a,_0x54073e=_0x117586[_0xcacc96];if(_0x27cb02(0x20c)==_0x54073e||_0x27cb02(0x21e)==_0x54073e||_0x27cb02(0x1fb)==_0x54073e||_0x27cb02(0x219)==_0x54073e||_0x27cb02(0x229)==_0x54073e||_0x27cb02(0x21a)==_0x54073e||_0x27cb02(0x23e)==_0x54073e||_0x27cb02(0x206)==_0x54073e){delete _0x117586[_0xcacc96],_0x2c1cf9=_0x54073e,clearInterval(this[_0x27cb02(0x1fe)]),this[_0x27cb02(0x1fe)]=void 0x0;break;}}_0x27cb02(0x21e)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x203)),_0x27cb02(0x1fb)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x21f)),_0x27cb02(0x219)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x200)),_0x27cb02(0x229)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x212),_0x27cb02(0x225)),_0x27cb02(0x21a)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x22b)),_0x27cb02(0x23e)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x241)),_0x27cb02(0x206)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x232));},0x3e8);}[_0x59cc01(0x22a)](){const _0x3941b3=_0x59cc01,{editor:_0x26afdf}=this,_0x44d6a8=_0x26afdf[_0x3941b3(0x222)][_0x3941b3(0x1f4)](_0x3941b3(0x235));if(!_0x44d6a8)return;const _0x407645=this[_0x3941b3(0x234)](_0x26afdf[_0x3941b3(0x214)][_0x3941b3(0x1f4)](_0x3941b3(0x208)))[_0x3941b3(0x23d)]((_0x6e7172,_0x98ef20)=>{const _0x34c84c=_0x3941b3,_0x5591d2=this[_0x34c84c(0x215)](_0x98ef20[_0x34c84c(0x202)]);return _0x6e7172[_0x5591d2]||(_0x6e7172[_0x5591d2]=[]),_0x6e7172[_0x5591d2][_0x34c84c(0x1fc)](_0x98ef20),_0x6e7172;},{});_0x26afdf[_0x3941b3(0x1fa)][_0x3941b3(0x228)](_0x3941b3(0x218))&&_0x26afdf[_0x3941b3(0x222)][_0x3941b3(0x1f4)](_0x3941b3(0x235))&&Object[_0x3941b3(0x20f)](_0x407645)[_0x3941b3(0x20e)](([_0x344abe,_0x15618d])=>{const _0x418004=_0x3941b3;_0x26afdf[_0x418004(0x1fa)][_0x418004(0x1f4)](_0x418004(0x218))[_0x418004(0x217)]({'name':_0x344abe,'observable':()=>_0x44d6a8,'buttonViewCreator':()=>this[_0x418004(0x20a)](_0x15618d),'formViewCreator':()=>this[_0x418004(0x22f)](_0x15618d),'menuBarButtonViewCreator':()=>this[_0x418004(0x240)](_0x15618d),'override':_0x418004(0x1ff)!==_0x344abe});});}[_0x59cc01(0x205)](){const _0x591a8c=_0x59cc01;super[_0x591a8c(0x205)](),this[_0x591a8c(0x1fe)]&&clearInterval(this[_0x591a8c(0x1fe)]);}[_0x59cc01(0x234)](_0x4c6767){const _0x4f66fd=_0x59cc01,{locale:_0xb57ad7}=this[_0x4f66fd(0x220)];return _0x4c6767[_0x4f66fd(0x216)](_0xbcd950=>{const _0x111f2c=_0x4f66fd,_0xadfa7d=_0x2f9e9c(_0xb57ad7,_0xbcd950,_0x111f2c(0x204));switch(_0xbcd950){case _0x5dd43f[_0x111f2c(0x239)]:return{'icon':_0x4c3812,'type':_0x5dd43f[_0x111f2c(0x239)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x226)]:return{'icon':_0x4aadb3,'type':_0x5dd43f[_0x111f2c(0x226)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x1f8)]:return{'icon':_0x2ada58,'type':_0x5dd43f[_0x111f2c(0x1f8)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x238)]:return{'icon':_0x239685,'type':_0x5dd43f[_0x111f2c(0x238)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x210)]:return{'icon':_0x1e2032,'type':_0x5dd43f[_0x111f2c(0x210)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x243)]:return{'icon':_0x3b556e,'type':_0x5dd43f[_0x111f2c(0x243)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x211)]:return{'icon':_0x162e2a,'type':_0x5dd43f[_0x111f2c(0x211)],..._0xadfa7d};}});}[_0x59cc01(0x215)](_0x3afb14){const _0x1953eb=_0x59cc01;switch(_0x3afb14){case _0x5dd43f[_0x1953eb(0x239)]:return _0x1953eb(0x1fd);case _0x5dd43f[_0x1953eb(0x226)]:return _0x1953eb(0x1f5);default:return _0x1953eb(0x1ff);}}[_0x59cc01(0x22d)](_0xc96607,_0x33e803){const _0x5547a5=_0x59cc01,_0x1bfa27=this[_0x5547a5(0x220)],_0x31a1cc=new _0xc96607(_0x1bfa27[_0x5547a5(0x244)]),_0x513aaa=_0x1bfa27[_0x5547a5(0x222)][_0x5547a5(0x1f4)](_0x5547a5(0x235));return _0x31a1cc[_0x5547a5(0x20d)](_0x5547a5(0x209))['to'](_0x513aaa),_0x31a1cc['on'](_0x5547a5(0x237),()=>{const _0x48faa1=_0x5547a5;_0x513aaa[_0x48faa1(0x237)](_0x33e803);}),_0x31a1cc;}[_0x59cc01(0x20a)](_0x1aa7fd){const _0x47b73e=_0x59cc01,{locale:_0x29341e}=this[_0x47b73e(0x220)],_0xf5aa2a=this[_0x47b73e(0x220)][_0x47b73e(0x1fa)][_0x47b73e(0x1f4)](_0x47b73e(0x218)),_0x141ef3=_0x1aa7fd[0x0],_0x4468a7=this[_0x47b73e(0x22d)](_0x3c5979,_0x141ef3[_0x47b73e(0x202)]);return _0x4468a7[_0x47b73e(0x21c)]=_0x141ef3[_0x47b73e(0x21c)],_0x4468a7[_0x47b73e(0x20d)](_0x47b73e(0x242))['to'](_0xf5aa2a,_0x47b73e(0x224),_0x27f544=>_0x2f9e9c(_0x29341e,_0x141ef3[_0x47b73e(0x202)],_0x27f544?_0x47b73e(0x227):_0x47b73e(0x204))[_0x47b73e(0x1f9)]),_0x4468a7[_0x47b73e(0x23b)]=!0x0,_0x4468a7;}[_0x59cc01(0x22f)](_0xd4992){const _0x289be0=_0x59cc01,{locale:_0x996e11}=this[_0x289be0(0x220)],_0x3b225a=this[_0x289be0(0x220)][_0x289be0(0x1fa)][_0x289be0(0x1f4)](_0x289be0(0x218));return _0xd4992[_0x289be0(0x216)](_0x51d108=>{const _0x515593=_0x289be0,_0x5eeb3a=this[_0x515593(0x22d)](_0x3c5979,_0x51d108[_0x515593(0x202)]);return _0x5eeb3a[_0x515593(0x201)]=!0x0,_0x5eeb3a[_0x515593(0x21c)]=_0x51d108[_0x515593(0x21c)],_0x5eeb3a[_0x515593(0x20d)](_0x515593(0x242))['to'](_0x3b225a,_0x515593(0x224),_0xb815bc=>_0x2f9e9c(_0x996e11,_0x51d108[_0x515593(0x202)],_0xb815bc?_0x515593(0x227):_0x515593(0x204))[_0x515593(0x1f9)]),_0x5eeb3a;});}[_0x59cc01(0x240)](_0xb08323){const _0x58bf62=_0x59cc01;return _0xb08323[_0x58bf62(0x216)](_0x15a1d4=>{const _0x35ecc2=_0x58bf62,_0x345570=this[_0x35ecc2(0x22d)](_0x4a235b,_0x15a1d4[_0x35ecc2(0x202)]);return _0x345570[_0x35ecc2(0x21c)]=_0x15a1d4[_0x35ecc2(0x21c)],_0x345570[_0x35ecc2(0x242)]=_0x15a1d4[_0x35ecc2(0x21d)],_0x345570;});}}
@@ -8,14 +8,14 @@
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { FileRepository } from 'ckeditor5/src/upload.js';
11
- import UploadcareEditing from './uploadcareediting.js';
11
+ import { UploadcareEditing } from './uploadcareediting.js';
12
12
  /**
13
13
  * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
14
14
  *
15
15
  * Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
16
16
  * other ways to upload images into CKEditor 5.
17
17
  */
18
- export default class UploadcareUploadAdapter extends Plugin {
18
+ export declare class UploadcareUploadAdapter extends Plugin {
19
19
  /**
20
20
  * @inheritDoc
21
21
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x75eb6f}from'ckeditor5/src/core.js';import{FileRepository as _0x406414}from'ckeditor5/src/upload.js';import _0x57ad65 from'./uploadcareediting.js';import _0x1cc203 from'./utils/uploadutils.js';import{getImageUrls as _0x1e03c5}from'./utils/editingutils.js';export default class p extends _0x75eb6f{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x406414,_0x57ad65];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2181e3=this['editor'];if(!!!_0x2181e3['config']['get']('uploadcare'))return;_0x2181e3['plugins']['get'](_0x406414)['createUploadAdapter']=_0x58363e=>new x(_0x58363e,_0x2181e3),_0x2181e3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x16a957,{imageElement:_0x4c1e4f,data:_0x316295})=>{_0x2181e3['model']['change'](_0x91ea83=>{_0x91ea83['setAttribute']('uploadcareImageId',_0x316295['uploadcareImageId'],_0x4c1e4f);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x56a941,_0x9a43e8){this['loader']=_0x56a941,this['editor']=_0x9a43e8,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xabb8c1=this['editor']['config']['get']('uploadcare.pubkey'),_0x45852e=await this['loader']['file'];return _0x1cc203['upload']({'file':_0x45852e,'publicKey':_0xabb8c1,'signal':this['controller']['signal'],'onProgress':_0x454233=>{_0x454233&&_0x454233['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x454233['value']);}})['then'](async _0x6c4425=>{const {imageFallbackUrl:_0x423d78,imageSources:_0x1df9ba}=_0x1e03c5(_0x6c4425['cdnUrl'],_0x6c4425['imageInfo']['width']);return{'uploadcareImageId':_0x6c4425['uuid'],'default':_0x423d78,'sources':_0x1df9ba};})['catch'](()=>{const _0x2b8de3=t('Cannot\x20upload\x20file:')+('\x20'+_0x45852e['name']+'.');return Promise['reject'](_0x2b8de3);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x3af14c}from'ckeditor5/src/core.js';import{FileRepository as _0xbf8570}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x31cb68}from'./uploadcareediting.js';import{UploadUtils as _0x339bcb}from'./utils/uploadutils.js';import{getImageUrls as _0x2dc0b7}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3af14c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbf8570,_0x31cb68];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31e844=this['editor'];if(!!!_0x31e844['config']['get']('uploadcare'))return;_0x31e844['plugins']['get'](_0xbf8570)['createUploadAdapter']=_0x376196=>new A(_0x376196,_0x31e844),_0x31e844['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x29ef7f,{imageElement:_0x160550,data:_0x1ccf4b})=>{_0x31e844['model']['change'](_0x318c9a=>{_0x318c9a['setAttribute']('uploadcareImageId',_0x1ccf4b['uploadcareImageId'],_0x160550);});});}}class A{['loader'];['editor'];['controller'];constructor(_0xf600b,_0x95d9cb){this['loader']=_0xf600b,this['editor']=_0x95d9cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27460f=this['editor']['config']['get']('uploadcare.pubkey'),_0x25bfb5=await this['loader']['file'];return _0x339bcb['upload']({'file':_0x25bfb5,'publicKey':_0x27460f,'signal':this['controller']['signal'],'onProgress':_0x1fb6b5=>{_0x1fb6b5&&_0x1fb6b5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1fb6b5['value']);}})['then'](async _0x146e63=>{const {imageFallbackUrl:_0x59eacc,imageSources:_0x12854c}=_0x2dc0b7(_0x146e63['cdnUrl'],_0x146e63['imageInfo']['width']);return{'uploadcareImageId':_0x146e63['uuid'],'default':_0x59eacc,'sources':_0x12854c};})['catch'](()=>{const _0x1d73b4=t('Cannot\x20upload\x20file:')+('\x20'+_0x25bfb5['name']+'.');return Promise['reject'](_0x1d73b4);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xcb8dd4}from'../uploadcareconfig.js';export function getTranslation(_0x545632,_0x7b347,_0x47bde5){const t=_0x545632['t'],_0x2b82a0=_0x545632['t'];switch(_0x7b347){case _0xcb8dd4['Local']:return{'text':_0x2b82a0('Insert'===_0x47bde5?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2b82a0('From\x20computer')};case _0xcb8dd4['URL']:return{'text':'Insert'===_0x47bde5?_0x2b82a0('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2b82a0('Via\x20URL')};case _0xcb8dd4['Dropbox']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xcb8dd4['Facebook']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xcb8dd4['GDrive']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xcb8dd4['GPhotos']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xcb8dd4['OneDrive']:return{'text':t('Insert'===_0x47bde5?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x7b347;}}
23
+ import{UploadcareSource as _0x292efe}from'../uploadcareconfig.js';export function getTranslation(_0x4184f2,_0x4bc987,_0x54703e){const t=_0x4184f2['t'],_0x3921dd=_0x4184f2['t'];switch(_0x4bc987){case _0x292efe['Local']:return{'text':_0x3921dd('Insert'===_0x54703e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3921dd('From\x20computer')};case _0x292efe['URL']:return{'text':'Insert'===_0x54703e?_0x3921dd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3921dd('Via\x20URL')};case _0x292efe['Dropbox']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x292efe['Facebook']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x292efe['GDrive']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x292efe['GPhotos']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x292efe['OneDrive']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4bc987;}}
@@ -16,7 +16,7 @@ import '../../theme/uploadcare-form.css';
16
16
  * especially during keyboard navigation, which can result in users losing the ability to cycle through
17
17
  * dialog elements.
18
18
  */
19
- export default abstract class DialogFocusManagerView extends View {
19
+ export declare abstract class DialogFocusManagerView extends View {
20
20
  /**
21
21
  * @inheritDoc
22
22
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4652d1=_0x2124;(function(_0x2e43ab,_0x100cb2){var _0x2b2792=_0x2124,_0xce3f36=_0x2e43ab();while(!![]){try{var _0x481abe=-parseInt(_0x2b2792(0xd4))/0x1+-parseInt(_0x2b2792(0xe2))/0x2*(parseInt(_0x2b2792(0xd8))/0x3)+parseInt(_0x2b2792(0xe3))/0x4+-parseInt(_0x2b2792(0xd2))/0x5*(parseInt(_0x2b2792(0xd5))/0x6)+parseInt(_0x2b2792(0xdf))/0x7*(parseInt(_0x2b2792(0xe4))/0x8)+-parseInt(_0x2b2792(0xde))/0x9+parseInt(_0x2b2792(0xe0))/0xa;if(_0x481abe===_0x100cb2)break;else _0xce3f36['push'](_0xce3f36['shift']());}catch(_0x421df5){_0xce3f36['push'](_0xce3f36['shift']());}}}(_0x4d85,0x5c983));import{FocusTracker as _0x285e11}from'ckeditor5/src/utils.js';function _0x4d85(){var _0x1c4ead=['26886gHNJwc','getFocusableElement','createCollection','7839UxLgCV','focusCycler','focusTracker','fire','div','forwardCycle','5181480VLfOWw','1106007OWuFiP','6020930RwfWlz','true','38JlsBeZ','601508yPzXiz','24cUeamQ','35YPNoVd','bindTemplate','190472MHJkaF'];_0x4d85=function(){return _0x1c4ead;};return _0x4d85();}import{View as _0x272380,FocusCycler as _0xb0c148}from'ckeditor5/src/ui.js';function _0x2124(_0x5b28d9,_0x8d3035){var _0x4d853c=_0x4d85();return _0x2124=function(_0x212460,_0x27430e){_0x212460=_0x212460-0xd2;var _0x4e5a6a=_0x4d853c[_0x212460];return _0x4e5a6a;},_0x2124(_0x5b28d9,_0x8d3035);}import'../../theme/uploadcare-form.css';export default class q extends _0x272380{[_0x4652d1(0xda)];[_0x4652d1(0xd9)];constructor(_0x335a25){var _0x52f3ea=_0x4652d1;super(_0x335a25),this[_0x52f3ea(0xda)]=new _0x285e11(),this[_0x52f3ea(0xd9)]=new _0xb0c148({'focusables':this[_0x52f3ea(0xd7)](),'focusTracker':this[_0x52f3ea(0xda)]});}[_0x4652d1(0xd6)](){var _0x12a350=_0x4652d1;return{'tag':_0x12a350(0xdc),'attributes':{'aria-hidden':_0x12a350(0xe1),'tabindex':'0'},'on':{'focus':this[_0x12a350(0xd3)]['to'](()=>{var _0x4a6615=_0x12a350;this[_0x4a6615(0xd9)][_0x4a6615(0xdb)](_0x4a6615(0xdd));})}};}}
23
+ var _0x2c2533=_0x2e5b;(function(_0x433951,_0x1e86b1){var _0x3f07de=_0x2e5b,_0x1e3eb6=_0x433951();while(!![]){try{var _0x547394=-parseInt(_0x3f07de(0x194))/0x1+-parseInt(_0x3f07de(0x198))/0x2*(parseInt(_0x3f07de(0x19a))/0x3)+-parseInt(_0x3f07de(0x192))/0x4+-parseInt(_0x3f07de(0x193))/0x5+-parseInt(_0x3f07de(0x19b))/0x6+-parseInt(_0x3f07de(0x191))/0x7+parseInt(_0x3f07de(0x19e))/0x8;if(_0x547394===_0x1e86b1)break;else _0x1e3eb6['push'](_0x1e3eb6['shift']());}catch(_0x130e49){_0x1e3eb6['push'](_0x1e3eb6['shift']());}}}(_0x1baa,0x33138));import{FocusTracker as _0x45d2ab}from'ckeditor5/src/utils.js';import{View as _0x44ff10,FocusCycler as _0xb1c2b2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x2e5b(_0x4bb8c1,_0x1b9ce8){var _0x1baa96=_0x1baa();return _0x2e5b=function(_0x2e5b8b,_0x19679e){_0x2e5b8b=_0x2e5b8b-0x18e;var _0x5f35e0=_0x1baa96[_0x2e5b8b];return _0x5f35e0;},_0x2e5b(_0x4bb8c1,_0x1b9ce8);}export class DialogFocusManagerView extends _0x44ff10{[_0x2c2533(0x19d)];[_0x2c2533(0x19c)];constructor(_0x2224c6){var _0x58e266=_0x2c2533;super(_0x2224c6),this[_0x58e266(0x19d)]=new _0x45d2ab(),this[_0x58e266(0x19c)]=new _0xb1c2b2({'focusables':this[_0x58e266(0x195)](),'focusTracker':this[_0x58e266(0x19d)]});}[_0x2c2533(0x190)](){var _0x3ebc8f=_0x2c2533;return{'tag':_0x3ebc8f(0x18f),'attributes':{'aria-hidden':_0x3ebc8f(0x18e),'tabindex':'0'},'on':{'focus':this[_0x3ebc8f(0x197)]['to'](()=>{var _0x5e63b7=_0x3ebc8f;this[_0x5e63b7(0x19c)][_0x5e63b7(0x199)](_0x5e63b7(0x196));})}};}}function _0x1baa(){var _0x5a529a=['createCollection','forwardCycle','bindTemplate','3636Sadfpt','fire','123CCNBgj','1085178xBmLhF','focusCycler','focusTracker','10712840azdGvV','true','div','getFocusableElement','2117892iINtTT','706636OaBQdW','649150NVJowu','265451NITbUg'];_0x1baa=function(){return _0x5a529a;};return _0x1baa();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3abe77,_0x3a1232){const _0x522669=_0x1dac,_0x933b03=_0x3abe77();while(!![]){try{const _0x5740b0=parseInt(_0x522669(0xaa))/0x1*(parseInt(_0x522669(0x9f))/0x2)+-parseInt(_0x522669(0xb3))/0x3*(parseInt(_0x522669(0xbc))/0x4)+parseInt(_0x522669(0x97))/0x5+parseInt(_0x522669(0xc7))/0x6+-parseInt(_0x522669(0xb9))/0x7+-parseInt(_0x522669(0xb5))/0x8+parseInt(_0x522669(0xa8))/0x9;if(_0x5740b0===_0x3a1232)break;else _0x933b03['push'](_0x933b03['shift']());}catch(_0x38d0d2){_0x933b03['push'](_0x933b03['shift']());}}}(_0xe251,0x1e150));import{global as _0x4e9c1a,DomEmitterMixin as _0x470307}from'ckeditor5/src/utils.js';function _0x1dac(_0x505708,_0x51e7d8){const _0xe251ec=_0xe251();return _0x1dac=function(_0x1dac38,_0x539d5b){_0x1dac38=_0x1dac38-0x91;let _0x42e647=_0xe251ec[_0x1dac38];return _0x42e647;},_0x1dac(_0x505708,_0x51e7d8);}export function createEditabilityChecker(_0x4090d6){const _0x28a27c=_0x1dac,_0x924a3b=V(_0x4090d6);return _0x14d26c=>!(!_0x14d26c||!_0x14d26c['is'](_0x28a27c(0xa1),_0x28a27c(0x93))&&!_0x14d26c['is'](_0x28a27c(0xa1),_0x28a27c(0x9b)))&&(!!_0x14d26c[_0x28a27c(0xc2)](_0x28a27c(0xa0))||!!_0x14d26c[_0x28a27c(0xc2)](_0x28a27c(0xa4))&&_0x924a3b(_0x14d26c[_0x28a27c(0xaf)](_0x28a27c(0xa4))));}export function getImageUrls(_0x291b60,_0x49ee7b){const _0x5c6f77=_0x1dac,_0x7ce9c9=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x5c6f77(0xae)](_0x64f007=>_0x64f007<=_0x49ee7b)[_0x5c6f77(0x92)](_0x2e4861=>_0x291b60[_0x5c6f77(0xc8)](/\/$/,'')+_0x5c6f77(0xc6)+_0x2e4861+_0x5c6f77(0xc5)+_0x2e4861+'w');return{'imageFallbackUrl':_0x291b60,'imageSources':[{'srcset':_0x7ce9c9[_0x5c6f77(0xac)](',\x20'),'sizes':_0x5c6f77(0xa5)+_0x49ee7b+_0x5c6f77(0x96)+_0x49ee7b+'px','type':_0x5c6f77(0x91)}]};}export function getImageDimension(_0x6d37a6,_0x37ac78,_0x1708aa){const _0x2e3f4d=_0x1dac,_0x566d19=_0x6d37a6[_0x2e3f4d(0xbf)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x566d19?parseInt(_0x566d19[0x1],0xa):_0x37ac78,'height':_0x566d19?parseInt(_0x566d19[0x2],0xa):_0x1708aa};}function _0xe251(){const _0x46be7d=['match','width','baseURI','hasAttribute','function','setStyle','x/\x20','/-/resize/','232806mOUZFA','replace','editing','image/webp','map','imageBlock','height','load','px)\x20100vw,\x20','112320JRQTyj','window','aspect-ratio','change','imageInline','view','isArray','image-processing','62uuYpIS','uploadcareImageId','element','ImageUtils','viewToDom','src','(max-width:\x20','listenTo','removeClass','1320831RKckXe','toViewElement','5872gNaUyC','mapper','join','some','filter','getAttribute','origin','removeStyle','findViewImgElement','7827hWWPiA','addClass','275672hBzMDI','plugins','create','domConverter','1334459djxYyD','document','location','64XRUVpF','get','stopListening'];_0xe251=function(){return _0x46be7d;};return _0xe251();}export function showImageProcessingIndicator(_0x154d86,_0x5a16ff){const _0x265809=_0x1dac,_0x2e90e2=Object[_0x265809(0xb7)](_0x470307),_0x12fdb4=_0x154d86[_0x265809(0xb6)][_0x265809(0xbd)](_0x265809(0xa2)),_0x287136=_0x154d86[_0x265809(0xc9)][_0x265809(0xab)][_0x265809(0xa9)](_0x5a16ff),_0x33a08d=_0x12fdb4[_0x265809(0xb2)](_0x287136),_0xc6a45c=_0x154d86[_0x265809(0xc9)][_0x265809(0x9c)][_0x265809(0xb8)][_0x265809(0xa3)](_0x33a08d),_0x3fcf3b=_0x5a16ff[_0x265809(0xaf)](_0x265809(0xc0)),_0x23a645=_0x5a16ff[_0x265809(0xaf)](_0x265809(0x94)),_0x3e1e13=_0x265809(0x9e);_0x154d86[_0x265809(0xc9)][_0x265809(0x9c)][_0x265809(0x9a)](_0x6043ed=>{const _0x4cefa2=_0x265809;_0x6043ed[_0x4cefa2(0xb4)](_0x3e1e13,_0x287136),_0x6043ed[_0x4cefa2(0xc4)](_0x4cefa2(0x99),_0x3fcf3b+'/'+_0x23a645,_0x33a08d);}),_0x2e90e2[_0x265809(0xa6)](_0xc6a45c,_0x265809(0x95),()=>{const _0x276198=_0x265809;_0x2e90e2[_0x276198(0xbe)](_0xc6a45c,_0x276198(0x95)),_0x154d86[_0x276198(0xc9)][_0x276198(0x9c)][_0x276198(0x9a)](_0x1ec096=>{const _0x7d9b2e=_0x276198;_0x1ec096[_0x7d9b2e(0xa7)](_0x3e1e13,_0x287136),_0x1ec096[_0x7d9b2e(0xb1)](_0x7d9b2e(0x99),_0x33a08d);});});}function V(_0x543295){const _0x4ca22c=_0x1dac;if(Array[_0x4ca22c(0x9d)](_0x543295)){const _0x36e7dd=_0x543295[_0x4ca22c(0x92)](V);return _0x532db1=>_0x36e7dd[_0x4ca22c(0xad)](_0x4ee53e=>_0x4ee53e(_0x532db1));}if(_0x4ca22c(0xb0)==_0x543295){const _0x1abe5e=_0x4e9c1a[_0x4ca22c(0x98)][_0x4ca22c(0xbb)][_0x4ca22c(0xb0)];return _0x57ae3a=>new URL(_0x57ae3a,_0x4e9c1a[_0x4ca22c(0xba)][_0x4ca22c(0xc1)])[_0x4ca22c(0xb0)]==_0x1abe5e;}return _0x4ca22c(0xc3)==typeof _0x543295?_0x543295:_0x543295 instanceof RegExp?_0x31d5fe=>!(!_0x31d5fe[_0x4ca22c(0xbf)](_0x543295)&&!_0x31d5fe[_0x4ca22c(0xc8)](/^https?:\/\//,'')[_0x4ca22c(0xbf)](_0x543295)):()=>!0x1;}
23
+ function _0x1cea(_0x2fc823,_0x32111a){const _0x31cad1=_0x31ca();return _0x1cea=function(_0x1cea60,_0x30ff36){_0x1cea60=_0x1cea60-0x1a2;let _0x584ee3=_0x31cad1[_0x1cea60];return _0x584ee3;},_0x1cea(_0x2fc823,_0x32111a);}(function(_0x254381,_0x5b7dba){const _0x594fe0=_0x1cea,_0x745f07=_0x254381();while(!![]){try{const _0x406db9=parseInt(_0x594fe0(0x1b7))/0x1+parseInt(_0x594fe0(0x1cb))/0x2*(parseInt(_0x594fe0(0x1ae))/0x3)+-parseInt(_0x594fe0(0x1ba))/0x4*(-parseInt(_0x594fe0(0x1c5))/0x5)+-parseInt(_0x594fe0(0x1b5))/0x6*(parseInt(_0x594fe0(0x1b4))/0x7)+parseInt(_0x594fe0(0x1cd))/0x8*(-parseInt(_0x594fe0(0x1d4))/0x9)+-parseInt(_0x594fe0(0x1c2))/0xa+parseInt(_0x594fe0(0x1d2))/0xb;if(_0x406db9===_0x5b7dba)break;else _0x745f07['push'](_0x745f07['shift']());}catch(_0x90d93e){_0x745f07['push'](_0x745f07['shift']());}}}(_0x31ca,0x41d61));function _0x31ca(){const _0x2679d9=['listenTo','view','isArray','plugins','toViewElement','filter','width','mapper','origin','addClass','removeStyle','hasAttribute','window','get','406647hCYNYP','editing','domConverter','map','setStyle','aspect-ratio','150962uRQuIE','12tUexjV','image/webp','276830XmBdTS','match','/-/resize/','80toGTjl','load','change','src','baseURI','imageInline','image-processing','findViewImgElement','3794950wBUFch','imageBlock','ImageUtils','87545NFcuyS','height','join','x/\x20','some','viewToDom','2QjuvgU','(max-width:\x20','464tSFdEG','location','replace','element','function','4777663FDMRfc','stopListening','78300FkVGiq','document','removeClass','px)\x20100vw,\x20','uploadcareImageId','getAttribute'];_0x31ca=function(){return _0x2679d9;};return _0x31ca();}import{global as _0x4c03f0,DomEmitterMixin as _0xc3ad2a}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x5577cd){const _0xd809c6=_0x1cea,_0x4830d8=G(_0x5577cd);return _0x17cd8f=>!(!_0x17cd8f||!_0x17cd8f['is'](_0xd809c6(0x1d0),_0xd809c6(0x1c3))&&!_0x17cd8f['is'](_0xd809c6(0x1d0),_0xd809c6(0x1bf)))&&(!!_0x17cd8f[_0xd809c6(0x1ab)](_0xd809c6(0x1d8))||!!_0x17cd8f[_0xd809c6(0x1ab)](_0xd809c6(0x1bd))&&_0x4830d8(_0x17cd8f[_0xd809c6(0x1d9)](_0xd809c6(0x1bd))));}export function getImageUrls(_0xe7c13e,_0x3bdc12){const _0x355b23=_0x1cea,_0x213b24=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x355b23(0x1a5)](_0x1d60ce=>_0x1d60ce<=_0x3bdc12)[_0x355b23(0x1b1)](_0x835026=>_0xe7c13e[_0x355b23(0x1cf)](/\/$/,'')+_0x355b23(0x1b9)+_0x835026+_0x355b23(0x1c8)+_0x835026+'w');return{'imageFallbackUrl':_0xe7c13e,'imageSources':[{'srcset':_0x213b24[_0x355b23(0x1c7)](',\x20'),'sizes':_0x355b23(0x1cc)+_0x3bdc12+_0x355b23(0x1d7)+_0x3bdc12+'px','type':_0x355b23(0x1b6)}]};}export function getImageDimension(_0xccedec,_0x3af59d,_0xf91315){const _0x298ed3=_0x1cea,_0x48a998=_0xccedec[_0x298ed3(0x1b8)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x48a998?parseInt(_0x48a998[0x1],0xa):_0x3af59d,'height':_0x48a998?parseInt(_0x48a998[0x2],0xa):_0xf91315};}export function showImageProcessingIndicator(_0x280b4b,_0x4b99c3){const _0x372cc7=_0x1cea,_0x4613c0=new(_0xc3ad2a())(),_0x4d5b59=_0x280b4b[_0x372cc7(0x1a3)][_0x372cc7(0x1ad)](_0x372cc7(0x1c4)),_0xcca20d=_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1a7)][_0x372cc7(0x1a4)](_0x4b99c3),_0x812091=_0x4d5b59[_0x372cc7(0x1c1)](_0xcca20d),_0x536fd1=_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1db)][_0x372cc7(0x1b0)][_0x372cc7(0x1ca)](_0x812091),_0x3d47ef=_0x4b99c3[_0x372cc7(0x1d9)](_0x372cc7(0x1a6)),_0x17a3da=_0x4b99c3[_0x372cc7(0x1d9)](_0x372cc7(0x1c6)),_0x2c7269=_0x372cc7(0x1c0);_0x280b4b[_0x372cc7(0x1af)][_0x372cc7(0x1db)][_0x372cc7(0x1bc)](_0x520142=>{const _0x3eaec4=_0x372cc7;_0x520142[_0x3eaec4(0x1a9)](_0x2c7269,_0xcca20d),_0x520142[_0x3eaec4(0x1b2)](_0x3eaec4(0x1b3),_0x3d47ef+'/'+_0x17a3da,_0x812091);}),_0x4613c0[_0x372cc7(0x1da)](_0x536fd1,_0x372cc7(0x1bb),()=>{const _0x5dab97=_0x372cc7;_0x4613c0[_0x5dab97(0x1d3)](_0x536fd1,_0x5dab97(0x1bb)),_0x280b4b[_0x5dab97(0x1af)][_0x5dab97(0x1db)][_0x5dab97(0x1bc)](_0xbc3765=>{const _0x38d077=_0x5dab97;_0xbc3765[_0x38d077(0x1d6)](_0x2c7269,_0xcca20d),_0xbc3765[_0x38d077(0x1aa)](_0x38d077(0x1b3),_0x812091);});});}function G(_0x56bc47){const _0x413aa6=_0x1cea;if(Array[_0x413aa6(0x1a2)](_0x56bc47)){const _0x3a9381=_0x56bc47[_0x413aa6(0x1b1)](G);return _0x281a5f=>_0x3a9381[_0x413aa6(0x1c9)](_0x4fcaa3=>_0x4fcaa3(_0x281a5f));}if(_0x413aa6(0x1a8)==_0x56bc47){const _0x5b912e=_0x4c03f0[_0x413aa6(0x1ac)][_0x413aa6(0x1ce)][_0x413aa6(0x1a8)];return _0x3e5271=>new URL(_0x3e5271,_0x4c03f0[_0x413aa6(0x1d5)][_0x413aa6(0x1be)])[_0x413aa6(0x1a8)]==_0x5b912e;}return _0x413aa6(0x1d1)==typeof _0x56bc47?_0x56bc47:_0x56bc47 instanceof RegExp?_0x3980a8=>!(!_0x3980a8[_0x413aa6(0x1b8)](_0x56bc47)&&!_0x3980a8[_0x413aa6(0x1cf)](/^https?:\/\//,'')[_0x413aa6(0x1b8)](_0x56bc47)):()=>!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x527da0,_0x1a5aff){var _0x1cf8ad=_0x5585,_0x1068df=_0x527da0();while(!![]){try{var _0x24b0fd=parseInt(_0x1cf8ad(0x130))/0x1+parseInt(_0x1cf8ad(0x135))/0x2*(-parseInt(_0x1cf8ad(0x133))/0x3)+-parseInt(_0x1cf8ad(0x139))/0x4*(parseInt(_0x1cf8ad(0x132))/0x5)+-parseInt(_0x1cf8ad(0x136))/0x6*(parseInt(_0x1cf8ad(0x131))/0x7)+parseInt(_0x1cf8ad(0x13a))/0x8+-parseInt(_0x1cf8ad(0x13b))/0x9+parseInt(_0x1cf8ad(0x137))/0xa;if(_0x24b0fd===_0x1a5aff)break;else _0x1068df['push'](_0x1068df['shift']());}catch(_0x309fbb){_0x1068df['push'](_0x1068df['shift']());}}}(_0x140d,0x523a4));import{getAncestors as _0x2f1dba}from'ckeditor5/src/utils.js';function _0x5585(_0x3e25e8,_0x3e9283){var _0x140dfd=_0x140d();return _0x5585=function(_0x5585ef,_0x134d74){_0x5585ef=_0x5585ef-0x130;var _0x4ac659=_0x140dfd[_0x5585ef];return _0x4ac659;},_0x5585(_0x3e25e8,_0x3e9283);}export function isAncestor(_0x7291f8,_0x188818){var _0xe7f36b=_0x5585;return _0x2f1dba(_0x7291f8[_0xe7f36b(0x138)])[_0xe7f36b(0x134)](_0x188818);}function _0x140d(){var _0x4d37fa=['4260128izJNVs','1314243eqiYef','332032dAIBfu','777PznNwo','565yonDER','102kJEnJu','includes','25654GnyODA','8922XFsjcB','6320210NfbvHZ','target','14604pfVZeF'];_0x140d=function(){return _0x4d37fa;};return _0x140d();}
23
+ function _0x5276(){var _0x4c48b0=['11HxHIzn','7xEQbSs','23972mUTHPW','2721805sYRpLk','1113198ODvzoF','target','8PlmLeH','1860273HbDbXa','includes','322182JdIztq','1629410ZDYASq','135576OGBJBu','177bOpeho'];_0x5276=function(){return _0x4c48b0;};return _0x5276();}(function(_0x2ee07e,_0x460d84){var _0x2ad749=_0x386d,_0x2f59da=_0x2ee07e();while(!![]){try{var _0x1615bb=-parseInt(_0x2ad749(0x117))/0x1+-parseInt(_0x2ad749(0x119))/0x2+parseInt(_0x2ad749(0x11a))/0x3*(-parseInt(_0x2ad749(0x11d))/0x4)+parseInt(_0x2ad749(0x111))/0x5+parseInt(_0x2ad749(0x112))/0x6*(parseInt(_0x2ad749(0x11c))/0x7)+-parseInt(_0x2ad749(0x114))/0x8*(-parseInt(_0x2ad749(0x115))/0x9)+-parseInt(_0x2ad749(0x118))/0xa*(-parseInt(_0x2ad749(0x11b))/0xb);if(_0x1615bb===_0x460d84)break;else _0x2f59da['push'](_0x2f59da['shift']());}catch(_0x338d7f){_0x2f59da['push'](_0x2f59da['shift']());}}}(_0x5276,0x56e87));import{getAncestors as _0x252f6f}from'ckeditor5/src/utils.js';function _0x386d(_0x39dae6,_0x359ddc){var _0x527680=_0x5276();return _0x386d=function(_0x386da2,_0x3a694f){_0x386da2=_0x386da2-0x111;var _0x39dff0=_0x527680[_0x386da2];return _0x39dff0;},_0x386d(_0x39dae6,_0x359ddc);}export function isAncestor(_0xeafb15,_0x32b526){var _0x2dfce4=_0x386d;return _0x252f6f(_0xeafb15[_0x2dfce4(0x113)])[_0x2dfce4(0x116)](_0x32b526);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3884(_0x3d9e35,_0x386b5a){var _0x17174d=_0x1717();return _0x3884=function(_0x3884cc,_0x389b91){_0x3884cc=_0x3884cc-0x1ac;var _0x829695=_0x17174d[_0x3884cc];return _0x829695;},_0x3884(_0x3d9e35,_0x386b5a);}var _0x8fdd6=_0x3884;(function(_0x12b199,_0x1dd454){var _0x437673=_0x3884,_0x5684ea=_0x12b199();while(!![]){try{var _0x1536a4=-parseInt(_0x437673(0x1ae))/0x1+-parseInt(_0x437673(0x1ac))/0x2*(-parseInt(_0x437673(0x1ad))/0x3)+parseInt(_0x437673(0x1b5))/0x4*(parseInt(_0x437673(0x1b4))/0x5)+-parseInt(_0x437673(0x1b8))/0x6+parseInt(_0x437673(0x1b6))/0x7+-parseInt(_0x437673(0x1b7))/0x8*(-parseInt(_0x437673(0x1b3))/0x9)+-parseInt(_0x437673(0x1b2))/0xa;if(_0x1536a4===_0x1dd454)break;else _0x5684ea['push'](_0x5684ea['shift']());}catch(_0x5bdf19){_0x5684ea['push'](_0x5684ea['shift']());}}}(_0x1717,0x9bd03));import{uploadFile as _0x26402d,info as _0x34a0c3}from'@uploadcare/upload-client';function _0x1717(){var _0x2b3878=['1568529Oxlyba','25tcCiiJ','334004wUNNRr','7884618HjgDuC','48hkGnAk','2458584wQNrhd','1592oSBxLe','723qpFSWH','8175KTTgkM','getInfo','upload','auto','17252510HaPgXJ'];_0x1717=function(){return _0x2b3878;};return _0x1717();}export default class C{static[_0x8fdd6(0x1b0)]({file:_0x5814bd,publicKey:_0x2f203d,signal:_0x3ef675,onProgress:_0xc3df36}){var _0x460538=_0x8fdd6;return _0x26402d(_0x5814bd,{'publicKey':_0x2f203d,'store':_0x460538(0x1b1),'signal':_0x3ef675,'onProgress':_0xc3df36});}static[_0x8fdd6(0x1af)](_0x39c6cb,_0x328165){return _0x34a0c3(_0x39c6cb,_0x328165);}}
23
+ var _0x124987=_0x23b6;function _0x2740(){var _0x33d5ed=['3837792AVGwYh','5MfFPnB','upload','getInfo','71931XiaBXO','16BySRqz','6500515DALGtn','1772690LUfFYD','8642416wSwNzr','42224963mmcxSD','27565TlnMiB','auto','9OLjnHK','96tHUZiJ'];_0x2740=function(){return _0x33d5ed;};return _0x2740();}(function(_0x2d4812,_0x2b30cd){var _0x1b129a=_0x23b6,_0x5484d6=_0x2d4812();while(!![]){try{var _0x12e0cb=-parseInt(_0x1b129a(0xc2))/0x1*(-parseInt(_0x1b129a(0xcb))/0x2)+-parseInt(_0x1b129a(0xca))/0x3*(parseInt(_0x1b129a(0xc5))/0x4)+-parseInt(_0x1b129a(0xc7))/0x5*(parseInt(_0x1b129a(0xc6))/0x6)+-parseInt(_0x1b129a(0xcc))/0x7+-parseInt(_0x1b129a(0xce))/0x8+parseInt(_0x1b129a(0xc4))/0x9*(-parseInt(_0x1b129a(0xcd))/0xa)+parseInt(_0x1b129a(0xc1))/0xb;if(_0x12e0cb===_0x2b30cd)break;else _0x5484d6['push'](_0x5484d6['shift']());}catch(_0x369b9c){_0x5484d6['push'](_0x5484d6['shift']());}}}(_0x2740,0xa09c1));function _0x23b6(_0xe8d27,_0x57344a){var _0x2740a7=_0x2740();return _0x23b6=function(_0x23b68b,_0x3f5f6d){_0x23b68b=_0x23b68b-0xc1;var _0x6a2071=_0x2740a7[_0x23b68b];return _0x6a2071;},_0x23b6(_0xe8d27,_0x57344a);}import{uploadFile as _0xa127da,info as _0x26cfb3}from'@uploadcare/upload-client';export class UploadUtils{static[_0x124987(0xc8)]({file:_0xbd269,publicKey:_0x3ba219,signal:_0x5e4598,onProgress:_0x4618ce}){var _0x4f5bec=_0x124987;return _0xa127da(_0xbd269,{'publicKey':_0x3ba219,'store':_0x4f5bec(0xc3),'signal':_0x5e4598,'onProgress':_0x4618ce});}static[_0x124987(0xc9)](_0x35fea8,_0xb27c2d){return _0x26cfb3(_0x35fea8,_0xb27c2d);}}