@ckeditor/ckeditor5-uploadcare 0.0.0-internal-20251211.0 → 0.0.0-internal-20260121.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 (353) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +1 -1
  3. package/build/uploadcare.js +3 -3
  4. package/dist/index-content.css +1 -1
  5. package/dist/index-editor.css +41 -79
  6. package/dist/index.css +95 -85
  7. package/dist/index.js +4 -4
  8. package/dist/translations/af.d.ts +1 -1
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +1 -1
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +1 -1
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +1 -1
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/be.d.ts +1 -1
  21. package/dist/translations/be.js +2 -2
  22. package/dist/translations/be.umd.js +2 -2
  23. package/dist/translations/bg.d.ts +1 -1
  24. package/dist/translations/bg.js +2 -2
  25. package/dist/translations/bg.umd.js +2 -2
  26. package/dist/translations/bn.d.ts +1 -1
  27. package/dist/translations/bn.js +2 -2
  28. package/dist/translations/bn.umd.js +2 -2
  29. package/dist/translations/bs.d.ts +1 -1
  30. package/dist/translations/bs.js +2 -2
  31. package/dist/translations/bs.umd.js +2 -2
  32. package/dist/translations/ca.d.ts +1 -1
  33. package/dist/translations/ca.js +2 -2
  34. package/dist/translations/ca.umd.js +2 -2
  35. package/dist/translations/cs.d.ts +1 -1
  36. package/dist/translations/cs.js +2 -2
  37. package/dist/translations/cs.umd.js +2 -2
  38. package/dist/translations/da.d.ts +1 -1
  39. package/dist/translations/da.js +2 -2
  40. package/dist/translations/da.umd.js +2 -2
  41. package/dist/translations/de-ch.d.ts +1 -1
  42. package/dist/translations/de-ch.js +2 -2
  43. package/dist/translations/de-ch.umd.js +2 -2
  44. package/dist/translations/de.d.ts +1 -1
  45. package/dist/translations/de.js +2 -2
  46. package/dist/translations/de.umd.js +2 -2
  47. package/dist/translations/el.d.ts +1 -1
  48. package/dist/translations/el.js +2 -2
  49. package/dist/translations/el.umd.js +2 -2
  50. package/dist/translations/en-au.d.ts +1 -1
  51. package/dist/translations/en-au.js +2 -2
  52. package/dist/translations/en-au.umd.js +2 -2
  53. package/dist/translations/en-gb.d.ts +1 -1
  54. package/dist/translations/en-gb.js +2 -2
  55. package/dist/translations/en-gb.umd.js +2 -2
  56. package/dist/translations/en.d.ts +1 -1
  57. package/dist/translations/en.js +2 -2
  58. package/dist/translations/en.umd.js +2 -2
  59. package/dist/translations/eo.d.ts +1 -1
  60. package/dist/translations/eo.js +2 -2
  61. package/dist/translations/eo.umd.js +2 -2
  62. package/dist/translations/es-co.d.ts +1 -1
  63. package/dist/translations/es-co.js +2 -2
  64. package/dist/translations/es-co.umd.js +2 -2
  65. package/dist/translations/es.d.ts +1 -1
  66. package/dist/translations/es.js +2 -2
  67. package/dist/translations/es.umd.js +2 -2
  68. package/dist/translations/et.d.ts +1 -1
  69. package/dist/translations/et.js +2 -2
  70. package/dist/translations/et.umd.js +2 -2
  71. package/dist/translations/eu.d.ts +1 -1
  72. package/dist/translations/eu.js +2 -2
  73. package/dist/translations/eu.umd.js +2 -2
  74. package/dist/translations/fa.d.ts +1 -1
  75. package/dist/translations/fa.js +2 -2
  76. package/dist/translations/fa.umd.js +2 -2
  77. package/dist/translations/fi.d.ts +1 -1
  78. package/dist/translations/fi.js +2 -2
  79. package/dist/translations/fi.umd.js +2 -2
  80. package/dist/translations/fr.d.ts +1 -1
  81. package/dist/translations/fr.js +2 -2
  82. package/dist/translations/fr.umd.js +2 -2
  83. package/dist/translations/gl.d.ts +1 -1
  84. package/dist/translations/gl.js +2 -2
  85. package/dist/translations/gl.umd.js +2 -2
  86. package/dist/translations/gu.d.ts +1 -1
  87. package/dist/translations/gu.js +2 -2
  88. package/dist/translations/gu.umd.js +2 -2
  89. package/dist/translations/he.d.ts +1 -1
  90. package/dist/translations/he.js +2 -2
  91. package/dist/translations/he.umd.js +2 -2
  92. package/dist/translations/hi.d.ts +1 -1
  93. package/dist/translations/hi.js +2 -2
  94. package/dist/translations/hi.umd.js +2 -2
  95. package/dist/translations/hr.d.ts +1 -1
  96. package/dist/translations/hr.js +2 -2
  97. package/dist/translations/hr.umd.js +2 -2
  98. package/dist/translations/hu.d.ts +1 -1
  99. package/dist/translations/hu.js +2 -2
  100. package/dist/translations/hu.umd.js +2 -2
  101. package/dist/translations/hy.d.ts +1 -1
  102. package/dist/translations/hy.js +2 -2
  103. package/dist/translations/hy.umd.js +2 -2
  104. package/dist/translations/id.d.ts +1 -1
  105. package/dist/translations/id.js +2 -2
  106. package/dist/translations/id.umd.js +2 -2
  107. package/dist/translations/it.d.ts +1 -1
  108. package/dist/translations/it.js +2 -2
  109. package/dist/translations/it.umd.js +2 -2
  110. package/dist/translations/ja.d.ts +1 -1
  111. package/dist/translations/ja.js +2 -2
  112. package/dist/translations/ja.umd.js +2 -2
  113. package/dist/translations/jv.d.ts +1 -1
  114. package/dist/translations/jv.js +2 -2
  115. package/dist/translations/jv.umd.js +2 -2
  116. package/dist/translations/kk.d.ts +1 -1
  117. package/dist/translations/kk.js +2 -2
  118. package/dist/translations/kk.umd.js +2 -2
  119. package/dist/translations/km.d.ts +1 -1
  120. package/dist/translations/km.js +2 -2
  121. package/dist/translations/km.umd.js +2 -2
  122. package/dist/translations/kn.d.ts +1 -1
  123. package/dist/translations/kn.js +2 -2
  124. package/dist/translations/kn.umd.js +2 -2
  125. package/dist/translations/ko.d.ts +1 -1
  126. package/dist/translations/ko.js +2 -2
  127. package/dist/translations/ko.umd.js +2 -2
  128. package/dist/translations/ku.d.ts +1 -1
  129. package/dist/translations/ku.js +2 -2
  130. package/dist/translations/ku.umd.js +2 -2
  131. package/dist/translations/lt.d.ts +1 -1
  132. package/dist/translations/lt.js +2 -2
  133. package/dist/translations/lt.umd.js +2 -2
  134. package/dist/translations/lv.d.ts +1 -1
  135. package/dist/translations/lv.js +2 -2
  136. package/dist/translations/lv.umd.js +2 -2
  137. package/dist/translations/ms.d.ts +1 -1
  138. package/dist/translations/ms.js +2 -2
  139. package/dist/translations/ms.umd.js +2 -2
  140. package/dist/translations/nb.d.ts +1 -1
  141. package/dist/translations/nb.js +2 -2
  142. package/dist/translations/nb.umd.js +2 -2
  143. package/dist/translations/ne.d.ts +1 -1
  144. package/dist/translations/ne.js +2 -2
  145. package/dist/translations/ne.umd.js +2 -2
  146. package/dist/translations/nl.d.ts +1 -1
  147. package/dist/translations/nl.js +2 -2
  148. package/dist/translations/nl.umd.js +2 -2
  149. package/dist/translations/no.d.ts +1 -1
  150. package/dist/translations/no.js +2 -2
  151. package/dist/translations/no.umd.js +2 -2
  152. package/dist/translations/oc.d.ts +1 -1
  153. package/dist/translations/oc.js +2 -2
  154. package/dist/translations/oc.umd.js +2 -2
  155. package/dist/translations/pl.d.ts +1 -1
  156. package/dist/translations/pl.js +2 -2
  157. package/dist/translations/pl.umd.js +2 -2
  158. package/dist/translations/pt-br.d.ts +1 -1
  159. package/dist/translations/pt-br.js +2 -2
  160. package/dist/translations/pt-br.umd.js +2 -2
  161. package/dist/translations/pt.d.ts +1 -1
  162. package/dist/translations/pt.js +2 -2
  163. package/dist/translations/pt.umd.js +2 -2
  164. package/dist/translations/ro.d.ts +1 -1
  165. package/dist/translations/ro.js +2 -2
  166. package/dist/translations/ro.umd.js +2 -2
  167. package/dist/translations/ru.d.ts +1 -1
  168. package/dist/translations/ru.js +2 -2
  169. package/dist/translations/ru.umd.js +2 -2
  170. package/dist/translations/si.d.ts +1 -1
  171. package/dist/translations/si.js +2 -2
  172. package/dist/translations/si.umd.js +2 -2
  173. package/dist/translations/sk.d.ts +1 -1
  174. package/dist/translations/sk.js +2 -2
  175. package/dist/translations/sk.umd.js +2 -2
  176. package/dist/translations/sl.d.ts +1 -1
  177. package/dist/translations/sl.js +2 -2
  178. package/dist/translations/sl.umd.js +2 -2
  179. package/dist/translations/sq.d.ts +1 -1
  180. package/dist/translations/sq.js +2 -2
  181. package/dist/translations/sq.umd.js +2 -2
  182. package/dist/translations/sr-latn.d.ts +1 -1
  183. package/dist/translations/sr-latn.js +2 -2
  184. package/dist/translations/sr-latn.umd.js +2 -2
  185. package/dist/translations/sr.d.ts +1 -1
  186. package/dist/translations/sr.js +2 -2
  187. package/dist/translations/sr.umd.js +2 -2
  188. package/dist/translations/sv.d.ts +1 -1
  189. package/dist/translations/sv.js +2 -2
  190. package/dist/translations/sv.umd.js +2 -2
  191. package/dist/translations/th.d.ts +1 -1
  192. package/dist/translations/th.js +2 -2
  193. package/dist/translations/th.umd.js +2 -2
  194. package/dist/translations/ti.d.ts +1 -1
  195. package/dist/translations/ti.js +2 -2
  196. package/dist/translations/ti.umd.js +2 -2
  197. package/dist/translations/tk.d.ts +1 -1
  198. package/dist/translations/tk.js +2 -2
  199. package/dist/translations/tk.umd.js +2 -2
  200. package/dist/translations/tr.d.ts +1 -1
  201. package/dist/translations/tr.js +2 -2
  202. package/dist/translations/tr.umd.js +2 -2
  203. package/dist/translations/tt.d.ts +1 -1
  204. package/dist/translations/tt.js +2 -2
  205. package/dist/translations/tt.umd.js +2 -2
  206. package/dist/translations/ug.d.ts +1 -1
  207. package/dist/translations/ug.js +2 -2
  208. package/dist/translations/ug.umd.js +2 -2
  209. package/dist/translations/uk.d.ts +1 -1
  210. package/dist/translations/uk.js +2 -2
  211. package/dist/translations/uk.umd.js +2 -2
  212. package/dist/translations/ur.d.ts +1 -1
  213. package/dist/translations/ur.js +2 -2
  214. package/dist/translations/ur.umd.js +2 -2
  215. package/dist/translations/uz.d.ts +1 -1
  216. package/dist/translations/uz.js +2 -2
  217. package/dist/translations/uz.umd.js +2 -2
  218. package/dist/translations/vi.d.ts +1 -1
  219. package/dist/translations/vi.js +2 -2
  220. package/dist/translations/vi.umd.js +2 -2
  221. package/dist/translations/zh-cn.d.ts +1 -1
  222. package/dist/translations/zh-cn.js +2 -2
  223. package/dist/translations/zh-cn.umd.js +2 -2
  224. package/dist/translations/zh.d.ts +1 -1
  225. package/dist/translations/zh.js +2 -2
  226. package/dist/translations/zh.umd.js +2 -2
  227. package/lang/translations/af.po +1 -1
  228. package/lang/translations/ar.po +1 -1
  229. package/lang/translations/ast.po +1 -1
  230. package/lang/translations/az.po +1 -1
  231. package/lang/translations/be.po +1 -1
  232. package/lang/translations/bg.po +1 -1
  233. package/lang/translations/bn.po +1 -1
  234. package/lang/translations/bs.po +1 -1
  235. package/lang/translations/ca.po +1 -1
  236. package/lang/translations/cs.po +1 -1
  237. package/lang/translations/da.po +1 -1
  238. package/lang/translations/de-ch.po +1 -1
  239. package/lang/translations/de.po +1 -1
  240. package/lang/translations/el.po +1 -1
  241. package/lang/translations/en-au.po +1 -1
  242. package/lang/translations/en-gb.po +1 -1
  243. package/lang/translations/en.po +1 -1
  244. package/lang/translations/eo.po +1 -1
  245. package/lang/translations/es-co.po +1 -1
  246. package/lang/translations/es.po +1 -1
  247. package/lang/translations/et.po +1 -1
  248. package/lang/translations/eu.po +1 -1
  249. package/lang/translations/fa.po +1 -1
  250. package/lang/translations/fi.po +1 -1
  251. package/lang/translations/fr.po +1 -1
  252. package/lang/translations/gl.po +1 -1
  253. package/lang/translations/gu.po +1 -1
  254. package/lang/translations/he.po +1 -1
  255. package/lang/translations/hi.po +1 -1
  256. package/lang/translations/hr.po +1 -1
  257. package/lang/translations/hu.po +1 -1
  258. package/lang/translations/hy.po +1 -1
  259. package/lang/translations/id.po +1 -1
  260. package/lang/translations/it.po +1 -1
  261. package/lang/translations/ja.po +1 -1
  262. package/lang/translations/jv.po +1 -1
  263. package/lang/translations/kk.po +1 -1
  264. package/lang/translations/km.po +1 -1
  265. package/lang/translations/kn.po +1 -1
  266. package/lang/translations/ko.po +1 -1
  267. package/lang/translations/ku.po +1 -1
  268. package/lang/translations/lt.po +1 -1
  269. package/lang/translations/lv.po +1 -1
  270. package/lang/translations/ms.po +1 -1
  271. package/lang/translations/nb.po +1 -1
  272. package/lang/translations/ne.po +1 -1
  273. package/lang/translations/nl.po +1 -1
  274. package/lang/translations/no.po +1 -1
  275. package/lang/translations/oc.po +1 -1
  276. package/lang/translations/pl.po +1 -1
  277. package/lang/translations/pt-br.po +1 -1
  278. package/lang/translations/pt.po +1 -1
  279. package/lang/translations/ro.po +1 -1
  280. package/lang/translations/ru.po +1 -1
  281. package/lang/translations/si.po +1 -1
  282. package/lang/translations/sk.po +1 -1
  283. package/lang/translations/sl.po +1 -1
  284. package/lang/translations/sq.po +1 -1
  285. package/lang/translations/sr-latn.po +1 -1
  286. package/lang/translations/sr.po +1 -1
  287. package/lang/translations/sv.po +1 -1
  288. package/lang/translations/th.po +1 -1
  289. package/lang/translations/ti.po +1 -1
  290. package/lang/translations/tk.po +1 -1
  291. package/lang/translations/tr.po +1 -1
  292. package/lang/translations/tt.po +1 -1
  293. package/lang/translations/ug.po +1 -1
  294. package/lang/translations/uk.po +1 -1
  295. package/lang/translations/ur.po +1 -1
  296. package/lang/translations/uz.po +1 -1
  297. package/lang/translations/vi.po +1 -1
  298. package/lang/translations/zh-cn.po +1 -1
  299. package/lang/translations/zh.po +1 -1
  300. package/package.json +10 -10
  301. package/src/augmentation.d.ts +1 -1
  302. package/src/augmentation.js +1 -1
  303. package/src/index.d.ts +1 -1
  304. package/src/index.js +2 -2
  305. package/src/ui/uploadcarecontroller.d.ts +1 -1
  306. package/src/ui/uploadcarecontroller.js +3 -3
  307. package/src/ui/uploadcareformview.d.ts +1 -1
  308. package/src/ui/uploadcareformview.js +2 -2
  309. package/src/uploadcare.d.ts +1 -1
  310. package/src/uploadcare.js +2 -2
  311. package/src/uploadcarecommand.d.ts +1 -1
  312. package/src/uploadcarecommand.js +2 -2
  313. package/src/uploadcareconfig.d.ts +1 -1
  314. package/src/uploadcareconfig.js +2 -2
  315. package/src/uploadcareediting.d.ts +1 -1
  316. package/src/uploadcareediting.js +2 -2
  317. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +1 -1
  318. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +3 -3
  319. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +1 -1
  320. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +2 -2
  321. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +1 -1
  322. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +2 -2
  323. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +1 -1
  324. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +2 -2
  325. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  326. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +2 -2
  327. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +1 -1
  328. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +2 -2
  329. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +1 -1
  330. package/src/uploadcareimageedit/uploadcareimageeditediting.js +2 -2
  331. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  332. package/src/uploadcareimageedit/uploadcareimageeditui.js +2 -2
  333. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  334. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +2 -2
  335. package/src/uploadcareimageedit.d.ts +1 -1
  336. package/src/uploadcareimageedit.js +2 -2
  337. package/src/uploadcareui.d.ts +1 -1
  338. package/src/uploadcareui.js +2 -2
  339. package/src/uploadcareuploadadapter.d.ts +1 -1
  340. package/src/uploadcareuploadadapter.js +2 -2
  341. package/src/utils/common-translations.d.ts +1 -1
  342. package/src/utils/common-translations.js +2 -2
  343. package/src/utils/dialogfocusmanagerview.d.ts +1 -1
  344. package/src/utils/dialogfocusmanagerview.js +2 -2
  345. package/src/utils/editingutils.d.ts +1 -1
  346. package/src/utils/editingutils.js +2 -2
  347. package/src/utils/isancestor.d.ts +1 -1
  348. package/src/utils/isancestor.js +2 -2
  349. package/src/utils/uploadutils.d.ts +1 -1
  350. package/src/utils/uploadutils.js +2 -2
  351. package/theme/uploadcare-form.css +5 -2
  352. package/theme/uploadcare-theme.css +1 -1
  353. package/theme/uploadcareimageedit.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1afb(_0x1f2487,_0x24c2fc){const _0x787608=_0x7876();return _0x1afb=function(_0x1afb7f,_0x256537){_0x1afb7f=_0x1afb7f-0x101;let _0x1e3aaf=_0x787608[_0x1afb7f];return _0x1e3aaf;},_0x1afb(_0x1f2487,_0x24c2fc);}const _0x3363eb=_0x1afb;(function(_0x2a54a5,_0x13df80){const _0x4a3b99=_0x1afb,_0x2486f4=_0x2a54a5();while(!![]){try{const _0x29dfde=-parseInt(_0x4a3b99(0x147))/0x1+-parseInt(_0x4a3b99(0x106))/0x2+parseInt(_0x4a3b99(0x140))/0x3+parseInt(_0x4a3b99(0x130))/0x4*(parseInt(_0x4a3b99(0x131))/0x5)+-parseInt(_0x4a3b99(0x137))/0x6*(parseInt(_0x4a3b99(0x136))/0x7)+-parseInt(_0x4a3b99(0x108))/0x8+-parseInt(_0x4a3b99(0x109))/0x9*(-parseInt(_0x4a3b99(0x122))/0xa);if(_0x29dfde===_0x13df80)break;else _0x2486f4['push'](_0x2486f4['shift']());}catch(_0x45f23a){_0x2486f4['push'](_0x2486f4['shift']());}}}(_0x7876,0x96f18));import{IconUploadcareImageUpload as _0x536543}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x1828b9}from'ckeditor5/src/utils.js';import{Dialog as _0xaa7cc0,DialogViewPosition as _0x21d073}from'ckeditor5/src/ui.js';function _0x7876(){const _0x57ae12=['_initListeners','uuid','model','destroy','imageInline','removeSelectionAttribute','imageInfo','_dialog','stopListening','get','EDITOR_TOP_CENTER','length','_formView','24493990ClGwrd','attributes','removeAllFiles','getSelectedElement','setCurrentActivity','element','image','idle','hide','getLastPosition','ucContextId','execute','_insertAsset','width','28ZbYQfz','423835QstTHC','doneFlow','done-click','source-list','stopDelegating','381514NKXNsO','126FVurDw','_editing','document','selection','getOutputCollectionState','initFlow','configElement','ctxElement','setSelection','3189942lbmRGF','text','uploadCare','insertImage','allEntries','_editor','Insert','798106exKUAQ','change','detail','imageBlock','isOpen','editing','Replace','view','Local','1054128IdaEFJ','focus','8144848rKwNWX','9kXpOEO','plugins','_type','linkHref','getAPI','status','show','_api','_initDialog','_insertImage','setAttribute','addEventListener'];_0x7876=function(){return _0x57ae12;};return _0x7876();}import{UploadcareFormView as _0x52c61f}from'./uploadcareformview.js';import{UploadcareSource as _0x65b94e}from'../uploadcareconfig.js';import{getTranslation as _0x7eb86d}from'../utils/common-translations.js';import{getImageUrls as _0x2cc288,getImageDimension as _0x565216}from'../utils/editingutils.js';import{isAncestor as _0x4ca8f1}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x1828b9(){[_0x3363eb(0x145)];[_0x3363eb(0x11c)];[_0x3363eb(0x138)];[_0x3363eb(0x110)];[_0x3363eb(0x10b)]=null;[_0x3363eb(0x121)]=null;constructor(_0x47f56d,_0x574caa,_0x10b099){const _0x2b2f7b=_0x3363eb;super(),this[_0x2b2f7b(0x145)]=_0x47f56d,this[_0x2b2f7b(0x138)]=_0x574caa,this[_0x2b2f7b(0x11c)]=_0x47f56d[_0x2b2f7b(0x10a)][_0x2b2f7b(0x11e)](_0xaa7cc0),this[_0x2b2f7b(0x110)]=_0x574caa[_0x2b2f7b(0x13e)][_0x2b2f7b(0x10d)](),this[_0x2b2f7b(0x10b)]=_0x10b099,this[_0x2b2f7b(0x138)][_0x2b2f7b(0x13d)][_0x2b2f7b(0x113)](_0x2b2f7b(0x134),this[_0x2b2f7b(0x10b)]),this[_0x2b2f7b(0x111)](),this[_0x2b2f7b(0x115)](),this[_0x2b2f7b(0x110)][_0x2b2f7b(0x13c)]();}[_0x3363eb(0x118)](){const _0x230af4=_0x3363eb;this[_0x230af4(0x121)]&&(this[_0x230af4(0x121)][_0x230af4(0x118)](),this[_0x230af4(0x121)]=null),this[_0x230af4(0x110)]&&this[_0x230af4(0x110)][_0x230af4(0x132)](),this[_0x230af4(0x11d)](),this[_0x230af4(0x135)]();}[_0x3363eb(0x111)](){const _0x5b700f=_0x3363eb,{locale:_0x2d4130,model:_0x427dd4}=this[_0x5b700f(0x145)],_0x3ecfee=_0x427dd4[_0x5b700f(0x139)][_0x5b700f(0x13a)][_0x5b700f(0x125)](),_0x43924e=_0x3ecfee&&(_0x3ecfee['is'](_0x5b700f(0x127),_0x5b700f(0x14a))||_0x3ecfee['is'](_0x5b700f(0x127),_0x5b700f(0x119)));this[_0x5b700f(0x121)]=new _0x52c61f(_0x2d4130,this[_0x5b700f(0x138)][_0x5b700f(0x12c)]),this[_0x5b700f(0x11c)][_0x5b700f(0x10f)]({'id':_0x5b700f(0x142),'icon':_0x536543,'title':_0x7eb86d(_0x2d4130,this[_0x5b700f(0x10b)],_0x43924e?_0x5b700f(0x103):_0x5b700f(0x146))[_0x5b700f(0x141)],'content':this[_0x5b700f(0x121)],'position':_0x21d073[_0x5b700f(0x11f)],'isModal':!0x0,'onShow':()=>{const _0x26ea4a=_0x5b700f;this[_0x26ea4a(0x121)][_0x26ea4a(0x107)]();},'onHide':()=>{const _0x3b3f82=_0x5b700f;this[_0x3b3f82(0x110)][_0x3b3f82(0x124)](),this[_0x3b3f82(0x145)][_0x3b3f82(0x102)][_0x3b3f82(0x104)][_0x3b3f82(0x107)](),this[_0x3b3f82(0x118)]();},'keystrokeHandlerOptions':{'filter':_0x5baf54=>!_0x4ca8f1(_0x5baf54,this[_0x5b700f(0x121)][_0x5b700f(0x127)])}});}[_0x3363eb(0x115)](){const _0x89232b=_0x3363eb;this[_0x89232b(0x138)][_0x89232b(0x13e)][_0x89232b(0x114)](_0x89232b(0x133),()=>{const _0x269e72=_0x89232b,{allEntries:_0x5c110f}=this[_0x269e72(0x110)][_0x269e72(0x13b)]();this[_0x269e72(0x145)][_0x269e72(0x117)][_0x269e72(0x148)](_0x3b3712=>{const _0x3de7c0=_0x269e72,_0x315021=_0x5c110f[_0x3de7c0(0x120)];for(const _0x67ec51 of _0x5c110f){const _0x21a4e5=_0x67ec51===_0x5c110f[_0x315021-0x1],{cdnUrl:_0xcac703,fileInfo:_0x43557d}=_0x67ec51;if(!_0xcac703||!_0x43557d)continue;const {width:_0x34398b,height:_0x4c88e3}=_0x43557d[_0x3de7c0(0x11b)],_0x2fd272=_0x565216(_0xcac703,_0x34398b,_0x4c88e3),_0x3838b3=_0x2cc288(_0xcac703,_0x2fd272[_0x3de7c0(0x12f)]),_0x1fea2a={'id':_0x43557d[_0x3de7c0(0x116)],'type':_0x3de7c0(0x128),'attributes':{'imageDimension':_0x2fd272,..._0x3838b3}};this[_0x3de7c0(0x12e)](_0x1fea2a,_0x21a4e5,_0x3b3712);}}),this[_0x269e72(0x11c)][_0x269e72(0x12a)]();}),this[_0x89232b(0x138)][_0x89232b(0x13e)][_0x89232b(0x114)](_0x89232b(0x148),_0x42ff88=>{const _0xb22fbf=_0x89232b;_0xb22fbf(0x129)===_0x42ff88[_0xb22fbf(0x149)][_0xb22fbf(0x10e)]&&!_0x42ff88[_0xb22fbf(0x149)][_0xb22fbf(0x144)][_0xb22fbf(0x120)]&&this[_0xb22fbf(0x11c)][_0xb22fbf(0x101)]&&(this[_0xb22fbf(0x10b)]===_0x65b94e[_0xb22fbf(0x105)]?this[_0xb22fbf(0x110)][_0xb22fbf(0x126)](_0x65b94e[_0xb22fbf(0x105)]):this[_0xb22fbf(0x110)][_0xb22fbf(0x13c)]());});}[_0x3363eb(0x12e)](_0x2c922e,_0x5a977c,_0x4a467e){const _0x13b1c4=_0x3363eb,_0x31e840=this[_0x13b1c4(0x145)][_0x13b1c4(0x117)][_0x13b1c4(0x139)][_0x13b1c4(0x13a)],_0x326cd1=_0x31e840[_0x13b1c4(0x125)](),_0x464a81=!(!_0x326cd1||!_0x326cd1['is'](_0x13b1c4(0x127),_0x13b1c4(0x119)));_0x4a467e[_0x13b1c4(0x11a)](_0x13b1c4(0x10c)),this[_0x13b1c4(0x112)](_0x2c922e,_0x464a81),_0x5a977c||_0x4a467e[_0x13b1c4(0x13f)](_0x31e840[_0x13b1c4(0x12b)]());}[_0x3363eb(0x112)](_0x1f4fec,_0x35d734){const _0x46421e=_0x3363eb,_0x45b242=this[_0x46421e(0x145)],{imageDimension:_0x55362e,imageFallbackUrl:_0x865ad2,imageSources:_0x1ded13}=_0x1f4fec[_0x46421e(0x123)];_0x45b242[_0x46421e(0x12d)](_0x46421e(0x143),{'imageType':_0x35d734?_0x46421e(0x119):null,'source':{'uploadcareImageId':_0x1f4fec['id'],'src':_0x865ad2,'sources':_0x1ded13,..._0x55362e}});}}
