@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250428.0 → 0.0.0-nightly-20250429.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 (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59b6a2=_0x1073;(function(_0x268580,_0x57efcf){const _0x5a8aa3=_0x1073,_0xd0cd=_0x268580();while(!![]){try{const _0x20171f=-parseInt(_0x5a8aa3(0x1b6))/0x1*(parseInt(_0x5a8aa3(0x1c3))/0x2)+-parseInt(_0x5a8aa3(0x1c6))/0x3+parseInt(_0x5a8aa3(0x1ec))/0x4*(parseInt(_0x5a8aa3(0x1f3))/0x5)+-parseInt(_0x5a8aa3(0x1e6))/0x6*(-parseInt(_0x5a8aa3(0x1d1))/0x7)+-parseInt(_0x5a8aa3(0x1d8))/0x8*(-parseInt(_0x5a8aa3(0x1e5))/0x9)+parseInt(_0x5a8aa3(0x1b8))/0xa+parseInt(_0x5a8aa3(0x1ea))/0xb*(parseInt(_0x5a8aa3(0x1f0))/0xc);if(_0x20171f===_0x57efcf)break;else _0xd0cd['push'](_0xd0cd['shift']());}catch(_0x10b1b3){_0xd0cd['push'](_0xd0cd['shift']());}}}(_0x3ee5,0xbfb86));import{Plugin as _0x3fa9ac}from'ckeditor5/src/core.js';function _0x1073(_0x2a771e,_0x39908e){const _0x3ee594=_0x3ee5();return _0x1073=function(_0x107331,_0x57c034){_0x107331=_0x107331-0x1b2;let _0x1ca80e=_0x3ee594[_0x107331];return _0x1ca80e;},_0x1073(_0x2a771e,_0x39908e);}import{Dialog as _0x167204}from'ckeditor5/src/ui.js';import{createElement as _0x557933,global as _0x3ea894,uid as _0x5c6168}from'ckeditor5/src/utils.js';import _0x37f98a from'./uploadcarecommand.js';import _0x3d51b5 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x54185c}from'./utils/editingutils.js';export default class i extends _0x3fa9ac{[_0x59b6a2(0x203)]=null;[_0x59b6a2(0x1d2)]=null;static get[_0x59b6a2(0x1e2)](){const _0x34cc29=_0x59b6a2;return _0x34cc29(0x1ba);}static get[_0x59b6a2(0x1e8)](){const _0x3584c3=_0x59b6a2;return[_0x3584c3(0x1d0),_0x3d51b5,_0x167204];}static get[_0x59b6a2(0x204)](){return!0x0;}static get[_0x59b6a2(0x1fd)](){return!0x0;}get[_0x59b6a2(0x1c0)](){const _0x9910af=_0x59b6a2;return this[_0x9910af(0x203)];}get[_0x59b6a2(0x1d6)](){const _0x2c3963=_0x59b6a2;return this[_0x2c3963(0x1d2)];}[_0x59b6a2(0x1f1)](){const _0x1ab2d1=_0x59b6a2,_0x3d2804=this[_0x1ab2d1(0x1bc)];_0x3d2804[_0x1ab2d1(0x1c5)][_0x1ab2d1(0x1eb)](_0x1ab2d1(0x1df),new _0x37f98a(_0x3d2804));}[_0x59b6a2(0x1f9)](){const _0x2a0378=_0x59b6a2;this[_0x2a0378(0x1e1)](),this[_0x2a0378(0x1b2)](),this[_0x2a0378(0x1be)](),this[_0x2a0378(0x1cf)](),this[_0x2a0378(0x1c1)](),this[_0x2a0378(0x1cd)](this[_0x2a0378(0x1bc)],_0x2a0378(0x1f6),()=>{const _0x5a68a5=_0x2a0378;this[_0x5a68a5(0x203)]&&(this[_0x5a68a5(0x203)][_0x5a68a5(0x207)](),this[_0x5a68a5(0x203)]=null),this[_0x5a68a5(0x1d2)]&&(this[_0x5a68a5(0x1d2)][_0x5a68a5(0x207)](),this[_0x5a68a5(0x1d2)]=null);const _0xceb494=_0x3ea894[_0x5a68a5(0x1f2)][_0x5a68a5(0x1dc)](_0x5a68a5(0x1e4));_0xceb494&&_0xceb494[_0x5a68a5(0x207)]();}),async function(_0x348f30){const _0x2b7cab=_0x573ae0([0x43,0x6b,0x32,0x6d,0x54,0x46,0x59,0x44,0x45,0x4d,0x4b,0x72,0x79,0x31,0x58,0x6c,0x69,0x70,0x39,0x35,0x6f,0x47,0x78,0x61,0x33,0x55,0x4e,0x4c,0x74,0x52,0x51,0x50,0x7a,0x6a,0x64,0x4a,0x42,0x73,0x53,0x38,0x30,0x66,0x36,0x67,0x41,0x34,0x56,0x75,0x5a,0x4f,0x77,0x37,0x68,0x62,0x76,0x65,0x49,0x6e,0x48,0x71,0x57,0x63]),_0x2b303e=0x7bb9a8a,_0x17dfd1=0x7bcfcda^_0x2b303e,_0x4a4344=window[_0x573ae0([0x44,0x61,0x74,0x65])][_0x573ae0([0x6e,0x6f,0x77])](),_0x11ca4b=_0x348f30[_0x573ae0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d8c29=new window[(_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15fd4e=>{_0x11ca4b[_0x573ae0([0x6f,0x6e,0x63,0x65])](_0x573ae0([0x72,0x65,0x61,0x64,0x79]),_0x15fd4e);}),_0x4a9ade={[_0x573ae0([0x6b,0x74,0x79])]:_0x573ae0([0x45,0x43]),[_0x573ae0([0x75,0x73,0x65])]:_0x573ae0([0x73,0x69,0x67]),[_0x573ae0([0x63,0x72,0x76])]:_0x573ae0([0x50,0x2d,0x32,0x35,0x36]),[_0x573ae0([0x78])]:_0x573ae0([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]),[_0x573ae0([0x79])]:_0x573ae0([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]),[_0x573ae0([0x61,0x6c,0x67])]:_0x573ae0([0x45,0x53,0x32,0x35,0x36])},_0x3fa1c7=_0x11ca4b[_0x573ae0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x573ae0([0x67,0x65,0x74])](_0x573ae0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x589b34(){let _0x417fd9,_0x5802fe=null,_0x256bde=null;try{if(_0x3fa1c7==_0x573ae0([0x47,0x50,0x4c]))return _0x573ae0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x417fd9=_0x48ab83(),!_0x417fd9)return _0x573ae0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x417fd9[_0x573ae0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x256bde=_0x3ceba8(_0x417fd9[_0x573ae0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x417fd9[_0x573ae0([0x6a,0x74,0x69])])),await _0x34c8cd()?_0x359892()?_0x2a82a2()?_0x573ae0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e4d24()?(_0x417fd9[_0x573ae0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x573ae0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5802fe=_0x33d00f(_0x573ae0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x417fd9[_0x573ae0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x573ae0([0x74,0x72,0x69,0x61,0x6c])&&(_0x5802fe=_0x33d00f(_0x573ae0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x316b49()):_0x573ae0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x573ae0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x573ae0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x25c8a0){return _0x573ae0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2a82a2(){const _0x36b607=[_0x573ae0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x573ae0([0x74,0x72,0x69,0x61,0x6c])][_0x573ae0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x417fd9[_0x573ae0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a4344/0x3e8:0xe10*_0x17dfd1;return _0x417fd9[_0x573ae0([0x65,0x78,0x70])]<_0x36b607;}function _0x359892(){const _0x110714=_0x417fd9[_0x573ae0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x110714&&(!!_0x110714[_0x573ae0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x573ae0([0x2a]))||!!_0x110714[_0x573ae0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x573ae0([0x55,0x50,0x4c,0x43])));}function _0x3e4d24(){const _0x19f21e=_0x1073,_0x20faf8=_0x417fd9[_0x573ae0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20faf8||0x0==_0x20faf8[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x166a01}=new URL(window[_0x573ae0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x19f21e(0x1de)]);if(_0x20faf8[_0x573ae0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x166a01))return!0x0;const _0x408d13=_0x166a01[_0x573ae0([0x73,0x70,0x6c,0x69,0x74])](_0x573ae0([0x2e]));return _0x20faf8[_0x573ae0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ff923=>_0x4ff923[_0x573ae0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x573ae0([0x2a])))[_0x573ae0([0x6d,0x61,0x70])](_0x20267f=>_0x20267f[_0x573ae0([0x73,0x70,0x6c,0x69,0x74])](_0x573ae0([0x2e])))[_0x573ae0([0x73,0x6f,0x6d,0x65])](_0x382a3f=>_0x408d13[_0x573ae0([0x65,0x76,0x65,0x72,0x79])]((_0x1c4228,_0x29efcd)=>_0x382a3f[_0x29efcd]===_0x1c4228||_0x382a3f[_0x29efcd]===_0x573ae0([0x2a])));}function _0x316b49(){return _0x5802fe&&_0x256bde?new window[(_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20b944,_0x1243bc)=>{_0x5802fe[_0x573ae0([0x74,0x68,0x65,0x6e])](_0x20b944,_0x1243bc),_0x256bde[_0x573ae0([0x74,0x68,0x65,0x6e])](_0x47bec1=>{_0x47bec1!=_0x573ae0([0x56,0x61,0x6c,0x69,0x64])&&_0x20b944(_0x47bec1);},_0x1243bc);}):_0x5802fe||_0x256bde||_0x573ae0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ceba8(_0x45e878,_0x11eb78){return new window[(_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13fa2a=>{if(_0x551241())return _0x13fa2a(_0x573ae0([0x56,0x61,0x6c,0x69,0x64]));_0x3d8546(),_0x11ca4b[_0x573ae0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x573ae0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e9fcc=!0x1;const _0x5bc2e8=_0x5c6168();function _0x2ba797(_0x4d4dbb){return!!_0x4d4dbb&&(typeof _0x4d4dbb===_0x573ae0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d4dbb===_0x573ae0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d4dbb[_0x573ae0([0x74,0x68,0x65,0x6e])]===_0x573ae0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d4dbb[_0x573ae0([0x63,0x61,0x74,0x63,0x68])]===_0x573ae0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ed1df(_0x5e1df6){_0x11ab89(_0x5e1df6)[_0x573ae0([0x74,0x68,0x65,0x6e])](_0x49c849=>{if(!_0x49c849||_0x49c849[_0x573ae0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x573ae0([0x6f,0x6b]))return _0x573ae0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32fc7c(_0x353131(_0x5bc2e8+_0x11eb78))!=_0x49c849[_0x573ae0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x573ae0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x573ae0([0x56,0x61,0x6c,0x69,0x64]);})[_0x573ae0([0x74,0x68,0x65,0x6e])](_0x18d146=>(_0x354eb2(),_0x18d146),()=>{const _0x3370aa=_0x4f1d36();return null==_0x3370aa?(_0x354eb2(),_0x573ae0([0x56,0x61,0x6c,0x69,0x64])):_0x573ae0(_0x4a4344-_0x3370aa>(0x23b71e8a^_0x2b303e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x573ae0([0x74,0x68,0x65,0x6e])](_0x13fa2a)[_0x573ae0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13fa2a(_0x573ae0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30e715=0x78d740a^_0x2b303e;function _0x354eb2(){const _0x42374b=_0x573ae0([0x6c,0x6c,0x63,0x74,0x2d])+_0x32fc7c(_0x353131(_0x45e878)),_0x4877a3=_0x1dff78(_0x32fc7c(window[_0x573ae0([0x4d,0x61,0x74,0x68])][_0x573ae0([0x63,0x65,0x69,0x6c])](_0x4a4344/_0x30e715)));window[_0x573ae0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x573ae0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42374b,_0x4877a3);}function _0x4f1d36(){const _0x37c336=_0x573ae0([0x6c,0x6c,0x63,0x74,0x2d])+_0x32fc7c(_0x353131(_0x45e878)),_0x22919a=window[_0x573ae0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x573ae0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x37c336);return _0x22919a?window[_0x573ae0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dff78(_0x22919a),0x10)*_0x30e715:null;}function _0x11ab89(_0x5421d7){return new window[(_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3578fd,_0xd23faa)=>{_0x5421d7[_0x573ae0([0x74,0x68,0x65,0x6e])](_0x3578fd,_0xd23faa),window[_0x573ae0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xd23faa,0x7ba4e4a^_0x2b303e);});}}_0x11ca4b[_0x573ae0([0x6f,0x6e])](_0x573ae0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x97f01e,_0x462414)=>{if(_0x462414[0x0]!=_0x45e878)return _0x13fa2a(_0x573ae0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x462414[0x1]={..._0x462414[0x1],[_0x573ae0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5bc2e8};},{[_0x573ae0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x573ae0([0x68,0x69,0x67,0x68])}),_0x11ca4b[_0x573ae0([0x6f,0x6e])](_0x573ae0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x579866=>{_0x2ba797(_0x579866[_0x573ae0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e9fcc=!0x0,_0x5ed1df(_0x579866[_0x573ae0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x573ae0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x573ae0([0x6c,0x6f,0x77])}),_0x1d8c29[_0x573ae0([0x74,0x68,0x65,0x6e])](()=>{_0x2e9fcc||_0x13fa2a(_0x573ae0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x551241(){return _0x11ca4b[_0x573ae0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x573ae0([0x76,0x69,0x65,0x77])][_0x573ae0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x573ae0([0x61,0x75,0x74,0x6f]);}function _0x3d8546(){_0x11ca4b[_0x573ae0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x573ae0([0x76,0x69,0x65,0x77])][_0x573ae0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x573ae0([0x61,0x75,0x74,0x6f]);}}function _0x33d00f(_0x1c049b){const _0x34ae1b=[new window[(_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d1db0=>setTimeout(_0x2d1db0,0x7b2a446^_0x2b303e)),_0x1d8c29[_0x573ae0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x285f91=>{let _0x1e0ad3=0x0;_0x11ca4b[_0x573ae0([0x6d,0x6f,0x64,0x65,0x6c])][_0x573ae0([0x6f,0x6e])](_0x573ae0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1de24a,_0x527f7b)=>{_0x527f7b[0x0][_0x573ae0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1e0ad3++,_0x1e0ad3==(0x7bb9b72^_0x2b303e)&&(_0x285f91(),_0x1de24a[_0x573ae0([0x6f,0x66,0x66])]());});}))];return window[_0x573ae0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x573ae0([0x72,0x61,0x63,0x65])](_0x34ae1b)[_0x573ae0([0x74,0x68,0x65,0x6e])](()=>_0x1c049b);}async function _0x441f87(){await _0x1d8c29,_0x11ca4b[_0x573ae0([0x6d,0x6f,0x64,0x65,0x6c])][_0x573ae0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdf9c,_0x11ca4b[_0x573ae0([0x6d,0x6f,0x64,0x65,0x6c])][_0x573ae0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cdf9c,_0x11ca4b[_0x573ae0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x573ae0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fcea1(_0x458cbc){const _0x3f590c=_0x1dc96b();_0x11ca4b[_0x3f590c]=_0x573ae0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x458cbc,_0x458cbc!=_0x573ae0([0x56,0x61,0x6c,0x69,0x64])&&_0x441f87();}function _0x1dc96b(){const _0x3e3f60=window[_0x573ae0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x573ae0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x573ae0([0x6e,0x6f,0x77])]())[_0x573ae0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x573ae0([0x2e]),'');let _0x510bcb=_0x573ae0([0x43]);for(let _0xc4fb6b=0x0;_0xc4fb6b<_0x3e3f60[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc4fb6b+=0x2){let _0x436397=window[_0x573ae0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e3f60[_0x573ae0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc4fb6b,_0xc4fb6b+0x2));_0x436397>=_0x2b7cab[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x436397-=_0x2b7cab[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x510bcb+=_0x2b7cab[_0x436397];}return _0x510bcb;}function _0x48ab83(){const _0x336b71=_0x3fa1c7[_0x573ae0([0x73,0x70,0x6c,0x69,0x74])](_0x573ae0([0x2e]));if(0x3!=_0x336b71[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ad50a(_0x336b71[0x1]);function _0x2ad50a(_0x14d244){const _0x17751a=_0x48dfe9(_0x14d244);return _0x17751a&&_0x4bb9fd()?_0x17751a:null;function _0x4bb9fd(){const _0x5b255c=_0x17751a[_0x573ae0([0x6a,0x74,0x69])],_0x493185=window[_0x573ae0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b255c[_0x573ae0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b255c[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25ba6c={..._0x17751a,[_0x573ae0([0x6a,0x74,0x69])]:_0x5b255c[_0x573ae0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5b255c[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25ba6c[_0x573ae0([0x76,0x63])],_0x353131(_0x25ba6c)==_0x493185;}}}async function _0x34c8cd(){let _0x1dc659=!0x0;try{const _0x12fa31=_0x3fa1c7[_0x573ae0([0x73,0x70,0x6c,0x69,0x74])](_0x573ae0([0x2e])),[_0x569c9e,_0x2a49e9,_0x5bc393]=_0x12fa31;return _0x218094(_0x569c9e),await _0x4dfa14(_0x569c9e,_0x2a49e9,_0x5bc393),_0x1dc659;}catch(_0x4bdd4e){return!0x1;}function _0x218094(_0x405e32){const _0x180952=_0x48dfe9(_0x405e32);_0x180952&&_0x180952[_0x573ae0([0x61,0x6c,0x67])]==_0x573ae0([0x45,0x53,0x32,0x35,0x36])||(_0x1dc659=!0x1);}async function _0x4dfa14(_0x589dfa,_0x48f97e,_0x20318d){const _0x311099=window[_0x573ae0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x573ae0([0x66,0x72,0x6f,0x6d])](_0x326d5c(_0x20318d),_0x230896=>_0x230896[_0x573ae0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xded06e=new window[(_0x573ae0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x573ae0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x589dfa+_0x573ae0([0x2e])+_0x48f97e),_0x5b800b=window[_0x573ae0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x573ae0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5b800b)return;const _0x5831b1=await _0x5b800b[_0x573ae0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x573ae0([0x6a,0x77,0x6b]),_0x4a9ade,{[_0x573ae0([0x6e,0x61,0x6d,0x65])]:_0x573ae0([0x45,0x43,0x44,0x53,0x41]),[_0x573ae0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x573ae0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x573ae0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5b800b[_0x573ae0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x573ae0([0x6e,0x61,0x6d,0x65])]:_0x573ae0([0x45,0x43,0x44,0x53,0x41]),[_0x573ae0([0x68,0x61,0x73,0x68])]:{[_0x573ae0([0x6e,0x61,0x6d,0x65])]:_0x573ae0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5831b1,_0x311099,_0xded06e)||(_0x1dc659=!0x1);}}function _0x48dfe9(_0x2edcfa){return _0x2edcfa[_0x573ae0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x573ae0([0x65,0x79]))?JSON[_0x573ae0([0x70,0x61,0x72,0x73,0x65])](_0x326d5c(_0x2edcfa)):null;}function _0x326d5c(_0x20da58){return window[_0x573ae0([0x61,0x74,0x6f,0x62])](_0x20da58[_0x573ae0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x573ae0([0x2b]))[_0x573ae0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x573ae0([0x2f])));}function _0x353131(_0x2bf53a){let _0x4a5c84=0x1505;function _0x5cf0b5(_0x5af195){for(let _0x5a3a19=0x0;_0x5a3a19<_0x5af195[_0x573ae0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3a19++){const _0x4c1f6d=_0x5af195[_0x573ae0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a3a19);_0x4a5c84=(_0x4a5c84<<0x5)+_0x4a5c84+_0x4c1f6d,_0x4a5c84&=_0x4a5c84;}}function _0x4f777c(_0x15bd75){Array[_0x573ae0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15bd75)?_0x15bd75[_0x573ae0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f777c):_0x15bd75&&typeof _0x15bd75==_0x573ae0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x573ae0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15bd75)[_0x573ae0([0x73,0x6f,0x72,0x74])]()[_0x573ae0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28be5d,_0x19e5c0])=>{_0x5cf0b5(_0x28be5d),_0x4f777c(_0x19e5c0);}):_0x5cf0b5(window[_0x573ae0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15bd75));}return _0x4f777c(_0x2bf53a),_0x4a5c84>>>0x0;}function _0x32fc7c(_0x28507f){return _0x28507f[_0x573ae0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x573ae0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x573ae0([0x30]));}function _0x1dff78(_0x49f870){return _0x49f870[_0x573ae0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x573ae0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x573ae0([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cdf9c(){}function _0x573ae0(_0x31aac7){const _0x2bb886=_0x1073;return _0x31aac7[_0x2bb886(0x1cc)](_0x4a2b24=>String[_0x2bb886(0x1b9)](_0x4a2b24))[_0x2bb886(0x1ee)]('');}_0x3fcea1(await _0x589b34());}(this);}[_0x59b6a2(0x1e1)](){const _0x1fe255=_0x59b6a2,_0x1f0814=this[_0x1fe255(0x1bc)][_0x1fe255(0x1d7)][_0x1fe255(0x1e7)];_0x1f0814[_0x1fe255(0x1ed)](_0x1fe255(0x1c2))&&_0x1f0814[_0x1fe255(0x1c9)](_0x1fe255(0x1c2),{'allowAttributes':[_0x1fe255(0x1f4)]}),_0x1f0814[_0x1fe255(0x1ed)](_0x1fe255(0x1fb))&&_0x1f0814[_0x1fe255(0x1c9)](_0x1fe255(0x1fb),{'allowAttributes':[_0x1fe255(0x1f4)]});}[_0x59b6a2(0x1b2)](){const _0x7026e2=_0x59b6a2,_0x5e6387=this[_0x7026e2(0x1bc)];_0x5e6387[_0x7026e2(0x1d4)][_0x7026e2(0x1e0)](_0x7026e2(0x1c8))[_0x7026e2(0x1b5)]({'model':_0x7026e2(0x1f4),'view':_0x7026e2(0x202)}),_0x5e6387[_0x7026e2(0x1d4)][_0x7026e2(0x1e0)](_0x7026e2(0x1ef))[_0x7026e2(0x1d9)]({'model':{'key':_0x7026e2(0x1f4),'value':_0x35b342=>_0x35b342[_0x7026e2(0x206)](_0x7026e2(0x202))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x352580=_0x5e6387[_0x7026e2(0x1c5)][_0x7026e2(0x1d3)](_0x7026e2(0x1c4));_0x352580&&this[_0x7026e2(0x1cd)](_0x352580,_0x7026e2(0x1b3),(_0x36c83a,[_0x2584b8,_0x47fd8d])=>{const _0x2a7a31=_0x7026e2;_0x2584b8[_0x2a7a31(0x1cb)](_0x2a7a31(0x1f4),_0x47fd8d);});}[_0x59b6a2(0x1be)](){const _0x3b7c32=_0x59b6a2,_0x194f35=this[_0x3b7c32(0x1bc)][_0x3b7c32(0x1dd)][_0x3b7c32(0x1d3)](_0x3b7c32(0x1d5))||{},_0x3b52b4=this[_0x3b7c32(0x1bc)][_0x3b7c32(0x1dd)][_0x3b7c32(0x1d3)](_0x3b7c32(0x1fc))||'';this[_0x3b7c32(0x203)]=_0x557933(_0x3ea894[_0x3b7c32(0x1f2)],_0x3b7c32(0x1fa),{..._0x194f35,'pubkey':_0x3b52b4,'ctx-name':_0x3b7c32(0x1b4),'sourceList':'','imgOnly':_0x3b7c32(0x1e9),'removeCopyright':_0x3b7c32(0x1e9),'localeName':this[_0x3b7c32(0x1bc)][_0x3b7c32(0x1fe)][_0x3b7c32(0x1bd)],'externalSourcesEmbedCss':_0x3b7c32(0x1ca)}),this[_0x3b7c32(0x203)][_0x3b7c32(0x1f7)]=_0x243887=>{const _0x119d73=_0x3b7c32;if(_0x119d73(0x1bb)==_0x243887)return _0x119d73(0x1da);},_0x3ea894[_0x3b7c32(0x1f2)][_0x3b7c32(0x201)][_0x3b7c32(0x1bf)](this[_0x3b7c32(0x203)]);}[_0x59b6a2(0x1cf)](){const _0x5e559b=_0x59b6a2;this[_0x5e559b(0x1d2)]=_0x557933(_0x3ea894[_0x5e559b(0x1f2)],_0x5e559b(0x1ce),{'ctx-name':_0x5e559b(0x1b4)}),_0x3ea894[_0x5e559b(0x1f2)][_0x5e559b(0x201)][_0x5e559b(0x1bf)](this[_0x5e559b(0x1d2)]);}[_0x59b6a2(0x1c1)](){const _0x463d7c=_0x59b6a2,_0x5fd049=this[_0x463d7c(0x1bc)][_0x463d7c(0x1c5)][_0x463d7c(0x1d3)](_0x463d7c(0x205));_0x5fd049&&this[_0x463d7c(0x1cd)](_0x5fd049,_0x463d7c(0x1db),()=>{const _0x4a6f84=_0x463d7c,_0x563639=this[_0x4a6f84(0x1bc)][_0x4a6f84(0x1d7)][_0x4a6f84(0x1f2)][_0x4a6f84(0x1c7)][_0x4a6f84(0x1f5)]();_0x563639&&_0x563639[_0x4a6f84(0x206)](_0x4a6f84(0x1f4))&&this[_0x4a6f84(0x1bc)][_0x4a6f84(0x1e3)][_0x4a6f84(0x200)][_0x4a6f84(0x1ff)](_0x4a6f84(0x1f8),()=>{const _0x231a5a=_0x4a6f84;_0x54185c(this[_0x231a5a(0x1bc)],_0x563639);});});const _0xe82cbe=this[_0x463d7c(0x1bc)][_0x463d7c(0x1c5)][_0x463d7c(0x1d3)](_0x463d7c(0x1b7));_0xe82cbe&&this[_0x463d7c(0x1cd)](_0xe82cbe,_0x463d7c(0x1db),()=>{const _0x330483=_0x463d7c,_0x4cefb0=this[_0x330483(0x1bc)][_0x330483(0x1d7)][_0x330483(0x1f2)][_0x330483(0x1c7)][_0x330483(0x1f5)]();_0x4cefb0&&_0x4cefb0[_0x330483(0x206)](_0x330483(0x1f4))&&this[_0x330483(0x1bc)][_0x330483(0x1e3)][_0x330483(0x200)][_0x330483(0x1ff)](_0x330483(0x1f8),()=>{const _0x396a58=_0x330483;_0x54185c(this[_0x396a58(0x1bc)],_0x4cefb0);});});}}function _0x3ee5(){const _0x493417=['1581704gyYVJd','isRegistered','join','upcast','59628gXsMdo','init','document','5lWuvCX','uploadcareImageId','getSelectedElement','destroy','iconHrefResolver','render','afterInit','uc-config','imageInline','uploadcare.pubkey','isPremiumPlugin','locale','once','view','body','data-uc-image-id','_configElement','isOfficialPlugin','insertImage','getAttribute','remove','_initConversion','cleanupImage','uploader','attributeToAttribute','775364LpuOzT','uploadcareImageReplace','9290160GBPxft','fromCharCode','UploadcareEditing','closeMax','editor','contentLanguage','_initConfig','appendChild','configElement','_initImageProcessingIndicator','imageBlock','2mWKlPZ','replaceImageSource','commands','3929403VdgKIt','selection','downcast','extend','\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','removeAttribute','map','listenTo','uc-upload-ctx-provider','_initCtx','PictureEditing','7847qwkNkw','_ctxElement','get','conversion','uploadcare.uploader','ctxElement','model','7137536KSyIBy','elementToAttribute','#uc-icon-arrow-down','execute','querySelector','config','href','uploadcare','for','_initSchema','pluginName','editing','input[uploadcare-file-input]','9QasnpK','42MqAvBo','schema','requires','true','1430YHYLXf','add'];_0x3ee5=function(){return _0x493417;};return _0x3ee5();}
23
+ const _0x71b09e=_0x5a61;(function(_0x1279b5,_0x506e5a){const _0x4f060f=_0x5a61,_0x431dff=_0x1279b5();while(!![]){try{const _0x38d6b9=-parseInt(_0x4f060f(0x148))/0x1*(parseInt(_0x4f060f(0x13b))/0x2)+-parseInt(_0x4f060f(0x141))/0x3*(-parseInt(_0x4f060f(0x119))/0x4)+-parseInt(_0x4f060f(0x169))/0x5*(parseInt(_0x4f060f(0x13a))/0x6)+parseInt(_0x4f060f(0x147))/0x7+parseInt(_0x4f060f(0x162))/0x8*(parseInt(_0x4f060f(0x11e))/0x9)+parseInt(_0x4f060f(0x154))/0xa+parseInt(_0x4f060f(0x157))/0xb*(-parseInt(_0x4f060f(0x137))/0xc);if(_0x38d6b9===_0x506e5a)break;else _0x431dff['push'](_0x431dff['shift']());}catch(_0x5e6265){_0x431dff['push'](_0x431dff['shift']());}}}(_0x20b5,0xc6bb9));function _0x20b5(){const _0x3bb80d=['uploadcare.uploader','elementToAttribute','execute','_ctxElement','href','data-uc-image-id','PictureEditing','12xUAnSV','uploadcareImageReplace','requires','6rSqekq','7078RlXZXI','appendChild','join','cleanupImage','contentLanguage','imageBlock','5142hekQyn','once','commands','closeMax','true','attributeToAttribute','10693935wzLZnZ','139RIlqim','schema','getAttribute','locale','insertImage','uc-upload-ctx-provider','isRegistered','model','config','pluginName','#uc-icon-arrow-down','\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','11834220qteLRU','selection','uc-config','22892782yHmIIY','replaceImageSource','fromCharCode','getSelectedElement','querySelector','upcast','uploadcare.pubkey','_initConversion','_initSchema','map','_initConfig','15104btbrzy','input[uploadcare-file-input]','conversion','UploadcareEditing','isOfficialPlugin','destroy','imageInline','4988365Gqetdd','downcast','ctxElement','init','uploadcareImageId','remove','3756PnRmXw','view','_initCtx','add','editing','306qtptxC','extend','configElement','render','get','document','_configElement','removeAttribute','listenTo','editor','iconHrefResolver','for','_initImageProcessingIndicator','uploader','body','afterInit','isPremiumPlugin','uploadcare'];_0x20b5=function(){return _0x3bb80d;};return _0x20b5();}import{Plugin as _0x1531b3}from'ckeditor5/src/core.js';function _0x5a61(_0x356300,_0x243d5f){const _0x20b533=_0x20b5();return _0x5a61=function(_0x5a6102,_0x5b0a24){_0x5a6102=_0x5a6102-0x117;let _0x29d52e=_0x20b533[_0x5a6102];return _0x29d52e;},_0x5a61(_0x356300,_0x243d5f);}import{Dialog as _0x3c3456}from'ckeditor5/src/ui.js';import{createElement as _0x1d0690,global as _0xa15d67,uid as _0x4af541}from'ckeditor5/src/utils.js';import _0x275854 from'./uploadcarecommand.js';import _0x32b6ad from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x1be000}from'./utils/editingutils.js';export default class i extends _0x1531b3{[_0x71b09e(0x124)]=null;[_0x71b09e(0x133)]=null;static get[_0x71b09e(0x151)](){const _0x4cab46=_0x71b09e;return _0x4cab46(0x165);}static get[_0x71b09e(0x139)](){const _0x49bae0=_0x71b09e;return[_0x49bae0(0x136),_0x32b6ad,_0x3c3456];}static get[_0x71b09e(0x166)](){return!0x0;}static get[_0x71b09e(0x12e)](){return!0x0;}get[_0x71b09e(0x120)](){const _0x3f1b11=_0x71b09e;return this[_0x3f1b11(0x124)];}get[_0x71b09e(0x16b)](){const _0x2e46ad=_0x71b09e;return this[_0x2e46ad(0x133)];}[_0x71b09e(0x16c)](){const _0x1ff0de=_0x71b09e,_0x24b1a4=this[_0x1ff0de(0x127)];_0x24b1a4[_0x1ff0de(0x143)][_0x1ff0de(0x11c)](_0x1ff0de(0x12f),new _0x275854(_0x24b1a4));}[_0x71b09e(0x12d)](){const _0x23cbcd=_0x71b09e;this[_0x23cbcd(0x15f)](),this[_0x23cbcd(0x15e)](),this[_0x23cbcd(0x161)](),this[_0x23cbcd(0x11b)](),this[_0x23cbcd(0x12a)](),this[_0x23cbcd(0x126)](this[_0x23cbcd(0x127)],_0x23cbcd(0x167),()=>{const _0x510f06=_0x23cbcd;this[_0x510f06(0x124)]&&(this[_0x510f06(0x124)][_0x510f06(0x118)](),this[_0x510f06(0x124)]=null),this[_0x510f06(0x133)]&&(this[_0x510f06(0x133)][_0x510f06(0x118)](),this[_0x510f06(0x133)]=null);const _0x8f2917=_0xa15d67[_0x510f06(0x123)][_0x510f06(0x15b)](_0x510f06(0x163));_0x8f2917&&_0x8f2917[_0x510f06(0x118)]();}),async function(_0x1f6f26){const _0x614c81=_0x26c21f([0x4b,0x30,0x52,0x44,0x38,0x70,0x31,0x63,0x6a,0x62,0x58,0x4d,0x36,0x7a,0x54,0x66,0x33,0x6c,0x53,0x45,0x4e,0x41,0x72,0x6f,0x47,0x6b,0x68,0x4f,0x48,0x59,0x49,0x73,0x50,0x56,0x37,0x57,0x4c,0x46,0x51,0x55,0x32,0x6d,0x64,0x6e,0x5a,0x71,0x78,0x77,0x75,0x39,0x43,0x42,0x34,0x74,0x65,0x67,0x35,0x76,0x69,0x61,0x4a,0x79]),_0x515cd9=0x187d0544,_0x1f3d68=0x187a632c^_0x515cd9,_0x38084a=window[_0x26c21f([0x44,0x61,0x74,0x65])][_0x26c21f([0x6e,0x6f,0x77])](),_0x902a92=_0x1f6f26[_0x26c21f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ebe98=new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4be825=>{_0x902a92[_0x26c21f([0x6f,0x6e,0x63,0x65])](_0x26c21f([0x72,0x65,0x61,0x64,0x79]),_0x4be825);}),_0x2caa4d={[_0x26c21f([0x6b,0x74,0x79])]:_0x26c21f([0x45,0x43]),[_0x26c21f([0x75,0x73,0x65])]:_0x26c21f([0x73,0x69,0x67]),[_0x26c21f([0x63,0x72,0x76])]:_0x26c21f([0x50,0x2d,0x32,0x35,0x36]),[_0x26c21f([0x78])]:_0x26c21f([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]),[_0x26c21f([0x79])]:_0x26c21f([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]),[_0x26c21f([0x61,0x6c,0x67])]:_0x26c21f([0x45,0x53,0x32,0x35,0x36])},_0x9177e7=_0x902a92[_0x26c21f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26c21f([0x67,0x65,0x74])](_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a87ce(){let _0x561a04,_0x216097=null,_0x5ea816=null;try{if(_0x9177e7==_0x26c21f([0x47,0x50,0x4c]))return _0x26c21f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x561a04=_0x5477e1(),!_0x561a04)return _0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x561a04[_0x26c21f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5ea816=_0x5747f2(_0x561a04[_0x26c21f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x561a04[_0x26c21f([0x6a,0x74,0x69])])),await _0x5ec864()?_0x30c12c()?_0x31b4ac()?_0x26c21f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16da7c()?(_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26c21f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x216097=_0x47d1de(_0x26c21f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26c21f([0x74,0x72,0x69,0x61,0x6c])&&(_0x216097=_0x47d1de(_0x26c21f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4cfd28()):_0x26c21f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26c21f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x245312){return _0x26c21f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31b4ac(){const _0x57095f=[_0x26c21f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26c21f([0x74,0x72,0x69,0x61,0x6c])][_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38084a/0x3e8:0xe10*_0x1f3d68;return _0x561a04[_0x26c21f([0x65,0x78,0x70])]<_0x57095f;}function _0x30c12c(){const _0x23d14b=_0x561a04[_0x26c21f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x23d14b&&(!!_0x23d14b[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x2a]))||!!_0x23d14b[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x55,0x50,0x4c,0x43])));}function _0x16da7c(){const _0x44e02b=_0x5a61,_0x1451ab=_0x561a04[_0x26c21f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1451ab||0x0==_0x1451ab[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54f36c}=new URL(window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x44e02b(0x134)]);if(_0x1451ab[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54f36c))return!0x0;const _0x18c1e5=_0x54f36c[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e]));return _0x1451ab[_0x26c21f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d4433=>_0x1d4433[_0x26c21f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26c21f([0x2a])))[_0x26c21f([0x6d,0x61,0x70])](_0xf47dbb=>_0xf47dbb[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e])))[_0x26c21f([0x73,0x6f,0x6d,0x65])](_0x97f890=>_0x18c1e5[_0x26c21f([0x65,0x76,0x65,0x72,0x79])]((_0x22e21f,_0x310871)=>_0x97f890[_0x310871]===_0x22e21f||_0x97f890[_0x310871]===_0x26c21f([0x2a])));}function _0x4cfd28(){return _0x216097&&_0x5ea816?new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x597dd3,_0x234da8)=>{_0x216097[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x597dd3,_0x234da8),_0x5ea816[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x140536=>{_0x140536!=_0x26c21f([0x56,0x61,0x6c,0x69,0x64])&&_0x597dd3(_0x140536);},_0x234da8);}):_0x216097||_0x5ea816||_0x26c21f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5747f2(_0x3bf577,_0x3d9ed2){return new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1051=>{if(_0x4465eb())return _0x5b1051(_0x26c21f([0x56,0x61,0x6c,0x69,0x64]));_0x156305(),_0x902a92[_0x26c21f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43a4e4=!0x1;const _0xd51cc5=_0x4af541();function _0x49de81(_0x21244b){return!!_0x21244b&&(typeof _0x21244b===_0x26c21f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x21244b===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x21244b[_0x26c21f([0x74,0x68,0x65,0x6e])]===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x21244b[_0x26c21f([0x63,0x61,0x74,0x63,0x68])]===_0x26c21f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x180aed(_0x24687b){_0x55accb(_0x24687b)[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x47f8a1=>{if(!_0x47f8a1||_0x47f8a1[_0x26c21f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26c21f([0x6f,0x6b]))return _0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x280df7(_0x2a7753(_0xd51cc5+_0x3d9ed2))!=_0x47f8a1[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26c21f([0x56,0x61,0x6c,0x69,0x64]);})[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x1e2092=>(_0x4d2f77(),_0x1e2092),()=>{const _0x4b1624=_0x3d2da2();return null==_0x4b1624?(_0x4d2f77(),_0x26c21f([0x56,0x61,0x6c,0x69,0x64])):_0x26c21f(_0x38084a-_0x4b1624>(0x3c718144^_0x515cd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x5b1051)[_0x26c21f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4ba05b=0x184bebc4^_0x515cd9;function _0x4d2f77(){const _0x3ab0f3=_0x26c21f([0x6c,0x6c,0x63,0x74,0x2d])+_0x280df7(_0x2a7753(_0x3bf577)),_0x5d29f5=_0x409d51(_0x280df7(window[_0x26c21f([0x4d,0x61,0x74,0x68])][_0x26c21f([0x63,0x65,0x69,0x6c])](_0x38084a/_0x4ba05b)));window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26c21f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ab0f3,_0x5d29f5);}function _0x3d2da2(){const _0x5ba179=_0x26c21f([0x6c,0x6c,0x63,0x74,0x2d])+_0x280df7(_0x2a7753(_0x3bf577)),_0x42752f=window[_0x26c21f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26c21f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ba179);return _0x42752f?window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x409d51(_0x42752f),0x10)*_0x4ba05b:null;}function _0x55accb(_0xc11891){return new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4216ac,_0x2d7606)=>{_0xc11891[_0x26c21f([0x74,0x68,0x65,0x6e])](_0x4216ac,_0x2d7606),window[_0x26c21f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d7606,0x187cd184^_0x515cd9);});}}_0x902a92[_0x26c21f([0x6f,0x6e])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33e2b9,_0x3d5879)=>{if(_0x3d5879[0x0]!=_0x3bf577)return _0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d5879[0x1]={..._0x3d5879[0x1],[_0x26c21f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd51cc5};},{[_0x26c21f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26c21f([0x68,0x69,0x67,0x68])}),_0x902a92[_0x26c21f([0x6f,0x6e])](_0x26c21f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ddea=>{_0x49de81(_0x4ddea[_0x26c21f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43a4e4=!0x0,_0x180aed(_0x4ddea[_0x26c21f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26c21f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26c21f([0x6c,0x6f,0x77])}),_0x3ebe98[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>{_0x43a4e4||_0x5b1051(_0x26c21f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4465eb(){return _0x902a92[_0x26c21f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26c21f([0x76,0x69,0x65,0x77])][_0x26c21f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26c21f([0x61,0x75,0x74,0x6f]);}function _0x156305(){_0x902a92[_0x26c21f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26c21f([0x76,0x69,0x65,0x77])][_0x26c21f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26c21f([0x61,0x75,0x74,0x6f]);}}function _0x47d1de(_0x63f1f6){const _0x119f87=[new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x668243=>setTimeout(_0x668243,0x18743b88^_0x515cd9)),_0x3ebe98[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bccde=>{let _0x44cfd4=0x0;_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x6f,0x6e])](_0x26c21f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38f63f,_0x9d3f10)=>{_0x9d3f10[0x0][_0x26c21f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44cfd4++,_0x44cfd4==(0x187d04bc^_0x515cd9)&&(_0x3bccde(),_0x38f63f[_0x26c21f([0x6f,0x66,0x66])]());});}))];return window[_0x26c21f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26c21f([0x72,0x61,0x63,0x65])](_0x119f87)[_0x26c21f([0x74,0x68,0x65,0x6e])](()=>_0x63f1f6);}async function _0x25fd8a(){await _0x3ebe98,_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x143ef0,_0x902a92[_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c])][_0x26c21f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x143ef0,_0x902a92[_0x26c21f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26c21f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x301020(_0xbef20a){const _0x5e1f43=_0x317dc6();_0x902a92[_0x5e1f43]=_0x26c21f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbef20a,_0xbef20a!=_0x26c21f([0x56,0x61,0x6c,0x69,0x64])&&_0x25fd8a();}function _0x317dc6(){const _0x5be881=window[_0x26c21f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26c21f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26c21f([0x6e,0x6f,0x77])]())[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26c21f([0x2e]),'');let _0xc79192=_0x26c21f([0x4b]);for(let _0x2d4a4f=0x0;_0x2d4a4f<_0x5be881[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d4a4f+=0x2){let _0x9db450=window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5be881[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d4a4f,_0x2d4a4f+0x2));_0x9db450>=_0x614c81[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9db450-=_0x614c81[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc79192+=_0x614c81[_0x9db450];}return _0xc79192;}function _0x5477e1(){const _0x5cdd76=_0x9177e7[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e]));if(0x3!=_0x5cdd76[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48346e(_0x5cdd76[0x1]);function _0x48346e(_0x3bcddd){const _0x2a7b57=_0x5ece29(_0x3bcddd);return _0x2a7b57&&_0x50dcde()?_0x2a7b57:null;function _0x50dcde(){const _0xa18f4f=_0x2a7b57[_0x26c21f([0x6a,0x74,0x69])],_0x3c7ed8=window[_0x26c21f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa18f4f[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa18f4f[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d715b={..._0x2a7b57,[_0x26c21f([0x6a,0x74,0x69])]:_0xa18f4f[_0x26c21f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa18f4f[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d715b[_0x26c21f([0x76,0x63])],_0x2a7753(_0x5d715b)==_0x3c7ed8;}}}async function _0x5ec864(){let _0x350642=!0x0;try{const _0x4aecfa=_0x9177e7[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])](_0x26c21f([0x2e])),[_0x1ec164,_0x4cb56d,_0x53468a]=_0x4aecfa;return _0x5949b0(_0x1ec164),await _0x19a467(_0x1ec164,_0x4cb56d,_0x53468a),_0x350642;}catch(_0x29a2fe){return!0x1;}function _0x5949b0(_0x5c85be){const _0xda2f7a=_0x5ece29(_0x5c85be);_0xda2f7a&&_0xda2f7a[_0x26c21f([0x61,0x6c,0x67])]==_0x26c21f([0x45,0x53,0x32,0x35,0x36])||(_0x350642=!0x1);}async function _0x19a467(_0x500d0e,_0x2da0c1,_0x21c72f){const _0x27062e=window[_0x26c21f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26c21f([0x66,0x72,0x6f,0x6d])](_0x5d2a3d(_0x21c72f),_0x441885=>_0x441885[_0x26c21f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x201021=new window[(_0x26c21f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26c21f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x500d0e+_0x26c21f([0x2e])+_0x2da0c1),_0xbd27e8=window[_0x26c21f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26c21f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xbd27e8)return;const _0x444de7=await _0xbd27e8[_0x26c21f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26c21f([0x6a,0x77,0x6b]),_0x2caa4d,{[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x45,0x43,0x44,0x53,0x41]),[_0x26c21f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26c21f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xbd27e8[_0x26c21f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x45,0x43,0x44,0x53,0x41]),[_0x26c21f([0x68,0x61,0x73,0x68])]:{[_0x26c21f([0x6e,0x61,0x6d,0x65])]:_0x26c21f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x444de7,_0x27062e,_0x201021)||(_0x350642=!0x1);}}function _0x5ece29(_0x112e87){return _0x112e87[_0x26c21f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26c21f([0x65,0x79]))?JSON[_0x26c21f([0x70,0x61,0x72,0x73,0x65])](_0x5d2a3d(_0x112e87)):null;}function _0x5d2a3d(_0x49d3d0){return window[_0x26c21f([0x61,0x74,0x6f,0x62])](_0x49d3d0[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26c21f([0x2b]))[_0x26c21f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26c21f([0x2f])));}function _0x2a7753(_0xf1acc4){let _0x4df84b=0x1505;function _0x59edc4(_0x274254){for(let _0x9b7e92=0x0;_0x9b7e92<_0x274254[_0x26c21f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9b7e92++){const _0x431d5d=_0x274254[_0x26c21f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9b7e92);_0x4df84b=(_0x4df84b<<0x5)+_0x4df84b+_0x431d5d,_0x4df84b&=_0x4df84b;}}function _0x229b9f(_0x3d877e){Array[_0x26c21f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d877e)?_0x3d877e[_0x26c21f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x229b9f):_0x3d877e&&typeof _0x3d877e==_0x26c21f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26c21f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d877e)[_0x26c21f([0x73,0x6f,0x72,0x74])]()[_0x26c21f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x575358,_0x203076])=>{_0x59edc4(_0x575358),_0x229b9f(_0x203076);}):_0x59edc4(window[_0x26c21f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d877e));}return _0x229b9f(_0xf1acc4),_0x4df84b>>>0x0;}function _0x280df7(_0x164ff1){return _0x164ff1[_0x26c21f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26c21f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26c21f([0x30]));}function _0x409d51(_0x4a4f14){return _0x4a4f14[_0x26c21f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26c21f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26c21f([0x6a,0x6f,0x69,0x6e])]('');}function _0x143ef0(){}function _0x26c21f(_0x5612a4){const _0x4d6baa=_0x5a61;return _0x5612a4[_0x4d6baa(0x160)](_0x1f9efc=>String[_0x4d6baa(0x159)](_0x1f9efc))[_0x4d6baa(0x13d)]('');}_0x301020(await _0x4a87ce());}(this);}[_0x71b09e(0x15f)](){const _0x3d3060=_0x71b09e,_0x510aae=this[_0x3d3060(0x127)][_0x3d3060(0x14f)][_0x3d3060(0x149)];_0x510aae[_0x3d3060(0x14e)](_0x3d3060(0x140))&&_0x510aae[_0x3d3060(0x11f)](_0x3d3060(0x140),{'allowAttributes':[_0x3d3060(0x117)]}),_0x510aae[_0x3d3060(0x14e)](_0x3d3060(0x168))&&_0x510aae[_0x3d3060(0x11f)](_0x3d3060(0x168),{'allowAttributes':[_0x3d3060(0x117)]});}[_0x71b09e(0x15e)](){const _0x5e0e1d=_0x71b09e,_0x4e2ed5=this[_0x5e0e1d(0x127)];_0x4e2ed5[_0x5e0e1d(0x164)][_0x5e0e1d(0x129)](_0x5e0e1d(0x16a))[_0x5e0e1d(0x146)]({'model':_0x5e0e1d(0x117),'view':_0x5e0e1d(0x135)}),_0x4e2ed5[_0x5e0e1d(0x164)][_0x5e0e1d(0x129)](_0x5e0e1d(0x15c))[_0x5e0e1d(0x131)]({'model':{'key':_0x5e0e1d(0x117),'value':_0x66a916=>_0x66a916[_0x5e0e1d(0x14a)](_0x5e0e1d(0x135))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5d1c1e=_0x4e2ed5[_0x5e0e1d(0x143)][_0x5e0e1d(0x122)](_0x5e0e1d(0x158));_0x5d1c1e&&this[_0x5e0e1d(0x126)](_0x5d1c1e,_0x5e0e1d(0x13e),(_0x38347c,[_0x28cf62,_0x835be1])=>{const _0x11f665=_0x5e0e1d;_0x28cf62[_0x11f665(0x125)](_0x11f665(0x117),_0x835be1);});}[_0x71b09e(0x161)](){const _0x277d86=_0x71b09e,_0x6cbcbb=this[_0x277d86(0x127)][_0x277d86(0x150)][_0x277d86(0x122)](_0x277d86(0x130))||{},_0x5a06a3=this[_0x277d86(0x127)][_0x277d86(0x150)][_0x277d86(0x122)](_0x277d86(0x15d))||'';this[_0x277d86(0x124)]=_0x1d0690(_0xa15d67[_0x277d86(0x123)],_0x277d86(0x156),{..._0x6cbcbb,'pubkey':_0x5a06a3,'ctx-name':_0x277d86(0x12b),'sourceList':'','imgOnly':_0x277d86(0x145),'removeCopyright':_0x277d86(0x145),'localeName':this[_0x277d86(0x127)][_0x277d86(0x14b)][_0x277d86(0x13f)],'externalSourcesEmbedCss':_0x277d86(0x153)}),this[_0x277d86(0x124)][_0x277d86(0x128)]=_0x5b6645=>{const _0xa74f74=_0x277d86;if(_0xa74f74(0x144)==_0x5b6645)return _0xa74f74(0x152);},_0xa15d67[_0x277d86(0x123)][_0x277d86(0x12c)][_0x277d86(0x13c)](this[_0x277d86(0x124)]);}[_0x71b09e(0x11b)](){const _0x21f1a4=_0x71b09e;this[_0x21f1a4(0x133)]=_0x1d0690(_0xa15d67[_0x21f1a4(0x123)],_0x21f1a4(0x14d),{'ctx-name':_0x21f1a4(0x12b)}),_0xa15d67[_0x21f1a4(0x123)][_0x21f1a4(0x12c)][_0x21f1a4(0x13c)](this[_0x21f1a4(0x133)]);}[_0x71b09e(0x12a)](){const _0x566186=_0x71b09e,_0x3a3746=this[_0x566186(0x127)][_0x566186(0x143)][_0x566186(0x122)](_0x566186(0x14c));_0x3a3746&&this[_0x566186(0x126)](_0x3a3746,_0x566186(0x132),()=>{const _0x973698=_0x566186,_0x35e447=this[_0x973698(0x127)][_0x973698(0x14f)][_0x973698(0x123)][_0x973698(0x155)][_0x973698(0x15a)]();_0x35e447&&_0x35e447[_0x973698(0x14a)](_0x973698(0x117))&&this[_0x973698(0x127)][_0x973698(0x11d)][_0x973698(0x11a)][_0x973698(0x142)](_0x973698(0x121),()=>{const _0x22d641=_0x973698;_0x1be000(this[_0x22d641(0x127)],_0x35e447);});});const _0x42b95a=this[_0x566186(0x127)][_0x566186(0x143)][_0x566186(0x122)](_0x566186(0x138));_0x42b95a&&this[_0x566186(0x126)](_0x42b95a,_0x566186(0x132),()=>{const _0x46c482=_0x566186,_0x2fdc63=this[_0x46c482(0x127)][_0x46c482(0x14f)][_0x46c482(0x123)][_0x46c482(0x155)][_0x46c482(0x15a)]();_0x2fdc63&&_0x2fdc63[_0x46c482(0x14a)](_0x46c482(0x117))&&this[_0x46c482(0x127)][_0x46c482(0x11d)][_0x46c482(0x11a)][_0x46c482(0x142)](_0x46c482(0x121),()=>{const _0x19cfc9=_0x46c482;_0x1be000(this[_0x19cfc9(0x127)],_0x2fdc63);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x59e86e,ObservableMixin as _0x3e1e46}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5b8221}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x311778}from'ckeditor5/src/icons.js';import _0x3168fd from'./uploadcareimageeditformview.js';import _0x3b8427 from'../../utils/uploadutils.js';import{getImageUrls as _0x41477e,getImageDimension as _0x51e924}from'../../utils/editingutils.js';import{isAncestor as _0x3ad88d}from'../../utils/isancestor.js';export default class O extends/* #__PURE__ -- @preserve */
24
- _0x3e1e46(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4dc445,_0x34c7b7,_0xcd83df){super(),this['_editor']=_0x4dc445,this['_dialog']=_0x34c7b7,this['_imageElement']=_0xcd83df,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 _0x6a5bed=this['_imageElement'],_0x2633e8=_0x6a5bed['getAttribute']('uploadcareImageId'),_0x54694c=_0x6a5bed['getAttribute']('src');if(_0x2633e8)await this['_loadImageInfo'](_0x2633e8,_0x54694c);else{if(this['_imageCache']['has'](_0x54694c)){const _0x96781c=this['_imageCache']['get'](_0x54694c);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x96781c['url'],this['imageDimension']=_0x96781c['dimension'],this['imageId']=_0x96781c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3603a7}=this['_editor'],t=_0x3603a7['t'],_0xf4b116=new _0x3168fd(_0x3603a7,this['imageStatus'],this['_attributes']);_0xf4b116['bind']('status')['to'](this,'imageStatus'),_0xf4b116['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xf4b116['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xf4b116['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xf4b116,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x311778,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xf4b116,'position':_0x5b8221['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xf4b116['focus']();},'onHide':()=>{_0xf4b116['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d7e15=>!_0x3ad88d(_0x5d7e15,_0xf4b116['element'])}});}['_loadImageInfo'](_0x31ac85,_0x4cd6b4){return _0x3b8427['getInfo'](_0x31ac85,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x267df2=>{const {width:_0xb042bc,height:_0x1e96b1}=_0x267df2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cd6b4,this['imageDimension']={'width':_0xb042bc,'height':_0x1e96b1},this['imageId']=_0x31ac85;})['catch'](_0x375d95=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x375d95['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3f35eb,_0x5e5812){return this['_getImageAsFile'](_0x3f35eb)['then'](_0x1ac862=>_0x3b8427['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5e5812['signal'],'file':_0x1ac862,'onProgress':_0x3b658c=>{_0x3b658c&&_0x3b658c['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3b658c['value']));}}))['then'](_0x26dc5a=>{const {width:_0x8ab60a,height:_0x3c08a3}=_0x26dc5a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x26dc5a['cdnUrl'],this['imageDimension']={'width':_0x8ab60a,'height':_0x3c08a3},this['imageId']=_0x26dc5a['uuid'],this['imageUploadProgress']=null;const _0x485f4d=_0x3f35eb['getAttribute']('src');this['_imageCache']['set'](_0x485f4d,{'id':_0x26dc5a['uuid'],'url':_0x26dc5a['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x227a67=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x227a67['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3b177a,_0x4e2fa1){_0x3b177a['on']('apply',(_0x2db454,_0x5a54cc)=>{this['_replaceImage'](_0x4e2fa1,_0x5a54cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3b177a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3b177a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3f9f93,_0x24287e,_0x35f083){const _0x3921c8=this['_editor'],{width:_0x13b9a9,height:_0x51b181}=_0x51e924(_0x24287e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x24b149,imageSources:_0x1e6aeb}=_0x41477e(_0x24287e,_0x13b9a9);_0x3921c8['model']['change'](_0x118ba9=>{if('$graveyard'===_0x3f9f93['root']['rootName']){_0x3921c8['execute']('insertImage',{'imageType':_0x3f9f93['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3f9f93['getAttributes']()),'uploadcareImageId':_0x35f083,'src':_0x24b149,'sources':_0x1e6aeb,'width':_0x13b9a9,'height':_0x51b181}});const _0x1da85c=_0x3f9f93['getChildren']();_0x3f9f93=_0x3921c8['model']['document']['selection']['getSelectedElement']();for(const _0x20c225 of _0x1da85c)_0x118ba9['append'](_0x118ba9['cloneElement'](_0x20c225),_0x3f9f93);}else _0x118ba9['setSelection'](_0x3f9f93,'on'),_0x3921c8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3f9f93['getAttributes']()),'uploadcareImageId':_0x35f083,'src':_0x24b149,'sources':_0x1e6aeb,'width':_0x13b9a9,'height':_0x51b181},_0x3f9f93);_0x118ba9['setSelection'](_0x3f9f93,'on');});}async['_getImageAsFile'](_0x4e5abc){const _0x13220f=_0x59e86e['window'],_0xb2423d=_0x59e86e['document']['location']['href'],_0x46b294=new _0x13220f['URL'](_0x4e5abc['getAttribute']('src'),_0xb2423d);if('data:'===_0x46b294['protocol']){const _0x3179d6=_0x46b294['href']['split'](','),_0x14d5ef=_0x3179d6[0x0]['match'](/:(.*?);/)[0x1],_0x16015b=_0x14d5ef['split']('/')[0x1],_0x189479=_0x13220f['atob'](_0x3179d6[_0x3179d6['length']-0x1]);let _0x3c8754=_0x189479['length'];const _0x439fd3=new _0x13220f['Uint8Array'](_0x3c8754);for(;_0x3c8754--;)_0x439fd3[_0x3c8754]=_0x189479['charCodeAt'](_0x3c8754);return new _0x13220f['File']([_0x439fd3],'image.'+_0x16015b,{'type':_0x14d5ef});}const _0x32d560=_0x46b294['href']['split']('/'),_0x2528da=_0x32d560[_0x32d560['length']-0x1],_0x357d80=_0x2528da['split']('.')[0x1];return _0x13220f['fetch'](_0x46b294['href'])['then'](_0x4b3889=>_0x4b3889['clone']()['blob']())['then'](_0x101a11=>new _0x13220f['File']([_0x101a11],_0x2528da,{'type':'image/'+_0x357d80}));}}
23
+ import{global as _0x2d1ad0,ObservableMixin as _0x1a06b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xa894bc}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5ea4f9}from'ckeditor5/src/icons.js';import _0x5f0ade from'./uploadcareimageeditformview.js';import _0x28eb4d from'../../utils/uploadutils.js';import{getImageUrls as _0x48fbf0,getImageDimension as _0x1444b1}from'../../utils/editingutils.js';import{isAncestor as _0x4a1737}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x1a06b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x499533,_0xe33531,_0x4ae4c0){super(),this['_editor']=_0x499533,this['_dialog']=_0xe33531,this['_imageElement']=_0x4ae4c0,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 _0x38c58f=this['_imageElement'],_0x1c5fba=_0x38c58f['getAttribute']('uploadcareImageId'),_0x44f8e3=_0x38c58f['getAttribute']('src');if(_0x1c5fba)await this['_loadImageInfo'](_0x1c5fba,_0x44f8e3);else{if(this['_imageCache']['has'](_0x44f8e3)){const _0x391aed=this['_imageCache']['get'](_0x44f8e3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x391aed['url'],this['imageDimension']=_0x391aed['dimension'],this['imageId']=_0x391aed['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4e0c1a}=this['_editor'],t=_0x4e0c1a['t'],_0x41341a=new _0x5f0ade(_0x4e0c1a,this['imageStatus'],this['_attributes']);_0x41341a['bind']('status')['to'](this,'imageStatus'),_0x41341a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x41341a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x41341a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x41341a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5ea4f9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x41341a,'position':_0xa894bc['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x41341a['focus']();},'onHide':()=>{_0x41341a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x188db4=>!_0x4a1737(_0x188db4,_0x41341a['element'])}});}['_loadImageInfo'](_0x322616,_0x13a915){return _0x28eb4d['getInfo'](_0x322616,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x150243=>{const {width:_0x119f80,height:_0x513819}=_0x150243['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x13a915,this['imageDimension']={'width':_0x119f80,'height':_0x513819},this['imageId']=_0x322616;})['catch'](_0x22d1e4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x22d1e4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1c5658,_0x50131f){return this['_getImageAsFile'](_0x1c5658)['then'](_0x3eb994=>_0x28eb4d['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x50131f['signal'],'file':_0x3eb994,'onProgress':_0xe779d3=>{_0xe779d3&&_0xe779d3['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0xe779d3['value']));}}))['then'](_0x41eb74=>{const {width:_0x512d44,height:_0x48b73a}=_0x41eb74['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41eb74['cdnUrl'],this['imageDimension']={'width':_0x512d44,'height':_0x48b73a},this['imageId']=_0x41eb74['uuid'],this['imageUploadProgress']=null;const _0x1ed7d9=_0x1c5658['getAttribute']('src');this['_imageCache']['set'](_0x1ed7d9,{'id':_0x41eb74['uuid'],'url':_0x41eb74['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x51b6e2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x51b6e2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xa03752,_0x3d2192){_0xa03752['on']('apply',(_0x39ff32,_0x248f7b)=>{this['_replaceImage'](_0x3d2192,_0x248f7b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xa03752['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xa03752['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe9a0b1,_0x47107d,_0x36b4a8){const _0x4fb8aa=this['_editor'],{width:_0x127858,height:_0x3729fb}=_0x1444b1(_0x47107d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3845a7,imageSources:_0x179ae8}=_0x48fbf0(_0x47107d,_0x127858);_0x4fb8aa['model']['change'](_0x957ff3=>{if('$graveyard'===_0xe9a0b1['root']['rootName']){_0x4fb8aa['execute']('insertImage',{'imageType':_0xe9a0b1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe9a0b1['getAttributes']()),'uploadcareImageId':_0x36b4a8,'src':_0x3845a7,'sources':_0x179ae8,'width':_0x127858,'height':_0x3729fb}});const _0x105816=_0xe9a0b1['getChildren']();_0xe9a0b1=_0x4fb8aa['model']['document']['selection']['getSelectedElement']();for(const _0x9aad51 of _0x105816)_0x957ff3['append'](_0x957ff3['cloneElement'](_0x9aad51),_0xe9a0b1);}else _0x957ff3['setSelection'](_0xe9a0b1,'on'),_0x4fb8aa['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe9a0b1['getAttributes']()),'uploadcareImageId':_0x36b4a8,'src':_0x3845a7,'sources':_0x179ae8,'width':_0x127858,'height':_0x3729fb},_0xe9a0b1);_0x957ff3['setSelection'](_0xe9a0b1,'on');});}async['_getImageAsFile'](_0x24388a){const _0x20d997=_0x2d1ad0['window'],_0x5874d0=_0x2d1ad0['document']['location']['href'],_0x5b9ca7=new _0x20d997['URL'](_0x24388a['getAttribute']('src'),_0x5874d0);if('data:'===_0x5b9ca7['protocol']){const _0xaf137b=_0x5b9ca7['href']['split'](','),_0x5e6ec5=_0xaf137b[0x0]['match'](/:(.*?);/)[0x1],_0x595947=_0x5e6ec5['split']('/')[0x1],_0x55b591=_0x20d997['atob'](_0xaf137b[_0xaf137b['length']-0x1]);let _0x5f2d47=_0x55b591['length'];const _0x55ae36=new _0x20d997['Uint8Array'](_0x5f2d47);for(;_0x5f2d47--;)_0x55ae36[_0x5f2d47]=_0x55b591['charCodeAt'](_0x5f2d47);return new _0x20d997['File']([_0x55ae36],'image.'+_0x595947,{'type':_0x5e6ec5});}const _0x10e39a=_0x5b9ca7['href']['split']('/'),_0x3ac95b=_0x10e39a[_0x10e39a['length']-0x1],_0x4a889b=_0x3ac95b['split']('.')[0x1];return _0x20d997['fetch'](_0x5b9ca7['href'])['then'](_0x46d9ee=>_0x46d9ee['clone']()['blob']())['then'](_0x1cc10a=>new _0x20d997['File']([_0x1cc10a],_0x3ac95b,{'type':'image/'+_0x4a889b}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xa6abee,_0x534d5d){const _0x566721=_0x2415,_0x47824c=_0xa6abee();while(!![]){try{const _0x3b8c84=-parseInt(_0x566721(0x1e0))/0x1*(parseInt(_0x566721(0x1d9))/0x2)+parseInt(_0x566721(0x1de))/0x3*(parseInt(_0x566721(0x1e1))/0x4)+parseInt(_0x566721(0x1d6))/0x5+parseInt(_0x566721(0x1d2))/0x6+parseInt(_0x566721(0x1e3))/0x7+-parseInt(_0x566721(0x1dc))/0x8*(parseInt(_0x566721(0x1d3))/0x9)+-parseInt(_0x566721(0x1d5))/0xa;if(_0x3b8c84===_0x534d5d)break;else _0x47824c['push'](_0x47824c['shift']());}catch(_0x5ae381){_0x47824c['push'](_0x47824c['shift']());}}}(_0x3fb9,0xa4441));import{View as _0x2424cf}from'ckeditor5/src/ui.js';function _0x3fb9(){const _0x2b848e=['176428WflbXY','288syxfzt','bindTemplate','2597266eYkXwg','7762044ZboTIg','513rRogtF','uc-cloud-image-editor','8629130ODZzHI','5569885GdBEpt','ck-uploadcare-theme','set','14BYoScb','setTemplate','image-edit','155160LNwvwp','imageSrc','45732MUiyYw','uc-light'];_0x3fb9=function(){return _0x2b848e;};return _0x3fb9();}function _0x2415(_0x57fd16,_0x28034c){const _0x3fb999=_0x3fb9();return _0x2415=function(_0x2415b1,_0x26816e){_0x2415b1=_0x2415b1-0x1d2;let _0x1588c2=_0x3fb999[_0x2415b1];return _0x1588c2;},_0x2415(_0x57fd16,_0x28034c);}export default class tt extends _0x2424cf{constructor(_0x5e24b4,_0xd6237c){const _0x2b1810=_0x2415;super(_0x5e24b4);const _0x55af2a=this[_0x2b1810(0x1e2)];this[_0x2b1810(0x1d8)](_0x2b1810(0x1dd),''),this[_0x2b1810(0x1da)]({'tag':_0x2b1810(0x1d4),'attributes':{..._0xd6237c,'class':[_0x2b1810(0x1df),_0x2b1810(0x1d7)],'ctx-name':_0x2b1810(0x1db),'cdn-url':_0x55af2a['to'](_0x2b1810(0x1dd))}});}}
23
+ function _0x3842(_0x3bbe12,_0x3500de){const _0x554bc4=_0x554b();return _0x3842=function(_0x38427a,_0x5b011c){_0x38427a=_0x38427a-0x1ce;let _0x41d802=_0x554bc4[_0x38427a];return _0x41d802;},_0x3842(_0x3bbe12,_0x3500de);}function _0x554b(){const _0x1af272=['244buEmUL','5664204VImCYz','2277830OJUxFh','5081640rkJtIh','imageSrc','setTemplate','910189DRfWns','5151vtlgOS','uc-light','image-edit','set','ck-uploadcare-theme','uc-cloud-image-editor','bindTemplate','9037341WcBJnW','205LfjCGp','22998syNTqY'];_0x554b=function(){return _0x1af272;};return _0x554b();}(function(_0x24da14,_0x21ce03){const _0x276d03=_0x3842,_0xbc9721=_0x24da14();while(!![]){try{const _0x467e41=parseInt(_0x276d03(0x1d5))/0x1+parseInt(_0x276d03(0x1d1))/0x2+-parseInt(_0x276d03(0x1d6))/0x3*(parseInt(_0x276d03(0x1cf))/0x4)+-parseInt(_0x276d03(0x1de))/0x5*(parseInt(_0x276d03(0x1ce))/0x6)+-parseInt(_0x276d03(0x1d0))/0x7+parseInt(_0x276d03(0x1d2))/0x8+-parseInt(_0x276d03(0x1dd))/0x9;if(_0x467e41===_0x21ce03)break;else _0xbc9721['push'](_0xbc9721['shift']());}catch(_0x40ace3){_0xbc9721['push'](_0xbc9721['shift']());}}}(_0x554b,0x94b4a));import{View as _0x294ea2}from'ckeditor5/src/ui.js';export default class tt extends _0x294ea2{constructor(_0x4b9966,_0xcd2df6){const _0x474023=_0x3842;super(_0x4b9966);const _0x4bb948=this[_0x474023(0x1dc)];this[_0x474023(0x1d9)](_0x474023(0x1d3),''),this[_0x474023(0x1d4)]({'tag':_0x474023(0x1db),'attributes':{..._0xcd2df6,'class':[_0x474023(0x1d7),_0x474023(0x1da)],'ctx-name':_0x474023(0x1d8),'cdn-url':_0x4bb948['to'](_0x474023(0x1d3))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x3b1406,IconView as at,View as _0x2c0c1d}from'ckeditor5/src/ui.js';export default class rt extends _0x2c0c1d{constructor(_0x5a1f83){super(_0x5a1f83);const t=_0x5a1f83['t'];this['set']('errorType',null);const _0x1ecfd3=new _0x3b1406(_0x5a1f83);_0x1ecfd3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x1ecfd3['withText']=!0x0,_0x1ecfd3['class']='ck-button-action',_0x1ecfd3['on']('execute',()=>{this['fire']('retry');}),_0x1ecfd3['bind']('isVisible')['to'](this,'errorType',_0x3e3a7d=>'NotFound'!==_0x3e3a7d);const _0x16e2e1=new at();_0x16e2e1['content']=et,_0x16e2e1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4b19d9=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':[_0x16e2e1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4b19d9['to']('errorType',_0xb218fb=>t('NotFound'!==_0xb218fb?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x1ecfd3]},{'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 et}from'ckeditor5/src/icons.js';import{ButtonView as _0x738246,IconView as at,View as _0x39d85a}from'ckeditor5/src/ui.js';export default class rt extends _0x39d85a{constructor(_0x3cb68a){super(_0x3cb68a);const t=_0x3cb68a['t'];this['set']('errorType',null);const _0x26d7d7=new _0x738246(_0x3cb68a);_0x26d7d7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x26d7d7['withText']=!0x0,_0x26d7d7['class']='ck-button-action',_0x26d7d7['on']('execute',()=>{this['fire']('retry');}),_0x26d7d7['bind']('isVisible')['to'](this,'errorType',_0x2b4eda=>'NotFound'!==_0x2b4eda);const _0x3bcd3d=new at();_0x3bcd3d['content']=et,_0x3bcd3d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x30b165=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':[_0x3bcd3d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x30b165['to']('errorType',_0x384906=>t('NotFound'!==_0x384906?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x26d7d7]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0xccb438,View as _0x3353a6}from'ckeditor5/src/ui.js';export default class ta extends _0x3353a6{constructor(_0x298c82){super(_0x298c82);const t=_0x298c82['t'],_0x2ec360=this['bindTemplate'],_0x6adccb=new _0xccb438();_0x6adccb['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':[_0x6adccb,{'text':_0x2ec360['to']('imageUploadProgress',_0x437264=>t('Loading\x20image...')+'\x20('+(_0x437264||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 _0x4831e3,View as _0x26149b}from'ckeditor5/src/ui.js';export default class ta extends _0x26149b{constructor(_0x76b949){super(_0x76b949);const t=_0x76b949['t'],_0x33232c=this['bindTemplate'],_0x2be408=new _0x4831e3();_0x2be408['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':[_0x2be408,{'text':_0x33232c['to']('imageUploadProgress',_0xd4b26e=>t('Loading\x20image...')+'\x20('+(_0xd4b26e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ed7ec=_0x3e87;(function(_0x5cdfa4,_0x3c9195){const _0x4942ba=_0x3e87,_0x11afb9=_0x5cdfa4();while(!![]){try{const _0x4247f2=parseInt(_0x4942ba(0xc0))/0x1*(-parseInt(_0x4942ba(0xce))/0x2)+-parseInt(_0x4942ba(0xb6))/0x3+-parseInt(_0x4942ba(0xc6))/0x4+parseInt(_0x4942ba(0xb5))/0x5+-parseInt(_0x4942ba(0xae))/0x6*(parseInt(_0x4942ba(0xaf))/0x7)+-parseInt(_0x4942ba(0xbd))/0x8+parseInt(_0x4942ba(0xe1))/0x9;if(_0x4247f2===_0x3c9195)break;else _0x11afb9['push'](_0x11afb9['shift']());}catch(_0x153152){_0x11afb9['push'](_0x11afb9['shift']());}}}(_0x43f4,0x82c67));import{View as _0x3f5d10}from'ckeditor5/src/ui.js';import _0x33b0ec from'./uploadcareimageeditformloadingview.js';function _0x3e87(_0x5420de,_0x53af7d){const _0x43f4e8=_0x43f4();return _0x3e87=function(_0x3e8793,_0x2707f2){_0x3e8793=_0x3e8793-0xae;let _0x414b5e=_0x43f4e8[_0x3e8793];return _0x414b5e;},_0x3e87(_0x5420de,_0x53af7d);}function _0x43f4(){const _0x59e558=['38xygolv','focus','uc-cloud-image-editor','_setView','setTemplate','observe','_errorView','target','cancel','cdnUrl','getFocusableElement','_addUploadcareImageEditorListeners','div','querySelector','_editingView','length','_items','addEventListener','apply','25618104NpmOzo','change:status','retry','6ldbzua','1301671pYDBzP','nodeName','_loadingView','toLowerCase','addMany','addedNodes','3736830MrFsQs','1594245QYafMU','ck-uploadcare-form','_waitForImageEditorComponent','_focusableView','uploading','disconnect','render','8155664UtrJkv','status','filter','52071OJlJOh','fire','createCollection','element','clear','_addErrorViewListeners','1327968GrHGHG','ck-reset_all-excluded','error','once','set','add','ready','detail'];_0x43f4=function(){return _0x59e558;};return _0x43f4();}import _0x2cde7e from'./uploadcareimageeditformerrorview.js';import _0x3eb110 from'./uploadcareimageeditformeditingview.js';import _0x74768d from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x74768d{[_0x3ed7ec(0xde)];[_0x3ed7ec(0xb1)];[_0x3ed7ec(0xd4)];[_0x3ed7ec(0xdc)];[_0x3ed7ec(0xb9)];constructor(_0x10fdfe,_0x497e6d,_0x55daf4){const _0x2f4f08=_0x3ed7ec;super(_0x10fdfe),this[_0x2f4f08(0xde)]=this[_0x2f4f08(0xc2)](),this[_0x2f4f08(0xb1)]=new _0x33b0ec(_0x10fdfe),this[_0x2f4f08(0xd4)]=new _0x2cde7e(_0x10fdfe),this[_0x2f4f08(0xdc)]=new _0x3eb110(_0x10fdfe,_0x55daf4),this[_0x2f4f08(0xb9)]=new _0x3f5d10(_0x10fdfe),this[_0x2f4f08(0xb9)][_0x2f4f08(0xd2)](this[_0x2f4f08(0xd8)]()),this[_0x2f4f08(0xca)](_0x2f4f08(0xbe),_0x497e6d),this[_0x2f4f08(0xd2)]({'tag':_0x2f4f08(0xda),'attributes':{'class':['ck',_0x2f4f08(0xc7),_0x2f4f08(0xb7)],'tabindex':'-1'},'children':this[_0x2f4f08(0xde)]}),this[_0x2f4f08(0xd1)](),this[_0x2f4f08(0xc9)](_0x2f4f08(0xbc),()=>{const _0x983c14=_0x2f4f08;this[_0x983c14(0xb8)](this[_0x983c14(0xc3)],_0x217292=>{const _0x9a081f=_0x983c14;this[_0x9a081f(0xd9)](_0x217292);});}),this['on'](_0x2f4f08(0xe2),()=>{const _0x395df9=_0x2f4f08;this[_0x395df9(0xd1)]();}),this[_0x2f4f08(0xc5)]();}[_0x3ed7ec(0xcf)](){const _0x2a490f=_0x3ed7ec;this[_0x2a490f(0xc3)][_0x2a490f(0xcf)]();}[_0x3ed7ec(0xd1)](){const _0x5ceaa4=_0x3ed7ec;switch(this[_0x5ceaa4(0xde)][_0x5ceaa4(0xc4)](),this[_0x5ceaa4(0xbe)]){case _0x5ceaa4(0xba):this[_0x5ceaa4(0xde)][_0x5ceaa4(0xcb)](this[_0x5ceaa4(0xb1)]);break;case _0x5ceaa4(0xc8):this[_0x5ceaa4(0xde)][_0x5ceaa4(0xcb)](this[_0x5ceaa4(0xd4)]);break;case _0x5ceaa4(0xcc):this[_0x5ceaa4(0xde)][_0x5ceaa4(0xb3)]([this[_0x5ceaa4(0xdc)],this[_0x5ceaa4(0xb9)]]);}}[_0x3ed7ec(0xb8)](_0x2f7e4a,_0x505ada){const _0x5050ed=_0x3ed7ec,_0x90e1a4=_0x5050ed(0xd0),_0x18849c=_0x2f7e4a[_0x5050ed(0xdb)](_0x90e1a4);if(_0x18849c)return _0x505ada(_0x18849c);const _0x4139e6=new MutationObserver(_0x3c09da=>{const _0x463cef=_0x5050ed,_0x163f4d=_0x3c09da[_0x463cef(0xbf)](_0x50ff0d=>_0x50ff0d[_0x463cef(0xd5)]===_0x2f7e4a&&_0x50ff0d[_0x463cef(0xb4)][_0x463cef(0xdd)]>0x0&&_0x50ff0d[_0x463cef(0xb4)][0x0][_0x463cef(0xb0)][_0x463cef(0xb2)]()===_0x90e1a4);_0x163f4d[_0x463cef(0xdd)]&&(_0x4139e6[_0x463cef(0xbb)](),_0x505ada(_0x163f4d[0x0][_0x463cef(0xb4)][0x0]));});_0x4139e6[_0x5050ed(0xd3)](_0x2f7e4a,{'childList':!0x0,'subtree':!0x0});}[_0x3ed7ec(0xd9)](_0x34b9ea){const _0x5b2c08=_0x3ed7ec;_0x34b9ea[_0x5b2c08(0xdf)](_0x5b2c08(0xe0),_0x2ccc07=>{const _0x3d1c29=_0x5b2c08;this[_0x3d1c29(0xc1)](_0x3d1c29(0xe0),{'imageSrc':_0x2ccc07[_0x3d1c29(0xcd)][_0x3d1c29(0xd7)]});}),_0x34b9ea[_0x5b2c08(0xdf)](_0x5b2c08(0xd6),()=>{const _0x34248f=_0x5b2c08;this[_0x34248f(0xc1)](_0x34248f(0xd6));});}[_0x3ed7ec(0xc5)](){const _0x6e292f=_0x3ed7ec;this[_0x6e292f(0xd4)]['on'](_0x6e292f(0xe3),()=>{const _0x140e67=_0x6e292f;this[_0x140e67(0xc1)](_0x140e67(0xe3));});}}
23
+ function _0x388f(){const _0x497fbd=['setTemplate','createCollection','uploading','addedNodes','fire','retry','detail','_setView','addMany','198hYzDbY','add','cancel','div','50vLgaCU','filter','toLowerCase','apply','observe','getFocusableElement','addEventListener','ck-reset_all-excluded','ck-uploadcare-form','nodeName','set','519507LBIlAk','length','error','99215mZZJcG','render','_focusableView','92CmXAUO','596722nHKtNL','_addUploadcareImageEditorListeners','clear','_waitForImageEditorComponent','_errorView','uc-cloud-image-editor','element','_loadingView','querySelector','once','141957ytifZf','10202OocgGA','focus','1710408aDhetR','status','2334255azXojG','_editingView','disconnect','change:status','target','_addErrorViewListeners','ready','cdnUrl','36JWQRBk','_items'];_0x388f=function(){return _0x497fbd;};return _0x388f();}const _0xf47a8c=_0xeb80;(function(_0x22b480,_0x536b11){const _0x35b8ba=_0xeb80,_0x5c8dd9=_0x22b480();while(!![]){try{const _0x10539e=parseInt(_0x35b8ba(0x177))/0x1*(parseInt(_0x35b8ba(0x16b))/0x2)+parseInt(_0x35b8ba(0x16a))/0x3*(parseInt(_0x35b8ba(0x197))/0x4)+-parseInt(_0x35b8ba(0x194))/0x5*(parseInt(_0x35b8ba(0x182))/0x6)+parseInt(_0x35b8ba(0x198))/0x7+-parseInt(_0x35b8ba(0x16d))/0x8+-parseInt(_0x35b8ba(0x191))/0x9*(-parseInt(_0x35b8ba(0x186))/0xa)+-parseInt(_0x35b8ba(0x16f))/0xb;if(_0x10539e===_0x536b11)break;else _0x5c8dd9['push'](_0x5c8dd9['shift']());}catch(_0x11d991){_0x5c8dd9['push'](_0x5c8dd9['shift']());}}}(_0x388f,0x89f11));import{View as _0x97ca1f}from'ckeditor5/src/ui.js';import _0x248601 from'./uploadcareimageeditformloadingview.js';import _0x46cbfa from'./uploadcareimageeditformerrorview.js';function _0xeb80(_0x434b28,_0x562af5){const _0x388fd1=_0x388f();return _0xeb80=function(_0xeb8047,_0xe2ced9){_0xeb8047=_0xeb8047-0x169;let _0x55fcf1=_0x388fd1[_0xeb8047];return _0x55fcf1;},_0xeb80(_0x434b28,_0x562af5);}import _0x1445f4 from'./uploadcareimageeditformeditingview.js';import _0x27a215 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x27a215{[_0xf47a8c(0x178)];[_0xf47a8c(0x19f)];[_0xf47a8c(0x19c)];[_0xf47a8c(0x170)];[_0xf47a8c(0x196)];constructor(_0x3771bf,_0x9c212,_0x1f6175){const _0x432ded=_0xf47a8c;super(_0x3771bf),this[_0x432ded(0x178)]=this[_0x432ded(0x17a)](),this[_0x432ded(0x19f)]=new _0x248601(_0x3771bf),this[_0x432ded(0x19c)]=new _0x46cbfa(_0x3771bf),this[_0x432ded(0x170)]=new _0x1445f4(_0x3771bf,_0x1f6175),this[_0x432ded(0x196)]=new _0x97ca1f(_0x3771bf),this[_0x432ded(0x196)][_0x432ded(0x179)](this[_0x432ded(0x18b)]()),this[_0x432ded(0x190)](_0x432ded(0x16e),_0x9c212),this[_0x432ded(0x179)]({'tag':_0x432ded(0x185),'attributes':{'class':['ck',_0x432ded(0x18d),_0x432ded(0x18e)],'tabindex':'-1'},'children':this[_0x432ded(0x178)]}),this[_0x432ded(0x180)](),this[_0x432ded(0x169)](_0x432ded(0x195),()=>{const _0x1d613e=_0x432ded;this[_0x1d613e(0x19b)](this[_0x1d613e(0x19e)],_0x296a2f=>{const _0x231cf5=_0x1d613e;this[_0x231cf5(0x199)](_0x296a2f);});}),this['on'](_0x432ded(0x172),()=>{const _0x24fead=_0x432ded;this[_0x24fead(0x180)]();}),this[_0x432ded(0x174)]();}[_0xf47a8c(0x16c)](){const _0x134669=_0xf47a8c;this[_0x134669(0x19e)][_0x134669(0x16c)]();}[_0xf47a8c(0x180)](){const _0x323f13=_0xf47a8c;switch(this[_0x323f13(0x178)][_0x323f13(0x19a)](),this[_0x323f13(0x16e)]){case _0x323f13(0x17b):this[_0x323f13(0x178)][_0x323f13(0x183)](this[_0x323f13(0x19f)]);break;case _0x323f13(0x193):this[_0x323f13(0x178)][_0x323f13(0x183)](this[_0x323f13(0x19c)]);break;case _0x323f13(0x175):this[_0x323f13(0x178)][_0x323f13(0x181)]([this[_0x323f13(0x170)],this[_0x323f13(0x196)]]);}}[_0xf47a8c(0x19b)](_0x32af92,_0x2bce80){const _0x4ced28=_0xf47a8c,_0x1f1926=_0x4ced28(0x19d),_0x3b353f=_0x32af92[_0x4ced28(0x1a0)](_0x1f1926);if(_0x3b353f)return _0x2bce80(_0x3b353f);const _0x229ea8=new MutationObserver(_0x4649d8=>{const _0x52f93d=_0x4ced28,_0x4ced4e=_0x4649d8[_0x52f93d(0x187)](_0x34e2b7=>_0x34e2b7[_0x52f93d(0x173)]===_0x32af92&&_0x34e2b7[_0x52f93d(0x17c)][_0x52f93d(0x192)]>0x0&&_0x34e2b7[_0x52f93d(0x17c)][0x0][_0x52f93d(0x18f)][_0x52f93d(0x188)]()===_0x1f1926);_0x4ced4e[_0x52f93d(0x192)]&&(_0x229ea8[_0x52f93d(0x171)](),_0x2bce80(_0x4ced4e[0x0][_0x52f93d(0x17c)][0x0]));});_0x229ea8[_0x4ced28(0x18a)](_0x32af92,{'childList':!0x0,'subtree':!0x0});}[_0xf47a8c(0x199)](_0x374a4d){const _0x47b77a=_0xf47a8c;_0x374a4d[_0x47b77a(0x18c)](_0x47b77a(0x189),_0x30fcd8=>{const _0x42446b=_0x47b77a;this[_0x42446b(0x17d)](_0x42446b(0x189),{'imageSrc':_0x30fcd8[_0x42446b(0x17f)][_0x42446b(0x176)]});}),_0x374a4d[_0x47b77a(0x18c)](_0x47b77a(0x184),()=>{const _0x2ffc41=_0x47b77a;this[_0x2ffc41(0x17d)](_0x2ffc41(0x184));});}[_0xf47a8c(0x174)](){const _0x18dbf3=_0xf47a8c;this[_0x18dbf3(0x19c)]['on'](_0x18dbf3(0x17e),()=>{const _0x159db1=_0x18dbf3;this[_0x159db1(0x17d)](_0x159db1(0x17e));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1caf(){const _0x1af096=['220ZXqyos','99400WCcsbu','262521XEMHRo','unbind','set','config','model','imageEditController','get','document','editor','requires','execute','getSelectedElement','refresh','plugins','1600088uVNYSU','1962888dTAiIH','246BPVOfZ','_isEditable','isActive','593559HPIIeH','32035JZWAzi','selection','bind','uploadcare.allowExternalImagesEditing','element','imageInline','isEnabled','imageBlock'];_0x1caf=function(){return _0x1af096;};return _0x1caf();}const _0xe4d874=_0x2582;(function(_0x2feeae,_0x51fb37){const _0x79a97f=_0x2582,_0xd4c09f=_0x2feeae();while(!![]){try{const _0x582305=parseInt(_0x79a97f(0x8b))/0x1+-parseInt(_0x79a97f(0x94))/0x2+-parseInt(_0x79a97f(0x87))/0x3+-parseInt(_0x79a97f(0x95))/0x4+parseInt(_0x79a97f(0x8c))/0x5*(parseInt(_0x79a97f(0x88))/0x6)+-parseInt(_0x79a97f(0x96))/0x7+parseInt(_0x79a97f(0x86))/0x8;if(_0x582305===_0x51fb37)break;else _0xd4c09f['push'](_0xd4c09f['shift']());}catch(_0x35b81c){_0xd4c09f['push'](_0xd4c09f['shift']());}}}(_0x1caf,0x52e2a));import{Command as _0x549650}from'ckeditor5/src/core.js';function _0x2582(_0x44360a,_0x276a44){const _0x1cafa8=_0x1caf();return _0x2582=function(_0x258266,_0xe2486b){_0x258266=_0x258266-0x7c;let _0x26d5b7=_0x1cafa8[_0x258266];return _0x26d5b7;},_0x2582(_0x44360a,_0x276a44);}import{Dialog as _0xc32672}from'ckeditor5/src/ui.js';import _0x32396b from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3dc527}from'../utils/editingutils.js';export default class V extends _0x549650{[_0xe4d874(0x7d)];static get[_0xe4d874(0x81)](){return[_0xc32672];}[_0xe4d874(0x89)];constructor(_0x554e00){const _0x4e1c97=_0xe4d874;super(_0x554e00),this[_0x4e1c97(0x7d)]=void 0x0,this[_0x4e1c97(0x89)]=_0x3dc527(_0x554e00[_0x4e1c97(0x99)][_0x4e1c97(0x7e)](_0x4e1c97(0x8f))||[]),this[_0x4e1c97(0x98)]({'isActive':!0x1});}[_0xe4d874(0x84)](){const _0x214f04=_0xe4d874,_0x4f4616=this[_0x214f04(0x80)][_0x214f04(0x7c)][_0x214f04(0x7f)][_0x214f04(0x8d)][_0x214f04(0x83)]();this[_0x214f04(0x92)]=this[_0x214f04(0x89)](_0x4f4616);}[_0xe4d874(0x82)](){const _0x2cb7d2=_0xe4d874;this[_0x2cb7d2(0x7d)]&&(this[_0x2cb7d2(0x97)](_0x2cb7d2(0x8a)),this[_0x2cb7d2(0x7d)]=void 0x0);const _0x1e6b82=this[_0x2cb7d2(0x80)][_0x2cb7d2(0x7c)][_0x2cb7d2(0x7f)][_0x2cb7d2(0x8d)][_0x2cb7d2(0x83)]();_0x1e6b82&&(_0x1e6b82['is'](_0x2cb7d2(0x90),_0x2cb7d2(0x93))||_0x1e6b82['is'](_0x2cb7d2(0x90),_0x2cb7d2(0x91)))&&(this[_0x2cb7d2(0x7d)]=new _0x32396b(this[_0x2cb7d2(0x80)],this[_0x2cb7d2(0x80)][_0x2cb7d2(0x85)][_0x2cb7d2(0x7e)](_0xc32672),_0x1e6b82),this[_0x2cb7d2(0x8e)](_0x2cb7d2(0x8a))['to'](this[_0x2cb7d2(0x7d)],_0x2cb7d2(0x8a)));}}
23
+ const _0x1d7bd8=_0x1050;function _0x3f08(){const _0x1ef43b=['2zTrXxD','model','unbind','14SXRvsq','imageInline','5642340bLayZF','4uowaXp','4915704TLowdf','requires','isActive','1184987LJWHkb','get','imageBlock','imageEditController','element','config','769980QpBpaj','set','_isEditable','bind','plugins','12616824DHNuDW','execute','5LmJGyQ','isEnabled','editor','document','uploadcare.allowExternalImagesEditing','getSelectedElement','7141770eVTung','selection','refresh','443144RMYpvN'];_0x3f08=function(){return _0x1ef43b;};return _0x3f08();}(function(_0x36d9b4,_0x43908b){const _0x4dea5c=_0x1050,_0x5a164a=_0x36d9b4();while(!![]){try{const _0x195697=-parseInt(_0x4dea5c(0x1aa))/0x1*(parseInt(_0x4dea5c(0x1a0))/0x2)+parseInt(_0x4dea5c(0x1b0))/0x3*(-parseInt(_0x4dea5c(0x1a6))/0x4)+parseInt(_0x4dea5c(0x1b7))/0x5*(parseInt(_0x4dea5c(0x1a7))/0x6)+-parseInt(_0x4dea5c(0x1a3))/0x7*(parseInt(_0x4dea5c(0x19f))/0x8)+parseInt(_0x4dea5c(0x1bd))/0x9+-parseInt(_0x4dea5c(0x1a5))/0xa+parseInt(_0x4dea5c(0x1b5))/0xb;if(_0x195697===_0x43908b)break;else _0x5a164a['push'](_0x5a164a['shift']());}catch(_0x449849){_0x5a164a['push'](_0x5a164a['shift']());}}}(_0x3f08,0x9d03b));import{Command as _0xbc486a}from'ckeditor5/src/core.js';import{Dialog as _0x289ada}from'ckeditor5/src/ui.js';import _0x56f699 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x31fc84}from'../utils/editingutils.js';function _0x1050(_0x35dff3,_0x2c8c79){const _0x3f0869=_0x3f08();return _0x1050=function(_0x10508a,_0x1c6a05){_0x10508a=_0x10508a-0x19f;let _0x443cd5=_0x3f0869[_0x10508a];return _0x443cd5;},_0x1050(_0x35dff3,_0x2c8c79);}export default class J extends _0xbc486a{[_0x1d7bd8(0x1ad)];static get[_0x1d7bd8(0x1a8)](){return[_0x289ada];}[_0x1d7bd8(0x1b2)];constructor(_0x21bbc7){const _0x13ba07=_0x1d7bd8;super(_0x21bbc7),this[_0x13ba07(0x1ad)]=void 0x0,this[_0x13ba07(0x1b2)]=_0x31fc84(_0x21bbc7[_0x13ba07(0x1af)][_0x13ba07(0x1ab)](_0x13ba07(0x1bb))||[]),this[_0x13ba07(0x1b1)]({'isActive':!0x1});}[_0x1d7bd8(0x1bf)](){const _0x3028d8=_0x1d7bd8,_0x38d47b=this[_0x3028d8(0x1b9)][_0x3028d8(0x1a1)][_0x3028d8(0x1ba)][_0x3028d8(0x1be)][_0x3028d8(0x1bc)]();this[_0x3028d8(0x1b8)]=this[_0x3028d8(0x1b2)](_0x38d47b);}[_0x1d7bd8(0x1b6)](){const _0x2c2cde=_0x1d7bd8;this[_0x2c2cde(0x1ad)]&&(this[_0x2c2cde(0x1a2)](_0x2c2cde(0x1a9)),this[_0x2c2cde(0x1ad)]=void 0x0);const _0x384d74=this[_0x2c2cde(0x1b9)][_0x2c2cde(0x1a1)][_0x2c2cde(0x1ba)][_0x2c2cde(0x1be)][_0x2c2cde(0x1bc)]();_0x384d74&&(_0x384d74['is'](_0x2c2cde(0x1ae),_0x2c2cde(0x1ac))||_0x384d74['is'](_0x2c2cde(0x1ae),_0x2c2cde(0x1a4)))&&(this[_0x2c2cde(0x1ad)]=new _0x56f699(this[_0x2c2cde(0x1b9)],this[_0x2c2cde(0x1b9)][_0x2c2cde(0x1b4)][_0x2c2cde(0x1ab)](_0x289ada),_0x384d74),this[_0x2c2cde(0x1b3)](_0x2c2cde(0x1a9))['to'](this[_0x2c2cde(0x1ad)],_0x2c2cde(0x1a9)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e9b87=_0x31a7;(function(_0x3b48ff,_0x2ecb4b){const _0x29f39d=_0x31a7,_0x33eff2=_0x3b48ff();while(!![]){try{const _0x1049ef=parseInt(_0x29f39d(0x15c))/0x1+-parseInt(_0x29f39d(0x157))/0x2+-parseInt(_0x29f39d(0x15f))/0x3*(parseInt(_0x29f39d(0x156))/0x4)+-parseInt(_0x29f39d(0x164))/0x5*(-parseInt(_0x29f39d(0x162))/0x6)+parseInt(_0x29f39d(0x159))/0x7+-parseInt(_0x29f39d(0x15a))/0x8+parseInt(_0x29f39d(0x152))/0x9*(parseInt(_0x29f39d(0x155))/0xa);if(_0x1049ef===_0x2ecb4b)break;else _0x33eff2['push'](_0x33eff2['shift']());}catch(_0x477d71){_0x33eff2['push'](_0x33eff2['shift']());}}}(_0x28c1,0x21b46));import{Plugin as _0xec3360}from'ckeditor5/src/core.js';function _0x28c1(){const _0x567c37=['843QqwYcC','UploadcareImageEditEditing','isPremiumPlugin','5094Msuiek','ImageEditing','80SaGfWR','add','init','isOfficialPlugin','241848XFKKSr','commands','uploadcareImageReplace','220GSKvgy','2936abTaru','550934UIbHyz','requires','1368143iBRbxr','1625712tWtyNw','uploadcareImageEdit','22772Xrbobb','ImageUtils','pluginName'];_0x28c1=function(){return _0x567c37;};return _0x28c1();}function _0x31a7(_0x32f34c,_0x102ca9){const _0x28c1e7=_0x28c1();return _0x31a7=function(_0x31a71e,_0x3684e0){_0x31a71e=_0x31a71e-0x14f;let _0x122f28=_0x28c1e7[_0x31a71e];return _0x122f28;},_0x31a7(_0x32f34c,_0x102ca9);}import{Notification as _0x15f14f}from'ckeditor5/src/ui.js';import _0x4360df from'./uploadcareimageeditcommand.js';import _0xd55146 from'./uploadcareimagereplacecommand.js';import _0x417a39 from'../uploadcareediting.js';export default class g extends _0xec3360{static get[_0x1e9b87(0x15e)](){const _0xe986d5=_0x1e9b87;return _0xe986d5(0x160);}static get[_0x1e9b87(0x158)](){const _0x5bd863=_0x1e9b87;return[_0x417a39,_0x15f14f,_0x5bd863(0x15d),_0x5bd863(0x163)];}static get[_0x1e9b87(0x151)](){return!0x0;}static get[_0x1e9b87(0x161)](){return!0x0;}[_0x1e9b87(0x150)](){const _0x698434=_0x1e9b87,{editor:_0x4b5e0d}=this;_0x4b5e0d[_0x698434(0x153)][_0x698434(0x14f)](_0x698434(0x15b),new _0x4360df(_0x4b5e0d)),_0x4b5e0d[_0x698434(0x153)][_0x698434(0x14f)](_0x698434(0x154),new _0xd55146(_0x4b5e0d));}}
23
+ const _0x55e25a=_0x204c;(function(_0x569704,_0x4f796e){const _0x2f49a4=_0x204c,_0x45696a=_0x569704();while(!![]){try{const _0x1e60f7=parseInt(_0x2f49a4(0x164))/0x1+-parseInt(_0x2f49a4(0x15a))/0x2+-parseInt(_0x2f49a4(0x153))/0x3+parseInt(_0x2f49a4(0x160))/0x4*(-parseInt(_0x2f49a4(0x162))/0x5)+-parseInt(_0x2f49a4(0x168))/0x6*(parseInt(_0x2f49a4(0x157))/0x7)+parseInt(_0x2f49a4(0x155))/0x8+-parseInt(_0x2f49a4(0x154))/0x9*(-parseInt(_0x2f49a4(0x15b))/0xa);if(_0x1e60f7===_0x4f796e)break;else _0x45696a['push'](_0x45696a['shift']());}catch(_0x355371){_0x45696a['push'](_0x45696a['shift']());}}}(_0x5813,0xd4dd8));import{Plugin as _0xbe18da}from'ckeditor5/src/core.js';function _0x204c(_0x12c3d7,_0x2ec2dd){const _0x58134c=_0x5813();return _0x204c=function(_0x204c2c,_0x356558){_0x204c2c=_0x204c2c-0x153;let _0x274f9a=_0x58134c[_0x204c2c];return _0x274f9a;},_0x204c(_0x12c3d7,_0x2ec2dd);}import{Notification as _0x306ab3}from'ckeditor5/src/ui.js';import _0x10899f from'./uploadcareimageeditcommand.js';import _0x461bf4 from'./uploadcareimagereplacecommand.js';function _0x5813(){const _0x31ed4e=['4010RVpRzM','uploadcareImageEdit','1730546ErvxKq','isOfficialPlugin','commands','UploadcareImageEditEditing','8560902Pykrct','4940937hzYpKB','16279416BjxJUQ','13170840tXAoNC','isPremiumPlugin','7kYzZxq','requires','init','2035758ZiMiOX','10jfwJpH','add','pluginName','ImageUtils','ImageEditing','1108OLpNsL','uploadcareImageReplace'];_0x5813=function(){return _0x31ed4e;};return _0x5813();}import _0x12d691 from'../uploadcareediting.js';export default class g extends _0xbe18da{static get[_0x55e25a(0x15d)](){const _0x4bf2ca=_0x55e25a;return _0x4bf2ca(0x167);}static get[_0x55e25a(0x158)](){const _0x2b5bf2=_0x55e25a;return[_0x12d691,_0x306ab3,_0x2b5bf2(0x15e),_0x2b5bf2(0x15f)];}static get[_0x55e25a(0x165)](){return!0x0;}static get[_0x55e25a(0x156)](){return!0x0;}[_0x55e25a(0x159)](){const _0x3f384c=_0x55e25a,{editor:_0x4ac5e5}=this;_0x4ac5e5[_0x3f384c(0x166)][_0x3f384c(0x15c)](_0x3f384c(0x163),new _0x10899f(_0x4ac5e5)),_0x4ac5e5[_0x3f384c(0x166)][_0x3f384c(0x15c)](_0x3f384c(0x161),new _0x461bf4(_0x4ac5e5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x265314}from'ckeditor5/src/core.js';import{ButtonView as _0x25cfb1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5e19c7}from'ckeditor5/src/icons.js';import{createElement as _0x59eac4}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x265314{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x344094=this['editor'];_0x344094['ui']['componentFactory']['add']('uploadcareImageEdit',_0x58becf=>{const _0xa8ed44=_0x344094['commands']['get']('uploadcareImageEdit'),_0xf18d68=new _0x25cfb1(_0x58becf),t=_0x58becf['t'];return _0xf18d68['set']({'icon':_0x5e19c7,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xf18d68['bind']('isEnabled')['to'](_0xa8ed44),_0xf18d68['bind']('isOn')['to'](_0xa8ed44,'isActive'),this['listenTo'](_0xf18d68,'execute',()=>{_0x344094['execute']('uploadcareImageEdit'),_0x344094['editing']['view']['focus']();}),_0xf18d68;}),this['_initConfig']();}['_initConfig'](){const _0x5e3ef3=_0x59eac4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5e3ef3),this['listenTo'](this['editor'],'destroy',()=>{_0x5e3ef3['remove']();});}}
23
+ import{Plugin as _0x6ab975}from'ckeditor5/src/core.js';import{ButtonView as _0x2ab5b4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x16005b}from'ckeditor5/src/icons.js';import{createElement as _0x482d82}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x6ab975{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x4fb764=this['editor'];_0x4fb764['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2bd3fa=>{const _0x1cf4d1=_0x4fb764['commands']['get']('uploadcareImageEdit'),_0xa318e=new _0x2ab5b4(_0x2bd3fa),t=_0x2bd3fa['t'];return _0xa318e['set']({'icon':_0x16005b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0xa318e['bind']('isEnabled')['to'](_0x1cf4d1),_0xa318e['bind']('isOn')['to'](_0x1cf4d1,'isActive'),this['listenTo'](_0xa318e,'execute',()=>{_0x4fb764['execute']('uploadcareImageEdit'),_0x4fb764['editing']['view']['focus']();}),_0xa318e;}),this['_initConfig']();}['_initConfig'](){const _0x544e1c=_0x482d82(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x544e1c),this['listenTo'](this['editor'],'destroy',()=>{_0x544e1c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xeb43(_0x16388d,_0x424e8c){const _0x5d0bbf=_0x5d0b();return _0xeb43=function(_0xeb4307,_0x5c3ec6){_0xeb4307=_0xeb4307-0xd1;let _0xfa0040=_0x5d0bbf[_0xeb4307];return _0xfa0040;},_0xeb43(_0x16388d,_0x424e8c);}const _0x2013f0=_0xeb43;(function(_0x40136b,_0x2e5c3b){const _0x1123b2=_0xeb43,_0x36e2af=_0x40136b();while(!![]){try{const _0x5d17dc=parseInt(_0x1123b2(0xd7))/0x1*(-parseInt(_0x1123b2(0xde))/0x2)+parseInt(_0x1123b2(0xd8))/0x3*(parseInt(_0x1123b2(0xeb))/0x4)+parseInt(_0x1123b2(0xd6))/0x5*(parseInt(_0x1123b2(0xe2))/0x6)+-parseInt(_0x1123b2(0xea))/0x7+-parseInt(_0x1123b2(0xe8))/0x8*(parseInt(_0x1123b2(0xe0))/0x9)+-parseInt(_0x1123b2(0xd2))/0xa+parseInt(_0x1123b2(0xdc))/0xb*(parseInt(_0x1123b2(0xda))/0xc);if(_0x5d17dc===_0x2e5c3b)break;else _0x36e2af['push'](_0x36e2af['shift']());}catch(_0x5a0346){_0x36e2af['push'](_0x36e2af['shift']());}}}(_0x5d0b,0xf2de7));import{Command as _0x4ac1f7}from'ckeditor5/src/core.js';function _0x5d0b(){const _0x189de9=['element','isEnabled','srcset','1814860UCMcqf','1xGjYKe','92241DVEnEZ','sizes','312JmyoUi','imageBlock','1095908MweaLz','change','1544414izEWMy','model','966321aJaEXO','editor','6PrhIko','getSelectedElement','document','execute','selection','refresh','8OFSbLA','setAttributes','11086796YqQGQW','196eSginn','removeAttribute','imageInline','10017080UNiIic'];_0x5d0b=function(){return _0x189de9;};return _0x5d0b();}export default class X extends _0x4ac1f7{[_0x2013f0(0xe7)](){const _0x2dd10f=_0x2013f0,_0x320ebc=this[_0x2dd10f(0xe1)][_0x2dd10f(0xdf)][_0x2dd10f(0xe4)][_0x2dd10f(0xe6)][_0x2dd10f(0xe3)]();this[_0x2dd10f(0xd4)]=Boolean(_0x320ebc&&(_0x320ebc['is'](_0x2dd10f(0xd3),_0x2dd10f(0xdb))||_0x320ebc['is'](_0x2dd10f(0xd3),_0x2dd10f(0xd1))));}[_0x2013f0(0xe5)](_0x240aaa){const _0x404892=_0x2013f0,_0x41c87c=this[_0x404892(0xe1)][_0x404892(0xdf)][_0x404892(0xe4)][_0x404892(0xe6)][_0x404892(0xe3)]();this[_0x404892(0xe1)][_0x404892(0xdf)][_0x404892(0xdd)](_0x3ed460=>{const _0x3177d0=_0x404892;_0x3ed460[_0x3177d0(0xe9)](_0x240aaa,_0x41c87c),_0x3ed460[_0x3177d0(0xec)](_0x3177d0(0xd5),_0x41c87c),_0x3ed460[_0x3177d0(0xec)](_0x3177d0(0xd9),_0x41c87c);});}}
23
+ const _0x26be07=_0x4443;function _0x4443(_0x52a19c,_0x100ef6){const _0x19ac8b=_0x19ac();return _0x4443=function(_0x4443b2,_0x3cb418){_0x4443b2=_0x4443b2-0x1df;let _0x53c12f=_0x19ac8b[_0x4443b2];return _0x53c12f;},_0x4443(_0x52a19c,_0x100ef6);}(function(_0x51852a,_0x32139a){const _0x1ba45e=_0x4443,_0x131c1e=_0x51852a();while(!![]){try{const _0x487234=parseInt(_0x1ba45e(0x1f7))/0x1+-parseInt(_0x1ba45e(0x1e0))/0x2+parseInt(_0x1ba45e(0x1f0))/0x3+-parseInt(_0x1ba45e(0x1e3))/0x4*(-parseInt(_0x1ba45e(0x1e2))/0x5)+-parseInt(_0x1ba45e(0x1e1))/0x6*(parseInt(_0x1ba45e(0x1df))/0x7)+parseInt(_0x1ba45e(0x1e9))/0x8*(parseInt(_0x1ba45e(0x1e4))/0x9)+parseInt(_0x1ba45e(0x1f3))/0xa;if(_0x487234===_0x32139a)break;else _0x131c1e['push'](_0x131c1e['shift']());}catch(_0x23bcb0){_0x131c1e['push'](_0x131c1e['shift']());}}}(_0x19ac,0x8f2f5));function _0x19ac(){const _0x336274=['9bqKDjG','removeAttribute','execute','change','selection','3050448MNlEKj','imageInline','editor','model','imageBlock','srcset','refresh','845649RvauyX','isEnabled','element','6056980GEbSvg','setAttributes','document','getSelectedElement','487570ktuNnQ','sizes','14LEtumn','1316588wKHDNt','2914986WQoARc','1110ZJjoHa','8288ApGyxa'];_0x19ac=function(){return _0x336274;};return _0x19ac();}import{Command as _0x4d03cc}from'ckeditor5/src/core.js';export default class O extends _0x4d03cc{[_0x26be07(0x1ef)](){const _0x3113c8=_0x26be07,_0x3d6c16=this[_0x3113c8(0x1eb)][_0x3113c8(0x1ec)][_0x3113c8(0x1f5)][_0x3113c8(0x1e8)][_0x3113c8(0x1f6)]();this[_0x3113c8(0x1f1)]=Boolean(_0x3d6c16&&(_0x3d6c16['is'](_0x3113c8(0x1f2),_0x3113c8(0x1ed))||_0x3d6c16['is'](_0x3113c8(0x1f2),_0x3113c8(0x1ea))));}[_0x26be07(0x1e6)](_0x8a4af5){const _0x433430=_0x26be07,_0x12b48b=this[_0x433430(0x1eb)][_0x433430(0x1ec)][_0x433430(0x1f5)][_0x433430(0x1e8)][_0x433430(0x1f6)]();this[_0x433430(0x1eb)][_0x433430(0x1ec)][_0x433430(0x1e7)](_0x3621d3=>{const _0x1e8a50=_0x433430;_0x3621d3[_0x1e8a50(0x1f4)](_0x8a4af5,_0x12b48b),_0x3621d3[_0x1e8a50(0x1e5)](_0x1e8a50(0x1ee),_0x12b48b),_0x3621d3[_0x1e8a50(0x1e5)](_0x1e8a50(0x1f8),_0x12b48b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x149daf=_0x3805;(function(_0x5ee56b,_0x247771){var _0x2790c4=_0x3805,_0x2ca5d3=_0x5ee56b();while(!![]){try{var _0x47ef28=parseInt(_0x2790c4(0x125))/0x1+-parseInt(_0x2790c4(0x126))/0x2*(-parseInt(_0x2790c4(0x118))/0x3)+-parseInt(_0x2790c4(0x119))/0x4+-parseInt(_0x2790c4(0x122))/0x5+-parseInt(_0x2790c4(0x121))/0x6*(-parseInt(_0x2790c4(0x117))/0x7)+-parseInt(_0x2790c4(0x11b))/0x8*(parseInt(_0x2790c4(0x120))/0x9)+parseInt(_0x2790c4(0x124))/0xa*(parseInt(_0x2790c4(0x11d))/0xb);if(_0x47ef28===_0x247771)break;else _0x2ca5d3['push'](_0x2ca5d3['shift']());}catch(_0x515111){_0x2ca5d3['push'](_0x2ca5d3['shift']());}}}(_0x4aaf,0x5cf4b));function _0x4aaf(){var _0xe08464=['24QNhssg','UploadcareImageEdit','12190453NwCOlO','isPremiumPlugin','requires','1280736egutWy','6396luYsaY','3112730FgVDGh','isOfficialPlugin','10eEecfs','655807LyhDlB','510mWIrIo','637NwAaES','2637eZDYFh','2619904mPTKzZ','pluginName'];_0x4aaf=function(){return _0xe08464;};return _0x4aaf();}import{Plugin as _0xf943c}from'ckeditor5/src/core.js';function _0x3805(_0x165ba6,_0x5682e2){var _0x4aaf3b=_0x4aaf();return _0x3805=function(_0x38053a,_0x52484d){_0x38053a=_0x38053a-0x117;var _0x4e96f8=_0x4aaf3b[_0x38053a];return _0x4e96f8;},_0x3805(_0x165ba6,_0x5682e2);}import _0x11950d from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x4ccb8c from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0xf943c{static get[_0x149daf(0x11a)](){var _0x4a34f5=_0x149daf;return _0x4a34f5(0x11c);}static get[_0x149daf(0x11f)](){return[_0x11950d,_0x4ccb8c];}static get[_0x149daf(0x123)](){return!0x0;}static get[_0x149daf(0x11e)](){return!0x0;}}
23
+ var _0x13b1f0=_0x1e07;(function(_0x2da272,_0x4af9dc){var _0x1b18bc=_0x1e07,_0xd09f82=_0x2da272();while(!![]){try{var _0x441425=parseInt(_0x1b18bc(0x147))/0x1+-parseInt(_0x1b18bc(0x14c))/0x2*(parseInt(_0x1b18bc(0x156))/0x3)+parseInt(_0x1b18bc(0x148))/0x4*(parseInt(_0x1b18bc(0x14e))/0x5)+-parseInt(_0x1b18bc(0x155))/0x6+-parseInt(_0x1b18bc(0x151))/0x7*(-parseInt(_0x1b18bc(0x149))/0x8)+-parseInt(_0x1b18bc(0x14a))/0x9+-parseInt(_0x1b18bc(0x14d))/0xa*(-parseInt(_0x1b18bc(0x153))/0xb);if(_0x441425===_0x4af9dc)break;else _0xd09f82['push'](_0xd09f82['shift']());}catch(_0x31f6eb){_0xd09f82['push'](_0xd09f82['shift']());}}}(_0x33cb,0x1d950));function _0x1e07(_0x1977dc,_0x412d96){var _0x33cbae=_0x33cb();return _0x1e07=function(_0x1e0767,_0xf614c4){_0x1e0767=_0x1e0767-0x147;var _0x512289=_0x33cbae[_0x1e0767];return _0x512289;},_0x1e07(_0x1977dc,_0x412d96);}import{Plugin as _0x58471b}from'ckeditor5/src/core.js';import _0x31472e from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x33cb(){var _0x178312=['1408evgmIx','1088210VGglCF','5gTaEUc','isOfficialPlugin','requires','137459Dakgqs','isPremiumPlugin','33PUqqjN','UploadcareImageEdit','821544lZgmUW','777DmCYKt','13219ScGxpW','497384ATEVrf','72pfaXUJ','1802997vhxtVb','pluginName'];_0x33cb=function(){return _0x178312;};return _0x33cb();}import _0x49b6fb from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x58471b{static get[_0x13b1f0(0x14b)](){var _0x2be6d2=_0x13b1f0;return _0x2be6d2(0x154);}static get[_0x13b1f0(0x150)](){return[_0x31472e,_0x49b6fb];}static get[_0x13b1f0(0x14f)](){return!0x0;}static get[_0x13b1f0(0x152)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2de96a=_0x4871;(function(_0x59506e,_0x1a508c){const _0x1c0fd7=_0x4871,_0x14de28=_0x59506e();while(!![]){try{const _0x5052de=-parseInt(_0x1c0fd7(0x1bd))/0x1*(parseInt(_0x1c0fd7(0x186))/0x2)+parseInt(_0x1c0fd7(0x1b1))/0x3*(parseInt(_0x1c0fd7(0x185))/0x4)+-parseInt(_0x1c0fd7(0x18b))/0x5*(-parseInt(_0x1c0fd7(0x1a0))/0x6)+-parseInt(_0x1c0fd7(0x19f))/0x7*(parseInt(_0x1c0fd7(0x1b4))/0x8)+-parseInt(_0x1c0fd7(0x189))/0x9+parseInt(_0x1c0fd7(0x19b))/0xa*(-parseInt(_0x1c0fd7(0x196))/0xb)+parseInt(_0x1c0fd7(0x187))/0xc;if(_0x5052de===_0x1a508c)break;else _0x14de28['push'](_0x14de28['shift']());}catch(_0x3ce198){_0x14de28['push'](_0x14de28['shift']());}}}(_0x3899,0x7b5b3));function _0x3899(){const _0x3d144c=['GDrive','withText','uploadcare','_createMenuBarButtons','4055OmvdrE','push','uploadcareLicenseKeyNotAllowed','plugins','uploadcareLicenseKeyValid','entries','init','URL','destroy','evaluationLimit','Replace','expired','isPremiumPlugin','get','isImageSelected','uploadcareLicenseKeyExpired','Dropbox','registerIntegration','locale','_createToolbarButton','forEach','afterInit','_createButton','usageLimit','_getIntegrationKey','upload','uploadcareLicenseKeyEvaluationLimit','580wPregZ','394NoUeUD','28066200eAWbfd','OneDrive','6300279XHisMG','shortText','10mjRFRg','Insert','uploadcareLicenseKeyUsageLimit','bind','isOfficialPlugin','config','uploadcareLicenseKeyDomainLimit','reduce','map','assetManager','icon','22PBpzuR','text','execute','type','trialLimit','2431400FhAMVh','invalid','Local','_licenseKeyCheckInterval','10241vIQnwn','94302BqfLex','uploadcareLicenseKeyInvalid','commands','has','_normalizeConfigSourceList','_showLicenseError','featureNotAllowed','Facebook','url','ImageInsertUI','domainLimit','UploadcareUI','GPhotos','uploadcare.uploader.sourceList','licenseKey','editor','pluginName','7389EutSou','_createDropdownButtons','Uploadcare','1296XCPeIe','isEnabled','label','uploadcareLicenseKeyTrialLimit','tooltip'];_0x3899=function(){return _0x3d144c;};return _0x3899();}import{Plugin as _0x5c7986}from'ckeditor5/src/core.js';import{IconDropbox as _0x368670,IconFacebook as _0x2c6da4,IconGoogleDrive as _0x43a60c,IconGooglePhotos as _0x51209c,IconUploadcareImageUpload as _0x111fbb,IconUploadcareLink as _0x35f575,IconOneDrive as _0x2b889a}from'ckeditor5/src/icons.js';import{ButtonView as _0xee46f2,MenuBarMenuListItemButtonView as _0x1aa52f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xd77947}from'./uploadcareconfig.js';function _0x4871(_0x563f38,_0xe41e3){const _0x389972=_0x3899();return _0x4871=function(_0x4871c9,_0x19bcda){_0x4871c9=_0x4871c9-0x17b;let _0x24bacd=_0x389972[_0x4871c9];return _0x24bacd;},_0x4871(_0x563f38,_0xe41e3);}import{getTranslation as _0x27bdd9}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5c7986{[_0x2de96a(0x1ae)];[_0x2de96a(0x19e)];static get[_0x2de96a(0x1b0)](){const _0x4035aa=_0x2de96a;return _0x4035aa(0x1ab);}static get[_0x2de96a(0x18f)](){return!0x0;}static get[_0x2de96a(0x1c9)](){return!0x0;}[_0x2de96a(0x1c3)](){const _0x7fe462=_0x2de96a;this[_0x7fe462(0x1ae)]=this[_0x7fe462(0x1af)][_0x7fe462(0x190)][_0x7fe462(0x1ca)](_0x7fe462(0x1ae));const _0x367c1a=this[_0x7fe462(0x1af)];this[_0x7fe462(0x19e)]=setInterval(()=>{const _0x333dd0=_0x7fe462;let _0x38f58f;for(const _0x5c1a34 in _0x367c1a){const _0x406683=_0x5c1a34,_0xfd6221=_0x367c1a[_0x406683];if(_0x333dd0(0x1c1)==_0xfd6221||_0x333dd0(0x1a1)==_0xfd6221||_0x333dd0(0x1cc)==_0xfd6221||_0x333dd0(0x191)==_0xfd6221||_0x333dd0(0x1bf)==_0xfd6221||_0x333dd0(0x184)==_0xfd6221||_0x333dd0(0x1b7)==_0xfd6221||_0x333dd0(0x18d)==_0xfd6221){delete _0x367c1a[_0x406683],_0x38f58f=_0xfd6221,clearInterval(this[_0x333dd0(0x19e)]),this[_0x333dd0(0x19e)]=void 0x0;break;}}_0x333dd0(0x1a1)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19c)),_0x333dd0(0x1cc)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c8)),_0x333dd0(0x191)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1aa)),_0x333dd0(0x1bf)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1a6),_0x333dd0(0x1b3)),_0x333dd0(0x184)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x1c6)),_0x333dd0(0x1b7)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x19a)),_0x333dd0(0x18d)==_0x38f58f&&_0x367c1a[_0x333dd0(0x1a5)](_0x333dd0(0x181));},0x3e8);}[_0x2de96a(0x17f)](){const _0x97d7ff=_0x2de96a,{editor:_0x270e31}=this,_0x5b9679=_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb));if(!_0x5b9679)return;const _0x3d9dda=this[_0x97d7ff(0x1a4)](_0x270e31[_0x97d7ff(0x190)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1ad)))[_0x97d7ff(0x192)]((_0x4812c0,_0x57c105)=>{const _0x1ee136=_0x97d7ff,_0x5d9775=this[_0x1ee136(0x182)](_0x57c105[_0x1ee136(0x199)]);return _0x4812c0[_0x5d9775]||(_0x4812c0[_0x5d9775]=[]),_0x4812c0[_0x5d9775][_0x1ee136(0x1be)](_0x57c105),_0x4812c0;},{});_0x270e31[_0x97d7ff(0x1c0)][_0x97d7ff(0x1a3)](_0x97d7ff(0x1a9))&&_0x270e31[_0x97d7ff(0x1a2)][_0x97d7ff(0x1ca)](_0x97d7ff(0x1bb))&&Object[_0x97d7ff(0x1c2)](_0x3d9dda)[_0x97d7ff(0x17e)](([_0x1c7e3b,_0x48784b])=>{const _0x2f4c45=_0x97d7ff;_0x270e31[_0x2f4c45(0x1c0)][_0x2f4c45(0x1ca)](_0x2f4c45(0x1a9))[_0x2f4c45(0x17b)]({'name':_0x1c7e3b,'observable':()=>_0x5b9679,'buttonViewCreator':()=>this[_0x2f4c45(0x17d)](_0x48784b),'formViewCreator':()=>this[_0x2f4c45(0x1b2)](_0x48784b),'menuBarButtonViewCreator':()=>this[_0x2f4c45(0x1bc)](_0x48784b),'override':_0x2f4c45(0x194)!==_0x1c7e3b});});}[_0x2de96a(0x1c5)](){const _0x1ad355=_0x2de96a;super[_0x1ad355(0x1c5)](),this[_0x1ad355(0x19e)]&&clearInterval(this[_0x1ad355(0x19e)]);}[_0x2de96a(0x1a4)](_0x3849a3){const _0x402b46=_0x2de96a,{locale:_0x187d99}=this[_0x402b46(0x1af)];return _0x3849a3[_0x402b46(0x193)](_0x40578b=>{const _0x1e4401=_0x402b46,_0x29e126=_0x27bdd9(_0x187d99,_0x40578b,_0x1e4401(0x18c));switch(_0x40578b){case _0xd77947[_0x1e4401(0x19d)]:return{'icon':_0x111fbb,'type':_0xd77947[_0x1e4401(0x19d)],..._0x29e126};case _0xd77947[_0x1e4401(0x1c4)]:return{'icon':_0x35f575,'type':_0xd77947[_0x1e4401(0x1c4)],..._0x29e126};case _0xd77947[_0x1e4401(0x1cd)]:return{'icon':_0x368670,'type':_0xd77947[_0x1e4401(0x1cd)],..._0x29e126};case _0xd77947[_0x1e4401(0x1a7)]:return{'icon':_0x2c6da4,'type':_0xd77947[_0x1e4401(0x1a7)],..._0x29e126};case _0xd77947[_0x1e4401(0x1b9)]:return{'icon':_0x43a60c,'type':_0xd77947[_0x1e4401(0x1b9)],..._0x29e126};case _0xd77947[_0x1e4401(0x1ac)]:return{'icon':_0x51209c,'type':_0xd77947[_0x1e4401(0x1ac)],..._0x29e126};case _0xd77947[_0x1e4401(0x188)]:return{'icon':_0x2b889a,'type':_0xd77947[_0x1e4401(0x188)],..._0x29e126};}});}[_0x2de96a(0x182)](_0x1d8644){const _0x1583e5=_0x2de96a;switch(_0x1d8644){case _0xd77947[_0x1583e5(0x19d)]:return _0x1583e5(0x183);case _0xd77947[_0x1583e5(0x1c4)]:return _0x1583e5(0x1a8);default:return _0x1583e5(0x194);}}[_0x2de96a(0x180)](_0x4de52a,_0xb8a650){const _0x5d691a=_0x2de96a,_0x49adaf=this[_0x5d691a(0x1af)],_0x50bcda=new _0x4de52a(_0x49adaf[_0x5d691a(0x17c)]),_0xebafd4=_0x49adaf[_0x5d691a(0x1a2)][_0x5d691a(0x1ca)](_0x5d691a(0x1bb));return _0x50bcda[_0x5d691a(0x18e)](_0x5d691a(0x1b5))['to'](_0xebafd4),_0x50bcda['on'](_0x5d691a(0x198),()=>{const _0x43374f=_0x5d691a;_0xebafd4[_0x43374f(0x198)](_0xb8a650);}),_0x50bcda;}[_0x2de96a(0x17d)](_0x512907){const _0x4fb7b1=_0x2de96a,{locale:_0xb337c}=this[_0x4fb7b1(0x1af)],_0x20717b=this[_0x4fb7b1(0x1af)][_0x4fb7b1(0x1c0)][_0x4fb7b1(0x1ca)](_0x4fb7b1(0x1a9)),_0x435d8c=_0x512907[0x0],_0x7266e=this[_0x4fb7b1(0x180)](_0xee46f2,_0x435d8c[_0x4fb7b1(0x199)]);return _0x7266e[_0x4fb7b1(0x195)]=_0x435d8c[_0x4fb7b1(0x195)],_0x7266e[_0x4fb7b1(0x18e)](_0x4fb7b1(0x1b6))['to'](_0x20717b,_0x4fb7b1(0x1cb),_0x13976f=>_0x27bdd9(_0xb337c,_0x435d8c[_0x4fb7b1(0x199)],_0x13976f?_0x4fb7b1(0x1c7):_0x4fb7b1(0x18c))[_0x4fb7b1(0x197)]),_0x7266e[_0x4fb7b1(0x1b8)]=!0x0,_0x7266e;}[_0x2de96a(0x1b2)](_0x26ff65){const _0x408475=_0x2de96a,{locale:_0x55f5ec}=this[_0x408475(0x1af)],_0x319351=this[_0x408475(0x1af)][_0x408475(0x1c0)][_0x408475(0x1ca)](_0x408475(0x1a9));return _0x26ff65[_0x408475(0x193)](_0x3b6e6a=>{const _0x353006=_0x408475,_0x1c57f3=this[_0x353006(0x180)](_0xee46f2,_0x3b6e6a[_0x353006(0x199)]);return _0x1c57f3[_0x353006(0x1ba)]=!0x0,_0x1c57f3[_0x353006(0x195)]=_0x3b6e6a[_0x353006(0x195)],_0x1c57f3[_0x353006(0x18e)](_0x353006(0x1b6))['to'](_0x319351,_0x353006(0x1cb),_0x28eee0=>_0x27bdd9(_0x55f5ec,_0x3b6e6a[_0x353006(0x199)],_0x28eee0?_0x353006(0x1c7):_0x353006(0x18c))[_0x353006(0x197)]),_0x1c57f3;});}[_0x2de96a(0x1bc)](_0x5593bb){const _0x5dc027=_0x2de96a;return _0x5593bb[_0x5dc027(0x193)](_0x7e3a44=>{const _0x4b0fc2=_0x5dc027,_0xc20333=this[_0x4b0fc2(0x180)](_0x1aa52f,_0x7e3a44[_0x4b0fc2(0x199)]);return _0xc20333[_0x4b0fc2(0x195)]=_0x7e3a44[_0x4b0fc2(0x195)],_0xc20333[_0x4b0fc2(0x1b6)]=_0x7e3a44[_0x4b0fc2(0x18a)],_0xc20333;});}}
23
+ const _0x55d402=_0x163a;(function(_0x35b31b,_0x41b047){const _0x496e9a=_0x163a,_0x55c68a=_0x35b31b();while(!![]){try{const _0x65fbeb=-parseInt(_0x496e9a(0x11b))/0x1+-parseInt(_0x496e9a(0x108))/0x2*(-parseInt(_0x496e9a(0x13e))/0x3)+-parseInt(_0x496e9a(0xff))/0x4*(-parseInt(_0x496e9a(0x10d))/0x5)+-parseInt(_0x496e9a(0x111))/0x6+parseInt(_0x496e9a(0x131))/0x7*(parseInt(_0x496e9a(0xf4))/0x8)+parseInt(_0x496e9a(0x106))/0x9*(parseInt(_0x496e9a(0x114))/0xa)+-parseInt(_0x496e9a(0x109))/0xb;if(_0x65fbeb===_0x41b047)break;else _0x55c68a['push'](_0x55c68a['shift']());}catch(_0x28035b){_0x55c68a['push'](_0x55c68a['shift']());}}}(_0x4799,0x37125));import{Plugin as _0x5e532f}from'ckeditor5/src/core.js';import{IconDropbox as _0x140ec7,IconFacebook as _0x4a599b,IconGoogleDrive as _0x56d0fc,IconGooglePhotos as _0x3d2339,IconUploadcareImageUpload as _0x2df6b5,IconUploadcareLink as _0x525976,IconOneDrive as _0x13e82d}from'ckeditor5/src/icons.js';import{ButtonView as _0x243997,MenuBarMenuListItemButtonView as _0x297d93}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x123501}from'./uploadcareconfig.js';import{getTranslation as _0x567348}from'./utils/common-translations.js';function _0x163a(_0x5a7e9a,_0xf5b105){const _0x479944=_0x4799();return _0x163a=function(_0x163a20,_0x2c5479){_0x163a20=_0x163a20-0xf2;let _0x236a2d=_0x479944[_0x163a20];return _0x236a2d;},_0x163a(_0x5a7e9a,_0xf5b105);}function _0x4799(){const _0x27e020=['8407ksdAUK','uploadcare','uploadcareLicenseKeyValid','tooltip','UploadcareUI','isImageSelected','type','upload','icon','push','isEnabled','commands','assetManager','4206mnQlUj','pluginName','text','_normalizeConfigSourceList','uploadcareLicenseKeyEvaluationLimit','_getIntegrationKey','uploadcareLicenseKeyExpired','domainLimit','2104xRJOYA','GDrive','forEach','Dropbox','URL','ImageInsertUI','Uploadcare','destroy','label','locale','withText','368ABvBmo','_createMenuBarButtons','has','isOfficialPlugin','GPhotos','licenseKey','trialLimit','117927hjaHbT','Facebook','466NHdoUd','1382238ysnyaE','invalid','uploadcareLicenseKeyInvalid','reduce','3220BLgRGT','_createButton','afterInit','registerIntegration','1488630NPsDzo','Replace','uploadcareLicenseKeyNotAllowed','250HWoDNf','init','plugins','isPremiumPlugin','entries','_showLicenseError','uploadcareLicenseKeyDomainLimit','430016EHwGjP','execute','map','featureNotAllowed','uploadcare.uploader.sourceList','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','_createDropdownButtons','usageLimit','Local','expired','_createToolbarButton','shortText','OneDrive','url','bind','editor','Insert','evaluationLimit','config','_licenseKeyCheckInterval','get'];_0x4799=function(){return _0x27e020;};return _0x4799();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x5e532f{[_0x55d402(0x104)];[_0x55d402(0x12f)];static get[_0x55d402(0x13f)](){const _0x3596af=_0x55d402;return _0x3596af(0x135);}static get[_0x55d402(0x102)](){return!0x0;}static get[_0x55d402(0x117)](){return!0x0;}[_0x55d402(0x115)](){const _0x3feab3=_0x55d402;this[_0x3feab3(0x104)]=this[_0x3feab3(0x12b)][_0x3feab3(0x12e)][_0x3feab3(0x130)](_0x3feab3(0x104));const _0xfb571b=this[_0x3feab3(0x12b)];this[_0x3feab3(0x12f)]=setInterval(()=>{const _0x59f8fd=_0x3feab3;let _0x20a591;for(const _0x18c8b8 in _0xfb571b){const _0x3d31c1=_0x18c8b8,_0x26e3ba=_0xfb571b[_0x3d31c1];if(_0x59f8fd(0x133)==_0x26e3ba||_0x59f8fd(0x10b)==_0x26e3ba||_0x59f8fd(0xf2)==_0x26e3ba||_0x59f8fd(0x11a)==_0x26e3ba||_0x59f8fd(0x113)==_0x26e3ba||_0x59f8fd(0x142)==_0x26e3ba||_0x59f8fd(0x121)==_0x26e3ba||_0x59f8fd(0x120)==_0x26e3ba){delete _0xfb571b[_0x3d31c1],_0x20a591=_0x26e3ba,clearInterval(this[_0x59f8fd(0x12f)]),this[_0x59f8fd(0x12f)]=void 0x0;break;}}_0x59f8fd(0x10b)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x10a)),_0x59f8fd(0xf2)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x125)),_0x59f8fd(0x11a)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0xf3)),_0x59f8fd(0x113)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x11e),_0x59f8fd(0xfa)),_0x59f8fd(0x142)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x12d)),_0x59f8fd(0x121)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x105)),_0x59f8fd(0x120)==_0x20a591&&_0xfb571b[_0x59f8fd(0x119)](_0x59f8fd(0x123));},0x3e8);}[_0x55d402(0x10f)](){const _0x3a2e61=_0x55d402,{editor:_0x452131}=this,_0x21fb25=_0x452131[_0x3a2e61(0x13c)][_0x3a2e61(0x130)](_0x3a2e61(0x132));if(!_0x21fb25)return;const _0xd720f2=this[_0x3a2e61(0x141)](_0x452131[_0x3a2e61(0x12e)][_0x3a2e61(0x130)](_0x3a2e61(0x11f)))[_0x3a2e61(0x10c)]((_0x38b72e,_0x3e775c)=>{const _0x1f812f=_0x3a2e61,_0x5bc73d=this[_0x1f812f(0x143)](_0x3e775c[_0x1f812f(0x137)]);return _0x38b72e[_0x5bc73d]||(_0x38b72e[_0x5bc73d]=[]),_0x38b72e[_0x5bc73d][_0x1f812f(0x13a)](_0x3e775c),_0x38b72e;},{});_0x452131[_0x3a2e61(0x116)][_0x3a2e61(0x101)](_0x3a2e61(0xf9))&&_0x452131[_0x3a2e61(0x13c)][_0x3a2e61(0x130)](_0x3a2e61(0x132))&&Object[_0x3a2e61(0x118)](_0xd720f2)[_0x3a2e61(0xf6)](([_0x4fd004,_0x51c72a])=>{const _0x1cba3d=_0x3a2e61;_0x452131[_0x1cba3d(0x116)][_0x1cba3d(0x130)](_0x1cba3d(0xf9))[_0x1cba3d(0x110)]({'name':_0x4fd004,'observable':()=>_0x21fb25,'buttonViewCreator':()=>this[_0x1cba3d(0x126)](_0x51c72a),'formViewCreator':()=>this[_0x1cba3d(0x122)](_0x51c72a),'menuBarButtonViewCreator':()=>this[_0x1cba3d(0x100)](_0x51c72a),'override':_0x1cba3d(0x13d)!==_0x4fd004});});}[_0x55d402(0xfb)](){const _0x11586e=_0x55d402;super[_0x11586e(0xfb)](),this[_0x11586e(0x12f)]&&clearInterval(this[_0x11586e(0x12f)]);}[_0x55d402(0x141)](_0x3dfad5){const _0x207c2e=_0x55d402,{locale:_0x57f3c6}=this[_0x207c2e(0x12b)];return _0x3dfad5[_0x207c2e(0x11d)](_0x820655=>{const _0x2a8273=_0x207c2e,_0x502d9d=_0x567348(_0x57f3c6,_0x820655,_0x2a8273(0x12c));switch(_0x820655){case _0x123501[_0x2a8273(0x124)]:return{'icon':_0x2df6b5,'type':_0x123501[_0x2a8273(0x124)],..._0x502d9d};case _0x123501[_0x2a8273(0xf8)]:return{'icon':_0x525976,'type':_0x123501[_0x2a8273(0xf8)],..._0x502d9d};case _0x123501[_0x2a8273(0xf7)]:return{'icon':_0x140ec7,'type':_0x123501[_0x2a8273(0xf7)],..._0x502d9d};case _0x123501[_0x2a8273(0x107)]:return{'icon':_0x4a599b,'type':_0x123501[_0x2a8273(0x107)],..._0x502d9d};case _0x123501[_0x2a8273(0xf5)]:return{'icon':_0x56d0fc,'type':_0x123501[_0x2a8273(0xf5)],..._0x502d9d};case _0x123501[_0x2a8273(0x103)]:return{'icon':_0x3d2339,'type':_0x123501[_0x2a8273(0x103)],..._0x502d9d};case _0x123501[_0x2a8273(0x128)]:return{'icon':_0x13e82d,'type':_0x123501[_0x2a8273(0x128)],..._0x502d9d};}});}[_0x55d402(0x143)](_0x2005a2){const _0x3a9ffd=_0x55d402;switch(_0x2005a2){case _0x123501[_0x3a9ffd(0x124)]:return _0x3a9ffd(0x138);case _0x123501[_0x3a9ffd(0xf8)]:return _0x3a9ffd(0x129);default:return _0x3a9ffd(0x13d);}}[_0x55d402(0x10e)](_0x4e6429,_0x617885){const _0x4815fc=_0x55d402,_0xdd5c47=this[_0x4815fc(0x12b)],_0x563b37=new _0x4e6429(_0xdd5c47[_0x4815fc(0xfd)]),_0x19ab99=_0xdd5c47[_0x4815fc(0x13c)][_0x4815fc(0x130)](_0x4815fc(0x132));return _0x563b37[_0x4815fc(0x12a)](_0x4815fc(0x13b))['to'](_0x19ab99),_0x563b37['on'](_0x4815fc(0x11c),()=>{const _0x894e1f=_0x4815fc;_0x19ab99[_0x894e1f(0x11c)](_0x617885);}),_0x563b37;}[_0x55d402(0x126)](_0xe216da){const _0x133138=_0x55d402,{locale:_0x41af27}=this[_0x133138(0x12b)],_0x18f935=this[_0x133138(0x12b)][_0x133138(0x116)][_0x133138(0x130)](_0x133138(0xf9)),_0x22b0b4=_0xe216da[0x0],_0x393434=this[_0x133138(0x10e)](_0x243997,_0x22b0b4[_0x133138(0x137)]);return _0x393434[_0x133138(0x139)]=_0x22b0b4[_0x133138(0x139)],_0x393434[_0x133138(0x12a)](_0x133138(0xfc))['to'](_0x18f935,_0x133138(0x136),_0x1e2e56=>_0x567348(_0x41af27,_0x22b0b4[_0x133138(0x137)],_0x1e2e56?_0x133138(0x112):_0x133138(0x12c))[_0x133138(0x140)]),_0x393434[_0x133138(0x134)]=!0x0,_0x393434;}[_0x55d402(0x122)](_0x234fe7){const _0xb0a0da=_0x55d402,{locale:_0x303d4b}=this[_0xb0a0da(0x12b)],_0x2f3b27=this[_0xb0a0da(0x12b)][_0xb0a0da(0x116)][_0xb0a0da(0x130)](_0xb0a0da(0xf9));return _0x234fe7[_0xb0a0da(0x11d)](_0x2d5722=>{const _0xe80cb8=_0xb0a0da,_0xfea507=this[_0xe80cb8(0x10e)](_0x243997,_0x2d5722[_0xe80cb8(0x137)]);return _0xfea507[_0xe80cb8(0xfe)]=!0x0,_0xfea507[_0xe80cb8(0x139)]=_0x2d5722[_0xe80cb8(0x139)],_0xfea507[_0xe80cb8(0x12a)](_0xe80cb8(0xfc))['to'](_0x2f3b27,_0xe80cb8(0x136),_0x58b945=>_0x567348(_0x303d4b,_0x2d5722[_0xe80cb8(0x137)],_0x58b945?_0xe80cb8(0x112):_0xe80cb8(0x12c))[_0xe80cb8(0x140)]),_0xfea507;});}[_0x55d402(0x100)](_0x55731e){const _0x15527a=_0x55d402;return _0x55731e[_0x15527a(0x11d)](_0x5b5ca2=>{const _0x1423e3=_0x15527a,_0x22b284=this[_0x1423e3(0x10e)](_0x297d93,_0x5b5ca2[_0x1423e3(0x137)]);return _0x22b284[_0x1423e3(0x139)]=_0x5b5ca2[_0x1423e3(0x139)],_0x22b284[_0x1423e3(0xfc)]=_0x5b5ca2[_0x1423e3(0x127)],_0x22b284;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x167f87}from'ckeditor5/src/core.js';import{FileRepository as _0xe4d2e0}from'ckeditor5/src/upload.js';import _0x5d0a11 from'./uploadcareediting.js';import _0x4a5c3a from'./utils/uploadutils.js';import{getImageUrls as _0x143896}from'./utils/editingutils.js';export default class p extends _0x167f87{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xe4d2e0,_0x5d0a11];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e90fb=this['editor'];if(!!!_0x3e90fb['config']['get']('uploadcare'))return;_0x3e90fb['plugins']['get'](_0xe4d2e0)['createUploadAdapter']=_0x5aad28=>new x(_0x5aad28,_0x3e90fb),_0x3e90fb['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1b7328,{imageElement:_0x2de262,data:_0x5285df})=>{_0x3e90fb['model']['change'](_0x42804f=>{_0x42804f['setAttribute']('uploadcareImageId',_0x5285df['uploadcareImageId'],_0x2de262);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x4b4fce,_0x5cd460){this['loader']=_0x4b4fce,this['editor']=_0x5cd460,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x829cc5=this['editor']['config']['get']('uploadcare.pubkey'),_0x54be46=await this['loader']['file'];return _0x4a5c3a['upload']({'file':_0x54be46,'publicKey':_0x829cc5,'signal':this['controller']['signal'],'onProgress':_0x13d1a1=>{_0x13d1a1&&_0x13d1a1['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x13d1a1['value']);}})['then'](async _0x5a3aca=>{const {imageFallbackUrl:_0x26a47e,imageSources:_0x3db913}=_0x143896(_0x5a3aca['cdnUrl'],_0x5a3aca['imageInfo']['width']);return{'uploadcareImageId':_0x5a3aca['uuid'],'default':_0x26a47e,'sources':_0x3db913};})['catch'](()=>{const _0x160a40=t('Cannot\x20upload\x20file:')+('\x20'+_0x54be46['name']+'.');return Promise['reject'](_0x160a40);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x254222}from'ckeditor5/src/core.js';import{FileRepository as _0x47ceac}from'ckeditor5/src/upload.js';import _0x3fcc49 from'./uploadcareediting.js';import _0x3adbe1 from'./utils/uploadutils.js';import{getImageUrls as _0x40d964}from'./utils/editingutils.js';export default class p extends _0x254222{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x47ceac,_0x3fcc49];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x555f0e=this['editor'];if(!!!_0x555f0e['config']['get']('uploadcare'))return;_0x555f0e['plugins']['get'](_0x47ceac)['createUploadAdapter']=_0x2d6317=>new x(_0x2d6317,_0x555f0e),_0x555f0e['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5b8553,{imageElement:_0x3f5b8e,data:_0x3dcae4})=>{_0x555f0e['model']['change'](_0xdf31e2=>{_0xdf31e2['setAttribute']('uploadcareImageId',_0x3dcae4['uploadcareImageId'],_0x3f5b8e);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x2de7d3,_0x356559){this['loader']=_0x2de7d3,this['editor']=_0x356559,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xb0ba20=this['editor']['config']['get']('uploadcare.pubkey'),_0x373aba=await this['loader']['file'];return _0x3adbe1['upload']({'file':_0x373aba,'publicKey':_0xb0ba20,'signal':this['controller']['signal'],'onProgress':_0x2dccc9=>{_0x2dccc9&&_0x2dccc9['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x2dccc9['value']);}})['then'](async _0x420d0c=>{const {imageFallbackUrl:_0x3a97ca,imageSources:_0x1d49e9}=_0x40d964(_0x420d0c['cdnUrl'],_0x420d0c['imageInfo']['width']);return{'uploadcareImageId':_0x420d0c['uuid'],'default':_0x3a97ca,'sources':_0x1d49e9};})['catch'](()=>{const _0x8ded3a=t('Cannot\x20upload\x20file:')+('\x20'+_0x373aba['name']+'.');return Promise['reject'](_0x8ded3a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x3a925a}from'../uploadcareconfig.js';export function getTranslation(_0x6175db,_0x31387f,_0x2a72a7){const t=_0x6175db['t'],_0x133a90=_0x6175db['t'];switch(_0x31387f){case _0x3a925a['Local']:return{'text':_0x133a90('Insert'===_0x2a72a7?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x133a90('From\x20computer')};case _0x3a925a['URL']:return{'text':'Insert'===_0x2a72a7?_0x133a90('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x133a90('Via\x20URL')};case _0x3a925a['Dropbox']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x3a925a['Facebook']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x3a925a['GDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x3a925a['GPhotos']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x3a925a['OneDrive']:return{'text':t('Insert'===_0x2a72a7?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x31387f;}}
23
+ import{UploadcareSource as _0x540ff1}from'../uploadcareconfig.js';export function getTranslation(_0x459fee,_0x1b62c8,_0x2f2854){const t=_0x459fee['t'],_0x29967f=_0x459fee['t'];switch(_0x1b62c8){case _0x540ff1['Local']:return{'text':_0x29967f('Insert'===_0x2f2854?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x29967f('From\x20computer')};case _0x540ff1['URL']:return{'text':'Insert'===_0x2f2854?_0x29967f('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x29967f('Via\x20URL')};case _0x540ff1['Dropbox']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x540ff1['Facebook']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x540ff1['GDrive']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x540ff1['GPhotos']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x540ff1['OneDrive']:return{'text':t('Insert'===_0x2f2854?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1b62c8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x71494e=_0x1dc2;(function(_0x20e51b,_0xda7be2){var _0x5a7e3a=_0x1dc2,_0x194f80=_0x20e51b();while(!![]){try{var _0x5e9dc8=-parseInt(_0x5a7e3a(0x1c9))/0x1+parseInt(_0x5a7e3a(0x1c8))/0x2+-parseInt(_0x5a7e3a(0x1c6))/0x3+parseInt(_0x5a7e3a(0x1c1))/0x4*(-parseInt(_0x5a7e3a(0x1c3))/0x5)+-parseInt(_0x5a7e3a(0x1bd))/0x6*(parseInt(_0x5a7e3a(0x1bb))/0x7)+parseInt(_0x5a7e3a(0x1c4))/0x8*(-parseInt(_0x5a7e3a(0x1c2))/0x9)+parseInt(_0x5a7e3a(0x1c7))/0xa;if(_0x5e9dc8===_0xda7be2)break;else _0x194f80['push'](_0x194f80['shift']());}catch(_0x993f15){_0x194f80['push'](_0x194f80['shift']());}}}(_0x3145,0xbcee2));import{FocusTracker as _0x4ccb1a}from'ckeditor5/src/utils.js';function _0x1dc2(_0x3803cc,_0x2bdc10){var _0x314599=_0x3145();return _0x1dc2=function(_0x1dc2f0,_0x54b3f6){_0x1dc2f0=_0x1dc2f0-0x1b9;var _0x230e94=_0x314599[_0x1dc2f0];return _0x230e94;},_0x1dc2(_0x3803cc,_0x2bdc10);}import{View as _0x40a70a,FocusCycler as _0x388f86}from'ckeditor5/src/ui.js';function _0x3145(){var _0x40abae=['1011500KWarJg','589998tFQZad','getFocusableElement','div','true','focusCycler','74291rxVVPw','forwardCycle','366lcOmmT','bindTemplate','createCollection','focusTracker','128564xtRBob','9EIQnsn','115oHNvsI','7807304BbSJGc','fire','776562ghVqCo','34795090caEHJs'];_0x3145=function(){return _0x40abae;};return _0x3145();}import'../../theme/uploadcare-form.css';export default class q extends _0x40a70a{[_0x71494e(0x1c0)];[_0x71494e(0x1ba)];constructor(_0x2512b3){var _0xe5548=_0x71494e;super(_0x2512b3),this[_0xe5548(0x1c0)]=new _0x4ccb1a(),this[_0xe5548(0x1ba)]=new _0x388f86({'focusables':this[_0xe5548(0x1bf)](),'focusTracker':this[_0xe5548(0x1c0)]});}[_0x71494e(0x1ca)](){var _0x40d6ce=_0x71494e;return{'tag':_0x40d6ce(0x1cb),'attributes':{'aria-hidden':_0x40d6ce(0x1b9),'tabindex':'0'},'on':{'focus':this[_0x40d6ce(0x1be)]['to'](()=>{var _0x13683b=_0x40d6ce;this[_0x13683b(0x1ba)][_0x13683b(0x1c5)](_0x13683b(0x1bc));})}};}}
23
+ var _0x4be874=_0x393a;function _0x393a(_0x198b56,_0x3e80ba){var _0x24a30d=_0x24a3();return _0x393a=function(_0x393a93,_0xb9a0ec){_0x393a93=_0x393a93-0x1b6;var _0x3c26ea=_0x24a30d[_0x393a93];return _0x3c26ea;},_0x393a(_0x198b56,_0x3e80ba);}(function(_0x4faafd,_0x14d378){var _0x300a09=_0x393a,_0x30d86a=_0x4faafd();while(!![]){try{var _0x462435=-parseInt(_0x300a09(0x1c5))/0x1+parseInt(_0x300a09(0x1c2))/0x2+-parseInt(_0x300a09(0x1c0))/0x3*(parseInt(_0x300a09(0x1c3))/0x4)+parseInt(_0x300a09(0x1bd))/0x5+parseInt(_0x300a09(0x1c6))/0x6*(parseInt(_0x300a09(0x1c8))/0x7)+-parseInt(_0x300a09(0x1be))/0x8*(parseInt(_0x300a09(0x1bf))/0x9)+parseInt(_0x300a09(0x1c4))/0xa;if(_0x462435===_0x14d378)break;else _0x30d86a['push'](_0x30d86a['shift']());}catch(_0x23bc9e){_0x30d86a['push'](_0x30d86a['shift']());}}}(_0x24a3,0xafa7d));import{FocusTracker as _0x910312}from'ckeditor5/src/utils.js';function _0x24a3(){var _0x5e990a=['1168398qfqaPH','4273464TGyUcH','12635860PLyGOD','362289wMXbIH','6ZJOXQh','getFocusableElement','2725863sVpcBD','createCollection','true','fire','forwardCycle','focusCycler','focusTracker','bindTemplate','6013645RGjVER','938024tzByDt','99TSdQVk','3PmfFsM','div'];_0x24a3=function(){return _0x5e990a;};return _0x24a3();}import{View as _0xcc7824,FocusCycler as _0x41f6c4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0xcc7824{[_0x4be874(0x1bb)];[_0x4be874(0x1ba)];constructor(_0x2db399){var _0x38be8b=_0x4be874;super(_0x2db399),this[_0x38be8b(0x1bb)]=new _0x910312(),this[_0x38be8b(0x1ba)]=new _0x41f6c4({'focusables':this[_0x38be8b(0x1b6)](),'focusTracker':this[_0x38be8b(0x1bb)]});}[_0x4be874(0x1c7)](){var _0x32646c=_0x4be874;return{'tag':_0x32646c(0x1c1),'attributes':{'aria-hidden':_0x32646c(0x1b7),'tabindex':'0'},'on':{'focus':this[_0x32646c(0x1bc)]['to'](()=>{var _0x48734d=_0x32646c;this[_0x48734d(0x1ba)][_0x48734d(0x1b8)](_0x48734d(0x1b9));})}};}}