@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260114.0 → 0.0.0-nightly-20260115.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
+ var _0x5dbe93=_0x5975;(function(_0x5897cf,_0x456e72){var _0x1ddf46=_0x5975,_0x3b2bac=_0x5897cf();while(!![]){try{var _0x5a197b=-parseInt(_0x1ddf46(0x1e9))/0x1+parseInt(_0x1ddf46(0x1ed))/0x2*(parseInt(_0x1ddf46(0x1f9))/0x3)+parseInt(_0x1ddf46(0x1f2))/0x4+parseInt(_0x1ddf46(0x1f0))/0x5+parseInt(_0x1ddf46(0x1eb))/0x6+-parseInt(_0x1ddf46(0x1ee))/0x7+parseInt(_0x1ddf46(0x1ea))/0x8;if(_0x5a197b===_0x456e72)break;else _0x3b2bac['push'](_0x3b2bac['shift']());}catch(_0x1ed6d5){_0x3b2bac['push'](_0x3b2bac['shift']());}}}(_0x1785,0x84aae));function _0x1785(){var _0x24136a=['uc-light','2823910bObFHn','getFocusableElement','1678108pnJFji','ck-uploadcare-theme','uploader-','element','ck-uploadcare-form','uc-file-uploader-inline','div','584553gqTHvq','setTemplate','focus','597609FsHCCN','5660568xLFoat','1426794sZXpLB','ck-reset_all-excluded','2SlyWND','6884605CYMfLe'];_0x1785=function(){return _0x24136a;};return _0x1785();}import{DialogFocusManagerView as _0x4e8112}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x5975(_0x2ab6df,_0xe2066b){var _0x178589=_0x1785();return _0x5975=function(_0x5975e8,_0x40ca5b){_0x5975e8=_0x5975e8-0x1e7;var _0x48aaf6=_0x178589[_0x5975e8];return _0x48aaf6;},_0x5975(_0x2ab6df,_0xe2066b);}export class UploadcareFormView extends _0x4e8112{constructor(_0x4175f3,_0x2e0932){var _0x1d9cc1=_0x5975;super(_0x4175f3),this[_0x1d9cc1(0x1e7)]({'tag':_0x1d9cc1(0x1f8),'attributes':{'class':['ck',_0x1d9cc1(0x1ec),_0x1d9cc1(0x1f6)],'tabindex':'-1'},'children':[{'tag':_0x1d9cc1(0x1f7),'attributes':{'class':[_0x1d9cc1(0x1ef),_0x1d9cc1(0x1f3)],'ctx-name':_0x1d9cc1(0x1f4)+_0x2e0932}},this[_0x1d9cc1(0x1f1)]()]});}[_0x5dbe93(0x1e8)](){var _0x10babf=_0x5dbe93;this[_0x10babf(0x1f5)][_0x10babf(0x1e8)]();}}
@@ -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/uploadcare
11
7
  * @publicApi
12
8
  */
13
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
14
10
  import { UploadcareUI } from './uploadcareui.js';
15
11
  import { UploadcareEditing } from './uploadcareediting.js';
16
12
  import * as UC from '@uploadcare/file-uploader';
@@ -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 _0x5663de=_0x2c74;(function(_0x5cb422,_0x44daef){const _0x246c26=_0x2c74,_0x36551e=_0x5cb422();while(!![]){try{const _0x115e18=parseInt(_0x246c26(0xeb))/0x1+parseInt(_0x246c26(0xdb))/0x2+parseInt(_0x246c26(0xd0))/0x3*(-parseInt(_0x246c26(0xe7))/0x4)+parseInt(_0x246c26(0xe0))/0x5+parseInt(_0x246c26(0xd6))/0x6*(-parseInt(_0x246c26(0xe9))/0x7)+-parseInt(_0x246c26(0xdd))/0x8*(parseInt(_0x246c26(0xdc))/0x9)+parseInt(_0x246c26(0xe8))/0xa*(-parseInt(_0x246c26(0xd7))/0xb);if(_0x115e18===_0x44daef)break;else _0x36551e['push'](_0x36551e['shift']());}catch(_0x21539b){_0x36551e['push'](_0x36551e['shift']());}}}(_0x1b8a,0x1a5e5));function _0x2c74(_0x5a7d06,_0x48cf85){const _0x1b8af7=_0x1b8a();return _0x2c74=function(_0x2c7440,_0x216eb0){_0x2c7440=_0x2c7440-0xd0;let _0x2b48c3=_0x1b8af7[_0x2c7440];return _0x2b48c3;},_0x2c74(_0x5a7d06,_0x48cf85);}import{Plugin as _0x3e727f}from'ckeditor5/src/core.js';import{UploadcareUI as _0x82df1c}from'./uploadcareui.js';import{UploadcareEditing as _0x1cb033}from'./uploadcareediting.js';import{UploadcareSource as _0x3fe9b8}from'./uploadcareconfig.js';function _0x1b8a(){const _0x4aaf4b=['234MNIlkr','locale','Local','requires','URL','_defineLocale','6558AdzwYP','278322HZQHoy','uploadcare.uploader.sourceList','config','contentLanguage','415282jnDsOJ','78741JOgQOv','16pppVlv','Uploadcare','editor','271470KcbjzP','get','pluginName','isOfficialPlugin','defineComponents','isPremiumPlugin','uploadcare.locale','1516rVfWZc','10AhiZSW','1211ZZcveh','define','107521zfzUAv','defineLocale'];_0x1b8a=function(){return _0x4aaf4b;};return _0x1b8a();}import*as _0x22eba6 from'@uploadcare/file-uploader';export class Uploadcare extends _0x3e727f{static get[_0x5663de(0xd3)](){return[_0x1cb033,_0x82df1c];}static get[_0x5663de(0xe2)](){const _0x5702fb=_0x5663de;return _0x5702fb(0xde);}static get[_0x5663de(0xe3)](){return!0x0;}static get[_0x5663de(0xe5)](){return!0x0;}constructor(_0x1b09b5){const _0x3c7d40=_0x5663de;super(_0x1b09b5),_0x1b09b5[_0x3c7d40(0xd9)][_0x3c7d40(0xea)](_0x3c7d40(0xd8),[_0x3fe9b8[_0x3c7d40(0xd2)],_0x3fe9b8[_0x3c7d40(0xd4)]]),_0x22eba6[_0x3c7d40(0xe4)](_0x22eba6),this[_0x3c7d40(0xd5)]();}[_0x5663de(0xd5)](){const _0x240497=_0x5663de,_0x16974f=this[_0x240497(0xdf)][_0x240497(0xd9)][_0x240497(0xe1)](_0x240497(0xe6)),_0x4ac1a6=this[_0x240497(0xdf)][_0x240497(0xd1)][_0x240497(0xda)];_0x16974f&&_0x22eba6[_0x240497(0xec)](_0x4ac1a6,_0x16974f);}}
@@ -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/uploadcarecommand
11
7
  * @publicApi
12
8
  */
13
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
14
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareEditing } from './uploadcareediting.js';
16
12
  import type { UploadcareSource } from './uploadcareconfig.js';
