@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260111.0 → 0.0.0-nightly-20260112.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 (272) hide show
  1. package/build/translations/af.js +1 -0
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/be.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/bs.js +1 -0
  9. package/build/translations/ca.js +1 -0
  10. package/build/translations/cs.js +1 -0
  11. package/build/translations/da.js +1 -0
  12. package/build/translations/de-ch.js +1 -0
  13. package/build/translations/de.js +1 -0
  14. package/build/translations/el.js +1 -0
  15. package/build/translations/en-au.js +1 -0
  16. package/build/translations/en-gb.js +1 -0
  17. package/build/translations/eo.js +1 -0
  18. package/build/translations/es-co.js +1 -0
  19. package/build/translations/es.js +1 -0
  20. package/build/translations/et.js +1 -0
  21. package/build/translations/eu.js +1 -0
  22. package/build/translations/fa.js +1 -0
  23. package/build/translations/fi.js +1 -0
  24. package/build/translations/fr.js +1 -0
  25. package/build/translations/gl.js +1 -0
  26. package/build/translations/gu.js +1 -0
  27. package/build/translations/he.js +1 -0
  28. package/build/translations/hi.js +1 -0
  29. package/build/translations/hr.js +1 -0
  30. package/build/translations/hu.js +1 -0
  31. package/build/translations/hy.js +1 -0
  32. package/build/translations/id.js +1 -0
  33. package/build/translations/it.js +1 -0
  34. package/build/translations/ja.js +1 -0
  35. package/build/translations/jv.js +1 -0
  36. package/build/translations/kk.js +1 -0
  37. package/build/translations/km.js +1 -0
  38. package/build/translations/kn.js +1 -0
  39. package/build/translations/ko.js +1 -0
  40. package/build/translations/ku.js +1 -0
  41. package/build/translations/lt.js +1 -0
  42. package/build/translations/lv.js +1 -0
  43. package/build/translations/ms.js +1 -0
  44. package/build/translations/nb.js +1 -0
  45. package/build/translations/ne.js +1 -0
  46. package/build/translations/nl.js +1 -0
  47. package/build/translations/no.js +1 -0
  48. package/build/translations/oc.js +1 -0
  49. package/build/translations/pl.js +1 -0
  50. package/build/translations/pt-br.js +1 -0
  51. package/build/translations/pt.js +1 -0
  52. package/build/translations/ro.js +1 -0
  53. package/build/translations/ru.js +1 -0
  54. package/build/translations/si.js +1 -0
  55. package/build/translations/sk.js +1 -0
  56. package/build/translations/sl.js +1 -0
  57. package/build/translations/sq.js +1 -0
  58. package/build/translations/sr-latn.js +1 -0
  59. package/build/translations/sr.js +1 -0
  60. package/build/translations/sv.js +1 -0
  61. package/build/translations/th.js +1 -0
  62. package/build/translations/ti.js +1 -0
  63. package/build/translations/tk.js +1 -0
  64. package/build/translations/tr.js +1 -0
  65. package/build/translations/tt.js +1 -0
  66. package/build/translations/ug.js +1 -0
  67. package/build/translations/uk.js +1 -0
  68. package/build/translations/ur.js +1 -0
  69. package/build/translations/uz.js +1 -0
  70. package/build/translations/vi.js +1 -0
  71. package/build/translations/zh-cn.js +1 -0
  72. package/build/translations/zh.js +1 -0
  73. package/build/uploadcare.js +5 -0
  74. package/ckeditor5-metadata.json +2 -2
  75. package/dist/index.js +3 -3
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/be.js +1 -1
  85. package/dist/translations/be.umd.js +1 -1
  86. package/dist/translations/bg.js +1 -1
  87. package/dist/translations/bg.umd.js +1 -1
  88. package/dist/translations/bn.js +1 -1
  89. package/dist/translations/bn.umd.js +1 -1
  90. package/dist/translations/bs.js +1 -1
  91. package/dist/translations/bs.umd.js +1 -1
  92. package/dist/translations/ca.js +1 -1
  93. package/dist/translations/ca.umd.js +1 -1
  94. package/dist/translations/cs.js +1 -1
  95. package/dist/translations/cs.umd.js +1 -1
  96. package/dist/translations/da.js +1 -1
  97. package/dist/translations/da.umd.js +1 -1
  98. package/dist/translations/de-ch.js +1 -1
  99. package/dist/translations/de-ch.umd.js +1 -1
  100. package/dist/translations/de.js +1 -1
  101. package/dist/translations/de.umd.js +1 -1
  102. package/dist/translations/el.js +1 -1
  103. package/dist/translations/el.umd.js +1 -1
  104. package/dist/translations/en-au.js +1 -1
  105. package/dist/translations/en-au.umd.js +1 -1
  106. package/dist/translations/en-gb.js +1 -1
  107. package/dist/translations/en-gb.umd.js +1 -1
  108. package/dist/translations/en.js +1 -1
  109. package/dist/translations/en.umd.js +1 -1
  110. package/dist/translations/eo.js +1 -1
  111. package/dist/translations/eo.umd.js +1 -1
  112. package/dist/translations/es-co.js +1 -1
  113. package/dist/translations/es-co.umd.js +1 -1
  114. package/dist/translations/es.js +1 -1
  115. package/dist/translations/es.umd.js +1 -1
  116. package/dist/translations/et.js +1 -1
  117. package/dist/translations/et.umd.js +1 -1
  118. package/dist/translations/eu.js +1 -1
  119. package/dist/translations/eu.umd.js +1 -1
  120. package/dist/translations/fa.js +1 -1
  121. package/dist/translations/fa.umd.js +1 -1
  122. package/dist/translations/fi.js +1 -1
  123. package/dist/translations/fi.umd.js +1 -1
  124. package/dist/translations/fr.js +1 -1
  125. package/dist/translations/fr.umd.js +1 -1
  126. package/dist/translations/gl.js +1 -1
  127. package/dist/translations/gl.umd.js +1 -1
  128. package/dist/translations/gu.js +1 -1
  129. package/dist/translations/gu.umd.js +1 -1
  130. package/dist/translations/he.js +1 -1
  131. package/dist/translations/he.umd.js +1 -1
  132. package/dist/translations/hi.js +1 -1
  133. package/dist/translations/hi.umd.js +1 -1
  134. package/dist/translations/hr.js +1 -1
  135. package/dist/translations/hr.umd.js +1 -1
  136. package/dist/translations/hu.js +1 -1
  137. package/dist/translations/hu.umd.js +1 -1
  138. package/dist/translations/hy.js +1 -1
  139. package/dist/translations/hy.umd.js +1 -1
  140. package/dist/translations/id.js +1 -1
  141. package/dist/translations/id.umd.js +1 -1
  142. package/dist/translations/it.js +1 -1
  143. package/dist/translations/it.umd.js +1 -1
  144. package/dist/translations/ja.js +1 -1
  145. package/dist/translations/ja.umd.js +1 -1
  146. package/dist/translations/jv.js +1 -1
  147. package/dist/translations/jv.umd.js +1 -1
  148. package/dist/translations/kk.js +1 -1
  149. package/dist/translations/kk.umd.js +1 -1
  150. package/dist/translations/km.js +1 -1
  151. package/dist/translations/km.umd.js +1 -1
  152. package/dist/translations/kn.js +1 -1
  153. package/dist/translations/kn.umd.js +1 -1
  154. package/dist/translations/ko.js +1 -1
  155. package/dist/translations/ko.umd.js +1 -1
  156. package/dist/translations/ku.js +1 -1
  157. package/dist/translations/ku.umd.js +1 -1
  158. package/dist/translations/lt.js +1 -1
  159. package/dist/translations/lt.umd.js +1 -1
  160. package/dist/translations/lv.js +1 -1
  161. package/dist/translations/lv.umd.js +1 -1
  162. package/dist/translations/ms.js +1 -1
  163. package/dist/translations/ms.umd.js +1 -1
  164. package/dist/translations/nb.js +1 -1
  165. package/dist/translations/nb.umd.js +1 -1
  166. package/dist/translations/ne.js +1 -1
  167. package/dist/translations/ne.umd.js +1 -1
  168. package/dist/translations/nl.js +1 -1
  169. package/dist/translations/nl.umd.js +1 -1
  170. package/dist/translations/no.js +1 -1
  171. package/dist/translations/no.umd.js +1 -1
  172. package/dist/translations/oc.js +1 -1
  173. package/dist/translations/oc.umd.js +1 -1
  174. package/dist/translations/pl.js +1 -1
  175. package/dist/translations/pl.umd.js +1 -1
  176. package/dist/translations/pt-br.js +1 -1
  177. package/dist/translations/pt-br.umd.js +1 -1
  178. package/dist/translations/pt.js +1 -1
  179. package/dist/translations/pt.umd.js +1 -1
  180. package/dist/translations/ro.js +1 -1
  181. package/dist/translations/ro.umd.js +1 -1
  182. package/dist/translations/ru.js +1 -1
  183. package/dist/translations/ru.umd.js +1 -1
  184. package/dist/translations/si.js +1 -1
  185. package/dist/translations/si.umd.js +1 -1
  186. package/dist/translations/sk.js +1 -1
  187. package/dist/translations/sk.umd.js +1 -1
  188. package/dist/translations/sl.js +1 -1
  189. package/dist/translations/sl.umd.js +1 -1
  190. package/dist/translations/sq.js +1 -1
  191. package/dist/translations/sq.umd.js +1 -1
  192. package/dist/translations/sr-latn.js +1 -1
  193. package/dist/translations/sr-latn.umd.js +1 -1
  194. package/dist/translations/sr.js +1 -1
  195. package/dist/translations/sr.umd.js +1 -1
  196. package/dist/translations/sv.js +1 -1
  197. package/dist/translations/sv.umd.js +1 -1
  198. package/dist/translations/th.js +1 -1
  199. package/dist/translations/th.umd.js +1 -1
  200. package/dist/translations/ti.js +1 -1
  201. package/dist/translations/ti.umd.js +1 -1
  202. package/dist/translations/tk.js +1 -1
  203. package/dist/translations/tk.umd.js +1 -1
  204. package/dist/translations/tr.js +1 -1
  205. package/dist/translations/tr.umd.js +1 -1
  206. package/dist/translations/tt.js +1 -1
  207. package/dist/translations/tt.umd.js +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.js +1 -1
  213. package/dist/translations/ur.umd.js +1 -1
  214. package/dist/translations/uz.js +1 -1
  215. package/dist/translations/uz.umd.js +1 -1
  216. package/dist/translations/vi.js +1 -1
  217. package/dist/translations/vi.umd.js +1 -1
  218. package/dist/translations/zh-cn.js +1 -1
  219. package/dist/translations/zh-cn.umd.js +1 -1
  220. package/dist/translations/zh.js +1 -1
  221. package/dist/translations/zh.umd.js +1 -1
  222. package/package.json +33 -23
  223. package/{dist → src}/augmentation.d.ts +0 -4
  224. package/src/augmentation.js +23 -0
  225. package/{dist → src}/index.d.ts +0 -4
  226. package/src/index.js +23 -0
  227. package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -7
  228. package/src/ui/uploadcarecontroller.js +24 -0
  229. package/{dist → src}/ui/uploadcareformview.d.ts +1 -5
  230. package/src/ui/uploadcareformview.js +23 -0
  231. package/{dist → src}/uploadcare.d.ts +1 -5
  232. package/src/uploadcare.js +23 -0
  233. package/{dist → src}/uploadcarecommand.d.ts +2 -6
  234. package/src/uploadcarecommand.js +23 -0
  235. package/{dist → src}/uploadcareconfig.d.ts +1 -5
  236. package/src/uploadcareconfig.js +23 -0
  237. package/{dist → src}/uploadcareediting.d.ts +2 -6
  238. package/src/uploadcareediting.js +23 -0
  239. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -9
  240. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  241. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -6
  242. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  243. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -6
  244. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  245. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -6
  246. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  247. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -5
  248. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  249. package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -6
  250. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  251. package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -6
  252. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  253. package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -5
  254. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  255. package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -5
  256. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  257. package/{dist → src}/uploadcareimageedit.d.ts +1 -5
  258. package/src/uploadcareimageedit.js +23 -0
  259. package/{dist → src}/uploadcareui.d.ts +1 -5
  260. package/src/uploadcareui.js +23 -0
  261. package/{dist → src}/uploadcareuploadadapter.d.ts +2 -6
  262. package/src/uploadcareuploadadapter.js +23 -0
  263. package/{dist → src}/utils/common-translations.d.ts +0 -4
  264. package/src/utils/common-translations.js +23 -0
  265. package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -6
  266. package/src/utils/dialogfocusmanagerview.js +23 -0
  267. package/{dist → src}/utils/editingutils.d.ts +0 -4
  268. package/src/utils/editingutils.js +23 -0
  269. package/{dist → src}/utils/isancestor.d.ts +0 -4
  270. package/src/utils/isancestor.js +23 -0
  271. package/{dist → src}/utils/uploadutils.d.ts +0 -4
  272. package/src/utils/uploadutils.js +23 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x24e3f2=_0x980e;(function(_0x41224f,_0x34c5d6){const _0x76e750=_0x980e,_0x194ce5=_0x41224f();while(!![]){try{const _0x57bbbf=-parseInt(_0x76e750(0x140))/0x1+-parseInt(_0x76e750(0x138))/0x2+-parseInt(_0x76e750(0x136))/0x3+-parseInt(_0x76e750(0x134))/0x4*(-parseInt(_0x76e750(0x13c))/0x5)+parseInt(_0x76e750(0x13e))/0x6*(parseInt(_0x76e750(0x12e))/0x7)+parseInt(_0x76e750(0x13b))/0x8*(parseInt(_0x76e750(0x137))/0x9)+-parseInt(_0x76e750(0x13f))/0xa*(-parseInt(_0x76e750(0x133))/0xb);if(_0x57bbbf===_0x34c5d6)break;else _0x194ce5['push'](_0x194ce5['shift']());}catch(_0x4988c9){_0x194ce5['push'](_0x194ce5['shift']());}}}(_0x32fc,0xcab48));import{Plugin as _0xb0e365}from'ckeditor5/src/core.js';import{Notification as _0x14fafb}from'ckeditor5/src/ui.js';function _0x32fc(){const _0x51cf2f=['UploadcareImageEditEditing','add','ImageEditing','uploadcareImageEdit','6699tFAfnN','4NpzCmE','isOfficialPlugin','1996677OIbiyo','9wFGluO','1289542ymKRYi','isPremiumPlugin','pluginName','1942616pSCDrj','3864215TYzGju','uploadcareImageReplace','4002Hhbtnr','28430MTQlEo','1266110vJZFPh','requires','ImageUtils','init','commands','6923cOgeej'];_0x32fc=function(){return _0x51cf2f;};return _0x32fc();}function _0x980e(_0x4c50d1,_0x41e250){const _0x32fc46=_0x32fc();return _0x980e=function(_0x980e81,_0x461429){_0x980e81=_0x980e81-0x12e;let _0x544bc5=_0x32fc46[_0x980e81];return _0x544bc5;},_0x980e(_0x4c50d1,_0x41e250);}import{UploadcareImageEditCommand as _0x55dc95}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x285c2e}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2db0e8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xb0e365{static get[_0x24e3f2(0x13a)](){const _0x43bbcf=_0x24e3f2;return _0x43bbcf(0x12f);}static get[_0x24e3f2(0x141)](){const _0x3b0f73=_0x24e3f2;return[_0x2db0e8,_0x14fafb,_0x3b0f73(0x142),_0x3b0f73(0x131)];}static get[_0x24e3f2(0x135)](){return!0x0;}static get[_0x24e3f2(0x139)](){return!0x0;}[_0x24e3f2(0x143)](){const _0x25b8fd=_0x24e3f2,{editor:_0x5b7f0b}=this;_0x5b7f0b[_0x25b8fd(0x144)][_0x25b8fd(0x130)](_0x25b8fd(0x132),new _0x55dc95(_0x5b7f0b)),_0x5b7f0b[_0x25b8fd(0x144)][_0x25b8fd(0x130)](_0x25b8fd(0x13d),new _0x285c2e(_0x5b7f0b));}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,7 +6,7 @@
10
6
  * @module uploadcare/uploadcareimageedit/uploadcareimageeditui
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
14
10
  import '@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';
15
11
  import '../../theme/uploadcare-theme.css';
16
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x1d5b46}from'ckeditor5/src/core.js';import{ButtonView as _0x3913cc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4b601e}from'ckeditor5/src/icons.js';import{createElement as _0x55ac3c}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 _0x1d5b46{['_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 _0x36ce29=this['editor'];_0x36ce29['ui']['componentFactory']['add']('uploadcareImageEdit',_0xdfd436=>{const _0x26fbd3=_0x36ce29['commands']['get']('uploadcareImageEdit'),_0x162dcf=new _0x3913cc(_0xdfd436),t=_0xdfd436['t'];return _0x162dcf['set']({'icon':_0x4b601e,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x162dcf['bind']('isEnabled')['to'](_0x26fbd3),_0x162dcf['bind']('isOn')['to'](_0x26fbd3,'isActive'),this['listenTo'](_0x162dcf,'execute',()=>{_0x36ce29['execute']('uploadcareImageEdit'),_0x36ce29['editing']['view']['focus']();}),_0x162dcf;}),this['_initConfig']();}['_initConfig'](){const _0x386361=_0x55ac3c(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x386361),this['listenTo'](this['editor'],'destroy',()=>{_0x386361['remove']();});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,7 +5,7 @@
9
5
  /**
10
6
  * @module uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
11
7
  */
12
- import { Command } from '@ckeditor/ckeditor5-core';
8
+ import { Command } from 'ckeditor5/src/core.js';
13
9
  /**
14
10
  * The Uploadcare replace image command.
15
11
  *
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x3d8e(){const _0x45ac60=['document','213BbQNgX','1372728YCbVpH','10742CVIiSk','sizes','getSelectedElement','isEnabled','76530VFtBiO','setAttributes','707028lGApJR','4700766Cfotis','removeAttribute','2704270jozPOY','refresh','424ckZnmX','execute','element','model','selection','imageBlock','change','1476Vnlzwo','160727BgyOca','imageInline','srcset','editor'];_0x3d8e=function(){return _0x45ac60;};return _0x3d8e();}const _0x20399e=_0x4373;(function(_0x375791,_0x162bfa){const _0x469344=_0x4373,_0x3d8bc4=_0x375791();while(!![]){try{const _0x3ab5ab=parseInt(_0x469344(0xfb))/0x1*(-parseInt(_0x469344(0xfd))/0x2)+parseInt(_0x469344(0xea))/0x3+parseInt(_0x469344(0x103))/0x4+parseInt(_0x469344(0xec))/0x5+-parseInt(_0x469344(0xfc))/0x6+-parseInt(_0x469344(0xf6))/0x7*(-parseInt(_0x469344(0xee))/0x8)+-parseInt(_0x469344(0xf5))/0x9*(parseInt(_0x469344(0x101))/0xa);if(_0x3ab5ab===_0x162bfa)break;else _0x3d8bc4['push'](_0x3d8bc4['shift']());}catch(_0x957dab){_0x3d8bc4['push'](_0x3d8bc4['shift']());}}}(_0x3d8e,0xd545b));function _0x4373(_0x2fcfa6,_0xef350d){const _0x3d8e40=_0x3d8e();return _0x4373=function(_0x4373f0,_0x3ac48a){_0x4373f0=_0x4373f0-0xea;let _0x4aa98b=_0x3d8e40[_0x4373f0];return _0x4aa98b;},_0x4373(_0x2fcfa6,_0xef350d);}import{Command as _0x59e7ad}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x59e7ad{[_0x20399e(0xed)](){const _0x3ac4d9=_0x20399e,_0x2df0d9=this[_0x3ac4d9(0xf9)][_0x3ac4d9(0xf1)][_0x3ac4d9(0xfa)][_0x3ac4d9(0xf2)][_0x3ac4d9(0xff)]();this[_0x3ac4d9(0x100)]=Boolean(_0x2df0d9&&(_0x2df0d9['is'](_0x3ac4d9(0xf0),_0x3ac4d9(0xf3))||_0x2df0d9['is'](_0x3ac4d9(0xf0),_0x3ac4d9(0xf7))));}[_0x20399e(0xef)](_0x570ff6){const _0x4930fb=_0x20399e,_0x13b04d=this[_0x4930fb(0xf9)][_0x4930fb(0xf1)][_0x4930fb(0xfa)][_0x4930fb(0xf2)][_0x4930fb(0xff)]();this[_0x4930fb(0xf9)][_0x4930fb(0xf1)][_0x4930fb(0xf4)](_0x36d7e6=>{const _0x17a9cf=_0x4930fb;_0x36d7e6[_0x17a9cf(0x102)](_0x570ff6,_0x13b04d),_0x36d7e6[_0x17a9cf(0xeb)](_0x17a9cf(0xf8),_0x13b04d),_0x36d7e6[_0x17a9cf(0xeb)](_0x17a9cf(0xfe),_0x13b04d);});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,7 +6,7 @@
10
6
  * @module uploadcare/uploadcareimageedit
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
14
10
  import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
15
11
  import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
16
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x2cd504=_0x4e50;(function(_0x1b68cf,_0x2974d4){var _0x4f4a7b=_0x4e50,_0x33b348=_0x1b68cf();while(!![]){try{var _0x54db43=parseInt(_0x4f4a7b(0x1f6))/0x1+-parseInt(_0x4f4a7b(0x1fa))/0x2+-parseInt(_0x4f4a7b(0x1f4))/0x3*(parseInt(_0x4f4a7b(0x1fd))/0x4)+parseInt(_0x4f4a7b(0x1f7))/0x5*(parseInt(_0x4f4a7b(0x1f8))/0x6)+-parseInt(_0x4f4a7b(0x1f2))/0x7+-parseInt(_0x4f4a7b(0x1f5))/0x8*(-parseInt(_0x4f4a7b(0x1fe))/0x9)+parseInt(_0x4f4a7b(0x1f1))/0xa;if(_0x54db43===_0x2974d4)break;else _0x33b348['push'](_0x33b348['shift']());}catch(_0x480545){_0x33b348['push'](_0x33b348['shift']());}}}(_0x4cf9,0x68457));import{Plugin as _0x950f04}from'ckeditor5/src/core.js';function _0x4cf9(){var _0x3c9040=['pluginName','644932GZaTWC','2913903PXumAB','isOfficialPlugin','8225020HBhRsL','4829391JQBcHC','requires','3KYeuQh','8UjIvra','154635wWyAfQ','5nWyiow','1316868nLQlaH','UploadcareImageEdit','484282ZZqYEj','isPremiumPlugin'];_0x4cf9=function(){return _0x3c9040;};return _0x4cf9();}function _0x4e50(_0x4a383e,_0x16168c){var _0x4cf929=_0x4cf9();return _0x4e50=function(_0x4e50b0,_0x4f5b0c){_0x4e50b0=_0x4e50b0-0x1f1;var _0x59ae47=_0x4cf929[_0x4e50b0];return _0x59ae47;},_0x4e50(_0x4a383e,_0x16168c);}import{UploadcareImageEditEditing as _0xe29aab}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x283e6f}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x950f04{static get[_0x2cd504(0x1fc)](){var _0x3356a9=_0x2cd504;return _0x3356a9(0x1f9);}static get[_0x2cd504(0x1f3)](){return[_0xe29aab,_0x283e6f];}static get[_0x2cd504(0x1ff)](){return!0x0;}static get[_0x2cd504(0x1fb)](){return!0x0;}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,7 +6,7 @@
10
6
  * @module uploadcare/uploadcareui
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
14
10
  import '@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';
15
11
  import '../theme/uploadcare-theme.css';
16
12
  import '../theme/uploadcareimageedit.css';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x53f7(_0x363442,_0x5436b0){const _0x39c717=_0x39c7();return _0x53f7=function(_0x53f7c6,_0x2c0a16){_0x53f7c6=_0x53f7c6-0x1be;let _0x8703cc=_0x39c717[_0x53f7c6];return _0x8703cc;},_0x53f7(_0x363442,_0x5436b0);}const _0xdf11fe=_0x53f7;(function(_0x47b714,_0xbf7b26){const _0x7fa7c8=_0x53f7,_0x536d6d=_0x47b714();while(!![]){try{const _0x4a04f3=-parseInt(_0x7fa7c8(0x1d9))/0x1*(parseInt(_0x7fa7c8(0x20b))/0x2)+parseInt(_0x7fa7c8(0x1fa))/0x3*(parseInt(_0x7fa7c8(0x1be))/0x4)+-parseInt(_0x7fa7c8(0x1f6))/0x5+-parseInt(_0x7fa7c8(0x1f0))/0x6+-parseInt(_0x7fa7c8(0x1e9))/0x7+-parseInt(_0x7fa7c8(0x1cd))/0x8*(-parseInt(_0x7fa7c8(0x1c7))/0x9)+parseInt(_0x7fa7c8(0x1e1))/0xa;if(_0x4a04f3===_0xbf7b26)break;else _0x536d6d['push'](_0x536d6d['shift']());}catch(_0x2e1bb3){_0x536d6d['push'](_0x536d6d['shift']());}}}(_0x39c7,0xae9c0));import{Plugin as _0x239a59}from'ckeditor5/src/core.js';import{IconDropbox as _0x385d33,IconFacebook as _0x3b0727,IconGoogleDrive as _0x56ad35,IconGooglePhotos as _0x1f61f9,IconUploadcareImageUpload as _0x3b7d7c,IconUploadcareLink as _0x4128cc,IconOneDrive as _0x505a29}from'ckeditor5/src/icons.js';import{ButtonView as _0x254e35,MenuBarMenuListItemButtonView as _0x49ec27}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4027bd}from'./uploadcareconfig.js';import{getTranslation as _0x481351}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';function _0x39c7(){const _0x458978=['URL','OneDrive','init','3wLlunR','forEach','uploadcareLicenseKeyDomainLimit','_createButton','tooltip','Local','Insert','uploadcare','21949810jbSlRl','expired','Facebook','Dropbox','uploadcare.uploader.sourceList','uploadcareLicenseKeyUsageLimit','label','entries','352905mKKhDZ','url','icon','uploadcareLicenseKeyValid','push','ImageInsertUI','GDrive','8513028bteyMH','_createDropdownButtons','Replace','evaluationLimit','afterInit','config','5682900FkRBgH','_createMenuBarButtons','shortText','bind','8766IqQKGJ','pluginName','isEnabled','text','reduce','licenseKey','type','invalid','editor','plugins','uploadcareLicenseKeyEvaluationLimit','usageLimit','assetManager','isImageSelected','_licenseKeyCheckInterval','_showLicenseError','_getIntegrationKey','446808IIhYPU','uploadcareLicenseKeyNotAllowed','1288KVhMYg','uploadcareLicenseKeyInvalid','featureNotAllowed','commands','get','registerIntegration','_normalizeConfigSourceList','uploadcareLicenseKeyExpired','isPremiumPlugin','18UBQidl','isOfficialPlugin','withText','GPhotos','locale','destroy','3421520OsKpLw','upload','has','Uploadcare','execute','domainLimit','_createToolbarButton','UploadcareUI','map'];_0x39c7=function(){return _0x458978;};return _0x39c7();}export class UploadcareUI extends _0x239a59{[_0xdf11fe(0x1ff)];[_0xdf11fe(0x208)];static get[_0xdf11fe(0x1fb)](){const _0x32938c=_0xdf11fe;return _0x32938c(0x1d4);}static get[_0xdf11fe(0x1c8)](){return!0x0;}static get[_0xdf11fe(0x1c6)](){return!0x0;}[_0xdf11fe(0x1d8)](){const _0x2ead8f=_0xdf11fe;this[_0x2ead8f(0x1ff)]=this[_0x2ead8f(0x202)][_0x2ead8f(0x1f5)][_0x2ead8f(0x1c2)](_0x2ead8f(0x1ff));const _0x3670a5=this[_0x2ead8f(0x202)];this[_0x2ead8f(0x208)]=setInterval(()=>{const _0x59970e=_0x2ead8f;let _0x390df0;for(const _0x2e86c5 in _0x3670a5){const _0x33d45b=_0x2e86c5,_0x2d00ec=_0x3670a5[_0x33d45b];if(_0x59970e(0x1ec)==_0x2d00ec||_0x59970e(0x1bf)==_0x2d00ec||_0x59970e(0x1c5)==_0x2d00ec||_0x59970e(0x1db)==_0x2d00ec||_0x59970e(0x20c)==_0x2d00ec||_0x59970e(0x204)==_0x2d00ec||_0x59970e(0x1e6)==_0x2d00ec){delete _0x3670a5[_0x33d45b],_0x390df0=_0x2d00ec,clearInterval(this[_0x59970e(0x208)]),this[_0x59970e(0x208)]=void 0x0;break;}}_0x59970e(0x1bf)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x201)),_0x59970e(0x1c5)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1e2)),_0x59970e(0x1db)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1d2)),_0x59970e(0x20c)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1c0),_0x59970e(0x1d0)),_0x59970e(0x204)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x1f3)),_0x59970e(0x1e6)==_0x390df0&&_0x3670a5[_0x59970e(0x209)](_0x59970e(0x205));},0x3e8);}[_0xdf11fe(0x1f4)](){const _0x37c1b7=_0xdf11fe,{editor:_0x187249}=this,_0xcc9f49=_0x187249[_0x37c1b7(0x1c1)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e0));if(!_0xcc9f49)return;const _0x4a2345=this[_0x37c1b7(0x1c4)](_0x187249[_0x37c1b7(0x1f5)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e5)))[_0x37c1b7(0x1fe)]((_0x3ac81f,_0x5aa3fa)=>{const _0x20bc1a=_0x37c1b7,_0x3efd3f=this[_0x20bc1a(0x20a)](_0x5aa3fa[_0x20bc1a(0x200)]);return _0x3ac81f[_0x3efd3f]||(_0x3ac81f[_0x3efd3f]=[]),_0x3ac81f[_0x3efd3f][_0x20bc1a(0x1ed)](_0x5aa3fa),_0x3ac81f;},{});_0x187249[_0x37c1b7(0x203)][_0x37c1b7(0x1cf)](_0x37c1b7(0x1ee))&&_0x187249[_0x37c1b7(0x1c1)][_0x37c1b7(0x1c2)](_0x37c1b7(0x1e0))&&Object[_0x37c1b7(0x1e8)](_0x4a2345)[_0x37c1b7(0x1da)](([_0x10d551,_0x203406])=>{const _0x37172e=_0x37c1b7;_0x187249[_0x37172e(0x203)][_0x37172e(0x1c2)](_0x37172e(0x1ee))[_0x37172e(0x1c3)]({'name':_0x10d551,'observable':()=>_0xcc9f49,'buttonViewCreator':()=>this[_0x37172e(0x1d3)](_0x203406),'formViewCreator':()=>this[_0x37172e(0x1f1)](_0x203406),'menuBarButtonViewCreator':()=>this[_0x37172e(0x1f7)](_0x203406),'override':_0x37172e(0x206)!==_0x10d551});});}[_0xdf11fe(0x1cc)](){const _0x2fea9b=_0xdf11fe;super[_0x2fea9b(0x1cc)](),this[_0x2fea9b(0x208)]&&clearInterval(this[_0x2fea9b(0x208)]);}[_0xdf11fe(0x1c4)](_0x3de24e){const _0x4bbe5e=_0xdf11fe,{locale:_0x3db8da}=this[_0x4bbe5e(0x202)];return _0x3de24e[_0x4bbe5e(0x1d5)](_0x3063fc=>{const _0xbd6e3b=_0x4bbe5e,_0x2b0acd=_0x481351(_0x3db8da,_0x3063fc,_0xbd6e3b(0x1df));switch(_0x3063fc){case _0x4027bd[_0xbd6e3b(0x1de)]:return{'icon':_0x3b7d7c,'type':_0x4027bd[_0xbd6e3b(0x1de)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1d6)]:return{'icon':_0x4128cc,'type':_0x4027bd[_0xbd6e3b(0x1d6)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1e4)]:return{'icon':_0x385d33,'type':_0x4027bd[_0xbd6e3b(0x1e4)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1e3)]:return{'icon':_0x3b0727,'type':_0x4027bd[_0xbd6e3b(0x1e3)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1ef)]:return{'icon':_0x56ad35,'type':_0x4027bd[_0xbd6e3b(0x1ef)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1ca)]:return{'icon':_0x1f61f9,'type':_0x4027bd[_0xbd6e3b(0x1ca)],..._0x2b0acd};case _0x4027bd[_0xbd6e3b(0x1d7)]:return{'icon':_0x505a29,'type':_0x4027bd[_0xbd6e3b(0x1d7)],..._0x2b0acd};}});}[_0xdf11fe(0x20a)](_0x214f24){const _0x2fbd5d=_0xdf11fe;switch(_0x214f24){case _0x4027bd[_0x2fbd5d(0x1de)]:return _0x2fbd5d(0x1ce);case _0x4027bd[_0x2fbd5d(0x1d6)]:return _0x2fbd5d(0x1ea);default:return _0x2fbd5d(0x206);}}[_0xdf11fe(0x1dc)](_0x1d4400,_0x4b1508){const _0x397232=_0xdf11fe,_0x20516c=this[_0x397232(0x202)],_0x5bf8ae=new _0x1d4400(_0x20516c[_0x397232(0x1cb)]),_0x2f2106=_0x20516c[_0x397232(0x1c1)][_0x397232(0x1c2)](_0x397232(0x1e0));return _0x5bf8ae[_0x397232(0x1f9)](_0x397232(0x1fc))['to'](_0x2f2106),_0x5bf8ae['on'](_0x397232(0x1d1),()=>{const _0x214ecc=_0x397232;_0x2f2106[_0x214ecc(0x1d1)](_0x4b1508);}),_0x5bf8ae;}[_0xdf11fe(0x1d3)](_0x2e78fd){const _0x20337a=_0xdf11fe,{locale:_0x4c06c2}=this[_0x20337a(0x202)],_0x20d2c9=this[_0x20337a(0x202)][_0x20337a(0x203)][_0x20337a(0x1c2)](_0x20337a(0x1ee)),_0x224c40=_0x2e78fd[0x0],_0xa1f92a=this[_0x20337a(0x1dc)](_0x254e35,_0x224c40[_0x20337a(0x200)]);return _0xa1f92a[_0x20337a(0x1eb)]=_0x224c40[_0x20337a(0x1eb)],_0xa1f92a[_0x20337a(0x1f9)](_0x20337a(0x1e7))['to'](_0x20d2c9,_0x20337a(0x207),_0x264923=>_0x481351(_0x4c06c2,_0x224c40[_0x20337a(0x200)],_0x264923?_0x20337a(0x1f2):_0x20337a(0x1df))[_0x20337a(0x1fd)]),_0xa1f92a[_0x20337a(0x1dd)]=!0x0,_0xa1f92a;}[_0xdf11fe(0x1f1)](_0x2fb5a8){const _0x1c6d1b=_0xdf11fe,{locale:_0x55cb77}=this[_0x1c6d1b(0x202)],_0x514c2a=this[_0x1c6d1b(0x202)][_0x1c6d1b(0x203)][_0x1c6d1b(0x1c2)](_0x1c6d1b(0x1ee));return _0x2fb5a8[_0x1c6d1b(0x1d5)](_0x4fbdf2=>{const _0x3d39b9=_0x1c6d1b,_0x582f68=this[_0x3d39b9(0x1dc)](_0x254e35,_0x4fbdf2[_0x3d39b9(0x200)]);return _0x582f68[_0x3d39b9(0x1c9)]=!0x0,_0x582f68[_0x3d39b9(0x1eb)]=_0x4fbdf2[_0x3d39b9(0x1eb)],_0x582f68[_0x3d39b9(0x1f9)](_0x3d39b9(0x1e7))['to'](_0x514c2a,_0x3d39b9(0x207),_0x20b5ae=>_0x481351(_0x55cb77,_0x4fbdf2[_0x3d39b9(0x200)],_0x20b5ae?_0x3d39b9(0x1f2):_0x3d39b9(0x1df))[_0x3d39b9(0x1fd)]),_0x582f68;});}[_0xdf11fe(0x1f7)](_0x414fe7){const _0x1782d6=_0xdf11fe;return _0x414fe7[_0x1782d6(0x1d5)](_0x1bc9bb=>{const _0x8887b7=_0x1782d6,_0x14a9e9=this[_0x8887b7(0x1dc)](_0x49ec27,_0x1bc9bb[_0x8887b7(0x200)]);return _0x14a9e9[_0x8887b7(0x1eb)]=_0x1bc9bb[_0x8887b7(0x1eb)],_0x14a9e9[_0x8887b7(0x1e7)]=_0x1bc9bb[_0x8887b7(0x1f8)],_0x14a9e9;});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,8 +6,8 @@
10
6
  * @module uploadcare/uploadcareuploadadapter
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
14
- import { FileRepository } from '@ckeditor/ckeditor5-upload';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FileRepository } from 'ckeditor5/src/upload.js';
15
11
  import { UploadcareEditing } from './uploadcareediting.js';
16
12
  /**
17
13
  * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x450781}from'ckeditor5/src/core.js';import{FileRepository as _0x398e9f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x47e330}from'./uploadcareediting.js';import{UploadUtils as _0x564c53}from'./utils/uploadutils.js';import{getImageUrls as _0x4b1039}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x450781{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x398e9f,_0x47e330];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x50774e=this['editor'];if(!!!_0x50774e['config']['get']('uploadcare'))return;_0x50774e['plugins']['get'](_0x398e9f)['createUploadAdapter']=_0x44e949=>new k(_0x44e949,_0x50774e),_0x50774e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2a69d3,{imageElement:_0x522f7a,data:_0x3e57b5})=>{_0x50774e['model']['change'](_0xda43f8=>{_0xda43f8['setAttribute']('uploadcareImageId',_0x3e57b5['uploadcareImageId'],_0x522f7a);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x766418,_0x21a8f5){this['loader']=_0x766418,this['editor']=_0x21a8f5,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x16d864=await this['loader']['file'];return _0x564c53['upload']({'file':_0x16d864,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x4e600e=>{_0x4e600e&&_0x4e600e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x4e600e['value']);}})['then'](async _0x23cf1b=>{const {imageFallbackUrl:_0x223ddb,imageSources:_0x444716}=_0x4b1039(_0x23cf1b['cdnUrl'],_0x23cf1b['imageInfo']['width']);return{'uploadcareImageId':_0x23cf1b['uuid'],'default':_0x223ddb,'sources':_0x444716};})['catch'](()=>{const _0x2e0110=t('Cannot\x20upload\x20file:')+('\x20'+_0x16d864['name']+'.');return Promise['reject'](_0x2e0110);});}['abort'](){this['controller']['abort']();}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{UploadcareSource as _0xbb99d1}from'../uploadcareconfig.js';export function getTranslation(_0x3d652a,_0x49b068,_0x273761){const t=_0x3d652a['t'],_0x38f2fd=_0x3d652a['t'];switch(_0x49b068){case _0xbb99d1['Local']:return{'text':_0x38f2fd('Insert'===_0x273761?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x38f2fd('From\x20computer')};case _0xbb99d1['URL']:return{'text':'Insert'===_0x273761?_0x38f2fd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x38f2fd('Via\x20URL')};case _0xbb99d1['Dropbox']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xbb99d1['Facebook']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xbb99d1['GDrive']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xbb99d1['GPhotos']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xbb99d1['OneDrive']:return{'text':t('Insert'===_0x273761?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49b068;}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,8 +5,8 @@
9
5
  /**
10
6
  * @module uploadcare/utils/dialogfocusmanagerview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
13
- import { View, type TemplateDefinition } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
14
10
  import '../../theme/uploadcare-form.css';
15
11
  /**
16
12
  * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x4853a9=_0x33ac;function _0x33ac(_0x2c0458,_0x4bdeab){var _0x411120=_0x4111();return _0x33ac=function(_0x33ac3d,_0x31413a){_0x33ac3d=_0x33ac3d-0x7d;var _0xa6e676=_0x411120[_0x33ac3d];return _0xa6e676;},_0x33ac(_0x2c0458,_0x4bdeab);}(function(_0x583f3e,_0x575125){var _0x3b9898=_0x33ac,_0x500b51=_0x583f3e();while(!![]){try{var _0x4a2de4=-parseInt(_0x3b9898(0x8c))/0x1+parseInt(_0x3b9898(0x88))/0x2*(-parseInt(_0x3b9898(0x8a))/0x3)+parseInt(_0x3b9898(0x85))/0x4+parseInt(_0x3b9898(0x7f))/0x5+parseInt(_0x3b9898(0x80))/0x6+parseInt(_0x3b9898(0x84))/0x7*(-parseInt(_0x3b9898(0x8e))/0x8)+-parseInt(_0x3b9898(0x7d))/0x9*(-parseInt(_0x3b9898(0x8b))/0xa);if(_0x4a2de4===_0x575125)break;else _0x500b51['push'](_0x500b51['shift']());}catch(_0x3531d9){_0x500b51['push'](_0x500b51['shift']());}}}(_0x4111,0xef071));import{FocusTracker as _0x377c37}from'ckeditor5/src/utils.js';function _0x4111(){var _0x1cdc24=['forwardCycle','7wgMgPX','4271952zNAkIX','div','getFocusableElement','10FImOFM','true','103953idiGTI','10PbIzMD','418435fbaZaz','bindTemplate','13507888JnKutI','createCollection','13149657TjHPkD','focusCycler','2140825DtdmoB','1812042qjtMWv','focusTracker','fire'];_0x4111=function(){return _0x1cdc24;};return _0x4111();}import{View as _0x68d466,FocusCycler as _0x5c38c2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x68d466{[_0x4853a9(0x81)];[_0x4853a9(0x7e)];constructor(_0x69ab7){var _0x5df1ea=_0x4853a9;super(_0x69ab7),this[_0x5df1ea(0x81)]=new _0x377c37(),this[_0x5df1ea(0x7e)]=new _0x5c38c2({'focusables':this[_0x5df1ea(0x8f)](),'focusTracker':this[_0x5df1ea(0x81)]});}[_0x4853a9(0x87)](){var _0x5a20ff=_0x4853a9;return{'tag':_0x5a20ff(0x86),'attributes':{'aria-hidden':_0x5a20ff(0x89),'tabindex':'0'},'on':{'focus':this[_0x5a20ff(0x8d)]['to'](()=>{var _0x2ddc55=_0x5a20ff;this[_0x2ddc55(0x7e)][_0x2ddc55(0x82)](_0x2ddc55(0x83));})}};}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x457f00,_0x1964d7){const _0x53e25f=_0x4169,_0x1be37d=_0x457f00();while(!![]){try{const _0x329b50=-parseInt(_0x53e25f(0x10a))/0x1*(parseInt(_0x53e25f(0x107))/0x2)+parseInt(_0x53e25f(0x124))/0x3*(-parseInt(_0x53e25f(0xf6))/0x4)+parseInt(_0x53e25f(0x123))/0x5*(-parseInt(_0x53e25f(0x10b))/0x6)+-parseInt(_0x53e25f(0x101))/0x7*(-parseInt(_0x53e25f(0xfd))/0x8)+-parseInt(_0x53e25f(0x11c))/0x9+parseInt(_0x53e25f(0xf2))/0xa*(parseInt(_0x53e25f(0xff))/0xb)+parseInt(_0x53e25f(0x102))/0xc;if(_0x329b50===_0x1964d7)break;else _0x1be37d['push'](_0x1be37d['shift']());}catch(_0x599a94){_0x1be37d['push'](_0x1be37d['shift']());}}}(_0x517e,0xb390d));import{global as _0x31e9d5,DomEmitterMixin as _0x20c449}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x1bf298){const _0x4ddb83=_0x4169,_0x553a2d=R(_0x1bf298);return _0x387ab4=>!(!_0x387ab4||!_0x387ab4['is'](_0x4ddb83(0x120),_0x4ddb83(0x104))&&!_0x387ab4['is'](_0x4ddb83(0x120),_0x4ddb83(0xf4)))&&(!!_0x387ab4[_0x4ddb83(0x100)](_0x4ddb83(0xf9))||!!_0x387ab4[_0x4ddb83(0x100)](_0x4ddb83(0x11d))&&_0x553a2d(_0x387ab4[_0x4ddb83(0x109)](_0x4ddb83(0x11d))));}export function getImageUrls(_0x313837,_0x2d54fa){const _0x297e1e=_0x4169,_0x265284=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x297e1e(0xed)](_0x345073=>_0x345073<=_0x2d54fa)[_0x297e1e(0x112)](_0x30dbe=>_0x313837[_0x297e1e(0x125)](/\/$/,'')+_0x297e1e(0x106)+_0x30dbe+_0x297e1e(0x11e)+_0x30dbe+'w');return{'imageFallbackUrl':_0x313837,'imageSources':[{'srcset':_0x265284[_0x297e1e(0xec)](',\x20'),'sizes':_0x297e1e(0xf3)+_0x2d54fa+_0x297e1e(0x119)+_0x2d54fa+'px','type':_0x297e1e(0x10f)}]};}export function getImageDimension(_0x396a20,_0x3885c5,_0x3dbe42){const _0x1da9e3=_0x4169,_0x2f927c=_0x396a20[_0x1da9e3(0x108)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x2f927c?parseInt(_0x2f927c[0x1],0xa):_0x3885c5,'height':_0x2f927c?parseInt(_0x2f927c[0x2],0xa):_0x3dbe42};}function _0x4169(_0x794512,_0x4572a2){const _0x517e21=_0x517e();return _0x4169=function(_0x416977,_0x120005){_0x416977=_0x416977-0xec;let _0x9d1f4d=_0x517e21[_0x416977];return _0x9d1f4d;},_0x4169(_0x794512,_0x4572a2);}export function showImageProcessingIndicator(_0xb3bb4b,_0x279f55){const _0x49e119=_0x4169,_0x3a48ba=new(_0x20c449())(),_0x51e3c7=_0xb3bb4b[_0x49e119(0x113)][_0x49e119(0x118)](_0x49e119(0xf0)),_0x4cd270=_0xb3bb4b[_0x49e119(0x10c)][_0x49e119(0xfa)][_0x49e119(0x11f)](_0x279f55),_0x573150=_0x51e3c7[_0x49e119(0x117)](_0x4cd270),_0xd3bbda=_0xb3bb4b[_0x49e119(0x10c)][_0x49e119(0x121)][_0x49e119(0x111)][_0x49e119(0x11b)](_0x573150),_0x109b69=_0x279f55[_0x49e119(0x109)](_0x49e119(0x103)),_0x44bd8a=_0x279f55[_0x49e119(0x109)](_0x49e119(0xee)),_0x2bdf30=_0x49e119(0x122);_0xb3bb4b[_0x49e119(0x10c)][_0x49e119(0x121)][_0x49e119(0x116)](_0x251123=>{const _0x1d7b24=_0x49e119;_0x251123[_0x1d7b24(0x10e)](_0x2bdf30,_0x4cd270),_0x251123[_0x1d7b24(0xf7)](_0x1d7b24(0xf1),_0x109b69+'/'+_0x44bd8a,_0x573150);}),_0x3a48ba[_0x49e119(0x115)](_0xd3bbda,_0x49e119(0x105),()=>{const _0x5d1d0e=_0x49e119;_0x3a48ba[_0x5d1d0e(0x110)](_0xd3bbda,_0x5d1d0e(0x105)),_0xb3bb4b[_0x5d1d0e(0x10c)][_0x5d1d0e(0x121)][_0x5d1d0e(0x116)](_0x31d335=>{const _0x547974=_0x5d1d0e;_0x31d335[_0x547974(0xfb)](_0x2bdf30,_0x4cd270),_0x31d335[_0x547974(0xfc)](_0x547974(0xf1),_0x573150);});});}function R(_0x1286cf){const _0x39893b=_0x4169;if(Array[_0x39893b(0xf8)](_0x1286cf)){const _0x486005=_0x1286cf[_0x39893b(0x112)](R);return _0x56a9bb=>_0x486005[_0x39893b(0x11a)](_0x486906=>_0x486906(_0x56a9bb));}if(_0x39893b(0xef)==_0x1286cf){const _0x15676d=_0x31e9d5[_0x39893b(0xf5)][_0x39893b(0xfe)][_0x39893b(0xef)];return _0x493131=>new URL(_0x493131,_0x31e9d5[_0x39893b(0x10d)][_0x39893b(0x114)])[_0x39893b(0xef)]==_0x15676d;}return _0x39893b(0x126)==typeof _0x1286cf?_0x1286cf:_0x1286cf instanceof RegExp?_0x12f849=>!(!_0x12f849[_0x39893b(0x108)](_0x1286cf)&&!_0x12f849[_0x39893b(0x125)](/^https?:\/\//,'')[_0x39893b(0x108)](_0x1286cf)):()=>!0x1;}function _0x517e(){const _0x59b6d4=['image/webp','stopListening','domConverter','map','plugins','baseURI','listenTo','change','findViewImgElement','get','px)\x20100vw,\x20','some','viewToDom','6391989OQWPUe','src','x/\x20','toViewElement','element','view','image-processing','73385ANpHvR','15MqFpmy','replace','function','join','filter','height','origin','ImageUtils','aspect-ratio','30WBQTnN','(max-width:\x20','imageInline','window','1167068GMtCmS','setStyle','isArray','uploadcareImageId','mapper','removeClass','removeStyle','329248lFlPzw','location','2127345QZBGlp','hasAttribute','70CbDFFN','54074880DFsMUQ','width','imageBlock','load','/-/resize/','1389914VFoQCV','match','getAttribute','2NboMJD','492SlmxOD','editing','document','addClass'];_0x517e=function(){return _0x59b6d4;};return _0x517e();}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x532ba6,_0x4c2a81){var _0x362922=_0x4e21,_0x58cc46=_0x532ba6();while(!![]){try{var _0x452fbe=-parseInt(_0x362922(0x1aa))/0x1*(-parseInt(_0x362922(0x1b1))/0x2)+parseInt(_0x362922(0x1b2))/0x3*(-parseInt(_0x362922(0x1af))/0x4)+parseInt(_0x362922(0x1ad))/0x5+-parseInt(_0x362922(0x1b5))/0x6*(-parseInt(_0x362922(0x1b0))/0x7)+-parseInt(_0x362922(0x1ac))/0x8+parseInt(_0x362922(0x1ab))/0x9+parseInt(_0x362922(0x1a9))/0xa*(-parseInt(_0x362922(0x1b4))/0xb);if(_0x452fbe===_0x4c2a81)break;else _0x58cc46['push'](_0x58cc46['shift']());}catch(_0x257b31){_0x58cc46['push'](_0x58cc46['shift']());}}}(_0x4fe7,0x6d554));function _0x4fe7(){var _0x108b89=['28wqeteE','820202AIrKxJ','6kMSbxi','includes','385132FKKFab','892326HvvgzL','20dhvLuE','1KvHUmg','1080954jlcdyA','5415480phkyFQ','3524440DAKChk','target','1270384bFdVcq'];_0x4fe7=function(){return _0x108b89;};return _0x4fe7();}import{getAncestors as _0x55cc88}from'ckeditor5/src/utils.js';function _0x4e21(_0x13515f,_0x35fde7){var _0x4fe72b=_0x4fe7();return _0x4e21=function(_0x4e21f8,_0x2c2b6f){_0x4e21f8=_0x4e21f8-0x1a9;var _0x4b2db2=_0x4fe72b[_0x4e21f8];return _0x4b2db2;},_0x4e21(_0x13515f,_0x35fde7);}export function isAncestor(_0x57c3c8,_0x32a4f4){var _0xeaf0bb=_0x4e21;return _0x55cc88(_0x57c3c8[_0xeaf0bb(0x1ae)])[_0xeaf0bb(0x1b3)](_0x32a4f4);}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x57ff69=_0x5ce8;function _0x5b08(){var _0x2bf29a=['410449XJXeHK','5244tNATcx','3044490aIhBrL','2249184UlBCQF','596wpvGJY','getInfo','9221709bcpuox','upload','3694525tbntlj'];_0x5b08=function(){return _0x2bf29a;};return _0x5b08();}function _0x5ce8(_0x236dc9,_0x1189b0){var _0x5b0885=_0x5b08();return _0x5ce8=function(_0x5ce88a,_0x3289a0){_0x5ce88a=_0x5ce88a-0xee;var _0x7a6698=_0x5b0885[_0x5ce88a];return _0x7a6698;},_0x5ce8(_0x236dc9,_0x1189b0);}(function(_0x38e048,_0x414b5b){var _0x18653b=_0x5ce8,_0x36c515=_0x38e048();while(!![]){try{var _0x1b5bf4=-parseInt(_0x18653b(0xf1))/0x1+-parseInt(_0x18653b(0xf5))/0x2+-parseInt(_0x18653b(0xf4))/0x3+parseInt(_0x18653b(0xf2))/0x4+parseInt(_0x18653b(0xf0))/0x5+-parseInt(_0x18653b(0xf3))/0x6+parseInt(_0x18653b(0xee))/0x7;if(_0x1b5bf4===_0x414b5b)break;else _0x36c515['push'](_0x36c515['shift']());}catch(_0x29b6e4){_0x36c515['push'](_0x36c515['shift']());}}}(_0x5b08,0x5f251));import{uploadFile as _0x1fe36a,info as _0x446560}from'@uploadcare/upload-client';export class UploadUtils{static[_0x57ff69(0xef)]({file:_0x1c60ee,..._0x1ebc0e}){return _0x1fe36a(_0x1c60ee,_0x1ebc0e);}static[_0x57ff69(0xf6)](_0x5da22f,_0x11d6d7){return _0x446560(_0x5da22f,_0x11d6d7);}}