23
+ const _0x5af20e=_0x58bc;function _0x3765(){const _0x33986c=['element','attributes','setSelection','1266748TMbxmP','imageInline','editing','imageBlock','ucContextId','execute','getSelectedElement','initFlow','1776075zaMzoe','_type','stopListening','done-click','Insert','2WqIHcE','_initDialog','getLastPosition','change','_dialog','uploadCare','EDITOR_TOP_CENTER','source-list','configElement','plugins','width','view','_insertImage','719130laqiMU','idle','Replace','getAPI','allEntries','_initListeners','insertImage','_insertAsset','hide','focus','ctxElement','status','text','Local','setAttribute','getOutputCollectionState','stopDelegating','imageInfo','_editing','setCurrentActivity','1394400DqTkeL','_formView','linkHref','get','uuid','removeSelectionAttribute','length','model','isOpen','show','11609752bzvnXU','detail','_api','selection','doneFlow','1953399sDhbNI','_editor','addEventListener','image','destroy','removeAllFiles','488789yKpbDY','document'];_0x3765=function(){return _0x33986c;};return _0x3765();}(function(_0x9846a2,_0x3d3db5){const _0x18b0ca=_0x58bc,_0x363113=_0x9846a2();while(!![]){try{const _0x46a0bb=parseInt(_0x18b0ca(0x1ea))/0x1*(-parseInt(_0x18b0ca(0x1fc))/0x2)+-parseInt(_0x18b0ca(0x1e4))/0x3+-parseInt(_0x18b0ca(0x1ef))/0x4+parseInt(_0x18b0ca(0x1f7))/0x5+-parseInt(_0x18b0ca(0x209))/0x6+parseInt(_0x18b0ca(0x1d5))/0x7+parseInt(_0x18b0ca(0x1df))/0x8;if(_0x46a0bb===_0x3d3db5)break;else _0x363113['push'](_0x363113['shift']());}catch(_0x1a6881){_0x363113['push'](_0x363113['shift']());}}}(_0x3765,0x68c72));import{IconUploadcareImageUpload as _0x42b8ed}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x211bf3}from'ckeditor5/src/utils.js';import{Dialog as _0x55a5b1,DialogViewPosition as _0x28cbec}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x4473c5}from'./uploadcareformview.js';import{UploadcareSource as _0x279f2a}from'../uploadcareconfig.js';import{getTranslation as _0x3e0481}from'../utils/common-translations.js';import{getImageUrls as _0x1dd8c2,getImageDimension as _0x1937e5}from'../utils/editingutils.js';import{isAncestor as _0x3a1f24}from'../utils/isancestor.js';function _0x58bc(_0x2c3630,_0x3a31b0){const _0x376537=_0x3765();return _0x58bc=function(_0x58bc86,_0x505c15){_0x58bc86=_0x58bc86-0x1d0;let _0x4b8e43=_0x376537[_0x58bc86];return _0x4b8e43;},_0x58bc(_0x2c3630,_0x3a31b0);}export class UploadcareController extends/* #__PURE__ -- @preserve */
24
+ _0x211bf3(){[_0x5af20e(0x1e5)];[_0x5af20e(0x200)];[_0x5af20e(0x1d3)];[_0x5af20e(0x1e1)];[_0x5af20e(0x1f8)]=null;[_0x5af20e(0x1d6)]=null;constructor(_0x3a5834,_0x188523,_0x392c8a){const _0x3acd40=_0x5af20e;super(),this[_0x3acd40(0x1e5)]=_0x3a5834,this[_0x3acd40(0x1d3)]=_0x188523,this[_0x3acd40(0x200)]=_0x3a5834[_0x3acd40(0x205)][_0x3acd40(0x1d8)](_0x55a5b1),this[_0x3acd40(0x1e1)]=_0x188523[_0x3acd40(0x213)][_0x3acd40(0x20c)](),this[_0x3acd40(0x1f8)]=_0x392c8a,this[_0x3acd40(0x1d3)][_0x3acd40(0x204)][_0x3acd40(0x217)](_0x3acd40(0x203),this[_0x3acd40(0x1f8)]),this[_0x3acd40(0x1fd)](),this[_0x3acd40(0x20e)](),this[_0x3acd40(0x1e1)][_0x3acd40(0x1f6)]();}[_0x5af20e(0x1e8)](){const _0x59a21e=_0x5af20e;this[_0x59a21e(0x1d6)]&&(this[_0x59a21e(0x1d6)][_0x59a21e(0x1e8)](),this[_0x59a21e(0x1d6)]=null),this[_0x59a21e(0x1e1)]&&this[_0x59a21e(0x1e1)][_0x59a21e(0x1e3)](),this[_0x59a21e(0x1f9)](),this[_0x59a21e(0x1d1)]();}[_0x5af20e(0x1fd)](){const _0x47da95=_0x5af20e,{locale:_0x131492,model:_0x5968e2}=this[_0x47da95(0x1e5)],_0x4b4d78=_0x5968e2[_0x47da95(0x1eb)][_0x47da95(0x1e2)][_0x47da95(0x1f5)](),_0x54f5e6=_0x4b4d78&&(_0x4b4d78['is'](_0x47da95(0x1ec),_0x47da95(0x1f2))||_0x4b4d78['is'](_0x47da95(0x1ec),_0x47da95(0x1f0)));this[_0x47da95(0x1d6)]=new _0x4473c5(_0x131492,this[_0x47da95(0x1d3)][_0x47da95(0x1f3)]),this[_0x47da95(0x200)][_0x47da95(0x1de)]({'id':_0x47da95(0x201),'icon':_0x42b8ed,'title':_0x3e0481(_0x131492,this[_0x47da95(0x1f8)],_0x54f5e6?_0x47da95(0x20b):_0x47da95(0x1fb))[_0x47da95(0x215)],'content':this[_0x47da95(0x1d6)],'position':_0x28cbec[_0x47da95(0x202)],'isModal':!0x0,'onShow':()=>{const _0x1c9490=_0x47da95;this[_0x1c9490(0x1d6)][_0x1c9490(0x212)]();},'onHide':()=>{const _0x1b6c0a=_0x47da95;this[_0x1b6c0a(0x1e1)][_0x1b6c0a(0x1e9)](),this[_0x1b6c0a(0x1e5)][_0x1b6c0a(0x1f1)][_0x1b6c0a(0x207)][_0x1b6c0a(0x212)](),this[_0x1b6c0a(0x1e8)]();},'keystrokeHandlerOptions':{'filter':_0x4e96eb=>!_0x3a1f24(_0x4e96eb,this[_0x47da95(0x1d6)][_0x47da95(0x1ec)])}});}[_0x5af20e(0x20e)](){const _0xa10272=_0x5af20e;this[_0xa10272(0x1d3)][_0xa10272(0x213)][_0xa10272(0x1e6)](_0xa10272(0x1fa),()=>{const _0x222a17=_0xa10272,{allEntries:_0x33c2c8}=this[_0x222a17(0x1e1)][_0x222a17(0x1d0)]();this[_0x222a17(0x1e5)][_0x222a17(0x1dc)][_0x222a17(0x1ff)](_0x5cf051=>{const _0x3432c1=_0x222a17,_0x16dfef=_0x33c2c8[_0x3432c1(0x1db)];for(const _0x4684dc of _0x33c2c8){const _0x1e8775=_0x4684dc===_0x33c2c8[_0x16dfef-0x1],{cdnUrl:_0x76801c,fileInfo:_0x5772c5}=_0x4684dc;if(!_0x76801c||!_0x5772c5)continue;const {width:_0x274de8,height:_0x526de9}=_0x5772c5[_0x3432c1(0x1d2)],_0x4ef1e3=_0x1937e5(_0x76801c,_0x274de8,_0x526de9),_0x252eb3=_0x1dd8c2(_0x76801c,_0x4ef1e3[_0x3432c1(0x206)]),_0x284548={'id':_0x5772c5[_0x3432c1(0x1d9)],'type':_0x3432c1(0x1e7),'attributes':{'imageDimension':_0x4ef1e3,..._0x252eb3}};this[_0x3432c1(0x210)](_0x284548,_0x1e8775,_0x5cf051);}}),this[_0x222a17(0x200)][_0x222a17(0x211)]();}),this[_0xa10272(0x1d3)][_0xa10272(0x213)][_0xa10272(0x1e6)](_0xa10272(0x1ff),_0x268bb5=>{const _0x4b25bb=_0xa10272;_0x4b25bb(0x20a)===_0x268bb5[_0x4b25bb(0x1e0)][_0x4b25bb(0x214)]&&!_0x268bb5[_0x4b25bb(0x1e0)][_0x4b25bb(0x20d)][_0x4b25bb(0x1db)]&&this[_0x4b25bb(0x200)][_0x4b25bb(0x1dd)]&&(this[_0x4b25bb(0x1f8)]===_0x279f2a[_0x4b25bb(0x216)]?this[_0x4b25bb(0x1e1)][_0x4b25bb(0x1d4)](_0x279f2a[_0x4b25bb(0x216)]):this[_0x4b25bb(0x1e1)][_0x4b25bb(0x1f6)]());});}[_0x5af20e(0x210)](_0x18e564,_0x4e6f50,_0x4a4ff2){const _0x4fa858=_0x5af20e,_0x2a27f9=this[_0x4fa858(0x1e5)][_0x4fa858(0x1dc)][_0x4fa858(0x1eb)][_0x4fa858(0x1e2)],_0x558ac7=_0x2a27f9[_0x4fa858(0x1f5)](),_0x2cd721=!(!_0x558ac7||!_0x558ac7['is'](_0x4fa858(0x1ec),_0x4fa858(0x1f0)));_0x4a4ff2[_0x4fa858(0x1da)](_0x4fa858(0x1d7)),this[_0x4fa858(0x208)](_0x18e564,_0x2cd721),_0x4e6f50||_0x4a4ff2[_0x4fa858(0x1ee)](_0x2a27f9[_0x4fa858(0x1fe)]());}[_0x5af20e(0x208)](_0x509667,_0x1209b5){const _0x534bb8=_0x5af20e,_0x508dcf=this[_0x534bb8(0x1e5)],{imageDimension:_0x352847,imageFallbackUrl:_0x58dee6,imageSources:_0x5938db}=_0x509667[_0x534bb8(0x1ed)];_0x508dcf[_0x534bb8(0x1f4)](_0x534bb8(0x20f),{'imageType':_0x1209b5?_0x534bb8(0x1f0):null,'source':{'uploadcareImageId':_0x509667['id'],'src':_0x58dee6,'sources':_0x5938db,..._0x352847}});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x52f8ba=_0x2a9c;(function(_0x2f30da,_0x6af7c2){var _0x54e221=_0x2a9c,_0x3de652=_0x2f30da();while(!![]){try{var _0x5dd25a=parseInt(_0x54e221(0x1f2))/0x1+parseInt(_0x54e221(0x1f0))/0x2*(-parseInt(_0x54e221(0x1ef))/0x3)+-parseInt(_0x54e221(0x1f5))/0x4+-parseInt(_0x54e221(0x1ed))/0x5*(-parseInt(_0x54e221(0x1ff))/0x6)+parseInt(_0x54e221(0x1f1))/0x7*(-parseInt(_0x54e221(0x1eb))/0x8)+-parseInt(_0x54e221(0x1fa))/0x9+parseInt(_0x54e221(0x1f8))/0xa;if(_0x5dd25a===_0x6af7c2)break;else _0x3de652['push'](_0x3de652['shift']());}catch(_0x379f02){_0x3de652['push'](_0x3de652['shift']());}}}(_0x46a3,0xc6c77));function _0x2a9c(_0x38a0d6,_0x2cb23b){var _0x46a3fd=_0x46a3();return _0x2a9c=function(_0x2a9ca5,_0x5491a6){_0x2a9ca5=_0x2a9ca5-0x1eb;var _0x5bfc12=_0x46a3fd[_0x2a9ca5];return _0x5bfc12;},_0x2a9c(_0x38a0d6,_0x2cb23b);}function _0x46a3(){var _0x29f3e5=['550214gDShTP','1296996lZYaHy','ck-reset_all-excluded','div','5922364arEYza','uploader-','uc-file-uploader-inline','21830840TZHlUf','uc-light','10529478PGsKwo','getFocusableElement','focus','setTemplate','ck-uploadcare-theme','6rVexfd','8SfDJsU','ck-uploadcare-form','7218655jPHirp','element','197211hzFTtf','42lxsYDm'];_0x46a3=function(){return _0x29f3e5;};return _0x46a3();}import{DialogFocusManagerView as _0x559988}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x559988{constructor(_0xeaa2e8,_0x5b3b0e){var _0x368a6f=_0x2a9c;super(_0xeaa2e8),this[_0x368a6f(0x1fd)]({'tag':_0x368a6f(0x1f4),'attributes':{'class':['ck',_0x368a6f(0x1f3),_0x368a6f(0x1ec)],'tabindex':'-1'},'children':[{'tag':_0x368a6f(0x1f7),'attributes':{'class':[_0x368a6f(0x1f9),_0x368a6f(0x1fe)],'ctx-name':_0x368a6f(0x1f6)+_0x5b3b0e}},this[_0x368a6f(0x1fb)]()]});}[_0x52f8ba(0x1fc)](){var _0x26a09d=_0x52f8ba;this[_0x26a09d(0x1ee)][_0x26a09d(0x1fc)]();}}
23
+ function _0x2f6a(_0x3c19a4,_0x42f452){var _0x5318eb=_0x5318();return _0x2f6a=function(_0x2f6a3c,_0x3c7a62){_0x2f6a3c=_0x2f6a3c-0xda;var _0x572381=_0x5318eb[_0x2f6a3c];return _0x572381;},_0x2f6a(_0x3c19a4,_0x42f452);}function _0x5318(){var _0x2479be=['setTemplate','12EAGYQv','78KkPYfl','73265tnPiWB','7635251QFYcYX','ck-uploadcare-form','element','uc-light','675286WDEHHt','2qKBxNs','getFocusableElement','uc-file-uploader-inline','uploader-','11Mxbbnq','1672350vIrBbM','389354yHTYCN','focus','div','2299540NCPXaF','ck-reset_all-excluded','117KzugmI','ck-uploadcare-theme','538952bDOQBV','184PISviX'];_0x5318=function(){return _0x2479be;};return _0x5318();}var _0x36dca7=_0x2f6a;(function(_0xccd37a,_0x43251f){var _0x2af357=_0x2f6a,_0x321f8b=_0xccd37a();while(!![]){try{var _0xab48a1=-parseInt(_0x2af357(0xe2))/0x1*(parseInt(_0x2af357(0xe1))/0x2)+-parseInt(_0x2af357(0xe7))/0x3+parseInt(_0x2af357(0xf0))/0x4*(-parseInt(_0x2af357(0xdc))/0x5)+parseInt(_0x2af357(0xdb))/0x6*(parseInt(_0x2af357(0xe8))/0x7)+parseInt(_0x2af357(0xef))/0x8*(parseInt(_0x2af357(0xed))/0x9)+-parseInt(_0x2af357(0xeb))/0xa*(-parseInt(_0x2af357(0xe6))/0xb)+-parseInt(_0x2af357(0xda))/0xc*(-parseInt(_0x2af357(0xdd))/0xd);if(_0xab48a1===_0x43251f)break;else _0x321f8b['push'](_0x321f8b['shift']());}catch(_0xd0c8f6){_0x321f8b['push'](_0x321f8b['shift']());}}}(_0x5318,0x7c5ce));import{DialogFocusManagerView as _0x22acd}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x22acd{constructor(_0x3a9f70,_0x36ca4a){var _0x2a83a6=_0x2f6a;super(_0x3a9f70),this[_0x2a83a6(0xf1)]({'tag':_0x2a83a6(0xea),'attributes':{'class':['ck',_0x2a83a6(0xec),_0x2a83a6(0xde)],'tabindex':'-1'},'children':[{'tag':_0x2a83a6(0xe4),'attributes':{'class':[_0x2a83a6(0xe0),_0x2a83a6(0xee)],'ctx-name':_0x2a83a6(0xe5)+_0x36ca4a}},this[_0x2a83a6(0xe3)]()]});}[_0x36dca7(0xe9)](){var _0x317108=_0x36dca7;this[_0x317108(0xdf)][_0x317108(0xe9)]();}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
package/src/uploadcare.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd606(){const _0x3c37ea=['config','pluginName','282714ROesCd','Local','URL','10117136lEGGxm','defineComponents','4637905RkcFXo','define','3384199UQFscF','isOfficialPlugin','locale','contentLanguage','28cbjsZa','1267222sbBuOX','4ZeuWMp','isPremiumPlugin','_defineLocale','requires','get','540858IWjmbJ','uploadcare.locale','Uploadcare','defineLocale','editor','uploadcare.uploader.sourceList','6966225GDSdgP'];_0xd606=function(){return _0x3c37ea;};return _0xd606();}const _0x2e337f=_0x1be6;(function(_0x11468a,_0x2a97db){const _0x9fa055=_0x1be6,_0x169399=_0x11468a();while(!![]){try{const _0x16eb2c=parseInt(_0x9fa055(0x15a))/0x1+parseInt(_0x9fa055(0x159))/0x2*(-parseInt(_0x9fa055(0x14e))/0x3)+parseInt(_0x9fa055(0x15b))/0x4*(-parseInt(_0x9fa055(0x153))/0x5)+parseInt(_0x9fa055(0x160))/0x6+-parseInt(_0x9fa055(0x155))/0x7+parseInt(_0x9fa055(0x151))/0x8+parseInt(_0x9fa055(0x14b))/0x9;if(_0x16eb2c===_0x2a97db)break;else _0x169399['push'](_0x169399['shift']());}catch(_0x1f72d3){_0x169399['push'](_0x169399['shift']());}}}(_0xd606,0xa283e));import{Plugin as _0xb2a6a}from'ckeditor5/src/core.js';import{UploadcareUI as _0x258746}from'./uploadcareui.js';import{UploadcareEditing as _0x1bd928}from'./uploadcareediting.js';function _0x1be6(_0x7827b4,_0x479bc5){const _0xd6067f=_0xd606();return _0x1be6=function(_0x1be654,_0x15627b){_0x1be654=_0x1be654-0x14a;let _0x171e81=_0xd6067f[_0x1be654];return _0x171e81;},_0x1be6(_0x7827b4,_0x479bc5);}import{UploadcareSource as _0x233b41}from'./uploadcareconfig.js';import*as _0x408897 from'@uploadcare/file-uploader';export class Uploadcare extends _0xb2a6a{static get[_0x2e337f(0x15e)](){return[_0x1bd928,_0x258746];}static get[_0x2e337f(0x14d)](){const _0x4947b3=_0x2e337f;return _0x4947b3(0x162);}static get[_0x2e337f(0x156)](){return!0x0;}static get[_0x2e337f(0x15c)](){return!0x0;}constructor(_0x1d5ae1){const _0xca953d=_0x2e337f;super(_0x1d5ae1),_0x1d5ae1[_0xca953d(0x14c)][_0xca953d(0x154)](_0xca953d(0x14a),[_0x233b41[_0xca953d(0x14f)],_0x233b41[_0xca953d(0x150)]]),_0x408897[_0xca953d(0x152)](_0x408897),this[_0xca953d(0x15d)]();}[_0x2e337f(0x15d)](){const _0x11c1e7=_0x2e337f,_0x1d9d47=this[_0x11c1e7(0x164)][_0x11c1e7(0x14c)][_0x11c1e7(0x15f)](_0x11c1e7(0x161)),_0x4168d0=this[_0x11c1e7(0x164)][_0x11c1e7(0x157)][_0x11c1e7(0x158)];_0x1d9d47&&_0x408897[_0x11c1e7(0x163)](_0x4168d0,_0x1d9d47);}}
23
+ const _0x52f306=_0x426c;(function(_0x2f3694,_0x36d60d){const _0x4240b4=_0x426c,_0x189de2=_0x2f3694();while(!![]){try{const _0x2aa4e9=parseInt(_0x4240b4(0xcf))/0x1+-parseInt(_0x4240b4(0xce))/0x2*(-parseInt(_0x4240b4(0xd8))/0x3)+parseInt(_0x4240b4(0xdd))/0x4*(parseInt(_0x4240b4(0xd1))/0x5)+-parseInt(_0x4240b4(0xe6))/0x6*(-parseInt(_0x4240b4(0xe7))/0x7)+-parseInt(_0x4240b4(0xe2))/0x8*(parseInt(_0x4240b4(0xcb))/0x9)+parseInt(_0x4240b4(0xd9))/0xa+-parseInt(_0x4240b4(0xcc))/0xb;if(_0x2aa4e9===_0x36d60d)break;else _0x189de2['push'](_0x189de2['shift']());}catch(_0x2e7e9d){_0x189de2['push'](_0x189de2['shift']());}}}(_0x3d93,0x231e1));import{Plugin as _0x427bd1}from'ckeditor5/src/core.js';function _0x426c(_0x1b50d7,_0xd96196){const _0x3d938e=_0x3d93();return _0x426c=function(_0x426c02,_0x52ef4c){_0x426c02=_0x426c02-0xcb;let _0x2e6499=_0x3d938e[_0x426c02];return _0x2e6499;},_0x426c(_0x1b50d7,_0xd96196);}import{UploadcareUI as _0x3952d4}from'./uploadcareui.js';import{UploadcareEditing as _0x2ea82d}from'./uploadcareediting.js';import{UploadcareSource as _0x585a6d}from'./uploadcareconfig.js';function _0x3d93(){const _0x44c824=['isPremiumPlugin','define','80368SSgWBX','Local','requires','defineLocale','630WQtaOp','10038NSVdcW','144fQpYUN','6077203aZKIQU','URL','2txoFxB','159989atBbjL','locale','5ilJcst','editor','contentLanguage','defineComponents','isOfficialPlugin','get','Uploadcare','675306dDyrTV','572980cNDXxe','uploadcare.uploader.sourceList','config','pluginName','1056364CezIDX','_defineLocale','uploadcare.locale'];_0x3d93=function(){return _0x44c824;};return _0x3d93();}import*as _0x181e20 from'@uploadcare/file-uploader';export class Uploadcare extends _0x427bd1{static get[_0x52f306(0xe4)](){return[_0x2ea82d,_0x3952d4];}static get[_0x52f306(0xdc)](){const _0x19384e=_0x52f306;return _0x19384e(0xd7);}static get[_0x52f306(0xd5)](){return!0x0;}static get[_0x52f306(0xe0)](){return!0x0;}constructor(_0x403b2d){const _0x1d6ec9=_0x52f306;super(_0x403b2d),_0x403b2d[_0x1d6ec9(0xdb)][_0x1d6ec9(0xe1)](_0x1d6ec9(0xda),[_0x585a6d[_0x1d6ec9(0xe3)],_0x585a6d[_0x1d6ec9(0xcd)]]),_0x181e20[_0x1d6ec9(0xd4)](_0x181e20),this[_0x1d6ec9(0xde)]();}[_0x52f306(0xde)](){const _0x2cb64e=_0x52f306,_0x2ce5f5=this[_0x2cb64e(0xd2)][_0x2cb64e(0xdb)][_0x2cb64e(0xd6)](_0x2cb64e(0xdf)),_0x24f84b=this[_0x2cb64e(0xd2)][_0x2cb64e(0xd0)][_0x2cb64e(0xd3)];_0x2ce5f5&&_0x181e20[_0x2cb64e(0xe5)](_0x24f84b,_0x2ce5f5);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x260cda=_0x4099;(function(_0x4e6dff,_0x27bf60){var _0x361201=_0x4099,_0x59e559=_0x4e6dff();while(!![]){try{var _0x22a36e=-parseInt(_0x361201(0x145))/0x1+parseInt(_0x361201(0x139))/0x2*(-parseInt(_0x361201(0x133))/0x3)+-parseInt(_0x361201(0x134))/0x4+parseInt(_0x361201(0x147))/0x5+parseInt(_0x361201(0x135))/0x6+-parseInt(_0x361201(0x146))/0x7*(parseInt(_0x361201(0x138))/0x8)+parseInt(_0x361201(0x144))/0x9;if(_0x22a36e===_0x27bf60)break;else _0x59e559['push'](_0x59e559['shift']());}catch(_0x5e4333){_0x59e559['push'](_0x59e559['shift']());}}}(_0x36c4,0xd783c));import{Command as _0x2ec70e}from'ckeditor5/src/core.js';import{Dialog as _0x5c85ac}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x262fe}from'./uploadcareediting.js';function _0x36c4(){var _0x43c7d3=['895486TSJxqc','get','isEnabled','_controller','_editing','insertImage','destroy','refresh','execute','editor','commands','44486568JyTdIN','1442490wQeLdo','48699bNWKFW','759495FJRlnz','_checkEnabled','6lXcRpC','5287836fsKVCg','4993650TgnTfc','requires','plugins','1592dLdHNu'];_0x36c4=function(){return _0x43c7d3;};return _0x36c4();}function _0x4099(_0x200b3f,_0x17723a){var _0x36c4a0=_0x36c4();return _0x4099=function(_0x409937,_0x243f3c){_0x409937=_0x409937-0x133;var _0xd95e88=_0x36c4a0[_0x409937];return _0xd95e88;},_0x4099(_0x200b3f,_0x17723a);}import{UploadcareController as _0x2a880b}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x2ec70e{[_0x260cda(0x13d)];[_0x260cda(0x13c)]=null;static get[_0x260cda(0x136)](){return[_0x5c85ac,_0x262fe];}constructor(_0x5ebe99){var _0x7180d=_0x260cda;super(_0x5ebe99),this[_0x7180d(0x13d)]=_0x5ebe99[_0x7180d(0x137)][_0x7180d(0x13a)](_0x262fe);}[_0x260cda(0x140)](){var _0x4a8ed6=_0x260cda;this[_0x4a8ed6(0x13b)]=this[_0x4a8ed6(0x148)]();}[_0x260cda(0x141)](_0x236362){var _0x25ef83=_0x260cda;this[_0x25ef83(0x13c)]&&(this[_0x25ef83(0x13c)][_0x25ef83(0x13f)](),this[_0x25ef83(0x13c)]=null),this[_0x25ef83(0x13c)]=new _0x2a880b(this[_0x25ef83(0x142)],this[_0x25ef83(0x13d)],_0x236362);}[_0x260cda(0x148)](){var _0x71c19a=_0x260cda;return this[_0x71c19a(0x142)][_0x71c19a(0x143)][_0x71c19a(0x13a)](_0x71c19a(0x13e))[_0x71c19a(0x13b)];}}
23
+ var _0x7bcf3f=_0x2db3;function _0x2db3(_0x4c70ce,_0x34f25a){var _0x40a8ae=_0x40a8();return _0x2db3=function(_0x2db33d,_0x58a5d5){_0x2db33d=_0x2db33d-0xea;var _0xddb29f=_0x40a8ae[_0x2db33d];return _0xddb29f;},_0x2db3(_0x4c70ce,_0x34f25a);}(function(_0x35106b,_0x29cdf5){var _0x3c12f0=_0x2db3,_0x37c2f4=_0x35106b();while(!![]){try{var _0x15c998=-parseInt(_0x3c12f0(0xf1))/0x1+-parseInt(_0x3c12f0(0xf4))/0x2*(parseInt(_0x3c12f0(0xeb))/0x3)+-parseInt(_0x3c12f0(0xf9))/0x4*(-parseInt(_0x3c12f0(0xf0))/0x5)+-parseInt(_0x3c12f0(0xef))/0x6*(parseInt(_0x3c12f0(0x100))/0x7)+-parseInt(_0x3c12f0(0xea))/0x8+parseInt(_0x3c12f0(0x101))/0x9+parseInt(_0x3c12f0(0xff))/0xa*(parseInt(_0x3c12f0(0xf8))/0xb);if(_0x15c998===_0x29cdf5)break;else _0x37c2f4['push'](_0x37c2f4['shift']());}catch(_0x56c1cb){_0x37c2f4['push'](_0x37c2f4['shift']());}}}(_0x40a8,0xa75b6));import{Command as _0x12b3b1}from'ckeditor5/src/core.js';import{Dialog as _0x6abbda}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x2920a9}from'./uploadcareediting.js';function _0x40a8(){var _0xc99e7c=['9476456ANEhpa','4788hPoERT','_checkEnabled','insertImage','plugins','18syamOw','5wEvTnH','523824XXRdYx','execute','requires','1162kyudLB','isEnabled','refresh','destroy','11YzbCrh','2243552mQoosp','_controller','_editing','get','commands','editor','22055830nVnkzg','1794289kMIHBM','11912949DXThRx'];_0x40a8=function(){return _0xc99e7c;};return _0x40a8();}import{UploadcareController as _0x3b061a}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x12b3b1{[_0x7bcf3f(0xfb)];[_0x7bcf3f(0xfa)]=null;static get[_0x7bcf3f(0xf3)](){return[_0x6abbda,_0x2920a9];}constructor(_0xfdb817){var _0x2a979c=_0x7bcf3f;super(_0xfdb817),this[_0x2a979c(0xfb)]=_0xfdb817[_0x2a979c(0xee)][_0x2a979c(0xfc)](_0x2920a9);}[_0x7bcf3f(0xf6)](){var _0x23d7c7=_0x7bcf3f;this[_0x23d7c7(0xf5)]=this[_0x23d7c7(0xec)]();}[_0x7bcf3f(0xf2)](_0x2b31c9){var _0x52f080=_0x7bcf3f;this[_0x52f080(0xfa)]&&(this[_0x52f080(0xfa)][_0x52f080(0xf7)](),this[_0x52f080(0xfa)]=null),this[_0x52f080(0xfa)]=new _0x3b061a(this[_0x52f080(0xfe)],this[_0x52f080(0xfb)],_0x2b31c9);}[_0x7bcf3f(0xec)](){var _0x508fe0=_0x7bcf3f;return this[_0x508fe0(0xfe)][_0x508fe0(0xfd)][_0x508fe0(0xfc)](_0x508fe0(0xed))[_0x508fe0(0xf5)];}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x173e46,_0x18367d){var _0x4d2ffc=_0x367b,_0x8bb031=_0x173e46();while(!![]){try{var _0xd490ff=parseInt(_0x4d2ffc(0x1eb))/0x1*(parseInt(_0x4d2ffc(0x1e9))/0x2)+-parseInt(_0x4d2ffc(0x1d9))/0x3*(parseInt(_0x4d2ffc(0x1de))/0x4)+-parseInt(_0x4d2ffc(0x1d3))/0x5*(parseInt(_0x4d2ffc(0x1d5))/0x6)+parseInt(_0x4d2ffc(0x1e6))/0x7+parseInt(_0x4d2ffc(0x1d7))/0x8*(-parseInt(_0x4d2ffc(0x1df))/0x9)+-parseInt(_0x4d2ffc(0x1dd))/0xa*(parseInt(_0x4d2ffc(0x1e4))/0xb)+-parseInt(_0x4d2ffc(0x1d4))/0xc*(-parseInt(_0x4d2ffc(0x1dc))/0xd);if(_0xd490ff===_0x18367d)break;else _0x8bb031['push'](_0x8bb031['shift']());}catch(_0x56e27a){_0x8bb031['push'](_0x8bb031['shift']());}}}(_0x5a6f,0x391cd));function _0x5a6f(){var _0x59cc62=['facebook','dropbox','gdrive','onedrive','11QukWUI','Facebook','711865koeFbu','OneDrive','Dropbox','926yIsvAU','URL','331uUCExi','Local','GDrive','333745vkTKzU','29436jQXPRf','42ohqoCt','gphotos','18152RkXhbY','GPhotos','577275yToqro','url','local','4966LLAZkq','628570cAIitI','8BtfiLl','171yPkeKb'];_0x5a6f=function(){return _0x59cc62;};return _0x5a6f();}export var UploadcareSource;function _0x367b(_0x5c22ad,_0x2932d4){var _0x5a6fba=_0x5a6f();return _0x367b=function(_0x367b08,_0x516af7){_0x367b08=_0x367b08-0x1d1;var _0x4af7cf=_0x5a6fba[_0x367b08];return _0x4af7cf;},_0x367b(_0x5c22ad,_0x2932d4);}!function(_0x4cad4d){var _0x5756f7=_0x367b;_0x4cad4d[_0x5756f7(0x1d1)]=_0x5756f7(0x1db),_0x4cad4d[_0x5756f7(0x1ea)]=_0x5756f7(0x1da),_0x4cad4d[_0x5756f7(0x1e8)]=_0x5756f7(0x1e1),_0x4cad4d[_0x5756f7(0x1d2)]=_0x5756f7(0x1e2),_0x4cad4d[_0x5756f7(0x1e5)]=_0x5756f7(0x1e0),_0x4cad4d[_0x5756f7(0x1d8)]=_0x5756f7(0x1d6),_0x4cad4d[_0x5756f7(0x1e7)]=_0x5756f7(0x1e3);}(UploadcareSource||(UploadcareSource={}));
23
+ (function(_0x1f7a66,_0x42628d){var _0x234da2=_0x2bae,_0x4f6414=_0x1f7a66();while(!![]){try{var _0x11d4d4=-parseInt(_0x234da2(0xd8))/0x1*(parseInt(_0x234da2(0xcc))/0x2)+parseInt(_0x234da2(0xc4))/0x3*(parseInt(_0x234da2(0xd3))/0x4)+parseInt(_0x234da2(0xce))/0x5+-parseInt(_0x234da2(0xc8))/0x6*(-parseInt(_0x234da2(0xcb))/0x7)+parseInt(_0x234da2(0xc6))/0x8*(parseInt(_0x234da2(0xd9))/0x9)+-parseInt(_0x234da2(0xda))/0xa+-parseInt(_0x234da2(0xd2))/0xb;if(_0x11d4d4===_0x42628d)break;else _0x4f6414['push'](_0x4f6414['shift']());}catch(_0x39a679){_0x4f6414['push'](_0x4f6414['shift']());}}}(_0x538f,0x738c8));function _0x2bae(_0x3a77f8,_0x7ea9df){var _0x538fa9=_0x538f();return _0x2bae=function(_0x2baec5,_0x414e46){_0x2baec5=_0x2baec5-0xc3;var _0x42a87c=_0x538fa9[_0x2baec5];return _0x42a87c;},_0x2bae(_0x3a77f8,_0x7ea9df);}export var UploadcareSource;function _0x538f(){var _0x4f24a2=['18cPYNit','GPhotos','32PoIAsn','url','6bMutdq','Facebook','facebook','3178231XXhdmT','127790FsCKEz','GDrive','1999560AERtci','Local','gphotos','URL','4104617DkIJnr','86276LIZhYm','dropbox','Dropbox','onedrive','local','1BNaVvI','48213TOFmxo','944570hXPmvJ','OneDrive','gdrive'];_0x538f=function(){return _0x4f24a2;};return _0x538f();}!function(_0x5f01bb){var _0x1c6f32=_0x2bae;_0x5f01bb[_0x1c6f32(0xcf)]=_0x1c6f32(0xd7),_0x5f01bb[_0x1c6f32(0xd1)]=_0x1c6f32(0xc7),_0x5f01bb[_0x1c6f32(0xd5)]=_0x1c6f32(0xd4),_0x5f01bb[_0x1c6f32(0xcd)]=_0x1c6f32(0xc3),_0x5f01bb[_0x1c6f32(0xc9)]=_0x1c6f32(0xca),_0x5f01bb[_0x1c6f32(0xc5)]=_0x1c6f32(0xd0),_0x5f01bb[_0x1c6f32(0xdb)]=_0x1c6f32(0xd6);}(UploadcareSource||(UploadcareSource={}));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7246a1=_0xc614;function _0xc614(_0xe88b86,_0x442c67){const _0x58b022=_0x58b0();return _0xc614=function(_0xc614c4,_0x5d3966){_0xc614c4=_0xc614c4-0xaf;let _0x5dd73e=_0x58b022[_0xc614c4];return _0x5dd73e;},_0xc614(_0xe88b86,_0x442c67);}(function(_0x3d5082,_0x46db6e){const _0x435193=_0xc614,_0x68cff4=_0x3d5082();while(!![]){try{const _0x185732=-parseInt(_0x435193(0xdf))/0x1+-parseInt(_0x435193(0xb8))/0x2*(parseInt(_0x435193(0xf6))/0x3)+-parseInt(_0x435193(0xb2))/0x4*(parseInt(_0x435193(0xde))/0x5)+-parseInt(_0x435193(0xdb))/0x6+parseInt(_0x435193(0xd2))/0x7+parseInt(_0x435193(0xf0))/0x8+parseInt(_0x435193(0xb1))/0x9;if(_0x185732===_0x46db6e)break;else _0x68cff4['push'](_0x68cff4['shift']());}catch(_0x31bdb1){_0x68cff4['push'](_0x68cff4['shift']());}}}(_0x58b0,0xdf3ed));import{Plugin as _0x25df8b}from'ckeditor5/src/core.js';import{Dialog as _0x1c31b6}from'ckeditor5/src/ui.js';import{createElement as _0x1c201b,global as _0x490fe3,uid as _0xd153b6}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x275ced}from'./uploadcarecommand.js';function _0x58b0(){const _0x376dce=['14605xPSFkh','517003cfbjTV','editing','conversion','body','contentLanguage','href','iconHrefResolver','editor','render','imageInline','fromCharCode','PictureEditing','init','uc-config','once','document','cleanupImage','543800SQsOjn','_configElement','destroy','upcast','_initConfig','querySelector','6249fdWiSJ','for','pluginName','uploadcare.pubkey','add','isOfficialPlugin','\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','data-uc-image-id','extend','execute','afterInit','schema','uploadcareImageId','_initCtx','ctxElement','18359010HTkHWs','1252exmXjQ','true','selection','elementToAttribute','_initSchema','requires','192JUAAQo','replaceImageSource','isPremiumPlugin','uploadcare.uploader','imageBlock','uploadcareImageReplace','view','commands','getAttribute','join','getSelectedElement','isRegistered','downcast','model','closeMax','map','locale','insertImage','attributeToAttribute','get','_initImageProcessingIndicator','_ctxElement','UploadcareEditing','ucContextId','uploadcare','uc-upload-ctx-provider','10509443hiciyM','configElement','removeAttribute','#uc-icon-arrow-down','_initConversion','appendChild','config','uploader-','remove','6381342jiWjFZ','input[uploadcare-file-input]','listenTo'];_0x58b0=function(){return _0x376dce;};return _0x58b0();}import{UploadcareUploadAdapter as _0x3fb762}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x545154}from'./utils/editingutils.js';export class UploadcareEditing extends _0x25df8b{[_0x7246a1(0xf1)]=null;[_0x7246a1(0xcd)]=null;static get[_0x7246a1(0xf8)](){const _0x2bc404=_0x7246a1;return _0x2bc404(0xce);}static get[_0x7246a1(0xb7)](){const _0x386c73=_0x7246a1;return[_0x386c73(0xea),_0x3fb762,_0x1c31b6];}static get[_0x7246a1(0xfb)](){return!0x0;}static get[_0x7246a1(0xba)](){return!0x0;}[_0x7246a1(0xcf)];get[_0x7246a1(0xd3)](){const _0x37166c=_0x7246a1;return this[_0x37166c(0xf1)];}get[_0x7246a1(0xb0)](){const _0x5754fa=_0x7246a1;return this[_0x5754fa(0xcd)];}constructor(_0x2089a9){const _0x36ab3d=_0x7246a1;super(_0x2089a9),this[_0x36ab3d(0xcf)]=_0xd153b6();}[_0x7246a1(0xeb)](){const _0x3dde5d=_0x7246a1,_0x2b7826=this[_0x3dde5d(0xe6)];_0x2b7826[_0x3dde5d(0xbf)][_0x3dde5d(0xfa)](_0x3dde5d(0xd0),new _0x275ced(_0x2b7826));}[_0x7246a1(0x100)](){const _0x5d22e0=_0x7246a1;this[_0x5d22e0(0xb6)](),this[_0x5d22e0(0xd6)](),this[_0x5d22e0(0xf4)](),this[_0x5d22e0(0xaf)](),this[_0x5d22e0(0xcc)](),this[_0x5d22e0(0xdd)](this[_0x5d22e0(0xe6)],_0x5d22e0(0xf2),()=>{const _0x41b459=_0x5d22e0;this[_0x41b459(0xf1)]&&(this[_0x41b459(0xf1)][_0x41b459(0xda)](),this[_0x41b459(0xf1)]=null),this[_0x41b459(0xcd)]&&(this[_0x41b459(0xcd)][_0x41b459(0xda)](),this[_0x41b459(0xcd)]=null);const _0x5a88e6=_0x490fe3[_0x41b459(0xee)][_0x41b459(0xf5)](_0x41b459(0xdc));_0x5a88e6&&_0x5a88e6[_0x41b459(0xda)]();}),async function(_0x1c1aef){const _0x52e55a=_0x3351b9([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]),_0x5ef953=0x535f8c3a,_0x5d6038=0x5358f7a2^_0x5ef953,_0x3a4b4e=window[_0x3351b9([0x44,0x61,0x74,0x65])][_0x3351b9([0x6e,0x6f,0x77])](),_0x550437=_0x1c1aef[_0x3351b9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592695=new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x240af1=>{_0x550437[_0x3351b9([0x6f,0x6e,0x63,0x65])](_0x3351b9([0x72,0x65,0x61,0x64,0x79]),_0x240af1);}),_0x3252d1={[_0x3351b9([0x6b,0x74,0x79])]:_0x3351b9([0x45,0x43]),[_0x3351b9([0x75,0x73,0x65])]:_0x3351b9([0x73,0x69,0x67]),[_0x3351b9([0x63,0x72,0x76])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36]),[_0x3351b9([0x78])]:_0x3351b9([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]),[_0x3351b9([0x79])]:_0x3351b9([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]),[_0x3351b9([0x61,0x6c,0x67])]:_0x3351b9([0x45,0x53,0x32,0x35,0x36])},_0x58c2a5=_0x550437[_0x3351b9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3351b9([0x67,0x65,0x74])](_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4bc78f(){let _0x34254a,_0x2a49b7=null,_0x12f02e=null;try{if(_0x58c2a5==_0x3351b9([0x47,0x50,0x4c]))return _0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34254a=_0x1878be(),!_0x34254a)return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12f02e=_0x1b0988(_0x34254a[_0x3351b9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34254a[_0x3351b9([0x6a,0x74,0x69])])),await _0x3f8cad()?_0x385964()?_0x13bc82()?_0x3351b9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x293373()?(_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3351b9([0x74,0x72,0x69,0x61,0x6c])&&(_0x2a49b7=_0x19ea79(_0x3351b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e58a8()):_0x3351b9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3351b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13bc82(){const _0xc1b905=[_0x3351b9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3351b9([0x74,0x72,0x69,0x61,0x6c])][_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a4b4e/0x3e8:0xe10*_0x5d6038;return _0x34254a[_0x3351b9([0x65,0x78,0x70])]<_0xc1b905;}function _0x385964(){const _0x28f61e=_0x34254a[_0x3351b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x28f61e&&(!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a]))||!!_0x28f61e[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x55,0x50,0x4c,0x43])));}function _0x293373(){const _0x30a5df=_0xc614,_0x5e67f5=_0x34254a[_0x3351b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e67f5||0x0==_0x5e67f5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x119360}=new URL(window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x30a5df(0xe4)]);if(_0x5e67f5[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x119360))return!0x0;const _0x5e9f00=_0x119360[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));return _0x5e67f5[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5236f8=>_0x5236f8[_0x3351b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3351b9([0x2a])))[_0x3351b9([0x6d,0x61,0x70])](_0x4500a7=>_0x4500a7[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])))[_0x3351b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x104ced=>_0x104ced[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x6d,0x61,0x70])](_0x4959fa=>Array(_0x5e9f00[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4959fa[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3351b9([0x66,0x69,0x6c,0x6c])](_0x4959fa[0x0]===_0x3351b9([0x2a])?_0x3351b9([0x2a]):'')[_0x3351b9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4959fa))[_0x3351b9([0x73,0x6f,0x6d,0x65])](_0x2123a3=>_0x5e9f00[_0x3351b9([0x65,0x76,0x65,0x72,0x79])]((_0x4f80fc,_0x43e67e)=>_0x2123a3[_0x43e67e]===_0x4f80fc||_0x2123a3[_0x43e67e]===_0x3351b9([0x2a])));}function _0x3e58a8(){return _0x2a49b7&&_0x12f02e?new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9e29b1,_0x4d8a22)=>{_0x2a49b7[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x9e29b1,_0x4d8a22),_0x12f02e[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x164399=>{_0x164399!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x9e29b1(_0x164399);},_0x4d8a22);}):_0x2a49b7||_0x12f02e||_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b0988(_0x5ef2e3,_0x14b8b4){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33b334=>{if(_0x39c36f())return _0x33b334(_0x3351b9([0x56,0x61,0x6c,0x69,0x64]));_0x1c8589(),_0x550437[_0x3351b9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x6d6dd6=!0x1;const _0x49abae=_0xd153b6();function _0x2177e8(_0x2ad1ab){return!!_0x2ad1ab&&(typeof _0x2ad1ab===_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ad1ab===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ad1ab[_0x3351b9([0x74,0x68,0x65,0x6e])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ad1ab[_0x3351b9([0x63,0x61,0x74,0x63,0x68])]===_0x3351b9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4bdb40(_0x3cf719){_0x2dd1f0(_0x3cf719)[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x504144=>{if(!_0x504144||_0x504144[_0x3351b9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3351b9([0x6f,0x6b]))return _0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x309061(_0x2e9e6f(_0x49abae+_0x14b8b4))!=_0x504144[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3351b9([0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x404ced=>(_0x4f9b55(),_0x404ced),()=>{const _0x473395=_0x52d41f();return null==_0x473395?(_0x4f9b55(),_0x3351b9([0x56,0x61,0x6c,0x69,0x64])):_0x3351b9(_0x3a4b4e-_0x473395>(0x7753083a^_0x5ef953)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x33b334)[_0x3351b9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf63ceb=0x536962ba^_0x5ef953;function _0x4f9b55(){const _0x33c063=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x59c981=_0x428f14(_0x309061(window[_0x3351b9([0x4d,0x61,0x74,0x68])][_0x3351b9([0x63,0x65,0x69,0x6c])](_0x3a4b4e/_0xf63ceb)));window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33c063,_0x59c981);}function _0x52d41f(){const _0x8d5beb=_0x3351b9([0x6c,0x6c,0x63,0x74,0x2d])+_0x309061(_0x2e9e6f(_0x5ef2e3)),_0x35e3d1=window[_0x3351b9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3351b9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8d5beb);return _0x35e3d1?window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x428f14(_0x35e3d1),0x10)*_0xf63ceb:null;}function _0x2dd1f0(_0x37c67b){return new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22708a,_0x354825)=>{_0x37c67b[_0x3351b9([0x74,0x68,0x65,0x6e])](_0x22708a,_0x354825),window[_0x3351b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354825,0x535e58fa^_0x5ef953);});}}_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x601ddf,_0x52138b)=>{if(_0x52138b[0x0]!=_0x5ef2e3)return _0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52138b[0x1]={..._0x52138b[0x1],[_0x3351b9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49abae};},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x68,0x69,0x67,0x68])}),_0x550437[_0x3351b9([0x6f,0x6e])](_0x3351b9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ff2ae=>{_0x2177e8(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x6d6dd6=!0x0,_0x4bdb40(_0x4ff2ae[_0x3351b9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3351b9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3351b9([0x6c,0x6f,0x77])}),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>{_0x6d6dd6||_0x33b334(_0x3351b9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39c36f(){return _0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3351b9([0x61,0x75,0x74,0x6f]);}function _0x1c8589(){_0x550437[_0x3351b9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3351b9([0x76,0x69,0x65,0x77])][_0x3351b9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3351b9([0x61,0x75,0x74,0x6f]);}}function _0x19ea79(_0x52d8c7){const _0x5fbd40=[new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b54f6=>setTimeout(_0x3b54f6,0x5356b2f6^_0x5ef953)),_0x592695[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x562406=>{let _0x28ccc0=0x0;_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x6f,0x6e])](_0x3351b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c67fd,_0x177110)=>{_0x177110[0x0][_0x3351b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28ccc0++,_0x28ccc0==(0x535f8dc2^_0x5ef953)&&(_0x562406(),_0x2c67fd[_0x3351b9([0x6f,0x66,0x66])]());});}))];return window[_0x3351b9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3351b9([0x72,0x61,0x63,0x65])](_0x5fbd40)[_0x3351b9([0x74,0x68,0x65,0x6e])](()=>_0x52d8c7);}async function _0x45770d(){await _0x592695,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3351b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a7734,_0x550437[_0x3351b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3351b9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c28bb(_0xa0e0df){const _0x8987f4=_0x331346();_0x550437[_0x8987f4]=_0x3351b9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0e0df,_0xa0e0df!=_0x3351b9([0x56,0x61,0x6c,0x69,0x64])&&_0x45770d();}function _0x331346(){const _0x1a1a1d=window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3351b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3351b9([0x6e,0x6f,0x77])]())[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3351b9([0x2e]),'');let _0x864acf=_0x3351b9([0x68]);for(let _0x51948a=0x0;_0x51948a<_0x1a1a1d[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51948a+=0x2){let _0x2abdd9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1a1d[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51948a,_0x51948a+0x2));_0x2abdd9>=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2abdd9-=_0x52e55a[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x864acf+=_0x52e55a[_0x2abdd9];}return _0x864acf;}function _0x1878be(){const _0x4259c5=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e]));if(0x3!=_0x4259c5[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b22bd(_0x4259c5[0x1]);function _0x2b22bd(_0x54cb06){const _0x5414f4=_0xd3471e(_0x54cb06);return _0x5414f4&&_0x484618()?_0x5414f4:null;function _0x484618(){const _0x27184f=_0x5414f4[_0x3351b9([0x6a,0x74,0x69])],_0x2c83e9=window[_0x3351b9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e7ae7={..._0x5414f4,[_0x3351b9([0x6a,0x74,0x69])]:_0x27184f[_0x3351b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27184f[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e7ae7[_0x3351b9([0x76,0x63])],_0x2e9e6f(_0x2e7ae7)==_0x2c83e9;}}}async function _0x3f8cad(){let _0x2d1c84=!0x0;try{const _0x2152ea=_0x58c2a5[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])](_0x3351b9([0x2e])),[_0x10c918,_0x13d4fe,_0x2f2f2d]=_0x2152ea;return _0x2e2a05(_0x10c918),await _0x44d5ae(_0x10c918,_0x13d4fe,_0x2f2f2d),_0x2d1c84;}catch{return!0x1;}function _0x2e2a05(_0x439394){const _0x5ed1ee=_0xd3471e(_0x439394);_0x5ed1ee&&_0x5ed1ee[_0x3351b9([0x61,0x6c,0x67])]==_0x3351b9([0x45,0x53,0x32,0x35,0x36])||(_0x2d1c84=!0x1);}async function _0x44d5ae(_0x3d5525,_0xcd2d2d,_0x4375f5){const _0x24c70a=window[_0x3351b9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3351b9([0x66,0x72,0x6f,0x6d])](_0xb4cbe0(_0x4375f5),_0x30b516=>_0x30b516[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x571584=new window[(_0x3351b9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3351b9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d5525+_0x3351b9([0x2e])+_0xcd2d2d),_0x2e369c=window[_0x3351b9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3351b9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2e369c)return;const _0x37548c=await _0x2e369c[_0x3351b9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3351b9([0x6a,0x77,0x6b]),_0x3252d1,{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3351b9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2e369c[_0x3351b9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x45,0x43,0x44,0x53,0x41]),[_0x3351b9([0x68,0x61,0x73,0x68])]:{[_0x3351b9([0x6e,0x61,0x6d,0x65])]:_0x3351b9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37548c,_0x24c70a,_0x571584)||(_0x2d1c84=!0x1);}}function _0xd3471e(_0x1db985){return _0x1db985[_0x3351b9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3351b9([0x65,0x79]))?JSON[_0x3351b9([0x70,0x61,0x72,0x73,0x65])](_0xb4cbe0(_0x1db985)):null;}function _0xb4cbe0(_0x127819){return window[_0x3351b9([0x61,0x74,0x6f,0x62])](_0x127819[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3351b9([0x2b]))[_0x3351b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3351b9([0x2f])));}function _0x2e9e6f(_0x38058d){let _0x2e8d49=0x1505;function _0x5ef8ea(_0x5ca497){for(let _0x4f46d2=0x0;_0x4f46d2<_0x5ca497[_0x3351b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f46d2++){const _0x57bb53=_0x5ca497[_0x3351b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f46d2);_0x2e8d49=(_0x2e8d49<<0x5)+_0x2e8d49+_0x57bb53,_0x2e8d49&=_0x2e8d49;}}function _0x2ee8d4(_0x5a9cb8){Array[_0x3351b9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a9cb8)?_0x5a9cb8[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ee8d4):_0x5a9cb8&&typeof _0x5a9cb8==_0x3351b9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3351b9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a9cb8)[_0x3351b9([0x73,0x6f,0x72,0x74])]()[_0x3351b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a7f8e,_0x29a42e])=>{_0x5ef8ea(_0x1a7f8e),_0x2ee8d4(_0x29a42e);}):_0x5ef8ea(window[_0x3351b9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a9cb8));}return _0x2ee8d4(_0x38058d),_0x2e8d49>>>0x0;}function _0x309061(_0xac8f23){return _0xac8f23[_0x3351b9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3351b9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3351b9([0x30]));}function _0x428f14(_0x5cdf93){return _0x5cdf93[_0x3351b9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3351b9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3351b9([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a7734(){}function _0x3351b9(_0x3e2ac0){const _0x5cd761=_0xc614;return _0x3e2ac0[_0x5cd761(0xc7)](_0x22947d=>String[_0x5cd761(0xe9)](_0x22947d))[_0x5cd761(0xc1)]('');}_0x3c28bb(await _0x4bc78f());}(this);}[_0x7246a1(0xb6)](){const _0xafd830=_0x7246a1,_0x2ea210=this[_0xafd830(0xe6)][_0xafd830(0xc5)][_0xafd830(0x101)];_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xbc))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xbc),{'allowAttributes':[_0xafd830(0x102)]}),_0x2ea210[_0xafd830(0xc3)](_0xafd830(0xe8))&&_0x2ea210[_0xafd830(0xfe)](_0xafd830(0xe8),{'allowAttributes':[_0xafd830(0x102)]});}[_0x7246a1(0xd6)](){const _0x33256e=_0x7246a1,_0x43c8b3=this[_0x33256e(0xe6)];_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xc4))[_0x33256e(0xca)]({'model':_0x33256e(0x102),'view':_0x33256e(0xfd)}),_0x43c8b3[_0x33256e(0xe1)][_0x33256e(0xf7)](_0x33256e(0xf3))[_0x33256e(0xb5)]({'model':{'key':_0x33256e(0x102),'value':_0x40489a=>_0x40489a[_0x33256e(0xc0)](_0x33256e(0xfd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2078f9=_0x43c8b3[_0x33256e(0xbf)][_0x33256e(0xcb)](_0x33256e(0xb9));_0x2078f9&&this[_0x33256e(0xdd)](_0x2078f9,_0x33256e(0xef),(_0x3b50ab,[_0x3caed7,_0xcca929])=>{const _0xfab00f=_0x33256e;_0x3caed7[_0xfab00f(0xd4)](_0xfab00f(0x102),_0xcca929);});}[_0x7246a1(0xf4)](){const _0x55d69f=_0x7246a1,_0x59c158=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xbb))||{},_0x5ed570=this[_0x55d69f(0xe6)][_0x55d69f(0xd8)][_0x55d69f(0xcb)](_0x55d69f(0xf9))||'';this[_0x55d69f(0xf1)]=_0x1c201b(_0x490fe3[_0x55d69f(0xee)],_0x55d69f(0xec),{..._0x59c158,'pubkey':_0x5ed570,'ctx-name':_0x55d69f(0xd9)+this[_0x55d69f(0xcf)],'sourceList':'','imgOnly':_0x55d69f(0xb3),'removeCopyright':_0x55d69f(0xb3),'localeName':this[_0x55d69f(0xe6)][_0x55d69f(0xc8)][_0x55d69f(0xe3)],'externalSourcesEmbedCss':_0x55d69f(0xfc)}),this[_0x55d69f(0xf1)][_0x55d69f(0xe5)]=_0x2309b7=>{const _0x32a380=_0x55d69f;if(_0x32a380(0xc6)==_0x2309b7)return _0x32a380(0xd5);},_0x490fe3[_0x55d69f(0xee)][_0x55d69f(0xe2)][_0x55d69f(0xd7)](this[_0x55d69f(0xf1)]);}[_0x7246a1(0xaf)](){const _0x17df0e=_0x7246a1;this[_0x17df0e(0xcd)]=_0x1c201b(_0x490fe3[_0x17df0e(0xee)],_0x17df0e(0xd1),{'ctx-name':_0x17df0e(0xd9)+this[_0x17df0e(0xcf)]}),_0x490fe3[_0x17df0e(0xee)][_0x17df0e(0xe2)][_0x17df0e(0xd7)](this[_0x17df0e(0xcd)]);}[_0x7246a1(0xcc)](){const _0x33ce41=_0x7246a1,_0x1b8183=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xc9));_0x1b8183&&this[_0x33ce41(0xdd)](_0x1b8183,_0x33ce41(0xff),()=>{const _0x507f11=_0x33ce41,_0x21284d=this[_0x507f11(0xe6)][_0x507f11(0xc5)][_0x507f11(0xee)][_0x507f11(0xb4)][_0x507f11(0xc2)]();_0x21284d&&_0x21284d[_0x507f11(0xc0)](_0x507f11(0x102))&&this[_0x507f11(0xe6)][_0x507f11(0xe0)][_0x507f11(0xbe)][_0x507f11(0xed)](_0x507f11(0xe7),()=>{const _0x39b9d8=_0x507f11;_0x545154(this[_0x39b9d8(0xe6)],_0x21284d);});});const _0x30e649=this[_0x33ce41(0xe6)][_0x33ce41(0xbf)][_0x33ce41(0xcb)](_0x33ce41(0xbd));_0x30e649&&this[_0x33ce41(0xdd)](_0x30e649,_0x33ce41(0xff),()=>{const _0xf82648=_0x33ce41,_0x88f6e4=this[_0xf82648(0xe6)][_0xf82648(0xc5)][_0xf82648(0xee)][_0xf82648(0xb4)][_0xf82648(0xc2)]();_0x88f6e4&&_0x88f6e4[_0xf82648(0xc0)](_0xf82648(0x102))&&this[_0xf82648(0xe6)][_0xf82648(0xe0)][_0xf82648(0xbe)][_0xf82648(0xed)](_0xf82648(0xe7),()=>{const _0x15a716=_0xf82648;_0x545154(this[_0x15a716(0xe6)],_0x88f6e4);});});}}
23
+ function _0x161c(_0x29f5ea,_0x4a22d3){const _0x540347=_0x5403();return _0x161c=function(_0x161c31,_0x54f0ec){_0x161c31=_0x161c31-0x11a;let _0x5249fd=_0x540347[_0x161c31];return _0x5249fd;},_0x161c(_0x29f5ea,_0x4a22d3);}const _0x3b45c3=_0x161c;(function(_0x44b550,_0x25796b){const _0x4d9888=_0x161c,_0x738b2a=_0x44b550();while(!![]){try{const _0x34f97b=-parseInt(_0x4d9888(0x158))/0x1+parseInt(_0x4d9888(0x16f))/0x2*(parseInt(_0x4d9888(0x13f))/0x3)+parseInt(_0x4d9888(0x16e))/0x4+parseInt(_0x4d9888(0x169))/0x5*(-parseInt(_0x4d9888(0x146))/0x6)+parseInt(_0x4d9888(0x15c))/0x7*(-parseInt(_0x4d9888(0x149))/0x8)+parseInt(_0x4d9888(0x15a))/0x9*(parseInt(_0x4d9888(0x162))/0xa)+-parseInt(_0x4d9888(0x159))/0xb*(-parseInt(_0x4d9888(0x157))/0xc);if(_0x34f97b===_0x25796b)break;else _0x738b2a['push'](_0x738b2a['shift']());}catch(_0xc97341){_0x738b2a['push'](_0x738b2a['shift']());}}}(_0x5403,0x69a16));import{Plugin as _0x4b226d}from'ckeditor5/src/core.js';import{Dialog as _0x463cfc}from'ckeditor5/src/ui.js';import{createElement as _0x3351ce,global as _0x512212,uid as _0xa8c091}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1f5880}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x184664}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3eccd1}from'./utils/editingutils.js';function _0x5403(){const _0x44bed9=['remove','\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','for','_configElement','view','upcast','getAttribute','_initCtx','execute','insertImage','conversion','input[uploadcare-file-input]','iconHrefResolver','selection','get','PictureEditing','imageBlock','uploadcare.pubkey','cleanupImage','pluginName','getSelectedElement','3jmDoKv','locale','requires','#uc-icon-arrow-down','isOfficialPlugin','configElement','UploadcareEditing','12BTUZYt','appendChild','ucContextId','8Gsnhuk','model','extend','downcast','join','attributeToAttribute','_initImageProcessingIndicator','editing','replaceImageSource','listenTo','uploadcareImageReplace','imageInline','uc-upload-ctx-provider','uploadcareImageId','24pISmpm','199291iwDrEt','4630461FnAODh','2313tFjZDT','removeAttribute','3813215vRNBIt','once','isPremiumPlugin','contentLanguage','_initConfig','map','4570ZDMFmx','uploadcare','closeMax','afterInit','isRegistered','editor','href','1392295sTXapw','add','data-uc-image-id','schema','elementToAttribute','836544YpxfAt','1130258pjDdTM','destroy','init','_ctxElement','document','ctxElement','querySelector','true','_initSchema','fromCharCode','uploadcare.uploader','_initConversion','commands','config','render','uploader-','body','uc-config'];_0x5403=function(){return _0x44bed9;};return _0x5403();}export class UploadcareEditing extends _0x4b226d{[_0x3b45c3(0x12d)]=null;[_0x3b45c3(0x11b)]=null;static get[_0x3b45c3(0x13d)](){const _0x5e7af0=_0x3b45c3;return _0x5e7af0(0x145);}static get[_0x3b45c3(0x141)](){const _0x33537d=_0x3b45c3;return[_0x33537d(0x139),_0x184664,_0x463cfc];}static get[_0x3b45c3(0x143)](){return!0x0;}static get[_0x3b45c3(0x15e)](){return!0x0;}[_0x3b45c3(0x148)];get[_0x3b45c3(0x144)](){const _0x2daacf=_0x3b45c3;return this[_0x2daacf(0x12d)];}get[_0x3b45c3(0x11d)](){const _0x5a5266=_0x3b45c3;return this[_0x5a5266(0x11b)];}constructor(_0x35f142){const _0xa91e9f=_0x3b45c3;super(_0x35f142),this[_0xa91e9f(0x148)]=_0xa8c091();}[_0x3b45c3(0x11a)](){const _0x403d4f=_0x3b45c3,_0x2d6af3=this[_0x403d4f(0x167)];_0x2d6af3[_0x403d4f(0x124)][_0x403d4f(0x16a)](_0x403d4f(0x163),new _0x1f5880(_0x2d6af3));}[_0x3b45c3(0x165)](){const _0x111f90=_0x3b45c3;this[_0x111f90(0x120)](),this[_0x111f90(0x123)](),this[_0x111f90(0x160)](),this[_0x111f90(0x131)](),this[_0x111f90(0x14f)](),this[_0x111f90(0x152)](this[_0x111f90(0x167)],_0x111f90(0x170),()=>{const _0x1f779c=_0x111f90;this[_0x1f779c(0x12d)]&&(this[_0x1f779c(0x12d)][_0x1f779c(0x12a)](),this[_0x1f779c(0x12d)]=null),this[_0x1f779c(0x11b)]&&(this[_0x1f779c(0x11b)][_0x1f779c(0x12a)](),this[_0x1f779c(0x11b)]=null);const _0x5ee7f8=_0x512212[_0x1f779c(0x11c)][_0x1f779c(0x11e)](_0x1f779c(0x135));_0x5ee7f8&&_0x5ee7f8[_0x1f779c(0x12a)]();}),async function(_0x4ab8a6){const _0x135798=_0x4f7d1d([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]),_0x24579a=0x535f8c3a,_0x47437c=0x5358f34a^_0x24579a,_0x34da84=window[_0x4f7d1d([0x44,0x61,0x74,0x65])][_0x4f7d1d([0x6e,0x6f,0x77])](),_0x403703=_0x4ab8a6[_0x4f7d1d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c6819=new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b7c96=>{_0x403703[_0x4f7d1d([0x6f,0x6e,0x63,0x65])](_0x4f7d1d([0x72,0x65,0x61,0x64,0x79]),_0x3b7c96);}),_0x3bf431={[_0x4f7d1d([0x6b,0x74,0x79])]:_0x4f7d1d([0x45,0x43]),[_0x4f7d1d([0x75,0x73,0x65])]:_0x4f7d1d([0x73,0x69,0x67]),[_0x4f7d1d([0x63,0x72,0x76])]:_0x4f7d1d([0x50,0x2d,0x32,0x35,0x36]),[_0x4f7d1d([0x78])]:_0x4f7d1d([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]),[_0x4f7d1d([0x79])]:_0x4f7d1d([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]),[_0x4f7d1d([0x61,0x6c,0x67])]:_0x4f7d1d([0x45,0x53,0x32,0x35,0x36])},_0x2772df=_0x403703[_0x4f7d1d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f7d1d([0x67,0x65,0x74])](_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4c8e61(){let _0x50e3cf,_0x33cba3=null,_0x4ee8f4=null;try{if(_0x2772df==_0x4f7d1d([0x47,0x50,0x4c]))return _0x4f7d1d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e3cf=_0x45aaf8(),!_0x50e3cf)return _0x4f7d1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e3cf[_0x4f7d1d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ee8f4=_0x454d94(_0x50e3cf[_0x4f7d1d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e3cf[_0x4f7d1d([0x6a,0x74,0x69])])),await _0x5966d3()?_0x48c019()?_0x438931()?_0x4f7d1d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf3e276()?(_0x50e3cf[_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f7d1d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x33cba3=_0x367f2e(_0x4f7d1d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f6d2d()):_0x4f7d1d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f7d1d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f7d1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f7d1d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x438931(){const _0x404a82=[_0x4f7d1d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f7d1d([0x74,0x72,0x69,0x61,0x6c])][_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e3cf[_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34da84/0x3e8:0xe10*_0x47437c;return _0x50e3cf[_0x4f7d1d([0x65,0x78,0x70])]<_0x404a82;}function _0x48c019(){const _0x4c888d=_0x50e3cf[_0x4f7d1d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c888d&&(!!_0x4c888d[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f7d1d([0x2a]))||!!_0x4c888d[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f7d1d([0x55,0x50,0x4c,0x43])));}function _0xf3e276(){const _0x1f0f97=_0x161c,_0x414018=_0x50e3cf[_0x4f7d1d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x414018||0x0==_0x414018[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x537f22}=new URL(window[_0x4f7d1d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1f0f97(0x168)]);if(_0x414018[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537f22))return!0x0;const _0xabc1db=_0x537f22[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e]));return _0x414018[_0x4f7d1d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24e7d2=>_0x24e7d2[_0x4f7d1d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f7d1d([0x2a])))[_0x4f7d1d([0x6d,0x61,0x70])](_0x1fa533=>_0x1fa533[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e])))[_0x4f7d1d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d235=>_0x17d235[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xabc1db[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f7d1d([0x6d,0x61,0x70])](_0x1260c9=>Array(_0xabc1db[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1260c9[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f7d1d([0x66,0x69,0x6c,0x6c])](_0x1260c9[0x0]===_0x4f7d1d([0x2a])?_0x4f7d1d([0x2a]):'')[_0x4f7d1d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1260c9))[_0x4f7d1d([0x73,0x6f,0x6d,0x65])](_0x2cd30a=>_0xabc1db[_0x4f7d1d([0x65,0x76,0x65,0x72,0x79])]((_0x283ff8,_0x5448b6)=>_0x2cd30a[_0x5448b6]===_0x283ff8||_0x2cd30a[_0x5448b6]===_0x4f7d1d([0x2a])));}function _0x3f6d2d(){return _0x33cba3&&_0x4ee8f4?new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbb3be5,_0xfc7b9d)=>{_0x33cba3[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0xbb3be5,_0xfc7b9d),_0x4ee8f4[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x15b8dc=>{_0x15b8dc!=_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64])&&_0xbb3be5(_0x15b8dc);},_0xfc7b9d);}):_0x33cba3||_0x4ee8f4||_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x454d94(_0x3fc29a,_0x2709b6){return new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48f9bd=>{if(_0x36170e())return _0x48f9bd(_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64]));_0x177911(),_0x403703[_0x4f7d1d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f7d1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4430d1=!0x1;const _0x3b5175=_0xa8c091();function _0x35ad5a(_0x277c4d){return!!_0x277c4d&&(typeof _0x277c4d===_0x4f7d1d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x277c4d===_0x4f7d1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x277c4d[_0x4f7d1d([0x74,0x68,0x65,0x6e])]===_0x4f7d1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x277c4d[_0x4f7d1d([0x63,0x61,0x74,0x63,0x68])]===_0x4f7d1d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d66f2(_0x59e105){_0x4ac326(_0x59e105)[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x429276=>{if(!_0x429276||_0x429276[_0x4f7d1d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f7d1d([0x6f,0x6b]))return _0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5071b9(_0x2c1e61(_0x3b5175+_0x2709b6))!=_0x429276[_0x4f7d1d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x502b78=>(_0x550c91(),_0x502b78),()=>{const _0x29db34=_0x143095();return null==_0x29db34?(_0x550c91(),_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64])):_0x4f7d1d(_0x34da84-_0x29db34>(0x7753083a^_0x24579a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x48f9bd)[_0x4f7d1d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48f9bd(_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53ed31=0x536962ba^_0x24579a;function _0x550c91(){const _0x450821=_0x4f7d1d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5071b9(_0x2c1e61(_0x3fc29a)),_0x4ff238=_0x527731(_0x5071b9(window[_0x4f7d1d([0x4d,0x61,0x74,0x68])][_0x4f7d1d([0x63,0x65,0x69,0x6c])](_0x34da84/_0x53ed31)));window[_0x4f7d1d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f7d1d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x450821,_0x4ff238);}function _0x143095(){const _0xdefbc2=_0x4f7d1d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5071b9(_0x2c1e61(_0x3fc29a)),_0x58d0ff=window[_0x4f7d1d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f7d1d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdefbc2);return _0x58d0ff?window[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x527731(_0x58d0ff),0x10)*_0x53ed31:null;}function _0x4ac326(_0xc0bf2b){return new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x387687,_0x2899dd)=>{_0xc0bf2b[_0x4f7d1d([0x74,0x68,0x65,0x6e])](_0x387687,_0x2899dd),window[_0x4f7d1d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2899dd,0x535e58fa^_0x24579a);});}}_0x403703[_0x4f7d1d([0x6f,0x6e])](_0x4f7d1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x191660,_0x410daf)=>{if(_0x410daf[0x0]!=_0x3fc29a)return _0x48f9bd(_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x410daf[0x1]={..._0x410daf[0x1],[_0x4f7d1d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b5175};},{[_0x4f7d1d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f7d1d([0x68,0x69,0x67,0x68])}),_0x403703[_0x4f7d1d([0x6f,0x6e])](_0x4f7d1d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbcdf99=>{_0x35ad5a(_0xbcdf99[_0x4f7d1d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4430d1=!0x0,_0x5d66f2(_0xbcdf99[_0x4f7d1d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f7d1d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f7d1d([0x6c,0x6f,0x77])}),_0x2c6819[_0x4f7d1d([0x74,0x68,0x65,0x6e])](()=>{_0x4430d1||_0x48f9bd(_0x4f7d1d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36170e(){return _0x403703[_0x4f7d1d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f7d1d([0x76,0x69,0x65,0x77])][_0x4f7d1d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f7d1d([0x61,0x75,0x74,0x6f]);}function _0x177911(){_0x403703[_0x4f7d1d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f7d1d([0x76,0x69,0x65,0x77])][_0x4f7d1d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f7d1d([0x61,0x75,0x74,0x6f]);}}function _0x367f2e(_0x39aa6e){const _0x338a88=[new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3712bc=>setTimeout(_0x3712bc,0x5356b2f6^_0x24579a)),_0x2c6819[_0x4f7d1d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c9ff5=>{let _0x2431e3=0x0;_0x403703[_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f7d1d([0x6f,0x6e])](_0x4f7d1d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1adba7,_0x3431c6)=>{_0x3431c6[0x0][_0x4f7d1d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2431e3++,_0x2431e3==(0x535f89d2^_0x24579a)&&(_0x1c9ff5(),_0x1adba7[_0x4f7d1d([0x6f,0x66,0x66])]());});}))];return window[_0x4f7d1d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f7d1d([0x72,0x61,0x63,0x65])](_0x338a88)[_0x4f7d1d([0x74,0x68,0x65,0x6e])](()=>_0x39aa6e);}async function _0x52c741(){await _0x2c6819,_0x403703[_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f7d1d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x472cf4,_0x403703[_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f7d1d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x472cf4,_0x403703[_0x4f7d1d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f7d1d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x102503(_0x4b341e){const _0x2b17ff=_0x59bec3();_0x403703[_0x2b17ff]=_0x4f7d1d([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b341e,_0x4b341e!=_0x4f7d1d([0x56,0x61,0x6c,0x69,0x64])&&_0x52c741();}function _0x59bec3(){const _0x5a4ea0=window[_0x4f7d1d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f7d1d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f7d1d([0x6e,0x6f,0x77])]())[_0x4f7d1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f7d1d([0x2e]),'');let _0x77fa89=_0x4f7d1d([0x68]);for(let _0x1ef0fb=0x0;_0x1ef0fb<_0x5a4ea0[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ef0fb+=0x2){let _0x15f1f4=window[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a4ea0[_0x4f7d1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ef0fb,_0x1ef0fb+0x2));_0x15f1f4>=_0x135798[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x15f1f4-=_0x135798[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x77fa89+=_0x135798[_0x15f1f4];}return _0x77fa89;}function _0x45aaf8(){const _0x686cec=_0x2772df[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e]));if(0x3!=_0x686cec[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4c36da(_0x686cec[0x1]);function _0x4c36da(_0x136341){const _0x57e87b=_0x55ffc3(_0x136341);return _0x57e87b&&_0xbcf5bd()?_0x57e87b:null;function _0xbcf5bd(){const _0x1d6eb5=_0x57e87b[_0x4f7d1d([0x6a,0x74,0x69])],_0x30748e=window[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d6eb5[_0x4f7d1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d6eb5[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a7fcd={..._0x57e87b,[_0x4f7d1d([0x6a,0x74,0x69])]:_0x1d6eb5[_0x4f7d1d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d6eb5[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a7fcd[_0x4f7d1d([0x76,0x63])],_0x2c1e61(_0x2a7fcd)==_0x30748e;}}}async function _0x5966d3(){let _0x333e12=!0x0;try{const _0x3ec61b=_0x2772df[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])](_0x4f7d1d([0x2e])),[_0x567e85,_0x86786b,_0x6a8589]=_0x3ec61b;return _0x57fc24(_0x567e85),await _0x7f56c2(_0x567e85,_0x86786b,_0x6a8589),_0x333e12;}catch{return!0x1;}function _0x57fc24(_0xb366e7){const _0x333fbf=_0x55ffc3(_0xb366e7);_0x333fbf&&_0x333fbf[_0x4f7d1d([0x61,0x6c,0x67])]==_0x4f7d1d([0x45,0x53,0x32,0x35,0x36])||(_0x333e12=!0x1);}async function _0x7f56c2(_0x4e5ac1,_0x5d28ef,_0x3496c9){const _0x1f8e75=window[_0x4f7d1d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f7d1d([0x66,0x72,0x6f,0x6d])](_0x45b52c(_0x3496c9),_0x5109c5=>_0x5109c5[_0x4f7d1d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa20026=new window[(_0x4f7d1d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f7d1d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e5ac1+_0x4f7d1d([0x2e])+_0x5d28ef),_0xaafe1c=window[_0x4f7d1d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f7d1d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xaafe1c)return;const _0x41cc4b=await _0xaafe1c[_0x4f7d1d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f7d1d([0x6a,0x77,0x6b]),_0x3bf431,{[_0x4f7d1d([0x6e,0x61,0x6d,0x65])]:_0x4f7d1d([0x45,0x43,0x44,0x53,0x41]),[_0x4f7d1d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f7d1d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f7d1d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xaafe1c[_0x4f7d1d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f7d1d([0x6e,0x61,0x6d,0x65])]:_0x4f7d1d([0x45,0x43,0x44,0x53,0x41]),[_0x4f7d1d([0x68,0x61,0x73,0x68])]:{[_0x4f7d1d([0x6e,0x61,0x6d,0x65])]:_0x4f7d1d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41cc4b,_0x1f8e75,_0xa20026)||(_0x333e12=!0x1);}}function _0x55ffc3(_0xe5d7be){return _0xe5d7be[_0x4f7d1d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f7d1d([0x65,0x79]))?JSON[_0x4f7d1d([0x70,0x61,0x72,0x73,0x65])](_0x45b52c(_0xe5d7be)):null;}function _0x45b52c(_0x34de68){return window[_0x4f7d1d([0x61,0x74,0x6f,0x62])](_0x34de68[_0x4f7d1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f7d1d([0x2b]))[_0x4f7d1d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f7d1d([0x2f])));}function _0x2c1e61(_0xff17e2){let _0x289822=0x1505;function _0x36f10d(_0x128e83){for(let _0x5a0cad=0x0;_0x5a0cad<_0x128e83[_0x4f7d1d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0cad++){const _0x573bf2=_0x128e83[_0x4f7d1d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a0cad);_0x289822=(_0x289822<<0x5)+_0x289822+_0x573bf2,_0x289822&=_0x289822;}}function _0x11f2f8(_0x5d2f95){Array[_0x4f7d1d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5d2f95)?_0x5d2f95[_0x4f7d1d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11f2f8):_0x5d2f95&&typeof _0x5d2f95==_0x4f7d1d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f7d1d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5d2f95)[_0x4f7d1d([0x73,0x6f,0x72,0x74])]()[_0x4f7d1d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2354bc,_0x25e239])=>{_0x36f10d(_0x2354bc),_0x11f2f8(_0x25e239);}):_0x36f10d(window[_0x4f7d1d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5d2f95));}return _0x11f2f8(_0xff17e2),_0x289822>>>0x0;}function _0x5071b9(_0x1acfe5){return _0x1acfe5[_0x4f7d1d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f7d1d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f7d1d([0x30]));}function _0x527731(_0x51ddaf){return _0x51ddaf[_0x4f7d1d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f7d1d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f7d1d([0x6a,0x6f,0x69,0x6e])]('');}function _0x472cf4(){}function _0x4f7d1d(_0x1e646a){const _0x3855f7=_0x161c;return _0x1e646a[_0x3855f7(0x161)](_0x1a1e92=>String[_0x3855f7(0x121)](_0x1a1e92))[_0x3855f7(0x14d)]('');}_0x102503(await _0x4c8e61());}(this);}[_0x3b45c3(0x120)](){const _0x27281f=_0x3b45c3,_0x52846b=this[_0x27281f(0x167)][_0x27281f(0x14a)][_0x27281f(0x16c)];_0x52846b[_0x27281f(0x166)](_0x27281f(0x13a))&&_0x52846b[_0x27281f(0x14b)](_0x27281f(0x13a),{'allowAttributes':[_0x27281f(0x156)]}),_0x52846b[_0x27281f(0x166)](_0x27281f(0x154))&&_0x52846b[_0x27281f(0x14b)](_0x27281f(0x154),{'allowAttributes':[_0x27281f(0x156)]});}[_0x3b45c3(0x123)](){const _0x1d3c3d=_0x3b45c3,_0x57c96c=this[_0x1d3c3d(0x167)];_0x57c96c[_0x1d3c3d(0x134)][_0x1d3c3d(0x12c)](_0x1d3c3d(0x14c))[_0x1d3c3d(0x14e)]({'model':_0x1d3c3d(0x156),'view':_0x1d3c3d(0x16b)}),_0x57c96c[_0x1d3c3d(0x134)][_0x1d3c3d(0x12c)](_0x1d3c3d(0x12f))[_0x1d3c3d(0x16d)]({'model':{'key':_0x1d3c3d(0x156),'value':_0x427772=>_0x427772[_0x1d3c3d(0x130)](_0x1d3c3d(0x16b))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4f5125=_0x57c96c[_0x1d3c3d(0x124)][_0x1d3c3d(0x138)](_0x1d3c3d(0x151));_0x4f5125&&this[_0x1d3c3d(0x152)](_0x4f5125,_0x1d3c3d(0x13c),(_0x440b96,[_0x457390,_0x5eaeef])=>{const _0x5eb602=_0x1d3c3d;_0x457390[_0x5eb602(0x15b)](_0x5eb602(0x156),_0x5eaeef);});}[_0x3b45c3(0x160)](){const _0x58f8b0=_0x3b45c3,_0x17ce50=this[_0x58f8b0(0x167)][_0x58f8b0(0x125)][_0x58f8b0(0x138)](_0x58f8b0(0x122))||{},_0x1db026=this[_0x58f8b0(0x167)][_0x58f8b0(0x125)][_0x58f8b0(0x138)](_0x58f8b0(0x13b))||'';this[_0x58f8b0(0x12d)]=_0x3351ce(_0x512212[_0x58f8b0(0x11c)],_0x58f8b0(0x129),{..._0x17ce50,'pubkey':_0x1db026,'ctx-name':_0x58f8b0(0x127)+this[_0x58f8b0(0x148)],'sourceList':'','imgOnly':_0x58f8b0(0x11f),'removeCopyright':_0x58f8b0(0x11f),'localeName':this[_0x58f8b0(0x167)][_0x58f8b0(0x140)][_0x58f8b0(0x15f)],'externalSourcesEmbedCss':_0x58f8b0(0x12b)}),this[_0x58f8b0(0x12d)][_0x58f8b0(0x136)]=_0x35296d=>{const _0x1d34fc=_0x58f8b0;if(_0x1d34fc(0x164)==_0x35296d)return _0x1d34fc(0x142);},_0x512212[_0x58f8b0(0x11c)][_0x58f8b0(0x128)][_0x58f8b0(0x147)](this[_0x58f8b0(0x12d)]);}[_0x3b45c3(0x131)](){const _0x5da1a2=_0x3b45c3;this[_0x5da1a2(0x11b)]=_0x3351ce(_0x512212[_0x5da1a2(0x11c)],_0x5da1a2(0x155),{'ctx-name':_0x5da1a2(0x127)+this[_0x5da1a2(0x148)]}),_0x512212[_0x5da1a2(0x11c)][_0x5da1a2(0x128)][_0x5da1a2(0x147)](this[_0x5da1a2(0x11b)]);}[_0x3b45c3(0x14f)](){const _0x56fbd2=_0x3b45c3,_0x569627=this[_0x56fbd2(0x167)][_0x56fbd2(0x124)][_0x56fbd2(0x138)](_0x56fbd2(0x133));_0x569627&&this[_0x56fbd2(0x152)](_0x569627,_0x56fbd2(0x132),()=>{const _0x1eabef=_0x56fbd2,_0x540612=this[_0x1eabef(0x167)][_0x1eabef(0x14a)][_0x1eabef(0x11c)][_0x1eabef(0x137)][_0x1eabef(0x13e)]();_0x540612&&_0x540612[_0x1eabef(0x130)](_0x1eabef(0x156))&&this[_0x1eabef(0x167)][_0x1eabef(0x150)][_0x1eabef(0x12e)][_0x1eabef(0x15d)](_0x1eabef(0x126),()=>{const _0x54ac65=_0x1eabef;_0x3eccd1(this[_0x54ac65(0x167)],_0x540612);});});const _0xcb6da9=this[_0x56fbd2(0x167)][_0x56fbd2(0x124)][_0x56fbd2(0x138)](_0x56fbd2(0x153));_0xcb6da9&&this[_0x56fbd2(0x152)](_0xcb6da9,_0x56fbd2(0x132),()=>{const _0x17ab40=_0x56fbd2,_0xdd68fb=this[_0x17ab40(0x167)][_0x17ab40(0x14a)][_0x17ab40(0x11c)][_0x17ab40(0x137)][_0x17ab40(0x13e)]();_0xdd68fb&&_0xdd68fb[_0x17ab40(0x130)](_0x17ab40(0x156))&&this[_0x17ab40(0x167)][_0x17ab40(0x150)][_0x17ab40(0x12e)][_0x17ab40(0x15d)](_0x17ab40(0x126),()=>{const _0x3ddd2c=_0x17ab40;_0x3eccd1(this[_0x3ddd2c(0x167)],_0xdd68fb);});});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  import { type Dialog } from 'ckeditor5/src/ui.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3c3a33,ObservableMixin as _0x484bca}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x52bd2a}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xf678a0}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0xbb7ad3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x43fed5}from'../../utils/uploadutils.js';import{getImageUrls as _0x336392,getImageDimension as _0x346887}from'../../utils/editingutils.js';import{isAncestor as _0x10188f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x484bca(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x161b21,_0x116e07,_0x251537){super(),this['_editor']=_0x161b21,this['_dialog']=_0x116e07,this['_imageElement']=_0x251537,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 _0x3f7a1a=this['_imageElement'],_0x89d2d0=_0x3f7a1a['getAttribute']('uploadcareImageId'),_0x5967c8=_0x3f7a1a['getAttribute']('src');if(_0x89d2d0)await this['_loadImageInfo'](_0x89d2d0,_0x5967c8);else{if(this['_imageCache']['has'](_0x5967c8)){const _0x4a760c=this['_imageCache']['get'](_0x5967c8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4a760c['url'],this['imageDimension']=_0x4a760c['dimension'],this['imageId']=_0x4a760c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x51041e}=this['_editor'],t=_0x51041e['t'],_0x4ff086=new _0xbb7ad3(_0x51041e,this['imageStatus'],this['_attributes']);_0x4ff086['bind']('status')['to'](this,'imageStatus'),_0x4ff086['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4ff086['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4ff086['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4ff086,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xf678a0,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4ff086,'position':_0x52bd2a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4ff086['focus']();},'onHide':()=>{_0x4ff086['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x328c50=>!_0x10188f(_0x328c50,_0x4ff086['element'])}});}['_loadImageInfo'](_0xc4c396,_0xd9f479){return _0x43fed5['getInfo'](_0xc4c396,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x44e642=>{const {width:_0x3fbd4f,height:_0x5bdb6d}=_0x44e642['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd9f479,this['imageDimension']={'width':_0x3fbd4f,'height':_0x5bdb6d},this['imageId']=_0xc4c396;})['catch'](_0x2b1814=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b1814['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x358b47,_0x2ec367){return this['_getImageAsFile'](_0x358b47)['then'](_0x17f2ef=>_0x43fed5['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':_0x2ec367['signal'],'file':_0x17f2ef,'onProgress':_0x50d810=>{_0x50d810&&_0x50d810['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x50d810['value']));}}))['then'](_0x285637=>{const {width:_0x1364ac,height:_0x1a0514}=_0x285637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x285637['cdnUrl'],this['imageDimension']={'width':_0x1364ac,'height':_0x1a0514},this['imageId']=_0x285637['uuid'],this['imageUploadProgress']=null;const _0x55bac8=_0x358b47['getAttribute']('src');this['_imageCache']['set'](_0x55bac8,{'id':_0x285637['uuid'],'url':_0x285637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4ef364=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4ef364['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x16c4e1,_0x176453){_0x16c4e1['on']('apply',(_0x3c0338,_0x449185)=>{this['_replaceImage'](_0x176453,_0x449185['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x16c4e1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x16c4e1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x53d004,_0x2649dc,_0x57ce87){const _0x137f10=this['_editor'],{width:_0x3f4360,height:_0x115fd2}=_0x346887(_0x2649dc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xf02222,imageSources:_0x5021ff}=_0x336392(_0x2649dc,_0x3f4360);_0x137f10['model']['change'](_0x32091f=>{if('$graveyard'===_0x53d004['root']['rootName']){_0x137f10['execute']('insertImage',{'imageType':_0x53d004['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x53d004['getAttributes']()),'uploadcareImageId':_0x57ce87,'src':_0xf02222,'sources':_0x5021ff,'width':_0x3f4360,'height':_0x115fd2}});const _0x5751e5=_0x53d004['getChildren']();_0x53d004=_0x137f10['model']['document']['selection']['getSelectedElement']();for(const _0x2483d9 of _0x5751e5)_0x32091f['append'](_0x32091f['cloneElement'](_0x2483d9),_0x53d004);}else _0x32091f['setSelection'](_0x53d004,'on'),_0x137f10['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x53d004['getAttributes']()),'uploadcareImageId':_0x57ce87,'src':_0xf02222,'sources':_0x5021ff,'width':_0x3f4360,'height':_0x115fd2},_0x53d004);_0x32091f['setSelection'](_0x53d004,'on');});}async['_getImageAsFile'](_0x3040a2){const _0x19a3b7=_0x3c3a33['window'],_0xf1d3d5=_0x3c3a33['document']['location']['href'],_0x44947e=new _0x19a3b7['URL'](_0x3040a2['getAttribute']('src'),_0xf1d3d5);if('data:'===_0x44947e['protocol']){const _0x50c236=_0x44947e['href']['split'](','),_0x4039b5=_0x50c236[0x0]['match'](/:(.*?);/)[0x1],_0xc44889=_0x4039b5['split']('/')[0x1],_0x170db9=_0x19a3b7['atob'](_0x50c236[_0x50c236['length']-0x1]);let _0x515a4e=_0x170db9['length'];const _0x2ed7e8=new _0x19a3b7['Uint8Array'](_0x515a4e);for(;_0x515a4e--;)_0x2ed7e8[_0x515a4e]=_0x170db9['charCodeAt'](_0x515a4e);return new _0x19a3b7['File']([_0x2ed7e8],'image.'+_0xc44889,{'type':_0x4039b5});}const _0x48afaa=_0x44947e['href']['split']('/'),_0x670f60=_0x48afaa[_0x48afaa['length']-0x1],_0x3a2a78=_0x670f60['split']('.')[0x1];return _0x19a3b7['fetch'](_0x44947e['href'])['then'](_0x12c36f=>_0x12c36f['clone']()['blob']())['then'](_0x136df1=>new _0x19a3b7['File']([_0x136df1],_0x670f60,{'type':'image/'+_0x3a2a78}));}}
23
+ import{global as _0x238838,ObservableMixin as _0x3177c0}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x41a2d9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ea8ff}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4de4a3}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x16c283}from'../../utils/uploadutils.js';import{getImageUrls as _0x42175d,getImageDimension as _0x45211a}from'../../utils/editingutils.js';import{isAncestor as _0xcb277b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3177c0(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4730de,_0x26b788,_0x45f5d9){super(),this['_editor']=_0x4730de,this['_dialog']=_0x26b788,this['_imageElement']=_0x45f5d9,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 _0x20371c=this['_imageElement'],_0x151a18=_0x20371c['getAttribute']('uploadcareImageId'),_0x4dc9c5=_0x20371c['getAttribute']('src');if(_0x151a18)await this['_loadImageInfo'](_0x151a18,_0x4dc9c5);else{if(this['_imageCache']['has'](_0x4dc9c5)){const _0x3aed6a=this['_imageCache']['get'](_0x4dc9c5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3aed6a['url'],this['imageDimension']=_0x3aed6a['dimension'],this['imageId']=_0x3aed6a['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x44f0ea}=this['_editor'],t=_0x44f0ea['t'],_0x3f77f6=new _0x4de4a3(_0x44f0ea,this['imageStatus'],this['_attributes']);_0x3f77f6['bind']('status')['to'](this,'imageStatus'),_0x3f77f6['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3f77f6['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3f77f6['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3f77f6,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ea8ff,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3f77f6,'position':_0x41a2d9['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3f77f6['focus']();},'onHide':()=>{_0x3f77f6['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4fceb8=>!_0xcb277b(_0x4fceb8,_0x3f77f6['element'])}});}['_loadImageInfo'](_0x528e66,_0x17e234){return _0x16c283['getInfo'](_0x528e66,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5b136c=>{const {width:_0x1fc548,height:_0x319122}=_0x5b136c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x17e234,this['imageDimension']={'width':_0x1fc548,'height':_0x319122},this['imageId']=_0x528e66;})['catch'](_0x5e9bb8=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e9bb8['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3168f6,_0x30e114){return this['_getImageAsFile'](_0x3168f6)['then'](_0x41fcd1=>_0x16c283['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':_0x30e114['signal'],'file':_0x41fcd1,'onProgress':_0xe71177=>{_0xe71177&&_0xe71177['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xe71177['value']));}}))['then'](_0x4fe743=>{const {width:_0x28a324,height:_0x597658}=_0x4fe743['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4fe743['cdnUrl'],this['imageDimension']={'width':_0x28a324,'height':_0x597658},this['imageId']=_0x4fe743['uuid'],this['imageUploadProgress']=null;const _0x24b8aa=_0x3168f6['getAttribute']('src');this['_imageCache']['set'](_0x24b8aa,{'id':_0x4fe743['uuid'],'url':_0x4fe743['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2586cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2586cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5e2378,_0x3d0e20){_0x5e2378['on']('apply',(_0x11912f,_0x354dff)=>{this['_replaceImage'](_0x3d0e20,_0x354dff['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5e2378['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5e2378['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3dda9c,_0x5d7d55,_0x2d9a83){const _0x407b45=this['_editor'],{width:_0x45d4c2,height:_0x2cbcad}=_0x45211a(_0x5d7d55,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xf98cba,imageSources:_0x393b6f}=_0x42175d(_0x5d7d55,_0x45d4c2);_0x407b45['model']['change'](_0x1c8fa3=>{if('$graveyard'===_0x3dda9c['root']['rootName']){_0x407b45['execute']('insertImage',{'imageType':_0x3dda9c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3dda9c['getAttributes']()),'uploadcareImageId':_0x2d9a83,'src':_0xf98cba,'sources':_0x393b6f,'width':_0x45d4c2,'height':_0x2cbcad}});const _0x2c48e5=_0x3dda9c['getChildren']();_0x3dda9c=_0x407b45['model']['document']['selection']['getSelectedElement']();for(const _0x509c6b of _0x2c48e5)_0x1c8fa3['append'](_0x1c8fa3['cloneElement'](_0x509c6b),_0x3dda9c);}else _0x1c8fa3['setSelection'](_0x3dda9c,'on'),_0x407b45['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3dda9c['getAttributes']()),'uploadcareImageId':_0x2d9a83,'src':_0xf98cba,'sources':_0x393b6f,'width':_0x45d4c2,'height':_0x2cbcad},_0x3dda9c);_0x1c8fa3['setSelection'](_0x3dda9c,'on');});}async['_getImageAsFile'](_0x3be5a4){const _0x4f24ff=_0x238838['window'],_0x5036c9=_0x238838['document']['location']['href'],_0x5dde18=new _0x4f24ff['URL'](_0x3be5a4['getAttribute']('src'),_0x5036c9);if('data:'===_0x5dde18['protocol']){const _0x3e462c=_0x5dde18['href']['split'](','),_0x4909b4=_0x3e462c[0x0]['match'](/:(.*?);/)[0x1],_0x1e1ecd=_0x4909b4['split']('/')[0x1],_0x3c1590=_0x4f24ff['atob'](_0x3e462c[_0x3e462c['length']-0x1]);let _0x2f819d=_0x3c1590['length'];const _0xc17822=new _0x4f24ff['Uint8Array'](_0x2f819d);for(;_0x2f819d--;)_0xc17822[_0x2f819d]=_0x3c1590['charCodeAt'](_0x2f819d);return new _0x4f24ff['File']([_0xc17822],'image.'+_0x1e1ecd,{'type':_0x4909b4});}const _0x3dd77b=_0x5dde18['href']['split']('/'),_0x46c780=_0x3dd77b[_0x3dd77b['length']-0x1],_0x55a353=_0x46c780['split']('.')[0x1];return _0x4f24ff['fetch'](_0x5dde18['href'])['then'](_0x25407f=>_0x25407f['clone']()['blob']())['then'](_0x3eecb0=>new _0x4f24ff['File']([_0x3eecb0],_0x46c780,{'type':'image/'+_0x55a353}));}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a3ade,_0x4525da){const _0x486c2d=_0xf674,_0x1d53bd=_0x2a3ade();while(!![]){try{const _0x1f2a63=parseInt(_0x486c2d(0x1ce))/0x1*(parseInt(_0x486c2d(0x1d0))/0x2)+-parseInt(_0x486c2d(0x1d8))/0x3*(parseInt(_0x486c2d(0x1d7))/0x4)+parseInt(_0x486c2d(0x1cf))/0x5+-parseInt(_0x486c2d(0x1d6))/0x6*(-parseInt(_0x486c2d(0x1db))/0x7)+parseInt(_0x486c2d(0x1d2))/0x8*(-parseInt(_0x486c2d(0x1d5))/0x9)+parseInt(_0x486c2d(0x1dc))/0xa+-parseInt(_0x486c2d(0x1cb))/0xb*(parseInt(_0x486c2d(0x1cd))/0xc);if(_0x1f2a63===_0x4525da)break;else _0x1d53bd['push'](_0x1d53bd['shift']());}catch(_0x125189){_0x1d53bd['push'](_0x1d53bd['shift']());}}}(_0x15bd,0x460f9));function _0xf674(_0x23767f,_0x27315e){const _0x15bd47=_0x15bd();return _0xf674=function(_0xf67440,_0x4b9f47){_0xf67440=_0xf67440-0x1ca;let _0x50456f=_0x15bd47[_0xf67440];return _0x50456f;},_0xf674(_0x23767f,_0x27315e);}import{View as _0x414ef9}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x414ef9{constructor(_0x71a9f1,_0x56266a){const _0x346489=_0xf674;super(_0x71a9f1);const _0x4308b1=this[_0x346489(0x1d1)];this[_0x346489(0x1dd)](_0x346489(0x1ca),''),this[_0x346489(0x1d9)]({'tag':_0x346489(0x1d3),'attributes':{..._0x56266a,'class':[_0x346489(0x1cc),_0x346489(0x1da)],'ctx-name':_0x346489(0x1d4),'cdn-url':_0x4308b1['to'](_0x346489(0x1ca))}});}}function _0x15bd(){const _0x1b6eb7=['11862GBELxr','bindTemplate','40456RINfaQ','uc-cloud-image-editor','image-edit','333TpVyxk','384186wAhGPb','135776sChBGB','39Pfmhuq','setTemplate','ck-uploadcare-theme','56CVRYWN','1581540VDTcGX','set','imageSrc','720962cDOGyJ','uc-light','48TkeBGR','67jwvDmf','548695jeIIEd'];_0x15bd=function(){return _0x1b6eb7;};return _0x15bd();}
23
+ (function(_0x5ac131,_0x5db9c6){const _0x666b50=_0x2a17,_0x12d0c5=_0x5ac131();while(!![]){try{const _0x299adb=-parseInt(_0x666b50(0x173))/0x1+-parseInt(_0x666b50(0x165))/0x2+parseInt(_0x666b50(0x16f))/0x3*(-parseInt(_0x666b50(0x16c))/0x4)+parseInt(_0x666b50(0x16a))/0x5+-parseInt(_0x666b50(0x164))/0x6*(-parseInt(_0x666b50(0x166))/0x7)+-parseInt(_0x666b50(0x170))/0x8+parseInt(_0x666b50(0x16e))/0x9*(parseInt(_0x666b50(0x175))/0xa);if(_0x299adb===_0x5db9c6)break;else _0x12d0c5['push'](_0x12d0c5['shift']());}catch(_0x57b507){_0x12d0c5['push'](_0x12d0c5['shift']());}}}(_0x58e2,0x8efeb));function _0x58e2(){const _0x5c91ab=['ck-uploadcare-theme','imageSrc','image-edit','4903075OhNGMl','uc-cloud-image-editor','268ydBXLk','setTemplate','9PokLJO','50709pCpyPD','6586664EDJSxd','uc-light','bindTemplate','717574nsckLC','set','14056110tfOCmd','120TtCeeA','261062NutMdA','351197AnGEOu'];_0x58e2=function(){return _0x5c91ab;};return _0x58e2();}import{View as _0x41960b}from'ckeditor5/src/ui.js';function _0x2a17(_0x4214ac,_0x39eaaa){const _0x58e264=_0x58e2();return _0x2a17=function(_0x2a1739,_0x339a48){_0x2a1739=_0x2a1739-0x164;let _0x124168=_0x58e264[_0x2a1739];return _0x124168;},_0x2a17(_0x4214ac,_0x39eaaa);}export class UploadcareImageEditFormEditingView extends _0x41960b{constructor(_0x4bfb74,_0x1ca265){const _0x2092ff=_0x2a17;super(_0x4bfb74);const _0x15efa4=this[_0x2092ff(0x172)];this[_0x2092ff(0x174)](_0x2092ff(0x168),''),this[_0x2092ff(0x16d)]({'tag':_0x2092ff(0x16b),'attributes':{..._0x1ca265,'class':[_0x2092ff(0x171),_0x2092ff(0x167)],'ctx-name':_0x2092ff(0x169),'cdn-url':_0x15efa4['to'](_0x2092ff(0x168))}});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  import { View } from 'ckeditor5/src/ui.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x1cb5d6}from'ckeditor5/src/icons.js';import{ButtonView as _0x27a99e,IconView as _0x3dbf3e,View as _0x3ecba1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3ecba1{constructor(_0x5a7735){super(_0x5a7735);const t=_0x5a7735['t'];this['set']('errorType',null);const _0xbf551e=new _0x27a99e(_0x5a7735);_0xbf551e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xbf551e['withText']=!0x0,_0xbf551e['class']='ck-button-action',_0xbf551e['on']('execute',()=>{this['fire']('retry');}),_0xbf551e['bind']('isVisible')['to'](this,'errorType',_0x363159=>'NotFound'!==_0x363159);const _0x4fd324=new _0x3dbf3e();_0x4fd324['content']=_0x1cb5d6,_0x4fd324['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x240709=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':[_0x4fd324,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x240709['to']('errorType',_0x42b90d=>t('NotFound'!==_0x42b90d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xbf551e]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{IconError as _0x7c6f8a}from'ckeditor5/src/icons.js';import{ButtonView as _0x2ace90,IconView as _0x20631f,View as _0x52b447}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x52b447{constructor(_0x3eee16){super(_0x3eee16);const t=_0x3eee16['t'];this['set']('errorType',null);const _0x47489e=new _0x2ace90(_0x3eee16);_0x47489e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x47489e['withText']=!0x0,_0x47489e['class']='ck-button-action',_0x47489e['on']('execute',()=>{this['fire']('retry');}),_0x47489e['bind']('isVisible')['to'](this,'errorType',_0x3ac76c=>'NotFound'!==_0x3ac76c);const _0x3e24b1=new _0x20631f();_0x3e24b1['content']=_0x7c6f8a,_0x3e24b1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1f589f=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':[_0x3e24b1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1f589f['to']('errorType',_0x3580db=>t('NotFound'!==_0x3580db?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x47489e]},{'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,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x2aef7a,View as _0x1d5fbe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x1d5fbe{constructor(_0x1ad67d){super(_0x1ad67d);const t=_0x1ad67d['t'],_0x2f2bf3=this['bindTemplate'],_0x5de93c=new _0x2aef7a();_0x5de93c['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':[_0x5de93c,{'text':_0x2f2bf3['to']('imageUploadProgress',_0x520c00=>t('Loading\x20image...')+'\x20('+(_0x520c00||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
23
+ import{SpinnerView as _0x583f69,View as _0x2b4b31}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2b4b31{constructor(_0x314f64){super(_0x314f64);const t=_0x314f64['t'],_0x4a344f=this['bindTemplate'],_0x4e09aa=new _0x583f69();_0x4e09aa['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':[_0x4e09aa,{'text':_0x4a344f['to']('imageUploadProgress',_0x4b9eb0=>t('Loading\x20image...')+'\x20('+(_0x4b9eb0||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,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
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
5
  /**