17
13
  /**
@@ -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 _0x469477=_0x452b;(function(_0x52863c,_0x3691b8){var _0x33b790=_0x452b,_0x413d89=_0x52863c();while(!![]){try{var _0x58b641=-parseInt(_0x33b790(0x17a))/0x1+parseInt(_0x33b790(0x165))/0x2*(-parseInt(_0x33b790(0x170))/0x3)+parseInt(_0x33b790(0x174))/0x4*(-parseInt(_0x33b790(0x16e))/0x5)+parseInt(_0x33b790(0x172))/0x6*(parseInt(_0x33b790(0x177))/0x7)+-parseInt(_0x33b790(0x16f))/0x8*(parseInt(_0x33b790(0x169))/0x9)+parseInt(_0x33b790(0x173))/0xa*(-parseInt(_0x33b790(0x171))/0xb)+parseInt(_0x33b790(0x17b))/0xc;if(_0x58b641===_0x3691b8)break;else _0x413d89['push'](_0x413d89['shift']());}catch(_0x58e1ea){_0x413d89['push'](_0x413d89['shift']());}}}(_0x17b1,0x78ae6));import{Command as _0x4b08c5}from'ckeditor5/src/core.js';import{Dialog as _0x36355e}from'ckeditor5/src/ui.js';function _0x17b1(){var _0x2a73ba=['requires','225BVGffc','_controller','_checkEnabled','get','_editing','143250FbuaBS','234488SRZqML','935574JCNAiR','33MgMsvE','894jQLHRs','2729210SUkMzS','28pHlRcp','isEnabled','destroy','25613oBHqjV','refresh','plugins','708239RPxdjo','32655648cMVCSE','insertImage','editor','2PXjFCo','commands','execute'];_0x17b1=function(){return _0x2a73ba;};return _0x17b1();}import{UploadcareEditing as _0x356fd6}from'./uploadcareediting.js';import{UploadcareController as _0xb0485a}from'./ui/uploadcarecontroller.js';function _0x452b(_0x113191,_0x2ea4c5){var _0x17b1eb=_0x17b1();return _0x452b=function(_0x452b32,_0xbee04b){_0x452b32=_0x452b32-0x165;var _0x24640a=_0x17b1eb[_0x452b32];return _0x24640a;},_0x452b(_0x113191,_0x2ea4c5);}export class UploadcareCommand extends _0x4b08c5{[_0x469477(0x16d)];[_0x469477(0x16a)]=null;static get[_0x469477(0x168)](){return[_0x36355e,_0x356fd6];}constructor(_0x389155){var _0x22b2a2=_0x469477;super(_0x389155),this[_0x22b2a2(0x16d)]=_0x389155[_0x22b2a2(0x179)][_0x22b2a2(0x16c)](_0x356fd6);}[_0x469477(0x178)](){var _0x38a66c=_0x469477;this[_0x38a66c(0x175)]=this[_0x38a66c(0x16b)]();}[_0x469477(0x167)](_0x2bc22f){var _0x2e76c2=_0x469477;this[_0x2e76c2(0x16a)]&&(this[_0x2e76c2(0x16a)][_0x2e76c2(0x176)](),this[_0x2e76c2(0x16a)]=null),this[_0x2e76c2(0x16a)]=new _0xb0485a(this[_0x2e76c2(0x17d)],this[_0x2e76c2(0x16d)],_0x2bc22f);}[_0x469477(0x16b)](){var _0xbbbe47=_0x469477;return this[_0xbbbe47(0x17d)][_0xbbbe47(0x166)][_0xbbbe47(0x16c)](_0xbbbe47(0x17c))[_0xbbbe47(0x175)];}}
@@ -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/uploadcareconfig
11
7
  * @publicApi
12
8
  */
13
- import type { ArrayOrItem } from '@ckeditor/ckeditor5-utils';
9
+ import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
14
10
  import type { ConfigType } from '@uploadcare/file-uploader';
15
11
  /**
16
12
  * Locale definition type matching Uploadcare `LocaleDefinition` type.
@@ -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(_0x44dc6d,_0x2e5669){var _0x3c4581=_0x835e,_0x3771d6=_0x44dc6d();while(!![]){try{var _0x5197a7=parseInt(_0x3c4581(0x16b))/0x1+-parseInt(_0x3c4581(0x160))/0x2+parseInt(_0x3c4581(0x169))/0x3*(parseInt(_0x3c4581(0x166))/0x4)+parseInt(_0x3c4581(0x168))/0x5+parseInt(_0x3c4581(0x156))/0x6+-parseInt(_0x3c4581(0x155))/0x7*(-parseInt(_0x3c4581(0x158))/0x8)+parseInt(_0x3c4581(0x162))/0x9*(-parseInt(_0x3c4581(0x161))/0xa);if(_0x5197a7===_0x2e5669)break;else _0x3771d6['push'](_0x3771d6['shift']());}catch(_0x42ef1f){_0x3771d6['push'](_0x3771d6['shift']());}}}(_0x1f0d,0xe1380));function _0x1f0d(){var _0x38f140=['3127256ZSiLXJ','GDrive','Facebook','local','facebook','gdrive','GPhotos','URL','1768548mROBve','1480eplimz','232731uQjzoo','OneDrive','dropbox','url','32EpUSMC','Local','6325740hSTVLy','528549WzTiJQ','onedrive','143935wMCzSW','gphotos','28XHnSVy','7510362jIQBVw','Dropbox'];_0x1f0d=function(){return _0x38f140;};return _0x1f0d();}function _0x835e(_0x3b7b34,_0x4305d9){var _0x1f0de6=_0x1f0d();return _0x835e=function(_0x835e90,_0x4ef4d0){_0x835e90=_0x835e90-0x154;var _0x450268=_0x1f0de6[_0x835e90];return _0x450268;},_0x835e(_0x3b7b34,_0x4305d9);}export var UploadcareSource;!function(_0x152d63){var _0x404cec=_0x835e;_0x152d63[_0x404cec(0x167)]=_0x404cec(0x15b),_0x152d63[_0x404cec(0x15f)]=_0x404cec(0x165),_0x152d63[_0x404cec(0x157)]=_0x404cec(0x164),_0x152d63[_0x404cec(0x159)]=_0x404cec(0x15d),_0x152d63[_0x404cec(0x15a)]=_0x404cec(0x15c),_0x152d63[_0x404cec(0x15e)]=_0x404cec(0x154),_0x152d63[_0x404cec(0x163)]=_0x404cec(0x16a);}(UploadcareSource||(UploadcareSource={}));
@@ -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/uploadcareediting
11
7
  * @publicApi
12
8
  */
13
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
14
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareUploadAdapter } from './uploadcareuploadadapter.js';
16
12
  import type { UploaderBlock } from '@uploadcare/file-uploader';
17
13
  /**
@@ -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 _0x234e1e=_0x2c40;(function(_0x2d4eb2,_0x257aa3){const _0xc5aecb=_0x2c40,_0x3623d9=_0x2d4eb2();while(!![]){try{const _0x517236=parseInt(_0xc5aecb(0x243))/0x1+-parseInt(_0xc5aecb(0x247))/0x2*(-parseInt(_0xc5aecb(0x21f))/0x3)+parseInt(_0xc5aecb(0x20f))/0x4+parseInt(_0xc5aecb(0x21b))/0x5*(parseInt(_0xc5aecb(0x1fb))/0x6)+parseInt(_0xc5aecb(0x22a))/0x7+parseInt(_0xc5aecb(0x223))/0x8*(parseInt(_0xc5aecb(0x206))/0x9)+-parseInt(_0xc5aecb(0x234))/0xa;if(_0x517236===_0x257aa3)break;else _0x3623d9['push'](_0x3623d9['shift']());}catch(_0x50e477){_0x3623d9['push'](_0x3623d9['shift']());}}}(_0x11fc,0xe8c8b));function _0x11fc(){const _0x10c0a2=['get','document','ctxElement','5660676FAmLCj','downcast','destroy','model','uploadcare','commands','querySelector','uploadcare.uploader','init','remove','isPremiumPlugin','ucContextId','20ZYrRpi','execute','fromCharCode','_initConfig','4192473IOmlVS','contentLanguage','uc-config','_configElement','77120QSYxIA','for','_initImageProcessingIndicator','getSelectedElement','extend','_ctxElement','data-uc-image-id','12181295pSWDsD','_initSchema','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','join','body','uc-upload-ctx-provider','insertImage','getAttribute','PictureEditing','attributeToAttribute','66641370MqLnrs','pluginName','imageInline','#uc-icon-arrow-down','isRegistered','configElement','map','imageBlock','removeAttribute','view','closeMax','uploadcare.pubkey','conversion','requires','schema','1219275aVIczB','_initConversion','true','listenTo','2JUSmEE','upcast','uploadcareImageId','editor','appendChild','once','selection','add','uploadcareImageReplace','1712670jKVyRR','elementToAttribute','UploadcareEditing','_initCtx','locale','cleanupImage','editing','iconHrefResolver','afterInit','render','replaceImageSource','657WRmqgf','config','uploader-','input[uploadcare-file-input]','isOfficialPlugin','href'];_0x11fc=function(){return _0x10c0a2;};return _0x11fc();}import{Plugin as _0x24eab6}from'ckeditor5/src/core.js';import{Dialog as _0x1a9713}from'ckeditor5/src/ui.js';import{createElement as _0x4eefc2,global as _0x2b6193,uid as _0x4be08a}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x23ebf8}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x578a72}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xbdd91f}from'./utils/editingutils.js';function _0x2c40(_0x3cfbdc,_0x57d038){const _0x11fc86=_0x11fc();return _0x2c40=function(_0x2c4021,_0x439046){_0x2c4021=_0x2c4021-0x1f3;let _0x496160=_0x11fc86[_0x2c4021];return _0x496160;},_0x2c40(_0x3cfbdc,_0x57d038);}export class UploadcareEditing extends _0x24eab6{[_0x234e1e(0x222)]=null;[_0x234e1e(0x228)]=null;static get[_0x234e1e(0x235)](){const _0x7b79be=_0x234e1e;return _0x7b79be(0x1fd);}static get[_0x234e1e(0x241)](){const _0x461218=_0x234e1e;return[_0x461218(0x232),_0x578a72,_0x1a9713];}static get[_0x234e1e(0x20a)](){return!0x0;}static get[_0x234e1e(0x219)](){return!0x0;}[_0x234e1e(0x21a)];get[_0x234e1e(0x239)](){const _0x925f06=_0x234e1e;return this[_0x925f06(0x222)];}get[_0x234e1e(0x20e)](){const _0x293353=_0x234e1e;return this[_0x293353(0x228)];}constructor(_0x5e2d5c){const _0x3738cd=_0x234e1e;super(_0x5e2d5c),this[_0x3738cd(0x21a)]=_0x4be08a();}[_0x234e1e(0x217)](){const _0x4d9a9a=_0x234e1e,_0x41d3a7=this[_0x4d9a9a(0x1f5)];_0x41d3a7[_0x4d9a9a(0x214)][_0x4d9a9a(0x1f9)](_0x4d9a9a(0x213),new _0x23ebf8(_0x41d3a7));}[_0x234e1e(0x203)](){const _0x5a67ad=_0x234e1e;this[_0x5a67ad(0x22b)](),this[_0x5a67ad(0x244)](),this[_0x5a67ad(0x21e)](),this[_0x5a67ad(0x1fe)](),this[_0x5a67ad(0x225)](),this[_0x5a67ad(0x246)](this[_0x5a67ad(0x1f5)],_0x5a67ad(0x211),()=>{const _0x8a9a95=_0x5a67ad;this[_0x8a9a95(0x222)]&&(this[_0x8a9a95(0x222)][_0x8a9a95(0x218)](),this[_0x8a9a95(0x222)]=null),this[_0x8a9a95(0x228)]&&(this[_0x8a9a95(0x228)][_0x8a9a95(0x218)](),this[_0x8a9a95(0x228)]=null);const _0x32db82=_0x2b6193[_0x8a9a95(0x20d)][_0x8a9a95(0x215)](_0x8a9a95(0x209));_0x32db82&&_0x32db82[_0x8a9a95(0x218)]();}),async function(_0x4b1b37){const _0x2f9be2=_0x13d60e([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x5d478f=0x535f8c3a,_0x51163a=0x5358f2da^_0x5d478f,_0x3dcba6=window[_0x13d60e([0x44,0x61,0x74,0x65])][_0x13d60e([0x6e,0x6f,0x77])](),_0x570ae9=_0x4b1b37[_0x13d60e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4319ed=new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aa954=>{_0x570ae9[_0x13d60e([0x6f,0x6e,0x63,0x65])](_0x13d60e([0x72,0x65,0x61,0x64,0x79]),_0x2aa954);}),_0x305a7a={[_0x13d60e([0x6b,0x74,0x79])]:_0x13d60e([0x45,0x43]),[_0x13d60e([0x75,0x73,0x65])]:_0x13d60e([0x73,0x69,0x67]),[_0x13d60e([0x63,0x72,0x76])]:_0x13d60e([0x50,0x2d,0x32,0x35,0x36]),[_0x13d60e([0x78])]:_0x13d60e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x13d60e([0x79])]:_0x13d60e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x13d60e([0x61,0x6c,0x67])]:_0x13d60e([0x45,0x53,0x32,0x35,0x36])},_0x58f936=_0x570ae9[_0x13d60e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13d60e([0x67,0x65,0x74])](_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31f502(){let _0x5a31f,_0xa32cde=null,_0x1a6a8f=null;try{if(_0x58f936==_0x13d60e([0x47,0x50,0x4c]))return _0x13d60e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5a31f=_0x3cc5d4(),!_0x5a31f)return _0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5a31f[_0x13d60e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1a6a8f=_0xd55745(_0x5a31f[_0x13d60e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5a31f[_0x13d60e([0x6a,0x74,0x69])])),await _0x1819ca()?_0x385f9c()?_0x239c02()?_0x13d60e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x99b395()?(_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13d60e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa32cde=_0x238cbb(_0x13d60e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x29b6b9()):_0x13d60e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13d60e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13d60e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x239c02(){const _0x250f02=[_0x13d60e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13d60e([0x74,0x72,0x69,0x61,0x6c])][_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dcba6/0x3e8:0xe10*_0x51163a;return _0x5a31f[_0x13d60e([0x65,0x78,0x70])]<_0x250f02;}function _0x385f9c(){const _0x1e37f0=_0x5a31f[_0x13d60e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e37f0&&(!!_0x1e37f0[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x2a]))||!!_0x1e37f0[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x55,0x50,0x4c,0x43])));}function _0x99b395(){const _0x51c759=_0x2c40,_0x165e36=_0x5a31f[_0x13d60e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x165e36||0x0==_0x165e36[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x181c07}=new URL(window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51c759(0x20b)]);if(_0x165e36[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x181c07))return!0x0;const _0x8f79e4=_0x181c07[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e]));return _0x165e36[_0x13d60e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x905cdb=>_0x905cdb[_0x13d60e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d60e([0x2a])))[_0x13d60e([0x6d,0x61,0x70])](_0x58c68f=>_0x58c68f[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e])))[_0x13d60e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x447ec3=>_0x447ec3[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8f79e4[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d60e([0x6d,0x61,0x70])](_0x4ba86f=>Array(_0x8f79e4[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ba86f[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d60e([0x66,0x69,0x6c,0x6c])](_0x4ba86f[0x0]===_0x13d60e([0x2a])?_0x13d60e([0x2a]):'')[_0x13d60e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ba86f))[_0x13d60e([0x73,0x6f,0x6d,0x65])](_0xbc8e62=>_0x8f79e4[_0x13d60e([0x65,0x76,0x65,0x72,0x79])]((_0x4eb92f,_0x37bb41)=>_0xbc8e62[_0x37bb41]===_0x4eb92f||_0xbc8e62[_0x37bb41]===_0x13d60e([0x2a])));}function _0x29b6b9(){return _0xa32cde&&_0x1a6a8f?new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4298a3,_0x20713b)=>{_0xa32cde[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x4298a3,_0x20713b),_0x1a6a8f[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x420913=>{_0x420913!=_0x13d60e([0x56,0x61,0x6c,0x69,0x64])&&_0x4298a3(_0x420913);},_0x20713b);}):_0xa32cde||_0x1a6a8f||_0x13d60e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd55745(_0x3ba510,_0x35201b){return new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4deff8=>{if(_0x105e0c())return _0x4deff8(_0x13d60e([0x56,0x61,0x6c,0x69,0x64]));_0x3b8248(),_0x570ae9[_0x13d60e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ab3cb=!0x1;const _0x391a90=_0x4be08a();function _0x952f2b(_0x221a61){return!!_0x221a61&&(typeof _0x221a61===_0x13d60e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x221a61===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x221a61[_0x13d60e([0x74,0x68,0x65,0x6e])]===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x221a61[_0x13d60e([0x63,0x61,0x74,0x63,0x68])]===_0x13d60e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f45fc(_0x1df513){_0x1ac796(_0x1df513)[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x3d789b=>{if(!_0x3d789b||_0x3d789b[_0x13d60e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13d60e([0x6f,0x6b]))return _0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cbb7e(_0x4b2645(_0x391a90+_0x35201b))!=_0x3d789b[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13d60e([0x56,0x61,0x6c,0x69,0x64]);})[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x11639a=>(_0x3d47b4(),_0x11639a),()=>{const _0x339416=_0x38d4c1();return null==_0x339416?(_0x3d47b4(),_0x13d60e([0x56,0x61,0x6c,0x69,0x64])):_0x13d60e(_0x3dcba6-_0x339416>(0x7753083a^_0x5d478f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x4deff8)[_0x13d60e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e9a99=0x536962ba^_0x5d478f;function _0x3d47b4(){const _0x4f0e2f=_0x13d60e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cbb7e(_0x4b2645(_0x3ba510)),_0x361a75=_0x547da1(_0x5cbb7e(window[_0x13d60e([0x4d,0x61,0x74,0x68])][_0x13d60e([0x63,0x65,0x69,0x6c])](_0x3dcba6/_0x2e9a99)));window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d60e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f0e2f,_0x361a75);}function _0x38d4c1(){const _0x14498d=_0x13d60e([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cbb7e(_0x4b2645(_0x3ba510)),_0x2840cc=window[_0x13d60e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d60e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14498d);return _0x2840cc?window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x547da1(_0x2840cc),0x10)*_0x2e9a99:null;}function _0x1ac796(_0x229468){return new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x290b5c,_0x4e018b)=>{_0x229468[_0x13d60e([0x74,0x68,0x65,0x6e])](_0x290b5c,_0x4e018b),window[_0x13d60e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e018b,0x535e58fa^_0x5d478f);});}}_0x570ae9[_0x13d60e([0x6f,0x6e])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x401679,_0x1b1f92)=>{if(_0x1b1f92[0x0]!=_0x3ba510)return _0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b1f92[0x1]={..._0x1b1f92[0x1],[_0x13d60e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x391a90};},{[_0x13d60e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d60e([0x68,0x69,0x67,0x68])}),_0x570ae9[_0x13d60e([0x6f,0x6e])](_0x13d60e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6d139a=>{_0x952f2b(_0x6d139a[_0x13d60e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ab3cb=!0x0,_0x4f45fc(_0x6d139a[_0x13d60e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13d60e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d60e([0x6c,0x6f,0x77])}),_0x4319ed[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>{_0x3ab3cb||_0x4deff8(_0x13d60e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x105e0c(){return _0x570ae9[_0x13d60e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d60e([0x76,0x69,0x65,0x77])][_0x13d60e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13d60e([0x61,0x75,0x74,0x6f]);}function _0x3b8248(){_0x570ae9[_0x13d60e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d60e([0x76,0x69,0x65,0x77])][_0x13d60e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13d60e([0x61,0x75,0x74,0x6f]);}}function _0x238cbb(_0x5956f4){const _0x20a124=[new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4eb5=>setTimeout(_0x1d4eb5,0x5356b2f6^_0x5d478f)),_0x4319ed[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54d09b=>{let _0xee59fe=0x0;_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x6f,0x6e])](_0x13d60e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51d5f5,_0x2b9ce4)=>{_0x2b9ce4[0x0][_0x13d60e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xee59fe++,_0xee59fe==(0x535f89d2^_0x5d478f)&&(_0x54d09b(),_0x51d5f5[_0x13d60e([0x6f,0x66,0x66])]());});}))];return window[_0x13d60e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13d60e([0x72,0x61,0x63,0x65])](_0x20a124)[_0x13d60e([0x74,0x68,0x65,0x6e])](()=>_0x5956f4);}async function _0x5d1165(){await _0x4319ed,_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55cc5c,_0x570ae9[_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d60e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55cc5c,_0x570ae9[_0x13d60e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13d60e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x358b01(_0x30341c){const _0x49698f=_0x2b31c8();_0x570ae9[_0x49698f]=_0x13d60e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x30341c,_0x30341c!=_0x13d60e([0x56,0x61,0x6c,0x69,0x64])&&_0x5d1165();}function _0x2b31c8(){const _0x28464c=window[_0x13d60e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13d60e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13d60e([0x6e,0x6f,0x77])]())[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13d60e([0x2e]),'');let _0x1b6aeb=_0x13d60e([0x68]);for(let _0x27dd28=0x0;_0x27dd28<_0x28464c[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27dd28+=0x2){let _0x3963c4=window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28464c[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27dd28,_0x27dd28+0x2));_0x3963c4>=_0x2f9be2[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3963c4-=_0x2f9be2[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b6aeb+=_0x2f9be2[_0x3963c4];}return _0x1b6aeb;}function _0x3cc5d4(){const _0x104390=_0x58f936[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e]));if(0x3!=_0x104390[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31e81b(_0x104390[0x1]);function _0x31e81b(_0x13a6b6){const _0x35490c=_0x403272(_0x13a6b6);return _0x35490c&&_0x2ebbd1()?_0x35490c:null;function _0x2ebbd1(){const _0x4c05fb=_0x35490c[_0x13d60e([0x6a,0x74,0x69])],_0x5d14e6=window[_0x13d60e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c05fb[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c05fb[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x20b46a={..._0x35490c,[_0x13d60e([0x6a,0x74,0x69])]:_0x4c05fb[_0x13d60e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c05fb[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x20b46a[_0x13d60e([0x76,0x63])],_0x4b2645(_0x20b46a)==_0x5d14e6;}}}async function _0x1819ca(){let _0x2ea068=!0x0;try{const _0x34e101=_0x58f936[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])](_0x13d60e([0x2e])),[_0x52478a,_0x32819d,_0x1c5d17]=_0x34e101;return _0x5a7eb0(_0x52478a),await _0x341b8f(_0x52478a,_0x32819d,_0x1c5d17),_0x2ea068;}catch{return!0x1;}function _0x5a7eb0(_0x52ca99){const _0x168d20=_0x403272(_0x52ca99);_0x168d20&&_0x168d20[_0x13d60e([0x61,0x6c,0x67])]==_0x13d60e([0x45,0x53,0x32,0x35,0x36])||(_0x2ea068=!0x1);}async function _0x341b8f(_0xaa078b,_0x225943,_0x2d7700){const _0x537edf=window[_0x13d60e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13d60e([0x66,0x72,0x6f,0x6d])](_0x44f926(_0x2d7700),_0x1e3b22=>_0x1e3b22[_0x13d60e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x176cb9=new window[(_0x13d60e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13d60e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xaa078b+_0x13d60e([0x2e])+_0x225943),_0x43c044=window[_0x13d60e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13d60e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43c044)return;const _0x15f187=await _0x43c044[_0x13d60e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13d60e([0x6a,0x77,0x6b]),_0x305a7a,{[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x45,0x43,0x44,0x53,0x41]),[_0x13d60e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13d60e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43c044[_0x13d60e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x45,0x43,0x44,0x53,0x41]),[_0x13d60e([0x68,0x61,0x73,0x68])]:{[_0x13d60e([0x6e,0x61,0x6d,0x65])]:_0x13d60e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x15f187,_0x537edf,_0x176cb9)||(_0x2ea068=!0x1);}}function _0x403272(_0x104cf1){return _0x104cf1[_0x13d60e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13d60e([0x65,0x79]))?JSON[_0x13d60e([0x70,0x61,0x72,0x73,0x65])](_0x44f926(_0x104cf1)):null;}function _0x44f926(_0x55e79a){return window[_0x13d60e([0x61,0x74,0x6f,0x62])](_0x55e79a[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13d60e([0x2b]))[_0x13d60e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13d60e([0x2f])));}function _0x4b2645(_0x6ce3e7){let _0x2e35ef=0x1505;function _0x204786(_0x3ae2e8){for(let _0x131304=0x0;_0x131304<_0x3ae2e8[_0x13d60e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x131304++){const _0x1456f=_0x3ae2e8[_0x13d60e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x131304);_0x2e35ef=(_0x2e35ef<<0x5)+_0x2e35ef+_0x1456f,_0x2e35ef&=_0x2e35ef;}}function _0x3a7e7b(_0x4d056c){Array[_0x13d60e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d056c)?_0x4d056c[_0x13d60e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a7e7b):_0x4d056c&&typeof _0x4d056c==_0x13d60e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13d60e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d056c)[_0x13d60e([0x73,0x6f,0x72,0x74])]()[_0x13d60e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x546212,_0x222b58])=>{_0x204786(_0x546212),_0x3a7e7b(_0x222b58);}):_0x204786(window[_0x13d60e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d056c));}return _0x3a7e7b(_0x6ce3e7),_0x2e35ef>>>0x0;}function _0x5cbb7e(_0x581d48){return _0x581d48[_0x13d60e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13d60e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13d60e([0x30]));}function _0x547da1(_0x140430){return _0x140430[_0x13d60e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13d60e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13d60e([0x6a,0x6f,0x69,0x6e])]('');}function _0x55cc5c(){}function _0x13d60e(_0x7687c9){const _0x4eb30a=_0x2c40;return _0x7687c9[_0x4eb30a(0x23a)](_0x11c7b3=>String[_0x4eb30a(0x21d)](_0x11c7b3))[_0x4eb30a(0x22d)]('');}_0x358b01(await _0x31f502());}(this);}[_0x234e1e(0x22b)](){const _0x183c12=_0x234e1e,_0x4733cf=this[_0x183c12(0x1f5)][_0x183c12(0x212)][_0x183c12(0x242)];_0x4733cf[_0x183c12(0x238)](_0x183c12(0x23b))&&_0x4733cf[_0x183c12(0x227)](_0x183c12(0x23b),{'allowAttributes':[_0x183c12(0x1f4)]}),_0x4733cf[_0x183c12(0x238)](_0x183c12(0x236))&&_0x4733cf[_0x183c12(0x227)](_0x183c12(0x236),{'allowAttributes':[_0x183c12(0x1f4)]});}[_0x234e1e(0x244)](){const _0x46714e=_0x234e1e,_0x52a3ac=this[_0x46714e(0x1f5)];_0x52a3ac[_0x46714e(0x240)][_0x46714e(0x224)](_0x46714e(0x210))[_0x46714e(0x233)]({'model':_0x46714e(0x1f4),'view':_0x46714e(0x229)}),_0x52a3ac[_0x46714e(0x240)][_0x46714e(0x224)](_0x46714e(0x1f3))[_0x46714e(0x1fc)]({'model':{'key':_0x46714e(0x1f4),'value':_0x23aaf6=>_0x23aaf6[_0x46714e(0x231)](_0x46714e(0x229))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x30dcf3=_0x52a3ac[_0x46714e(0x214)][_0x46714e(0x20c)](_0x46714e(0x205));_0x30dcf3&&this[_0x46714e(0x246)](_0x30dcf3,_0x46714e(0x200),(_0xc2148d,[_0xbe1032,_0xe3b95b])=>{const _0x25931f=_0x46714e;_0xbe1032[_0x25931f(0x23c)](_0x25931f(0x1f4),_0xe3b95b);});}[_0x234e1e(0x21e)](){const _0x3d1589=_0x234e1e,_0x5ec2f5=this[_0x3d1589(0x1f5)][_0x3d1589(0x207)][_0x3d1589(0x20c)](_0x3d1589(0x216))||{},_0xba8902=this[_0x3d1589(0x1f5)][_0x3d1589(0x207)][_0x3d1589(0x20c)](_0x3d1589(0x23f))||'';this[_0x3d1589(0x222)]=_0x4eefc2(_0x2b6193[_0x3d1589(0x20d)],_0x3d1589(0x221),{..._0x5ec2f5,'pubkey':_0xba8902,'ctx-name':_0x3d1589(0x208)+this[_0x3d1589(0x21a)],'sourceList':'','imgOnly':_0x3d1589(0x245),'removeCopyright':_0x3d1589(0x245),'localeName':this[_0x3d1589(0x1f5)][_0x3d1589(0x1ff)][_0x3d1589(0x220)],'externalSourcesEmbedCss':_0x3d1589(0x22c)}),this[_0x3d1589(0x222)][_0x3d1589(0x202)]=_0x55ff2b=>{const _0x242e83=_0x3d1589;if(_0x242e83(0x23e)==_0x55ff2b)return _0x242e83(0x237);},_0x2b6193[_0x3d1589(0x20d)][_0x3d1589(0x22e)][_0x3d1589(0x1f6)](this[_0x3d1589(0x222)]);}[_0x234e1e(0x1fe)](){const _0xf0b367=_0x234e1e;this[_0xf0b367(0x228)]=_0x4eefc2(_0x2b6193[_0xf0b367(0x20d)],_0xf0b367(0x22f),{'ctx-name':_0xf0b367(0x208)+this[_0xf0b367(0x21a)]}),_0x2b6193[_0xf0b367(0x20d)][_0xf0b367(0x22e)][_0xf0b367(0x1f6)](this[_0xf0b367(0x228)]);}[_0x234e1e(0x225)](){const _0x52470a=_0x234e1e,_0x359f49=this[_0x52470a(0x1f5)][_0x52470a(0x214)][_0x52470a(0x20c)](_0x52470a(0x230));_0x359f49&&this[_0x52470a(0x246)](_0x359f49,_0x52470a(0x21c),()=>{const _0x486a54=_0x52470a,_0x53270f=this[_0x486a54(0x1f5)][_0x486a54(0x212)][_0x486a54(0x20d)][_0x486a54(0x1f8)][_0x486a54(0x226)]();_0x53270f&&_0x53270f[_0x486a54(0x231)](_0x486a54(0x1f4))&&this[_0x486a54(0x1f5)][_0x486a54(0x201)][_0x486a54(0x23d)][_0x486a54(0x1f7)](_0x486a54(0x204),()=>{const _0x574221=_0x486a54;_0xbdd91f(this[_0x574221(0x1f5)],_0x53270f);});});const _0x2dee23=this[_0x52470a(0x1f5)][_0x52470a(0x214)][_0x52470a(0x20c)](_0x52470a(0x1fa));_0x2dee23&&this[_0x52470a(0x246)](_0x2dee23,_0x52470a(0x21c),()=>{const _0x59cefc=_0x52470a,_0x2501d2=this[_0x59cefc(0x1f5)][_0x59cefc(0x212)][_0x59cefc(0x20d)][_0x59cefc(0x1f8)][_0x59cefc(0x226)]();_0x2501d2&&_0x2501d2[_0x59cefc(0x231)](_0x59cefc(0x1f4))&&this[_0x59cefc(0x1f5)][_0x59cefc(0x201)][_0x59cefc(0x23d)][_0x59cefc(0x1f7)](_0x59cefc(0x204),()=>{const _0x40878d=_0x59cefc;_0xbdd91f(this[_0x40878d(0x1f5)],_0x2501d2);});});}}
@@ -2,16 +2,12 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { type Dialog } from '@ckeditor/ckeditor5-ui';
10
- import type { Editor } from '@ckeditor/ckeditor5-core';
11
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
5
+ import { type Dialog } from 'ckeditor5/src/ui.js';
6
+ import type { Editor } from 'ckeditor5/src/core.js';
7
+ import type { ModelElement } from 'ckeditor5/src/engine.js';
12
8
  declare const UploadcareImageEditController_base: {
13
- new (): import("@ckeditor/ckeditor5-utils").Observable;
14
- prototype: import("@ckeditor/ckeditor5-utils").Observable;
9
+ new (): import("ckeditor5/src/utils.js").Observable;
10
+ prototype: import("ckeditor5/src/utils.js").Observable;
15
11
  };
16
12
  /**
17
13
  * Controller for the Image Edit Dialog.
@@ -0,0 +1,24 @@
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{global as _0x3cd88d,ObservableMixin as _0x4cf822}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x114243}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x6cbbf8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x191fed}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x174801}from'../../utils/uploadutils.js';import{getImageUrls as _0x5a697a,getImageDimension as _0x31db19}from'../../utils/editingutils.js';import{isAncestor as _0x26f6ef}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4cf822(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5745c2,_0x2a8648,_0xe89106){super(),this['_editor']=_0x5745c2,this['_dialog']=_0x2a8648,this['_imageElement']=_0xe89106,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x299428=this['_imageElement'],_0x308892=_0x299428['getAttribute']('uploadcareImageId'),_0x2f63d8=_0x299428['getAttribute']('src');if(_0x308892)await this['_loadImageInfo'](_0x308892,_0x2f63d8);else{if(this['_imageCache']['has'](_0x2f63d8)){const _0xb886c8=this['_imageCache']['get'](_0x2f63d8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb886c8['url'],this['imageDimension']=_0xb886c8['dimension'],this['imageId']=_0xb886c8['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x438a7f}=this['_editor'],t=_0x438a7f['t'],_0x124c50=new _0x191fed(_0x438a7f,this['imageStatus'],this['_attributes']);_0x124c50['bind']('status')['to'](this,'imageStatus'),_0x124c50['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x124c50['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x124c50['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x124c50,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x6cbbf8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x124c50,'position':_0x114243['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x124c50['focus']();},'onHide':()=>{_0x124c50['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x22afc1=>!_0x26f6ef(_0x22afc1,_0x124c50['element'])}});}['_loadImageInfo'](_0x3eee22,_0x18ad2b){return _0x174801['getInfo'](_0x3eee22,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3bb57f=>{const {width:_0x31d5b2,height:_0xdf3b59}=_0x3bb57f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x18ad2b,this['imageDimension']={'width':_0x31d5b2,'height':_0xdf3b59},this['imageId']=_0x3eee22;})['catch'](_0x5920b4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5920b4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4fe067,_0x166f62){return this['_getImageAsFile'](_0x4fe067)['then'](_0x39f935=>_0x174801['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x166f62['signal'],'file':_0x39f935,'onProgress':_0x3a30b4=>{_0x3a30b4&&_0x3a30b4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3a30b4['value']));}}))['then'](_0x36a969=>{const {width:_0x55c329,height:_0x3dd6c1}=_0x36a969['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36a969['cdnUrl'],this['imageDimension']={'width':_0x55c329,'height':_0x3dd6c1},this['imageId']=_0x36a969['uuid'],this['imageUploadProgress']=null;const _0x4c3488=_0x4fe067['getAttribute']('src');this['_imageCache']['set'](_0x4c3488,{'id':_0x36a969['uuid'],'url':_0x36a969['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x345e2c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x345e2c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x50f1b1,_0xdf67d4){_0x50f1b1['on']('apply',(_0x1311c9,_0x2bb626)=>{this['_replaceImage'](_0xdf67d4,_0x2bb626['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x50f1b1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x50f1b1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x8b7add,_0xb899d3,_0x373bb7){const _0x4162ff=this['_editor'],{width:_0x42cc86,height:_0x36543a}=_0x31db19(_0xb899d3,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x32f5ad,imageSources:_0x4de52e}=_0x5a697a(_0xb899d3,_0x42cc86);_0x4162ff['model']['change'](_0x4af7e2=>{if('$graveyard'===_0x8b7add['root']['rootName']){_0x4162ff['execute']('insertImage',{'imageType':_0x8b7add['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x8b7add['getAttributes']()),'uploadcareImageId':_0x373bb7,'src':_0x32f5ad,'sources':_0x4de52e,'width':_0x42cc86,'height':_0x36543a}});const _0x5855d5=_0x8b7add['getChildren']();_0x8b7add=_0x4162ff['model']['document']['selection']['getSelectedElement']();for(const _0x191e02 of _0x5855d5)_0x4af7e2['append'](_0x4af7e2['cloneElement'](_0x191e02),_0x8b7add);}else _0x4af7e2['setSelection'](_0x8b7add,'on'),_0x4162ff['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x8b7add['getAttributes']()),'uploadcareImageId':_0x373bb7,'src':_0x32f5ad,'sources':_0x4de52e,'width':_0x42cc86,'height':_0x36543a},_0x8b7add);_0x4af7e2['setSelection'](_0x8b7add,'on');});}async['_getImageAsFile'](_0x4e2a70){const _0x2c3edd=_0x3cd88d['window'],_0x209837=_0x3cd88d['document']['location']['href'],_0x534368=new _0x2c3edd['URL'](_0x4e2a70['getAttribute']('src'),_0x209837);if('data:'===_0x534368['protocol']){const _0x32deef=_0x534368['href']['split'](','),_0x4450d5=_0x32deef[0x0]['match'](/:(.*?);/)[0x1],_0x35cbb0=_0x4450d5['split']('/')[0x1],_0x25f5f1=_0x2c3edd['atob'](_0x32deef[_0x32deef['length']-0x1]);let _0x49d9d3=_0x25f5f1['length'];const _0x5170a5=new _0x2c3edd['Uint8Array'](_0x49d9d3);for(;_0x49d9d3--;)_0x5170a5[_0x49d9d3]=_0x25f5f1['charCodeAt'](_0x49d9d3);return new _0x2c3edd['File']([_0x5170a5],'image.'+_0x35cbb0,{'type':_0x4450d5});}const _0x15c99f=_0x534368['href']['split']('/'),_0x4d443e=_0x15c99f[_0x15c99f['length']-0x1],_0x167337=_0x4d443e['split']('.')[0x1];return _0x2c3edd['fetch'](_0x534368['href'])['then'](_0x4a2257=>_0x4a2257['clone']()['blob']())['then'](_0x53c9dd=>new _0x2c3edd['File']([_0x53c9dd],_0x4d443e,{'type':'image/'+_0x167337}));}}
@@ -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/uploadcareimageedit/ui/uploadcareimageeditformeditingview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
13
- import { View } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
14
10
  import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
15
11
  /**
16
12
  * A class representing the form editing view of the Uploadcare image edit feature.
@@ -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 _0x444a(){const _0x4591b4=['bindTemplate','image-edit','357843iQtyij','uc-cloud-image-editor','uc-light','7UKVtXn','imageSrc','1010056SFQbSr','388266cRwKbQ','67347YAioEJ','10duBjKP','setTemplate','774630DOXiWW','56737SJfCSi','set','ck-uploadcare-theme','6fApIKl','724032LkjzNz'];_0x444a=function(){return _0x4591b4;};return _0x444a();}function _0xbfe4(_0xdd27d0,_0x21152a){const _0x444a57=_0x444a();return _0xbfe4=function(_0xbfe41b,_0x27ba15){_0xbfe41b=_0xbfe41b-0x82;let _0x575bcf=_0x444a57[_0xbfe41b];return _0x575bcf;},_0xbfe4(_0xdd27d0,_0x21152a);}(function(_0x417bf9,_0x391f1a){const _0x4b309a=_0xbfe4,_0xf9b39c=_0x417bf9();while(!![]){try{const _0x5bdc8e=-parseInt(_0x4b309a(0x8c))/0x1*(parseInt(_0x4b309a(0x8f))/0x2)+parseInt(_0x4b309a(0x93))/0x3+-parseInt(_0x4b309a(0x90))/0x4+parseInt(_0x4b309a(0x8b))/0x5+parseInt(_0x4b309a(0x87))/0x6+parseInt(_0x4b309a(0x84))/0x7*(parseInt(_0x4b309a(0x86))/0x8)+parseInt(_0x4b309a(0x88))/0x9*(parseInt(_0x4b309a(0x89))/0xa);if(_0x5bdc8e===_0x391f1a)break;else _0xf9b39c['push'](_0xf9b39c['shift']());}catch(_0x30a9ff){_0xf9b39c['push'](_0xf9b39c['shift']());}}}(_0x444a,0x1da5f));import{View as _0xa1b71b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa1b71b{constructor(_0x31554c,_0x2ffa06){const _0x43cc2c=_0xbfe4;super(_0x31554c);const _0xc89d1b=this[_0x43cc2c(0x91)];this[_0x43cc2c(0x8d)](_0x43cc2c(0x85),''),this[_0x43cc2c(0x8a)]({'tag':_0x43cc2c(0x82),'attributes':{..._0x2ffa06,'class':[_0x43cc2c(0x83),_0x43cc2c(0x8e)],'ctx-name':_0x43cc2c(0x92),'cdn-url':_0xc89d1b['to'](_0x43cc2c(0x85))}});}}
@@ -2,12 +2,8 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { View } from '@ckeditor/ckeditor5-ui';
10
- import type { Locale } from '@ckeditor/ckeditor5-utils';
5
+ import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
7
  import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
12
8
  /**
13
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -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{IconError as _0x3e5c7f}from'ckeditor5/src/icons.js';import{ButtonView as _0x1acefc,IconView as _0x392797,View as _0x45dfe0}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x45dfe0{constructor(_0x565e4d){super(_0x565e4d);const t=_0x565e4d['t'];this['set']('errorType',null);const _0x4c2517=new _0x1acefc(_0x565e4d);_0x4c2517['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4c2517['withText']=!0x0,_0x4c2517['class']='ck-button-action',_0x4c2517['on']('execute',()=>{this['fire']('retry');}),_0x4c2517['bind']('isVisible')['to'](this,'errorType',_0x45e9e1=>'NotFound'!==_0x45e9e1);const _0x21f0c6=new _0x392797();_0x21f0c6['content']=_0x3e5c7f,_0x21f0c6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1d4332=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x21f0c6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1d4332['to']('errorType',_0x39fbac=>t('NotFound'!==_0x39fbac?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4c2517]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -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/uploadcareimageedit/ui/uploadcareimageeditformloadingview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
13
- import { View } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
14
10
  /**
15
11
  * A class representing the form loading view of the Uploadcare image edit feature.
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{SpinnerView as _0xcaab1f,View as _0x5ead6e}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5ead6e{constructor(_0x36d853){super(_0x36d853);const t=_0x36d853['t'],_0x1d245d=this['bindTemplate'],_0x7e9176=new _0xcaab1f();_0x7e9176['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x7e9176,{'text':_0x1d245d['to']('imageUploadProgress',_0x4d1b4f=>t('Loading\x20image...')+'\x20('+(_0x4d1b4f||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -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/ui/uploadcareimageeditformview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
13
9
  import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
14
10
  import { DialogFocusManagerView } from '../../utils/dialogfocusmanagerview.js';
15
11
  import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
@@ -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 _0x3b4cf0=_0x2a52;(function(_0x5c4620,_0x2c35ef){const _0x3384ac=_0x2a52,_0x1dc6dd=_0x5c4620();while(!![]){try{const _0x2604ee=parseInt(_0x3384ac(0x8f))/0x1+-parseInt(_0x3384ac(0x7a))/0x2+-parseInt(_0x3384ac(0x9e))/0x3*(-parseInt(_0x3384ac(0x9c))/0x4)+parseInt(_0x3384ac(0xa4))/0x5+parseInt(_0x3384ac(0x72))/0x6*(parseInt(_0x3384ac(0x8d))/0x7)+-parseInt(_0x3384ac(0x7b))/0x8+parseInt(_0x3384ac(0x79))/0x9*(-parseInt(_0x3384ac(0x9f))/0xa);if(_0x2604ee===_0x2c35ef)break;else _0x1dc6dd['push'](_0x1dc6dd['shift']());}catch(_0x3485a6){_0x1dc6dd['push'](_0x1dc6dd['shift']());}}}(_0xb8f0,0xb934f));function _0x2a52(_0x3816ab,_0x389396){const _0xb8f068=_0xb8f0();return _0x2a52=function(_0x2a52a8,_0x5c285b){_0x2a52a8=_0x2a52a8-0x6e;let _0x40da97=_0xb8f068[_0x2a52a8];return _0x40da97;},_0x2a52(_0x3816ab,_0x389396);}import{View as _0x3f7322}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3b8b25}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x190fc7}from'./uploadcareimageeditformerrorview.js';function _0xb8f0(){const _0x10ff2b=['focus','4669060zBBeEj','_waitForImageEditorComponent','addEventListener','getFocusableElement','retry','3396FdzWIR','change:status','_items','render','disconnect','clear','createCollection','12784185sFjQLf','1106366ajtLjt','5818504iJdsPJ','nodeName','set','filter','uc-cloud-image-editor','ck-reset_all-excluded','error','toLowerCase','target','length','detail','apply','cancel','div','_setView','element','fire','ready','5152JhJOAx','add','758217WiAVjj','querySelector','ck-uploadcare-form','once','observe','uploading','_editingView','status','_loadingView','addedNodes','setTemplate','addMany','_addErrorViewListeners','4bnzURn','_addUploadcareImageEditorListeners','4052889vZOOXB','10qANPJO','_errorView','_focusableView','cdnUrl'];_0xb8f0=function(){return _0x10ff2b;};return _0xb8f0();}import{UploadcareImageEditFormEditingView as _0x1f3d67}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x375c1c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x375c1c{[_0x3b4cf0(0x74)];[_0x3b4cf0(0x97)];[_0x3b4cf0(0xa0)];[_0x3b4cf0(0x95)];[_0x3b4cf0(0xa1)];constructor(_0x249d02,_0x2f1403,_0x3983ce){const _0x55e136=_0x3b4cf0;super(_0x249d02),this[_0x55e136(0x74)]=this[_0x55e136(0x78)](),this[_0x55e136(0x97)]=new _0x3b8b25(_0x249d02),this[_0x55e136(0xa0)]=new _0x190fc7(_0x249d02),this[_0x55e136(0x95)]=new _0x1f3d67(_0x249d02,_0x3983ce),this[_0x55e136(0xa1)]=new _0x3f7322(_0x249d02),this[_0x55e136(0xa1)][_0x55e136(0x99)](this[_0x55e136(0x70)]()),this[_0x55e136(0x7d)](_0x55e136(0x96),_0x2f1403),this[_0x55e136(0x99)]({'tag':_0x55e136(0x88),'attributes':{'class':['ck',_0x55e136(0x80),_0x55e136(0x91)],'tabindex':'-1'},'children':this[_0x55e136(0x74)]}),this[_0x55e136(0x89)](),this[_0x55e136(0x92)](_0x55e136(0x75),()=>{const _0x2b4ee6=_0x55e136;this[_0x2b4ee6(0x6e)](this[_0x2b4ee6(0x8a)],_0x42880b=>{const _0x4b1552=_0x2b4ee6;this[_0x4b1552(0x9d)](_0x42880b);});}),this['on'](_0x55e136(0x73),()=>{const _0x166e2f=_0x55e136;this[_0x166e2f(0x89)]();}),this[_0x55e136(0x9b)]();}[_0x3b4cf0(0xa3)](){const _0xf00800=_0x3b4cf0;this[_0xf00800(0x8a)][_0xf00800(0xa3)]();}[_0x3b4cf0(0x89)](){const _0x5be6ed=_0x3b4cf0;switch(this[_0x5be6ed(0x74)][_0x5be6ed(0x77)](),this[_0x5be6ed(0x96)]){case _0x5be6ed(0x94):this[_0x5be6ed(0x74)][_0x5be6ed(0x8e)](this[_0x5be6ed(0x97)]);break;case _0x5be6ed(0x81):this[_0x5be6ed(0x74)][_0x5be6ed(0x8e)](this[_0x5be6ed(0xa0)]);break;case _0x5be6ed(0x8c):this[_0x5be6ed(0x74)][_0x5be6ed(0x9a)]([this[_0x5be6ed(0x95)],this[_0x5be6ed(0xa1)]]);}}[_0x3b4cf0(0x6e)](_0x519063,_0x54bbff){const _0x2c0d05=_0x3b4cf0,_0x51f432=_0x2c0d05(0x7f),_0x444b3b=_0x519063[_0x2c0d05(0x90)](_0x51f432);if(_0x444b3b)return _0x54bbff(_0x444b3b);const _0x40564c=new MutationObserver(_0x2a4555=>{const _0x36b823=_0x2c0d05,_0x1b2a8d=_0x2a4555[_0x36b823(0x7e)](_0x42b0f7=>_0x42b0f7[_0x36b823(0x83)]===_0x519063&&_0x42b0f7[_0x36b823(0x98)][_0x36b823(0x84)]>0x0&&_0x42b0f7[_0x36b823(0x98)][0x0][_0x36b823(0x7c)][_0x36b823(0x82)]()===_0x51f432);_0x1b2a8d[_0x36b823(0x84)]&&(_0x40564c[_0x36b823(0x76)](),_0x54bbff(_0x1b2a8d[0x0][_0x36b823(0x98)][0x0]));});_0x40564c[_0x2c0d05(0x93)](_0x519063,{'childList':!0x0,'subtree':!0x0});}[_0x3b4cf0(0x9d)](_0x5d2885){const _0x5743ac=_0x3b4cf0;_0x5d2885[_0x5743ac(0x6f)](_0x5743ac(0x86),_0x599bf4=>{const _0x114312=_0x5743ac;this[_0x114312(0x8b)](_0x114312(0x86),{'imageSrc':_0x599bf4[_0x114312(0x85)][_0x114312(0xa2)]});}),_0x5d2885[_0x5743ac(0x6f)](_0x5743ac(0x87),()=>{const _0x1ef606=_0x5743ac;this[_0x1ef606(0x8b)](_0x1ef606(0x87));});}[_0x3b4cf0(0x9b)](){const _0x5dd48a=_0x3b4cf0;this[_0x5dd48a(0xa0)]['on'](_0x5dd48a(0x71),()=>{const _0x55645e=_0x5dd48a;this[_0x55645e(0x8b)](_0x55645e(0x71));});}}
@@ -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/uploadcareimageedit/uploadcareimageeditcommand
11
7
  * @publicApi
12
8
  */
13
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
14
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareImageEditController } from './ui/uploadcareimageeditcontroller.js';
16
12
  /**
17
13
  * The Uploadcare edit image command.
@@ -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 _0x54e7c8=_0x4581;function _0x4581(_0x438d46,_0x24fae0){const _0x5825f9=_0x5825();return _0x4581=function(_0x45810d,_0x17e190){_0x45810d=_0x45810d-0xf7;let _0x45f01b=_0x5825f9[_0x45810d];return _0x45f01b;},_0x4581(_0x438d46,_0x24fae0);}(function(_0x397027,_0x86fd86){const _0x29bb27=_0x4581,_0x28abea=_0x397027();while(!![]){try{const _0x42cabf=parseInt(_0x29bb27(0xff))/0x1+parseInt(_0x29bb27(0xf8))/0x2*(parseInt(_0x29bb27(0xf9))/0x3)+parseInt(_0x29bb27(0x101))/0x4*(-parseInt(_0x29bb27(0x10e))/0x5)+parseInt(_0x29bb27(0x111))/0x6+-parseInt(_0x29bb27(0xfb))/0x7+-parseInt(_0x29bb27(0x109))/0x8+-parseInt(_0x29bb27(0x108))/0x9;if(_0x42cabf===_0x86fd86)break;else _0x28abea['push'](_0x28abea['shift']());}catch(_0x593fe1){_0x28abea['push'](_0x28abea['shift']());}}}(_0x5825,0xc2bb7));import{Command as _0x300cf2}from'ckeditor5/src/core.js';import{Dialog as _0x542c7e}from'ckeditor5/src/ui.js';function _0x5825(){const _0xa9f26c=['1257972qNuawF','imageEditController','4vWdUyz','isActive','document','plugins','uploadcare.allowExternalImagesEditing','get','imageBlock','9267948eCKaaJ','1652080bluvzk','requires','set','execute','imageInline','4197355yCccQZ','getSelectedElement','bind','1803012FmVFWh','model','refresh','isEnabled','unbind','selection','70VAhmkC','128859csOeZT','config','1319171RyXTKm','element','editor','_isEditable'];_0x5825=function(){return _0xa9f26c;};return _0x5825();}import{UploadcareImageEditController as _0x5801a2}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x5d650e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x300cf2{[_0x54e7c8(0x100)];static get[_0x54e7c8(0x10a)](){return[_0x542c7e];}[_0x54e7c8(0xfe)];constructor(_0xbb1d6e){const _0x55e595=_0x54e7c8;super(_0xbb1d6e),this[_0x55e595(0x100)]=void 0x0,this[_0x55e595(0xfe)]=_0x5d650e(_0xbb1d6e[_0x55e595(0xfa)][_0x55e595(0x106)](_0x55e595(0x105))||[]),this[_0x55e595(0x10b)]({'isActive':!0x1});}[_0x54e7c8(0x113)](){const _0x4ebc45=_0x54e7c8,_0x55267e=this[_0x4ebc45(0xfd)][_0x4ebc45(0x112)][_0x4ebc45(0x103)][_0x4ebc45(0xf7)][_0x4ebc45(0x10f)]();this[_0x4ebc45(0x114)]=this[_0x4ebc45(0xfe)](_0x55267e);}[_0x54e7c8(0x10c)](){const _0x3aa9a3=_0x54e7c8;this[_0x3aa9a3(0x100)]&&(this[_0x3aa9a3(0x115)](_0x3aa9a3(0x102)),this[_0x3aa9a3(0x100)]=void 0x0);const _0x5542a9=this[_0x3aa9a3(0xfd)][_0x3aa9a3(0x112)][_0x3aa9a3(0x103)][_0x3aa9a3(0xf7)][_0x3aa9a3(0x10f)]();_0x5542a9&&(_0x5542a9['is'](_0x3aa9a3(0xfc),_0x3aa9a3(0x107))||_0x5542a9['is'](_0x3aa9a3(0xfc),_0x3aa9a3(0x10d)))&&(this[_0x3aa9a3(0x100)]=new _0x5801a2(this[_0x3aa9a3(0xfd)],this[_0x3aa9a3(0xfd)][_0x3aa9a3(0x104)][_0x3aa9a3(0x106)](_0x542c7e),_0x5542a9),this[_0x3aa9a3(0x110)](_0x3aa9a3(0x102))['to'](this[_0x3aa9a3(0x100)],_0x3aa9a3(0x102)));}}
@@ -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/uploadcareimageedit/uploadcareimageeditediting
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
14
- import { Notification } from '@ckeditor/ckeditor5-ui';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { Notification } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareEditing } from '../uploadcareediting.js';
16
12
  /**
17
13
  * The Uploadcare image editing plugin.